if(typeof globalThis.global==="undefined"){globalThis.global=globalThis;}if(typeof globalThis.process==="undefined"){globalThis.process={env:{},argv:["node"],browser:false,version:"v22.0.0",versions:{node:"22.0.0"},nextTick(callback,...args){return Promise.resolve().then(()=>callback(...args));}};}
(()=>{var Ca=Object.create;var lr=Object.defineProperty;var Ta=Object.getOwnPropertyDescriptor;var Pa=Object.getOwnPropertyNames;var va=Object.getPrototypeOf,Ea=Object.prototype.hasOwnProperty;var qa=(b,s,l)=>s in b?lr(b,s,{enumerable:!0,configurable:!0,writable:!0,value:l}):b[s]=l;var Wa=(b,s)=>()=>(s||b((s={exports:{}}).exports,s),s.exports);var Aa=(b,s,l,g)=>{if(s&&typeof s=="object"||typeof s=="function")for(let c of Pa(s))!Ea.call(b,c)&&c!==l&&lr(b,c,{get:()=>s[c],enumerable:!(g=Ta(s,c))||g.enumerable});return b};var ka=(b,s,l)=>(l=b!=null?Ca(va(b)):{},Aa(s||!b||!b.__esModule?lr(l,"default",{value:b,enumerable:!0}):l,b));var L=(b,s,l)=>qa(b,typeof s!="symbol"?s+"":s,l);var kn=Wa((St,An)=>{(function(b,s){typeof St=="object"&&typeof An<"u"?s(St):typeof define=="function"&&define.amd?define(["exports"],s):(b=typeof globalThis<"u"?globalThis:b||self,s(b.WebStreamsPolyfill={}))})(St,(function(b){"use strict";function s(){}function l(e){return typeof e=="object"&&e!==null||typeof e=="function"}let g=s;function c(e,t){try{Object.defineProperty(e,"name",{value:t,configurable:!0})}catch{}}let pe=Promise,ur=Promise.prototype.then,ie=Promise.reject.bind(pe);function R(e){return new pe(e)}function p(e){return R(t=>t(e))}function d(e){return ie(e)}function I(e,t,r){return ur.call(e,t,r)}function T(e,t,r){I(I(e,t,r),void 0,g)}function Be(e,t){T(e,t)}function gt(e,t){T(e,void 0,t)}function M(e,t,r){return I(e,t,r)}function ye(e){I(e,void 0,g)}let se=e=>{if(typeof queueMicrotask=="function")se=queueMicrotask;else{let t=p(void 0);se=r=>I(t,r)}return se(e)};function le(e,t,r){if(typeof e!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}function Z(e,t,r){try{return p(le(e,t,r))}catch(n){return d(n)}}let dr=16384;class W{constructor(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}get length(){return this._size}push(t){let r=this._back,n=r;r._elements.length===dr-1&&(n={_elements:[],_next:void 0}),r._elements.push(t),n!==r&&(this._back=n,r._next=n),++this._size}shift(){let t=this._front,r=t,n=this._cursor,o=n+1,a=t._elements,i=a[n];return o===dr&&(r=t._next,o=0),--this._size,this._cursor=o,t!==r&&(this._front=r),a[n]=void 0,i}forEach(t){let r=this._cursor,n=this._front,o=n._elements;for(;(r!==o.length||n._next!==void 0)&&!(r===o.length&&(n=n._next,o=n._elements,r=0,o.length===0));)t(o[r]),++r}peek(){let t=this._front,r=this._cursor;return t._elements[r]}}let fr=Symbol("[[AbortSteps]]"),cr=Symbol("[[ErrorSteps]]"),Rt=Symbol("[[CancelSteps]]"),wt=Symbol("[[PullSteps]]"),Ct=Symbol("[[ReleaseSteps]]");function hr(e,t){e._ownerReadableStream=t,t._reader=e,t._state==="readable"?Pt(e):t._state==="closed"?Bn(e):br(e,t._storedError)}function Tt(e,t){let r=e._ownerReadableStream;return j(r,t)}function $(e){let t=e._ownerReadableStream;t._state==="readable"?vt(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):In(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),t._readableStreamController[Ct](),t._reader=void 0,e._ownerReadableStream=void 0}function Ne(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function Pt(e){e._closedPromise=R((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r})}function br(e,t){Pt(e),vt(e,t)}function Bn(e){Pt(e),mr(e)}function vt(e,t){e._closedPromise_reject!==void 0&&(ye(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function In(e,t){br(e,t)}function mr(e){e._closedPromise_resolve!==void 0&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}let _r=Number.isFinite||function(e){return typeof e=="number"&&isFinite(e)},On=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};function jn(e){return typeof e=="object"||typeof e=="function"}function F(e,t){if(e!==void 0&&!jn(e))throw new TypeError(`${t} is not an object.`)}function A(e,t){if(typeof e!="function")throw new TypeError(`${t} is not a function.`)}function zn(e){return typeof e=="object"&&e!==null||typeof e=="function"}function pr(e,t){if(!zn(e))throw new TypeError(`${t} is not an object.`)}function U(e,t,r){if(e===void 0)throw new TypeError(`Parameter ${t} is required in '${r}'.`)}function Et(e,t,r){if(e===void 0)throw new TypeError(`${t} is required in '${r}'.`)}function qt(e){return Number(e)}function yr(e){return e===0?0:e}function Fn(e){return yr(On(e))}function Wt(e,t){let n=Number.MAX_SAFE_INTEGER,o=Number(e);if(o=yr(o),!_r(o))throw new TypeError(`${t} is not a finite number`);if(o=Fn(o),o<0||o>n)throw new TypeError(`${t} is outside the accepted range of 0 to ${n}, inclusive`);return!_r(o)||o===0?0:o}function At(e,t){if(!re(e))throw new TypeError(`${t} is not a ReadableStream.`)}function Se(e){return new X(e)}function Sr(e,t){e._reader._readRequests.push(t)}function kt(e,t,r){let o=e._reader._readRequests.shift();r?o._closeSteps():o._chunkSteps(t)}function Qe(e){return e._reader._readRequests.length}function gr(e){let t=e._reader;return!(t===void 0||!J(t))}class X{constructor(t){if(U(t,1,"ReadableStreamDefaultReader"),At(t,"First parameter"),ne(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");hr(this,t),this._readRequests=new W}get closed(){return J(this)?this._closedPromise:d(Ye("closed"))}cancel(t=void 0){return J(this)?this._ownerReadableStream===void 0?d(Ne("cancel")):Tt(this,t):d(Ye("cancel"))}read(){if(!J(this))return d(Ye("read"));if(this._ownerReadableStream===void 0)return d(Ne("read from"));let t,r,n=R((a,i)=>{t=a,r=i});return Ie(this,{_chunkSteps:a=>t({value:a,done:!1}),_closeSteps:()=>t({value:void 0,done:!0}),_errorSteps:a=>r(a)}),n}releaseLock(){if(!J(this))throw Ye("releaseLock");this._ownerReadableStream!==void 0&&Dn(this)}}Object.defineProperties(X.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),c(X.prototype.cancel,"cancel"),c(X.prototype.read,"read"),c(X.prototype.releaseLock,"releaseLock"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(X.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});function J(e){return!l(e)||!Object.prototype.hasOwnProperty.call(e,"_readRequests")?!1:e instanceof X}function Ie(e,t){let r=e._ownerReadableStream;r._disturbed=!0,r._state==="closed"?t._closeSteps():r._state==="errored"?t._errorSteps(r._storedError):r._readableStreamController[wt](t)}function Dn(e){$(e);let t=new TypeError("Reader was released");Rr(e,t)}function Rr(e,t){let r=e._readRequests;e._readRequests=new W,r.forEach(n=>{n._errorSteps(t)})}function Ye(e){return new TypeError(`ReadableStreamDefaultReader.prototype.${e} can only be used on a ReadableStreamDefaultReader`)}let Ln=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype);class wr{constructor(t,r){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=t,this._preventCancel=r}next(){let t=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?M(this._ongoingPromise,t,t):t(),this._ongoingPromise}return(t){let r=()=>this._returnSteps(t);return this._ongoingPromise?M(this._ongoingPromise,r,r):r()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let t=this._reader,r,n,o=R((i,u)=>{r=i,n=u});return Ie(t,{_chunkSteps:i=>{this._ongoingPromise=void 0,se(()=>r({value:i,done:!1}))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,$(t),r({value:void 0,done:!0})},_errorSteps:i=>{this._ongoingPromise=void 0,this._isFinished=!0,$(t),n(i)}}),o}_returnSteps(t){if(this._isFinished)return Promise.resolve({value:t,done:!0});this._isFinished=!0;let r=this._reader;if(!this._preventCancel){let n=Tt(r,t);return $(r),M(n,()=>({value:t,done:!0}))}return $(r),p({value:t,done:!0})}}let Cr={next(){return Tr(this)?this._asyncIteratorImpl.next():d(Pr("next"))},return(e){return Tr(this)?this._asyncIteratorImpl.return(e):d(Pr("return"))}};Object.setPrototypeOf(Cr,Ln);function Mn(e,t){let r=Se(e),n=new wr(r,t),o=Object.create(Cr);return o._asyncIteratorImpl=n,o}function Tr(e){if(!l(e)||!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl"))return!1;try{return e._asyncIteratorImpl instanceof wr}catch{return!1}}function Pr(e){return new TypeError(`ReadableStreamAsyncIterator.${e} can only be used on a ReadableSteamAsyncIterator`)}let vr=Number.isNaN||function(e){return e!==e};var Bt,It,Ot;function Oe(e){return e.slice()}function Er(e,t,r,n,o){new Uint8Array(e).set(new Uint8Array(r,n,o),t)}let N=e=>(typeof e.transfer=="function"?N=t=>t.transfer():typeof structuredClone=="function"?N=t=>structuredClone(t,{transfer:[t]}):N=t=>t,N(e)),K=e=>(typeof e.detached=="boolean"?K=t=>t.detached:K=t=>t.byteLength===0,K(e));function qr(e,t,r){if(e.slice)return e.slice(t,r);let n=r-t,o=new ArrayBuffer(n);return Er(o,0,e,t,n),o}function He(e,t){let r=e[t];if(r!=null){if(typeof r!="function")throw new TypeError(`${String(t)} is not a function`);return r}}function $n(e){let t={[Symbol.iterator]:()=>e.iterator},r=(async function*(){return yield*t})(),n=r.next;return{iterator:r,nextMethod:n,done:!1}}let jt=(Ot=(Bt=Symbol.asyncIterator)!==null&&Bt!==void 0?Bt:(It=Symbol.for)===null||It===void 0?void 0:It.call(Symbol,"Symbol.asyncIterator"))!==null&&Ot!==void 0?Ot:"@@asyncIterator";function Wr(e,t="sync",r){if(r===void 0)if(t==="async"){if(r=He(e,jt),r===void 0){let a=He(e,Symbol.iterator),i=Wr(e,"sync",a);return $n(i)}}else r=He(e,Symbol.iterator);if(r===void 0)throw new TypeError("The object is not iterable");let n=le(r,e,[]);if(!l(n))throw new TypeError("The iterator method must return an object");let o=n.next;return{iterator:n,nextMethod:o,done:!1}}function Un(e){let t=le(e.nextMethod,e.iterator,[]);if(!l(t))throw new TypeError("The iterator.next() method must return an object");return t}function Nn(e){return!!e.done}function Qn(e){return e.value}function Yn(e){return!(typeof e!="number"||vr(e)||e<0)}function Ar(e){let t=qr(e.buffer,e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}function zt(e){let t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function Ft(e,t,r){if(!Yn(r)||r===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r}function Hn(e){return e._queue.peek().value}function x(e){e._queue=new W,e._queueTotalSize=0}function kr(e){return e===DataView}function Vn(e){return kr(e.constructor)}function Gn(e){return kr(e)?1:e.BYTES_PER_ELEMENT}class ue{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!Dt(this))throw Nt("view");return this._view}respond(t){if(!Dt(this))throw Nt("respond");if(U(t,1,"respond"),t=Wt(t,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(K(this._view.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");Xe(this._associatedReadableByteStreamController,t)}respondWithNewView(t){if(!Dt(this))throw Nt("respondWithNewView");if(U(t,1,"respondWithNewView"),!ArrayBuffer.isView(t))throw new TypeError("You can only respond with array buffer views");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(K(t.buffer))throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");Je(this._associatedReadableByteStreamController,t)}}Object.defineProperties(ue.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),c(ue.prototype.respond,"respond"),c(ue.prototype.respondWithNewView,"respondWithNewView"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(ue.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});class Q{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!de(this))throw ze("byobRequest");return Ut(this)}get desiredSize(){if(!de(this))throw ze("desiredSize");return $r(this)}close(){if(!de(this))throw ze("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");let t=this._controlledReadableByteStream._state;if(t!=="readable")throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be closed`);je(this)}enqueue(t){if(!de(this))throw ze("enqueue");if(U(t,1,"enqueue"),!ArrayBuffer.isView(t))throw new TypeError("chunk must be an array buffer view");if(t.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(t.buffer.byteLength===0)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");let r=this._controlledReadableByteStream._state;if(r!=="readable")throw new TypeError(`The stream (in ${r} state) is not in the readable state and cannot be enqueued to`);Ze(this,t)}error(t=void 0){if(!de(this))throw ze("error");k(this,t)}[Rt](t){Br(this),x(this);let r=this._cancelAlgorithm(t);return Ge(this),r}[wt](t){let r=this._controlledReadableByteStream;if(this._queueTotalSize>0){Mr(this,t);return}let n=this._autoAllocateChunkSize;if(n!==void 0){let o;try{o=new ArrayBuffer(n)}catch(i){t._errorSteps(i);return}let a={buffer:o,bufferByteLength:n,byteOffset:0,byteLength:n,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(a)}Sr(r,t),fe(this)}[Ct](){if(this._pendingPullIntos.length>0){let t=this._pendingPullIntos.peek();t.readerType="none",this._pendingPullIntos=new W,this._pendingPullIntos.push(t)}}}Object.defineProperties(Q.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),c(Q.prototype.close,"close"),c(Q.prototype.enqueue,"enqueue"),c(Q.prototype.error,"error"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Q.prototype,Symbol.toStringTag,{value:"ReadableByteStreamController",configurable:!0});function de(e){return!l(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")?!1:e instanceof Q}function Dt(e){return!l(e)||!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")?!1:e instanceof ue}function fe(e){if(!xn(e))return;if(e._pulling){e._pullAgain=!0;return}e._pulling=!0;let r=e._pullAlgorithm();T(r,()=>(e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,fe(e)),null),n=>(k(e,n),null))}function Br(e){Mt(e),e._pendingPullIntos=new W}function Lt(e,t){let r=!1;e._state==="closed"&&(r=!0);let n=Ir(t);t.readerType==="default"?kt(e,n,r):ao(e,n,r)}function Ir(e){let t=e.bytesFilled,r=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/r)}function Ve(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function Or(e,t,r,n){let o;try{o=qr(t,r,r+n)}catch(a){throw k(e,a),a}Ve(e,o,0,n)}function jr(e,t){t.bytesFilled>0&&Or(e,t.buffer,t.byteOffset,t.bytesFilled),ge(e)}function zr(e,t){let r=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),n=t.bytesFilled+r,o=r,a=!1,i=n%t.elementSize,u=n-i;u>=t.minimumFill&&(o=u-t.bytesFilled,a=!0);let m=e._queue;for(;o>0;){let f=m.peek(),_=Math.min(o,f.byteLength),y=t.byteOffset+t.bytesFilled;Er(t.buffer,y,f.buffer,f.byteOffset,_),f.byteLength===_?m.shift():(f.byteOffset+=_,f.byteLength-=_),e._queueTotalSize-=_,Fr(e,_,t),o-=_}return a}function Fr(e,t,r){r.bytesFilled+=t}function Dr(e){e._queueTotalSize===0&&e._closeRequested?(Ge(e),Ue(e._controlledReadableByteStream)):fe(e)}function Mt(e){e._byobRequest!==null&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function $t(e){for(;e._pendingPullIntos.length>0;){if(e._queueTotalSize===0)return;let t=e._pendingPullIntos.peek();zr(e,t)&&(ge(e),Lt(e._controlledReadableByteStream,t))}}function Zn(e){let t=e._controlledReadableByteStream._reader;for(;t._readRequests.length>0;){if(e._queueTotalSize===0)return;let r=t._readRequests.shift();Mr(e,r)}}function Xn(e,t,r,n){let o=e._controlledReadableByteStream,a=t.constructor,i=Gn(a),{byteOffset:u,byteLength:m}=t,f=r*i,_;try{_=N(t.buffer)}catch(w){n._errorSteps(w);return}let y={buffer:_,bufferByteLength:_.byteLength,byteOffset:u,byteLength:m,bytesFilled:0,minimumFill:f,elementSize:i,viewConstructor:a,readerType:"byob"};if(e._pendingPullIntos.length>0){e._pendingPullIntos.push(y),Qr(o,n);return}if(o._state==="closed"){let w=new a(y.buffer,y.byteOffset,0);n._closeSteps(w);return}if(e._queueTotalSize>0){if(zr(e,y)){let w=Ir(y);Dr(e),n._chunkSteps(w);return}if(e._closeRequested){let w=new TypeError("Insufficient bytes to fill elements in the given buffer");k(e,w),n._errorSteps(w);return}}e._pendingPullIntos.push(y),Qr(o,n),fe(e)}function Jn(e,t){t.readerType==="none"&&ge(e);let r=e._controlledReadableByteStream;if(Qt(r))for(;Yr(r)>0;){let n=ge(e);Lt(r,n)}}function Kn(e,t,r){if(Fr(e,t,r),r.readerType==="none"){jr(e,r),$t(e);return}if(r.bytesFilled<r.minimumFill)return;ge(e);let n=r.bytesFilled%r.elementSize;if(n>0){let o=r.byteOffset+r.bytesFilled;Or(e,r.buffer,o-n,n)}r.bytesFilled-=n,Lt(e._controlledReadableByteStream,r),$t(e)}function Lr(e,t){let r=e._pendingPullIntos.peek();Mt(e),e._controlledReadableByteStream._state==="closed"?Jn(e,r):Kn(e,t,r),fe(e)}function ge(e){return e._pendingPullIntos.shift()}function xn(e){let t=e._controlledReadableByteStream;return t._state!=="readable"||e._closeRequested||!e._started?!1:!!(gr(t)&&Qe(t)>0||Qt(t)&&Yr(t)>0||$r(e)>0)}function Ge(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function je(e){let t=e._controlledReadableByteStream;if(!(e._closeRequested||t._state!=="readable")){if(e._queueTotalSize>0){e._closeRequested=!0;return}if(e._pendingPullIntos.length>0){let r=e._pendingPullIntos.peek();if(r.bytesFilled%r.elementSize!==0){let n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw k(e,n),n}}Ge(e),Ue(t)}}function Ze(e,t){let r=e._controlledReadableByteStream;if(e._closeRequested||r._state!=="readable")return;let{buffer:n,byteOffset:o,byteLength:a}=t;if(K(n))throw new TypeError("chunk's buffer is detached and so cannot be enqueued");let i=N(n);if(e._pendingPullIntos.length>0){let u=e._pendingPullIntos.peek();if(K(u.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk");Mt(e),u.buffer=N(u.buffer),u.readerType==="none"&&jr(e,u)}if(gr(r))if(Zn(e),Qe(r)===0)Ve(e,i,o,a);else{e._pendingPullIntos.length>0&&ge(e);let u=new Uint8Array(i,o,a);kt(r,u,!1)}else Qt(r)?(Ve(e,i,o,a),$t(e)):Ve(e,i,o,a);fe(e)}function k(e,t){let r=e._controlledReadableByteStream;r._state==="readable"&&(Br(e),x(e),Ge(e),_n(r,t))}function Mr(e,t){let r=e._queue.shift();e._queueTotalSize-=r.byteLength,Dr(e);let n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);t._chunkSteps(n)}function Ut(e){if(e._byobRequest===null&&e._pendingPullIntos.length>0){let t=e._pendingPullIntos.peek(),r=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),n=Object.create(ue.prototype);to(n,e,r),e._byobRequest=n}return e._byobRequest}function $r(e){let t=e._controlledReadableByteStream._state;return t==="errored"?null:t==="closed"?0:e._strategyHWM-e._queueTotalSize}function Xe(e,t){let r=e._pendingPullIntos.peek();if(e._controlledReadableByteStream._state==="closed"){if(t!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(t===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range")}r.buffer=N(r.buffer),Lr(e,t)}function Je(e,t){let r=e._pendingPullIntos.peek();if(e._controlledReadableByteStream._state==="closed"){if(t.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(t.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.bufferByteLength!==t.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(r.bytesFilled+t.byteLength>r.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");let o=t.byteLength;r.buffer=N(t.buffer),Lr(e,o)}function Ur(e,t,r,n,o,a,i){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=null,t._queue=t._queueTotalSize=void 0,x(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=a,t._pullAlgorithm=n,t._cancelAlgorithm=o,t._autoAllocateChunkSize=i,t._pendingPullIntos=new W,e._readableStreamController=t;let u=r();T(p(u),()=>(t._started=!0,fe(t),null),m=>(k(t,m),null))}function eo(e,t,r){let n=Object.create(Q.prototype),o,a,i;t.start!==void 0?o=()=>t.start(n):o=()=>{},t.pull!==void 0?a=()=>t.pull(n):a=()=>p(void 0),t.cancel!==void 0?i=m=>t.cancel(m):i=()=>p(void 0);let u=t.autoAllocateChunkSize;if(u===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");Ur(e,n,o,a,i,r,u)}function to(e,t,r){e._associatedReadableByteStreamController=t,e._view=r}function Nt(e){return new TypeError(`ReadableStreamBYOBRequest.prototype.${e} can only be used on a ReadableStreamBYOBRequest`)}function ze(e){return new TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`)}function ro(e,t){F(e,t);let r=e?.mode;return{mode:r===void 0?void 0:no(r,`${t} has member 'mode' that`)}}function no(e,t){if(e=`${e}`,e!=="byob")throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamReaderMode`);return e}function oo(e,t){var r;F(e,t);let n=(r=e?.min)!==null&&r!==void 0?r:1;return{min:Wt(n,`${t} has member 'min' that`)}}function Nr(e){return new ee(e)}function Qr(e,t){e._reader._readIntoRequests.push(t)}function ao(e,t,r){let o=e._reader._readIntoRequests.shift();r?o._closeSteps(t):o._chunkSteps(t)}function Yr(e){return e._reader._readIntoRequests.length}function Qt(e){let t=e._reader;return!(t===void 0||!ce(t))}class ee{constructor(t){if(U(t,1,"ReadableStreamBYOBReader"),At(t,"First parameter"),ne(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!de(t._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");hr(this,t),this._readIntoRequests=new W}get closed(){return ce(this)?this._closedPromise:d(Ke("closed"))}cancel(t=void 0){return ce(this)?this._ownerReadableStream===void 0?d(Ne("cancel")):Tt(this,t):d(Ke("cancel"))}read(t,r={}){if(!ce(this))return d(Ke("read"));if(!ArrayBuffer.isView(t))return d(new TypeError("view must be an array buffer view"));if(t.byteLength===0)return d(new TypeError("view must have non-zero byteLength"));if(t.buffer.byteLength===0)return d(new TypeError("view's buffer must have non-zero byteLength"));if(K(t.buffer))return d(new TypeError("view's buffer has been detached"));let n;try{n=oo(r,"options")}catch(f){return d(f)}let o=n.min;if(o===0)return d(new TypeError("options.min must be greater than 0"));if(Vn(t)){if(o>t.byteLength)return d(new RangeError("options.min must be less than or equal to view's byteLength"))}else if(o>t.length)return d(new RangeError("options.min must be less than or equal to view's length"));if(this._ownerReadableStream===void 0)return d(Ne("read from"));let a,i,u=R((f,_)=>{a=f,i=_});return Hr(this,t,o,{_chunkSteps:f=>a({value:f,done:!1}),_closeSteps:f=>a({value:f,done:!0}),_errorSteps:f=>i(f)}),u}releaseLock(){if(!ce(this))throw Ke("releaseLock");this._ownerReadableStream!==void 0&&io(this)}}Object.defineProperties(ee.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),c(ee.prototype.cancel,"cancel"),c(ee.prototype.read,"read"),c(ee.prototype.releaseLock,"releaseLock"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(ee.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});function ce(e){return!l(e)||!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")?!1:e instanceof ee}function Hr(e,t,r,n){let o=e._ownerReadableStream;o._disturbed=!0,o._state==="errored"?n._errorSteps(o._storedError):Xn(o._readableStreamController,t,r,n)}function io(e){$(e);let t=new TypeError("Reader was released");Vr(e,t)}function Vr(e,t){let r=e._readIntoRequests;e._readIntoRequests=new W,r.forEach(n=>{n._errorSteps(t)})}function Ke(e){return new TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`)}function Fe(e,t){let{highWaterMark:r}=e;if(r===void 0)return t;if(vr(r)||r<0)throw new RangeError("Invalid highWaterMark");return r}function xe(e){let{size:t}=e;return t||(()=>1)}function et(e,t){F(e,t);let r=e?.highWaterMark,n=e?.size;return{highWaterMark:r===void 0?void 0:qt(r),size:n===void 0?void 0:so(n,`${t} has member 'size' that`)}}function so(e,t){return A(e,t),r=>qt(e(r))}function lo(e,t){F(e,t);let r=e?.abort,n=e?.close,o=e?.start,a=e?.type,i=e?.write;return{abort:r===void 0?void 0:uo(r,e,`${t} has member 'abort' that`),close:n===void 0?void 0:fo(n,e,`${t} has member 'close' that`),start:o===void 0?void 0:co(o,e,`${t} has member 'start' that`),write:i===void 0?void 0:ho(i,e,`${t} has member 'write' that`),type:a}}function uo(e,t,r){return A(e,r),n=>Z(e,t,[n])}function fo(e,t,r){return A(e,r),()=>Z(e,t,[])}function co(e,t,r){return A(e,r),n=>le(e,t,[n])}function ho(e,t,r){return A(e,r),(n,o)=>Z(e,t,[n,o])}function Gr(e,t){if(!Re(e))throw new TypeError(`${t} is not a WritableStream.`)}function bo(e){if(typeof e!="object"||e===null)return!1;try{return typeof e.aborted=="boolean"}catch{return!1}}let mo=typeof AbortController=="function";function _o(){if(mo)return new AbortController}class te{constructor(t={},r={}){t===void 0?t=null:pr(t,"First parameter");let n=et(r,"Second parameter"),o=lo(t,"First parameter");if(Xr(this),o.type!==void 0)throw new RangeError("Invalid type is specified");let i=xe(n),u=Fe(n,1);Ao(this,o,u,i)}get locked(){if(!Re(this))throw at("locked");return we(this)}abort(t=void 0){return Re(this)?we(this)?d(new TypeError("Cannot abort a stream that already has a writer")):tt(this,t):d(at("abort"))}close(){return Re(this)?we(this)?d(new TypeError("Cannot close a stream that already has a writer")):D(this)?d(new TypeError("Cannot close an already-closing stream")):Jr(this):d(at("close"))}getWriter(){if(!Re(this))throw at("getWriter");return Zr(this)}}Object.defineProperties(te.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),c(te.prototype.abort,"abort"),c(te.prototype.close,"close"),c(te.prototype.getWriter,"getWriter"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(te.prototype,Symbol.toStringTag,{value:"WritableStream",configurable:!0});function Zr(e){return new Y(e)}function po(e,t,r,n,o=1,a=()=>1){let i=Object.create(te.prototype);Xr(i);let u=Object.create(Ce.prototype);return nn(i,u,e,t,r,n,o,a),i}function Xr(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new W,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function Re(e){return!l(e)||!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")?!1:e instanceof te}function we(e){return e._writer!==void 0}function tt(e,t){var r;if(e._state==="closed"||e._state==="errored")return p(void 0);e._writableStreamController._abortReason=t,(r=e._writableStreamController._abortController)===null||r===void 0||r.abort(t);let n=e._state;if(n==="closed"||n==="errored")return p(void 0);if(e._pendingAbortRequest!==void 0)return e._pendingAbortRequest._promise;let o=!1;n==="erroring"&&(o=!0,t=void 0);let a=R((i,u)=>{e._pendingAbortRequest={_promise:void 0,_resolve:i,_reject:u,_reason:t,_wasAlreadyErroring:o}});return e._pendingAbortRequest._promise=a,o||Ht(e,t),a}function Jr(e){let t=e._state;if(t==="closed"||t==="errored")return d(new TypeError(`The stream (in ${t} state) is not in the writable state and cannot be closed`));let r=R((o,a)=>{let i={_resolve:o,_reject:a};e._closeRequest=i}),n=e._writer;return n!==void 0&&e._backpressure&&t==="writable"&&er(n),ko(e._writableStreamController),r}function yo(e){return R((r,n)=>{let o={_resolve:r,_reject:n};e._writeRequests.push(o)})}function Yt(e,t){if(e._state==="writable"){Ht(e,t);return}Vt(e)}function Ht(e,t){let r=e._writableStreamController;e._state="erroring",e._storedError=t;let n=e._writer;n!==void 0&&xr(n,t),!Co(e)&&r._started&&Vt(e)}function Vt(e){e._state="errored",e._writableStreamController[cr]();let t=e._storedError;if(e._writeRequests.forEach(o=>{o._reject(t)}),e._writeRequests=new W,e._pendingAbortRequest===void 0){rt(e);return}let r=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,r._wasAlreadyErroring){r._reject(t),rt(e);return}let n=e._writableStreamController[fr](r._reason);T(n,()=>(r._resolve(),rt(e),null),o=>(r._reject(o),rt(e),null))}function So(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}function go(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,Yt(e,t)}function Ro(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,e._state==="erroring"&&(e._storedError=void 0,e._pendingAbortRequest!==void 0&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";let r=e._writer;r!==void 0&&ln(r)}function wo(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,e._pendingAbortRequest!==void 0&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),Yt(e,t)}function D(e){return!(e._closeRequest===void 0&&e._inFlightCloseRequest===void 0)}function Co(e){return!(e._inFlightWriteRequest===void 0&&e._inFlightCloseRequest===void 0)}function To(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0}function Po(e){e._inFlightWriteRequest=e._writeRequests.shift()}function rt(e){e._closeRequest!==void 0&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);let t=e._writer;t!==void 0&&Kt(t,e._storedError)}function Gt(e,t){let r=e._writer;r!==void 0&&t!==e._backpressure&&(t?Do(r):er(r)),e._backpressure=t}class Y{constructor(t){if(U(t,1,"WritableStreamDefaultWriter"),Gr(t,"First parameter"),we(t))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;let r=t._state;if(r==="writable")!D(t)&&t._backpressure?st(this):un(this),it(this);else if(r==="erroring")xt(this,t._storedError),it(this);else if(r==="closed")un(this),zo(this);else{let n=t._storedError;xt(this,n),sn(this,n)}}get closed(){return he(this)?this._closedPromise:d(be("closed"))}get desiredSize(){if(!he(this))throw be("desiredSize");if(this._ownerWritableStream===void 0)throw Le("desiredSize");return Wo(this)}get ready(){return he(this)?this._readyPromise:d(be("ready"))}abort(t=void 0){return he(this)?this._ownerWritableStream===void 0?d(Le("abort")):vo(this,t):d(be("abort"))}close(){if(!he(this))return d(be("close"));let t=this._ownerWritableStream;return t===void 0?d(Le("close")):D(t)?d(new TypeError("Cannot close an already-closing stream")):Kr(this)}releaseLock(){if(!he(this))throw be("releaseLock");this._ownerWritableStream!==void 0&&en(this)}write(t=void 0){return he(this)?this._ownerWritableStream===void 0?d(Le("write to")):tn(this,t):d(be("write"))}}Object.defineProperties(Y.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),c(Y.prototype.abort,"abort"),c(Y.prototype.close,"close"),c(Y.prototype.releaseLock,"releaseLock"),c(Y.prototype.write,"write"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Y.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});function he(e){return!l(e)||!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")?!1:e instanceof Y}function vo(e,t){let r=e._ownerWritableStream;return tt(r,t)}function Kr(e){let t=e._ownerWritableStream;return Jr(t)}function Eo(e){let t=e._ownerWritableStream,r=t._state;return D(t)||r==="closed"?p(void 0):r==="errored"?d(t._storedError):Kr(e)}function qo(e,t){e._closedPromiseState==="pending"?Kt(e,t):Fo(e,t)}function xr(e,t){e._readyPromiseState==="pending"?dn(e,t):Lo(e,t)}function Wo(e){let t=e._ownerWritableStream,r=t._state;return r==="errored"||r==="erroring"?null:r==="closed"?0:on(t._writableStreamController)}function en(e){let t=e._ownerWritableStream,r=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");xr(e,r),qo(e,r),t._writer=void 0,e._ownerWritableStream=void 0}function tn(e,t){let r=e._ownerWritableStream,n=r._writableStreamController,o=Bo(n,t);if(r!==e._ownerWritableStream)return d(Le("write to"));let a=r._state;if(a==="errored")return d(r._storedError);if(D(r)||a==="closed")return d(new TypeError("The stream is closing or closed and cannot be written to"));if(a==="erroring")return d(r._storedError);let i=yo(r);return Io(n,t,o),i}let rn={};class Ce{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!Zt(this))throw Jt("abortReason");return this._abortReason}get signal(){if(!Zt(this))throw Jt("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(t=void 0){if(!Zt(this))throw Jt("error");this._controlledWritableStream._state==="writable"&&an(this,t)}[fr](t){let r=this._abortAlgorithm(t);return nt(this),r}[cr](){x(this)}}Object.defineProperties(Ce.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Ce.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});function Zt(e){return!l(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")?!1:e instanceof Ce}function nn(e,t,r,n,o,a,i,u){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,x(t),t._abortReason=void 0,t._abortController=_o(),t._started=!1,t._strategySizeAlgorithm=u,t._strategyHWM=i,t._writeAlgorithm=n,t._closeAlgorithm=o,t._abortAlgorithm=a;let m=Xt(t);Gt(e,m);let f=r(),_=p(f);T(_,()=>(t._started=!0,ot(t),null),y=>(t._started=!0,Yt(e,y),null))}function Ao(e,t,r,n){let o=Object.create(Ce.prototype),a,i,u,m;t.start!==void 0?a=()=>t.start(o):a=()=>{},t.write!==void 0?i=f=>t.write(f,o):i=()=>p(void 0),t.close!==void 0?u=()=>t.close():u=()=>p(void 0),t.abort!==void 0?m=f=>t.abort(f):m=()=>p(void 0),nn(e,o,a,i,u,m,r,n)}function nt(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function ko(e){Ft(e,rn,0),ot(e)}function Bo(e,t){try{return e._strategySizeAlgorithm(t)}catch(r){return De(e,r),1}}function on(e){return e._strategyHWM-e._queueTotalSize}function Io(e,t,r){try{Ft(e,t,r)}catch(o){De(e,o);return}let n=e._controlledWritableStream;if(!D(n)&&n._state==="writable"){let o=Xt(e);Gt(n,o)}ot(e)}function ot(e){let t=e._controlledWritableStream;if(!e._started||t._inFlightWriteRequest!==void 0)return;if(t._state==="erroring"){Vt(t);return}if(e._queue.length===0)return;let n=Hn(e);n===rn?Oo(e):jo(e,n)}function De(e,t){e._controlledWritableStream._state==="writable"&&an(e,t)}function Oo(e){let t=e._controlledWritableStream;To(t),zt(e);let r=e._closeAlgorithm();nt(e),T(r,()=>(Ro(t),null),n=>(wo(t,n),null))}function jo(e,t){let r=e._controlledWritableStream;Po(r);let n=e._writeAlgorithm(t);T(n,()=>{So(r);let o=r._state;if(zt(e),!D(r)&&o==="writable"){let a=Xt(e);Gt(r,a)}return ot(e),null},o=>(r._state==="writable"&&nt(e),go(r,o),null))}function Xt(e){return on(e)<=0}function an(e,t){let r=e._controlledWritableStream;nt(e),Ht(r,t)}function at(e){return new TypeError(`WritableStream.prototype.${e} can only be used on a WritableStream`)}function Jt(e){return new TypeError(`WritableStreamDefaultController.prototype.${e} can only be used on a WritableStreamDefaultController`)}function be(e){return new TypeError(`WritableStreamDefaultWriter.prototype.${e} can only be used on a WritableStreamDefaultWriter`)}function Le(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function it(e){e._closedPromise=R((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"})}function sn(e,t){it(e),Kt(e,t)}function zo(e){it(e),ln(e)}function Kt(e,t){e._closedPromise_reject!==void 0&&(ye(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected")}function Fo(e,t){sn(e,t)}function ln(e){e._closedPromise_resolve!==void 0&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved")}function st(e){e._readyPromise=R((t,r)=>{e._readyPromise_resolve=t,e._readyPromise_reject=r}),e._readyPromiseState="pending"}function xt(e,t){st(e),dn(e,t)}function un(e){st(e),er(e)}function dn(e,t){e._readyPromise_reject!==void 0&&(ye(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected")}function Do(e){st(e)}function Lo(e,t){xt(e,t)}function er(e){e._readyPromise_resolve!==void 0&&(e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled")}function Mo(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof globalThis<"u")return globalThis}let tr=Mo();function $o(e){if(!(typeof e=="function"||typeof e=="object")||e.name!=="DOMException")return!1;try{return new e,!0}catch{return!1}}function Uo(){let e=tr?.DOMException;return $o(e)?e:void 0}function No(){let e=function(r,n){this.message=r||"",this.name=n||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return c(e,"DOMException"),e.prototype=Object.create(Error.prototype),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,configurable:!0}),e}let Qo=Uo()||No();function fn(e,t,r,n,o,a){let i=Se(e),u=Zr(t);e._disturbed=!0;let m=!1,f=p(void 0);return R((_,y)=>{let w;if(a!==void 0){if(w=()=>{let h=a.reason!==void 0?a.reason:new Qo("Aborted","AbortError"),S=[];n||S.push(()=>t._state==="writable"?tt(t,h):p(void 0)),o||S.push(()=>e._state==="readable"?j(e,h):p(void 0)),E(()=>Promise.all(S.map(C=>C())),!0,h)},a.aborted){w();return}a.addEventListener("abort",w)}function z(){return R((h,S)=>{function C(q){q?h():I(Ee(),C,S)}C(!1)})}function Ee(){return m?p(!0):I(u._readyPromise,()=>R((h,S)=>{Ie(i,{_chunkSteps:C=>{f=I(tn(u,C),void 0,s),h(!1)},_closeSteps:()=>h(!0),_errorSteps:S})}))}if(V(e,i._closedPromise,h=>(n?B(!0,h):E(()=>tt(t,h),!0,h),null)),V(t,u._closedPromise,h=>(o?B(!0,h):E(()=>j(e,h),!0,h),null)),v(e,i._closedPromise,()=>(r?B():E(()=>Eo(u)),null)),D(t)||t._state==="closed"){let h=new TypeError("the destination writable stream closed before all data could be piped to it");o?B(!0,h):E(()=>j(e,h),!0,h)}ye(z());function ae(){let h=f;return I(f,()=>h!==f?ae():void 0)}function V(h,S,C){h._state==="errored"?C(h._storedError):gt(S,C)}function v(h,S,C){h._state==="closed"?C():Be(S,C)}function E(h,S,C){if(m)return;m=!0,t._state==="writable"&&!D(t)?Be(ae(),q):q();function q(){return T(h(),()=>G(S,C),qe=>G(!0,qe)),null}}function B(h,S){m||(m=!0,t._state==="writable"&&!D(t)?Be(ae(),()=>G(h,S)):G(h,S))}function G(h,S){return en(u),$(i),a!==void 0&&a.removeEventListener("abort",w),h?y(S):_(void 0),null}})}class H{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!lt(this))throw dt("desiredSize");return rr(this)}close(){if(!lt(this))throw dt("close");if(!Pe(this))throw new TypeError("The stream is not in a state that permits close");me(this)}enqueue(t=void 0){if(!lt(this))throw dt("enqueue");if(!Pe(this))throw new TypeError("The stream is not in a state that permits enqueue");return Te(this,t)}error(t=void 0){if(!lt(this))throw dt("error");O(this,t)}[Rt](t){x(this);let r=this._cancelAlgorithm(t);return ut(this),r}[wt](t){let r=this._controlledReadableStream;if(this._queue.length>0){let n=zt(this);this._closeRequested&&this._queue.length===0?(ut(this),Ue(r)):Me(this),t._chunkSteps(n)}else Sr(r,t),Me(this)}[Ct](){}}Object.defineProperties(H.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),c(H.prototype.close,"close"),c(H.prototype.enqueue,"enqueue"),c(H.prototype.error,"error"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(H.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});function lt(e){return!l(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")?!1:e instanceof H}function Me(e){if(!cn(e))return;if(e._pulling){e._pullAgain=!0;return}e._pulling=!0;let r=e._pullAlgorithm();T(r,()=>(e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Me(e)),null),n=>(O(e,n),null))}function cn(e){let t=e._controlledReadableStream;return!Pe(e)||!e._started?!1:!!(ne(t)&&Qe(t)>0||rr(e)>0)}function ut(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function me(e){if(!Pe(e))return;let t=e._controlledReadableStream;e._closeRequested=!0,e._queue.length===0&&(ut(e),Ue(t))}function Te(e,t){if(!Pe(e))return;let r=e._controlledReadableStream;if(ne(r)&&Qe(r)>0)kt(r,t,!1);else{let n;try{n=e._strategySizeAlgorithm(t)}catch(o){throw O(e,o),o}try{Ft(e,t,n)}catch(o){throw O(e,o),o}}Me(e)}function O(e,t){let r=e._controlledReadableStream;r._state==="readable"&&(x(e),ut(e),_n(r,t))}function rr(e){let t=e._controlledReadableStream._state;return t==="errored"?null:t==="closed"?0:e._strategyHWM-e._queueTotalSize}function Yo(e){return!cn(e)}function Pe(e){let t=e._controlledReadableStream._state;return!e._closeRequested&&t==="readable"}function hn(e,t,r,n,o,a,i){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,x(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=i,t._strategyHWM=a,t._pullAlgorithm=n,t._cancelAlgorithm=o,e._readableStreamController=t;let u=r();T(p(u),()=>(t._started=!0,Me(t),null),m=>(O(t,m),null))}function Ho(e,t,r,n){let o=Object.create(H.prototype),a,i,u;t.start!==void 0?a=()=>t.start(o):a=()=>{},t.pull!==void 0?i=()=>t.pull(o):i=()=>p(void 0),t.cancel!==void 0?u=m=>t.cancel(m):u=()=>p(void 0),hn(e,o,a,i,u,r,n)}function dt(e){return new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`)}function Vo(e,t){return de(e._readableStreamController)?Zo(e):Go(e)}function Go(e,t){let r=Se(e),n=!1,o=!1,a=!1,i=!1,u,m,f,_,y,w=R(v=>{y=v});function z(){return n?(o=!0,p(void 0)):(n=!0,Ie(r,{_chunkSteps:E=>{se(()=>{o=!1;let B=E,G=E;a||Te(f._readableStreamController,B),i||Te(_._readableStreamController,G),n=!1,o&&z()})},_closeSteps:()=>{n=!1,a||me(f._readableStreamController),i||me(_._readableStreamController),(!a||!i)&&y(void 0)},_errorSteps:()=>{n=!1}}),p(void 0))}function Ee(v){if(a=!0,u=v,i){let E=Oe([u,m]),B=j(e,E);y(B)}return w}function ae(v){if(i=!0,m=v,a){let E=Oe([u,m]),B=j(e,E);y(B)}return w}function V(){}return f=$e(V,z,Ee),_=$e(V,z,ae),gt(r._closedPromise,v=>(O(f._readableStreamController,v),O(_._readableStreamController,v),(!a||!i)&&y(void 0),null)),[f,_]}function Zo(e){let t=Se(e),r=!1,n=!1,o=!1,a=!1,i=!1,u,m,f,_,y,w=R(h=>{y=h});function z(h){gt(h._closedPromise,S=>(h!==t||(k(f._readableStreamController,S),k(_._readableStreamController,S),(!a||!i)&&y(void 0)),null))}function Ee(){ce(t)&&($(t),t=Se(e),z(t)),Ie(t,{_chunkSteps:S=>{se(()=>{n=!1,o=!1;let C=S,q=S;if(!a&&!i)try{q=Ar(S)}catch(qe){k(f._readableStreamController,qe),k(_._readableStreamController,qe),y(j(e,qe));return}a||Ze(f._readableStreamController,C),i||Ze(_._readableStreamController,q),r=!1,n?V():o&&v()})},_closeSteps:()=>{r=!1,a||je(f._readableStreamController),i||je(_._readableStreamController),f._readableStreamController._pendingPullIntos.length>0&&Xe(f._readableStreamController,0),_._readableStreamController._pendingPullIntos.length>0&&Xe(_._readableStreamController,0),(!a||!i)&&y(void 0)},_errorSteps:()=>{r=!1}})}function ae(h,S){J(t)&&($(t),t=Nr(e),z(t));let C=S?_:f,q=S?f:_;Hr(t,h,1,{_chunkSteps:We=>{se(()=>{n=!1,o=!1;let Ae=S?i:a;if(S?a:i)Ae||Je(C._readableStreamController,We);else{let Wn;try{Wn=Ar(We)}catch(sr){k(C._readableStreamController,sr),k(q._readableStreamController,sr),y(j(e,sr));return}Ae||Je(C._readableStreamController,We),Ze(q._readableStreamController,Wn)}r=!1,n?V():o&&v()})},_closeSteps:We=>{r=!1;let Ae=S?i:a,yt=S?a:i;Ae||je(C._readableStreamController),yt||je(q._readableStreamController),We!==void 0&&(Ae||Je(C._readableStreamController,We),!yt&&q._readableStreamController._pendingPullIntos.length>0&&Xe(q._readableStreamController,0)),(!Ae||!yt)&&y(void 0)},_errorSteps:()=>{r=!1}})}function V(){if(r)return n=!0,p(void 0);r=!0;let h=Ut(f._readableStreamController);return h===null?Ee():ae(h._view,!1),p(void 0)}function v(){if(r)return o=!0,p(void 0);r=!0;let h=Ut(_._readableStreamController);return h===null?Ee():ae(h._view,!0),p(void 0)}function E(h){if(a=!0,u=h,i){let S=Oe([u,m]),C=j(e,S);y(C)}return w}function B(h){if(i=!0,m=h,a){let S=Oe([u,m]),C=j(e,S);y(C)}return w}function G(){}return f=mn(G,V,E),_=mn(G,v,B),z(t),[f,_]}function Xo(e){return l(e)&&typeof e.getReader<"u"}function Jo(e){return Xo(e)?xo(e.getReader()):Ko(e)}function Ko(e){let t,r=Wr(e,"async"),n=s;function o(){let i;try{i=Un(r)}catch(m){return d(m)}let u=p(i);return M(u,m=>{if(!l(m))throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object");if(Nn(m))me(t._readableStreamController);else{let _=Qn(m);Te(t._readableStreamController,_)}})}function a(i){let u=r.iterator,m;try{m=He(u,"return")}catch(y){return d(y)}if(m===void 0)return p(void 0);let f;try{f=le(m,u,[i])}catch(y){return d(y)}let _=p(f);return M(_,y=>{if(!l(y))throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object")})}return t=$e(n,o,a,0),t}function xo(e){let t,r=s;function n(){let a;try{a=e.read()}catch(i){return d(i)}return M(a,i=>{if(!l(i))throw new TypeError("The promise returned by the reader.read() method must fulfill with an object");if(i.done)me(t._readableStreamController);else{let u=i.value;Te(t._readableStreamController,u)}})}function o(a){try{return p(e.cancel(a))}catch(i){return d(i)}}return t=$e(r,n,o,0),t}function ea(e,t){F(e,t);let r=e,n=r?.autoAllocateChunkSize,o=r?.cancel,a=r?.pull,i=r?.start,u=r?.type;return{autoAllocateChunkSize:n===void 0?void 0:Wt(n,`${t} has member 'autoAllocateChunkSize' that`),cancel:o===void 0?void 0:ta(o,r,`${t} has member 'cancel' that`),pull:a===void 0?void 0:ra(a,r,`${t} has member 'pull' that`),start:i===void 0?void 0:na(i,r,`${t} has member 'start' that`),type:u===void 0?void 0:oa(u,`${t} has member 'type' that`)}}function ta(e,t,r){return A(e,r),n=>Z(e,t,[n])}function ra(e,t,r){return A(e,r),n=>Z(e,t,[n])}function na(e,t,r){return A(e,r),n=>le(e,t,[n])}function oa(e,t){if(e=`${e}`,e!=="bytes")throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamType`);return e}function aa(e,t){return F(e,t),{preventCancel:!!e?.preventCancel}}function bn(e,t){F(e,t);let r=e?.preventAbort,n=e?.preventCancel,o=e?.preventClose,a=e?.signal;return a!==void 0&&ia(a,`${t} has member 'signal' that`),{preventAbort:!!r,preventCancel:!!n,preventClose:!!o,signal:a}}function ia(e,t){if(!bo(e))throw new TypeError(`${t} is not an AbortSignal.`)}function sa(e,t){F(e,t);let r=e?.readable;Et(r,"readable","ReadableWritablePair"),At(r,`${t} has member 'readable' that`);let n=e?.writable;return Et(n,"writable","ReadableWritablePair"),Gr(n,`${t} has member 'writable' that`),{readable:r,writable:n}}class P{constructor(t={},r={}){t===void 0?t=null:pr(t,"First parameter");let n=et(r,"Second parameter"),o=ea(t,"First parameter");if(nr(this),o.type==="bytes"){if(n.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");let a=Fe(n,0);eo(this,o,a)}else{let a=xe(n),i=Fe(n,1);Ho(this,o,i,a)}}get locked(){if(!re(this))throw _e("locked");return ne(this)}cancel(t=void 0){return re(this)?ne(this)?d(new TypeError("Cannot cancel a stream that already has a reader")):j(this,t):d(_e("cancel"))}getReader(t=void 0){if(!re(this))throw _e("getReader");return ro(t,"First parameter").mode===void 0?Se(this):Nr(this)}pipeThrough(t,r={}){if(!re(this))throw _e("pipeThrough");U(t,1,"pipeThrough");let n=sa(t,"First parameter"),o=bn(r,"Second parameter");if(ne(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(we(n.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");let a=fn(this,n.writable,o.preventClose,o.preventAbort,o.preventCancel,o.signal);return ye(a),n.readable}pipeTo(t,r={}){if(!re(this))return d(_e("pipeTo"));if(t===void 0)return d("Parameter 1 is required in 'pipeTo'.");if(!Re(t))return d(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let n;try{n=bn(r,"Second parameter")}catch(o){return d(o)}return ne(this)?d(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):we(t)?d(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):fn(this,t,n.preventClose,n.preventAbort,n.preventCancel,n.signal)}tee(){if(!re(this))throw _e("tee");let t=Vo(this);return Oe(t)}values(t=void 0){if(!re(this))throw _e("values");let r=aa(t,"First parameter");return Mn(this,r.preventCancel)}[jt](t){return this.values(t)}static from(t){return Jo(t)}}Object.defineProperties(P,{from:{enumerable:!0}}),Object.defineProperties(P.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),c(P.from,"from"),c(P.prototype.cancel,"cancel"),c(P.prototype.getReader,"getReader"),c(P.prototype.pipeThrough,"pipeThrough"),c(P.prototype.pipeTo,"pipeTo"),c(P.prototype.tee,"tee"),c(P.prototype.values,"values"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(P.prototype,Symbol.toStringTag,{value:"ReadableStream",configurable:!0}),Object.defineProperty(P.prototype,jt,{value:P.prototype.values,writable:!0,configurable:!0});function $e(e,t,r,n=1,o=()=>1){let a=Object.create(P.prototype);nr(a);let i=Object.create(H.prototype);return hn(a,i,e,t,r,n,o),a}function mn(e,t,r){let n=Object.create(P.prototype);nr(n);let o=Object.create(Q.prototype);return Ur(n,o,e,t,r,0,void 0),n}function nr(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function re(e){return!l(e)||!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")?!1:e instanceof P}function ne(e){return e._reader!==void 0}function j(e,t){if(e._disturbed=!0,e._state==="closed")return p(void 0);if(e._state==="errored")return d(e._storedError);Ue(e);let r=e._reader;if(r!==void 0&&ce(r)){let o=r._readIntoRequests;r._readIntoRequests=new W,o.forEach(a=>{a._closeSteps(void 0)})}let n=e._readableStreamController[Rt](t);return M(n,s)}function Ue(e){e._state="closed";let t=e._reader;if(t!==void 0&&(mr(t),J(t))){let r=t._readRequests;t._readRequests=new W,r.forEach(n=>{n._closeSteps()})}}function _n(e,t){e._state="errored",e._storedError=t;let r=e._reader;r!==void 0&&(vt(r,t),J(r)?Rr(r,t):Vr(r,t))}function _e(e){return new TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`)}function pn(e,t){F(e,t);let r=e?.highWaterMark;return Et(r,"highWaterMark","QueuingStrategyInit"),{highWaterMark:qt(r)}}let yn=e=>e.byteLength;c(yn,"size");class ft{constructor(t){U(t,1,"ByteLengthQueuingStrategy"),t=pn(t,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!gn(this))throw Sn("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!gn(this))throw Sn("size");return yn}}Object.defineProperties(ft.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(ft.prototype,Symbol.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});function Sn(e){return new TypeError(`ByteLengthQueuingStrategy.prototype.${e} can only be used on a ByteLengthQueuingStrategy`)}function gn(e){return!l(e)||!Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")?!1:e instanceof ft}let Rn=()=>1;c(Rn,"size");class ct{constructor(t){U(t,1,"CountQueuingStrategy"),t=pn(t,"First parameter"),this._countQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!Cn(this))throw wn("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!Cn(this))throw wn("size");return Rn}}Object.defineProperties(ct.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(ct.prototype,Symbol.toStringTag,{value:"CountQueuingStrategy",configurable:!0});function wn(e){return new TypeError(`CountQueuingStrategy.prototype.${e} can only be used on a CountQueuingStrategy`)}function Cn(e){return!l(e)||!Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")?!1:e instanceof ct}function la(e,t){F(e,t);let r=e?.cancel,n=e?.flush,o=e?.readableType,a=e?.start,i=e?.transform,u=e?.writableType;return{cancel:r===void 0?void 0:ca(r,e,`${t} has member 'cancel' that`),flush:n===void 0?void 0:ua(n,e,`${t} has member 'flush' that`),readableType:o,start:a===void 0?void 0:da(a,e,`${t} has member 'start' that`),transform:i===void 0?void 0:fa(i,e,`${t} has member 'transform' that`),writableType:u}}function ua(e,t,r){return A(e,r),n=>Z(e,t,[n])}function da(e,t,r){return A(e,r),n=>le(e,t,[n])}function fa(e,t,r){return A(e,r),(n,o)=>Z(e,t,[n,o])}function ca(e,t,r){return A(e,r),n=>Z(e,t,[n])}class ht{constructor(t={},r={},n={}){t===void 0&&(t=null);let o=et(r,"Second parameter"),a=et(n,"Third parameter"),i=la(t,"First parameter");if(i.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(i.writableType!==void 0)throw new RangeError("Invalid writableType specified");let u=Fe(a,0),m=xe(a),f=Fe(o,1),_=xe(o),y,w=R(z=>{y=z});ha(this,w,f,_,u,m),ma(this,i),i.start!==void 0?y(i.start(this._transformStreamController)):y(void 0)}get readable(){if(!Tn(this))throw qn("readable");return this._readable}get writable(){if(!Tn(this))throw qn("writable");return this._writable}}Object.defineProperties(ht.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(ht.prototype,Symbol.toStringTag,{value:"TransformStream",configurable:!0});function ha(e,t,r,n,o,a){function i(){return t}function u(w){return ya(e,w)}function m(w){return Sa(e,w)}function f(){return ga(e)}e._writable=po(i,u,f,m,r,n);function _(){return Ra(e)}function y(w){return wa(e,w)}e._readable=$e(i,_,y,o,a),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,bt(e,!0),e._transformStreamController=void 0}function Tn(e){return!l(e)||!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")?!1:e instanceof ht}function Pn(e,t){O(e._readable._readableStreamController,t),or(e,t)}function or(e,t){_t(e._transformStreamController),De(e._writable._writableStreamController,t),ar(e)}function ar(e){e._backpressure&&bt(e,!1)}function bt(e,t){e._backpressureChangePromise!==void 0&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=R(r=>{e._backpressureChangePromise_resolve=r}),e._backpressure=t}class oe{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!mt(this))throw pt("desiredSize");let t=this._controlledTransformStream._readable._readableStreamController;return rr(t)}enqueue(t=void 0){if(!mt(this))throw pt("enqueue");vn(this,t)}error(t=void 0){if(!mt(this))throw pt("error");_a(this,t)}terminate(){if(!mt(this))throw pt("terminate");pa(this)}}Object.defineProperties(oe.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),c(oe.prototype.enqueue,"enqueue"),c(oe.prototype.error,"error"),c(oe.prototype.terminate,"terminate"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(oe.prototype,Symbol.toStringTag,{value:"TransformStreamDefaultController",configurable:!0});function mt(e){return!l(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")?!1:e instanceof oe}function ba(e,t,r,n,o){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=r,t._flushAlgorithm=n,t._cancelAlgorithm=o,t._finishPromise=void 0,t._finishPromise_resolve=void 0,t._finishPromise_reject=void 0}function ma(e,t){let r=Object.create(oe.prototype),n,o,a;t.transform!==void 0?n=i=>t.transform(i,r):n=i=>{try{return vn(r,i),p(void 0)}catch(u){return d(u)}},t.flush!==void 0?o=()=>t.flush(r):o=()=>p(void 0),t.cancel!==void 0?a=i=>t.cancel(i):a=()=>p(void 0),ba(e,r,n,o,a)}function _t(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0,e._cancelAlgorithm=void 0}function vn(e,t){let r=e._controlledTransformStream,n=r._readable._readableStreamController;if(!Pe(n))throw new TypeError("Readable side is not in a state that permits enqueue");try{Te(n,t)}catch(a){throw or(r,a),r._readable._storedError}Yo(n)!==r._backpressure&&bt(r,!0)}function _a(e,t){Pn(e._controlledTransformStream,t)}function En(e,t){let r=e._transformAlgorithm(t);return M(r,void 0,n=>{throw Pn(e._controlledTransformStream,n),n})}function pa(e){let t=e._controlledTransformStream,r=t._readable._readableStreamController;me(r);let n=new TypeError("TransformStream terminated");or(t,n)}function ya(e,t){let r=e._transformStreamController;if(e._backpressure){let n=e._backpressureChangePromise;return M(n,()=>{let o=e._writable;if(o._state==="erroring")throw o._storedError;return En(r,t)})}return En(r,t)}function Sa(e,t){let r=e._transformStreamController;if(r._finishPromise!==void 0)return r._finishPromise;let n=e._readable;r._finishPromise=R((a,i)=>{r._finishPromise_resolve=a,r._finishPromise_reject=i});let o=r._cancelAlgorithm(t);return _t(r),T(o,()=>(n._state==="errored"?ve(r,n._storedError):(O(n._readableStreamController,t),ir(r)),null),a=>(O(n._readableStreamController,a),ve(r,a),null)),r._finishPromise}function ga(e){let t=e._transformStreamController;if(t._finishPromise!==void 0)return t._finishPromise;let r=e._readable;t._finishPromise=R((o,a)=>{t._finishPromise_resolve=o,t._finishPromise_reject=a});let n=t._flushAlgorithm();return _t(t),T(n,()=>(r._state==="errored"?ve(t,r._storedError):(me(r._readableStreamController),ir(t)),null),o=>(O(r._readableStreamController,o),ve(t,o),null)),t._finishPromise}function Ra(e){return bt(e,!1),e._backpressureChangePromise}function wa(e,t){let r=e._transformStreamController;if(r._finishPromise!==void 0)return r._finishPromise;let n=e._writable;r._finishPromise=R((a,i)=>{r._finishPromise_resolve=a,r._finishPromise_reject=i});let o=r._cancelAlgorithm(t);return _t(r),T(o,()=>(n._state==="errored"?ve(r,n._storedError):(De(n._writableStreamController,t),ar(e),ir(r)),null),a=>(De(n._writableStreamController,a),ar(e),ve(r,a),null)),r._finishPromise}function pt(e){return new TypeError(`TransformStreamDefaultController.prototype.${e} can only be used on a TransformStreamDefaultController`)}function ir(e){e._finishPromise_resolve!==void 0&&(e._finishPromise_resolve(),e._finishPromise_resolve=void 0,e._finishPromise_reject=void 0)}function ve(e,t){e._finishPromise_reject!==void 0&&(ye(e._finishPromise),e._finishPromise_reject(t),e._finishPromise_resolve=void 0,e._finishPromise_reject=void 0)}function qn(e){return new TypeError(`TransformStream.prototype.${e} can only be used on a TransformStream`)}b.ByteLengthQueuingStrategy=ft,b.CountQueuingStrategy=ct,b.ReadableByteStreamController=Q,b.ReadableStream=P,b.ReadableStreamBYOBReader=ee,b.ReadableStreamBYOBRequest=ue,b.ReadableStreamDefaultController=H,b.ReadableStreamDefaultReader=X,b.TransformStream=ht,b.TransformStreamDefaultController=oe,b.WritableStream=te,b.WritableStreamDefaultController=Ce,b.WritableStreamDefaultWriter=Y}))});var ke=ka(kn());typeof globalThis.ReadableStream>"u"&&(globalThis.ReadableStream=ke.ReadableStream);typeof globalThis.WritableStream>"u"&&(globalThis.WritableStream=ke.WritableStream);typeof globalThis.TransformStream>"u"&&(globalThis.TransformStream=ke.TransformStream);typeof globalThis.URLSearchParams>"u"&&(globalThis.URLSearchParams=class{constructor(s=void 0){L(this,"_entries",[]);if(typeof s=="string"){let l=s.startsWith("?")?s.slice(1):s;if(l.length>0)for(let g of l.split("&")){if(!g)continue;let[c,pe=""]=g.split("=");this.append(decodeURIComponent(c),decodeURIComponent(pe))}}else if(Array.isArray(s))for(let[l,g]of s)this.append(l,g);else if(s&&typeof s=="object")for(let[l,g]of Object.entries(s))this.append(l,g)}append(s,l){this._entries.push([String(s),String(l)])}delete(s){let l=String(s);this._entries=this._entries.filter(([g])=>g!==l)}get(s){let l=String(s),g=this._entries.find(([c])=>c===l);return g?g[1]:null}getAll(s){let l=String(s);return this._entries.filter(([g])=>g===l).map(([,g])=>g)}has(s){let l=String(s);return this._entries.some(([g])=>g===l)}set(s,l){this.delete(s),this.append(s,l)}entries(){return this._entries[Symbol.iterator]()}keys(){return this._entries.map(([s])=>s)[Symbol.iterator]()}values(){return this._entries.map(([,s])=>s)[Symbol.iterator]()}forEach(s,l=void 0){for(let[g,c]of this._entries)s.call(l,c,g,this)}toString(){return this._entries.map(([s,l])=>`${encodeURIComponent(s)}=${encodeURIComponent(l)}`).join("&")}[Symbol.iterator](){return this.entries()}},globalThis.URLSearchParams.__secureExecBootstrapStub=!0);typeof globalThis.URL>"u"&&(globalThis.URL=class{constructor(s,l=void 0){let g=String(s??""),c=/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(g),pe=c||typeof l>"u"?"":String(new globalThis.URL(l).href),ie=(c?g:pe.replace(/\/[^/]*$/,"/")+g).match(/^(\w+:)\/\/([^/:?#]+)(:\d+)?(.*)$/);if(!ie)throw new TypeError(`Invalid URL: ${g}`);this.protocol=ie[1],this.hostname=ie[2],this.port=(ie[3]||"").slice(1);let R=ie[4]||"/",p=R.indexOf("?"),d=R.indexOf("#"),I=[p,d].filter(T=>T>=0).sort((T,Be)=>T-Be)[0]??R.length;this.pathname=R.slice(0,I)||"/",this.search=p>=0?R.slice(p,d>=0&&d>p?d:R.length):"",this.hash=d>=0?R.slice(d):"",this.host=this.hostname+(this.port?`:${this.port}`:""),this.origin=`${this.protocol}//${this.host}`,this.href=`${this.origin}${this.pathname}${this.search}${this.hash}`,this.searchParams=new globalThis.URLSearchParams(this.search)}toString(){return this.href}toJSON(){return this.href}},globalThis.URL.__secureExecBootstrapStub=!0);typeof globalThis.Blob>"u"&&(globalThis.Blob=class{});typeof globalThis.AbortSignal>"u"&&(globalThis.AbortSignal=class{constructor(){L(this,"aborted",!1);L(this,"reason");L(this,"_listeners",new Set)}addEventListener(s,l){s!=="abort"||typeof l!="function"||this._listeners.add(l)}removeEventListener(s,l){s==="abort"&&this._listeners.delete(l)}dispatchEvent(s){for(let l of this._listeners)l.call(this,s);return!0}throwIfAborted(){if(this.aborted)throw this.reason instanceof Error?this.reason:new Error(String(this.reason??"AbortError"))}});typeof globalThis.AbortController>"u"&&(globalThis.AbortController=class{constructor(){this.signal=new globalThis.AbortSignal}abort(s=void 0){this.signal.aborted||(this.signal.aborted=!0,this.signal.reason=s,this.signal.dispatchEvent({type:"abort"}))}});typeof globalThis.File>"u"&&(globalThis.File=class extends Blob{constructor(l=[],g="",c={}){super(l,c);L(this,"name");L(this,"lastModified");L(this,"webkitRelativePath");this.name=String(g),this.lastModified=typeof c.lastModified=="number"?c.lastModified:Date.now(),this.webkitRelativePath=""}});typeof globalThis.FormData>"u"&&(globalThis.FormData=class{constructor(){L(this,"_entries",[])}append(s,l){this._entries.push([s,l])}get(s){let l=this._entries.find(([g])=>g===s);return l?l[1]:null}getAll(s){return this._entries.filter(([l])=>l===s).map(([,l])=>l)}has(s){return this._entries.some(([l])=>l===s)}delete(s){this._entries=this._entries.filter(([l])=>l!==s)}entries(){return this._entries[Symbol.iterator]()}[Symbol.iterator](){return this.entries()}});typeof globalThis.MessagePort>"u"&&(globalThis.MessagePort=class{constructor(){L(this,"onmessage",null)}postMessage(s){}start(){}close(){}addEventListener(){}removeEventListener(){}});typeof globalThis.MessageChannel>"u"&&(globalThis.MessageChannel=class{constructor(){this.port1=new globalThis.MessagePort,this.port2=new globalThis.MessagePort}});if(typeof globalThis.performance>"u"){let b=Date.now();globalThis.performance={now(){return typeof globalThis.__secureExecHrNowUs=="function"?globalThis.__secureExecHrNowUs()/1e3:Date.now()-b}}}typeof globalThis.performance.markResourceTiming!="function"&&(globalThis.performance.markResourceTiming=()=>{});})();
/*! Bundled license information:
web-streams-polyfill/dist/ponyfill.es2018.js:
(**
* @license
* web-streams-polyfill v3.3.3
* Copyright 2024 Mattias Buelens, Diwank Singh Tomer and other contributors.
* This code is released under the MIT license.
* SPDX-License-Identifier: MIT
*)
*/
if(typeof globalThis.global==="undefined"){globalThis.global=globalThis;}if(typeof globalThis.process==="undefined"){globalThis.process={env:{},argv:["node"],browser:false,version:"v22.0.0",versions:{node:"22.0.0"},nextTick(callback,...args){return Promise.resolve().then(()=>callback(...args));}};}if(typeof globalThis.TextEncoder==="undefined"){globalThis.TextEncoder=class{encode(value=""){const input=String(value??"");const encoded=unescape(encodeURIComponent(input));const out=new Uint8Array(encoded.length);for(let i=0;i<encoded.length;i++){out[i]=encoded.charCodeAt(i);}return out;}};}if(typeof globalThis.TextDecoder==="undefined"){globalThis.TextDecoder=class{decode(value=new Uint8Array()){const view=value instanceof Uint8Array?value:ArrayBuffer.isView(value)?new Uint8Array(value.buffer,value.byteOffset,value.byteLength):value instanceof ArrayBuffer?new Uint8Array(value):new Uint8Array(0);let binary="";for(let i=0;i<view.length;i++){binary+=String.fromCharCode(view[i]);}return decodeURIComponent(escape(binary));}};}if(typeof globalThis.Buffer==="undefined"){const __secureExecTe=typeof TextEncoder==="function"?new TextEncoder():null;const __secureExecTd=typeof TextDecoder==="function"?new TextDecoder():null;class __SecureExecEarlyBuffer extends Uint8Array{static from(value,encoding="utf8"){if(value instanceof ArrayBuffer){return new __SecureExecEarlyBuffer(value);}if(ArrayBuffer.isView(value)){return new __SecureExecEarlyBuffer(value.buffer.slice(value.byteOffset,value.byteOffset+value.byteLength));}if(Array.isArray(value)){return new __SecureExecEarlyBuffer(value);}const stringValue=String(value??"");if(encoding==="base64"&&typeof atob==="function"){const binary=atob(stringValue);const out=new __SecureExecEarlyBuffer(binary.length);for(let i=0;i<binary.length;i++){out[i]=binary.charCodeAt(i);}return out;}if(encoding==="binary"||encoding==="latin1"){const out=new __SecureExecEarlyBuffer(stringValue.length);for(let i=0;i<stringValue.length;i++){out[i]=stringValue.charCodeAt(i)&255;}return out;}if(__secureExecTe){return new __SecureExecEarlyBuffer(__secureExecTe.encode(stringValue));}const out=new __SecureExecEarlyBuffer(stringValue.length);for(let i=0;i<stringValue.length;i++){out[i]=stringValue.charCodeAt(i)&255;}return out;}static alloc(size){return new __SecureExecEarlyBuffer(Number(size)||0);}static concat(list,totalLength){const length=totalLength??list.reduce((sum,item)=>sum+(item?.length??0),0);const out=new __SecureExecEarlyBuffer(length);let offset=0;for(const item of list){const chunk=item instanceof Uint8Array?item:__SecureExecEarlyBuffer.from(item);out.set(chunk,offset);offset+=chunk.length;}return out;}static isBuffer(value){return value instanceof Uint8Array;}static byteLength(value,encoding="utf8"){return __SecureExecEarlyBuffer.from(value,encoding).byteLength;}toString(encoding="utf8"){if(encoding==="base64"&&typeof btoa==="function"){let binary="";for(const byte of this){binary+=String.fromCharCode(byte);}return btoa(binary);}if(encoding==="binary"||encoding==="latin1"){let binary="";for(const byte of this){binary+=String.fromCharCode(byte);}return binary;}if(__secureExecTd){return __secureExecTd.decode(this);}return Array.from(this,byte=>String.fromCharCode(byte)).join("");}}globalThis.Buffer=__SecureExecEarlyBuffer;}if(typeof globalThis.performance==="undefined"){const __secureExecPerformanceStart=Date.now();globalThis.performance={now(){if(typeof globalThis.__secureExecHrNowUs==="function"){return globalThis.__secureExecHrNowUs()/1000;}return Date.now()-__secureExecPerformanceStart;}};}if(typeof globalThis.performance.markResourceTiming!=="function"){globalThis.performance.markResourceTiming=()=>{};}if(typeof TextEncoder==="undefined"&&typeof globalThis.TextEncoder!=="undefined"){var TextEncoder=globalThis.TextEncoder;}if(typeof TextDecoder==="undefined"&&typeof globalThis.TextDecoder!=="undefined"){var TextDecoder=globalThis.TextDecoder;}if(typeof Buffer==="undefined"&&typeof globalThis.Buffer!=="undefined"){var Buffer=globalThis.Buffer;}
(()=>{var vj=Object.create;var sh=Object.defineProperty;var Rj=Object.getOwnPropertyDescriptor;var Dj=Object.getOwnPropertyNames;var Tj=Object.getPrototypeOf,Nj=Object.prototype.hasOwnProperty;var FI=e=>{throw TypeError(e)};var Mj=(e,t,r)=>t in e?sh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var wD=(e,t)=>()=>(e&&(t=e(e=0)),t);var x=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),kI=(e,t)=>{for(var r in t)sh(e,r,{get:t[r],enumerable:!0})},L0=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Dj(t))!Nj.call(e,i)&&i!==r&&sh(e,i,{get:()=>t[i],enumerable:!(n=Rj(t,i))||n.enumerable});return e},vn=(e,t,r)=>(L0(e,t,"default"),r&&L0(r,t,"default")),hr=(e,t,r)=>(r=e!=null?vj(Tj(e)):{},L0(t||!e||!e.__esModule?sh(r,"default",{value:e,enumerable:!0}):r,e)),$i=e=>L0(sh({},"__esModule",{value:!0}),e);var y=(e,t,r)=>Mj(e,typeof t!="symbol"?t+"":t,r),xI=(e,t,r)=>t.has(e)||FI("Cannot "+r),SD=(e,t)=>Object(t)!==t?FI('Cannot use the "in" operator on this value'):e.has(t),te=(e,t,r)=>(xI(e,t,"read from private field"),r?r.call(e):t.get(e)),St=(e,t,r)=>t.has(e)?FI("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ft=(e,t,r,n)=>(xI(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),_D=(e,t,r)=>(xI(e,t,"access private method"),r);var DD=x(P0=>{"use strict";P0.byteLength=kj;P0.toByteArray=Uj;P0.fromByteArray=Oj;var Ys=[],ci=[],Fj=typeof Uint8Array<"u"?Uint8Array:Array,UI="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for($A=0,vD=UI.length;$A<vD;++$A)Ys[$A]=UI[$A],ci[UI.charCodeAt($A)]=$A;var $A,vD;ci[45]=62;ci[95]=63;function RD(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function kj(e){var t=RD(e),r=t[0],n=t[1];return(r+n)*3/4-n}function xj(e,t,r){return(t+r)*3/4-r}function Uj(e){var t,r=RD(e),n=r[0],i=r[1],s=new Fj(xj(e,n,i)),o=0,a=i>0?n-4:n,A;for(A=0;A<a;A+=4)t=ci[e.charCodeAt(A)]<<18|ci[e.charCodeAt(A+1)]<<12|ci[e.charCodeAt(A+2)]<<6|ci[e.charCodeAt(A+3)],s[o++]=t>>16&255,s[o++]=t>>8&255,s[o++]=t&255;return i===2&&(t=ci[e.charCodeAt(A)]<<2|ci[e.charCodeAt(A+1)]>>4,s[o++]=t&255),i===1&&(t=ci[e.charCodeAt(A)]<<10|ci[e.charCodeAt(A+1)]<<4|ci[e.charCodeAt(A+2)]>>2,s[o++]=t>>8&255,s[o++]=t&255),s}function Lj(e){return Ys[e>>18&63]+Ys[e>>12&63]+Ys[e>>6&63]+Ys[e&63]}function Pj(e,t,r){for(var n,i=[],s=t;s<r;s+=3)n=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(e[s+2]&255),i.push(Lj(n));return i.join("")}function Oj(e){for(var t,r=e.length,n=r%3,i=[],s=16383,o=0,a=r-n;o<a;o+=s)i.push(Pj(e,o,o+s>a?a:o+s));return n===1?(t=e[r-1],i.push(Ys[t>>2]+Ys[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(Ys[t>>10]+Ys[t>>4&63]+Ys[t<<2&63]+"=")),i.join("")}});var TD=x(LI=>{LI.read=function(e,t,r,n,i){var s,o,a=i*8-n-1,A=(1<<a)-1,f=A>>1,l=-7,p=r?i-1:0,B=r?-1:1,S=e[t+p];for(p+=B,s=S&(1<<-l)-1,S>>=-l,l+=a;l>0;s=s*256+e[t+p],p+=B,l-=8);for(o=s&(1<<-l)-1,s>>=-l,l+=n;l>0;o=o*256+e[t+p],p+=B,l-=8);if(s===0)s=1-f;else{if(s===A)return o?NaN:(S?-1:1)*(1/0);o=o+Math.pow(2,n),s=s-f}return(S?-1:1)*o*Math.pow(2,s-n)};LI.write=function(e,t,r,n,i,s){var o,a,A,f=s*8-i-1,l=(1<<f)-1,p=l>>1,B=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,S=n?0:s-1,_=n?1:-1,N=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(A=Math.pow(2,-o))<1&&(o--,A*=2),o+p>=1?t+=B/A:t+=B*Math.pow(2,1-p),t*A>=2&&(o++,A/=2),o+p>=l?(a=0,o=l):o+p>=1?(a=(t*A-1)*Math.pow(2,i),o=o+p):(a=t*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;e[r+S]=a&255,S+=_,a/=256,i-=8);for(o=o<<i|a,f+=i;f>0;e[r+S]=o&255,S+=_,o/=256,f-=8);e[r+S-_]|=N*128}});var Gr=x(Vu=>{"use strict";var PI=DD(),Wu=TD(),ND=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Vu.Buffer=fe;Vu.SlowBuffer=Vj;Vu.INSPECT_MAX_BYTES=50;var O0=2147483647;Vu.kMaxLength=O0;fe.TYPED_ARRAY_SUPPORT=Hj();!fe.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 Hj(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}Object.defineProperty(fe.prototype,"parent",{enumerable:!0,get:function(){if(fe.isBuffer(this))return this.buffer}});Object.defineProperty(fe.prototype,"offset",{enumerable:!0,get:function(){if(fe.isBuffer(this))return this.byteOffset}});function Vo(e){if(e>O0)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,fe.prototype),t}function fe(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return GI(e)}return kD(e,t,r)}fe.poolSize=8192;function kD(e,t,r){if(typeof e=="string")return Gj(e,t);if(ArrayBuffer.isView(e))return Yj(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Ws(e,ArrayBuffer)||e&&Ws(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ws(e,SharedArrayBuffer)||e&&Ws(e.buffer,SharedArrayBuffer)))return HI(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return fe.from(n,t,r);var i=Wj(e);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return fe.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}fe.from=function(e,t,r){return kD(e,t,r)};Object.setPrototypeOf(fe.prototype,Uint8Array.prototype);Object.setPrototypeOf(fe,Uint8Array);function xD(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function qj(e,t,r){return xD(e),e<=0?Vo(e):t!==void 0?typeof r=="string"?Vo(e).fill(t,r):Vo(e).fill(t):Vo(e)}fe.alloc=function(e,t,r){return qj(e,t,r)};function GI(e){return xD(e),Vo(e<0?0:YI(e)|0)}fe.allocUnsafe=function(e){return GI(e)};fe.allocUnsafeSlow=function(e){return GI(e)};function Gj(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!fe.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=UD(e,t)|0,n=Vo(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function OI(e){for(var t=e.length<0?0:YI(e.length)|0,r=Vo(t),n=0;n<t;n+=1)r[n]=e[n]&255;return r}function Yj(e){if(Ws(e,Uint8Array)){var t=new Uint8Array(e);return HI(t.buffer,t.byteOffset,t.byteLength)}return OI(e)}function HI(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return t===void 0&&r===void 0?n=new Uint8Array(e):r===void 0?n=new Uint8Array(e,t):n=new Uint8Array(e,t,r),Object.setPrototypeOf(n,fe.prototype),n}function Wj(e){if(fe.isBuffer(e)){var t=YI(e.length)|0,r=Vo(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||WI(e.length)?Vo(0):OI(e);if(e.type==="Buffer"&&Array.isArray(e.data))return OI(e.data)}function YI(e){if(e>=O0)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O0.toString(16)+" bytes");return e|0}function Vj(e){return+e!=e&&(e=0),fe.alloc(+e)}fe.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==fe.prototype};fe.compare=function(t,r){if(Ws(t,Uint8Array)&&(t=fe.from(t,t.offset,t.byteLength)),Ws(r,Uint8Array)&&(r=fe.from(r,r.offset,r.byteLength)),!fe.isBuffer(t)||!fe.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var n=t.length,i=r.length,s=0,o=Math.min(n,i);s<o;++s)if(t[s]!==r[s]){n=t[s],i=r[s];break}return n<i?-1:i<n?1:0};fe.isEncoding=function(t){switch(String(t).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}};fe.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return fe.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=fe.allocUnsafe(r),s=0;for(n=0;n<t.length;++n){var o=t[n];if(Ws(o,Uint8Array))s+o.length>i.length?fe.from(o).copy(i,s):Uint8Array.prototype.set.call(i,o,s);else if(fe.isBuffer(o))o.copy(i,s);else throw new TypeError('"list" argument must be an Array of Buffers');s+=o.length}return i};function UD(e,t){if(fe.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Ws(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return qI(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return GD(e).length;default:if(i)return n?-1:qI(e).length;t=(""+t).toLowerCase(),i=!0}}fe.byteLength=UD;function Jj(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return nz(this,t,r);case"utf8":case"utf-8":return PD(this,t,r);case"ascii":return tz(this,t,r);case"latin1":case"binary":return rz(this,t,r);case"base64":return $j(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return iz(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}fe.prototype._isBuffer=!0;function ef(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}fe.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)ef(this,r,r+1);return this};fe.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)ef(this,r,r+3),ef(this,r+1,r+2);return this};fe.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)ef(this,r,r+7),ef(this,r+1,r+6),ef(this,r+2,r+5),ef(this,r+3,r+4);return this};fe.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?PD(this,0,t):Jj.apply(this,arguments)};fe.prototype.toLocaleString=fe.prototype.toString;fe.prototype.equals=function(t){if(!fe.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:fe.compare(this,t)===0};fe.prototype.inspect=function(){var t="",r=Vu.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};ND&&(fe.prototype[ND]=fe.prototype.inspect);fe.prototype.compare=function(t,r,n,i,s){if(Ws(t,Uint8Array)&&(t=fe.from(t,t.offset,t.byteLength)),!fe.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),s===void 0&&(s=this.length),r<0||n>t.length||i<0||s>this.length)throw new RangeError("out of range index");if(i>=s&&r>=n)return 0;if(i>=s)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,s>>>=0,this===t)return 0;for(var o=s-i,a=n-r,A=Math.min(o,a),f=this.slice(i,s),l=t.slice(r,n),p=0;p<A;++p)if(f[p]!==l[p]){o=f[p],a=l[p];break}return o<a?-1:a<o?1:0};function LD(e,t,r,n,i){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,WI(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=fe.from(t,n)),fe.isBuffer(t))return t.length===0?-1:MD(e,t,r,n,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):MD(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function MD(e,t,r,n,i){var s=1,o=e.length,a=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;s=2,o/=2,a/=2,r/=2}function A(S,_){return s===1?S[_]:S.readUInt16BE(_*s)}var f;if(i){var l=-1;for(f=r;f<o;f++)if(A(e,f)===A(t,l===-1?0:f-l)){if(l===-1&&(l=f),f-l+1===a)return l*s}else l!==-1&&(f-=f-l),l=-1}else for(r+a>o&&(r=o-a),f=r;f>=0;f--){for(var p=!0,B=0;B<a;B++)if(A(e,f+B)!==A(t,B)){p=!1;break}if(p)return f}return-1}fe.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};fe.prototype.indexOf=function(t,r,n){return LD(this,t,r,n,!0)};fe.prototype.lastIndexOf=function(t,r,n){return LD(this,t,r,n,!1)};function jj(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var s=t.length;n>s/2&&(n=s/2);for(var o=0;o<n;++o){var a=parseInt(t.substr(o*2,2),16);if(WI(a))return o;e[r+o]=a}return o}function zj(e,t,r,n){return H0(qI(t,e.length-r),e,r,n)}function Kj(e,t,r,n){return H0(az(t),e,r,n)}function Xj(e,t,r,n){return H0(GD(t),e,r,n)}function Zj(e,t,r,n){return H0(Az(t,e.length-r),e,r,n)}fe.prototype.write=function(t,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var s=this.length-r;if((n===void 0||n>s)&&(n=s),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return jj(this,t,r,n);case"utf8":case"utf-8":return zj(this,t,r,n);case"ascii":case"latin1":case"binary":return Kj(this,t,r,n);case"base64":return Xj(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zj(this,t,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};fe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $j(e,t,r){return t===0&&r===e.length?PI.fromByteArray(e):PI.fromByteArray(e.slice(t,r))}function PD(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var s=e[i],o=null,a=s>239?4:s>223?3:s>191?2:1;if(i+a<=r){var A,f,l,p;switch(a){case 1:s<128&&(o=s);break;case 2:A=e[i+1],(A&192)===128&&(p=(s&31)<<6|A&63,p>127&&(o=p));break;case 3:A=e[i+1],f=e[i+2],(A&192)===128&&(f&192)===128&&(p=(s&15)<<12|(A&63)<<6|f&63,p>2047&&(p<55296||p>57343)&&(o=p));break;case 4:A=e[i+1],f=e[i+2],l=e[i+3],(A&192)===128&&(f&192)===128&&(l&192)===128&&(p=(s&15)<<18|(A&63)<<12|(f&63)<<6|l&63,p>65535&&p<1114112&&(o=p))}}o===null?(o=65533,a=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=a}return ez(n)}var FD=4096;function ez(e){var t=e.length;if(t<=FD)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=FD));return r}function tz(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]&127);return n}function rz(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function nz(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",s=t;s<r;++s)i+=fz[e[s]];return i}function iz(e,t,r){for(var n=e.slice(t,r),i="",s=0;s<n.length-1;s+=2)i+=String.fromCharCode(n[s]+n[s+1]*256);return i}fe.prototype.slice=function(t,r){var n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,fe.prototype),i};function Dr(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}fe.prototype.readUintLE=fe.prototype.readUIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||Dr(t,r,this.length);for(var i=this[t],s=1,o=0;++o<r&&(s*=256);)i+=this[t+o]*s;return i};fe.prototype.readUintBE=fe.prototype.readUIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||Dr(t,r,this.length);for(var i=this[t+--r],s=1;r>0&&(s*=256);)i+=this[t+--r]*s;return i};fe.prototype.readUint8=fe.prototype.readUInt8=function(t,r){return t=t>>>0,r||Dr(t,1,this.length),this[t]};fe.prototype.readUint16LE=fe.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||Dr(t,2,this.length),this[t]|this[t+1]<<8};fe.prototype.readUint16BE=fe.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||Dr(t,2,this.length),this[t]<<8|this[t+1]};fe.prototype.readUint32LE=fe.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||Dr(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};fe.prototype.readUint32BE=fe.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||Dr(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};fe.prototype.readIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||Dr(t,r,this.length);for(var i=this[t],s=1,o=0;++o<r&&(s*=256);)i+=this[t+o]*s;return s*=128,i>=s&&(i-=Math.pow(2,8*r)),i};fe.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||Dr(t,r,this.length);for(var i=r,s=1,o=this[t+--i];i>0&&(s*=256);)o+=this[t+--i]*s;return s*=128,o>=s&&(o-=Math.pow(2,8*r)),o};fe.prototype.readInt8=function(t,r){return t=t>>>0,r||Dr(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};fe.prototype.readInt16LE=function(t,r){t=t>>>0,r||Dr(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};fe.prototype.readInt16BE=function(t,r){t=t>>>0,r||Dr(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};fe.prototype.readInt32LE=function(t,r){return t=t>>>0,r||Dr(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};fe.prototype.readInt32BE=function(t,r){return t=t>>>0,r||Dr(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};fe.prototype.readFloatLE=function(t,r){return t=t>>>0,r||Dr(t,4,this.length),Wu.read(this,t,!0,23,4)};fe.prototype.readFloatBE=function(t,r){return t=t>>>0,r||Dr(t,4,this.length),Wu.read(this,t,!1,23,4)};fe.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||Dr(t,8,this.length),Wu.read(this,t,!0,52,8)};fe.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||Dr(t,8,this.length),Wu.read(this,t,!1,52,8)};function Rn(e,t,r,n,i,s){if(!fe.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}fe.prototype.writeUintLE=fe.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var s=Math.pow(2,8*n)-1;Rn(this,t,r,n,s,0)}var o=1,a=0;for(this[r]=t&255;++a<n&&(o*=256);)this[r+a]=t/o&255;return r+n};fe.prototype.writeUintBE=fe.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var s=Math.pow(2,8*n)-1;Rn(this,t,r,n,s,0)}var o=n-1,a=1;for(this[r+o]=t&255;--o>=0&&(a*=256);)this[r+o]=t/a&255;return r+n};fe.prototype.writeUint8=fe.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||Rn(this,t,r,1,255,0),this[r]=t&255,r+1};fe.prototype.writeUint16LE=fe.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||Rn(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};fe.prototype.writeUint16BE=fe.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||Rn(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};fe.prototype.writeUint32LE=fe.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||Rn(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};fe.prototype.writeUint32BE=fe.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||Rn(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};fe.prototype.writeIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var s=Math.pow(2,8*n-1);Rn(this,t,r,n,s-1,-s)}var o=0,a=1,A=0;for(this[r]=t&255;++o<n&&(a*=256);)t<0&&A===0&&this[r+o-1]!==0&&(A=1),this[r+o]=(t/a>>0)-A&255;return r+n};fe.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var s=Math.pow(2,8*n-1);Rn(this,t,r,n,s-1,-s)}var o=n-1,a=1,A=0;for(this[r+o]=t&255;--o>=0&&(a*=256);)t<0&&A===0&&this[r+o+1]!==0&&(A=1),this[r+o]=(t/a>>0)-A&255;return r+n};fe.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||Rn(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};fe.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||Rn(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};fe.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||Rn(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};fe.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||Rn(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};fe.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||Rn(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function OD(e,t,r,n,i,s){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function HD(e,t,r,n,i){return t=+t,r=r>>>0,i||OD(e,t,r,4,34028234663852886e22,-34028234663852886e22),Wu.write(e,t,r,n,23,4),r+4}fe.prototype.writeFloatLE=function(t,r,n){return HD(this,t,r,!0,n)};fe.prototype.writeFloatBE=function(t,r,n){return HD(this,t,r,!1,n)};function qD(e,t,r,n,i){return t=+t,r=r>>>0,i||OD(e,t,r,8,17976931348623157e292,-17976931348623157e292),Wu.write(e,t,r,n,52,8),r+8}fe.prototype.writeDoubleLE=function(t,r,n){return qD(this,t,r,!0,n)};fe.prototype.writeDoubleBE=function(t,r,n){return qD(this,t,r,!1,n)};fe.prototype.copy=function(t,r,n,i){if(!fe.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);var s=i-n;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),r),s};fe.prototype.fill=function(t,r,n,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!fe.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var s=t.charCodeAt(0);(i==="utf8"&&s<128||i==="latin1")&&(t=s)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);var o;if(typeof t=="number")for(o=r;o<n;++o)this[o]=t;else{var a=fe.isBuffer(t)?t:fe.from(t,i),A=a.length;if(A===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=a[o%A]}return this};var sz=/[^+/0-9A-Za-z-_]/g;function oz(e){if(e=e.split("=")[0],e=e.trim().replace(sz,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function qI(e,t){t=t||1/0;for(var r,n=e.length,i=null,s=[],o=0;o<n;++o){if(r=e.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}else if(o+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return s}function az(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Az(e,t){for(var r,n,i,s=[],o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),n=r>>8,i=r%256,s.push(i),s.push(n);return s}function GD(e){return PI.toByteArray(oz(e))}function H0(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Ws(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function WI(e){return e!==e}var fz=(function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t})()});var es=x((lRe,JI)=>{"use strict";var Ju=typeof Reflect=="object"?Reflect:null,YD=Ju&&typeof Ju.apply=="function"?Ju.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},q0;Ju&&typeof Ju.ownKeys=="function"?q0=Ju.ownKeys:Object.getOwnPropertySymbols?q0=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:q0=function(t){return Object.getOwnPropertyNames(t)};function r$(e){console&&console.warn&&console.warn(e)}var VD=Number.isNaN||function(t){return t!==t};function xt(){xt.init.call(this)}JI.exports=xt;JI.exports.once=o$;xt.EventEmitter=xt;xt.prototype._events=void 0;xt.prototype._eventsCount=0;xt.prototype._maxListeners=void 0;var WD=10;function G0(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(xt,"defaultMaxListeners",{enumerable:!0,get:function(){return WD},set:function(e){if(typeof e!="number"||e<0||VD(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");WD=e}});xt.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};xt.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||VD(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function JD(e){return e._maxListeners===void 0?xt.defaultMaxListeners:e._maxListeners}xt.prototype.getMaxListeners=function(){return JD(this)};xt.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var i=t==="error",s=this._events;if(s!==void 0)i=i&&s.error===void 0;else if(!i)return!1;if(i){var o;if(r.length>0&&(o=r[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var A=s[t];if(A===void 0)return!1;if(typeof A=="function")YD(A,this,r);else for(var f=A.length,l=ZD(A,f),n=0;n<f;++n)YD(l[n],this,r);return!0};function jD(e,t,r,n){var i,s,o;if(G0(r),s=e._events,s===void 0?(s=e._events=Object.create(null),e._eventsCount=0):(s.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),s=e._events),o=s[t]),o===void 0)o=s[t]=r,++e._eventsCount;else if(typeof o=="function"?o=s[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),i=JD(e),i>0&&o.length>i&&!o.warned){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=o.length,r$(a)}return e}xt.prototype.addListener=function(t,r){return jD(this,t,r,!1)};xt.prototype.on=xt.prototype.addListener;xt.prototype.prependListener=function(t,r){return jD(this,t,r,!0)};function n$(){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 zD(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=n$.bind(n);return i.listener=r,n.wrapFn=i,i}xt.prototype.once=function(t,r){return G0(r),this.on(t,zD(this,t,r)),this};xt.prototype.prependOnceListener=function(t,r){return G0(r),this.prependListener(t,zD(this,t,r)),this};xt.prototype.removeListener=function(t,r){var n,i,s,o,a;if(G0(r),i=this._events,i===void 0)return this;if(n=i[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(s=-1,o=n.length-1;o>=0;o--)if(n[o]===r||n[o].listener===r){a=n[o].listener,s=o;break}if(s<0)return this;s===0?n.shift():i$(n,s),n.length===1&&(i[t]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",t,a||r)}return this};xt.prototype.off=xt.prototype.removeListener;xt.prototype.removeAllListeners=function(t){var r,n,i;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[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var s=Object.keys(n),o;for(i=0;i<s.length;++i)o=s[i],o!=="removeListener"&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(i=r.length-1;i>=0;i--)this.removeListener(t,r[i]);return this};function KD(e,t,r){var n=e._events;if(n===void 0)return[];var i=n[t];return i===void 0?[]:typeof i=="function"?r?[i.listener||i]:[i]:r?s$(i):ZD(i,i.length)}xt.prototype.listeners=function(t){return KD(this,t,!0)};xt.prototype.rawListeners=function(t){return KD(this,t,!1)};xt.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):XD.call(e,t)};xt.prototype.listenerCount=XD;function XD(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}xt.prototype.eventNames=function(){return this._eventsCount>0?q0(this._events):[]};function ZD(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function i$(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function s$(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function o$(e,t){return new Promise(function(r,n){function i(o){e.removeListener(t,s),n(o)}function s(){typeof e.removeListener=="function"&&e.removeListener("error",i),r([].slice.call(arguments))}$D(e,t,s,{once:!0}),t!=="error"&&a$(e,i,{once:!0})})}function a$(e,t,r){typeof e.on=="function"&&$D(e,"error",t,r)}function $D(e,t,r,n){if(typeof e.on=="function")n.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function i(s){n.once&&e.removeEventListener(t,i),r(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}});var rT=x((hRe,tT)=>{"use strict";function Vs(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function eT(e,t){for(var r="",n=0,i=-1,s=0,o,a=0;a<=e.length;++a){if(a<e.length)o=e.charCodeAt(a);else{if(o===47)break;o=47}if(o===47){if(!(i===a-1||s===1))if(i!==a-1&&s===2){if(r.length<2||n!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var A=r.lastIndexOf("/");if(A!==r.length-1){A===-1?(r="",n=0):(r=r.slice(0,A),n=r.length-1-r.lastIndexOf("/")),i=a,s=0;continue}}else if(r.length===2||r.length===1){r="",n=0,i=a,s=0;continue}}t&&(r.length>0?r+="/..":r="..",n=2)}else r.length>0?r+="/"+e.slice(i+1,a):r=e.slice(i+1,a),n=a-i-1;i=a,s=0}else o===46&&s!==-1?++s:s=-1}return r}function A$(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}var ju={resolve:function(){for(var t="",r=!1,n,i=arguments.length-1;i>=-1&&!r;i--){var s;i>=0?s=arguments[i]:(n===void 0&&(n=process.cwd()),s=n),Vs(s),s.length!==0&&(t=s+"/"+t,r=s.charCodeAt(0)===47)}return t=eT(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(Vs(t),t.length===0)return".";var r=t.charCodeAt(0)===47,n=t.charCodeAt(t.length-1)===47;return t=eT(t,!r),t.length===0&&!r&&(t="."),t.length>0&&n&&(t+="/"),r?"/"+t:t},isAbsolute:function(t){return Vs(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,r=0;r<arguments.length;++r){var n=arguments[r];Vs(n),n.length>0&&(t===void 0?t=n:t+="/"+n)}return t===void 0?".":ju.normalize(t)},relative:function(t,r){if(Vs(t),Vs(r),t===r||(t=ju.resolve(t),r=ju.resolve(r),t===r))return"";for(var n=1;n<t.length&&t.charCodeAt(n)===47;++n);for(var i=t.length,s=i-n,o=1;o<r.length&&r.charCodeAt(o)===47;++o);for(var a=r.length,A=a-o,f=s<A?s:A,l=-1,p=0;p<=f;++p){if(p===f){if(A>f){if(r.charCodeAt(o+p)===47)return r.slice(o+p+1);if(p===0)return r.slice(o+p)}else s>f&&(t.charCodeAt(n+p)===47?l=p:p===0&&(l=0));break}var B=t.charCodeAt(n+p),S=r.charCodeAt(o+p);if(B!==S)break;B===47&&(l=p)}var _="";for(p=n+l+1;p<=i;++p)(p===i||t.charCodeAt(p)===47)&&(_.length===0?_+="..":_+="/..");return _.length>0?_+r.slice(o+l):(o+=l,r.charCodeAt(o)===47&&++o,r.slice(o))},_makeLong:function(t){return t},dirname:function(t){if(Vs(t),t.length===0)return".";for(var r=t.charCodeAt(0),n=r===47,i=-1,s=!0,o=t.length-1;o>=1;--o)if(r=t.charCodeAt(o),r===47){if(!s){i=o;break}}else s=!1;return i===-1?n?"/":".":n&&i===1?"//":t.slice(0,i)},basename:function(t,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');Vs(t);var n=0,i=-1,s=!0,o;if(r!==void 0&&r.length>0&&r.length<=t.length){if(r.length===t.length&&r===t)return"";var a=r.length-1,A=-1;for(o=t.length-1;o>=0;--o){var f=t.charCodeAt(o);if(f===47){if(!s){n=o+1;break}}else A===-1&&(s=!1,A=o+1),a>=0&&(f===r.charCodeAt(a)?--a===-1&&(i=o):(a=-1,i=A))}return n===i?i=A:i===-1&&(i=t.length),t.slice(n,i)}else{for(o=t.length-1;o>=0;--o)if(t.charCodeAt(o)===47){if(!s){n=o+1;break}}else i===-1&&(s=!1,i=o+1);return i===-1?"":t.slice(n,i)}},extname:function(t){Vs(t);for(var r=-1,n=0,i=-1,s=!0,o=0,a=t.length-1;a>=0;--a){var A=t.charCodeAt(a);if(A===47){if(!s){n=a+1;break}continue}i===-1&&(s=!1,i=a+1),A===46?r===-1?r=a:o!==1&&(o=1):r!==-1&&(o=-1)}return r===-1||i===-1||o===0||o===1&&r===i-1&&r===n+1?"":t.slice(r,i)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return A$("/",t)},parse:function(t){Vs(t);var r={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return r;var n=t.charCodeAt(0),i=n===47,s;i?(r.root="/",s=1):s=0;for(var o=-1,a=0,A=-1,f=!0,l=t.length-1,p=0;l>=s;--l){if(n=t.charCodeAt(l),n===47){if(!f){a=l+1;break}continue}A===-1&&(f=!1,A=l+1),n===46?o===-1?o=l:p!==1&&(p=1):o!==-1&&(p=-1)}return o===-1||A===-1||p===0||p===1&&o===A-1&&o===a+1?A!==-1&&(a===0&&i?r.base=r.name=t.slice(1,A):r.base=r.name=t.slice(a,A)):(a===0&&i?(r.name=t.slice(1,o),r.base=t.slice(1,A)):(r.name=t.slice(a,o),r.base=t.slice(a,A)),r.ext=t.slice(o,A)),a>0?r.dir=t.slice(0,a-1):i&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};ju.posix=ju;tT.exports=ju});var jI=x((zu,Ku)=>{(function(e){var t=typeof zu=="object"&&zu&&!zu.nodeType&&zu,r=typeof Ku=="object"&&Ku&&!Ku.nodeType&&Ku,n=typeof globalThis=="object"&&globalThis;(n.global===n||n.window===n||n.self===n)&&(e=n);var i,s=2147483647,o=36,a=1,A=26,f=38,l=700,p=72,B=128,S="-",_=/^xn--/,N=/[^\x20-\x7E]/,P=/[\x2E\u3002\uFF0E\uFF61]/g,U={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},G=o-a,Y=Math.floor,Z=String.fromCharCode,ee;function j(C){throw new RangeError(U[C])}function se(C,h){for(var D=C.length,M=[];D--;)M[D]=h(C[D]);return M}function ie(C,h){var D=C.split("@"),M="";D.length>1&&(M=D[0]+"@",C=D[1]),C=C.replace(P,".");var I=C.split("."),k=se(I,h).join(".");return M+k}function ce(C){for(var h=[],D=0,M=C.length,I,k;D<M;)I=C.charCodeAt(D++),I>=55296&&I<=56319&&D<M?(k=C.charCodeAt(D++),(k&64512)==56320?h.push(((I&1023)<<10)+(k&1023)+65536):(h.push(I),D--)):h.push(I);return h}function H(C){return se(C,function(h){var D="";return h>65535&&(h-=65536,D+=Z(h>>>10&1023|55296),h=56320|h&1023),D+=Z(h),D}).join("")}function E(C){return C-48<10?C-22:C-65<26?C-65:C-97<26?C-97:o}function R(C,h){return C+22+75*(C<26)-((h!=0)<<5)}function b(C,h,D){var M=0;for(C=D?Y(C/l):C>>1,C+=Y(C/h);C>G*A>>1;M+=o)C=Y(C/G);return Y(M+(G+1)*C/(C+f))}function c(C){var h=[],D=C.length,M,I=0,k=B,ne=p,Ae,ue,pe,he,de,wt,Ie,be,yr;for(Ae=C.lastIndexOf(S),Ae<0&&(Ae=0),ue=0;ue<Ae;++ue)C.charCodeAt(ue)>=128&&j("not-basic"),h.push(C.charCodeAt(ue));for(pe=Ae>0?Ae+1:0;pe<D;){for(he=I,de=1,wt=o;pe>=D&&j("invalid-input"),Ie=E(C.charCodeAt(pe++)),(Ie>=o||Ie>Y((s-I)/de))&&j("overflow"),I+=Ie*de,be=wt<=ne?a:wt>=ne+A?A:wt-ne,!(Ie<be);wt+=o)yr=o-be,de>Y(s/yr)&&j("overflow"),de*=yr;M=h.length+1,ne=b(I-he,M,he==0),Y(I/M)>s-k&&j("overflow"),k+=Y(I/M),I%=M,h.splice(I++,0,k)}return H(h)}function g(C){var h,D,M,I,k,ne,Ae,ue,pe,he,de,wt=[],Ie,be,yr,we;for(C=ce(C),Ie=C.length,h=B,D=0,k=p,ne=0;ne<Ie;++ne)de=C[ne],de<128&&wt.push(Z(de));for(M=I=wt.length,I&&wt.push(S);M<Ie;){for(Ae=s,ne=0;ne<Ie;++ne)de=C[ne],de>=h&&de<Ae&&(Ae=de);for(be=M+1,Ae-h>Y((s-D)/be)&&j("overflow"),D+=(Ae-h)*be,h=Ae,ne=0;ne<Ie;++ne)if(de=C[ne],de<h&&++D>s&&j("overflow"),de==h){for(ue=D,pe=o;he=pe<=k?a:pe>=k+A?A:pe-k,!(ue<he);pe+=o)we=ue-he,yr=o-he,wt.push(Z(R(he+we%yr,0))),ue=Y(we/yr);wt.push(Z(R(ue,0))),k=b(D,be,M==I),D=0,++M}++D,++h}return wt.join("")}function w(C){return ie(C,function(h){return _.test(h)?c(h.slice(4).toLowerCase()):h})}function v(C){return ie(C,function(h){return N.test(h)?"xn--"+g(h):h})}if(i={version:"1.4.1",ucs2:{decode:ce,encode:H},decode:c,encode:g,toASCII:v,toUnicode:w},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return i});else if(t&&r)if(Ku.exports==t)r.exports=i;else for(ee in i)i.hasOwnProperty(ee)&&(t[ee]=i[ee]);else e.punycode=i})(zu)});var iT=x((dRe,nT)=>{"use strict";function f$(e,t){return Object.prototype.hasOwnProperty.call(e,t)}nT.exports=function(e,t,r,n){t=t||"&",r=r||"=";var i={};if(typeof e!="string"||e.length===0)return i;var s=/\+/g;e=e.split(t);var o=1e3;n&&typeof n.maxKeys=="number"&&(o=n.maxKeys);var a=e.length;o>0&&a>o&&(a=o);for(var A=0;A<a;++A){var f=e[A].replace(s,"%20"),l=f.indexOf(r),p,B,S,_;l>=0?(p=f.substr(0,l),B=f.substr(l+1)):(p=f,B=""),S=decodeURIComponent(p),_=decodeURIComponent(B),f$(i,S)?u$(i[S])?i[S].push(_):i[S]=[i[S],_]:i[S]=_}return i};var u$=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"}});var aT=x((gRe,oT)=>{"use strict";var oh=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};oT.exports=function(e,t,r,n){return t=t||"&",r=r||"=",e===null&&(e=void 0),typeof e=="object"?sT(l$(e),function(i){var s=encodeURIComponent(oh(i))+r;return c$(e[i])?sT(e[i],function(o){return s+encodeURIComponent(oh(o))}).join(t):s+encodeURIComponent(oh(e[i]))}).join(t):n?encodeURIComponent(oh(n))+r+encodeURIComponent(oh(e)):""};var c$=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function sT(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var l$=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}});var zI=x(ah=>{"use strict";ah.decode=ah.parse=iT();ah.encode=ah.stringify=aT()});var Y0={};kI(Y0,{decode:()=>za.decode,default:()=>h$,encode:()=>za.encode,escape:()=>AT,parse:()=>za.parse,stringify:()=>za.stringify,unescape:()=>fT});function AT(e){return encodeURIComponent(e)}function fT(e){return decodeURIComponent(e)}var ja,za,h$,KI=wD(()=>{ja=hr(zI(),1),za=hr(zI(),1);h$={decode:ja.decode,encode:ja.encode,parse:ja.parse,stringify:ja.stringify,escape:AT,unescape:fT}});var Ve=x((ERe,XI)=>{typeof Object.create=="function"?XI.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:XI.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var ZI=x((yRe,uT)=>{uT.exports=es().EventEmitter});var W0=x((mRe,cT)=>{"use strict";cT.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==i||a.enumerable!==!0)return!1}return!0}});var Ah=x((BRe,lT)=>{"use strict";var d$=W0();lT.exports=function(){return d$()&&!!Symbol.toStringTag}});var V0=x((IRe,hT)=>{"use strict";hT.exports=Object});var gT=x((bRe,dT)=>{"use strict";dT.exports=Error});var ET=x((CRe,pT)=>{"use strict";pT.exports=EvalError});var mT=x((QRe,yT)=>{"use strict";yT.exports=RangeError});var IT=x((wRe,BT)=>{"use strict";BT.exports=ReferenceError});var $I=x((SRe,bT)=>{"use strict";bT.exports=SyntaxError});var ts=x((_Re,CT)=>{"use strict";CT.exports=TypeError});var wT=x((vRe,QT)=>{"use strict";QT.exports=URIError});var _T=x((RRe,ST)=>{"use strict";ST.exports=Math.abs});var RT=x((DRe,vT)=>{"use strict";vT.exports=Math.floor});var TT=x((TRe,DT)=>{"use strict";DT.exports=Math.max});var MT=x((NRe,NT)=>{"use strict";NT.exports=Math.min});var kT=x((MRe,FT)=>{"use strict";FT.exports=Math.pow});var UT=x((FRe,xT)=>{"use strict";xT.exports=Math.round});var PT=x((kRe,LT)=>{"use strict";LT.exports=Number.isNaN||function(t){return t!==t}});var HT=x((xRe,OT)=>{"use strict";var g$=PT();OT.exports=function(t){return g$(t)||t===0?t:t<0?-1:1}});var GT=x((URe,qT)=>{"use strict";qT.exports=Object.getOwnPropertyDescriptor});var tf=x((LRe,YT)=>{"use strict";var J0=GT();if(J0)try{J0([],"length")}catch{J0=null}YT.exports=J0});var fh=x((PRe,WT)=>{"use strict";var j0=Object.defineProperty||!1;if(j0)try{j0({},"a",{value:1})}catch{j0=!1}WT.exports=j0});var jT=x((ORe,JT)=>{"use strict";var VT=typeof Symbol<"u"&&Symbol,p$=W0();JT.exports=function(){return typeof VT!="function"||typeof Symbol!="function"||typeof VT("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:p$()}});var eb=x((HRe,zT)=>{"use strict";zT.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var tb=x((qRe,KT)=>{"use strict";var E$=V0();KT.exports=E$.getPrototypeOf||null});var $T=x((GRe,ZT)=>{"use strict";var y$="Function.prototype.bind called on incompatible ",m$=Object.prototype.toString,B$=Math.max,I$="[object Function]",XT=function(t,r){for(var n=[],i=0;i<t.length;i+=1)n[i]=t[i];for(var s=0;s<r.length;s+=1)n[s+t.length]=r[s];return n},b$=function(t,r){for(var n=[],i=r||0,s=0;i<t.length;i+=1,s+=1)n[s]=t[i];return n},C$=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};ZT.exports=function(t){var r=this;if(typeof r!="function"||m$.apply(r)!==I$)throw new TypeError(y$+r);for(var n=b$(arguments,1),i,s=function(){if(this instanceof i){var l=r.apply(this,XT(n,arguments));return Object(l)===l?l:this}return r.apply(t,XT(n,arguments))},o=B$(0,r.length-n.length),a=[],A=0;A<o;A++)a[A]="$"+A;if(i=Function("binder","return function ("+C$(a,",")+"){ return binder.apply(this,arguments); }")(s),r.prototype){var f=function(){};f.prototype=r.prototype,i.prototype=new f,f.prototype=null}return i}});var Xu=x((YRe,eN)=>{"use strict";var Q$=$T();eN.exports=Function.prototype.bind||Q$});var z0=x((WRe,tN)=>{"use strict";tN.exports=Function.prototype.call});var K0=x((VRe,rN)=>{"use strict";rN.exports=Function.prototype.apply});var iN=x((JRe,nN)=>{"use strict";nN.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var rb=x((jRe,sN)=>{"use strict";var w$=Xu(),S$=K0(),_$=z0(),v$=iN();sN.exports=v$||w$.call(_$,S$)});var X0=x((zRe,oN)=>{"use strict";var R$=Xu(),D$=ts(),T$=z0(),N$=rb();oN.exports=function(t){if(t.length<1||typeof t[0]!="function")throw new D$("a function is required");return N$(R$,T$,t)}});var lN=x((KRe,cN)=>{"use strict";var M$=X0(),aN=tf(),fN;try{fN=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var nb=!!fN&&aN&&aN(Object.prototype,"__proto__"),uN=Object,AN=uN.getPrototypeOf;cN.exports=nb&&typeof nb.get=="function"?M$([nb.get]):typeof AN=="function"?function(t){return AN(t==null?t:uN(t))}:!1});var Z0=x((XRe,pN)=>{"use strict";var hN=eb(),dN=tb(),gN=lN();pN.exports=hN?function(t){return hN(t)}:dN?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return dN(t)}:gN?function(t){return gN(t)}:null});var ib=x((ZRe,EN)=>{"use strict";var F$=Function.prototype.call,k$=Object.prototype.hasOwnProperty,x$=Xu();EN.exports=x$.call(F$,k$)});var rc=x(($Re,CN)=>{"use strict";var gt,U$=V0(),L$=gT(),P$=ET(),O$=mT(),H$=IT(),tc=$I(),ec=ts(),q$=wT(),G$=_T(),Y$=RT(),W$=TT(),V$=MT(),J$=kT(),j$=UT(),z$=HT(),IN=Function,sb=function(e){try{return IN('"use strict"; return ('+e+").constructor;")()}catch{}},uh=tf(),K$=fh(),ob=function(){throw new ec},X$=uh?(function(){try{return arguments.callee,ob}catch{try{return uh(arguments,"callee").get}catch{return ob}}})():ob,Zu=jT()(),Tr=Z0(),Z$=tb(),$$=eb(),bN=K0(),ch=z0(),$u={},eee=typeof Uint8Array>"u"||!Tr?gt:Tr(Uint8Array),rf={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?gt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?gt:ArrayBuffer,"%ArrayIteratorPrototype%":Zu&&Tr?Tr([][Symbol.iterator]()):gt,"%AsyncFromSyncIteratorPrototype%":gt,"%AsyncFunction%":$u,"%AsyncGenerator%":$u,"%AsyncGeneratorFunction%":$u,"%AsyncIteratorPrototype%":$u,"%Atomics%":typeof Atomics>"u"?gt:Atomics,"%BigInt%":typeof BigInt>"u"?gt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?gt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?gt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?gt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":L$,"%eval%":eval,"%EvalError%":P$,"%Float16Array%":typeof Float16Array>"u"?gt:Float16Array,"%Float32Array%":typeof Float32Array>"u"?gt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?gt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?gt:FinalizationRegistry,"%Function%":IN,"%GeneratorFunction%":$u,"%Int8Array%":typeof Int8Array>"u"?gt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?gt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?gt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Zu&&Tr?Tr(Tr([][Symbol.iterator]())):gt,"%JSON%":typeof JSON=="object"?JSON:gt,"%Map%":typeof Map>"u"?gt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Zu||!Tr?gt:Tr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":U$,"%Object.getOwnPropertyDescriptor%":uh,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?gt:Promise,"%Proxy%":typeof Proxy>"u"?gt:Proxy,"%RangeError%":O$,"%ReferenceError%":H$,"%Reflect%":typeof Reflect>"u"?gt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?gt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Zu||!Tr?gt:Tr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?gt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Zu&&Tr?Tr(""[Symbol.iterator]()):gt,"%Symbol%":Zu?Symbol:gt,"%SyntaxError%":tc,"%ThrowTypeError%":X$,"%TypedArray%":eee,"%TypeError%":ec,"%Uint8Array%":typeof Uint8Array>"u"?gt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?gt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?gt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?gt:Uint32Array,"%URIError%":q$,"%WeakMap%":typeof WeakMap>"u"?gt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?gt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?gt:WeakSet,"%Function.prototype.call%":ch,"%Function.prototype.apply%":bN,"%Object.defineProperty%":K$,"%Object.getPrototypeOf%":Z$,"%Math.abs%":G$,"%Math.floor%":Y$,"%Math.max%":W$,"%Math.min%":V$,"%Math.pow%":J$,"%Math.round%":j$,"%Math.sign%":z$,"%Reflect.getPrototypeOf%":$$};if(Tr)try{null.error}catch(e){yN=Tr(Tr(e)),rf["%Error.prototype%"]=yN}var yN,tee=function e(t){var r;if(t==="%AsyncFunction%")r=sb("async function () {}");else if(t==="%GeneratorFunction%")r=sb("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=sb("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Tr&&(r=Tr(i.prototype))}return rf[t]=r,r},mN={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},lh=Xu(),$0=ib(),ree=lh.call(ch,Array.prototype.concat),nee=lh.call(bN,Array.prototype.splice),BN=lh.call(ch,String.prototype.replace),ep=lh.call(ch,String.prototype.slice),iee=lh.call(ch,RegExp.prototype.exec),see=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,oee=/\\(\\)?/g,aee=function(t){var r=ep(t,0,1),n=ep(t,-1);if(r==="%"&&n!=="%")throw new tc("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new tc("invalid intrinsic syntax, expected opening `%`");var i=[];return BN(t,see,function(s,o,a,A){i[i.length]=a?BN(A,oee,"$1"):o||s}),i},Aee=function(t,r){var n=t,i;if($0(mN,n)&&(i=mN[n],n="%"+i[0]+"%"),$0(rf,n)){var s=rf[n];if(s===$u&&(s=tee(n)),typeof s>"u"&&!r)throw new ec("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:s}}throw new tc("intrinsic "+t+" does not exist!")};CN.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new ec("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new ec('"allowMissing" argument must be a boolean');if(iee(/^%?[^%]*%?$/,t)===null)throw new tc("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=aee(t),i=n.length>0?n[0]:"",s=Aee("%"+i+"%",r),o=s.name,a=s.value,A=!1,f=s.alias;f&&(i=f[0],nee(n,ree([0,1],f)));for(var l=1,p=!0;l<n.length;l+=1){var B=n[l],S=ep(B,0,1),_=ep(B,-1);if((S==='"'||S==="'"||S==="`"||_==='"'||_==="'"||_==="`")&&S!==_)throw new tc("property names with quotes must have matching quotes");if((B==="constructor"||!p)&&(A=!0),i+="."+B,o="%"+i+"%",$0(rf,o))a=rf[o];else if(a!=null){if(!(B in a)){if(!r)throw new ec("base intrinsic for "+t+" exists, but the property is not available.");return}if(uh&&l+1>=n.length){var N=uh(a,B);p=!!N,p&&"get"in N&&!("originalValue"in N.get)?a=N.get:a=a[B]}else p=$0(a,B),a=a[B];p&&!A&&(rf[o]=a)}}return a}});var Js=x((eDe,SN)=>{"use strict";var QN=rc(),wN=X0(),fee=wN([QN("%String.prototype.indexOf%")]);SN.exports=function(t,r){var n=QN(t,!!r);return typeof n=="function"&&fee(t,".prototype.")>-1?wN([n]):n}});var RN=x((tDe,vN)=>{"use strict";var uee=Ah()(),cee=Js(),ab=cee("Object.prototype.toString"),tp=function(t){return uee&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:ab(t)==="[object Arguments]"},_N=function(t){return tp(t)?!0:t!==null&&typeof t=="object"&&"length"in t&&typeof t.length=="number"&&t.length>=0&&ab(t)!=="[object Array]"&&"callee"in t&&ab(t.callee)==="[object Function]"},lee=(function(){return tp(arguments)})();tp.isLegacyArguments=_N;vN.exports=lee?tp:_N});var kN=x((rDe,FN)=>{"use strict";var DN=Js(),hee=Ah()(),dee=ib(),gee=tf(),ub;hee?(TN=DN("RegExp.prototype.exec"),Ab={},rp=function(){throw Ab},fb={toString:rp,valueOf:rp},typeof Symbol.toPrimitive=="symbol"&&(fb[Symbol.toPrimitive]=rp),ub=function(t){if(!t||typeof t!="object")return!1;var r=gee(t,"lastIndex"),n=r&&dee(r,"value");if(!n)return!1;try{TN(t,fb)}catch(i){return i===Ab}}):(NN=DN("Object.prototype.toString"),MN="[object RegExp]",ub=function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:NN(t)===MN});var TN,Ab,rp,fb,NN,MN;FN.exports=ub});var UN=x((nDe,xN)=>{"use strict";var pee=Js(),Eee=kN(),yee=pee("RegExp.prototype.exec"),mee=ts();xN.exports=function(t){if(!Eee(t))throw new mee("`regex` must be a RegExp");return function(n){return yee(t,n)!==null}}});var PN=x((iDe,LN)=>{"use strict";var Bee=function*(){}.constructor;LN.exports=()=>Bee});var GN=x((sDe,qN)=>{"use strict";var HN=Js(),Iee=UN(),bee=Iee(/^\s*(?:function)?\*/),Cee=Ah()(),ON=Z0(),Qee=HN("Object.prototype.toString"),wee=HN("Function.prototype.toString"),See=PN();qN.exports=function(t){if(typeof t!="function")return!1;if(bee(wee(t)))return!0;if(!Cee){var r=Qee(t);return r==="[object GeneratorFunction]"}if(!ON)return!1;var n=See();return n&&ON(t)===n.prototype}});var JN=x((oDe,VN)=>{"use strict";var WN=Function.prototype.toString,nc=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,lb,np;if(typeof nc=="function"&&typeof Object.defineProperty=="function")try{lb=Object.defineProperty({},"length",{get:function(){throw np}}),np={},nc(function(){throw 42},null,lb)}catch(e){e!==np&&(nc=null)}else nc=null;var _ee=/^\s*class\b/,hb=function(t){try{var r=WN.call(t);return _ee.test(r)}catch{return!1}},cb=function(t){try{return hb(t)?!1:(WN.call(t),!0)}catch{return!1}},ip=Object.prototype.toString,vee="[object Object]",Ree="[object Function]",Dee="[object GeneratorFunction]",Tee="[object HTMLAllCollection]",Nee="[object HTML document.all class]",Mee="[object HTMLCollection]",Fee=typeof Symbol=="function"&&!!Symbol.toStringTag,kee=!(0 in[,]),db=function(){return!1};typeof document=="object"&&(YN=document.all,ip.call(YN)===ip.call(document.all)&&(db=function(t){if((kee||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=ip.call(t);return(r===Tee||r===Nee||r===Mee||r===vee)&&t("")==null}catch{}return!1}));var YN;VN.exports=nc?function(t){if(db(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{nc(t,null,lb)}catch(r){if(r!==np)return!1}return!hb(t)&&cb(t)}:function(t){if(db(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(Fee)return cb(t);if(hb(t))return!1;var r=ip.call(t);return r!==Ree&&r!==Dee&&!/^\[object HTML/.test(r)?!1:cb(t)}});var KN=x((aDe,zN)=>{"use strict";var xee=JN(),Uee=Object.prototype.toString,jN=Object.prototype.hasOwnProperty,Lee=function(t,r,n){for(var i=0,s=t.length;i<s;i++)jN.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},Pee=function(t,r,n){for(var i=0,s=t.length;i<s;i++)n==null?r(t.charAt(i),i,t):r.call(n,t.charAt(i),i,t)},Oee=function(t,r,n){for(var i in t)jN.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))};function Hee(e){return Uee.call(e)==="[object Array]"}zN.exports=function(t,r,n){if(!xee(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Hee(t)?Lee(t,r,i):typeof t=="string"?Pee(t,r,i):Oee(t,r,i)}});var ZN=x((ADe,XN)=>{"use strict";XN.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]});var eM=x((fDe,$N)=>{"use strict";var gb=ZN(),qee=globalThis;$N.exports=function(){for(var t=[],r=0;r<gb.length;r++)typeof qee[gb[r]]=="function"&&(t[t.length]=gb[r]);return t}});var pb=x((uDe,nM)=>{"use strict";var tM=fh(),Gee=$I(),ic=ts(),rM=tf();nM.exports=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new ic("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new ic("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new ic("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new ic("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new ic("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new ic("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,a=arguments.length>6?arguments[6]:!1,A=!!rM&&rM(t,r);if(tM)tM(t,r,{configurable:o===null&&A?A.configurable:!o,enumerable:i===null&&A?A.enumerable:!i,value:n,writable:s===null&&A?A.writable:!s});else if(a||!i&&!s&&!o)t[r]=n;else throw new Gee("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var yb=x((cDe,sM)=>{"use strict";var Eb=fh(),iM=function(){return!!Eb};iM.hasArrayLengthDefineBug=function(){if(!Eb)return null;try{return Eb([],"length",{value:1}).length!==1}catch{return!0}};sM.exports=iM});var uM=x((lDe,fM)=>{"use strict";var Yee=rc(),oM=pb(),Wee=yb()(),aM=tf(),AM=ts(),Vee=Yee("%Math.floor%");fM.exports=function(t,r){if(typeof t!="function")throw new AM("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||Vee(r)!==r)throw new AM("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,s=!0;if("length"in t&&aM){var o=aM(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(s=!1)}return(i||s||!n)&&(Wee?oM(t,"length",r,!0,!0):oM(t,"length",r)),t}});var lM=x((hDe,cM)=>{"use strict";var Jee=Xu(),jee=K0(),zee=rb();cM.exports=function(){return zee(Jee,jee,arguments)}});var hh=x((dDe,sp)=>{"use strict";var Kee=uM(),hM=fh(),Xee=X0(),dM=lM();sp.exports=function(t){var r=Xee(arguments),n=1+t.length-(arguments.length-1);return Kee(r,n>0?n:0,!0)};hM?hM(sp.exports,"apply",{value:dM}):sp.exports.apply=dM});var bb=x((gDe,yM)=>{"use strict";var Ap=KN(),Zee=eM(),gM=hh(),Bb=Js(),ap=tf(),op=Z0(),$ee=Bb("Object.prototype.toString"),EM=Ah()(),pM=globalThis,mb=Zee(),Ib=Bb("String.prototype.slice"),ete=Bb("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},fp={__proto__:null};EM&&ap&&op?Ap(mb,function(e){var t=new pM[e];if(Symbol.toStringTag in t&&op){var r=op(t),n=ap(r,Symbol.toStringTag);if(!n&&r){var i=op(r);n=ap(i,Symbol.toStringTag)}if(n&&n.get){var s=gM(n.get);fp["$"+e]=s}}}):Ap(mb,function(e){var t=new pM[e],r=t.slice||t.set;if(r){var n=gM(r);fp["$"+e]=n}});function tte(e){var t=!1;return Ap(fp,function(r,n){if(!t)try{"$"+r(e)===n&&(t=Ib(n,1))}catch{}}),t}function rte(e){var t=!1;return Ap(fp,function(r,n){if(!t)try{r(e),t=Ib(n,1)}catch{}}),t}function nte(e){return ete(mb,e)>-1}yM.exports=function(t){if(!t||typeof t!="object")return!1;if(!EM){var r=Ib($ee(t),8,-1);return nte(r)?r:r!=="Object"?!1:rte(t)}return ap?tte(t):null}});var Cb=x((pDe,mM)=>{"use strict";var ite=bb();mM.exports=function(t){return!!ite(t)}});var MM=x(pt=>{"use strict";var ste=RN(),ote=GN(),rs=bb(),BM=Cb();function sc(e){return e.call.bind(e)}var IM=typeof BigInt<"u",bM=typeof Symbol<"u",li=sc(Object.prototype.toString),ate=sc(Number.prototype.valueOf),Ate=sc(String.prototype.valueOf),fte=sc(Boolean.prototype.valueOf);IM&&(CM=sc(BigInt.prototype.valueOf));var CM;bM&&(QM=sc(Symbol.prototype.valueOf));var QM;function gh(e,t){if(typeof e!="object")return!1;try{return t(e),!0}catch{return!1}}pt.isArgumentsObject=ste;pt.isGeneratorFunction=ote;pt.isTypedArray=BM;function ute(e){return typeof Promise<"u"&&e instanceof Promise||e!==null&&typeof e=="object"&&typeof e.then=="function"&&typeof e.catch=="function"}pt.isPromise=ute;function cte(e){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(e):BM(e)||SM(e)}pt.isArrayBufferView=cte;function lte(e){return rs(e)==="Uint8Array"}pt.isUint8Array=lte;function hte(e){return rs(e)==="Uint8ClampedArray"}pt.isUint8ClampedArray=hte;function dte(e){return rs(e)==="Uint16Array"}pt.isUint16Array=dte;function gte(e){return rs(e)==="Uint32Array"}pt.isUint32Array=gte;function pte(e){return rs(e)==="Int8Array"}pt.isInt8Array=pte;function Ete(e){return rs(e)==="Int16Array"}pt.isInt16Array=Ete;function yte(e){return rs(e)==="Int32Array"}pt.isInt32Array=yte;function mte(e){return rs(e)==="Float32Array"}pt.isFloat32Array=mte;function Bte(e){return rs(e)==="Float64Array"}pt.isFloat64Array=Bte;function Ite(e){return rs(e)==="BigInt64Array"}pt.isBigInt64Array=Ite;function bte(e){return rs(e)==="BigUint64Array"}pt.isBigUint64Array=bte;function up(e){return li(e)==="[object Map]"}up.working=typeof Map<"u"&&up(new Map);function Cte(e){return typeof Map>"u"?!1:up.working?up(e):e instanceof Map}pt.isMap=Cte;function cp(e){return li(e)==="[object Set]"}cp.working=typeof Set<"u"&&cp(new Set);function Qte(e){return typeof Set>"u"?!1:cp.working?cp(e):e instanceof Set}pt.isSet=Qte;function lp(e){return li(e)==="[object WeakMap]"}lp.working=typeof WeakMap<"u"&&lp(new WeakMap);function wte(e){return typeof WeakMap>"u"?!1:lp.working?lp(e):e instanceof WeakMap}pt.isWeakMap=wte;function wb(e){return li(e)==="[object WeakSet]"}wb.working=typeof WeakSet<"u"&&wb(new WeakSet);function Ste(e){return wb(e)}pt.isWeakSet=Ste;function hp(e){return li(e)==="[object ArrayBuffer]"}hp.working=typeof ArrayBuffer<"u"&&hp(new ArrayBuffer);function wM(e){return typeof ArrayBuffer>"u"?!1:hp.working?hp(e):e instanceof ArrayBuffer}pt.isArrayBuffer=wM;function dp(e){return li(e)==="[object DataView]"}dp.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&dp(new DataView(new ArrayBuffer(1),0,1));function SM(e){return typeof DataView>"u"?!1:dp.working?dp(e):e instanceof DataView}pt.isDataView=SM;var Qb=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function dh(e){return li(e)==="[object SharedArrayBuffer]"}function _M(e){return typeof Qb>"u"?!1:(typeof dh.working>"u"&&(dh.working=dh(new Qb)),dh.working?dh(e):e instanceof Qb)}pt.isSharedArrayBuffer=_M;function _te(e){return li(e)==="[object AsyncFunction]"}pt.isAsyncFunction=_te;function vte(e){return li(e)==="[object Map Iterator]"}pt.isMapIterator=vte;function Rte(e){return li(e)==="[object Set Iterator]"}pt.isSetIterator=Rte;function Dte(e){return li(e)==="[object Generator]"}pt.isGeneratorObject=Dte;function Tte(e){return li(e)==="[object WebAssembly.Module]"}pt.isWebAssemblyCompiledModule=Tte;function vM(e){return gh(e,ate)}pt.isNumberObject=vM;function RM(e){return gh(e,Ate)}pt.isStringObject=RM;function DM(e){return gh(e,fte)}pt.isBooleanObject=DM;function TM(e){return IM&&gh(e,CM)}pt.isBigIntObject=TM;function NM(e){return bM&&gh(e,QM)}pt.isSymbolObject=NM;function Nte(e){return vM(e)||RM(e)||DM(e)||TM(e)||NM(e)}pt.isBoxedPrimitive=Nte;function Mte(e){return typeof Uint8Array<"u"&&(wM(e)||_M(e))}pt.isAnyArrayBuffer=Mte;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(pt,e,{enumerable:!1,value:function(){return!1}})})});var kM=x((yDe,FM)=>{FM.exports=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"}});var Yr=x(Et=>{var xM=Object.getOwnPropertyDescriptors||function(t){for(var r=Object.keys(t),n={},i=0;i<r.length;i++)n[r[i]]=Object.getOwnPropertyDescriptor(t,r[i]);return n},Fte=/%[sdj%]/g;Et.format=function(e){if(!Ip(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(Ka(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,s=String(e).replace(Fte,function(a){if(a==="%%")return"%";if(r>=i)return a;switch(a){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}default:return a}}),o=n[r];r<i;o=n[++r])Bp(o)||!oc(o)?s+=" "+o:s+=" "+Ka(o);return s};Et.deprecate=function(e,t){if(typeof process<"u"&&process.noDeprecation===!0)return e;if(typeof process>"u")return function(){return Et.deprecate(e,t).apply(this,arguments)};var r=!1;function n(){if(!r){if(process.throwDeprecation)throw new Error(t);process.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}return n};var gp={},UM=/^$/;process.env.NODE_DEBUG&&(pp=process.env.NODE_DEBUG,pp=pp.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),UM=new RegExp("^"+pp+"$","i"));var pp;Et.debuglog=function(e){if(e=e.toUpperCase(),!gp[e])if(UM.test(e)){var t=process.pid;gp[e]=function(){var r=Et.format.apply(Et,arguments);console.error("%s %d: %s",e,t,r)}}else gp[e]=function(){};return gp[e]};function Ka(e,t){var r={seen:[],stylize:xte};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Rb(t)?r.showHidden=t:t&&Et._extend(r,t),sf(r.showHidden)&&(r.showHidden=!1),sf(r.depth)&&(r.depth=2),sf(r.colors)&&(r.colors=!1),sf(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=kte),yp(r,e,r.depth)}Et.inspect=Ka;Ka.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]};Ka.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function kte(e,t){var r=Ka.styles[t];return r?"\x1B["+Ka.colors[r][0]+"m"+e+"\x1B["+Ka.colors[r][1]+"m":e}function xte(e,t){return e}function Ute(e){var t={};return e.forEach(function(r,n){t[r]=!0}),t}function yp(e,t,r){if(e.customInspect&&t&&Ep(t.inspect)&&t.inspect!==Et.inspect&&!(t.constructor&&t.constructor.prototype===t)){var n=t.inspect(r,e);return Ip(n)||(n=yp(e,n,r)),n}var i=Lte(e,t);if(i)return i;var s=Object.keys(t),o=Ute(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),Eh(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return Sb(t);if(s.length===0){if(Ep(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(ph(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(mp(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Eh(t))return Sb(t)}var A="",f=!1,l=["{","}"];if(LM(t)&&(f=!0,l=["[","]"]),Ep(t)){var p=t.name?": "+t.name:"";A=" [Function"+p+"]"}if(ph(t)&&(A=" "+RegExp.prototype.toString.call(t)),mp(t)&&(A=" "+Date.prototype.toUTCString.call(t)),Eh(t)&&(A=" "+Sb(t)),s.length===0&&(!f||t.length==0))return l[0]+A+l[1];if(r<0)return ph(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var B;return f?B=Pte(e,t,r,o,s):B=s.map(function(S){return vb(e,t,r,o,S,f)}),e.seen.pop(),Ote(B,A,l)}function Lte(e,t){if(sf(t))return e.stylize("undefined","undefined");if(Ip(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(PM(t))return e.stylize(""+t,"number");if(Rb(t))return e.stylize(""+t,"boolean");if(Bp(t))return e.stylize("null","null")}function Sb(e){return"["+Error.prototype.toString.call(e)+"]"}function Pte(e,t,r,n,i){for(var s=[],o=0,a=t.length;o<a;++o)OM(t,String(o))?s.push(vb(e,t,r,n,String(o),!0)):s.push("");return i.forEach(function(A){A.match(/^\d+$/)||s.push(vb(e,t,r,n,A,!0))}),s}function vb(e,t,r,n,i,s){var o,a,A;if(A=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},A.get?A.set?a=e.stylize("[Getter/Setter]","special"):a=e.stylize("[Getter]","special"):A.set&&(a=e.stylize("[Setter]","special")),OM(n,i)||(o="["+i+"]"),a||(e.seen.indexOf(A.value)<0?(Bp(r)?a=yp(e,A.value,null):a=yp(e,A.value,r-1),a.indexOf(`
`)>-1&&(s?a=a.split(`
`).map(function(f){return" "+f}).join(`
`).slice(2):a=`
`+a.split(`
`).map(function(f){return" "+f}).join(`
`))):a=e.stylize("[Circular]","special")),sf(o)){if(s&&i.match(/^\d+$/))return a;o=JSON.stringify(""+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.slice(1,-1),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function Ote(e,t,r){var n=0,i=e.reduce(function(s,o){return n++,o.indexOf(`
`)>=0&&n++,s+o.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?r[0]+(t===""?"":t+`
`)+" "+e.join(`,
`)+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}Et.types=MM();function LM(e){return Array.isArray(e)}Et.isArray=LM;function Rb(e){return typeof e=="boolean"}Et.isBoolean=Rb;function Bp(e){return e===null}Et.isNull=Bp;function Hte(e){return e==null}Et.isNullOrUndefined=Hte;function PM(e){return typeof e=="number"}Et.isNumber=PM;function Ip(e){return typeof e=="string"}Et.isString=Ip;function qte(e){return typeof e=="symbol"}Et.isSymbol=qte;function sf(e){return e===void 0}Et.isUndefined=sf;function ph(e){return oc(e)&&Db(e)==="[object RegExp]"}Et.isRegExp=ph;Et.types.isRegExp=ph;function oc(e){return typeof e=="object"&&e!==null}Et.isObject=oc;function mp(e){return oc(e)&&Db(e)==="[object Date]"}Et.isDate=mp;Et.types.isDate=mp;function Eh(e){return oc(e)&&(Db(e)==="[object Error]"||e instanceof Error)}Et.isError=Eh;Et.types.isNativeError=Eh;function Ep(e){return typeof e=="function"}Et.isFunction=Ep;function Gte(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}Et.isPrimitive=Gte;Et.isBuffer=kM();function Db(e){return Object.prototype.toString.call(e)}function _b(e){return e<10?"0"+e.toString(10):e.toString(10)}var Yte=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Wte(){var e=new Date,t=[_b(e.getHours()),_b(e.getMinutes()),_b(e.getSeconds())].join(":");return[e.getDate(),Yte[e.getMonth()],t].join(" ")}Et.log=function(){console.log("%s - %s",Wte(),Et.format.apply(Et,arguments))};Et.inherits=Ve();Et._extend=function(e,t){if(!t||!oc(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};function OM(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var nf=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Et.promisify=function(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');if(nf&&t[nf]){var r=t[nf];if(typeof r!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,nf,{value:r,enumerable:!1,writable:!1,configurable:!0}),r}function r(){for(var n,i,s=new Promise(function(A,f){n=A,i=f}),o=[],a=0;a<arguments.length;a++)o.push(arguments[a]);o.push(function(A,f){A?i(A):n(f)});try{t.apply(this,o)}catch(A){i(A)}return s}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),nf&&Object.defineProperty(r,nf,{value:r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(r,xM(t))};Et.promisify.custom=nf;function Vte(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function Jte(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');function t(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if(typeof i!="function")throw new TypeError("The last argument must be of type Function");var s=this,o=function(){return i.apply(s,arguments)};e.apply(this,r).then(function(a){process.nextTick(o.bind(null,null,a))},function(a){process.nextTick(Vte.bind(null,a,o))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,xM(e)),t}Et.callbackify=Jte});var VM=x((BDe,WM)=>{"use strict";function HM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function qM(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?HM(Object(r),!0).forEach(function(n){jte(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):HM(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function jte(e,t,r){return t=YM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,YM(n.key),n)}}function Kte(e,t,r){return t&&GM(e.prototype,t),r&&GM(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function YM(e){var t=Xte(e,"string");return typeof t=="symbol"?t:String(t)}function Xte(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Zte=Gr(),bp=Zte.Buffer,$te=Yr(),Tb=$te.inspect,ere=Tb&&Tb.custom||"inspect";function tre(e,t,r){bp.prototype.copy.call(e,t,r)}WM.exports=(function(){function e(){zte(this,e),this.head=null,this.tail=null,this.length=0}return Kte(e,[{key:"push",value:function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i}},{key:"concat",value:function(r){if(this.length===0)return bp.alloc(0);for(var n=bp.allocUnsafe(r>>>0),i=this.head,s=0;i;)tre(i.data,n,s),s+=i.data.length,i=i.next;return n}},{key:"consume",value:function(r,n){var i;return r<this.head.data.length?(i=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?i=this.shift():i=n?this._getString(r):this._getBuffer(r),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var n=this.head,i=1,s=n.data;for(r-=s.length;n=n.next;){var o=n.data,a=r>o.length?o.length:r;if(a===o.length?s+=o:s+=o.slice(0,r),r-=a,r===0){a===o.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++i}return this.length-=i,s}},{key:"_getBuffer",value:function(r){var n=bp.allocUnsafe(r),i=this.head,s=1;for(i.data.copy(n),r-=i.data.length;i=i.next;){var o=i.data,a=r>o.length?o.length:r;if(o.copy(n,n.length-r,0,a),r-=a,r===0){a===o.length?(++s,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(a));break}++s}return this.length-=s,n}},{key:ere,value:function(r,n){return Tb(this,qM(qM({},n),{},{depth:0,customInspect:!1}))}}]),e})()});var Mb=x((IDe,jM)=>{"use strict";function rre(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(Nb,this,e)):process.nextTick(Nb,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(s){!t&&s?r._writableState?r._writableState.errorEmitted?process.nextTick(Cp,r):(r._writableState.errorEmitted=!0,process.nextTick(JM,r,s)):process.nextTick(JM,r,s):t?(process.nextTick(Cp,r),t(s)):process.nextTick(Cp,r)}),this)}function JM(e,t){Nb(e,t),Cp(e)}function Cp(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function nre(){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 Nb(e,t){e.emit("error",t)}function ire(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}jM.exports={destroy:rre,undestroy:nre,errorOrDestroy:ire}});var of=x((bDe,XM)=>{"use strict";function sre(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var KM={};function hi(e,t,r){r||(r=Error);function n(s,o,a){return typeof t=="string"?t:t(s,o,a)}var i=(function(s){sre(o,s);function o(a,A,f){return s.call(this,n(a,A,f))||this}return o})(r);i.prototype.name=r.name,i.prototype.code=e,KM[e]=i}function zM(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(n){return String(n)}),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 ore(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function are(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Are(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}hi("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);hi("ERR_INVALID_ARG_TYPE",function(e,t,r){var n;typeof t=="string"&&ore(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";var i;if(are(e," argument"))i="The ".concat(e," ").concat(n," ").concat(zM(t,"type"));else{var s=Are(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(s," ").concat(n," ").concat(zM(t,"type"))}return i+=". Received type ".concat(typeof r),i},TypeError);hi("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");hi("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});hi("ERR_STREAM_PREMATURE_CLOSE","Premature close");hi("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});hi("ERR_MULTIPLE_CALLBACK","Callback called multiple times");hi("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");hi("ERR_STREAM_WRITE_AFTER_END","write after end");hi("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);hi("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);hi("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");XM.exports.codes=KM});var Fb=x((CDe,ZM)=>{"use strict";var fre=of().codes.ERR_INVALID_OPT_VALUE;function ure(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function cre(e,t,r,n){var i=ure(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var s=n?r:"highWaterMark";throw new fre(s,i)}return Math.floor(i)}return e.objectMode?16:16*1024}ZM.exports={getHighWaterMark:cre}});var xb=x((QDe,$M)=>{$M.exports=lre;function lre(e,t){if(kb("noDeprecation"))return e;var r=!1;function n(){if(!r){if(kb("throwDeprecation"))throw new Error(t);kb("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return n}function kb(e){try{if(!globalThis.localStorage)return!1}catch{return!1}var t=globalThis.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}});var Pb=x((wDe,sF)=>{"use strict";sF.exports=Ar;function tF(e){var t=this;this.next=null,this.entry=null,this.finish=function(){Pre(t,e)}}var ac;Ar.WritableState=mh;var hre={deprecate:xb()},rF=ZI(),wp=Gr().Buffer,dre=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function gre(e){return wp.from(e)}function pre(e){return wp.isBuffer(e)||e instanceof dre}var Lb=Mb(),Ere=Fb(),yre=Ere.getHighWaterMark,Xa=of().codes,mre=Xa.ERR_INVALID_ARG_TYPE,Bre=Xa.ERR_METHOD_NOT_IMPLEMENTED,Ire=Xa.ERR_MULTIPLE_CALLBACK,bre=Xa.ERR_STREAM_CANNOT_PIPE,Cre=Xa.ERR_STREAM_DESTROYED,Qre=Xa.ERR_STREAM_NULL_VALUES,wre=Xa.ERR_STREAM_WRITE_AFTER_END,Sre=Xa.ERR_UNKNOWN_ENCODING,Ac=Lb.errorOrDestroy;Ve()(Ar,rF);function _re(){}function mh(e,t,r){ac=ac||af(),e=e||{},typeof r!="boolean"&&(r=t instanceof ac),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=yre(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){Fre(t,i)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new tF(this)}mh.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(mh.prototype,"buffer",{get:hre.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Qp;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Qp=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ar,Symbol.hasInstance,{value:function(t){return Qp.call(this,t)?!0:this!==Ar?!1:t&&t._writableState instanceof mh}})):Qp=function(t){return t instanceof this};function Ar(e){ac=ac||af();var t=this instanceof ac;if(!t&&!Qp.call(Ar,this))return new Ar(e);this._writableState=new mh(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),rF.call(this)}Ar.prototype.pipe=function(){Ac(this,new bre)};function vre(e,t){var r=new wre;Ac(e,r),process.nextTick(t,r)}function Rre(e,t,r,n){var i;return r===null?i=new Qre:typeof r!="string"&&!t.objectMode&&(i=new mre("chunk",["string","Buffer"],r)),i?(Ac(e,i),process.nextTick(n,i),!1):!0}Ar.prototype.write=function(e,t,r){var n=this._writableState,i=!1,s=!n.objectMode&&pre(e);return s&&!wp.isBuffer(e)&&(e=gre(e)),typeof t=="function"&&(r=t,t=null),s?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=_re),n.ending?vre(this,r):(s||Rre(this,n,e,r))&&(n.pendingcb++,i=Tre(this,n,s,e,t,r)),i};Ar.prototype.cork=function(){this._writableState.corked++};Ar.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&nF(this,e))};Ar.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new Sre(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(Ar.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Dre(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=wp.from(t,r)),t}Object.defineProperty(Ar.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Tre(e,t,r,n,i,s){if(!r){var o=Dre(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=t.objectMode?1:n.length;t.length+=a;var A=t.length<t.highWaterMark;if(A||(t.needDrain=!0),t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else Ub(e,t,!1,a,n,i,s);return A}function Ub(e,t,r,n,i,s,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new Cre("write")):r?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function Nre(e,t,r,n,i){--t.pendingcb,r?(process.nextTick(i,n),process.nextTick(yh,e,t),e._writableState.errorEmitted=!0,Ac(e,n)):(i(n),e._writableState.errorEmitted=!0,Ac(e,n),yh(e,t))}function Mre(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function Fre(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new Ire;if(Mre(r),t)Nre(e,r,n,t,i);else{var s=iF(r)||e.destroyed;!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&nF(e,r),n?process.nextTick(eF,e,r,s,i):eF(e,r,s,i)}}function eF(e,t,r,n){r||kre(e,t),t.pendingcb--,n(),yh(e,t)}function kre(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function nF(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),s=t.corkedRequestsFree;s.entry=r;for(var o=0,a=!0;r;)i[o]=r,r.isBuf||(a=!1),r=r.next,o+=1;i.allBuffers=a,Ub(e,t,!0,t.length,i,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new tF(t),t.bufferedRequestCount=0}else{for(;r;){var A=r.chunk,f=r.encoding,l=r.callback,p=t.objectMode?1:A.length;if(Ub(e,t,!1,p,A,f,l),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}Ar.prototype._write=function(e,t,r){r(new Bre("_write()"))};Ar.prototype._writev=null;Ar.prototype.end=function(e,t,r){var n=this._writableState;return typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||Lre(this,n,r),this};Object.defineProperty(Ar.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function iF(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function xre(e,t){e._final(function(r){t.pendingcb--,r&&Ac(e,r),t.prefinished=!0,e.emit("prefinish"),yh(e,t)})}function Ure(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(xre,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function yh(e,t){var r=iF(t);if(r&&(Ure(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}function Lre(e,t,r){t.ending=!0,yh(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function Pre(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}Object.defineProperty(Ar.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}});Ar.prototype.destroy=Lb.destroy;Ar.prototype._undestroy=Lb.undestroy;Ar.prototype._destroy=function(e,t){t(e)}});var af=x((SDe,aF)=>{"use strict";var Ore=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};aF.exports=js;var oF=qb(),Hb=Pb();Ve()(js,oF);for(Ob=Ore(Hb.prototype),Sp=0;Sp<Ob.length;Sp++)_p=Ob[Sp],js.prototype[_p]||(js.prototype[_p]=Hb.prototype[_p]);var Ob,_p,Sp;function js(e){if(!(this instanceof js))return new js(e);oF.call(this,e),Hb.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",Hre)))}Object.defineProperty(js.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(js.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(js.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Hre(){this._writableState.ended||process.nextTick(qre,this)}function qre(e){e.end()}Object.defineProperty(js.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})});var tt=x((Gb,fF)=>{var vp=Gr(),zs=vp.Buffer;function AF(e,t){for(var r in e)t[r]=e[r]}zs.from&&zs.alloc&&zs.allocUnsafe&&zs.allocUnsafeSlow?fF.exports=vp:(AF(vp,Gb),Gb.Buffer=Af);function Af(e,t,r){return zs(e,t,r)}Af.prototype=Object.create(zs.prototype);AF(zs,Af);Af.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return zs(e,t,r)};Af.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=zs(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};Af.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return zs(e)};Af.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return vp.SlowBuffer(e)}});var ff=x(cF=>{"use strict";var Wb=tt().Buffer,uF=Wb.isEncoding||function(e){switch(e=""+e,e&&e.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 Gre(e){if(!e)return"utf8";for(var t;;)switch(e){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 e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function Yre(e){var t=Gre(e);if(typeof t!="string"&&(Wb.isEncoding===uF||!uF(e)))throw new Error("Unknown encoding: "+e);return t||e}cF.StringDecoder=Bh;function Bh(e){this.encoding=Yre(e);var t;switch(this.encoding){case"utf16le":this.text=Kre,this.end=Xre,t=4;break;case"utf8":this.fillLast=Jre,t=4;break;case"base64":this.text=Zre,this.end=$re,t=3;break;default:this.write=ene,this.end=tne;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Wb.allocUnsafe(t)}Bh.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};Bh.prototype.end=zre;Bh.prototype.text=jre;Bh.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function Yb(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Wre(e,t,r){var n=t.length-1;if(n<r)return 0;var i=Yb(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||i===-2?0:(i=Yb(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||i===-2?0:(i=Yb(t[n]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function Vre(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"\uFFFD";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"\uFFFD";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"\uFFFD"}}function Jre(e){var t=this.lastTotal-this.lastNeed,r=Vre(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function jre(e,t){var r=Wre(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function zre(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function Kre(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function Xre(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function Zre(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function $re(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function ene(e){return e.toString(this.encoding)}function tne(e){return e&&e.length?this.write(e):""}});var Rp=x((vDe,dF)=>{"use strict";var lF=of().codes.ERR_STREAM_PREMATURE_CLOSE;function rne(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}function nne(){}function ine(e){return e.setHeader&&typeof e.abort=="function"}function hF(e,t,r){if(typeof t=="function")return hF(e,null,t);t||(t={}),r=rne(r||nne);var n=t.readable||t.readable!==!1&&e.readable,i=t.writable||t.writable!==!1&&e.writable,s=function(){e.writable||a()},o=e._writableState&&e._writableState.finished,a=function(){i=!1,o=!0,n||r.call(e)},A=e._readableState&&e._readableState.endEmitted,f=function(){n=!1,A=!0,i||r.call(e)},l=function(_){r.call(e,_)},p=function(){var _;if(n&&!A)return(!e._readableState||!e._readableState.ended)&&(_=new lF),r.call(e,_);if(i&&!o)return(!e._writableState||!e._writableState.ended)&&(_=new lF),r.call(e,_)},B=function(){e.req.on("finish",a)};return ine(e)?(e.on("complete",a),e.on("abort",p),e.req?B():e.on("request",B)):i&&!e._writableState&&(e.on("end",s),e.on("close",s)),e.on("end",f),e.on("finish",a),t.error!==!1&&e.on("error",l),e.on("close",p),function(){e.removeListener("complete",a),e.removeListener("abort",p),e.removeListener("request",B),e.req&&e.req.removeListener("finish",a),e.removeListener("end",s),e.removeListener("close",s),e.removeListener("finish",a),e.removeListener("end",f),e.removeListener("error",l),e.removeListener("close",p)}}dF.exports=hF});var pF=x((RDe,gF)=>{"use strict";var Dp;function Za(e,t,r){return t=sne(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sne(e){var t=one(e,"string");return typeof t=="symbol"?t:String(t)}function one(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ane=Rp(),$a=Symbol("lastResolve"),uf=Symbol("lastReject"),Ih=Symbol("error"),Tp=Symbol("ended"),cf=Symbol("lastPromise"),Vb=Symbol("handlePromise"),lf=Symbol("stream");function eA(e,t){return{value:e,done:t}}function Ane(e){var t=e[$a];if(t!==null){var r=e[lf].read();r!==null&&(e[cf]=null,e[$a]=null,e[uf]=null,t(eA(r,!1)))}}function fne(e){process.nextTick(Ane,e)}function une(e,t){return function(r,n){e.then(function(){if(t[Tp]){r(eA(void 0,!0));return}t[Vb](r,n)},n)}}var cne=Object.getPrototypeOf(function(){}),lne=Object.setPrototypeOf((Dp={get stream(){return this[lf]},next:function(){var t=this,r=this[Ih];if(r!==null)return Promise.reject(r);if(this[Tp])return Promise.resolve(eA(void 0,!0));if(this[lf].destroyed)return new Promise(function(o,a){process.nextTick(function(){t[Ih]?a(t[Ih]):o(eA(void 0,!0))})});var n=this[cf],i;if(n)i=new Promise(une(n,this));else{var s=this[lf].read();if(s!==null)return Promise.resolve(eA(s,!1));i=new Promise(this[Vb])}return this[cf]=i,i}},Za(Dp,Symbol.asyncIterator,function(){return this}),Za(Dp,"return",function(){var t=this;return new Promise(function(r,n){t[lf].destroy(null,function(i){if(i){n(i);return}r(eA(void 0,!0))})})}),Dp),cne),hne=function(t){var r,n=Object.create(lne,(r={},Za(r,lf,{value:t,writable:!0}),Za(r,$a,{value:null,writable:!0}),Za(r,uf,{value:null,writable:!0}),Za(r,Ih,{value:null,writable:!0}),Za(r,Tp,{value:t._readableState.endEmitted,writable:!0}),Za(r,Vb,{value:function(s,o){var a=n[lf].read();a?(n[cf]=null,n[$a]=null,n[uf]=null,s(eA(a,!1))):(n[$a]=s,n[uf]=o)},writable:!0}),r));return n[cf]=null,ane(t,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var s=n[uf];s!==null&&(n[cf]=null,n[$a]=null,n[uf]=null,s(i)),n[Ih]=i;return}var o=n[$a];o!==null&&(n[cf]=null,n[$a]=null,n[uf]=null,o(eA(void 0,!0))),n[Tp]=!0}),t.on("readable",fne.bind(null,n)),n};gF.exports=hne});var yF=x((DDe,EF)=>{EF.exports=function(){throw new Error("Readable.from is not available in the browser")}});var qb=x((NDe,vF)=>{"use strict";vF.exports=Qt;var fc;Qt.ReadableState=bF;var TDe=es().EventEmitter,IF=function(t,r){return t.listeners(r).length},Ch=ZI(),Np=Gr().Buffer,dne=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function gne(e){return Np.from(e)}function pne(e){return Np.isBuffer(e)||e instanceof dne}var Jb=Yr(),dt;Jb&&Jb.debuglog?dt=Jb.debuglog("stream"):dt=function(){};var Ene=VM(),eC=Mb(),yne=Fb(),mne=yne.getHighWaterMark,Mp=of().codes,Bne=Mp.ERR_INVALID_ARG_TYPE,Ine=Mp.ERR_STREAM_PUSH_AFTER_EOF,bne=Mp.ERR_METHOD_NOT_IMPLEMENTED,Cne=Mp.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,uc,jb,zb;Ve()(Qt,Ch);var bh=eC.errorOrDestroy,Kb=["error","close","destroy","pause","resume"];function Qne(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function bF(e,t,r){fc=fc||af(),e=e||{},typeof r!="boolean"&&(r=t instanceof fc),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=mne(this,e,"readableHighWaterMark",r),this.buffer=new Ene,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=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(uc||(uc=ff().StringDecoder),this.decoder=new uc(e.encoding),this.encoding=e.encoding)}function Qt(e){if(fc=fc||af(),!(this instanceof Qt))return new Qt(e);var t=this instanceof fc;this._readableState=new bF(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Ch.call(this)}Object.defineProperty(Qt.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});Qt.prototype.destroy=eC.destroy;Qt.prototype._undestroy=eC.undestroy;Qt.prototype._destroy=function(e,t){t(e)};Qt.prototype.push=function(e,t){var r=this._readableState,n;return r.objectMode?n=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=Np.from(e,t),t=""),n=!0),CF(this,e,t,!1,n)};Qt.prototype.unshift=function(e){return CF(this,e,null,!0,!1)};function CF(e,t,r,n,i){dt("readableAddChunk",t);var s=e._readableState;if(t===null)s.reading=!1,_ne(e,s);else{var o;if(i||(o=wne(s,t)),o)bh(e,o);else if(s.objectMode||t&&t.length>0)if(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==Np.prototype&&(t=gne(t)),n)s.endEmitted?bh(e,new Cne):Xb(e,s,t,!0);else if(s.ended)bh(e,new Ine);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||t.length!==0?Xb(e,s,t,!1):$b(e,s)):Xb(e,s,t,!1)}else n||(s.reading=!1,$b(e,s))}return!s.ended&&(s.length<s.highWaterMark||s.length===0)}function Xb(e,t,r,n){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&Fp(e)),$b(e,t)}function wne(e,t){var r;return!pne(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new Bne("chunk",["string","Buffer","Uint8Array"],t)),r}Qt.prototype.isPaused=function(){return this._readableState.flowing===!1};Qt.prototype.setEncoding=function(e){uc||(uc=ff().StringDecoder);var t=new uc(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";r!==null;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),n!==""&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var mF=1073741824;function Sne(e){return e>=mF?e=mF:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function BF(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=Sne(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}Qt.prototype.read=function(e){dt("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return dt("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?Zb(this):Fp(this),null;if(e=BF(e,t),e===0&&t.ended)return t.length===0&&Zb(this),null;var n=t.needReadable;dt("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,dt("length less than watermark",n)),t.ended||t.reading?(n=!1,dt("reading or ended",n)):n&&(dt("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=BF(r,t)));var i;return e>0?i=SF(e,t):i=null,i===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&Zb(this)),i!==null&&this.emit("data",i),i};function _ne(e,t){if(dt("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?Fp(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,QF(e)))}}function Fp(e){var t=e._readableState;dt("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(dt("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(QF,e))}function QF(e){var t=e._readableState;dt("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,tC(e)}function $b(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(vne,e,t))}function vne(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(dt("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}Qt.prototype._read=function(e){bh(this,new bne("_read()"))};Qt.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1,dt("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,s=i?a:N;n.endEmitted?process.nextTick(s):r.once("end",s),e.on("unpipe",o);function o(P,U){dt("onunpipe"),P===r&&U&&U.hasUnpiped===!1&&(U.hasUnpiped=!0,l())}function a(){dt("onend"),e.end()}var A=Rne(r);e.on("drain",A);var f=!1;function l(){dt("cleanup"),e.removeListener("close",S),e.removeListener("finish",_),e.removeListener("drain",A),e.removeListener("error",B),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",N),r.removeListener("data",p),f=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&A()}r.on("data",p);function p(P){dt("ondata");var U=e.write(P);dt("dest.write",U),U===!1&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&_F(n.pipes,e)!==-1)&&!f&&(dt("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function B(P){dt("onerror",P),N(),e.removeListener("error",B),IF(e,"error")===0&&bh(e,P)}Qne(e,"error",B);function S(){e.removeListener("finish",_),N()}e.once("close",S);function _(){dt("onfinish"),e.removeListener("close",S),N()}e.once("finish",_);function N(){dt("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(dt("pipe resume"),r.resume()),e};function Rne(e){return function(){var r=e._readableState;dt("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&IF(e,"data")&&(r.flowing=!0,tC(e))}}Qt.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<i;s++)n[s].emit("unpipe",this,{hasUnpiped:!1});return this}var o=_F(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};Qt.prototype.on=function(e,t){var r=Ch.prototype.on.call(this,e,t),n=this._readableState;return e==="data"?(n.readableListening=this.listenerCount("readable")>0,n.flowing!==!1&&this.resume()):e==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,dt("on readable",n.length,n.reading),n.length?Fp(this):n.reading||process.nextTick(Dne,this)),r};Qt.prototype.addListener=Qt.prototype.on;Qt.prototype.removeListener=function(e,t){var r=Ch.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(wF,this),r};Qt.prototype.removeAllListeners=function(e){var t=Ch.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(wF,this),t};function wF(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function Dne(e){dt("readable nexttick read 0"),e.read(0)}Qt.prototype.resume=function(){var e=this._readableState;return e.flowing||(dt("resume"),e.flowing=!e.readableListening,Tne(this,e)),e.paused=!1,this};function Tne(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(Nne,e,t))}function Nne(e,t){dt("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),tC(e),t.flowing&&!t.reading&&e.read(0)}Qt.prototype.pause=function(){return dt("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(dt("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function tC(e){var t=e._readableState;for(dt("flow",t.flowing);t.flowing&&e.read()!==null;);}Qt.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(dt("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o)}t.push(null)}),e.on("data",function(o){if(dt("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var a=t.push(o);a||(n=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=(function(a){return function(){return e[a].apply(e,arguments)}})(i));for(var s=0;s<Kb.length;s++)e.on(Kb[s],this.emit.bind(this,Kb[s]));return this._read=function(o){dt("wrapped _read",o),n&&(n=!1,e.resume())},this};typeof Symbol=="function"&&(Qt.prototype[Symbol.asyncIterator]=function(){return jb===void 0&&(jb=pF()),jb(this)});Object.defineProperty(Qt.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(Qt.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(Qt.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});Qt._fromList=SF;Object.defineProperty(Qt.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function SF(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function Zb(e){var t=e._readableState;dt("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(Mne,t,e))}function Mne(e,t){if(dt("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(Qt.from=function(e,t){return zb===void 0&&(zb=yF()),zb(Qt,e,t)});function _F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var rC=x((MDe,DF)=>{"use strict";DF.exports=Jo;var kp=of().codes,Fne=kp.ERR_METHOD_NOT_IMPLEMENTED,kne=kp.ERR_MULTIPLE_CALLBACK,xne=kp.ERR_TRANSFORM_ALREADY_TRANSFORMING,Une=kp.ERR_TRANSFORM_WITH_LENGTH_0,xp=af();Ve()(Jo,xp);function Lne(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new kne);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Jo(e){if(!(this instanceof Jo))return new Jo(e);xp.call(this,e),this._transformState={afterTransform:Lne.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",Pne)}function Pne(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){RF(e,t,r)}):RF(this,null,null)}Jo.prototype.push=function(e,t){return this._transformState.needTransform=!1,xp.prototype.push.call(this,e,t)};Jo.prototype._transform=function(e,t,r){r(new Fne("_transform()"))};Jo.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Jo.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};Jo.prototype._destroy=function(e,t){xp.prototype._destroy.call(this,e,function(r){t(r)})};function RF(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Une;if(e._transformState.transforming)throw new xne;return e.push(null)}});var MF=x((FDe,NF)=>{"use strict";NF.exports=Qh;var TF=rC();Ve()(Qh,TF);function Qh(e){if(!(this instanceof Qh))return new Qh(e);TF.call(this,e)}Qh.prototype._transform=function(e,t,r){r(null,e)}});var LF=x((kDe,UF)=>{"use strict";var nC;function One(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var xF=of().codes,Hne=xF.ERR_MISSING_ARGS,qne=xF.ERR_STREAM_DESTROYED;function FF(e){if(e)throw e}function Gne(e){return e.setHeader&&typeof e.abort=="function"}function Yne(e,t,r,n){n=One(n);var i=!1;e.on("close",function(){i=!0}),nC===void 0&&(nC=Rp()),nC(e,{readable:t,writable:r},function(o){if(o)return n(o);i=!0,n()});var s=!1;return function(o){if(!i&&!s){if(s=!0,Gne(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new qne("pipe"))}}}function kF(e){e()}function Wne(e,t){return e.pipe(t)}function Vne(e){return!e.length||typeof e[e.length-1]!="function"?FF:e.pop()}function Jne(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Vne(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Hne("streams");var i,s=t.map(function(o,a){var A=a<t.length-1,f=a>0;return Yne(o,A,f,function(l){i||(i=l),l&&s.forEach(kF),!A&&(s.forEach(kF),n(i))})});return t.reduce(Wne)}UF.exports=Jne});var sC=x((xDe,PF)=>{PF.exports=di;var iC=es().EventEmitter,jne=Ve();jne(di,iC);di.Readable=qb();di.Writable=Pb();di.Duplex=af();di.Transform=rC();di.PassThrough=MF();di.finished=Rp();di.pipeline=LF();di.Stream=di;function di(){iC.call(this)}di.prototype.pipe=function(e,t){var r=this;function n(l){e.writable&&e.write(l)===!1&&r.pause&&r.pause()}r.on("data",n);function i(){r.readable&&r.resume&&r.resume()}e.on("drain",i),!e._isStdio&&(!t||t.end!==!1)&&(r.on("end",o),r.on("close",a));var s=!1;function o(){s||(s=!0,e.end())}function a(){s||(s=!0,typeof e.destroy=="function"&&e.destroy())}function A(l){if(f(),iC.listenerCount(this,"error")===0)throw l}r.on("error",A),e.on("error",A);function f(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",o),r.removeListener("close",a),r.removeListener("error",A),e.removeListener("error",A),r.removeListener("end",f),r.removeListener("close",f),e.removeListener("close",f)}return r.on("end",f),r.on("close",f),e.on("close",f),e.emit("pipe",r),e}});var Ht={};kI(Ht,{default:()=>Kne,finished:()=>qF,isDisturbed:()=>WF,isErrored:()=>YF,isReadable:()=>GF});var cc,HF,OF,Up,oC,zne,qF,GF,YF,WF,Kne,gi=wD(()=>{"use strict";cc=hr(sC());vn(Ht,hr(sC()));HF=cc.default??cc.default??{},OF=cc.finished??HF.finished,Up=e=>!!e&&typeof e.getReader=="function"&&typeof e.cancel=="function",oC=e=>!!e&&typeof e.getWriter=="function"&&typeof e.abort=="function",zne=e=>e instanceof Error?e:e==null?new Error("stream errored"):new Error(String(e)),qF=(e,t,r)=>{let n=t,i=r;if(typeof n=="function"&&(i=n,n={}),!Up(e)&&!oC(e)&&typeof OF=="function")return OF(e,n,i);let s=typeof i=="function"?i:()=>{},o=n?.readable!==!1,a=n?.writable!==!1,A=!1,f=null,l=()=>{A=!0,f!==null&&(clearTimeout(f),f=null)},p=(S=void 0)=>{A||(l(),queueMicrotask(()=>s(S)))},B=()=>{if(A)return;let S=e?._state;if(S==="errored"){p(zne(e?._storedError));return}if(S==="closed"||Up(e)&&!o||oC(e)&&!a){p();return}f=setTimeout(B,0)};return B(),l},GF=e=>Up(e)?e._state==="readable":!!e&&e.readable!==!1&&e.destroyed!==!0,YF=e=>Up(e)||oC(e)?e?._state==="errored":e?.errored!=null,WF=e=>!!(e?.locked||e?.disturbed===!0||e?._disturbed===!0||e?.readableDidRead===!0),Kne={...HF,finished:qF,isReadable:GF,isErrored:YF,isDisturbed:WF}});var VF=x(()=>{});var Rh=x((ODe,lk)=>{var pC=typeof Map=="function"&&Map.prototype,aC=Object.getOwnPropertyDescriptor&&pC?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Pp=pC&&aC&&typeof aC.get=="function"?aC.get:null,JF=pC&&Map.prototype.forEach,EC=typeof Set=="function"&&Set.prototype,AC=Object.getOwnPropertyDescriptor&&EC?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Op=EC&&AC&&typeof AC.get=="function"?AC.get:null,jF=EC&&Set.prototype.forEach,Xne=typeof WeakMap=="function"&&WeakMap.prototype,Sh=Xne?WeakMap.prototype.has:null,Zne=typeof WeakSet=="function"&&WeakSet.prototype,_h=Zne?WeakSet.prototype.has:null,$ne=typeof WeakRef=="function"&&WeakRef.prototype,zF=$ne?WeakRef.prototype.deref:null,eie=Boolean.prototype.valueOf,tie=Object.prototype.toString,rie=Function.prototype.toString,nie=String.prototype.match,yC=String.prototype.slice,tA=String.prototype.replace,iie=String.prototype.toUpperCase,KF=String.prototype.toLowerCase,sk=RegExp.prototype.test,XF=Array.prototype.concat,Ks=Array.prototype.join,sie=Array.prototype.slice,ZF=Math.floor,cC=typeof BigInt=="function"?BigInt.prototype.valueOf:null,fC=Object.getOwnPropertySymbols,lC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,lc=typeof Symbol=="function"&&typeof Symbol.iterator=="object",vh=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===lc||!0)?Symbol.toStringTag:null,ok=Object.prototype.propertyIsEnumerable,$F=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function ek(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||sk.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-ZF(-e):ZF(e);if(n!==e){var i=String(n),s=yC.call(t,i.length+1);return tA.call(i,r,"$&_")+"."+tA.call(tA.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return tA.call(t,r,"$&_")}var hC=VF(),tk=hC.custom,rk=fk(tk)?tk:null,ak={__proto__:null,double:'"',single:"'"},oie={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};lk.exports=function e(t,r,n,i){var s=r||{};if(jo(s,"quoteStyle")&&!jo(ak,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(jo(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=jo(s,"customInspect")?s.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(jo(s,"indent")&&s.indent!==null&&s.indent!==" "&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(jo(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=s.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return ck(t,s);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var A=String(t);return a?ek(t,A):A}if(typeof t=="bigint"){var f=String(t)+"n";return a?ek(t,f):f}var l=typeof s.depth>"u"?5:s.depth;if(typeof n>"u"&&(n=0),n>=l&&l>0&&typeof t=="object")return dC(t)?"[Array]":"[Object]";var p=Qie(s,n);if(typeof i>"u")i=[];else if(uk(i,t)>=0)return"[Circular]";function B(b,c,g){if(c&&(i=sie.call(i),i.push(c)),g){var w={depth:s.depth};return jo(s,"quoteStyle")&&(w.quoteStyle=s.quoteStyle),e(b,w,n+1,i)}return e(b,s,n+1,i)}if(typeof t=="function"&&!nk(t)){var S=gie(t),_=Lp(t,B);return"[Function"+(S?": "+S:" (anonymous)")+"]"+(_.length>0?" { "+Ks.call(_,", ")+" }":"")}if(fk(t)){var N=lc?tA.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):lC.call(t);return typeof t=="object"&&!lc?wh(N):N}if(Iie(t)){for(var P="<"+KF.call(String(t.nodeName)),U=t.attributes||[],G=0;G<U.length;G++)P+=" "+U[G].name+"="+Ak(aie(U[G].value),"double",s);return P+=">",t.childNodes&&t.childNodes.length&&(P+="..."),P+="</"+KF.call(String(t.nodeName))+">",P}if(dC(t)){if(t.length===0)return"[]";var Y=Lp(t,B);return p&&!Cie(Y)?"["+gC(Y,p)+"]":"[ "+Ks.call(Y,", ")+" ]"}if(fie(t)){var Z=Lp(t,B);return!("cause"in Error.prototype)&&"cause"in t&&!ok.call(t,"cause")?"{ ["+String(t)+"] "+Ks.call(XF.call("[cause]: "+B(t.cause),Z),", ")+" }":Z.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Ks.call(Z,", ")+" }"}if(typeof t=="object"&&o){if(rk&&typeof t[rk]=="function"&&hC)return hC(t,{depth:l-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(pie(t)){var ee=[];return JF&&JF.call(t,function(b,c){ee.push(B(c,t,!0)+" => "+B(b,t))}),ik("Map",Pp.call(t),ee,p)}if(mie(t)){var j=[];return jF&&jF.call(t,function(b){j.push(B(b,t))}),ik("Set",Op.call(t),j,p)}if(Eie(t))return uC("WeakMap");if(Bie(t))return uC("WeakSet");if(yie(t))return uC("WeakRef");if(cie(t))return wh(B(Number(t)));if(hie(t))return wh(B(cC.call(t)));if(lie(t))return wh(eie.call(t));if(uie(t))return wh(B(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof globalThis<"u"&&t===globalThis)return"{ [object globalThis] }";if(!Aie(t)&&!nk(t)){var se=Lp(t,B),ie=$F?$F(t)===Object.prototype:t instanceof Object||t.constructor===Object,ce=t instanceof Object?"":"null prototype",H=!ie&&vh&&Object(t)===t&&vh in t?yC.call(rA(t),8,-1):ce?"Object":"",E=ie||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",R=E+(H||ce?"["+Ks.call(XF.call([],H||[],ce||[]),": ")+"] ":"");return se.length===0?R+"{}":p?R+"{"+gC(se,p)+"}":R+"{ "+Ks.call(se,", ")+" }"}return String(t)};function Ak(e,t,r){var n=r.quoteStyle||t,i=ak[n];return i+e+i}function aie(e){return tA.call(String(e),/"/g,""")}function hf(e){return!vh||!(typeof e=="object"&&(vh in e||typeof e[vh]<"u"))}function dC(e){return rA(e)==="[object Array]"&&hf(e)}function Aie(e){return rA(e)==="[object Date]"&&hf(e)}function nk(e){return rA(e)==="[object RegExp]"&&hf(e)}function fie(e){return rA(e)==="[object Error]"&&hf(e)}function uie(e){return rA(e)==="[object String]"&&hf(e)}function cie(e){return rA(e)==="[object Number]"&&hf(e)}function lie(e){return rA(e)==="[object Boolean]"&&hf(e)}function fk(e){if(lc)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!lC)return!1;try{return lC.call(e),!0}catch{}return!1}function hie(e){if(!e||typeof e!="object"||!cC)return!1;try{return cC.call(e),!0}catch{}return!1}var die=Object.prototype.hasOwnProperty||function(e){return e in this};function jo(e,t){return die.call(e,t)}function rA(e){return tie.call(e)}function gie(e){if(e.name)return e.name;var t=nie.call(rie.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function uk(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function pie(e){if(!Pp||!e||typeof e!="object")return!1;try{Pp.call(e);try{Op.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function Eie(e){if(!Sh||!e||typeof e!="object")return!1;try{Sh.call(e,Sh);try{_h.call(e,_h)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function yie(e){if(!zF||!e||typeof e!="object")return!1;try{return zF.call(e),!0}catch{}return!1}function mie(e){if(!Op||!e||typeof e!="object")return!1;try{Op.call(e);try{Pp.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function Bie(e){if(!_h||!e||typeof e!="object")return!1;try{_h.call(e,_h);try{Sh.call(e,Sh)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function Iie(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function ck(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return ck(yC.call(e,0,t.maxStringLength),t)+n}var i=oie[t.quoteStyle||"single"];i.lastIndex=0;var s=tA.call(tA.call(e,i,"\\$1"),/[\x00-\x1f]/g,bie);return Ak(s,"single",t)}function bie(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+iie.call(t.toString(16))}function wh(e){return"Object("+e+")"}function uC(e){return e+" { ? }"}function ik(e,t,r,n){var i=n?gC(r,n):Ks.call(r,", ");return e+" ("+t+") {"+i+"}"}function Cie(e){for(var t=0;t<e.length;t++)if(uk(e[t],`
`)>=0)return!1;return!0}function Qie(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Ks.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Ks.call(Array(t+1),r)}}function gC(e,t){if(e.length===0)return"";var r=`
`+t.prev+t.base;return r+Ks.call(e,","+r)+`
`+t.prev}function Lp(e,t){var r=dC(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=jo(e,i)?t(e[i],e):""}var s=typeof fC=="function"?fC(e):[],o;if(lc){o={};for(var a=0;a<s.length;a++)o["$"+s[a]]=s[a]}for(var A in e)jo(e,A)&&(r&&String(Number(A))===A&&A<e.length||lc&&o["$"+A]instanceof Symbol||(sk.call(/[^\w$]/,A)?n.push(t(A,e)+": "+t(e[A],e)):n.push(A+": "+t(e[A],e))));if(typeof fC=="function")for(var f=0;f<s.length;f++)ok.call(e,s[f])&&n.push("["+t(s[f])+"]: "+t(e[s[f]],e));return n}});var dk=x((HDe,hk)=>{"use strict";var wie=Rh(),Sie=ts(),Hp=function(e,t,r){for(var n=e,i;(i=n.next)!=null;n=i)if(i.key===t)return n.next=i.next,r||(i.next=e.next,e.next=i),i},_ie=function(e,t){if(e){var r=Hp(e,t);return r&&r.value}},vie=function(e,t,r){var n=Hp(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},Rie=function(e,t){return e?!!Hp(e,t):!1},Die=function(e,t){if(e)return Hp(e,t,!0)};hk.exports=function(){var t,r={assert:function(n){if(!r.has(n))throw new Sie("Side channel does not contain "+wie(n))},delete:function(n){var i=t&&t.next,s=Die(t,n);return s&&i&&i===s&&(t=void 0),!!s},get:function(n){return _ie(t,n)},has:function(n){return Rie(t,n)},set:function(n,i){t||(t={next:void 0}),vie(t,n,i)}};return r}});var mC=x((qDe,pk)=>{"use strict";var Tie=rc(),Dh=Js(),Nie=Rh(),Mie=ts(),gk=Tie("%Map%",!0),Fie=Dh("Map.prototype.get",!0),kie=Dh("Map.prototype.set",!0),xie=Dh("Map.prototype.has",!0),Uie=Dh("Map.prototype.delete",!0),Lie=Dh("Map.prototype.size",!0);pk.exports=!!gk&&function(){var t,r={assert:function(n){if(!r.has(n))throw new Mie("Side channel does not contain "+Nie(n))},delete:function(n){if(t){var i=Uie(t,n);return Lie(t)===0&&(t=void 0),i}return!1},get:function(n){if(t)return Fie(t,n)},has:function(n){return t?xie(t,n):!1},set:function(n,i){t||(t=new gk),kie(t,n,i)}};return r}});var yk=x((GDe,Ek)=>{"use strict";var Pie=rc(),Gp=Js(),Oie=Rh(),qp=mC(),Hie=ts(),hc=Pie("%WeakMap%",!0),qie=Gp("WeakMap.prototype.get",!0),Gie=Gp("WeakMap.prototype.set",!0),Yie=Gp("WeakMap.prototype.has",!0),Wie=Gp("WeakMap.prototype.delete",!0);Ek.exports=hc?function(){var t,r,n={assert:function(i){if(!n.has(i))throw new Hie("Side channel does not contain "+Oie(i))},delete:function(i){if(hc&&i&&(typeof i=="object"||typeof i=="function")){if(t)return Wie(t,i)}else if(qp&&r)return r.delete(i);return!1},get:function(i){return hc&&i&&(typeof i=="object"||typeof i=="function")&&t?qie(t,i):r&&r.get(i)},has:function(i){return hc&&i&&(typeof i=="object"||typeof i=="function")&&t?Yie(t,i):!!r&&r.has(i)},set:function(i,s){hc&&i&&(typeof i=="object"||typeof i=="function")?(t||(t=new hc),Gie(t,i,s)):qp&&(r||(r=qp()),r.set(i,s))}};return n}:qp});var BC=x((YDe,mk)=>{"use strict";var Vie=ts(),Jie=Rh(),jie=dk(),zie=mC(),Kie=yk(),Xie=Kie||zie||jie;mk.exports=function(){var t,r={assert:function(n){if(!r.has(n))throw new Vie("Side channel does not contain "+Jie(n))},delete:function(n){return!!t&&t.delete(n)},get:function(n){return t&&t.get(n)},has:function(n){return!!t&&t.has(n)},set:function(n,i){t||(t=Xie()),t.set(n,i)}};return r}});var Yp=x((WDe,Bk)=>{"use strict";var Zie=String.prototype.replace,$ie=/%20/g,IC={RFC1738:"RFC1738",RFC3986:"RFC3986"};Bk.exports={default:IC.RFC3986,formatters:{RFC1738:function(e){return Zie.call(e,$ie,"+")},RFC3986:function(e){return String(e)}},RFC1738:IC.RFC1738,RFC3986:IC.RFC3986}});var wC=x((VDe,Ik)=>{"use strict";var ese=Yp(),tse=BC(),bC=Object.prototype.hasOwnProperty,df=Array.isArray,Wp=tse(),dc=function(t,r){return Wp.set(t,r),t},gf=function(t){return Wp.has(t)},Th=function(t){return Wp.get(t)},QC=function(t,r){Wp.set(t,r)},Xs=(function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e})(),rse=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(df(n)){for(var i=[],s=0;s<n.length;++s)typeof n[s]<"u"&&(i[i.length]=n[s]);r.obj[r.prop]=i}}},Nh=function(t,r){for(var n=r&&r.plainObjects?{__proto__:null}:{},i=0;i<t.length;++i)typeof t[i]<"u"&&(n[i]=t[i]);return n},nse=function e(t,r,n){if(!r)return t;if(typeof r!="object"&&typeof r!="function"){if(df(t)){var i=t.length;if(n&&typeof n.arrayLimit=="number"&&i>n.arrayLimit)return dc(Nh(t.concat(r),n),i);t[i]=r}else if(t&&typeof t=="object")if(gf(t)){var s=Th(t)+1;t[s]=r,QC(t,s)}else{if(n&&n.strictMerge)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!bC.call(Object.prototype,r))&&(t[r]=!0)}else return[t,r];return t}if(!t||typeof t!="object"){if(gf(r)){for(var o=Object.keys(r),a=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},A=0;A<o.length;A++){var f=parseInt(o[A],10);a[f+1]=r[o[A]]}return dc(a,Th(r)+1)}var l=[t].concat(r);return n&&typeof n.arrayLimit=="number"&&l.length>n.arrayLimit?dc(Nh(l,n),l.length-1):l}var p=t;return df(t)&&!df(r)&&(p=Nh(t,n)),df(t)&&df(r)?(r.forEach(function(B,S){if(bC.call(t,S)){var _=t[S];_&&typeof _=="object"&&B&&typeof B=="object"?t[S]=e(_,B,n):t[t.length]=B}else t[S]=B}),t):Object.keys(r).reduce(function(B,S){var _=r[S];if(bC.call(B,S)?B[S]=e(B[S],_,n):B[S]=_,gf(r)&&!gf(B)&&dc(B,Th(r)),gf(B)){var N=parseInt(S,10);String(N)===S&&N>=0&&N>Th(B)&&QC(B,N)}return B},p)},ise=function(t,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},t)},sse=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},CC=1024,ose=function(t,r,n,i,s){if(t.length===0)return t;var o=t;if(typeof t=="symbol"?o=Symbol.prototype.toString.call(t):typeof t!="string"&&(o=String(t)),n==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(S){return"%26%23"+parseInt(S.slice(2),16)+"%3B"});for(var a="",A=0;A<o.length;A+=CC){for(var f=o.length>=CC?o.slice(A,A+CC):o,l=[],p=0;p<f.length;++p){var B=f.charCodeAt(p);if(B===45||B===46||B===95||B===126||B>=48&&B<=57||B>=65&&B<=90||B>=97&&B<=122||s===ese.RFC1738&&(B===40||B===41)){l[l.length]=f.charAt(p);continue}if(B<128){l[l.length]=Xs[B];continue}if(B<2048){l[l.length]=Xs[192|B>>6]+Xs[128|B&63];continue}if(B<55296||B>=57344){l[l.length]=Xs[224|B>>12]+Xs[128|B>>6&63]+Xs[128|B&63];continue}p+=1,B=65536+((B&1023)<<10|f.charCodeAt(p)&1023),l[l.length]=Xs[240|B>>18]+Xs[128|B>>12&63]+Xs[128|B>>6&63]+Xs[128|B&63]}a+=l.join("")}return a},ase=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],i=0;i<r.length;++i)for(var s=r[i],o=s.obj[s.prop],a=Object.keys(o),A=0;A<a.length;++A){var f=a[A],l=o[f];typeof l=="object"&&l!==null&&n.indexOf(l)===-1&&(r[r.length]={obj:o,prop:f},n[n.length]=l)}return rse(r),t},Ase=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},fse=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},use=function(t,r,n,i){if(gf(t)){var s=Th(t)+1;return t[s]=r,QC(t,s),t}var o=[].concat(t,r);return o.length>n?dc(Nh(o,{plainObjects:i}),o.length-1):o},cse=function(t,r){if(df(t)){for(var n=[],i=0;i<t.length;i+=1)n[n.length]=r(t[i]);return n}return r(t)};Ik.exports={arrayToObject:Nh,assign:ise,combine:use,compact:ase,decode:sse,encode:ose,isBuffer:fse,isOverflow:gf,isRegExp:Ase,markOverflow:dc,maybeMap:cse,merge:nse}});var _k=x((JDe,Sk)=>{"use strict";var Ck=BC(),Vp=wC(),Mh=Yp(),lse=Object.prototype.hasOwnProperty,Qk={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},Zs=Array.isArray,hse=Array.prototype.push,wk=function(e,t){hse.apply(e,Zs(t)?t:[t])},dse=Date.prototype.toISOString,bk=Mh.default,Sr={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Vp.encode,encodeValuesOnly:!1,filter:void 0,format:bk,formatter:Mh.formatters[bk],indices:!1,serializeDate:function(t){return dse.call(t)},skipNulls:!1,strictNullHandling:!1},gse=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},SC={},pse=function e(t,r,n,i,s,o,a,A,f,l,p,B,S,_,N,P,U,G){for(var Y=t,Z=G,ee=0,j=!1;(Z=Z.get(SC))!==void 0&&!j;){var se=Z.get(t);if(ee+=1,typeof se<"u"){if(se===ee)throw new RangeError("Cyclic object value");j=!0}typeof Z.get(SC)>"u"&&(ee=0)}if(typeof l=="function"?Y=l(r,Y):Y instanceof Date?Y=S(Y):n==="comma"&&Zs(Y)&&(Y=Vp.maybeMap(Y,function(D){return D instanceof Date?S(D):D})),Y===null){if(o)return f&&!P?f(r,Sr.encoder,U,"key",_):r;Y=""}if(gse(Y)||Vp.isBuffer(Y)){if(f){var ie=P?r:f(r,Sr.encoder,U,"key",_);return[N(ie)+"="+N(f(Y,Sr.encoder,U,"value",_))]}return[N(r)+"="+N(String(Y))]}var ce=[];if(typeof Y>"u")return ce;var H;if(n==="comma"&&Zs(Y))P&&f&&(Y=Vp.maybeMap(Y,f)),H=[{value:Y.length>0?Y.join(",")||null:void 0}];else if(Zs(l))H=l;else{var E=Object.keys(Y);H=p?E.sort(p):E}var R=A?String(r).replace(/\./g,"%2E"):String(r),b=i&&Zs(Y)&&Y.length===1?R+"[]":R;if(s&&Zs(Y)&&Y.length===0)return b+"[]";for(var c=0;c<H.length;++c){var g=H[c],w=typeof g=="object"&&g&&typeof g.value<"u"?g.value:Y[g];if(!(a&&w===null)){var v=B&&A?String(g).replace(/\./g,"%2E"):String(g),C=Zs(Y)?typeof n=="function"?n(b,v):b:b+(B?"."+v:"["+v+"]");G.set(t,ee);var h=Ck();h.set(SC,G),wk(ce,e(w,C,n,i,s,o,a,A,n==="comma"&&P&&Zs(Y)?null:f,l,p,B,S,_,N,P,U,h))}}return ce},Ese=function(t){if(!t)return Sr;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.encodeDotInKeys<"u"&&typeof t.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||Sr.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Mh.default;if(typeof t.format<"u"){if(!lse.call(Mh.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var i=Mh.formatters[n],s=Sr.filter;(typeof t.filter=="function"||Zs(t.filter))&&(s=t.filter);var o;if(t.arrayFormat in Qk?o=t.arrayFormat:"indices"in t?o=t.indices?"indices":"repeat":o=Sr.arrayFormat,"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=typeof t.allowDots>"u"?t.encodeDotInKeys===!0?!0:Sr.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Sr.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Sr.allowEmptyArrays,arrayFormat:o,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Sr.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?Sr.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Sr.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:Sr.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:Sr.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Sr.encodeValuesOnly,filter:s,format:n,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Sr.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Sr.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Sr.strictNullHandling}};Sk.exports=function(e,t){var r=e,n=Ese(t),i,s;typeof n.filter=="function"?(s=n.filter,r=s("",r)):Zs(n.filter)&&(s=n.filter,i=s);var o=[];if(typeof r!="object"||r===null)return"";var a=Qk[n.arrayFormat],A=a==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var f=Ck(),l=0;l<i.length;++l){var p=i[l],B=r[p];n.skipNulls&&B===null||wk(o,pse(B,p,a,A,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,f))}var S=o.join(n.delimiter),_=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),S.length>0?_+S:""}});var Dk=x((jDe,Rk)=>{"use strict";var $s=wC(),Jp=Object.prototype.hasOwnProperty,_C=Array.isArray,sr={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:$s.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},yse=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},vk=function(e,t,r){if(e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");return e},mse="utf8=%26%2310003%3B",Bse="utf8=%E2%9C%93",Ise=function(t,r){var n={__proto__:null},i=r.ignoreQueryPrefix?t.replace(/^\?/,""):t;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var s=r.parameterLimit===1/0?void 0:r.parameterLimit,o=i.split(r.delimiter,r.throwOnLimitExceeded?s+1:s);if(r.throwOnLimitExceeded&&o.length>s)throw new RangeError("Parameter limit exceeded. Only "+s+" parameter"+(s===1?"":"s")+" allowed.");var a=-1,A,f=r.charset;if(r.charsetSentinel)for(A=0;A<o.length;++A)o[A].indexOf("utf8=")===0&&(o[A]===Bse?f="utf-8":o[A]===mse&&(f="iso-8859-1"),a=A,A=o.length);for(A=0;A<o.length;++A)if(A!==a){var l=o[A],p=l.indexOf("]="),B=p===-1?l.indexOf("="):p+1,S,_;if(B===-1?(S=r.decoder(l,sr.decoder,f,"key"),_=r.strictNullHandling?null:""):(S=r.decoder(l.slice(0,B),sr.decoder,f,"key"),S!==null&&(_=$s.maybeMap(vk(l.slice(B+1),r,_C(n[S])?n[S].length:0),function(P){return r.decoder(P,sr.decoder,f,"value")}))),_&&r.interpretNumericEntities&&f==="iso-8859-1"&&(_=yse(String(_))),l.indexOf("[]=")>-1&&(_=_C(_)?[_]:_),r.comma&&_C(_)&&_.length>r.arrayLimit){if(r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(r.arrayLimit===1?"":"s")+" allowed in an array.");_=$s.combine([],_,r.arrayLimit,r.plainObjects)}if(S!==null){var N=Jp.call(n,S);N&&(r.duplicates==="combine"||l.indexOf("[]=")>-1)?n[S]=$s.combine(n[S],_,r.arrayLimit,r.plainObjects):(!N||r.duplicates==="last")&&(n[S]=_)}}return n},bse=function(e,t,r,n){var i=0;if(e.length>0&&e[e.length-1]==="[]"){var s=e.slice(0,-1).join("");i=Array.isArray(t)&&t[s]?t[s].length:0}for(var o=n?t:vk(t,r,i),a=e.length-1;a>=0;--a){var A,f=e[a];if(f==="[]"&&r.parseArrays)$s.isOverflow(o)?A=o:A=r.allowEmptyArrays&&(o===""||r.strictNullHandling&&o===null)?[]:$s.combine([],o,r.arrayLimit,r.plainObjects);else{A=r.plainObjects?{__proto__:null}:{};var l=f.charAt(0)==="["&&f.charAt(f.length-1)==="]"?f.slice(1,-1):f,p=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,B=parseInt(p,10),S=!isNaN(B)&&f!==p&&String(B)===p&&B>=0&&r.parseArrays;if(!r.parseArrays&&p==="")A={0:o};else if(S&&B<r.arrayLimit)A=[],A[B]=o;else{if(S&&r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(r.arrayLimit===1?"":"s")+" allowed in an array.");S?(A[B]=o,$s.markOverflow(A,B)):p!=="__proto__"&&(A[p]=o)}}o=A}return o},Cse=function(t,r){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t;if(r.depth<=0)return!r.plainObjects&&Jp.call(Object.prototype,n)&&!r.allowPrototypes?void 0:[n];var i=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,o=i.exec(n),a=o?n.slice(0,o.index):n,A=[];if(a){if(!r.plainObjects&&Jp.call(Object.prototype,a)&&!r.allowPrototypes)return;A[A.length]=a}for(var f=0;(o=s.exec(n))!==null&&f<r.depth;){f+=1;var l=o[1].slice(1,-1);if(!r.plainObjects&&Jp.call(Object.prototype,l)&&!r.allowPrototypes)return;A[A.length]=o[1]}if(o){if(r.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");A[A.length]="["+n.slice(o.index)+"]"}return A},Qse=function(t,r,n,i){if(t){var s=Cse(t,n);if(s)return bse(s,r,n,i)}},wse=function(t){if(!t)return sr;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.decodeDotInKeys<"u"&&typeof t.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(t.decoder!==null&&typeof t.decoder<"u"&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof t.throwOnLimitExceeded<"u"&&typeof t.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var r=typeof t.charset>"u"?sr.charset:t.charset,n=typeof t.duplicates>"u"?sr.duplicates:t.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:sr.allowDots:!!t.allowDots;return{allowDots:i,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:sr.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:sr.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:sr.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:sr.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:sr.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:sr.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:sr.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:sr.decoder,delimiter:typeof t.delimiter=="string"||$s.isRegExp(t.delimiter)?t.delimiter:sr.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:sr.depth,duplicates:n,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:sr.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:sr.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:sr.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:sr.strictDepth,strictMerge:typeof t.strictMerge=="boolean"?!!t.strictMerge:sr.strictMerge,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:sr.strictNullHandling,throwOnLimitExceeded:typeof t.throwOnLimitExceeded=="boolean"?t.throwOnLimitExceeded:!1}};Rk.exports=function(e,t){var r=wse(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?{__proto__:null}:{};for(var n=typeof e=="string"?Ise(e,r):e,i=r.plainObjects?{__proto__:null}:{},s=Object.keys(n),o=0;o<s.length;++o){var a=s[o],A=Qse(a,n[a],r,typeof e=="string");i=$s.merge(i,A,r)}return r.allowSparse===!0?i:$s.compact(i)}});var Nk=x((zDe,Tk)=>{"use strict";var Sse=_k(),_se=Dk(),vse=Yp();Tk.exports={formats:vse,parse:_se,stringify:Sse}});var xk=x(pc=>{"use strict";var Rse=jI();function pi(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var Dse=/^([a-z0-9.+-]+:)/i,Tse=/:[0-9]*$/,Nse=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,Mse=["<",">",'"',"`"," ","\r",`
`," "],Fse=["{","}","|","\\","^","`"].concat(Mse),vC=["'"].concat(Fse),Mk=["%","/","?",";","#"].concat(vC),Fk=["/","?","#"],kse=255,kk=/^[+a-z0-9A-Z_-]{0,63}$/,xse=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Use={javascript:!0,"javascript:":!0},RC={javascript:!0,"javascript:":!0},gc={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},DC=Nk();function Fh(e,t,r){if(e&&typeof e=="object"&&e instanceof pi)return e;var n=new pi;return n.parse(e,t,r),n}pi.prototype.parse=function(e,t,r){if(typeof e!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),i=n!==-1&&n<e.indexOf("#")?"?":"#",s=e.split(i),o=/\\/g;s[0]=s[0].replace(o,"/"),e=s.join(i);var a=e;if(a=a.trim(),!r&&e.split("#").length===1){var A=Nse.exec(a);if(A)return this.path=a,this.href=a,this.pathname=A[1],A[2]?(this.search=A[2],t?this.query=DC.parse(this.search.substr(1)):this.query=this.search.substr(1)):t&&(this.search="",this.query={}),this}var f=Dse.exec(a);if(f){f=f[0];var l=f.toLowerCase();this.protocol=l,a=a.substr(f.length)}if(r||f||a.match(/^\/\/[^@/]+@[^@/]+/)){var p=a.substr(0,2)==="//";p&&!(f&&RC[f])&&(a=a.substr(2),this.slashes=!0)}if(!RC[f]&&(p||f&&!gc[f])){for(var B=-1,S=0;S<Fk.length;S++){var _=a.indexOf(Fk[S]);_!==-1&&(B===-1||_<B)&&(B=_)}var N,P;B===-1?P=a.lastIndexOf("@"):P=a.lastIndexOf("@",B),P!==-1&&(N=a.slice(0,P),a=a.slice(P+1),this.auth=decodeURIComponent(N)),B=-1;for(var S=0;S<Mk.length;S++){var _=a.indexOf(Mk[S]);_!==-1&&(B===-1||_<B)&&(B=_)}B===-1&&(B=a.length),this.host=a.slice(0,B),a=a.slice(B),this.parseHost(),this.hostname=this.hostname||"";var U=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!U)for(var G=this.hostname.split(/\./),S=0,Y=G.length;S<Y;S++){var Z=G[S];if(Z&&!Z.match(kk)){for(var ee="",j=0,se=Z.length;j<se;j++)Z.charCodeAt(j)>127?ee+="x":ee+=Z[j];if(!ee.match(kk)){var ie=G.slice(0,S),ce=G.slice(S+1),H=Z.match(xse);H&&(ie.push(H[1]),ce.unshift(H[2])),ce.length&&(a="/"+ce.join(".")+a),this.hostname=ie.join(".");break}}}this.hostname.length>kse?this.hostname="":this.hostname=this.hostname.toLowerCase(),U||(this.hostname=Rse.toASCII(this.hostname));var E=this.port?":"+this.port:"",R=this.hostname||"";this.host=R+E,this.href+=this.host,U&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),a[0]!=="/"&&(a="/"+a))}if(!Use[l])for(var S=0,Y=vC.length;S<Y;S++){var b=vC[S];if(a.indexOf(b)!==-1){var c=encodeURIComponent(b);c===b&&(c=escape(b)),a=a.split(b).join(c)}}var g=a.indexOf("#");g!==-1&&(this.hash=a.substr(g),a=a.slice(0,g));var w=a.indexOf("?");if(w!==-1?(this.search=a.substr(w),this.query=a.substr(w+1),t&&(this.query=DC.parse(this.query)),a=a.slice(0,w)):t&&(this.search="",this.query={}),a&&(this.pathname=a),gc[l]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var E=this.pathname||"",v=this.search||"";this.path=E+v}return this.href=this.format(),this};function Lse(e){return typeof e=="string"&&(e=Fh(e)),e instanceof pi?e.format():pi.prototype.format.call(e)}pi.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,s="";this.host?i=e+this.host:this.hostname&&(i=e+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(s=DC.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var o=this.search||s&&"?"+s||"";return t&&t.substr(-1)!==":"&&(t+=":"),this.slashes||(!t||gc[t])&&i!==!1?(i="//"+(i||""),r&&r.charAt(0)!=="/"&&(r="/"+r)):i||(i=""),n&&n.charAt(0)!=="#"&&(n="#"+n),o&&o.charAt(0)!=="?"&&(o="?"+o),r=r.replace(/[?#]/g,function(a){return encodeURIComponent(a)}),o=o.replace("#","%23"),t+i+r+o+n};function Pse(e,t){return Fh(e,!1,!0).resolve(t)}pi.prototype.resolve=function(e){return this.resolveObject(Fh(e,!1,!0)).format()};function Ose(e,t){return e?Fh(e,!1,!0).resolveObject(t):t}pi.prototype.resolveObject=function(e){if(typeof e=="string"){var t=new pi;t.parse(e,!1,!0),e=t}for(var r=new pi,n=Object.keys(this),i=0;i<n.length;i++){var s=n[i];r[s]=this[s]}if(r.hash=e.hash,e.href==="")return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var o=Object.keys(e),a=0;a<o.length;a++){var A=o[a];A!=="protocol"&&(r[A]=e[A])}return gc[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!gc[e.protocol]){for(var f=Object.keys(e),l=0;l<f.length;l++){var p=f[l];r[p]=e[p]}return r.href=r.format(),r}if(r.protocol=e.protocol,!e.host&&!RC[e.protocol]){for(var Y=(e.pathname||"").split("/");Y.length&&!(e.host=Y.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),Y[0]!==""&&Y.unshift(""),Y.length<2&&Y.unshift(""),r.pathname=Y.join("/")}else r.pathname=e.pathname;if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var B=r.pathname||"",S=r.search||"";r.path=B+S}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var _=r.pathname&&r.pathname.charAt(0)==="/",N=e.host||e.pathname&&e.pathname.charAt(0)==="/",P=N||_||r.host&&e.pathname,U=P,G=r.pathname&&r.pathname.split("/")||[],Y=e.pathname&&e.pathname.split("/")||[],Z=r.protocol&&!gc[r.protocol];if(Z&&(r.hostname="",r.port=null,r.host&&(G[0]===""?G[0]=r.host:G.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(Y[0]===""?Y[0]=e.host:Y.unshift(e.host)),e.host=null),P=P&&(Y[0]===""||G[0]==="")),N)r.host=e.host||e.host===""?e.host:r.host,r.hostname=e.hostname||e.hostname===""?e.hostname:r.hostname,r.search=e.search,r.query=e.query,G=Y;else if(Y.length)G||(G=[]),G.pop(),G=G.concat(Y),r.search=e.search,r.query=e.query;else if(e.search!=null){if(Z){r.host=G.shift(),r.hostname=r.host;var ee=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;ee&&(r.auth=ee.shift(),r.hostname=ee.shift(),r.host=r.hostname)}return r.search=e.search,r.query=e.query,(r.pathname!==null||r.search!==null)&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!G.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var j=G.slice(-1)[0],se=(r.host||e.host||G.length>1)&&(j==="."||j==="..")||j==="",ie=0,ce=G.length;ce>=0;ce--)j=G[ce],j==="."?G.splice(ce,1):j===".."?(G.splice(ce,1),ie++):ie&&(G.splice(ce,1),ie--);if(!P&&!U)for(;ie--;ie)G.unshift("..");P&&G[0]!==""&&(!G[0]||G[0].charAt(0)!=="/")&&G.unshift(""),se&&G.join("/").substr(-1)!=="/"&&G.push("");var H=G[0]===""||G[0]&&G[0].charAt(0)==="/";if(Z){r.hostname=H?"":G.length?G.shift():"",r.host=r.hostname;var ee=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;ee&&(r.auth=ee.shift(),r.hostname=ee.shift(),r.host=r.hostname)}return P=P||r.host&&G.length,P&&!H&&G.unshift(""),G.length>0?r.pathname=G.join("/"):(r.pathname=null,r.path=null),(r.pathname!==null||r.search!==null)&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r};pi.prototype.parseHost=function(){var e=this.host,t=Tse.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};pc.parse=Fh;pc.resolve=Pse;pc.resolveObject=Ose;pc.format=Lse;pc.Url=pi});var Lk=x((jp,Uk)=>{(function(e,t){typeof jp=="object"&&typeof Uk<"u"?t(jp):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.WebStreamsPolyfill={}))})(jp,(function(e){"use strict";function t(){}function r(u){return typeof u=="object"&&u!==null||typeof u=="function"}let n=t;function i(u,d){try{Object.defineProperty(u,"name",{value:d,configurable:!0})}catch{}}let s=Promise,o=Promise.prototype.then,a=Promise.reject.bind(s);function A(u){return new s(u)}function f(u){return A(d=>d(u))}function l(u){return a(u)}function p(u,d,T){return o.call(u,d,T)}function B(u,d,T){p(p(u,d,T),void 0,n)}function S(u,d){B(u,d)}function _(u,d){B(u,void 0,d)}function N(u,d,T){return p(u,d,T)}function P(u){p(u,void 0,n)}let U=u=>{if(typeof queueMicrotask=="function")U=queueMicrotask;else{let d=f(void 0);U=T=>p(d,T)}return U(u)};function G(u,d,T){if(typeof u!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(u,d,T)}function Y(u,d,T){try{return f(G(u,d,T))}catch(O){return l(O)}}let Z=16384;class ee{constructor(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}get length(){return this._size}push(d){let T=this._back,O=T;T._elements.length===Z-1&&(O={_elements:[],_next:void 0}),T._elements.push(d),O!==T&&(this._back=O,T._next=O),++this._size}shift(){let d=this._front,T=d,O=this._cursor,J=O+1,re=d._elements,oe=re[O];return J===Z&&(T=d._next,J=0),--this._size,this._cursor=J,d!==T&&(this._front=T),re[O]=void 0,oe}forEach(d){let T=this._cursor,O=this._front,J=O._elements;for(;(T!==J.length||O._next!==void 0)&&!(T===J.length&&(O=O._next,J=O._elements,T=0,J.length===0));)d(J[T]),++T}peek(){let d=this._front,T=this._cursor;return d._elements[T]}}let j=Symbol("[[AbortSteps]]"),se=Symbol("[[ErrorSteps]]"),ie=Symbol("[[CancelSteps]]"),ce=Symbol("[[PullSteps]]"),H=Symbol("[[ReleaseSteps]]");function E(u,d){u._ownerReadableStream=d,d._reader=u,d._state==="readable"?g(u):d._state==="closed"?v(u):w(u,d._storedError)}function R(u,d){let T=u._ownerReadableStream;return Xi(T,d)}function b(u){let d=u._ownerReadableStream;d._state==="readable"?C(u,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):h(u,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),d._readableStreamController[H](),d._reader=void 0,u._ownerReadableStream=void 0}function c(u){return new TypeError("Cannot "+u+" a stream using a released reader")}function g(u){u._closedPromise=A((d,T)=>{u._closedPromise_resolve=d,u._closedPromise_reject=T})}function w(u,d){g(u),C(u,d)}function v(u){g(u),D(u)}function C(u,d){u._closedPromise_reject!==void 0&&(P(u._closedPromise),u._closedPromise_reject(d),u._closedPromise_resolve=void 0,u._closedPromise_reject=void 0)}function h(u,d){w(u,d)}function D(u){u._closedPromise_resolve!==void 0&&(u._closedPromise_resolve(void 0),u._closedPromise_resolve=void 0,u._closedPromise_reject=void 0)}let M=Number.isFinite||function(u){return typeof u=="number"&&isFinite(u)},I=Math.trunc||function(u){return u<0?Math.ceil(u):Math.floor(u)};function k(u){return typeof u=="object"||typeof u=="function"}function ne(u,d){if(u!==void 0&&!k(u))throw new TypeError(`${d} is not an object.`)}function Ae(u,d){if(typeof u!="function")throw new TypeError(`${d} is not a function.`)}function ue(u){return typeof u=="object"&&u!==null||typeof u=="function"}function pe(u,d){if(!ue(u))throw new TypeError(`${d} is not an object.`)}function he(u,d,T){if(u===void 0)throw new TypeError(`Parameter ${d} is required in '${T}'.`)}function de(u,d,T){if(u===void 0)throw new TypeError(`${d} is required in '${T}'.`)}function wt(u){return Number(u)}function Ie(u){return u===0?0:u}function be(u){return Ie(I(u))}function yr(u,d){let O=Number.MAX_SAFE_INTEGER,J=Number(u);if(J=Ie(J),!M(J))throw new TypeError(`${d} is not a finite number`);if(J=be(J),J<0||J>O)throw new TypeError(`${d} is outside the accepted range of 0 to ${O}, inclusive`);return!M(J)||J===0?0:J}function we(u,d){if(!Ya(u))throw new TypeError(`${d} is not a ReadableStream.`)}function ve(u){return new Te(u)}function Fs(u,d){u._reader._readRequests.push(d)}function Ye(u,d,T){let J=u._reader._readRequests.shift();T?J._closeSteps():J._chunkSteps(d)}function xe(u){return u._reader._readRequests.length}function ks(u){let d=u._reader;return!(d===void 0||!De(d))}class Te{constructor(d){if(he(d,1,"ReadableStreamDefaultReader"),we(d,"First parameter"),Wa(d))throw new TypeError("This stream has already been locked for exclusive reading by another reader");E(this,d),this._readRequests=new ee}get closed(){return De(this)?this._closedPromise:l(ai("closed"))}cancel(d=void 0){return De(this)?this._ownerReadableStream===void 0?l(c("cancel")):R(this,d):l(ai("cancel"))}read(){if(!De(this))return l(ai("read"));if(this._ownerReadableStream===void 0)return l(c("read from"));let d,T,O=A((re,oe)=>{d=re,T=oe});return en(this,{_chunkSteps:re=>d({value:re,done:!1}),_closeSteps:()=>d({value:void 0,done:!0}),_errorSteps:re=>T(re)}),O}releaseLock(){if(!De(this))throw ai("releaseLock");this._ownerReadableStream!==void 0&&Re(this)}}Object.defineProperties(Te.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),i(Te.prototype.cancel,"cancel"),i(Te.prototype.read,"read"),i(Te.prototype.releaseLock,"releaseLock"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Te.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});function De(u){return!r(u)||!Object.prototype.hasOwnProperty.call(u,"_readRequests")?!1:u instanceof Te}function en(u,d){let T=u._ownerReadableStream;T._disturbed=!0,T._state==="closed"?d._closeSteps():T._state==="errored"?d._errorSteps(T._storedError):T._readableStreamController[ce](d)}function Re(u){b(u);let d=new TypeError("Reader was released");He(u,d)}function He(u,d){let T=u._readRequests;u._readRequests=new ee,T.forEach(O=>{O._errorSteps(d)})}function ai(u){return new TypeError(`ReadableStreamDefaultReader.prototype.${u} can only be used on a ReadableStreamDefaultReader`)}let Ne=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype);class je{constructor(d,T){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=d,this._preventCancel=T}next(){let d=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?N(this._ongoingPromise,d,d):d(),this._ongoingPromise}return(d){let T=()=>this._returnSteps(d);return this._ongoingPromise?N(this._ongoingPromise,T,T):T()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let d=this._reader,T,O,J=A((oe,me)=>{T=oe,O=me});return en(d,{_chunkSteps:oe=>{this._ongoingPromise=void 0,U(()=>T({value:oe,done:!1}))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,b(d),T({value:void 0,done:!0})},_errorSteps:oe=>{this._ongoingPromise=void 0,this._isFinished=!0,b(d),O(oe)}}),J}_returnSteps(d){if(this._isFinished)return Promise.resolve({value:d,done:!0});this._isFinished=!0;let T=this._reader;if(!this._preventCancel){let O=R(T,d);return b(T),N(O,()=>({value:d,done:!0}))}return b(T),f({value:d,done:!0})}}let F={next(){return Q(this)?this._asyncIteratorImpl.next():l(L("next"))},return(u){return Q(this)?this._asyncIteratorImpl.return(u):l(L("return"))}};Object.setPrototypeOf(F,Ne);function m(u,d){let T=ve(u),O=new je(T,d),J=Object.create(F);return J._asyncIteratorImpl=O,J}function Q(u){if(!r(u)||!Object.prototype.hasOwnProperty.call(u,"_asyncIteratorImpl"))return!1;try{return u._asyncIteratorImpl instanceof je}catch{return!1}}function L(u){return new TypeError(`ReadableStreamAsyncIterator.${u} can only be used on a ReadableSteamAsyncIterator`)}let W=Number.isNaN||function(u){return u!==u};var z,ae,le;function ye(u){return u.slice()}function Ct(u,d,T,O,J){new Uint8Array(u).set(new Uint8Array(T,O,J),d)}let Ee=u=>(typeof u.transfer=="function"?Ee=d=>d.transfer():typeof structuredClone=="function"?Ee=d=>structuredClone(d,{transfer:[d]}):Ee=d=>d,Ee(u)),ge=u=>(typeof u.detached=="boolean"?ge=d=>d.detached:ge=d=>d.byteLength===0,ge(u));function La(u,d,T){if(u.slice)return u.slice(d,T);let O=T-d,J=new ArrayBuffer(O);return Ct(J,0,u,d,O),J}function ze(u,d){let T=u[d];if(T!=null){if(typeof T!="function")throw new TypeError(`${String(d)} is not a function`);return T}}function rt(u){let d={[Symbol.iterator]:()=>u.iterator},T=(async function*(){return yield*d})(),O=T.next;return{iterator:T,nextMethod:O,done:!1}}let ko=(le=(z=Symbol.asyncIterator)!==null&&z!==void 0?z:(ae=Symbol.for)===null||ae===void 0?void 0:ae.call(Symbol,"Symbol.asyncIterator"))!==null&&le!==void 0?le:"@@asyncIterator";function $e(u,d="sync",T){if(T===void 0)if(d==="async"){if(T=ze(u,ko),T===void 0){let re=ze(u,Symbol.iterator),oe=$e(u,"sync",re);return rt(oe)}}else T=ze(u,Symbol.iterator);if(T===void 0)throw new TypeError("The object is not iterable");let O=G(T,u,[]);if(!r(O))throw new TypeError("The iterator method must return an object");let J=O.next;return{iterator:O,nextMethod:J,done:!1}}function nt(u){let d=G(u.nextMethod,u.iterator,[]);if(!r(d))throw new TypeError("The iterator.next() method must return an object");return d}function WA(u){return!!u.done}function it(u){return u.value}function st(u){return!(typeof u!="number"||W(u)||u<0)}function Pa(u){let d=La(u.buffer,u.byteOffset,u.byteOffset+u.byteLength);return new Uint8Array(d)}function Ke(u){let d=u._queue.shift();return u._queueTotalSize-=d.size,u._queueTotalSize<0&&(u._queueTotalSize=0),d.value}function Xe(u,d,T){if(!st(T)||T===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");u._queue.push({value:d,size:T}),u._queueTotalSize+=T}function VA(u){return u._queue.peek().value}function Ue(u){u._queue=new ee,u._queueTotalSize=0}function et(u){return u===DataView}function JA(u){return et(u.constructor)}function ot(u){return et(u)?1:u.BYTES_PER_ELEMENT}class Le{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!Ze(this))throw gI("view");return this._view}respond(d){if(!Ze(this))throw gI("respond");if(he(d,1,"respond"),d=yr(d,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(ge(this._view.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");g0(this._associatedReadableByteStreamController,d)}respondWithNewView(d){if(!Ze(this))throw gI("respondWithNewView");if(he(d,1,"respondWithNewView"),!ArrayBuffer.isView(d))throw new TypeError("You can only respond with array buffer views");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(ge(d.buffer))throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");p0(this._associatedReadableByteStreamController,d)}}Object.defineProperties(Le.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),i(Le.prototype.respond,"respond"),i(Le.prototype.respondWithNewView,"respondWithNewView"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Le.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});class hn{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!Pe(this))throw Zl("byobRequest");return dI(this)}get desiredSize(){if(!Pe(this))throw Zl("desiredSize");return UR(this)}close(){if(!Pe(this))throw Zl("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");let d=this._controlledReadableByteStream._state;if(d!=="readable")throw new TypeError(`The stream (in ${d} state) is not in the readable state and cannot be closed`);Ho(this)}enqueue(d){if(!Pe(this))throw Zl("enqueue");if(he(d,1,"enqueue"),!ArrayBuffer.isView(d))throw new TypeError("chunk must be an array buffer view");if(d.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(d.buffer.byteLength===0)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");let T=this._controlledReadableByteStream._state;if(T!=="readable")throw new TypeError(`The stream (in ${T} state) is not in the readable state and cannot be enqueued to`);Ha(this,d)}error(d=void 0){if(!Pe(this))throw Zl("error");fi(this,d)}[ie](d){Pt(this),Ue(this);let T=this._cancelAlgorithm(d);return Oa(this),T}[ce](d){let T=this._controlledReadableByteStream;if(this._queueTotalSize>0){xR(this,d);return}let O=this._autoAllocateChunkSize;if(O!==void 0){let J;try{J=new ArrayBuffer(O)}catch(oe){d._errorSteps(oe);return}let re={buffer:J,bufferByteLength:O,byteOffset:0,byteLength:O,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(re)}Fs(T,d),wn(this)}[H](){if(this._pendingPullIntos.length>0){let d=this._pendingPullIntos.peek();d.readerType="none",this._pendingPullIntos=new ee,this._pendingPullIntos.push(d)}}}Object.defineProperties(hn.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),i(hn.prototype.close,"close"),i(hn.prototype.enqueue,"enqueue"),i(hn.prototype.error,"error"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(hn.prototype,Symbol.toStringTag,{value:"ReadableByteStreamController",configurable:!0});function Pe(u){return!r(u)||!Object.prototype.hasOwnProperty.call(u,"_controlledReadableByteStream")?!1:u instanceof hn}function Ze(u){return!r(u)||!Object.prototype.hasOwnProperty.call(u,"_associatedReadableByteStreamController")?!1:u instanceof Le}function wn(u){if(!Oo(u))return;if(u._pulling){u._pullAgain=!0;return}u._pulling=!0;let T=u._pullAlgorithm();B(T,()=>(u._pulling=!1,u._pullAgain&&(u._pullAgain=!1,wn(u)),null),O=>(fi(u,O),null))}function Pt(u){ji(u),u._pendingPullIntos=new ee}function kt(u,d){let T=!1;u._state==="closed"&&(T=!0);let O=xs(d);d.readerType==="default"?Ye(u,O,T):cJ(u,O,T)}function xs(u){let d=u.bytesFilled,T=u.elementSize;return new u.viewConstructor(u.buffer,u.byteOffset,d/T)}function Ai(u,d,T,O){u._queue.push({buffer:d,byteOffset:T,byteLength:O}),u._queueTotalSize+=O}function Us(u,d,T,O){let J;try{J=La(d,T,T+O)}catch(re){throw fi(u,re),re}Ai(u,J,0,O)}function Ls(u,d){d.bytesFilled>0&&Us(u,d.buffer,d.byteOffset,d.bytesFilled),Sn(u)}function Ps(u,d){let T=Math.min(u._queueTotalSize,d.byteLength-d.bytesFilled),O=d.bytesFilled+T,J=T,re=!1,oe=O%d.elementSize,me=O-oe;me>=d.minimumFill&&(J=me-d.bytesFilled,re=!0);let We=u._queue;for(;J>0;){let Se=We.peek(),at=Math.min(J,Se.byteLength),lt=d.byteOffset+d.bytesFilled;Ct(d.buffer,lt,Se.buffer,Se.byteOffset,at),Se.byteLength===at?We.shift():(Se.byteOffset+=at,Se.byteLength-=at),u._queueTotalSize-=at,Os(u,at,d),J-=at}return re}function Os(u,d,T){T.bytesFilled+=d}function Hs(u){u._queueTotalSize===0&&u._closeRequested?(Oa(u),ih(u._controlledReadableByteStream)):wn(u)}function ji(u){u._byobRequest!==null&&(u._byobRequest._associatedReadableByteStreamController=void 0,u._byobRequest._view=null,u._byobRequest=null)}function zi(u){for(;u._pendingPullIntos.length>0;){if(u._queueTotalSize===0)return;let d=u._pendingPullIntos.peek();Ps(u,d)&&(Sn(u),kt(u._controlledReadableByteStream,d))}}function xo(u){let d=u._controlledReadableByteStream._reader;for(;d._readRequests.length>0;){if(u._queueTotalSize===0)return;let T=d._readRequests.shift();xR(u,T)}}function Uo(u,d,T,O){let J=u._controlledReadableByteStream,re=d.constructor,oe=ot(re),{byteOffset:me,byteLength:We}=d,Se=T*oe,at;try{at=Ee(d.buffer)}catch(Ot){O._errorSteps(Ot);return}let lt={buffer:at,bufferByteLength:at.byteLength,byteOffset:me,byteLength:We,bytesFilled:0,minimumFill:Se,elementSize:oe,viewConstructor:re,readerType:"byob"};if(u._pendingPullIntos.length>0){u._pendingPullIntos.push(lt),OR(J,O);return}if(J._state==="closed"){let Ot=new re(lt.buffer,lt.byteOffset,0);O._closeSteps(Ot);return}if(u._queueTotalSize>0){if(Ps(u,lt)){let Ot=xs(lt);Hs(u),O._chunkSteps(Ot);return}if(u._closeRequested){let Ot=new TypeError("Insufficient bytes to fill elements in the given buffer");fi(u,Ot),O._errorSteps(Ot);return}}u._pendingPullIntos.push(lt),OR(J,O),wn(u)}function Lo(u,d){d.readerType==="none"&&Sn(u);let T=u._controlledReadableByteStream;if(pI(T))for(;HR(T)>0;){let O=Sn(u);kt(T,O)}}function Po(u,d,T){if(Os(u,d,T),T.readerType==="none"){Ls(u,T),zi(u);return}if(T.bytesFilled<T.minimumFill)return;Sn(u);let O=T.bytesFilled%T.elementSize;if(O>0){let J=T.byteOffset+T.bytesFilled;Us(u,T.buffer,J-O,O)}T.bytesFilled-=O,kt(u._controlledReadableByteStream,T),zi(u)}function qs(u,d){let T=u._pendingPullIntos.peek();ji(u),u._controlledReadableByteStream._state==="closed"?Lo(u,T):Po(u,d,T),wn(u)}function Sn(u){return u._pendingPullIntos.shift()}function Oo(u){let d=u._controlledReadableByteStream;return d._state!=="readable"||u._closeRequested||!u._started?!1:!!(ks(d)&&xe(d)>0||pI(d)&&HR(d)>0||UR(u)>0)}function Oa(u){u._pullAlgorithm=void 0,u._cancelAlgorithm=void 0}function Ho(u){let d=u._controlledReadableByteStream;if(!(u._closeRequested||d._state!=="readable")){if(u._queueTotalSize>0){u._closeRequested=!0;return}if(u._pendingPullIntos.length>0){let T=u._pendingPullIntos.peek();if(T.bytesFilled%T.elementSize!==0){let O=new TypeError("Insufficient bytes to fill elements in the given buffer");throw fi(u,O),O}}Oa(u),ih(d)}}function Ha(u,d){let T=u._controlledReadableByteStream;if(u._closeRequested||T._state!=="readable")return;let{buffer:O,byteOffset:J,byteLength:re}=d;if(ge(O))throw new TypeError("chunk's buffer is detached and so cannot be enqueued");let oe=Ee(O);if(u._pendingPullIntos.length>0){let me=u._pendingPullIntos.peek();if(ge(me.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk");ji(u),me.buffer=Ee(me.buffer),me.readerType==="none"&&Ls(u,me)}if(ks(T))if(xo(u),xe(T)===0)Ai(u,oe,J,re);else{u._pendingPullIntos.length>0&&Sn(u);let me=new Uint8Array(oe,J,re);Ye(T,me,!1)}else pI(T)?(Ai(u,oe,J,re),zi(u)):Ai(u,oe,J,re);wn(u)}function fi(u,d){let T=u._controlledReadableByteStream;T._state==="readable"&&(Pt(u),Ue(u),Oa(u),cD(T,d))}function xR(u,d){let T=u._queue.shift();u._queueTotalSize-=T.byteLength,Hs(u);let O=new Uint8Array(T.buffer,T.byteOffset,T.byteLength);d._chunkSteps(O)}function dI(u){if(u._byobRequest===null&&u._pendingPullIntos.length>0){let d=u._pendingPullIntos.peek(),T=new Uint8Array(d.buffer,d.byteOffset+d.bytesFilled,d.byteLength-d.bytesFilled),O=Object.create(Le.prototype);aJ(O,u,T),u._byobRequest=O}return u._byobRequest}function UR(u){let d=u._controlledReadableByteStream._state;return d==="errored"?null:d==="closed"?0:u._strategyHWM-u._queueTotalSize}function g0(u,d){let T=u._pendingPullIntos.peek();if(u._controlledReadableByteStream._state==="closed"){if(d!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(d===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(T.bytesFilled+d>T.byteLength)throw new RangeError("bytesWritten out of range")}T.buffer=Ee(T.buffer),qs(u,d)}function p0(u,d){let T=u._pendingPullIntos.peek();if(u._controlledReadableByteStream._state==="closed"){if(d.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(d.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(T.byteOffset+T.bytesFilled!==d.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(T.bufferByteLength!==d.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(T.bytesFilled+d.byteLength>T.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");let J=d.byteLength;T.buffer=Ee(d.buffer),qs(u,J)}function LR(u,d,T,O,J,re,oe){d._controlledReadableByteStream=u,d._pullAgain=!1,d._pulling=!1,d._byobRequest=null,d._queue=d._queueTotalSize=void 0,Ue(d),d._closeRequested=!1,d._started=!1,d._strategyHWM=re,d._pullAlgorithm=O,d._cancelAlgorithm=J,d._autoAllocateChunkSize=oe,d._pendingPullIntos=new ee,u._readableStreamController=d;let me=T();B(f(me),()=>(d._started=!0,wn(d),null),We=>(fi(d,We),null))}function oJ(u,d,T){let O=Object.create(hn.prototype),J,re,oe;d.start!==void 0?J=()=>d.start(O):J=()=>{},d.pull!==void 0?re=()=>d.pull(O):re=()=>f(void 0),d.cancel!==void 0?oe=We=>d.cancel(We):oe=()=>f(void 0);let me=d.autoAllocateChunkSize;if(me===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");LR(u,O,J,re,oe,T,me)}function aJ(u,d,T){u._associatedReadableByteStreamController=d,u._view=T}function gI(u){return new TypeError(`ReadableStreamBYOBRequest.prototype.${u} can only be used on a ReadableStreamBYOBRequest`)}function Zl(u){return new TypeError(`ReadableByteStreamController.prototype.${u} can only be used on a ReadableByteStreamController`)}function AJ(u,d){ne(u,d);let T=u?.mode;return{mode:T===void 0?void 0:fJ(T,`${d} has member 'mode' that`)}}function fJ(u,d){if(u=`${u}`,u!=="byob")throw new TypeError(`${d} '${u}' is not a valid enumeration value for ReadableStreamReaderMode`);return u}function uJ(u,d){var T;ne(u,d);let O=(T=u?.min)!==null&&T!==void 0?T:1;return{min:yr(O,`${d} has member 'min' that`)}}function PR(u){return new qa(u)}function OR(u,d){u._reader._readIntoRequests.push(d)}function cJ(u,d,T){let J=u._reader._readIntoRequests.shift();T?J._closeSteps(d):J._chunkSteps(d)}function HR(u){return u._reader._readIntoRequests.length}function pI(u){let d=u._reader;return!(d===void 0||!jA(d))}class qa{constructor(d){if(he(d,1,"ReadableStreamBYOBReader"),we(d,"First parameter"),Wa(d))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!Pe(d._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");E(this,d),this._readIntoRequests=new ee}get closed(){return jA(this)?this._closedPromise:l(E0("closed"))}cancel(d=void 0){return jA(this)?this._ownerReadableStream===void 0?l(c("cancel")):R(this,d):l(E0("cancel"))}read(d,T={}){if(!jA(this))return l(E0("read"));if(!ArrayBuffer.isView(d))return l(new TypeError("view must be an array buffer view"));if(d.byteLength===0)return l(new TypeError("view must have non-zero byteLength"));if(d.buffer.byteLength===0)return l(new TypeError("view's buffer must have non-zero byteLength"));if(ge(d.buffer))return l(new TypeError("view's buffer has been detached"));let O;try{O=uJ(T,"options")}catch(Se){return l(Se)}let J=O.min;if(J===0)return l(new TypeError("options.min must be greater than 0"));if(JA(d)){if(J>d.byteLength)return l(new RangeError("options.min must be less than or equal to view's byteLength"))}else if(J>d.length)return l(new RangeError("options.min must be less than or equal to view's length"));if(this._ownerReadableStream===void 0)return l(c("read from"));let re,oe,me=A((Se,at)=>{re=Se,oe=at});return qR(this,d,J,{_chunkSteps:Se=>re({value:Se,done:!1}),_closeSteps:Se=>re({value:Se,done:!0}),_errorSteps:Se=>oe(Se)}),me}releaseLock(){if(!jA(this))throw E0("releaseLock");this._ownerReadableStream!==void 0&&lJ(this)}}Object.defineProperties(qa.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),i(qa.prototype.cancel,"cancel"),i(qa.prototype.read,"read"),i(qa.prototype.releaseLock,"releaseLock"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(qa.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});function jA(u){return!r(u)||!Object.prototype.hasOwnProperty.call(u,"_readIntoRequests")?!1:u instanceof qa}function qR(u,d,T,O){let J=u._ownerReadableStream;J._disturbed=!0,J._state==="errored"?O._errorSteps(J._storedError):Uo(J._readableStreamController,d,T,O)}function lJ(u){b(u);let d=new TypeError("Reader was released");GR(u,d)}function GR(u,d){let T=u._readIntoRequests;u._readIntoRequests=new ee,T.forEach(O=>{O._errorSteps(d)})}function E0(u){return new TypeError(`ReadableStreamBYOBReader.prototype.${u} can only be used on a ReadableStreamBYOBReader`)}function $l(u,d){let{highWaterMark:T}=u;if(T===void 0)return d;if(W(T)||T<0)throw new RangeError("Invalid highWaterMark");return T}function y0(u){let{size:d}=u;return d||(()=>1)}function m0(u,d){ne(u,d);let T=u?.highWaterMark,O=u?.size;return{highWaterMark:T===void 0?void 0:wt(T),size:O===void 0?void 0:hJ(O,`${d} has member 'size' that`)}}function hJ(u,d){return Ae(u,d),T=>wt(u(T))}function dJ(u,d){ne(u,d);let T=u?.abort,O=u?.close,J=u?.start,re=u?.type,oe=u?.write;return{abort:T===void 0?void 0:gJ(T,u,`${d} has member 'abort' that`),close:O===void 0?void 0:pJ(O,u,`${d} has member 'close' that`),start:J===void 0?void 0:EJ(J,u,`${d} has member 'start' that`),write:oe===void 0?void 0:yJ(oe,u,`${d} has member 'write' that`),type:re}}function gJ(u,d,T){return Ae(u,T),O=>Y(u,d,[O])}function pJ(u,d,T){return Ae(u,T),()=>Y(u,d,[])}function EJ(u,d,T){return Ae(u,T),O=>G(u,d,[O])}function yJ(u,d,T){return Ae(u,T),(O,J)=>Y(u,d,[O,J])}function YR(u,d){if(!ku(u))throw new TypeError(`${d} is not a WritableStream.`)}function mJ(u){if(typeof u!="object"||u===null)return!1;try{return typeof u.aborted=="boolean"}catch{return!1}}let BJ=typeof AbortController=="function";function IJ(){if(BJ)return new AbortController}class Ga{constructor(d={},T={}){d===void 0?d=null:pe(d,"First parameter");let O=m0(T,"Second parameter"),J=dJ(d,"First parameter");if(VR(this),J.type!==void 0)throw new RangeError("Invalid type is specified");let oe=y0(O),me=$l(O,1);kJ(this,J,me,oe)}get locked(){if(!ku(this))throw Q0("locked");return xu(this)}abort(d=void 0){return ku(this)?xu(this)?l(new TypeError("Cannot abort a stream that already has a writer")):B0(this,d):l(Q0("abort"))}close(){return ku(this)?xu(this)?l(new TypeError("Cannot close a stream that already has a writer")):Gs(this)?l(new TypeError("Cannot close an already-closing stream")):JR(this):l(Q0("close"))}getWriter(){if(!ku(this))throw Q0("getWriter");return WR(this)}}Object.defineProperties(Ga.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),i(Ga.prototype.abort,"abort"),i(Ga.prototype.close,"close"),i(Ga.prototype.getWriter,"getWriter"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Ga.prototype,Symbol.toStringTag,{value:"WritableStream",configurable:!0});function WR(u){return new qo(u)}function bJ(u,d,T,O,J=1,re=()=>1){let oe=Object.create(Ga.prototype);VR(oe);let me=Object.create(Uu.prototype);return $R(oe,me,u,d,T,O,J,re),oe}function VR(u){u._state="writable",u._storedError=void 0,u._writer=void 0,u._writableStreamController=void 0,u._writeRequests=new ee,u._inFlightWriteRequest=void 0,u._closeRequest=void 0,u._inFlightCloseRequest=void 0,u._pendingAbortRequest=void 0,u._backpressure=!1}function ku(u){return!r(u)||!Object.prototype.hasOwnProperty.call(u,"_writableStreamController")?!1:u instanceof Ga}function xu(u){return u._writer!==void 0}function B0(u,d){var T;if(u._state==="closed"||u._state==="errored")return f(void 0);u._writableStreamController._abortReason=d,(T=u._writableStreamController._abortController)===null||T===void 0||T.abort(d);let O=u._state;if(O==="closed"||O==="errored")return f(void 0);if(u._pendingAbortRequest!==void 0)return u._pendingAbortRequest._promise;let J=!1;O==="erroring"&&(J=!0,d=void 0);let re=A((oe,me)=>{u._pendingAbortRequest={_promise:void 0,_resolve:oe,_reject:me,_reason:d,_wasAlreadyErroring:J}});return u._pendingAbortRequest._promise=re,J||yI(u,d),re}function JR(u){let d=u._state;if(d==="closed"||d==="errored")return l(new TypeError(`The stream (in ${d} state) is not in the writable state and cannot be closed`));let T=A((J,re)=>{let oe={_resolve:J,_reject:re};u._closeRequest=oe}),O=u._writer;return O!==void 0&&u._backpressure&&d==="writable"&&SI(O),xJ(u._writableStreamController),T}function CJ(u){return A((T,O)=>{let J={_resolve:T,_reject:O};u._writeRequests.push(J)})}function EI(u,d){if(u._state==="writable"){yI(u,d);return}mI(u)}function yI(u,d){let T=u._writableStreamController;u._state="erroring",u._storedError=d;let O=u._writer;O!==void 0&&zR(O,d),!vJ(u)&&T._started&&mI(u)}function mI(u){u._state="errored",u._writableStreamController[se]();let d=u._storedError;if(u._writeRequests.forEach(J=>{J._reject(d)}),u._writeRequests=new ee,u._pendingAbortRequest===void 0){I0(u);return}let T=u._pendingAbortRequest;if(u._pendingAbortRequest=void 0,T._wasAlreadyErroring){T._reject(d),I0(u);return}let O=u._writableStreamController[j](T._reason);B(O,()=>(T._resolve(),I0(u),null),J=>(T._reject(J),I0(u),null))}function QJ(u){u._inFlightWriteRequest._resolve(void 0),u._inFlightWriteRequest=void 0}function wJ(u,d){u._inFlightWriteRequest._reject(d),u._inFlightWriteRequest=void 0,EI(u,d)}function SJ(u){u._inFlightCloseRequest._resolve(void 0),u._inFlightCloseRequest=void 0,u._state==="erroring"&&(u._storedError=void 0,u._pendingAbortRequest!==void 0&&(u._pendingAbortRequest._resolve(),u._pendingAbortRequest=void 0)),u._state="closed";let T=u._writer;T!==void 0&&nD(T)}function _J(u,d){u._inFlightCloseRequest._reject(d),u._inFlightCloseRequest=void 0,u._pendingAbortRequest!==void 0&&(u._pendingAbortRequest._reject(d),u._pendingAbortRequest=void 0),EI(u,d)}function Gs(u){return!(u._closeRequest===void 0&&u._inFlightCloseRequest===void 0)}function vJ(u){return!(u._inFlightWriteRequest===void 0&&u._inFlightCloseRequest===void 0)}function RJ(u){u._inFlightCloseRequest=u._closeRequest,u._closeRequest=void 0}function DJ(u){u._inFlightWriteRequest=u._writeRequests.shift()}function I0(u){u._closeRequest!==void 0&&(u._closeRequest._reject(u._storedError),u._closeRequest=void 0);let d=u._writer;d!==void 0&&QI(d,u._storedError)}function BI(u,d){let T=u._writer;T!==void 0&&d!==u._backpressure&&(d?GJ(T):SI(T)),u._backpressure=d}class qo{constructor(d){if(he(d,1,"WritableStreamDefaultWriter"),YR(d,"First parameter"),xu(d))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=d,d._writer=this;let T=d._state;if(T==="writable")!Gs(d)&&d._backpressure?S0(this):iD(this),w0(this);else if(T==="erroring")wI(this,d._storedError),w0(this);else if(T==="closed")iD(this),HJ(this);else{let O=d._storedError;wI(this,O),rD(this,O)}}get closed(){return zA(this)?this._closedPromise:l(KA("closed"))}get desiredSize(){if(!zA(this))throw KA("desiredSize");if(this._ownerWritableStream===void 0)throw th("desiredSize");return FJ(this)}get ready(){return zA(this)?this._readyPromise:l(KA("ready"))}abort(d=void 0){return zA(this)?this._ownerWritableStream===void 0?l(th("abort")):TJ(this,d):l(KA("abort"))}close(){if(!zA(this))return l(KA("close"));let d=this._ownerWritableStream;return d===void 0?l(th("close")):Gs(d)?l(new TypeError("Cannot close an already-closing stream")):jR(this)}releaseLock(){if(!zA(this))throw KA("releaseLock");this._ownerWritableStream!==void 0&&KR(this)}write(d=void 0){return zA(this)?this._ownerWritableStream===void 0?l(th("write to")):XR(this,d):l(KA("write"))}}Object.defineProperties(qo.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),i(qo.prototype.abort,"abort"),i(qo.prototype.close,"close"),i(qo.prototype.releaseLock,"releaseLock"),i(qo.prototype.write,"write"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(qo.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});function zA(u){return!r(u)||!Object.prototype.hasOwnProperty.call(u,"_ownerWritableStream")?!1:u instanceof qo}function TJ(u,d){let T=u._ownerWritableStream;return B0(T,d)}function jR(u){let d=u._ownerWritableStream;return JR(d)}function NJ(u){let d=u._ownerWritableStream,T=d._state;return Gs(d)||T==="closed"?f(void 0):T==="errored"?l(d._storedError):jR(u)}function MJ(u,d){u._closedPromiseState==="pending"?QI(u,d):qJ(u,d)}function zR(u,d){u._readyPromiseState==="pending"?sD(u,d):YJ(u,d)}function FJ(u){let d=u._ownerWritableStream,T=d._state;return T==="errored"||T==="erroring"?null:T==="closed"?0:eD(d._writableStreamController)}function KR(u){let d=u._ownerWritableStream,T=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");zR(u,T),MJ(u,T),d._writer=void 0,u._ownerWritableStream=void 0}function XR(u,d){let T=u._ownerWritableStream,O=T._writableStreamController,J=UJ(O,d);if(T!==u._ownerWritableStream)return l(th("write to"));let re=T._state;if(re==="errored")return l(T._storedError);if(Gs(T)||re==="closed")return l(new TypeError("The stream is closing or closed and cannot be written to"));if(re==="erroring")return l(T._storedError);let oe=CJ(T);return LJ(O,d,J),oe}let ZR={};class Uu{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!II(this))throw CI("abortReason");return this._abortReason}get signal(){if(!II(this))throw CI("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(d=void 0){if(!II(this))throw CI("error");this._controlledWritableStream._state==="writable"&&tD(this,d)}[j](d){let T=this._abortAlgorithm(d);return b0(this),T}[se](){Ue(this)}}Object.defineProperties(Uu.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Uu.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});function II(u){return!r(u)||!Object.prototype.hasOwnProperty.call(u,"_controlledWritableStream")?!1:u instanceof Uu}function $R(u,d,T,O,J,re,oe,me){d._controlledWritableStream=u,u._writableStreamController=d,d._queue=void 0,d._queueTotalSize=void 0,Ue(d),d._abortReason=void 0,d._abortController=IJ(),d._started=!1,d._strategySizeAlgorithm=me,d._strategyHWM=oe,d._writeAlgorithm=O,d._closeAlgorithm=J,d._abortAlgorithm=re;let We=bI(d);BI(u,We);let Se=T(),at=f(Se);B(at,()=>(d._started=!0,C0(d),null),lt=>(d._started=!0,EI(u,lt),null))}function kJ(u,d,T,O){let J=Object.create(Uu.prototype),re,oe,me,We;d.start!==void 0?re=()=>d.start(J):re=()=>{},d.write!==void 0?oe=Se=>d.write(Se,J):oe=()=>f(void 0),d.close!==void 0?me=()=>d.close():me=()=>f(void 0),d.abort!==void 0?We=Se=>d.abort(Se):We=()=>f(void 0),$R(u,J,re,oe,me,We,T,O)}function b0(u){u._writeAlgorithm=void 0,u._closeAlgorithm=void 0,u._abortAlgorithm=void 0,u._strategySizeAlgorithm=void 0}function xJ(u){Xe(u,ZR,0),C0(u)}function UJ(u,d){try{return u._strategySizeAlgorithm(d)}catch(T){return eh(u,T),1}}function eD(u){return u._strategyHWM-u._queueTotalSize}function LJ(u,d,T){try{Xe(u,d,T)}catch(J){eh(u,J);return}let O=u._controlledWritableStream;if(!Gs(O)&&O._state==="writable"){let J=bI(u);BI(O,J)}C0(u)}function C0(u){let d=u._controlledWritableStream;if(!u._started||d._inFlightWriteRequest!==void 0)return;if(d._state==="erroring"){mI(d);return}if(u._queue.length===0)return;let O=VA(u);O===ZR?PJ(u):OJ(u,O)}function eh(u,d){u._controlledWritableStream._state==="writable"&&tD(u,d)}function PJ(u){let d=u._controlledWritableStream;RJ(d),Ke(u);let T=u._closeAlgorithm();b0(u),B(T,()=>(SJ(d),null),O=>(_J(d,O),null))}function OJ(u,d){let T=u._controlledWritableStream;DJ(T);let O=u._writeAlgorithm(d);B(O,()=>{QJ(T);let J=T._state;if(Ke(u),!Gs(T)&&J==="writable"){let re=bI(u);BI(T,re)}return C0(u),null},J=>(T._state==="writable"&&b0(u),wJ(T,J),null))}function bI(u){return eD(u)<=0}function tD(u,d){let T=u._controlledWritableStream;b0(u),yI(T,d)}function Q0(u){return new TypeError(`WritableStream.prototype.${u} can only be used on a WritableStream`)}function CI(u){return new TypeError(`WritableStreamDefaultController.prototype.${u} can only be used on a WritableStreamDefaultController`)}function KA(u){return new TypeError(`WritableStreamDefaultWriter.prototype.${u} can only be used on a WritableStreamDefaultWriter`)}function th(u){return new TypeError("Cannot "+u+" a stream using a released writer")}function w0(u){u._closedPromise=A((d,T)=>{u._closedPromise_resolve=d,u._closedPromise_reject=T,u._closedPromiseState="pending"})}function rD(u,d){w0(u),QI(u,d)}function HJ(u){w0(u),nD(u)}function QI(u,d){u._closedPromise_reject!==void 0&&(P(u._closedPromise),u._closedPromise_reject(d),u._closedPromise_resolve=void 0,u._closedPromise_reject=void 0,u._closedPromiseState="rejected")}function qJ(u,d){rD(u,d)}function nD(u){u._closedPromise_resolve!==void 0&&(u._closedPromise_resolve(void 0),u._closedPromise_resolve=void 0,u._closedPromise_reject=void 0,u._closedPromiseState="resolved")}function S0(u){u._readyPromise=A((d,T)=>{u._readyPromise_resolve=d,u._readyPromise_reject=T}),u._readyPromiseState="pending"}function wI(u,d){S0(u),sD(u,d)}function iD(u){S0(u),SI(u)}function sD(u,d){u._readyPromise_reject!==void 0&&(P(u._readyPromise),u._readyPromise_reject(d),u._readyPromise_resolve=void 0,u._readyPromise_reject=void 0,u._readyPromiseState="rejected")}function GJ(u){S0(u)}function YJ(u,d){wI(u,d)}function SI(u){u._readyPromise_resolve!==void 0&&(u._readyPromise_resolve(void 0),u._readyPromise_resolve=void 0,u._readyPromise_reject=void 0,u._readyPromiseState="fulfilled")}function WJ(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof globalThis<"u")return globalThis}let _I=WJ();function VJ(u){if(!(typeof u=="function"||typeof u=="object")||u.name!=="DOMException")return!1;try{return new u,!0}catch{return!1}}function JJ(){let u=_I?.DOMException;return VJ(u)?u:void 0}function jJ(){let u=function(T,O){this.message=T||"",this.name=O||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return i(u,"DOMException"),u.prototype=Object.create(Error.prototype),Object.defineProperty(u.prototype,"constructor",{value:u,writable:!0,configurable:!0}),u}let zJ=JJ()||jJ();function oD(u,d,T,O,J,re){let oe=ve(u),me=WR(d);u._disturbed=!0;let We=!1,Se=f(void 0);return A((at,lt)=>{let Ot;if(re!==void 0){if(Ot=()=>{let Me=re.reason!==void 0?re.reason:new zJ("Aborted","AbortError"),mt=[];O||mt.push(()=>d._state==="writable"?B0(d,Me):f(void 0)),J||mt.push(()=>u._state==="readable"?Xi(u,Me):f(void 0)),_n(()=>Promise.all(mt.map(Yt=>Yt())),!0,Me)},re.aborted){Ot();return}re.addEventListener("abort",Ot)}function Zi(){return A((Me,mt)=>{function Yt(Wn){Wn?Me():p(Hu(),Yt,mt)}Yt(!1)})}function Hu(){return We?f(!0):p(me._readyPromise,()=>A((Me,mt)=>{en(oe,{_chunkSteps:Yt=>{Se=p(XR(me,Yt),void 0,t),Me(!1)},_closeSteps:()=>Me(!0),_errorSteps:mt})}))}if(Yo(u,oe._closedPromise,Me=>(O?ui(!0,Me):_n(()=>B0(d,Me),!0,Me),null)),Yo(d,me._closedPromise,Me=>(J?ui(!0,Me):_n(()=>Xi(u,Me),!0,Me),null)),dn(u,oe._closedPromise,()=>(T?ui():_n(()=>NJ(me)),null)),Gs(d)||d._state==="closed"){let Me=new TypeError("the destination writable stream closed before all data could be piped to it");J?ui(!0,Me):_n(()=>Xi(u,Me),!0,Me)}P(Zi());function Ja(){let Me=Se;return p(Se,()=>Me!==Se?Ja():void 0)}function Yo(Me,mt,Yt){Me._state==="errored"?Yt(Me._storedError):_(mt,Yt)}function dn(Me,mt,Yt){Me._state==="closed"?Yt():S(mt,Yt)}function _n(Me,mt,Yt){if(We)return;We=!0,d._state==="writable"&&!Gs(d)?S(Ja(),Wn):Wn();function Wn(){return B(Me(),()=>Wo(mt,Yt),qu=>Wo(!0,qu)),null}}function ui(Me,mt){We||(We=!0,d._state==="writable"&&!Gs(d)?S(Ja(),()=>Wo(Me,mt)):Wo(Me,mt))}function Wo(Me,mt){return KR(me),b(oe),re!==void 0&&re.removeEventListener("abort",Ot),Me?lt(mt):at(void 0),null}})}class Go{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!_0(this))throw R0("desiredSize");return vI(this)}close(){if(!_0(this))throw R0("close");if(!Pu(this))throw new TypeError("The stream is not in a state that permits close");XA(this)}enqueue(d=void 0){if(!_0(this))throw R0("enqueue");if(!Pu(this))throw new TypeError("The stream is not in a state that permits enqueue");return Lu(this,d)}error(d=void 0){if(!_0(this))throw R0("error");Ki(this,d)}[ie](d){Ue(this);let T=this._cancelAlgorithm(d);return v0(this),T}[ce](d){let T=this._controlledReadableStream;if(this._queue.length>0){let O=Ke(this);this._closeRequested&&this._queue.length===0?(v0(this),ih(T)):rh(this),d._chunkSteps(O)}else Fs(T,d),rh(this)}[H](){}}Object.defineProperties(Go.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),i(Go.prototype.close,"close"),i(Go.prototype.enqueue,"enqueue"),i(Go.prototype.error,"error"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Go.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});function _0(u){return!r(u)||!Object.prototype.hasOwnProperty.call(u,"_controlledReadableStream")?!1:u instanceof Go}function rh(u){if(!aD(u))return;if(u._pulling){u._pullAgain=!0;return}u._pulling=!0;let T=u._pullAlgorithm();B(T,()=>(u._pulling=!1,u._pullAgain&&(u._pullAgain=!1,rh(u)),null),O=>(Ki(u,O),null))}function aD(u){let d=u._controlledReadableStream;return!Pu(u)||!u._started?!1:!!(Wa(d)&&xe(d)>0||vI(u)>0)}function v0(u){u._pullAlgorithm=void 0,u._cancelAlgorithm=void 0,u._strategySizeAlgorithm=void 0}function XA(u){if(!Pu(u))return;let d=u._controlledReadableStream;u._closeRequested=!0,u._queue.length===0&&(v0(u),ih(d))}function Lu(u,d){if(!Pu(u))return;let T=u._controlledReadableStream;if(Wa(T)&&xe(T)>0)Ye(T,d,!1);else{let O;try{O=u._strategySizeAlgorithm(d)}catch(J){throw Ki(u,J),J}try{Xe(u,d,O)}catch(J){throw Ki(u,J),J}}rh(u)}function Ki(u,d){let T=u._controlledReadableStream;T._state==="readable"&&(Ue(u),v0(u),cD(T,d))}function vI(u){let d=u._controlledReadableStream._state;return d==="errored"?null:d==="closed"?0:u._strategyHWM-u._queueTotalSize}function KJ(u){return!aD(u)}function Pu(u){let d=u._controlledReadableStream._state;return!u._closeRequested&&d==="readable"}function AD(u,d,T,O,J,re,oe){d._controlledReadableStream=u,d._queue=void 0,d._queueTotalSize=void 0,Ue(d),d._started=!1,d._closeRequested=!1,d._pullAgain=!1,d._pulling=!1,d._strategySizeAlgorithm=oe,d._strategyHWM=re,d._pullAlgorithm=O,d._cancelAlgorithm=J,u._readableStreamController=d;let me=T();B(f(me),()=>(d._started=!0,rh(d),null),We=>(Ki(d,We),null))}function XJ(u,d,T,O){let J=Object.create(Go.prototype),re,oe,me;d.start!==void 0?re=()=>d.start(J):re=()=>{},d.pull!==void 0?oe=()=>d.pull(J):oe=()=>f(void 0),d.cancel!==void 0?me=We=>d.cancel(We):me=()=>f(void 0),AD(u,J,re,oe,me,T,O)}function R0(u){return new TypeError(`ReadableStreamDefaultController.prototype.${u} can only be used on a ReadableStreamDefaultController`)}function ZJ(u,d){return Pe(u._readableStreamController)?ej(u):$J(u)}function $J(u,d){let T=ve(u),O=!1,J=!1,re=!1,oe=!1,me,We,Se,at,lt,Ot=A(dn=>{lt=dn});function Zi(){return O?(J=!0,f(void 0)):(O=!0,en(T,{_chunkSteps:_n=>{U(()=>{J=!1;let ui=_n,Wo=_n;re||Lu(Se._readableStreamController,ui),oe||Lu(at._readableStreamController,Wo),O=!1,J&&Zi()})},_closeSteps:()=>{O=!1,re||XA(Se._readableStreamController),oe||XA(at._readableStreamController),(!re||!oe)&<(void 0)},_errorSteps:()=>{O=!1}}),f(void 0))}function Hu(dn){if(re=!0,me=dn,oe){let _n=ye([me,We]),ui=Xi(u,_n);lt(ui)}return Ot}function Ja(dn){if(oe=!0,We=dn,re){let _n=ye([me,We]),ui=Xi(u,_n);lt(ui)}return Ot}function Yo(){}return Se=nh(Yo,Zi,Hu),at=nh(Yo,Zi,Ja),_(T._closedPromise,dn=>(Ki(Se._readableStreamController,dn),Ki(at._readableStreamController,dn),(!re||!oe)&<(void 0),null)),[Se,at]}function ej(u){let d=ve(u),T=!1,O=!1,J=!1,re=!1,oe=!1,me,We,Se,at,lt,Ot=A(Me=>{lt=Me});function Zi(Me){_(Me._closedPromise,mt=>(Me!==d||(fi(Se._readableStreamController,mt),fi(at._readableStreamController,mt),(!re||!oe)&<(void 0)),null))}function Hu(){jA(d)&&(b(d),d=ve(u),Zi(d)),en(d,{_chunkSteps:mt=>{U(()=>{O=!1,J=!1;let Yt=mt,Wn=mt;if(!re&&!oe)try{Wn=Pa(mt)}catch(qu){fi(Se._readableStreamController,qu),fi(at._readableStreamController,qu),lt(Xi(u,qu));return}re||Ha(Se._readableStreamController,Yt),oe||Ha(at._readableStreamController,Wn),T=!1,O?Yo():J&&dn()})},_closeSteps:()=>{T=!1,re||Ho(Se._readableStreamController),oe||Ho(at._readableStreamController),Se._readableStreamController._pendingPullIntos.length>0&&g0(Se._readableStreamController,0),at._readableStreamController._pendingPullIntos.length>0&&g0(at._readableStreamController,0),(!re||!oe)&<(void 0)},_errorSteps:()=>{T=!1}})}function Ja(Me,mt){De(d)&&(b(d),d=PR(u),Zi(d));let Yt=mt?at:Se,Wn=mt?Se:at;qR(d,Me,1,{_chunkSteps:Gu=>{U(()=>{O=!1,J=!1;let Yu=mt?oe:re;if(mt?re:oe)Yu||p0(Yt._readableStreamController,Gu);else{let QD;try{QD=Pa(Gu)}catch(MI){fi(Yt._readableStreamController,MI),fi(Wn._readableStreamController,MI),lt(Xi(u,MI));return}Yu||p0(Yt._readableStreamController,Gu),Ha(Wn._readableStreamController,QD)}T=!1,O?Yo():J&&dn()})},_closeSteps:Gu=>{T=!1;let Yu=mt?oe:re,U0=mt?re:oe;Yu||Ho(Yt._readableStreamController),U0||Ho(Wn._readableStreamController),Gu!==void 0&&(Yu||p0(Yt._readableStreamController,Gu),!U0&&Wn._readableStreamController._pendingPullIntos.length>0&&g0(Wn._readableStreamController,0)),(!Yu||!U0)&<(void 0)},_errorSteps:()=>{T=!1}})}function Yo(){if(T)return O=!0,f(void 0);T=!0;let Me=dI(Se._readableStreamController);return Me===null?Hu():Ja(Me._view,!1),f(void 0)}function dn(){if(T)return J=!0,f(void 0);T=!0;let Me=dI(at._readableStreamController);return Me===null?Hu():Ja(Me._view,!0),f(void 0)}function _n(Me){if(re=!0,me=Me,oe){let mt=ye([me,We]),Yt=Xi(u,mt);lt(Yt)}return Ot}function ui(Me){if(oe=!0,We=Me,re){let mt=ye([me,We]),Yt=Xi(u,mt);lt(Yt)}return Ot}function Wo(){}return Se=uD(Wo,Yo,_n),at=uD(Wo,dn,ui),Zi(d),[Se,at]}function tj(u){return r(u)&&typeof u.getReader<"u"}function rj(u){return tj(u)?ij(u.getReader()):nj(u)}function nj(u){let d,T=$e(u,"async"),O=t;function J(){let oe;try{oe=nt(T)}catch(We){return l(We)}let me=f(oe);return N(me,We=>{if(!r(We))throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object");if(WA(We))XA(d._readableStreamController);else{let at=it(We);Lu(d._readableStreamController,at)}})}function re(oe){let me=T.iterator,We;try{We=ze(me,"return")}catch(lt){return l(lt)}if(We===void 0)return f(void 0);let Se;try{Se=G(We,me,[oe])}catch(lt){return l(lt)}let at=f(Se);return N(at,lt=>{if(!r(lt))throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object")})}return d=nh(O,J,re,0),d}function ij(u){let d,T=t;function O(){let re;try{re=u.read()}catch(oe){return l(oe)}return N(re,oe=>{if(!r(oe))throw new TypeError("The promise returned by the reader.read() method must fulfill with an object");if(oe.done)XA(d._readableStreamController);else{let me=oe.value;Lu(d._readableStreamController,me)}})}function J(re){try{return f(u.cancel(re))}catch(oe){return l(oe)}}return d=nh(T,O,J,0),d}function sj(u,d){ne(u,d);let T=u,O=T?.autoAllocateChunkSize,J=T?.cancel,re=T?.pull,oe=T?.start,me=T?.type;return{autoAllocateChunkSize:O===void 0?void 0:yr(O,`${d} has member 'autoAllocateChunkSize' that`),cancel:J===void 0?void 0:oj(J,T,`${d} has member 'cancel' that`),pull:re===void 0?void 0:aj(re,T,`${d} has member 'pull' that`),start:oe===void 0?void 0:Aj(oe,T,`${d} has member 'start' that`),type:me===void 0?void 0:fj(me,`${d} has member 'type' that`)}}function oj(u,d,T){return Ae(u,T),O=>Y(u,d,[O])}function aj(u,d,T){return Ae(u,T),O=>Y(u,d,[O])}function Aj(u,d,T){return Ae(u,T),O=>G(u,d,[O])}function fj(u,d){if(u=`${u}`,u!=="bytes")throw new TypeError(`${d} '${u}' is not a valid enumeration value for ReadableStreamType`);return u}function uj(u,d){return ne(u,d),{preventCancel:!!u?.preventCancel}}function fD(u,d){ne(u,d);let T=u?.preventAbort,O=u?.preventCancel,J=u?.preventClose,re=u?.signal;return re!==void 0&&cj(re,`${d} has member 'signal' that`),{preventAbort:!!T,preventCancel:!!O,preventClose:!!J,signal:re}}function cj(u,d){if(!mJ(u))throw new TypeError(`${d} is not an AbortSignal.`)}function lj(u,d){ne(u,d);let T=u?.readable;de(T,"readable","ReadableWritablePair"),we(T,`${d} has member 'readable' that`);let O=u?.writable;return de(O,"writable","ReadableWritablePair"),YR(O,`${d} has member 'writable' that`),{readable:T,writable:O}}class tn{constructor(d={},T={}){d===void 0?d=null:pe(d,"First parameter");let O=m0(T,"Second parameter"),J=sj(d,"First parameter");if(RI(this),J.type==="bytes"){if(O.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");let re=$l(O,0);oJ(this,J,re)}else{let re=y0(O),oe=$l(O,1);XJ(this,J,oe,re)}}get locked(){if(!Ya(this))throw ZA("locked");return Wa(this)}cancel(d=void 0){return Ya(this)?Wa(this)?l(new TypeError("Cannot cancel a stream that already has a reader")):Xi(this,d):l(ZA("cancel"))}getReader(d=void 0){if(!Ya(this))throw ZA("getReader");return AJ(d,"First parameter").mode===void 0?ve(this):PR(this)}pipeThrough(d,T={}){if(!Ya(this))throw ZA("pipeThrough");he(d,1,"pipeThrough");let O=lj(d,"First parameter"),J=fD(T,"Second parameter");if(Wa(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(xu(O.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");let re=oD(this,O.writable,J.preventClose,J.preventAbort,J.preventCancel,J.signal);return P(re),O.readable}pipeTo(d,T={}){if(!Ya(this))return l(ZA("pipeTo"));if(d===void 0)return l("Parameter 1 is required in 'pipeTo'.");if(!ku(d))return l(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let O;try{O=fD(T,"Second parameter")}catch(J){return l(J)}return Wa(this)?l(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):xu(d)?l(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):oD(this,d,O.preventClose,O.preventAbort,O.preventCancel,O.signal)}tee(){if(!Ya(this))throw ZA("tee");let d=ZJ(this);return ye(d)}values(d=void 0){if(!Ya(this))throw ZA("values");let T=uj(d,"First parameter");return m(this,T.preventCancel)}[ko](d){return this.values(d)}static from(d){return rj(d)}}Object.defineProperties(tn,{from:{enumerable:!0}}),Object.defineProperties(tn.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),i(tn.from,"from"),i(tn.prototype.cancel,"cancel"),i(tn.prototype.getReader,"getReader"),i(tn.prototype.pipeThrough,"pipeThrough"),i(tn.prototype.pipeTo,"pipeTo"),i(tn.prototype.tee,"tee"),i(tn.prototype.values,"values"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(tn.prototype,Symbol.toStringTag,{value:"ReadableStream",configurable:!0}),Object.defineProperty(tn.prototype,ko,{value:tn.prototype.values,writable:!0,configurable:!0});function nh(u,d,T,O=1,J=()=>1){let re=Object.create(tn.prototype);RI(re);let oe=Object.create(Go.prototype);return AD(re,oe,u,d,T,O,J),re}function uD(u,d,T){let O=Object.create(tn.prototype);RI(O);let J=Object.create(hn.prototype);return LR(O,J,u,d,T,0,void 0),O}function RI(u){u._state="readable",u._reader=void 0,u._storedError=void 0,u._disturbed=!1}function Ya(u){return!r(u)||!Object.prototype.hasOwnProperty.call(u,"_readableStreamController")?!1:u instanceof tn}function Wa(u){return u._reader!==void 0}function Xi(u,d){if(u._disturbed=!0,u._state==="closed")return f(void 0);if(u._state==="errored")return l(u._storedError);ih(u);let T=u._reader;if(T!==void 0&&jA(T)){let J=T._readIntoRequests;T._readIntoRequests=new ee,J.forEach(re=>{re._closeSteps(void 0)})}let O=u._readableStreamController[ie](d);return N(O,t)}function ih(u){u._state="closed";let d=u._reader;if(d!==void 0&&(D(d),De(d))){let T=d._readRequests;d._readRequests=new ee,T.forEach(O=>{O._closeSteps()})}}function cD(u,d){u._state="errored",u._storedError=d;let T=u._reader;T!==void 0&&(C(T,d),De(T)?He(T,d):GR(T,d))}function ZA(u){return new TypeError(`ReadableStream.prototype.${u} can only be used on a ReadableStream`)}function lD(u,d){ne(u,d);let T=u?.highWaterMark;return de(T,"highWaterMark","QueuingStrategyInit"),{highWaterMark:wt(T)}}let hD=u=>u.byteLength;i(hD,"size");class D0{constructor(d){he(d,1,"ByteLengthQueuingStrategy"),d=lD(d,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=d.highWaterMark}get highWaterMark(){if(!gD(this))throw dD("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!gD(this))throw dD("size");return hD}}Object.defineProperties(D0.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(D0.prototype,Symbol.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});function dD(u){return new TypeError(`ByteLengthQueuingStrategy.prototype.${u} can only be used on a ByteLengthQueuingStrategy`)}function gD(u){return!r(u)||!Object.prototype.hasOwnProperty.call(u,"_byteLengthQueuingStrategyHighWaterMark")?!1:u instanceof D0}let pD=()=>1;i(pD,"size");class T0{constructor(d){he(d,1,"CountQueuingStrategy"),d=lD(d,"First parameter"),this._countQueuingStrategyHighWaterMark=d.highWaterMark}get highWaterMark(){if(!yD(this))throw ED("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!yD(this))throw ED("size");return pD}}Object.defineProperties(T0.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(T0.prototype,Symbol.toStringTag,{value:"CountQueuingStrategy",configurable:!0});function ED(u){return new TypeError(`CountQueuingStrategy.prototype.${u} can only be used on a CountQueuingStrategy`)}function yD(u){return!r(u)||!Object.prototype.hasOwnProperty.call(u,"_countQueuingStrategyHighWaterMark")?!1:u instanceof T0}function hj(u,d){ne(u,d);let T=u?.cancel,O=u?.flush,J=u?.readableType,re=u?.start,oe=u?.transform,me=u?.writableType;return{cancel:T===void 0?void 0:Ej(T,u,`${d} has member 'cancel' that`),flush:O===void 0?void 0:dj(O,u,`${d} has member 'flush' that`),readableType:J,start:re===void 0?void 0:gj(re,u,`${d} has member 'start' that`),transform:oe===void 0?void 0:pj(oe,u,`${d} has member 'transform' that`),writableType:me}}function dj(u,d,T){return Ae(u,T),O=>Y(u,d,[O])}function gj(u,d,T){return Ae(u,T),O=>G(u,d,[O])}function pj(u,d,T){return Ae(u,T),(O,J)=>Y(u,d,[O,J])}function Ej(u,d,T){return Ae(u,T),O=>Y(u,d,[O])}class N0{constructor(d={},T={},O={}){d===void 0&&(d=null);let J=m0(T,"Second parameter"),re=m0(O,"Third parameter"),oe=hj(d,"First parameter");if(oe.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(oe.writableType!==void 0)throw new RangeError("Invalid writableType specified");let me=$l(re,0),We=y0(re),Se=$l(J,1),at=y0(J),lt,Ot=A(Zi=>{lt=Zi});yj(this,Ot,Se,at,me,We),Bj(this,oe),oe.start!==void 0?lt(oe.start(this._transformStreamController)):lt(void 0)}get readable(){if(!mD(this))throw CD("readable");return this._readable}get writable(){if(!mD(this))throw CD("writable");return this._writable}}Object.defineProperties(N0.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(N0.prototype,Symbol.toStringTag,{value:"TransformStream",configurable:!0});function yj(u,d,T,O,J,re){function oe(){return d}function me(Ot){return Cj(u,Ot)}function We(Ot){return Qj(u,Ot)}function Se(){return wj(u)}u._writable=bJ(oe,me,Se,We,T,O);function at(){return Sj(u)}function lt(Ot){return _j(u,Ot)}u._readable=nh(oe,at,lt,J,re),u._backpressure=void 0,u._backpressureChangePromise=void 0,u._backpressureChangePromise_resolve=void 0,M0(u,!0),u._transformStreamController=void 0}function mD(u){return!r(u)||!Object.prototype.hasOwnProperty.call(u,"_transformStreamController")?!1:u instanceof N0}function BD(u,d){Ki(u._readable._readableStreamController,d),DI(u,d)}function DI(u,d){k0(u._transformStreamController),eh(u._writable._writableStreamController,d),TI(u)}function TI(u){u._backpressure&&M0(u,!1)}function M0(u,d){u._backpressureChangePromise!==void 0&&u._backpressureChangePromise_resolve(),u._backpressureChangePromise=A(T=>{u._backpressureChangePromise_resolve=T}),u._backpressure=d}class Va{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!F0(this))throw x0("desiredSize");let d=this._controlledTransformStream._readable._readableStreamController;return vI(d)}enqueue(d=void 0){if(!F0(this))throw x0("enqueue");ID(this,d)}error(d=void 0){if(!F0(this))throw x0("error");Ij(this,d)}terminate(){if(!F0(this))throw x0("terminate");bj(this)}}Object.defineProperties(Va.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),i(Va.prototype.enqueue,"enqueue"),i(Va.prototype.error,"error"),i(Va.prototype.terminate,"terminate"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Va.prototype,Symbol.toStringTag,{value:"TransformStreamDefaultController",configurable:!0});function F0(u){return!r(u)||!Object.prototype.hasOwnProperty.call(u,"_controlledTransformStream")?!1:u instanceof Va}function mj(u,d,T,O,J){d._controlledTransformStream=u,u._transformStreamController=d,d._transformAlgorithm=T,d._flushAlgorithm=O,d._cancelAlgorithm=J,d._finishPromise=void 0,d._finishPromise_resolve=void 0,d._finishPromise_reject=void 0}function Bj(u,d){let T=Object.create(Va.prototype),O,J,re;d.transform!==void 0?O=oe=>d.transform(oe,T):O=oe=>{try{return ID(T,oe),f(void 0)}catch(me){return l(me)}},d.flush!==void 0?J=()=>d.flush(T):J=()=>f(void 0),d.cancel!==void 0?re=oe=>d.cancel(oe):re=()=>f(void 0),mj(u,T,O,J,re)}function k0(u){u._transformAlgorithm=void 0,u._flushAlgorithm=void 0,u._cancelAlgorithm=void 0}function ID(u,d){let T=u._controlledTransformStream,O=T._readable._readableStreamController;if(!Pu(O))throw new TypeError("Readable side is not in a state that permits enqueue");try{Lu(O,d)}catch(re){throw DI(T,re),T._readable._storedError}KJ(O)!==T._backpressure&&M0(T,!0)}function Ij(u,d){BD(u._controlledTransformStream,d)}function bD(u,d){let T=u._transformAlgorithm(d);return N(T,void 0,O=>{throw BD(u._controlledTransformStream,O),O})}function bj(u){let d=u._controlledTransformStream,T=d._readable._readableStreamController;XA(T);let O=new TypeError("TransformStream terminated");DI(d,O)}function Cj(u,d){let T=u._transformStreamController;if(u._backpressure){let O=u._backpressureChangePromise;return N(O,()=>{let J=u._writable;if(J._state==="erroring")throw J._storedError;return bD(T,d)})}return bD(T,d)}function Qj(u,d){let T=u._transformStreamController;if(T._finishPromise!==void 0)return T._finishPromise;let O=u._readable;T._finishPromise=A((re,oe)=>{T._finishPromise_resolve=re,T._finishPromise_reject=oe});let J=T._cancelAlgorithm(d);return k0(T),B(J,()=>(O._state==="errored"?Ou(T,O._storedError):(Ki(O._readableStreamController,d),NI(T)),null),re=>(Ki(O._readableStreamController,re),Ou(T,re),null)),T._finishPromise}function wj(u){let d=u._transformStreamController;if(d._finishPromise!==void 0)return d._finishPromise;let T=u._readable;d._finishPromise=A((J,re)=>{d._finishPromise_resolve=J,d._finishPromise_reject=re});let O=d._flushAlgorithm();return k0(d),B(O,()=>(T._state==="errored"?Ou(d,T._storedError):(XA(T._readableStreamController),NI(d)),null),J=>(Ki(T._readableStreamController,J),Ou(d,J),null)),d._finishPromise}function Sj(u){return M0(u,!1),u._backpressureChangePromise}function _j(u,d){let T=u._transformStreamController;if(T._finishPromise!==void 0)return T._finishPromise;let O=u._writable;T._finishPromise=A((re,oe)=>{T._finishPromise_resolve=re,T._finishPromise_reject=oe});let J=T._cancelAlgorithm(d);return k0(T),B(J,()=>(O._state==="errored"?Ou(T,O._storedError):(eh(O._writableStreamController,d),TI(u),NI(T)),null),re=>(eh(O._writableStreamController,re),TI(u),Ou(T,re),null)),T._finishPromise}function x0(u){return new TypeError(`TransformStreamDefaultController.prototype.${u} can only be used on a TransformStreamDefaultController`)}function NI(u){u._finishPromise_resolve!==void 0&&(u._finishPromise_resolve(),u._finishPromise_resolve=void 0,u._finishPromise_reject=void 0)}function Ou(u,d){u._finishPromise_reject!==void 0&&(P(u._finishPromise),u._finishPromise_reject(d),u._finishPromise_resolve=void 0,u._finishPromise_reject=void 0)}function CD(u){return new TypeError(`TransformStream.prototype.${u} can only be used on a TransformStream`)}e.ByteLengthQueuingStrategy=D0,e.CountQueuingStrategy=T0,e.ReadableByteStreamController=hn,e.ReadableStream=tn,e.ReadableStreamBYOBReader=qa,e.ReadableStreamBYOBRequest=Le,e.ReadableStreamDefaultController=Go,e.ReadableStreamDefaultReader=Te,e.TransformStream=N0,e.TransformStreamDefaultController=Va,e.WritableStream=Ga,e.WritableStreamDefaultController=Uu,e.WritableStreamDefaultWriter=qo}))});var kC=x((ZDe,qk)=>{"use strict";function nA(e){"@babel/helpers - typeof";return nA=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nA(e)}function Pk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,qse(n.key),n)}}function Hse(e,t,r){return t&&Pk(e.prototype,t),r&&Pk(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function qse(e){var t=Gse(e,"string");return nA(t)==="symbol"?t:String(t)}function Gse(e,t){if(nA(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(nA(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Yse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&FC(e,t)}function FC(e,t){return FC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},FC(e,t)}function Vse(e){var t=zse();return function(){var n=Xp(e),i;if(t){var s=Xp(this).constructor;i=Reflect.construct(n,arguments,s)}else i=n.apply(this,arguments);return Jse(this,i)}}function Jse(e,t){if(t&&(nA(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return jse(e)}function jse(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zse(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Xp(e){return Xp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Xp(e)}var Hk={},Ec,MC;function kh(e,t,r){r||(r=Error);function n(s,o,a){return typeof t=="string"?t:t(s,o,a)}var i=(function(s){Wse(a,s);var o=Vse(a);function a(A,f,l){var p;return Yse(this,a),p=o.call(this,n(A,f,l)),p.code=e,p}return Hse(a)})(r);Hk[e]=i}function Ok(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(n){return String(n)}),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 Kse(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function Xse(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Zse(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}kh("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError);kh("ERR_INVALID_ARG_TYPE",function(e,t,r){Ec===void 0&&(Ec=Wt()),Ec(typeof e=="string","'name' must be a string");var n;typeof t=="string"&&Kse(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";var i;if(Xse(e," argument"))i="The ".concat(e," ").concat(n," ").concat(Ok(t,"type"));else{var s=Zse(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(s," ").concat(n," ").concat(Ok(t,"type"))}return i+=". Received type ".concat(nA(r)),i},TypeError);kh("ERR_INVALID_ARG_VALUE",function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";MC===void 0&&(MC=Yr());var n=MC.inspect(t);return n.length>128&&(n="".concat(n.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(n)},TypeError,RangeError);kh("ERR_INVALID_RETURN_VALUE",function(e,t,r){var n;return r&&r.constructor&&r.constructor.name?n="instance of ".concat(r.constructor.name):n="type ".concat(nA(r)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(n,".")},TypeError);kh("ERR_MISSING_ARGS",function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Ec===void 0&&(Ec=Wt()),Ec(t.length>0,"At least one arg needs to be specified");var n="The ",i=t.length;switch(t=t.map(function(s){return'"'.concat(s,'"')}),i){case 1:n+="".concat(t[0]," argument");break;case 2:n+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:n+=t.slice(0,i-1).join(", "),n+=", and ".concat(t[i-1]," arguments");break}return"".concat(n," must be specified")},TypeError);qk.exports.codes=Hk});var Zk=x(($De,Xk)=>{"use strict";function Gk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Yk(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Gk(Object(r),!0).forEach(function(n){$se(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gk(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function $se(e,t,r){return t=jk(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,jk(n.key),n)}}function toe(e,t,r){return t&&Wk(e.prototype,t),r&&Wk(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function jk(e){var t=roe(e,"string");return Dn(t)==="symbol"?t:String(t)}function roe(e,t){if(Dn(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Dn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function noe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ph(e,t)}function ioe(e){var t=Kk();return function(){var n=Oh(e),i;if(t){var s=Oh(this).constructor;i=Reflect.construct(n,arguments,s)}else i=n.apply(this,arguments);return zk(this,i)}}function zk(e,t){if(t&&(Dn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xC(e)}function xC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UC(e){var t=typeof Map=="function"?new Map:void 0;return UC=function(n){if(n===null||!soe(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return Zp(n,arguments,Oh(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Ph(i,n)},UC(e)}function Zp(e,t,r){return Kk()?Zp=Reflect.construct.bind():Zp=function(i,s,o){var a=[null];a.push.apply(a,s);var A=Function.bind.apply(i,a),f=new A;return o&&Ph(f,o.prototype),f},Zp.apply(null,arguments)}function Kk(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function soe(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ph(e,t){return Ph=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Ph(e,t)}function Oh(e){return Oh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Oh(e)}function Dn(e){"@babel/helpers - typeof";return Dn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dn(e)}var ooe=Yr(),LC=ooe.inspect,aoe=kC(),Aoe=aoe.codes.ERR_INVALID_ARG_TYPE;function Vk(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function foe(e,t){if(t=Math.floor(t),e.length==0||t==0)return"";var r=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+=e.substring(0,r-e.length),e}var ns="",xh="",Uh="",Vr="",pf={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},uoe=10;function Jk(e){var t=Object.keys(e),r=Object.create(Object.getPrototypeOf(e));return t.forEach(function(n){r[n]=e[n]}),Object.defineProperty(r,"message",{value:e.message}),r}function Lh(e){return LC(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function coe(e,t,r){var n="",i="",s=0,o="",a=!1,A=Lh(e),f=A.split(`
`),l=Lh(t).split(`
`),p=0,B="";if(r==="strictEqual"&&Dn(e)==="object"&&Dn(t)==="object"&&e!==null&&t!==null&&(r="strictEqualObject"),f.length===1&&l.length===1&&f[0]!==l[0]){var S=f[0].length+l[0].length;if(S<=uoe){if((Dn(e)!=="object"||e===null)&&(Dn(t)!=="object"||t===null)&&(e!==0||t!==0))return"".concat(pf[r],`
`)+"".concat(f[0]," !== ").concat(l[0],`
`)}else if(r!=="strictEqualObject"){var _=process.stderr&&process.stderr.isTTY?process.stderr.columns:80;if(S<_){for(;f[0][p]===l[0][p];)p++;p>2&&(B=`
`.concat(foe(" ",p),"^"),p=0)}}}for(var N=f[f.length-1],P=l[l.length-1];N===P&&(p++<2?o=`
`.concat(N).concat(o):n=N,f.pop(),l.pop(),!(f.length===0||l.length===0));)N=f[f.length-1],P=l[l.length-1];var U=Math.max(f.length,l.length);if(U===0){var G=A.split(`
`);if(G.length>30)for(G[26]="".concat(ns,"...").concat(Vr);G.length>27;)G.pop();return"".concat(pf.notIdentical,`
`).concat(G.join(`
`),`
`)}p>3&&(o=`
`.concat(ns,"...").concat(Vr).concat(o),a=!0),n!==""&&(o=`
`.concat(n).concat(o),n="");var Y=0,Z=pf[r]+`
`.concat(xh,"+ actual").concat(Vr," ").concat(Uh,"- expected").concat(Vr),ee=" ".concat(ns,"...").concat(Vr," Lines skipped");for(p=0;p<U;p++){var j=p-s;if(f.length<p+1)j>1&&p>2&&(j>4?(i+=`
`.concat(ns,"...").concat(Vr),a=!0):j>3&&(i+=`
`.concat(l[p-2]),Y++),i+=`
`.concat(l[p-1]),Y++),s=p,n+=`
`.concat(Uh,"-").concat(Vr," ").concat(l[p]),Y++;else if(l.length<p+1)j>1&&p>2&&(j>4?(i+=`
`.concat(ns,"...").concat(Vr),a=!0):j>3&&(i+=`
`.concat(f[p-2]),Y++),i+=`
`.concat(f[p-1]),Y++),s=p,i+=`
`.concat(xh,"+").concat(Vr," ").concat(f[p]),Y++;else{var se=l[p],ie=f[p],ce=ie!==se&&(!Vk(ie,",")||ie.slice(0,-1)!==se);ce&&Vk(se,",")&&se.slice(0,-1)===ie&&(ce=!1,ie+=","),ce?(j>1&&p>2&&(j>4?(i+=`
`.concat(ns,"...").concat(Vr),a=!0):j>3&&(i+=`
`.concat(f[p-2]),Y++),i+=`
`.concat(f[p-1]),Y++),s=p,i+=`
`.concat(xh,"+").concat(Vr," ").concat(ie),n+=`
`.concat(Uh,"-").concat(Vr," ").concat(se),Y+=2):(i+=n,n="",(j===1||p===0)&&(i+=`
`.concat(ie),Y++))}if(Y>20&&p<U-2)return"".concat(Z).concat(ee,`
`).concat(i,`
`).concat(ns,"...").concat(Vr).concat(n,`
`)+"".concat(ns,"...").concat(Vr)}return"".concat(Z).concat(a?ee:"",`
`).concat(i).concat(n).concat(o).concat(B)}var loe=(function(e,t){noe(n,e);var r=ioe(n);function n(i){var s;if(eoe(this,n),Dn(i)!=="object"||i===null)throw new Aoe("options","Object",i);var o=i.message,a=i.operator,A=i.stackStartFn,f=i.actual,l=i.expected,p=Error.stackTraceLimit;if(Error.stackTraceLimit=0,o!=null)s=r.call(this,String(o));else if(process.stderr&&process.stderr.isTTY&&(process.stderr&&process.stderr.getColorDepth&&process.stderr.getColorDepth()!==1?(ns="\x1B[34m",xh="\x1B[32m",Vr="\x1B[39m",Uh="\x1B[31m"):(ns="",xh="",Vr="",Uh="")),Dn(f)==="object"&&f!==null&&Dn(l)==="object"&&l!==null&&"stack"in f&&f instanceof Error&&"stack"in l&&l instanceof Error&&(f=Jk(f),l=Jk(l)),a==="deepStrictEqual"||a==="strictEqual")s=r.call(this,coe(f,l,a));else if(a==="notDeepStrictEqual"||a==="notStrictEqual"){var B=pf[a],S=Lh(f).split(`
`);if(a==="notStrictEqual"&&Dn(f)==="object"&&f!==null&&(B=pf.notStrictEqualObject),S.length>30)for(S[26]="".concat(ns,"...").concat(Vr);S.length>27;)S.pop();S.length===1?s=r.call(this,"".concat(B," ").concat(S[0])):s=r.call(this,"".concat(B,`
`).concat(S.join(`
`),`
`))}else{var _=Lh(f),N="",P=pf[a];a==="notDeepEqual"||a==="notEqual"?(_="".concat(pf[a],`
`).concat(_),_.length>1024&&(_="".concat(_.slice(0,1021),"..."))):(N="".concat(Lh(l)),_.length>512&&(_="".concat(_.slice(0,509),"...")),N.length>512&&(N="".concat(N.slice(0,509),"...")),a==="deepEqual"||a==="equal"?_="".concat(P,`
`).concat(_,`
should equal
`):N=" ".concat(a," ").concat(N)),s=r.call(this,"".concat(_).concat(N))}return Error.stackTraceLimit=p,s.generatedMessage=!o,Object.defineProperty(xC(s),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),s.code="ERR_ASSERTION",s.actual=f,s.expected=l,s.operator=a,Error.captureStackTrace&&Error.captureStackTrace(xC(s),A),s.stack,s.name="AssertionError",zk(s)}return toe(n,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:t,value:function(s,o){return LC(this,Yk(Yk({},o),{},{customInspect:!1,depth:0}))}}]),n})(UC(Error),LC.custom);Xk.exports=loe});var PC=x((eTe,e4)=>{"use strict";var $k=Object.prototype.toString;e4.exports=function(t){var r=$k.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&$k.call(t.callee)==="[object Function]"),n}});var f4=x((tTe,A4)=>{"use strict";var a4;Object.keys||(Hh=Object.prototype.hasOwnProperty,OC=Object.prototype.toString,t4=PC(),HC=Object.prototype.propertyIsEnumerable,r4=!HC.call({toString:null},"toString"),n4=HC.call(function(){},"prototype"),qh=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],$p=function(e){var t=e.constructor;return t&&t.prototype===e},i4={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},s4=(function(){if(typeof window>"u")return!1;for(var e in window)try{if(!i4["$"+e]&&Hh.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{$p(window[e])}catch{return!0}}catch{return!0}return!1})(),o4=function(e){if(typeof window>"u"||!s4)return $p(e);try{return $p(e)}catch{return!1}},a4=function(t){var r=t!==null&&typeof t=="object",n=OC.call(t)==="[object Function]",i=t4(t),s=r&&OC.call(t)==="[object String]",o=[];if(!r&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var a=n4&&n;if(s&&t.length>0&&!Hh.call(t,0))for(var A=0;A<t.length;++A)o.push(String(A));if(i&&t.length>0)for(var f=0;f<t.length;++f)o.push(String(f));else for(var l in t)!(a&&l==="prototype")&&Hh.call(t,l)&&o.push(String(l));if(r4)for(var p=o4(t),B=0;B<qh.length;++B)!(p&&qh[B]==="constructor")&&Hh.call(t,qh[B])&&o.push(qh[B]);return o});var Hh,OC,t4,HC,r4,n4,qh,$p,i4,s4,o4;A4.exports=a4});var qC=x((rTe,l4)=>{"use strict";var hoe=Array.prototype.slice,doe=PC(),u4=Object.keys,eE=u4?function(t){return u4(t)}:f4(),c4=Object.keys;eE.shim=function(){if(Object.keys){var t=(function(){var r=Object.keys(arguments);return r&&r.length===arguments.length})(1,2);t||(Object.keys=function(n){return doe(n)?c4(hoe.call(n)):c4(n)})}else Object.keys=eE;return Object.keys||eE};l4.exports=eE});var E4=x((nTe,p4)=>{"use strict";var goe=qC(),d4=W0()(),g4=Js(),tE=V0(),poe=g4("Array.prototype.push"),h4=g4("Object.prototype.propertyIsEnumerable"),Eoe=d4?tE.getOwnPropertySymbols:null;p4.exports=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=tE(t);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var s=tE(arguments[i]),o=goe(s),a=d4&&(tE.getOwnPropertySymbols||Eoe);if(a)for(var A=a(s),f=0;f<A.length;++f){var l=A[f];h4(s,l)&&poe(o,l)}for(var p=0;p<o.length;++p){var B=o[p];if(h4(s,B)){var S=s[B];n[B]=S}}}return n}});var m4=x((iTe,y4)=>{"use strict";var GC=E4(),yoe=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var i=Object.assign({},r),s="";for(var o in i)s+=o;return e!==s},moe=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch{return e[1]==="y"}return!1};y4.exports=function(){return!Object.assign||yoe()||moe()?GC:Object.assign}});var YC=x((sTe,I4)=>{"use strict";var B4=function(e){return e!==e};I4.exports=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||B4(t)&&B4(r))}});var rE=x((oTe,b4)=>{"use strict";var Boe=YC();b4.exports=function(){return typeof Object.is=="function"?Object.is:Boe}});var S4=x((aTe,w4)=>{"use strict";var C4=rc(),Q4=hh(),Ioe=Q4(C4("String.prototype.indexOf"));w4.exports=function(t,r){var n=C4(t,!!r);return typeof n=="function"&&Ioe(t,".prototype.")>-1?Q4(n):n}});var Gh=x((ATe,D4)=>{"use strict";var boe=qC(),Coe=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Qoe=Object.prototype.toString,woe=Array.prototype.concat,_4=pb(),Soe=function(e){return typeof e=="function"&&Qoe.call(e)==="[object Function]"},v4=yb()(),_oe=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!Soe(n)||!n())return}v4?_4(e,t,r,!0):_4(e,t,r)},R4=function(e,t){var r=arguments.length>2?arguments[2]:{},n=boe(t);Coe&&(n=woe.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)_oe(e,n[i],t[n[i]],r[n[i]])};R4.supportsDescriptors=!!v4;D4.exports=R4});var N4=x((fTe,T4)=>{"use strict";var voe=rE(),Roe=Gh();T4.exports=function(){var t=voe();return Roe(Object,{is:t},{is:function(){return Object.is!==t}}),t}});var x4=x((uTe,k4)=>{"use strict";var Doe=Gh(),Toe=hh(),Noe=YC(),M4=rE(),Moe=N4(),F4=Toe(M4(),Object);Doe(F4,{getPolyfill:M4,implementation:Noe,shim:Moe});k4.exports=F4});var WC=x((cTe,U4)=>{"use strict";U4.exports=function(t){return t!==t}});var VC=x((lTe,L4)=>{"use strict";var Foe=WC();L4.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:Foe}});var O4=x((hTe,P4)=>{"use strict";var koe=Gh(),xoe=VC();P4.exports=function(){var t=xoe();return koe(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}});var Y4=x((dTe,G4)=>{"use strict";var Uoe=hh(),Loe=Gh(),Poe=WC(),H4=VC(),Ooe=O4(),q4=Uoe(H4(),Number);Loe(q4,{getPolyfill:H4,implementation:Poe,shim:Ooe});G4.exports=q4});var ux=x((gTe,fx)=>{"use strict";function W4(e,t){return Yoe(e)||Goe(e,t)||qoe(e,t)||Hoe()}function Hoe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qoe(e,t){if(e){if(typeof e=="string")return V4(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return V4(e,t)}}function V4(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Goe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,s,o,a=[],A=!0,f=!1;try{if(s=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;A=!1}else for(;!(A=(n=s.call(r)).done)&&(a.push(n.value),a.length!==t);A=!0);}catch(l){f=!0,i=l}finally{try{if(!A&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(f)throw i}}return a}}function Yoe(e){if(Array.isArray(e))return e}function Ei(e){"@babel/helpers - typeof";return Ei=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ei(e)}var Woe=/a/g.flags!==void 0,fE=function(t){var r=[];return t.forEach(function(n){return r.push(n)}),r},J4=function(t){var r=[];return t.forEach(function(n,i){return r.push([i,n])}),r},ix=Object.is?Object.is:x4(),aE=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},JC=Number.isNaN?Number.isNaN:Y4();function zC(e){return e.call.bind(e)}var Wh=zC(Object.prototype.hasOwnProperty),AE=zC(Object.prototype.propertyIsEnumerable),j4=zC(Object.prototype.toString),gn=Yr().types,Voe=gn.isAnyArrayBuffer,Joe=gn.isArrayBufferView,z4=gn.isDate,nE=gn.isMap,K4=gn.isRegExp,iE=gn.isSet,joe=gn.isNativeError,zoe=gn.isBoxedPrimitive,X4=gn.isNumberObject,Z4=gn.isStringObject,$4=gn.isBooleanObject,ex=gn.isBigIntObject,Koe=gn.isSymbolObject,Xoe=gn.isFloat32Array,Zoe=gn.isFloat64Array;function $oe(e){if(e.length===0||e.length>10)return!0;for(var t=0;t<e.length;t++){var r=e.charCodeAt(t);if(r<48||r>57)return!0}return e.length===10&&e>=Math.pow(2,32)}function sE(e){return Object.keys(e).filter($oe).concat(aE(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function sx(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,s=Math.min(r,n);i<s;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}var oE=void 0,eae=!0,tae=!1,jC=0,KC=1,ox=2,ax=3;function rae(e,t){return Woe?e.source===t.source&&e.flags===t.flags:RegExp.prototype.toString.call(e)===RegExp.prototype.toString.call(t)}function nae(e,t){if(e.byteLength!==t.byteLength)return!1;for(var r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0}function iae(e,t){return e.byteLength!==t.byteLength?!1:sx(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))===0}function sae(e,t){return e.byteLength===t.byteLength&&sx(new Uint8Array(e),new Uint8Array(t))===0}function oae(e,t){return X4(e)?X4(t)&&ix(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):Z4(e)?Z4(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):$4(e)?$4(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):ex(e)?ex(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):Koe(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}function yi(e,t,r,n){if(e===t)return e!==0?!0:r?ix(e,t):!0;if(r){if(Ei(e)!=="object")return typeof e=="number"&&JC(e)&&JC(t);if(Ei(t)!=="object"||e===null||t===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(e===null||Ei(e)!=="object")return t===null||Ei(t)!=="object"?e==t:!1;if(t===null||Ei(t)!=="object")return!1}var i=j4(e),s=j4(t);if(i!==s)return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var o=sE(e,oE),a=sE(t,oE);return o.length!==a.length?!1:Yh(e,t,r,n,KC,o)}if(i==="[object Object]"&&(!nE(e)&&nE(t)||!iE(e)&&iE(t)))return!1;if(z4(e)){if(!z4(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(K4(e)){if(!K4(t)||!rae(e,t))return!1}else if(joe(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else if(Joe(e)){if(!r&&(Xoe(e)||Zoe(e))){if(!nae(e,t))return!1}else if(!iae(e,t))return!1;var A=sE(e,oE),f=sE(t,oE);return A.length!==f.length?!1:Yh(e,t,r,n,jC,A)}else{if(iE(e))return!iE(t)||e.size!==t.size?!1:Yh(e,t,r,n,ox);if(nE(e))return!nE(t)||e.size!==t.size?!1:Yh(e,t,r,n,ax);if(Voe(e)){if(!sae(e,t))return!1}else if(zoe(e)&&!oae(e,t))return!1}return Yh(e,t,r,n,jC)}function tx(e,t){return t.filter(function(r){return AE(e,r)})}function Yh(e,t,r,n,i,s){if(arguments.length===5){s=Object.keys(e);var o=Object.keys(t);if(s.length!==o.length)return!1}for(var a=0;a<s.length;a++)if(!Wh(t,s[a]))return!1;if(r&&arguments.length===5){var A=aE(e);if(A.length!==0){var f=0;for(a=0;a<A.length;a++){var l=A[a];if(AE(e,l)){if(!AE(t,l))return!1;s.push(l),f++}else if(AE(t,l))return!1}var p=aE(t);if(A.length!==p.length&&tx(t,p).length!==f)return!1}else{var B=aE(t);if(B.length!==0&&tx(t,B).length!==0)return!1}}if(s.length===0&&(i===jC||i===KC&&e.length===0||e.size===0))return!0;if(n===void 0)n={val1:new Map,val2:new Map,position:0};else{var S=n.val1.get(e);if(S!==void 0){var _=n.val2.get(t);if(_!==void 0)return S===_}n.position++}n.val1.set(e,n.position),n.val2.set(t,n.position);var N=cae(e,t,r,s,n,i);return n.val1.delete(e),n.val2.delete(t),N}function rx(e,t,r,n){for(var i=fE(e),s=0;s<i.length;s++){var o=i[s];if(yi(t,o,r,n))return e.delete(o),!0}return!1}function Ax(e){switch(Ei(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(JC(e))return!1}return!0}function aae(e,t,r){var n=Ax(r);return n??(t.has(n)&&!e.has(n))}function Aae(e,t,r,n,i){var s=Ax(r);if(s!=null)return s;var o=t.get(s);return o===void 0&&!t.has(s)||!yi(n,o,!1,i)?!1:!e.has(s)&&yi(n,o,!1,i)}function fae(e,t,r,n){for(var i=null,s=fE(e),o=0;o<s.length;o++){var a=s[o];if(Ei(a)==="object"&&a!==null)i===null&&(i=new Set),i.add(a);else if(!t.has(a)){if(r||!aae(e,t,a))return!1;i===null&&(i=new Set),i.add(a)}}if(i!==null){for(var A=fE(t),f=0;f<A.length;f++){var l=A[f];if(Ei(l)==="object"&&l!==null){if(!rx(i,l,r,n))return!1}else if(!r&&!e.has(l)&&!rx(i,l,r,n))return!1}return i.size===0}return!0}function nx(e,t,r,n,i,s){for(var o=fE(e),a=0;a<o.length;a++){var A=o[a];if(yi(r,A,i,s)&&yi(n,t.get(A),i,s))return e.delete(A),!0}return!1}function uae(e,t,r,n){for(var i=null,s=J4(e),o=0;o<s.length;o++){var a=W4(s[o],2),A=a[0],f=a[1];if(Ei(A)==="object"&&A!==null)i===null&&(i=new Set),i.add(A);else{var l=t.get(A);if(l===void 0&&!t.has(A)||!yi(f,l,r,n)){if(r||!Aae(e,t,A,f,n))return!1;i===null&&(i=new Set),i.add(A)}}}if(i!==null){for(var p=J4(t),B=0;B<p.length;B++){var S=W4(p[B],2),_=S[0],N=S[1];if(Ei(_)==="object"&&_!==null){if(!nx(i,e,_,N,r,n))return!1}else if(!r&&(!e.has(_)||!yi(e.get(_),N,!1,n))&&!nx(i,e,_,N,!1,n))return!1}return i.size===0}return!0}function cae(e,t,r,n,i,s){var o=0;if(s===ox){if(!fae(e,t,r,i))return!1}else if(s===ax){if(!uae(e,t,r,i))return!1}else if(s===KC)for(;o<e.length;o++)if(Wh(e,o)){if(!Wh(t,o)||!yi(e[o],t[o],r,i))return!1}else{if(Wh(t,o))return!1;for(var a=Object.keys(e);o<a.length;o++){var A=a[o];if(!Wh(t,A)||!yi(e[A],t[A],r,i))return!1}return a.length===Object.keys(t).length}for(o=0;o<n.length;o++){var f=n[o];if(!yi(e[f],t[f],r,i))return!1}return!0}function lae(e,t){return yi(e,t,tae)}function hae(e,t){return yi(e,t,eae)}fx.exports={isDeepEqual:lae,isDeepStrictEqual:hae}});var Wt=x((pTe,vx)=>{"use strict";function is(e){"@babel/helpers - typeof";return is=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},is(e)}function cx(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,gae(n.key),n)}}function dae(e,t,r){return t&&cx(e.prototype,t),r&&cx(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function gae(e){var t=pae(e,"string");return is(t)==="symbol"?t:String(t)}function pae(e,t){if(is(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(is(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Eae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var yae=kC(),Vh=yae.codes,lx=Vh.ERR_AMBIGUOUS_ARGUMENT,yc=Vh.ERR_INVALID_ARG_TYPE,mae=Vh.ERR_INVALID_ARG_VALUE,Bae=Vh.ERR_INVALID_RETURN_VALUE,sA=Vh.ERR_MISSING_ARGS,oA=Zk(),Iae=Yr(),uE=Iae.inspect,px=Yr().types,bae=px.isPromise,cE=px.isRegExp,Cae=m4()(),Ex=rE()(),lE=S4()("RegExp.prototype.test"),iA,hE;function Jh(){var e=ux();iA=e.isDeepEqual,hE=e.isDeepStrictEqual}var hx=!1,Vt=vx.exports=XC,dE={};function ss(e){throw e.message instanceof Error?e.message:new oA(e)}function yx(e,t,r,n,i){var s=arguments.length,o;if(s===0)o="Failed";else if(s===1)r=e,e=void 0;else{if(hx===!1){hx=!0;var a=process.emitWarning?process.emitWarning:console.warn.bind(console);a("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}s===2&&(n="!=")}if(r instanceof Error)throw r;var A={actual:e,expected:t,operator:n===void 0?"fail":n,stackStartFn:i||yx};r!==void 0&&(A.message=r);var f=new oA(A);throw o&&(f.message=o,f.generatedMessage=!0),f}Vt.fail=yx;Vt.AssertionError=oA;function mx(e,t,r,n){if(!r){var i=!1;if(t===0)i=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var s=new oA({actual:r,expected:!0,message:n,operator:"==",stackStartFn:e});throw s.generatedMessage=i,s}}function XC(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];mx.apply(void 0,[XC,t.length].concat(t))}Vt.ok=XC;Vt.equal=function e(t,r,n){if(arguments.length<2)throw new sA("actual","expected");t!=r&&ss({actual:t,expected:r,message:n,operator:"==",stackStartFn:e})};Vt.notEqual=function e(t,r,n){if(arguments.length<2)throw new sA("actual","expected");t==r&&ss({actual:t,expected:r,message:n,operator:"!=",stackStartFn:e})};Vt.deepEqual=function e(t,r,n){if(arguments.length<2)throw new sA("actual","expected");iA===void 0&&Jh(),iA(t,r)||ss({actual:t,expected:r,message:n,operator:"deepEqual",stackStartFn:e})};Vt.notDeepEqual=function e(t,r,n){if(arguments.length<2)throw new sA("actual","expected");iA===void 0&&Jh(),iA(t,r)&&ss({actual:t,expected:r,message:n,operator:"notDeepEqual",stackStartFn:e})};Vt.deepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new sA("actual","expected");iA===void 0&&Jh(),hE(t,r)||ss({actual:t,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:e})};Vt.notDeepStrictEqual=Bx;function Bx(e,t,r){if(arguments.length<2)throw new sA("actual","expected");iA===void 0&&Jh(),hE(e,t)&&ss({actual:e,expected:t,message:r,operator:"notDeepStrictEqual",stackStartFn:Bx})}Vt.strictEqual=function e(t,r,n){if(arguments.length<2)throw new sA("actual","expected");Ex(t,r)||ss({actual:t,expected:r,message:n,operator:"strictEqual",stackStartFn:e})};Vt.notStrictEqual=function e(t,r,n){if(arguments.length<2)throw new sA("actual","expected");Ex(t,r)&&ss({actual:t,expected:r,message:n,operator:"notStrictEqual",stackStartFn:e})};var dx=dae(function e(t,r,n){var i=this;Eae(this,e),r.forEach(function(s){s in t&&(n!==void 0&&typeof n[s]=="string"&&cE(t[s])&&lE(t[s],n[s])?i[s]=n[s]:i[s]=t[s])})});function Qae(e,t,r,n,i,s){if(!(r in e)||!hE(e[r],t[r])){if(!n){var o=new dx(e,i),a=new dx(t,i,e),A=new oA({actual:o,expected:a,operator:"deepStrictEqual",stackStartFn:s});throw A.actual=e,A.expected=t,A.operator=s.name,A}ss({actual:e,expected:t,message:n,operator:s.name,stackStartFn:s})}}function Ix(e,t,r,n){if(typeof t!="function"){if(cE(t))return lE(t,e);if(arguments.length===2)throw new yc("expected",["Function","RegExp"],t);if(is(e)!=="object"||e===null){var i=new oA({actual:e,expected:t,message:r,operator:"deepStrictEqual",stackStartFn:n});throw i.operator=n.name,i}var s=Object.keys(t);if(t instanceof Error)s.push("name","message");else if(s.length===0)throw new mae("error",t,"may not be an empty object");return iA===void 0&&Jh(),s.forEach(function(o){typeof e[o]=="string"&&cE(t[o])&&lE(t[o],e[o])||Qae(e,t,o,r,s,n)}),!0}return t.prototype!==void 0&&e instanceof t?!0:Error.isPrototypeOf(t)?!1:t.call({},e)===!0}function bx(e){if(typeof e!="function")throw new yc("fn","Function",e);try{e()}catch(t){return t}return dE}function gx(e){return bae(e)||e!==null&&is(e)==="object"&&typeof e.then=="function"&&typeof e.catch=="function"}function Cx(e){return Promise.resolve().then(function(){var t;if(typeof e=="function"){if(t=e(),!gx(t))throw new Bae("instance of Promise","promiseFn",t)}else if(gx(e))t=e;else throw new yc("promiseFn",["Function","Promise"],e);return Promise.resolve().then(function(){return t}).then(function(){return dE}).catch(function(r){return r})})}function Qx(e,t,r,n){if(typeof r=="string"){if(arguments.length===4)throw new yc("error",["Object","Error","Function","RegExp"],r);if(is(t)==="object"&&t!==null){if(t.message===r)throw new lx("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===r)throw new lx("error/message",'The error "'.concat(t,'" is identical to the message.'));n=r,r=void 0}else if(r!=null&&is(r)!=="object"&&typeof r!="function")throw new yc("error",["Object","Error","Function","RegExp"],r);if(t===dE){var i="";r&&r.name&&(i+=" (".concat(r.name,")")),i+=n?": ".concat(n):".";var s=e.name==="rejects"?"rejection":"exception";ss({actual:void 0,expected:r,operator:e.name,message:"Missing expected ".concat(s).concat(i),stackStartFn:e})}if(r&&!Ix(t,r,n,e))throw t}function wx(e,t,r,n){if(t!==dE){if(typeof r=="string"&&(n=r,r=void 0),!r||Ix(t,r)){var i=n?": ".concat(n):".",s=e.name==="doesNotReject"?"rejection":"exception";ss({actual:t,expected:r,operator:e.name,message:"Got unwanted ".concat(s).concat(i,`
`)+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}Vt.throws=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];Qx.apply(void 0,[e,bx(t)].concat(n))};Vt.rejects=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return Cx(t).then(function(s){return Qx.apply(void 0,[e,s].concat(n))})};Vt.doesNotThrow=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];wx.apply(void 0,[e,bx(t)].concat(n))};Vt.doesNotReject=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return Cx(t).then(function(s){return wx.apply(void 0,[e,s].concat(n))})};Vt.ifError=function e(t){if(t!=null){var r="ifError got unwanted exception: ";is(t)==="object"&&typeof t.message=="string"?t.message.length===0&&t.constructor?r+=t.constructor.name:r+=t.message:r+=uE(t);var n=new oA({actual:t,expected:null,operator:"ifError",message:r,stackStartFn:e}),i=t.stack;if(typeof i=="string"){var s=i.split(`
`);s.shift();for(var o=n.stack.split(`
`),a=0;a<s.length;a++){var A=o.indexOf(s[a]);if(A!==-1){o=o.slice(0,A);break}}n.stack="".concat(o.join(`
`),`
`).concat(s.join(`
`))}throw n}};function Sx(e,t,r,n,i){if(!cE(t))throw new yc("regexp","RegExp",t);var s=i==="match";if(typeof e!="string"||lE(t,e)!==s){if(r instanceof Error)throw r;var o=!r;r=r||(typeof e!="string"?'The "string" argument must be of type string. Received type '+"".concat(is(e)," (").concat(uE(e),")"):(s?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(uE(t),`. Input:
`).concat(uE(e),`
`));var a=new oA({actual:e,expected:t,message:r,operator:i,stackStartFn:n});throw a.generatedMessage=o,a}}Vt.match=function e(t,r,n){Sx(t,r,n,e,"match")};Vt.doesNotMatch=function e(t,r,n){Sx(t,r,n,e,"doesNotMatch")};function _x(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];mx.apply(void 0,[_x,t.length].concat(t))}Vt.strict=Cae(_x,Vt,{equal:Vt.strictEqual,deepEqual:Vt.deepStrictEqual,notEqual:Vt.notStrictEqual,notDeepEqual:Vt.notDeepStrictEqual});Vt.strict.strict=Vt.strict});var mc=x((ETe,Rx)=>{"use strict";var ZC=class{constructor(){this._enabled=!1,this._store=void 0}disable(){this._enabled=!1,this._store=void 0}enterWith(t){this._enabled=!0,this._store=t}exit(t,...r){let n=this._enabled,i=this._store;this._enabled=!1,this._store=void 0;try{return t(...r)}finally{this._enabled=n,this._store=i}}getStore(){return this._enabled?this._store:void 0}run(t,r,...n){let i=this._enabled,s=this._store;this._enabled=!0,this._store=t;try{return r(...n)}finally{this._enabled=i,this._store=s}}},$C=class{constructor(t="SecureExecAsyncResource"){this.type=t}bind(t,r=void 0){return typeof t!="function"?t:(...n)=>this.runInAsyncScope(t,r??this,...n)}emitDestroy(){}runInAsyncScope(t,r,...n){return t.apply(r,n)}};function wae(){return{enable(){return this},disable(){return this}}}function Sae(){return 0}function _ae(){return 0}Rx.exports={AsyncLocalStorage:ZC,AsyncResource:$C,createHook:wae,executionAsyncId:Sae,triggerAsyncId:_ae}});var mr=x((yTe,eU)=>{"use strict";var Dx=Symbol.for("undici.error.UND_ERR"),Zt=class extends Error{constructor(t,r){super(t,r),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](t){return t&&t[Dx]===!0}get[Dx](){return!0}},Tx=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),eQ=class extends Zt{constructor(t){super(t),this.name="ConnectTimeoutError",this.message=t||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](t){return t&&t[Tx]===!0}get[Tx](){return!0}},Nx=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),tQ=class extends Zt{constructor(t){super(t),this.name="HeadersTimeoutError",this.message=t||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](t){return t&&t[Nx]===!0}get[Nx](){return!0}},Mx=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),rQ=class extends Zt{constructor(t){super(t),this.name="HeadersOverflowError",this.message=t||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](t){return t&&t[Mx]===!0}get[Mx](){return!0}},Fx=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),nQ=class extends Zt{constructor(t){super(t),this.name="BodyTimeoutError",this.message=t||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](t){return t&&t[Fx]===!0}get[Fx](){return!0}},kx=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),iQ=class extends Zt{constructor(t){super(t),this.name="InvalidArgumentError",this.message=t||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](t){return t&&t[kx]===!0}get[kx](){return!0}},xx=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),sQ=class extends Zt{constructor(t){super(t),this.name="InvalidReturnValueError",this.message=t||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](t){return t&&t[xx]===!0}get[xx](){return!0}},Ux=Symbol.for("undici.error.UND_ERR_ABORT"),gE=class extends Zt{constructor(t){super(t),this.name="AbortError",this.message=t||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](t){return t&&t[Ux]===!0}get[Ux](){return!0}},Lx=Symbol.for("undici.error.UND_ERR_ABORTED"),oQ=class extends gE{constructor(t){super(t),this.name="AbortError",this.message=t||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](t){return t&&t[Lx]===!0}get[Lx](){return!0}},Px=Symbol.for("undici.error.UND_ERR_INFO"),aQ=class extends Zt{constructor(t){super(t),this.name="InformationalError",this.message=t||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](t){return t&&t[Px]===!0}get[Px](){return!0}},Ox=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),AQ=class extends Zt{constructor(t){super(t),this.name="RequestContentLengthMismatchError",this.message=t||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](t){return t&&t[Ox]===!0}get[Ox](){return!0}},Hx=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),fQ=class extends Zt{constructor(t){super(t),this.name="ResponseContentLengthMismatchError",this.message=t||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](t){return t&&t[Hx]===!0}get[Hx](){return!0}},qx=Symbol.for("undici.error.UND_ERR_DESTROYED"),uQ=class extends Zt{constructor(t){super(t),this.name="ClientDestroyedError",this.message=t||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](t){return t&&t[qx]===!0}get[qx](){return!0}},Gx=Symbol.for("undici.error.UND_ERR_CLOSED"),cQ=class extends Zt{constructor(t){super(t),this.name="ClientClosedError",this.message=t||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](t){return t&&t[Gx]===!0}get[Gx](){return!0}},Yx=Symbol.for("undici.error.UND_ERR_SOCKET"),lQ=class extends Zt{constructor(t,r){super(t),this.name="SocketError",this.message=t||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}static[Symbol.hasInstance](t){return t&&t[Yx]===!0}get[Yx](){return!0}},Wx=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),hQ=class extends Zt{constructor(t){super(t),this.name="NotSupportedError",this.message=t||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](t){return t&&t[Wx]===!0}get[Wx](){return!0}},Vx=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),dQ=class extends Zt{constructor(t){super(t),this.name="MissingUpstreamError",this.message=t||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](t){return t&&t[Vx]===!0}get[Vx](){return!0}},Jx=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),gQ=class extends Error{constructor(t,r,n){super(t),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](t){return t&&t[Jx]===!0}get[Jx](){return!0}},jx=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),pQ=class extends Zt{constructor(t){super(t),this.name="ResponseExceededMaxSizeError",this.message=t||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](t){return t&&t[jx]===!0}get[jx](){return!0}},zx=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),EQ=class extends Zt{constructor(t,r,{headers:n,data:i}){super(t),this.name="RequestRetryError",this.message=t||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](t){return t&&t[zx]===!0}get[zx](){return!0}},Kx=Symbol.for("undici.error.UND_ERR_RESPONSE"),yQ=class extends Zt{constructor(t,r,{headers:n,body:i}){super(t),this.name="ResponseError",this.message=t||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.body=i,this.headers=n}static[Symbol.hasInstance](t){return t&&t[Kx]===!0}get[Kx](){return!0}},Xx=Symbol.for("undici.error.UND_ERR_PRX_TLS"),mQ=class extends Zt{constructor(t,r,n={}){super(r,{cause:t,...n}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=t}static[Symbol.hasInstance](t){return t&&t[Xx]===!0}get[Xx](){return!0}},Zx=Symbol.for("undici.error.UND_ERR_MAX_ORIGINS_REACHED"),BQ=class extends Zt{constructor(t){super(t),this.name="MaxOriginsReachedError",this.message=t||"Maximum allowed origins reached",this.code="UND_ERR_MAX_ORIGINS_REACHED"}static[Symbol.hasInstance](t){return t&&t[Zx]===!0}get[Zx](){return!0}},IQ=class extends Zt{constructor(t,r){super(t),this.name="Socks5ProxyError",this.message=t||"SOCKS5 proxy error",this.code=r||"UND_ERR_SOCKS5"}},$x=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),bQ=class extends Zt{constructor(t){super(t),this.name="MessageSizeExceededError",this.message=t||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](t){return t&&t[$x]===!0}get[$x](){return!0}};eU.exports={AbortError:gE,HTTPParserError:gQ,UndiciError:Zt,HeadersTimeoutError:tQ,HeadersOverflowError:rQ,BodyTimeoutError:nQ,RequestContentLengthMismatchError:AQ,ConnectTimeoutError:eQ,InvalidArgumentError:iQ,InvalidReturnValueError:sQ,RequestAbortedError:oQ,ClientDestroyedError:uQ,ClientClosedError:cQ,InformationalError:aQ,SocketError:lQ,NotSupportedError:hQ,ResponseContentLengthMismatchError:fQ,BalancedPoolMissingUpstreamError:dQ,ResponseExceededMaxSizeError:pQ,RequestRetryError:EQ,ResponseError:yQ,SecureProxyConnectionError:mQ,MaxOriginsReachedError:BQ,Socks5ProxyError:IQ,MessageSizeExceededError:bQ}});var Tn=x((mTe,tU)=>{"use strict";tU.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kHTTP2InitialWindowSize:Symbol("http2 initial window size"),kHTTP2ConnectionWindowSize:Symbol("http2 connection window size"),kEnableConnectProtocol:Symbol("http2session connect protocol"),kRemoteSettings:Symbol("http2session remote settings"),kHTTP2Stream:Symbol("http2session client stream"),kPingInterval:Symbol("ping interval"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent"),kSocks5ProxyAgent:Symbol("socks5 proxy agent")}});var EE=x((BTe,rU)=>{"use strict";function Ef(){if(!globalThis._httpModule)throw new Error("node:http bridge module is not available");return globalThis._httpModule}var pE=class{},CQ=class{},QQ=class{},wQ=class{},SQ=class{},vae=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"];rU.exports={Agent:pE,ClientRequest:CQ,IncomingMessage:QQ,METHODS:vae,STATUS_CODES:{},Server:wQ,ServerResponse:SQ,_checkInvalidHeaderChar(e){return Ef()._checkInvalidHeaderChar(e)},_checkIsHttpToken(e){return Ef()._checkIsHttpToken(e)},createServer(...e){return Ef().createServer(...e)},get(...e){return Ef().get(...e)},globalAgent:new pE,maxHeaderSize:65535,request(...e){return Ef().request(...e)},validateHeaderName(e,t){return Ef().validateHeaderName(e,t)},validateHeaderValue(e,t){return Ef().validateHeaderValue(e,t)}}});var yE=x((ITe,iU)=>{"use strict";function Rae(){let e=globalThis._netModule;if(!e)throw new Error("node:net bridge module is not available");return e}var nU={};for(let e of["BlockList","Socket","SocketAddress","Server","Stream","connect","createConnection","createServer","getDefaultAutoSelectFamily","getDefaultAutoSelectFamilyAttemptTimeout","isIP","isIPv4","isIPv6","setDefaultAutoSelectFamily","setDefaultAutoSelectFamilyAttemptTimeout"])Object.defineProperty(nU,e,{enumerable:!0,get(){return Rae()[e]}});iU.exports=nU});var MQ=x((bTe,fU)=>{"use strict";var Bc=0,_Q=1e3,vQ=(_Q>>1)-1,aA,RQ=Symbol("kFastTimer"),zo=[],DQ=-2,TQ=-1,aU=0,sU=1;function NQ(){Bc+=vQ;let e=0,t=zo.length;for(;e<t;){let r=zo[e];r._state===aU?(r._idleStart=Bc-vQ,r._state=sU):r._state===sU&&Bc>=r._idleStart+r._idleTimeout&&(r._state=TQ,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===TQ?(r._state=DQ,--t!==0&&(zo[e]=zo[t])):++e}zo.length=t,zo.length!==0&&AU()}function AU(){aA?.refresh?aA.refresh():(clearTimeout(aA),aA=setTimeout(NQ,vQ),aA?.unref())}var oU;oU=RQ;var mE=class{constructor(t,r,n){y(this,oU,!0);y(this,"_state",DQ);y(this,"_idleTimeout",-1);y(this,"_idleStart",-1);y(this,"_onTimeout");y(this,"_timerArg");this._onTimeout=t,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===DQ&&zo.push(this),(!aA||zo.length===1)&&AU(),this._state=aU}clear(){this._state=TQ,this._idleStart=-1}};fU.exports={setTimeout(e,t,r){return t<=_Q?setTimeout(e,t,r):new mE(e,t,r)},clearTimeout(e){e[RQ]?e.clear():clearTimeout(e)},setFastTimeout(e,t,r){return new mE(e,t,r)},clearFastTimeout(e){e.clear()},now(){return Bc},tick(e=0){Bc+=e-_Q+1,NQ(),NQ()},reset(){Bc=0,zo.length=0,clearTimeout(aA),aA=null},kFastTimer:RQ}});var IE=x((QTe,cU)=>{"use strict";var FQ=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"],BE={};Object.setPrototypeOf(BE,null);var uU={};Object.setPrototypeOf(uU,null);function Dae(e){let t=uU[e];return t===void 0&&(t=Buffer.from(e)),t}for(let e=0;e<FQ.length;++e){let t=FQ[e],r=t.toLowerCase();BE[t]=BE[r]=r}cU.exports={wellknownHeaderNames:FQ,headerNameLowerCasedRecord:BE,getHeaderNameAsBuffer:Dae}});var gU=x((wTe,dU)=>{"use strict";var{wellknownHeaderNames:lU,headerNameLowerCasedRecord:Tae}=IE(),kQ=class e{constructor(t,r,n){y(this,"value",null);y(this,"left",null);y(this,"middle",null);y(this,"right",null);y(this,"code");if(n===void 0||n>=t.length)throw new TypeError("Unreachable");if((this.code=t.charCodeAt(n))>127)throw new TypeError("key must be ascii string");t.length!==++n?this.middle=new e(t,r,n):this.value=r}add(t,r){let n=t.length;if(n===0)throw new TypeError("Unreachable");let i=0,s=this;for(;;){let o=t.charCodeAt(i);if(o>127)throw new TypeError("key must be ascii string");if(s.code===o)if(n===++i){s.value=r;break}else if(s.middle!==null)s=s.middle;else{s.middle=new e(t,r,i);break}else if(s.code<o)if(s.left!==null)s=s.left;else{s.left=new e(t,r,i);break}else if(s.right!==null)s=s.right;else{s.right=new e(t,r,i);break}}}search(t){let r=t.length,n=0,i=this;for(;i!==null&&n<r;){let s=t[n];for(s<=90&&s>=65&&(s|=32);i!==null;){if(s===i.code){if(r===++n)return i;i=i.middle;break}i=i.code<s?i.left:i.right}}return null}},bE=class{constructor(){y(this,"node",null)}insert(t,r){this.node===null?this.node=new kQ(t,r,0):this.node.add(t,r)}lookup(t){return this.node?.search(t)?.value??null}},hU=new bE;for(let e=0;e<lU.length;++e){let t=Tae[lU[e]];hU.insert(t,t)}dU.exports={TernarySearchTree:bE,tree:hU}});var $t=x((_Te,xU)=>{"use strict";var jh=Wt(),{kDestroyed:mU,kBodyUsed:Ic,kListeners:bc,kBody:pU}=Tn(),{IncomingMessage:Nae}=EE(),BU=(gi(),$i(Ht)),Mae=yE(),{stringify:Fae}=(KI(),$i(Y0)),{EventEmitter:kae}=es(),CE=MQ(),{InvalidArgumentError:Nr,ConnectTimeoutError:xae}=mr(),{headerNameLowerCasedRecord:Uae}=IE(),{tree:IU}=gU(),[Lae,Pae]=process.versions.node.split(".",2).map(e=>Number(e)),wE=class{constructor(t){this[pU]=t,this[Ic]=!1}async*[Symbol.asyncIterator](){jh(!this[Ic],"disturbed"),this[Ic]=!0,yield*this[pU]}};function EU(){}function Oae(e){return SE(e)?(_U(e)===0&&e.on("data",function(){jh(!1)}),typeof e.readableDidRead!="boolean"&&(e[Ic]=!1,kae.prototype.on.call(e,"data",function(){this[Ic]=!0})),e):e&&typeof e.pipeTo=="function"?new wE(e):e&&NU(e)?e:e&&typeof e!="string"&&!ArrayBuffer.isView(e)&&SU(e)?new wE(e):e}function SE(e){return e&&typeof e=="object"&&typeof e.pipe=="function"&&typeof e.on=="function"}function bU(e){if(e===null)return!1;if(e instanceof Blob)return!0;if(typeof e!="object")return!1;{let t=e[Symbol.toStringTag];return(t==="Blob"||t==="File")&&("stream"in e&&typeof e.stream=="function"||"arrayBuffer"in e&&typeof e.arrayBuffer=="function")}}function CU(e){return e.includes("?")||e.includes("#")}function Hae(e,t){if(CU(e))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=Fae(t);return r&&(e+="?"+r),e}function QU(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function QE(e){return e!=null&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&(e[4]===":"||e[4]==="s"&&e[5]===":")}function wU(e){if(typeof e=="string"){if(e=new URL(e),!QE(e.origin||e.protocol))throw new Nr("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||typeof e!="object")throw new Nr("Invalid URL: The URL argument must be a non-null object.");if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&QU(e.port)===!1)throw new Nr("Invalid URL: port must be a valid integer or a string representation of an integer.");if(e.path!=null&&typeof e.path!="string")throw new Nr("Invalid URL path: the path must be a string or null/undefined.");if(e.pathname!=null&&typeof e.pathname!="string")throw new Nr("Invalid URL pathname: the pathname must be a string or null/undefined.");if(e.hostname!=null&&typeof e.hostname!="string")throw new Nr("Invalid URL hostname: the hostname must be a string or null/undefined.");if(e.origin!=null&&typeof e.origin!="string")throw new Nr("Invalid URL origin: the origin must be a string or null/undefined.");if(!QE(e.origin||e.protocol))throw new Nr("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=e.port!=null?e.port:e.protocol==="https:"?443:80,r=e.origin!=null?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`,n=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!QE(e.origin||e.protocol))throw new Nr("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function qae(e){if(e=wU(e),e.pathname!=="/"||e.search||e.hash)throw new Nr("invalid url");return e}function Gae(e){if(e[0]==="["){let r=e.indexOf("]");return jh(r!==-1),e.substring(1,r)}let t=e.indexOf(":");return t===-1?e:e.substring(0,t)}function Yae(e){if(!e)return null;jh(typeof e=="string");let t=Gae(e);return Mae.isIP(t)?"":t}function Wae(e){return JSON.parse(JSON.stringify(e))}function Vae(e){return e!=null&&typeof e[Symbol.asyncIterator]=="function"}function SU(e){return e!=null&&(typeof e[Symbol.iterator]=="function"||typeof e[Symbol.asyncIterator]=="function")}function Jae(e){let t=Object.getPrototypeOf(e);return Object.prototype.hasOwnProperty.call(e,Symbol.iterator)||t!=null&&t!==Object.prototype&&typeof e[Symbol.iterator]=="function"}function _U(e){if(e==null)return 0;if(SE(e)){let t=e._readableState;return t&&t.objectMode===!1&&t.ended===!0&&Number.isFinite(t.length)?t.length:null}else{if(bU(e))return e.size!=null?e.size:null;if(TU(e))return e.byteLength}return null}function vU(e){return e&&!!(e.destroyed||e[mU]||BU.isDestroyed?.(e))}function RU(e,t){e==null||!SE(e)||vU(e)||(typeof e.destroy=="function"?(Object.getPrototypeOf(e).constructor===Nae&&(e.socket=null),e.destroy(t)):t&&queueMicrotask(()=>{e.emit("error",t)}),e.destroyed!==!0&&(e[mU]=!0))}var jae=/timeout=(\d+)/;function zae(e){let t=e.match(jae);return t?parseInt(t[1],10)*1e3:null}function DU(e){return typeof e=="string"?Uae[e]??e.toLowerCase():IU.lookup(e)??e.toString("latin1").toLowerCase()}function Kae(e){return IU.lookup(e)??e.toString("latin1").toLowerCase()}function Xae(e,t){t===void 0&&(t={});for(let r=0;r<e.length;r+=2){let n=DU(e[r]),i=t[n];if(i!==void 0)if(Object.hasOwn(t,n))typeof i=="string"&&(i=[i],t[n]=i),i.push(e[r+1].toString("latin1"));else{let s=typeof e[r+1]=="string"?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(o=>o.toString("latin1")):e[r+1].toString("latin1");n==="__proto__"?Object.defineProperty(t,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[n]=s}else{let s=typeof e[r+1]=="string"?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(o=>o.toString("latin1")):e[r+1].toString("latin1");t[n]=s}}return t}function Zae(e){let t=e.length,r=new Array(t),n,i;for(let s=0;s<t;s+=2)n=e[s],i=e[s+1],typeof n!="string"&&(n=n.toString()),typeof i!="string"&&(i=i.toString("latin1")),r[s]=n,r[s+1]=i;return r}function $ae(e){if(!Array.isArray(e))throw new TypeError("expected headers to be an array");return e.map(t=>Buffer.from(t))}function TU(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function eAe(e,t,r){if(!e||typeof e!="object")throw new Nr("handler must be an object");if(typeof e.onRequestStart!="function"){if(typeof e.onConnect!="function")throw new Nr("invalid onConnect method");if(typeof e.onError!="function")throw new Nr("invalid onError method");if(typeof e.onBodySent!="function"&&e.onBodySent!==void 0)throw new Nr("invalid onBodySent method");if(r||t==="CONNECT"){if(typeof e.onUpgrade!="function")throw new Nr("invalid onUpgrade method")}else{if(typeof e.onHeaders!="function")throw new Nr("invalid onHeaders method");if(typeof e.onData!="function")throw new Nr("invalid onData method");if(typeof e.onComplete!="function")throw new Nr("invalid onComplete method")}}}function tAe(e){return!!(e&&(BU.isDisturbed(e)||e[Ic]))}function rAe(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}}function nAe(e){let t;return new ReadableStream({start(){t=e[Symbol.asyncIterator]()},pull(r){return t.next().then(({done:n,value:i})=>{if(n)return queueMicrotask(()=>{r.close(),r.byobRequest?.respond(0)});{let s=Buffer.isBuffer(i)?i:Buffer.from(i);return s.byteLength?r.enqueue(new Uint8Array(s)):this.pull(r)}})},cancel(){return t.return()},type:"bytes"})}function NU(e){return e&&typeof e=="object"&&typeof e.append=="function"&&typeof e.delete=="function"&&typeof e.get=="function"&&typeof e.getAll=="function"&&typeof e.has=="function"&&typeof e.set=="function"&&e[Symbol.toStringTag]==="FormData"}function iAe(e,t){return"addEventListener"in e?(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)):(e.once("abort",t),()=>e.removeListener("abort",t))}var MU=new Uint8Array([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,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,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,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,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,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,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,0,0,0,0]);function sAe(e){return MU[e]===1}var oAe=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;function aAe(e){if(e.length>=12)return oAe.test(e);if(e.length===0)return!1;for(let t=0;t<e.length;t++)if(MU[e.charCodeAt(t)]!==1)return!1;return!0}var AAe=/[^\t\x20-\x7e\x80-\xff]/;function fAe(e){return!AAe.test(e)}var uAe=/^bytes (\d+)-(\d+)\/(\d+)?$/;function cAe(e){if(e==null||e==="")return{start:0,end:null,size:null};let t=e?e.match(uAe):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}function lAe(e,t,r){return(e[bc]??(e[bc]=[])).push([t,r]),e.on(t,r),e}function hAe(e){if(e[bc]!=null){for(let[t,r]of e[bc])e.removeListener(t,r);e[bc]=null}return e}function dAe(e,t,r){try{t.onError(r),jh(t.aborted)}catch(n){e.emit("error",n)}}var gAe=process.platform==="win32"?(e,t)=>{if(!t.timeout)return EU;let r=null,n=null,i=CE.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>yU(e.deref(),t))})},t.timeout);return()=>{CE.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(e,t)=>{if(!t.timeout)return EU;let r=null,n=CE.setFastTimeout(()=>{r=setImmediate(()=>{yU(e.deref(),t)})},t.timeout);return()=>{CE.clearFastTimeout(n),clearImmediate(r)}};function yU(e,t){if(e==null)return;let r="Connect Timeout Error";Array.isArray(e.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${t.hostname}:${t.port},`,r+=` timeout: ${t.timeout}ms)`,RU(e,new xae(r))}function pAe(e){if(e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p")switch(e[4]){case":":return"http:";case"s":if(e[5]===":")return"https:"}return e.slice(0,e.indexOf(":")+1)}var FU=Object.create(null);FU.enumerable=!0;var xQ={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},kU={...xQ,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(xQ,null);Object.setPrototypeOf(kU,null);xU.exports={kEnumerableProperty:FU,isDisturbed:tAe,isBlobLike:bU,parseOrigin:qae,parseURL:wU,getServerName:Yae,isStream:SE,isIterable:SU,hasSafeIterator:Jae,isAsyncIterable:Vae,isDestroyed:vU,headerNameToString:DU,bufferToLowerCasedHeaderName:Kae,addListener:lAe,removeAllListeners:hAe,errorRequest:dAe,parseRawHeaders:Zae,encodeRawHeaders:$ae,parseHeaders:Xae,parseKeepAliveTimeout:zae,destroy:RU,bodyLength:_U,deepClone:Wae,ReadableStreamFrom:nAe,isBuffer:TU,assertRequestHandler:eAe,getSocketInfo:rAe,isFormDataLike:NU,pathHasQueryOrFragment:CU,serializePathWithQuery:Hae,addAbortListener:iAe,isValidHTTPToken:aAe,isValidHeaderValue:fAe,isTokenCharCode:sAe,parseRangeHeader:cAe,normalizedMethodRecordsBase:xQ,normalizedMethodRecords:kU,isValidPort:QU,isHttpOrHttpsPrefixed:QE,nodeMajor:Lae,nodeMinor:Pae,safeHTTPMethods:Object.freeze(["GET","HEAD","OPTIONS","TRACE"]),wrapRequestBody:Oae,setupConnectTimeout:gAe,getProtocolFromUrlString:pAe}});var WU=x((vTe,YU)=>{"use strict";var OU=Wt(),{Readable:EAe}=(gi(),$i(Ht)),{RequestAbortedError:HU,NotSupportedError:yAe,InvalidArgumentError:mAe,AbortError:_E}=mr(),qU=$t(),{ReadableStreamFrom:BAe}=$t(),Vn=Symbol("kConsume"),vE=Symbol("kReading"),yf=Symbol("kBody"),UU=Symbol("kAbort"),GU=Symbol("kContentType"),UQ=Symbol("kContentLength"),LQ=Symbol("kUsed"),RE=Symbol("kBytesRead"),IAe=()=>{},PQ=class extends EAe{constructor({resume:t,abort:r,contentType:n="",contentLength:i,highWaterMark:s=64*1024}){super({autoDestroy:!0,read:t,highWaterMark:s}),this._readableState.dataEmitted=!1,this[UU]=r,this[Vn]=null,this[RE]=0,this[yf]=null,this[LQ]=!1,this[GU]=n,this[UQ]=Number.isFinite(i)?i:null,this[vE]=!1}_destroy(t,r){!t&&!this._readableState.endEmitted&&(t=new HU),t&&this[UU](),this[LQ]?r(t):setImmediate(r,t)}on(t,r){return(t==="data"||t==="readable")&&(this[vE]=!0,this[LQ]=!0),super.on(t,r)}addListener(t,r){return this.on(t,r)}off(t,r){let n=super.off(t,r);return(t==="data"||t==="readable")&&(this[vE]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(t,r){return this.off(t,r)}push(t){return t&&(this[RE]+=t.length,this[Vn])?(HQ(this[Vn],t),this[vE]?super.push(t):!0):super.push(t)}text(){return zh(this,"text")}json(){return zh(this,"json")}blob(){return zh(this,"blob")}bytes(){return zh(this,"bytes")}arrayBuffer(){return zh(this,"arrayBuffer")}async formData(){throw new yAe}get bodyUsed(){return qU.isDisturbed(this)}get body(){return this[yf]||(this[yf]=BAe(this),this[Vn]&&(this[yf].getReader(),OU(this[yf].locked))),this[yf]}dump(t){let r=t?.signal;if(r!=null&&(typeof r!="object"||!("aborted"in r)))return Promise.reject(new mAe("signal must be an AbortSignal"));let n=t?.limit&&Number.isFinite(t.limit)?t.limit:128*1024;return r?.aborted?Promise.reject(r.reason??new _E):this._readableState.closeEmitted?Promise.resolve(null):new Promise((i,s)=>{if((this[UQ]&&this[UQ]>n||this[RE]>n)&&this.destroy(new _E),r){let o=()=>{this.destroy(r.reason??new _E)};r.addEventListener("abort",o),this.on("close",function(){r.removeEventListener("abort",o),r.aborted?s(r.reason??new _E):i(null)})}else this.on("close",i);this.on("error",IAe).on("data",()=>{this[RE]>n&&this.destroy()}).resume()})}setEncoding(t){return Buffer.isEncoding(t)&&(this._readableState.encoding=t),this}};function bAe(e){return e[yf]?.locked===!0||e[Vn]!==null}function CAe(e){return qU.isDisturbed(e)||bAe(e)}function zh(e,t){return OU(!e[Vn]),new Promise((r,n)=>{if(CAe(e)){let i=e._readableState;i.destroyed&&i.closeEmitted===!1?e.on("error",n).on("close",()=>{n(new TypeError("unusable"))}):n(i.errored??new TypeError("unusable"))}else queueMicrotask(()=>{e[Vn]={type:t,stream:e,resolve:r,reject:n,length:0,body:[]},e.on("error",function(i){qQ(this[Vn],i)}).on("close",function(){this[Vn].body!==null&&qQ(this[Vn],new HU)}),QAe(e[Vn])})})}function QAe(e){if(e.body===null)return;let{_readableState:t}=e.stream;if(t.bufferIndex){let r=t.bufferIndex,n=t.buffer.length;for(let i=r;i<n;i++)HQ(e,t.buffer[i])}else for(let r of t.buffer)HQ(e,r);for(t.endEmitted?PU(this[Vn],this._readableState.encoding):e.stream.on("end",function(){PU(this[Vn],this._readableState.encoding)}),e.stream.resume();e.stream.read()!=null;);}function OQ(e,t,r){if(e.length===0||t===0)return"";let n=e.length===1?e[0]:Buffer.concat(e,t),i=n.length,s=i>2&&n[0]===239&&n[1]===187&&n[2]===191?3:0;return!r||r==="utf8"||r==="utf-8"?n.utf8Slice(s,i):n.subarray(s,i).toString(r)}function LU(e,t){if(e.length===0||t===0)return new Uint8Array(0);if(e.length===1)return new Uint8Array(e[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),n=0;for(let i=0;i<e.length;++i){let s=e[i];r.set(s,n),n+=s.length}return r}function PU(e,t){let{type:r,body:n,resolve:i,stream:s,length:o}=e;try{r==="text"?i(OQ(n,o,t)):r==="json"?i(JSON.parse(OQ(n,o,t))):r==="arrayBuffer"?i(LU(n,o).buffer):r==="blob"?i(new Blob(n,{type:s[GU]})):r==="bytes"&&i(LU(n,o)),qQ(e)}catch(a){s.destroy(a)}}function HQ(e,t){e.length+=t.length,e.body.push(t)}function qQ(e,t){e.body!==null&&(t?e.reject(t):e.resolve(),e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null)}YU.exports={Readable:PQ,chunksDecode:OQ}});var jU=x((RTe,GQ)=>{"use strict";var wAe=Wt(),{AsyncResource:SAe}=mc(),{Readable:_Ae}=WU(),{InvalidArgumentError:Cc,RequestAbortedError:VU}=mr(),mi=$t();function Kh(){}var DE=class extends SAe{constructor(t,r){if(!t||typeof t!="object")throw new Cc("invalid opts");let{signal:n,method:i,opaque:s,body:o,onInfo:a,responseHeaders:A,highWaterMark:f}=t;try{if(typeof r!="function")throw new Cc("invalid callback");if(f&&(typeof f!="number"||f<0))throw new Cc("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Cc("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Cc("invalid method");if(a&&typeof a!="function")throw new Cc("invalid onInfo callback");super("UNDICI_REQUEST")}catch(l){throw mi.isStream(o)&&mi.destroy(o.on("error",Kh),l),l}this.method=i,this.responseHeaders=A||null,this.opaque=s||null,this.callback=r,this.res=null,this.abort=null,this.body=o,this.trailers={},this.context=null,this.onInfo=a||null,this.highWaterMark=f,this.reason=null,this.removeAbortListener=null,n?.aborted?this.reason=n.reason??new VU:n&&(this.removeAbortListener=mi.addAbortListener(n,()=>{this.reason=n.reason??new VU,this.res?mi.destroy(this.res.on("error",Kh),this.reason):this.abort&&this.abort(this.reason)}))}onConnect(t,r){if(this.reason){t(this.reason);return}wAe(this.callback),this.abort=t,this.context=r}onHeaders(t,r,n,i){let{callback:s,opaque:o,abort:a,context:A,responseHeaders:f,highWaterMark:l}=this,p=f==="raw"?mi.parseRawHeaders(r):mi.parseHeaders(r);if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:p});return}let B=f==="raw"?mi.parseHeaders(r):p,S=B["content-type"],_=B["content-length"],N=new _Ae({resume:n,abort:a,contentType:S,contentLength:this.method!=="HEAD"&&_?Number(_):null,highWaterMark:l});if(this.removeAbortListener&&(N.on("close",this.removeAbortListener),this.removeAbortListener=null),this.callback=null,this.res=N,s!==null)try{this.runInAsyncScope(s,null,null,{statusCode:t,statusText:i,headers:p,trailers:this.trailers,opaque:o,body:N,context:A})}catch(P){this.res=null,mi.destroy(N.on("error",Kh),P),queueMicrotask(()=>{throw P})}}onData(t){return this.res.push(t)}onComplete(t){mi.parseHeaders(t,this.trailers),this.res.push(null)}onError(t){let{res:r,callback:n,body:i,opaque:s}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,t,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{mi.destroy(r.on("error",Kh),t)})),i&&(this.body=null,mi.isStream(i)&&(i.on("error",Kh),mi.destroy(i,t))),this.removeAbortListener&&(this.removeAbortListener(),this.removeAbortListener=null)}};function JU(e,t){if(t===void 0)return new Promise((r,n)=>{JU.call(this,e,(i,s)=>i?n(i):r(s))});try{let r=new DE(e,t);this.dispatch(e,r)}catch(r){if(typeof t!="function")throw r;let n=e?.opaque;queueMicrotask(()=>t(r,{opaque:n}))}}GQ.exports=JU;GQ.exports.RequestHandler=DE});var Xh=x((DTe,XU)=>{"use strict";var{addAbortListener:vAe}=$t(),{RequestAbortedError:RAe}=mr(),Qc=Symbol("kListener"),eo=Symbol("kSignal");function zU(e){e.abort?e.abort(e[eo]?.reason):e.reason=e[eo]?.reason??new RAe,KU(e)}function DAe(e,t){if(e.reason=null,e[eo]=null,e[Qc]=null,!!t){if(t.aborted){zU(e);return}e[eo]=t,e[Qc]=()=>{zU(e)},vAe(e[eo],e[Qc])}}function KU(e){e[eo]&&("removeEventListener"in e[eo]?e[eo].removeEventListener("abort",e[Qc]):e[eo].removeListener("abort",e[Qc]),e[eo]=null,e[Qc]=null)}XU.exports={addSignal:DAe,removeSignal:KU}});var t6=x((TTe,e6)=>{"use strict";var TAe=Wt(),{finished:NAe}=(gi(),$i(Ht)),{AsyncResource:MAe}=mc(),{InvalidArgumentError:wc,InvalidReturnValueError:FAe}=mr(),Ko=$t(),{addSignal:kAe,removeSignal:ZU}=Xh();function xAe(){}var YQ=class extends MAe{constructor(t,r,n){if(!t||typeof t!="object")throw new wc("invalid opts");let{signal:i,method:s,opaque:o,body:a,onInfo:A,responseHeaders:f}=t;try{if(typeof n!="function")throw new wc("invalid callback");if(typeof r!="function")throw new wc("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new wc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new wc("invalid method");if(A&&typeof A!="function")throw new wc("invalid onInfo callback");super("UNDICI_STREAM")}catch(l){throw Ko.isStream(a)&&Ko.destroy(a.on("error",xAe),l),l}this.responseHeaders=f||null,this.opaque=o||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=a,this.onInfo=A||null,Ko.isStream(a)&&a.on("error",l=>{this.onError(l)}),kAe(this,i)}onConnect(t,r){if(this.reason){t(this.reason);return}TAe(this.callback),this.abort=t,this.context=r}onHeaders(t,r,n,i){let{factory:s,opaque:o,context:a,responseHeaders:A}=this,f=A==="raw"?Ko.parseRawHeaders(r):Ko.parseHeaders(r);if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:f});return}if(this.factory=null,s===null)return;let l=this.runInAsyncScope(s,null,{statusCode:t,headers:f,opaque:o,context:a});if(!l||typeof l.write!="function"||typeof l.end!="function"||typeof l.on!="function")throw new FAe("expected Writable");return NAe(l,{readable:!1},B=>{let{callback:S,res:_,opaque:N,trailers:P,abort:U}=this;this.res=null,(B||!_?.readable)&&Ko.destroy(_,B),this.callback=null,this.runInAsyncScope(S,null,B||null,{opaque:N,trailers:P}),B&&U()}),l.on("drain",n),this.res=l,(l.writableNeedDrain!==void 0?l.writableNeedDrain:l._writableState?.needDrain)!==!0}onData(t){let{res:r}=this;return r?r.write(t):!0}onComplete(t){let{res:r}=this;ZU(this),r&&(this.trailers=Ko.parseHeaders(t),r.end())}onError(t){let{res:r,callback:n,opaque:i,body:s}=this;ZU(this),this.factory=null,r?(this.res=null,Ko.destroy(r,t)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,t,{opaque:i})})),s&&(this.body=null,Ko.destroy(s,t))}};function $U(e,t,r){if(r===void 0)return new Promise((n,i)=>{$U.call(this,e,t,(s,o)=>s?i(s):n(o))});try{let n=new YQ(e,t,r);this.dispatch(e,n)}catch(n){if(typeof r!="function")throw n;let i=e?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}e6.exports=$U});var s6=x((NTe,i6)=>{"use strict";var{Readable:n6,Duplex:UAe,PassThrough:LAe}=(gi(),$i(Ht)),PAe=Wt(),{AsyncResource:OAe}=mc(),{InvalidArgumentError:Zh,InvalidReturnValueError:HAe,RequestAbortedError:WQ}=mr(),to=$t(),{addSignal:qAe,removeSignal:GAe}=Xh();function r6(){}var Sc=Symbol("resume"),VQ=class extends n6{constructor(){super({autoDestroy:!0}),this[Sc]=null}_read(){let{[Sc]:t}=this;t&&(this[Sc]=null,t())}_destroy(t,r){this._read(),r(t)}},JQ=class extends n6{constructor(t){super({autoDestroy:!0}),this[Sc]=t}_read(){this[Sc]()}_destroy(t,r){!t&&!this._readableState.endEmitted&&(t=new WQ),r(t)}},jQ=class extends OAe{constructor(t,r){if(!t||typeof t!="object")throw new Zh("invalid opts");if(typeof r!="function")throw new Zh("invalid handler");let{signal:n,method:i,opaque:s,onInfo:o,responseHeaders:a}=t;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Zh("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Zh("invalid method");if(o&&typeof o!="function")throw new Zh("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=a||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new VQ().on("error",r6),this.ret=new UAe({readableObjectMode:t.objectMode,autoDestroy:!0,read:()=>{let{body:A}=this;A?.resume&&A.resume()},write:(A,f,l)=>{let{req:p}=this;p.push(A,f)||p._readableState.destroyed?l():p[Sc]=l},destroy:(A,f)=>{let{body:l,req:p,res:B,ret:S,abort:_}=this;!A&&!S._readableState.endEmitted&&(A=new WQ),_&&A&&_(),to.destroy(l,A),to.destroy(p,A),to.destroy(B,A),GAe(this),f(A)}}).on("prefinish",()=>{let{req:A}=this;A.push(null)}),this.res=null,qAe(this,n)}onConnect(t,r){let{res:n}=this;if(this.reason){t(this.reason);return}PAe(!n,"pipeline cannot be retried"),this.abort=t,this.context=r}onHeaders(t,r,n){let{opaque:i,handler:s,context:o}=this;if(t<200){if(this.onInfo){let A=this.responseHeaders==="raw"?to.parseRawHeaders(r):to.parseHeaders(r);this.onInfo({statusCode:t,headers:A})}return}this.res=new JQ(n);let a;try{this.handler=null;let A=this.responseHeaders==="raw"?to.parseRawHeaders(r):to.parseHeaders(r);a=this.runInAsyncScope(s,null,{statusCode:t,headers:A,opaque:i,body:this.res,context:o})}catch(A){throw this.res.on("error",r6),A}if(!a||typeof a.on!="function")throw new HAe("expected Readable");a.on("data",A=>{let{ret:f,body:l}=this;!f.push(A)&&l.pause&&l.pause()}).on("error",A=>{let{ret:f}=this;to.destroy(f,A)}).on("end",()=>{let{ret:A}=this;A.push(null)}).on("close",()=>{let{ret:A}=this;A._readableState.ended||to.destroy(A,new WQ)}),this.body=a}onData(t){let{res:r}=this;return r.push(t)}onComplete(t){let{res:r}=this;r.push(null)}onError(t){let{ret:r}=this;this.handler=null,to.destroy(r,t)}};function YAe(e,t){try{let r=new jQ(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(r){return new LAe().destroy(r)}}i6.exports=YAe});var c6=x((MTe,u6)=>{"use strict";var{InvalidArgumentError:zQ,SocketError:WAe}=mr(),{AsyncResource:VAe}=mc(),o6=Wt(),a6=$t(),{kHTTP2Stream:JAe}=Tn(),{addSignal:jAe,removeSignal:A6}=Xh(),KQ=class extends VAe{constructor(t,r){if(!t||typeof t!="object")throw new zQ("invalid opts");if(typeof r!="function")throw new zQ("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=t;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new zQ("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=r,this.abort=null,this.context=null,jAe(this,n)}onConnect(t,r){if(this.reason){t(this.reason);return}o6(this.callback),this.abort=t,this.context=null}onHeaders(){throw new WAe("bad upgrade",null)}onUpgrade(t,r,n){o6(n[JAe]===!0?t===200:t===101);let{callback:i,opaque:s,context:o}=this;A6(this),this.callback=null;let a=this.responseHeaders==="raw"?a6.parseRawHeaders(r):a6.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:a,socket:n,opaque:s,context:o})}onError(t){let{callback:r,opaque:n}=this;A6(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:n})}))}};function f6(e,t){if(t===void 0)return new Promise((r,n)=>{f6.call(this,e,(i,s)=>i?n(i):r(s))});try{let r=new KQ(e,t),n={...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"};this.dispatch(n,r)}catch(r){if(typeof t!="function")throw r;let n=e?.opaque;queueMicrotask(()=>t(r,{opaque:n}))}}u6.exports=f6});var p6=x((FTe,g6)=>{"use strict";var zAe=Wt(),{AsyncResource:KAe}=mc(),{InvalidArgumentError:XQ,SocketError:XAe}=mr(),l6=$t(),{addSignal:ZAe,removeSignal:h6}=Xh(),ZQ=class extends KAe{constructor(t,r){if(!t||typeof t!="object")throw new XQ("invalid opts");if(typeof r!="function")throw new XQ("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=t;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new XQ("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,ZAe(this,n)}onConnect(t,r){if(this.reason){t(this.reason);return}zAe(this.callback),this.abort=t,this.context=r}onHeaders(){throw new XAe("bad connect",null)}onUpgrade(t,r,n){let{callback:i,opaque:s,context:o}=this;h6(this),this.callback=null;let a=r;a!=null&&(a=this.responseHeaders==="raw"?l6.parseRawHeaders(r):l6.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:t,headers:a,socket:n,opaque:s,context:o})}onError(t){let{callback:r,opaque:n}=this;h6(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:n})}))}};function d6(e,t){if(t===void 0)return new Promise((r,n)=>{d6.call(this,e,(i,s)=>i?n(i):r(s))});try{let r=new ZQ(e,t),n={...e,method:"CONNECT"};this.dispatch(n,r)}catch(r){if(typeof t!="function")throw r;let n=e?.opaque;queueMicrotask(()=>t(r,{opaque:n}))}}g6.exports=d6});var E6=x((kTe,_c)=>{"use strict";_c.exports.request=jU();_c.exports.stream=t6();_c.exports.pipeline=s6();_c.exports.upgrade=c6();_c.exports.connect=p6()});var m6=x((xTe,y6)=>{"use strict";var{InvalidArgumentError:$Ae}=mr(),_r,vc;y6.exports=(vc=class{constructor(t){St(this,_r);ft(this,_r,t)}static wrap(t){return t.onRequestStart?t:new vc(t)}onConnect(t,r){return te(this,_r).onConnect?.(t,r)}onResponseStarted(){return te(this,_r).onResponseStarted?.()}onHeaders(t,r,n,i){return te(this,_r).onHeaders?.(t,r,n,i)}onUpgrade(t,r,n){return te(this,_r).onUpgrade?.(t,r,n)}onData(t){return te(this,_r).onData?.(t)}onComplete(t){return te(this,_r).onComplete?.(t)}onError(t){if(!te(this,_r).onError)throw t;return te(this,_r).onError?.(t)}onRequestStart(t,r){te(this,_r).onConnect?.(n=>t.abort(n),r)}onRequestUpgrade(t,r,n,i){let s=[];for(let[o,a]of Object.entries(n))s.push(Buffer.from(o,"latin1"),$Q(a));te(this,_r).onUpgrade?.(r,s,i)}onResponseStart(t,r,n,i){let s=[];for(let[o,a]of Object.entries(n))s.push(Buffer.from(o,"latin1"),$Q(a));te(this,_r).onHeaders?.(r,s,()=>t.resume(),i)===!1&&t.pause()}onResponseData(t,r){te(this,_r).onData?.(r)===!1&&t.pause()}onResponseEnd(t,r){let n=[];for(let[i,s]of Object.entries(r))n.push(Buffer.from(i,"latin1"),$Q(s));te(this,_r).onComplete?.(n)}onResponseError(t,r){if(!te(this,_r).onError)throw new $Ae("invalid onError method");te(this,_r).onError?.(r)}},_r=new WeakMap,vc);function $Q(e){return Array.isArray(e)?e.map(t=>Buffer.from(t,"latin1")):Buffer.from(e,"latin1")}});var I6=x((LTe,B6)=>{"use strict";var efe=es(),tfe=m6(),rfe=e=>(t,r)=>e(t,tfe.wrap(r)),ew=class extends efe{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...t){let r=Array.isArray(t[0])?t[0]:t,n=this.dispatch.bind(this);for(let i of r)if(i!=null){if(typeof i!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof i}`);if(n=i(n),n=rfe(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new Proxy(this,{get:(i,s)=>s==="dispatch"?n:i[s]})}};B6.exports=ew});var Q6=x((PTe,C6)=>{"use strict";var{parseHeaders:tw}=$t(),{InvalidArgumentError:nfe}=mr(),rw=Symbol("resume"),b6,mf,$h,Rc,ed;b6=rw;var nw=class{constructor(t){St(this,mf,!1);St(this,$h,null);St(this,Rc,!1);St(this,ed);y(this,b6,null);ft(this,ed,t)}pause(){ft(this,mf,!0)}resume(){te(this,mf)&&(ft(this,mf,!1),this[rw]?.())}abort(t){te(this,Rc)||(ft(this,Rc,!0),ft(this,$h,t),te(this,ed).call(this,t))}get aborted(){return te(this,Rc)}get reason(){return te(this,$h)}get paused(){return te(this,mf)}};mf=new WeakMap,$h=new WeakMap,Rc=new WeakMap,ed=new WeakMap;var Bi,Jn,Dc;C6.exports=(Dc=class{constructor(t){St(this,Bi);St(this,Jn);ft(this,Bi,t)}static unwrap(t){return t.onRequestStart?new Dc(t):t}onConnect(t,r){ft(this,Jn,new nw(t)),te(this,Bi).onRequestStart?.(te(this,Jn),r)}onResponseStarted(){return te(this,Bi).onResponseStarted?.()}onUpgrade(t,r,n){te(this,Bi).onRequestUpgrade?.(te(this,Jn),t,tw(r),n)}onHeaders(t,r,n,i){return te(this,Jn)[rw]=n,te(this,Bi).onResponseStart?.(te(this,Jn),t,tw(r),i),!te(this,Jn).paused}onData(t){return te(this,Bi).onResponseData?.(te(this,Jn),t),!te(this,Jn).paused}onComplete(t){te(this,Bi).onResponseEnd?.(te(this,Jn),tw(t))}onError(t){if(!te(this,Bi).onResponseError)throw new nfe("invalid onError method");te(this,Bi).onResponseError?.(te(this,Jn),t)}},Bi=new WeakMap,Jn=new WeakMap,Dc)});var NE=x((HTe,D6)=>{"use strict";var ife=I6(),sfe=Q6(),{ClientDestroyedError:iw,ClientClosedError:ofe,InvalidArgumentError:TE}=mr(),{kDestroy:afe,kClose:Afe,kClosed:td,kDestroyed:Tc,kDispatch:ffe}=Tn(),ro=Symbol("onDestroyed"),Xo=Symbol("onClosed"),w6,S6,_6,v6,R6,sw=class extends(R6=ife,v6=Tc,_6=ro,S6=td,w6=Xo,R6){constructor(){super(...arguments);y(this,v6,!1);y(this,_6,null);y(this,S6,!1);y(this,w6,null)}get destroyed(){return this[Tc]}get closed(){return this[td]}close(r){if(r===void 0)return new Promise((i,s)=>{this.close((o,a)=>o?s(o):i(a))});if(typeof r!="function")throw new TE("invalid callback");if(this[Tc]){let i=new iw;queueMicrotask(()=>r(i,null));return}if(this[td]){this[Xo]?this[Xo].push(r):queueMicrotask(()=>r(null,null));return}this[td]=!0,this[Xo]??(this[Xo]=[]),this[Xo].push(r);let n=()=>{let i=this[Xo];this[Xo]=null;for(let s=0;s<i.length;s++)i[s](null,null)};this[Afe]().then(()=>this.destroy()).then(()=>queueMicrotask(n))}destroy(r,n){if(typeof r=="function"&&(n=r,r=null),n===void 0)return new Promise((s,o)=>{this.destroy(r,(a,A)=>a?o(a):s(A))});if(typeof n!="function")throw new TE("invalid callback");if(this[Tc]){this[ro]?this[ro].push(n):queueMicrotask(()=>n(null,null));return}r||(r=new iw),this[Tc]=!0,this[ro]??(this[ro]=[]),this[ro].push(n);let i=()=>{let s=this[ro];this[ro]=null;for(let o=0;o<s.length;o++)s[o](null,null)};this[afe](r).then(()=>queueMicrotask(i))}dispatch(r,n){if(!n||typeof n!="object")throw new TE("handler must be an object");n=sfe.unwrap(n);try{if(!r||typeof r!="object")throw new TE("opts must be an object.");if(this[Tc]||this[ro])throw new iw;if(this[td])throw new ofe;return this[ffe](r,n)}catch(i){if(typeof n.onError!="function")throw i;return n.onError(i),!1}}};D6.exports=sw});var Aw=x((GTe,k6)=>{"use strict";var{kConnected:T6,kPending:N6,kRunning:M6,kSize:F6,kFree:ufe,kQueued:cfe}=Tn(),ow=class{constructor(t){this.connected=t[T6],this.pending=t[N6],this.running=t[M6],this.size=t[F6]}},aw=class{constructor(t){this.connected=t[T6],this.free=t[ufe],this.pending=t[N6],this.queued=t[cfe],this.running=t[M6],this.size=t[F6]}};k6.exports={ClientStats:ow,PoolStats:aw}});var U6=x((WTe,x6)=>{"use strict";var ME=class{constructor(){y(this,"bottom",0);y(this,"top",0);y(this,"list",new Array(2048).fill(void 0));y(this,"next",null)}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(t){this.list[this.top]=t,this.top=this.top+1&2047}shift(){let t=this.list[this.bottom];return t===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,t)}};x6.exports=class{constructor(){this.head=this.tail=new ME}isEmpty(){return this.head.isEmpty()}push(t){this.head.isFull()&&(this.head=this.head.next=new ME),this.head.push(t)}shift(){let t=this.tail,r=t.shift();return t.isEmpty()&&t.next!==null&&(this.tail=t.next,t.next=null),r}}});var e3=x((JTe,$6)=>{"use strict";var{PoolStats:lfe}=Aw(),hfe=NE(),dfe=U6(),{kConnected:fw,kSize:L6,kRunning:P6,kPending:O6,kQueued:rd,kBusy:gfe,kFree:pfe,kUrl:Efe,kClose:yfe,kDestroy:mfe,kDispatch:Bfe}=Tn(),Mr=Symbol("clients"),pn=Symbol("needDrain"),nd=Symbol("queue"),uw=Symbol("closed resolve"),cw=Symbol("onDrain"),H6=Symbol("onConnect"),q6=Symbol("onDisconnect"),G6=Symbol("onConnectionError"),lw=Symbol("get dispatcher"),X6=Symbol("add client"),Z6=Symbol("remove client"),Y6,W6,V6,J6,j6,z6,K6,hw=class extends hfe{constructor(){super(...arguments);y(this,K6,new dfe);y(this,z6,0);y(this,j6,[]);y(this,J6,!1);y(this,V6,(r,n)=>{this.emit("connect",r,[this,...n])});y(this,W6,(r,n,i)=>{this.emit("disconnect",r,[this,...n],i)});y(this,Y6,(r,n,i)=>{this.emit("connectionError",r,[this,...n],i)})}[(K6=nd,z6=rd,j6=Mr,J6=pn,cw)](r,n,i){let s=this[nd],o=!1;for(;!o;){let a=s.shift();if(!a)break;this[rd]--,o=!r.dispatch(a.opts,a.handler)}if(r[pn]=o,!o&&this[pn]&&(this[pn]=!1,this.emit("drain",n,[this,...i])),this[uw]&&s.isEmpty()){let a=[];for(let A=0;A<this[Mr].length;A++){let f=this[Mr][A];f.destroyed||a.push(f.close())}return Promise.all(a).then(this[uw])}}get[(V6=H6,W6=q6,Y6=G6,gfe)](){return this[pn]}get[fw](){let r=0;for(let{[fw]:n}of this[Mr])r+=n;return r}get[pfe](){let r=0;for(let{[fw]:n,[pn]:i}of this[Mr])r+=n&&!i;return r}get[O6](){let r=this[rd];for(let{[O6]:n}of this[Mr])r+=n;return r}get[P6](){let r=0;for(let{[P6]:n}of this[Mr])r+=n;return r}get[L6](){let r=this[rd];for(let{[L6]:n}of this[Mr])r+=n;return r}get stats(){return new lfe(this)}[yfe](){if(this[nd].isEmpty()){let r=[];for(let n=0;n<this[Mr].length;n++){let i=this[Mr][n];i.destroyed||r.push(i.close())}return Promise.all(r)}else return new Promise(r=>{this[uw]=r})}[mfe](r){for(;;){let i=this[nd].shift();if(!i)break;i.handler.onError(r)}let n=new Array(this[Mr].length);for(let i=0;i<this[Mr].length;i++)n[i]=this[Mr][i].destroy(r);return Promise.all(n)}[Bfe](r,n){let i=this[lw]();return i?i.dispatch(r,n)||(i[pn]=!0,this[pn]=!this[lw]()):(this[pn]=!0,this[nd].push({opts:r,handler:n}),this[rd]++),!this[pn]}[X6](r){return r.on("drain",this[cw].bind(this,r)).on("connect",this[H6]).on("disconnect",this[q6]).on("connectionError",this[G6]),this[Mr].push(r),this[pn]&&queueMicrotask(()=>{this[pn]&&this[cw](r,r[Efe],[r,this])}),this}[Z6](r){r.close(()=>{let n=this[Mr].indexOf(r);n!==-1&&this[Mr].splice(n,1)}),this[pn]=this[Mr].some(n=>!n[pn]&&n.closed!==!0&&n.destroyed!==!0)}};$6.exports={PoolBase:hw,kClients:Mr,kNeedDrain:pn,kAddClient:X6,kRemoveClient:Z6,kGetDispatcher:lw}});var n3=x((zTe,r3)=>{"use strict";var t3=new Map,dw=new Map;function FE(e){let t=t3.get(e);return t||(t=new Set,t3.set(e,t)),t}function Ife(e){return{name:e,get hasSubscribers(){return FE(e).size>0},publish(t){for(let r of FE(e))r(t,e)},subscribe(t){return FE(e).add(t),this},unsubscribe(t){return FE(e).delete(t),this}}}function kE(e){return dw.has(e)||dw.set(e,Ife(e)),dw.get(e)}function bfe(e,t){kE(e).subscribe(t)}function Cfe(e,t){kE(e).unsubscribe(t)}r3.exports={channel:kE,hasSubscribers(e){return kE(e).hasSubscribers},subscribe:bfe,unsubscribe:Cfe}});var sd=x((KTe,s3)=>{"use strict";var Ft=n3(),yw=Yr(),Bf=yw.debuglog("undici"),id=yw.debuglog("fetch"),xE=yw.debuglog("websocket"),jn={beforeConnect:Ft.channel("undici:client:beforeConnect"),connected:Ft.channel("undici:client:connected"),connectError:Ft.channel("undici:client:connectError"),sendHeaders:Ft.channel("undici:client:sendHeaders"),create:Ft.channel("undici:request:create"),bodySent:Ft.channel("undici:request:bodySent"),bodyChunkSent:Ft.channel("undici:request:bodyChunkSent"),bodyChunkReceived:Ft.channel("undici:request:bodyChunkReceived"),headers:Ft.channel("undici:request:headers"),trailers:Ft.channel("undici:request:trailers"),error:Ft.channel("undici:request:error"),open:Ft.channel("undici:websocket:open"),close:Ft.channel("undici:websocket:close"),socketError:Ft.channel("undici:websocket:socket_error"),ping:Ft.channel("undici:websocket:ping"),pong:Ft.channel("undici:websocket:pong"),proxyConnected:Ft.channel("undici:proxy:connected")},gw=!1;function i3(e=Bf){if(!gw){if(jn.beforeConnect.hasSubscribers||jn.connected.hasSubscribers||jn.connectError.hasSubscribers||jn.sendHeaders.hasSubscribers){gw=!0;return}gw=!0,Ft.subscribe("undici:client:beforeConnect",t=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=t;e("connecting to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Ft.subscribe("undici:client:connected",t=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=t;e("connected to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Ft.subscribe("undici:client:connectError",t=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:o}=t;e("connection to %s%s using %s%s errored - %s",s,i?`:${i}`:"",n,r,o.message)}),Ft.subscribe("undici:client:sendHeaders",t=>{let{request:{method:r,path:n,origin:i}}=t;e("sending request to %s %s%s",r,i,n)})}}var pw=!1;function Qfe(e=Bf){if(!pw){if(jn.headers.hasSubscribers||jn.trailers.hasSubscribers||jn.error.hasSubscribers){pw=!0;return}pw=!0,Ft.subscribe("undici:request:headers",t=>{let{request:{method:r,path:n,origin:i},response:{statusCode:s}}=t;e("received response to %s %s%s - HTTP %d",r,i,n,s)}),Ft.subscribe("undici:request:trailers",t=>{let{request:{method:r,path:n,origin:i}}=t;e("trailers received from %s %s%s",r,i,n)}),Ft.subscribe("undici:request:error",t=>{let{request:{method:r,path:n,origin:i},error:s}=t;e("request to %s %s%s errored - %s",r,i,n,s.message)})}}var Ew=!1;function wfe(e=xE){if(!Ew){if(jn.open.hasSubscribers||jn.close.hasSubscribers||jn.socketError.hasSubscribers||jn.ping.hasSubscribers||jn.pong.hasSubscribers){Ew=!0;return}Ew=!0,Ft.subscribe("undici:websocket:open",t=>{if(t.address!=null){let{address:r,port:n}=t.address;e("connection opened %s%s",r,n?`:${n}`:"")}else e("connection opened")}),Ft.subscribe("undici:websocket:close",t=>{let{websocket:r,code:n,reason:i}=t;e("closed connection to %s - %s %s",r.url,n,i)}),Ft.subscribe("undici:websocket:socket_error",t=>{e("connection errored - %s",t.message)}),Ft.subscribe("undici:websocket:ping",t=>{e("ping received")}),Ft.subscribe("undici:websocket:pong",t=>{e("pong received")})}}(Bf.enabled||id.enabled)&&(i3(id.enabled?id:Bf),Qfe(id.enabled?id:Bf));xE.enabled&&(i3(Bf.enabled?Bf:xE),wfe(xE));s3.exports={channels:jn}});var A3=x((XTe,a3)=>{"use strict";var{InvalidArgumentError:Nt,NotSupportedError:Sfe}=mr(),no=Wt(),{isValidHTTPToken:mw,isValidHeaderValue:Bw,isStream:_fe,destroy:vfe,isBuffer:Rfe,isFormDataLike:Dfe,isIterable:Tfe,hasSafeIterator:Nfe,isBlobLike:Mfe,serializePathWithQuery:Ffe,assertRequestHandler:kfe,getServerName:xfe,normalizedMethodRecords:Ufe,getProtocolFromUrlString:Lfe}=$t(),{channels:Nn}=sd(),{headerNameLowerCasedRecord:o3}=IE(),Pfe=/[^\u0021-\u00ff]/,Ii=Symbol("handler"),Iw=class{constructor(t,{path:r,method:n,body:i,headers:s,query:o,idempotent:a,blocking:A,upgrade:f,headersTimeout:l,bodyTimeout:p,reset:B,expectContinue:S,servername:_,throwOnError:N,maxRedirections:P,typeOfService:U},G){if(typeof r!="string")throw new Nt("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new Nt("path must be an absolute URL or start with a slash");if(Pfe.test(r))throw new Nt("invalid request path");if(typeof n!="string")throw new Nt("method must be a string");if(Ufe[n]===void 0&&!mw(n))throw new Nt("invalid request method");if(f&&typeof f!="string")throw new Nt("upgrade must be a string");if(f&&!Bw(f))throw new Nt("invalid upgrade header");if(l!=null&&(!Number.isFinite(l)||l<0))throw new Nt("invalid headersTimeout");if(p!=null&&(!Number.isFinite(p)||p<0))throw new Nt("invalid bodyTimeout");if(B!=null&&typeof B!="boolean")throw new Nt("invalid reset");if(S!=null&&typeof S!="boolean")throw new Nt("invalid expectContinue");if(N!=null)throw new Nt("invalid throwOnError");if(P!=null&&P!==0)throw new Nt("maxRedirections is not supported, use the redirect interceptor");if(U!=null&&(!Number.isInteger(U)||U<0||U>255))throw new Nt("typeOfService must be an integer between 0 and 255");if(this.headersTimeout=l,this.bodyTimeout=p,this.method=n,this.typeOfService=U??0,this.abort=null,i==null)this.body=null;else if(_fe(i)){this.body=i;let Y=this.body._readableState;(!Y||!Y.autoDestroy)&&(this.endHandler=function(){vfe(this)},this.body.on("end",this.endHandler)),this.errorHandler=Z=>{this.abort?this.abort(Z):this.error=Z},this.body.on("error",this.errorHandler)}else if(Rfe(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i=="string")this.body=i.length?Buffer.from(i):null;else if(Dfe(i)||Tfe(i)||Mfe(i))this.body=i;else throw new Nt("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=f||null,this.path=o?Ffe(r,o):r,this.origin=t,this.protocol=Lfe(t),this.idempotent=a??(n==="HEAD"||n==="GET"),this.blocking=A??this.method!=="HEAD",this.reset=B??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=S??!1,Array.isArray(s)){if(s.length%2!==0)throw new Nt("headers array must be even");for(let Y=0;Y<s.length;Y+=2)UE(this,s[Y],s[Y+1])}else if(s&&typeof s=="object")if(Nfe(s))for(let Y of s){if(!Array.isArray(Y)||Y.length!==2)throw new Nt("headers must be in key-value pair format");UE(this,Y[0],Y[1])}else{let Y=Object.keys(s);for(let Z=0;Z<Y.length;++Z)UE(this,Y[Z],s[Y[Z]])}else if(s!=null)throw new Nt("headers must be an object or an array");kfe(G,n,f),this.servername=_||xfe(this.host)||null,this[Ii]=G,Nn.create.hasSubscribers&&Nn.create.publish({request:this})}onBodySent(t){if(Nn.bodyChunkSent.hasSubscribers&&Nn.bodyChunkSent.publish({request:this,chunk:t}),this[Ii].onBodySent)try{return this[Ii].onBodySent(t)}catch(r){this.abort(r)}}onRequestSent(){if(Nn.bodySent.hasSubscribers&&Nn.bodySent.publish({request:this}),this[Ii].onRequestSent)try{return this[Ii].onRequestSent()}catch(t){this.abort(t)}}onConnect(t){if(no(!this.aborted),no(!this.completed),this.error)t(this.error);else return this.abort=t,this[Ii].onConnect(t)}onResponseStarted(){return this[Ii].onResponseStarted?.()}onHeaders(t,r,n,i){no(!this.aborted),no(!this.completed),Nn.headers.hasSubscribers&&Nn.headers.publish({request:this,response:{statusCode:t,headers:r,statusText:i}});try{return this[Ii].onHeaders(t,r,n,i)}catch(s){this.abort(s)}}onData(t){no(!this.aborted),no(!this.completed),Nn.bodyChunkReceived.hasSubscribers&&Nn.bodyChunkReceived.publish({request:this,chunk:t});try{return this[Ii].onData(t)}catch(r){return this.abort(r),!1}}onUpgrade(t,r,n){return no(!this.aborted),no(!this.completed),this[Ii].onUpgrade(t,r,n)}onComplete(t){this.onFinally(),no(!this.aborted),no(!this.completed),this.completed=!0,Nn.trailers.hasSubscribers&&Nn.trailers.publish({request:this,trailers:t});try{return this[Ii].onComplete(t)}catch(r){this.onError(r)}}onError(t){if(this.onFinally(),Nn.error.hasSubscribers&&Nn.error.publish({request:this,error:t}),!this.aborted)return this.aborted=!0,this[Ii].onError(t)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(t,r){return UE(this,t,r),this}};function UE(e,t,r){if(r&&typeof r=="object"&&!Array.isArray(r))throw new Nt(`invalid ${t} header`);if(r===void 0)return;let n=o3[t];if(n===void 0&&(n=t.toLowerCase(),o3[n]===void 0&&!mw(n)))throw new Nt("invalid header key");if(Array.isArray(r)){let i=[];for(let s=0;s<r.length;s++)if(typeof r[s]=="string"){if(!Bw(r[s]))throw new Nt(`invalid ${t} header`);i.push(r[s])}else if(r[s]===null)i.push("");else{if(typeof r[s]=="object")throw new Nt(`invalid ${t} header`);i.push(`${r[s]}`)}r=i}else if(typeof r=="string"){if(!Bw(r))throw new Nt(`invalid ${t} header`)}else r===null?r="":r=`${r}`;if(n==="host"){if(e.host!==null)throw new Nt("duplicate host header");if(typeof r!="string")throw new Nt("invalid host header");e.host=r}else if(n==="content-length"){if(e.contentLength!==null)throw new Nt("duplicate content-length header");if(e.contentLength=parseInt(r,10),!Number.isFinite(e.contentLength))throw new Nt("invalid content-length header")}else if(e.contentType===null&&n==="content-type")e.contentType=r,e.headers.push(t,r);else{if(n==="transfer-encoding"||n==="keep-alive"||n==="upgrade")throw new Nt(`invalid ${n} header`);if(n==="connection"){let i=typeof r=="string"?r:null;if(i===null)throw new Nt("invalid connection header");for(let s of i.toLowerCase().split(",")){let o=s.trim();if(!mw(o))throw new Nt("invalid connection header");o==="close"&&(e.reset=!0)}}else{if(n==="expect")throw new Sfe("expect header not supported");e.headers.push(t,r)}}}a3.exports=Iw});var c3=x((ZTe,u3)=>{"use strict";function Ofe(){let e=globalThis._tlsModule;if(!e)throw new Error("node:tls bridge module is not available");return e}var f3={};for(let e of["connect","createServer","createSecureContext","TLSSocket","Server","checkServerIdentity","getCiphers","rootCertificates"])Object.defineProperty(f3,e,{enumerable:!0,get(){return Ofe()[e]}});u3.exports=f3});var Cw=x((eNe,d3)=>{"use strict";var Hfe=yE(),l3=Wt(),h3=$t(),{InvalidArgumentError:qfe}=mr(),bw,Gfe=class{constructor(t){this._maxCachedSessions=t,this._sessionCache=new Map,this._sessionRegistry=new FinalizationRegistry(r=>{if(this._sessionCache.size<this._maxCachedSessions)return;let n=this._sessionCache.get(r);n!==void 0&&n.deref()===void 0&&this._sessionCache.delete(r)})}get(t){let r=this._sessionCache.get(t);return r?r.deref():null}set(t,r){this._maxCachedSessions!==0&&(this._sessionCache.set(t,new WeakRef(r)),this._sessionRegistry.register(r,t))}};function Yfe({allowH2:e,useH2c:t,maxCachedSessions:r,socketPath:n,timeout:i,session:s,...o}){if(r!=null&&(!Number.isInteger(r)||r<0))throw new qfe("maxCachedSessions must be a positive integer or zero");let a={path:n,...o},A=new Gfe(r??100);return i=i??1e4,e=e??!1,function({hostname:l,host:p,protocol:B,port:S,servername:_,localAddress:N,httpSocket:P},U){let G;if(B==="https:"){bw||(bw=c3()),_=_||a.servername||h3.getServerName(p)||null;let Z=_||l;l3(Z);let ee=s||A.get(Z)||null;S=S||443,G=bw.connect({highWaterMark:16384,...a,servername:_,session:ee,localAddress:N,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:P,port:S,host:l}),G.on("session",function(j){A.set(Z,j)})}else l3(!P,"httpSocket can only be sent on TLS update"),S=S||80,G=Hfe.connect({highWaterMark:64*1024,...a,localAddress:N,port:S,host:l}),t===!0&&(G.alpnProtocol="h2");if(a.keepAlive==null||a.keepAlive){let Z=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;G.setKeepAlive(!0,Z)}let Y=h3.setupConnectTimeout(new WeakRef(G),{timeout:i,hostname:l,port:S});return G.setNoDelay(!0).once(B==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(Y),U){let Z=U;U=null,Z(null,this)}}).on("error",function(Z){if(queueMicrotask(Y),U){let ee=U;U=null,ee(Z)}}),G}}d3.exports=Yfe});var g3=x(Qw=>{"use strict";Object.defineProperty(Qw,"__esModule",{value:!0});Qw.enumToMap=Wfe;function Wfe(e,t=[],r=[]){let n=(t?.length??0)===0,i=(r?.length??0)===0;return Object.fromEntries(Object.entries(e).filter(([,s])=>typeof s=="number"&&(n||t.includes(s))&&(i||!r.includes(s))))}});var p3=x(q=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});q.SPECIAL_HEADERS=q.MINOR=q.MAJOR=q.HTAB_SP_VCHAR_OBS_TEXT=q.QUOTED_STRING=q.CONNECTION_TOKEN_CHARS=q.HEADER_CHARS=q.TOKEN=q.HEX=q.URL_CHAR=q.USERINFO_CHARS=q.MARK=q.ALPHANUM=q.NUM=q.HEX_MAP=q.NUM_MAP=q.ALPHA=q.STATUSES_HTTP=q.H_METHOD_MAP=q.METHOD_MAP=q.METHODS_RTSP=q.METHODS_ICE=q.METHODS_HTTP=q.HEADER_STATE=q.FINISH=q.STATUSES=q.METHODS=q.LENIENT_FLAGS=q.FLAGS=q.TYPE=q.ERROR=void 0;var Vfe=g3();q.ERROR={OK:0,INTERNAL:1,STRICT:2,CR_EXPECTED:25,LF_EXPECTED:3,UNEXPECTED_CONTENT_LENGTH:4,UNEXPECTED_SPACE:30,CLOSED_CONNECTION:5,INVALID_METHOD:6,INVALID_URL:7,INVALID_CONSTANT:8,INVALID_VERSION:9,INVALID_HEADER_TOKEN:10,INVALID_CONTENT_LENGTH:11,INVALID_CHUNK_SIZE:12,INVALID_STATUS:13,INVALID_EOF_STATE:14,INVALID_TRANSFER_ENCODING:15,CB_MESSAGE_BEGIN:16,CB_HEADERS_COMPLETE:17,CB_MESSAGE_COMPLETE:18,CB_CHUNK_HEADER:19,CB_CHUNK_COMPLETE:20,PAUSED:21,PAUSED_UPGRADE:22,PAUSED_H2_UPGRADE:23,USER:24,CB_URL_COMPLETE:26,CB_STATUS_COMPLETE:27,CB_METHOD_COMPLETE:32,CB_VERSION_COMPLETE:33,CB_HEADER_FIELD_COMPLETE:28,CB_HEADER_VALUE_COMPLETE:29,CB_CHUNK_EXTENSION_NAME_COMPLETE:34,CB_CHUNK_EXTENSION_VALUE_COMPLETE:35,CB_RESET:31,CB_PROTOCOL_COMPLETE:38};q.TYPE={BOTH:0,REQUEST:1,RESPONSE:2};q.FLAGS={CONNECTION_KEEP_ALIVE:1,CONNECTION_CLOSE:2,CONNECTION_UPGRADE:4,CHUNKED:8,UPGRADE:16,CONTENT_LENGTH:32,SKIPBODY:64,TRAILING:128,TRANSFER_ENCODING:512};q.LENIENT_FLAGS={HEADERS:1,CHUNKED_LENGTH:2,KEEP_ALIVE:4,TRANSFER_ENCODING:8,VERSION:16,DATA_AFTER_CLOSE:32,OPTIONAL_LF_AFTER_CR:64,OPTIONAL_CRLF_AFTER_CHUNK:128,OPTIONAL_CR_BEFORE_LF:256,SPACES_AFTER_CHUNK_SIZE:512};q.METHODS={DELETE:0,GET:1,HEAD:2,POST:3,PUT:4,CONNECT:5,OPTIONS:6,TRACE:7,COPY:8,LOCK:9,MKCOL:10,MOVE:11,PROPFIND:12,PROPPATCH:13,SEARCH:14,UNLOCK:15,BIND:16,REBIND:17,UNBIND:18,ACL:19,REPORT:20,MKACTIVITY:21,CHECKOUT:22,MERGE:23,"M-SEARCH":24,NOTIFY:25,SUBSCRIBE:26,UNSUBSCRIBE:27,PATCH:28,PURGE:29,MKCALENDAR:30,LINK:31,UNLINK:32,SOURCE:33,PRI:34,DESCRIBE:35,ANNOUNCE:36,SETUP:37,PLAY:38,PAUSE:39,TEARDOWN:40,GET_PARAMETER:41,SET_PARAMETER:42,REDIRECT:43,RECORD:44,FLUSH:45,QUERY:46};q.STATUSES={CONTINUE:100,SWITCHING_PROTOCOLS:101,PROCESSING:102,EARLY_HINTS:103,RESPONSE_IS_STALE:110,REVALIDATION_FAILED:111,DISCONNECTED_OPERATION:112,HEURISTIC_EXPIRATION:113,MISCELLANEOUS_WARNING:199,OK:200,CREATED:201,ACCEPTED:202,NON_AUTHORITATIVE_INFORMATION:203,NO_CONTENT:204,RESET_CONTENT:205,PARTIAL_CONTENT:206,MULTI_STATUS:207,ALREADY_REPORTED:208,TRANSFORMATION_APPLIED:214,IM_USED:226,MISCELLANEOUS_PERSISTENT_WARNING:299,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,USE_PROXY:305,SWITCH_PROXY:306,TEMPORARY_REDIRECT:307,PERMANENT_REDIRECT:308,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,IM_A_TEAPOT:418,PAGE_EXPIRED:419,ENHANCE_YOUR_CALM:420,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL:430,REQUEST_HEADER_FIELDS_TOO_LARGE:431,LOGIN_TIMEOUT:440,NO_RESPONSE:444,RETRY_WITH:449,BLOCKED_BY_PARENTAL_CONTROL:450,UNAVAILABLE_FOR_LEGAL_REASONS:451,CLIENT_CLOSED_LOAD_BALANCED_REQUEST:460,INVALID_X_FORWARDED_FOR:463,REQUEST_HEADER_TOO_LARGE:494,SSL_CERTIFICATE_ERROR:495,SSL_CERTIFICATE_REQUIRED:496,HTTP_REQUEST_SENT_TO_HTTPS_PORT:497,INVALID_TOKEN:498,CLIENT_CLOSED_REQUEST:499,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,BANDWIDTH_LIMIT_EXCEEDED:509,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511,WEB_SERVER_UNKNOWN_ERROR:520,WEB_SERVER_IS_DOWN:521,CONNECTION_TIMEOUT:522,ORIGIN_IS_UNREACHABLE:523,TIMEOUT_OCCURED:524,SSL_HANDSHAKE_FAILED:525,INVALID_SSL_CERTIFICATE:526,RAILGUN_ERROR:527,SITE_IS_OVERLOADED:529,SITE_IS_FROZEN:530,IDENTITY_PROVIDER_AUTHENTICATION_ERROR:561,NETWORK_READ_TIMEOUT:598,NETWORK_CONNECT_TIMEOUT:599};q.FINISH={SAFE:0,SAFE_WITH_CB:1,UNSAFE:2};q.HEADER_STATE={GENERAL:0,CONNECTION:1,CONTENT_LENGTH:2,TRANSFER_ENCODING:3,UPGRADE:4,CONNECTION_KEEP_ALIVE:5,CONNECTION_CLOSE:6,CONNECTION_UPGRADE:7,TRANSFER_ENCODING_CHUNKED:8};q.METHODS_HTTP=[q.METHODS.DELETE,q.METHODS.GET,q.METHODS.HEAD,q.METHODS.POST,q.METHODS.PUT,q.METHODS.CONNECT,q.METHODS.OPTIONS,q.METHODS.TRACE,q.METHODS.COPY,q.METHODS.LOCK,q.METHODS.MKCOL,q.METHODS.MOVE,q.METHODS.PROPFIND,q.METHODS.PROPPATCH,q.METHODS.SEARCH,q.METHODS.UNLOCK,q.METHODS.BIND,q.METHODS.REBIND,q.METHODS.UNBIND,q.METHODS.ACL,q.METHODS.REPORT,q.METHODS.MKACTIVITY,q.METHODS.CHECKOUT,q.METHODS.MERGE,q.METHODS["M-SEARCH"],q.METHODS.NOTIFY,q.METHODS.SUBSCRIBE,q.METHODS.UNSUBSCRIBE,q.METHODS.PATCH,q.METHODS.PURGE,q.METHODS.MKCALENDAR,q.METHODS.LINK,q.METHODS.UNLINK,q.METHODS.PRI,q.METHODS.SOURCE,q.METHODS.QUERY];q.METHODS_ICE=[q.METHODS.SOURCE];q.METHODS_RTSP=[q.METHODS.OPTIONS,q.METHODS.DESCRIBE,q.METHODS.ANNOUNCE,q.METHODS.SETUP,q.METHODS.PLAY,q.METHODS.PAUSE,q.METHODS.TEARDOWN,q.METHODS.GET_PARAMETER,q.METHODS.SET_PARAMETER,q.METHODS.REDIRECT,q.METHODS.RECORD,q.METHODS.FLUSH,q.METHODS.GET,q.METHODS.POST];q.METHOD_MAP=(0,Vfe.enumToMap)(q.METHODS);q.H_METHOD_MAP=Object.fromEntries(Object.entries(q.METHODS).filter(([e])=>e.startsWith("H")));q.STATUSES_HTTP=[q.STATUSES.CONTINUE,q.STATUSES.SWITCHING_PROTOCOLS,q.STATUSES.PROCESSING,q.STATUSES.EARLY_HINTS,q.STATUSES.RESPONSE_IS_STALE,q.STATUSES.REVALIDATION_FAILED,q.STATUSES.DISCONNECTED_OPERATION,q.STATUSES.HEURISTIC_EXPIRATION,q.STATUSES.MISCELLANEOUS_WARNING,q.STATUSES.OK,q.STATUSES.CREATED,q.STATUSES.ACCEPTED,q.STATUSES.NON_AUTHORITATIVE_INFORMATION,q.STATUSES.NO_CONTENT,q.STATUSES.RESET_CONTENT,q.STATUSES.PARTIAL_CONTENT,q.STATUSES.MULTI_STATUS,q.STATUSES.ALREADY_REPORTED,q.STATUSES.TRANSFORMATION_APPLIED,q.STATUSES.IM_USED,q.STATUSES.MISCELLANEOUS_PERSISTENT_WARNING,q.STATUSES.MULTIPLE_CHOICES,q.STATUSES.MOVED_PERMANENTLY,q.STATUSES.FOUND,q.STATUSES.SEE_OTHER,q.STATUSES.NOT_MODIFIED,q.STATUSES.USE_PROXY,q.STATUSES.SWITCH_PROXY,q.STATUSES.TEMPORARY_REDIRECT,q.STATUSES.PERMANENT_REDIRECT,q.STATUSES.BAD_REQUEST,q.STATUSES.UNAUTHORIZED,q.STATUSES.PAYMENT_REQUIRED,q.STATUSES.FORBIDDEN,q.STATUSES.NOT_FOUND,q.STATUSES.METHOD_NOT_ALLOWED,q.STATUSES.NOT_ACCEPTABLE,q.STATUSES.PROXY_AUTHENTICATION_REQUIRED,q.STATUSES.REQUEST_TIMEOUT,q.STATUSES.CONFLICT,q.STATUSES.GONE,q.STATUSES.LENGTH_REQUIRED,q.STATUSES.PRECONDITION_FAILED,q.STATUSES.PAYLOAD_TOO_LARGE,q.STATUSES.URI_TOO_LONG,q.STATUSES.UNSUPPORTED_MEDIA_TYPE,q.STATUSES.RANGE_NOT_SATISFIABLE,q.STATUSES.EXPECTATION_FAILED,q.STATUSES.IM_A_TEAPOT,q.STATUSES.PAGE_EXPIRED,q.STATUSES.ENHANCE_YOUR_CALM,q.STATUSES.MISDIRECTED_REQUEST,q.STATUSES.UNPROCESSABLE_ENTITY,q.STATUSES.LOCKED,q.STATUSES.FAILED_DEPENDENCY,q.STATUSES.TOO_EARLY,q.STATUSES.UPGRADE_REQUIRED,q.STATUSES.PRECONDITION_REQUIRED,q.STATUSES.TOO_MANY_REQUESTS,q.STATUSES.REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL,q.STATUSES.REQUEST_HEADER_FIELDS_TOO_LARGE,q.STATUSES.LOGIN_TIMEOUT,q.STATUSES.NO_RESPONSE,q.STATUSES.RETRY_WITH,q.STATUSES.BLOCKED_BY_PARENTAL_CONTROL,q.STATUSES.UNAVAILABLE_FOR_LEGAL_REASONS,q.STATUSES.CLIENT_CLOSED_LOAD_BALANCED_REQUEST,q.STATUSES.INVALID_X_FORWARDED_FOR,q.STATUSES.REQUEST_HEADER_TOO_LARGE,q.STATUSES.SSL_CERTIFICATE_ERROR,q.STATUSES.SSL_CERTIFICATE_REQUIRED,q.STATUSES.HTTP_REQUEST_SENT_TO_HTTPS_PORT,q.STATUSES.INVALID_TOKEN,q.STATUSES.CLIENT_CLOSED_REQUEST,q.STATUSES.INTERNAL_SERVER_ERROR,q.STATUSES.NOT_IMPLEMENTED,q.STATUSES.BAD_GATEWAY,q.STATUSES.SERVICE_UNAVAILABLE,q.STATUSES.GATEWAY_TIMEOUT,q.STATUSES.HTTP_VERSION_NOT_SUPPORTED,q.STATUSES.VARIANT_ALSO_NEGOTIATES,q.STATUSES.INSUFFICIENT_STORAGE,q.STATUSES.LOOP_DETECTED,q.STATUSES.BANDWIDTH_LIMIT_EXCEEDED,q.STATUSES.NOT_EXTENDED,q.STATUSES.NETWORK_AUTHENTICATION_REQUIRED,q.STATUSES.WEB_SERVER_UNKNOWN_ERROR,q.STATUSES.WEB_SERVER_IS_DOWN,q.STATUSES.CONNECTION_TIMEOUT,q.STATUSES.ORIGIN_IS_UNREACHABLE,q.STATUSES.TIMEOUT_OCCURED,q.STATUSES.SSL_HANDSHAKE_FAILED,q.STATUSES.INVALID_SSL_CERTIFICATE,q.STATUSES.RAILGUN_ERROR,q.STATUSES.SITE_IS_OVERLOADED,q.STATUSES.SITE_IS_FROZEN,q.STATUSES.IDENTITY_PROVIDER_AUTHENTICATION_ERROR,q.STATUSES.NETWORK_READ_TIMEOUT,q.STATUSES.NETWORK_CONNECT_TIMEOUT];q.ALPHA=[];for(let e=65;e<=90;e++)q.ALPHA.push(String.fromCharCode(e)),q.ALPHA.push(String.fromCharCode(e+32));q.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};q.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};q.NUM=["0","1","2","3","4","5","6","7","8","9"];q.ALPHANUM=q.ALPHA.concat(q.NUM);q.MARK=["-","_",".","!","~","*","'","(",")"];q.USERINFO_CHARS=q.ALPHANUM.concat(q.MARK).concat(["%",";",":","&","=","+","$",","]);q.URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(q.ALPHANUM);q.HEX=q.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);q.TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(q.ALPHANUM);q.HEADER_CHARS=[" "];for(let e=32;e<=255;e++)e!==127&&q.HEADER_CHARS.push(e);q.CONNECTION_TOKEN_CHARS=q.HEADER_CHARS.filter(e=>e!==44);q.QUOTED_STRING=[" "," "];for(let e=33;e<=255;e++)e!==34&&e!==92&&q.QUOTED_STRING.push(e);q.HTAB_SP_VCHAR_OBS_TEXT=[" "," "];for(let e=33;e<=126;e++)q.HTAB_SP_VCHAR_OBS_TEXT.push(e);for(let e=128;e<=255;e++)q.HTAB_SP_VCHAR_OBS_TEXT.push(e);q.MAJOR=q.NUM_MAP;q.MINOR=q.MAJOR;q.SPECIAL_HEADERS={connection:q.HEADER_STATE.CONNECTION,"content-length":q.HEADER_STATE.CONTENT_LENGTH,"proxy-connection":q.HEADER_STATE.CONNECTION,"transfer-encoding":q.HEADER_STATE.TRANSFER_ENCODING,upgrade:q.HEADER_STATE.UPGRADE};q.default={ERROR:q.ERROR,TYPE:q.TYPE,FLAGS:q.FLAGS,LENIENT_FLAGS:q.LENIENT_FLAGS,METHODS:q.METHODS,STATUSES:q.STATUSES,FINISH:q.FINISH,HEADER_STATE:q.HEADER_STATE,ALPHA:q.ALPHA,NUM_MAP:q.NUM_MAP,HEX_MAP:q.HEX_MAP,NUM:q.NUM,ALPHANUM:q.ALPHANUM,MARK:q.MARK,USERINFO_CHARS:q.USERINFO_CHARS,URL_CHAR:q.URL_CHAR,HEX:q.HEX,TOKEN:q.TOKEN,HEADER_CHARS:q.HEADER_CHARS,CONNECTION_TOKEN_CHARS:q.CONNECTION_TOKEN_CHARS,QUOTED_STRING:q.QUOTED_STRING,HTAB_SP_VCHAR_OBS_TEXT:q.HTAB_SP_VCHAR_OBS_TEXT,MAJOR:q.MAJOR,MINOR:q.MINOR,SPECIAL_HEADERS:q.SPECIAL_HEADERS,METHODS_HTTP:q.METHODS_HTTP,METHODS_ICE:q.METHODS_ICE,METHODS_RTSP:q.METHODS_RTSP,METHOD_MAP:q.METHOD_MAP,H_METHOD_MAP:q.H_METHOD_MAP,STATUSES_HTTP:q.STATUSES_HTTP}});var Sw=x((nNe,E3)=>{"use strict";var{Buffer:Jfe}=Gr(),jfe="AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAn9/AGABfwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFk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CyAAKAIICyICIAE2AgwgACABNgIIIAEgADYCDCABIAI2AggMAQtBHyECIARB////B00EQCAEQSYgBEEIdmciAGt2QQFxIABBAXRrQT5qIQILIAEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgL5YUCAgd/A34gASACaiEEAkAgACIDKAIMIgANACADKAIEBEAgAyABNgIECyMAQRBrIgkkAAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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KSkpKSkpKSkpKSkCJwsgAUEBaiEBIANBL2otAABBAXFFDQoMGAsgAUEBaiEBDBcLIAFBAWohASACLQAAQQJxDQALQQAhAiADQQA2AhwgAyABNgIUIANBnxU2AhAgA0EMNgIMDJUDCyADLQAuQYABcUUNAQtBACEAAkAgAygCOCICRQ0AIAIoAlwiAkUNACADIAIRAAAhAAsgAEUN5gIgAEEVRgRAIANBJDYCHCADIAE2AhQgA0GbGzYCECADQRU2AgxBACECDJQDC0EAIQIgA0EANgIcIAMgATYCFCADQZAONgIQIANBFDYCDAyTAwtBACECIANBADYCHCADIAE2AhQgA0G+IDYCECADQQI2AgwMkgMLIAMoAgQhAEEAIQIgA0EANgIEIAMgACABIAynaiIBEDIiAEUNKyADQQc2AhwgAyABNgIUIAMgADYCDAyRAwsgAy0ALkHAAHFFDQELQQAhAAJAIAMoAjgiAkUNACACKAJYIgJFDQAgAyACEQAAIQALIABFDSsgAEEVRgRAIANBCjYCHCADIAE2AhQgA0HrGTYCECADQRU2AgxBACECDJADC0EAIQIgA0EANgIcIAMgATYCFCADQZMMNgIQIANBEzYCDAyPAwtBACECIANBADYCHCADIAE2AhQgA0GCFTYCECADQQI2AgwMjgMLQQAhAiADQQA2AhwgAyABNgIUIANB3RQ2AhAgA0EZNgIMDI0DC0EAIQIgA0EANgIcIAMgATYCFCADQeYdNgIQIANBGTYCDAyMAwsgAEEVRg09QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIsDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFDSggA0ENNgIcIAMgATYCFCADIAA2AgwMigMLIABBFUYNOkEAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAyJAwsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQwoCyADQQ42AhwgAyAANgIMIAMgAUEBajYCFAyIAwsgAEEVRg03QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIcDCyADKAIEI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ECIANBADYCHCADQb8LNgIQIANBAjYCDCADIAFBAWo2AhQM6AILQQAhAgzOAgtBDSECDM0CC0ETIQIMzAILQRUhAgzLAgtBFiECDMoCC0EYIQIMyQILQRkhAgzIAgtBGiECDMcCC0EbIQIMxgILQRwhAgzFAgtBHSECDMQCC0EeIQIMwwILQR8hAgzCAgtBICECDMECC0EiIQIMwAILQSMhAgy/AgtBJSECDL4CC0HlACECDL0CCyADQT02AhwgAyABNgIUIAMgADYCDEEAIQIM1QILIANBGzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDNQCCyADQSA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzTAgsgA0ETNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0gILIANBCzYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNECCyADQRA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzQAgsgA0EgNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzwILIANBCzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM4CCyADQQw2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzNAgtBACECIANBADYCHCADIAE2AhQgA0HdDjYCECADQRI2AgwMzAILAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB/QEhAgzMAgsCQAJAIAMtADZBAUcNAEEAIQACQCADKAI4IgJFDQAgAigCYCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUcNASADQfwBNgIcIAMgATYCFCADQdwZNgIQIANBFTYCDEEAIQIMzQILQdwBIQIMswILIANBADYCHCADIAE2AhQgA0H5CzYCECADQR82AgxBACECDMsCCwJAAkAgAy0AKEEBaw4CBAEAC0HbASECDLICC0HUASECDLECCyADQQI6ADFBACEAAkAgAygCOCICRQ0AIAIoAgAiAkUNACADIAIRAAAhAAsgAEUEQEHdASECDLECCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQbQMNgIQIANBEDYCDEEAIQIMygILIANB+wE2AhwgAyABNgIUIANBgRo2AhAgA0EVNgIMQQAhAgzJAgsgASAERgRAQfoBIQIMyQILIAEtAABByABGDQEgA0EBOgAoC0HAASECDK4CC0HaASECDK0CCyABIARHBEAgA0EMNgIIIAMgATYCBEHZASECDK0CC0H5ASECDMUCCyABIARGBEBB+AEhAgzFAgsgAS0AAEHIAEcNBCABQQFqIQFB2AEhAgyrAgsgASAERgRAQfcBIQIMxAILAkACQCABLQAAQcUAaw4QAAUFBQUFBQUFBQUFBQUFAQULIAFBAWohAUHWASECDKsCCyABQQFqIQFB1wEhAgyqAgtB9gEhAiABIARGDcICIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbrVAGotAABHDQMgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMMCCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIARQRAQeMBIQIMqgILIANB9QE2AhwgAyABNgIUIAMgADYCDEEAIQIMwgILQfQBIQIgASAERg3BAiADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEG41QBqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzCAgsgA0GBBDsBKCADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIADQMMAgsgA0EANgIAC0EAIQIgA0EANgIcIAMgATYCFCADQeUfNgIQIANBCDYCDAy/AgtB1QEhAgylAgsgA0HzATYCHCADIAE2AhQgAyAANgIMQQAhAgy9AgtBACEAAkAgAygCOCICRQ0AIAIoAkAiAkUNACADIAIRAAAhAAsgAEUNbiAAQRVHBEAgA0EANgIcIAMgATYCFCADQYIPNgIQIANBIDYCDEEAIQIMvQILIANBjwE2AhwgAyABNgIUIANB7Bs2AhAgA0EVNgIMQQAhAgy8AgsgASAERwRAIANBDTYCCCADIAE2AgRB0wEhAgyjAgtB8gEhAgy7AgsgASAERgRAQfEBIQIMuwILAkACQAJAIAEtAABByABrDgsAAQgICAgICAgIAggLIAFBAWohAUHQASECDKMCCyABQQFqIQFB0QEhAgyiAgsgAUEBaiEBQdIBIQIMoQILQfABIQIgASAERg25AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBtdUAai0AAEcNBCAAQQJGDQMgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuQILQe8BIQIgASAERg24AiADKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABBs9UAai0AAEcNAyAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuAILQe4BIQIgASAERg23AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMtwILIAMoAgQhACADQgA3AwAgAyAAIAVBAWoiARArIgBFDQIgA0HsATYCHCADIAE2AhQgAyAANgIMQQAhAgy2AgsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNnAIgA0HtATYCHCADIAE2AhQgAyAANgIMQQAhAgy0AgtBzwEhAgyaAgtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDLQCC0HOASECDJoCCyADQesBNgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMsgILIAEgBEYEQEHrASECDLICCyABLQAAQS9GBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GyODYCECADQQg2AgxBACECDLECC0HNASECDJcCCyABIARHBEAgA0EONgIIIAMgATYCBEHMASECDJcCC0HqASECDK8CCyABIARGBEBB6QEhAgyvAgsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFBywEhAgyWAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZcCIANB6AE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAEgBEYEQEHnASECDK4CCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5gE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILQcoBIQIMlAILIAEgBEYEQEHlASECDK0CC0EAIQBBASEFQQEhB0EAIQICQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQCABLQAAQTBrDgoKCQABAgMEBQYICwtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshAkEAIQVBACEHDAILQQkhAkEBIQBBACEFQQAhBwwBC0EAIQVBASECCyADIAI6ACsgAUEBaiEBAkACQCADLQAuQRBxDQACQAJAAkAgAy0AKg4DAQACBAsgB0UNAwwCCyAADQEMAgsgBUUNAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDQIgA0HiATYCHCADIAE2AhQgAyAANgIMQQAhAgyvAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZoCIANB4wE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ2YAiADQeQBNgIcIAMgATYCFCADIAA2AgwMrQILQckBIQIMkwILQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANBpA02AhAgA0EhNgIMQQAhAgytAgtByAEhAgyTAgsgA0HhATYCHCADIAE2AhQgA0HQGjYCECADQRU2AgxBACECDKsCCyABIARGBEBB4QEhAgyrAgsCQCABLQAAQSBGBEAgA0EAOwE0IAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBmRE2AhAgA0EJNgIMQQAhAgyrAgtBxwEhAgyRAgsgASAERgRAQeABIQIMqgILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyrAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqgILQcYBIQIMkAILIAEgBEYEQEHfASECDKkCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqgILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKkCC0HFASECDI8CCyABIARGBEBB3gEhAgyoAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKkCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyoAgtBxAEhAgyOAgsgASAERgRAQd0BIQIMpwILAkACQAJAAkAgAS0AAEEKaw4XAgMDAAMDAwMDAwMDAwMDAwMDAwMDAwEDCyABQQFqDAULIAFBAWohAUHDASECDI8CCyABQQFqIQEgA0Evai0AAEEBcQ0IIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKcCCyADQQA2AhwgAyABNgIUIANBjQs2AhAgA0ENNgIMQQAhAgymAgsgASAERwRAIANBDzYCCCADIAE2AgRBASECDI0CC0HcASECDKUCCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtB2wEhAgymAgsgAygCBCEAIANBADYCBCADIAAgARAtIgBFBEAgAUEBaiEBDAQLIANB2gE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMpQILIAMoAgQhACADQQA2AgQgAyAAIAEQLSIADQEgAUEBagshAUHBASECDIoCCyADQdkBNgIcIAMgADYCDCADIAFBAWo2AhRBACEC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CAAEnCyABQQFqIQFBmQEhAgzfAQsgAUEBaiEBQZoBIQIM3gELQbIBIQIgASAERg32ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHm1ABqLQAARw0jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz3AQsgA0EANgIAIAZBAWohAUEnDCMLQbEBIQIgASAERg31ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHk1ABqLQAARw0iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz2AQsgA0EANgIAIAZBAWohAUEcDCILQbABIQIgASAERg30ASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHe1ABqLQAARw0hIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz1AQsgA0EANgIAIAZBAWohAUEGDCELQa8BIQIgASAERg3zASADKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEHZ1ABqLQAARw0gIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz0AQsgA0EANgIAIAZBAWohAUEZDCALIAEgBEYEQEGuASECDPMBCwJAAkACQAJAIAEtAABBLWsOIwAkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJAEkJCQkJAIkJCQDJAsgAUEBaiEBQY4BIQIM3AELIAFBAWohAUGPASECDNsBCyABQQFqIQFBlAEhAgzaAQsgAUEBaiEBQZUBIQIM2QELQa0BIQIgASAERg3xASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHX1ABqLQAARw0eIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzyAQsgA0EANgIAIAZBAWohAUELDB4LIAEgBEYEQEGsASECDPEBCwJAAkAgAS0AAEHBAGsOAwAgASALIAFBAWohAUGQASECDNgBCyABQQFqIQFBkwEhAgzXAQsgASAERgRAQasBIQIM8AELAkACQCAB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yADIAU2AgAM6AELIANBADYCACAGQQFqIQFBHwwUC0GiASECIAEgBEYN5gEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBvtQAai0AAEcNEyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5wELIANBADYCACAGQQFqIQFBAgwTC0GhASECIAEgBEYN5QEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGA0AgAS0AACAAQbzUAGotAABHDREgAEEBRg0CIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADOUBCyABIARGBEBBoAEhAgzlAQtBASABLQAAQd8ARw0RGiABQQFqIQFBhwEhAgzLAQsgA0EANgIAIAZBAWohAUGIASECDMoBC0GfASECIAEgBEYN4gEgAygCACIAIAQgAWtqIQUgASAAa0EIaiEGAkADQCABLQAAIABBhNUAai0AAEcNDyAAQQhGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM4wELIANBADYCACAGQQFqIQFBKQwPC0GeASECIAEgBEYN4QEgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBuNQAai0AAEcNDiAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM4gELIANBADYCACAGQQFqIQFBLQwOCyABIARGBEBBnQEhAgzhAQsgAS0AAEHFAEcNDiABQQFqIQFBhAEhAgzHAQsgASAERgRAQZwBIQIM4AELAkACQCABLQAAQcwAaw4IAA8PDw8PDwEPCyABQQFqIQFBggEhAgzHAQsgAUEBaiEBQYMBIQIMxgELQZsBIQIgASAERg3eASADKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEGz1ABqLQAARw0LIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzfAQsgA0EANgIAIAZBAWohAUEjDAsLQZoBIQIgASAERg3dASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGw1ABqLQAARw0KIABBAkYNASA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INgIMDJkBC0HyACECIAEgBEYNmAEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBs9UAai0AAEcNBSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMmQELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfEANgIcIAMgATYCFCADIAA2AgxBACECDJkBC0HfACECDH8LQQAhAAJAIAMoAjgiAkUNACACKAI0IgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANB6g02AhAgA0EmNgIMQQAhAgyZAQtB3gAhAgx/CyADQfAANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMlwELIAMtAClBIUYNBiADQQA2AhwgAyABNgIUIANBkQo2AhAgA0EINgIMQQAhAgyWAQtB7wAhAiABIARGDZUBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDVAGotAABHDQIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJYBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIARQ0CIANB7QA2AhwgAyABNgIUIAMgADYCDEEAIQIMlQELIANBADYCAAsgAygCBCEAIANBADYCBCADIAAgARArIgBFDYABIANB7gA2AhwgAyABNgIUIAMgADYCDEEAIQIMkwELQdwAIQIMeQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJMBC0HbACECDHkLIANB7AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyRAQsgAy0AKSIAQSNJDQAgAEEuRg0AIANBADYCHCADIAE2AhQgA0HJCTYCECADQQg2AgxBACECDJABC0HaACECDHYLIAEgBEYEQEHrACECDI8BCwJAIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMjwELQdkAIQIMdQsgASAERwRAIANBDjYCCCADIAE2AgRB2AAhAgx1C0HqACECDI0BCyABIARGBEBB6QAhAgyNAQsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFB1wAhAgx0CyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeiADQegANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyABIARGBEBB5wAhAgyMAQsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ17IANB5gA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELQdYAIQIMcgsgASAERgRAQeUAIQIMiwELQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIANgIcIAMgATYCFCADIAA2AgxBACECDI0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNfSADQeMANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeyADQeQANgIcIAMgATYCFCADIAA2AgwMiwELQdQAIQIMcQsgAy0AKUEiRg2GAUHTACECDHALQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALIABFBEBB1QAhAgxwCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQaQNNgIQIANBITYCDEEAIQIMiQELIANB4QA2AhwgAyABNgIUIANB0Bo2AhAgA0EVNgIMQQAhAgyIAQsgASAERgRAQeAAIQIMiAELAkACQAJAAkACQCABLQAAQQprDgQBBAQABAsgAUEBaiEBDAELIAFBAWohASADQS9qLQAAQQFxRQ0BC0HSACECDHALIANBADYCHCADIAE2AhQgA0G2ETYCECADQQk2AgxBACECDIgBCyADQQA2AhwgAyABNgIUIANBthE2AhAgA0EJNgIMQQAhAgyHAQsgASAERgRAQd8AIQIMhwELIAEtAABBCkYEQCABQQFqIQEMCQsgAy0ALkHAAHENCCADQQA2AhwgAyABNgIUIANBthE2AhAgA0ECNgIMQQAhAgyGAQsgASAERgRAQd0AIQIMhgELIAEtAAAiAkENRgRAIAFBAWohAUHQACECDG0LIAEhACACQQlrDgQFAQEFAQsgBCABIgBGBEBB3AAhAgyFAQsgAC0AAEEKRw0AIABBAWoMAgtBACECIANBADYCHCADIAA2AhQgA0HKLTYCECADQQc2AgwMgwELIAEgBEYEQEHbACECDIMBCwJAIAEtAABBCWsOBAMAAAMACyABQQFqCyEBQc4AIQIMaAsgASAERgRAQdoAIQIMgQELIAEtAABBCWsOBAABAQABC0EAIQIgA0EANgIcIANBmhI2AhAgA0EHNgIMIAMgAUEBajYCFAx/CyADQYASOwEqQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB2QA2AhwgAyABNgIUIANB6ho2AhAgA0EVNgIMQQAhAgx+C0HNACECDGQLIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDHwLIAEgBEYEQEHZACECDHwLIAEtAABBIEcNPSABQQFqIQEgAy0ALkEBcQ09IANBADYCHCADIAE2AhQgA0HCHDYCECADQR42AgxBACECDHsLIAEgBEYEQEHYACECDHsLAkACQAJAAkACQCABLQAAIgBBCmsOBAIDAwABCyABQQFqIQFBLCECDGULIABBOkcNASADQQA2AhwgAyABNgIUIANB5xE2AhAgA0EKNgIMQQAhAgx9CyABQQFqIQEgA0Evai0AAEEBcUUNcyADLQAyQYABcUUEQCADQTJqIQIgAxA1QQAhAAJAIAMoAjgiBkUNACAGKAIoIgZFDQAgAyAGEQAAIQ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AEIAFBAWoiAUcNAAtBOCECDFYLIABBLEcNASABQQFqIQBBASEBAkACQAJAAkACQCADLQAsQQVrDgQDAQIEAAsgACEBDAQLQQIhAQwBC0EEIQELIANBAToALCADIAMvATIgAXI7ATIgACEBDAELIAMgAy8BMkEIcjsBMiAAIQELQT4hAgw7CyADQQA6ACwLQTkhAgw5CyABIARGBEBBNiECDFILAkACQAJAAkACQCABLQAAQQprDgQAAgIBAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDQIgA0EzNgIcIAMgATYCFCADIAA2AgxBACECDFULIAMoAgQhACADQQA2AgQgAyAAIAEQMSIARQRAIAFBAWohAQwGCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMVAsgAy0ALkEBcQRAQd8BIQIMOwsgAygCBCEAIANBADYCBCADIAAgARAxIgANAQxJC0E0IQIMOQsgA0E1NgIcIAMgATYCFCADIAA2AgxBACECDFELQTUhAgw3CyADQS9qLQAAQQFxDQAgA0EANgIcIAMgATYCFCADQesWNgIQIANBGTYCDEEAIQIMTwtBMyECDDULIAEgBEYEQEEyIQIMTgsCQCABLQAAQQpGBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GSFzYCECADQQM2AgxBACECDE4LQTIhAgw0CyABIARGBEBBMSECDE0LAkAgAS0AACIAQQlGDQAgAEEgRg0AQQEhAgJAIAMtACxBBWsOBAYEBQANCyADIAMvATJBCHI7ATIMDAsgAy0ALkEBcUUNASADLQAsQQhHDQAgA0EAOgAsC0E9IQIMMgsgA0EANgIcIAMgATYCFCADQcIWNgIQIANBCjYCDEEAIQIMSgtBAiECDAELQQQhAgsgA0EBOgAsIAMgAy8BMiACcjsBMgwGCyABIARGBEBBMCECDEcLIAEtAABBCkYEQCABQQFqIQEMAQsgAy0ALkEBcQ0AIANBADYCHCADIAE2AhQgA0HcKDYCECADQQI2AgxBACECDEYLQTAhAgwsCyABQQFqIQFBMSECDCsLIAEgBEYEQEEvIQIMRAsgAS0AACIAQQlHIABBIE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ICBEAgACACNgIQIAIgADYCGAsgBUEUaigCACICRQ0AIABBFGogAjYCACACIAA2AhgLIAEgBGogBDYCACABIARBAXI2AgQgAUHY1QAoAgBHDQBBzNUAIAQ2AgAMAQsgBEH/AU0EQCAEQXhxQezVAGohAAJ/QcTVACgCACICQQEgBEEDdnQiA3FFBEBBxNUAIAIgA3I2AgAgAAwBCyAAKAIICyICIAE2AgwgACABNgIIIAEgADYCDCABIAI2AggMAQtBHyECIARB////B00EQCAEQSYgBEEIdmciAGt2QQFxIABBAXRrQT5qIQILIAEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgLhocCAwd/A34BeyABIAJqIQQCQCAAIgMoAgwiAA0AIAMoAgQEQCADIAE2AgQLIwBBEGsiCSQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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QgAyAAIAEQNCIARQRAIAFBAWohAQwdCyADQRk2AhwgAyAANgIMIAMgAUEBajYCFAz2AgsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQzvAgsgA0EaNgIcIAMgADYCDCADIAFBAWo2AhQM9QILIABBFUYNH0EAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAz0AgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDBsLIANBHDYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgzzAgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDOsCCyADQR02AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM8gILIABBO0cNASABQQFqIQELQSYhAgzXAgtBACECIANBADYCHCADIAE2AhQgA0GfFTYCECADQQw2AgwM7wILIAEgBEcEQANAIAEtAABBIEcNhAIgBCABQQFqIgFHDQALQSwhAgzvAgtBLCECDO4CCyABIARGBEBBNCECDO4CCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtBNCECDO8CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUNnwIgA0EyNgIcIAMgATYCFCADIAA2AgxBACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUEQCABQQFqIQEMnwILIANBMjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgztAgsgASAERwRAAkADQCABLQAAQTBrIgBB/wFxQQpPBEBBOiECDNcCCyADKQMgIgtCmbPmzJmz5swZVg0BIAMgC0IKfiIKNwMgIAogAK1C/wGDIgtCf4VWDQEgAyAKIAt8NwMgIAQgAUEBaiIBRw0AC0HAACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABQQFqIgEQMSIADRcM4gILQcAAIQIM7AILIAEgBEYEQEHJACECDOwCCwJAA0ACQCABLQAAQQlrDhgAAqICogKpAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAgCiAgsgBCABQQFqIg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CFCADQfkLNgIQIANBHzYCDEEAIQIMywILAkACQCADLQAoQQFrDgIEAQALQdsBIQIMsgILQdQBIQIMsQILIANBAjoAMUEAIQACQCADKAI4IgJFDQAgAigCACICRQ0AIAMgAhEAACEACyAARQRAQd0BIQIMsQILIABBFUcEQCADQQA2AhwgAyABNgIUIANBtAw2AhAgA0EQNgIMQQAhAgzKAgsgA0H7ATYCHCADIAE2AhQgA0GBGjYCECADQRU2AgxBACECDMkCCyABIARGBEBB+gEhAgzJAgsgAS0AAEHIAEYNASADQQE6ACgLQcABIQIMrgILQdoBIQIMrQILIAEgBEcEQCADQQw2AgggAyABNgIEQdkBIQIMrQILQfkBIQIMxQILIAEgBEYEQEH4ASECDMUCCyABLQAAQcgARw0EIAFBAWohAUHYASECDKsCCyABIARGBEBB9wEhAgzEAgsCQAJAIAEtAABBxQBrDhAABQUFBQUFBQUFBQUFBQUBBQsgAUEBaiEBQdYBIQIMqwILIAFBAWohAUHXASECDKoCC0H2ASECIAEgBEYNwgIgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABButUAai0AAEcNAyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMwwILIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgBFBEBB4wEhAgyqAgsgA0H1ATYCHCADIAE2AhQgAyAANgIMQQAhAgzCAgtB9AEhAiABIARGDcECIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbjVAGotAABHDQIgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMICCyADQYEEOwEoIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgANAwwCCyADQQA2AgALQQAhAiADQQA2AhwgAyABNgIUIANB5R82AhAgA0EINgIMDL8CC0HVASECDKUCCyADQfMBNgIcIAMgATYCFCADIAA2AgxBACECDL0CC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ1uIABBFUcEQCADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgy9AgsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDLwCCyABIARHBEAgA0ENNgIIIAMgATYCBEHTASECDKMCC0HyASECDLsCCyABIARGBEBB8QEhAgy7AgsCQAJAAkAgAS0AAEHIAGsOCwABCAgICAgICAgCCAsgAUEBaiEBQdABIQIMowILIAFBAWohAUHRASECDKICCyABQQFqIQFB0gEhAgyhAgtB8AEhAiABIARGDbkCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEG11QBqLQAARw0EIABBAkYNAyAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy5AgtB7wEhAiABIARGDbgCIAMoAgAiACAEIAFraiEGIAEgAGtBAWohBQNAIAEtAAAgAEGz1QBqLQAARw0DIABBAUYNAiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy4AgtB7gEhAiABIARGDbcCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEGw1QBqLQAARw0CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy3AgsgAygCBCEAIANCADcDACADIAAgBUEBaiIBECsiAEUNAiADQewBNgIcIAMgATYCFCADIAA2AgxBACECDLYCCyADQQA2AgALIAMoAgQhACADQQA2AgQgAyAAIAEQKyIARQ2cAiADQe0BNgIcIAMgATYCFCADIAA2AgxBACECDLQCC0HPASECDJoCC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMtAILQc4BIQIMmgILIANB6wE2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyyAgsgASAERgRAQesBIQIMsgILIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMsQILQc0BIQIMlwILIAEgBEcEQCADQQ42AgggAyABNgIEQcwBIQIMlwILQeoBIQIMrwILIAEgBEYEQEHpASECDK8CCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHLASECDJYCCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNlwIgA0HoATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgASAERgRAQecBIQIMrgILAkAgAS0AAEEuRgRAIAFBAWohAQwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmAIgA0HmATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgtBygEhAgyUAgsgASAERgRAQeUBIQIMrQILQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIBNgIcIAMgATYCFCADIAA2AgxBACECDK8CCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmgIgA0HjATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5AE2AhwgAyABNgIUIAMgADYCDAytAgtByQEhAgyTAgtBACEAAkAgAygCOCICRQ0AIAIoAkQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GkDTYCECADQSE2AgxBACECDK0CC0HIASECDJMCCyADQeEBNgIcIAMgATYCFCADQdAaNgIQIANBFTYCDEEAIQIMqwILIAEgBEYEQEHhASECDKsCCwJAIAEtAABBIEYEQCADQQA7ATQgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GZETYCECADQQk2AgxBACECDKsCC0HHASECDJECCyABIARGBEBB4AEhAgyqAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKsCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyqAgtBxgEhAgyQAgsgASAERgRAQd8BIQIMqQILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyqAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqQILQcUBIQIMjwILIAEgBEYEQEHeASECDKgCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqQILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKgCC0HEASECDI4CCyABIARGBEBB3QEhAgynAgsCQAJAAkACQCABLQAAQQprDhcCAwMAAwMDAwMDAwMDAwMDAwMDAwMDAQMLIAFBAWoMBQsgAUEBaiEBQcMBIQIMjwILIAFBAWohASADQS9qLQAAQQFxDQggA0EANgIcIAMgATYCFCADQY0LNgIQIANBDTYCDEEAIQIMpwILIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKYCCyABIARHBEAgA0EPNgIIIAMgATYCBEEBIQIMjQILQdwBIQIMpQILAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0HbASECDKYCCyADKAIEIQAgA0EANgIEIAMgACABEC0iAEUEQCABQQFqIQEMBAsgA0HaATYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgylAgsgAygCBCEAIANBADYCBCADIAAgARAtIgANASABQQFqCyEBQcEBIQIMigILIANB2QE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMogILQcIBIQIMiAILIANBL2otAABBAXENASADQQA2AhwgAyABNgIUIANB5Bw2AhAgA0EZNgIMQQAhAgygAgsgASAERgRAQdkBIQIMoAILAkACQAJAIAEtAABBCmsOBAECAgACCyABQQFqIQEMAgsgAUEBaiEBDAELIAMtAC5BwABxRQ0BC0EAIQACQCADKAI4IgJFDQAgAigCPCICRQ0AIAMgAhEAACEACyAARQ2gASAAQRVGBEAgA0HZADYCHCADIAE2AhQgA0G3GjYCECADQRU2AgxBACECDJ8CCyADQQA2AhwgAyABNgIUIANBgA02AhAgA0EbNgIMQQAhAgyeAgsgA0EANgIcIAMgATYCFCADQdwoNgIQIANBAjYCDEEAIQIMnQILIAEgBEcEQCADQQw2AgggAyABNgIEQb8BIQIMhAILQdgBIQIMnAILIAEgBEYEQEHXASECDJwCCwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAS0AAEHBAGsOFQABAgNaBAUGWlpaBwgJCgsMDQ4PEFoLIAFBAWohAUH7ACECDJICCyABQQFqIQFB/AAhAgyRAgsgAUEBaiEBQYEBIQIMkAILIAFBAWohAUGFASECDI8CCyABQQFqIQFBhgEhAgyOAgsgAUEBaiEBQYkBIQIMjQILIAFBAWohAUGKASECDIwCCyABQQFqIQFBjQEhAgyLAgsgAUEBaiEBQZYBIQIMigILIAFBAWohAUGXASECDIkCCyABQQFqIQFBmAEhAgyIAgsgAUEBaiEBQaUBIQIMhwILIAFBAWohAUGmASECDIYCCyABQQFqIQFBrAEhAgyFAgsgAUEBaiEBQbQBIQIMhAILIAFBAWohAUG3ASECDIMCCyABQQFqIQFBvgEhAgyCAgsgASAERgRAQ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FHDQALIAMgBTYCAAyTAgsgA0EANgIAIAZBAWohAUEHDD8LQc0BIQIgASAERg2RAiADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGY1QBqLQAARw0+IABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAySAgsgA0EANgIAIAZBAWohAUEoDD4LIAEgBEYEQEHMASECDJECCwJAAkACQCABLQAAQcUAaw4RAEFBQUFBQUFBQQFBQUFBQQJBCyABQQFqIQFBsQEhAgz5AQsgAUEBaiEBQbIBIQIM+AELIAFBAWohAUGzASECDPcBC0HLASECIAEgBEYNjwIgAygCACIAIAQgAWtqIQUgASAAa0EGaiEGAkADQCABLQAAIABBkdUAai0AAEcNPCAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMkAILIANBADYCACAGQQFqIQFBGgw8C0HKASECIAEgBEYNjgIgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBjdUAai0AAEcNOyAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMjwILIANBADYCACAGQQFqIQFBIQw7CyABIARGBEBByQEhAgyOAgsCQAJAIAEtAABBwQBrDhQAPT09PT09PT09PT09PT09PT09AT0LIAFBAWohAUGtASECDPUBCyABQQFqIQFBsAEhAgz0AQsgASAERgRAQcgBIQIMjQILAkACQCABLQAAQdUAaw4LADw8PDw8PDw8PAE8CyABQQFqIQFBrgEhAgz0AQsgAUEBaiEBQa8BIQIM8wELQccBIQIgASAERg2LAiADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw04IABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyMAgsgA0EANgIAIAZBAWohAUEqDDgLIAEgBEYEQEHGASECDIsCCyABLQAAQdAARw04IAFBAWohAUElDDcLQcUBIQIgASAERg2JAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGB1QBqLQAARw02IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyKAgsgA0EANgIAIAZBAWohAUEODDYLIAEgBEYEQEHEASECDIkCCyABLQAAQcUARw02IAFBAWohAUGrASECDO8BCyABIARGBEBBwwEhAgyIAgsCQAJAAkACQCABLQAAQcIAaw4PAAECOTk5OTk5OTk5OTkDOQsgAUEBaiEBQacBIQIM8QELIAFBAWohAUGoASECDPABCyABQQFqIQFBqQEhAgzvAQsgAUEBaiEBQaoBIQIM7gELQcIBIQIgASAERg2GAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH+1ABqLQAARw0zIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyHAgsgA0EANgIAIAZBAWohAUEUDDMLQcEBIQIgASAERg2FAiADKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEH51ABqLQAARw0yIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyGAgsgA0EANgIAIAZBAWohAUErDDILQcABIQIgASAERg2EAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH21ABqLQAARw0xIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyFAgsgA0EANgIAIAZBAWohAUEsDDELQb8BIQIgASAERg2DAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGh1QBqLQAARw0wIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyEAgsgA0EANgIAIAZBAWohAUERDDALQb4BIQIgASAERg2CAiADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEHy1ABqLQAARw0vIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyDAgsgA0EANgIAIAZBAWohAUEuDC8LIAEgBEYEQEG9ASECDIICCwJAAkACQAJAAkAgAS0AAEHBAGsOF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HDR4gAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPIBCyADQQA2AgAgBkEBaiEBQQsMHgsgASAERgRAQawBIQIM8QELAkACQCABLQAAQcEAaw4DACABIAsgAUEBaiEBQZABIQIM2AELIAFBAWohAUGTASECDNcBCyABIARGBEBBqwEhAgzwAQsCQAJAIAEtAABBwQBrDg8AHx8fHx8fHx8fHx8fHwEfCyABQQFqIQFBkQEhAgzXAQsgAUEBaiEBQZIBIQIM1gELIAEgBEYEQEGqASECDO8BCyABLQAAQcwARw0cIAFBAWohAUEKDBsLQakBIQIgASAERg3tASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHR1ABqLQAARw0aIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzuAQsgA0EANgIAIAZBAWohAUEeDBoLQagBIQIgASAERg3sASADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEHK1ABqLQAARw0ZIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAztAQsgA0EANgIAIAZBAWohAUEVDBkLQacBIQIgASAERg3rASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHH1ABqLQAARw0YIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzsAQsgA0EANgIAIAZBAWohAUEXDBgLQaYBIQIgASAERg3qASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHB1ABqLQAARw0XIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzrAQsgA0EANgIAIAZBAWohAUEYDBcLIAEgBEYEQEGlASECDOoBCwJAAkAgAS0AAEHJAGsOBwAZGRkZGQEZCyABQQFqIQFBiwEhAgzRAQsgAUEBaiEBQYwBIQIM0AELQaQBIQIgASAERg3oASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGm1QBqLQAARw0VIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzpAQsgA0EANgIAIAZBAWohAUEJDBULQaMBIQIgASAERg3nASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGk1QBqLQAARw0UIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzoAQsgA0EANgIAIAZBAWohAUEfDBQLQaIBIQIgASAERg3mASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEG+1ABqLQAARw0TIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAznAQsgA0EANgIAIAZBAWohAUECDBMLQaEBIQIgASAERg3lASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYDQCABLQAAIABBvNQAai0AAEcNESAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5QELIAEgBEYEQEGgASECDOUBC0EBIAEtAABB3wBHDREaIAFBAWohAUGHASECDMsBCyADQQA2AgAgBkEBaiEBQYgBIQIMygELQZ8BIQIgASAERg3iASADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw0PIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzjAQsgA0EANgIAIAZBAWohAUEpDA8LQZ4BIQIgASAERg3hASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEG41ABqLQAARw0OIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAziAQsgA0EANgIAIAZBAWohAUEtDA4LIAEgBEYEQEGdASECDOEBCyABLQAAQcUARw0OIAFBAWohAUGEASECDMcBCyABIARGBEBBnAEhAgzgAQsCQAJAIAEtAABBzABrDggADw8PDw8PAQ8LIAFBAWohAUGCASECDMcBCyABQQFqIQFBgwEhAgzGAQtBmwEhAiABIARGDd4BIAMoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0A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AIABBoNQAai0AAEcNAiAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM1gELIANBADYCACAGQQFqIQFBJAwCCyADQQA2AgAMAgsgASAERgRAQZEBIQIM1AELIAEtAABBzABHDQEgAUEBaiEBQRMLOgApIAMoAgQhACADQQA2AgQgAyAAIAEQLiIADQIMAQtBACECIANBADYCHCADIAE2AhQgA0H+HzYCECADQQY2AgwM0QELQfgAIQIMtwELIANBkAE2AhwgAyABNgIUIAMgADYCDEEAIQIMzwELQQAhAAJAIAMoAjgiAkUNACACKAJAIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GCDzYCECADQSA2AgxBACECDM4BC0H3ACECDLQBCyADQY8BNgIcIAMgATYCFCADQewbNgIQIANBFTYCDEEAIQIMzAELIAEgBEYEQEGPASECDMwBCwJAIAEtAABBIEYEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQZsfNgIQIANBBjYCDEEAIQIMzAELQQIhAgyyAQsDQCABLQAAQSBHDQIgBCABQQFqIgFHDQALQY4BIQIMygELIAEgBEYEQEGNASECDMoBCwJAIAEtAABBCWsOBEoAAEoAC0H1ACECDLABCyADLQApQQVGBEBB9gAhAgywAQtB9AAhAgyvAQsgASAERgRAQYwBIQIMyAELIANBEDYCCCADIAE2AgQMCgsgASAERgRAQYsBIQIMxwELAkAgAS0AAEEJaw4ERwAARwALQfMAIQIMrQELIAEgBEcEQCADQRA2AgggAyABNgIEQfEAIQIMrQELQYoBIQIMxQELAkAgASAERwRAA0AgAS0AAEGg0ABqLQAAIgBBA0cEQAJAIABBAWsOAkkABAtB8AAhAgyvAQsgBCABQQFqIgFHDQALQYgBIQIMxgELQYgBIQIMxQELIANBADYCHCADIAE2AhQgA0HbIDYCECADQQc2AgxBACECDMQBCyABIARGBEBBiQEhAgzEAQsCQAJAAkAgAS0AAEGg0gBqLQAAQQFrDgNGAgABC0HyACECDKwBCyADQQA2AhwgAyABNgIUIANBtBI2AhAgA0EHNgIMQQAhAgzEAQtB6gAhAgyqAQsgASAERwRAIAFBAWohAUHvACECDKoBC0GHASECDMIBCyAEIAEiAEYEQEGGASECDMIBCyAALQAAIgFBL0YEQCAAQQFqIQFB7gAhAgypAQsgAUEJayICQRdLDQEgACEBQQEgAnRBm4CABHENQQwBCyAEIAEiAEYEQEGFASECDMEBCyAALQAAQS9HDQAgAEEBaiEBDAMLQQAhAiADQQA2AhwgAyAANgIUIANB2yA2AhAgA0EHNgIMDL8BCwJAAkACQAJAAkADQCABLQAAQaDOAGotAAAiAEEFRwRAAkACQCAAQQFrDghHBQYHCAAEAQgLQesAIQIMrQELIAFBAWohAUHtACECDKwBCyAEIAFBAWoiAUcNAAtBhAEhAgzDAQsgAUEBagwUCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDMEBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDMABCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDL8BCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy+AQsgASAERgRAQYMBIQIMvgELAkAgAS0AAEGgzgBqLQAAQQFrDgg+BAUGAAgCAwcLIAFBAWohAQtBAyECDKMBCyABQQFqDA0LQQAhAiADQQA2AhwgA0HREjYCECADQQc2AgwgAyABQQFqNgIUDLoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDLkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDLgBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDLcBCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy2AQtB7AAhAgycAQsgASAERgRAQYIBIQIMtQELIAFBAWoMAgsgASAERgRAQYEBIQIMtAELIAFBAWoMAQsgASAERg0BIAFBAWoLIQFBBCECDJgBC0GAASECDLABCwNAIAEtAABBoMwAai0AACIAQQJHBEAgAEEBRwRAQekAIQIMmQELDDELIAQgAUEBaiIBRw0AC0H/ACECDK8BCyABIARGBEBB/gAhAgyvAQsCQCABLQAAQQlrDjcvAwYvBAYGBgYGBgYGBgYGBgYGBgYGBgUGBgIGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYABgsgAUEBagshAUEFIQIMlAELIAFBAWoMBgsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgyrAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgyqAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgypAQsgA0EANgIcIAMgATYCFCADQY0UNgIQIANBBzYCDEEAIQIMqAELAkACQAJAAkADQCABLQAAQaDKAGotAAAiAEEFRwRAAkAgAEEBaw4GLgMEBQYABgtB6AAhAgyUAQsgBCABQQFqIgFHDQALQf0AIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqAELIANBADYCHCADIAE2AhQgA0HkCDYCECADQQc2AgxBACECDKcBCyABIARGDQEgAUEBagshAUEGIQIMjAELQfwAIQIMpAELAkACQAJAAkADQCABLQAAQaDIAGotAAAiAEEFRwRAIABBAWsOBCkCAwQFCyAEIAFBAWoiAUcNAAtB+wAhAgynAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgymAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgylAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgykAQsgA0EANgIcIAMgATYCFCADQbwKNgIQIANBBzYCDEEAIQIMowELQc8AIQIMiQELQdEAIQIMiAELQecAIQIMhwELIAEgBEYEQEH6ACECDKABCwJAIAEtAABBCWsOBCAAACAACyABQQFqIQFB5gAhAgyGAQsgASAERgRAQfkAIQIMnwELAkAgAS0AAEEJaw4EHwAAHwALQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFBEBB4gEhAgyGAQsgAEEVRwRAIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDJ8BCyADQfgANgIcIAMgATYCFCADQeoaNgIQIANBFTYCDEEAIQIMngELIAEgBEcEQCADQQ02AgggAyABNgIEQeQAIQIMhQELQfcAIQIMnQELIAEgBEYEQEH2ACECDJ0BCwJAAkACQCABLQAAQcgAaw4LAAELCwsLCwsLCwILCyABQQFqIQFB3QAhAgyFAQsgAUEBaiEBQeAAIQIMhAELIAFBAWohAUHjACECDIMBC0H1ACECIAEgBEYNmwEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBtdUAai0AAEcNCCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMnAELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfQANgIcIAMgATYCFCADIAA2AgxBACECDJwBC0HiACECDIIBC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMnAELQeEAIQIMggELIANB8wA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyaAQsgAy0AKSIAQSNrQQtJDQkCQCAAQQZLDQBBASAAdEHKAHFFDQAMCgtBACECIANBADYCHCADIAE2AhQgA0HtCTYCECADQQg2AgwMmQELQfIAIQIgASAERg2YASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGz1QBqLQAARw0FIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyZAQsgAygCBCEAIANCADcDACADIAAgBkEBaiIBECsiAARAIANB8QA2AhwgAyABNgIUIAMgADYCDEEAIQIMmQELQd8AIQIMfwtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJkBC0HeACECDH8LIANB8AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyXAQsgAy0AKUEhRg0GIANBADYCHCADIAE2AhQgA0GRCjYCECADQQg2AgxBACECDJYBC0HvACECIAEgBEYNlQEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMlgELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgBFDQIgA0HtADYCHCADIAE2AhQgAyAANgIMQQAhAgyVAQsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNgAEgA0HuADYCHCADIAE2AhQgAyAANgIMQQAhAgyTAQtB3AAhAgx5C0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMkwELQdsAIQIMeQsgA0HsADYCHCADIAE2AhQgA0GAGzYCECADQRU2AgxBACECDJEBCyADLQApIgBBI0kNACAAQS5GDQAgA0EANgIcI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IANBux02AhAgA0ECNgIMDAcLQQAhAiADQQA2AhwgAyABNgIUIANBlhY2AhAgA0ECNgIMDAYLQQAhAiADQQA2AhwgAyABNgIUIANB+Rg2AhAgA0ECNgIMDAULQQAhAiADQQA2AhwgAyABNgIUIANBxBg2AhAgA0ECNgIMDAQLIANBAjYCHCADIAE2AhQgA0GpHjYCECADQRY2AgxBACECDAMLQd4AIQIgASAERg0CIAlBCGohByADKAIAIQUCQAJAIAEgBEcEQCAFQZbIAGohCCAEIAVqIAFrIQYgBUF/c0EKaiIFIAFqIQADQCABLQAAIAgtAABHBEBBAiEIDAMLIAVFBEBBACEIIAAhAQwDCyAFQQFrIQUgCEEBaiEIIAQgAUEBaiIBRw0ACyAGIQUgBCEBCyAHQQE2AgAgAyAFNgIADAELIANBADYCACAHIAg2AgALIAcgATYCBCAJKAIMIQACQAJAIAkoAghBAWsOAgQBAAsgA0EANgIcIANBwh42AhAgA0EXNgIMIAMgAEEBajYCFEEAIQIMAwsgA0EANgIcIAMgADYCFCADQdceNgIQIANBCTYCDEEAIQIMAgsgASAERgRAQSghAgwCCyADQQk2AgggAyABNgIEQSchAgwBCyABIARGBEBBASECDAELA0ACQAJAAkAgAS0AAEEKaw4EAAEBAAELIAFBAWohAQwBCyABQQFqIQEgAy0ALkEgcQ0AQQAhAiADQQA2AhwgAyABNgIUIANBoSE2AhAgA0EFNgIMDAILQQEhAiABIARHDQALCyAJQRBqJAAgAkUEQCADKAIMIQAMAQsgAyACNgIcQQAhACADKAIEIgFFDQAgAyABIAQgAygCCBEBACIBRQ0AIAMgBDYCFCADIAE2AgwgASEACyAAC74CAQJ/IABBADoAACAAQeQAaiIBQQFrQQA6AAAgAEEAOgACIABBADoAASABQQNrQQA6AAAgAUECa0EAOgAAIABBADoAAyABQQRrQQA6AABBACAAa0EDcSIBIABqIgBBADYCAEHkACABa0F8cSICIABqIgFBBGtBADYCAAJAIAJBCUkNACAAQQA2AgggAEEANgIEIAFBCGtBADYCACABQQxrQQA2AgA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BBytIACwYCAAAAAAIAQeHSAAs6AwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBBoNQAC50BTk9VTkNFRUNLT1VUTkVDVEVURUNSSUJFTFVTSEVURUFEU0VBUkNIUkdFQ1RJVklUWUxFTkRBUlZFT1RJRllQVElPTlNDSFNFQVlTVEFUQ0hHRVVFUllPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFVFRQQ0VUU1BBRFRQLw==",_w;Object.defineProperty(y3,"exports",{get:()=>_w||(_w=zfe.from(Kfe,"base64"))})});var PE=x((sNe,B3)=>{"use strict";function LE(){let e=globalThis.__secureExecBuiltinZlibModule;if(!e)throw new Error("node:zlib bridge module is not available");return e}B3.exports=new Proxy({},{get(e,t){return LE()[t]},has(e,t){return t in LE()},ownKeys(){return Reflect.ownKeys(LE())},getOwnPropertyDescriptor(e,t){let r=Object.getOwnPropertyDescriptor(LE(),t);return r||{configurable:!0,enumerable:!0,value:void 0,writable:!1}}})});var od=x((oNe,v3)=>{"use strict";var I3=["GET","HEAD","POST"],Xfe=new Set(I3),Zfe=[101,204,205,304],b3=[301,302,303,307,308],$fe=new Set(b3),C3=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],eue=new Set(C3),Q3=["no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],tue=["",...Q3],rue=new Set(Q3),nue=["follow","manual","error"],w3=["GET","HEAD","OPTIONS","TRACE"],iue=new Set(w3),sue=["navigate","same-origin","no-cors","cors"],oue=["omit","same-origin","include"],aue=["default","no-store","reload","no-cache","force-cache","only-if-cached"],Aue=["content-encoding","content-language","content-location","content-type","content-length"],fue=["half"],S3=["CONNECT","TRACE","TRACK"],uue=new Set(S3),_3=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],cue=new Set(_3);v3.exports={subresource:_3,forbiddenMethods:S3,requestBodyHeader:Aue,referrerPolicy:tue,requestRedirect:nue,requestMode:sue,requestCredentials:oue,requestCache:aue,redirectStatus:b3,corsSafeListedMethods:I3,nullBodyStatus:Zfe,safeMethods:w3,badPorts:C3,requestDuplex:fue,subresourceSet:cue,badPortsSet:eue,redirectStatusSet:$fe,corsSafeListedMethodsSet:Xfe,safeMethodsSet:iue,forbiddenMethodsSet:uue,referrerPolicyTokens:rue}});var D3=x((aNe,R3)=>{"use strict";var vw=Symbol.for("undici.globalOrigin.1");function lue(){return globalThis[vw]}function hue(e){if(e===void 0){Object.defineProperty(globalThis,vw,{value:void 0,writable:!0,enumerable:!1,configurable:!1});return}let t=new URL(e);if(t.protocol!=="http:"&&t.protocol!=="https:")throw new TypeError(`Only http & https urls are allowed, received ${t.protocol}`);Object.defineProperty(globalThis,vw,{value:t,writable:!0,enumerable:!1,configurable:!1})}R3.exports={getGlobalOrigin:lue,setGlobalOrigin:hue}});var Rw=x((ANe,T3)=>{"use strict";var due=new TextDecoder;function gue(e){return e.length===0?"":(e[0]===239&&e[1]===187&&e[2]===191&&(e=e.subarray(3)),due.decode(e))}T3.exports={utf8DecodeBytes:gue}});var If=x((fNe,k3)=>{"use strict";var N3=Wt(),{utf8DecodeBytes:pue}=Rw();function Eue(e,t,r){let n="";for(;r.position<t.length&&e(t[r.position]);)n+=t[r.position],r.position++;return n}function yue(e,t,r){let n=t.indexOf(e,r.position),i=r.position;return n===-1?(r.position=t.length,t.slice(i)):(r.position=n,t.slice(i,r.position))}var mue=/[\u0009\u000A\u000C\u000D\u0020]/g;function Bue(e){e=e.replace(mue,"");let t=e.length;if(t%4===0&&e.charCodeAt(t-1)===61&&(--t,e.charCodeAt(t-1)===61&&--t),t%4===1||/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return"failure";let r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}function M3(e){return e===9||e===10||e===12||e===13||e===32}function Iue(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let r="",n=0,i=65535;for(;n<t;)n+i>t&&(i=t-n),r+=String.fromCharCode.apply(null,e.subarray(n,n+=i));return r}var bue=/[^\x00-\xFF]/;function Cue(e){return N3(!bue.test(e)),e}function Que(e){return JSON.parse(pue(e))}function wue(e,t=!0,r=!0){return F3(e,t,r,M3)}function F3(e,t,r,n){let i=0,s=e.length-1;if(t)for(;i<e.length&&n(e.charCodeAt(i));)i++;if(r)for(;s>0&&n(e.charCodeAt(s));)s--;return i===0&&s===e.length-1?e:e.slice(i,s+1)}function Sue(e){let t=JSON.stringify(e);if(t===void 0)throw new TypeError("Value is not JSON serializable");return N3(typeof t=="string"),t}k3.exports={collectASequenceOfCodePoints:Eue,collectASequenceOfCodePointsFast:yue,forgivingBase64:Bue,isASCIIWhitespace:M3,isomorphicDecode:Iue,isomorphicEncode:Cue,parseJSONFromBytes:Que,removeASCIIWhitespace:wue,removeChars:F3,serializeJavascriptValueToJSONString:Sue}});var bf=x((uNe,H3)=>{"use strict";var HE=Wt(),{forgivingBase64:_ue,collectASequenceOfCodePoints:Dw,collectASequenceOfCodePointsFast:ad,isomorphicDecode:vue,removeASCIIWhitespace:Rue,removeChars:Due}=If(),Tue=new TextEncoder,Ad=/^[-!#$%&'*+.^_|~A-Za-z0-9]+$/u,Nue=/[\u000A\u000D\u0009\u0020]/u,Mue=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/u;function Fue(e){HE(e.protocol==="data:");let t=L3(e,!0);t=t.slice(5);let r={position:0},n=ad(",",t,r),i=n.length;if(n=Rue(n,!0,!0),r.position>=t.length)return"failure";r.position++;let s=t.slice(i+1),o=P3(s);if(/;(?:\u0020*)base64$/ui.test(n)){let A=vue(o);if(o=_ue(A),o==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020+)$/u,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let a=Tw(n);return a==="failure"&&(a=Tw("text/plain;charset=US-ASCII")),{mimeType:a,body:o}}function L3(e,t=!1){if(!t)return e.href;let r=e.href,n=e.hash.length,i=n===0?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?i.slice(0,-1):i}function P3(e){let t=Tue.encode(e);return kue(t)}function x3(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function U3(e){return e>=48&&e<=57?e-48:(e&223)-55}function kue(e){let t=e.length,r=new Uint8Array(t),n=0,i=0;for(;i<t;){let s=e[i];s!==37?r[n++]=s:s===37&&!(x3(e[i+1])&&x3(e[i+2]))?r[n++]=37:(r[n++]=U3(e[i+1])<<4|U3(e[i+2]),i+=2),++i}return t===n?r:r.subarray(0,n)}function Tw(e){e=OE(e,!0,!0);let t={position:0},r=ad("/",e,t);if(r.length===0||!Ad.test(r)||t.position>=e.length)return"failure";t.position++;let n=ad(";",e,t);if(n=OE(n,!1,!0),n.length===0||!Ad.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),o={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;t.position<e.length;){t.position++,Dw(f=>Nue.test(f),e,t);let a=Dw(f=>f!==";"&&f!=="=",e,t);if(a=a.toLowerCase(),t.position<e.length){if(e[t.position]===";")continue;t.position++}if(t.position>=e.length)break;let A=null;if(e[t.position]==='"')A=O3(e,t,!0),ad(";",e,t);else if(A=ad(";",e,t),A=OE(A,!1,!0),A.length===0)continue;a.length!==0&&Ad.test(a)&&(A.length===0||Mue.test(A))&&!o.parameters.has(a)&&o.parameters.set(a,A)}return o}function O3(e,t,r=!1){let n=t.position,i="";for(HE(e[t.position]==='"'),t.position++;i+=Dw(o=>o!=='"'&&o!=="\\",e,t),!(t.position>=e.length);){let s=e[t.position];if(t.position++,s==="\\"){if(t.position>=e.length){i+="\\";break}i+=e[t.position],t.position++}else{HE(s==='"');break}}return r?i:e.slice(n,t.position)}function xue(e){HE(e!=="failure");let{parameters:t,essence:r}=e,n=r;for(let[i,s]of t.entries())n+=";",n+=i,n+="=",Ad.test(s)||(s=s.replace(/[\\"]/ug,"\\$&"),s='"'+s,s+='"'),n+=s;return n}function Uue(e){return e===13||e===10||e===9||e===32}function OE(e,t=!0,r=!0){return Due(e,t,r,Uue)}function Lue(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return e.subtype.endsWith("+json")?"application/json":e.subtype.endsWith("+xml")?"application/xml":""}H3.exports={dataURLProcessor:Fue,URLSerializer:L3,stringPercentDecode:P3,parseMIMEType:Tw,collectAnHTTPQuotedString:O3,serializeAMimeType:xue,removeHTTPWhitespace:OE,minimizeSupportedMimeType:Lue,HTTP_TOKEN_CODEPOINTS:Ad}});var G3=x((cNe,q3)=>{"use strict";var Pue=globalThis.performance??{now(){return Date.now()},timeOrigin:Date.now()};q3.exports={performance:Pue}});var Nw=x((lNe,Y3)=>{"use strict";function Oue(e){return e instanceof ArrayBuffer}function Hue(e){return ArrayBuffer.isView(e)}function que(e){return e instanceof Uint8Array}function Gue(e){return!1}Y3.exports={isArrayBuffer:Oue,isArrayBufferView:Hue,isProxy:Gue,isUint8Array:que}});var Cf=x((hNe,Fw)=>{"use strict";var Mw=65536,Yue=4294967295;function Wue(){throw new Error(`Secure random number generation is not supported by this browser.
Use Chrome, Firefox or Internet Explorer 11`)}var Vue=tt().Buffer,qE=globalThis.crypto||globalThis.msCrypto;qE&&qE.getRandomValues?Fw.exports=Jue:Fw.exports=Wue;function Jue(e,t){if(e>Yue)throw new RangeError("requested too many random bytes");var r=Vue.allocUnsafe(e);if(e>0)if(e>Mw)for(var n=0;n<e;n+=Mw)qE.getRandomValues(r.slice(n,n+Mw));else qE.getRandomValues(r);return typeof t=="function"?process.nextTick(function(){t(null,r)}):r}});var J3=x((dNe,V3)=>{"use strict";var io=tt().Buffer,W3=(gi(),$i(Ht)).Transform,jue=Ve();function AA(e){W3.call(this),this._block=io.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}jue(AA,W3);AA.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(i){n=i}r(n)};AA.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(r){t=r}e(t)};var zue=typeof Uint8Array<"u",Kue=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(io.prototype instanceof Uint8Array||io.TYPED_ARRAY_SUPPORT);function Xue(e,t){if(e instanceof io)return e;if(typeof e=="string")return io.from(e,t);if(Kue&&ArrayBuffer.isView(e)){if(e.byteLength===0)return io.alloc(0);var r=io.from(e.buffer,e.byteOffset,e.byteLength);if(r.byteLength===e.byteLength)return r}if(zue&&e instanceof Uint8Array||io.isBuffer(e)&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e))return io.from(e);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}AA.prototype.update=function(e,t){if(this._finalized)throw new Error("Digest already called");e=Xue(e,t);for(var r=this._block,n=0;this._blockOffset+e.length-n>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)r[i++]=e[n++];this._update(),this._blockOffset=0}for(;n<e.length;)r[this._blockOffset++]=e[n++];for(var s=0,o=e.length*8;o>0;++s)this._length[s]+=o,o=this._length[s]/4294967296|0,o>0&&(this._length[s]-=4294967296*o);return this};AA.prototype._update=function(){throw new Error("_update is not implemented")};AA.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();e!==void 0&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t};AA.prototype._digest=function(){throw new Error("_digest is not implemented")};V3.exports=AA});var WE=x((gNe,z3)=>{"use strict";var Zue=Ve(),j3=J3(),$ue=tt().Buffer,ece=new Array(16);function GE(){j3.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}Zue(GE,j3);GE.prototype._update=function(){for(var e=ece,t=0;t<16;++t)e[t]=this._block.readInt32LE(t*4);var r=this._a,n=this._b,i=this._c,s=this._d;r=rn(r,n,i,s,e[0],3614090360,7),s=rn(s,r,n,i,e[1],3905402710,12),i=rn(i,s,r,n,e[2],606105819,17),n=rn(n,i,s,r,e[3],3250441966,22),r=rn(r,n,i,s,e[4],4118548399,7),s=rn(s,r,n,i,e[5],1200080426,12),i=rn(i,s,r,n,e[6],2821735955,17),n=rn(n,i,s,r,e[7],4249261313,22),r=rn(r,n,i,s,e[8],1770035416,7),s=rn(s,r,n,i,e[9],2336552879,12),i=rn(i,s,r,n,e[10],4294925233,17),n=rn(n,i,s,r,e[11],2304563134,22),r=rn(r,n,i,s,e[12],1804603682,7),s=rn(s,r,n,i,e[13],4254626195,12),i=rn(i,s,r,n,e[14],2792965006,17),n=rn(n,i,s,r,e[15],1236535329,22),r=nn(r,n,i,s,e[1],4129170786,5),s=nn(s,r,n,i,e[6],3225465664,9),i=nn(i,s,r,n,e[11],643717713,14),n=nn(n,i,s,r,e[0],3921069994,20),r=nn(r,n,i,s,e[5],3593408605,5),s=nn(s,r,n,i,e[10],38016083,9),i=nn(i,s,r,n,e[15],3634488961,14),n=nn(n,i,s,r,e[4],3889429448,20),r=nn(r,n,i,s,e[9],568446438,5),s=nn(s,r,n,i,e[14],3275163606,9),i=nn(i,s,r,n,e[3],4107603335,14),n=nn(n,i,s,r,e[8],1163531501,20),r=nn(r,n,i,s,e[13],2850285829,5),s=nn(s,r,n,i,e[2],4243563512,9),i=nn(i,s,r,n,e[7],1735328473,14),n=nn(n,i,s,r,e[12],2368359562,20),r=sn(r,n,i,s,e[5],4294588738,4),s=sn(s,r,n,i,e[8],2272392833,11),i=sn(i,s,r,n,e[11],1839030562,16),n=sn(n,i,s,r,e[14],4259657740,23),r=sn(r,n,i,s,e[1],2763975236,4),s=sn(s,r,n,i,e[4],1272893353,11),i=sn(i,s,r,n,e[7],4139469664,16),n=sn(n,i,s,r,e[10],3200236656,23),r=sn(r,n,i,s,e[13],681279174,4),s=sn(s,r,n,i,e[0],3936430074,11),i=sn(i,s,r,n,e[3],3572445317,16),n=sn(n,i,s,r,e[6],76029189,23),r=sn(r,n,i,s,e[9],3654602809,4),s=sn(s,r,n,i,e[12],3873151461,11),i=sn(i,s,r,n,e[15],530742520,16),n=sn(n,i,s,r,e[2],3299628645,23),r=on(r,n,i,s,e[0],4096336452,6),s=on(s,r,n,i,e[7],1126891415,10),i=on(i,s,r,n,e[14],2878612391,15),n=on(n,i,s,r,e[5],4237533241,21),r=on(r,n,i,s,e[12],1700485571,6),s=on(s,r,n,i,e[3],2399980690,10),i=on(i,s,r,n,e[10],4293915773,15),n=on(n,i,s,r,e[1],2240044497,21),r=on(r,n,i,s,e[8],1873313359,6),s=on(s,r,n,i,e[15],4264355552,10),i=on(i,s,r,n,e[6],2734768916,15),n=on(n,i,s,r,e[13],1309151649,21),r=on(r,n,i,s,e[4],4149444226,6),s=on(s,r,n,i,e[11],3174756917,10),i=on(i,s,r,n,e[2],718787259,15),n=on(n,i,s,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+s|0};GE.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=$ue.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e};function YE(e,t){return e<<t|e>>>32-t}function rn(e,t,r,n,i,s,o){return YE(e+(t&r|~t&n)+i+s|0,o)+t|0}function nn(e,t,r,n,i,s,o){return YE(e+(t&n|r&~n)+i+s|0,o)+t|0}function sn(e,t,r,n,i,s,o){return YE(e+(t^r^n)+i+s|0,o)+t|0}function on(e,t,r,n,i,s,o){return YE(e+(r^(t|~n))+i+s|0,o)+t|0}z3.exports=GE});var X3=x((pNe,K3)=>{var tce={}.toString;K3.exports=Array.isArray||function(e){return tce.call(e)=="[object Array]"}});var $3=x((ENe,Z3)=>{"use strict";var rce=ts(),nce=Js(),ice=nce("TypedArray.prototype.buffer",!0),sce=Cb();Z3.exports=ice||function(t){if(!sce(t))throw new rce("Not a Typed Array");return t.buffer}});var fd=x((yNe,tL)=>{"use strict";var os=tt().Buffer,oce=X3(),ace=$3(),Ace=ArrayBuffer.isView||function(t){try{return ace(t),!0}catch{return!1}},fce=typeof Uint8Array<"u",eL=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",uce=eL&&(os.prototype instanceof Uint8Array||os.TYPED_ARRAY_SUPPORT);tL.exports=function(t,r){if(os.isBuffer(t))return t.constructor&&!("isBuffer"in t)?os.from(t):t;if(typeof t=="string")return os.from(t,r);if(eL&&Ace(t)){if(t.byteLength===0)return os.alloc(0);if(uce){var n=os.from(t.buffer,t.byteOffset,t.byteLength);if(n.byteLength===t.byteLength)return n}var i=t instanceof Uint8Array?t:new Uint8Array(t.buffer,t.byteOffset,t.byteLength),s=os.from(i);if(s.length===t.byteLength)return s}if(fce&&t instanceof Uint8Array)return os.from(t);var o=oce(t);if(o)for(var a=0;a<t.length;a+=1){var A=t[a];if(typeof A!="number"||A<0||A>255||~~A!==A)throw new RangeError("Array items must be numbers in the range 0-255.")}if(o||os.isBuffer(t)&&t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t))return os.from(t);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}});var sL=x((mNe,iL)=>{"use strict";var cce=tt().Buffer,lce=fd(),nL=typeof Uint8Array<"u",hce=nL&&typeof ArrayBuffer<"u",rL=hce&&ArrayBuffer.isView;iL.exports=function(e,t){if(typeof e=="string"||cce.isBuffer(e)||nL&&e instanceof Uint8Array||rL&&rL(e))return lce(e,t);throw new TypeError('The "data" argument must be a string, a Buffer, a Uint8Array, or a DataView')}});var ud=x((BNe,kw)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?kw.exports={nextTick:dce}:kw.exports=process;function dce(e,t,r,n){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var i=arguments.length,s,o;switch(i){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t)});case 3:return process.nextTick(function(){e.call(null,t,r)});case 4:return process.nextTick(function(){e.call(null,t,r,n)});default:for(s=new Array(i-1),o=0;o<s.length;)s[o++]=arguments[o];return process.nextTick(function(){e.apply(null,s)})}}});var aL=x((INe,oL)=>{var gce={}.toString;oL.exports=Array.isArray||function(e){return gce.call(e)=="[object Array]"}});var xw=x((bNe,AL)=>{AL.exports=es().EventEmitter});var JE=x((Uw,uL)=>{var VE=Gr(),Zo=VE.Buffer;function fL(e,t){for(var r in e)t[r]=e[r]}Zo.from&&Zo.alloc&&Zo.allocUnsafe&&Zo.allocUnsafeSlow?uL.exports=VE:(fL(VE,Uw),Uw.Buffer=Nc);function Nc(e,t,r){return Zo(e,t,r)}fL(Zo,Nc);Nc.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Zo(e,t,r)};Nc.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=Zo(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};Nc.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Zo(e)};Nc.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return VE.SlowBuffer(e)}});var Mc=x(an=>{function pce(e){return Array.isArray?Array.isArray(e):jE(e)==="[object Array]"}an.isArray=pce;function Ece(e){return typeof e=="boolean"}an.isBoolean=Ece;function yce(e){return e===null}an.isNull=yce;function mce(e){return e==null}an.isNullOrUndefined=mce;function Bce(e){return typeof e=="number"}an.isNumber=Bce;function Ice(e){return typeof e=="string"}an.isString=Ice;function bce(e){return typeof e=="symbol"}an.isSymbol=bce;function Cce(e){return e===void 0}an.isUndefined=Cce;function Qce(e){return jE(e)==="[object RegExp]"}an.isRegExp=Qce;function wce(e){return typeof e=="object"&&e!==null}an.isObject=wce;function Sce(e){return jE(e)==="[object Date]"}an.isDate=Sce;function _ce(e){return jE(e)==="[object Error]"||e instanceof Error}an.isError=_ce;function vce(e){return typeof e=="function"}an.isFunction=vce;function Rce(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}an.isPrimitive=Rce;an.isBuffer=Gr().Buffer.isBuffer;function jE(e){return Object.prototype.toString.call(e)}});var lL=x((QNe,Lw)=>{"use strict";function Dce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var cL=JE().Buffer,cd=Yr();function Tce(e,t,r){e.copy(t,r)}Lw.exports=(function(){function e(){Dce(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length},e.prototype.unshift=function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length},e.prototype.shift=function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i},e.prototype.concat=function(r){if(this.length===0)return cL.alloc(0);for(var n=cL.allocUnsafe(r>>>0),i=this.head,s=0;i;)Tce(i.data,n,s),s+=i.data.length,i=i.next;return n},e})();cd&&cd.inspect&&cd.inspect.custom&&(Lw.exports.prototype[cd.inspect.custom]=function(){var e=cd.inspect({length:this.length});return this.constructor.name+" "+e})});var Pw=x((wNe,hL)=>{"use strict";var zE=ud();function Nce(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,zE.nextTick(KE,this,e)):zE.nextTick(KE,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(s){!t&&s?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,zE.nextTick(KE,r,s)):zE.nextTick(KE,r,s):t&&t(s)}),this)}function Mce(){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 KE(e,t){e.emit("error",t)}hL.exports={destroy:Nce,undestroy:Mce}});var Hw=x((SNe,IL)=>{"use strict";var Qf=ud();IL.exports=Br;function gL(e){var t=this;this.next=null,this.entry=null,this.finish=function(){Xce(t,e)}}var Fce=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Qf.nextTick,Fc;Br.WritableState=hd;var pL=Object.create(Mc());pL.inherits=Ve();var kce={deprecate:xb()},EL=xw(),ZE=JE().Buffer,xce=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Uce(e){return ZE.from(e)}function Lce(e){return ZE.isBuffer(e)||e instanceof xce}var yL=Pw();pL.inherits(Br,EL);function Pce(){}function hd(e,t){Fc=Fc||wf(),e=e||{};var r=t instanceof Fc;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,i=e.writableHighWaterMark,s=this.objectMode?16:16*1024;n||n===0?this.highWaterMark=n:r&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=e.decodeStrings===!1;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){Vce(t,a)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new gL(this)}hd.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(hd.prototype,"buffer",{get:kce.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var XE;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(XE=Function.prototype[Symbol.hasInstance],Object.defineProperty(Br,Symbol.hasInstance,{value:function(e){return XE.call(this,e)?!0:this!==Br?!1:e&&e._writableState instanceof hd}})):XE=function(e){return e instanceof this};function Br(e){if(Fc=Fc||wf(),!XE.call(Br,this)&&!(this instanceof Fc))return new Br(e);this._writableState=new hd(e,this),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),EL.call(this)}Br.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Oce(e,t){var r=new Error("write after end");e.emit("error",r),Qf.nextTick(t,r)}function Hce(e,t,r,n){var i=!0,s=!1;return r===null?s=new TypeError("May not write null values to stream"):typeof r!="string"&&r!==void 0&&!t.objectMode&&(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),Qf.nextTick(n,s),i=!1),i}Br.prototype.write=function(e,t,r){var n=this._writableState,i=!1,s=!n.objectMode&&Lce(e);return s&&!ZE.isBuffer(e)&&(e=Uce(e)),typeof t=="function"&&(r=t,t=null),s?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=Pce),n.ended?Oce(this,r):(s||Hce(this,n,e,r))&&(n.pendingcb++,i=Gce(this,n,s,e,t,r)),i};Br.prototype.cork=function(){var e=this._writableState;e.corked++};Br.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&mL(this,e))};Br.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this};function qce(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=ZE.from(t,r)),t}Object.defineProperty(Br.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Gce(e,t,r,n,i,s){if(!r){var o=qce(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=t.objectMode?1:n.length;t.length+=a;var A=t.length<t.highWaterMark;if(A||(t.needDrain=!0),t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else Ow(e,t,!1,a,n,i,s);return A}function Ow(e,t,r,n,i,s,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function Yce(e,t,r,n,i){--t.pendingcb,r?(Qf.nextTick(i,n),Qf.nextTick(ld,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),ld(e,t))}function Wce(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function Vce(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(Wce(r),t)Yce(e,r,n,t,i);else{var s=BL(r);!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&mL(e,r),n?Fce(dL,e,r,s,i):dL(e,r,s,i)}}function dL(e,t,r,n){r||Jce(e,t),t.pendingcb--,n(),ld(e,t)}function Jce(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function mL(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),s=t.corkedRequestsFree;s.entry=r;for(var o=0,a=!0;r;)i[o]=r,r.isBuf||(a=!1),r=r.next,o+=1;i.allBuffers=a,Ow(e,t,!0,t.length,i,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new gL(t),t.bufferedRequestCount=0}else{for(;r;){var A=r.chunk,f=r.encoding,l=r.callback,p=t.objectMode?1:A.length;if(Ow(e,t,!1,p,A,f,l),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}Br.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))};Br.prototype._writev=null;Br.prototype.end=function(e,t,r){var n=this._writableState;typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||Kce(this,n,r)};function BL(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function jce(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),ld(e,t)})}function zce(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=!0,Qf.nextTick(jce,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function ld(e,t){var r=BL(t);return r&&(zce(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"))),r}function Kce(e,t,r){t.ending=!0,ld(e,t),r&&(t.finished?Qf.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function Xce(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}Object.defineProperty(Br.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}});Br.prototype.destroy=yL.destroy;Br.prototype._undestroy=yL.undestroy;Br.prototype._destroy=function(e,t){this.end(),t(e)}});var wf=x((_Ne,wL)=>{"use strict";var bL=ud(),Zce=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};wL.exports=$o;var CL=Object.create(Mc());CL.inherits=Ve();var QL=Yw(),Gw=Hw();CL.inherits($o,QL);for(qw=Zce(Gw.prototype),$E=0;$E<qw.length;$E++)ey=qw[$E],$o.prototype[ey]||($o.prototype[ey]=Gw.prototype[ey]);var qw,ey,$E;function $o(e){if(!(this instanceof $o))return new $o(e);QL.call(this,e),Gw.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",$ce)}Object.defineProperty($o.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function $ce(){this.allowHalfOpen||this._writableState.ended||bL.nextTick(ele,this)}function ele(e){e.end()}Object.defineProperty($o.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}});$o.prototype._destroy=function(e,t){this.push(null),this.end(),bL.nextTick(t,e)}});var Yw=x((RNe,UL)=>{"use strict";var xc=ud();UL.exports=er;var tle=aL(),dd;er.ReadableState=NL;var vNe=es().EventEmitter,RL=function(e,t){return e.listeners(t).length},zw=xw(),gd=JE().Buffer,rle=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function nle(e){return gd.from(e)}function ile(e){return gd.isBuffer(e)||e instanceof rle}var DL=Object.create(Mc());DL.inherits=Ve();var Ww=Yr(),_t=void 0;Ww&&Ww.debuglog?_t=Ww.debuglog("stream"):_t=function(){};var sle=lL(),TL=Pw(),kc;DL.inherits(er,zw);var Vw=["error","close","destroy","pause","resume"];function ole(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):tle(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function NL(e,t){dd=dd||wf(),e=e||{};var r=t instanceof dd;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,i=e.readableHighWaterMark,s=this.objectMode?16:16*1024;n||n===0?this.highWaterMark=n:r&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new sle,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.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(kc||(kc=ff().StringDecoder),this.decoder=new kc(e.encoding),this.encoding=e.encoding)}function er(e){if(dd=dd||wf(),!(this instanceof er))return new er(e);this._readableState=new NL(e,this),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),zw.call(this)}Object.defineProperty(er.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});er.prototype.destroy=TL.destroy;er.prototype._undestroy=TL.undestroy;er.prototype._destroy=function(e,t){this.push(null),t(e)};er.prototype.push=function(e,t){var r=this._readableState,n;return r.objectMode?n=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=gd.from(e,t),t=""),n=!0),ML(this,e,t,!1,n)};er.prototype.unshift=function(e){return ML(this,e,null,!0,!1)};function ML(e,t,r,n,i){var s=e._readableState;if(t===null)s.reading=!1,ule(e,s);else{var o;i||(o=ale(s,t)),o?e.emit("error",o):s.objectMode||t&&t.length>0?(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==gd.prototype&&(t=nle(t)),n?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):Jw(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||t.length!==0?Jw(e,s,t,!1):FL(e,s)):Jw(e,s,t,!1))):n||(s.reading=!1)}return Ale(s)}function Jw(e,t,r,n){t.flowing&&t.length===0&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&ty(e)),FL(e,t)}function ale(e,t){var r;return!ile(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}function Ale(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}er.prototype.isPaused=function(){return this._readableState.flowing===!1};er.prototype.setEncoding=function(e){return kc||(kc=ff().StringDecoder),this._readableState.decoder=new kc(e),this._readableState.encoding=e,this};var SL=8388608;function fle(e){return e>=SL?e=SL:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function _L(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=fle(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}er.prototype.read=function(e){_t("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return _t("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?jw(this):ty(this),null;if(e=_L(e,t),e===0&&t.ended)return t.length===0&&jw(this),null;var n=t.needReadable;_t("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,_t("length less than watermark",n)),t.ended||t.reading?(n=!1,_t("reading or ended",n)):n&&(_t("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=_L(r,t)));var i;return e>0?i=kL(e,t):i=null,i===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&jw(this)),i!==null&&this.emit("data",i),i};function ule(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,ty(e)}}function ty(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(_t("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?xc.nextTick(vL,e):vL(e))}function vL(e){_t("emit readable"),e.emit("readable"),Kw(e)}function FL(e,t){t.readingMore||(t.readingMore=!0,xc.nextTick(cle,e,t))}function cle(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(_t("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}er.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};er.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1,_t("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,s=i?a:P;n.endEmitted?xc.nextTick(s):r.once("end",s),e.on("unpipe",o);function o(U,G){_t("onunpipe"),U===r&&G&&G.hasUnpiped===!1&&(G.hasUnpiped=!0,l())}function a(){_t("onend"),e.end()}var A=lle(r);e.on("drain",A);var f=!1;function l(){_t("cleanup"),e.removeListener("close",_),e.removeListener("finish",N),e.removeListener("drain",A),e.removeListener("error",S),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",P),r.removeListener("data",B),f=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&A()}var p=!1;r.on("data",B);function B(U){_t("ondata"),p=!1;var G=e.write(U);G===!1&&!p&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&xL(n.pipes,e)!==-1)&&!f&&(_t("false write response, pause",n.awaitDrain),n.awaitDrain++,p=!0),r.pause())}function S(U){_t("onerror",U),P(),e.removeListener("error",S),RL(e,"error")===0&&e.emit("error",U)}ole(e,"error",S);function _(){e.removeListener("finish",N),P()}e.once("close",_);function N(){_t("onfinish"),e.removeListener("close",_),P()}e.once("finish",N);function P(){_t("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(_t("pipe resume"),r.resume()),e};function lle(e){return function(){var t=e._readableState;_t("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&RL(e,"data")&&(t.flowing=!0,Kw(e))}}er.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<i;s++)n[s].emit("unpipe",this,{hasUnpiped:!1});return this}var o=xL(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};er.prototype.on=function(e,t){var r=zw.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==!1&&this.resume();else if(e==="readable"){var n=this._readableState;!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&ty(this):xc.nextTick(hle,this))}return r};er.prototype.addListener=er.prototype.on;function hle(e){_t("readable nexttick read 0"),e.read(0)}er.prototype.resume=function(){var e=this._readableState;return e.flowing||(_t("resume"),e.flowing=!0,dle(this,e)),this};function dle(e,t){t.resumeScheduled||(t.resumeScheduled=!0,xc.nextTick(gle,e,t))}function gle(e,t){t.reading||(_t("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Kw(e),t.flowing&&!t.reading&&e.read(0)}er.prototype.pause=function(){return _t("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(_t("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Kw(e){var t=e._readableState;for(_t("flow",t.flowing);t.flowing&&e.read()!==null;);}er.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(_t("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o)}t.push(null)}),e.on("data",function(o){if(_t("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var a=t.push(o);a||(n=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=(function(o){return function(){return e[o].apply(e,arguments)}})(i));for(var s=0;s<Vw.length;s++)e.on(Vw[s],this.emit.bind(this,Vw[s]));return this._read=function(o){_t("wrapped _read",o),n&&(n=!1,e.resume())},this};Object.defineProperty(er.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});er._fromList=kL;function kL(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.head.data:r=t.buffer.concat(t.length),t.buffer.clear()):r=ple(e,t.buffer,t.decoder),r}function ple(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):e===t.head.data.length?n=t.shift():n=r?Ele(e,t):yle(e,t),n}function Ele(e,t){var r=t.head,n=1,i=r.data;for(e-=i.length;r=r.next;){var s=r.data,o=e>s.length?s.length:e;if(o===s.length?i+=s:i+=s.slice(0,e),e-=o,e===0){o===s.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=s.slice(o));break}++n}return t.length-=n,i}function yle(e,t){var r=gd.allocUnsafe(e),n=t.head,i=1;for(n.data.copy(r),e-=n.data.length;n=n.next;){var s=n.data,o=e>s.length?s.length:e;if(s.copy(r,r.length-e,0,o),e-=o,e===0){o===s.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=s.slice(o));break}++i}return t.length-=i,r}function jw(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,xc.nextTick(mle,t,e))}function mle(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function xL(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var Xw=x((DNe,OL)=>{"use strict";OL.exports=ea;var ry=wf(),PL=Object.create(Mc());PL.inherits=Ve();PL.inherits(ea,ry);function Ble(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function ea(e){if(!(this instanceof ea))return new ea(e);ry.call(this,e),this._transformState={afterTransform:Ble.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",Ile)}function Ile(){var e=this;typeof this._flush=="function"?this._flush(function(t,r){LL(e,t,r)}):LL(this,null,null)}ea.prototype.push=function(e,t){return this._transformState.needTransform=!1,ry.prototype.push.call(this,e,t)};ea.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")};ea.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};ea.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};ea.prototype._destroy=function(e,t){var r=this;ry.prototype._destroy.call(this,e,function(n){t(n),r.emit("close")})};function LL(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}});var YL=x((TNe,GL)=>{"use strict";GL.exports=pd;var HL=Xw(),qL=Object.create(Mc());qL.inherits=Ve();qL.inherits(pd,HL);function pd(e){if(!(this instanceof pd))return new pd(e);HL.call(this,e)}pd.prototype._transform=function(e,t,r){r(null,e)}});var Zw=x((so,WL)=>{so=WL.exports=Yw();so.Stream=so;so.Readable=so;so.Writable=Hw();so.Duplex=wf();so.Transform=Xw();so.PassThrough=YL()});var jL=x((NNe,JL)=>{"use strict";var ble=tt().Buffer,Cle=sL(),VL=Zw().Transform,Qle=Ve();function fA(e){VL.call(this),this._block=ble.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}Qle(fA,VL);fA.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(i){n=i}r(n)};fA.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(r){t=r}e(t)};fA.prototype.update=function(e,t){if(this._finalized)throw new Error("Digest already called");for(var r=Cle(e,t),n=this._block,i=0;this._blockOffset+r.length-i>=this._blockSize;){for(var s=this._blockOffset;s<this._blockSize;)n[s]=r[i],s+=1,i+=1;this._update(),this._blockOffset=0}for(;i<r.length;)n[this._blockOffset]=r[i],this._blockOffset+=1,i+=1;for(var o=0,a=r.length*8;a>0;++o)this._length[o]+=a,a=this._length[o]/4294967296|0,a>0&&(this._length[o]-=4294967296*a);return this};fA.prototype._update=function(){throw new Error("_update is not implemented")};fA.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();e!==void 0&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t};fA.prototype._digest=function(){throw new Error("_digest is not implemented")};JL.exports=fA});var iy=x((MNe,t8)=>{"use strict";var $w=Gr().Buffer,wle=Ve(),e8=jL(),Sle=new Array(16),Ed=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],yd=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],md=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],Bd=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],Id=[0,1518500249,1859775393,2400959708,2840853838],bd=[1352829926,1548603684,1836072691,2053994217,0];function Sf(e,t){return e<<t|e>>>32-t}function zL(e,t,r,n,i,s,o,a){return Sf(e+(t^r^n)+s+o|0,a)+i|0}function KL(e,t,r,n,i,s,o,a){return Sf(e+(t&r|~t&n)+s+o|0,a)+i|0}function XL(e,t,r,n,i,s,o,a){return Sf(e+((t|~r)^n)+s+o|0,a)+i|0}function ZL(e,t,r,n,i,s,o,a){return Sf(e+(t&n|r&~n)+s+o|0,a)+i|0}function $L(e,t,r,n,i,s,o,a){return Sf(e+(t^(r|~n))+s+o|0,a)+i|0}function ny(){e8.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}wle(ny,e8);ny.prototype._update=function(){for(var e=Sle,t=0;t<16;++t)e[t]=this._block.readInt32LE(t*4);for(var r=this._a|0,n=this._b|0,i=this._c|0,s=this._d|0,o=this._e|0,a=this._a|0,A=this._b|0,f=this._c|0,l=this._d|0,p=this._e|0,B=0;B<80;B+=1){var S,_;B<16?(S=zL(r,n,i,s,o,e[Ed[B]],Id[0],md[B]),_=$L(a,A,f,l,p,e[yd[B]],bd[0],Bd[B])):B<32?(S=KL(r,n,i,s,o,e[Ed[B]],Id[1],md[B]),_=ZL(a,A,f,l,p,e[yd[B]],bd[1],Bd[B])):B<48?(S=XL(r,n,i,s,o,e[Ed[B]],Id[2],md[B]),_=XL(a,A,f,l,p,e[yd[B]],bd[2],Bd[B])):B<64?(S=ZL(r,n,i,s,o,e[Ed[B]],Id[3],md[B]),_=KL(a,A,f,l,p,e[yd[B]],bd[3],Bd[B])):(S=$L(r,n,i,s,o,e[Ed[B]],Id[4],md[B]),_=zL(a,A,f,l,p,e[yd[B]],bd[4],Bd[B])),r=o,o=s,s=Sf(i,10),i=n,n=S,a=p,p=l,l=Sf(f,10),f=A,A=_}var N=this._b+i+l|0;this._b=this._c+s+p|0,this._c=this._d+o+a|0,this._d=this._e+r+A|0,this._e=this._a+n+f|0,this._a=N};ny.prototype._digest=function(){this._block[this._blockOffset]=128,this._blockOffset+=1,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=$w.alloc?$w.alloc(20):new $w(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e};t8.exports=ny});var _f=x((FNe,r8)=>{"use strict";var _le=tt().Buffer,vle=fd();function sy(e,t){this._block=_le.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}sy.prototype.update=function(e,t){e=vle(e,t||"utf8");for(var r=this._block,n=this._blockSize,i=e.length,s=this._len,o=0;o<i;){for(var a=s%n,A=Math.min(i-o,n-a),f=0;f<A;f++)r[a+f]=e[o+f];s+=A,o+=A,s%n===0&&this._update(r)}return this._len+=i,this};sy.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 n=(r&4294967295)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var s=this._hash();return e?s.toString(e):s};sy.prototype._update=function(){throw new Error("_update must be implemented by subclass")};r8.exports=sy});var s8=x((kNe,i8)=>{"use strict";var Rle=Ve(),n8=_f(),Dle=tt().Buffer,Tle=[1518500249,1859775393,-1894007588,-899497514],Nle=new Array(80);function Cd(){this.init(),this._w=Nle,n8.call(this,64,56)}Rle(Cd,n8);Cd.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function Mle(e){return e<<5|e>>>27}function Fle(e){return e<<30|e>>>2}function kle(e,t,r,n){return e===0?t&r|~t&n:e===2?t&r|t&n|r&n:t^r^n}Cd.prototype._update=function(e){for(var t=this._w,r=this._a|0,n=this._b|0,i=this._c|0,s=this._d|0,o=this._e|0,a=0;a<16;++a)t[a]=e.readInt32BE(a*4);for(;a<80;++a)t[a]=t[a-3]^t[a-8]^t[a-14]^t[a-16];for(var A=0;A<80;++A){var f=~~(A/20),l=Mle(r)+kle(f,n,i,s)+o+t[A]+Tle[f]|0;o=s,s=i,i=Fle(n),n=r,r=l}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=s+this._d|0,this._e=o+this._e|0};Cd.prototype._hash=function(){var e=Dle.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};i8.exports=Cd});var A8=x((xNe,a8)=>{"use strict";var xle=Ve(),o8=_f(),Ule=tt().Buffer,Lle=[1518500249,1859775393,-1894007588,-899497514],Ple=new Array(80);function Qd(){this.init(),this._w=Ple,o8.call(this,64,56)}xle(Qd,o8);Qd.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function Ole(e){return e<<1|e>>>31}function Hle(e){return e<<5|e>>>27}function qle(e){return e<<30|e>>>2}function Gle(e,t,r,n){return e===0?t&r|~t&n:e===2?t&r|t&n|r&n:t^r^n}Qd.prototype._update=function(e){for(var t=this._w,r=this._a|0,n=this._b|0,i=this._c|0,s=this._d|0,o=this._e|0,a=0;a<16;++a)t[a]=e.readInt32BE(a*4);for(;a<80;++a)t[a]=Ole(t[a-3]^t[a-8]^t[a-14]^t[a-16]);for(var A=0;A<80;++A){var f=~~(A/20),l=Hle(r)+Gle(f,n,i,s)+o+t[A]+Lle[f]|0;o=s,s=i,i=qle(n),n=r,r=l}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=s+this._d|0,this._e=o+this._e|0};Qd.prototype._hash=function(){var e=Ule.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};a8.exports=Qd});var eS=x((UNe,u8)=>{"use strict";var Yle=Ve(),f8=_f(),Wle=tt().Buffer,Vle=[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],Jle=new Array(64);function wd(){this.init(),this._w=Jle,f8.call(this,64,56)}Yle(wd,f8);wd.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 jle(e,t,r){return r^e&(t^r)}function zle(e,t,r){return e&t|r&(e|t)}function Kle(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function Xle(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function Zle(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function $le(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}wd.prototype._update=function(e){for(var t=this._w,r=this._a|0,n=this._b|0,i=this._c|0,s=this._d|0,o=this._e|0,a=this._f|0,A=this._g|0,f=this._h|0,l=0;l<16;++l)t[l]=e.readInt32BE(l*4);for(;l<64;++l)t[l]=$le(t[l-2])+t[l-7]+Zle(t[l-15])+t[l-16]|0;for(var p=0;p<64;++p){var B=f+Xle(o)+jle(o,a,A)+Vle[p]+t[p]|0,S=Kle(r)+zle(r,n,i)|0;f=A,A=a,a=o,o=s+B|0,s=i,i=n,n=r,r=B+S|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=s+this._d|0,this._e=o+this._e|0,this._f=a+this._f|0,this._g=A+this._g|0,this._h=f+this._h|0};wd.prototype._hash=function(){var e=Wle.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};u8.exports=wd});var l8=x((LNe,c8)=>{"use strict";var ehe=Ve(),the=eS(),rhe=_f(),nhe=tt().Buffer,ihe=new Array(64);function oy(){this.init(),this._w=ihe,rhe.call(this,64,56)}ehe(oy,the);oy.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};oy.prototype._hash=function(){var e=nhe.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};c8.exports=oy});var tS=x((PNe,m8)=>{"use strict";var she=Ve(),y8=_f(),ohe=tt().Buffer,h8=[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],ahe=new Array(160);function Sd(){this.init(),this._w=ahe,y8.call(this,128,112)}she(Sd,y8);Sd.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 d8(e,t,r){return r^e&(t^r)}function g8(e,t,r){return e&t|r&(e|t)}function p8(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function E8(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function Ahe(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function fhe(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function uhe(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function che(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function Fr(e,t){return e>>>0<t>>>0?1:0}Sd.prototype._update=function(e){for(var t=this._w,r=this._ah|0,n=this._bh|0,i=this._ch|0,s=this._dh|0,o=this._eh|0,a=this._fh|0,A=this._gh|0,f=this._hh|0,l=this._al|0,p=this._bl|0,B=this._cl|0,S=this._dl|0,_=this._el|0,N=this._fl|0,P=this._gl|0,U=this._hl|0,G=0;G<32;G+=2)t[G]=e.readInt32BE(G*4),t[G+1]=e.readInt32BE(G*4+4);for(;G<160;G+=2){var Y=t[G-30],Z=t[G-30+1],ee=Ahe(Y,Z),j=fhe(Z,Y);Y=t[G-4],Z=t[G-4+1];var se=uhe(Y,Z),ie=che(Z,Y),ce=t[G-14],H=t[G-14+1],E=t[G-32],R=t[G-32+1],b=j+H|0,c=ee+ce+Fr(b,j)|0;b=b+ie|0,c=c+se+Fr(b,ie)|0,b=b+R|0,c=c+E+Fr(b,R)|0,t[G]=c,t[G+1]=b}for(var g=0;g<160;g+=2){c=t[g],b=t[g+1];var w=g8(r,n,i),v=g8(l,p,B),C=p8(r,l),h=p8(l,r),D=E8(o,_),M=E8(_,o),I=h8[g],k=h8[g+1],ne=d8(o,a,A),Ae=d8(_,N,P),ue=U+M|0,pe=f+D+Fr(ue,U)|0;ue=ue+Ae|0,pe=pe+ne+Fr(ue,Ae)|0,ue=ue+k|0,pe=pe+I+Fr(ue,k)|0,ue=ue+b|0,pe=pe+c+Fr(ue,b)|0;var he=h+v|0,de=C+w+Fr(he,h)|0;f=A,U=P,A=a,P=N,a=o,N=_,_=S+ue|0,o=s+pe+Fr(_,S)|0,s=i,S=B,i=n,B=p,n=r,p=l,l=ue+he|0,r=pe+de+Fr(l,ue)|0}this._al=this._al+l|0,this._bl=this._bl+p|0,this._cl=this._cl+B|0,this._dl=this._dl+S|0,this._el=this._el+_|0,this._fl=this._fl+N|0,this._gl=this._gl+P|0,this._hl=this._hl+U|0,this._ah=this._ah+r+Fr(this._al,l)|0,this._bh=this._bh+n+Fr(this._bl,p)|0,this._ch=this._ch+i+Fr(this._cl,B)|0,this._dh=this._dh+s+Fr(this._dl,S)|0,this._eh=this._eh+o+Fr(this._el,_)|0,this._fh=this._fh+a+Fr(this._fl,N)|0,this._gh=this._gh+A+Fr(this._gl,P)|0,this._hh=this._hh+f+Fr(this._hl,U)|0};Sd.prototype._hash=function(){var e=ohe.allocUnsafe(64);function t(r,n,i){e.writeInt32BE(r,i),e.writeInt32BE(n,i+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};m8.exports=Sd});var I8=x((ONe,B8)=>{"use strict";var lhe=Ve(),hhe=tS(),dhe=_f(),ghe=tt().Buffer,phe=new Array(160);function ay(){this.init(),this._w=phe,dhe.call(this,128,112)}lhe(ay,hhe);ay.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};ay.prototype._hash=function(){var e=ghe.allocUnsafe(48);function t(r,n,i){e.writeInt32BE(r,i),e.writeInt32BE(n,i+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};B8.exports=ay});var Ay=x((HNe,ta)=>{"use strict";ta.exports=function(t){var r=t.toLowerCase(),n=ta.exports[r];if(!n)throw new Error(r+" is not supported (we accept pull requests)");return new n};ta.exports.sha=s8();ta.exports.sha1=A8();ta.exports.sha224=l8();ta.exports.sha256=eS();ta.exports.sha384=I8();ta.exports.sha512=tS()});var ra=x((qNe,C8)=>{"use strict";var Ehe=tt().Buffer,b8=(gi(),$i(Ht)).Transform,yhe=ff().StringDecoder,mhe=Ve(),Bhe=fd();function as(e){b8.call(this),this.hashMode=typeof e=="string",this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}mhe(as,b8);as.prototype.update=function(e,t,r){var n=Bhe(e,t),i=this._update(n);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)};as.prototype.setAutoPadding=function(){};as.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")};as.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")};as.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")};as.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(i){n=i}finally{r(n)}};as.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(r){t=r}e(t)};as.prototype._finalOrDigest=function(e){var t=this.__final()||Ehe.alloc(0);return e&&(t=this._toString(t,e,!0)),t};as.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new yhe(t),this._encoding=t),this._encoding!==t)throw new Error("can\u2019t switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n};C8.exports=as});var Uc=x((GNe,w8)=>{"use strict";var Ihe=Ve(),bhe=WE(),Che=iy(),Qhe=Ay(),Q8=ra();function fy(e){Q8.call(this,"digest"),this._hash=e}Ihe(fy,Q8);fy.prototype._update=function(e){this._hash.update(e)};fy.prototype._final=function(){return this._hash.digest()};w8.exports=function(t){return t=t.toLowerCase(),t==="md5"?new bhe:t==="rmd160"||t==="ripemd160"?new Che:new fy(Qhe(t))}});var v8=x((YNe,_8)=>{"use strict";var whe=Ve(),vf=tt().Buffer,S8=ra(),She=vf.alloc(128),Lc=64;function uy(e,t){S8.call(this,"digest"),typeof t=="string"&&(t=vf.from(t)),this._alg=e,this._key=t,t.length>Lc?t=e(t):t.length<Lc&&(t=vf.concat([t,She],Lc));for(var r=this._ipad=vf.allocUnsafe(Lc),n=this._opad=vf.allocUnsafe(Lc),i=0;i<Lc;i++)r[i]=t[i]^54,n[i]=t[i]^92;this._hash=[r]}whe(uy,S8);uy.prototype._update=function(e){this._hash.push(e)};uy.prototype._final=function(){var e=this._alg(vf.concat(this._hash));return this._alg(vf.concat([this._opad,e]))};_8.exports=uy});var rS=x((WNe,R8)=>{var _he=WE();R8.exports=function(e){return new _he().update(e).digest()}});var sS=x((VNe,T8)=>{"use strict";var vhe=Ve(),Rhe=v8(),D8=ra(),_d=tt().Buffer,Dhe=rS(),nS=iy(),iS=Ay(),The=_d.alloc(128);function vd(e,t){D8.call(this,"digest"),typeof t=="string"&&(t=_d.from(t));var r=e==="sha512"||e==="sha384"?128:64;if(this._alg=e,this._key=t,t.length>r){var n=e==="rmd160"?new nS:iS(e);t=n.update(t).digest()}else t.length<r&&(t=_d.concat([t,The],r));for(var i=this._ipad=_d.allocUnsafe(r),s=this._opad=_d.allocUnsafe(r),o=0;o<r;o++)i[o]=t[o]^54,s[o]=t[o]^92;this._hash=e==="rmd160"?new nS:iS(e),this._hash.update(i)}vhe(vd,D8);vd.prototype._update=function(e){this._hash.update(e)};vd.prototype._final=function(){var e=this._hash.digest(),t=this._alg==="rmd160"?new nS:iS(this._alg);return t.update(this._opad).update(e).digest()};T8.exports=function(t,r){return t=t.toLowerCase(),t==="rmd160"||t==="ripemd160"?new vd("rmd160",r):t==="md5"?new Rhe(Dhe,r):new vd(t,r)}});var oS=x((JNe,Nhe)=>{Nhe.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha224:{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha384:{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512:{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}});var M8=x((jNe,N8)=>{"use strict";N8.exports=oS()});var aS=x((zNe,F8)=>{"use strict";var Mhe=isFinite,Fhe=Math.pow(2,30)-1;F8.exports=function(e,t){if(typeof e!="number")throw new TypeError("Iterations not a number");if(e<0||!Mhe(e))throw new TypeError("Bad iterations");if(typeof t!="number")throw new TypeError("Key length not a number");if(t<0||t>Fhe||t!==t)throw new TypeError("Bad key length");return t+0}});var AS=x((KNe,x8)=>{"use strict";var cy;globalThis.process&&globalThis.process.browser?cy="utf-8":globalThis.process&&globalThis.process.version?(k8=parseInt(process.version.split(".")[0].slice(1),10),cy=k8>=6?"utf-8":"binary"):cy="utf-8";var k8;x8.exports=cy});var fS=x((XNe,P8)=>{"use strict";var khe=tt().Buffer,xhe=fd(),L8=typeof Uint8Array<"u",Uhe=L8&&typeof ArrayBuffer<"u",U8=Uhe&&ArrayBuffer.isView;P8.exports=function(e,t,r){if(typeof e=="string"||khe.isBuffer(e)||L8&&e instanceof Uint8Array||U8&&U8(e))return xhe(e,t);throw new TypeError(r+" must be a string, a Buffer, a Uint8Array, or a DataView")}});var uS=x((ZNe,G8)=>{"use strict";var Lhe=rS(),Phe=iy(),Ohe=Ay(),Rf=tt().Buffer,Hhe=aS(),O8=AS(),H8=fS(),qhe=Rf.alloc(128),ly={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},Ghe={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function Yhe(e){return new Phe().update(e).digest()}function Whe(e){function t(r){return Ohe(e).update(r).digest()}return e==="rmd160"||e==="ripemd160"?Yhe:e==="md5"?Lhe:t}function q8(e,t,r){var n=Whe(e),i=e==="sha512"||e==="sha384"?128:64;t.length>i?t=n(t):t.length<i&&(t=Rf.concat([t,qhe],i));for(var s=Rf.allocUnsafe(i+ly[e]),o=Rf.allocUnsafe(i+ly[e]),a=0;a<i;a++)s[a]=t[a]^54,o[a]=t[a]^92;var A=Rf.allocUnsafe(i+r+4);s.copy(A,0,0,i),this.ipad1=A,this.ipad2=s,this.opad=o,this.alg=e,this.blocksize=i,this.hash=n,this.size=ly[e]}q8.prototype.run=function(e,t){e.copy(t,this.blocksize);var r=this.hash(t);return r.copy(this.opad,this.blocksize),this.hash(this.opad)};function Vhe(e,t,r,n,i){n=Hhe(r,n),e=H8(e,O8,"Password"),t=H8(t,O8,"Salt");var s=(i||"sha1").toLowerCase(),o=Ghe[s]||s,a=ly[o];if(typeof a!="number"||!a)throw new TypeError("Digest algorithm not supported: "+i);var A=new q8(o,e,t.length),f=Rf.allocUnsafe(n),l=Rf.allocUnsafe(t.length+4);t.copy(l,0,0,t.length);for(var p=0,B=a,S=Math.ceil(n/B),_=1;_<=S;_++){l.writeUInt32BE(_,t.length);for(var N=A.run(l,A.ipad1),P=N,U=1;U<r;U++){P=A.run(P,A.ipad2);for(var G=0;G<B;G++)N[G]^=P[G]}N.copy(f,p),p+=B}return f}G8.exports=Vhe});var K8=x(($Ne,z8)=>{"use strict";var J8=tt().Buffer,Jhe=aS(),Y8=AS(),W8=uS(),V8=fS(),hy,Rd=globalThis.crypto&&globalThis.crypto.subtle,jhe={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},cS=[],Df;function lS(){return Df||(globalThis.process&&globalThis.process.nextTick?Df=globalThis.process.nextTick:globalThis.queueMicrotask?Df=globalThis.queueMicrotask:globalThis.setImmediate?Df=globalThis.setImmediate:Df=globalThis.setTimeout,Df)}function j8(e,t,r,n,i){return Rd.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(s){return Rd.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},s,n<<3)}).then(function(s){return J8.from(s)})}function zhe(e){if(globalThis.process&&!globalThis.process.browser||!Rd||!Rd.importKey||!Rd.deriveBits)return Promise.resolve(!1);if(cS[e]!==void 0)return cS[e];hy=hy||J8.alloc(8);var t=j8(hy,hy,10,128,e).then(function(){return!0},function(){return!1});return cS[e]=t,t}function Khe(e,t){e.then(function(r){lS()(function(){t(null,r)})},function(r){lS()(function(){t(r)})})}z8.exports=function(e,t,r,n,i,s){if(typeof i=="function"&&(s=i,i=void 0),n=Jhe(r,n),e=V8(e,Y8,"Password"),t=V8(t,Y8,"Salt"),typeof s!="function")throw new Error("No callback provided to pbkdf2");i=i||"sha1";var o=jhe[i.toLowerCase()];if(!o||typeof globalThis.Promise!="function"){lS()(function(){var a;try{a=W8(e,t,r,n,i)}catch(A){s(A);return}s(null,a)});return}Khe(zhe(o).then(function(a){return a?j8(e,t,r,n,o):W8(e,t,r,n,i)}),s)}});var dS=x(hS=>{"use strict";hS.pbkdf2=K8();hS.pbkdf2Sync=uS()});var gS=x(bi=>{"use strict";bi.readUInt32BE=function(t,r){var n=t[0+r]<<24|t[1+r]<<16|t[2+r]<<8|t[3+r];return n>>>0};bi.writeUInt32BE=function(t,r,n){t[0+n]=r>>>24,t[1+n]=r>>>16&255,t[2+n]=r>>>8&255,t[3+n]=r&255};bi.ip=function(t,r,n,i){for(var s=0,o=0,a=6;a>=0;a-=2){for(var A=0;A<=24;A+=8)s<<=1,s|=r>>>A+a&1;for(var A=0;A<=24;A+=8)s<<=1,s|=t>>>A+a&1}for(var a=6;a>=0;a-=2){for(var A=1;A<=25;A+=8)o<<=1,o|=r>>>A+a&1;for(var A=1;A<=25;A+=8)o<<=1,o|=t>>>A+a&1}n[i+0]=s>>>0,n[i+1]=o>>>0};bi.rip=function(t,r,n,i){for(var s=0,o=0,a=0;a<4;a++)for(var A=24;A>=0;A-=8)s<<=1,s|=r>>>A+a&1,s<<=1,s|=t>>>A+a&1;for(var a=4;a<8;a++)for(var A=24;A>=0;A-=8)o<<=1,o|=r>>>A+a&1,o<<=1,o|=t>>>A+a&1;n[i+0]=s>>>0,n[i+1]=o>>>0};bi.pc1=function(t,r,n,i){for(var s=0,o=0,a=7;a>=5;a--){for(var A=0;A<=24;A+=8)s<<=1,s|=r>>A+a&1;for(var A=0;A<=24;A+=8)s<<=1,s|=t>>A+a&1}for(var A=0;A<=24;A+=8)s<<=1,s|=r>>A+a&1;for(var a=1;a<=3;a++){for(var A=0;A<=24;A+=8)o<<=1,o|=r>>A+a&1;for(var A=0;A<=24;A+=8)o<<=1,o|=t>>A+a&1}for(var A=0;A<=24;A+=8)o<<=1,o|=t>>A+a&1;n[i+0]=s>>>0,n[i+1]=o>>>0};bi.r28shl=function(t,r){return t<<r&268435455|t>>>28-r};var dy=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];bi.pc2=function(t,r,n,i){for(var s=0,o=0,a=dy.length>>>1,A=0;A<a;A++)s<<=1,s|=t>>>dy[A]&1;for(var A=a;A<dy.length;A++)o<<=1,o|=r>>>dy[A]&1;n[i+0]=s>>>0,n[i+1]=o>>>0};bi.expand=function(t,r,n){var i=0,s=0;i=(t&1)<<5|t>>>27;for(var o=23;o>=15;o-=4)i<<=6,i|=t>>>o&63;for(var o=11;o>=3;o-=4)s|=t>>>o&63,s<<=6;s|=(t&31)<<1|t>>>31,r[n+0]=i>>>0,r[n+1]=s>>>0};var X8=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];bi.substitute=function(t,r){for(var n=0,i=0;i<4;i++){var s=t>>>18-i*6&63,o=X8[i*64+s];n<<=4,n|=o}for(var i=0;i<4;i++){var s=r>>>18-i*6&63,o=X8[256+i*64+s];n<<=4,n|=o}return n>>>0};var Z8=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];bi.permute=function(t){for(var r=0,n=0;n<Z8.length;n++)r<<=1,r|=t>>>Z8[n]&1;return r>>>0};bi.padSplit=function(t,r,n){for(var i=t.toString(2);i.length<r;)i="0"+i;for(var s=[],o=0;o<r;o+=n)s.push(i.slice(o,o+n));return s.join(" ")}});var zn=x((rMe,e5)=>{e5.exports=$8;function $8(e,t){if(!e)throw new Error(t||"Assertion failed")}$8.equal=function(t,r,n){if(t!=r)throw new Error(n||"Assertion failed: "+t+" != "+r)}});var gy=x((nMe,t5)=>{"use strict";var Xhe=zn();function Ci(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=e.padding!==!1}t5.exports=Ci;Ci.prototype._init=function(){};Ci.prototype.update=function(t){return t.length===0?[]:this.type==="decrypt"?this._updateDecrypt(t):this._updateEncrypt(t)};Ci.prototype._buffer=function(t,r){for(var n=Math.min(this.buffer.length-this.bufferOff,t.length-r),i=0;i<n;i++)this.buffer[this.bufferOff+i]=t[r+i];return this.bufferOff+=n,n};Ci.prototype._flushBuffer=function(t,r){return this._update(this.buffer,0,t,r),this.bufferOff=0,this.blockSize};Ci.prototype._updateEncrypt=function(t){var r=0,n=0,i=(this.bufferOff+t.length)/this.blockSize|0,s=new Array(i*this.blockSize);this.bufferOff!==0&&(r+=this._buffer(t,r),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(s,n)));for(var o=t.length-(t.length-r)%this.blockSize;r<o;r+=this.blockSize)this._update(t,r,s,n),n+=this.blockSize;for(;r<t.length;r++,this.bufferOff++)this.buffer[this.bufferOff]=t[r];return s};Ci.prototype._updateDecrypt=function(t){for(var r=0,n=0,i=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,s=new Array(i*this.blockSize);i>0;i--)r+=this._buffer(t,r),n+=this._flushBuffer(s,n);return r+=this._buffer(t,r),s};Ci.prototype.final=function(t){var r;t&&(r=this.update(t));var n;return this.type==="encrypt"?n=this._finalEncrypt():n=this._finalDecrypt(),r?r.concat(n):n};Ci.prototype._pad=function(t,r){if(r===0)return!1;for(;r<t.length;)t[r++]=0;return!0};Ci.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t};Ci.prototype._unpad=function(t){return t};Ci.prototype._finalDecrypt=function(){Xhe.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}});var pS=x((iMe,i5)=>{"use strict";var r5=zn(),Zhe=Ve(),vr=gS(),n5=gy();function $he(){this.tmp=new Array(2),this.keys=null}function oo(e){n5.call(this,e);var t=new $he;this._desState=t,this.deriveKeys(t,e.key)}Zhe(oo,n5);i5.exports=oo;oo.create=function(t){return new oo(t)};var ede=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];oo.prototype.deriveKeys=function(t,r){t.keys=new Array(32),r5.equal(r.length,this.blockSize,"Invalid key length");var n=vr.readUInt32BE(r,0),i=vr.readUInt32BE(r,4);vr.pc1(n,i,t.tmp,0),n=t.tmp[0],i=t.tmp[1];for(var s=0;s<t.keys.length;s+=2){var o=ede[s>>>1];n=vr.r28shl(n,o),i=vr.r28shl(i,o),vr.pc2(n,i,t.keys,s)}};oo.prototype._update=function(t,r,n,i){var s=this._desState,o=vr.readUInt32BE(t,r),a=vr.readUInt32BE(t,r+4);vr.ip(o,a,s.tmp,0),o=s.tmp[0],a=s.tmp[1],this.type==="encrypt"?this._encrypt(s,o,a,s.tmp,0):this._decrypt(s,o,a,s.tmp,0),o=s.tmp[0],a=s.tmp[1],vr.writeUInt32BE(n,o,i),vr.writeUInt32BE(n,a,i+4)};oo.prototype._pad=function(t,r){if(this.padding===!1)return!1;for(var n=t.length-r,i=r;i<t.length;i++)t[i]=n;return!0};oo.prototype._unpad=function(t){if(this.padding===!1)return t;for(var r=t[t.length-1],n=t.length-r;n<t.length;n++)r5.equal(t[n],r);return t.slice(0,t.length-r)};oo.prototype._encrypt=function(t,r,n,i,s){for(var o=r,a=n,A=0;A<t.keys.length;A+=2){var f=t.keys[A],l=t.keys[A+1];vr.expand(a,t.tmp,0),f^=t.tmp[0],l^=t.tmp[1];var p=vr.substitute(f,l),B=vr.permute(p),S=a;a=(o^B)>>>0,o=S}vr.rip(a,o,i,s)};oo.prototype._decrypt=function(t,r,n,i,s){for(var o=n,a=r,A=t.keys.length-2;A>=0;A-=2){var f=t.keys[A],l=t.keys[A+1];vr.expand(o,t.tmp,0),f^=t.tmp[0],l^=t.tmp[1];var p=vr.substitute(f,l),B=vr.permute(p),S=o;o=(a^B)>>>0,a=S}vr.rip(o,a,i,s)}});var o5=x(s5=>{"use strict";var tde=zn(),rde=Ve(),py={};function nde(e){tde.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}function ide(e){function t(s){e.call(this,s),this._cbcInit()}rde(t,e);for(var r=Object.keys(py),n=0;n<r.length;n++){var i=r[n];t.prototype[i]=py[i]}return t.create=function(o){return new t(o)},t}s5.instantiate=ide;py._cbcInit=function(){var t=new nde(this.options.iv);this._cbcState=t};py._update=function(t,r,n,i){var s=this._cbcState,o=this.constructor.super_.prototype,a=s.iv;if(this.type==="encrypt"){for(var A=0;A<this.blockSize;A++)a[A]^=t[r+A];o._update.call(this,a,0,n,i);for(var A=0;A<this.blockSize;A++)a[A]=n[i+A]}else{o._update.call(this,t,r,n,i);for(var A=0;A<this.blockSize;A++)n[i+A]^=a[A];for(var A=0;A<this.blockSize;A++)a[A]=t[r+A]}}});var f5=x((oMe,A5)=>{"use strict";var sde=zn(),ode=Ve(),a5=gy(),uA=pS();function ade(e,t){sde.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),n=t.slice(8,16),i=t.slice(16,24);e==="encrypt"?this.ciphers=[uA.create({type:"encrypt",key:r}),uA.create({type:"decrypt",key:n}),uA.create({type:"encrypt",key:i})]:this.ciphers=[uA.create({type:"decrypt",key:i}),uA.create({type:"encrypt",key:n}),uA.create({type:"decrypt",key:r})]}function Tf(e){a5.call(this,e);var t=new ade(this.type,this.options.key);this._edeState=t}ode(Tf,a5);A5.exports=Tf;Tf.create=function(t){return new Tf(t)};Tf.prototype._update=function(t,r,n,i){var s=this._edeState;s.ciphers[0]._update(t,r,n,i),s.ciphers[1]._update(n,i,n,i),s.ciphers[2]._update(n,i,n,i)};Tf.prototype._pad=uA.prototype._pad;Tf.prototype._unpad=uA.prototype._unpad});var u5=x(Pc=>{"use strict";Pc.utils=gS();Pc.Cipher=gy();Pc.DES=pS();Pc.CBC=o5();Pc.EDE=f5()});var h5=x((AMe,l5)=>{var c5=ra(),na=u5(),Ade=Ve(),Nf=tt().Buffer,Dd={"des-ede3-cbc":na.CBC.instantiate(na.EDE),"des-ede3":na.EDE,"des-ede-cbc":na.CBC.instantiate(na.EDE),"des-ede":na.EDE,"des-cbc":na.CBC.instantiate(na.DES),"des-ecb":na.DES};Dd.des=Dd["des-cbc"];Dd.des3=Dd["des-ede3-cbc"];l5.exports=Ey;Ade(Ey,c5);function Ey(e){c5.call(this);var t=e.mode.toLowerCase(),r=Dd[t],n;e.decrypt?n="decrypt":n="encrypt";var i=e.key;Nf.isBuffer(i)||(i=Nf.from(i)),(t==="des-ede"||t==="des-ede-cbc")&&(i=Nf.concat([i,i.slice(0,8)]));var s=e.iv;Nf.isBuffer(s)||(s=Nf.from(s)),this._des=r.create({key:i,iv:s,type:n})}Ey.prototype._update=function(e){return Nf.from(this._des.update(e))};Ey.prototype._final=function(){return Nf.from(this._des.final())}});var d5=x(ES=>{ES.encrypt=function(e,t){return e._cipher.encryptBlock(t)};ES.decrypt=function(e,t){return e._cipher.decryptBlock(t)}});var Oc=x((uMe,g5)=>{g5.exports=function(t,r){for(var n=Math.min(t.length,r.length),i=new Buffer(n),s=0;s<n;++s)i[s]=t[s]^r[s];return i}});var E5=x(yS=>{var p5=Oc();yS.encrypt=function(e,t){var r=p5(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev};yS.decrypt=function(e,t){var r=e._prev;e._prev=t;var n=e._cipher.decryptBlock(t);return p5(n,r)}});var B5=x(m5=>{var Td=tt().Buffer,fde=Oc();function y5(e,t,r){var n=t.length,i=fde(t,e._cache);return e._cache=e._cache.slice(n),e._prev=Td.concat([e._prev,r?t:i]),i}m5.encrypt=function(e,t,r){for(var n=Td.allocUnsafe(0),i;t.length;)if(e._cache.length===0&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=Td.allocUnsafe(0)),e._cache.length<=t.length)i=e._cache.length,n=Td.concat([n,y5(e,t.slice(0,i),r)]),t=t.slice(i);else{n=Td.concat([n,y5(e,t,r)]);break}return n}});var b5=x(I5=>{var mS=tt().Buffer;function ude(e,t,r){var n=e._cipher.encryptBlock(e._prev),i=n[0]^t;return e._prev=mS.concat([e._prev.slice(1),mS.from([r?t:i])]),i}I5.encrypt=function(e,t,r){for(var n=t.length,i=mS.allocUnsafe(n),s=-1;++s<n;)i[s]=ude(e,t[s],r);return i}});var Q5=x(C5=>{var yy=tt().Buffer;function cde(e,t,r){for(var n,i=-1,s=8,o=0,a,A;++i<s;)n=e._cipher.encryptBlock(e._prev),a=t&1<<7-i?128:0,A=n[0]^a,o+=(A&128)>>i%8,e._prev=lde(e._prev,r?a:A);return o}function lde(e,t){var r=e.length,n=-1,i=yy.allocUnsafe(e.length);for(e=yy.concat([e,yy.from([t])]);++n<r;)i[n]=e[n]<<1|e[n+1]>>7;return i}C5.encrypt=function(e,t,r){for(var n=t.length,i=yy.allocUnsafe(n),s=-1;++s<n;)i[s]=cde(e,t[s],r);return i}});var S5=x(w5=>{var hde=Oc();function dde(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}w5.encrypt=function(e,t){for(;e._cache.length<t.length;)e._cache=Buffer.concat([e._cache,dde(e)]);var r=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),hde(t,r)}});var BS=x((pMe,_5)=>{function gde(e){for(var t=e.length,r;t--;)if(r=e.readUInt8(t),r===255)e.writeUInt8(0,t);else{r++,e.writeUInt8(r,t);break}}_5.exports=gde});var bS=x(R5=>{var pde=Oc(),v5=tt().Buffer,Ede=BS();function yde(e){var t=e._cipher.encryptBlockRaw(e._prev);return Ede(e._prev),t}var IS=16;R5.encrypt=function(e,t){var r=Math.ceil(t.length/IS),n=e._cache.length;e._cache=v5.concat([e._cache,v5.allocUnsafe(r*IS)]);for(var i=0;i<r;i++){var s=yde(e),o=n+i*IS;e._cache.writeUInt32BE(s[0],o+0),e._cache.writeUInt32BE(s[1],o+4),e._cache.writeUInt32BE(s[2],o+8),e._cache.writeUInt32BE(s[3],o+12)}var a=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),pde(t,a)}});var CS=x((yMe,mde)=>{mde.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}});var By=x((mMe,D5)=>{var Bde={ECB:d5(),CBC:E5(),CFB:B5(),CFB8:b5(),CFB1:Q5(),OFB:S5(),CTR:bS(),GCM:bS()},my=CS();for(QS in my)my[QS].module=Bde[my[QS].mode];var QS;D5.exports=my});var Nd=x((BMe,N5)=>{var Iy=tt().Buffer;function SS(e){Iy.isBuffer(e)||(e=Iy.from(e));for(var t=e.length/4|0,r=new Array(t),n=0;n<t;n++)r[n]=e.readUInt32BE(n*4);return r}function wS(e){for(var t=0;t<e.length;e++)e[t]=0}function T5(e,t,r,n,i){for(var s=r[0],o=r[1],a=r[2],A=r[3],f=e[0]^t[0],l=e[1]^t[1],p=e[2]^t[2],B=e[3]^t[3],S,_,N,P,U=4,G=1;G<i;G++)S=s[f>>>24]^o[l>>>16&255]^a[p>>>8&255]^A[B&255]^t[U++],_=s[l>>>24]^o[p>>>16&255]^a[B>>>8&255]^A[f&255]^t[U++],N=s[p>>>24]^o[B>>>16&255]^a[f>>>8&255]^A[l&255]^t[U++],P=s[B>>>24]^o[f>>>16&255]^a[l>>>8&255]^A[p&255]^t[U++],f=S,l=_,p=N,B=P;return S=(n[f>>>24]<<24|n[l>>>16&255]<<16|n[p>>>8&255]<<8|n[B&255])^t[U++],_=(n[l>>>24]<<24|n[p>>>16&255]<<16|n[B>>>8&255]<<8|n[f&255])^t[U++],N=(n[p>>>24]<<24|n[B>>>16&255]<<16|n[f>>>8&255]<<8|n[l&255])^t[U++],P=(n[B>>>24]<<24|n[f>>>16&255]<<16|n[l>>>8&255]<<8|n[p&255])^t[U++],S=S>>>0,_=_>>>0,N=N>>>0,P=P>>>0,[S,_,N,P]}var Ide=[0,1,2,4,8,16,32,64,128,27,54],Ir=(function(){for(var e=new Array(256),t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],s=[[],[],[],[]],o=0,a=0,A=0;A<256;++A){var f=a^a<<1^a<<2^a<<3^a<<4;f=f>>>8^f&255^99,r[o]=f,n[f]=o;var l=e[o],p=e[l],B=e[p],S=e[f]*257^f*16843008;i[0][o]=S<<24|S>>>8,i[1][o]=S<<16|S>>>16,i[2][o]=S<<8|S>>>24,i[3][o]=S,S=B*16843009^p*65537^l*257^o*16843008,s[0][f]=S<<24|S>>>8,s[1][f]=S<<16|S>>>16,s[2][f]=S<<8|S>>>24,s[3][f]=S,o===0?o=a=1:(o=l^e[e[e[B^l]]],a^=e[e[a]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:s}})();function Qi(e){this._key=SS(e),this._reset()}Qi.blockSize=16;Qi.keySize=256/8;Qi.prototype.blockSize=Qi.blockSize;Qi.prototype.keySize=Qi.keySize;Qi.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=(r+1)*4,i=[],s=0;s<t;s++)i[s]=e[s];for(s=t;s<n;s++){var o=i[s-1];s%t===0?(o=o<<8|o>>>24,o=Ir.SBOX[o>>>24]<<24|Ir.SBOX[o>>>16&255]<<16|Ir.SBOX[o>>>8&255]<<8|Ir.SBOX[o&255],o^=Ide[s/t|0]<<24):t>6&&s%t===4&&(o=Ir.SBOX[o>>>24]<<24|Ir.SBOX[o>>>16&255]<<16|Ir.SBOX[o>>>8&255]<<8|Ir.SBOX[o&255]),i[s]=i[s-t]^o}for(var a=[],A=0;A<n;A++){var f=n-A,l=i[f-(A%4?0:4)];A<4||f<=4?a[A]=l:a[A]=Ir.INV_SUB_MIX[0][Ir.SBOX[l>>>24]]^Ir.INV_SUB_MIX[1][Ir.SBOX[l>>>16&255]]^Ir.INV_SUB_MIX[2][Ir.SBOX[l>>>8&255]]^Ir.INV_SUB_MIX[3][Ir.SBOX[l&255]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=a};Qi.prototype.encryptBlockRaw=function(e){return e=SS(e),T5(e,this._keySchedule,Ir.SUB_MIX,Ir.SBOX,this._nRounds)};Qi.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=Iy.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r};Qi.prototype.decryptBlock=function(e){e=SS(e);var t=e[1];e[1]=e[3],e[3]=t;var r=T5(e,this._invKeySchedule,Ir.INV_SUB_MIX,Ir.INV_SBOX,this._nRounds),n=Iy.allocUnsafe(16);return n.writeUInt32BE(r[0],0),n.writeUInt32BE(r[3],4),n.writeUInt32BE(r[2],8),n.writeUInt32BE(r[1],12),n};Qi.prototype.scrub=function(){wS(this._keySchedule),wS(this._invKeySchedule),wS(this._key)};N5.exports.AES=Qi});var k5=x((IMe,F5)=>{var Hc=tt().Buffer,bde=Hc.alloc(16,0);function Cde(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function M5(e){var t=Hc.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function Md(e){this.h=e,this.state=Hc.alloc(16,0),this.cache=Hc.allocUnsafe(0)}Md.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()};Md.prototype._multiply=function(){for(var e=Cde(this.h),t=[0,0,0,0],r,n,i,s=-1;++s<128;){for(n=(this.state[~~(s/8)]&1<<7-s%8)!==0,n&&(t[0]^=e[0],t[1]^=e[1],t[2]^=e[2],t[3]^=e[3]),i=(e[3]&1)!==0,r=3;r>0;r--)e[r]=e[r]>>>1|(e[r-1]&1)<<31;e[0]=e[0]>>>1,i&&(e[0]=e[0]^225<<24)}this.state=M5(t)};Md.prototype.update=function(e){this.cache=Hc.concat([this.cache,e]);for(var t;this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)};Md.prototype.final=function(e,t){return this.cache.length&&this.ghash(Hc.concat([this.cache,bde],16)),this.ghash(M5([0,e,0,t])),this.state};F5.exports=Md});var _S=x((bMe,L5)=>{var Qde=Nd(),Mn=tt().Buffer,x5=ra(),wde=Ve(),U5=k5(),Sde=Oc(),_de=BS();function vde(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),i=0;i<n;++i)r+=e[i]^t[i];return r}function Rde(e,t,r){if(t.length===12)return e._finID=Mn.concat([t,Mn.from([0,0,0,1])]),Mn.concat([t,Mn.from([0,0,0,2])]);var n=new U5(r),i=t.length,s=i%16;n.update(t),s&&(s=16-s,n.update(Mn.alloc(s,0))),n.update(Mn.alloc(8,0));var o=i*8,a=Mn.alloc(8);a.writeUIntBE(o,0,8),n.update(a),e._finID=n.state;var A=Mn.from(e._finID);return _de(A),A}function Mf(e,t,r,n){x5.call(this);var i=Mn.alloc(4,0);this._cipher=new Qde.AES(t);var s=this._cipher.encryptBlock(i);this._ghash=new U5(s),r=Rde(this,r,s),this._prev=Mn.from(r),this._cache=Mn.allocUnsafe(0),this._secCache=Mn.allocUnsafe(0),this._decrypt=n,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}wde(Mf,x5);Mf.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=Mn.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r};Mf.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=Sde(this._ghash.final(this._alen*8,this._len*8),this._cipher.encryptBlock(this._finID));if(this._decrypt&&vde(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()};Mf.prototype.getAuthTag=function(){if(this._decrypt||!Mn.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag};Mf.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t};Mf.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length};L5.exports=Mf});var RS=x((CMe,O5)=>{var Dde=Nd(),vS=tt().Buffer,P5=ra(),Tde=Ve();function by(e,t,r,n){P5.call(this),this._cipher=new Dde.AES(t),this._prev=vS.from(r),this._cache=vS.allocUnsafe(0),this._secCache=vS.allocUnsafe(0),this._decrypt=n,this._mode=e}Tde(by,P5);by.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)};by.prototype._final=function(){this._cipher.scrub()};O5.exports=by});var Fd=x((QMe,H5)=>{var Ff=tt().Buffer,Nde=WE();function Mde(e,t,r,n){if(Ff.isBuffer(e)||(e=Ff.from(e,"binary")),t&&(Ff.isBuffer(t)||(t=Ff.from(t,"binary")),t.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var i=r/8,s=Ff.alloc(i),o=Ff.alloc(n||0),a=Ff.alloc(0);i>0||n>0;){var A=new Nde;A.update(a),A.update(e),t&&A.update(t),a=A.digest();var f=0;if(i>0){var l=s.length-i;f=Math.min(i,a.length),a.copy(s,l,0,f),i-=f}if(f<a.length&&n>0){var p=o.length-n,B=Math.min(n,a.length-f);a.copy(o,p,f,f+B),n-=B}}return a.fill(0),{key:s,iv:o}}H5.exports=Mde});var W5=x(DS=>{var q5=By(),Fde=_S(),ia=tt().Buffer,kde=RS(),G5=ra(),xde=Nd(),Ude=Fd(),Lde=Ve();function kd(e,t,r){G5.call(this),this._cache=new Cy,this._cipher=new xde.AES(t),this._prev=ia.from(r),this._mode=e,this._autopadding=!0}Lde(kd,G5);kd.prototype._update=function(e){this._cache.add(e);for(var t,r,n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return ia.concat(n)};var Pde=ia.alloc(16,16);kd.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(Pde))throw this._cipher.scrub(),new Error("data not multiple of block length")};kd.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this};function Cy(){this.cache=ia.allocUnsafe(0)}Cy.prototype.add=function(e){this.cache=ia.concat([this.cache,e])};Cy.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null};Cy.prototype.flush=function(){for(var e=16-this.cache.length,t=ia.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return ia.concat([this.cache,t])};function Y5(e,t,r){var n=q5[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");if(typeof t=="string"&&(t=ia.from(t)),t.length!==n.key/8)throw new TypeError("invalid key length "+t.length);if(typeof r=="string"&&(r=ia.from(r)),n.mode!=="GCM"&&r.length!==n.iv)throw new TypeError("invalid iv length "+r.length);return n.type==="stream"?new kde(n.module,t,r):n.type==="auth"?new Fde(n.module,t,r):new kd(n.module,t,r)}function Ode(e,t){var r=q5[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=Ude(t,!1,r.key,r.iv);return Y5(e,n.key,n.iv)}DS.createCipheriv=Y5;DS.createCipher=Ode});var z5=x(TS=>{var Hde=_S(),qc=tt().Buffer,V5=By(),qde=RS(),J5=ra(),Gde=Nd(),Yde=Fd(),Wde=Ve();function xd(e,t,r){J5.call(this),this._cache=new Qy,this._last=void 0,this._cipher=new Gde.AES(t),this._prev=qc.from(r),this._mode=e,this._autopadding=!0}Wde(xd,J5);xd.prototype._update=function(e){this._cache.add(e);for(var t,r,n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return qc.concat(n)};xd.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return Vde(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")};xd.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this};function Qy(){this.cache=qc.allocUnsafe(0)}Qy.prototype.add=function(e){this.cache=qc.concat([this.cache,e])};Qy.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null};Qy.prototype.flush=function(){if(this.cache.length)return this.cache};function Vde(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");for(var r=-1;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(t!==16)return e.slice(0,16-t)}function j5(e,t,r){var n=V5[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");if(typeof r=="string"&&(r=qc.from(r)),n.mode!=="GCM"&&r.length!==n.iv)throw new TypeError("invalid iv length "+r.length);if(typeof t=="string"&&(t=qc.from(t)),t.length!==n.key/8)throw new TypeError("invalid key length "+t.length);return n.type==="stream"?new qde(n.module,t,r,!0):n.type==="auth"?new Hde(n.module,t,r,!0):new xd(n.module,t,r)}function Jde(e,t){var r=V5[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=Yde(t,!1,r.key,r.iv);return j5(e,n.key,n.iv)}TS.createDecipher=Jde;TS.createDecipheriv=j5});var wy=x(As=>{var K5=W5(),X5=z5(),jde=CS();function zde(){return Object.keys(jde)}As.createCipher=As.Cipher=K5.createCipher;As.createCipheriv=As.Cipheriv=K5.createCipheriv;As.createDecipher=As.Decipher=X5.createDecipher;As.createDecipheriv=As.Decipheriv=X5.createDecipheriv;As.listCiphers=As.getCiphers=zde});var Z5=x(sa=>{sa["des-ecb"]={key:8,iv:0};sa["des-cbc"]=sa.des={key:8,iv:8};sa["des-ede3-cbc"]=sa.des3={key:24,iv:8};sa["des-ede3"]={key:24,iv:0};sa["des-ede-cbc"]={key:16,iv:8};sa["des-ede"]={key:16,iv:0}});var nP=x(fs=>{var $5=h5(),NS=wy(),cA=By(),oa=Z5(),eP=Fd();function Kde(e,t){e=e.toLowerCase();var r,n;if(cA[e])r=cA[e].key,n=cA[e].iv;else if(oa[e])r=oa[e].key*8,n=oa[e].iv;else throw new TypeError("invalid suite type");var i=eP(t,!1,r,n);return tP(e,i.key,i.iv)}function Xde(e,t){e=e.toLowerCase();var r,n;if(cA[e])r=cA[e].key,n=cA[e].iv;else if(oa[e])r=oa[e].key*8,n=oa[e].iv;else throw new TypeError("invalid suite type");var i=eP(t,!1,r,n);return rP(e,i.key,i.iv)}function tP(e,t,r){if(e=e.toLowerCase(),cA[e])return NS.createCipheriv(e,t,r);if(oa[e])return new $5({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function rP(e,t,r){if(e=e.toLowerCase(),cA[e])return NS.createDecipheriv(e,t,r);if(oa[e])return new $5({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}function Zde(){return Object.keys(oa).concat(NS.getCiphers())}fs.createCipher=fs.Cipher=Kde;fs.createCipheriv=fs.Cipheriv=tP;fs.createDecipher=fs.Decipher=Xde;fs.createDecipheriv=fs.Decipheriv=rP;fs.listCiphers=fs.getCiphers=Zde});var kr=x((iP,MS)=>{(function(e,t){"use strict";function r(H,E){if(!H)throw new Error(E||"Assertion failed")}function n(H,E){H.super_=E;var R=function(){};R.prototype=E.prototype,H.prototype=new R,H.prototype.constructor=H}function i(H,E,R){if(i.isBN(H))return H;this.negative=0,this.words=null,this.length=0,this.red=null,H!==null&&((E==="le"||E==="be")&&(R=E,E=10),this._init(H||0,E||10,R||"be"))}typeof e=="object"?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;var s;try{typeof window<"u"&&typeof window.Buffer<"u"?s=window.Buffer:s=Gr().Buffer}catch{}i.isBN=function(E){return E instanceof i?!0:E!==null&&typeof E=="object"&&E.constructor.wordSize===i.wordSize&&Array.isArray(E.words)},i.max=function(E,R){return E.cmp(R)>0?E:R},i.min=function(E,R){return E.cmp(R)<0?E:R},i.prototype._init=function(E,R,b){if(typeof E=="number")return this._initNumber(E,R,b);if(typeof E=="object")return this._initArray(E,R,b);R==="hex"&&(R=16),r(R===(R|0)&&R>=2&&R<=36),E=E.toString().replace(/\s+/g,"");var c=0;E[0]==="-"&&(c++,this.negative=1),c<E.length&&(R===16?this._parseHex(E,c,b):(this._parseBase(E,R,c),b==="le"&&this._initArray(this.toArray(),R,b)))},i.prototype._initNumber=function(E,R,b){E<0&&(this.negative=1,E=-E),E<67108864?(this.words=[E&67108863],this.length=1):E<4503599627370496?(this.words=[E&67108863,E/67108864&67108863],this.length=2):(r(E<9007199254740992),this.words=[E&67108863,E/67108864&67108863,1],this.length=3),b==="le"&&this._initArray(this.toArray(),R,b)},i.prototype._initArray=function(E,R,b){if(r(typeof E.length=="number"),E.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(E.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var g,w,v=0;if(b==="be")for(c=E.length-1,g=0;c>=0;c-=3)w=E[c]|E[c-1]<<8|E[c-2]<<16,this.words[g]|=w<<v&67108863,this.words[g+1]=w>>>26-v&67108863,v+=24,v>=26&&(v-=26,g++);else if(b==="le")for(c=0,g=0;c<E.length;c+=3)w=E[c]|E[c+1]<<8|E[c+2]<<16,this.words[g]|=w<<v&67108863,this.words[g+1]=w>>>26-v&67108863,v+=24,v>=26&&(v-=26,g++);return this.strip()};function o(H,E){var R=H.charCodeAt(E);return R>=65&&R<=70?R-55:R>=97&&R<=102?R-87:R-48&15}function a(H,E,R){var b=o(H,R);return R-1>=E&&(b|=o(H,R-1)<<4),b}i.prototype._parseHex=function(E,R,b){this.length=Math.ceil((E.length-R)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var g=0,w=0,v;if(b==="be")for(c=E.length-1;c>=R;c-=2)v=a(E,R,c)<<g,this.words[w]|=v&67108863,g>=18?(g-=18,w+=1,this.words[w]|=v>>>26):g+=8;else{var C=E.length-R;for(c=C%2===0?R+1:R;c<E.length;c+=2)v=a(E,R,c)<<g,this.words[w]|=v&67108863,g>=18?(g-=18,w+=1,this.words[w]|=v>>>26):g+=8}this.strip()};function A(H,E,R,b){for(var c=0,g=Math.min(H.length,R),w=E;w<g;w++){var v=H.charCodeAt(w)-48;c*=b,v>=49?c+=v-49+10:v>=17?c+=v-17+10:c+=v}return c}i.prototype._parseBase=function(E,R,b){this.words=[0],this.length=1;for(var c=0,g=1;g<=67108863;g*=R)c++;c--,g=g/R|0;for(var w=E.length-b,v=w%c,C=Math.min(w,w-v)+b,h=0,D=b;D<C;D+=c)h=A(E,D,D+c,R),this.imuln(g),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(v!==0){var M=1;for(h=A(E,D,E.length,R),D=0;D<v;D++)M*=R;this.imuln(M),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},i.prototype.copy=function(E){E.words=new Array(this.length);for(var R=0;R<this.length;R++)E.words[R]=this.words[R];E.length=this.length,E.negative=this.negative,E.red=this.red},i.prototype.clone=function(){var E=new i(null);return this.copy(E),E},i.prototype._expand=function(E){for(;this.length<E;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(E,R){E=E||10,R=R|0||1;var b;if(E===16||E==="hex"){b="";for(var c=0,g=0,w=0;w<this.length;w++){var v=this.words[w],C=((v<<c|g)&16777215).toString(16);g=v>>>24-c&16777215,c+=2,c>=26&&(c-=26,w--),g!==0||w!==this.length-1?b=f[6-C.length]+C+b:b=C+b}for(g!==0&&(b=g.toString(16)+b);b.length%R!==0;)b="0"+b;return this.negative!==0&&(b="-"+b),b}if(E===(E|0)&&E>=2&&E<=36){var h=l[E],D=p[E];b="";var M=this.clone();for(M.negative=0;!M.isZero();){var I=M.modn(D).toString(E);M=M.idivn(D),M.isZero()?b=I+b:b=f[h-I.length]+I+b}for(this.isZero()&&(b="0"+b);b.length%R!==0;)b="0"+b;return this.negative!==0&&(b="-"+b),b}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var E=this.words[0];return this.length===2?E+=this.words[1]*67108864:this.length===3&&this.words[2]===1?E+=4503599627370496+this.words[1]*67108864:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-E:E},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(E,R){return r(typeof s<"u"),this.toArrayLike(s,E,R)},i.prototype.toArray=function(E,R){return this.toArrayLike(Array,E,R)},i.prototype.toArrayLike=function(E,R,b){var c=this.byteLength(),g=b||Math.max(1,c);r(c<=g,"byte array longer than desired length"),r(g>0,"Requested array length <= 0"),this.strip();var w=R==="le",v=new E(g),C,h,D=this.clone();if(w){for(h=0;!D.isZero();h++)C=D.andln(255),D.iushrn(8),v[h]=C;for(;h<g;h++)v[h]=0}else{for(h=0;h<g-c;h++)v[h]=0;for(h=0;!D.isZero();h++)C=D.andln(255),D.iushrn(8),v[g-h-1]=C}return v},Math.clz32?i.prototype._countBits=function(E){return 32-Math.clz32(E)}:i.prototype._countBits=function(E){var R=E,b=0;return R>=4096&&(b+=13,R>>>=13),R>=64&&(b+=7,R>>>=7),R>=8&&(b+=4,R>>>=4),R>=2&&(b+=2,R>>>=2),b+R},i.prototype._zeroBits=function(E){if(E===0)return 26;var R=E,b=0;return(R&8191)===0&&(b+=13,R>>>=13),(R&127)===0&&(b+=7,R>>>=7),(R&15)===0&&(b+=4,R>>>=4),(R&3)===0&&(b+=2,R>>>=2),(R&1)===0&&b++,b},i.prototype.bitLength=function(){var E=this.words[this.length-1],R=this._countBits(E);return(this.length-1)*26+R};function B(H){for(var E=new Array(H.bitLength()),R=0;R<E.length;R++){var b=R/26|0,c=R%26;E[R]=(H.words[b]&1<<c)>>>c}return E}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var E=0,R=0;R<this.length;R++){var b=this._zeroBits(this.words[R]);if(E+=b,b!==26)break}return E},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(E){return this.negative!==0?this.abs().inotn(E).iaddn(1):this.clone()},i.prototype.fromTwos=function(E){return this.testn(E-1)?this.notn(E).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(E){for(;this.length<E.length;)this.words[this.length++]=0;for(var R=0;R<E.length;R++)this.words[R]=this.words[R]|E.words[R];return this.strip()},i.prototype.ior=function(E){return r((this.negative|E.negative)===0),this.iuor(E)},i.prototype.or=function(E){return this.length>E.length?this.clone().ior(E):E.clone().ior(this)},i.prototype.uor=function(E){return this.length>E.length?this.clone().iuor(E):E.clone().iuor(this)},i.prototype.iuand=function(E){var R;this.length>E.length?R=E:R=this;for(var b=0;b<R.length;b++)this.words[b]=this.words[b]&E.words[b];return this.length=R.length,this.strip()},i.prototype.iand=function(E){return r((this.negative|E.negative)===0),this.iuand(E)},i.prototype.and=function(E){return this.length>E.length?this.clone().iand(E):E.clone().iand(this)},i.prototype.uand=function(E){return this.length>E.length?this.clone().iuand(E):E.clone().iuand(this)},i.prototype.iuxor=function(E){var R,b;this.length>E.length?(R=this,b=E):(R=E,b=this);for(var c=0;c<b.length;c++)this.words[c]=R.words[c]^b.words[c];if(this!==R)for(;c<R.length;c++)this.words[c]=R.words[c];return this.length=R.length,this.strip()},i.prototype.ixor=function(E){return r((this.negative|E.negative)===0),this.iuxor(E)},i.prototype.xor=function(E){return this.length>E.length?this.clone().ixor(E):E.clone().ixor(this)},i.prototype.uxor=function(E){return this.length>E.length?this.clone().iuxor(E):E.clone().iuxor(this)},i.prototype.inotn=function(E){r(typeof E=="number"&&E>=0);var R=Math.ceil(E/26)|0,b=E%26;this._expand(R),b>0&&R--;for(var c=0;c<R;c++)this.words[c]=~this.words[c]&67108863;for(b>0&&(this.words[c]=~this.words[c]&67108863>>26-b,c++);c<this.length;c++)this.words[c]=0;return this.strip()},i.prototype.notn=function(E){return this.clone().inotn(E)},i.prototype.setn=function(E,R){r(typeof E=="number"&&E>=0);var b=E/26|0,c=E%26;return this._expand(b+1),R?this.words[b]=this.words[b]|1<<c:this.words[b]=this.words[b]&~(1<<c),this.strip()},i.prototype.iadd=function(E){var R;if(this.negative!==0&&E.negative===0)return this.negative=0,R=this.isub(E),this.negative^=1,this._normSign();if(this.negative===0&&E.negative!==0)return E.negative=0,R=this.isub(E),E.negative=1,R._normSign();var b,c;this.length>E.length?(b=this,c=E):(b=E,c=this);for(var g=0,w=0;w<c.length;w++)R=(b.words[w]|0)+(c.words[w]|0)+g,this.words[w]=R&67108863,g=R>>>26;for(;g!==0&&w<b.length;w++)R=(b.words[w]|0)+g,this.words[w]=R&67108863,g=R>>>26;if(this.length=b.length,g!==0)this.words[this.length]=g,this.length++;else if(b!==this)for(;w<b.length;w++)this.words[w]=b.words[w];return this},i.prototype.add=function(E){var R;return E.negative!==0&&this.negative===0?(E.negative=0,R=this.sub(E),E.negative^=1,R):E.negative===0&&this.negative!==0?(this.negative=0,R=E.sub(this),this.negative=1,R):this.length>E.length?this.clone().iadd(E):E.clone().iadd(this)},i.prototype.isub=function(E){if(E.negative!==0){E.negative=0;var R=this.iadd(E);return E.negative=1,R._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(E),this.negative=1,this._normSign();var b=this.cmp(E);if(b===0)return this.negative=0,this.length=1,this.words[0]=0,this;var c,g;b>0?(c=this,g=E):(c=E,g=this);for(var w=0,v=0;v<g.length;v++)R=(c.words[v]|0)-(g.words[v]|0)+w,w=R>>26,this.words[v]=R&67108863;for(;w!==0&&v<c.length;v++)R=(c.words[v]|0)+w,w=R>>26,this.words[v]=R&67108863;if(w===0&&v<c.length&&c!==this)for(;v<c.length;v++)this.words[v]=c.words[v];return this.length=Math.max(this.length,v),c!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(E){return this.clone().isub(E)};function S(H,E,R){R.negative=E.negative^H.negative;var b=H.length+E.length|0;R.length=b,b=b-1|0;var c=H.words[0]|0,g=E.words[0]|0,w=c*g,v=w&67108863,C=w/67108864|0;R.words[0]=v;for(var h=1;h<b;h++){for(var D=C>>>26,M=C&67108863,I=Math.min(h,E.length-1),k=Math.max(0,h-H.length+1);k<=I;k++){var ne=h-k|0;c=H.words[ne]|0,g=E.words[k]|0,w=c*g+M,D+=w/67108864|0,M=w&67108863}R.words[h]=M|0,C=D|0}return C!==0?R.words[h]=C|0:R.length--,R.strip()}var _=function(E,R,b){var c=E.words,g=R.words,w=b.words,v=0,C,h,D,M=c[0]|0,I=M&8191,k=M>>>13,ne=c[1]|0,Ae=ne&8191,ue=ne>>>13,pe=c[2]|0,he=pe&8191,de=pe>>>13,wt=c[3]|0,Ie=wt&8191,be=wt>>>13,yr=c[4]|0,we=yr&8191,ve=yr>>>13,Fs=c[5]|0,Ye=Fs&8191,xe=Fs>>>13,ks=c[6]|0,Te=ks&8191,De=ks>>>13,en=c[7]|0,Re=en&8191,He=en>>>13,ai=c[8]|0,Ne=ai&8191,je=ai>>>13,F=c[9]|0,m=F&8191,Q=F>>>13,L=g[0]|0,W=L&8191,z=L>>>13,ae=g[1]|0,le=ae&8191,ye=ae>>>13,Ct=g[2]|0,Ee=Ct&8191,ge=Ct>>>13,La=g[3]|0,ze=La&8191,rt=La>>>13,ko=g[4]|0,$e=ko&8191,nt=ko>>>13,WA=g[5]|0,it=WA&8191,st=WA>>>13,Pa=g[6]|0,Ke=Pa&8191,Xe=Pa>>>13,VA=g[7]|0,Ue=VA&8191,et=VA>>>13,JA=g[8]|0,ot=JA&8191,Le=JA>>>13,hn=g[9]|0,Pe=hn&8191,Ze=hn>>>13;b.negative=E.negative^R.negative,b.length=19,C=Math.imul(I,W),h=Math.imul(I,z),h=h+Math.imul(k,W)|0,D=Math.imul(k,z);var wn=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(wn>>>26)|0,wn&=67108863,C=Math.imul(Ae,W),h=Math.imul(Ae,z),h=h+Math.imul(ue,W)|0,D=Math.imul(ue,z),C=C+Math.imul(I,le)|0,h=h+Math.imul(I,ye)|0,h=h+Math.imul(k,le)|0,D=D+Math.imul(k,ye)|0;var Pt=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,C=Math.imul(he,W),h=Math.imul(he,z),h=h+Math.imul(de,W)|0,D=Math.imul(de,z),C=C+Math.imul(Ae,le)|0,h=h+Math.imul(Ae,ye)|0,h=h+Math.imul(ue,le)|0,D=D+Math.imul(ue,ye)|0,C=C+Math.imul(I,Ee)|0,h=h+Math.imul(I,ge)|0,h=h+Math.imul(k,Ee)|0,D=D+Math.imul(k,ge)|0;var kt=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(kt>>>26)|0,kt&=67108863,C=Math.imul(Ie,W),h=Math.imul(Ie,z),h=h+Math.imul(be,W)|0,D=Math.imul(be,z),C=C+Math.imul(he,le)|0,h=h+Math.imul(he,ye)|0,h=h+Math.imul(de,le)|0,D=D+Math.imul(de,ye)|0,C=C+Math.imul(Ae,Ee)|0,h=h+Math.imul(Ae,ge)|0,h=h+Math.imul(ue,Ee)|0,D=D+Math.imul(ue,ge)|0,C=C+Math.imul(I,ze)|0,h=h+Math.imul(I,rt)|0,h=h+Math.imul(k,ze)|0,D=D+Math.imul(k,rt)|0;var xs=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(xs>>>26)|0,xs&=67108863,C=Math.imul(we,W),h=Math.imul(we,z),h=h+Math.imul(ve,W)|0,D=Math.imul(ve,z),C=C+Math.imul(Ie,le)|0,h=h+Math.imul(Ie,ye)|0,h=h+Math.imul(be,le)|0,D=D+Math.imul(be,ye)|0,C=C+Math.imul(he,Ee)|0,h=h+Math.imul(he,ge)|0,h=h+Math.imul(de,Ee)|0,D=D+Math.imul(de,ge)|0,C=C+Math.imul(Ae,ze)|0,h=h+Math.imul(Ae,rt)|0,h=h+Math.imul(ue,ze)|0,D=D+Math.imul(ue,rt)|0,C=C+Math.imul(I,$e)|0,h=h+Math.imul(I,nt)|0,h=h+Math.imul(k,$e)|0,D=D+Math.imul(k,nt)|0;var Ai=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,C=Math.imul(Ye,W),h=Math.imul(Ye,z),h=h+Math.imul(xe,W)|0,D=Math.imul(xe,z),C=C+Math.imul(we,le)|0,h=h+Math.imul(we,ye)|0,h=h+Math.imul(ve,le)|0,D=D+Math.imul(ve,ye)|0,C=C+Math.imul(Ie,Ee)|0,h=h+Math.imul(Ie,ge)|0,h=h+Math.imul(be,Ee)|0,D=D+Math.imul(be,ge)|0,C=C+Math.imul(he,ze)|0,h=h+Math.imul(he,rt)|0,h=h+Math.imul(de,ze)|0,D=D+Math.imul(de,rt)|0,C=C+Math.imul(Ae,$e)|0,h=h+Math.imul(Ae,nt)|0,h=h+Math.imul(ue,$e)|0,D=D+Math.imul(ue,nt)|0,C=C+Math.imul(I,it)|0,h=h+Math.imul(I,st)|0,h=h+Math.imul(k,it)|0,D=D+Math.imul(k,st)|0;var Us=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(Us>>>26)|0,Us&=67108863,C=Math.imul(Te,W),h=Math.imul(Te,z),h=h+Math.imul(De,W)|0,D=Math.imul(De,z),C=C+Math.imul(Ye,le)|0,h=h+Math.imul(Ye,ye)|0,h=h+Math.imul(xe,le)|0,D=D+Math.imul(xe,ye)|0,C=C+Math.imul(we,Ee)|0,h=h+Math.imul(we,ge)|0,h=h+Math.imul(ve,Ee)|0,D=D+Math.imul(ve,ge)|0,C=C+Math.imul(Ie,ze)|0,h=h+Math.imul(Ie,rt)|0,h=h+Math.imul(be,ze)|0,D=D+Math.imul(be,rt)|0,C=C+Math.imul(he,$e)|0,h=h+Math.imul(he,nt)|0,h=h+Math.imul(de,$e)|0,D=D+Math.imul(de,nt)|0,C=C+Math.imul(Ae,it)|0,h=h+Math.imul(Ae,st)|0,h=h+Math.imul(ue,it)|0,D=D+Math.imul(ue,st)|0,C=C+Math.imul(I,Ke)|0,h=h+Math.imul(I,Xe)|0,h=h+Math.imul(k,Ke)|0,D=D+Math.imul(k,Xe)|0;var Ls=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(Ls>>>26)|0,Ls&=67108863,C=Math.imul(Re,W),h=Math.imul(Re,z),h=h+Math.imul(He,W)|0,D=Math.imul(He,z),C=C+Math.imul(Te,le)|0,h=h+Math.imul(Te,ye)|0,h=h+Math.imul(De,le)|0,D=D+Math.imul(De,ye)|0,C=C+Math.imul(Ye,Ee)|0,h=h+Math.imul(Ye,ge)|0,h=h+Math.imul(xe,Ee)|0,D=D+Math.imul(xe,ge)|0,C=C+Math.imul(we,ze)|0,h=h+Math.imul(we,rt)|0,h=h+Math.imul(ve,ze)|0,D=D+Math.imul(ve,rt)|0,C=C+Math.imul(Ie,$e)|0,h=h+Math.imul(Ie,nt)|0,h=h+Math.imul(be,$e)|0,D=D+Math.imul(be,nt)|0,C=C+Math.imul(he,it)|0,h=h+Math.imul(he,st)|0,h=h+Math.imul(de,it)|0,D=D+Math.imul(de,st)|0,C=C+Math.imul(Ae,Ke)|0,h=h+Math.imul(Ae,Xe)|0,h=h+Math.imul(ue,Ke)|0,D=D+Math.imul(ue,Xe)|0,C=C+Math.imul(I,Ue)|0,h=h+Math.imul(I,et)|0,h=h+Math.imul(k,Ue)|0,D=D+Math.imul(k,et)|0;var Ps=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(Ps>>>26)|0,Ps&=67108863,C=Math.imul(Ne,W),h=Math.imul(Ne,z),h=h+Math.imul(je,W)|0,D=Math.imul(je,z),C=C+Math.imul(Re,le)|0,h=h+Math.imul(Re,ye)|0,h=h+Math.imul(He,le)|0,D=D+Math.imul(He,ye)|0,C=C+Math.imul(Te,Ee)|0,h=h+Math.imul(Te,ge)|0,h=h+Math.imul(De,Ee)|0,D=D+Math.imul(De,ge)|0,C=C+Math.imul(Ye,ze)|0,h=h+Math.imul(Ye,rt)|0,h=h+Math.imul(xe,ze)|0,D=D+Math.imul(xe,rt)|0,C=C+Math.imul(we,$e)|0,h=h+Math.imul(we,nt)|0,h=h+Math.imul(ve,$e)|0,D=D+Math.imul(ve,nt)|0,C=C+Math.imul(Ie,it)|0,h=h+Math.imul(Ie,st)|0,h=h+Math.imul(be,it)|0,D=D+Math.imul(be,st)|0,C=C+Math.imul(he,Ke)|0,h=h+Math.imul(he,Xe)|0,h=h+Math.imul(de,Ke)|0,D=D+Math.imul(de,Xe)|0,C=C+Math.imul(Ae,Ue)|0,h=h+Math.imul(Ae,et)|0,h=h+Math.imul(ue,Ue)|0,D=D+Math.imul(ue,et)|0,C=C+Math.imul(I,ot)|0,h=h+Math.imul(I,Le)|0,h=h+Math.imul(k,ot)|0,D=D+Math.imul(k,Le)|0;var Os=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(Os>>>26)|0,Os&=67108863,C=Math.imul(m,W),h=Math.imul(m,z),h=h+Math.imul(Q,W)|0,D=Math.imul(Q,z),C=C+Math.imul(Ne,le)|0,h=h+Math.imul(Ne,ye)|0,h=h+Math.imul(je,le)|0,D=D+Math.imul(je,ye)|0,C=C+Math.imul(Re,Ee)|0,h=h+Math.imul(Re,ge)|0,h=h+Math.imul(He,Ee)|0,D=D+Math.imul(He,ge)|0,C=C+Math.imul(Te,ze)|0,h=h+Math.imul(Te,rt)|0,h=h+Math.imul(De,ze)|0,D=D+Math.imul(De,rt)|0,C=C+Math.imul(Ye,$e)|0,h=h+Math.imul(Ye,nt)|0,h=h+Math.imul(xe,$e)|0,D=D+Math.imul(xe,nt)|0,C=C+Math.imul(we,it)|0,h=h+Math.imul(we,st)|0,h=h+Math.imul(ve,it)|0,D=D+Math.imul(ve,st)|0,C=C+Math.imul(Ie,Ke)|0,h=h+Math.imul(Ie,Xe)|0,h=h+Math.imul(be,Ke)|0,D=D+Math.imul(be,Xe)|0,C=C+Math.imul(he,Ue)|0,h=h+Math.imul(he,et)|0,h=h+Math.imul(de,Ue)|0,D=D+Math.imul(de,et)|0,C=C+Math.imul(Ae,ot)|0,h=h+Math.imul(Ae,Le)|0,h=h+Math.imul(ue,ot)|0,D=D+Math.imul(ue,Le)|0,C=C+Math.imul(I,Pe)|0,h=h+Math.imul(I,Ze)|0,h=h+Math.imul(k,Pe)|0,D=D+Math.imul(k,Ze)|0;var Hs=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(Hs>>>26)|0,Hs&=67108863,C=Math.imul(m,le),h=Math.imul(m,ye),h=h+Math.imul(Q,le)|0,D=Math.imul(Q,ye),C=C+Math.imul(Ne,Ee)|0,h=h+Math.imul(Ne,ge)|0,h=h+Math.imul(je,Ee)|0,D=D+Math.imul(je,ge)|0,C=C+Math.imul(Re,ze)|0,h=h+Math.imul(Re,rt)|0,h=h+Math.imul(He,ze)|0,D=D+Math.imul(He,rt)|0,C=C+Math.imul(Te,$e)|0,h=h+Math.imul(Te,nt)|0,h=h+Math.imul(De,$e)|0,D=D+Math.imul(De,nt)|0,C=C+Math.imul(Ye,it)|0,h=h+Math.imul(Ye,st)|0,h=h+Math.imul(xe,it)|0,D=D+Math.imul(xe,st)|0,C=C+Math.imul(we,Ke)|0,h=h+Math.imul(we,Xe)|0,h=h+Math.imul(ve,Ke)|0,D=D+Math.imul(ve,Xe)|0,C=C+Math.imul(Ie,Ue)|0,h=h+Math.imul(Ie,et)|0,h=h+Math.imul(be,Ue)|0,D=D+Math.imul(be,et)|0,C=C+Math.imul(he,ot)|0,h=h+Math.imul(he,Le)|0,h=h+Math.imul(de,ot)|0,D=D+Math.imul(de,Le)|0,C=C+Math.imul(Ae,Pe)|0,h=h+Math.imul(Ae,Ze)|0,h=h+Math.imul(ue,Pe)|0,D=D+Math.imul(ue,Ze)|0;var ji=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(ji>>>26)|0,ji&=67108863,C=Math.imul(m,Ee),h=Math.imul(m,ge),h=h+Math.imul(Q,Ee)|0,D=Math.imul(Q,ge),C=C+Math.imul(Ne,ze)|0,h=h+Math.imul(Ne,rt)|0,h=h+Math.imul(je,ze)|0,D=D+Math.imul(je,rt)|0,C=C+Math.imul(Re,$e)|0,h=h+Math.imul(Re,nt)|0,h=h+Math.imul(He,$e)|0,D=D+Math.imul(He,nt)|0,C=C+Math.imul(Te,it)|0,h=h+Math.imul(Te,st)|0,h=h+Math.imul(De,it)|0,D=D+Math.imul(De,st)|0,C=C+Math.imul(Ye,Ke)|0,h=h+Math.imul(Ye,Xe)|0,h=h+Math.imul(xe,Ke)|0,D=D+Math.imul(xe,Xe)|0,C=C+Math.imul(we,Ue)|0,h=h+Math.imul(we,et)|0,h=h+Math.imul(ve,Ue)|0,D=D+Math.imul(ve,et)|0,C=C+Math.imul(Ie,ot)|0,h=h+Math.imul(Ie,Le)|0,h=h+Math.imul(be,ot)|0,D=D+Math.imul(be,Le)|0,C=C+Math.imul(he,Pe)|0,h=h+Math.imul(he,Ze)|0,h=h+Math.imul(de,Pe)|0,D=D+Math.imul(de,Ze)|0;var zi=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(zi>>>26)|0,zi&=67108863,C=Math.imul(m,ze),h=Math.imul(m,rt),h=h+Math.imul(Q,ze)|0,D=Math.imul(Q,rt),C=C+Math.imul(Ne,$e)|0,h=h+Math.imul(Ne,nt)|0,h=h+Math.imul(je,$e)|0,D=D+Math.imul(je,nt)|0,C=C+Math.imul(Re,it)|0,h=h+Math.imul(Re,st)|0,h=h+Math.imul(He,it)|0,D=D+Math.imul(He,st)|0,C=C+Math.imul(Te,Ke)|0,h=h+Math.imul(Te,Xe)|0,h=h+Math.imul(De,Ke)|0,D=D+Math.imul(De,Xe)|0,C=C+Math.imul(Ye,Ue)|0,h=h+Math.imul(Ye,et)|0,h=h+Math.imul(xe,Ue)|0,D=D+Math.imul(xe,et)|0,C=C+Math.imul(we,ot)|0,h=h+Math.imul(we,Le)|0,h=h+Math.imul(ve,ot)|0,D=D+Math.imul(ve,Le)|0,C=C+Math.imul(Ie,Pe)|0,h=h+Math.imul(Ie,Ze)|0,h=h+Math.imul(be,Pe)|0,D=D+Math.imul(be,Ze)|0;var xo=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(xo>>>26)|0,xo&=67108863,C=Math.imul(m,$e),h=Math.imul(m,nt),h=h+Math.imul(Q,$e)|0,D=Math.imul(Q,nt),C=C+Math.imul(Ne,it)|0,h=h+Math.imul(Ne,st)|0,h=h+Math.imul(je,it)|0,D=D+Math.imul(je,st)|0,C=C+Math.imul(Re,Ke)|0,h=h+Math.imul(Re,Xe)|0,h=h+Math.imul(He,Ke)|0,D=D+Math.imul(He,Xe)|0,C=C+Math.imul(Te,Ue)|0,h=h+Math.imul(Te,et)|0,h=h+Math.imul(De,Ue)|0,D=D+Math.imul(De,et)|0,C=C+Math.imul(Ye,ot)|0,h=h+Math.imul(Ye,Le)|0,h=h+Math.imul(xe,ot)|0,D=D+Math.imul(xe,Le)|0,C=C+Math.imul(we,Pe)|0,h=h+Math.imul(we,Ze)|0,h=h+Math.imul(ve,Pe)|0,D=D+Math.imul(ve,Ze)|0;var Uo=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(Uo>>>26)|0,Uo&=67108863,C=Math.imul(m,it),h=Math.imul(m,st),h=h+Math.imul(Q,it)|0,D=Math.imul(Q,st),C=C+Math.imul(Ne,Ke)|0,h=h+Math.imul(Ne,Xe)|0,h=h+Math.imul(je,Ke)|0,D=D+Math.imul(je,Xe)|0,C=C+Math.imul(Re,Ue)|0,h=h+Math.imul(Re,et)|0,h=h+Math.imul(He,Ue)|0,D=D+Math.imul(He,et)|0,C=C+Math.imul(Te,ot)|0,h=h+Math.imul(Te,Le)|0,h=h+Math.imul(De,ot)|0,D=D+Math.imul(De,Le)|0,C=C+Math.imul(Ye,Pe)|0,h=h+Math.imul(Ye,Ze)|0,h=h+Math.imul(xe,Pe)|0,D=D+Math.imul(xe,Ze)|0;var Lo=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(Lo>>>26)|0,Lo&=67108863,C=Math.imul(m,Ke),h=Math.imul(m,Xe),h=h+Math.imul(Q,Ke)|0,D=Math.imul(Q,Xe),C=C+Math.imul(Ne,Ue)|0,h=h+Math.imul(Ne,et)|0,h=h+Math.imul(je,Ue)|0,D=D+Math.imul(je,et)|0,C=C+Math.imul(Re,ot)|0,h=h+Math.imul(Re,Le)|0,h=h+Math.imul(He,ot)|0,D=D+Math.imul(He,Le)|0,C=C+Math.imul(Te,Pe)|0,h=h+Math.imul(Te,Ze)|0,h=h+Math.imul(De,Pe)|0,D=D+Math.imul(De,Ze)|0;var Po=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(Po>>>26)|0,Po&=67108863,C=Math.imul(m,Ue),h=Math.imul(m,et),h=h+Math.imul(Q,Ue)|0,D=Math.imul(Q,et),C=C+Math.imul(Ne,ot)|0,h=h+Math.imul(Ne,Le)|0,h=h+Math.imul(je,ot)|0,D=D+Math.imul(je,Le)|0,C=C+Math.imul(Re,Pe)|0,h=h+Math.imul(Re,Ze)|0,h=h+Math.imul(He,Pe)|0,D=D+Math.imul(He,Ze)|0;var qs=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(qs>>>26)|0,qs&=67108863,C=Math.imul(m,ot),h=Math.imul(m,Le),h=h+Math.imul(Q,ot)|0,D=Math.imul(Q,Le),C=C+Math.imul(Ne,Pe)|0,h=h+Math.imul(Ne,Ze)|0,h=h+Math.imul(je,Pe)|0,D=D+Math.imul(je,Ze)|0;var Sn=(v+C|0)+((h&8191)<<13)|0;v=(D+(h>>>13)|0)+(Sn>>>26)|0,Sn&=67108863,C=Math.imul(m,Pe),h=Math.imul(m,Ze),h=h+Math.imul(Q,Pe)|0,D=Math.imul(Q,Ze);var Oo=(v+C|0)+((h&8191)<<13)|0;return v=(D+(h>>>13)|0)+(Oo>>>26)|0,Oo&=67108863,w[0]=wn,w[1]=Pt,w[2]=kt,w[3]=xs,w[4]=Ai,w[5]=Us,w[6]=Ls,w[7]=Ps,w[8]=Os,w[9]=Hs,w[10]=ji,w[11]=zi,w[12]=xo,w[13]=Uo,w[14]=Lo,w[15]=Po,w[16]=qs,w[17]=Sn,w[18]=Oo,v!==0&&(w[19]=v,b.length++),b};Math.imul||(_=S);function N(H,E,R){R.negative=E.negative^H.negative,R.length=H.length+E.length;for(var b=0,c=0,g=0;g<R.length-1;g++){var w=c;c=0;for(var v=b&67108863,C=Math.min(g,E.length-1),h=Math.max(0,g-H.length+1);h<=C;h++){var D=g-h,M=H.words[D]|0,I=E.words[h]|0,k=M*I,ne=k&67108863;w=w+(k/67108864|0)|0,ne=ne+v|0,v=ne&67108863,w=w+(ne>>>26)|0,c+=w>>>26,w&=67108863}R.words[g]=v,b=w,w=c}return b!==0?R.words[g]=b:R.length--,R.strip()}function P(H,E,R){var b=new U;return b.mulp(H,E,R)}i.prototype.mulTo=function(E,R){var b,c=this.length+E.length;return this.length===10&&E.length===10?b=_(this,E,R):c<63?b=S(this,E,R):c<1024?b=N(this,E,R):b=P(this,E,R),b};function U(H,E){this.x=H,this.y=E}U.prototype.makeRBT=function(E){for(var R=new Array(E),b=i.prototype._countBits(E)-1,c=0;c<E;c++)R[c]=this.revBin(c,b,E);return R},U.prototype.revBin=function(E,R,b){if(E===0||E===b-1)return E;for(var c=0,g=0;g<R;g++)c|=(E&1)<<R-g-1,E>>=1;return c},U.prototype.permute=function(E,R,b,c,g,w){for(var v=0;v<w;v++)c[v]=R[E[v]],g[v]=b[E[v]]},U.prototype.transform=function(E,R,b,c,g,w){this.permute(w,E,R,b,c,g);for(var v=1;v<g;v<<=1)for(var C=v<<1,h=Math.cos(2*Math.PI/C),D=Math.sin(2*Math.PI/C),M=0;M<g;M+=C)for(var I=h,k=D,ne=0;ne<v;ne++){var Ae=b[M+ne],ue=c[M+ne],pe=b[M+ne+v],he=c[M+ne+v],de=I*pe-k*he;he=I*he+k*pe,pe=de,b[M+ne]=Ae+pe,c[M+ne]=ue+he,b[M+ne+v]=Ae-pe,c[M+ne+v]=ue-he,ne!==C&&(de=h*I-D*k,k=h*k+D*I,I=de)}},U.prototype.guessLen13b=function(E,R){var b=Math.max(R,E)|1,c=b&1,g=0;for(b=b/2|0;b;b=b>>>1)g++;return 1<<g+1+c},U.prototype.conjugate=function(E,R,b){if(!(b<=1))for(var c=0;c<b/2;c++){var g=E[c];E[c]=E[b-c-1],E[b-c-1]=g,g=R[c],R[c]=-R[b-c-1],R[b-c-1]=-g}},U.prototype.normalize13b=function(E,R){for(var b=0,c=0;c<R/2;c++){var g=Math.round(E[2*c+1]/R)*8192+Math.round(E[2*c]/R)+b;E[c]=g&67108863,g<67108864?b=0:b=g/67108864|0}return E},U.prototype.convert13b=function(E,R,b,c){for(var g=0,w=0;w<R;w++)g=g+(E[w]|0),b[2*w]=g&8191,g=g>>>13,b[2*w+1]=g&8191,g=g>>>13;for(w=2*R;w<c;++w)b[w]=0;r(g===0),r((g&-8192)===0)},U.prototype.stub=function(E){for(var R=new Array(E),b=0;b<E;b++)R[b]=0;return R},U.prototype.mulp=function(E,R,b){var c=2*this.guessLen13b(E.length,R.length),g=this.makeRBT(c),w=this.stub(c),v=new Array(c),C=new Array(c),h=new Array(c),D=new Array(c),M=new Array(c),I=new Array(c),k=b.words;k.length=c,this.convert13b(E.words,E.length,v,c),this.convert13b(R.words,R.length,D,c),this.transform(v,w,C,h,c,g),this.transform(D,w,M,I,c,g);for(var ne=0;ne<c;ne++){var Ae=C[ne]*M[ne]-h[ne]*I[ne];h[ne]=C[ne]*I[ne]+h[ne]*M[ne],C[ne]=Ae}return this.conjugate(C,h,c),this.transform(C,h,k,w,c,g),this.conjugate(k,w,c),this.normalize13b(k,c),b.negative=E.negative^R.negative,b.length=E.length+R.length,b.strip()},i.prototype.mul=function(E){var R=new i(null);return R.words=new Array(this.length+E.length),this.mulTo(E,R)},i.prototype.mulf=function(E){var R=new i(null);return R.words=new Array(this.length+E.length),P(this,E,R)},i.prototype.imul=function(E){return this.clone().mulTo(E,this)},i.prototype.imuln=function(E){r(typeof E=="number"),r(E<67108864);for(var R=0,b=0;b<this.length;b++){var c=(this.words[b]|0)*E,g=(c&67108863)+(R&67108863);R>>=26,R+=c/67108864|0,R+=g>>>26,this.words[b]=g&67108863}return R!==0&&(this.words[b]=R,this.length++),this.length=E===0?1:this.length,this},i.prototype.muln=function(E){return this.clone().imuln(E)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(E){var R=B(E);if(R.length===0)return new i(1);for(var b=this,c=0;c<R.length&&R[c]===0;c++,b=b.sqr());if(++c<R.length)for(var g=b.sqr();c<R.length;c++,g=g.sqr())R[c]!==0&&(b=b.mul(g));return b},i.prototype.iushln=function(E){r(typeof E=="number"&&E>=0);var R=E%26,b=(E-R)/26,c=67108863>>>26-R<<26-R,g;if(R!==0){var w=0;for(g=0;g<this.length;g++){var v=this.words[g]&c,C=(this.words[g]|0)-v<<R;this.words[g]=C|w,w=v>>>26-R}w&&(this.words[g]=w,this.length++)}if(b!==0){for(g=this.length-1;g>=0;g--)this.words[g+b]=this.words[g];for(g=0;g<b;g++)this.words[g]=0;this.length+=b}return this.strip()},i.prototype.ishln=function(E){return r(this.negative===0),this.iushln(E)},i.prototype.iushrn=function(E,R,b){r(typeof E=="number"&&E>=0);var c;R?c=(R-R%26)/26:c=0;var g=E%26,w=Math.min((E-g)/26,this.length),v=67108863^67108863>>>g<<g,C=b;if(c-=w,c=Math.max(0,c),C){for(var h=0;h<w;h++)C.words[h]=this.words[h];C.length=w}if(w!==0)if(this.length>w)for(this.length-=w,h=0;h<this.length;h++)this.words[h]=this.words[h+w];else this.words[0]=0,this.length=1;var D=0;for(h=this.length-1;h>=0&&(D!==0||h>=c);h--){var M=this.words[h]|0;this.words[h]=D<<26-g|M>>>g,D=M&v}return C&&D!==0&&(C.words[C.length++]=D),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(E,R,b){return r(this.negative===0),this.iushrn(E,R,b)},i.prototype.shln=function(E){return this.clone().ishln(E)},i.prototype.ushln=function(E){return this.clone().iushln(E)},i.prototype.shrn=function(E){return this.clone().ishrn(E)},i.prototype.ushrn=function(E){return this.clone().iushrn(E)},i.prototype.testn=function(E){r(typeof E=="number"&&E>=0);var R=E%26,b=(E-R)/26,c=1<<R;if(this.length<=b)return!1;var g=this.words[b];return!!(g&c)},i.prototype.imaskn=function(E){r(typeof E=="number"&&E>=0);var R=E%26,b=(E-R)/26;if(r(this.negative===0,"imaskn works only with positive numbers"),this.length<=b)return this;if(R!==0&&b++,this.length=Math.min(b,this.length),R!==0){var c=67108863^67108863>>>R<<R;this.words[this.length-1]&=c}return this.length===0&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.maskn=function(E){return this.clone().imaskn(E)},i.prototype.iaddn=function(E){return r(typeof E=="number"),r(E<67108864),E<0?this.isubn(-E):this.negative!==0?this.length===1&&(this.words[0]|0)<E?(this.words[0]=E-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(E),this.negative=1,this):this._iaddn(E)},i.prototype._iaddn=function(E){this.words[0]+=E;for(var R=0;R<this.length&&this.words[R]>=67108864;R++)this.words[R]-=67108864,R===this.length-1?this.words[R+1]=1:this.words[R+1]++;return this.length=Math.max(this.length,R+1),this},i.prototype.isubn=function(E){if(r(typeof E=="number"),r(E<67108864),E<0)return this.iaddn(-E);if(this.negative!==0)return this.negative=0,this.iaddn(E),this.negative=1,this;if(this.words[0]-=E,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var R=0;R<this.length&&this.words[R]<0;R++)this.words[R]+=67108864,this.words[R+1]-=1;return this.strip()},i.prototype.addn=function(E){return this.clone().iaddn(E)},i.prototype.subn=function(E){return this.clone().isubn(E)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(E,R,b){var c=E.length+b,g;this._expand(c);var w,v=0;for(g=0;g<E.length;g++){w=(this.words[g+b]|0)+v;var C=(E.words[g]|0)*R;w-=C&67108863,v=(w>>26)-(C/67108864|0),this.words[g+b]=w&67108863}for(;g<this.length-b;g++)w=(this.words[g+b]|0)+v,v=w>>26,this.words[g+b]=w&67108863;if(v===0)return this.strip();for(r(v===-1),v=0,g=0;g<this.length;g++)w=-(this.words[g]|0)+v,v=w>>26,this.words[g]=w&67108863;return this.negative=1,this.strip()},i.prototype._wordDiv=function(E,R){var b=this.length-E.length,c=this.clone(),g=E,w=g.words[g.length-1]|0,v=this._countBits(w);b=26-v,b!==0&&(g=g.ushln(b),c.iushln(b),w=g.words[g.length-1]|0);var C=c.length-g.length,h;if(R!=="mod"){h=new i(null),h.length=C+1,h.words=new Array(h.length);for(var D=0;D<h.length;D++)h.words[D]=0}var M=c.clone()._ishlnsubmul(g,1,C);M.negative===0&&(c=M,h&&(h.words[C]=1));for(var I=C-1;I>=0;I--){var k=(c.words[g.length+I]|0)*67108864+(c.words[g.length+I-1]|0);for(k=Math.min(k/w|0,67108863),c._ishlnsubmul(g,k,I);c.negative!==0;)k--,c.negative=0,c._ishlnsubmul(g,1,I),c.isZero()||(c.negative^=1);h&&(h.words[I]=k)}return h&&h.strip(),c.strip(),R!=="div"&&b!==0&&c.iushrn(b),{div:h||null,mod:c}},i.prototype.divmod=function(E,R,b){if(r(!E.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var c,g,w;return this.negative!==0&&E.negative===0?(w=this.neg().divmod(E,R),R!=="mod"&&(c=w.div.neg()),R!=="div"&&(g=w.mod.neg(),b&&g.negative!==0&&g.iadd(E)),{div:c,mod:g}):this.negative===0&&E.negative!==0?(w=this.divmod(E.neg(),R),R!=="mod"&&(c=w.div.neg()),{div:c,mod:w.mod}):(this.negative&E.negative)!==0?(w=this.neg().divmod(E.neg(),R),R!=="div"&&(g=w.mod.neg(),b&&g.negative!==0&&g.isub(E)),{div:w.div,mod:g}):E.length>this.length||this.cmp(E)<0?{div:new i(0),mod:this}:E.length===1?R==="div"?{div:this.divn(E.words[0]),mod:null}:R==="mod"?{div:null,mod:new i(this.modn(E.words[0]))}:{div:this.divn(E.words[0]),mod:new i(this.modn(E.words[0]))}:this._wordDiv(E,R)},i.prototype.div=function(E){return this.divmod(E,"div",!1).div},i.prototype.mod=function(E){return this.divmod(E,"mod",!1).mod},i.prototype.umod=function(E){return this.divmod(E,"mod",!0).mod},i.prototype.divRound=function(E){var R=this.divmod(E);if(R.mod.isZero())return R.div;var b=R.div.negative!==0?R.mod.isub(E):R.mod,c=E.ushrn(1),g=E.andln(1),w=b.cmp(c);return w<0||g===1&&w===0?R.div:R.div.negative!==0?R.div.isubn(1):R.div.iaddn(1)},i.prototype.modn=function(E){r(E<=67108863);for(var R=(1<<26)%E,b=0,c=this.length-1;c>=0;c--)b=(R*b+(this.words[c]|0))%E;return b},i.prototype.idivn=function(E){r(E<=67108863);for(var R=0,b=this.length-1;b>=0;b--){var c=(this.words[b]|0)+R*67108864;this.words[b]=c/E|0,R=c%E}return this.strip()},i.prototype.divn=function(E){return this.clone().idivn(E)},i.prototype.egcd=function(E){r(E.negative===0),r(!E.isZero());var R=this,b=E.clone();R.negative!==0?R=R.umod(E):R=R.clone();for(var c=new i(1),g=new i(0),w=new i(0),v=new i(1),C=0;R.isEven()&&b.isEven();)R.iushrn(1),b.iushrn(1),++C;for(var h=b.clone(),D=R.clone();!R.isZero();){for(var M=0,I=1;(R.words[0]&I)===0&&M<26;++M,I<<=1);if(M>0)for(R.iushrn(M);M-- >0;)(c.isOdd()||g.isOdd())&&(c.iadd(h),g.isub(D)),c.iushrn(1),g.iushrn(1);for(var k=0,ne=1;(b.words[0]&ne)===0&&k<26;++k,ne<<=1);if(k>0)for(b.iushrn(k);k-- >0;)(w.isOdd()||v.isOdd())&&(w.iadd(h),v.isub(D)),w.iushrn(1),v.iushrn(1);R.cmp(b)>=0?(R.isub(b),c.isub(w),g.isub(v)):(b.isub(R),w.isub(c),v.isub(g))}return{a:w,b:v,gcd:b.iushln(C)}},i.prototype._invmp=function(E){r(E.negative===0),r(!E.isZero());var R=this,b=E.clone();R.negative!==0?R=R.umod(E):R=R.clone();for(var c=new i(1),g=new i(0),w=b.clone();R.cmpn(1)>0&&b.cmpn(1)>0;){for(var v=0,C=1;(R.words[0]&C)===0&&v<26;++v,C<<=1);if(v>0)for(R.iushrn(v);v-- >0;)c.isOdd()&&c.iadd(w),c.iushrn(1);for(var h=0,D=1;(b.words[0]&D)===0&&h<26;++h,D<<=1);if(h>0)for(b.iushrn(h);h-- >0;)g.isOdd()&&g.iadd(w),g.iushrn(1);R.cmp(b)>=0?(R.isub(b),c.isub(g)):(b.isub(R),g.isub(c))}var M;return R.cmpn(1)===0?M=c:M=g,M.cmpn(0)<0&&M.iadd(E),M},i.prototype.gcd=function(E){if(this.isZero())return E.abs();if(E.isZero())return this.abs();var R=this.clone(),b=E.clone();R.negative=0,b.negative=0;for(var c=0;R.isEven()&&b.isEven();c++)R.iushrn(1),b.iushrn(1);do{for(;R.isEven();)R.iushrn(1);for(;b.isEven();)b.iushrn(1);var g=R.cmp(b);if(g<0){var w=R;R=b,b=w}else if(g===0||b.cmpn(1)===0)break;R.isub(b)}while(!0);return b.iushln(c)},i.prototype.invm=function(E){return this.egcd(E).a.umod(E)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(E){return this.words[0]&E},i.prototype.bincn=function(E){r(typeof E=="number");var R=E%26,b=(E-R)/26,c=1<<R;if(this.length<=b)return this._expand(b+1),this.words[b]|=c,this;for(var g=c,w=b;g!==0&&w<this.length;w++){var v=this.words[w]|0;v+=g,g=v>>>26,v&=67108863,this.words[w]=v}return g!==0&&(this.words[w]=g,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(E){var R=E<0;if(this.negative!==0&&!R)return-1;if(this.negative===0&&R)return 1;this.strip();var b;if(this.length>1)b=1;else{R&&(E=-E),r(E<=67108863,"Number is too big");var c=this.words[0]|0;b=c===E?0:c<E?-1:1}return this.negative!==0?-b|0:b},i.prototype.cmp=function(E){if(this.negative!==0&&E.negative===0)return-1;if(this.negative===0&&E.negative!==0)return 1;var R=this.ucmp(E);return this.negative!==0?-R|0:R},i.prototype.ucmp=function(E){if(this.length>E.length)return 1;if(this.length<E.length)return-1;for(var R=0,b=this.length-1;b>=0;b--){var c=this.words[b]|0,g=E.words[b]|0;if(c!==g){c<g?R=-1:c>g&&(R=1);break}}return R},i.prototype.gtn=function(E){return this.cmpn(E)===1},i.prototype.gt=function(E){return this.cmp(E)===1},i.prototype.gten=function(E){return this.cmpn(E)>=0},i.prototype.gte=function(E){return this.cmp(E)>=0},i.prototype.ltn=function(E){return this.cmpn(E)===-1},i.prototype.lt=function(E){return this.cmp(E)===-1},i.prototype.lten=function(E){return this.cmpn(E)<=0},i.prototype.lte=function(E){return this.cmp(E)<=0},i.prototype.eqn=function(E){return this.cmpn(E)===0},i.prototype.eq=function(E){return this.cmp(E)===0},i.red=function(E){return new ie(E)},i.prototype.toRed=function(E){return r(!this.red,"Already a number in reduction context"),r(this.negative===0,"red works only with positives"),E.convertTo(this)._forceRed(E)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(E){return this.red=E,this},i.prototype.forceRed=function(E){return r(!this.red,"Already a number in reduction context"),this._forceRed(E)},i.prototype.redAdd=function(E){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,E)},i.prototype.redIAdd=function(E){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,E)},i.prototype.redSub=function(E){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,E)},i.prototype.redISub=function(E){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,E)},i.prototype.redShl=function(E){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,E)},i.prototype.redMul=function(E){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,E),this.red.mul(this,E)},i.prototype.redIMul=function(E){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,E),this.red.imul(this,E)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(E){return r(this.red&&!E.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,E)};var G={k256:null,p224:null,p192:null,p25519:null};function Y(H,E){this.name=H,this.p=new i(E,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}Y.prototype._tmp=function(){var E=new i(null);return E.words=new Array(Math.ceil(this.n/13)),E},Y.prototype.ireduce=function(E){var R=E,b;do this.split(R,this.tmp),R=this.imulK(R),R=R.iadd(this.tmp),b=R.bitLength();while(b>this.n);var c=b<this.n?-1:R.ucmp(this.p);return c===0?(R.words[0]=0,R.length=1):c>0?R.isub(this.p):R.strip!==void 0?R.strip():R._strip(),R},Y.prototype.split=function(E,R){E.iushrn(this.n,0,R)},Y.prototype.imulK=function(E){return E.imul(this.k)};function Z(){Y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}n(Z,Y),Z.prototype.split=function(E,R){for(var b=4194303,c=Math.min(E.length,9),g=0;g<c;g++)R.words[g]=E.words[g];if(R.length=c,E.length<=9){E.words[0]=0,E.length=1;return}var w=E.words[9];for(R.words[R.length++]=w&b,g=10;g<E.length;g++){var v=E.words[g]|0;E.words[g-10]=(v&b)<<4|w>>>22,w=v}w>>>=22,E.words[g-10]=w,w===0&&E.length>10?E.length-=10:E.length-=9},Z.prototype.imulK=function(E){E.words[E.length]=0,E.words[E.length+1]=0,E.length+=2;for(var R=0,b=0;b<E.length;b++){var c=E.words[b]|0;R+=c*977,E.words[b]=R&67108863,R=c*64+(R/67108864|0)}return E.words[E.length-1]===0&&(E.length--,E.words[E.length-1]===0&&E.length--),E};function ee(){Y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}n(ee,Y);function j(){Y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}n(j,Y);function se(){Y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}n(se,Y),se.prototype.imulK=function(E){for(var R=0,b=0;b<E.length;b++){var c=(E.words[b]|0)*19+R,g=c&67108863;c>>>=26,E.words[b]=g,R=c}return R!==0&&(E.words[E.length++]=R),E},i._prime=function(E){if(G[E])return G[E];var R;if(E==="k256")R=new Z;else if(E==="p224")R=new ee;else if(E==="p192")R=new j;else if(E==="p25519")R=new se;else throw new Error("Unknown prime "+E);return G[E]=R,R};function ie(H){if(typeof H=="string"){var E=i._prime(H);this.m=E.p,this.prime=E}else r(H.gtn(1),"modulus must be greater than 1"),this.m=H,this.prime=null}ie.prototype._verify1=function(E){r(E.negative===0,"red works only with positives"),r(E.red,"red works only with red numbers")},ie.prototype._verify2=function(E,R){r((E.negative|R.negative)===0,"red works only with positives"),r(E.red&&E.red===R.red,"red works only with red numbers")},ie.prototype.imod=function(E){return this.prime?this.prime.ireduce(E)._forceRed(this):E.umod(this.m)._forceRed(this)},ie.prototype.neg=function(E){return E.isZero()?E.clone():this.m.sub(E)._forceRed(this)},ie.prototype.add=function(E,R){this._verify2(E,R);var b=E.add(R);return b.cmp(this.m)>=0&&b.isub(this.m),b._forceRed(this)},ie.prototype.iadd=function(E,R){this._verify2(E,R);var b=E.iadd(R);return b.cmp(this.m)>=0&&b.isub(this.m),b},ie.prototype.sub=function(E,R){this._verify2(E,R);var b=E.sub(R);return b.cmpn(0)<0&&b.iadd(this.m),b._forceRed(this)},ie.prototype.isub=function(E,R){this._verify2(E,R);var b=E.isub(R);return b.cmpn(0)<0&&b.iadd(this.m),b},ie.prototype.shl=function(E,R){return this._verify1(E),this.imod(E.ushln(R))},ie.prototype.imul=function(E,R){return this._verify2(E,R),this.imod(E.imul(R))},ie.prototype.mul=function(E,R){return this._verify2(E,R),this.imod(E.mul(R))},ie.prototype.isqr=function(E){return this.imul(E,E.clone())},ie.prototype.sqr=function(E){return this.mul(E,E)},ie.prototype.sqrt=function(E){if(E.isZero())return E.clone();var R=this.m.andln(3);if(r(R%2===1),R===3){var b=this.m.add(new i(1)).iushrn(2);return this.pow(E,b)}for(var c=this.m.subn(1),g=0;!c.isZero()&&c.andln(1)===0;)g++,c.iushrn(1);r(!c.isZero());var w=new i(1).toRed(this),v=w.redNeg(),C=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new i(2*h*h).toRed(this);this.pow(h,C).cmp(v)!==0;)h.redIAdd(v);for(var D=this.pow(h,c),M=this.pow(E,c.addn(1).iushrn(1)),I=this.pow(E,c),k=g;I.cmp(w)!==0;){for(var ne=I,Ae=0;ne.cmp(w)!==0;Ae++)ne=ne.redSqr();r(Ae<k);var ue=this.pow(D,new i(1).iushln(k-Ae-1));M=M.redMul(ue),D=ue.redSqr(),I=I.redMul(D),k=Ae}return M},ie.prototype.invm=function(E){var R=E._invmp(this.m);return R.negative!==0?(R.negative=0,this.imod(R).redNeg()):this.imod(R)},ie.prototype.pow=function(E,R){if(R.isZero())return new i(1).toRed(this);if(R.cmpn(1)===0)return E.clone();var b=4,c=new Array(1<<b);c[0]=new i(1).toRed(this),c[1]=E;for(var g=2;g<c.length;g++)c[g]=this.mul(c[g-1],E);var w=c[0],v=0,C=0,h=R.bitLength()%26;for(h===0&&(h=26),g=R.length-1;g>=0;g--){for(var D=R.words[g],M=h-1;M>=0;M--){var I=D>>M&1;if(w!==c[0]&&(w=this.sqr(w)),I===0&&v===0){C=0;continue}v<<=1,v|=I,C++,!(C!==b&&(g!==0||M!==0))&&(w=this.mul(w,c[v]),C=0,v=0)}h=26}return w},ie.prototype.convertTo=function(E){var R=E.umod(this.m);return R===E?R.clone():R},ie.prototype.convertFrom=function(E){var R=E.clone();return R.red=null,R},i.mont=function(E){return new ce(E)};function ce(H){ie.call(this,H),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}n(ce,ie),ce.prototype.convertTo=function(E){return this.imod(E.ushln(this.shift))},ce.prototype.convertFrom=function(E){var R=this.imod(E.mul(this.rinv));return R.red=null,R},ce.prototype.imul=function(E,R){if(E.isZero()||R.isZero())return E.words[0]=0,E.length=1,E;var b=E.imul(R),c=b.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=b.isub(c).iushrn(this.shift),w=g;return g.cmp(this.m)>=0?w=g.isub(this.m):g.cmpn(0)<0&&(w=g.iadd(this.m)),w._forceRed(this)},ce.prototype.mul=function(E,R){if(E.isZero()||R.isZero())return new i(0)._forceRed(this);var b=E.mul(R),c=b.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=b.isub(c).iushrn(this.shift),w=g;return g.cmp(this.m)>=0?w=g.isub(this.m):g.cmpn(0)<0&&(w=g.iadd(this.m)),w._forceRed(this)},ce.prototype.invm=function(E){var R=this.imod(E._invmp(this.m).mul(this.r2));return R._forceRed(this)}})(typeof MS>"u"||MS,iP)});var Sy=x((DMe,xS)=>{var FS;xS.exports=function(t){return FS||(FS=new lA(null)),FS.generate(t)};function lA(e){this.rand=e}xS.exports.Rand=lA;lA.prototype.generate=function(t){return this._rand(t)};lA.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var r=new Uint8Array(t),n=0;n<r.length;n++)r[n]=this.rand.getByte();return r};if(typeof self=="object")self.crypto&&self.crypto.getRandomValues?lA.prototype._rand=function(t){var r=new Uint8Array(t);return self.crypto.getRandomValues(r),r}:self.msCrypto&&self.msCrypto.getRandomValues?lA.prototype._rand=function(t){var r=new Uint8Array(t);return self.msCrypto.getRandomValues(r),r}:typeof window=="object"&&(lA.prototype._rand=function(){throw new Error("Not implemented yet")});else try{if(kS=Ud(),typeof kS.randomBytes!="function")throw new Error("Not supported");lA.prototype._rand=function(t){return kS.randomBytes(t)}}catch{}var kS});var US=x((TMe,sP)=>{var kf=kr(),$de=Sy();function xf(e){this.rand=e||new $de.Rand}sP.exports=xf;xf.create=function(t){return new xf(t)};xf.prototype._randbelow=function(t){var r=t.bitLength(),n=Math.ceil(r/8);do var i=new kf(this.rand.generate(n));while(i.cmp(t)>=0);return i};xf.prototype._randrange=function(t,r){var n=r.sub(t);return t.add(this._randbelow(n))};xf.prototype.test=function(t,r,n){var i=t.bitLength(),s=kf.mont(t),o=new kf(1).toRed(s);r||(r=Math.max(1,i/48|0));for(var a=t.subn(1),A=0;!a.testn(A);A++);for(var f=t.shrn(A),l=a.toRed(s),p=!0;r>0;r--){var B=this._randrange(new kf(2),a);n&&n(B);var S=B.toRed(s).redPow(f);if(!(S.cmp(o)===0||S.cmp(l)===0)){for(var _=1;_<A;_++){if(S=S.redSqr(),S.cmp(o)===0)return!1;if(S.cmp(l)===0)break}if(_===A)return!1}}return p};xf.prototype.getDivisor=function(t,r){var n=t.bitLength(),i=kf.mont(t),s=new kf(1).toRed(i);r||(r=Math.max(1,n/48|0));for(var o=t.subn(1),a=0;!o.testn(a);a++);for(var A=t.shrn(a),f=o.toRed(i);r>0;r--){var l=this._randrange(new kf(2),o),p=t.gcd(l);if(p.cmpn(1)!==0)return p;var B=l.toRed(i).redPow(A);if(!(B.cmp(s)===0||B.cmp(f)===0)){for(var S=1;S<a;S++){if(B=B.redSqr(),B.cmp(s)===0)return B.fromRed().subn(1).gcd(t);if(B.cmp(f)===0)break}if(S===a)return B=B.redSqr(),B.fromRed().subn(1).gcd(t)}}return!1}});var GS=x((xMe,AP)=>{var ege=Cf();AP.exports=qS;qS.simpleSieve=OS;qS.fermatTest=HS;var Jr=kr(),tge=new Jr(24),rge=US(),oP=new rge,nge=new Jr(1),PS=new Jr(2),ige=new Jr(5),NMe=new Jr(16),MMe=new Jr(8),sge=new Jr(10),oge=new Jr(3),FMe=new Jr(7),age=new Jr(11),aP=new Jr(4),kMe=new Jr(12),LS=null;function Age(){if(LS!==null)return LS;var e=1048576,t=[];t[0]=2;for(var r=1,n=3;n<e;n+=2){for(var i=Math.ceil(Math.sqrt(n)),s=0;s<r&&t[s]<=i&&n%t[s]!==0;s++);r!==s&&t[s]<=i||(t[r++]=n)}return LS=t,t}function OS(e){for(var t=Age(),r=0;r<t.length;r++)if(e.modn(t[r])===0)return e.cmpn(t[r])===0;return!0}function HS(e){var t=Jr.mont(e);return PS.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)===0}function qS(e,t){if(e<16)return t===2||t===5?new Jr([140,123]):new Jr([140,39]);t=new Jr(t);for(var r,n;;){for(r=new Jr(ege(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(nge),r.testn(1)||r.iadd(PS),t.cmp(PS)){if(!t.cmp(ige))for(;r.mod(sge).cmp(oge);)r.iadd(aP)}else for(;r.mod(tge).cmp(age);)r.iadd(aP);if(n=r.shrn(1),OS(n)&&OS(r)&&HS(n)&&HS(r)&&oP.test(n)&&oP.test(r))return r}}});var fP=x((UMe,fge)=>{fge.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}});var hP=x((LMe,lP)=>{var wi=kr(),uge=US(),uP=new uge,cge=new wi(24),lge=new wi(11),hge=new wi(10),dge=new wi(3),gge=new wi(7),cP=GS(),pge=Cf();lP.exports=aa;function Ege(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this._pub=new wi(e),this}function yge(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this._priv=new wi(e),this}var _y={};function mge(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in _y)return _y[n];var i=0;if(e.isEven()||!cP.simpleSieve||!cP.fermatTest(e)||!uP.test(e))return i+=1,r==="02"||r==="05"?i+=8:i+=4,_y[n]=i,i;uP.test(e.shrn(1))||(i+=2);var s;switch(r){case"02":e.mod(cge).cmp(lge)&&(i+=8);break;case"05":s=e.mod(hge),s.cmp(dge)&&s.cmp(gge)&&(i+=8);break;default:i+=4}return _y[n]=i,i}function aa(e,t,r){this.setGenerator(t),this.__prime=new wi(e),this._prime=wi.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=Ege,this.setPrivateKey=yge):this._primeCode=8}Object.defineProperty(aa.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=mge(this.__prime,this.__gen)),this._primeCode}});aa.prototype.generateKeys=function(){return this._priv||(this._priv=new wi(pge(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()};aa.prototype.computeSecret=function(e){e=new wi(e),e=e.toRed(this._prime);var t=e.redPow(this._priv).fromRed(),r=new Buffer(t.toArray()),n=this.getPrime();if(r.length<n.length){var i=new Buffer(n.length-r.length);i.fill(0),r=Buffer.concat([i,r])}return r};aa.prototype.getPublicKey=function(t){return vy(this._pub,t)};aa.prototype.getPrivateKey=function(t){return vy(this._priv,t)};aa.prototype.getPrime=function(e){return vy(this.__prime,e)};aa.prototype.getGenerator=function(e){return vy(this._gen,e)};aa.prototype.setGenerator=function(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this.__gen=e,this._gen=new wi(e),this};function vy(e,t){var r=new Buffer(e.toArray());return t?r.toString(t):r}});var pP=x(Gc=>{var Bge=GS(),dP=fP(),YS=hP();function Ige(e){var t=new Buffer(dP[e].prime,"hex"),r=new Buffer(dP[e].gen,"hex");return new YS(t,r)}var bge={binary:!0,hex:!0,base64:!0};function gP(e,t,r,n){return Buffer.isBuffer(t)||bge[t]===void 0?gP(e,"binary",t,r):(t=t||"binary",n=n||"binary",r=r||new Buffer([2]),Buffer.isBuffer(r)||(r=new Buffer(r,n)),typeof e=="number"?new YS(Bge(e,r),r,!0):(Buffer.isBuffer(e)||(e=new Buffer(e,t)),new YS(e,r,!0)))}Gc.DiffieHellmanGroup=Gc.createDiffieHellmanGroup=Gc.getDiffieHellman=Ige;Gc.createDiffieHellman=Gc.DiffieHellman=gP});var Ry=x((EP,WS)=>{(function(e,t){"use strict";function r(b,c){if(!b)throw new Error(c||"Assertion failed")}function n(b,c){b.super_=c;var g=function(){};g.prototype=c.prototype,b.prototype=new g,b.prototype.constructor=b}function i(b,c,g){if(i.isBN(b))return b;this.negative=0,this.words=null,this.length=0,this.red=null,b!==null&&((c==="le"||c==="be")&&(g=c,c=10),this._init(b||0,c||10,g||"be"))}typeof e=="object"?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;var s;try{typeof window<"u"&&typeof window.Buffer<"u"?s=window.Buffer:s=Gr().Buffer}catch{}i.isBN=function(c){return c instanceof i?!0:c!==null&&typeof c=="object"&&c.constructor.wordSize===i.wordSize&&Array.isArray(c.words)},i.max=function(c,g){return c.cmp(g)>0?c:g},i.min=function(c,g){return c.cmp(g)<0?c:g},i.prototype._init=function(c,g,w){if(typeof c=="number")return this._initNumber(c,g,w);if(typeof c=="object")return this._initArray(c,g,w);g==="hex"&&(g=16),r(g===(g|0)&&g>=2&&g<=36),c=c.toString().replace(/\s+/g,"");var v=0;c[0]==="-"&&(v++,this.negative=1),v<c.length&&(g===16?this._parseHex(c,v,w):(this._parseBase(c,g,v),w==="le"&&this._initArray(this.toArray(),g,w)))},i.prototype._initNumber=function(c,g,w){c<0&&(this.negative=1,c=-c),c<67108864?(this.words=[c&67108863],this.length=1):c<4503599627370496?(this.words=[c&67108863,c/67108864&67108863],this.length=2):(r(c<9007199254740992),this.words=[c&67108863,c/67108864&67108863,1],this.length=3),w==="le"&&this._initArray(this.toArray(),g,w)},i.prototype._initArray=function(c,g,w){if(r(typeof c.length=="number"),c.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(c.length/3),this.words=new Array(this.length);for(var v=0;v<this.length;v++)this.words[v]=0;var C,h,D=0;if(w==="be")for(v=c.length-1,C=0;v>=0;v-=3)h=c[v]|c[v-1]<<8|c[v-2]<<16,this.words[C]|=h<<D&67108863,this.words[C+1]=h>>>26-D&67108863,D+=24,D>=26&&(D-=26,C++);else if(w==="le")for(v=0,C=0;v<c.length;v+=3)h=c[v]|c[v+1]<<8|c[v+2]<<16,this.words[C]|=h<<D&67108863,this.words[C+1]=h>>>26-D&67108863,D+=24,D>=26&&(D-=26,C++);return this._strip()};function o(b,c){var g=b.charCodeAt(c);if(g>=48&&g<=57)return g-48;if(g>=65&&g<=70)return g-55;if(g>=97&&g<=102)return g-87;r(!1,"Invalid character in "+b)}function a(b,c,g){var w=o(b,g);return g-1>=c&&(w|=o(b,g-1)<<4),w}i.prototype._parseHex=function(c,g,w){this.length=Math.ceil((c.length-g)/6),this.words=new Array(this.length);for(var v=0;v<this.length;v++)this.words[v]=0;var C=0,h=0,D;if(w==="be")for(v=c.length-1;v>=g;v-=2)D=a(c,g,v)<<C,this.words[h]|=D&67108863,C>=18?(C-=18,h+=1,this.words[h]|=D>>>26):C+=8;else{var M=c.length-g;for(v=M%2===0?g+1:g;v<c.length;v+=2)D=a(c,g,v)<<C,this.words[h]|=D&67108863,C>=18?(C-=18,h+=1,this.words[h]|=D>>>26):C+=8}this._strip()};function A(b,c,g,w){for(var v=0,C=0,h=Math.min(b.length,g),D=c;D<h;D++){var M=b.charCodeAt(D)-48;v*=w,M>=49?C=M-49+10:M>=17?C=M-17+10:C=M,r(M>=0&&C<w,"Invalid character"),v+=C}return v}i.prototype._parseBase=function(c,g,w){this.words=[0],this.length=1;for(var v=0,C=1;C<=67108863;C*=g)v++;v--,C=C/g|0;for(var h=c.length-w,D=h%v,M=Math.min(h,h-D)+w,I=0,k=w;k<M;k+=v)I=A(c,k,k+v,g),this.imuln(C),this.words[0]+I<67108864?this.words[0]+=I:this._iaddn(I);if(D!==0){var ne=1;for(I=A(c,k,c.length,g),k=0;k<D;k++)ne*=g;this.imuln(ne),this.words[0]+I<67108864?this.words[0]+=I:this._iaddn(I)}this._strip()},i.prototype.copy=function(c){c.words=new Array(this.length);for(var g=0;g<this.length;g++)c.words[g]=this.words[g];c.length=this.length,c.negative=this.negative,c.red=this.red};function f(b,c){b.words=c.words,b.length=c.length,b.negative=c.negative,b.red=c.red}if(i.prototype._move=function(c){f(c,this)},i.prototype.clone=function(){var c=new i(null);return this.copy(c),c},i.prototype._expand=function(c){for(;this.length<c;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch{i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var p=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],B=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],S=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(c,g){c=c||10,g=g|0||1;var w;if(c===16||c==="hex"){w="";for(var v=0,C=0,h=0;h<this.length;h++){var D=this.words[h],M=((D<<v|C)&16777215).toString(16);C=D>>>24-v&16777215,v+=2,v>=26&&(v-=26,h--),C!==0||h!==this.length-1?w=p[6-M.length]+M+w:w=M+w}for(C!==0&&(w=C.toString(16)+w);w.length%g!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}if(c===(c|0)&&c>=2&&c<=36){var I=B[c],k=S[c];w="";var ne=this.clone();for(ne.negative=0;!ne.isZero();){var Ae=ne.modrn(k).toString(c);ne=ne.idivn(k),ne.isZero()?w=Ae+w:w=p[I-Ae.length]+Ae+w}for(this.isZero()&&(w="0"+w);w.length%g!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var c=this.words[0];return this.length===2?c+=this.words[1]*67108864:this.length===3&&this.words[2]===1?c+=4503599627370496+this.words[1]*67108864:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-c:c},i.prototype.toJSON=function(){return this.toString(16,2)},s&&(i.prototype.toBuffer=function(c,g){return this.toArrayLike(s,c,g)}),i.prototype.toArray=function(c,g){return this.toArrayLike(Array,c,g)};var _=function(c,g){return c.allocUnsafe?c.allocUnsafe(g):new c(g)};i.prototype.toArrayLike=function(c,g,w){this._strip();var v=this.byteLength(),C=w||Math.max(1,v);r(v<=C,"byte array longer than desired length"),r(C>0,"Requested array length <= 0");var h=_(c,C),D=g==="le"?"LE":"BE";return this["_toArrayLike"+D](h,v),h},i.prototype._toArrayLikeLE=function(c,g){for(var w=0,v=0,C=0,h=0;C<this.length;C++){var D=this.words[C]<<h|v;c[w++]=D&255,w<c.length&&(c[w++]=D>>8&255),w<c.length&&(c[w++]=D>>16&255),h===6?(w<c.length&&(c[w++]=D>>24&255),v=0,h=0):(v=D>>>24,h+=2)}if(w<c.length)for(c[w++]=v;w<c.length;)c[w++]=0},i.prototype._toArrayLikeBE=function(c,g){for(var w=c.length-1,v=0,C=0,h=0;C<this.length;C++){var D=this.words[C]<<h|v;c[w--]=D&255,w>=0&&(c[w--]=D>>8&255),w>=0&&(c[w--]=D>>16&255),h===6?(w>=0&&(c[w--]=D>>24&255),v=0,h=0):(v=D>>>24,h+=2)}if(w>=0)for(c[w--]=v;w>=0;)c[w--]=0},Math.clz32?i.prototype._countBits=function(c){return 32-Math.clz32(c)}:i.prototype._countBits=function(c){var g=c,w=0;return g>=4096&&(w+=13,g>>>=13),g>=64&&(w+=7,g>>>=7),g>=8&&(w+=4,g>>>=4),g>=2&&(w+=2,g>>>=2),w+g},i.prototype._zeroBits=function(c){if(c===0)return 26;var g=c,w=0;return(g&8191)===0&&(w+=13,g>>>=13),(g&127)===0&&(w+=7,g>>>=7),(g&15)===0&&(w+=4,g>>>=4),(g&3)===0&&(w+=2,g>>>=2),(g&1)===0&&w++,w},i.prototype.bitLength=function(){var c=this.words[this.length-1],g=this._countBits(c);return(this.length-1)*26+g};function N(b){for(var c=new Array(b.bitLength()),g=0;g<c.length;g++){var w=g/26|0,v=g%26;c[g]=b.words[w]>>>v&1}return c}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var c=0,g=0;g<this.length;g++){var w=this._zeroBits(this.words[g]);if(c+=w,w!==26)break}return c},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(c){return this.negative!==0?this.abs().inotn(c).iaddn(1):this.clone()},i.prototype.fromTwos=function(c){return this.testn(c-1)?this.notn(c).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(c){for(;this.length<c.length;)this.words[this.length++]=0;for(var g=0;g<c.length;g++)this.words[g]=this.words[g]|c.words[g];return this._strip()},i.prototype.ior=function(c){return r((this.negative|c.negative)===0),this.iuor(c)},i.prototype.or=function(c){return this.length>c.length?this.clone().ior(c):c.clone().ior(this)},i.prototype.uor=function(c){return this.length>c.length?this.clone().iuor(c):c.clone().iuor(this)},i.prototype.iuand=function(c){var g;this.length>c.length?g=c:g=this;for(var w=0;w<g.length;w++)this.words[w]=this.words[w]&c.words[w];return this.length=g.length,this._strip()},i.prototype.iand=function(c){return r((this.negative|c.negative)===0),this.iuand(c)},i.prototype.and=function(c){return this.length>c.length?this.clone().iand(c):c.clone().iand(this)},i.prototype.uand=function(c){return this.length>c.length?this.clone().iuand(c):c.clone().iuand(this)},i.prototype.iuxor=function(c){var g,w;this.length>c.length?(g=this,w=c):(g=c,w=this);for(var v=0;v<w.length;v++)this.words[v]=g.words[v]^w.words[v];if(this!==g)for(;v<g.length;v++)this.words[v]=g.words[v];return this.length=g.length,this._strip()},i.prototype.ixor=function(c){return r((this.negative|c.negative)===0),this.iuxor(c)},i.prototype.xor=function(c){return this.length>c.length?this.clone().ixor(c):c.clone().ixor(this)},i.prototype.uxor=function(c){return this.length>c.length?this.clone().iuxor(c):c.clone().iuxor(this)},i.prototype.inotn=function(c){r(typeof c=="number"&&c>=0);var g=Math.ceil(c/26)|0,w=c%26;this._expand(g),w>0&&g--;for(var v=0;v<g;v++)this.words[v]=~this.words[v]&67108863;for(w>0&&(this.words[v]=~this.words[v]&67108863>>26-w,v++);v<this.length;v++)this.words[v]=0;return this._strip()},i.prototype.notn=function(c){return this.clone().inotn(c)},i.prototype.setn=function(c,g){r(typeof c=="number"&&c>=0);var w=c/26|0,v=c%26;return this._expand(w+1),g?this.words[w]=this.words[w]|1<<v:this.words[w]=this.words[w]&~(1<<v),this._strip()},i.prototype.iadd=function(c){var g;if(this.negative!==0&&c.negative===0)return this.negative=0,g=this.isub(c),this.negative^=1,this._normSign();if(this.negative===0&&c.negative!==0)return c.negative=0,g=this.isub(c),c.negative=1,g._normSign();var w,v;this.length>c.length?(w=this,v=c):(w=c,v=this);for(var C=0,h=0;h<v.length;h++)g=(w.words[h]|0)+(v.words[h]|0)+C,this.words[h]=g&67108863,C=g>>>26;for(;C!==0&&h<w.length;h++)g=(w.words[h]|0)+C,this.words[h]=g&67108863,C=g>>>26;if(this.length=w.length,C!==0)this.words[this.length]=C,this.length++;else if(w!==this)for(;h<w.length;h++)this.words[h]=w.words[h];return this},i.prototype.add=function(c){var g;return c.negative!==0&&this.negative===0?(c.negative=0,g=this.sub(c),c.negative^=1,g):c.negative===0&&this.negative!==0?(this.negative=0,g=c.sub(this),this.negative=1,g):this.length>c.length?this.clone().iadd(c):c.clone().iadd(this)},i.prototype.isub=function(c){if(c.negative!==0){c.negative=0;var g=this.iadd(c);return c.negative=1,g._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(c),this.negative=1,this._normSign();var w=this.cmp(c);if(w===0)return this.negative=0,this.length=1,this.words[0]=0,this;var v,C;w>0?(v=this,C=c):(v=c,C=this);for(var h=0,D=0;D<C.length;D++)g=(v.words[D]|0)-(C.words[D]|0)+h,h=g>>26,this.words[D]=g&67108863;for(;h!==0&&D<v.length;D++)g=(v.words[D]|0)+h,h=g>>26,this.words[D]=g&67108863;if(h===0&&D<v.length&&v!==this)for(;D<v.length;D++)this.words[D]=v.words[D];return this.length=Math.max(this.length,D),v!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(c){return this.clone().isub(c)};function P(b,c,g){g.negative=c.negative^b.negative;var w=b.length+c.length|0;g.length=w,w=w-1|0;var v=b.words[0]|0,C=c.words[0]|0,h=v*C,D=h&67108863,M=h/67108864|0;g.words[0]=D;for(var I=1;I<w;I++){for(var k=M>>>26,ne=M&67108863,Ae=Math.min(I,c.length-1),ue=Math.max(0,I-b.length+1);ue<=Ae;ue++){var pe=I-ue|0;v=b.words[pe]|0,C=c.words[ue]|0,h=v*C+ne,k+=h/67108864|0,ne=h&67108863}g.words[I]=ne|0,M=k|0}return M!==0?g.words[I]=M|0:g.length--,g._strip()}var U=function(c,g,w){var v=c.words,C=g.words,h=w.words,D=0,M,I,k,ne=v[0]|0,Ae=ne&8191,ue=ne>>>13,pe=v[1]|0,he=pe&8191,de=pe>>>13,wt=v[2]|0,Ie=wt&8191,be=wt>>>13,yr=v[3]|0,we=yr&8191,ve=yr>>>13,Fs=v[4]|0,Ye=Fs&8191,xe=Fs>>>13,ks=v[5]|0,Te=ks&8191,De=ks>>>13,en=v[6]|0,Re=en&8191,He=en>>>13,ai=v[7]|0,Ne=ai&8191,je=ai>>>13,F=v[8]|0,m=F&8191,Q=F>>>13,L=v[9]|0,W=L&8191,z=L>>>13,ae=C[0]|0,le=ae&8191,ye=ae>>>13,Ct=C[1]|0,Ee=Ct&8191,ge=Ct>>>13,La=C[2]|0,ze=La&8191,rt=La>>>13,ko=C[3]|0,$e=ko&8191,nt=ko>>>13,WA=C[4]|0,it=WA&8191,st=WA>>>13,Pa=C[5]|0,Ke=Pa&8191,Xe=Pa>>>13,VA=C[6]|0,Ue=VA&8191,et=VA>>>13,JA=C[7]|0,ot=JA&8191,Le=JA>>>13,hn=C[8]|0,Pe=hn&8191,Ze=hn>>>13,wn=C[9]|0,Pt=wn&8191,kt=wn>>>13;w.negative=c.negative^g.negative,w.length=19,M=Math.imul(Ae,le),I=Math.imul(Ae,ye),I=I+Math.imul(ue,le)|0,k=Math.imul(ue,ye);var xs=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(xs>>>26)|0,xs&=67108863,M=Math.imul(he,le),I=Math.imul(he,ye),I=I+Math.imul(de,le)|0,k=Math.imul(de,ye),M=M+Math.imul(Ae,Ee)|0,I=I+Math.imul(Ae,ge)|0,I=I+Math.imul(ue,Ee)|0,k=k+Math.imul(ue,ge)|0;var Ai=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,M=Math.imul(Ie,le),I=Math.imul(Ie,ye),I=I+Math.imul(be,le)|0,k=Math.imul(be,ye),M=M+Math.imul(he,Ee)|0,I=I+Math.imul(he,ge)|0,I=I+Math.imul(de,Ee)|0,k=k+Math.imul(de,ge)|0,M=M+Math.imul(Ae,ze)|0,I=I+Math.imul(Ae,rt)|0,I=I+Math.imul(ue,ze)|0,k=k+Math.imul(ue,rt)|0;var Us=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(Us>>>26)|0,Us&=67108863,M=Math.imul(we,le),I=Math.imul(we,ye),I=I+Math.imul(ve,le)|0,k=Math.imul(ve,ye),M=M+Math.imul(Ie,Ee)|0,I=I+Math.imul(Ie,ge)|0,I=I+Math.imul(be,Ee)|0,k=k+Math.imul(be,ge)|0,M=M+Math.imul(he,ze)|0,I=I+Math.imul(he,rt)|0,I=I+Math.imul(de,ze)|0,k=k+Math.imul(de,rt)|0,M=M+Math.imul(Ae,$e)|0,I=I+Math.imul(Ae,nt)|0,I=I+Math.imul(ue,$e)|0,k=k+Math.imul(ue,nt)|0;var Ls=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(Ls>>>26)|0,Ls&=67108863,M=Math.imul(Ye,le),I=Math.imul(Ye,ye),I=I+Math.imul(xe,le)|0,k=Math.imul(xe,ye),M=M+Math.imul(we,Ee)|0,I=I+Math.imul(we,ge)|0,I=I+Math.imul(ve,Ee)|0,k=k+Math.imul(ve,ge)|0,M=M+Math.imul(Ie,ze)|0,I=I+Math.imul(Ie,rt)|0,I=I+Math.imul(be,ze)|0,k=k+Math.imul(be,rt)|0,M=M+Math.imul(he,$e)|0,I=I+Math.imul(he,nt)|0,I=I+Math.imul(de,$e)|0,k=k+Math.imul(de,nt)|0,M=M+Math.imul(Ae,it)|0,I=I+Math.imul(Ae,st)|0,I=I+Math.imul(ue,it)|0,k=k+Math.imul(ue,st)|0;var Ps=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(Ps>>>26)|0,Ps&=67108863,M=Math.imul(Te,le),I=Math.imul(Te,ye),I=I+Math.imul(De,le)|0,k=Math.imul(De,ye),M=M+Math.imul(Ye,Ee)|0,I=I+Math.imul(Ye,ge)|0,I=I+Math.imul(xe,Ee)|0,k=k+Math.imul(xe,ge)|0,M=M+Math.imul(we,ze)|0,I=I+Math.imul(we,rt)|0,I=I+Math.imul(ve,ze)|0,k=k+Math.imul(ve,rt)|0,M=M+Math.imul(Ie,$e)|0,I=I+Math.imul(Ie,nt)|0,I=I+Math.imul(be,$e)|0,k=k+Math.imul(be,nt)|0,M=M+Math.imul(he,it)|0,I=I+Math.imul(he,st)|0,I=I+Math.imul(de,it)|0,k=k+Math.imul(de,st)|0,M=M+Math.imul(Ae,Ke)|0,I=I+Math.imul(Ae,Xe)|0,I=I+Math.imul(ue,Ke)|0,k=k+Math.imul(ue,Xe)|0;var Os=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(Os>>>26)|0,Os&=67108863,M=Math.imul(Re,le),I=Math.imul(Re,ye),I=I+Math.imul(He,le)|0,k=Math.imul(He,ye),M=M+Math.imul(Te,Ee)|0,I=I+Math.imul(Te,ge)|0,I=I+Math.imul(De,Ee)|0,k=k+Math.imul(De,ge)|0,M=M+Math.imul(Ye,ze)|0,I=I+Math.imul(Ye,rt)|0,I=I+Math.imul(xe,ze)|0,k=k+Math.imul(xe,rt)|0,M=M+Math.imul(we,$e)|0,I=I+Math.imul(we,nt)|0,I=I+Math.imul(ve,$e)|0,k=k+Math.imul(ve,nt)|0,M=M+Math.imul(Ie,it)|0,I=I+Math.imul(Ie,st)|0,I=I+Math.imul(be,it)|0,k=k+Math.imul(be,st)|0,M=M+Math.imul(he,Ke)|0,I=I+Math.imul(he,Xe)|0,I=I+Math.imul(de,Ke)|0,k=k+Math.imul(de,Xe)|0,M=M+Math.imul(Ae,Ue)|0,I=I+Math.imul(Ae,et)|0,I=I+Math.imul(ue,Ue)|0,k=k+Math.imul(ue,et)|0;var Hs=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(Hs>>>26)|0,Hs&=67108863,M=Math.imul(Ne,le),I=Math.imul(Ne,ye),I=I+Math.imul(je,le)|0,k=Math.imul(je,ye),M=M+Math.imul(Re,Ee)|0,I=I+Math.imul(Re,ge)|0,I=I+Math.imul(He,Ee)|0,k=k+Math.imul(He,ge)|0,M=M+Math.imul(Te,ze)|0,I=I+Math.imul(Te,rt)|0,I=I+Math.imul(De,ze)|0,k=k+Math.imul(De,rt)|0,M=M+Math.imul(Ye,$e)|0,I=I+Math.imul(Ye,nt)|0,I=I+Math.imul(xe,$e)|0,k=k+Math.imul(xe,nt)|0,M=M+Math.imul(we,it)|0,I=I+Math.imul(we,st)|0,I=I+Math.imul(ve,it)|0,k=k+Math.imul(ve,st)|0,M=M+Math.imul(Ie,Ke)|0,I=I+Math.imul(Ie,Xe)|0,I=I+Math.imul(be,Ke)|0,k=k+Math.imul(be,Xe)|0,M=M+Math.imul(he,Ue)|0,I=I+Math.imul(he,et)|0,I=I+Math.imul(de,Ue)|0,k=k+Math.imul(de,et)|0,M=M+Math.imul(Ae,ot)|0,I=I+Math.imul(Ae,Le)|0,I=I+Math.imul(ue,ot)|0,k=k+Math.imul(ue,Le)|0;var ji=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(ji>>>26)|0,ji&=67108863,M=Math.imul(m,le),I=Math.imul(m,ye),I=I+Math.imul(Q,le)|0,k=Math.imul(Q,ye),M=M+Math.imul(Ne,Ee)|0,I=I+Math.imul(Ne,ge)|0,I=I+Math.imul(je,Ee)|0,k=k+Math.imul(je,ge)|0,M=M+Math.imul(Re,ze)|0,I=I+Math.imul(Re,rt)|0,I=I+Math.imul(He,ze)|0,k=k+Math.imul(He,rt)|0,M=M+Math.imul(Te,$e)|0,I=I+Math.imul(Te,nt)|0,I=I+Math.imul(De,$e)|0,k=k+Math.imul(De,nt)|0,M=M+Math.imul(Ye,it)|0,I=I+Math.imul(Ye,st)|0,I=I+Math.imul(xe,it)|0,k=k+Math.imul(xe,st)|0,M=M+Math.imul(we,Ke)|0,I=I+Math.imul(we,Xe)|0,I=I+Math.imul(ve,Ke)|0,k=k+Math.imul(ve,Xe)|0,M=M+Math.imul(Ie,Ue)|0,I=I+Math.imul(Ie,et)|0,I=I+Math.imul(be,Ue)|0,k=k+Math.imul(be,et)|0,M=M+Math.imul(he,ot)|0,I=I+Math.imul(he,Le)|0,I=I+Math.imul(de,ot)|0,k=k+Math.imul(de,Le)|0,M=M+Math.imul(Ae,Pe)|0,I=I+Math.imul(Ae,Ze)|0,I=I+Math.imul(ue,Pe)|0,k=k+Math.imul(ue,Ze)|0;var zi=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(zi>>>26)|0,zi&=67108863,M=Math.imul(W,le),I=Math.imul(W,ye),I=I+Math.imul(z,le)|0,k=Math.imul(z,ye),M=M+Math.imul(m,Ee)|0,I=I+Math.imul(m,ge)|0,I=I+Math.imul(Q,Ee)|0,k=k+Math.imul(Q,ge)|0,M=M+Math.imul(Ne,ze)|0,I=I+Math.imul(Ne,rt)|0,I=I+Math.imul(je,ze)|0,k=k+Math.imul(je,rt)|0,M=M+Math.imul(Re,$e)|0,I=I+Math.imul(Re,nt)|0,I=I+Math.imul(He,$e)|0,k=k+Math.imul(He,nt)|0,M=M+Math.imul(Te,it)|0,I=I+Math.imul(Te,st)|0,I=I+Math.imul(De,it)|0,k=k+Math.imul(De,st)|0,M=M+Math.imul(Ye,Ke)|0,I=I+Math.imul(Ye,Xe)|0,I=I+Math.imul(xe,Ke)|0,k=k+Math.imul(xe,Xe)|0,M=M+Math.imul(we,Ue)|0,I=I+Math.imul(we,et)|0,I=I+Math.imul(ve,Ue)|0,k=k+Math.imul(ve,et)|0,M=M+Math.imul(Ie,ot)|0,I=I+Math.imul(Ie,Le)|0,I=I+Math.imul(be,ot)|0,k=k+Math.imul(be,Le)|0,M=M+Math.imul(he,Pe)|0,I=I+Math.imul(he,Ze)|0,I=I+Math.imul(de,Pe)|0,k=k+Math.imul(de,Ze)|0,M=M+Math.imul(Ae,Pt)|0,I=I+Math.imul(Ae,kt)|0,I=I+Math.imul(ue,Pt)|0,k=k+Math.imul(ue,kt)|0;var xo=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(xo>>>26)|0,xo&=67108863,M=Math.imul(W,Ee),I=Math.imul(W,ge),I=I+Math.imul(z,Ee)|0,k=Math.imul(z,ge),M=M+Math.imul(m,ze)|0,I=I+Math.imul(m,rt)|0,I=I+Math.imul(Q,ze)|0,k=k+Math.imul(Q,rt)|0,M=M+Math.imul(Ne,$e)|0,I=I+Math.imul(Ne,nt)|0,I=I+Math.imul(je,$e)|0,k=k+Math.imul(je,nt)|0,M=M+Math.imul(Re,it)|0,I=I+Math.imul(Re,st)|0,I=I+Math.imul(He,it)|0,k=k+Math.imul(He,st)|0,M=M+Math.imul(Te,Ke)|0,I=I+Math.imul(Te,Xe)|0,I=I+Math.imul(De,Ke)|0,k=k+Math.imul(De,Xe)|0,M=M+Math.imul(Ye,Ue)|0,I=I+Math.imul(Ye,et)|0,I=I+Math.imul(xe,Ue)|0,k=k+Math.imul(xe,et)|0,M=M+Math.imul(we,ot)|0,I=I+Math.imul(we,Le)|0,I=I+Math.imul(ve,ot)|0,k=k+Math.imul(ve,Le)|0,M=M+Math.imul(Ie,Pe)|0,I=I+Math.imul(Ie,Ze)|0,I=I+Math.imul(be,Pe)|0,k=k+Math.imul(be,Ze)|0,M=M+Math.imul(he,Pt)|0,I=I+Math.imul(he,kt)|0,I=I+Math.imul(de,Pt)|0,k=k+Math.imul(de,kt)|0;var Uo=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(Uo>>>26)|0,Uo&=67108863,M=Math.imul(W,ze),I=Math.imul(W,rt),I=I+Math.imul(z,ze)|0,k=Math.imul(z,rt),M=M+Math.imul(m,$e)|0,I=I+Math.imul(m,nt)|0,I=I+Math.imul(Q,$e)|0,k=k+Math.imul(Q,nt)|0,M=M+Math.imul(Ne,it)|0,I=I+Math.imul(Ne,st)|0,I=I+Math.imul(je,it)|0,k=k+Math.imul(je,st)|0,M=M+Math.imul(Re,Ke)|0,I=I+Math.imul(Re,Xe)|0,I=I+Math.imul(He,Ke)|0,k=k+Math.imul(He,Xe)|0,M=M+Math.imul(Te,Ue)|0,I=I+Math.imul(Te,et)|0,I=I+Math.imul(De,Ue)|0,k=k+Math.imul(De,et)|0,M=M+Math.imul(Ye,ot)|0,I=I+Math.imul(Ye,Le)|0,I=I+Math.imul(xe,ot)|0,k=k+Math.imul(xe,Le)|0,M=M+Math.imul(we,Pe)|0,I=I+Math.imul(we,Ze)|0,I=I+Math.imul(ve,Pe)|0,k=k+Math.imul(ve,Ze)|0,M=M+Math.imul(Ie,Pt)|0,I=I+Math.imul(Ie,kt)|0,I=I+Math.imul(be,Pt)|0,k=k+Math.imul(be,kt)|0;var Lo=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(Lo>>>26)|0,Lo&=67108863,M=Math.imul(W,$e),I=Math.imul(W,nt),I=I+Math.imul(z,$e)|0,k=Math.imul(z,nt),M=M+Math.imul(m,it)|0,I=I+Math.imul(m,st)|0,I=I+Math.imul(Q,it)|0,k=k+Math.imul(Q,st)|0,M=M+Math.imul(Ne,Ke)|0,I=I+Math.imul(Ne,Xe)|0,I=I+Math.imul(je,Ke)|0,k=k+Math.imul(je,Xe)|0,M=M+Math.imul(Re,Ue)|0,I=I+Math.imul(Re,et)|0,I=I+Math.imul(He,Ue)|0,k=k+Math.imul(He,et)|0,M=M+Math.imul(Te,ot)|0,I=I+Math.imul(Te,Le)|0,I=I+Math.imul(De,ot)|0,k=k+Math.imul(De,Le)|0,M=M+Math.imul(Ye,Pe)|0,I=I+Math.imul(Ye,Ze)|0,I=I+Math.imul(xe,Pe)|0,k=k+Math.imul(xe,Ze)|0,M=M+Math.imul(we,Pt)|0,I=I+Math.imul(we,kt)|0,I=I+Math.imul(ve,Pt)|0,k=k+Math.imul(ve,kt)|0;var Po=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(Po>>>26)|0,Po&=67108863,M=Math.imul(W,it),I=Math.imul(W,st),I=I+Math.imul(z,it)|0,k=Math.imul(z,st),M=M+Math.imul(m,Ke)|0,I=I+Math.imul(m,Xe)|0,I=I+Math.imul(Q,Ke)|0,k=k+Math.imul(Q,Xe)|0,M=M+Math.imul(Ne,Ue)|0,I=I+Math.imul(Ne,et)|0,I=I+Math.imul(je,Ue)|0,k=k+Math.imul(je,et)|0,M=M+Math.imul(Re,ot)|0,I=I+Math.imul(Re,Le)|0,I=I+Math.imul(He,ot)|0,k=k+Math.imul(He,Le)|0,M=M+Math.imul(Te,Pe)|0,I=I+Math.imul(Te,Ze)|0,I=I+Math.imul(De,Pe)|0,k=k+Math.imul(De,Ze)|0,M=M+Math.imul(Ye,Pt)|0,I=I+Math.imul(Ye,kt)|0,I=I+Math.imul(xe,Pt)|0,k=k+Math.imul(xe,kt)|0;var qs=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(qs>>>26)|0,qs&=67108863,M=Math.imul(W,Ke),I=Math.imul(W,Xe),I=I+Math.imul(z,Ke)|0,k=Math.imul(z,Xe),M=M+Math.imul(m,Ue)|0,I=I+Math.imul(m,et)|0,I=I+Math.imul(Q,Ue)|0,k=k+Math.imul(Q,et)|0,M=M+Math.imul(Ne,ot)|0,I=I+Math.imul(Ne,Le)|0,I=I+Math.imul(je,ot)|0,k=k+Math.imul(je,Le)|0,M=M+Math.imul(Re,Pe)|0,I=I+Math.imul(Re,Ze)|0,I=I+Math.imul(He,Pe)|0,k=k+Math.imul(He,Ze)|0,M=M+Math.imul(Te,Pt)|0,I=I+Math.imul(Te,kt)|0,I=I+Math.imul(De,Pt)|0,k=k+Math.imul(De,kt)|0;var Sn=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(Sn>>>26)|0,Sn&=67108863,M=Math.imul(W,Ue),I=Math.imul(W,et),I=I+Math.imul(z,Ue)|0,k=Math.imul(z,et),M=M+Math.imul(m,ot)|0,I=I+Math.imul(m,Le)|0,I=I+Math.imul(Q,ot)|0,k=k+Math.imul(Q,Le)|0,M=M+Math.imul(Ne,Pe)|0,I=I+Math.imul(Ne,Ze)|0,I=I+Math.imul(je,Pe)|0,k=k+Math.imul(je,Ze)|0,M=M+Math.imul(Re,Pt)|0,I=I+Math.imul(Re,kt)|0,I=I+Math.imul(He,Pt)|0,k=k+Math.imul(He,kt)|0;var Oo=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(Oo>>>26)|0,Oo&=67108863,M=Math.imul(W,ot),I=Math.imul(W,Le),I=I+Math.imul(z,ot)|0,k=Math.imul(z,Le),M=M+Math.imul(m,Pe)|0,I=I+Math.imul(m,Ze)|0,I=I+Math.imul(Q,Pe)|0,k=k+Math.imul(Q,Ze)|0,M=M+Math.imul(Ne,Pt)|0,I=I+Math.imul(Ne,kt)|0,I=I+Math.imul(je,Pt)|0,k=k+Math.imul(je,kt)|0;var Oa=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(Oa>>>26)|0,Oa&=67108863,M=Math.imul(W,Pe),I=Math.imul(W,Ze),I=I+Math.imul(z,Pe)|0,k=Math.imul(z,Ze),M=M+Math.imul(m,Pt)|0,I=I+Math.imul(m,kt)|0,I=I+Math.imul(Q,Pt)|0,k=k+Math.imul(Q,kt)|0;var Ho=(D+M|0)+((I&8191)<<13)|0;D=(k+(I>>>13)|0)+(Ho>>>26)|0,Ho&=67108863,M=Math.imul(W,Pt),I=Math.imul(W,kt),I=I+Math.imul(z,Pt)|0,k=Math.imul(z,kt);var Ha=(D+M|0)+((I&8191)<<13)|0;return D=(k+(I>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,h[0]=xs,h[1]=Ai,h[2]=Us,h[3]=Ls,h[4]=Ps,h[5]=Os,h[6]=Hs,h[7]=ji,h[8]=zi,h[9]=xo,h[10]=Uo,h[11]=Lo,h[12]=Po,h[13]=qs,h[14]=Sn,h[15]=Oo,h[16]=Oa,h[17]=Ho,h[18]=Ha,D!==0&&(h[19]=D,w.length++),w};Math.imul||(U=P);function G(b,c,g){g.negative=c.negative^b.negative,g.length=b.length+c.length;for(var w=0,v=0,C=0;C<g.length-1;C++){var h=v;v=0;for(var D=w&67108863,M=Math.min(C,c.length-1),I=Math.max(0,C-b.length+1);I<=M;I++){var k=C-I,ne=b.words[k]|0,Ae=c.words[I]|0,ue=ne*Ae,pe=ue&67108863;h=h+(ue/67108864|0)|0,pe=pe+D|0,D=pe&67108863,h=h+(pe>>>26)|0,v+=h>>>26,h&=67108863}g.words[C]=D,w=h,h=v}return w!==0?g.words[C]=w:g.length--,g._strip()}function Y(b,c,g){return G(b,c,g)}i.prototype.mulTo=function(c,g){var w,v=this.length+c.length;return this.length===10&&c.length===10?w=U(this,c,g):v<63?w=P(this,c,g):v<1024?w=G(this,c,g):w=Y(this,c,g),w};function Z(b,c){this.x=b,this.y=c}Z.prototype.makeRBT=function(c){for(var g=new Array(c),w=i.prototype._countBits(c)-1,v=0;v<c;v++)g[v]=this.revBin(v,w,c);return g},Z.prototype.revBin=function(c,g,w){if(c===0||c===w-1)return c;for(var v=0,C=0;C<g;C++)v|=(c&1)<<g-C-1,c>>=1;return v},Z.prototype.permute=function(c,g,w,v,C,h){for(var D=0;D<h;D++)v[D]=g[c[D]],C[D]=w[c[D]]},Z.prototype.transform=function(c,g,w,v,C,h){this.permute(h,c,g,w,v,C);for(var D=1;D<C;D<<=1)for(var M=D<<1,I=Math.cos(2*Math.PI/M),k=Math.sin(2*Math.PI/M),ne=0;ne<C;ne+=M)for(var Ae=I,ue=k,pe=0;pe<D;pe++){var he=w[ne+pe],de=v[ne+pe],wt=w[ne+pe+D],Ie=v[ne+pe+D],be=Ae*wt-ue*Ie;Ie=Ae*Ie+ue*wt,wt=be,w[ne+pe]=he+wt,v[ne+pe]=de+Ie,w[ne+pe+D]=he-wt,v[ne+pe+D]=de-Ie,pe!==M&&(be=I*Ae-k*ue,ue=I*ue+k*Ae,Ae=be)}},Z.prototype.guessLen13b=function(c,g){var w=Math.max(g,c)|1,v=w&1,C=0;for(w=w/2|0;w;w=w>>>1)C++;return 1<<C+1+v},Z.prototype.conjugate=function(c,g,w){if(!(w<=1))for(var v=0;v<w/2;v++){var C=c[v];c[v]=c[w-v-1],c[w-v-1]=C,C=g[v],g[v]=-g[w-v-1],g[w-v-1]=-C}},Z.prototype.normalize13b=function(c,g){for(var w=0,v=0;v<g/2;v++){var C=Math.round(c[2*v+1]/g)*8192+Math.round(c[2*v]/g)+w;c[v]=C&67108863,C<67108864?w=0:w=C/67108864|0}return c},Z.prototype.convert13b=function(c,g,w,v){for(var C=0,h=0;h<g;h++)C=C+(c[h]|0),w[2*h]=C&8191,C=C>>>13,w[2*h+1]=C&8191,C=C>>>13;for(h=2*g;h<v;++h)w[h]=0;r(C===0),r((C&-8192)===0)},Z.prototype.stub=function(c){for(var g=new Array(c),w=0;w<c;w++)g[w]=0;return g},Z.prototype.mulp=function(c,g,w){var v=2*this.guessLen13b(c.length,g.length),C=this.makeRBT(v),h=this.stub(v),D=new Array(v),M=new Array(v),I=new Array(v),k=new Array(v),ne=new Array(v),Ae=new Array(v),ue=w.words;ue.length=v,this.convert13b(c.words,c.length,D,v),this.convert13b(g.words,g.length,k,v),this.transform(D,h,M,I,v,C),this.transform(k,h,ne,Ae,v,C);for(var pe=0;pe<v;pe++){var he=M[pe]*ne[pe]-I[pe]*Ae[pe];I[pe]=M[pe]*Ae[pe]+I[pe]*ne[pe],M[pe]=he}return this.conjugate(M,I,v),this.transform(M,I,ue,h,v,C),this.conjugate(ue,h,v),this.normalize13b(ue,v),w.negative=c.negative^g.negative,w.length=c.length+g.length,w._strip()},i.prototype.mul=function(c){var g=new i(null);return g.words=new Array(this.length+c.length),this.mulTo(c,g)},i.prototype.mulf=function(c){var g=new i(null);return g.words=new Array(this.length+c.length),Y(this,c,g)},i.prototype.imul=function(c){return this.clone().mulTo(c,this)},i.prototype.imuln=function(c){var g=c<0;g&&(c=-c),r(typeof c=="number"),r(c<67108864);for(var w=0,v=0;v<this.length;v++){var C=(this.words[v]|0)*c,h=(C&67108863)+(w&67108863);w>>=26,w+=C/67108864|0,w+=h>>>26,this.words[v]=h&67108863}return w!==0&&(this.words[v]=w,this.length++),this.length=c===0?1:this.length,g?this.ineg():this},i.prototype.muln=function(c){return this.clone().imuln(c)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(c){var g=N(c);if(g.length===0)return new i(1);for(var w=this,v=0;v<g.length&&g[v]===0;v++,w=w.sqr());if(++v<g.length)for(var C=w.sqr();v<g.length;v++,C=C.sqr())g[v]!==0&&(w=w.mul(C));return w},i.prototype.iushln=function(c){r(typeof c=="number"&&c>=0);var g=c%26,w=(c-g)/26,v=67108863>>>26-g<<26-g,C;if(g!==0){var h=0;for(C=0;C<this.length;C++){var D=this.words[C]&v,M=(this.words[C]|0)-D<<g;this.words[C]=M|h,h=D>>>26-g}h&&(this.words[C]=h,this.length++)}if(w!==0){for(C=this.length-1;C>=0;C--)this.words[C+w]=this.words[C];for(C=0;C<w;C++)this.words[C]=0;this.length+=w}return this._strip()},i.prototype.ishln=function(c){return r(this.negative===0),this.iushln(c)},i.prototype.iushrn=function(c,g,w){r(typeof c=="number"&&c>=0);var v;g?v=(g-g%26)/26:v=0;var C=c%26,h=Math.min((c-C)/26,this.length),D=67108863^67108863>>>C<<C,M=w;if(v-=h,v=Math.max(0,v),M){for(var I=0;I<h;I++)M.words[I]=this.words[I];M.length=h}if(h!==0)if(this.length>h)for(this.length-=h,I=0;I<this.length;I++)this.words[I]=this.words[I+h];else this.words[0]=0,this.length=1;var k=0;for(I=this.length-1;I>=0&&(k!==0||I>=v);I--){var ne=this.words[I]|0;this.words[I]=k<<26-C|ne>>>C,k=ne&D}return M&&k!==0&&(M.words[M.length++]=k),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(c,g,w){return r(this.negative===0),this.iushrn(c,g,w)},i.prototype.shln=function(c){return this.clone().ishln(c)},i.prototype.ushln=function(c){return this.clone().iushln(c)},i.prototype.shrn=function(c){return this.clone().ishrn(c)},i.prototype.ushrn=function(c){return this.clone().iushrn(c)},i.prototype.testn=function(c){r(typeof c=="number"&&c>=0);var g=c%26,w=(c-g)/26,v=1<<g;if(this.length<=w)return!1;var C=this.words[w];return!!(C&v)},i.prototype.imaskn=function(c){r(typeof c=="number"&&c>=0);var g=c%26,w=(c-g)/26;if(r(this.negative===0,"imaskn works only with positive numbers"),this.length<=w)return this;if(g!==0&&w++,this.length=Math.min(w,this.length),g!==0){var v=67108863^67108863>>>g<<g;this.words[this.length-1]&=v}return this.length===0&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.maskn=function(c){return this.clone().imaskn(c)},i.prototype.iaddn=function(c){return r(typeof c=="number"),r(c<67108864),c<0?this.isubn(-c):this.negative!==0?this.length===1&&(this.words[0]|0)<=c?(this.words[0]=c-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(c),this.negative=1,this):this._iaddn(c)},i.prototype._iaddn=function(c){this.words[0]+=c;for(var g=0;g<this.length&&this.words[g]>=67108864;g++)this.words[g]-=67108864,g===this.length-1?this.words[g+1]=1:this.words[g+1]++;return this.length=Math.max(this.length,g+1),this},i.prototype.isubn=function(c){if(r(typeof c=="number"),r(c<67108864),c<0)return this.iaddn(-c);if(this.negative!==0)return this.negative=0,this.iaddn(c),this.negative=1,this;if(this.words[0]-=c,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var g=0;g<this.length&&this.words[g]<0;g++)this.words[g]+=67108864,this.words[g+1]-=1;return this._strip()},i.prototype.addn=function(c){return this.clone().iaddn(c)},i.prototype.subn=function(c){return this.clone().isubn(c)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(c,g,w){var v=c.length+w,C;this._expand(v);var h,D=0;for(C=0;C<c.length;C++){h=(this.words[C+w]|0)+D;var M=(c.words[C]|0)*g;h-=M&67108863,D=(h>>26)-(M/67108864|0),this.words[C+w]=h&67108863}for(;C<this.length-w;C++)h=(this.words[C+w]|0)+D,D=h>>26,this.words[C+w]=h&67108863;if(D===0)return this._strip();for(r(D===-1),D=0,C=0;C<this.length;C++)h=-(this.words[C]|0)+D,D=h>>26,this.words[C]=h&67108863;return this.negative=1,this._strip()},i.prototype._wordDiv=function(c,g){var w=this.length-c.length,v=this.clone(),C=c,h=C.words[C.length-1]|0,D=this._countBits(h);w=26-D,w!==0&&(C=C.ushln(w),v.iushln(w),h=C.words[C.length-1]|0);var M=v.length-C.length,I;if(g!=="mod"){I=new i(null),I.length=M+1,I.words=new Array(I.length);for(var k=0;k<I.length;k++)I.words[k]=0}var ne=v.clone()._ishlnsubmul(C,1,M);ne.negative===0&&(v=ne,I&&(I.words[M]=1));for(var Ae=M-1;Ae>=0;Ae--){var ue=(v.words[C.length+Ae]|0)*67108864+(v.words[C.length+Ae-1]|0);for(ue=Math.min(ue/h|0,67108863),v._ishlnsubmul(C,ue,Ae);v.negative!==0;)ue--,v.negative=0,v._ishlnsubmul(C,1,Ae),v.isZero()||(v.negative^=1);I&&(I.words[Ae]=ue)}return I&&I._strip(),v._strip(),g!=="div"&&w!==0&&v.iushrn(w),{div:I||null,mod:v}},i.prototype.divmod=function(c,g,w){if(r(!c.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var v,C,h;return this.negative!==0&&c.negative===0?(h=this.neg().divmod(c,g),g!=="mod"&&(v=h.div.neg()),g!=="div"&&(C=h.mod.neg(),w&&C.negative!==0&&C.iadd(c)),{div:v,mod:C}):this.negative===0&&c.negative!==0?(h=this.divmod(c.neg(),g),g!=="mod"&&(v=h.div.neg()),{div:v,mod:h.mod}):(this.negative&c.negative)!==0?(h=this.neg().divmod(c.neg(),g),g!=="div"&&(C=h.mod.neg(),w&&C.negative!==0&&C.isub(c)),{div:h.div,mod:C}):c.length>this.length||this.cmp(c)<0?{div:new i(0),mod:this}:c.length===1?g==="div"?{div:this.divn(c.words[0]),mod:null}:g==="mod"?{div:null,mod:new i(this.modrn(c.words[0]))}:{div:this.divn(c.words[0]),mod:new i(this.modrn(c.words[0]))}:this._wordDiv(c,g)},i.prototype.div=function(c){return this.divmod(c,"div",!1).div},i.prototype.mod=function(c){return this.divmod(c,"mod",!1).mod},i.prototype.umod=function(c){return this.divmod(c,"mod",!0).mod},i.prototype.divRound=function(c){var g=this.divmod(c);if(g.mod.isZero())return g.div;var w=g.div.negative!==0?g.mod.isub(c):g.mod,v=c.ushrn(1),C=c.andln(1),h=w.cmp(v);return h<0||C===1&&h===0?g.div:g.div.negative!==0?g.div.isubn(1):g.div.iaddn(1)},i.prototype.modrn=function(c){var g=c<0;g&&(c=-c),r(c<=67108863);for(var w=(1<<26)%c,v=0,C=this.length-1;C>=0;C--)v=(w*v+(this.words[C]|0))%c;return g?-v:v},i.prototype.modn=function(c){return this.modrn(c)},i.prototype.idivn=function(c){var g=c<0;g&&(c=-c),r(c<=67108863);for(var w=0,v=this.length-1;v>=0;v--){var C=(this.words[v]|0)+w*67108864;this.words[v]=C/c|0,w=C%c}return this._strip(),g?this.ineg():this},i.prototype.divn=function(c){return this.clone().idivn(c)},i.prototype.egcd=function(c){r(c.negative===0),r(!c.isZero());var g=this,w=c.clone();g.negative!==0?g=g.umod(c):g=g.clone();for(var v=new i(1),C=new i(0),h=new i(0),D=new i(1),M=0;g.isEven()&&w.isEven();)g.iushrn(1),w.iushrn(1),++M;for(var I=w.clone(),k=g.clone();!g.isZero();){for(var ne=0,Ae=1;(g.words[0]&Ae)===0&&ne<26;++ne,Ae<<=1);if(ne>0)for(g.iushrn(ne);ne-- >0;)(v.isOdd()||C.isOdd())&&(v.iadd(I),C.isub(k)),v.iushrn(1),C.iushrn(1);for(var ue=0,pe=1;(w.words[0]&pe)===0&&ue<26;++ue,pe<<=1);if(ue>0)for(w.iushrn(ue);ue-- >0;)(h.isOdd()||D.isOdd())&&(h.iadd(I),D.isub(k)),h.iushrn(1),D.iushrn(1);g.cmp(w)>=0?(g.isub(w),v.isub(h),C.isub(D)):(w.isub(g),h.isub(v),D.isub(C))}return{a:h,b:D,gcd:w.iushln(M)}},i.prototype._invmp=function(c){r(c.negative===0),r(!c.isZero());var g=this,w=c.clone();g.negative!==0?g=g.umod(c):g=g.clone();for(var v=new i(1),C=new i(0),h=w.clone();g.cmpn(1)>0&&w.cmpn(1)>0;){for(var D=0,M=1;(g.words[0]&M)===0&&D<26;++D,M<<=1);if(D>0)for(g.iushrn(D);D-- >0;)v.isOdd()&&v.iadd(h),v.iushrn(1);for(var I=0,k=1;(w.words[0]&k)===0&&I<26;++I,k<<=1);if(I>0)for(w.iushrn(I);I-- >0;)C.isOdd()&&C.iadd(h),C.iushrn(1);g.cmp(w)>=0?(g.isub(w),v.isub(C)):(w.isub(g),C.isub(v))}var ne;return g.cmpn(1)===0?ne=v:ne=C,ne.cmpn(0)<0&&ne.iadd(c),ne},i.prototype.gcd=function(c){if(this.isZero())return c.abs();if(c.isZero())return this.abs();var g=this.clone(),w=c.clone();g.negative=0,w.negative=0;for(var v=0;g.isEven()&&w.isEven();v++)g.iushrn(1),w.iushrn(1);do{for(;g.isEven();)g.iushrn(1);for(;w.isEven();)w.iushrn(1);var C=g.cmp(w);if(C<0){var h=g;g=w,w=h}else if(C===0||w.cmpn(1)===0)break;g.isub(w)}while(!0);return w.iushln(v)},i.prototype.invm=function(c){return this.egcd(c).a.umod(c)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(c){return this.words[0]&c},i.prototype.bincn=function(c){r(typeof c=="number");var g=c%26,w=(c-g)/26,v=1<<g;if(this.length<=w)return this._expand(w+1),this.words[w]|=v,this;for(var C=v,h=w;C!==0&&h<this.length;h++){var D=this.words[h]|0;D+=C,C=D>>>26,D&=67108863,this.words[h]=D}return C!==0&&(this.words[h]=C,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(c){var g=c<0;if(this.negative!==0&&!g)return-1;if(this.negative===0&&g)return 1;this._strip();var w;if(this.length>1)w=1;else{g&&(c=-c),r(c<=67108863,"Number is too big");var v=this.words[0]|0;w=v===c?0:v<c?-1:1}return this.negative!==0?-w|0:w},i.prototype.cmp=function(c){if(this.negative!==0&&c.negative===0)return-1;if(this.negative===0&&c.negative!==0)return 1;var g=this.ucmp(c);return this.negative!==0?-g|0:g},i.prototype.ucmp=function(c){if(this.length>c.length)return 1;if(this.length<c.length)return-1;for(var g=0,w=this.length-1;w>=0;w--){var v=this.words[w]|0,C=c.words[w]|0;if(v!==C){v<C?g=-1:v>C&&(g=1);break}}return g},i.prototype.gtn=function(c){return this.cmpn(c)===1},i.prototype.gt=function(c){return this.cmp(c)===1},i.prototype.gten=function(c){return this.cmpn(c)>=0},i.prototype.gte=function(c){return this.cmp(c)>=0},i.prototype.ltn=function(c){return this.cmpn(c)===-1},i.prototype.lt=function(c){return this.cmp(c)===-1},i.prototype.lten=function(c){return this.cmpn(c)<=0},i.prototype.lte=function(c){return this.cmp(c)<=0},i.prototype.eqn=function(c){return this.cmpn(c)===0},i.prototype.eq=function(c){return this.cmp(c)===0},i.red=function(c){return new E(c)},i.prototype.toRed=function(c){return r(!this.red,"Already a number in reduction context"),r(this.negative===0,"red works only with positives"),c.convertTo(this)._forceRed(c)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(c){return this.red=c,this},i.prototype.forceRed=function(c){return r(!this.red,"Already a number in reduction context"),this._forceRed(c)},i.prototype.redAdd=function(c){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,c)},i.prototype.redIAdd=function(c){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,c)},i.prototype.redSub=function(c){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,c)},i.prototype.redISub=function(c){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,c)},i.prototype.redShl=function(c){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,c)},i.prototype.redMul=function(c){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,c),this.red.mul(this,c)},i.prototype.redIMul=function(c){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,c),this.red.imul(this,c)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(c){return r(this.red&&!c.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,c)};var ee={k256:null,p224:null,p192:null,p25519:null};function j(b,c){this.name=b,this.p=new i(c,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}j.prototype._tmp=function(){var c=new i(null);return c.words=new Array(Math.ceil(this.n/13)),c},j.prototype.ireduce=function(c){var g=c,w;do this.split(g,this.tmp),g=this.imulK(g),g=g.iadd(this.tmp),w=g.bitLength();while(w>this.n);var v=w<this.n?-1:g.ucmp(this.p);return v===0?(g.words[0]=0,g.length=1):v>0?g.isub(this.p):g.strip!==void 0?g.strip():g._strip(),g},j.prototype.split=function(c,g){c.iushrn(this.n,0,g)},j.prototype.imulK=function(c){return c.imul(this.k)};function se(){j.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}n(se,j),se.prototype.split=function(c,g){for(var w=4194303,v=Math.min(c.length,9),C=0;C<v;C++)g.words[C]=c.words[C];if(g.length=v,c.length<=9){c.words[0]=0,c.length=1;return}var h=c.words[9];for(g.words[g.length++]=h&w,C=10;C<c.length;C++){var D=c.words[C]|0;c.words[C-10]=(D&w)<<4|h>>>22,h=D}h>>>=22,c.words[C-10]=h,h===0&&c.length>10?c.length-=10:c.length-=9},se.prototype.imulK=function(c){c.words[c.length]=0,c.words[c.length+1]=0,c.length+=2;for(var g=0,w=0;w<c.length;w++){var v=c.words[w]|0;g+=v*977,c.words[w]=g&67108863,g=v*64+(g/67108864|0)}return c.words[c.length-1]===0&&(c.length--,c.words[c.length-1]===0&&c.length--),c};function ie(){j.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}n(ie,j);function ce(){j.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}n(ce,j);function H(){j.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}n(H,j),H.prototype.imulK=function(c){for(var g=0,w=0;w<c.length;w++){var v=(c.words[w]|0)*19+g,C=v&67108863;v>>>=26,c.words[w]=C,g=v}return g!==0&&(c.words[c.length++]=g),c},i._prime=function(c){if(ee[c])return ee[c];var g;if(c==="k256")g=new se;else if(c==="p224")g=new ie;else if(c==="p192")g=new ce;else if(c==="p25519")g=new H;else throw new Error("Unknown prime "+c);return ee[c]=g,g};function E(b){if(typeof b=="string"){var c=i._prime(b);this.m=c.p,this.prime=c}else r(b.gtn(1),"modulus must be greater than 1"),this.m=b,this.prime=null}E.prototype._verify1=function(c){r(c.negative===0,"red works only with positives"),r(c.red,"red works only with red numbers")},E.prototype._verify2=function(c,g){r((c.negative|g.negative)===0,"red works only with positives"),r(c.red&&c.red===g.red,"red works only with red numbers")},E.prototype.imod=function(c){return this.prime?this.prime.ireduce(c)._forceRed(this):(f(c,c.umod(this.m)._forceRed(this)),c)},E.prototype.neg=function(c){return c.isZero()?c.clone():this.m.sub(c)._forceRed(this)},E.prototype.add=function(c,g){this._verify2(c,g);var w=c.add(g);return w.cmp(this.m)>=0&&w.isub(this.m),w._forceRed(this)},E.prototype.iadd=function(c,g){this._verify2(c,g);var w=c.iadd(g);return w.cmp(this.m)>=0&&w.isub(this.m),w},E.prototype.sub=function(c,g){this._verify2(c,g);var w=c.sub(g);return w.cmpn(0)<0&&w.iadd(this.m),w._forceRed(this)},E.prototype.isub=function(c,g){this._verify2(c,g);var w=c.isub(g);return w.cmpn(0)<0&&w.iadd(this.m),w},E.prototype.shl=function(c,g){return this._verify1(c),this.imod(c.ushln(g))},E.prototype.imul=function(c,g){return this._verify2(c,g),this.imod(c.imul(g))},E.prototype.mul=function(c,g){return this._verify2(c,g),this.imod(c.mul(g))},E.prototype.isqr=function(c){return this.imul(c,c.clone())},E.prototype.sqr=function(c){return this.mul(c,c)},E.prototype.sqrt=function(c){if(c.isZero())return c.clone();var g=this.m.andln(3);if(r(g%2===1),g===3){var w=this.m.add(new i(1)).iushrn(2);return this.pow(c,w)}for(var v=this.m.subn(1),C=0;!v.isZero()&&v.andln(1)===0;)C++,v.iushrn(1);r(!v.isZero());var h=new i(1).toRed(this),D=h.redNeg(),M=this.m.subn(1).iushrn(1),I=this.m.bitLength();for(I=new i(2*I*I).toRed(this);this.pow(I,M).cmp(D)!==0;)I.redIAdd(D);for(var k=this.pow(I,v),ne=this.pow(c,v.addn(1).iushrn(1)),Ae=this.pow(c,v),ue=C;Ae.cmp(h)!==0;){for(var pe=Ae,he=0;pe.cmp(h)!==0;he++)pe=pe.redSqr();r(he<ue);var de=this.pow(k,new i(1).iushln(ue-he-1));ne=ne.redMul(de),k=de.redSqr(),Ae=Ae.redMul(k),ue=he}return ne},E.prototype.invm=function(c){var g=c._invmp(this.m);return g.negative!==0?(g.negative=0,this.imod(g).redNeg()):this.imod(g)},E.prototype.pow=function(c,g){if(g.isZero())return new i(1).toRed(this);if(g.cmpn(1)===0)return c.clone();var w=4,v=new Array(1<<w);v[0]=new i(1).toRed(this),v[1]=c;for(var C=2;C<v.length;C++)v[C]=this.mul(v[C-1],c);var h=v[0],D=0,M=0,I=g.bitLength()%26;for(I===0&&(I=26),C=g.length-1;C>=0;C--){for(var k=g.words[C],ne=I-1;ne>=0;ne--){var Ae=k>>ne&1;if(h!==v[0]&&(h=this.sqr(h)),Ae===0&&D===0){M=0;continue}D<<=1,D|=Ae,M++,!(M!==w&&(C!==0||ne!==0))&&(h=this.mul(h,v[D]),M=0,D=0)}I=26}return h},E.prototype.convertTo=function(c){var g=c.umod(this.m);return g===c?g.clone():g},E.prototype.convertFrom=function(c){var g=c.clone();return g.red=null,g},i.mont=function(c){return new R(c)};function R(b){E.call(this,b),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}n(R,E),R.prototype.convertTo=function(c){return this.imod(c.ushln(this.shift))},R.prototype.convertFrom=function(c){var g=this.imod(c.mul(this.rinv));return g.red=null,g},R.prototype.imul=function(c,g){if(c.isZero()||g.isZero())return c.words[0]=0,c.length=1,c;var w=c.imul(g),v=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=w.isub(v).iushrn(this.shift),h=C;return C.cmp(this.m)>=0?h=C.isub(this.m):C.cmpn(0)<0&&(h=C.iadd(this.m)),h._forceRed(this)},R.prototype.mul=function(c,g){if(c.isZero()||g.isZero())return new i(0)._forceRed(this);var w=c.mul(g),v=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=w.isub(v).iushrn(this.shift),h=C;return C.cmp(this.m)>=0?h=C.isub(this.m):C.cmpn(0)<0&&(h=C.iadd(this.m)),h._forceRed(this)},R.prototype.invm=function(c){var g=this.imod(c._invmp(this.m).mul(this.r2));return g._forceRed(this)}})(typeof WS>"u"||WS,EP)});var Dy=x((OMe,BP)=>{"use strict";var Yc=Ry(),Cge=Cf(),Qge=tt().Buffer;function yP(e){var t=e.modulus.byteLength(),r;do r=new Yc(Cge(t));while(r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2));return r}function wge(e){var t=yP(e),r=t.toRed(Yc.mont(e.modulus)).redPow(new Yc(e.publicExponent)).fromRed();return{blinder:r,unblinder:t.invm(e.modulus)}}function mP(e,t){var r=wge(t),n=t.modulus.byteLength(),i=new Yc(e).mul(r.blinder).umod(t.modulus),s=i.toRed(Yc.mont(t.prime1)),o=i.toRed(Yc.mont(t.prime2)),a=t.coefficient,A=t.prime1,f=t.prime2,l=s.redPow(t.exponent1).fromRed(),p=o.redPow(t.exponent2).fromRed(),B=l.isub(p).imul(a).umod(A).imul(f);return p.iadd(B).imul(r.unblinder).umod(t.modulus).toArrayLike(Qge,"be",n)}mP.getr=yP;BP.exports=mP});var IP=x((HMe,Sge)=>{Sge.exports={name:"elliptic",version:"6.6.1",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}});var VS=x(QP=>{"use strict";var Ty=QP;function _ge(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if(typeof e!="string"){for(var n=0;n<e.length;n++)r[n]=e[n]|0;return r}if(t==="hex"){e=e.replace(/[^a-z0-9]+/ig,""),e.length%2!==0&&(e="0"+e);for(var n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(var n=0;n<e.length;n++){var i=e.charCodeAt(n),s=i>>8,o=i&255;s?r.push(s,o):r.push(o)}return r}Ty.toArray=_ge;function bP(e){return e.length===1?"0"+e:e}Ty.zero2=bP;function CP(e){for(var t="",r=0;r<e.length;r++)t+=bP(e[r].toString(16));return t}Ty.toHex=CP;Ty.encode=function(t,r){return r==="hex"?CP(t):t}});var Kn=x(wP=>{"use strict";var us=wP,vge=kr(),Rge=zn(),Ny=VS();us.assert=Rge;us.toArray=Ny.toArray;us.zero2=Ny.zero2;us.toHex=Ny.toHex;us.encode=Ny.encode;function Dge(e,t,r){var n=new Array(Math.max(e.bitLength(),r)+1),i;for(i=0;i<n.length;i+=1)n[i]=0;var s=1<<t+1,o=e.clone();for(i=0;i<n.length;i++){var a,A=o.andln(s-1);o.isOdd()?(A>(s>>1)-1?a=(s>>1)-A:a=A,o.isubn(a)):a=0,n[i]=a,o.iushrn(1)}return n}us.getNAF=Dge;function Tge(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,i=0,s;e.cmpn(-n)>0||t.cmpn(-i)>0;){var o=e.andln(3)+n&3,a=t.andln(3)+i&3;o===3&&(o=-1),a===3&&(a=-1);var A;(o&1)===0?A=0:(s=e.andln(7)+n&7,(s===3||s===5)&&a===2?A=-o:A=o),r[0].push(A);var f;(a&1)===0?f=0:(s=t.andln(7)+i&7,(s===3||s===5)&&o===2?f=-a:f=a),r[1].push(f),2*n===A+1&&(n=1-n),2*i===f+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return r}us.getJSF=Tge;function Nge(e,t,r){var n="_"+t;e.prototype[t]=function(){return this[n]!==void 0?this[n]:this[n]=r.call(this)}}us.cachedProperty=Nge;function Mge(e){return typeof e=="string"?us.toArray(e,"hex"):e}us.parseBytes=Mge;function Fge(e){return new vge(e,"hex","le")}us.intFromLE=Fge});var Pd=x((YMe,SP)=>{"use strict";var Uf=kr(),Ld=Kn(),My=Ld.getNAF,kge=Ld.getJSF,Fy=Ld.assert;function hA(e,t){this.type=e,this.p=new Uf(t.p,16),this.red=t.prime?Uf.red(t.prime):Uf.mont(this.p),this.zero=new Uf(0).toRed(this.red),this.one=new Uf(1).toRed(this.red),this.two=new Uf(2).toRed(this.red),this.n=t.n&&new Uf(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}SP.exports=hA;hA.prototype.point=function(){throw new Error("Not implemented")};hA.prototype.validate=function(){throw new Error("Not implemented")};hA.prototype._fixedNafMul=function(t,r){Fy(t.precomputed);var n=t._getDoubles(),i=My(r,1,this._bitLength),s=(1<<n.step+1)-(n.step%2===0?2:1);s/=3;var o=[],a,A;for(a=0;a<i.length;a+=n.step){A=0;for(var f=a+n.step-1;f>=a;f--)A=(A<<1)+i[f];o.push(A)}for(var l=this.jpoint(null,null,null),p=this.jpoint(null,null,null),B=s;B>0;B--){for(a=0;a<o.length;a++)A=o[a],A===B?p=p.mixedAdd(n.points[a]):A===-B&&(p=p.mixedAdd(n.points[a].neg()));l=l.add(p)}return l.toP()};hA.prototype._wnafMul=function(t,r){var n=4,i=t._getNAFPoints(n);n=i.wnd;for(var s=i.points,o=My(r,n,this._bitLength),a=this.jpoint(null,null,null),A=o.length-1;A>=0;A--){for(var f=0;A>=0&&o[A]===0;A--)f++;if(A>=0&&f++,a=a.dblp(f),A<0)break;var l=o[A];Fy(l!==0),t.type==="affine"?l>0?a=a.mixedAdd(s[l-1>>1]):a=a.mixedAdd(s[-l-1>>1].neg()):l>0?a=a.add(s[l-1>>1]):a=a.add(s[-l-1>>1].neg())}return t.type==="affine"?a.toP():a};hA.prototype._wnafMulAdd=function(t,r,n,i,s){var o=this._wnafT1,a=this._wnafT2,A=this._wnafT3,f=0,l,p,B;for(l=0;l<i;l++){B=r[l];var S=B._getNAFPoints(t);o[l]=S.wnd,a[l]=S.points}for(l=i-1;l>=1;l-=2){var _=l-1,N=l;if(o[_]!==1||o[N]!==1){A[_]=My(n[_],o[_],this._bitLength),A[N]=My(n[N],o[N],this._bitLength),f=Math.max(A[_].length,f),f=Math.max(A[N].length,f);continue}var P=[r[_],null,null,r[N]];r[_].y.cmp(r[N].y)===0?(P[1]=r[_].add(r[N]),P[2]=r[_].toJ().mixedAdd(r[N].neg())):r[_].y.cmp(r[N].y.redNeg())===0?(P[1]=r[_].toJ().mixedAdd(r[N]),P[2]=r[_].add(r[N].neg())):(P[1]=r[_].toJ().mixedAdd(r[N]),P[2]=r[_].toJ().mixedAdd(r[N].neg()));var U=[-3,-1,-5,-7,0,7,5,1,3],G=kge(n[_],n[N]);for(f=Math.max(G[0].length,f),A[_]=new Array(f),A[N]=new Array(f),p=0;p<f;p++){var Y=G[0][p]|0,Z=G[1][p]|0;A[_][p]=U[(Y+1)*3+(Z+1)],A[N][p]=0,a[_]=P}}var ee=this.jpoint(null,null,null),j=this._wnafT4;for(l=f;l>=0;l--){for(var se=0;l>=0;){var ie=!0;for(p=0;p<i;p++)j[p]=A[p][l]|0,j[p]!==0&&(ie=!1);if(!ie)break;se++,l--}if(l>=0&&se++,ee=ee.dblp(se),l<0)break;for(p=0;p<i;p++){var ce=j[p];ce!==0&&(ce>0?B=a[p][ce-1>>1]:ce<0&&(B=a[p][-ce-1>>1].neg()),B.type==="affine"?ee=ee.mixedAdd(B):ee=ee.add(B))}}for(l=0;l<i;l++)a[l]=null;return s?ee:ee.toP()};function Si(e,t){this.curve=e,this.type=t,this.precomputed=null}hA.BasePoint=Si;Si.prototype.eq=function(){throw new Error("Not implemented")};Si.prototype.validate=function(){return this.curve.validate(this)};hA.prototype.decodePoint=function(t,r){t=Ld.toArray(t,r);var n=this.p.byteLength();if((t[0]===4||t[0]===6||t[0]===7)&&t.length-1===2*n){t[0]===6?Fy(t[t.length-1]%2===0):t[0]===7&&Fy(t[t.length-1]%2===1);var i=this.point(t.slice(1,1+n),t.slice(1+n,1+2*n));return i}else if((t[0]===2||t[0]===3)&&t.length-1===n)return this.pointFromX(t.slice(1,1+n),t[0]===3);throw new Error("Unknown point format")};Si.prototype.encodeCompressed=function(t){return this.encode(t,!0)};Si.prototype._encode=function(t){var r=this.curve.p.byteLength(),n=this.getX().toArray("be",r);return t?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",r))};Si.prototype.encode=function(t,r){return Ld.encode(this._encode(r),t)};Si.prototype.precompute=function(t){if(this.precomputed)return this;var r={doubles:null,naf:null,beta:null};return r.naf=this._getNAFPoints(8),r.doubles=this._getDoubles(4,t),r.beta=this._getBeta(),this.precomputed=r,this};Si.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var r=this.precomputed.doubles;return r?r.points.length>=Math.ceil((t.bitLength()+1)/r.step):!1};Si.prototype._getDoubles=function(t,r){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],i=this,s=0;s<r;s+=t){for(var o=0;o<t;o++)i=i.dbl();n.push(i)}return{step:t,points:n}};Si.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var r=[this],n=(1<<t)-1,i=n===1?null:this.dbl(),s=1;s<n;s++)r[s]=r[s-1].add(i);return{wnd:t,points:r}};Si.prototype._getBeta=function(){return null};Si.prototype.dblp=function(t){for(var r=this,n=0;n<t;n++)r=r.dbl();return r}});var vP=x((WMe,_P)=>{"use strict";var xge=Kn(),fr=kr(),JS=Ve(),Wc=Pd(),Uge=xge.assert;function _i(e){Wc.call(this,"short",e),this.a=new fr(e.a,16).toRed(this.red),this.b=new fr(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}JS(_i,Wc);_P.exports=_i;_i.prototype._getEndomorphism=function(t){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var r,n;if(t.beta)r=new fr(t.beta,16).toRed(this.red);else{var i=this._getEndoRoots(this.p);r=i[0].cmp(i[1])<0?i[0]:i[1],r=r.toRed(this.red)}if(t.lambda)n=new fr(t.lambda,16);else{var s=this._getEndoRoots(this.n);this.g.mul(s[0]).x.cmp(this.g.x.redMul(r))===0?n=s[0]:(n=s[1],Uge(this.g.mul(n).x.cmp(this.g.x.redMul(r))===0))}var o;return t.basis?o=t.basis.map(function(a){return{a:new fr(a.a,16),b:new fr(a.b,16)}}):o=this._getEndoBasis(n),{beta:r,lambda:n,basis:o}}};_i.prototype._getEndoRoots=function(t){var r=t===this.p?this.red:fr.mont(t),n=new fr(2).toRed(r).redInvm(),i=n.redNeg(),s=new fr(3).toRed(r).redNeg().redSqrt().redMul(n),o=i.redAdd(s).fromRed(),a=i.redSub(s).fromRed();return[o,a]};_i.prototype._getEndoBasis=function(t){for(var r=this.n.ushrn(Math.floor(this.n.bitLength()/2)),n=t,i=this.n.clone(),s=new fr(1),o=new fr(0),a=new fr(0),A=new fr(1),f,l,p,B,S,_,N,P=0,U,G;n.cmpn(0)!==0;){var Y=i.div(n);U=i.sub(Y.mul(n)),G=a.sub(Y.mul(s));var Z=A.sub(Y.mul(o));if(!p&&U.cmp(r)<0)f=N.neg(),l=s,p=U.neg(),B=G;else if(p&&++P===2)break;N=U,i=n,n=U,a=s,s=G,A=o,o=Z}S=U.neg(),_=G;var ee=p.sqr().add(B.sqr()),j=S.sqr().add(_.sqr());return j.cmp(ee)>=0&&(S=f,_=l),p.negative&&(p=p.neg(),B=B.neg()),S.negative&&(S=S.neg(),_=_.neg()),[{a:p,b:B},{a:S,b:_}]};_i.prototype._endoSplit=function(t){var r=this.endo.basis,n=r[0],i=r[1],s=i.b.mul(t).divRound(this.n),o=n.b.neg().mul(t).divRound(this.n),a=s.mul(n.a),A=o.mul(i.a),f=s.mul(n.b),l=o.mul(i.b),p=t.sub(a).sub(A),B=f.add(l).neg();return{k1:p,k2:B}};_i.prototype.pointFromX=function(t,r){t=new fr(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),i=n.redSqrt();if(i.redSqr().redSub(n).cmp(this.zero)!==0)throw new Error("invalid point");var s=i.fromRed().isOdd();return(r&&!s||!r&&s)&&(i=i.redNeg()),this.point(t,i)};_i.prototype.validate=function(t){if(t.inf)return!0;var r=t.x,n=t.y,i=this.a.redMul(r),s=r.redSqr().redMul(r).redIAdd(i).redIAdd(this.b);return n.redSqr().redISub(s).cmpn(0)===0};_i.prototype._endoWnafMulAdd=function(t,r,n){for(var i=this._endoWnafT1,s=this._endoWnafT2,o=0;o<t.length;o++){var a=this._endoSplit(r[o]),A=t[o],f=A._getBeta();a.k1.negative&&(a.k1.ineg(),A=A.neg(!0)),a.k2.negative&&(a.k2.ineg(),f=f.neg(!0)),i[o*2]=A,i[o*2+1]=f,s[o*2]=a.k1,s[o*2+1]=a.k2}for(var l=this._wnafMulAdd(1,i,s,o*2,n),p=0;p<o*2;p++)i[p]=null,s[p]=null;return l};function xr(e,t,r,n){Wc.BasePoint.call(this,e,"affine"),t===null&&r===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new fr(t,16),this.y=new fr(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}JS(xr,Wc.BasePoint);_i.prototype.point=function(t,r,n){return new xr(this,t,r,n)};_i.prototype.pointFromJSON=function(t,r){return xr.fromJSON(this,t,r)};xr.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var r=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var n=this.curve,i=function(s){return n.point(s.x.redMul(n.endo.beta),s.y)};t.beta=r,r.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(i)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(i)}}}return r}};xr.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]};xr.fromJSON=function(t,r,n){typeof r=="string"&&(r=JSON.parse(r));var i=t.point(r[0],r[1],n);if(!r[2])return i;function s(a){return t.point(a[0],a[1],n)}var o=r[2];return i.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[i].concat(o.doubles.points.map(s))},naf:o.naf&&{wnd:o.naf.wnd,points:[i].concat(o.naf.points.map(s))}},i};xr.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"};xr.prototype.isInfinity=function(){return this.inf};xr.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(this.x.cmp(t.x)===0)return this.curve.point(null,null);var r=this.y.redSub(t.y);r.cmpn(0)!==0&&(r=r.redMul(this.x.redSub(t.x).redInvm()));var n=r.redSqr().redISub(this.x).redISub(t.x),i=r.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,i)};xr.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(t.cmpn(0)===0)return this.curve.point(null,null);var r=this.curve.a,n=this.x.redSqr(),i=t.redInvm(),s=n.redAdd(n).redIAdd(n).redIAdd(r).redMul(i),o=s.redSqr().redISub(this.x.redAdd(this.x)),a=s.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)};xr.prototype.getX=function(){return this.x.fromRed()};xr.prototype.getY=function(){return this.y.fromRed()};xr.prototype.mul=function(t){return t=new fr(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)};xr.prototype.mulAdd=function(t,r,n){var i=[this,r],s=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,s):this.curve._wnafMulAdd(1,i,s,2)};xr.prototype.jmulAdd=function(t,r,n){var i=[this,r],s=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,s,!0):this.curve._wnafMulAdd(1,i,s,2,!0)};xr.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||this.x.cmp(t.x)===0&&this.y.cmp(t.y)===0)};xr.prototype.neg=function(t){if(this.inf)return this;var r=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,i=function(s){return s.neg()};r.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(i)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(i)}}}return r};xr.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var t=this.curve.jpoint(this.x,this.y,this.curve.one);return t};function jr(e,t,r,n){Wc.BasePoint.call(this,e,"jacobian"),t===null&&r===null&&n===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new fr(0)):(this.x=new fr(t,16),this.y=new fr(r,16),this.z=new fr(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}JS(jr,Wc.BasePoint);_i.prototype.jpoint=function(t,r,n){return new jr(this,t,r,n)};jr.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),r=t.redSqr(),n=this.x.redMul(r),i=this.y.redMul(r).redMul(t);return this.curve.point(n,i)};jr.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};jr.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var r=t.z.redSqr(),n=this.z.redSqr(),i=this.x.redMul(r),s=t.x.redMul(n),o=this.y.redMul(r.redMul(t.z)),a=t.y.redMul(n.redMul(this.z)),A=i.redSub(s),f=o.redSub(a);if(A.cmpn(0)===0)return f.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var l=A.redSqr(),p=l.redMul(A),B=i.redMul(l),S=f.redSqr().redIAdd(p).redISub(B).redISub(B),_=f.redMul(B.redISub(S)).redISub(o.redMul(p)),N=this.z.redMul(t.z).redMul(A);return this.curve.jpoint(S,_,N)};jr.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var r=this.z.redSqr(),n=this.x,i=t.x.redMul(r),s=this.y,o=t.y.redMul(r).redMul(this.z),a=n.redSub(i),A=s.redSub(o);if(a.cmpn(0)===0)return A.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var f=a.redSqr(),l=f.redMul(a),p=n.redMul(f),B=A.redSqr().redIAdd(l).redISub(p).redISub(p),S=A.redMul(p.redISub(B)).redISub(s.redMul(l)),_=this.z.redMul(a);return this.curve.jpoint(B,S,_)};jr.prototype.dblp=function(t){if(t===0)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var r;if(this.curve.zeroA||this.curve.threeA){var n=this;for(r=0;r<t;r++)n=n.dbl();return n}var i=this.curve.a,s=this.curve.tinv,o=this.x,a=this.y,A=this.z,f=A.redSqr().redSqr(),l=a.redAdd(a);for(r=0;r<t;r++){var p=o.redSqr(),B=l.redSqr(),S=B.redSqr(),_=p.redAdd(p).redIAdd(p).redIAdd(i.redMul(f)),N=o.redMul(B),P=_.redSqr().redISub(N.redAdd(N)),U=N.redISub(P),G=_.redMul(U);G=G.redIAdd(G).redISub(S);var Y=l.redMul(A);r+1<t&&(f=f.redMul(S)),o=P,A=Y,l=G}return this.curve.jpoint(o,l.redMul(s),A)};jr.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()};jr.prototype._zeroDbl=function(){var t,r,n;if(this.zOne){var i=this.x.redSqr(),s=this.y.redSqr(),o=s.redSqr(),a=this.x.redAdd(s).redSqr().redISub(i).redISub(o);a=a.redIAdd(a);var A=i.redAdd(i).redIAdd(i),f=A.redSqr().redISub(a).redISub(a),l=o.redIAdd(o);l=l.redIAdd(l),l=l.redIAdd(l),t=f,r=A.redMul(a.redISub(f)).redISub(l),n=this.y.redAdd(this.y)}else{var p=this.x.redSqr(),B=this.y.redSqr(),S=B.redSqr(),_=this.x.redAdd(B).redSqr().redISub(p).redISub(S);_=_.redIAdd(_);var N=p.redAdd(p).redIAdd(p),P=N.redSqr(),U=S.redIAdd(S);U=U.redIAdd(U),U=U.redIAdd(U),t=P.redISub(_).redISub(_),r=N.redMul(_.redISub(t)).redISub(U),n=this.y.redMul(this.z),n=n.redIAdd(n)}return this.curve.jpoint(t,r,n)};jr.prototype._threeDbl=function(){var t,r,n;if(this.zOne){var i=this.x.redSqr(),s=this.y.redSqr(),o=s.redSqr(),a=this.x.redAdd(s).redSqr().redISub(i).redISub(o);a=a.redIAdd(a);var A=i.redAdd(i).redIAdd(i).redIAdd(this.curve.a),f=A.redSqr().redISub(a).redISub(a);t=f;var l=o.redIAdd(o);l=l.redIAdd(l),l=l.redIAdd(l),r=A.redMul(a.redISub(f)).redISub(l),n=this.y.redAdd(this.y)}else{var p=this.z.redSqr(),B=this.y.redSqr(),S=this.x.redMul(B),_=this.x.redSub(p).redMul(this.x.redAdd(p));_=_.redAdd(_).redIAdd(_);var N=S.redIAdd(S);N=N.redIAdd(N);var P=N.redAdd(N);t=_.redSqr().redISub(P),n=this.y.redAdd(this.z).redSqr().redISub(B).redISub(p);var U=B.redSqr();U=U.redIAdd(U),U=U.redIAdd(U),U=U.redIAdd(U),r=_.redMul(N.redISub(t)).redISub(U)}return this.curve.jpoint(t,r,n)};jr.prototype._dbl=function(){var t=this.curve.a,r=this.x,n=this.y,i=this.z,s=i.redSqr().redSqr(),o=r.redSqr(),a=n.redSqr(),A=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(s)),f=r.redAdd(r);f=f.redIAdd(f);var l=f.redMul(a),p=A.redSqr().redISub(l.redAdd(l)),B=l.redISub(p),S=a.redSqr();S=S.redIAdd(S),S=S.redIAdd(S),S=S.redIAdd(S);var _=A.redMul(B).redISub(S),N=n.redAdd(n).redMul(i);return this.curve.jpoint(p,_,N)};jr.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),r=this.y.redSqr(),n=this.z.redSqr(),i=r.redSqr(),s=t.redAdd(t).redIAdd(t),o=s.redSqr(),a=this.x.redAdd(r).redSqr().redISub(t).redISub(i);a=a.redIAdd(a),a=a.redAdd(a).redIAdd(a),a=a.redISub(o);var A=a.redSqr(),f=i.redIAdd(i);f=f.redIAdd(f),f=f.redIAdd(f),f=f.redIAdd(f);var l=s.redIAdd(a).redSqr().redISub(o).redISub(A).redISub(f),p=r.redMul(l);p=p.redIAdd(p),p=p.redIAdd(p);var B=this.x.redMul(A).redISub(p);B=B.redIAdd(B),B=B.redIAdd(B);var S=this.y.redMul(l.redMul(f.redISub(l)).redISub(a.redMul(A)));S=S.redIAdd(S),S=S.redIAdd(S),S=S.redIAdd(S);var _=this.z.redAdd(a).redSqr().redISub(n).redISub(A);return this.curve.jpoint(B,S,_)};jr.prototype.mul=function(t,r){return t=new fr(t,r),this.curve._wnafMul(this,t)};jr.prototype.eq=function(t){if(t.type==="affine")return this.eq(t.toJ());if(this===t)return!0;var r=this.z.redSqr(),n=t.z.redSqr();if(this.x.redMul(n).redISub(t.x.redMul(r)).cmpn(0)!==0)return!1;var i=r.redMul(this.z),s=n.redMul(t.z);return this.y.redMul(s).redISub(t.y.redMul(i)).cmpn(0)===0};jr.prototype.eqXToP=function(t){var r=this.z.redSqr(),n=t.toRed(this.curve.red).redMul(r);if(this.x.cmp(n)===0)return!0;for(var i=t.clone(),s=this.curve.redN.redMul(r);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(s),this.x.cmp(n)===0)return!0}};jr.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"};jr.prototype.isInfinity=function(){return this.z.cmpn(0)===0}});var TP=x((VMe,DP)=>{"use strict";var Vc=kr(),RP=Ve(),ky=Pd(),Lge=Kn();function Jc(e){ky.call(this,"mont",e),this.a=new Vc(e.a,16).toRed(this.red),this.b=new Vc(e.b,16).toRed(this.red),this.i4=new Vc(4).toRed(this.red).redInvm(),this.two=new Vc(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}RP(Jc,ky);DP.exports=Jc;Jc.prototype.validate=function(t){var r=t.normalize().x,n=r.redSqr(),i=n.redMul(r).redAdd(n.redMul(this.a)).redAdd(r),s=i.redSqrt();return s.redSqr().cmp(i)===0};function Ur(e,t,r){ky.BasePoint.call(this,e,"projective"),t===null&&r===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new Vc(t,16),this.z=new Vc(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}RP(Ur,ky.BasePoint);Jc.prototype.decodePoint=function(t,r){return this.point(Lge.toArray(t,r),1)};Jc.prototype.point=function(t,r){return new Ur(this,t,r)};Jc.prototype.pointFromJSON=function(t){return Ur.fromJSON(this,t)};Ur.prototype.precompute=function(){};Ur.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};Ur.fromJSON=function(t,r){return new Ur(t,r[0],r[1]||t.one)};Ur.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"};Ur.prototype.isInfinity=function(){return this.z.cmpn(0)===0};Ur.prototype.dbl=function(){var t=this.x.redAdd(this.z),r=t.redSqr(),n=this.x.redSub(this.z),i=n.redSqr(),s=r.redSub(i),o=r.redMul(i),a=s.redMul(i.redAdd(this.curve.a24.redMul(s)));return this.curve.point(o,a)};Ur.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};Ur.prototype.diffAdd=function(t,r){var n=this.x.redAdd(this.z),i=this.x.redSub(this.z),s=t.x.redAdd(t.z),o=t.x.redSub(t.z),a=o.redMul(n),A=s.redMul(i),f=r.z.redMul(a.redAdd(A).redSqr()),l=r.x.redMul(a.redISub(A).redSqr());return this.curve.point(f,l)};Ur.prototype.mul=function(t){for(var r=t.clone(),n=this,i=this.curve.point(null,null),s=this,o=[];r.cmpn(0)!==0;r.iushrn(1))o.push(r.andln(1));for(var a=o.length-1;a>=0;a--)o[a]===0?(n=n.diffAdd(i,s),i=i.dbl()):(i=n.diffAdd(i,s),n=n.dbl());return i};Ur.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};Ur.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};Ur.prototype.eq=function(t){return this.getX().cmp(t.getX())===0};Ur.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};Ur.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var FP=x((JMe,MP)=>{"use strict";var Pge=Kn(),Aa=kr(),NP=Ve(),xy=Pd(),Oge=Pge.assert;function ao(e){this.twisted=(e.a|0)!==1,this.mOneA=this.twisted&&(e.a|0)===-1,this.extended=this.mOneA,xy.call(this,"edwards",e),this.a=new Aa(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new Aa(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new Aa(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),Oge(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(e.c|0)===1}NP(ao,xy);MP.exports=ao;ao.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)};ao.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)};ao.prototype.jpoint=function(t,r,n,i){return this.point(t,r,n,i)};ao.prototype.pointFromX=function(t,r){t=new Aa(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr(),i=this.c2.redSub(this.a.redMul(n)),s=this.one.redSub(this.c2.redMul(this.d).redMul(n)),o=i.redMul(s.redInvm()),a=o.redSqrt();if(a.redSqr().redSub(o).cmp(this.zero)!==0)throw new Error("invalid point");var A=a.fromRed().isOdd();return(r&&!A||!r&&A)&&(a=a.redNeg()),this.point(t,a)};ao.prototype.pointFromY=function(t,r){t=new Aa(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr(),i=n.redSub(this.c2),s=n.redMul(this.d).redMul(this.c2).redSub(this.a),o=i.redMul(s.redInvm());if(o.cmp(this.zero)===0){if(r)throw new Error("invalid point");return this.point(this.zero,t)}var a=o.redSqrt();if(a.redSqr().redSub(o).cmp(this.zero)!==0)throw new Error("invalid point");return a.fromRed().isOdd()!==r&&(a=a.redNeg()),this.point(a,t)};ao.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var r=t.x.redSqr(),n=t.y.redSqr(),i=r.redMul(this.a).redAdd(n),s=this.c2.redMul(this.one.redAdd(this.d.redMul(r).redMul(n)));return i.cmp(s)===0};function Jt(e,t,r,n,i){xy.BasePoint.call(this,e,"projective"),t===null&&r===null&&n===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new Aa(t,16),this.y=new Aa(r,16),this.z=n?new Aa(n,16):this.curve.one,this.t=i&&new Aa(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}NP(Jt,xy.BasePoint);ao.prototype.pointFromJSON=function(t){return Jt.fromJSON(this,t)};ao.prototype.point=function(t,r,n,i){return new Jt(this,t,r,n,i)};Jt.fromJSON=function(t,r){return new Jt(t,r[0],r[1],r[2])};Jt.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"};Jt.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Jt.prototype._extDbl=function(){var t=this.x.redSqr(),r=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var i=this.curve._mulA(t),s=this.x.redAdd(this.y).redSqr().redISub(t).redISub(r),o=i.redAdd(r),a=o.redSub(n),A=i.redSub(r),f=s.redMul(a),l=o.redMul(A),p=s.redMul(A),B=a.redMul(o);return this.curve.point(f,l,B,p)};Jt.prototype._projDbl=function(){var t=this.x.redAdd(this.y).redSqr(),r=this.x.redSqr(),n=this.y.redSqr(),i,s,o,a,A,f;if(this.curve.twisted){a=this.curve._mulA(r);var l=a.redAdd(n);this.zOne?(i=t.redSub(r).redSub(n).redMul(l.redSub(this.curve.two)),s=l.redMul(a.redSub(n)),o=l.redSqr().redSub(l).redSub(l)):(A=this.z.redSqr(),f=l.redSub(A).redISub(A),i=t.redSub(r).redISub(n).redMul(f),s=l.redMul(a.redSub(n)),o=l.redMul(f))}else a=r.redAdd(n),A=this.curve._mulC(this.z).redSqr(),f=a.redSub(A).redSub(A),i=this.curve._mulC(t.redISub(a)).redMul(f),s=this.curve._mulC(a).redMul(r.redISub(n)),o=a.redMul(f);return this.curve.point(i,s,o)};Jt.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};Jt.prototype._extAdd=function(t){var r=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),i=this.t.redMul(this.curve.dd).redMul(t.t),s=this.z.redMul(t.z.redAdd(t.z)),o=n.redSub(r),a=s.redSub(i),A=s.redAdd(i),f=n.redAdd(r),l=o.redMul(a),p=A.redMul(f),B=o.redMul(f),S=a.redMul(A);return this.curve.point(l,p,S,B)};Jt.prototype._projAdd=function(t){var r=this.z.redMul(t.z),n=r.redSqr(),i=this.x.redMul(t.x),s=this.y.redMul(t.y),o=this.curve.d.redMul(i).redMul(s),a=n.redSub(o),A=n.redAdd(o),f=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(i).redISub(s),l=r.redMul(a).redMul(f),p,B;return this.curve.twisted?(p=r.redMul(A).redMul(s.redSub(this.curve._mulA(i))),B=a.redMul(A)):(p=r.redMul(A).redMul(s.redSub(i)),B=this.curve._mulC(a).redMul(A)),this.curve.point(l,p,B)};Jt.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)};Jt.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)};Jt.prototype.mulAdd=function(t,r,n){return this.curve._wnafMulAdd(1,[this,r],[t,n],2,!1)};Jt.prototype.jmulAdd=function(t,r,n){return this.curve._wnafMulAdd(1,[this,r],[t,n],2,!0)};Jt.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this};Jt.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Jt.prototype.getX=function(){return this.normalize(),this.x.fromRed()};Jt.prototype.getY=function(){return this.normalize(),this.y.fromRed()};Jt.prototype.eq=function(t){return this===t||this.getX().cmp(t.getX())===0&&this.getY().cmp(t.getY())===0};Jt.prototype.eqXToP=function(t){var r=t.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(r)===0)return!0;for(var n=t.clone(),i=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),this.x.cmp(r)===0)return!0}};Jt.prototype.toP=Jt.prototype.normalize;Jt.prototype.mixedAdd=Jt.prototype.add});var jS=x(kP=>{"use strict";var Uy=kP;Uy.base=Pd();Uy.short=vP();Uy.mont=TP();Uy.edwards=FP()});var cs=x(qt=>{"use strict";var Hge=zn(),qge=Ve();qt.inherits=qge;function Gge(e,t){return(e.charCodeAt(t)&64512)!==55296||t<0||t+1>=e.length?!1:(e.charCodeAt(t+1)&64512)===56320}function Yge(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if(typeof e=="string")if(t){if(t==="hex")for(e=e.replace(/[^a-z0-9]+/ig,""),e.length%2!==0&&(e="0"+e),i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}else for(var n=0,i=0;i<e.length;i++){var s=e.charCodeAt(i);s<128?r[n++]=s:s<2048?(r[n++]=s>>6|192,r[n++]=s&63|128):Gge(e,i)?(s=65536+((s&1023)<<10)+(e.charCodeAt(++i)&1023),r[n++]=s>>18|240,r[n++]=s>>12&63|128,r[n++]=s>>6&63|128,r[n++]=s&63|128):(r[n++]=s>>12|224,r[n++]=s>>6&63|128,r[n++]=s&63|128)}else for(i=0;i<e.length;i++)r[i]=e[i]|0;return r}qt.toArray=Yge;function Wge(e){for(var t="",r=0;r<e.length;r++)t+=UP(e[r].toString(16));return t}qt.toHex=Wge;function xP(e){var t=e>>>24|e>>>8&65280|e<<8&16711680|(e&255)<<24;return t>>>0}qt.htonl=xP;function Vge(e,t){for(var r="",n=0;n<e.length;n++){var i=e[n];t==="little"&&(i=xP(i)),r+=LP(i.toString(16))}return r}qt.toHex32=Vge;function UP(e){return e.length===1?"0"+e:e}qt.zero2=UP;function LP(e){return e.length===7?"0"+e:e.length===6?"00"+e:e.length===5?"000"+e:e.length===4?"0000"+e:e.length===3?"00000"+e:e.length===2?"000000"+e:e.length===1?"0000000"+e:e}qt.zero8=LP;function Jge(e,t,r,n){var i=r-t;Hge(i%4===0);for(var s=new Array(i/4),o=0,a=t;o<s.length;o++,a+=4){var A;n==="big"?A=e[a]<<24|e[a+1]<<16|e[a+2]<<8|e[a+3]:A=e[a+3]<<24|e[a+2]<<16|e[a+1]<<8|e[a],s[o]=A>>>0}return s}qt.join32=Jge;function jge(e,t){for(var r=new Array(e.length*4),n=0,i=0;n<e.length;n++,i+=4){var s=e[n];t==="big"?(r[i]=s>>>24,r[i+1]=s>>>16&255,r[i+2]=s>>>8&255,r[i+3]=s&255):(r[i+3]=s>>>24,r[i+2]=s>>>16&255,r[i+1]=s>>>8&255,r[i]=s&255)}return r}qt.split32=jge;function zge(e,t){return e>>>t|e<<32-t}qt.rotr32=zge;function Kge(e,t){return e<<t|e>>>32-t}qt.rotl32=Kge;function Xge(e,t){return e+t>>>0}qt.sum32=Xge;function Zge(e,t,r){return e+t+r>>>0}qt.sum32_3=Zge;function $ge(e,t,r,n){return e+t+r+n>>>0}qt.sum32_4=$ge;function e0e(e,t,r,n,i){return e+t+r+n+i>>>0}qt.sum32_5=e0e;function t0e(e,t,r,n){var i=e[t],s=e[t+1],o=n+s>>>0,a=(o<n?1:0)+r+i;e[t]=a>>>0,e[t+1]=o}qt.sum64=t0e;function r0e(e,t,r,n){var i=t+n>>>0,s=(i<t?1:0)+e+r;return s>>>0}qt.sum64_hi=r0e;function n0e(e,t,r,n){var i=t+n;return i>>>0}qt.sum64_lo=n0e;function i0e(e,t,r,n,i,s,o,a){var A=0,f=t;f=f+n>>>0,A+=f<t?1:0,f=f+s>>>0,A+=f<s?1:0,f=f+a>>>0,A+=f<a?1:0;var l=e+r+i+o+A;return l>>>0}qt.sum64_4_hi=i0e;function s0e(e,t,r,n,i,s,o,a){var A=t+n+s+a;return A>>>0}qt.sum64_4_lo=s0e;function o0e(e,t,r,n,i,s,o,a,A,f){var l=0,p=t;p=p+n>>>0,l+=p<t?1:0,p=p+s>>>0,l+=p<s?1:0,p=p+a>>>0,l+=p<a?1:0,p=p+f>>>0,l+=p<f?1:0;var B=e+r+i+o+A+l;return B>>>0}qt.sum64_5_hi=o0e;function a0e(e,t,r,n,i,s,o,a,A,f){var l=t+n+s+a+f;return l>>>0}qt.sum64_5_lo=a0e;function A0e(e,t,r){var n=t<<32-r|e>>>r;return n>>>0}qt.rotr64_hi=A0e;function f0e(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}qt.rotr64_lo=f0e;function u0e(e,t,r){return e>>>r}qt.shr64_hi=u0e;function c0e(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}qt.shr64_lo=c0e});var jc=x(OP=>{"use strict";var PP=cs(),l0e=zn();function Ly(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}OP.BlockHash=Ly;Ly.prototype.update=function(t,r){if(t=PP.toArray(t,r),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){t=this.pending;var n=t.length%this._delta8;this.pending=t.slice(t.length-n,t.length),this.pending.length===0&&(this.pending=null),t=PP.join32(t,0,t.length-n,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this};Ly.prototype.digest=function(t){return this.update(this._pad()),l0e(this.pending===null),this._digest(t)};Ly.prototype._pad=function(){var t=this.pendingTotal,r=this._delta8,n=r-(t+this.padLength)%r,i=new Array(n+this.padLength);i[0]=128;for(var s=1;s<n;s++)i[s]=0;if(t<<=3,this.endian==="big"){for(var o=8;o<this.padLength;o++)i[s++]=0;i[s++]=0,i[s++]=0,i[s++]=0,i[s++]=0,i[s++]=t>>>24&255,i[s++]=t>>>16&255,i[s++]=t>>>8&255,i[s++]=t&255}else for(i[s++]=t&255,i[s++]=t>>>8&255,i[s++]=t>>>16&255,i[s++]=t>>>24&255,i[s++]=0,i[s++]=0,i[s++]=0,i[s++]=0,o=8;o<this.padLength;o++)i[s++]=0;return i}});var zS=x(fa=>{"use strict";var h0e=cs(),Ao=h0e.rotr32;function d0e(e,t,r,n){if(e===0)return HP(t,r,n);if(e===1||e===3)return GP(t,r,n);if(e===2)return qP(t,r,n)}fa.ft_1=d0e;function HP(e,t,r){return e&t^~e&r}fa.ch32=HP;function qP(e,t,r){return e&t^e&r^t&r}fa.maj32=qP;function GP(e,t,r){return e^t^r}fa.p32=GP;function g0e(e){return Ao(e,2)^Ao(e,13)^Ao(e,22)}fa.s0_256=g0e;function p0e(e){return Ao(e,6)^Ao(e,11)^Ao(e,25)}fa.s1_256=p0e;function E0e(e){return Ao(e,7)^Ao(e,18)^e>>>3}fa.g0_256=E0e;function y0e(e){return Ao(e,17)^Ao(e,19)^e>>>10}fa.g1_256=y0e});var VP=x((ZMe,WP)=>{"use strict";var zc=cs(),m0e=jc(),B0e=zS(),KS=zc.rotl32,Od=zc.sum32,I0e=zc.sum32_5,b0e=B0e.ft_1,YP=m0e.BlockHash,C0e=[1518500249,1859775393,2400959708,3395469782];function fo(){if(!(this instanceof fo))return new fo;YP.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}zc.inherits(fo,YP);WP.exports=fo;fo.blockSize=512;fo.outSize=160;fo.hmacStrength=80;fo.padLength=64;fo.prototype._update=function(t,r){for(var n=this.W,i=0;i<16;i++)n[i]=t[r+i];for(;i<n.length;i++)n[i]=KS(n[i-3]^n[i-8]^n[i-14]^n[i-16],1);var s=this.h[0],o=this.h[1],a=this.h[2],A=this.h[3],f=this.h[4];for(i=0;i<n.length;i++){var l=~~(i/20),p=I0e(KS(s,5),b0e(l,o,a,A),f,n[i],C0e[l]);f=A,A=a,a=KS(o,30),o=s,s=p}this.h[0]=Od(this.h[0],s),this.h[1]=Od(this.h[1],o),this.h[2]=Od(this.h[2],a),this.h[3]=Od(this.h[3],A),this.h[4]=Od(this.h[4],f)};fo.prototype._digest=function(t){return t==="hex"?zc.toHex32(this.h,"big"):zc.split32(this.h,"big")}});var XS=x(($Me,jP)=>{"use strict";var Kc=cs(),Q0e=jc(),Xc=zS(),w0e=zn(),ls=Kc.sum32,S0e=Kc.sum32_4,_0e=Kc.sum32_5,v0e=Xc.ch32,R0e=Xc.maj32,D0e=Xc.s0_256,T0e=Xc.s1_256,N0e=Xc.g0_256,M0e=Xc.g1_256,JP=Q0e.BlockHash,F0e=[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];function uo(){if(!(this instanceof uo))return new uo;JP.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=F0e,this.W=new Array(64)}Kc.inherits(uo,JP);jP.exports=uo;uo.blockSize=512;uo.outSize=256;uo.hmacStrength=192;uo.padLength=64;uo.prototype._update=function(t,r){for(var n=this.W,i=0;i<16;i++)n[i]=t[r+i];for(;i<n.length;i++)n[i]=S0e(M0e(n[i-2]),n[i-7],N0e(n[i-15]),n[i-16]);var s=this.h[0],o=this.h[1],a=this.h[2],A=this.h[3],f=this.h[4],l=this.h[5],p=this.h[6],B=this.h[7];for(w0e(this.k.length===n.length),i=0;i<n.length;i++){var S=_0e(B,T0e(f),v0e(f,l,p),this.k[i],n[i]),_=ls(D0e(s),R0e(s,o,a));B=p,p=l,l=f,f=ls(A,S),A=a,a=o,o=s,s=ls(S,_)}this.h[0]=ls(this.h[0],s),this.h[1]=ls(this.h[1],o),this.h[2]=ls(this.h[2],a),this.h[3]=ls(this.h[3],A),this.h[4]=ls(this.h[4],f),this.h[5]=ls(this.h[5],l),this.h[6]=ls(this.h[6],p),this.h[7]=ls(this.h[7],B)};uo.prototype._digest=function(t){return t==="hex"?Kc.toHex32(this.h,"big"):Kc.split32(this.h,"big")}});var XP=x((eFe,KP)=>{"use strict";var ZS=cs(),zP=XS();function ua(){if(!(this instanceof ua))return new ua;zP.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}ZS.inherits(ua,zP);KP.exports=ua;ua.blockSize=512;ua.outSize=224;ua.hmacStrength=192;ua.padLength=64;ua.prototype._digest=function(t){return t==="hex"?ZS.toHex32(this.h.slice(0,7),"big"):ZS.split32(this.h.slice(0,7),"big")}});var t_=x((tFe,t9)=>{"use strict";var Fn=cs(),k0e=jc(),x0e=zn(),co=Fn.rotr64_hi,lo=Fn.rotr64_lo,ZP=Fn.shr64_hi,$P=Fn.shr64_lo,dA=Fn.sum64,$S=Fn.sum64_hi,e_=Fn.sum64_lo,U0e=Fn.sum64_4_hi,L0e=Fn.sum64_4_lo,P0e=Fn.sum64_5_hi,O0e=Fn.sum64_5_lo,e9=k0e.BlockHash,H0e=[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];function hs(){if(!(this instanceof hs))return new hs;e9.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=H0e,this.W=new Array(160)}Fn.inherits(hs,e9);t9.exports=hs;hs.blockSize=1024;hs.outSize=512;hs.hmacStrength=192;hs.padLength=128;hs.prototype._prepareBlock=function(t,r){for(var n=this.W,i=0;i<32;i++)n[i]=t[r+i];for(;i<n.length;i+=2){var s=Z0e(n[i-4],n[i-3]),o=$0e(n[i-4],n[i-3]),a=n[i-14],A=n[i-13],f=K0e(n[i-30],n[i-29]),l=X0e(n[i-30],n[i-29]),p=n[i-32],B=n[i-31];n[i]=U0e(s,o,a,A,f,l,p,B),n[i+1]=L0e(s,o,a,A,f,l,p,B)}};hs.prototype._update=function(t,r){this._prepareBlock(t,r);var n=this.W,i=this.h[0],s=this.h[1],o=this.h[2],a=this.h[3],A=this.h[4],f=this.h[5],l=this.h[6],p=this.h[7],B=this.h[8],S=this.h[9],_=this.h[10],N=this.h[11],P=this.h[12],U=this.h[13],G=this.h[14],Y=this.h[15];x0e(this.k.length===n.length);for(var Z=0;Z<n.length;Z+=2){var ee=G,j=Y,se=j0e(B,S),ie=z0e(B,S),ce=q0e(B,S,_,N,P,U),H=G0e(B,S,_,N,P,U),E=this.k[Z],R=this.k[Z+1],b=n[Z],c=n[Z+1],g=P0e(ee,j,se,ie,ce,H,E,R,b,c),w=O0e(ee,j,se,ie,ce,H,E,R,b,c);ee=V0e(i,s),j=J0e(i,s),se=Y0e(i,s,o,a,A,f),ie=W0e(i,s,o,a,A,f);var v=$S(ee,j,se,ie),C=e_(ee,j,se,ie);G=P,Y=U,P=_,U=N,_=B,N=S,B=$S(l,p,g,w),S=e_(p,p,g,w),l=A,p=f,A=o,f=a,o=i,a=s,i=$S(g,w,v,C),s=e_(g,w,v,C)}dA(this.h,0,i,s),dA(this.h,2,o,a),dA(this.h,4,A,f),dA(this.h,6,l,p),dA(this.h,8,B,S),dA(this.h,10,_,N),dA(this.h,12,P,U),dA(this.h,14,G,Y)};hs.prototype._digest=function(t){return t==="hex"?Fn.toHex32(this.h,"big"):Fn.split32(this.h,"big")};function q0e(e,t,r,n,i){var s=e&r^~e&i;return s<0&&(s+=4294967296),s}function G0e(e,t,r,n,i,s){var o=t&n^~t&s;return o<0&&(o+=4294967296),o}function Y0e(e,t,r,n,i){var s=e&r^e&i^r&i;return s<0&&(s+=4294967296),s}function W0e(e,t,r,n,i,s){var o=t&n^t&s^n&s;return o<0&&(o+=4294967296),o}function V0e(e,t){var r=co(e,t,28),n=co(t,e,2),i=co(t,e,7),s=r^n^i;return s<0&&(s+=4294967296),s}function J0e(e,t){var r=lo(e,t,28),n=lo(t,e,2),i=lo(t,e,7),s=r^n^i;return s<0&&(s+=4294967296),s}function j0e(e,t){var r=co(e,t,14),n=co(e,t,18),i=co(t,e,9),s=r^n^i;return s<0&&(s+=4294967296),s}function z0e(e,t){var r=lo(e,t,14),n=lo(e,t,18),i=lo(t,e,9),s=r^n^i;return s<0&&(s+=4294967296),s}function K0e(e,t){var r=co(e,t,1),n=co(e,t,8),i=ZP(e,t,7),s=r^n^i;return s<0&&(s+=4294967296),s}function X0e(e,t){var r=lo(e,t,1),n=lo(e,t,8),i=$P(e,t,7),s=r^n^i;return s<0&&(s+=4294967296),s}function Z0e(e,t){var r=co(e,t,19),n=co(t,e,29),i=ZP(e,t,6),s=r^n^i;return s<0&&(s+=4294967296),s}function $0e(e,t){var r=lo(e,t,19),n=lo(t,e,29),i=$P(e,t,6),s=r^n^i;return s<0&&(s+=4294967296),s}});var i9=x((rFe,n9)=>{"use strict";var r_=cs(),r9=t_();function ca(){if(!(this instanceof ca))return new ca;r9.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r_.inherits(ca,r9);n9.exports=ca;ca.blockSize=1024;ca.outSize=384;ca.hmacStrength=192;ca.padLength=128;ca.prototype._digest=function(t){return t==="hex"?r_.toHex32(this.h.slice(0,12),"big"):r_.split32(this.h.slice(0,12),"big")}});var s9=x(Zc=>{"use strict";Zc.sha1=VP();Zc.sha224=XP();Zc.sha256=XS();Zc.sha384=i9();Zc.sha512=t_()});var c9=x(u9=>{"use strict";var Lf=cs(),epe=jc(),Py=Lf.rotl32,o9=Lf.sum32,Hd=Lf.sum32_3,a9=Lf.sum32_4,f9=epe.BlockHash;function ho(){if(!(this instanceof ho))return new ho;f9.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}Lf.inherits(ho,f9);u9.ripemd160=ho;ho.blockSize=512;ho.outSize=160;ho.hmacStrength=192;ho.padLength=64;ho.prototype._update=function(t,r){for(var n=this.h[0],i=this.h[1],s=this.h[2],o=this.h[3],a=this.h[4],A=n,f=i,l=s,p=o,B=a,S=0;S<80;S++){var _=o9(Py(a9(n,A9(S,i,s,o),t[npe[S]+r],tpe(S)),spe[S]),a);n=a,a=o,o=Py(s,10),s=i,i=_,_=o9(Py(a9(A,A9(79-S,f,l,p),t[ipe[S]+r],rpe(S)),ope[S]),B),A=B,B=p,p=Py(l,10),l=f,f=_}_=Hd(this.h[1],s,p),this.h[1]=Hd(this.h[2],o,B),this.h[2]=Hd(this.h[3],a,A),this.h[3]=Hd(this.h[4],n,f),this.h[4]=Hd(this.h[0],i,l),this.h[0]=_};ho.prototype._digest=function(t){return t==="hex"?Lf.toHex32(this.h,"little"):Lf.split32(this.h,"little")};function A9(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function tpe(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function rpe(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}var npe=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],ipe=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],spe=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],ope=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]});var h9=x((sFe,l9)=>{"use strict";var ape=cs(),Ape=zn();function $c(e,t,r){if(!(this instanceof $c))return new $c(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(ape.toArray(t,r))}l9.exports=$c;$c.prototype._init=function(t){t.length>this.blockSize&&(t=new this.Hash().update(t).digest()),Ape(t.length<=this.blockSize);for(var r=t.length;r<this.blockSize;r++)t.push(0);for(r=0;r<t.length;r++)t[r]^=54;for(this.inner=new this.Hash().update(t),r=0;r<t.length;r++)t[r]^=106;this.outer=new this.Hash().update(t)};$c.prototype.update=function(t,r){return this.inner.update(t,r),this};$c.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}});var Oy=x(d9=>{var zr=d9;zr.utils=cs();zr.common=jc();zr.sha=s9();zr.ripemd=c9();zr.hmac=h9();zr.sha1=zr.sha.sha1;zr.sha256=zr.sha.sha256;zr.sha224=zr.sha.sha224;zr.sha384=zr.sha.sha384;zr.sha512=zr.sha.sha512;zr.ripemd160=zr.ripemd.ripemd160});var p9=x((aFe,g9)=>{g9.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}});var Hy=x(m9=>{"use strict";var i_=m9,gA=Oy(),n_=jS(),fpe=Kn(),E9=fpe.assert;function y9(e){e.type==="short"?this.curve=new n_.short(e):e.type==="edwards"?this.curve=new n_.edwards(e):this.curve=new n_.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,E9(this.g.validate(),"Invalid curve"),E9(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}i_.PresetCurve=y9;function pA(e,t){Object.defineProperty(i_,e,{configurable:!0,enumerable:!0,get:function(){var r=new y9(t);return Object.defineProperty(i_,e,{configurable:!0,enumerable:!0,value:r}),r}})}pA("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:gA.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});pA("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:gA.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});pA("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:gA.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});pA("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:gA.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]});pA("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:gA.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]});pA("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:gA.sha256,gRed:!1,g:["9"]});pA("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:gA.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var s_;try{s_=p9()}catch{s_=void 0}pA("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:gA.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",s_]})});var b9=x((fFe,I9)=>{"use strict";var upe=Oy(),Pf=VS(),B9=zn();function EA(e){if(!(this instanceof EA))return new EA(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=Pf.toArray(e.entropy,e.entropyEnc||"hex"),r=Pf.toArray(e.nonce,e.nonceEnc||"hex"),n=Pf.toArray(e.pers,e.persEnc||"hex");B9(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}I9.exports=EA;EA.prototype._init=function(t,r,n){var i=t.concat(r).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var s=0;s<this.V.length;s++)this.K[s]=0,this.V[s]=1;this._update(i),this._reseed=1,this.reseedInterval=281474976710656};EA.prototype._hmac=function(){return new upe.hmac(this.hash,this.K)};EA.prototype._update=function(t){var r=this._hmac().update(this.V).update([0]);t&&(r=r.update(t)),this.K=r.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())};EA.prototype.reseed=function(t,r,n,i){typeof r!="string"&&(i=n,n=r,r=null),t=Pf.toArray(t,r),n=Pf.toArray(n,i),B9(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1};EA.prototype.generate=function(t,r,n,i){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof r!="string"&&(i=n,n=r,r=null),n&&(n=Pf.toArray(n,i||"hex"),this._update(n));for(var s=[];s.length<t;)this.V=this._hmac().update(this.V).digest(),s=s.concat(this.V);var o=s.slice(0,t);return this._update(n),this._reseed++,Pf.encode(o,r)}});var Q9=x((uFe,C9)=>{"use strict";var cpe=kr(),lpe=Kn(),o_=lpe.assert;function An(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}C9.exports=An;An.fromPublic=function(t,r,n){return r instanceof An?r:new An(t,{pub:r,pubEnc:n})};An.fromPrivate=function(t,r,n){return r instanceof An?r:new An(t,{priv:r,privEnc:n})};An.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}};An.prototype.getPublic=function(t,r){return typeof t=="string"&&(r=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),r?this.pub.encode(r,t):this.pub};An.prototype.getPrivate=function(t){return t==="hex"?this.priv.toString(16,2):this.priv};An.prototype._importPrivate=function(t,r){this.priv=new cpe(t,r||16),this.priv=this.priv.umod(this.ec.curve.n)};An.prototype._importPublic=function(t,r){if(t.x||t.y){this.ec.curve.type==="mont"?o_(t.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&o_(t.x&&t.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(t.x,t.y);return}this.pub=this.ec.curve.decodePoint(t,r)};An.prototype.derive=function(t){return t.validate()||o_(t.validate(),"public point not validated"),t.mul(this.priv).getX()};An.prototype.sign=function(t,r,n){return this.ec.sign(t,this,r,n)};An.prototype.verify=function(t,r,n){return this.ec.verify(t,r,this,void 0,n)};An.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}});var _9=x((cFe,S9)=>{"use strict";var qy=kr(),f_=Kn(),hpe=f_.assert;function Gy(e,t){if(e instanceof Gy)return e;this._importDER(e,t)||(hpe(e.r&&e.s,"Signature without r or s"),this.r=new qy(e.r,16),this.s=new qy(e.s,16),e.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}S9.exports=Gy;function dpe(){this.place=0}function a_(e,t){var r=e[t.place++];if(!(r&128))return r;var n=r&15;if(n===0||n>4||e[t.place]===0)return!1;for(var i=0,s=0,o=t.place;s<n;s++,o++)i<<=8,i|=e[o],i>>>=0;return i<=127?!1:(t.place=o,i)}function w9(e){for(var t=0,r=e.length-1;!e[t]&&!(e[t+1]&128)&&t<r;)t++;return t===0?e:e.slice(t)}Gy.prototype._importDER=function(t,r){t=f_.toArray(t,r);var n=new dpe;if(t[n.place++]!==48)return!1;var i=a_(t,n);if(i===!1||i+n.place!==t.length||t[n.place++]!==2)return!1;var s=a_(t,n);if(s===!1||(t[n.place]&128)!==0)return!1;var o=t.slice(n.place,s+n.place);if(n.place+=s,t[n.place++]!==2)return!1;var a=a_(t,n);if(a===!1||t.length!==a+n.place||(t[n.place]&128)!==0)return!1;var A=t.slice(n.place,a+n.place);if(o[0]===0)if(o[1]&128)o=o.slice(1);else return!1;if(A[0]===0)if(A[1]&128)A=A.slice(1);else return!1;return this.r=new qy(o),this.s=new qy(A),this.recoveryParam=null,!0};function A_(e,t){if(t<128){e.push(t);return}var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(r|128);--r;)e.push(t>>>(r<<3)&255);e.push(t)}Gy.prototype.toDER=function(t){var r=this.r.toArray(),n=this.s.toArray();for(r[0]&128&&(r=[0].concat(r)),n[0]&128&&(n=[0].concat(n)),r=w9(r),n=w9(n);!n[0]&&!(n[1]&128);)n=n.slice(1);var i=[2];A_(i,r.length),i=i.concat(r),i.push(2),A_(i,n.length);var s=i.concat(n),o=[48];return A_(o,s.length),o=o.concat(s),f_.encode(o,t)}});var D9=x((lFe,R9)=>{"use strict";var ds=kr(),v9=b9(),gpe=Kn(),u_=Hy(),ppe=Sy(),Of=gpe.assert,c_=Q9(),Yy=_9();function vi(e){if(!(this instanceof vi))return new vi(e);typeof e=="string"&&(Of(Object.prototype.hasOwnProperty.call(u_,e),"Unknown curve "+e),e=u_[e]),e instanceof u_.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}R9.exports=vi;vi.prototype.keyPair=function(t){return new c_(this,t)};vi.prototype.keyFromPrivate=function(t,r){return c_.fromPrivate(this,t,r)};vi.prototype.keyFromPublic=function(t,r){return c_.fromPublic(this,t,r)};vi.prototype.genKeyPair=function(t){t||(t={});for(var r=new v9({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||ppe(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),i=this.n.sub(new ds(2));;){var s=new ds(r.generate(n));if(!(s.cmp(i)>0))return s.iaddn(1),this.keyFromPrivate(s)}};vi.prototype._truncateToN=function(t,r,n){var i;if(ds.isBN(t)||typeof t=="number")t=new ds(t,16),i=t.byteLength();else if(typeof t=="object")i=t.length,t=new ds(t,16);else{var s=t.toString();i=s.length+1>>>1,t=new ds(s,16)}typeof n!="number"&&(n=i*8);var o=n-this.n.bitLength();return o>0&&(t=t.ushrn(o)),!r&&t.cmp(this.n)>=0?t.sub(this.n):t};vi.prototype.sign=function(t,r,n,i){if(typeof n=="object"&&(i=n,n=null),i||(i={}),typeof t!="string"&&typeof t!="number"&&!ds.isBN(t)){Of(typeof t=="object"&&t&&typeof t.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),Of(t.length>>>0===t.length);for(var s=0;s<t.length;s++)Of((t[s]&255)===t[s])}r=this.keyFromPrivate(r,n),t=this._truncateToN(t,!1,i.msgBitLength),Of(!t.isNeg(),"Can not sign a negative message");var o=this.n.byteLength(),a=r.getPrivate().toArray("be",o),A=t.toArray("be",o);Of(new ds(A).eq(t),"Can not sign message");for(var f=new v9({hash:this.hash,entropy:a,nonce:A,pers:i.pers,persEnc:i.persEnc||"utf8"}),l=this.n.sub(new ds(1)),p=0;;p++){var B=i.k?i.k(p):new ds(f.generate(this.n.byteLength()));if(B=this._truncateToN(B,!0),!(B.cmpn(1)<=0||B.cmp(l)>=0)){var S=this.g.mul(B);if(!S.isInfinity()){var _=S.getX(),N=_.umod(this.n);if(N.cmpn(0)!==0){var P=B.invm(this.n).mul(N.mul(r.getPrivate()).iadd(t));if(P=P.umod(this.n),P.cmpn(0)!==0){var U=(S.getY().isOdd()?1:0)|(_.cmp(N)!==0?2:0);return i.canonical&&P.cmp(this.nh)>0&&(P=this.n.sub(P),U^=1),new Yy({r:N,s:P,recoveryParam:U})}}}}}};vi.prototype.verify=function(t,r,n,i,s){s||(s={}),t=this._truncateToN(t,!1,s.msgBitLength),n=this.keyFromPublic(n,i),r=new Yy(r,"hex");var o=r.r,a=r.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0||a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var A=a.invm(this.n),f=A.mul(t).umod(this.n),l=A.mul(o).umod(this.n),p;return this.curve._maxwellTrick?(p=this.g.jmulAdd(f,n.getPublic(),l),p.isInfinity()?!1:p.eqXToP(o)):(p=this.g.mulAdd(f,n.getPublic(),l),p.isInfinity()?!1:p.getX().umod(this.n).cmp(o)===0)};vi.prototype.recoverPubKey=function(e,t,r,n){Of((3&r)===r,"The recovery param is more than two bits"),t=new Yy(t,n);var i=this.n,s=new ds(e),o=t.r,a=t.s,A=r&1,f=r>>1;if(o.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw new Error("Unable to find sencond key candinate");f?o=this.curve.pointFromX(o.add(this.curve.n),A):o=this.curve.pointFromX(o,A);var l=t.r.invm(i),p=i.sub(s).mul(l).umod(i),B=a.mul(l).umod(i);return this.g.mulAdd(p,o,B)};vi.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new Yy(t,n),t.recoveryParam!==null)return t.recoveryParam;for(var i=0;i<4;i++){var s;try{s=this.recoverPubKey(e,t,i)}catch{continue}if(s.eq(r))return i}throw new Error("Unable to find valid recovery factor")}});var F9=x((hFe,M9)=>{"use strict";var qd=Kn(),N9=qd.assert,T9=qd.parseBytes,el=qd.cachedProperty;function Lr(e,t){this.eddsa=e,this._secret=T9(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=T9(t.pub)}Lr.fromPublic=function(t,r){return r instanceof Lr?r:new Lr(t,{pub:r})};Lr.fromSecret=function(t,r){return r instanceof Lr?r:new Lr(t,{secret:r})};Lr.prototype.secret=function(){return this._secret};el(Lr,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});el(Lr,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});el(Lr,"privBytes",function(){var t=this.eddsa,r=this.hash(),n=t.encodingLength-1,i=r.slice(0,t.encodingLength);return i[0]&=248,i[n]&=127,i[n]|=64,i});el(Lr,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});el(Lr,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});el(Lr,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});Lr.prototype.sign=function(t){return N9(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)};Lr.prototype.verify=function(t,r){return this.eddsa.verify(t,r,this)};Lr.prototype.getSecret=function(t){return N9(this._secret,"KeyPair is public only"),qd.encode(this.secret(),t)};Lr.prototype.getPublic=function(t){return qd.encode(this.pubBytes(),t)};M9.exports=Lr});var U9=x((dFe,x9)=>{"use strict";var Epe=kr(),Wy=Kn(),k9=Wy.assert,Vy=Wy.cachedProperty,ype=Wy.parseBytes;function Hf(e,t){this.eddsa=e,typeof t!="object"&&(t=ype(t)),Array.isArray(t)&&(k9(t.length===e.encodingLength*2,"Signature has invalid size"),t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),k9(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof Epe&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}Vy(Hf,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});Vy(Hf,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});Vy(Hf,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});Vy(Hf,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});Hf.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};Hf.prototype.toHex=function(){return Wy.encode(this.toBytes(),"hex").toUpperCase()};x9.exports=Hf});var q9=x((gFe,H9)=>{"use strict";var mpe=Oy(),Bpe=Hy(),tl=Kn(),Ipe=tl.assert,P9=tl.parseBytes,O9=F9(),L9=U9();function kn(e){if(Ipe(e==="ed25519","only tested with ed25519 so far"),!(this instanceof kn))return new kn(e);e=Bpe[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=mpe.sha512}H9.exports=kn;kn.prototype.sign=function(t,r){t=P9(t);var n=this.keyFromSecret(r),i=this.hashInt(n.messagePrefix(),t),s=this.g.mul(i),o=this.encodePoint(s),a=this.hashInt(o,n.pubBytes(),t).mul(n.priv()),A=i.add(a).umod(this.curve.n);return this.makeSignature({R:s,S:A,Rencoded:o})};kn.prototype.verify=function(t,r,n){if(t=P9(t),r=this.makeSignature(r),r.S().gte(r.eddsa.curve.n)||r.S().isNeg())return!1;var i=this.keyFromPublic(n),s=this.hashInt(r.Rencoded(),i.pubBytes(),t),o=this.g.mul(r.S()),a=r.R().add(i.pub().mul(s));return a.eq(o)};kn.prototype.hashInt=function(){for(var t=this.hash(),r=0;r<arguments.length;r++)t.update(arguments[r]);return tl.intFromLE(t.digest()).umod(this.curve.n)};kn.prototype.keyFromPublic=function(t){return O9.fromPublic(this,t)};kn.prototype.keyFromSecret=function(t){return O9.fromSecret(this,t)};kn.prototype.makeSignature=function(t){return t instanceof L9?t:new L9(this,t)};kn.prototype.encodePoint=function(t){var r=t.getY().toArray("le",this.encodingLength);return r[this.encodingLength-1]|=t.getX().isOdd()?128:0,r};kn.prototype.decodePoint=function(t){t=tl.parseBytes(t);var r=t.length-1,n=t.slice(0,r).concat(t[r]&-129),i=(t[r]&128)!==0,s=tl.intFromLE(n);return this.curve.pointFromY(s,i)};kn.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)};kn.prototype.decodeInt=function(t){return tl.intFromLE(t)};kn.prototype.isPoint=function(t){return t instanceof this.pointClass}});var Jy=x(G9=>{"use strict";var qf=G9;qf.version=IP().version;qf.utils=Kn();qf.rand=Sy();qf.curve=jS();qf.curves=Hy();qf.ec=D9();qf.eddsa=q9()});var Y9=x((exports,module)=>{var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=(function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch{return function(t,r,n){t[r]=n}}})(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(t){if(!(this instanceof Script))return new Script(t);this.code=t};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(e),function(a){r[a]=e[a]}),forEach(globals,function(a){e[a]&&(r[a]=e[a])});var s=Object_keys(r),o=n.call(r,this.code);return forEach(Object_keys(r),function(a){(a in e||indexOf(s,a)===-1)&&(e[a]=r[a])}),forEach(globals,function(a){a in e||defineProp(e,a,r[a])}),document.body.removeChild(t),o};Script.prototype.runInThisContext=function(){return eval(this.code)};Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return e&&forEach(Object_keys(t),function(n){e[n]=t[n]}),r};forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}});exports.isContext=function(e){return e instanceof Context};exports.createScript=function(e){return exports.Script(e)};exports.createContext=Script.createContext=function(e){var t=new Context;return typeof e=="object"&&forEach(Object_keys(e),function(r){t[r]=e[r]}),t}});var J9=x(V9=>{var W9=nl(),bpe=Ve(),Cpe=V9;Cpe.define=function(t,r){return new rl(t,r)};function rl(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}rl.prototype._createNamed=function(t){var r;try{r=Y9().runInThisContext("(function "+this.name+`(entity) {
this._initNamed(entity);
})`)}catch{r=function(i){this._initNamed(i)}}return bpe(r,t),r.prototype._initNamed=function(i){t.call(this,i)},new r(this)};rl.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(W9.decoders[t])),this.decoders[t]};rl.prototype.decode=function(t,r,n){return this._getDecoder(r).decode(t,n)};rl.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(W9.encoders[t])),this.encoders[t]};rl.prototype.encode=function(t,r,n){return this._getEncoder(r).encode(t,n)}});var z9=x(j9=>{var Qpe=Ve();function Ri(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}j9.Reporter=Ri;Ri.prototype.isError=function(t){return t instanceof il};Ri.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}};Ri.prototype.restore=function(t){var r=this._reporterState;r.obj=t.obj,r.path=r.path.slice(0,t.pathLen)};Ri.prototype.enterKey=function(t){return this._reporterState.path.push(t)};Ri.prototype.exitKey=function(t){var r=this._reporterState;r.path=r.path.slice(0,t-1)};Ri.prototype.leaveKey=function(t,r,n){var i=this._reporterState;this.exitKey(t),i.obj!==null&&(i.obj[r]=n)};Ri.prototype.path=function(){return this._reporterState.path.join("/")};Ri.prototype.enterObject=function(){var t=this._reporterState,r=t.obj;return t.obj={},r};Ri.prototype.leaveObject=function(t){var r=this._reporterState,n=r.obj;return r.obj=t,n};Ri.prototype.error=function(t){var r,n=this._reporterState,i=t instanceof il;if(i?r=t:r=new il(n.path.map(function(s){return"["+JSON.stringify(s)+"]"}).join(""),t.message||t,t.stack),!n.options.partial)throw r;return i||n.errors.push(r),r};Ri.prototype.wrapResult=function(t){var r=this._reporterState;return r.options.partial?{result:this.isError(t)?null:t,errors:r.errors}:t};function il(e,t){this.path=e,this.rethrow(t)}Qpe(il,Error);il.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,il),!this.stack)try{throw new Error(this.message)}catch(r){this.stack=r.stack}return this}});var h_=x(l_=>{var wpe=Ve(),zy=sl().Reporter,Gd=Gr().Buffer;function go(e,t){if(zy.call(this,t),!Gd.isBuffer(e)){this.error("Input not Buffer");return}this.base=e,this.offset=0,this.length=e.length}wpe(go,zy);l_.DecoderBuffer=go;go.prototype.save=function(){return{offset:this.offset,reporter:zy.prototype.save.call(this)}};go.prototype.restore=function(t){var r=new go(this.base);return r.offset=t.offset,r.length=this.offset,this.offset=t.offset,zy.prototype.restore.call(this,t.reporter),r};go.prototype.isEmpty=function(){return this.offset===this.length};go.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")};go.prototype.skip=function(t,r){if(!(this.offset+t<=this.length))return this.error(r||"DecoderBuffer overrun");var n=new go(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+t,this.offset+=t,n};go.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)};function jy(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(r){return r instanceof jy||(r=new jy(r,t)),this.length+=r.length,r},this);else if(typeof e=="number"){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if(typeof e=="string")this.value=e,this.length=Gd.byteLength(e);else if(Gd.isBuffer(e))this.value=e,this.length=e.length;else return t.error("Unsupported type: "+typeof e)}l_.EncoderBuffer=jy;jy.prototype.join=function(t,r){return t||(t=new Gd(this.length)),r||(r=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(n){n.join(t,r),r+=n.length}):(typeof this.value=="number"?t[r]=this.value:typeof this.value=="string"?t.write(this.value,r):Gd.isBuffer(this.value)&&this.value.copy(t,r),r+=this.length)),t}});var Z9=x((BFe,X9)=>{var Spe=sl().Reporter,_pe=sl().EncoderBuffer,vpe=sl().DecoderBuffer,En=zn(),K9=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],Rpe=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(K9),Dpe=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function Ut(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}X9.exports=Ut;var Tpe=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];Ut.prototype.clone=function(){var t=this._baseState,r={};Tpe.forEach(function(i){r[i]=t[i]});var n=new this.constructor(r.parent);return n._baseState=r,n};Ut.prototype._wrap=function(){var t=this._baseState;Rpe.forEach(function(r){this[r]=function(){var i=new this.constructor(this);return t.children.push(i),i[r].apply(i,arguments)}},this)};Ut.prototype._init=function(t){var r=this._baseState;En(r.parent===null),t.call(this),r.children=r.children.filter(function(n){return n._baseState.parent===this},this),En.equal(r.children.length,1,"Root node can have only one child")};Ut.prototype._useArgs=function(t){var r=this._baseState,n=t.filter(function(i){return i instanceof this.constructor},this);t=t.filter(function(i){return!(i instanceof this.constructor)},this),n.length!==0&&(En(r.children===null),r.children=n,n.forEach(function(i){i._baseState.parent=this},this)),t.length!==0&&(En(r.args===null),r.args=t,r.reverseArgs=t.map(function(i){if(typeof i!="object"||i.constructor!==Object)return i;var s={};return Object.keys(i).forEach(function(o){o==(o|0)&&(o|=0);var a=i[o];s[a]=o}),s}))};Dpe.forEach(function(e){Ut.prototype[e]=function(){var r=this._baseState;throw new Error(e+" not implemented for encoding: "+r.enc)}});K9.forEach(function(e){Ut.prototype[e]=function(){var r=this._baseState,n=Array.prototype.slice.call(arguments);return En(r.tag===null),r.tag=e,this._useArgs(n),this}});Ut.prototype.use=function(t){En(t);var r=this._baseState;return En(r.use===null),r.use=t,this};Ut.prototype.optional=function(){var t=this._baseState;return t.optional=!0,this};Ut.prototype.def=function(t){var r=this._baseState;return En(r.default===null),r.default=t,r.optional=!0,this};Ut.prototype.explicit=function(t){var r=this._baseState;return En(r.explicit===null&&r.implicit===null),r.explicit=t,this};Ut.prototype.implicit=function(t){var r=this._baseState;return En(r.explicit===null&&r.implicit===null),r.implicit=t,this};Ut.prototype.obj=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return t.obj=!0,r.length!==0&&this._useArgs(r),this};Ut.prototype.key=function(t){var r=this._baseState;return En(r.key===null),r.key=t,this};Ut.prototype.any=function(){var t=this._baseState;return t.any=!0,this};Ut.prototype.choice=function(t){var r=this._baseState;return En(r.choice===null),r.choice=t,this._useArgs(Object.keys(t).map(function(n){return t[n]})),this};Ut.prototype.contains=function(t){var r=this._baseState;return En(r.use===null),r.contains=t,this};Ut.prototype._decode=function(t,r){var n=this._baseState;if(n.parent===null)return t.wrapResult(n.children[0]._decode(t,r));var i=n.default,s=!0,o=null;if(n.key!==null&&(o=t.enterKey(n.key)),n.optional){var a=null;if(n.explicit!==null?a=n.explicit:n.implicit!==null?a=n.implicit:n.tag!==null&&(a=n.tag),a===null&&!n.any){var A=t.save();try{n.choice===null?this._decodeGeneric(n.tag,t,r):this._decodeChoice(t,r),s=!0}catch{s=!1}t.restore(A)}else if(s=this._peekTag(t,a,n.any),t.isError(s))return s}var f;if(n.obj&&s&&(f=t.enterObject()),s){if(n.explicit!==null){var l=this._decodeTag(t,n.explicit);if(t.isError(l))return l;t=l}var p=t.offset;if(n.use===null&&n.choice===null){if(n.any)var A=t.save();var B=this._decodeTag(t,n.implicit!==null?n.implicit:n.tag,n.any);if(t.isError(B))return B;n.any?i=t.raw(A):t=B}if(r&&r.track&&n.tag!==null&&r.track(t.path(),p,t.length,"tagged"),r&&r.track&&n.tag!==null&&r.track(t.path(),t.offset,t.length,"content"),n.any?i=i:n.choice===null?i=this._decodeGeneric(n.tag,t,r):i=this._decodeChoice(t,r),t.isError(i))return i;if(!n.any&&n.choice===null&&n.children!==null&&n.children.forEach(function(N){N._decode(t,r)}),n.contains&&(n.tag==="octstr"||n.tag==="bitstr")){var S=new vpe(i);i=this._getUse(n.contains,t._reporterState.obj)._decode(S,r)}}return n.obj&&s&&(i=t.leaveObject(f)),n.key!==null&&(i!==null||s===!0)?t.leaveKey(o,n.key,i):o!==null&&t.exitKey(o),i};Ut.prototype._decodeGeneric=function(t,r,n){var i=this._baseState;return t==="seq"||t==="set"?null:t==="seqof"||t==="setof"?this._decodeList(r,t,i.args[0],n):/str$/.test(t)?this._decodeStr(r,t,n):t==="objid"&&i.args?this._decodeObjid(r,i.args[0],i.args[1],n):t==="objid"?this._decodeObjid(r,null,null,n):t==="gentime"||t==="utctime"?this._decodeTime(r,t,n):t==="null_"?this._decodeNull(r,n):t==="bool"?this._decodeBool(r,n):t==="objDesc"?this._decodeStr(r,t,n):t==="int"||t==="enum"?this._decodeInt(r,i.args&&i.args[0],n):i.use!==null?this._getUse(i.use,r._reporterState.obj)._decode(r,n):r.error("unknown tag: "+t)};Ut.prototype._getUse=function(t,r){var n=this._baseState;return n.useDecoder=this._use(t,r),En(n.useDecoder._baseState.parent===null),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder};Ut.prototype._decodeChoice=function(t,r){var n=this._baseState,i=null,s=!1;return Object.keys(n.choice).some(function(o){var a=t.save(),A=n.choice[o];try{var f=A._decode(t,r);if(t.isError(f))return!1;i={type:o,value:f},s=!0}catch{return t.restore(a),!1}return!0},this),s?i:t.error("Choice not matched")};Ut.prototype._createEncoderBuffer=function(t){return new _pe(t,this.reporter)};Ut.prototype._encode=function(t,r,n){var i=this._baseState;if(!(i.default!==null&&i.default===t)){var s=this._encodeValue(t,r,n);if(s!==void 0&&!this._skipDefault(s,r,n))return s}};Ut.prototype._encodeValue=function(t,r,n){var i=this._baseState;if(i.parent===null)return i.children[0]._encode(t,r||new Spe);var A=null;if(this.reporter=r,i.optional&&t===void 0)if(i.default!==null)t=i.default;else return;var s=null,o=!1;if(i.any)A=this._createEncoderBuffer(t);else if(i.choice)A=this._encodeChoice(t,r);else if(i.contains)s=this._getUse(i.contains,n)._encode(t,r),o=!0;else if(i.children)s=i.children.map(function(p){if(p._baseState.tag==="null_")return p._encode(null,r,t);if(p._baseState.key===null)return r.error("Child should have a key");var B=r.enterKey(p._baseState.key);if(typeof t!="object")return r.error("Child expected, but input is not object");var S=p._encode(t[p._baseState.key],r,t);return r.leaveKey(B),S},this).filter(function(p){return p}),s=this._createEncoderBuffer(s);else if(i.tag==="seqof"||i.tag==="setof"){if(!(i.args&&i.args.length===1))return r.error("Too many args for : "+i.tag);if(!Array.isArray(t))return r.error("seqof/setof, but data is not Array");var a=this.clone();a._baseState.implicit=null,s=this._createEncoderBuffer(t.map(function(p){var B=this._baseState;return this._getUse(B.args[0],t)._encode(p,r)},a))}else i.use!==null?A=this._getUse(i.use,n)._encode(t,r):(s=this._encodePrimitive(i.tag,t),o=!0);var A;if(!i.any&&i.choice===null){var f=i.implicit!==null?i.implicit:i.tag,l=i.implicit===null?"universal":"context";f===null?i.use===null&&r.error("Tag could be omitted only for .use()"):i.use===null&&(A=this._encodeComposite(f,o,l,s))}return i.explicit!==null&&(A=this._encodeComposite(i.explicit,!1,"context",A)),A};Ut.prototype._encodeChoice=function(t,r){var n=this._baseState,i=n.choice[t.type];return i||En(!1,t.type+" not found in "+JSON.stringify(Object.keys(n.choice))),i._encode(t.value,r)};Ut.prototype._encodePrimitive=function(t,r){var n=this._baseState;if(/str$/.test(t))return this._encodeStr(r,t);if(t==="objid"&&n.args)return this._encodeObjid(r,n.reverseArgs[0],n.args[1]);if(t==="objid")return this._encodeObjid(r,null,null);if(t==="gentime"||t==="utctime")return this._encodeTime(r,t);if(t==="null_")return this._encodeNull();if(t==="int"||t==="enum")return this._encodeInt(r,n.args&&n.reverseArgs[0]);if(t==="bool")return this._encodeBool(r);if(t==="objDesc")return this._encodeStr(r,t);throw new Error("Unsupported tag: "+t)};Ut.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)};Ut.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(t)}});var sl=x($9=>{var Ky=$9;Ky.Reporter=z9().Reporter;Ky.DecoderBuffer=h_().DecoderBuffer;Ky.EncoderBuffer=h_().EncoderBuffer;Ky.Node=Z9()});var tO=x(Gf=>{var eO=d_();Gf.tagClass={0:"universal",1:"application",2:"context",3:"private"};Gf.tagClassByName=eO._reverse(Gf.tagClass);Gf.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"};Gf.tagByName=eO._reverse(Gf.tag)});var d_=x(nO=>{var rO=nO;rO._reverse=function(t){var r={};return Object.keys(t).forEach(function(n){(n|0)==n&&(n=n|0);var i=t[n];r[i]=n}),r};rO.der=tO()});var E_=x((QFe,aO)=>{var Npe=Ve(),g_=nl(),Xy=g_.base,Mpe=g_.bignum,iO=g_.constants.der;function sO(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new Xn,this.tree._init(e.body)}aO.exports=sO;sO.prototype.decode=function(t,r){return t instanceof Xy.DecoderBuffer||(t=new Xy.DecoderBuffer(t,r)),this.tree._decode(t,r)};function Xn(e){Xy.Node.call(this,"der",e)}Npe(Xn,Xy.Node);Xn.prototype._peekTag=function(t,r,n){if(t.isEmpty())return!1;var i=t.save(),s=p_(t,'Failed to peek tag: "'+r+'"');return t.isError(s)?s:(t.restore(i),s.tag===r||s.tagStr===r||s.tagStr+"of"===r||n)};Xn.prototype._decodeTag=function(t,r,n){var i=p_(t,'Failed to decode tag of "'+r+'"');if(t.isError(i))return i;var s=oO(t,i.primitive,'Failed to get length of "'+r+'"');if(t.isError(s))return s;if(!n&&i.tag!==r&&i.tagStr!==r&&i.tagStr+"of"!==r)return t.error('Failed to match tag: "'+r+'"');if(i.primitive||s!==null)return t.skip(s,'Failed to match body of: "'+r+'"');var o=t.save(),a=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(a)?a:(s=t.offset-o.offset,t.restore(o),t.skip(s,'Failed to match body of: "'+r+'"'))};Xn.prototype._skipUntilEnd=function(t,r){for(;;){var n=p_(t,r);if(t.isError(n))return n;var i=oO(t,n.primitive,r);if(t.isError(i))return i;var s;if(n.primitive||i!==null?s=t.skip(i):s=this._skipUntilEnd(t,r),t.isError(s))return s;if(n.tagStr==="end")break}};Xn.prototype._decodeList=function(t,r,n,i){for(var s=[];!t.isEmpty();){var o=this._peekTag(t,"end");if(t.isError(o))return o;var a=n.decode(t,"der",i);if(t.isError(a)&&o)break;s.push(a)}return s};Xn.prototype._decodeStr=function(t,r){if(r==="bitstr"){var n=t.readUInt8();return t.isError(n)?n:{unused:n,data:t.raw()}}else if(r==="bmpstr"){var i=t.raw();if(i.length%2===1)return t.error("Decoding of string type: bmpstr length mismatch");for(var s="",o=0;o<i.length/2;o++)s+=String.fromCharCode(i.readUInt16BE(o*2));return s}else if(r==="numstr"){var a=t.raw().toString("ascii");return this._isNumstr(a)?a:t.error("Decoding of string type: numstr unsupported characters")}else{if(r==="octstr")return t.raw();if(r==="objDesc")return t.raw();if(r==="printstr"){var A=t.raw().toString("ascii");return this._isPrintstr(A)?A:t.error("Decoding of string type: printstr unsupported characters")}else return/str$/.test(r)?t.raw().toString():t.error("Decoding of string type: "+r+" unsupported")}};Xn.prototype._decodeObjid=function(t,r,n){for(var i,s=[],o=0;!t.isEmpty();){var a=t.readUInt8();o<<=7,o|=a&127,(a&128)===0&&(s.push(o),o=0)}a&128&&s.push(o);var A=s[0]/40|0,f=s[0]%40;if(n?i=s:i=[A,f].concat(s.slice(1)),r){var l=r[i.join(" ")];l===void 0&&(l=r[i.join(".")]),l!==void 0&&(i=l)}return i};Xn.prototype._decodeTime=function(t,r){var n=t.raw().toString();if(r==="gentime")var i=n.slice(0,4)|0,s=n.slice(4,6)|0,o=n.slice(6,8)|0,a=n.slice(8,10)|0,A=n.slice(10,12)|0,f=n.slice(12,14)|0;else if(r==="utctime"){var i=n.slice(0,2)|0,s=n.slice(2,4)|0,o=n.slice(4,6)|0,a=n.slice(6,8)|0,A=n.slice(8,10)|0,f=n.slice(10,12)|0;i<70?i=2e3+i:i=1900+i}else return t.error("Decoding "+r+" time is not supported yet");return Date.UTC(i,s-1,o,a,A,f,0)};Xn.prototype._decodeNull=function(t){return null};Xn.prototype._decodeBool=function(t){var r=t.readUInt8();return t.isError(r)?r:r!==0};Xn.prototype._decodeInt=function(t,r){var n=t.raw(),i=new Mpe(n);return r&&(i=r[i.toString(10)]||i),i};Xn.prototype._use=function(t,r){return typeof t=="function"&&(t=t(r)),t._getDecoder("der").tree};function p_(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=iO.tagClass[r>>6],i=(r&32)===0;if((r&31)===31){var s=r;for(r=0;(s&128)===128;){if(s=e.readUInt8(t),e.isError(s))return s;r<<=7,r|=s&127}}else r&=31;var o=iO.tag[r];return{cls:n,primitive:i,tag:r,tagStr:o}}function oO(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&n===128)return null;if((n&128)===0)return n;var i=n&127;if(i>4)return e.error("length octect is too long");n=0;for(var s=0;s<i;s++){n<<=8;var o=e.readUInt8(r);if(e.isError(o))return o;n|=o}return n}});var fO=x((wFe,AO)=>{var Fpe=Ve(),kpe=Gr().Buffer,y_=E_();function m_(e){y_.call(this,e),this.enc="pem"}Fpe(m_,y_);AO.exports=m_;m_.prototype.decode=function(t,r){for(var n=t.toString().split(/[\r\n]+/g),i=r.label.toUpperCase(),s=/^-----(BEGIN|END) ([^-]+)-----$/,o=-1,a=-1,A=0;A<n.length;A++){var f=n[A].match(s);if(f!==null&&f[2]===i)if(o===-1){if(f[1]!=="BEGIN")break;o=A}else{if(f[1]!=="END")break;a=A;break}}if(o===-1||a===-1)throw new Error("PEM section not found for: "+i);var l=n.slice(o+1,a).join("");l.replace(/[^a-z0-9\+\/=]+/gi,"");var p=new kpe(l,"base64");return y_.prototype.decode.call(this,p,r)}});var lO=x(cO=>{var uO=cO;uO.der=E_();uO.pem=fO()});var I_=x((_Fe,pO)=>{var xpe=Ve(),la=Gr().Buffer,hO=nl(),dO=hO.base,B_=hO.constants.der;function gO(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new gs,this.tree._init(e.body)}pO.exports=gO;gO.prototype.encode=function(t,r){return this.tree._encode(t,r).join()};function gs(e){dO.Node.call(this,"der",e)}xpe(gs,dO.Node);gs.prototype._encodeComposite=function(t,r,n,i){var s=Upe(t,r,n,this.reporter);if(i.length<128){var A=new la(2);return A[0]=s,A[1]=i.length,this._createEncoderBuffer([A,i])}for(var o=1,a=i.length;a>=256;a>>=8)o++;var A=new la(2+o);A[0]=s,A[1]=128|o;for(var a=1+o,f=i.length;f>0;a--,f>>=8)A[a]=f&255;return this._createEncoderBuffer([A,i])};gs.prototype._encodeStr=function(t,r){if(r==="bitstr")return this._createEncoderBuffer([t.unused|0,t.data]);if(r==="bmpstr"){for(var n=new la(t.length*2),i=0;i<t.length;i++)n.writeUInt16BE(t.charCodeAt(i),i*2);return this._createEncoderBuffer(n)}else return r==="numstr"?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):r==="printstr"?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(r)?this._createEncoderBuffer(t):r==="objDesc"?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+r+" unsupported")};gs.prototype._encodeObjid=function(t,r,n){if(typeof t=="string"){if(!r)return this.reporter.error("string objid given, but no values map found");if(!r.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=r[t].split(/[\s\.]+/g);for(var i=0;i<t.length;i++)t[i]|=0}else if(Array.isArray(t)){t=t.slice();for(var i=0;i<t.length;i++)t[i]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!n){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,t[0]*40+t[1])}for(var s=0,i=0;i<t.length;i++){var o=t[i];for(s++;o>=128;o>>=7)s++}for(var a=new la(s),A=a.length-1,i=t.length-1;i>=0;i--){var o=t[i];for(a[A--]=o&127;(o>>=7)>0;)a[A--]=128|o&127}return this._createEncoderBuffer(a)};function Di(e){return e<10?"0"+e:e}gs.prototype._encodeTime=function(t,r){var n,i=new Date(t);return r==="gentime"?n=[Di(i.getFullYear()),Di(i.getUTCMonth()+1),Di(i.getUTCDate()),Di(i.getUTCHours()),Di(i.getUTCMinutes()),Di(i.getUTCSeconds()),"Z"].join(""):r==="utctime"?n=[Di(i.getFullYear()%100),Di(i.getUTCMonth()+1),Di(i.getUTCDate()),Di(i.getUTCHours()),Di(i.getUTCMinutes()),Di(i.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+r+" time is not supported yet"),this._encodeStr(n,"octstr")};gs.prototype._encodeNull=function(){return this._createEncoderBuffer("")};gs.prototype._encodeInt=function(t,r){if(typeof t=="string"){if(!r)return this.reporter.error("String int or enum given, but no values map");if(!r.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=r[t]}if(typeof t!="number"&&!la.isBuffer(t)){var n=t.toArray();!t.sign&&n[0]&128&&n.unshift(0),t=new la(n)}if(la.isBuffer(t)){var i=t.length;t.length===0&&i++;var o=new la(i);return t.copy(o),t.length===0&&(o[0]=0),this._createEncoderBuffer(o)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);for(var i=1,s=t;s>=256;s>>=8)i++;for(var o=new Array(i),s=o.length-1;s>=0;s--)o[s]=t&255,t>>=8;return o[0]&128&&o.unshift(0),this._createEncoderBuffer(new la(o))};gs.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)};gs.prototype._use=function(t,r){return typeof t=="function"&&(t=t(r)),t._getEncoder("der").tree};gs.prototype._skipDefault=function(t,r,n){var i=this._baseState,s;if(i.default===null)return!1;var o=t.join();if(i.defaultBuffer===void 0&&(i.defaultBuffer=this._encodeValue(i.default,r,n).join()),o.length!==i.defaultBuffer.length)return!1;for(s=0;s<o.length;s++)if(o[s]!==i.defaultBuffer[s])return!1;return!0};function Upe(e,t,r,n){var i;if(e==="seqof"?e="seq":e==="setof"&&(e="set"),B_.tagByName.hasOwnProperty(e))i=B_.tagByName[e];else if(typeof e=="number"&&(e|0)===e)i=e;else return n.error("Unknown tag: "+e);return i>=31?n.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=B_.tagClassByName[r||"universal"]<<6,i)}});var yO=x((vFe,EO)=>{var Lpe=Ve(),b_=I_();function C_(e){b_.call(this,e),this.enc="pem"}Lpe(C_,b_);EO.exports=C_;C_.prototype.encode=function(t,r){for(var n=b_.prototype.encode.call(this,t),i=n.toString("base64"),s=["-----BEGIN "+r.label+"-----"],o=0;o<i.length;o+=64)s.push(i.slice(o,o+64));return s.push("-----END "+r.label+"-----"),s.join(`
`)}});var IO=x(BO=>{var mO=BO;mO.der=I_();mO.pem=yO()});var nl=x(bO=>{var ol=bO;ol.bignum=kr();ol.define=J9().define;ol.base=sl();ol.constants=d_();ol.decoders=lO();ol.encoders=IO()});var SO=x((TFe,wO)=>{"use strict";var ps=nl(),CO=ps.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),Ppe=ps.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),Q_=ps.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),Ope=ps.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(Q_),this.key("subjectPublicKey").bitstr())}),Hpe=ps.define("RelativeDistinguishedName",function(){this.setof(Ppe)}),qpe=ps.define("RDNSequence",function(){this.seqof(Hpe)}),QO=ps.define("Name",function(){this.choice({rdnSequence:this.use(qpe)})}),Gpe=ps.define("Validity",function(){this.seq().obj(this.key("notBefore").use(CO),this.key("notAfter").use(CO))}),Ype=ps.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),Wpe=ps.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(Q_),this.key("issuer").use(QO),this.key("validity").use(Gpe),this.key("subject").use(QO),this.key("subjectPublicKeyInfo").use(Ope),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(Ype).optional())}),Vpe=ps.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(Wpe),this.key("signatureAlgorithm").use(Q_),this.key("signatureValue").bitstr())});wO.exports=Vpe});var vO=x(ys=>{"use strict";var Es=nl();ys.certificate=SO();var Jpe=Es.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});ys.RSAPrivateKey=Jpe;var jpe=Es.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});ys.RSAPublicKey=jpe;var _O=Es.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),zpe=Es.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(_O),this.key("subjectPublicKey").bitstr())});ys.PublicKey=zpe;var Kpe=Es.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(_O),this.key("subjectPrivateKey").octstr())});ys.PrivateKey=Kpe;var Xpe=Es.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});ys.EncryptedPrivateKey=Xpe;var Zpe=Es.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});ys.DSAPrivateKey=Zpe;ys.DSAparam=Es.define("DSAparam",function(){this.int()});var $pe=Es.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),eEe=Es.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use($pe),this.key("publicKey").optional().explicit(1).bitstr())});ys.ECPrivateKey=eEe;ys.signature=Es.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})});var RO=x((MFe,tEe)=>{tEe.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}});var TO=x((FFe,DO)=>{"use strict";var rEe=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,nEe=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,iEe=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,sEe=Fd(),oEe=wy(),Zy=tt().Buffer;DO.exports=function(e,t){var r=e.toString(),n=r.match(rEe),i;if(n){var o="aes"+n[1],a=Zy.from(n[2],"hex"),A=Zy.from(n[3].replace(/[\r\n]/g,""),"base64"),f=sEe(t,a.slice(0,8),parseInt(n[1],10)).key,l=[],p=oEe.createDecipheriv(o,f,a);l.push(p.update(A)),l.push(p.final()),i=Zy.concat(l)}else{var s=r.match(iEe);i=Zy.from(s[2].replace(/[\r\n]/g,""),"base64")}var B=r.match(nEe)[1];return{tag:B,data:i}}});var Yd=x((kFe,MO)=>{"use strict";var xn=vO(),aEe=RO(),AEe=TO(),fEe=wy(),uEe=dS().pbkdf2Sync,w_=tt().Buffer;function cEe(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),i=aEe[e.algorithm.decrypt.cipher.algo.join(".")],s=e.algorithm.decrypt.cipher.iv,o=e.subjectPrivateKey,a=parseInt(i.split("-")[1],10)/8,A=uEe(t,r,n,a,"sha1"),f=fEe.createDecipheriv(i,A,s),l=[];return l.push(f.update(o)),l.push(f.final()),w_.concat(l)}function NO(e){var t;typeof e=="object"&&!w_.isBuffer(e)&&(t=e.passphrase,e=e.key),typeof e=="string"&&(e=w_.from(e));var r=AEe(e,t),n=r.tag,i=r.data,s,o;switch(n){case"CERTIFICATE":o=xn.certificate.decode(i,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(o||(o=xn.PublicKey.decode(i,"der")),s=o.algorithm.algorithm.join("."),s){case"1.2.840.113549.1.1.1":return xn.RSAPublicKey.decode(o.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return o.subjectPrivateKey=o.subjectPublicKey,{type:"ec",data:o};case"1.2.840.10040.4.1":return o.algorithm.params.pub_key=xn.DSAparam.decode(o.subjectPublicKey.data,"der"),{type:"dsa",data:o.algorithm.params};default:throw new Error("unknown key id "+s)}case"ENCRYPTED PRIVATE KEY":i=xn.EncryptedPrivateKey.decode(i,"der"),i=cEe(i,t);case"PRIVATE KEY":switch(o=xn.PrivateKey.decode(i,"der"),s=o.algorithm.algorithm.join("."),s){case"1.2.840.113549.1.1.1":return xn.RSAPrivateKey.decode(o.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:o.algorithm.curve,privateKey:xn.ECPrivateKey.decode(o.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return o.algorithm.params.priv_key=xn.DSAparam.decode(o.subjectPrivateKey,"der"),{type:"dsa",params:o.algorithm.params};default:throw new Error("unknown key id "+s)}case"RSA PUBLIC KEY":return xn.RSAPublicKey.decode(i,"der");case"RSA PRIVATE KEY":return xn.RSAPrivateKey.decode(i,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:xn.DSAPrivateKey.decode(i,"der")};case"EC PRIVATE KEY":return i=xn.ECPrivateKey.decode(i,"der"),{curve:i.parameters.value,privateKey:i.privateKey};default:throw new Error("unknown key type "+n)}}NO.signature=xn.signature;MO.exports=NO});var S_=x((xFe,lEe)=>{lEe.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}});var xO=x((UFe,em)=>{"use strict";var fn=tt().Buffer,Yf=sS(),hEe=Dy(),dEe=Jy().ec,$y=Ry(),gEe=Yd(),pEe=S_(),EEe=1;function yEe(e,t,r,n,i){var s=gEe(t);if(s.curve){if(n!=="ecdsa"&&n!=="ecdsa/rsa")throw new Error("wrong private key type");return mEe(e,s)}else if(s.type==="dsa"){if(n!=="dsa")throw new Error("wrong private key type");return BEe(e,s,r)}if(n!=="rsa"&&n!=="ecdsa/rsa")throw new Error("wrong private key type");if(t.padding!==void 0&&t.padding!==EEe)throw new Error("illegal or unsupported padding mode");e=fn.concat([i,e]);for(var o=s.modulus.byteLength(),a=[0,1];e.length+a.length+1<o;)a.push(255);a.push(0);for(var A=-1;++A<e.length;)a.push(e[A]);var f=hEe(a,s);return f}function mEe(e,t){var r=pEe[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var n=new dEe(r),i=n.keyFromPrivate(t.privateKey),s=i.sign(e);return fn.from(s.toDER())}function BEe(e,t,r){for(var n=t.params.priv_key,i=t.params.p,s=t.params.q,o=t.params.g,a=new $y(0),A,f=__(e,s).mod(s),l=!1,p=FO(n,s,e,r);l===!1;)A=kO(s,p,r),a=CEe(o,A,i,s),l=A.invm(s).imul(f.add(n.mul(a))).mod(s),l.cmpn(0)===0&&(l=!1,a=new $y(0));return IEe(a,l)}function IEe(e,t){e=e.toArray(),t=t.toArray(),e[0]&128&&(e=[0].concat(e)),t[0]&128&&(t=[0].concat(t));var r=e.length+t.length+4,n=[48,r,2,e.length];return n=n.concat(e,[2,t.length],t),fn.from(n)}function FO(e,t,r,n){if(e=fn.from(e.toArray()),e.length<t.byteLength()){var i=fn.alloc(t.byteLength()-e.length);e=fn.concat([i,e])}var s=r.length,o=bEe(r,t),a=fn.alloc(s);a.fill(1);var A=fn.alloc(s);return A=Yf(n,A).update(a).update(fn.from([0])).update(e).update(o).digest(),a=Yf(n,A).update(a).digest(),A=Yf(n,A).update(a).update(fn.from([1])).update(e).update(o).digest(),a=Yf(n,A).update(a).digest(),{k:A,v:a}}function __(e,t){var r=new $y(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function bEe(e,t){e=__(e,t),e=e.mod(t);var r=fn.from(e.toArray());if(r.length<t.byteLength()){var n=fn.alloc(t.byteLength()-r.length);r=fn.concat([n,r])}return r}function kO(e,t,r){var n,i;do{for(n=fn.alloc(0);n.length*8<e.bitLength();)t.v=Yf(r,t.k).update(t.v).digest(),n=fn.concat([n,t.v]);i=__(n,e),t.k=Yf(r,t.k).update(t.v).update(fn.from([0])).digest(),t.v=Yf(r,t.k).update(t.v).digest()}while(i.cmp(e)!==-1);return i}function CEe(e,t,r,n){return e.toRed($y.mont(r)).redPow(t).fromRed().mod(n)}em.exports=yEe;em.exports.getKey=FO;em.exports.makeKey=kO});var OO=x((LFe,PO)=>{"use strict";var v_=tt().Buffer,Wd=Ry(),QEe=Jy().ec,LO=Yd(),wEe=S_();function SEe(e,t,r,n,i){var s=LO(r);if(s.type==="ec"){if(n!=="ecdsa"&&n!=="ecdsa/rsa")throw new Error("wrong public key type");return _Ee(e,t,s)}else if(s.type==="dsa"){if(n!=="dsa")throw new Error("wrong public key type");return vEe(e,t,s)}if(n!=="rsa"&&n!=="ecdsa/rsa")throw new Error("wrong public key type");t=v_.concat([i,t]);for(var o=s.modulus.byteLength(),a=[1],A=0;t.length+a.length+2<o;)a.push(255),A+=1;a.push(0);for(var f=-1;++f<t.length;)a.push(t[f]);a=v_.from(a);var l=Wd.mont(s.modulus);e=new Wd(e).toRed(l),e=e.redPow(new Wd(s.publicExponent)),e=v_.from(e.fromRed().toArray());var p=A<8?1:0;for(o=Math.min(e.length,a.length),e.length!==a.length&&(p=1),f=-1;++f<o;)p|=e[f]^a[f];return p===0}function _Ee(e,t,r){var n=wEe[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new QEe(n),s=r.data.subjectPrivateKey.data;return i.verify(t,e,s)}function vEe(e,t,r){var n=r.data.p,i=r.data.q,s=r.data.g,o=r.data.pub_key,a=LO.signature.decode(e,"der"),A=a.s,f=a.r;UO(A,i),UO(f,i);var l=Wd.mont(n),p=A.invm(i),B=s.toRed(l).redPow(new Wd(t).mul(p).mod(i)).fromRed().mul(o.toRed(l).redPow(f.mul(p).mod(i)).fromRed()).mod(n).mod(i);return B.cmp(f)===0}function UO(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=0)throw new Error("invalid sig")}PO.exports=SEe});var VO=x((PFe,WO)=>{"use strict";var tm=tt().Buffer,GO=Uc(),rm=Zw(),YO=Ve(),REe=xO(),DEe=OO(),Wf=oS();Object.keys(Wf).forEach(function(e){Wf[e].id=tm.from(Wf[e].id,"hex"),Wf[e.toLowerCase()]=Wf[e]});function Vd(e){rm.Writable.call(this);var t=Wf[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=GO(t.hash),this._tag=t.id,this._signType=t.sign}YO(Vd,rm.Writable);Vd.prototype._write=function(t,r,n){this._hash.update(t),n()};Vd.prototype.update=function(t,r){return this._hash.update(typeof t=="string"?tm.from(t,r):t),this};Vd.prototype.sign=function(t,r){this.end();var n=this._hash.digest(),i=REe(n,t,this._hashType,this._signType,this._tag);return r?i.toString(r):i};function Jd(e){rm.Writable.call(this);var t=Wf[e];if(!t)throw new Error("Unknown message digest");this._hash=GO(t.hash),this._tag=t.id,this._signType=t.sign}YO(Jd,rm.Writable);Jd.prototype._write=function(t,r,n){this._hash.update(t),n()};Jd.prototype.update=function(t,r){return this._hash.update(typeof t=="string"?tm.from(t,r):t),this};Jd.prototype.verify=function(t,r,n){var i=typeof r=="string"?tm.from(r,n):r;this.end();var s=this._hash.digest();return DEe(i,s,t,this._signType,this._tag)};function HO(e){return new Vd(e)}function qO(e){return new Jd(e)}WO.exports={Sign:HO,Verify:qO,createSign:HO,createVerify:qO}});var jO=x((OFe,JO)=>{var TEe=Jy(),NEe=kr();JO.exports=function(t){return new Vf(t)};var Zn={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};Zn.p224=Zn.secp224r1;Zn.p256=Zn.secp256r1=Zn.prime256v1;Zn.p192=Zn.secp192r1=Zn.prime192v1;Zn.p384=Zn.secp384r1;Zn.p521=Zn.secp521r1;function Vf(e){this.curveType=Zn[e],this.curveType||(this.curveType={name:e}),this.curve=new TEe.ec(this.curveType.name),this.keys=void 0}Vf.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)};Vf.prototype.computeSecret=function(e,t,r){t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t));var n=this.curve.keyFromPublic(e).getPublic(),i=n.mul(this.keys.getPrivate()).getX();return R_(i,r,this.curveType.byteLength)};Vf.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic(t==="compressed",!0);return t==="hybrid"&&(r[r.length-1]%2?r[0]=7:r[0]=6),R_(r,e)};Vf.prototype.getPrivateKey=function(e){return R_(this.keys.getPrivate(),e)};Vf.prototype.setPublicKey=function(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this.keys._importPublic(e),this};Vf.prototype.setPrivateKey=function(e,t){t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t));var r=new NEe(e);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this};function R_(e,t,r){Array.isArray(e)||(e=e.toArray());var n=new Buffer(e);if(r&&n.length<r){var i=new Buffer(r-n.length);i.fill(0),n=Buffer.concat([i,n])}return t?n.toString(t):n}});var T_=x((HFe,zO)=>{var MEe=Uc(),D_=tt().Buffer;zO.exports=function(e,t){for(var r=D_.alloc(0),n=0,i;r.length<t;)i=FEe(n++),r=D_.concat([r,MEe("sha1").update(e).update(i).digest()]);return r.slice(0,t)};function FEe(e){var t=D_.allocUnsafe(4);return t.writeUInt32BE(e,0),t}});var N_=x((qFe,KO)=>{KO.exports=function(t,r){for(var n=t.length,i=-1;++i<n;)t[i]^=r[i];return t}});var M_=x((GFe,ZO)=>{var XO=kr(),kEe=tt().Buffer;function xEe(e,t){return kEe.from(e.toRed(XO.mont(t.modulus)).redPow(new XO(t.publicExponent)).fromRed().toArray())}ZO.exports=xEe});var rH=x((YFe,tH)=>{var UEe=Yd(),F_=Cf(),LEe=Uc(),$O=T_(),eH=N_(),k_=kr(),PEe=M_(),OEe=Dy(),ms=tt().Buffer;tH.exports=function(t,r,n){var i;t.padding?i=t.padding:n?i=1:i=4;var s=UEe(t),o;if(i===4)o=HEe(s,r);else if(i===1)o=qEe(s,r,n);else if(i===3){if(o=new k_(r),o.cmp(s.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return n?OEe(o,s):PEe(o,s)};function HEe(e,t){var r=e.modulus.byteLength(),n=t.length,i=LEe("sha1").update(ms.alloc(0)).digest(),s=i.length,o=2*s;if(n>r-o-2)throw new Error("message too long");var a=ms.alloc(r-n-o-2),A=r-s-1,f=F_(s),l=eH(ms.concat([i,a,ms.alloc(1,1),t],A),$O(f,A)),p=eH(f,$O(l,s));return new k_(ms.concat([ms.alloc(1),p,l],r))}function qEe(e,t,r){var n=t.length,i=e.modulus.byteLength();if(n>i-11)throw new Error("message too long");var s;return r?s=ms.alloc(i-n-3,255):s=GEe(i-n-3),new k_(ms.concat([ms.from([0,r?1:2]),s,ms.alloc(1),t],i))}function GEe(e){for(var t=ms.allocUnsafe(e),r=0,n=F_(e*2),i=0,s;r<e;)i===n.length&&(n=F_(e*2),i=0),s=n[i++],s&&(t[r++]=s);return t}});var aH=x((WFe,oH)=>{var YEe=Yd(),nH=T_(),iH=N_(),sH=kr(),WEe=Dy(),VEe=Uc(),JEe=M_(),jd=tt().Buffer;oH.exports=function(t,r,n){var i;t.padding?i=t.padding:n?i=1:i=4;var s=YEe(t),o=s.modulus.byteLength();if(r.length>o||new sH(r).cmp(s.modulus)>=0)throw new Error("decryption error");var a;n?a=JEe(new sH(r),s):a=WEe(r,s);var A=jd.alloc(o-a.length);if(a=jd.concat([A,a],o),i===4)return jEe(s,a);if(i===1)return zEe(s,a,n);if(i===3)return a;throw new Error("unknown padding")};function jEe(e,t){var r=e.modulus.byteLength(),n=VEe("sha1").update(jd.alloc(0)).digest(),i=n.length;if(t[0]!==0)throw new Error("decryption error");var s=t.slice(1,i+1),o=t.slice(i+1),a=iH(s,nH(o,i)),A=iH(o,nH(a,r-i-1));if(KEe(n,A.slice(0,i)))throw new Error("decryption error");for(var f=i;A[f]===0;)f++;if(A[f++]!==1)throw new Error("decryption error");return A.slice(f)}function zEe(e,t,r){for(var n=t.slice(0,2),i=2,s=0;t[i++]!==0;)if(i>=t.length){s++;break}var o=t.slice(2,i-1);if((n.toString("hex")!=="0002"&&!r||n.toString("hex")!=="0001"&&r)&&s++,o.length<8&&s++,s)throw new Error("decryption error");return t.slice(i)}function KEe(e,t){e=jd.from(e),t=jd.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));for(var i=-1;++i<n;)r+=e[i]^t[i];return r}});var AH=x(Jf=>{Jf.publicEncrypt=rH();Jf.privateDecrypt=aH();Jf.privateEncrypt=function(t,r){return Jf.publicEncrypt(t,r,!0)};Jf.publicDecrypt=function(t,r){return Jf.privateDecrypt(t,r,!0)}});var yH=x(zd=>{"use strict";function fH(){throw new Error(`secure random number generation not supported by this browser
use chrome, FireFox or Internet Explorer 11`)}var cH=tt(),uH=Cf(),lH=cH.Buffer,hH=cH.kMaxLength,x_=globalThis.crypto||globalThis.msCrypto,dH=Math.pow(2,32)-1;function gH(e,t){if(typeof e!="number"||e!==e)throw new TypeError("offset must be a number");if(e>dH||e<0)throw new TypeError("offset must be a uint32");if(e>hH||e>t)throw new RangeError("offset out of range")}function pH(e,t,r){if(typeof e!="number"||e!==e)throw new TypeError("size must be a number");if(e>dH||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>hH)throw new RangeError("buffer too small")}x_&&x_.getRandomValues||!process.browser?(zd.randomFill=XEe,zd.randomFillSync=ZEe):(zd.randomFill=fH,zd.randomFillSync=fH);function XEe(e,t,r,n){if(!lH.isBuffer(e)&&!(e instanceof globalThis.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof t=="function")n=t,t=0,r=e.length;else if(typeof r=="function")n=r,r=e.length-t;else if(typeof n!="function")throw new TypeError('"cb" argument must be a function');return gH(t,e.length),pH(r,t,e.length),EH(e,t,r,n)}function EH(e,t,r,n){if(process.browser){var i=e.buffer,s=new Uint8Array(i,t,r);if(x_.getRandomValues(s),n){process.nextTick(function(){n(null,e)});return}return e}if(n){uH(r,function(a,A){if(a)return n(a);A.copy(e,t),n(null,e)});return}var o=uH(r);return o.copy(e,t),e}function ZEe(e,t,r){if(typeof t>"u"&&(t=0),!lH.isBuffer(e)&&!(e instanceof globalThis.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return gH(t,e.length),r===void 0&&(r=e.length-t),pH(r,t,e.length),EH(e,t,r)}});var Ud=x(ut=>{"use strict";ut.randomBytes=ut.rng=ut.pseudoRandomBytes=ut.prng=Cf();ut.createHash=ut.Hash=Uc();ut.createHmac=ut.Hmac=sS();var $Ee=M8(),eye=Object.keys($Ee),tye=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(eye);ut.getHashes=function(){return tye};var mH=dS();ut.pbkdf2=mH.pbkdf2;ut.pbkdf2Sync=mH.pbkdf2Sync;var po=nP();ut.Cipher=po.Cipher;ut.createCipher=po.createCipher;ut.Cipheriv=po.Cipheriv;ut.createCipheriv=po.createCipheriv;ut.Decipher=po.Decipher;ut.createDecipher=po.createDecipher;ut.Decipheriv=po.Decipheriv;ut.createDecipheriv=po.createDecipheriv;ut.getCiphers=po.getCiphers;ut.listCiphers=po.listCiphers;var Kd=pP();ut.DiffieHellmanGroup=Kd.DiffieHellmanGroup;ut.createDiffieHellmanGroup=Kd.createDiffieHellmanGroup;ut.getDiffieHellman=Kd.getDiffieHellman;ut.createDiffieHellman=Kd.createDiffieHellman;ut.DiffieHellman=Kd.DiffieHellman;var nm=VO();ut.createSign=nm.createSign;ut.Sign=nm.Sign;ut.createVerify=nm.createVerify;ut.Verify=nm.Verify;ut.createECDH=jO();var im=AH();ut.publicEncrypt=im.publicEncrypt;ut.privateEncrypt=im.privateEncrypt;ut.publicDecrypt=im.publicDecrypt;ut.privateDecrypt=im.privateDecrypt;var BH=yH();ut.randomFill=BH.randomFill;ut.randomFillSync=BH.randomFillSync;ut.createCredentials=function(){throw new Error(`sorry, createCredentials is not implemented yet
we accept pull requests
https://github.com/browserify/crypto-browserify`)};ut.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}});var bH=x(()=>{"use strict";var IH=new Error("No such built-in module: node:sqlite");IH.code="ERR_UNKNOWN_BUILTIN_MODULE";throw IH});var U_=x((XFe,CH)=>{"use strict";CH.exports={isMainThread:!0,parentPort:null,workerData:null}});var O_=x((_,P_)=>{"use strict";var e=new Set(["crypto","sqlite","markAsUncloneable","zstd"]),t=new Map([["crypto",!0],["sqlite",!1],["markAsUncloneable",!1],["zstd",!1]]),r={clear(){t.clear()},has(n){if(!e.has(n))throw new TypeError(`unknown feature: ${n}`);return t.get(n)??!1},set(n,i){if(!e.has(n))throw new TypeError(`unknown feature: ${n}`);t.set(n,!!i)}};P_.exports.runtimeFeatures=r;P_.exports.default=r});var Eo=x((eke,DH)=>{"use strict";var aye=Wt(),{types:ur,inspect:Aye}=Yr(),{runtimeFeatures:fye}=O_(),H_=1,q_=2,om=3,am=4,G_=5,Am=6,Y_=7,$n=8,RH=Function.call.bind(Function.prototype[Symbol.hasInstance]),K={converters:{},util:{},errors:{},is:{}};K.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};K.errors.conversionFailed=function(e){let t=e.types.length===1?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return K.errors.exception({header:e.prefix,message:r})};K.errors.invalidArgument=function(e){return K.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};K.brandCheck=function(e,t){if(!RH(t,e)){let r=new TypeError("Illegal invocation");throw r.code="ERR_INVALID_THIS",r}};K.brandCheckMultiple=function(e){let t=e.map(r=>K.util.MakeTypeAssertion(r));return r=>{if(t.every(n=>!n(r))){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}};K.argumentLengthCheck=function({length:e},t,r){if(e<t)throw K.errors.exception({message:`${t} argument${t!==1?"s":""} required, but${e?" only":""} ${e} found.`,header:r})};K.illegalConstructor=function(){throw K.errors.exception({header:"TypeError",message:"Illegal constructor"})};K.util.MakeTypeAssertion=function(e){return t=>RH(e,t)};K.util.Type=function(e){switch(typeof e){case"undefined":return H_;case"boolean":return q_;case"string":return om;case"symbol":return am;case"number":return G_;case"bigint":return Am;case"function":case"object":return e===null?Y_:$n}};K.util.Types={UNDEFINED:H_,BOOLEAN:q_,STRING:om,SYMBOL:am,NUMBER:G_,BIGINT:Am,NULL:Y_,OBJECT:$n};K.util.TypeValueToString=function(e){switch(K.util.Type(e)){case H_:return"Undefined";case q_:return"Boolean";case om:return"String";case am:return"Symbol";case G_:return"Number";case Am:return"BigInt";case Y_:return"Null";case $n:return"Object"}};K.util.markAsUncloneable=fye.has("markAsUncloneable")?U_().markAsUncloneable:()=>{};K.util.ConvertToInt=function(e,t,r,n){let i,s;t===64?(i=Math.pow(2,53)-1,r==="unsigned"?s=0:s=Math.pow(-2,53)+1):r==="unsigned"?(s=0,i=Math.pow(2,t)-1):(s=Math.pow(-2,t)-1,i=Math.pow(2,t-1)-1);let o=Number(e);if(o===0&&(o=0),K.util.HasFlag(n,K.attributes.EnforceRange)){if(Number.isNaN(o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY)throw K.errors.exception({header:"Integer conversion",message:`Could not convert ${K.util.Stringify(e)} to an integer.`});if(o=K.util.IntegerPart(o),o<s||o>i)throw K.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${o}.`});return o}return!Number.isNaN(o)&&K.util.HasFlag(n,K.attributes.Clamp)?(o=Math.min(Math.max(o,s),i),Math.floor(o)%2===0?o=Math.floor(o):o=Math.ceil(o),o):Number.isNaN(o)||o===0&&Object.is(0,o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY?0:(o=K.util.IntegerPart(o),o=o%Math.pow(2,t),r==="signed"&&o>=Math.pow(2,t)-1?o-Math.pow(2,t):o)};K.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t};K.util.Stringify=function(e){switch(K.util.Type(e)){case am:return`Symbol(${e.description})`;case $n:return Aye(e);case om:return`"${e}"`;case Am:return`${e}n`;default:return`${e}`}};K.util.IsResizableArrayBuffer=function(e){if(ur.isArrayBuffer(e))return e.resizable;if(ur.isSharedArrayBuffer(e))return e.growable;throw K.errors.exception({header:"IsResizableArrayBuffer",message:`"${K.util.Stringify(e)}" is not an array buffer.`})};K.util.HasFlag=function(e,t){return typeof e=="number"&&(e&t)===t};K.sequenceConverter=function(e){return(t,r,n,i)=>{if(K.util.Type(t)!==$n)throw K.errors.exception({header:r,message:`${n} (${K.util.Stringify(t)}) is not iterable.`});let s=typeof i=="function"?i():t?.[Symbol.iterator]?.(),o=[],a=0;if(s===void 0||typeof s.next!="function")throw K.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:A,value:f}=s.next();if(A)break;o.push(e(f,r,`${n}[${a++}]`))}return o}};K.recordConverter=function(e,t){return(r,n,i)=>{if(K.util.Type(r)!==$n)throw K.errors.exception({header:n,message:`${i} ("${K.util.TypeValueToString(r)}") is not an Object.`});let s={};if(!ur.isProxy(r)){let a=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let A of a){let f=K.util.Stringify(A),l=e(A,n,`Key ${f} in ${i}`),p=t(r[A],n,`${i}[${f}]`);s[l]=p}return s}let o=Reflect.ownKeys(r);for(let a of o)if(Reflect.getOwnPropertyDescriptor(r,a)?.enumerable){let f=e(a,n,i),l=t(r[a],n,i);s[f]=l}return s}};K.interfaceConverter=function(e,t){return(r,n,i)=>{if(!e(r))throw K.errors.exception({header:n,message:`Expected ${i} ("${K.util.Stringify(r)}") to be an instance of ${t}.`});return r}};K.dictionaryConverter=function(e){return e.sort((t,r)=>(t.key>r.key)-(t.key<r.key)),(t,r,n)=>{let i={};if(t!=null&&K.util.Type(t)!==$n)throw K.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let s of e){let{key:o,defaultValue:a,required:A,converter:f}=s;if(A===!0&&(t==null||!Object.hasOwn(t,o)))throw K.errors.exception({header:r,message:`Missing required key "${o}".`});let l=t?.[o],p=a!==void 0;if(p&&l===void 0&&(l=a()),A||p||l!==void 0){if(l=f(l,r,`${n}.${o}`),s.allowedValues&&!s.allowedValues.includes(l))throw K.errors.exception({header:r,message:`${l} is not an accepted type. Expected one of ${s.allowedValues.join(", ")}.`});i[o]=l}}return i}};K.nullableConverter=function(e){return(t,r,n)=>t===null?t:e(t,r,n)};K.is.USVString=function(e){return typeof e=="string"&&e.isWellFormed()};K.is.ReadableStream=K.util.MakeTypeAssertion(ReadableStream);K.is.Blob=K.util.MakeTypeAssertion(Blob);K.is.URLSearchParams=K.util.MakeTypeAssertion(URLSearchParams);K.is.File=K.util.MakeTypeAssertion(File);K.is.URL=K.util.MakeTypeAssertion(URL);K.is.AbortSignal=K.util.MakeTypeAssertion(AbortSignal);K.is.MessagePort=K.util.MakeTypeAssertion(MessagePort);K.is.BufferSource=function(e){return ur.isArrayBuffer(e)||ArrayBuffer.isView(e)&&ur.isArrayBuffer(e.buffer)};K.util.getCopyOfBytesHeldByBufferSource=function(e){let t=e,r=t,n=0,i=0;if(ur.isTypedArray(t)||ur.isDataView(t)?(r=t.buffer,n=t.byteOffset,i=t.byteLength):(aye(ur.isAnyArrayBuffer(t)),i=t.byteLength),r.detached)return new Uint8Array(0);let s=new Uint8Array(i),o=new Uint8Array(r,n,i);return s.set(o),s};K.converters.DOMString=function(e,t,r,n){if(e===null&&K.util.HasFlag(n,K.attributes.LegacyNullToEmptyString))return"";if(typeof e=="symbol")throw K.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(e)};K.converters.ByteString=function(e,t,r){if(typeof e=="symbol")throw K.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a ByteString.`});let n=String(e);for(let i=0;i<n.length;i++)if(n.charCodeAt(i)>255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${i} has a value of ${n.charCodeAt(i)} which is greater than 255.`);return n};K.converters.USVString=function(e){return typeof e=="string"?e.toWellFormed():`${e}`.toWellFormed()};K.converters.boolean=function(e){return!!e};K.converters.any=function(e){return e};K.converters["long long"]=function(e,t,r){return K.util.ConvertToInt(e,64,"signed",0,t,r)};K.converters["unsigned long long"]=function(e,t,r){return K.util.ConvertToInt(e,64,"unsigned",0,t,r)};K.converters["unsigned long"]=function(e,t,r){return K.util.ConvertToInt(e,32,"unsigned",0,t,r)};K.converters["unsigned short"]=function(e,t,r,n){return K.util.ConvertToInt(e,16,"unsigned",n,t,r)};K.converters.ArrayBuffer=function(e,t,r,n){if(K.util.Type(e)!==$n||!ur.isArrayBuffer(e))throw K.errors.conversionFailed({prefix:t,argument:`${r} ("${K.util.Stringify(e)}")`,types:["ArrayBuffer"]});if(!K.util.HasFlag(n,K.attributes.AllowResizable)&&K.util.IsResizableArrayBuffer(e))throw K.errors.exception({header:t,message:`${r} cannot be a resizable ArrayBuffer.`});return e};K.converters.SharedArrayBuffer=function(e,t,r,n){if(K.util.Type(e)!==$n||!ur.isSharedArrayBuffer(e))throw K.errors.conversionFailed({prefix:t,argument:`${r} ("${K.util.Stringify(e)}")`,types:["SharedArrayBuffer"]});if(!K.util.HasFlag(n,K.attributes.AllowResizable)&&K.util.IsResizableArrayBuffer(e))throw K.errors.exception({header:t,message:`${r} cannot be a resizable SharedArrayBuffer.`});return e};K.converters.TypedArray=function(e,t,r,n,i){if(K.util.Type(e)!==$n||!ur.isTypedArray(e)||e.constructor.name!==t.name)throw K.errors.conversionFailed({prefix:r,argument:`${n} ("${K.util.Stringify(e)}")`,types:[t.name]});if(!K.util.HasFlag(i,K.attributes.AllowShared)&&ur.isSharedArrayBuffer(e.buffer))throw K.errors.exception({header:r,message:`${n} cannot be a view on a shared array buffer.`});if(!K.util.HasFlag(i,K.attributes.AllowResizable)&&K.util.IsResizableArrayBuffer(e.buffer))throw K.errors.exception({header:r,message:`${n} cannot be a view on a resizable array buffer.`});return e};K.converters.DataView=function(e,t,r,n){if(K.util.Type(e)!==$n||!ur.isDataView(e))throw K.errors.conversionFailed({prefix:t,argument:`${r} ("${K.util.Stringify(e)}")`,types:["DataView"]});if(!K.util.HasFlag(n,K.attributes.AllowShared)&&ur.isSharedArrayBuffer(e.buffer))throw K.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!K.util.HasFlag(n,K.attributes.AllowResizable)&&K.util.IsResizableArrayBuffer(e.buffer))throw K.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e};K.converters.ArrayBufferView=function(e,t,r,n){if(K.util.Type(e)!==$n||!ur.isArrayBufferView(e))throw K.errors.conversionFailed({prefix:t,argument:`${r} ("${K.util.Stringify(e)}")`,types:["ArrayBufferView"]});if(!K.util.HasFlag(n,K.attributes.AllowShared)&&ur.isSharedArrayBuffer(e.buffer))throw K.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!K.util.HasFlag(n,K.attributes.AllowResizable)&&K.util.IsResizableArrayBuffer(e.buffer))throw K.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e};K.converters.BufferSource=function(e,t,r,n){if(ur.isArrayBuffer(e))return K.converters.ArrayBuffer(e,t,r,n);if(ur.isArrayBufferView(e))return n&=~K.attributes.AllowShared,K.converters.ArrayBufferView(e,t,r,n);throw ur.isSharedArrayBuffer(e)?K.errors.exception({header:t,message:`${r} cannot be a SharedArrayBuffer.`}):K.errors.conversionFailed({prefix:t,argument:`${r} ("${K.util.Stringify(e)}")`,types:["ArrayBuffer","ArrayBufferView"]})};K.converters.AllowSharedBufferSource=function(e,t,r,n){if(ur.isArrayBuffer(e))return K.converters.ArrayBuffer(e,t,r,n);if(ur.isSharedArrayBuffer(e))return K.converters.SharedArrayBuffer(e,t,r,n);if(ur.isArrayBufferView(e))return n|=K.attributes.AllowShared,K.converters.ArrayBufferView(e,t,r,n);throw K.errors.conversionFailed({prefix:t,argument:`${r} ("${K.util.Stringify(e)}")`,types:["ArrayBuffer","SharedArrayBuffer","ArrayBufferView"]})};K.converters["sequence<ByteString>"]=K.sequenceConverter(K.converters.ByteString);K.converters["sequence<sequence<ByteString>>"]=K.sequenceConverter(K.converters["sequence<ByteString>"]);K.converters["record<ByteString, ByteString>"]=K.recordConverter(K.converters.ByteString,K.converters.ByteString);K.converters.Blob=K.interfaceConverter(K.is.Blob,"Blob");K.converters.AbortSignal=K.interfaceConverter(K.is.AbortSignal,"AbortSignal");K.converters.EventHandlerNonNull=function(e){return K.util.Type(e)!==$n?null:typeof e=="function"?e:()=>{}};K.attributes={Clamp:1,EnforceRange:2,AllowShared:4,AllowResizable:8,LegacyNullToEmptyString:16};DH.exports={webidl:K}});var Zf=x((tke,YH)=>{"use strict";var{Transform:uye}=(gi(),$i(Ht)),TH=PE(),{redirectStatusSet:cye,referrerPolicyTokens:lye,badPortsSet:hye}=od(),{getGlobalOrigin:NH}=D3(),{collectAnHTTPQuotedString:dye,parseMIMEType:gye}=bf(),{performance:pye}=G3(),{ReadableStreamFrom:Eye,isValidHTTPToken:MH,normalizedMethodRecordsBase:yye}=$t(),Zd=Wt(),{isUint8Array:mye}=Nw(),{webidl:yA}=Eo(),{isomorphicEncode:W_,collectASequenceOfCodePoints:zf,removeChars:Bye}=If();function FH(e){let t=e.urlList,r=t.length;return r===0?null:t[r-1].toString()}function Iye(e,t){if(!cye.has(e.status))return null;let r=e.headersList.get("location",!0);return r!==null&&xH(r)&&(kH(r)||(r=bye(r)),r=new URL(r,FH(e))),r&&!r.hash&&(r.hash=t),r}function kH(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>126||r<32)return!1}return!0}function bye(e){return Buffer.from(e,"binary").toString("utf8")}function Xf(e){return e.urlList[e.urlList.length-1]}function Cye(e){let t=Xf(e);return qH(t)&&hye.has(t.port)?"blocked":"allowed"}function Qye(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"}function wye(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(!(r===9||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0}var Sye=MH;function xH(e){return(e[0]===" "||e[0]===" "||e[e.length-1]===" "||e[e.length-1]===" "||e.includes(`
`)||e.includes("\r")||e.includes("\0"))===!1}function _ye(e){let t=(e.headersList.get("referrer-policy",!0)??"").split(","),r="";if(t.length)for(let n=t.length;n!==0;n--){let i=t[n-1].trim();if(lye.has(i)){r=i;break}}return r}function vye(e,t){let r=_ye(t);r!==""&&(e.referrerPolicy=r)}function Rye(){return"allowed"}function Dye(){return"success"}function Tye(){return"success"}function Nye(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t,!0)}function Mye(e){let t=e.origin;if(!(t==="client"||t===void 0)){if(e.responseTainting==="cors"||e.mode==="websocket")e.headersList.append("origin",t,!0);else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&J_(e.origin)&&!J_(Xf(e))&&(t=null);break;case"same-origin":Xd(e,Xf(e))||(t=null);break;default:}e.headersList.append("origin",t,!0)}}}function al(e,t){return e}function Fye(e,t,r){return!e?.startTime||e.startTime<t?{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}:{domainLookupStartTime:al(e.domainLookupStartTime,r),domainLookupEndTime:al(e.domainLookupEndTime,r),connectionStartTime:al(e.connectionStartTime,r),connectionEndTime:al(e.connectionEndTime,r),secureConnectionStartTime:al(e.secureConnectionStartTime,r),ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}}function kye(e){return al(pye.now(),e)}function xye(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function UH(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function Uye(e){return{referrerPolicy:e.referrerPolicy}}function Lye(e){let t=e.referrerPolicy;Zd(t);let r=null;if(e.referrer==="client"){let s=NH();if(!s||s.origin==="null")return"no-referrer";r=new URL(s)}else yA.is.URL(e.referrer)&&(r=e.referrer);let n=V_(r),i=V_(r,!0);switch(n.toString().length>4096&&(n=i),t){case"no-referrer":return"no-referrer";case"origin":return i??V_(r,!0);case"unsafe-url":return n;case"strict-origin":{let s=Xf(e);return Kf(n)&&!Kf(s)?"no-referrer":i}case"strict-origin-when-cross-origin":{let s=Xf(e);return Xd(n,s)?n:Kf(n)&&!Kf(s)?"no-referrer":i}case"same-origin":return Xd(e,n)?n:"no-referrer";case"origin-when-cross-origin":return Xd(e,n)?n:i;case"no-referrer-when-downgrade":{let s=Xf(e);return Kf(n)&&!Kf(s)?"no-referrer":n}}}function V_(e,t=!1){return Zd(yA.is.URL(e)),e=new URL(e),HH(e)?"no-referrer":(e.username="",e.password="",e.hash="",t===!0&&(e.pathname="",e.search=""),e)}var Pye=RegExp.prototype.test.bind(/^127\.(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){2}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)$/),Oye=RegExp.prototype.test.bind(/^(?:(?:0{1,4}:){7}|(?:0{1,4}:){1,6}:|::)0{0,3}1$/);function LH(e){return e.includes(":")?(e[0]==="["&&e[e.length-1]==="]"&&(e=e.slice(1,-1)),Oye(e)):Pye(e)}function Hye(e){return e==null||e==="null"?!1:(e=new URL(e),!!(e.protocol==="https:"||e.protocol==="wss:"||LH(e.hostname)||e.hostname==="localhost"||e.hostname==="localhost."||e.hostname.endsWith(".localhost")||e.hostname.endsWith(".localhost.")||e.protocol==="file:"))}function Kf(e){return yA.is.URL(e)?e.href==="about:blank"||e.href==="about:srcdoc"||e.protocol==="data:"||e.protocol==="blob:"?!0:Hye(e.origin):!1}function qye(e){}function Xd(e,t){return e.origin===t.origin&&e.origin==="null"||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}function Gye(e){return e.controller.state==="aborted"}function Yye(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}function Wye(e){return yye[e.toLowerCase()]??e}var Vye=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function PH(e,t,r=0,n=1){var s,o,a;class i{constructor(f,l){St(this,s);St(this,o);St(this,a);ft(this,s,f),ft(this,o,l),ft(this,a,0)}next(){if(typeof this!="object"||this===null||!SD(s,this))throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let f=te(this,a),l=t(te(this,s)),p=l.length;if(f>=p)return{value:void 0,done:!0};let{[r]:B,[n]:S}=l[f];ft(this,a,f+1);let _;switch(te(this,o)){case"key":_=B;break;case"value":_=S;break;case"key+value":_=[B,S];break}return{value:_,done:!1}}}return s=new WeakMap,o=new WeakMap,a=new WeakMap,delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,Vye),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(A,f){return new i(A,f)}}function Jye(e,t,r,n=0,i=1){let s=PH(e,r,n,i),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return yA.brandCheck(this,t),s(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return yA.brandCheck(this,t),s(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return yA.brandCheck(this,t),s(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(A,f=globalThis){if(yA.brandCheck(this,t),yA.argumentLengthCheck(arguments,1,`${e}.forEach`),typeof A!="function")throw new TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:l,1:p}of s(this,"key+value"))A.call(f,p,l,this)}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})}function jye(e,t,r){let n=t,i=r;try{let s=e.stream.getReader();OH(s,n,i)}catch(s){i(s)}}function zye(e){try{e.close(),e.byobRequest?.respond(0)}catch(t){if(!t.message.includes("Controller is already closed")&&!t.message.includes("ReadableStream is already closed"))throw t}}async function OH(e,t,r){try{let n=[],i=0;do{let{done:s,value:o}=await e.read();if(s){t(Buffer.concat(n,i));return}if(!mye(o)){r(new TypeError("Received non-Uint8Array chunk"));return}n.push(o),i+=o.length}while(!0)}catch(n){r(n)}}function HH(e){Zd("protocol"in e);let t=e.protocol;return t==="about:"||t==="blob:"||t==="data:"}function J_(e){return typeof e=="string"&&e[5]===":"&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&e[4]==="s"||e.protocol==="https:"}function qH(e){Zd("protocol"in e);let t=e.protocol;return t==="http:"||t==="https:"}function Kye(e,t){let r=e;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(t&&zf(A=>A===" "||A===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,t&&zf(A=>A===" "||A===" ",r,n);let i=zf(A=>{let f=A.charCodeAt(0);return f>=48&&f<=57},r,n),s=i.length?Number(i):null;if(t&&zf(A=>A===" "||A===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,t&&zf(A=>A===" "||A===" ",r,n);let o=zf(A=>{let f=A.charCodeAt(0);return f>=48&&f<=57},r,n),a=o.length?Number(o):null;return n.position<r.length||a===null&&s===null||s>a?"failure":{rangeStartValue:s,rangeEndValue:a}}function Xye(e,t,r){let n="bytes ";return n+=W_(`${e}`),n+="-",n+=W_(`${t}`),n+="/",n+=W_(`${r}`),n}var Al,j_=class extends uye{constructor(r){super();St(this,Al);ft(this,Al,r)}_transform(r,n,i){if(!this._inflateStream){if(r.length===0){i();return}this._inflateStream=(r[0]&15)===8?TH.createInflate(te(this,Al)):TH.createInflateRaw(te(this,Al)),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",s=>this.destroy(s))}this._inflateStream.write(r,n,i)}_final(r){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),r()}};Al=new WeakMap;function Zye(e){return new j_(e)}function $ye(e){let t=null,r=null,n=null,i=GH("content-type",e);if(i===null)return"failure";for(let s of i){let o=gye(s);o==="failure"||o.essence==="*/*"||(n=o,n.essence!==r?(t=null,n.parameters.has("charset")&&(t=n.parameters.get("charset")),r=n.essence):!n.parameters.has("charset")&&t!==null&&n.parameters.set("charset",t))}return n??"failure"}function eme(e){let t=e,r={position:0},n=[],i="";for(;r.position<t.length;){if(i+=zf(s=>s!=='"'&&s!==",",t,r),r.position<t.length)if(t.charCodeAt(r.position)===34){if(i+=dye(t,r),r.position<t.length)continue}else Zd(t.charCodeAt(r.position)===44),r.position++;i=Bye(i,!0,!0,s=>s===9||s===32),n.push(i),i=""}return n}function GH(e,t){let r=t.get(e,!0);return r===null?null:eme(r)}function tme(e){return!1}function rme(e){return!!(e.username||e.password)}function nme(e){return!0}var z_=class{constructor(){y(this,"policyContainer",UH())}get baseUrl(){return NH()}get origin(){return this.baseUrl?.origin}},K_=class{constructor(){y(this,"settingsObject",new z_)}},ime=new K_;YH.exports={isAborted:Gye,isCancelled:Yye,isValidEncodedURL:kH,ReadableStreamFrom:Eye,tryUpgradeRequestToAPotentiallyTrustworthyURL:qye,clampAndCoarsenConnectionTimingInfo:Fye,coarsenedSharedCurrentTime:kye,determineRequestsReferrer:Lye,makePolicyContainer:UH,clonePolicyContainer:Uye,appendFetchMetadata:Nye,appendRequestOriginHeader:Mye,TAOCheck:Tye,corsCheck:Dye,crossOriginResourcePolicyCheck:Rye,createOpaqueTimingInfo:xye,setRequestReferrerPolicyOnRedirect:vye,isValidHTTPToken:MH,requestBadPort:Cye,requestCurrentURL:Xf,responseURL:FH,responseLocationURL:Iye,isURLPotentiallyTrustworthy:Kf,isValidReasonPhrase:wye,sameOrigin:Xd,normalizeMethod:Wye,iteratorMixin:Jye,createIterator:PH,isValidHeaderName:Sye,isValidHeaderValue:xH,isErrorLike:Qye,fullyReadBody:jye,readableStreamClose:zye,urlIsLocal:HH,urlHasHttpsScheme:J_,urlIsHttpHttpsScheme:qH,readAllBytes:OH,simpleRangeHeaderValue:Kye,buildContentRange:Xye,createInflate:Zye,extractMimeType:$ye,getDecodeSplit:GH,environmentSettingsObject:ime,isOriginIPPotentiallyTrustworthy:LH,hasAuthenticationEntry:tme,includesCredentials:rme,isTraversableNavigable:nme}});var Z_=x((nke,VH)=>{"use strict";var{iteratorMixin:sme}=Zf(),{kEnumerableProperty:fl}=$t(),{webidl:vt}=Eo(),WH=Yr(),Pr,mA=class mA{constructor(t=void 0){St(this,Pr,[]);if(vt.util.markAsUncloneable(this),t!==void 0)throw vt.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}append(t,r,n=void 0){vt.brandCheck(this,mA);let i="FormData.append";vt.argumentLengthCheck(arguments,2,i),t=vt.converters.USVString(t),arguments.length===3||vt.is.Blob(r)?(r=vt.converters.Blob(r,i,"value"),n!==void 0&&(n=vt.converters.USVString(n))):r=vt.converters.USVString(r);let s=X_(t,r,n);te(this,Pr).push(s)}delete(t){vt.brandCheck(this,mA),vt.argumentLengthCheck(arguments,1,"FormData.delete"),t=vt.converters.USVString(t),ft(this,Pr,te(this,Pr).filter(n=>n.name!==t))}get(t){vt.brandCheck(this,mA),vt.argumentLengthCheck(arguments,1,"FormData.get"),t=vt.converters.USVString(t);let n=te(this,Pr).findIndex(i=>i.name===t);return n===-1?null:te(this,Pr)[n].value}getAll(t){return vt.brandCheck(this,mA),vt.argumentLengthCheck(arguments,1,"FormData.getAll"),t=vt.converters.USVString(t),te(this,Pr).filter(n=>n.name===t).map(n=>n.value)}has(t){return vt.brandCheck(this,mA),vt.argumentLengthCheck(arguments,1,"FormData.has"),t=vt.converters.USVString(t),te(this,Pr).findIndex(n=>n.name===t)!==-1}set(t,r,n=void 0){vt.brandCheck(this,mA);let i="FormData.set";vt.argumentLengthCheck(arguments,2,i),t=vt.converters.USVString(t),arguments.length===3||vt.is.Blob(r)?(r=vt.converters.Blob(r,i,"value"),n!==void 0&&(n=vt.converters.USVString(n))):r=vt.converters.USVString(r);let s=X_(t,r,n),o=te(this,Pr).findIndex(a=>a.name===t);o!==-1?ft(this,Pr,[...te(this,Pr).slice(0,o),s,...te(this,Pr).slice(o+1).filter(a=>a.name!==t)]):te(this,Pr).push(s)}[WH.inspect.custom](t,r){let n=te(this,Pr).reduce((s,o)=>(s[o.name]?Array.isArray(s[o.name])?s[o.name].push(o.value):s[o.name]=[s[o.name],o.value]:s[o.name]=o.value,s),{__proto__:null});r.depth??(r.depth=t),r.colors??(r.colors=!0);let i=WH.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}static getFormDataState(t){return te(t,Pr)}static setFormDataState(t,r){ft(t,Pr,r)}};Pr=new WeakMap;var ha=mA,{getFormDataState:ome,setFormDataState:ame}=ha;Reflect.deleteProperty(ha,"getFormDataState");Reflect.deleteProperty(ha,"setFormDataState");sme("FormData",ha,ome,"name","value");Object.defineProperties(ha.prototype,{append:fl,delete:fl,get:fl,getAll:fl,has:fl,set:fl,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function X_(e,t,r){if(typeof t!="string"){if(vt.is.File(t)||(t=new File([t],"blob",{type:t.type})),r!==void 0){let n={type:t.type,lastModified:t.lastModified};t=new File([t],r,n)}}return{name:e,value:t}}vt.is.FormData=vt.util.MakeTypeAssertion(ha);VH.exports={FormData:ha,makeEntry:X_,setFormDataState:ame}});var zH=x((ske,jH)=>{"use strict";var{bufferToLowerCasedHeaderName:Ame}=$t(),{HTTP_TOKEN_CODEPOINTS:fme}=bf(),{makeEntry:ume}=Z_(),{webidl:$_}=Eo(),ev=Wt(),{isomorphicDecode:JH}=If(),cme=Buffer.from("--"),tv=new TextDecoder,lme=new TextDecoder("utf-8",{ignoreBOM:!0});function hme(e){for(let t=0;t<e.length;++t)if((e.charCodeAt(t)&-128)!==0)return!1;return!0}function dme(e){let t=e.length;if(t<27||t>70)return!1;for(let r=0;r<t;++r){let n=e.charCodeAt(r);if(!(n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}function gme(e,t){ev(t!=="failure"&&t.essence==="multipart/form-data");let r=t.parameters.get("boundary");if(r===void 0)throw Un("missing boundary in content-type header");let n=Buffer.from(`--${r}`,"utf8"),i=[],s={position:0},o=e.indexOf(n);if(o===-1)throw Un("no boundary found in multipart body");for(s.position=o;;){if(e.subarray(s.position,s.position+n.length).equals(n))s.position+=n.length;else throw Un("expected a value starting with -- and the boundary");if(yme(e,cme,s))return i;if(e[s.position]!==13||e[s.position+1]!==10)throw Un("expected CRLF");s.position+=2;let a=Eme(e,s),{name:A,filename:f,contentType:l,encoding:p}=a;s.position+=2;let B;{let _=e.indexOf(n.subarray(2),s.position);if(_===-1)throw Un("expected boundary after body");B=e.subarray(s.position,_-4),s.position+=B.length,p==="base64"&&(B=Buffer.from(B.toString(),"base64"))}if(e[s.position]!==13||e[s.position+1]!==10)throw Un("expected CRLF");s.position+=2;let S;f!==null?(l??(l="text/plain"),hme(l)||(l=""),S=new File([B],f,{type:l})):S=lme.decode(Buffer.from(B)),ev($_.is.USVString(A)),ev(typeof S=="string"&&$_.is.USVString(S)||$_.is.File(S)),i.push(ume(A,S,f))}}function pme(e,t){e[t.position]===59&&t.position++,Ti(o=>o===32||o===9,e,t);let r=Ti(o=>nv(o)&&o!==61&&o!==42,e,t);if(r.length===0)return null;let n=r.toString("ascii").toLowerCase(),i=e[t.position]===42;if(i&&t.position++,e[t.position]!==61)return null;t.position++,Ti(o=>o===32||o===9,e,t);let s;if(i){let o=Ti(a=>a!==32&&a!==13&&a!==10&&a!==59,e,t);if(o[0]!==117&&o[0]!==85||o[1]!==116&&o[1]!==84||o[2]!==102&&o[2]!==70||o[3]!==45||o[4]!==56)throw Un("unknown encoding, expected utf-8''");s=decodeURIComponent(tv.decode(o.subarray(7)))}else if(e[t.position]===34){t.position++;let o=Ti(a=>a!==10&&a!==13&&a!==34,e,t);if(e[t.position]!==34)throw Un("Closing quote not found");t.position++,s=tv.decode(o).replace(/%0A/ig,`
`).replace(/%0D/ig,"\r").replace(/%22/g,'"')}else{let o=Ti(a=>nv(a)&&a!==59,e,t);s=tv.decode(o)}return{name:n,value:s}}function Eme(e,t){let r=null,n=null,i=null,s=null;for(;;){if(e[t.position]===13&&e[t.position+1]===10){if(r===null)throw Un("header name is null");return{name:r,filename:n,contentType:i,encoding:s}}let o=Ti(a=>a!==10&&a!==13&&a!==58,e,t);if(o=rv(o,!0,!0,a=>a===9||a===32),!fme.test(o.toString()))throw Un("header name does not match the field-name token production");if(e[t.position]!==58)throw Un("expected :");switch(t.position++,Ti(a=>a===32||a===9,e,t),Ame(o)){case"content-disposition":{if(r=n=null,Ti(A=>nv(A),e,t).toString("ascii").toLowerCase()!=="form-data")throw Un("expected form-data for content-disposition header");for(;t.position<e.length&&e[t.position]!==13&&e[t.position+1]!==10;){let A=pme(e,t);if(!A)break;A.name==="name"?r=A.value:A.name==="filename"&&(n=A.value)}if(r===null)throw Un("name attribute is required in content-disposition header");break}case"content-type":{let a=Ti(A=>A!==10&&A!==13,e,t);a=rv(a,!1,!0,A=>A===9||A===32),i=JH(a);break}case"content-transfer-encoding":{let a=Ti(A=>A!==10&&A!==13,e,t);a=rv(a,!1,!0,A=>A===9||A===32),s=JH(a);break}default:Ti(a=>a!==10&&a!==13,e,t)}if(e[t.position]!==13&&e[t.position+1]!==10)throw Un("expected CRLF");t.position+=2}}function Ti(e,t,r){let n=r.position;for(;n<t.length&&e(t[n]);)++n;return t.subarray(r.position,r.position=n)}function rv(e,t,r,n){let i=0,s=e.length-1;if(t)for(;i<e.length&&n(e[i]);)i++;if(r)for(;s>0&&n(e[s]);)s--;return i===0&&s===e.length-1?e:e.subarray(i,s+1)}function yme(e,t,r){if(e.length<t.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[r.position+n])return!1;return!0}function Un(e){return new TypeError("Failed to parse body as FormData.",{cause:new TypeError(e)})}function mme(e){return e<=31||e===127}function Bme(e){return e===40||e===41||e===60||e===62||e===64||e===44||e===59||e===58||e===92||e===34||e===47||e===91||e===93||e===63||e===61}function nv(e){return e<=127&&e!==32&&e!==9&&!mme(e)&&!Bme(e)}jH.exports={multipartFormDataParser:gme,validateBoundary:dme}});var iv=x((oke,KH)=>{"use strict";function Ime(){let e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}KH.exports={createDeferredPromise:Ime}});var ov=x((ake,$H)=>{"use strict";var XH=new Set(["crypto","sqlite","markAsUncloneable","zstd"]),ul,sv=class{constructor(){St(this,ul,new Map([["crypto",!0],["sqlite",!1],["markAsUncloneable",!1],["zstd",!1]]))}clear(){te(this,ul).clear()}has(t){if(!XH.has(t))throw new TypeError(`unknown feature: ${t}`);return te(this,ul).get(t)??!1}set(t,r){if(!XH.has(t))throw new TypeError(`unknown feature: ${t}`);te(this,ul).set(t,!!r)}};ul=new WeakMap;var ZH=new sv;$H.exports={runtimeFeatures:ZH,default:ZH}});var ll=x((fke,i7)=>{"use strict";var fv=$t(),{ReadableStreamFrom:bme,readableStreamClose:Cme,fullyReadBody:Qme,extractMimeType:wme}=Zf(),{FormData:e7,setFormDataState:Sme}=Z_(),{webidl:Bs}=Eo(),av=Wt(),{isErrored:Av,isDisturbed:_me}=(gi(),$i(Ht)),{isUint8Array:vme}=Nw(),{serializeAMimeType:Rme}=bf(),{multipartFormDataParser:Dme}=zH(),{createDeferredPromise:Tme}=iv(),{parseJSONFromBytes:Nme}=If(),{utf8DecodeBytes:Mme}=Rw(),{runtimeFeatures:Fme}=ov(),kme=Fme.has("crypto")?Ud().randomInt:e=>Math.floor(Math.random()*e),fm=new TextEncoder;function xme(){}var Ume=new FinalizationRegistry(e=>{let t=e.deref();t&&!t.locked&&!_me(t)&&!Av(t)&&t.cancel("Response object has been garbage collected").catch(xme)});function r7(e,t=!1){let r=null,n=null;Bs.is.ReadableStream(e)?r=e:Bs.is.Blob(e)?r=e.stream():r=new ReadableStream({pull(){},start(f){n=f},cancel(){},type:"bytes"}),av(Bs.is.ReadableStream(r));let i=null,s=null,o=null,a=null;if(typeof e=="string")s=e,a="text/plain;charset=UTF-8";else if(Bs.is.URLSearchParams(e))s=e.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(Bs.is.BufferSource(e))s=Bs.util.getCopyOfBytesHeldByBufferSource(e);else if(Bs.is.FormData(e)){let f=`----formdata-undici-0${`${kme(1e11)}`.padStart(11,"0")}`,l=`--${f}\r
Content-Disposition: form-data`;let p=U=>U.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),B=U=>U.replace(/\r?\n|\r/g,`\r
`),S=[],_=new Uint8Array([13,10]);o=0;let N=!1;for(let[U,G]of e)if(typeof G=="string"){let Y=fm.encode(l+`; name="${p(B(U))}"\r
\r
${B(G)}\r
`);S.push(Y),o+=Y.byteLength}else{let Y=fm.encode(`${l}; name="${p(B(U))}"`+(G.name?`; filename="${p(G.name)}"`:"")+`\r
Content-Type: ${G.type||"application/octet-stream"}\r
\r
`);S.push(Y,G,_),typeof G.size=="number"?o+=Y.byteLength+G.size+_.byteLength:N=!0}let P=fm.encode(`--${f}--\r
`);S.push(P),o+=P.byteLength,N&&(o=null),s=e,i=async function*(){for(let U of S)U.stream?yield*U.stream():yield U},a=`multipart/form-data; boundary=${f}`}else if(Bs.is.Blob(e))s=e,o=e.size,e.type&&(a=e.type);else if(typeof e[Symbol.asyncIterator]=="function"){if(t)throw new TypeError("keepalive");if(fv.isDisturbed(e)||e.locked)throw new TypeError("Response body object should not be disturbed or locked");r=Bs.is.ReadableStream(e)?e:bme(e)}return(typeof s=="string"||vme(s))&&(i=()=>(o=typeof s=="string"?Buffer.byteLength(s):s.length,s)),i!=null&&(async()=>{let f=i(),l=f?.[Symbol.asyncIterator]?.();if(l)for await(let p of l){if(Av(r))break;p.length&&n.enqueue(new Uint8Array(p))}else f?.length&&!Av(r)&&n.enqueue(typeof f=="string"?fm.encode(f):new Uint8Array(f));queueMicrotask(()=>Cme(n))})(),[{stream:r,source:s,length:o},a]}function Lme(e,t=!1){return Bs.is.ReadableStream(e)&&(av(!fv.isDisturbed(e),"The body has already been consumed."),av(!e.locked,"The stream is locked.")),r7(e,t)}function Pme(e){let{0:t,1:r}=e.stream.tee();return e.stream=t,{stream:r,length:e.length,source:e.source}}function Ome(e,t){return{blob(){return cl(this,n=>{let i=t7(t(this));return i===null?i="":i&&(i=Rme(i)),new Blob([n],{type:i})},e,t)},arrayBuffer(){return cl(this,n=>new Uint8Array(n).buffer,e,t)},text(){return cl(this,Mme,e,t)},json(){return cl(this,Nme,e,t)},formData(){return cl(this,n=>{let i=t7(t(this));if(i!==null)switch(i.essence){case"multipart/form-data":{let s=Dme(n,i),o=new e7;return Sme(o,s),o}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(n.toString()),o=new e7;for(let[a,A]of s)o.append(a,A);return o}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e,t)},bytes(){return cl(this,n=>new Uint8Array(n),e,t)}}}function Hme(e,t){Object.assign(e.prototype,Ome(e,t))}function cl(e,t,r,n){try{Bs.brandCheck(e,r)}catch(a){return Promise.reject(a)}if(e=n(e),n7(e))return Promise.reject(new TypeError("Body is unusable: Body has already been read"));let i=Tme(),s=i.reject,o=a=>{try{i.resolve(t(a))}catch(A){s(A)}};return e.body==null?(o(Buffer.allocUnsafe(0)),i.promise):(Qme(e.body,o,s),i.promise)}function n7(e){let t=e.body;return t!=null&&(t.stream.locked||fv.isDisturbed(t.stream))}function t7(e){let t=e.headersList,r=wme(t);return r==="failure"?null:r}i7.exports={extractBody:r7,safelyExtractBody:Lme,cloneBody:Pme,mixinBody:Hme,streamRegistry:Ume,bodyUnusable:n7}});var g7=x((uke,d7)=>{"use strict";var Oe=Wt(),qe=$t(),{channels:s7}=sd(),uv=MQ(),{RequestContentLengthMismatchError:$f,ResponseContentLengthMismatchError:qme,RequestAbortedError:c7,HeadersTimeoutError:Gme,HeadersOverflowError:Yme,SocketError:tg,InformationalError:hl,BodyTimeoutError:Wme,HTTPParserError:Vme,ResponseExceededMaxSizeError:Jme}=mr(),{kUrl:l7,kReset:Ln,kClient:Ev,kParser:cr,kBlocking:rg,kRunning:un,kPending:jme,kSize:o7,kWriting:IA,kQueue:Is,kNoRef:$d,kKeepAliveDefaultTimeout:zme,kHostHeader:Kme,kPendingIdx:Xme,kRunningIdx:Ni,kError:Mi,kPipelining:lm,kSocket:dl,kKeepAliveTimeoutValue:dm,kMaxHeadersSize:Zme,kKeepAliveMaxTimeout:$me,kKeepAliveTimeoutThreshold:eBe,kHeadersTimeout:tBe,kBodyTimeout:rBe,kStrictContentLength:hv,kMaxRequests:a7,kCounter:nBe,kMaxResponseSize:iBe,kOnError:sBe,kResume:BA,kHTTPContext:h7,kClosed:dv}=Tn(),yo=p3(),oBe=Buffer.alloc(0),um=Buffer[Symbol.species],aBe=qe.removeAllListeners,cv;function ABe(){let e=process.env.JEST_WORKER_ID?Sw():void 0,t,r=process.arch!=="ppc64";if(process.env.UNDICI_NO_WASM_SIMD==="1"?r=!0:process.env.UNDICI_NO_WASM_SIMD==="0"&&(r=!1),r)try{t=new WebAssembly.Module(m3())}catch{}return t||(t=new WebAssembly.Module(e||Sw())),new WebAssembly.Instance(t,{env:{wasm_on_url:(n,i,s)=>0,wasm_on_status:(n,i,s)=>{Oe(Rr.ptr===n);let o=i-Bo+mo.byteOffset;return Rr.onStatus(new um(mo.buffer,o,s))},wasm_on_message_begin:n=>(Oe(Rr.ptr===n),Rr.onMessageBegin()),wasm_on_header_field:(n,i,s)=>{Oe(Rr.ptr===n);let o=i-Bo+mo.byteOffset;return Rr.onHeaderField(new um(mo.buffer,o,s))},wasm_on_header_value:(n,i,s)=>{Oe(Rr.ptr===n);let o=i-Bo+mo.byteOffset;return Rr.onHeaderValue(new um(mo.buffer,o,s))},wasm_on_headers_complete:(n,i,s,o)=>(Oe(Rr.ptr===n),Rr.onHeadersComplete(i,s===1,o===1)),wasm_on_body:(n,i,s)=>{Oe(Rr.ptr===n);let o=i-Bo+mo.byteOffset;return Rr.onBody(new um(mo.buffer,o,s))},wasm_on_message_complete:n=>(Oe(Rr.ptr===n),Rr.onMessageComplete())}})}var lv=null,Rr=null,mo=null,cm=0,Bo=null,fBe=0,eg=1,gl=2|eg,hm=4|eg,gv=8|fBe,pv=class{constructor(t,r,{exports:n}){this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(yo.TYPE.RESPONSE),this.client=t,this.socket=r,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=0,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=t[Zme],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=t[iBe]}setTimeout(t,r){t!==this.timeoutValue||r&eg^this.timeoutType&eg?(this.timeout&&(uv.clearTimeout(this.timeout),this.timeout=null),t&&(r&eg?this.timeout=uv.setFastTimeout(A7,t,new WeakRef(this)):(this.timeout=setTimeout(A7,t,new WeakRef(this)),this.timeout?.unref())),this.timeoutValue=t):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=r}resume(){this.socket.destroyed||!this.paused||(Oe(this.ptr!=null),Oe(Rr===null),this.llhttp.llhttp_resume(this.ptr),Oe(this.timeoutType===hm),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||oBe),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let t=this.socket.read();if(t===null)break;this.execute(t)}}execute(t){Oe(Rr===null),Oe(this.ptr!=null),Oe(!this.paused);let{socket:r,llhttp:n}=this;t.length>cm&&(Bo&&n.free(Bo),cm=Math.ceil(t.length/4096)*4096,Bo=n.malloc(cm)),new Uint8Array(n.memory.buffer,Bo,cm).set(t);try{let i;try{mo=t,Rr=this,i=n.llhttp_execute(this.ptr,Bo,t.length)}finally{Rr=null,mo=null}if(i!==yo.ERROR.OK){let s=t.subarray(n.llhttp_get_error_pos(this.ptr)-Bo);if(i===yo.ERROR.PAUSED_UPGRADE)this.onUpgrade(s);else if(i===yo.ERROR.PAUSED)this.paused=!0,r.unshift(s);else{let o=n.llhttp_get_error_reason(this.ptr),a="";if(o){let A=new Uint8Array(n.memory.buffer,o).indexOf(0);a="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,o,A).toString()+")"}throw new Vme(a,yo.ERROR[i],s)}}}catch(i){qe.destroy(r,i)}}destroy(){Oe(Rr===null),Oe(this.ptr!=null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&uv.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(t){return this.statusText=t.toString(),0}onMessageBegin(){let{socket:t,client:r}=this;if(t.destroyed)return-1;let n=r[Is][r[Ni]];return n?(n.onResponseStarted(),0):-1}onHeaderField(t){let r=this.headers.length;return(r&1)===0?this.headers.push(t):this.headers[r-1]=Buffer.concat([this.headers[r-1],t]),this.trackHeader(t.length),0}onHeaderValue(t){let r=this.headers.length;(r&1)===1?(this.headers.push(t),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],t]);let n=this.headers[r-2];if(n.length===10){let i=qe.bufferToLowerCasedHeaderName(n);i==="keep-alive"?this.keepAlive+=t.toString():i==="connection"&&(this.connection+=t.toString())}else n.length===14&&qe.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=t.toString());return this.trackHeader(t.length),0}trackHeader(t){this.headersSize+=t,this.headersSize>=this.headersMaxSize&&qe.destroy(this.socket,new Yme)}onUpgrade(t){let{upgrade:r,client:n,socket:i,headers:s,statusCode:o}=this;Oe(r),Oe(n[dl]===i),Oe(!i.destroyed),Oe(!this.paused),Oe((s.length&1)===0);let a=n[Is][n[Ni]];Oe(a),Oe(a.upgrade||a.method==="CONNECT"),this.statusCode=0,this.statusText="",this.shouldKeepAlive=!1,this.headers=[],this.headersSize=0,i.unshift(t),i[cr].destroy(),i[cr]=null,i[Ev]=null,i[Mi]=null,aBe(i),n[dl]=null,n[h7]=null,n[Is][n[Ni]++]=null,n.emit("disconnect",n[l7],[n],new hl("upgrade"));try{a.onUpgrade(o,s,i)}catch(A){qe.destroy(i,A)}n[BA]()}onHeadersComplete(t,r,n){let{client:i,socket:s,headers:o,statusText:a}=this;if(s.destroyed)return-1;let A=i[Is][i[Ni]];if(!A)return-1;if(Oe(!this.upgrade),Oe(this.statusCode<200),t===100)return qe.destroy(s,new tg("bad response",qe.getSocketInfo(s))),-1;if(r&&!A.upgrade)return qe.destroy(s,new tg("bad upgrade",qe.getSocketInfo(s))),-1;if(Oe(this.timeoutType===gl),this.statusCode=t,this.shouldKeepAlive=n||A.method==="HEAD"&&!s[Ln]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let l=A.bodyTimeout!=null?A.bodyTimeout:i[rBe];this.setTimeout(l,hm)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(A.method==="CONNECT")return Oe(i[un]===1),this.upgrade=!0,2;if(r)return Oe(i[un]===1),this.upgrade=!0,2;if(Oe((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[lm]){let l=this.keepAlive?qe.parseKeepAliveTimeout(this.keepAlive):null;if(l!=null){let p=Math.min(l-i[eBe],i[$me]);p<=0?s[Ln]=!0:i[dm]=p}else i[dm]=i[zme]}else s[Ln]=!0;let f=A.onHeaders(t,o,this.resume,a)===!1;return A.aborted?-1:A.method==="HEAD"||t<200?1:(s[rg]&&(s[rg]=!1,i[BA]()),f?yo.ERROR.PAUSED:0)}onBody(t){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let o=r[Is][r[Ni]];return Oe(o),Oe(this.timeoutType===hm),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),Oe(i>=200),s>-1&&this.bytesRead+t.length>s?(qe.destroy(n,new Jme),-1):(this.bytesRead+=t.length,o.onData(t)===!1?yo.ERROR.PAUSED:0)}onMessageComplete(){let{client:t,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:o,bytesRead:a,shouldKeepAlive:A}=this;if(r.destroyed&&(!n||A))return-1;if(i)return 0;Oe(n>=100),Oe((this.headers.length&1)===0);let f=t[Is][t[Ni]];if(Oe(f),this.statusCode=0,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,n<200)return 0;if(f.method!=="HEAD"&&o&&a!==parseInt(o,10))return qe.destroy(r,new qme),-1;if(f.onComplete(s),t[Is][t[Ni]++]=null,r[IA])return Oe(t[un]===0),qe.destroy(r,new hl("reset")),yo.ERROR.PAUSED;if(A){if(r[Ln]&&t[un]===0)return qe.destroy(r,new hl("reset")),yo.ERROR.PAUSED;t[lm]==null||t[lm]===1?setImmediate(t[BA]):t[BA]()}else return qe.destroy(r,new hl("reset")),yo.ERROR.PAUSED;return 0}};function A7(e){let t=e.deref();if(!t)return;let{socket:r,timeoutType:n,client:i,paused:s}=t;n===gl?(!r[IA]||r.writableNeedDrain||i[un]>1)&&(Oe(!s,"cannot be paused while waiting for headers"),qe.destroy(r,new Gme)):n===hm?s||qe.destroy(r,new Wme):n===gv&&(Oe(i[un]===0&&i[dm]),qe.destroy(r,new hl("socket idle timeout")))}function uBe(e,t){if(e[dl]=t,lv||(lv=ABe()),t.errored)throw t.errored;if(t.destroyed)throw new tg("destroyed");return t[$d]=!1,t[IA]=!1,t[Ln]=!1,t[rg]=!1,t[cr]=new pv(e,t,lv),qe.addListener(t,"error",cBe),qe.addListener(t,"readable",lBe),qe.addListener(t,"end",hBe),qe.addListener(t,"close",dBe),t[dv]=!1,t.on("close",gBe),{version:"h1",defaultPipelining:1,write(r){return yBe(e,r)},resume(){pBe(e)},destroy(r,n){t[dv]?queueMicrotask(n):(t.on("close",n),t.destroy(r))},get destroyed(){return t.destroyed},busy(r){return!!(t[IA]||t[Ln]||t[rg]||r&&(e[un]>0&&!r.idempotent||e[un]>0&&(r.upgrade||r.method==="CONNECT")||e[un]>0&&qe.bodyLength(r.body)!==0&&(qe.isStream(r.body)||qe.isAsyncIterable(r.body)||qe.isFormDataLike(r.body))))}}}function cBe(e){Oe(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let t=this[cr];if(e.code==="ECONNRESET"&&t.statusCode&&!t.shouldKeepAlive){t.onMessageComplete();return}this[Mi]=e,this[Ev][sBe](e)}function lBe(){this[cr]?.readMore()}function hBe(){let e=this[cr];if(e.statusCode&&!e.shouldKeepAlive){e.onMessageComplete();return}qe.destroy(this,new tg("other side closed",qe.getSocketInfo(this)))}function dBe(){let e=this[cr];e&&(!this[Mi]&&e.statusCode&&!e.shouldKeepAlive&&e.onMessageComplete(),this[cr].destroy(),this[cr]=null);let t=this[Mi]||new tg("closed",qe.getSocketInfo(this)),r=this[Ev];if(r[dl]=null,r[h7]=null,r.destroyed){Oe(r[jme]===0);let n=r[Is].splice(r[Ni]);for(let i=0;i<n.length;i++){let s=n[i];qe.errorRequest(r,s,t)}}else if(r[un]>0&&t.code!=="UND_ERR_INFO"){let n=r[Is][r[Ni]];r[Is][r[Ni]++]=null,qe.errorRequest(r,n,t)}r[Xme]=r[Ni],Oe(r[un]===0),r.emit("disconnect",r[l7],[r],t),r[BA]()}function gBe(){this[dv]=!0}function pBe(e){let t=e[dl];if(t&&!t.destroyed){if(e[o7]===0?!t[$d]&&t.unref&&(t.unref(),t[$d]=!0):t[$d]&&t.ref&&(t.ref(),t[$d]=!1),e[o7]===0)t[cr].timeoutType!==gv&&t[cr].setTimeout(e[dm],gv);else if(e[un]>0&&t[cr].statusCode<200&&t[cr].timeoutType!==gl){let r=e[Is][e[Ni]],n=r.headersTimeout!=null?r.headersTimeout:e[tBe];t[cr].setTimeout(n,gl)}}}function EBe(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function yBe(e,t){let{method:r,path:n,host:i,upgrade:s,blocking:o,reset:a}=t,{body:A,headers:f,contentLength:l}=t,p=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(qe.isFormDataLike(A)){cv||(cv=ll().extractBody);let[P,U]=cv(A);t.contentType==null&&f.push("content-type",U),A=P.stream,l=P.length}else qe.isBlobLike(A)&&t.contentType==null&&A.type&&f.push("content-type",A.type);A&&typeof A.read=="function"&&A.read(0);let B=qe.bodyLength(A);if(l=B??l,l===null&&(l=t.contentLength),l===0&&!p&&(l=null),EBe(r)&&l>0&&t.contentLength!==null&&t.contentLength!==l){if(e[hv])return qe.errorRequest(e,t,new $f),!1;process.emitWarning(new $f)}let S=e[dl],_=P=>{t.aborted||t.completed||(qe.errorRequest(e,t,P||new c7),qe.destroy(A),qe.destroy(S,new hl("aborted")))};try{t.onConnect(_)}catch(P){qe.errorRequest(e,t,P)}if(t.aborted)return!1;r==="HEAD"&&(S[Ln]=!0),(s||r==="CONNECT")&&(S[Ln]=!0),a!=null&&(S[Ln]=a),e[a7]&&S[nBe]++>=e[a7]&&(S[Ln]=!0),o&&(S[rg]=!0),S.setTypeOfService&&S.setTypeOfService(t.typeOfService);let N=`${r} ${n} HTTP/1.1\r
`;if(typeof i=="string"?N+=`host: ${i}\r
`:N+=e[Kme],s?N+=`connection: upgrade\r
upgrade: ${s}\r
`:e[lm]&&!S[Ln]?N+=`connection: keep-alive\r
`:N+=`connection: close\r
`,Array.isArray(f))for(let P=0;P<f.length;P+=2){let U=f[P+0],G=f[P+1];if(Array.isArray(G))for(let Y=0;Y<G.length;Y++)N+=`${U}: ${G[Y]}\r
`;else N+=`${U}: ${G}\r
`}return s7.sendHeaders.hasSubscribers&&s7.sendHeaders.publish({request:t,headers:N,socket:S}),!A||B===0?f7(_,null,e,t,S,l,N,p):qe.isBuffer(A)?f7(_,A,e,t,S,l,N,p):qe.isBlobLike(A)?typeof A.stream=="function"?u7(_,A.stream(),e,t,S,l,N,p):BBe(_,A,e,t,S,l,N,p):qe.isStream(A)?mBe(_,A,e,t,S,l,N,p):qe.isIterable(A)?u7(_,A,e,t,S,l,N,p):Oe(!1),!0}function mBe(e,t,r,n,i,s,o,a){Oe(s!==0||r[un]===0,"stream body cannot be pipelined");let A=!1,f=new gm({abort:e,socket:i,request:n,contentLength:s,client:r,expectsPayload:a,header:o}),l=function(_){if(!A)try{!f.write(_)&&this.pause&&this.pause()}catch(N){qe.destroy(this,N)}},p=function(){A||t.resume&&t.resume()},B=function(){if(queueMicrotask(()=>{t.removeListener("error",S)}),!A){let _=new c7;queueMicrotask(()=>S(_))}},S=function(_){if(!A){if(A=!0,Oe(i.destroyed||i[IA]&&r[un]<=1),i.off("drain",p).off("error",S),t.removeListener("data",l).removeListener("end",S).removeListener("close",B),!_)try{f.end()}catch(N){_=N}f.destroy(_),_&&(_.code!=="UND_ERR_INFO"||_.message!=="reset")?qe.destroy(t,_):qe.destroy(t)}};t.on("data",l).on("end",S).on("error",S).on("close",B),t.resume&&t.resume(),i.on("drain",p).on("error",S),t.errorEmitted??t.errored?setImmediate(S,t.errored):(t.endEmitted??t.readableEnded)&&setImmediate(S,null),(t.closeEmitted??t.closed)&&setImmediate(B)}function f7(e,t,r,n,i,s,o,a){try{t?qe.isBuffer(t)&&(Oe(s===t.byteLength,"buffer body must have content length"),i.cork(),i.write(`${o}content-length: ${s}\r
\r
`,"latin1"),i.write(t),i.uncork(),n.onBodySent(t),!a&&n.reset!==!1&&(i[Ln]=!0)):s===0?i.write(`${o}content-length: 0\r
\r
`,"latin1"):(Oe(s===null,"no body must not have content length"),i.write(`${o}\r
`,"latin1")),n.onRequestSent(),r[BA]()}catch(A){e(A)}}async function BBe(e,t,r,n,i,s,o,a){Oe(s===t.size,"blob body must have content length");try{if(s!=null&&s!==t.size)throw new $f;let A=Buffer.from(await t.arrayBuffer());i.cork(),i.write(`${o}content-length: ${s}\r
\r
`,"latin1"),i.write(A),i.uncork(),n.onBodySent(A),n.onRequestSent(),!a&&n.reset!==!1&&(i[Ln]=!0),r[BA]()}catch(A){e(A)}}async function u7(e,t,r,n,i,s,o,a){Oe(s!==0||r[un]===0,"iterator body cannot be pipelined");let A=null;function f(){if(A){let B=A;A=null,B()}}let l=()=>new Promise((B,S)=>{Oe(A===null),i[Mi]?S(i[Mi]):A=B});i.on("close",f).on("drain",f);let p=new gm({abort:e,socket:i,request:n,contentLength:s,client:r,expectsPayload:a,header:o});try{for await(let B of t){if(i[Mi])throw i[Mi];p.write(B)||await l()}p.end()}catch(B){p.destroy(B)}finally{i.off("close",f).off("drain",f)}}var gm=class{constructor({abort:t,socket:r,request:n,contentLength:i,client:s,expectsPayload:o,header:a}){this.socket=r,this.request=n,this.contentLength=i,this.client=s,this.bytesWritten=0,this.expectsPayload=o,this.header=a,this.abort=t,r[IA]=!0}write(t){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:o,expectsPayload:a,header:A}=this;if(r[Mi])throw r[Mi];if(r.destroyed)return!1;let f=Buffer.byteLength(t);if(!f)return!0;if(i!==null&&o+f>i){if(s[hv])throw new $f;process.emitWarning(new $f)}r.cork(),o===0&&(!a&&n.reset!==!1&&(r[Ln]=!0),i===null?r.write(`${A}transfer-encoding: chunked\r
`,"latin1"):r.write(`${A}content-length: ${i}\r
\r
`,"latin1")),i===null&&r.write(`\r
${f.toString(16)}\r
`,"latin1"),this.bytesWritten+=f;let l=r.write(t);return r.uncork(),n.onBodySent(t),l||r[cr].timeout&&r[cr].timeoutType===gl&&r[cr].timeout.refresh&&r[cr].timeout.refresh(),l}end(){let{socket:t,contentLength:r,client:n,bytesWritten:i,expectsPayload:s,header:o,request:a}=this;if(a.onRequestSent(),t[IA]=!1,t[Mi])throw t[Mi];if(!t.destroyed){if(i===0?s?t.write(`${o}content-length: 0\r
\r
`,"latin1"):t.write(`${o}\r
`,"latin1"):r===null&&t.write(`\r
0\r
\r
`,"latin1"),r!==null&&i!==r){if(n[hv])throw new $f;process.emitWarning(new $f)}t[cr].timeout&&t[cr].timeoutType===gl&&t[cr].timeout.refresh&&t[cr].timeout.refresh(),n[BA]()}}destroy(t){let{socket:r,client:n,abort:i}=this;r[IA]=!1,t&&(Oe(n[un]<=1,"pipeline should only contain this request"),i(t))}};d7.exports=uBe});var y7=x((cke,E7)=>{"use strict";var p7={HTTP2_HEADER_METHOD:":method",HTTP2_HEADER_PATH:":path",HTTP2_HEADER_SCHEME:":scheme",HTTP2_HEADER_AUTHORITY:":authority",HTTP2_HEADER_STATUS:":status",HTTP2_HEADER_CONTENT_TYPE:"content-type",HTTP2_HEADER_CONTENT_LENGTH:"content-length",HTTP2_HEADER_LAST_MODIFIED:"last-modified",HTTP2_HEADER_ACCEPT:"accept",HTTP2_HEADER_ACCEPT_ENCODING:"accept-encoding",HTTP2_METHOD_GET:"GET",HTTP2_METHOD_POST:"POST",HTTP2_METHOD_PUT:"PUT",HTTP2_METHOD_DELETE:"DELETE",DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE:65535};function yv(e){let t=new Error(`node:http2 ${e} is not available in the secure-exec bridge bootstrap`);throw t.code="ERR_NOT_IMPLEMENTED",t}function IBe(){yv("connect")}function bBe(){yv("createServer")}function CBe(){yv("createSecureServer")}function QBe(){return{maxHeaderListSize:p7.DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE}}E7.exports={constants:p7,connect:IBe,createServer:bBe,createSecureServer:CBe,getDefaultSettings:QBe}});var _7=x((lke,S7)=>{"use strict";var ki=Wt(),{pipeline:wBe}=(gi(),$i(Ht)),ct=$t(),{RequestContentLengthMismatchError:bv,RequestAbortedError:SBe,SocketError:og,InformationalError:bA,InvalidArgumentError:_Be}=mr(),{kUrl:sg,kReset:mm,kClient:ei,kRunning:ag,kPending:vBe,kQueue:CA,kPendingIdx:Qv,kRunningIdx:bs,kError:ti,kSocket:or,kStrictContentLength:RBe,kOnError:pl,kMaxConcurrentStreams:Em,kPingInterval:m7,kHTTP2Session:da,kHTTP2InitialWindowSize:DBe,kHTTP2ConnectionWindowSize:TBe,kResume:Io,kSize:NBe,kHTTPContext:wv,kClosed:Cv,kBodyTimeout:MBe,kEnableConnectProtocol:ng,kRemoteSettings:ig,kHTTP2Stream:pm,kHTTP2SessionState:Sv}=Tn(),{channels:B7}=sd(),Fi=Symbol("open streams"),I7,ym;try{ym=y7()}catch{ym={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:FBe,HTTP2_HEADER_METHOD:b7,HTTP2_HEADER_PATH:C7,HTTP2_HEADER_SCHEME:mv,HTTP2_HEADER_CONTENT_LENGTH:kBe,HTTP2_HEADER_EXPECT:xBe,HTTP2_HEADER_STATUS:Bv,HTTP2_HEADER_PROTOCOL:UBe,NGHTTP2_REFUSED_STREAM:LBe,NGHTTP2_CANCEL:PBe}}=ym;function Iv(e){let t=[];for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let i of n)t.push(Buffer.from(r),Buffer.from(i));else t.push(Buffer.from(r),Buffer.from(n));return t}function OBe(e,t){e[or]=t;let r=e[DBe],n=e[TBe],i=ym.connect(e[sg],{createConnection:()=>t,peerMaxConcurrentStreams:e[Em],settings:{enablePush:!1,...r!=null?{initialWindowSize:r}:null}});return e[or]=t,i[Fi]=0,i[ei]=e,i[or]=t,i[Sv]={ping:{interval:e[m7]===0?null:setInterval(YBe,e[m7],i).unref()}},i[ng]=!1,i[ig]=!1,n&&ct.addListener(i,"connect",qBe.bind(i,n)),ct.addListener(i,"error",WBe),ct.addListener(i,"frameError",VBe),ct.addListener(i,"end",JBe),ct.addListener(i,"goaway",jBe),ct.addListener(i,"close",zBe),ct.addListener(i,"remoteSettings",GBe),i.unref(),e[da]=i,t[da]=i,ct.addListener(t,"error",XBe),ct.addListener(t,"end",ZBe),ct.addListener(t,"close",KBe),t[Cv]=!1,t.on("close",$Be),{version:"h2",defaultPipelining:1/0,write(s){return tIe(e,s)},resume(){HBe(e)},destroy(s,o){t[Cv]?queueMicrotask(o):t.destroy(s).on("close",o)},get destroyed(){return t.destroyed},busy(s){if(s!=null)if(e[ag]>0){if(s.idempotent===!1||(s.upgrade==="websocket"||s.method==="CONNECT")&&i[ig]===!1||ct.bodyLength(s.body)!==0&&(ct.isStream(s.body)||ct.isAsyncIterable(s.body)||ct.isFormDataLike(s.body)))return!0}else return(s.upgrade==="websocket"||s.method==="CONNECT")&&i[ig]===!1;return!1}}}function HBe(e){let t=e[or];t?.destroyed===!1&&(e[NBe]===0||e[Em]===0?(t.unref(),e[da].unref()):(t.ref(),e[da].ref()))}function qBe(e){try{typeof this.setLocalWindowSize=="function"&&this.setLocalWindowSize(e)}catch{}}function GBe(e){if(this[ei][Em]=e.maxConcurrentStreams??this[ei][Em],this[ig]===!0&&this[ng]===!0&&e.enableConnectProtocol===!1){let t=new bA("HTTP/2: Server disabled extended CONNECT protocol against RFC-8441");this[or][ti]=t,this[ei][pl](t);return}this[ng]=e.enableConnectProtocol??this[ng],this[ig]=!0,this[ei][Io]()}function YBe(e){let t=e[Sv];if((e.closed||e.destroyed)&&t.ping.interval!=null){clearInterval(t.ping.interval),t.ping.interval=null;return}e.ping(r.bind(e));function r(n,i){let s=this[ei],o=this[ei];if(n!=null){let a=new bA(`HTTP/2: "PING" errored - type ${n.message}`);o[ti]=a,s[pl](a)}else s.emit("ping",i)}}function WBe(e){ki(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[or][ti]=e,this[ei][pl](e)}function VBe(e,t,r){if(r===0){let n=new bA(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[or][ti]=n,this[ei][pl](n)}}function JBe(){let e=new og("other side closed",ct.getSocketInfo(this[or]));this.destroy(e),ct.destroy(this[or],e)}function jBe(e){let t=this[ti]||new og(`HTTP/2: "GOAWAY" frame received with code ${e}`,ct.getSocketInfo(this[or])),r=this[ei];if(r[or]=null,r[wv]=null,this.close(),this[da]=null,ct.destroy(this[or],t),r[bs]<r[CA].length){let n=r[CA][r[bs]];r[CA][r[bs]++]=null,ct.errorRequest(r,n,t),r[Qv]=r[bs]}ki(r[ag]===0),r.emit("disconnect",r[sg],[r],t),r.emit("connectionError",r[sg],[r],t),r[Io]()}function zBe(){let{[ei]:e,[Sv]:t}=this,{[or]:r}=e,n=this[or][ti]||this[ti]||new og("closed",ct.getSocketInfo(r));if(e[or]=null,e[wv]=null,t.ping.interval!=null&&(clearInterval(t.ping.interval),t.ping.interval=null),e.destroyed){ki(e[vBe]===0);let i=e[CA].splice(e[bs]);for(let s=0;s<i.length;s++){let o=i[s];ct.errorRequest(e,o,n)}}}function KBe(){let e=this[ti]||new og("closed",ct.getSocketInfo(this)),t=this[da][ei];t[or]=null,t[wv]=null,this[da]!==null&&this[da].destroy(e),t[Qv]=t[bs],ki(t[ag]===0),t.emit("disconnect",t[sg],[t],e),t[Io]()}function XBe(e){ki(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[ti]=e,this[ei][pl](e)}function ZBe(){ct.destroy(this,new og("other side closed",ct.getSocketInfo(this)))}function $Be(){this[Cv]=!0}function eIe(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function tIe(e,t){let r=t.bodyTimeout??e[MBe],n=e[da],{method:i,path:s,host:o,upgrade:a,expectContinue:A,signal:f,protocol:l,headers:p}=t,{body:B}=t;if(a!=null&&a!=="websocket")return ct.errorRequest(e,t,new _Be(`Custom upgrade "${a}" not supported over HTTP/2`)),!1;let S={};for(let se=0;se<p.length;se+=2){let ie=p[se+0],ce=p[se+1];if(ie==="cookie"){S[ie]!=null?S[ie]=Array.isArray(S[ie])?(S[ie].push(ce),S[ie]):[S[ie],ce]:S[ie]=ce;continue}if(Array.isArray(ce))for(let H=0;H<ce.length;H++)S[ie]?S[ie]+=`, ${ce[H]}`:S[ie]=ce[H];else S[ie]?S[ie]+=`, ${ce}`:S[ie]=ce}let _=null,{hostname:N,port:P}=e[sg];S[FBe]=o||`${N}${P?`:${P}`:""}`,S[b7]=i;let U=se=>{t.aborted||t.completed||(se=se||new SBe,ct.errorRequest(e,t,se),_!=null&&(_.removeAllListeners("data"),_.close(),e[pl](se),e[Io]()),ct.destroy(B,se))};try{t.onConnect(U)}catch(se){ct.errorRequest(e,t,se)}if(t.aborted)return!1;if(a||i==="CONNECT")return n.ref(),a==="websocket"?n[ng]===!1?(ct.errorRequest(e,t,new bA("HTTP/2: Extended CONNECT protocol not supported by server")),n.unref(),!1):(S[b7]="CONNECT",S[UBe]="websocket",S[C7]=s,l==="ws:"||l==="wss:"?S[mv]=l==="ws:"?"http":"https":S[mv]=l==="http:"?"http":"https",_=n.request(S,{endStream:!1,signal:f}),_[pm]=!0,_.once("response",(se,ie)=>{let{[Bv]:ce,...H}=se;t.onUpgrade(ce,Iv(H),_),++n[Fi],e[CA][e[bs]++]=null}),_.on("error",()=>{(_.rstCode===LBe||_.rstCode===PBe)&&U(new bA(`HTTP/2: "stream error" received - code ${_.rstCode}`))}),_.once("close",()=>{n[Fi]-=1,n[Fi]===0&&n.unref()}),_.setTimeout(r),!0):(_=n.request(S,{endStream:!1,signal:f}),_[pm]=!0,_.on("response",se=>{let{[Bv]:ie,...ce}=se;t.onUpgrade(ie,Iv(ce),_),++n[Fi],e[CA][e[bs]++]=null}),_.once("close",()=>{n[Fi]-=1,n[Fi]===0&&n.unref()}),_.setTimeout(r),!0);S[C7]=s,S[mv]=l==="http:"?"http":"https";let G=i==="PUT"||i==="POST"||i==="PATCH";B&&typeof B.read=="function"&&B.read(0);let Y=ct.bodyLength(B);if(ct.isFormDataLike(B)){I7??(I7=ll().extractBody);let[se,ie]=I7(B);S["content-type"]=ie,B=se.stream,Y=se.length}if(Y==null&&(Y=t.contentLength),G||(Y=null),eIe(i)&&Y>0&&t.contentLength!=null&&t.contentLength!==Y){if(e[RBe])return ct.errorRequest(e,t,new bv),!1;process.emitWarning(new bv)}if(Y!=null&&(ki(B||Y===0,"no body must not have content length"),S[kBe]=`${Y}`),n.ref(),B7.sendHeaders.hasSubscribers){let se="";for(let ie in S)se+=`${ie}: ${S[ie]}\r
`;B7.sendHeaders.publish({request:t,headers:se,socket:n[or]})}let Z=i==="GET"||i==="HEAD"||B===null;A?(S[xBe]="100-continue",_=n.request(S,{endStream:Z,signal:f}),_[pm]=!0,_.once("continue",j)):(_=n.request(S,{endStream:Z,signal:f}),_[pm]=!0,j()),++n[Fi],_.setTimeout(r);let ee=!1;return _.once("response",se=>{let{[Bv]:ie,...ce}=se;if(t.onResponseStarted(),ee=!0,t.aborted){_.removeAllListeners("data");return}t.onHeaders(Number(ie),Iv(ce),_.resume.bind(_),"")===!1&&_.pause(),_.on("data",H=>{t.aborted||t.completed||t.onData(H)===!1&&_.pause()})}),_.once("end",()=>{_.removeAllListeners("data"),ee?(!t.aborted&&!t.completed&&t.onComplete({}),e[CA][e[bs]++]=null,e[Io]()):(U(new bA("HTTP/2: stream half-closed (remote)")),e[CA][e[bs]++]=null,e[Qv]=e[bs],e[Io]())}),_.once("close",()=>{_.removeAllListeners("data"),n[Fi]-=1,n[Fi]===0&&n.unref()}),_.once("error",function(se){_.removeAllListeners("data"),U(se)}),_.once("frameError",(se,ie)=>{_.removeAllListeners("data"),U(new bA(`HTTP/2: "frameError" received - type ${se}, code ${ie}`))}),_.on("aborted",()=>{_.removeAllListeners("data")}),_.on("timeout",()=>{let se=new bA(`HTTP/2: "stream timeout after ${r}"`);_.removeAllListeners("data"),n[Fi]-=1,n[Fi]===0&&n.unref(),U(se)}),_.once("trailers",se=>{t.aborted||t.completed||(_.removeAllListeners("data"),t.onComplete(se))}),!0;function j(){!B||Y===0?Q7(U,_,null,e,t,e[or],Y,G):ct.isBuffer(B)?Q7(U,_,B,e,t,e[or],Y,G):ct.isBlobLike(B)?typeof B.stream=="function"?w7(U,_,B.stream(),e,t,e[or],Y,G):nIe(U,_,B,e,t,e[or],Y,G):ct.isStream(B)?rIe(U,e[or],G,_,B,e,t,Y):ct.isIterable(B)?w7(U,_,B,e,t,e[or],Y,G):ki(!1)}}function Q7(e,t,r,n,i,s,o,a){try{r!=null&&ct.isBuffer(r)&&(ki(o===r.byteLength,"buffer body must have content length"),t.cork(),t.write(r),t.uncork(),t.end(),i.onBodySent(r)),a||(s[mm]=!0),i.onRequestSent(),n[Io]()}catch(A){e(A)}}function rIe(e,t,r,n,i,s,o,a){ki(a!==0||s[ag]===0,"stream body cannot be pipelined");let A=wBe(i,n,l=>{l?(ct.destroy(A,l),e(l)):(ct.removeAllListeners(A),o.onRequestSent(),r||(t[mm]=!0),s[Io]())});ct.addListener(A,"data",f);function f(l){o.onBodySent(l)}}async function nIe(e,t,r,n,i,s,o,a){ki(o===r.size,"blob body must have content length");try{if(o!=null&&o!==r.size)throw new bv;let A=Buffer.from(await r.arrayBuffer());t.cork(),t.write(A),t.uncork(),t.end(),i.onBodySent(A),i.onRequestSent(),a||(s[mm]=!0),n[Io]()}catch(A){e(A)}}async function w7(e,t,r,n,i,s,o,a){ki(o!==0||n[ag]===0,"iterator body cannot be pipelined");let A=null;function f(){if(A){let p=A;A=null,p()}}let l=()=>new Promise((p,B)=>{ki(A===null),s[ti]?B(s[ti]):A=p});t.on("close",f).on("drain",f);try{for await(let p of r){if(s[ti])throw s[ti];let B=t.write(p);i.onBodySent(p),B||await l()}t.end(),i.onRequestSent(),a||(s[mm]=!0),n[Io]()}catch(p){e(p)}finally{t.off("close",f).off("drain",f)}}S7.exports=OBe});var Im=x((hke,k7)=>{"use strict";var ga=Wt(),T7=yE(),Ag=EE(),eu=$t(),{ClientStats:iIe}=Aw(),{channels:El}=sd(),sIe=A3(),oIe=NE(),{InvalidArgumentError:tr,InformationalError:aIe,ClientDestroyedError:AIe}=mr(),fIe=Cw(),{kUrl:bo,kServerName:SA,kClient:uIe,kBusy:vv,kConnect:cIe,kResuming:tu,kRunning:lg,kPending:hg,kSize:fg,kQueue:Cs,kConnected:lIe,kConnecting:yl,kNeedDrain:wA,kKeepAliveDefaultTimeout:v7,kHostHeader:hIe,kPendingIdx:Qs,kRunningIdx:Ea,kError:dIe,kPipelining:Bm,kKeepAliveTimeoutValue:gIe,kMaxHeadersSize:pIe,kKeepAliveMaxTimeout:EIe,kKeepAliveTimeoutThreshold:yIe,kHeadersTimeout:mIe,kBodyTimeout:BIe,kStrictContentLength:IIe,kConnector:ug,kMaxRequests:Rv,kCounter:bIe,kClose:CIe,kDestroy:QIe,kDispatch:wIe,kLocalAddress:cg,kMaxResponseSize:SIe,kOnError:_Ie,kHTTPContext:dr,kMaxConcurrentStreams:vIe,kHTTP2InitialWindowSize:RIe,kHTTP2ConnectionWindowSize:DIe,kResume:pa,kPingInterval:TIe}=Tn(),NIe=g7(),MIe=_7(),QA=Symbol("kClosedResolve"),FIe=Ag&&Ag.maxHeaderSize&&Number.isInteger(Ag.maxHeaderSize)&&Ag.maxHeaderSize>0?()=>Ag.maxHeaderSize:()=>{throw new tr("http module not available or http.maxHeaderSize invalid")},R7=()=>{};function N7(e){return e[Bm]??e[dr]?.defaultPipelining??1}var Dv=class extends oIe{constructor(t,{maxHeaderSize:r,headersTimeout:n,socketTimeout:i,requestTimeout:s,connectTimeout:o,bodyTimeout:a,idleTimeout:A,keepAlive:f,keepAliveTimeout:l,maxKeepAliveTimeout:p,keepAliveMaxTimeout:B,keepAliveTimeoutThreshold:S,socketPath:_,pipelining:N,tls:P,strictContentLength:U,maxCachedSessions:G,connect:Y,maxRequestsPerClient:Z,localAddress:ee,maxResponseSize:j,autoSelectFamily:se,autoSelectFamilyAttemptTimeout:ie,maxConcurrentStreams:ce,allowH2:H,useH2c:E,initialWindowSize:R,connectionWindowSize:b,pingInterval:c}={}){if(f!==void 0)throw new tr("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new tr("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(s!==void 0)throw new tr("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(A!==void 0)throw new tr("unsupported idleTimeout, use keepAliveTimeout instead");if(p!==void 0)throw new tr("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(r!=null){if(!Number.isInteger(r)||r<1)throw new tr("invalid maxHeaderSize")}else r=FIe();if(_!=null&&typeof _!="string")throw new tr("invalid socketPath");if(o!=null&&(!Number.isFinite(o)||o<0))throw new tr("invalid connectTimeout");if(l!=null&&(!Number.isFinite(l)||l<=0))throw new tr("invalid keepAliveTimeout");if(B!=null&&(!Number.isFinite(B)||B<=0))throw new tr("invalid keepAliveMaxTimeout");if(S!=null&&!Number.isFinite(S))throw new tr("invalid keepAliveTimeoutThreshold");if(n!=null&&(!Number.isInteger(n)||n<0))throw new tr("headersTimeout must be a positive integer or zero");if(a!=null&&(!Number.isInteger(a)||a<0))throw new tr("bodyTimeout must be a positive integer or zero");if(Y!=null&&typeof Y!="function"&&typeof Y!="object")throw new tr("connect must be a function or an object");if(Z!=null&&(!Number.isInteger(Z)||Z<0))throw new tr("maxRequestsPerClient must be a positive number");if(ee!=null&&(typeof ee!="string"||T7.isIP(ee)===0))throw new tr("localAddress must be valid string IP address");if(j!=null&&(!Number.isInteger(j)||j<-1))throw new tr("maxResponseSize must be a positive number");if(ie!=null&&(!Number.isInteger(ie)||ie<-1))throw new tr("autoSelectFamilyAttemptTimeout must be a positive number");if(H!=null&&typeof H!="boolean")throw new tr("allowH2 must be a valid boolean value");if(ce!=null&&(typeof ce!="number"||ce<1))throw new tr("maxConcurrentStreams must be a positive integer, greater than 0");if(E!=null&&typeof E!="boolean")throw new tr("useH2c must be a valid boolean value");if(R!=null&&(!Number.isInteger(R)||R<1))throw new tr("initialWindowSize must be a positive integer, greater than 0");if(b!=null&&(!Number.isInteger(b)||b<1))throw new tr("connectionWindowSize must be a positive integer, greater than 0");if(c!=null&&(typeof c!="number"||!Number.isInteger(c)||c<0))throw new tr("pingInterval must be a positive integer, greater or equal to 0");if(super(),typeof Y!="function")Y=fIe({...P,maxCachedSessions:G,allowH2:H,useH2c:E,socketPath:_,timeout:o,...typeof se=="boolean"?{autoSelectFamily:se,autoSelectFamilyAttemptTimeout:ie}:void 0,...Y});else if(_!=null){let g=Y;Y=(w,v)=>g({...w,socketPath:_},v)}this[bo]=eu.parseOrigin(t),this[ug]=Y,this[Bm]=N??1,this[pIe]=r,this[v7]=l??4e3,this[EIe]=B??6e5,this[yIe]=S??2e3,this[gIe]=this[v7],this[SA]=null,this[cg]=ee??null,this[tu]=0,this[wA]=0,this[hIe]=`host: ${this[bo].hostname}${this[bo].port?`:${this[bo].port}`:""}\r
`,this[BIe]=a??3e5,this[mIe]=n??3e5,this[IIe]=U??!0,this[Rv]=Z,this[QA]=null,this[SIe]=j>-1?j:-1,this[dr]=null,this[vIe]=ce??100,this[RIe]=R??262144,this[DIe]=b??524288,this[TIe]=c??6e4,this[Cs]=[],this[Ea]=0,this[Qs]=0,this[pa]=g=>Tv(this,g),this[_Ie]=g=>M7(this,g)}get pipelining(){return this[Bm]}set pipelining(t){this[Bm]=t,this[pa](!0)}get stats(){return new iIe(this)}get[hg](){return this[Cs].length-this[Qs]}get[lg](){return this[Qs]-this[Ea]}get[fg](){return this[Cs].length-this[Ea]}get[lIe](){return!!this[dr]&&!this[yl]&&!this[dr].destroyed}get[vv](){return!!(this[dr]?.busy(null)||this[fg]>=(N7(this)||1)||this[hg]>0)}[cIe](t){F7(this),this.once("connect",t)}[wIe](t,r){let n=new sIe(this[bo].origin,t,r);return this[Cs].push(n),this[tu]||(eu.bodyLength(n.body)==null&&eu.isIterable(n.body)?(this[tu]=1,queueMicrotask(()=>Tv(this))):this[pa](!0)),this[tu]&&this[wA]!==2&&this[vv]&&(this[wA]=2),this[wA]<2}[CIe](){return new Promise(t=>{this[fg]?this[QA]=t:t(null)})}[QIe](t){return new Promise(r=>{let n=this[Cs].splice(this[Qs]);for(let s=0;s<n.length;s++){let o=n[s];eu.errorRequest(this,o,t)}let i=()=>{this[QA]&&(this[QA](),this[QA]=null),r(null)};this[dr]?(this[dr].destroy(t,i),this[dr]=null):queueMicrotask(i),this[pa]()})}};function M7(e,t){if(e[lg]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){ga(e[Qs]===e[Ea]);let r=e[Cs].splice(e[Ea]);for(let n=0;n<r.length;n++){let i=r[n];eu.errorRequest(e,i,t)}ga(e[fg]===0)}}function F7(e){ga(!e[yl]),ga(!e[dr]);let{host:t,hostname:r,protocol:n,port:i}=e[bo];if(r[0]==="["){let s=r.indexOf("]");ga(s!==-1);let o=r.substring(1,s);ga(T7.isIPv6(o)),r=o}e[yl]=!0,El.beforeConnect.hasSubscribers&&El.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:n,port:i,version:e[dr]?.version,servername:e[SA],localAddress:e[cg]},connector:e[ug]});try{e[ug]({host:t,hostname:r,protocol:n,port:i,servername:e[SA],localAddress:e[cg]},(s,o)=>{if(s){_v(e,s,{host:t,hostname:r,protocol:n,port:i}),e[pa]();return}if(e.destroyed){eu.destroy(o.on("error",R7),new AIe),e[pa]();return}ga(o);try{e[dr]=o.alpnProtocol==="h2"?MIe(e,o):NIe(e,o)}catch(a){o.destroy().on("error",R7),_v(e,a,{host:t,hostname:r,protocol:n,port:i}),e[pa]();return}e[yl]=!1,o[bIe]=0,o[Rv]=e[Rv],o[uIe]=e,o[dIe]=null,El.connected.hasSubscribers&&El.connected.publish({connectParams:{host:t,hostname:r,protocol:n,port:i,version:e[dr]?.version,servername:e[SA],localAddress:e[cg]},connector:e[ug],socket:o}),e.emit("connect",e[bo],[e]),e[pa]()})}catch(s){_v(e,s,{host:t,hostname:r,protocol:n,port:i}),e[pa]()}}function _v(e,t,{host:r,hostname:n,protocol:i,port:s}){if(!e.destroyed){if(e[yl]=!1,El.connectError.hasSubscribers&&El.connectError.publish({connectParams:{host:r,hostname:n,protocol:i,port:s,version:e[dr]?.version,servername:e[SA],localAddress:e[cg]},connector:e[ug],error:t}),t.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(ga(e[lg]===0);e[hg]>0&&e[Cs][e[Qs]].servername===e[SA];){let o=e[Cs][e[Qs]++];eu.errorRequest(e,o,t)}else M7(e,t);e.emit("connectionError",e[bo],[e],t)}}function D7(e){e[wA]=0,e.emit("drain",e[bo],[e])}function Tv(e,t){e[tu]!==2&&(e[tu]=2,kIe(e,t),e[tu]=0,e[Ea]>256&&(e[Cs].splice(0,e[Ea]),e[Qs]-=e[Ea],e[Ea]=0))}function kIe(e,t){for(;;){if(e.destroyed){ga(e[hg]===0);return}if(e[QA]&&!e[fg]){e[QA](),e[QA]=null;return}if(e[dr]&&e[dr].resume(),e[vv])e[wA]=2;else if(e[wA]===2){t?(e[wA]=1,queueMicrotask(()=>D7(e))):D7(e);continue}if(e[hg]===0||e[lg]>=(N7(e)||1))return;let r=e[Cs][e[Qs]];if(r===null)return;if(e[bo].protocol==="https:"&&e[SA]!==r.servername){if(e[lg]>0)return;e[SA]=r.servername,e[dr]?.destroy(new aIe("servername changed"),()=>{e[dr]=null,Tv(e)})}if(e[yl])return;if(!e[dr]){F7(e);return}if(e[dr].destroyed||e[dr].busy(r))return;!r.aborted&&e[dr].write(r)?e[Qs]++:e[Cs].splice(e[Qs],1)}}k7.exports=Dv});var O7=x((dke,P7)=>{"use strict";var{PoolBase:xIe,kClients:bm,kNeedDrain:UIe,kAddClient:LIe,kGetDispatcher:PIe,kRemoveClient:OIe}=e3(),HIe=Im(),{InvalidArgumentError:Nv}=mr(),x7=$t(),{kUrl:U7}=Tn(),qIe=Cw(),Cm=Symbol("options"),Mv=Symbol("connections"),L7=Symbol("factory");function GIe(e,t){return new HIe(e,t)}var Fv=class extends xIe{constructor(t,{connections:r,factory:n=GIe,connect:i,connectTimeout:s,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:f,autoSelectFamilyAttemptTimeout:l,allowH2:p,clientTtl:B,...S}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new Nv("invalid connections");if(typeof n!="function")throw new Nv("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new Nv("connect must be a function or an object");typeof i!="function"&&(i=qIe({...o,maxCachedSessions:a,allowH2:p,socketPath:A,timeout:s,...typeof f=="boolean"?{autoSelectFamily:f,autoSelectFamilyAttemptTimeout:l}:void 0,...i})),super(),this[Mv]=r||null,this[U7]=x7.parseOrigin(t),this[Cm]={...x7.deepClone(S),connect:i,allowH2:p,clientTtl:B,socketPath:A},this[Cm].interceptors=S.interceptors?{...S.interceptors}:void 0,this[L7]=n,this.on("connect",(_,N)=>{if(B!=null&&B>0)for(let P of N)Object.assign(P,{ttl:Date.now()})}),this.on("connectionError",(_,N,P)=>{for(let U of N){let G=this[bm].indexOf(U);G!==-1&&this[bm].splice(G,1)}})}[PIe](){let t=this[Cm].clientTtl;for(let r of this[bm])if(t!=null&&t>0&&r.ttl&&Date.now()-r.ttl>t)this[OIe](r);else if(!r[UIe])return r;if(!this[Mv]||this[bm].length<this[Mv]){let r=this[L7](this[U7],this[Cm]);return this[LIe](r),r}}};P7.exports=Fv});var Uv=x((gke,J7)=>{"use strict";var{InvalidArgumentError:Qm,MaxOriginsReachedError:YIe}=mr(),{kClients:xi,kRunning:H7,kClose:WIe,kDestroy:VIe,kDispatch:JIe,kUrl:jIe}=Tn(),zIe=NE(),KIe=O7(),XIe=Im(),ZIe=$t(),q7=Symbol("onConnect"),G7=Symbol("onDisconnect"),Y7=Symbol("onConnectionError"),W7=Symbol("onDrain"),V7=Symbol("factory"),kv=Symbol("options"),dg=Symbol("origins");function $Ie(e,t){return t&&t.connections===1?new XIe(e,t):new KIe(e,t)}var xv=class extends zIe{constructor({factory:t=$Ie,maxOrigins:r=1/0,connect:n,...i}={}){if(typeof t!="function")throw new Qm("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Qm("connect must be a function or an object");if(typeof r!="number"||Number.isNaN(r)||r<=0)throw new Qm("maxOrigins must be a number greater than 0");super(),n&&typeof n!="function"&&(n={...n}),this[kv]={...ZIe.deepClone(i),maxOrigins:r,connect:n},this[V7]=t,this[xi]=new Map,this[dg]=new Set,this[W7]=(s,o)=>{this.emit("drain",s,[this,...o])},this[q7]=(s,o)=>{this.emit("connect",s,[this,...o])},this[G7]=(s,o,a)=>{this.emit("disconnect",s,[this,...o],a)},this[Y7]=(s,o,a)=>{this.emit("connectionError",s,[this,...o],a)}}get[H7](){let t=0;for(let{dispatcher:r}of this[xi].values())t+=r[H7];return t}[JIe](t,r){let n;if(t.origin&&(typeof t.origin=="string"||t.origin instanceof URL))n=String(t.origin);else throw new Qm("opts.origin must be a non-empty string or URL.");if(this[dg].size>=this[kv].maxOrigins&&!this[dg].has(n))throw new YIe;let i=this[xi].get(n),s=i&&i.dispatcher;if(!s){let o=a=>{let A=this[xi].get(n);A&&(a&&(A.count-=1),A.count<=0&&(this[xi].delete(n),A.dispatcher.destroyed||A.dispatcher.close()),this[dg].delete(n))};s=this[V7](t.origin,this[kv]).on("drain",this[W7]).on("connect",(a,A)=>{let f=this[xi].get(n);f&&(f.count+=1),this[q7](a,A)}).on("disconnect",(a,A,f)=>{o(!0),this[G7](a,A,f)}).on("connectionError",(a,A,f)=>{o(!1),this[Y7](a,A,f)}),this[xi].set(n,{count:0,dispatcher:s}),this[dg].add(n)}return s.dispatch(t,r)}[WIe](){let t=[];for(let{dispatcher:r}of this[xi].values())t.push(r.close());return this[xi].clear(),Promise.all(t)}[VIe](t){let r=[];for(let{dispatcher:n}of this[xi].values())r.push(n.destroy(t));return this[xi].clear(),Promise.all(r)}get stats(){let t={};for(let{dispatcher:r}of this[xi].values())r.stats&&(t[r[jIe].origin]=r.stats);return t}};J7.exports=xv});var pg=x((pke,eq)=>{"use strict";var{kConstruct:ebe}=Tn(),{kEnumerableProperty:ml}=$t(),{iteratorMixin:tbe,isValidHeaderName:gg,isValidHeaderValue:z7}=Zf(),{webidl:Bt}=Eo(),Lv=Wt(),wm=Yr();function j7(e){return e===10||e===13||e===9||e===32}function K7(e){let t=0,r=e.length;for(;r>t&&j7(e.charCodeAt(r-1));)--r;for(;r>t&&j7(e.charCodeAt(t));)++t;return t===0&&r===e.length?e:e.substring(t,r)}function X7(e,t){if(Array.isArray(t))for(let r=0;r<t.length;++r){let n=t[r];if(n.length!==2)throw Bt.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});Pv(e,n[0],n[1])}else if(typeof t=="object"&&t!==null){let r=Object.keys(t);for(let n=0;n<r.length;++n)Pv(e,r[n],t[r[n]])}else throw Bt.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function Pv(e,t,r){if(r=K7(r),gg(t)){if(!z7(r))throw Bt.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw Bt.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});if($7(e)==="immutable")throw new TypeError("immutable");return _m(e).append(t,r,!1)}function rbe(e){let t=_m(e);if(!t)return[];if(t.sortedMap)return t.sortedMap;let r=[],n=t.toSortedArray(),i=t.cookies;if(i===null||i.length===1)return t.sortedMap=n;for(let s=0;s<n.length;++s){let{0:o,1:a}=n[s];if(o==="set-cookie")for(let A=0;A<i.length;++A)r.push([o,i[A]]);else r.push([o,a])}return t.sortedMap=r}function Z7(e,t){return e[0]<t[0]?-1:1}var Sm=class e{constructor(t){y(this,"cookies",null);y(this,"sortedMap");y(this,"headersMap");t instanceof e?(this.headersMap=new Map(t.headersMap),this.sortedMap=t.sortedMap,this.cookies=t.cookies===null?null:[...t.cookies]):(this.headersMap=new Map(t),this.sortedMap=null)}contains(t,r){return this.headersMap.has(r?t:t.toLowerCase())}clear(){this.headersMap.clear(),this.sortedMap=null,this.cookies=null}append(t,r,n){this.sortedMap=null;let i=n?t:t.toLowerCase(),s=this.headersMap.get(i);if(s){let o=i==="cookie"?"; ":", ";this.headersMap.set(i,{name:s.name,value:`${s.value}${o}${r}`})}else this.headersMap.set(i,{name:t,value:r});i==="set-cookie"&&(this.cookies??(this.cookies=[])).push(r)}set(t,r,n){this.sortedMap=null;let i=n?t:t.toLowerCase();i==="set-cookie"&&(this.cookies=[r]),this.headersMap.set(i,{name:t,value:r})}delete(t,r){this.sortedMap=null,r||(t=t.toLowerCase()),t==="set-cookie"&&(this.cookies=null),this.headersMap.delete(t)}get(t,r){return this.headersMap.get(r?t:t.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:t,1:{value:r}}of this.headersMap)yield[t,r]}get entries(){let t={};if(this.headersMap.size!==0)for(let{name:r,value:n}of this.headersMap.values())t[r]=n;return t}rawValues(){return this.headersMap.values()}get entriesList(){let t=[];if(this.headersMap.size!==0)for(let{0:r,1:{name:n,value:i}}of this.headersMap)if(r==="set-cookie")for(let s of this.cookies)t.push([n,s]);else t.push([n,i]);return t}toSortedArray(){let t=this.headersMap.size,r=new Array(t);if(t<=32){if(t===0)return r;let n=this.headersMap[Symbol.iterator](),i=n.next().value;r[0]=[i[0],i[1].value],Lv(i[1].value!==null);for(let s=1,o=0,a=0,A=0,f=0,l,p;s<t;++s){for(p=n.next().value,l=r[s]=[p[0],p[1].value],Lv(l[1]!==null),A=0,a=s;A<a;)f=A+(a-A>>1),r[f][0]<=l[0]?A=f+1:a=f;if(s!==f){for(o=s;o>A;)r[o]=r[--o];r[A]=l}}if(!n.next().done)throw new TypeError("Unreachable");return r}else{let n=0;for(let{0:i,1:{value:s}}of this.headersMap)r[n++]=[i,s],Lv(s!==null);return r.sort(Z7)}}},vA,ri,_A=class _A{constructor(t=void 0){St(this,vA);St(this,ri);Bt.util.markAsUncloneable(this),t!==ebe&&(ft(this,ri,new Sm),ft(this,vA,"none"),t!==void 0&&(t=Bt.converters.HeadersInit(t,"Headers constructor","init"),X7(this,t)))}append(t,r){Bt.brandCheck(this,_A),Bt.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return t=Bt.converters.ByteString(t,n,"name"),r=Bt.converters.ByteString(r,n,"value"),Pv(this,t,r)}delete(t){if(Bt.brandCheck(this,_A),Bt.argumentLengthCheck(arguments,1,"Headers.delete"),t=Bt.converters.ByteString(t,"Headers.delete","name"),!gg(t))throw Bt.errors.invalidArgument({prefix:"Headers.delete",value:t,type:"header name"});if(te(this,vA)==="immutable")throw new TypeError("immutable");te(this,ri).contains(t,!1)&&te(this,ri).delete(t,!1)}get(t){Bt.brandCheck(this,_A),Bt.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(t=Bt.converters.ByteString(t,r,"name"),!gg(t))throw Bt.errors.invalidArgument({prefix:r,value:t,type:"header name"});return te(this,ri).get(t,!1)}has(t){Bt.brandCheck(this,_A),Bt.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(t=Bt.converters.ByteString(t,r,"name"),!gg(t))throw Bt.errors.invalidArgument({prefix:r,value:t,type:"header name"});return te(this,ri).contains(t,!1)}set(t,r){Bt.brandCheck(this,_A),Bt.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(t=Bt.converters.ByteString(t,n,"name"),r=Bt.converters.ByteString(r,n,"value"),r=K7(r),gg(t)){if(!z7(r))throw Bt.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw Bt.errors.invalidArgument({prefix:n,value:t,type:"header name"});if(te(this,vA)==="immutable")throw new TypeError("immutable");te(this,ri).set(t,r,!1)}getSetCookie(){Bt.brandCheck(this,_A);let t=te(this,ri).cookies;return t?[...t]:[]}[wm.inspect.custom](t,r){return r.depth??(r.depth=t),`Headers ${wm.formatWithOptions(r,te(this,ri).entries)}`}static getHeadersGuard(t){return te(t,vA)}static setHeadersGuard(t,r){ft(t,vA,r)}static getHeadersList(t){return te(t,ri)}static setHeadersList(t,r){ft(t,ri,r)}};vA=new WeakMap,ri=new WeakMap;var ws=_A,{getHeadersGuard:$7,setHeadersGuard:nbe,getHeadersList:_m,setHeadersList:ibe}=ws;Reflect.deleteProperty(ws,"getHeadersGuard");Reflect.deleteProperty(ws,"setHeadersGuard");Reflect.deleteProperty(ws,"getHeadersList");Reflect.deleteProperty(ws,"setHeadersList");tbe("Headers",ws,rbe,0,1);Object.defineProperties(ws.prototype,{append:ml,delete:ml,get:ml,has:ml,set:ml,getSetCookie:ml,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[wm.inspect.custom]:{enumerable:!1}});Bt.converters.HeadersInit=function(e,t,r){if(Bt.util.Type(e)===Bt.util.Types.OBJECT){let n=Reflect.get(e,Symbol.iterator);if(!wm.types.isProxy(e)&&n===ws.prototype.entries)try{return _m(e).entriesList}catch{}return typeof n=="function"?Bt.converters["sequence<sequence<ByteString>>"](e,t,r,n.bind(e)):Bt.converters["record<ByteString, ByteString>"](e,t,r)}throw Bt.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};eq.exports={fill:X7,compareHeaderName:Z7,Headers:ws,HeadersList:Sm,getHeadersGuard:$7,setHeadersGuard:nbe,setHeadersList:ibe,getHeadersList:_m}});var qv=x((yke,lq)=>{"use strict";var{Headers:oq,HeadersList:tq,fill:sbe,getHeadersGuard:obe,setHeadersGuard:aq,setHeadersList:Aq}=pg(),{extractBody:rq,cloneBody:abe,mixinBody:Abe,streamRegistry:fq,bodyUnusable:fbe}=ll(),uq=$t(),nq=Yr(),{kEnumerableProperty:ni}=uq,{isValidReasonPhrase:ube,isCancelled:cbe,isAborted:lbe,isErrorLike:hbe,environmentSettingsObject:dbe}=Zf(),{redirectStatusSet:gbe,nullBodyStatus:pbe}=od(),{webidl:yt}=Eo(),{URLSerializer:iq}=bf(),{kConstruct:Rm}=Tn(),Ov=Wt(),{isomorphicEncode:Ebe,serializeJavascriptValueToJSONString:ybe}=If(),mbe=new TextEncoder("utf-8"),Co,rr,Ui=class Ui{constructor(t=null,r=void 0){St(this,Co);St(this,rr);if(yt.util.markAsUncloneable(this),t===Rm)return;t!==null&&(t=yt.converters.BodyInit(t,"Response","body")),r=yt.converters.ResponseInit(r),ft(this,rr,Bl({})),ft(this,Co,new oq(Rm)),aq(te(this,Co),"response"),Aq(te(this,Co),te(this,rr).headersList);let n=null;if(t!=null){let[i,s]=rq(t);n={body:i,type:s}}sq(this,r,n)}static error(){return Eg(Dm(),"immutable")}static json(t,r=void 0){yt.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=yt.converters.ResponseInit(r));let n=mbe.encode(ybe(t)),i=rq(n),s=Eg(Bl({}),"response");return sq(s,r,{body:i[0],type:"application/json"}),s}static redirect(t,r=302){yt.argumentLengthCheck(arguments,1,"Response.redirect"),t=yt.converters.USVString(t),r=yt.converters["unsigned short"](r);let n;try{n=new URL(t,dbe.settingsObject.baseUrl)}catch(o){throw new TypeError(`Failed to parse URL from ${t}`,{cause:o})}if(!gbe.has(r))throw new RangeError(`Invalid status code ${r}`);let i=Eg(Bl({}),"immutable");te(i,rr).status=r;let s=Ebe(iq(n));return te(i,rr).headersList.append("location",s,!0),i}get type(){return yt.brandCheck(this,Ui),te(this,rr).type}get url(){yt.brandCheck(this,Ui);let t=te(this,rr).urlList,r=t[t.length-1]??null;return r===null?"":iq(r,!0)}get redirected(){return yt.brandCheck(this,Ui),te(this,rr).urlList.length>1}get status(){return yt.brandCheck(this,Ui),te(this,rr).status}get ok(){return yt.brandCheck(this,Ui),te(this,rr).status>=200&&te(this,rr).status<=299}get statusText(){return yt.brandCheck(this,Ui),te(this,rr).statusText}get headers(){return yt.brandCheck(this,Ui),te(this,Co)}get body(){return yt.brandCheck(this,Ui),te(this,rr).body?te(this,rr).body.stream:null}get bodyUsed(){return yt.brandCheck(this,Ui),!!te(this,rr).body&&uq.isDisturbed(te(this,rr).body.stream)}clone(){if(yt.brandCheck(this,Ui),fbe(te(this,rr)))throw yt.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let t=Hv(te(this,rr));return te(this,rr).urlList.length!==0&&te(this,rr).body?.stream&&fq.register(this,new WeakRef(te(this,rr).body.stream)),Eg(t,obe(te(this,Co)))}[nq.inspect.custom](t,r){r.depth===null&&(r.depth=2),r.colors??(r.colors=!0);let n={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${nq.formatWithOptions(r,n)}`}static getResponseHeaders(t){return te(t,Co)}static setResponseHeaders(t,r){ft(t,Co,r)}static getResponseState(t){return te(t,rr)}static setResponseState(t,r){ft(t,rr,r)}};Co=new WeakMap,rr=new WeakMap;var ii=Ui,{getResponseHeaders:Bbe,setResponseHeaders:Ibe,getResponseState:ru,setResponseState:bbe}=ii;Reflect.deleteProperty(ii,"getResponseHeaders");Reflect.deleteProperty(ii,"setResponseHeaders");Reflect.deleteProperty(ii,"getResponseState");Reflect.deleteProperty(ii,"setResponseState");Abe(ii,ru);Object.defineProperties(ii.prototype,{type:ni,url:ni,status:ni,ok:ni,redirected:ni,statusText:ni,headers:ni,clone:ni,body:ni,bodyUsed:ni,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(ii,{json:ni,redirect:ni,error:ni});function Hv(e){if(e.internalResponse)return cq(Hv(e.internalResponse),e.type);let t=Bl({...e,body:null});return e.body!=null&&(t.body=abe(e.body)),t}function Bl(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new tq(e?.headersList):new tq,urlList:e?.urlList?[...e.urlList]:[]}}function Dm(e){let t=hbe(e);return Bl({type:"error",status:0,error:t?e:new Error(e&&String(e)),aborted:e&&e.name==="AbortError"})}function Cbe(e){return e.type==="error"&&e.status===0}function vm(e,t){return t={internalResponse:e,...t},new Proxy(e,{get(r,n){return n in t?t[n]:r[n]},set(r,n,i){return Ov(!(n in t)),r[n]=i,!0}})}function cq(e,t){if(t==="basic")return vm(e,{type:"basic",headersList:e.headersList});if(t==="cors")return vm(e,{type:"cors",headersList:e.headersList});if(t==="opaque")return vm(e,{type:"opaque",urlList:[],status:0,statusText:"",body:null});if(t==="opaqueredirect")return vm(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});Ov(!1)}function Qbe(e,t=null){return Ov(cbe(e)),lbe(e)?Dm(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):Dm(Object.assign(new DOMException("Request was cancelled."),{cause:t}))}function sq(e,t,r){if(t.status!==null&&(t.status<200||t.status>599))throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&t.statusText!=null&&!ube(String(t.statusText)))throw new TypeError("Invalid statusText");if("status"in t&&t.status!=null&&(ru(e).status=t.status),"statusText"in t&&t.statusText!=null&&(ru(e).statusText=t.statusText),"headers"in t&&t.headers!=null&&sbe(Bbe(e),t.headers),r){if(pbe.includes(e.status))throw yt.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`});ru(e).body=r.body,r.type!=null&&!ru(e).headersList.contains("content-type",!0)&&ru(e).headersList.append("content-type",r.type,!0)}}function Eg(e,t){let r=new ii(Rm);bbe(r,e);let n=new oq(Rm);return Ibe(r,n),Aq(n,e.headersList),aq(n,t),e.urlList.length!==0&&e.body?.stream&&fq.register(r,new WeakRef(e.body.stream)),r}yt.converters.XMLHttpRequestBodyInit=function(e,t,r){return typeof e=="string"?yt.converters.USVString(e,t,r):yt.is.Blob(e)||yt.is.BufferSource(e)||yt.is.FormData(e)||yt.is.URLSearchParams(e)?e:yt.converters.DOMString(e,t,r)};yt.converters.BodyInit=function(e,t,r){return yt.is.ReadableStream(e)||e?.[Symbol.asyncIterator]?e:yt.converters.XMLHttpRequestBodyInit(e,t,r)};yt.converters.ResponseInit=yt.dictionaryConverter([{key:"status",converter:yt.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:yt.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:yt.converters.HeadersInit}]);yt.is.Response=yt.util.MakeTypeAssertion(ii);lq.exports={isNetworkError:Cbe,makeNetworkError:Dm,makeResponse:Bl,makeAppropriateNetworkError:Qbe,filterResponse:cq,Response:ii,cloneResponse:Hv,fromInnerResponse:Eg,getResponseState:ru}});var Wv=x((Bke,Sq)=>{"use strict";var{extractBody:wbe,mixinBody:Sbe,cloneBody:_be,bodyUnusable:hq}=ll(),{Headers:mq,fill:vbe,HeadersList:Mm,setHeadersGuard:Gv,getHeadersGuard:Rbe,setHeadersList:Bq,getHeadersList:dq}=pg(),Nm=$t(),gq=Yr(),{isValidHTTPToken:Dbe,sameOrigin:pq,environmentSettingsObject:Tm}=Zf(),{forbiddenMethodsSet:Tbe,corsSafeListedMethodsSet:Nbe,referrerPolicy:Mbe,requestRedirect:Fbe,requestMode:kbe,requestCredentials:xbe,requestCache:Ube,requestDuplex:Lbe}=od(),{kEnumerableProperty:br,normalizedMethodRecordsBase:Pbe,normalizedMethodRecords:Obe}=Nm,{webidl:Fe}=Eo(),{URLSerializer:Hbe}=bf(),{kConstruct:Fm}=Tn(),qbe=Wt(),{getMaxListeners:Iq,setMaxListeners:Gbe,defaultMaxListeners:Ybe}=es(),Wbe=Symbol("abortController"),bq=new FinalizationRegistry(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),km=new WeakMap,Yv;try{Yv=Iq(new AbortController().signal)>0}catch{Yv=!1}function Eq(e){return t;function t(){let r=e.deref();if(r!==void 0){bq.unregister(t),this.removeEventListener("abort",t),r.abort(this.reason);let n=km.get(r.signal);if(n!==void 0){if(n.size!==0){for(let i of n){let s=i.deref();s!==void 0&&s.abort(this.reason)}n.clear()}km.delete(r.signal)}}}}var yq=!1,nu,ya,Pn,Rt,gr=class gr{constructor(t,r=void 0){St(this,nu);St(this,ya);St(this,Pn);St(this,Rt);if(Fe.util.markAsUncloneable(this),t===Fm)return;Fe.argumentLengthCheck(arguments,1,"Request constructor"),t=Fe.converters.RequestInfo(t),r=Fe.converters.RequestInit(r);let i=null,s=null,o=Tm.settingsObject.baseUrl,a=null;if(typeof t=="string"){ft(this,ya,r.dispatcher);let U;try{U=new URL(t,o)}catch(G){throw new TypeError("Failed to parse URL from "+t,{cause:G})}if(U.username||U.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+t);i=xm({urlList:[U]}),s="cors"}else qbe(Fe.is.Request(t)),i=te(t,Rt),a=te(t,nu),ft(this,ya,r.dispatcher||te(t,ya));let A=Tm.settingsObject.origin,f="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&pq(i.window,A)&&(f=i.window),r.window!=null)throw new TypeError(`'window' option '${f}' must be null`);"window"in r&&(f="no-window"),i=xm({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:Tm.settingsObject,window:f,priority:i.priority,origin:i.origin,referrer:i.referrer,referrerPolicy:i.referrerPolicy,mode:i.mode,credentials:i.credentials,cache:i.cache,redirect:i.redirect,integrity:i.integrity,keepalive:i.keepalive,reloadNavigation:i.reloadNavigation,historyNavigation:i.historyNavigation,urlList:[...i.urlList]});let l=Object.keys(r).length!==0;if(l&&(i.mode==="navigate"&&(i.mode="same-origin"),i.reloadNavigation=!1,i.historyNavigation=!1,i.origin="client",i.referrer="client",i.referrerPolicy="",i.url=i.urlList[i.urlList.length-1],i.urlList=[i.url]),r.referrer!==void 0){let U=r.referrer;if(U==="")i.referrer="no-referrer";else{let G;try{G=new URL(U,o)}catch(Y){throw new TypeError(`Referrer "${U}" is not a valid URL.`,{cause:Y})}G.protocol==="about:"&&G.hostname==="client"||A&&!pq(G,Tm.settingsObject.baseUrl)?i.referrer="client":i.referrer=G}}r.referrerPolicy!==void 0&&(i.referrerPolicy=r.referrerPolicy);let p;if(r.mode!==void 0?p=r.mode:p=s,p==="navigate")throw Fe.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(p!=null&&(i.mode=p),r.credentials!==void 0&&(i.credentials=r.credentials),r.cache!==void 0&&(i.cache=r.cache),i.cache==="only-if-cached"&&i.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(i.redirect=r.redirect),r.integrity!=null&&(i.integrity=String(r.integrity)),r.keepalive!==void 0&&(i.keepalive=!!r.keepalive),r.method!==void 0){let U=r.method,G=Obe[U];if(G!==void 0)i.method=G;else{if(!Dbe(U))throw new TypeError(`'${U}' is not a valid HTTP method.`);let Y=U.toUpperCase();if(Tbe.has(Y))throw new TypeError(`'${U}' HTTP method is unsupported.`);U=Pbe[Y]??U,i.method=U}!yq&&i.method==="patch"&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),yq=!0)}r.signal!==void 0&&(a=r.signal),ft(this,Rt,i);let B=new AbortController;if(ft(this,nu,B.signal),a!=null)if(a.aborted)B.abort(a.reason);else{this[Wbe]=B;let U=new WeakRef(B),G=Eq(U);Yv&&Iq(a)===Ybe&&Gbe(1500,a),Nm.addAbortListener(a,G),bq.register(B,{signal:a,abort:G},G)}if(ft(this,Pn,new mq(Fm)),Bq(te(this,Pn),i.headersList),Gv(te(this,Pn),"request"),p==="no-cors"){if(!Nbe.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);Gv(te(this,Pn),"request-no-cors")}if(l){let U=dq(te(this,Pn)),G=r.headers!==void 0?r.headers:new Mm(U);if(U.clear(),G instanceof Mm){for(let{name:Y,value:Z}of G.rawValues())U.append(Y,Z,!1);U.cookies=G.cookies}else vbe(te(this,Pn),G)}let S=Fe.is.Request(t)?te(t,Rt).body:null;if((r.body!=null||S!=null)&&(i.method==="GET"||i.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let _=null;if(r.body!=null){let[U,G]=wbe(r.body,i.keepalive);_=U,G&&!dq(te(this,Pn)).contains("content-type",!0)&&te(this,Pn).append("content-type",G,!0)}let N=_??S;if(N!=null&&N.source==null){if(_!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(i.mode!=="same-origin"&&i.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');i.useCORSPreflightFlag=!0}let P=N;if(_==null&&S!=null){if(hq(te(t,Rt)))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let U=new TransformStream;S.stream.pipeThrough(U),P={source:S.source,length:S.length,stream:U.readable}}te(this,Rt).body=P}get method(){return Fe.brandCheck(this,gr),te(this,Rt).method}get url(){return Fe.brandCheck(this,gr),Hbe(te(this,Rt).url)}get headers(){return Fe.brandCheck(this,gr),te(this,Pn)}get destination(){return Fe.brandCheck(this,gr),te(this,Rt).destination}get referrer(){return Fe.brandCheck(this,gr),te(this,Rt).referrer==="no-referrer"?"":te(this,Rt).referrer==="client"?"about:client":te(this,Rt).referrer.toString()}get referrerPolicy(){return Fe.brandCheck(this,gr),te(this,Rt).referrerPolicy}get mode(){return Fe.brandCheck(this,gr),te(this,Rt).mode}get credentials(){return Fe.brandCheck(this,gr),te(this,Rt).credentials}get cache(){return Fe.brandCheck(this,gr),te(this,Rt).cache}get redirect(){return Fe.brandCheck(this,gr),te(this,Rt).redirect}get integrity(){return Fe.brandCheck(this,gr),te(this,Rt).integrity}get keepalive(){return Fe.brandCheck(this,gr),te(this,Rt).keepalive}get isReloadNavigation(){return Fe.brandCheck(this,gr),te(this,Rt).reloadNavigation}get isHistoryNavigation(){return Fe.brandCheck(this,gr),te(this,Rt).historyNavigation}get signal(){return Fe.brandCheck(this,gr),te(this,nu)}get body(){return Fe.brandCheck(this,gr),te(this,Rt).body?te(this,Rt).body.stream:null}get bodyUsed(){return Fe.brandCheck(this,gr),!!te(this,Rt).body&&Nm.isDisturbed(te(this,Rt).body.stream)}get duplex(){return Fe.brandCheck(this,gr),"half"}clone(){if(Fe.brandCheck(this,gr),hq(te(this,Rt)))throw new TypeError("unusable");let t=Qq(te(this,Rt)),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=km.get(this.signal);n===void 0&&(n=new Set,km.set(this.signal,n));let i=new WeakRef(r);n.add(i),Nm.addAbortListener(r.signal,Eq(i))}return wq(t,te(this,ya),r.signal,Rbe(te(this,Pn)))}[gq.inspect.custom](t,r){r.depth===null&&(r.depth=2),r.colors??(r.colors=!0);let n={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${gq.formatWithOptions(r,n)}`}static setRequestSignal(t,r){return ft(t,nu,r),t}static getRequestDispatcher(t){return te(t,ya)}static setRequestDispatcher(t,r){ft(t,ya,r)}static setRequestHeaders(t,r){ft(t,Pn,r)}static getRequestState(t){return te(t,Rt)}static setRequestState(t,r){ft(t,Rt,r)}};nu=new WeakMap,ya=new WeakMap,Pn=new WeakMap,Rt=new WeakMap;var On=gr,{setRequestSignal:Vbe,getRequestDispatcher:Jbe,setRequestDispatcher:jbe,setRequestHeaders:zbe,getRequestState:Cq,setRequestState:Kbe}=On;Reflect.deleteProperty(On,"setRequestSignal");Reflect.deleteProperty(On,"getRequestDispatcher");Reflect.deleteProperty(On,"setRequestDispatcher");Reflect.deleteProperty(On,"setRequestHeaders");Reflect.deleteProperty(On,"getRequestState");Reflect.deleteProperty(On,"setRequestState");Sbe(On,Cq);function xm(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??!1,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,useURLCredentials:e.useURLCredentials??void 0,traversableForUserPrompts:e.traversableForUserPrompts??"client",urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new Mm(e.headersList):new Mm}}function Qq(e){let t=xm({...e,body:null});return e.body!=null&&(t.body=_be(e.body)),t}function wq(e,t,r,n){let i=new On(Fm);Kbe(i,e),jbe(i,t),Vbe(i,r);let s=new mq(Fm);return zbe(i,s),Bq(s,e.headersList),Gv(s,n),i}Object.defineProperties(On.prototype,{method:br,url:br,headers:br,redirect:br,clone:br,signal:br,duplex:br,destination:br,body:br,bodyUsed:br,isHistoryNavigation:br,isReloadNavigation:br,keepalive:br,integrity:br,cache:br,credentials:br,attribute:br,referrerPolicy:br,referrer:br,mode:br,[Symbol.toStringTag]:{value:"Request",configurable:!0}});Fe.is.Request=Fe.util.MakeTypeAssertion(On);Fe.converters.RequestInfo=function(e){return typeof e=="string"?Fe.converters.USVString(e):Fe.is.Request(e)?e:Fe.converters.USVString(e)};Fe.converters.RequestInit=Fe.dictionaryConverter([{key:"method",converter:Fe.converters.ByteString},{key:"headers",converter:Fe.converters.HeadersInit},{key:"body",converter:Fe.nullableConverter(Fe.converters.BodyInit)},{key:"referrer",converter:Fe.converters.USVString},{key:"referrerPolicy",converter:Fe.converters.DOMString,allowedValues:Mbe},{key:"mode",converter:Fe.converters.DOMString,allowedValues:kbe},{key:"credentials",converter:Fe.converters.DOMString,allowedValues:xbe},{key:"cache",converter:Fe.converters.DOMString,allowedValues:Ube},{key:"redirect",converter:Fe.converters.DOMString,allowedValues:Fbe},{key:"integrity",converter:Fe.converters.DOMString},{key:"keepalive",converter:Fe.converters.boolean},{key:"signal",converter:Fe.nullableConverter(e=>Fe.converters.AbortSignal(e,"RequestInit","signal"))},{key:"window",converter:Fe.converters.any},{key:"duplex",converter:Fe.converters.DOMString,allowedValues:Lbe},{key:"dispatcher",converter:Fe.converters.any},{key:"priority",converter:Fe.converters.DOMString,allowedValues:["high","low","auto"],defaultValue:()=>"auto"}]);Sq.exports={Request:On,makeRequest:xm,fromInnerRequest:wq,cloneRequest:Qq,getRequestDispatcher:Jbe,getRequestState:Cq}});var Vv=x((bke,Dq)=>{"use strict";var _q=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Xbe}=mr(),Zbe=Uv();Rq()===void 0&&vq(new Zbe);function vq(e){if(!e||typeof e.dispatch!="function")throw new Xbe("Argument agent must implement Agent");Object.defineProperty(globalThis,_q,{value:e,writable:!0,enumerable:!1,configurable:!1})}function Rq(){return globalThis[_q]}var $be=["fetch","Headers","Response","Request","FormData","WebSocket","CloseEvent","ErrorEvent","MessageEvent","EventSource"];Dq.exports={setGlobalDispatcher:vq,getGlobalDispatcher:Rq,installedExports:$be}});var Lq=x((Cke,Uq)=>{"use strict";var eCe=Wt(),{runtimeFeatures:Nq}=ov(),iu=new Map([["sha256",0],["sha384",1],["sha512",2]]),Jv;if(Nq.has("crypto")){Jv=Ud();let e=Jv.getHashes();e.length===0&&iu.clear();for(let t of iu.keys())e.includes(t)===!1&&iu.delete(t)}else iu.clear();var Tq=Map.prototype.get.bind(iu),jv=Map.prototype.has.bind(iu),tCe=Nq.has("crypto")===!1||iu.size===0?()=>!0:(e,t)=>{let r=Fq(t);if(r.length===0)return!0;let n=Mq(r);for(let i of n){let s=i.alg,o=i.val,a=kq(s,e);if(xq(a,o))return!0}return!1};function Mq(e){let t=[],r=null;for(let n of e){if(eCe(jv(n.alg),"Invalid SRI hash algorithm token"),t.length===0){t.push(n),r=n;continue}let i=r.alg,s=Tq(i),o=n.alg,a=Tq(o);a<s||(a>s?(r=n,t[0]=n,t.length=1):t.push(n))}return t}function Fq(e){let t=[];for(let r of e.split(" ")){let i=r.split("?",1)[0],s="",o=[i.slice(0,6),i.slice(7)],a=o[0];if(!jv(a))continue;o[1]&&(s=o[1]);let A={alg:a,val:s};t.push(A)}return t}var kq=(e,t)=>Jv.hash(e,t,"base64");function xq(e,t){let r=e.length;r!==0&&e[r-1]==="="&&(r-=1),r!==0&&e[r-1]==="="&&(r-=1);let n=t.length;if(n!==0&&t[n-1]==="="&&(n-=1),n!==0&&t[n-1]==="="&&(n-=1),r!==n)return!1;for(let i=0;i<r;++i)if(!(e[i]===t[i]||e[i]==="+"&&t[i]==="-"||e[i]==="/"&&t[i]==="_"))return!1;return!0}Uq.exports={applyAlgorithmToBytes:kq,bytesMatch:tCe,caseSensitiveMatch:xq,isValidSRIHashAlgorithm:jv,getStrongestMetadata:Mq,parseMetadata:Fq}});var $q=x((Qke,Zq)=>{"use strict";var{makeNetworkError:Mt,makeAppropriateNetworkError:yg,filterResponse:zv,makeResponse:Um,fromInnerResponse:rCe,getResponseState:nCe}=qv(),{HeadersList:Kv}=pg(),{Request:iCe,cloneRequest:sCe,getRequestDispatcher:oCe,getRequestState:aCe}=Wv(),Ss=PE(),{makePolicyContainer:ACe,clonePolicyContainer:fCe,requestBadPort:uCe,TAOCheck:cCe,appendRequestOriginHeader:lCe,responseLocationURL:hCe,requestCurrentURL:si,setRequestReferrerPolicyOnRedirect:dCe,tryUpgradeRequestToAPotentiallyTrustworthyURL:gCe,createOpaqueTimingInfo:r1,appendFetchMetadata:pCe,corsCheck:ECe,crossOriginResourcePolicyCheck:yCe,determineRequestsReferrer:mCe,coarsenedSharedCurrentTime:mg,sameOrigin:e1,isCancelled:RA,isAborted:Pq,isErrorLike:BCe,fullyReadBody:ICe,readableStreamClose:bCe,urlIsLocal:CCe,urlIsHttpHttpsScheme:Hm,urlHasHttpsScheme:QCe,clampAndCoarsenConnectionTimingInfo:wCe,simpleRangeHeaderValue:SCe,buildContentRange:_Ce,createInflate:vCe,extractMimeType:RCe,hasAuthenticationEntry:DCe,includesCredentials:Oq,isTraversableNavigable:TCe}=Zf(),su=Wt(),{safelyExtractBody:qm,extractBody:Hq}=ll(),{redirectStatusSet:Wq,nullBodyStatus:Vq,safeMethodsSet:NCe,requestBodyHeader:MCe,subresourceSet:FCe}=od(),kCe=es(),{Readable:xCe,pipeline:UCe,finished:LCe,isErrored:PCe,isReadable:Lm}=(gi(),$i(Ht)),{addAbortListener:OCe,bufferToLowerCasedHeaderName:qq}=$t(),{dataURLProcessor:HCe,serializeAMimeType:qCe,minimizeSupportedMimeType:GCe}=bf(),{getGlobalDispatcher:YCe}=Vv(),{webidl:n1}=Eo(),{STATUS_CODES:Gq}=EE(),{bytesMatch:WCe}=Lq(),{createDeferredPromise:VCe}=iv(),{isomorphicEncode:Pm}=If(),{runtimeFeatures:JCe}=O_(),jCe=JCe.has("zstd"),zCe=["GET","HEAD"],KCe=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",Xv,Om=class extends kCe{constructor(t){super(),this.dispatcher=t,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(t){this.state==="ongoing"&&(this.state="terminated",this.connection?.destroy(t),this.emit("terminated",t))}abort(t){this.state==="ongoing"&&(this.state="aborted",t||(t=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=t,this.connection?.destroy(t),this.emit("terminated",t))}};function XCe(e){Jq(e,"fetch")}function ZCe(e,t=void 0){n1.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=VCe(),n;try{n=new iCe(e,t)}catch(l){return r.reject(l),r.promise}let i=aCe(n);if(n.signal.aborted)return Zv(r,i,null,n.signal.reason,null),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let o=null,a=!1,A=null;return OCe(n.signal,()=>{a=!0,su(A!=null),A.abort(n.signal.reason);let l=o?.deref();Zv(r,i,l,n.signal.reason,A.controller)}),A=zq({request:i,processResponseEndOfBody:XCe,processResponse:l=>{if(!a){if(l.aborted){Zv(r,i,o,A.serializedAbortReason,A.controller);return}if(l.type==="error"){r.reject(new TypeError("fetch failed",{cause:l.error}));return}o=new WeakRef(rCe(l,"immutable")),r.resolve(o.deref()),r=null}},dispatcher:oCe(n),requestObject:n}),r.promise}function Jq(e,t="other"){if(e.type==="error"&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],n=e.timingInfo,i=e.cacheState;Hm(r)&&n!==null&&(e.timingAllowPassed||(n=r1({startTime:n.startTime}),i=""),n.endTime=mg(),e.timingInfo=n,jq(n,r.href,t,globalThis,i,"",e.status))}var jq=performance.markResourceTiming;function Zv(e,t,r,n,i){if(e&&e.reject(n),t.body?.stream!=null&&Lm(t.body.stream)&&t.body.stream.cancel(n).catch(o=>{if(o.code!=="ERR_INVALID_STATE")throw o}),r==null)return;let s=nCe(r);s.body?.stream!=null&&Lm(s.body.stream)&&i.error(n)}function zq({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:o=!1,dispatcher:a=YCe(),requestObject:A=null}){su(a);let f=null,l=!1;e.client!=null&&(f=e.client.globalObject,l=e.client.crossOriginIsolatedCapability);let p=mg(l),B=r1({startTime:p}),S={controller:new Om(a),request:e,timingInfo:B,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:f,crossOriginIsolatedCapability:l,requestObject:A};return su(!e.body||e.body.stream),e.window==="client"&&(e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"),e.origin==="client"&&(e.origin=e.client.origin),e.policyContainer==="client"&&(e.client!=null?e.policyContainer=fCe(e.client.policyContainer):e.policyContainer=ACe()),e.headersList.contains("accept",!0)||e.headersList.append("accept","*/*",!0),e.headersList.contains("accept-language",!0)||e.headersList.append("accept-language","*",!0),e.priority,FCe.has(e.destination),Kq(S,!1),S.controller}async function Kq(e,t){try{let r=e.request,n=null;if(r.localURLsOnly&&!CCe(si(r))&&(n=Mt("local URLs only")),gCe(r),uCe(r)==="blocked"&&(n=Mt("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=mCe(r)),n===null){let s=si(r);e1(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",n=await Yq(e)):r.mode==="same-origin"?n=Mt('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?n=Mt('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",n=await Yq(e)):Hm(si(r))?(r.responseTainting="cors",n=await Xq(e)):n=Mt("URL scheme must be a HTTP(S) scheme")}if(t)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=zv(n,"basic"):r.responseTainting==="cors"?n=zv(n,"cors"):r.responseTainting==="opaque"?n=zv(n,"opaque"):su(!1));let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0&&i.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range",!0)&&(n=i=Mt()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||Vq.includes(i.status))&&(i.body=null,e.controller.dump=!0),r.integrity){let s=a=>$v(e,Mt(a));if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let o=a=>{if(!WCe(a,r.integrity)){s("integrity mismatch");return}n.body=qm(a)[0],$v(e,n)};ICe(n.body,o,s)}else $v(e,n)}catch(r){e.controller.terminate(r)}}function Yq(e){if(RA(e)&&e.request.redirectCount===0)return Promise.resolve(yg(e));let{request:t}=e,{protocol:r}=si(t);switch(r){case"about:":return Promise.resolve(Mt("about scheme is not supported"));case"blob:":{Xv||(Xv=Gr().resolveObjectURL);let n=si(t);if(n.search.length!==0)return Promise.resolve(Mt("NetworkError when attempting to fetch resource."));let i=Xv(n.toString());if(t.method!=="GET"||!n1.is.Blob(i))return Promise.resolve(Mt("invalid method"));let s=Um(),o=i.size,a=Pm(`${o}`),A=i.type;if(t.headersList.contains("range",!0)){s.rangeRequested=!0;let f=t.headersList.get("range",!0),l=SCe(f,!0);if(l==="failure")return Promise.resolve(Mt("failed to fetch the data URL"));let{rangeStartValue:p,rangeEndValue:B}=l;if(p===null)p=o-B,B=p+B-1;else{if(p>=o)return Promise.resolve(Mt("Range start is greater than the blob's size."));(B===null||B>=o)&&(B=o-1)}let S=i.slice(p,B+1,A),_=Hq(S);s.body=_[0];let N=Pm(`${S.size}`),P=_Ce(p,B,o);s.status=206,s.statusText="Partial Content",s.headersList.set("content-length",N,!0),s.headersList.set("content-type",A,!0),s.headersList.set("content-range",P,!0)}else{let f=Hq(i);s.statusText="OK",s.body=f[0],s.headersList.set("content-length",a,!0),s.headersList.set("content-type",A,!0)}return Promise.resolve(s)}case"data:":{let n=si(t),i=HCe(n);if(i==="failure")return Promise.resolve(Mt("failed to fetch the data URL"));let s=qCe(i.mimeType);return Promise.resolve(Um({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:qm(i.body)[0]}))}case"file:":return Promise.resolve(Mt("not implemented... yet..."));case"http:":case"https:":return Xq(e).catch(n=>Mt(n));default:return Promise.resolve(Mt("unknown scheme"))}}function $Ce(e,t){e.request.done=!0,e.processResponseDone!=null&&queueMicrotask(()=>e.processResponseDone(t))}function $v(e,t){let r=e.timingInfo,n=()=>{let s=Date.now();e.request.destination==="document"&&(e.controller.fullTimingInfo=r),e.controller.reportTimingSteps=()=>{if(!Hm(e.request.url))return;r.endTime=s;let a=t.cacheState,A=t.bodyInfo;t.timingAllowPassed||(r=r1(r),a="");let f=0;if(e.request.mode!=="navigator"||!t.hasCrossOriginRedirects){f=t.status;let l=RCe(t.headersList);l!=="failure"&&(A.contentType=GCe(l))}e.request.initiatorType!=null&&jq(r,e.request.url.href,e.request.initiatorType,globalThis,a,A,f)};let o=()=>{e.request.done=!0,e.processResponseEndOfBody!=null&&queueMicrotask(()=>e.processResponseEndOfBody(t)),e.request.initiatorType!=null&&e.controller.reportTimingSteps()};queueMicrotask(()=>o())};e.processResponse!=null&&queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let i=t.type==="error"?t:t.internalResponse??t;i.body==null?n():LCe(i.body.stream,()=>{n()})}async function Xq(e){let t=e.request,r=null,n=null,i=e.timingInfo;if(t.serviceWorkers,r===null){if(t.redirect==="follow"&&(t.serviceWorkers="none"),n=r=await t1(e),t.responseTainting==="cors"&&ECe(t,r)==="failure")return Mt("cors failure");cCe(t,r)==="failure"&&(t.timingAllowFailed=!0)}return(t.responseTainting==="opaque"||r.type==="opaque")&&yCe(t.origin,t.client,t.destination,n)==="blocked"?Mt("blocked"):(Wq.has(n.status)&&(t.redirect!=="manual"&&e.controller.connection.destroy(void 0,!1),t.redirect==="error"?r=Mt("unexpected redirect"):t.redirect==="manual"?r=n:t.redirect==="follow"?r=await eQe(e,r):su(!1)),r.timingInfo=i,r)}function eQe(e,t){let r=e.request,n=t.internalResponse?t.internalResponse:t,i;try{if(i=hCe(n,si(r).hash),i==null)return t}catch(o){return Promise.resolve(Mt(o))}if(!Hm(i))return Promise.resolve(Mt("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(Mt("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!e1(r,i))return Promise.resolve(Mt('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(Mt('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(Mt());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!zCe.includes(r.method)){r.method="GET",r.body=null;for(let o of MCe)r.headersList.delete(o)}e1(si(r),i)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(su(r.body.source!=null),r.body=qm(r.body.source)[0]);let s=e.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=mg(e.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),dCe(r,n),Kq(e,!0)}async function t1(e,t=!1,r=!1){let n=e.request,i=null,s=null,o=null,a=null,A=!1;n.window==="no-window"&&n.redirect==="error"?(i=e,s=n):(s=sCe(n),i={...e},i.request=s);let f=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",l=s.body?s.body.length:null,p=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(p="0"),l!=null&&(p=Pm(`${l}`)),p!=null&&s.headersList.append("content-length",p,!0),l!=null&&s.keepalive,n1.is.URL(s.referrer)&&s.headersList.append("referer",Pm(s.referrer.href),!0),lCe(s),pCe(s),s.headersList.contains("user-agent",!0)||s.headersList.append("user-agent",KCe,!0),s.cache==="default"&&(s.headersList.contains("if-modified-since",!0)||s.headersList.contains("if-none-match",!0)||s.headersList.contains("if-unmodified-since",!0)||s.headersList.contains("if-match",!0)||s.headersList.contains("if-range",!0))&&(s.cache="no-store"),s.cache==="no-cache"&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains("cache-control",!0)&&s.headersList.append("cache-control","max-age=0",!0),(s.cache==="no-store"||s.cache==="reload")&&(s.headersList.contains("pragma",!0)||s.headersList.append("pragma","no-cache",!0),s.headersList.contains("cache-control",!0)||s.headersList.append("cache-control","no-cache",!0)),s.headersList.contains("range",!0)&&s.headersList.append("accept-encoding","identity",!0),s.headersList.contains("accept-encoding",!0)||(QCe(si(s))?s.headersList.append("accept-encoding","br, gzip, deflate",!0):s.headersList.append("accept-encoding","gzip, deflate",!0)),s.headersList.delete("host",!0),f&&!s.headersList.contains("authorization",!0)){let B=null;if(!(DCe(s)&&(s.useURLCredentials===void 0||!Oq(si(s))))){if(Oq(si(s))&&t){let{username:S,password:_}=si(s);B=`Basic ${Buffer.from(`${S}:${_}`).toString("base64")}`}}B!==null&&s.headersList.append("Authorization",B,!1)}if(a==null&&(s.cache="no-store"),s.cache!=="no-store"&&s.cache,o==null){if(s.cache==="only-if-cached")return Mt("only if cached");let B=await tQe(i,f,r);!NCe.has(s.method)&&B.status>=200&&B.status<=399,A&&B.status,o==null&&(o=B)}if(o.urlList=[...s.urlList],s.headersList.contains("range",!0)&&(o.rangeRequested=!0),o.requestIncludesCredentials=f,o.status===401&&s.responseTainting!=="cors"&&f&&TCe(n.traversableForUserPrompts)){if(n.body!=null){if(n.body.source==null)return Mt("expected non-null body source");n.body=qm(n.body.source)[0]}if(n.useURLCredentials===void 0||t)return RA(e)?yg(e):o;e.controller.connection.destroy(),o=await t1(e,!0)}if(o.status===407)return n.window==="no-window"?Mt():RA(e)?yg(e):Mt("proxy authentication required");if(o.status===421&&!r&&(n.body==null||n.body.source!=null)){if(RA(e))return yg(e);e.controller.connection.destroy(),o=await t1(e,t,!0)}return o}async function tQe(e,t=!1,r=!1){su(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(_,N=!0){this.destroyed||(this.destroyed=!0,N&&this.abort?.(_??new DOMException("The operation was aborted.","AbortError")))}};let n=e.request,i=null,s=e.timingInfo;null==null&&(n.cache="no-store");let a=r?"yes":"no";n.mode;let A=null;if(n.body==null&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(n.body!=null){let _=async function*(U){RA(e)||(yield U,e.processRequestBodyChunkLength?.(U.byteLength))},N=()=>{RA(e)||e.processRequestEndOfBody&&e.processRequestEndOfBody()},P=U=>{RA(e)||(U.name==="AbortError"?e.controller.abort():e.controller.terminate(U))};A=(async function*(){try{for await(let U of n.body.stream)yield*_(U);N()}catch(U){P(U)}})()}try{let{body:_,status:N,statusText:P,headersList:U,socket:G}=await S({body:A});if(G)i=Um({status:N,statusText:P,headersList:U,socket:G});else{let Y=_[Symbol.asyncIterator]();e.controller.next=()=>Y.next(),i=Um({status:N,statusText:P,headersList:U})}}catch(_){return _.name==="AbortError"?(e.controller.connection.destroy(),yg(e,_)):Mt(_)}let f=()=>e.controller.resume(),l=_=>{RA(e)||e.controller.abort(_)},p=new ReadableStream({start(_){e.controller.controller=_},pull:f,cancel:l,type:"bytes"});i.body={stream:p,source:null,length:null},e.controller.resume||e.controller.on("terminated",B),e.controller.resume=async()=>{for(;;){let _,N;try{let{done:U,value:G}=await e.controller.next();if(Pq(e))break;_=U?void 0:G}catch(U){e.controller.ended&&!s.encodedBodySize?_=void 0:(_=U,N=!0)}if(_===void 0){bCe(e.controller.controller),$Ce(e,i);return}if(s.decodedBodySize+=_?.byteLength??0,N){e.controller.terminate(_);return}let P=new Uint8Array(_);if(P.byteLength&&e.controller.controller.enqueue(P),PCe(p)){e.controller.terminate();return}if(e.controller.controller.desiredSize<=0)return}};function B(_){Pq(e)?(i.aborted=!0,Lm(p)&&e.controller.controller.error(e.controller.serializedAbortReason)):Lm(p)&&e.controller.controller.error(new TypeError("terminated",{cause:BCe(_)?_:void 0})),e.controller.connection.destroy()}return i;function S({body:_}){let N=si(n),P=e.controller.dispatcher,U=N.pathname+N.search,G=N.search.length===0&&N.href[N.href.length-N.hash.length-1]==="?";return new Promise((Y,Z)=>P.dispatch({path:G?`${U}?`:U,origin:N.origin,method:n.method,body:P.isMockActive?n.body&&(n.body.source||n.body.stream):_,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(ee){let{connection:j}=e.controller;s.finalConnectionTimingInfo=wCe(void 0,s.postRedirectStartTime,e.crossOriginIsolatedCapability),j.destroyed?ee(new DOMException("The operation was aborted.","AbortError")):(e.controller.on("terminated",ee),this.abort=j.abort=ee),s.finalNetworkRequestStartTime=mg(e.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=mg(e.crossOriginIsolatedCapability)},onHeaders(ee,j,se,ie){if(ee<200)return!1;let ce=new Kv;for(let c=0;c<j.length;c+=2)ce.append(qq(j[c]),j[c+1].toString("latin1"),!0);let H=ce.get("location",!0);this.body=new xCe({read:se});let E=H&&n.redirect==="follow"&&Wq.has(ee),R=[];if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!Vq.includes(ee)&&!E){let c=ce.get("content-encoding",!0),g=c?c.toLowerCase().split(","):[],w=5;if(g.length>w)return Z(new Error(`too many content-encodings in response: ${g.length}, maximum allowed is ${w}`)),!0;for(let v=g.length-1;v>=0;--v){let C=g[v].trim();if(C==="x-gzip"||C==="gzip")R.push(Ss.createGunzip({flush:Ss.constants.Z_SYNC_FLUSH,finishFlush:Ss.constants.Z_SYNC_FLUSH}));else if(C==="deflate")R.push(vCe({flush:Ss.constants.Z_SYNC_FLUSH,finishFlush:Ss.constants.Z_SYNC_FLUSH}));else if(C==="br")R.push(Ss.createBrotliDecompress({flush:Ss.constants.BROTLI_OPERATION_FLUSH,finishFlush:Ss.constants.BROTLI_OPERATION_FLUSH}));else if(C==="zstd"&&jCe)R.push(Ss.createZstdDecompress({flush:Ss.constants.ZSTD_e_continue,finishFlush:Ss.constants.ZSTD_e_end}));else{R.length=0;break}}}let b=this.onError.bind(this);return Y({status:ee,statusText:ie,headersList:ce,body:R.length?UCe(this.body,...R,c=>{c&&this.onError(c)}).on("error",b):this.body.on("error",b)}),!0},onData(ee){if(e.controller.dump)return;let j=ee;return s.encodedBodySize+=j.byteLength,this.body.push(j)},onComplete(){this.abort&&e.controller.off("terminated",this.abort),e.controller.ended=!0,this.body.push(null)},onError(ee){this.abort&&e.controller.off("terminated",this.abort),this.body?.destroy(ee),e.controller.terminate(ee),Z(ee)},onRequestUpgrade(ee,j,se,ie){if(ie.session!=null&&j!==200||ie.session==null&&j!==101)return!1;let ce=new Kv;for(let[H,E]of Object.entries(se)){if(E==null)continue;let R=H.toLowerCase();if(Array.isArray(E))for(let b of E)ce.append(R,String(b),!0);else ce.append(R,String(E),!0)}return Y({status:j,statusText:Gq[j],headersList:ce,socket:ie}),!0},onUpgrade(ee,j,se){if(se.session!=null&&ee!==200||se.session==null&&ee!==101)return!1;let ie=new Kv;for(let ce=0;ce<j.length;ce+=2)ie.append(qq(j[ce]),j[ce+1].toString("latin1"),!0);return Y({status:ee,statusText:Gq[ee],headersList:ie,socket:se}),!0}}))}}Zq.exports={fetch:ZCe,Fetch:Om,fetching:zq,finalizeAndReportTiming:Jq}});var Ll=hr(Gr());var VI={};kI(VI,{DH_CHECK_P_NOT_PRIME:()=>UZ,DH_CHECK_P_NOT_SAFE_PRIME:()=>xZ,DH_NOT_SUITABLE_GENERATOR:()=>PZ,DH_UNABLE_TO_CHECK_GENERATOR:()=>LZ,E2BIG:()=>Gz,EACCES:()=>Yz,EADDRINUSE:()=>Wz,EADDRNOTAVAIL:()=>Vz,EAFNOSUPPORT:()=>Jz,EAGAIN:()=>jz,EALREADY:()=>zz,EBADF:()=>Kz,EBADMSG:()=>Xz,EBUSY:()=>Zz,ECANCELED:()=>$z,ECHILD:()=>eK,ECONNABORTED:()=>tK,ECONNREFUSED:()=>rK,ECONNRESET:()=>nK,EDEADLK:()=>iK,EDESTADDRREQ:()=>sK,EDOM:()=>oK,EDQUOT:()=>aK,EEXIST:()=>AK,EFAULT:()=>fK,EFBIG:()=>uK,EHOSTUNREACH:()=>cK,EIDRM:()=>lK,EILSEQ:()=>hK,EINPROGRESS:()=>dK,EINTR:()=>gK,EINVAL:()=>pK,EIO:()=>EK,EISCONN:()=>yK,EISDIR:()=>mK,ELOOP:()=>BK,EMFILE:()=>IK,EMLINK:()=>bK,EMSGSIZE:()=>CK,EMULTIHOP:()=>QK,ENAMETOOLONG:()=>wK,ENETDOWN:()=>SK,ENETRESET:()=>_K,ENETUNREACH:()=>vK,ENFILE:()=>RK,ENGINE_METHOD_ALL:()=>FZ,ENGINE_METHOD_CIPHERS:()=>RZ,ENGINE_METHOD_DH:()=>wZ,ENGINE_METHOD_DIGESTS:()=>DZ,ENGINE_METHOD_DSA:()=>QZ,ENGINE_METHOD_ECDH:()=>_Z,ENGINE_METHOD_ECDSA:()=>vZ,ENGINE_METHOD_NONE:()=>kZ,ENGINE_METHOD_PKEY_ASN1_METHS:()=>MZ,ENGINE_METHOD_PKEY_METHS:()=>NZ,ENGINE_METHOD_RAND:()=>SZ,ENGINE_METHOD_STORE:()=>TZ,ENOBUFS:()=>DK,ENODATA:()=>TK,ENODEV:()=>NK,ENOENT:()=>MK,ENOEXEC:()=>FK,ENOLCK:()=>kK,ENOLINK:()=>xK,ENOMEM:()=>UK,ENOMSG:()=>LK,ENOPROTOOPT:()=>PK,ENOSPC:()=>OK,ENOSR:()=>HK,ENOSTR:()=>qK,ENOSYS:()=>GK,ENOTCONN:()=>YK,ENOTDIR:()=>WK,ENOTEMPTY:()=>VK,ENOTSOCK:()=>JK,ENOTSUP:()=>jK,ENOTTY:()=>zK,ENXIO:()=>KK,EOPNOTSUPP:()=>XK,EOVERFLOW:()=>ZK,EPERM:()=>$K,EPIPE:()=>eX,EPROTO:()=>tX,EPROTONOSUPPORT:()=>rX,EPROTOTYPE:()=>nX,ERANGE:()=>iX,EROFS:()=>sX,ESPIPE:()=>oX,ESRCH:()=>aX,ESTALE:()=>AX,ETIME:()=>fX,ETIMEDOUT:()=>uX,ETXTBSY:()=>cX,EWOULDBLOCK:()=>lX,EXDEV:()=>hX,F_OK:()=>KZ,NPN_ENABLED:()=>OZ,O_APPEND:()=>wz,O_CREAT:()=>Iz,O_DIRECTORY:()=>Sz,O_EXCL:()=>bz,O_NOCTTY:()=>Cz,O_NOFOLLOW:()=>_z,O_NONBLOCK:()=>Dz,O_RDONLY:()=>uz,O_RDWR:()=>lz,O_SYMLINK:()=>Rz,O_SYNC:()=>vz,O_TRUNC:()=>Qz,O_WRONLY:()=>cz,POINT_CONVERSION_COMPRESSED:()=>JZ,POINT_CONVERSION_HYBRID:()=>zZ,POINT_CONVERSION_UNCOMPRESSED:()=>jZ,RSA_NO_PADDING:()=>GZ,RSA_PKCS1_OAEP_PADDING:()=>YZ,RSA_PKCS1_PADDING:()=>HZ,RSA_PKCS1_PSS_PADDING:()=>VZ,RSA_SSLV23_PADDING:()=>qZ,RSA_X931_PADDING:()=>WZ,R_OK:()=>XZ,SIGABRT:()=>mX,SIGALRM:()=>vX,SIGBUS:()=>IX,SIGCHLD:()=>DX,SIGCONT:()=>TX,SIGFPE:()=>bX,SIGHUP:()=>dX,SIGILL:()=>EX,SIGINT:()=>gX,SIGIO:()=>qX,SIGIOT:()=>BX,SIGKILL:()=>CX,SIGPIPE:()=>_X,SIGPROF:()=>OX,SIGQUIT:()=>pX,SIGSEGV:()=>wX,SIGSTOP:()=>NX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,SSL_OP_SINGLE_ECDH_USE:()=>yZ,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:()=>mZ,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:()=>BZ,SSL_OP_TLS_BLOCK_PADDING_BUG:()=>IZ,SSL_OP_TLS_D5_BUG:()=>bZ,SSL_OP_TLS_ROLLBACK_BUG:()=>CZ,S_IFBLK:()=>Ez,S_IFCHR:()=>pz,S_IFDIR:()=>gz,S_IFIFO:()=>yz,S_IFLNK:()=>mz,S_IFMT:()=>hz,S_IFREG:()=>dz,S_IFSOCK:()=>Bz,S_IRGRP:()=>xz,S_IROTH:()=>Oz,S_IRUSR:()=>Nz,S_IRWXG:()=>kz,S_IRWXO:()=>Pz,S_IRWXU:()=>Tz,S_IWGRP:()=>Uz,S_IWOTH:()=>Hz,S_IWUSR:()=>Mz,S_IXGRP:()=>Lz,S_IXOTH:()=>qz,S_IXUSR:()=>Fz,UV_UDP_REUSEADDR:()=>e$,W_OK:()=>ZZ,X_OK:()=>$Z,default:()=>t$});var uz=0,cz=1,lz=2,hz=61440,dz=32768,gz=16384,pz=8192,Ez=24576,yz=4096,mz=40960,Bz=49152,Iz=512,bz=2048,Cz=131072,Qz=1024,wz=8,Sz=1048576,_z=256,vz=128,Rz=2097152,Dz=4,Tz=448,Nz=256,Mz=128,Fz=64,kz=56,xz=32,Uz=16,Lz=8,Pz=7,Oz=4,Hz=2,qz=1,Gz=7,Yz=13,Wz=48,Vz=49,Jz=47,jz=35,zz=37,Kz=9,Xz=94,Zz=16,$z=89,eK=10,tK=53,rK=61,nK=54,iK=11,sK=39,oK=33,aK=69,AK=17,fK=14,uK=27,cK=65,lK=90,hK=92,dK=36,gK=4,pK=22,EK=5,yK=56,mK=21,BK=62,IK=24,bK=31,CK=40,QK=95,wK=63,SK=50,_K=52,vK=51,RK=23,DK=55,TK=96,NK=19,MK=2,FK=8,kK=77,xK=97,UK=12,LK=91,PK=42,OK=28,HK=98,qK=99,GK=78,YK=57,WK=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P_TLS_BLOCK_PADDING_BUG:IZ,SSL_OP_TLS_D5_BUG:bZ,SSL_OP_TLS_ROLLBACK_BUG:CZ,ENGINE_METHOD_DSA:QZ,ENGINE_METHOD_DH:wZ,ENGINE_METHOD_RAND:SZ,ENGINE_METHOD_ECDH:_Z,ENGINE_METHOD_ECDSA:vZ,ENGINE_METHOD_CIPHERS:RZ,ENGINE_METHOD_DIGESTS:DZ,ENGINE_METHOD_STORE:TZ,ENGINE_METHOD_PKEY_METHS:NZ,ENGINE_METHOD_PKEY_ASN1_METHS:MZ,ENGINE_METHOD_ALL:FZ,ENGINE_METHOD_NONE:kZ,DH_CHECK_P_NOT_SAFE_PRIME:xZ,DH_CHECK_P_NOT_PRIME:UZ,DH_UNABLE_TO_CHECK_GENERATOR:LZ,DH_NOT_SUITABLE_GENERATOR:PZ,NPN_ENABLED:OZ,RSA_PKCS1_PADDING:HZ,RSA_SSLV23_PADDING:qZ,RSA_NO_PADDING:GZ,RSA_PKCS1_OAEP_PADDING:YZ,RSA_X931_PADDING:WZ,RSA_PKCS1_PSS_PADDING:VZ,POINT_CONVERSION_COMPRESSED:JZ,POINT_CONVERSION_UNCOMPRESSED:jZ,POINT_CONVERSION_HYBRID:zZ,F_OK:KZ,R_OK:XZ,W_OK:ZZ,X_OK:$Z,UV_UDP_REUSEADDR:e$};var rQe=hr(es()),Yg=hr(rT()),nQe=hr(jI());KI();gi();var iQe=hr(ff()),_u=hr(xk()),zB=hr(Yr());var Wr=hr(Lk()),TC=class{constructor(){let t=new globalThis.TextEncoder,r=new Wr.TransformStream({transform(n,i){i.enqueue(t.encode(n))}});this.encoding="utf-8",this.readable=r.readable,this.writable=r.writable}},NC=class{constructor(t="utf-8",r=void 0){let n=new globalThis.TextDecoder(t,r),i=new Wr.TransformStream({transform(s,o){let a=n.decode(s,{stream:!0});a.length>0&&o.enqueue(a)},flush(s){let o=n.decode();o.length>0&&s.enqueue(o)}});this.encoding=n.encoding,this.fatal=n.fatal,this.ignoreBOM=n.ignoreBOM,this.readable=i.readable,this.writable=i.writable}},zp=typeof globalThis.TextEncoderStream=="function"?globalThis.TextEncoderStream:TC,Kp=typeof globalThis.TextDecoderStream=="function"?globalThis.TextDecoderStream:NC;typeof globalThis.ReadableStream>"u"&&(globalThis.ReadableStream=Wr.ReadableStream);typeof globalThis.WritableStream>"u"&&(globalThis.WritableStream=Wr.WritableStream);typeof globalThis.TransformStream>"u"&&(globalThis.TransformStream=Wr.TransformStream);typeof globalThis.TextEncoderStream>"u"&&(globalThis.TextEncoderStream=zp);typeof globalThis.TextDecoderStream>"u"&&(globalThis.TextDecoderStream=Kp);var vg=hr(E6()),x1=hr(Uv()),U1=hr(Im()),rB=hr($q()),F2=hr(Vv()),Bu=hr(pg()),Iu=hr(Wv()),bu=hr(qv()),L1=hr(Eo());var wY=e=>{throw TypeError(e)},SY=(e,t,r)=>t.has(e)||wY("Cannot "+r),jt=(e,t,r)=>(SY(e,t,"read from private field"),r?r.call(e):t.get(e)),eG=(e,t,r)=>t.has(e)?wY("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),tG=(e,t,r,n)=>(SY(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),rG=globalThis.AbortController,nG=globalThis.AbortSignal,P1=Ll.Buffer??Ll.default?.Buffer??Ll.default;function Gm(e){return typeof e=="string"&&e.toLowerCase()==="base64url"?"base64":e}function sQe(e){return String(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,"")}function oQe(e){if(typeof e!="function"||e.__agentOSBase64UrlPatched)return;let t=typeof e.isEncoding=="function"?e.isEncoding.bind(e):null,r=typeof e.byteLength=="function"?e.byteLength.bind(e):null,n=typeof e.prototype?.toString=="function"?e.prototype.toString:null,i=typeof e.prototype?.write=="function"?e.prototype.write:null;e.isEncoding=function(o){return typeof o=="string"&&o.toLowerCase()==="base64url"||t?.(o)===!0},r&&(e.byteLength=function(o,a,...A){return r(o,Gm(a),...A)}),n&&(e.prototype.toString=function(o,...a){return typeof o=="string"&&o.toLowerCase()==="base64url"?sQe(n.call(this,"base64",...a)):n.call(this,o,...a)}),i&&(e.prototype.write=function(o,a,A,f){return typeof a=="string"?a=Gm(a):typeof A=="string"?A=Gm(A):typeof f=="string"&&(f=Gm(f)),i.call(this,o,a,A,f)}),e.__agentOSBase64UrlPatched=!0}oQe(P1);typeof P1=="function"&&(globalThis.Buffer=P1);var Il=zB.types??zB.default?.types,aQe=new Map([["[object Int8Array]",Int8Array],["[object Uint8Array]",Uint8Array],["[object Uint8ClampedArray]",Uint8ClampedArray],["[object Int16Array]",Int16Array],["[object Uint16Array]",Uint16Array],["[object Int32Array]",Int32Array],["[object Uint32Array]",Uint32Array],["[object Float32Array]",Float32Array],["[object Float64Array]",Float64Array],["[object BigInt64Array]",BigInt64Array],["[object BigUint64Array]",BigUint64Array]]);function iG(e="The object could not be cloned."){if(typeof globalThis.DOMException=="function")return new globalThis.DOMException(e,"DataCloneError");let t=new Error(e);return t.name="DataCloneError",t.code=25,t}function AQe(e){let t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}function TA(e,t){if(e===null)return e;let r=typeof e;if(r==="function"||r==="symbol")throw iG();if(r!=="object")return e;let n=t.get(e);if(n!==void 0)return n;let i=Object.prototype.toString.call(e),s=aQe.get(i);if(s){let o=TA(e.buffer,t),a=new s(o,e.byteOffset,e.length);return t.set(e,a),a}if(i==="[object ArrayBuffer]"){let o=AQe(e);return t.set(e,o),o}if(i==="[object DataView]"){let o=TA(e.buffer,t),a=new DataView(o,e.byteOffset,e.byteLength);return t.set(e,a),a}if(i==="[object Date]"){let o=new Date(e.getTime());return t.set(e,o),o}if(i==="[object RegExp]"){let o=new RegExp(e.source,e.flags);return o.lastIndex=e.lastIndex,t.set(e,o),o}if(i==="[object Map]"){let o=new Map;t.set(e,o);for(let[a,A]of e.entries())o.set(TA(a,t),TA(A,t));return o}if(i==="[object Set]"){let o=new Set;t.set(e,o);for(let a of e.values())o.add(TA(a,t));return o}if(i==="[object Array]"){let o=new Array(e.length);t.set(e,o);for(let a of Object.keys(e))o[a]=TA(e[a],t);return o}if(i==="[object Object]"){let o=Object.getPrototypeOf(e)===null?Object.create(null):{};t.set(e,o);for(let a of Object.keys(e))o[a]=TA(e[a],t);return o}throw iG()}function fQe(e,t=void 0){return t!=null&&typeof t=="object"&&"transfer"in t&&t.transfer,TA(e,new Map)}if(Il&&typeof Il.isProxy!="function")Il.isProxy=()=>!1;else if(Il)try{Il.isProxy({})}catch{Il.isProxy=()=>!1}function uQe(e){if(typeof e=="boolean")return{capture:e,once:!1,passive:!1};if(e==null)return{capture:!1,once:!1,passive:!1};let t=Object(e);return{capture:!!t.capture,once:!!t.once,passive:!!t.passive,signal:t.signal}}function cQe(e){return typeof e=="boolean"?e:e==null?!1:!!Object(e).capture}function lQe(e){return typeof e=="object"&&e!==null&&"aborted"in e&&typeof e.addEventListener=="function"&&typeof e.removeEventListener=="function"}var _l,_Y=(_l=class{constructor(e,t){y(this,"type");y(this,"bubbles");y(this,"cancelable");y(this,"composed");y(this,"detail",null);y(this,"defaultPrevented",!1);y(this,"target",null);y(this,"currentTarget",null);y(this,"eventPhase",0);y(this,"returnValue",!0);y(this,"cancelBubble",!1);y(this,"timeStamp",Date.now());y(this,"isTrusted",!1);y(this,"srcElement",null);y(this,"inPassiveListener",!1);y(this,"propagationStopped",!1);y(this,"immediatePropagationStopped",!1);if(arguments.length===0)throw new TypeError("The event type must be provided");let r=t==null?{}:Object(t);this.type=String(e),this.bubbles=!!r.bubbles,this.cancelable=!!r.cancelable,this.composed=!!r.composed}get[Symbol.toStringTag](){return"Event"}preventDefault(){this.cancelable&&!this.inPassiveListener&&(this.defaultPrevented=!0,this.returnValue=!1)}stopPropagation(){this.propagationStopped=!0,this.cancelBubble=!0}stopImmediatePropagation(){this.propagationStopped=!0,this.immediatePropagationStopped=!0,this.cancelBubble=!0}composedPath(){return this.target?[this.target]:[]}_setPassive(e){this.inPassiveListener=e}_isPropagationStopped(){return this.propagationStopped}_isImmediatePropagationStopped(){return this.immediatePropagationStopped}},y(_l,"NONE",0),y(_l,"CAPTURING_PHASE",1),y(_l,"AT_TARGET",2),y(_l,"BUBBLING_PHASE",3),_l),hQe=class extends _Y{constructor(e,t){super(e,t);let r=t==null?null:Object(t);this.detail=r&&"detail"in r?r.detail:null}get[Symbol.toStringTag](){return"CustomEvent"}},dQe=class{constructor(){y(this,"listeners",new Map)}addEventListener(e,t,r){let n=uQe(r);if(n.signal!==void 0&&!lQe(n.signal))throw new TypeError('The "signal" option must be an instance of AbortSignal.');if(t==null||typeof t!="function"&&(typeof t!="object"||t===null)||n.signal?.aborted)return;let i=this.listeners.get(e)??[];if(i.find(a=>a.listener===t&&a.capture===n.capture))return;let o={listener:t,capture:n.capture,once:n.once,passive:n.passive,kind:typeof t=="function"?"function":"object",signal:n.signal};n.signal&&(o.abortListener=()=>{this.removeEventListener(e,t,n.capture)},n.signal.addEventListener("abort",o.abortListener,{once:!0})),i.push(o),this.listeners.set(e,i)}removeEventListener(e,t,r){if(t==null)return;let n=cQe(r),i=this.listeners.get(e);if(!i)return;let s=i.filter(o=>{let a=o.listener===t&&o.capture===n;return a&&o.signal&&o.abortListener&&o.signal.removeEventListener("abort",o.abortListener),!a});if(s.length===0){this.listeners.delete(e);return}this.listeners.set(e,s)}dispatchEvent(e){if(typeof e!="object"||e===null||typeof e.type!="string")throw new TypeError("Argument 1 must be an Event");let t=e,r=(this.listeners.get(t.type)??[]).slice();t.target=this,t.currentTarget=this,t.eventPhase=2;for(let n of r)if(this.listeners.get(t.type)?.includes(n)){if(n.once&&this.removeEventListener(t.type,n.listener,n.capture),t._setPassive(n.passive),n.kind==="function")n.listener.call(this,t);else{let s=n.listener.handleEvent;typeof s=="function"&&s.call(n.listener,t)}if(t._setPassive(!1),t._isImmediatePropagationStopped()||t._isPropagationStopped())break}return t.currentTarget=null,t.eventPhase=0,!t.defaultPrevented}},Pl=_Y,k2=hQe,KB=dQe,To=typeof nG=="function"?nG:class extends KB{constructor(){super(),this.aborted=!1,this.reason=void 0}throwIfAborted(){if(this.aborted)throw this.reason instanceof Error?this.reason:new Error(String(this.reason??"AbortError"))}},Du=typeof rG=="function"?rG:class{constructor(){this.signal=new To}abort(e){this.signal.aborted||(this.signal.aborted=!0,this.signal.reason=e,this.signal.dispatchEvent(new Pl("abort")))}};function x2(e,t){if(typeof e=="function")try{e.name!==t&&Object.defineProperty(e,"name",{configurable:!0,value:t})}catch{}}x2(To,"AbortSignal");x2(Du,"AbortController");try{let e=Object.getPrototypeOf(new Du().signal)?.constructor;x2(e,"AbortSignal")}catch{}try{globalThis.AbortSignal=To}catch{}try{globalThis.AbortController=Du}catch{}function vY(e){if(e!==void 0)return e;if(typeof globalThis.DOMException=="function")return new globalThis.DOMException("This operation was aborted","AbortError");let t=new Error("This operation was aborted");return t.name="AbortError",t}function gQe(e){let t=new Du;return t.abort(vY(e)),t.signal}function pQe(e){if(typeof e!="number")throw new TypeError(`The "delay" argument must be of type number. Received ${typeof e}`);if(!Number.isFinite(e)||e<0)throw new RangeError(`The value of "delay" is out of range. It must be >= 0. Received ${String(e)}`);return Math.trunc(e)}typeof To.abort!="function"&&Object.defineProperty(To,"abort",{configurable:!0,writable:!0,value(e=void 0){return gQe(e)}});typeof To.timeout!="function"&&Object.defineProperty(To,"timeout",{configurable:!0,writable:!0,value(e){let t=pQe(e),r=new Du,n=setTimeout(()=>{r.abort(vY())},t);return typeof n?.unref=="function"&&n.unref(),r.signal.addEventListener("abort",()=>{clearTimeout(n)},{once:!0}),r.signal}});typeof To.any!="function"&&Object.defineProperty(To,"any",{configurable:!0,writable:!0,value(e){if(!e||typeof e[Symbol.iterator]!="function")throw new TypeError('The "signals" argument must be an iterable');let t=Array.from(e),r=new Du;if(t.length===0)return r.signal;let n=[],i=s=>{for(;n.length>0;){let[o,a]=n.pop();o.removeEventListener?.("abort",a)}r.abort(s.reason)};for(let s of t){if(!s||typeof s.aborted!="boolean"||typeof s.addEventListener!="function")throw new TypeError('The "signals" argument must contain AbortSignal instances');if(s.aborted)return i(s),r.signal;let o=()=>i(s);n.push([s,o]),s.addEventListener("abort",o,{once:!0})}return r.signal}});var EQe=class{constructor(e={}){this._sink=e}getWriter(){let e=this._sink;return{write(t){return Promise.resolve(typeof e.write=="function"?e.write(t):void 0)},close(){return Promise.resolve(typeof e.close=="function"?e.close():void 0)},releaseLock(){}}}},yQe=class{constructor(e={}){this._queue=[],this._pending=[],this._closed=!1,this._error=null;let t=()=>{for(;this._pending.length>0;){let n=this._pending.shift();if(this._error){n.reject(this._error);continue}if(this._queue.length>0){n.resolve({value:this._queue.shift(),done:!1});continue}if(this._closed){n.resolve({value:void 0,done:!0});continue}this._pending.unshift(n);break}},r={enqueue:n=>{this._closed||this._error||(this._queue.push(n),t())},close:()=>{this._closed||this._error||(this._closed=!0,t())},error:n=>{this._closed||this._error||(this._error=n instanceof Error?n:new Error(String(n)),t())}};typeof e.start=="function"&&Promise.resolve().then(()=>e.start(r)).catch(n=>r.error(n))}getReader(){return{read:()=>this._error?Promise.reject(this._error):this._queue.length>0?Promise.resolve({value:this._queue.shift(),done:!1}):this._closed?Promise.resolve({value:void 0,done:!0}):new Promise((e,t)=>{this._pending.push({resolve:e,reject:t})}),releaseLock(){}}}};function U2(e,t){return e.code=t,e}function mQe(e){return U2(new RangeError(`The "${e}" encoding is not supported`),"ERR_ENCODING_NOT_SUPPORTED")}function Gi(e){return U2(new TypeError(`The encoded data was not valid for encoding ${e}`),"ERR_ENCODING_INVALID_ENCODED_DATA")}function BQe(){return U2(new TypeError('The "input" argument must be an instance of ArrayBuffer, SharedArrayBuffer, or ArrayBufferView.'),"ERR_INVALID_ARG_TYPE")}function IQe(e){return e.replace(/^[\t\n\f\r ]+|[\t\n\f\r ]+$/g,"")}function bQe(e){let t=IQe(e===void 0?"utf-8":String(e)).toLowerCase();switch(t){case"utf-8":case"utf8":case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"x-unicode20utf8":return"utf-8";case"utf-16":case"utf-16le":case"ucs-2":case"ucs2":case"csunicode":case"iso-10646-ucs-2":case"unicode":case"unicodefeff":return"utf-16le";case"utf-16be":case"unicodefffe":return"utf-16be";default:throw mQe(t)}}function CQe(e){if(e===void 0)return new Uint8Array(0);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);if(e instanceof ArrayBuffer)return new Uint8Array(e);if(typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return new Uint8Array(e);throw BQe()}function Ym(e,t){if(e<=127){t.push(e);return}if(e<=2047){t.push(192|e>>6,128|e&63);return}if(e<=65535){t.push(224|e>>12,128|e>>6&63,128|e&63);return}t.push(240|e>>18,128|e>>12&63,128|e>>6&63,128|e&63)}function sG(e=""){let t=String(e),r=[];for(let n=0;n<t.length;n+=1){let i=t.charCodeAt(n);if(i>=55296&&i<=56319){let s=n+1;if(s<t.length){let o=t.charCodeAt(s);if(o>=56320&&o<=57343){let a=65536+(i-55296<<10)+(o-56320);Ym(a,r),n=s;continue}}Ym(65533,r);continue}if(i>=56320&&i<=57343){Ym(65533,r);continue}Ym(i,r)}return new Uint8Array(r)}function RY(e,t){if(t<=65535){e.push(String.fromCharCode(t));return}let r=t-65536;e.push(String.fromCharCode(55296+(r>>10)),String.fromCharCode(56320+(r&1023)))}function i1(e){return e>=128&&e<=191}function QQe(e,t,r,n){let i=[];for(let s=0;s<e.length;){let o=e[s];if(o<=127){i.push(String.fromCharCode(o)),s+=1;continue}let a=0,A=0;if(o>=194&&o<=223)a=1,A=o&31;else if(o>=224&&o<=239)a=2,A=o&15;else if(o>=240&&o<=244)a=3,A=o&7;else{if(t)throw Gi(n);i.push("\uFFFD"),s+=1;continue}if(s+a>=e.length){if(r)return{text:i.join(""),pending:Array.from(e.slice(s))};if(t)throw Gi(n);i.push("\uFFFD");break}let f=e[s+1];if(!i1(f)){if(t)throw Gi(n);i.push("\uFFFD"),s+=1;continue}if(o===224&&f<160||o===237&&f>159||o===240&&f<144||o===244&&f>143){if(t)throw Gi(n);i.push("\uFFFD"),s+=1;continue}if(A=A<<6|f&63,a>=2){let l=e[s+2];if(!i1(l)){if(t)throw Gi(n);i.push("\uFFFD"),s+=1;continue}A=A<<6|l&63}if(a===3){let l=e[s+3];if(!i1(l)){if(t)throw Gi(n);i.push("\uFFFD"),s+=1;continue}A=A<<6|l&63}if(A>=55296&&A<=57343){if(t)throw Gi(n);i.push("\uFFFD"),s+=a+1;continue}RY(i,A),s+=a+1}return{text:i.join(""),pending:[]}}function wQe(e,t,r,n,i){let s=[],o=t==="utf-16be"?"be":"le";!i&&t==="utf-16le"&&e.length>=2&&e[0]===254&&e[1]===255&&(o="be");for(let a=0;a<e.length;){if(a+1>=e.length){if(n)return{text:s.join(""),pending:Array.from(e.slice(a))};if(r)throw Gi(t);s.push("\uFFFD");break}let A=e[a],f=e[a+1],l=o==="le"?A|f<<8:A<<8|f;if(a+=2,l>=55296&&l<=56319){if(a+1>=e.length){if(n)return{text:s.join(""),pending:Array.from(e.slice(a-2))};if(r)throw Gi(t);s.push("\uFFFD");continue}let p=e[a],B=e[a+1],S=o==="le"?p|B<<8:p<<8|B;if(S>=56320&&S<=57343){let _=65536+(l-55296<<10)+(S-56320);RY(s,_),a+=2;continue}if(r)throw Gi(t);s.push("\uFFFD");continue}if(l>=56320&&l<=57343){if(r)throw Gi(t);s.push("\uFFFD");continue}s.push(String.fromCharCode(l))}return{text:s.join(""),pending:[]}}var SQe=class{encode(e=""){return sG(e)}encodeInto(e,t){let r=String(e),n=0,i=0;for(let s=0;s<r.length;s+=1){let o=r.charCodeAt(s),a="";if(o>=55296&&o<=56319&&s+1<r.length){let f=r.charCodeAt(s+1);f>=56320&&f<=57343&&(a=r.slice(s,s+2))}a===""&&(a=r[s]??"");let A=sG(a);if(i+A.length>t.length)break;t.set(A,i),i+=A.length,n+=a.length,a.length===2&&(s+=1)}return{read:n,written:i}}get encoding(){return"utf-8"}get[Symbol.toStringTag](){return"TextEncoder"}},_Qe=class{constructor(e,t){y(this,"normalizedEncoding");y(this,"fatalFlag");y(this,"ignoreBOMFlag");y(this,"pendingBytes",[]);y(this,"bomSeen",!1);let r=t==null?{}:Object(t);this.normalizedEncoding=bQe(e),this.fatalFlag=!!r.fatal,this.ignoreBOMFlag=!!r.ignoreBOM}get encoding(){return this.normalizedEncoding}get fatal(){return this.fatalFlag}get ignoreBOM(){return this.ignoreBOMFlag}get[Symbol.toStringTag](){return"TextDecoder"}decode(e,t){let n=!!(t==null?{}:Object(t)).stream,i=CQe(e),s=new Uint8Array(this.pendingBytes.length+i.length);s.set(this.pendingBytes,0),s.set(i,this.pendingBytes.length);let o=this.normalizedEncoding==="utf-8"?QQe(s,this.fatalFlag,n,this.normalizedEncoding):wQe(s,this.normalizedEncoding,this.fatalFlag,n,this.bomSeen);this.pendingBytes=o.pending;let a=o.text;if(!this.bomSeen&&a.length>0&&(!this.ignoreBOMFlag&&a.charCodeAt(0)===65279&&(a=a.slice(1)),this.bomSeen=!0),!n&&this.pendingBytes.length>0){let A=this.pendingBytes;if(this.pendingBytes=[],this.fatalFlag)throw Gi(this.normalizedEncoding);return a+"\uFFFD".repeat(Math.ceil(A.length/2))}return a}},L2=SQe,Tu=_Qe;function ln(e,t){globalThis[e]=t}typeof globalThis.global>"u"&&ln("global",globalThis);if(typeof globalThis.RegExp=="function"&&!("__secureExecRgiEmojiCompat"in globalThis.RegExp)){let e=globalThis.RegExp,t="^\\p{RGI_Emoji}$",r="[\\u{00A9}\\u{00AE}\\u{203C}\\u{2049}\\u{2122}\\u{2139}\\u{2194}-\\u{21AA}\\u{231A}-\\u{23FF}\\u{24C2}\\u{25AA}-\\u{27BF}\\u{2934}-\\u{2935}\\u{2B05}-\\u{2B55}\\u{3030}\\u{303D}\\u{3297}\\u{3299}\\u{1F000}-\\u{1FAFF}]",n="[#*0-9]\\uFE0F?\\u20E3",i="^(?:"+n+"|\\p{Regional_Indicator}{2}|"+r+"(?:\\uFE0F|\\u200D(?:"+n+"|"+r+")|[\\u{1F3FB}-\\u{1F3FF}])*)$";try{new e(t,"v")}catch(s){if(String(s?.message??s).includes("RGI_Emoji")){let o=function(A,f){let l=A instanceof e&&f===void 0?A.source:String(A),p=f===void 0?A instanceof e?A.flags:"":String(f);try{return new e(A,f)}catch(B){if(l===t&&p==="v")return new e(i,"u");throw B}};Object.setPrototypeOf(o,e),o.prototype=e.prototype,Object.defineProperty(o.prototype,"constructor",{value:o,writable:!0,configurable:!0}),ln("RegExp",Object.assign(o,{__secureExecRgiEmojiCompat:!0}))}}}ln("TextEncoder",L2);ln("TextDecoder",Tu);ln("Event",Pl);ln("CustomEvent",k2);ln("EventTarget",KB);ln("AbortSignal",To);ln("AbortController",Du);ln("structuredClone",fQe);globalThis.WebAssembly&&typeof globalThis.WebAssembly.instantiateStreaming!="function"&&(globalThis.WebAssembly.instantiateStreaming=async function(t,r){let n=await t;if(n==null||typeof n.arrayBuffer!="function")throw new TypeError("WebAssembly.instantiateStreaming requires a Response or promise for one");let i=new Uint8Array(await n.arrayBuffer());return globalThis.WebAssembly.instantiate(i,r)});ln("ReadableStream",typeof Wr.ReadableStream=="function"?Wr.ReadableStream:yQe);ln("WritableStream",typeof Wr.WritableStream=="function"?Wr.WritableStream:EQe);typeof Wr.TransformStream=="function"&&ln("TransformStream",Wr.TransformStream);typeof zp=="function"&&ln("TextEncoderStream",zp);typeof Kp=="function"&&ln("TextDecoderStream",Kp);var du=L1.default?.webidl??L1.default;du?.is&&(du.is.ReadableStream=e=>e!=null&&(e instanceof globalThis.ReadableStream||typeof e.getReader=="function"),du.is.AbortSignal=e=>e!=null&&(e instanceof globalThis.AbortSignal||typeof e.aborted=="boolean"&&typeof e.addEventListener=="function"));du?.converters?.AbortSignal&&(du.converters.AbortSignal=(e,...t)=>e!=null&&(e instanceof globalThis.AbortSignal||typeof e.aborted=="boolean"&&typeof e.addEventListener=="function")?e:du.interfaceConverter(du.is.AbortSignal,"AbortSignal")(e,...t));var DY=[{name:"_processConfig",c:"h"},{name:"__secureExecHrNowUs",c:"h"},{name:"process.cpuUsage",c:"h"},{name:"process.memoryUsage",c:"h"},{name:"process.resourceUsage",c:"h"},{name:"process.versions",c:"h"},{name:"_processKill",c:"h"},{name:"_processSignalState",c:"h"},{name:"_osConfig",c:"h"},{name:"bridge",c:"h"},{name:"_registerHandle",c:"h"},{name:"_unregisterHandle",c:"h"},{name:"_waitForActiveHandles",c:"h"},{name:"_getActiveHandles",c:"h"},{name:"_childProcessDispatch",c:"h"},{name:"_childProcessModule",c:"h"},{name:"_osModule",c:"h"},{name:"_moduleModule",c:"h"},{name:"_httpModule",c:"h"},{name:"_httpsModule",c:"h"},{name:"_http2Module",c:"h"},{name:"_dnsModule",c:"h"},{name:"_dgramModule",c:"h"},{name:"_netModule",c:"h"},{name:"_tlsModule",c:"h"},{name:"_vmCreateContext",c:"h"},{name:"_vmRunInContext",c:"h"},{name:"_vmRunInThisContext",c:"h"},{name:"_netSocketDispatch",c:"h"},{name:"_dgramSocketDispatch",c:"h"},{name:"_http2RetainDispatch",c:"h"},{name:"_httpServerDispatch",c:"h"},{name:"_httpServerUpgradeDispatch",c:"h"},{name:"_httpServerConnectDispatch",c:"h"},{name:"_http2Dispatch",c:"h"},{name:"_timerDispatch",c:"h"},{name:"_drainImmediates",c:"h"},{name:"_getPendingImmediateCount",c:"h"},{name:"_upgradeSocketData",c:"h"},{name:"_upgradeSocketEnd",c:"h"},{name:"ProcessExitError",c:"h"},{name:"_log",c:"h"},{name:"_error",c:"h"},{name:"_pythonRpc",c:"h"},{name:"_pythonStdinRead",c:"h"},{name:"_loadPolyfill",c:"h"},{name:"_resolveModule",c:"h"},{name:"_loadFile",c:"h"},{name:"_resolveModuleSync",c:"h"},{name:"_loadFileSync",c:"h"},{name:"_moduleFormat",c:"h"},{name:"_scheduleTimer",c:"h"},{name:"_cryptoRandomFill",c:"h"},{name:"_cryptoRandomUUID",c:"h"},{name:"_cryptoHashDigest",c:"h"},{name:"_cryptoHmacDigest",c:"h"},{name:"_cryptoPbkdf2",c:"h"},{name:"_cryptoScrypt",c:"h"},{name:"_cryptoCipheriv",c:"h"},{name:"_cryptoDecipheriv",c:"h"},{name:"_cryptoCipherivCreate",c:"h"},{name:"_cryptoCipherivUpdate",c:"h"},{name:"_cryptoCipherivFinal",c:"h"},{name:"_cryptoSign",c:"h"},{name:"_cryptoVerify",c:"h"},{name:"_cryptoAsymmetricOp",c:"h"},{name:"_cryptoCreateKeyObject",c:"h"},{name:"_cryptoGenerateKeyPairSync",c:"h"},{name:"_cryptoGenerateKeySync",c:"h"},{name:"_cryptoGeneratePrimeSync",c:"h"},{name:"_cryptoDiffieHellman",c:"h"},{name:"_cryptoDiffieHellmanGroup",c:"h"},{name:"_cryptoDiffieHellmanSessionCreate",c:"h"},{name:"_cryptoDiffieHellmanSessionCall",c:"h"},{name:"_cryptoDiffieHellmanSessionDestroy",c:"h"},{name:"_cryptoSubtle",c:"h"},{name:"_benchNoop",c:"h"},{name:"_fsReadFile",c:"h"},{name:"_fsReadFileAsync",c:"h"},{name:"_fsWriteFile",c:"h"},{name:"_fsWriteFileAsync",c:"h"},{name:"_fsReadFileBinary",c:"h"},{name:"_fsReadFileBinaryAsync",c:"h"},{name:"_fsWriteFileBinary",c:"h"},{name:"_fsWriteFileBinaryRaw",c:"h"},{name:"_fsWriteFileBinaryAsync",c:"h"},{name:"_fsReadDir",c:"h"},{name:"_fsReadDirAsync",c:"h"},{name:"_fsMkdir",c:"h"},{name:"_fsMkdirAsync",c:"h"},{name:"_fsRmdir",c:"h"},{name:"_fsRmdirAsync",c:"h"},{name:"_fsExists",c:"h"},{name:"_fsAccessAsync",c:"h"},{name:"_fsStat",c:"h"},{name:"_fsStatAsync",c:"h"},{name:"_fsUnlink",c:"h"},{name:"_fsUnlinkAsync",c:"h"},{name:"_fsRename",c:"h"},{name:"_fsRenameAsync",c:"h"},{name:"_fsChmod",c:"h"},{name:"_fsChmodAsync",c:"h"},{name:"_fsChown",c:"h"},{name:"_fsChownAsync",c:"h"},{name:"_fsLink",c:"h"},{name:"_fsLinkAsync",c:"h"},{name:"_fsSymlink",c:"h"},{name:"_fsSymlinkAsync",c:"h"},{name:"_fsReadlink",c:"h"},{name:"_fsReadlinkAsync",c:"h"},{name:"_fsLstat",c:"h"},{name:"_fsLstatAsync",c:"h"},{name:"_fsTruncate",c:"h"},{name:"_fsTruncateAsync",c:"h"},{name:"_fsUtimes",c:"h"},{name:"_fsLutimes",c:"h"},{name:"_fsUtimesAsync",c:"h"},{name:"_fsLutimesAsync",c:"h"},{name:"fs.futimesSync",c:"h"},{name:"fs.openSync",c:"h"},{name:"fs.closeSync",c:"h"},{name:"fs.readSync",c:"h"},{name:"_fsReadRaw",c:"h"},{name:"fs.writeSync",c:"h"},{name:"_fsWriteRaw",c:"h"},{name:"_fsWritevRaw",c:"h"},{name:"fs.fstatSync",c:"h"},{name:"_fs",c:"h"},{name:"_childProcessSpawnStart",c:"h"},{name:"_childProcessPoll",c:"h"},{name:"_childProcessStdinWrite",c:"h"},{name:"_childProcessStdinClose",c:"h"},{name:"_childProcessKill",c:"h"},{name:"_childProcessSpawnSync",c:"h"},{name:"_benchNetTcpMetricsResetRaw",c:"h"},{name:"_benchNetTcpMetricsSnapshotRaw",c:"h"},{name:"_networkDnsLookupRaw",c:"h"},{name:"_networkDnsLookupSyncRaw",c:"h"},{name:"_networkDnsResolveRaw",c:"h"},{name:"_networkHttpServerListenRaw",c:"h"},{name:"_networkHttpServerCloseRaw",c:"h"},{name:"_networkHttpServerRespondRaw",c:"h"},{name:"_networkHttpServerRequestRaw",c:"h"},{name:"_networkHttpServerWaitRaw",c:"h"},{name:"_networkHttp2ServerListenRaw",c:"h"},{name:"_networkHttp2ServerCloseRaw",c:"h"},{name:"_networkHttp2ServerWaitRaw",c:"h"},{name:"_networkHttp2SessionConnectRaw",c:"h"},{name:"_networkHttp2SessionRequestRaw",c:"h"},{name:"_networkHttp2SessionSettingsRaw",c:"h"},{name:"_networkHttp2SessionSetLocalWindowSizeRaw",c:"h"},{name:"_networkHttp2SessionGoawayRaw",c:"h"},{name:"_networkHttp2SessionCloseRaw",c:"h"},{name:"_networkHttp2SessionDestroyRaw",c:"h"},{name:"_networkHttp2SessionWaitRaw",c:"h"},{name:"_networkHttp2ServerPollRaw",c:"h"},{name:"_networkHttp2SessionPollRaw",c:"h"},{name:"_networkHttp2StreamRespondRaw",c:"h"},{name:"_networkHttp2StreamPushStreamRaw",c:"h"},{name:"_networkHttp2StreamWriteRaw",c:"h"},{name:"_networkHttp2StreamEndRaw",c:"h"},{name:"_networkHttp2StreamCloseRaw",c:"h"},{name:"_networkHttp2StreamPauseRaw",c:"h"},{name:"_networkHttp2StreamResumeRaw",c:"h"},{name:"_networkHttp2StreamRespondWithFileRaw",c:"h"},{name:"_networkHttp2ServerRespondRaw",c:"h"},{name:"_upgradeSocketWriteRaw",c:"h"},{name:"_upgradeSocketEndRaw",c:"h"},{name:"_upgradeSocketDestroyRaw",c:"h"},{name:"_netSocketConnectRaw",c:"h"},{name:"_netSocketPollRaw",c:"h"},{name:"_netSocketWaitConnectRaw",c:"h"},{name:"_netSocketReadRaw",c:"h"},{name:"_netSocketSetNoDelayRaw",c:"h"},{name:"_netSocketSetKeepAliveRaw",c:"h"},{name:"_netSocketWriteRaw",c:"h"},{name:"_netSocketEndRaw",c:"h"},{name:"_netSocketDestroyRaw",c:"h"},{name:"_netSocketUpgradeTlsRaw",c:"h"},{name:"_netSocketGetTlsClientHelloRaw",c:"h"},{name:"_netSocketTlsQueryRaw",c:"h"},{name:"_tlsGetCiphersRaw",c:"h"},{name:"_netReserveTcpPortRaw",c:"h"},{name:"_netReleaseTcpPortRaw",c:"h"},{name:"_netServerListenRaw",c:"h"},{name:"_netServerAcceptRaw",c:"h"},{name:"_netServerCloseRaw",c:"h"},{name:"_dgramSocketCreateRaw",c:"h"},{name:"_dgramSocketBindRaw",c:"h"},{name:"_dgramSocketRecvRaw",c:"h"},{name:"_dgramSocketSendRaw",c:"h"},{name:"_dgramSocketCloseRaw",c:"h"},{name:"_dgramSocketAddressRaw",c:"h"},{name:"_dgramSocketSetBufferSizeRaw",c:"h"},{name:"_dgramSocketGetBufferSizeRaw",c:"h"},{name:"_sqliteConstantsRaw",c:"h"},{name:"_sqliteDatabaseOpenRaw",c:"h"},{name:"_sqliteDatabaseCloseRaw",c:"h"},{name:"_sqliteDatabaseExecRaw",c:"h"},{name:"_sqliteDatabaseQueryRaw",c:"h"},{name:"_sqliteDatabasePrepareRaw",c:"h"},{name:"_sqliteDatabaseLocationRaw",c:"h"},{name:"_sqliteDatabaseCheckpointRaw",c:"h"},{name:"_sqliteStatementRunRaw",c:"h"},{name:"_sqliteStatementGetRaw",c:"h"},{name:"_sqliteStatementAllRaw",c:"h"},{name:"_sqliteStatementColumnsRaw",c:"h"},{name:"_sqliteStatementSetReturnArraysRaw",c:"h"},{name:"_sqliteStatementSetReadBigIntsRaw",c:"h"},{name:"_sqliteStatementSetAllowBareNamedParametersRaw",c:"h"},{name:"_sqliteStatementSetAllowUnknownNamedParametersRaw",c:"h"},{name:"_sqliteStatementFinalizeRaw",c:"h"},{name:"_batchResolveModules",c:"h"},{name:"_kernelPollRaw",c:"h"},{name:"_kernelIsattyRaw",c:"h"},{name:"_kernelTtySizeRaw",c:"h"},{name:"_kernelStdioWriteRaw",c:"h"},{name:"_kernelStdinReadRaw",c:"h"},{name:"_kernelStdinRead",c:"h"},{name:"_ptySetRawMode",c:"h"},{name:"require",c:"h"},{name:"_requireFrom",c:"h"},{name:"_dynamicImport",c:"h"},{name:"__dynamicImport",c:"h"},{name:"_moduleCache",c:"h"},{name:"_pendingModules",c:"m"},{name:"_currentModule",c:"m"},{name:"_stdinData",c:"m"},{name:"_stdinPosition",c:"m"},{name:"_stdinEnded",c:"m"},{name:"_stdinFlowMode",c:"m"},{name:"module",c:"m"},{name:"exports",c:"m"},{name:"__filename",c:"m"},{name:"__dirname",c:"m"},{name:"fetch",c:"h"},{name:"Headers",c:"h"},{name:"Request",c:"h"},{name:"Response",c:"h"},{name:"DOMException",c:"h"},{name:"__importMetaResolve",c:"h"},{name:"Blob",c:"h"},{name:"File",c:"h"},{name:"FormData",c:"h"}],Ske=DY.filter(e=>e.c==="h").map(e=>e.name),_ke=DY.filter(e=>e.c==="m").map(e=>e.name);function TY(e,t,r,n={}){let i=n.mutable===!0,s=n.enumerable!==!1;Object.defineProperty(e,t,{value:r,writable:i,configurable:!0,enumerable:s})}function Ge(e,t){TY(globalThis,e,t)}function Nu(e,t){TY(globalThis,e,t,{mutable:!0})}function vQe(e){return JSON.stringify(e,(t,r)=>r===void 0?{__secureExecDispatchType:"undefined"}:r)}function RQe(e,t){return`__bd:${e}:${vQe(t)}`}function DQe(e){if(e===null)return;let t=JSON.parse(e);if(t.__bd_error){let r=new Error(t.__bd_error.message);throw r.name=t.__bd_error.name??"Error",t.__bd_error.code!==void 0&&(r.code=t.__bd_error.code),t.__bd_error.stack&&(r.stack=t.__bd_error.stack),r}return t.__bd_result}function TQe(){if(!_loadPolyfill)throw new Error("_loadPolyfill is not available in sandbox");return _loadPolyfill}function a0(e,...t){let r=TQe();return DQe(r.applySyncPromise(void 0,[RQe(e,t)]))}var NQe=Object.create,P2=Object.defineProperty,MQe=Object.getOwnPropertyDescriptor,NY=Object.getOwnPropertyNames,FQe=Object.getPrototypeOf,kQe=Object.prototype.hasOwnProperty,O2=(e,t)=>function(){return t||(0,e[NY(e)[0]])((t={exports:{}}).exports,t),t.exports},H2=(e,t)=>{for(var r in t)P2(e,r,{get:t[r],enumerable:!0})},xQe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of NY(t))!kQe.call(e,i)&&i!==r&&P2(e,i,{get:()=>t[i],enumerable:!(n=MQe(t,i))||n.enumerable});return e},q2=(e,t,r)=>(r=e!=null?NQe(FQe(e)):{},xQe(t||!e||!e.__esModule?P2(r,"default",{value:e,enumerable:!0}):r,e));var MY=O2({"../../../tmp/buffer-build/node_modules/base64-js/index.js"(e){"use strict";e.byteLength=A,e.toByteArray=l,e.fromByteArray=S;var t=[],r=[],n=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(s=0,o=i.length;s<o;++s)t[s]=i[s],r[i.charCodeAt(s)]=s;var s,o;r[45]=62,r[95]=63;function a(_){var N=_.length;if(N%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var P=_.indexOf("=");P===-1&&(P=N);var U=P===N?0:4-P%4;return[P,U]}function A(_){var N=a(_),P=N[0],U=N[1];return(P+U)*3/4-U}function f(_,N,P){return(N+P)*3/4-P}function l(_){var N,P=a(_),U=P[0],G=P[1],Y=new n(f(_,U,G)),Z=0,ee=G>0?U-4:U,j;for(j=0;j<ee;j+=4)N=r[_.charCodeAt(j)]<<18|r[_.charCodeAt(j+1)]<<12|r[_.charCodeAt(j+2)]<<6|r[_.charCodeAt(j+3)],Y[Z++]=N>>16&255,Y[Z++]=N>>8&255,Y[Z++]=N&255;return G===2&&(N=r[_.charCodeAt(j)]<<2|r[_.charCodeAt(j+1)]>>4,Y[Z++]=N&255),G===1&&(N=r[_.charCodeAt(j)]<<10|r[_.charCodeAt(j+1)]<<4|r[_.charCodeAt(j+2)]>>2,Y[Z++]=N>>8&255,Y[Z++]=N&255),Y}function p(_){return t[_>>18&63]+t[_>>12&63]+t[_>>6&63]+t[_&63]}function B(_,N,P){for(var U,G=[],Y=N;Y<P;Y+=3)U=(_[Y]<<16&16711680)+(_[Y+1]<<8&65280)+(_[Y+2]&255),G.push(p(U));return G.join("")}function S(_){for(var N,P=_.length,U=P%3,G=[],Y=16383,Z=0,ee=P-U;Z<ee;Z+=Y)G.push(B(_,Z,Z+Y>ee?ee:Z+Y));return U===1?(N=_[P-1],G.push(t[N>>2]+t[N<<4&63]+"==")):U===2&&(N=(_[P-2]<<8)+_[P-1],G.push(t[N>>10]+t[N>>4&63]+t[N<<2&63]+"=")),G.join("")}}}),UQe=O2({"../../../tmp/buffer-build/node_modules/ieee754/index.js"(e){e.read=function(t,r,n,i,s){var o,a,A=s*8-i-1,f=(1<<A)-1,l=f>>1,p=-7,B=n?s-1:0,S=n?-1:1,_=t[r+B];for(B+=S,o=_&(1<<-p)-1,_>>=-p,p+=A;p>0;o=o*256+t[r+B],B+=S,p-=8);for(a=o&(1<<-p)-1,o>>=-p,p+=i;p>0;a=a*256+t[r+B],B+=S,p-=8);if(o===0)o=1-l;else{if(o===f)return a?NaN:(_?-1:1)*(1/0);a=a+Math.pow(2,i),o=o-l}return(_?-1:1)*a*Math.pow(2,o-i)},e.write=function(t,r,n,i,s,o){var a,A,f,l=o*8-s-1,p=(1<<l)-1,B=p>>1,S=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=i?0:o-1,N=i?1:-1,P=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(A=isNaN(r)?1:0,a=p):(a=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-a))<1&&(a--,f*=2),a+B>=1?r+=S/f:r+=S*Math.pow(2,1-B),r*f>=2&&(a++,f/=2),a+B>=p?(A=0,a=p):a+B>=1?(A=(r*f-1)*Math.pow(2,s),a=a+B):(A=r*Math.pow(2,B-1)*Math.pow(2,s),a=0));s>=8;t[n+_]=A&255,_+=N,A/=256,s-=8);for(a=a<<s|A,l+=s;l>0;t[n+_]=a&255,_+=N,a/=256,l-=8);t[n+_-N]|=P*128}}}),G2=O2({"../../../tmp/buffer-build/node_modules/buffer/index.js"(e){"use strict";var t=MY(),r=UQe(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=G,e.INSPECT_MAX_BYTES=50;var i=2147483647;e.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=s(),!a.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 s(){try{let F=new Uint8Array(1),m={foo:function(){return 42}};return Object.setPrototypeOf(m,Uint8Array.prototype),Object.setPrototypeOf(F,m),F.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function o(F){if(F>i)throw new RangeError('The value "'+F+'" is invalid for option "size"');let m=new Uint8Array(F);return Object.setPrototypeOf(m,a.prototype),m}function a(F,m,Q){if(typeof F=="number"){if(typeof m=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return p(F)}return A(F,m,Q)}a.poolSize=8192;function A(F,m,Q){if(typeof F=="string")return B(F,m);if(ArrayBuffer.isView(F))return _(F);if(F==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof F);if(Re(F,ArrayBuffer)||F&&Re(F.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Re(F,SharedArrayBuffer)||F&&Re(F.buffer,SharedArrayBuffer)))return N(F,m,Q);if(typeof F=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let L=F.valueOf&&F.valueOf();if(L!=null&&L!==F)return a.from(L,m,Q);let W=P(F);if(W)return W;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof F[Symbol.toPrimitive]=="function")return a.from(F[Symbol.toPrimitive]("string"),m,Q);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof F)}a.from=function(F,m,Q){return A(F,m,Q)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function f(F){if(typeof F!="number")throw new TypeError('"size" argument must be of type number');if(F<0)throw new RangeError('The value "'+F+'" is invalid for option "size"')}function l(F,m,Q){return f(F),F<=0?o(F):m!==void 0?typeof Q=="string"?o(F).fill(m,Q):o(F).fill(m):o(F)}a.alloc=function(F,m,Q){return l(F,m,Q)};function p(F){return f(F),o(F<0?0:U(F)|0)}a.allocUnsafe=function(F){return p(F)},a.allocUnsafeSlow=function(F){return p(F)};function B(F,m){if((typeof m!="string"||m==="")&&(m="utf8"),!a.isEncoding(m))throw new TypeError("Unknown encoding: "+m);let Q=Y(F,m)|0,L=o(Q),W=L.write(F,m);return W!==Q&&(L=L.slice(0,W)),L}function S(F){let m=F.length<0?0:U(F.length)|0,Q=o(m);for(let L=0;L<m;L+=1)Q[L]=F[L]&255;return Q}function _(F){if(Re(F,Uint8Array)){let m=new Uint8Array(F);return N(m.buffer,m.byteOffset,m.byteLength)}return S(F)}function N(F,m,Q){if(m<0||F.byteLength<m)throw new RangeError('"offset" is outside of buffer bounds');if(F.byteLength<m+(Q||0))throw new RangeError('"length" is outside of buffer bounds');let L;return m===void 0&&Q===void 0?L=new Uint8Array(F):Q===void 0?L=new Uint8Array(F,m):L=new Uint8Array(F,m,Q),Object.setPrototypeOf(L,a.prototype),L}function P(F){if(a.isBuffer(F)){let m=U(F.length)|0,Q=o(m);return Q.length===0||F.copy(Q,0,0,m),Q}if(F.length!==void 0)return typeof F.length!="number"||He(F.length)?o(0):S(F);if(F.type==="Buffer"&&Array.isArray(F.data))return S(F.data)}function U(F){if(F>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return F|0}function G(F){return+F!=F&&(F=0),a.alloc(+F)}a.isBuffer=function(m){return m!=null&&m._isBuffer===!0&&m!==a.prototype},a.compare=function(m,Q){if(Re(m,Uint8Array)&&(m=a.from(m,m.offset,m.byteLength)),Re(Q,Uint8Array)&&(Q=a.from(Q,Q.offset,Q.byteLength)),!a.isBuffer(m)||!a.isBuffer(Q))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(m===Q)return 0;let L=m.length,W=Q.length;for(let z=0,ae=Math.min(L,W);z<ae;++z)if(m[z]!==Q[z]){L=m[z],W=Q[z];break}return L<W?-1:W<L?1:0},a.isEncoding=function(m){switch(String(m).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"base64url":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(m,Q){if(!Array.isArray(m))throw new TypeError('"list" argument must be an Array of Buffers');if(m.length===0)return a.alloc(0);let L;if(Q===void 0)for(Q=0,L=0;L<m.length;++L)Q+=m[L].length;let W=a.alloc(Q),z=0;for(L=0;L<m.length;++L){let ae=m[L];if(!Re(ae,Uint8Array))throw new TypeError('"list" argument must be an Array of Buffers');if(a.isBuffer(ae)||(ae=a.from(ae)),z>=W.length)break;let le=W.length-z,ye=ae.length>le?le:ae.length;Uint8Array.prototype.set.call(W,ae.subarray(0,ye),z),z+=ye}return W};function Y(F,m){if(a.isBuffer(F))return F.length;if(ArrayBuffer.isView(F)||Re(F,ArrayBuffer))return F.byteLength;if(typeof F!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof F);let Q=F.length,L=arguments.length>2&&arguments[2]===!0;if(!L&&Q===0)return 0;let W=!1;for(;;)switch(m){case"ascii":case"latin1":case"binary":return Q;case"utf8":case"utf-8":return xe(F).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Q*2;case"hex":return Q>>>1;case"base64":case"base64url":return De(F).length;default:if(W)return L?-1:xe(F).length;m=(""+m).toLowerCase(),W=!0}}a.byteLength=Y;function Z(F,m,Q){let L=!1;if((m===void 0||m<0)&&(m=0),m>this.length||((Q===void 0||Q>this.length)&&(Q=this.length),Q<=0)||(Q>>>=0,m>>>=0,Q<=m))return"";for(F||(F="utf8");;)switch(F){case"hex":return D(this,m,Q);case"utf8":case"utf-8":return g(this,m,Q);case"ascii":return C(this,m,Q);case"latin1":case"binary":return h(this,m,Q);case"base64":return b(this,m,Q);case"base64url":return c(this,m,Q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,m,Q);default:if(L)throw new TypeError("Unknown encoding: "+F);F=(F+"").toLowerCase(),L=!0}}a.prototype._isBuffer=!0;function ee(F,m,Q){let L=F[m];F[m]=F[Q],F[Q]=L}a.prototype.swap16=function(){let m=this.length;if(m%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Q=0;Q<m;Q+=2)ee(this,Q,Q+1);return this},a.prototype.swap32=function(){let m=this.length;if(m%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let Q=0;Q<m;Q+=4)ee(this,Q,Q+3),ee(this,Q+1,Q+2);return this},a.prototype.swap64=function(){let m=this.length;if(m%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let Q=0;Q<m;Q+=8)ee(this,Q,Q+7),ee(this,Q+1,Q+6),ee(this,Q+2,Q+5),ee(this,Q+3,Q+4);return this},a.prototype.toString=function(){let m=this.length;return m===0?"":arguments.length===0?g(this,0,m):Z.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(m){if(!a.isBuffer(m))throw new TypeError("Argument must be a Buffer");return this===m?!0:a.compare(this,m)===0},a.prototype.inspect=function(){let m="",Q=e.INSPECT_MAX_BYTES;return m=this.toString("hex",0,Q).replace(/(.{2})/g,"$1 ").trim(),this.length>Q&&(m+=" ... "),"<Buffer "+m+">"},n&&(a.prototype[n]=a.prototype.inspect),a.prototype.compare=function(m,Q,L,W,z){if(Re(m,Uint8Array)&&(m=a.from(m,m.offset,m.byteLength)),!a.isBuffer(m))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof m);if(Q===void 0&&(Q=0),L===void 0&&(L=m?m.length:0),W===void 0&&(W=0),z===void 0&&(z=this.length),Q<0||L>m.length||W<0||z>this.length)throw new RangeError("out of range index");if(W>=z&&Q>=L)return 0;if(W>=z)return-1;if(Q>=L)return 1;if(Q>>>=0,L>>>=0,W>>>=0,z>>>=0,this===m)return 0;let ae=z-W,le=L-Q,ye=Math.min(ae,le),Ct=this.slice(W,z),Ee=m.slice(Q,L);for(let ge=0;ge<ye;++ge)if(Ct[ge]!==Ee[ge]){ae=Ct[ge],le=Ee[ge];break}return ae<le?-1:le<ae?1:0};function j(F,m,Q,L,W){if(F.length===0)return-1;if(typeof Q=="string"?(L=Q,Q=0):Q>2147483647?Q=2147483647:Q<-2147483648&&(Q=-2147483648),Q=+Q,He(Q)&&(Q=W?0:F.length-1),Q<0&&(Q=F.length+Q),Q>=F.length){if(W)return-1;Q=F.length-1}else if(Q<0)if(W)Q=0;else return-1;if(typeof m=="string"&&(m=a.from(m,L)),a.isBuffer(m))return m.length===0?-1:se(F,m,Q,L,W);if(typeof m=="number")return m=m&255,typeof Uint8Array.prototype.indexOf=="function"?W?Uint8Array.prototype.indexOf.call(F,m,Q):Uint8Array.prototype.lastIndexOf.call(F,m,Q):se(F,[m],Q,L,W);throw new TypeError("val must be string, number or Buffer")}function se(F,m,Q,L,W){let z=1,ae=F.length,le=m.length;if(L!==void 0&&(L=String(L).toLowerCase(),L==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(F.length<2||m.length<2)return-1;z=2,ae/=2,le/=2,Q/=2}function ye(Ee,ge){return z===1?Ee[ge]:Ee.readUInt16BE(ge*z)}let Ct;if(W){let Ee=-1;for(Ct=Q;Ct<ae;Ct++)if(ye(F,Ct)===ye(m,Ee===-1?0:Ct-Ee)){if(Ee===-1&&(Ee=Ct),Ct-Ee+1===le)return Ee*z}else Ee!==-1&&(Ct-=Ct-Ee),Ee=-1}else for(Q+le>ae&&(Q=ae-le),Ct=Q;Ct>=0;Ct--){let Ee=!0;for(let ge=0;ge<le;ge++)if(ye(F,Ct+ge)!==ye(m,ge)){Ee=!1;break}if(Ee)return Ct}return-1}a.prototype.includes=function(m,Q,L){return this.indexOf(m,Q,L)!==-1},a.prototype.indexOf=function(m,Q,L){return j(this,m,Q,L,!0)},a.prototype.lastIndexOf=function(m,Q,L){return j(this,m,Q,L,!1)};function ie(F,m,Q,L){Q=Number(Q)||0;let W=F.length-Q;L?(L=Number(L),L>W&&(L=W)):L=W;let z=m.length;L>z/2&&(L=z/2);let ae;for(ae=0;ae<L;++ae){let le=parseInt(m.substr(ae*2,2),16);if(He(le))return ae;F[Q+ae]=le}return ae}function ce(F,m,Q,L){return en(xe(m,F.length-Q),F,Q,L)}function H(F,m,Q,L){return en(ks(m),F,Q,L)}function E(F,m,Q,L){return en(De(m),F,Q,L)}function R(F,m,Q,L){return en(Te(m,F.length-Q),F,Q,L)}a.prototype.write=function(m,Q,L,W){if(Q===void 0)W="utf8",L=this.length,Q=0;else if(L===void 0&&typeof Q=="string")W=Q,L=this.length,Q=0;else if(isFinite(Q))Q=Q>>>0,isFinite(L)?(L=L>>>0,W===void 0&&(W="utf8")):(W=L,L=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let z=this.length-Q;if((L===void 0||L>z)&&(L=z),m.length>0&&(L<0||Q<0)||Q>this.length)throw new RangeError("Attempt to write outside buffer bounds");W||(W="utf8");let ae=!1;for(;;)switch(W){case"hex":return ie(this,m,Q,L);case"utf8":case"utf-8":return ce(this,m,Q,L);case"ascii":case"latin1":case"binary":return H(this,m,Q,L);case"base64":case"base64url":return E(this,m,Q,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,m,Q,L);default:if(ae)throw new TypeError("Unknown encoding: "+W);W=(""+W).toLowerCase(),ae=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function b(F,m,Q){return m===0&&Q===F.length?t.fromByteArray(F):t.fromByteArray(F.slice(m,Q))}function c(F,m,Q){return b(F,m,Q).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,"")}function g(F,m,Q){Q=Math.min(F.length,Q);let L=[],W=m;for(;W<Q;){let z=F[W],ae=null,le=z>239?4:z>223?3:z>191?2:1;if(W+le<=Q){let ye,Ct,Ee,ge;switch(le){case 1:z<128&&(ae=z);break;case 2:ye=F[W+1],(ye&192)===128&&(ge=(z&31)<<6|ye&63,ge>127&&(ae=ge));break;case 3:ye=F[W+1],Ct=F[W+2],(ye&192)===128&&(Ct&192)===128&&(ge=(z&15)<<12|(ye&63)<<6|Ct&63,ge>2047&&(ge<55296||ge>57343)&&(ae=ge));break;case 4:ye=F[W+1],Ct=F[W+2],Ee=F[W+3],(ye&192)===128&&(Ct&192)===128&&(Ee&192)===128&&(ge=(z&15)<<18|(ye&63)<<12|(Ct&63)<<6|Ee&63,ge>65535&&ge<1114112&&(ae=ge))}}ae===null?(ae=65533,le=1):ae>65535&&(ae-=65536,L.push(ae>>>10&1023|55296),ae=56320|ae&1023),L.push(ae),W+=le}return v(L)}var w=4096;function v(F){let m=F.length;if(m<=w)return String.fromCharCode.apply(String,F);let Q="",L=0;for(;L<m;)Q+=String.fromCharCode.apply(String,F.slice(L,L+=w));return Q}function C(F,m,Q){let L="";Q=Math.min(F.length,Q);for(let W=m;W<Q;++W)L+=String.fromCharCode(F[W]&127);return L}function h(F,m,Q){let L="";Q=Math.min(F.length,Q);for(let W=m;W<Q;++W)L+=String.fromCharCode(F[W]);return L}function D(F,m,Q){let L=F.length;(!m||m<0)&&(m=0),(!Q||Q<0||Q>L)&&(Q=L);let W="";for(let z=m;z<Q;++z)W+=ai[F[z]];return W}function M(F,m,Q){let L=F.slice(m,Q),W="";for(let z=0;z<L.length-1;z+=2)W+=String.fromCharCode(L[z]+L[z+1]*256);return W}a.prototype.slice=function(m,Q){let L=this.length;m=~~m,Q=Q===void 0?L:~~Q,m<0?(m+=L,m<0&&(m=0)):m>L&&(m=L),Q<0?(Q+=L,Q<0&&(Q=0)):Q>L&&(Q=L),Q<m&&(Q=m);let W=this.subarray(m,Q);return Object.setPrototypeOf(W,a.prototype),W};function I(F,m,Q){if(F%1!==0||F<0)throw new RangeError("offset is not uint");if(F+m>Q)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(m,Q,L){m=m>>>0,Q=Q>>>0,L||I(m,Q,this.length);let W=this[m],z=1,ae=0;for(;++ae<Q&&(z*=256);)W+=this[m+ae]*z;return W},a.prototype.readUintBE=a.prototype.readUIntBE=function(m,Q,L){m=m>>>0,Q=Q>>>0,L||I(m,Q,this.length);let W=this[m+--Q],z=1;for(;Q>0&&(z*=256);)W+=this[m+--Q]*z;return W},a.prototype.readUint8=a.prototype.readUInt8=function(m,Q){return m=m>>>0,Q||I(m,1,this.length),this[m]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(m,Q){return m=m>>>0,Q||I(m,2,this.length),this[m]|this[m+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(m,Q){return m=m>>>0,Q||I(m,2,this.length),this[m]<<8|this[m+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(m,Q){return m=m>>>0,Q||I(m,4,this.length),(this[m]|this[m+1]<<8|this[m+2]<<16)+this[m+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(m,Q){return m=m>>>0,Q||I(m,4,this.length),this[m]*16777216+(this[m+1]<<16|this[m+2]<<8|this[m+3])},a.prototype.readBigUInt64LE=Ne(function(m){m=m>>>0,we(m,"offset");let Q=this[m],L=this[m+7];(Q===void 0||L===void 0)&&ve(m,this.length-8);let W=Q+this[++m]*2**8+this[++m]*2**16+this[++m]*2**24,z=this[++m]+this[++m]*2**8+this[++m]*2**16+L*2**24;return BigInt(W)+(BigInt(z)<<BigInt(32))}),a.prototype.readBigUInt64BE=Ne(function(m){m=m>>>0,we(m,"offset");let Q=this[m],L=this[m+7];(Q===void 0||L===void 0)&&ve(m,this.length-8);let W=Q*2**24+this[++m]*2**16+this[++m]*2**8+this[++m],z=this[++m]*2**24+this[++m]*2**16+this[++m]*2**8+L;return(BigInt(W)<<BigInt(32))+BigInt(z)}),a.prototype.readIntLE=function(m,Q,L){m=m>>>0,Q=Q>>>0,L||I(m,Q,this.length);let W=this[m],z=1,ae=0;for(;++ae<Q&&(z*=256);)W+=this[m+ae]*z;return z*=128,W>=z&&(W-=Math.pow(2,8*Q)),W},a.prototype.readIntBE=function(m,Q,L){m=m>>>0,Q=Q>>>0,L||I(m,Q,this.length);let W=Q,z=1,ae=this[m+--W];for(;W>0&&(z*=256);)ae+=this[m+--W]*z;return z*=128,ae>=z&&(ae-=Math.pow(2,8*Q)),ae},a.prototype.readInt8=function(m,Q){return m=m>>>0,Q||I(m,1,this.length),this[m]&128?(255-this[m]+1)*-1:this[m]},a.prototype.readInt16LE=function(m,Q){m=m>>>0,Q||I(m,2,this.length);let L=this[m]|this[m+1]<<8;return L&32768?L|4294901760:L},a.prototype.readInt16BE=function(m,Q){m=m>>>0,Q||I(m,2,this.length);let L=this[m+1]|this[m]<<8;return L&32768?L|4294901760:L},a.prototype.readInt32LE=function(m,Q){return m=m>>>0,Q||I(m,4,this.length),this[m]|this[m+1]<<8|this[m+2]<<16|this[m+3]<<24},a.prototype.readInt32BE=function(m,Q){return m=m>>>0,Q||I(m,4,this.length),this[m]<<24|this[m+1]<<16|this[m+2]<<8|this[m+3]},a.prototype.readBigInt64LE=Ne(function(m){m=m>>>0,we(m,"offset");let Q=this[m],L=this[m+7];(Q===void 0||L===void 0)&&ve(m,this.length-8);let W=this[m+4]+this[m+5]*2**8+this[m+6]*2**16+(L<<24);return(BigInt(W)<<BigInt(32))+BigInt(Q+this[++m]*2**8+this[++m]*2**16+this[++m]*2**24)}),a.prototype.readBigInt64BE=Ne(function(m){m=m>>>0,we(m,"offset");let Q=this[m],L=this[m+7];(Q===void 0||L===void 0)&&ve(m,this.length-8);let W=(Q<<24)+this[++m]*2**16+this[++m]*2**8+this[++m];return(BigInt(W)<<BigInt(32))+BigInt(this[++m]*2**24+this[++m]*2**16+this[++m]*2**8+L)}),a.prototype.readFloatLE=function(m,Q){return m=m>>>0,Q||I(m,4,this.length),r.read(this,m,!0,23,4)},a.prototype.readFloatBE=function(m,Q){return m=m>>>0,Q||I(m,4,this.length),r.read(this,m,!1,23,4)},a.prototype.readDoubleLE=function(m,Q){return m=m>>>0,Q||I(m,8,this.length),r.read(this,m,!0,52,8)},a.prototype.readDoubleBE=function(m,Q){return m=m>>>0,Q||I(m,8,this.length),r.read(this,m,!1,52,8)};function k(F,m,Q,L,W,z){if(!a.isBuffer(F))throw new TypeError('"buffer" argument must be a Buffer instance');if(m>W||m<z)throw new RangeError('"value" argument is out of bounds');if(Q+L>F.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(m,Q,L,W){if(m=+m,Q=Q>>>0,L=L>>>0,!W){let le=Math.pow(2,8*L)-1;k(this,m,Q,L,le,0)}let z=1,ae=0;for(this[Q]=m&255;++ae<L&&(z*=256);)this[Q+ae]=m/z&255;return Q+L},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(m,Q,L,W){if(m=+m,Q=Q>>>0,L=L>>>0,!W){let le=Math.pow(2,8*L)-1;k(this,m,Q,L,le,0)}let z=L-1,ae=1;for(this[Q+z]=m&255;--z>=0&&(ae*=256);)this[Q+z]=m/ae&255;return Q+L},a.prototype.writeUint8=a.prototype.writeUInt8=function(m,Q,L){return m=+m,Q=Q>>>0,L||k(this,m,Q,1,255,0),this[Q]=m&255,Q+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(m,Q,L){return m=+m,Q=Q>>>0,L||k(this,m,Q,2,65535,0),this[Q]=m&255,this[Q+1]=m>>>8,Q+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(m,Q,L){return m=+m,Q=Q>>>0,L||k(this,m,Q,2,65535,0),this[Q]=m>>>8,this[Q+1]=m&255,Q+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(m,Q,L){return m=+m,Q=Q>>>0,L||k(this,m,Q,4,4294967295,0),this[Q+3]=m>>>24,this[Q+2]=m>>>16,this[Q+1]=m>>>8,this[Q]=m&255,Q+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(m,Q,L){return m=+m,Q=Q>>>0,L||k(this,m,Q,4,4294967295,0),this[Q]=m>>>24,this[Q+1]=m>>>16,this[Q+2]=m>>>8,this[Q+3]=m&255,Q+4};function ne(F,m,Q,L,W){yr(m,L,W,F,Q,7);let z=Number(m&BigInt(4294967295));F[Q++]=z,z=z>>8,F[Q++]=z,z=z>>8,F[Q++]=z,z=z>>8,F[Q++]=z;let ae=Number(m>>BigInt(32)&BigInt(4294967295));return F[Q++]=ae,ae=ae>>8,F[Q++]=ae,ae=ae>>8,F[Q++]=ae,ae=ae>>8,F[Q++]=ae,Q}function Ae(F,m,Q,L,W){yr(m,L,W,F,Q,7);let z=Number(m&BigInt(4294967295));F[Q+7]=z,z=z>>8,F[Q+6]=z,z=z>>8,F[Q+5]=z,z=z>>8,F[Q+4]=z;let ae=Number(m>>BigInt(32)&BigInt(4294967295));return F[Q+3]=ae,ae=ae>>8,F[Q+2]=ae,ae=ae>>8,F[Q+1]=ae,ae=ae>>8,F[Q]=ae,Q+8}a.prototype.writeBigUInt64LE=Ne(function(m,Q=0){return ne(this,m,Q,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=Ne(function(m,Q=0){return Ae(this,m,Q,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(m,Q,L,W){if(m=+m,Q=Q>>>0,!W){let ye=Math.pow(2,8*L-1);k(this,m,Q,L,ye-1,-ye)}let z=0,ae=1,le=0;for(this[Q]=m&255;++z<L&&(ae*=256);)m<0&&le===0&&this[Q+z-1]!==0&&(le=1),this[Q+z]=(m/ae>>0)-le&255;return Q+L},a.prototype.writeIntBE=function(m,Q,L,W){if(m=+m,Q=Q>>>0,!W){let ye=Math.pow(2,8*L-1);k(this,m,Q,L,ye-1,-ye)}let z=L-1,ae=1,le=0;for(this[Q+z]=m&255;--z>=0&&(ae*=256);)m<0&&le===0&&this[Q+z+1]!==0&&(le=1),this[Q+z]=(m/ae>>0)-le&255;return Q+L},a.prototype.writeInt8=function(m,Q,L){return m=+m,Q=Q>>>0,L||k(this,m,Q,1,127,-128),m<0&&(m=255+m+1),this[Q]=m&255,Q+1},a.prototype.writeInt16LE=function(m,Q,L){return m=+m,Q=Q>>>0,L||k(this,m,Q,2,32767,-32768),this[Q]=m&255,this[Q+1]=m>>>8,Q+2},a.prototype.writeInt16BE=function(m,Q,L){return m=+m,Q=Q>>>0,L||k(this,m,Q,2,32767,-32768),this[Q]=m>>>8,this[Q+1]=m&255,Q+2},a.prototype.writeInt32LE=function(m,Q,L){return m=+m,Q=Q>>>0,L||k(this,m,Q,4,2147483647,-2147483648),this[Q]=m&255,this[Q+1]=m>>>8,this[Q+2]=m>>>16,this[Q+3]=m>>>24,Q+4},a.prototype.writeInt32BE=function(m,Q,L){return m=+m,Q=Q>>>0,L||k(this,m,Q,4,2147483647,-2147483648),m<0&&(m=4294967295+m+1),this[Q]=m>>>24,this[Q+1]=m>>>16,this[Q+2]=m>>>8,this[Q+3]=m&255,Q+4},a.prototype.writeBigInt64LE=Ne(function(m,Q=0){return ne(this,m,Q,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=Ne(function(m,Q=0){return Ae(this,m,Q,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ue(F,m,Q,L,W,z){if(Q+L>F.length)throw new RangeError("Index out of range");if(Q<0)throw new RangeError("Index out of range")}function pe(F,m,Q,L,W){return m=+m,Q=Q>>>0,W||ue(F,m,Q,4,34028234663852886e22,-34028234663852886e22),r.write(F,m,Q,L,23,4),Q+4}a.prototype.writeFloatLE=function(m,Q,L){return pe(this,m,Q,!0,L)},a.prototype.writeFloatBE=function(m,Q,L){return pe(this,m,Q,!1,L)};function he(F,m,Q,L,W){return m=+m,Q=Q>>>0,W||ue(F,m,Q,8,17976931348623157e292,-17976931348623157e292),r.write(F,m,Q,L,52,8),Q+8}a.prototype.writeDoubleLE=function(m,Q,L){return he(this,m,Q,!0,L)},a.prototype.writeDoubleBE=function(m,Q,L){return he(this,m,Q,!1,L)},a.prototype.copy=function(m,Q,L,W){if(!a.isBuffer(m))throw new TypeError("argument should be a Buffer");if(L||(L=0),!W&&W!==0&&(W=this.length),Q>=m.length&&(Q=m.length),Q||(Q=0),W>0&&W<L&&(W=L),W===L||m.length===0||this.length===0)return 0;if(Q<0)throw new RangeError("targetStart out of bounds");if(L<0||L>=this.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("sourceEnd out of bounds");W>this.length&&(W=this.length),m.length-Q<W-L&&(W=m.length-Q+L);let z=W-L;return this===m&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(Q,L,W):Uint8Array.prototype.set.call(m,this.subarray(L,W),Q),z},a.prototype.fill=function(m,Q,L,W){if(typeof m=="string"){if(typeof Q=="string"?(W=Q,Q=0,L=this.length):typeof L=="string"&&(W=L,L=this.length),W!==void 0&&typeof W!="string")throw new TypeError("encoding must be a string");if(typeof W=="string"&&!a.isEncoding(W))throw new TypeError("Unknown encoding: "+W);if(m.length===1){let ae=m.charCodeAt(0);(W==="utf8"&&ae<128||W==="latin1")&&(m=ae)}}else typeof m=="number"?m=m&255:typeof m=="boolean"&&(m=Number(m));if(Q<0||this.length<Q||this.length<L)throw new RangeError("Out of range index");if(L<=Q)return this;Q=Q>>>0,L=L===void 0?this.length:L>>>0,m||(m=0);let z;if(typeof m=="number")for(z=Q;z<L;++z)this[z]=m;else{let ae=a.isBuffer(m)?m:a.from(m,W),le=ae.length;if(le===0)throw new TypeError('The value "'+m+'" is invalid for argument "value"');for(z=0;z<L-Q;++z)this[z+Q]=ae[z%le]}return this};var de={};function wt(F,m,Q){de[F]=class extends Q{constructor(){super(),Object.defineProperty(this,"message",{value:m.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${F}]`,this.stack,delete this.name}get code(){return F}set code(W){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:W,writable:!0})}toString(){return`${this.name} [${F}]: ${this.message}`}}}wt("ERR_BUFFER_OUT_OF_BOUNDS",function(F){return F?`${F} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),wt("ERR_INVALID_ARG_TYPE",function(F,m){return`The "${F}" argument must be of type number. Received type ${typeof m}`},TypeError),wt("ERR_OUT_OF_RANGE",function(F,m,Q){let L=`The value of "${F}" is out of range.`,W=Q;return Number.isInteger(Q)&&Math.abs(Q)>2**32?W=Ie(String(Q)):typeof Q=="bigint"&&(W=String(Q),(Q>BigInt(2)**BigInt(32)||Q<-(BigInt(2)**BigInt(32)))&&(W=Ie(W)),W+="n"),L+=` It must be ${m}. Received ${W}`,L},RangeError);function Ie(F){let m="",Q=F.length,L=F[0]==="-"?1:0;for(;Q>=L+4;Q-=3)m=`_${F.slice(Q-3,Q)}${m}`;return`${F.slice(0,Q)}${m}`}function be(F,m,Q){we(m,"offset"),(F[m]===void 0||F[m+Q]===void 0)&&ve(m,F.length-(Q+1))}function yr(F,m,Q,L,W,z){if(F>Q||F<m){let ae=typeof m=="bigint"?"n":"",le;throw z>3?m===0||m===BigInt(0)?le=`>= 0${ae} and < 2${ae} ** ${(z+1)*8}${ae}`:le=`>= -(2${ae} ** ${(z+1)*8-1}${ae}) and < 2 ** ${(z+1)*8-1}${ae}`:le=`>= ${m}${ae} and <= ${Q}${ae}`,new de.ERR_OUT_OF_RANGE("value",le,F)}be(L,W,z)}function we(F,m){if(typeof F!="number")throw new de.ERR_INVALID_ARG_TYPE(m,"number",F)}function ve(F,m,Q){throw Math.floor(F)!==F?(we(F,Q),new de.ERR_OUT_OF_RANGE(Q||"offset","an integer",F)):m<0?new de.ERR_BUFFER_OUT_OF_BOUNDS:new de.ERR_OUT_OF_RANGE(Q||"offset",`>= ${Q?1:0} and <= ${m}`,F)}var Fs=/[^+/0-9A-Za-z-_]/g;function Ye(F){if(F=F.split("=")[0],F=F.trim().replace(Fs,""),F.length<2)return"";for(;F.length%4!==0;)F=F+"=";return F}function xe(F,m){m=m||1/0;let Q,L=F.length,W=null,z=[];for(let ae=0;ae<L;++ae){if(Q=F.charCodeAt(ae),Q>55295&&Q<57344){if(!W){if(Q>56319){(m-=3)>-1&&z.push(239,191,189);continue}else if(ae+1===L){(m-=3)>-1&&z.push(239,191,189);continue}W=Q;continue}if(Q<56320){(m-=3)>-1&&z.push(239,191,189),W=Q;continue}Q=(W-55296<<10|Q-56320)+65536}else W&&(m-=3)>-1&&z.push(239,191,189);if(W=null,Q<128){if((m-=1)<0)break;z.push(Q)}else if(Q<2048){if((m-=2)<0)break;z.push(Q>>6|192,Q&63|128)}else if(Q<65536){if((m-=3)<0)break;z.push(Q>>12|224,Q>>6&63|128,Q&63|128)}else if(Q<1114112){if((m-=4)<0)break;z.push(Q>>18|240,Q>>12&63|128,Q>>6&63|128,Q&63|128)}else throw new Error("Invalid code point")}return z}function ks(F){let m=[];for(let Q=0;Q<F.length;++Q)m.push(F.charCodeAt(Q)&255);return m}function Te(F,m){let Q,L,W,z=[];for(let ae=0;ae<F.length&&!((m-=2)<0);++ae)Q=F.charCodeAt(ae),L=Q>>8,W=Q%256,z.push(W),z.push(L);return z}function De(F){return t.toByteArray(Ye(F))}function en(F,m,Q,L){let W;for(W=0;W<L&&!(W+Q>=m.length||W>=F.length);++W)m[W+Q]=F[W];return W}function Re(F,m){return F instanceof m||F!=null&&F.constructor!=null&&F.constructor.name!=null&&F.constructor.name===m.name}function He(F){return F!==F}var ai=(function(){let F="0123456789abcdef",m=new Array(256);for(let Q=0;Q<16;++Q){let L=Q*16;for(let W=0;W<16;++W)m[L+W]=F[Q]+F[W]}return m})();function Ne(F){return typeof BigInt>"u"?je:F}function je(){throw new Error("BigInt not supported")}}}),bB=q2(G2(),1),Vl=typeof bB.Buffer.kMaxLength=="number"?bB.Buffer.kMaxLength:2147483647,A0=typeof bB.Buffer.kStringMaxLength=="number"?bB.Buffer.kStringMaxLength:536870888,FY=Object.freeze({MAX_LENGTH:Vl,MAX_STRING_LENGTH:A0}),kY=Symbol("events.errorMonitor"),OA=10;function f0(e,t,r){return t==="newListener"&&r[0]==="newListener"||t==="removeListener"&&r[0]==="removeListener"?!1:O1(e,t,r)}function u0(e,t){GA(e);let r=e._events[t];return Array.isArray(r)?r.slice():[]}function c0(e,t,r,n=!1){GA(e);let i=e._events[t];if(!Array.isArray(i)||i.length===0)return e;let s=null,o=i.slice();for(let a=o.length-1;a>=0;a-=1){let A=o[a];if(!(A.listener!==r&&A.rawListener!==r)&&!(n&&!A.once)){s=A,o.splice(a,1);break}}return s===null||(o.length===0?delete e._events[t]:e._events[t]=o,f0(e,"removeListener",[t,s.listener])),e}function oG(e,t){let r=String(t),n=u0(e,r);for(let i=n.length-1;i>=0;i-=1)c0(e,r,n[i].listener);return e}function O1(e,t,r){let n=u0(e,t);if(n.length===0)return!1;for(let i of n){i.once&&c0(e,t,i.listener,!0);try{i.listener.apply(e,r)}catch(s){let o=Kl(s);if(!o.handled&&o.rethrow!==null)throw o.rethrow;return!0}}return!0}function Y2(e,t){return u0(e,t).length}function W2(e,t){return u0(e,t).map(r=>r.listener)}function LQe(e,t){return u0(e,t).map(r=>r.rawListener??r.listener)}function xY(e,t,r){function n(...i){return c0(e,t,n,!0),r.apply(e,i)}return Object.defineProperty(n,"listener",{value:r,configurable:!0,enumerable:!1,writable:!1}),n}function UY(e){return e&&typeof e.getMaxListeners=="function"?e.getMaxListeners():OA}function LY(e,...t){for(let r of t)r&&typeof r.setMaxListeners=="function"&&r.setMaxListeners(e)}function PQe(e,t){if(!e||typeof e.addEventListener!="function")throw new TypeError("AbortSignal is required");let r=()=>t();return e.aborted?(queueMicrotask(r),{dispose(){}}):(e.addEventListener("abort",r,{once:!0}),{dispose(){e.removeEventListener("abort",r)}})}function PY(e,t){return new Promise((r,n)=>{let i=(...o)=>{typeof e.removeListener=="function"&&e.removeListener("error",s),r(o)},s=o=>{typeof e.removeListener=="function"&&e.removeListener(t,i),n(o)};e.once(t,i),t!=="error"&&typeof e.once=="function"&&e.once("error",s)})}function OY(e){e._events=Object.create(null),e._maxListeners=OA,e._maxListenersWarned=new Set}function GA(e){if(!(!e||typeof e!="object"&&typeof e!="function")){if(typeof e._events>"u"){OY(e);return}e._maxListenersWarned instanceof Set||(e._maxListenersWarned=new Set),typeof e._maxListeners!="number"&&(e._maxListeners=OA)}}function OQe(e,t,r){let n=Number.isFinite(e._maxListeners)?e._maxListeners:OA,i=new Error(`Possible EventEmitter memory leak detected. ${r} ${t} listeners added to [EventEmitter]. MaxListeners is ${n}. Use emitter.setMaxListeners() to increase limit`);return i.name="MaxListenersExceededWarning",i.emitter=e,i.type=t,i.count=r,i}function HQe(e,t,r){if(GA(e),e._maxListenersWarned instanceof Set||(e._maxListenersWarned=new Set),e._maxListeners<=0||e._maxListenersWarned.has(t)||r<=e._maxListeners)return;e._maxListenersWarned.add(t);let n=OQe(e,t,r);if(Qe&&typeof Qe.emitWarning=="function"){Qe.emitWarning(n);return}typeof _error<"u"&&_error.applySync(void 0,[`${n.name}: ${n.message}`])}function XB(e,t,r,n=!1){GA(e);let i=e._events[t]??[];n?i.unshift(r):i.push(r),e._events[t]=i,HQe(e,t,i.length)}function Xt(){if(!this||typeof this!="object"&&typeof this!="function")return new Xt;OY(this)}Xt.prototype.addListener=function(e,t){return this.on(e,t)};Xt.prototype.on=function(e,t){if(typeof t!="function")throw new TypeError("listener must be a function");let r=String(e);return f0(this,"newListener",[r,t]),XB(this,r,{listener:t,once:!1}),this};Xt.prototype.once=function(e,t){if(typeof t!="function")throw new TypeError("listener must be a function");let r=String(e);return f0(this,"newListener",[r,t]),XB(this,r,{listener:t,rawListener:xY(this,r,t),once:!0}),this};Xt.prototype.prependListener=function(e,t){if(typeof t!="function")throw new TypeError("listener must be a function");let r=String(e);return f0(this,"newListener",[r,t]),XB(this,r,{listener:t,once:!1},!0),this};Xt.prototype.prependOnceListener=function(e,t){if(typeof t!="function")throw new TypeError("listener must be a function");let r=String(e);return f0(this,"newListener",[r,t]),XB(this,r,{listener:t,rawListener:xY(this,r,t),once:!0},!0),this};Xt.prototype.removeListener=function(e,t){return c0(this,String(e),t)};Xt.prototype.off=function(e,t){return c0(this,String(e),t)};Xt.prototype.removeAllListeners=function(e){if(GA(this),typeof e>"u"){for(let t of Object.keys(this._events))t!=="removeListener"&&oG(this,t);delete this._events.removeListener}else oG(this,String(e));return this};Xt.prototype.emit=function(e,...t){let r=String(e);if(r==="error"&&Y2(this,r)===0)throw t[0]instanceof Error?t[0]:new Error(String(t[0]??"Unhandled error event"));let n=O1(this,r,t);return r==="error"&&(n=O1(this,String(kY),t)||n),n};Xt.prototype.listeners=function(e){return W2(this,String(e))};Xt.prototype.rawListeners=function(e){return LQe(this,String(e))};Xt.prototype.listenerCount=function(e){return Y2(this,String(e))};Xt.prototype.eventNames=function(){return GA(this),Object.keys(this._events)};Xt.prototype.setMaxListeners=function(e){return GA(this),this._maxListeners=Number(e),this};Xt.prototype.getMaxListeners=function(){return GA(this),Number.isFinite(this._maxListeners)?this._maxListeners:OA};Xt.once=PY;Xt.on=function(t,r,n){let i=n&&n.signal;if(i&&i.aborted)throw i.reason??new Error("The operation was aborted");let s=(N,P)=>(t.off??t.removeListener).call(t,N,P),o=[],a=[],A=null,f=!1,l=()=>{s(r,B),s("error",S),i&&i.removeEventListener&&i.removeEventListener("abort",_)},p={next(){let N=o.shift();if(N!==void 0)return Promise.resolve({value:N,done:!1});if(A){let P=A;return A=null,l(),Promise.reject(P)}return f?Promise.resolve({value:void 0,done:!0}):new Promise((P,U)=>a.push({resolve:P,reject:U}))},return(){f=!0,l();for(let N of a)N.resolve({value:void 0,done:!0});return a.length=0,Promise.resolve({value:void 0,done:!0})},throw(N){return A=N,l(),Promise.reject(N)},[Symbol.asyncIterator](){return this}};function B(...N){let P=a.shift();P?P.resolve({value:N,done:!1}):o.push(N)}function S(N){let P=a.shift();P?(l(),P.reject(N)):A=N}function _(){p.return()}return t.on(r,B),t.on("error",S),i&&i.addEventListener&&i.addEventListener("abort",_,{once:!0}),p};Xt.addAbortListener=function(t,r){return t&&t.aborted?queueMicrotask(()=>r(typeof Pl=="function"?new Pl("abort"):{type:"abort"})):t&&t.addEventListener&&t.addEventListener("abort",r,{once:!0}),{[Symbol.dispose](){t&&t.removeEventListener&&t.removeEventListener("abort",r)}}};Xt.getEventListeners=W2;Xt.getMaxListeners=UY;Xt.setMaxListeners=LY;Object.defineProperty(Xt,"defaultMaxListeners",{get(){return OA},set(e){OA=Number(e)}});var vl={addAbortListener:PQe,defaultMaxListeners:OA,errorMonitor:kY,EventEmitter:Xt,getEventListeners:W2,getMaxListeners:UY,listenerCount:Y2,once:PY,setMaxListeners:LY};Ge("_eventsModule",vl);var _e=q2(G2(),1),Cu=_e.Buffer;typeof Cu.kMaxLength!="number"&&(Cu.kMaxLength=Vl);typeof Cu.kStringMaxLength!="number"&&(Cu.kStringMaxLength=A0);(typeof Cu.constants!="object"||Cu.constants===null)&&(Cu.constants={MAX_LENGTH:Vl,MAX_STRING_LENGTH:A0});var Bg=_e.Buffer.prototype;if(typeof Bg.utf8Slice!="function"){let e=["utf8","latin1","ascii","hex","base64","ucs2","utf16le"];for(let t of e)typeof Bg[t+"Slice"]!="function"&&(Bg[t+"Slice"]=function(r,n){return this.toString(t,r,n)}),typeof Bg[t+"Write"]!="function"&&(Bg[t+"Write"]=function(r,n,i){return this.write(r,n??0,i??this.length-(n??0),t)})}var Ig=_e.Buffer;if(typeof Ig.allocUnsafe=="function"&&!Ig.allocUnsafe._secureExecPatched){let e=Ig.allocUnsafe;Ig.allocUnsafe=function(r){try{return e.call(this,r)}catch(n){throw n instanceof RangeError&&typeof r=="number"&&r>Vl?new Error("Array buffer allocation failed"):n}},Ig.allocUnsafe._secureExecPatched=!0}var HY=_e.Buffer,nB={scheduler:{wait(e=0,t=void 0){return nB.setTimeout(e,void 0,t)},yield(){return nB.setImmediate()}},setImmediate(e=void 0,t=void 0){return t?.signal?.aborted?Promise.reject(t.signal.reason??new Error("The operation was aborted")):new Promise((r,n)=>{let i=()=>n(t.signal.reason??new Error("The operation was aborted"));t?.signal?.addEventListener?.("abort",i,{once:!0}),globalThis.setImmediate?.(()=>{t?.signal?.removeEventListener?.("abort",i),r(e)})??globalThis.setTimeout?.(()=>{t?.signal?.removeEventListener?.("abort",i),r(e)},0)})},setInterval(e=1,t=void 0,r=void 0){let n=!0,i=r?.signal;return i?.aborted&&(n=!1),{[Symbol.asyncIterator](){return this},async next(){if(!n)return{done:!0,value:void 0};try{let s=await nB.setTimeout(e,t,{signal:i});return n?{done:!1,value:s}:{done:!0,value:void 0}}catch(s){throw n=!1,s}},async return(){return n=!1,{done:!0,value:void 0}}}},setTimeout(e=1,t=void 0,r=void 0){return r?.signal?.aborted?Promise.reject(r.signal.reason??new Error("The operation was aborted")):new Promise((n,i)=>{let s=globalThis.setTimeout?.(()=>{r?.signal?.removeEventListener?.("abort",o),n(t)},e??0),o=()=>{typeof globalThis.clearTimeout=="function"&&globalThis.clearTimeout(s),i(r.signal.reason??new Error("The operation was aborted"))};r?.signal?.addEventListener?.("abort",o,{once:!0})})}},qY=new Set;function Ua(){return Array.from(qY,e=>({storage:e,hasStore:e._hasStore===!0,store:e._store}))}function aG(e){for(let t of e)t.storage._hasStore=t.hasStore,t.storage._store=t.store}function ZB(e,t,r,n){if(typeof t!="function")return t;let i=Ua();aG(e);try{return t.apply(r,n)}finally{aG(i)}}function Ol(e,t){return typeof e!="function"?e:function(...r){try{return ZB(t,e,this,r)}catch(n){throw lI(n),n}}}var GY={AsyncLocalStorage:class{constructor(){this._hasStore=!1,this._store=void 0,qY.add(this)}disable(){this._hasStore=!1,this._store=void 0}enterWith(e){this._hasStore=!0,this._store=e}exit(e,...t){let r={hasStore:this._hasStore,store:this._store};this._hasStore=!1,this._store=void 0;let n=!0;try{let i=e(...t);return i&&typeof i.then=="function"?(n=!1,Promise.resolve(i).finally(()=>{this._hasStore=r.hasStore,this._store=r.store})):i}finally{n&&(this._hasStore=r.hasStore,this._store=r.store)}}getStore(){return this._hasStore?this._store:void 0}run(e,t,...r){let n={hasStore:this._hasStore,store:this._store};this._hasStore=!0,this._store=e;let i=!0;try{let s=t(...r);return s&&typeof s.then=="function"?(i=!1,Promise.resolve(s).finally(()=>{this._hasStore=n.hasStore,this._store=n.store})):s}finally{i&&(this._hasStore=n.hasStore,this._store=n.store)}}},AsyncResource:class{constructor(e="SecureExecAsyncResource"){this.type=e,this._asyncLocalStorageSnapshot=Ua()}emitBefore(){}emitAfter(){}emitDestroy(){}asyncId(){return 0}triggerAsyncId(){return 0}runInAsyncScope(e,t,...r){return ZB(this._asyncLocalStorageSnapshot,e,t,r)}},createHook(){return{enable(){return this},disable(){return this}}},executionAsyncId(){return 0},triggerAsyncId(){return 0}};if(!Promise.prototype.__agentOSAsyncLocalStoragePatched){let e=Promise.prototype.then;Promise.prototype.then=function(t,r){let n=Ua(),i=typeof r=="function"?s=>{if(lI(s))throw s;return r(s)}:r;return e.call(this,Ol(t,n),Ol(i,n))},Object.defineProperty(Promise.prototype,"__agentOSAsyncLocalStoragePatched",{value:!0,configurable:!0})}var V2={create:"kernelTimerCreate",arm:"kernelTimerArm",clear:"kernelTimerClear"};Ge("_asyncHooksModule",GY);var va=typeof queueMicrotask=="function"?queueMicrotask:function(e){Promise.resolve().then(e)};function YY(e){let t=Number(e??0);return!Number.isFinite(t)||t<=0?0:Math.floor(t)}function WY(e){if(e&&typeof e=="object"&&e._id!==void 0)return e._id;if(typeof e=="number")return e}function VY(e,t){try{return a0(V2.create,e,t)}catch(r){throw r instanceof Error&&r.message.includes("EAGAIN")?new Error("ERR_RESOURCE_BUDGET_EXCEEDED: maximum number of timers exceeded"):r}}function $B(e){a0(V2.arm,e)}var J2=class{constructor(e){y(this,"_id");y(this,"_destroyed");y(this,"_refed");this._id=e,this._destroyed=!1,this._refed=!0}ref(){return this._refed=!0,this}unref(){return this._refed=!1,this}hasRef(){return this._refed}refresh(){return!this._destroyed&&ka.has(this._id)&&$B(this._id),this}[Symbol.toPrimitive](){return this._id}},ka=new Map,Qu=new Map,qQe=-1,iB=[];function GQe(){if(typeof Ns<"u"&&Ns)return 0;let e=0;for(let t of ka.values())t.handle?.hasRef?.()!==!1&&(e+=1);return e}function JY(){return typeof Ns<"u"&&Ns?0:Qu.size}function j2(){return GQe()+JY()}function vu(){if(j2()===0&&iB.length>0){let e=iB;iB=[],e.forEach(t=>t())}}function YQe(){return j2()}function WQe(){return JY()}function VQe(){return j2()===0?Promise.resolve():new Promise(e=>{iB.push(e),vu()})}var sB=[],H1=!1;function JQe(){for(H1=!1;sB.length>0;){let e=sB.shift();if(!e)break;try{e.callback(...e.args)}catch(t){let r=Kl(t);!r.handled&&r.rethrow!==null&&(sB.length=0,YV(r.rethrow));return}}}function jQe(){if(H1)return;H1=!0;let e=Ua();va(()=>ZB(e,JQe,globalThis,[]))}function zQe(e,t){let r=typeof t=="number"?t:Number(t?.timerId);if(!Number.isFinite(r))return;let n=ka.get(r);if(n){n.repeat||(n.handle._destroyed=!0,ka.delete(r));try{n.callback(...n.args)}catch(i){let s=Kl(i);if(!s.handled&&s.rethrow!==null)throw s.rethrow;return}if(typeof Ns<"u"&&Ns){vu();return}n.repeat&&ka.has(r)&&$B(r),vu()}}function z2(e,t,...r){let n=Math.max(1,YY(t)),i=VY(n,!1),s=new J2(i),o=Ua();return ka.set(i,{handle:s,callback:Ol(e,o),args:r,repeat:!1}),$B(i),s}function eI(e){let t=WY(e);if(t===void 0)return;let r=ka.get(t);r&&(r.handle._destroyed=!0,ka.delete(t)),a0(V2.clear,t),vu()}function K2(e,t,...r){let n=Math.max(1,YY(t)),i=VY(n,!0),s=new J2(i),o=Ua();return ka.set(i,{handle:s,callback:Ol(e,o),args:r,repeat:!0}),$B(i),s}function X2(e){eI(e)}Ge("_timerDispatch",zQe);function KQe(){let e=Array.from(Qu.entries());for(let[t,r]of e)if(Qu.get(t)===r){r.handle._destroyed=!0,Qu.delete(t);try{r.callback(...r.args)}catch(n){let i=Kl(n);if(!i.handled&&i.rethrow!==null)throw i.rethrow;return}if(typeof Ns<"u"&&Ns){vu();return}}vu()}Ge("_getPendingTimerCount",YQe);Ge("_drainImmediates",KQe);Ge("_getPendingImmediateCount",WQe);Ge("_waitForTimerDrain",VQe);function CB(e,...t){let r=qQe--,n=new J2(r),i=Ua();return Qu.set(r,{handle:n,callback:Ol(e,i),args:t,repeat:!1}),n}function jY(e){let t=WY(e);if(t===void 0)return;let r=Qu.get(t);if(r){r.handle._destroyed=!0,Qu.delete(t),vu();return}t<0||eI(e)}var XQe={stdinIsTTY:!1,stdoutIsTTY:!1,stderrIsTTY:!1,cols:80,rows:24},Qo;function s1(e){if(typeof _kernelIsattyRaw>"u")throw new Error("_kernelIsattyRaw is unavailable");return _kernelIsattyRaw.applySync(void 0,[e])===!0}function ZQe(e){if(typeof _kernelTtySizeRaw>"u")throw new Error("_kernelTtySizeRaw is unavailable");let t=_kernelTtySizeRaw.applySync(void 0,[e]);if(!t||typeof t.cols!="number"||typeof t.rows!="number")throw new Error("_kernelTtySizeRaw returned an invalid size");return t}function Wg(){if(Qo)return Qo;if(typeof __runtimeTtyConfig<"u")return Qo=__runtimeTtyConfig,Qo;try{Qo={stdinIsTTY:s1(0),stdoutIsTTY:s1(1),stderrIsTTY:s1(2),cols:80,rows:24}}catch{return Qo=XQe,Qo}for(let e of[1,0])try{let t=ZQe(e);Qo.cols=t.cols,Qo.rows=t.rows;break}catch{}return Qo}function $Qe(){return Wg().stdoutIsTTY}function ewe(){return Wg().stderrIsTTY}function twe(e,t){if(typeof e=="function")return e;if(typeof t=="function")return t}function Wm(e,t,r,n){let i=e[r]?e[r].slice():[],s=t[r]?t[r].slice():[];s.length>0&&(t[r]=[]);for(let o of i)o(...n);for(let o of s)o(...n);return i.length+s.length>0}function zY(e){let t={},r={},n=(s,o)=>{if(t[s]){let a=t[s].indexOf(o);a!==-1&&t[s].splice(a,1)}if(r[s]){let a=r[s].indexOf(o);a!==-1&&r[s].splice(a,1)}},i={write(s,o,a){s instanceof Uint8Array||typeof _e.Buffer<"u"&&_e.Buffer.isBuffer(s)?e.write(s):e.write(String(s));let A=twe(o,a);return A&&va(()=>A(null)),!0},end(s,o,a){return typeof s=="function"?(a=s,s=void 0):typeof o=="function"&&(a=o),s!=null&&i.write(s),i.writableEnded=!0,typeof a=="function"&&va(()=>a()),va(()=>Wm(t,r,"finish",[])),i},destroyed:!1,destroy(s){return i.destroyed||(i.destroyed=!0,s&&va(()=>Wm(t,r,"error",[s])),va(()=>Wm(t,r,"close",[]))),i},cork(){},uncork(){},setDefaultEncoding(){return i},on(s,o){return t[s]||(t[s]=[]),t[s].push(o),i},once(s,o){return r[s]||(r[s]=[]),r[s].push(o),i},off(s,o){return n(s,o),i},removeListener(s,o){return n(s,o),i},addListener(s,o){return i.on(s,o)},emit(s,...o){return Wm(t,r,s,o)},writable:!0,get isTTY(){return e.isTTY()},get columns(){return Wg().cols},get rows(){return Wg().rows}};return i}var Z2=zY({write(e){typeof _log<"u"&&_log.applySync(void 0,[e])},isTTY:$Qe}),$2=zY({write(e){typeof _error<"u"&&_error.applySync(void 0,[e])},isTTY:ewe});function rwe(e){if(typeof e=="string")return e;if(typeof e=="bigint")return`${e}n`;if(e instanceof Error)return e.stack||e.message||String(e);if(typeof e=="object"&&e!==null)try{return JSON.stringify(e)}catch{}return String(e)}function q1(e){return typeof builtinUtilModule<"u"&&typeof builtinUtilModule?.formatWithOptions=="function"?builtinUtilModule.formatWithOptions({colors:!1},...e):e.map(t=>rwe(t)).join(" ")}function bl(e){return`${q1(e)}
`}var eR=class{constructor(e=Z2,t=$2){this._stdout=e,this._stderr=t,this._counts=new Map,this._times=new Map;for(let r of["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"])this[r]=this[r].bind(this)}log(...e){this._stdout.write(bl(e))}info(...e){this._stdout.write(bl(e))}debug(...e){this._stdout.write(bl(e))}warn(...e){this._stderr.write(bl(e))}error(...e){this._stderr.write(bl(e))}dir(e){this._stdout.write(bl([e]))}dirxml(...e){this.log(...e)}trace(...e){let t=q1(e),r=new Error(t);this._stderr.write(`${r.stack||t}
`)}assert(e,...t){if(!e){let r=t.length>0?q1(t):"Assertion failed";this._stderr.write(`${r}
`)}}clear(){}count(e="default"){let t=(this._counts.get(e)??0)+1;this._counts.set(e,t),this.log(`${e}: ${t}`)}countReset(e="default"){this._counts.delete(e)}group(...e){e.length>0&&this.log(...e)}groupCollapsed(...e){e.length>0&&this.log(...e)}groupEnd(){}table(e){this.log(e)}time(e="default"){this._times.set(e,Date.now())}timeEnd(e="default"){if(!this._times.has(e))return;let t=this._times.get(e);this._times.delete(e),this.log(`${e}: ${Date.now()-t}ms`)}timeLog(e="default",...t){if(!this._times.has(e))return;let r=this._times.get(e);this.log(`${e}: ${Date.now()-r}ms`,...t)}},ht=new eR;globalThis.console=ht;function nwe(){return{run(e,...t){return typeof e=="function"?e(...t):void 0}}}function iwe(e=Z2,t=$2){return new eR(e,t)}var swe={Console:eR,assert:ht.assert.bind(ht),clear:ht.clear.bind(ht),context:iwe,count:ht.count.bind(ht),countReset:ht.countReset.bind(ht),createTask:nwe,debug:ht.debug.bind(ht),dir:ht.dir.bind(ht),dirxml:ht.dirxml.bind(ht),error:ht.error.bind(ht),group:ht.group.bind(ht),groupCollapsed:ht.groupCollapsed.bind(ht),groupEnd:ht.groupEnd.bind(ht),info:ht.info.bind(ht),log:ht.log.bind(ht),profile:void 0,profileEnd:void 0,table:ht.table.bind(ht),time:ht.time.bind(ht),timeEnd:ht.timeEnd.bind(ht),timeLog:ht.timeLog.bind(ht),timeStamp:void 0,trace:ht.trace.bind(ht),warn:ht.warn.bind(ht)};function oB(e){return!e||typeof e.formatWithOptions=="function"||(e.formatWithOptions=function(r,n,...i){let s=f=>{if(typeof e.inspect=="function")return e.inspect(f,r);try{return JSON.stringify(f)}catch{return String(f)}},o=f=>typeof f=="string"?f:s(f);if(typeof n!="string")return[n,...i].map(o).join(" ");let a=0,A=n.replace(/%[sdifjoO%]/g,f=>{if(f==="%%")return"%";if(a>=i.length)return f;let l=i[a++];switch(f){case"%s":return String(l);case"%d":return Number(l).toString();case"%i":return Number.parseInt(l,10).toString();case"%f":return Number.parseFloat(l).toString();case"%j":try{return JSON.stringify(l)}catch{return"[Circular]"}case"%o":case"%O":return s(l);default:return f}});return a>=i.length?A:[A,...i.slice(a).map(o)].join(" ")}),e}function G1(e){let t=new Error(`node:worker_threads ${e} is not available in the secure-exec guest runtime`);return t.code="ERR_NOT_IMPLEMENTED",t}var Y1=class extends Xt{postMessage(){}start(){}close(){this.emit("close")}unref(){return this}ref(){return this}},owe=class{constructor(){this.port1=new Y1,this.port2=new Y1}},awe=class extends Xt{constructor(){throw super(),G1("Worker")}},Awe={BroadcastChannel:globalThis.BroadcastChannel,MessageChannel:globalThis.MessageChannel??owe,MessagePort:globalThis.MessagePort??Y1,SHARE_ENV:Symbol.for("secure-exec.worker_threads.SHARE_ENV"),Worker:awe,getEnvironmentData(){},isMainThread:!0,markAsUncloneable(){},markAsUntransferable(){},moveMessagePortToContext(){throw G1("moveMessagePortToContext")},parentPort:null,postMessageToThread(){throw G1("postMessageToThread")},receiveMessageOnPort(){},resourceLimits:{},setEnvironmentData(){},threadId:0,workerData:null};function fwe(e){return e===0?!!Qe.stdin?.isTTY:e===1?!!Qe.stdout?.isTTY:e===2?!!Qe.stderr?.isTTY:!1}function uwe(e){return e===0?Qe.stdin:void 0}function cwe(e){if(e===1)return Qe.stdout;if(e===2)return Qe.stderr}var lwe={ReadStream:class{constructor(t){return uwe(t)}},WriteStream:class{constructor(t){return cwe(t)}},isatty:fwe};async function AG(e){let t=KY(e);if(t){let r=[];for await(let n of t)r.push(Buffer.isBuffer(n)?n:Buffer.from(n??[]));return r}if(e&&typeof e[Symbol.asyncIterator]=="function"){let r=[];for await(let n of e)r.push(Buffer.isBuffer(n)?n:Buffer.from(n??[]));return r}if(e&&typeof e.getReader=="function"){let r=e.getReader(),n=[];try{for(;;){let{value:i,done:s}=await r.read();if(s)break;n.push(Buffer.from(i??[]))}}finally{r.releaseLock?.()}return n}throw new TypeError("expected an async iterable or WHATWG ReadableStream")}function hwe(e,t=""){return{size:e.byteLength,type:t,async arrayBuffer(){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)},stream(){return new ReadableStream({start(r){r.enqueue(e),r.close()}})},async text(){return e.toString("utf8")}}}var aB={async arrayBuffer(e){let t=await AG(e),r=Buffer.concat(t);return r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)},async blob(e){return hwe(await aB.buffer(e))},async buffer(e){return Buffer.concat(await AG(e))},async json(e){return JSON.parse(await aB.text(e))},async text(e){return(await aB.buffer(e)).toString("utf8")}};function KY(e){return!e||typeof e.on!="function"||typeof e.read!="function"&&typeof e.pipe!="function"&&typeof e.resume!="function"?null:{async*[Symbol.asyncIterator](){let t=[],r=[],n=!1,i=null,s=[],o=typeof e.off=="function"?e.off.bind(e):typeof e.removeListener=="function"?e.removeListener.bind(e):null,a=()=>{for(;r.length>0;){if(i){r.shift()?.(Promise.reject(i));continue}if(t.length>0){r.shift()?.(Promise.resolve({done:!1,value:t.shift()}));continue}if(n){r.shift()?.(Promise.resolve({done:!0,value:void 0}));continue}break}},A=(B,S)=>{e.on(B,S),s.push(()=>o?.(B,S))},f=B=>{t.push(B),a()},l=()=>{n=!0,a()},p=B=>{i=B,n=!0,a()};A("data",f),A("end",l),A("close",l),A("error",p),e.resume?.();try{for(;;){if(i)throw i;if(t.length>0){yield t.shift();continue}if(n)return;let B=await new Promise(S=>{r.push(S)});if(B.done)return;yield B.value}}finally{for(;s.length>0;)s.pop()?.()}}}}var XY={finished(e){return new Promise((t,r)=>{if(!e||typeof e!="object"){r(new TypeError("finished() expects a stream"));return}let n=[],i=(o,a)=>{e?.once?.(o,a),n.push(()=>e?.off?.(o,a))},s=o=>a=>{for(;n.length>0;)n.pop()?.();o(a)};i("finish",s(t)),i("end",s(t)),i("close",s(t)),i("error",s(r))})},async pipeline(e,t){let r=KY(e)??(e&&typeof e[Symbol.asyncIterator]=="function"?e:e&&typeof e.getReader=="function"?{async*[Symbol.asyncIterator](){let i=e.getReader();try{for(;;){let{value:s,done:o}=await i.read();if(o)break;yield Buffer.from(s??[])}}finally{i.releaseLock?.()}}}:null);if(r==null)throw new TypeError("pipeline source must be async iterable or a WHATWG ReadableStream");if(!t||typeof t.write!="function")throw new TypeError("pipeline destination must provide write()");for await(let i of r)await new Promise((s,o)=>{try{t.write(i,a=>a?o(a):s())}catch(a){o(a)}});let n=XY.finished(t);return typeof t.end=="function"&&await new Promise((i,s)=>{try{t.end(o=>o?s(o):i())}catch(o){s(o)}}),await n,t}};function Au(e){let t=String(e).replace(/^node:/,""),r=new Error(`node:${t} is not available in the secure-exec guest runtime`);return r.code="ERR_ACCESS_DENIED",r}var ZY=class{constructor(e=""){this.name=String(e),this._subscribers=new Set}get hasSubscribers(){return this._subscribers.size>0}publish(e){for(let t of Array.from(this._subscribers))t(e,this.name)}subscribe(e){typeof e=="function"&&this._subscribers.add(e)}unsubscribe(e){return this._subscribers.delete(e)}runStores(e,t,r,...n){return typeof t!="function"?t:t.apply(r,n)}},fG=new Map;function Ra(e=""){let t=String(e),r=fG.get(t);return r||(r=new ZY(t),fG.set(t,r)),r}function dwe(e=""){let t=String(e),r={start:Ra(`tracing:${t}:start`),end:Ra(`tracing:${t}:end`),asyncStart:Ra(`tracing:${t}:asyncStart`),asyncEnd:Ra(`tracing:${t}:asyncEnd`),error:Ra(`tracing:${t}:error`),subscribe(){},unsubscribe(){return!0},traceSync(n,i,s,...o){return typeof n!="function"?n:n.apply(s,o)},tracePromise(n,i,s,...o){return typeof n!="function"?Promise.resolve(n):Promise.resolve(n.apply(s,o))},traceCallback(n,i,s,o,...a){return typeof n!="function"?n:n.apply(o,a)}};return Object.defineProperty(r,"hasSubscribers",{get(){return r.start.hasSubscribers||r.end.hasSubscribers||r.asyncStart.hasSubscribers||r.asyncEnd.hasSubscribers||r.error.hasSubscribers},enumerable:!1,configurable:!0}),r}var gwe={Channel:ZY,channel:Ra,hasSubscribers(e=""){return Ra(e).hasSubscribers},subscribe(e="",t){return Ra(e).subscribe(t)},tracingChannel:dwe,unsubscribe(e="",t){return Ra(e).unsubscribe(t)}};function Cl(e,t=2){return String(Math.trunc(e)).padStart(t,"0")}function pwe(e){let t=e instanceof Date?e:new Date(e??Date.now());if(Number.isNaN(t.getTime()))throw new RangeError("Invalid time value");return t}function Ewe(e,t={}){let r=pwe(e),n=t&&typeof t=="object"?t:{},i=Cl(r.getUTCFullYear(),4),s=Cl(r.getUTCMonth()+1),o=Cl(r.getUTCDate()),a=Cl(r.getUTCHours()),A=Cl(r.getUTCMinutes()),f=Cl(r.getUTCSeconds()),l=`${i}-${s}-${o}`,p=`${a}:${A}:${f}`,B=n.dateStyle||n.year||n.month||n.day||!n.timeStyle&&!n.hour&&!n.minute&&!n.second,S=n.timeStyle||n.hour||n.minute||n.second;return B&&S?`${l}, ${p}`:S?p:l}var ywe=class{constructor(e="en-US",t={}){this.locales=e,this.options=t&&typeof t=="object"?{...t}:{},this.format=this.format.bind(this)}format(e=Date.now()){return Ewe(e,this.options)}formatToParts(e=Date.now()){return[{type:"literal",value:this.format(e)}]}formatRange(e,t){return`${this.format(e)} \u2013 ${this.format(t)}`}formatRangeToParts(e,t){return[{type:"literal",value:this.formatRange(e,t),source:"shared"}]}resolvedOptions(){return{locale:Array.isArray(this.locales)?this.locales.find(t=>typeof t=="string")||"en-US":typeof this.locales=="string"?this.locales:"en-US",calendar:"gregory",numberingSystem:"latn",timeZone:"UTC",...this.options}}static supportedLocalesOf(e){return Array.isArray(e)?e.filter(t=>typeof t=="string"):typeof e=="string"?[e]:[]}};function Vm(e,t){let r=Number(e);return Number.isFinite(r)?Math.min(20,Math.max(0,Math.trunc(r))):t}function mwe(e){let[t,r]=e.split("."),n=t.startsWith("-")?"-":"",s=(n?t.slice(1):t).replace(/\B(?=(\d{3})+(?!\d))/g,",");return r===void 0?`${n}${s}`:`${n}${s}.${r}`}var Bwe=class{constructor(e="en-US",t={}){this.locales=e,this.options=t&&typeof t=="object"?{...t}:{},this.format=this.format.bind(this)}format(e){let t=Number(e);if(Number.isNaN(t))return"NaN";if(t===1/0)return"\u221E";if(t===-1/0)return"-\u221E";let r=Vm(this.options.minimumFractionDigits,0),n=Math.max(r,Vm(this.options.maximumFractionDigits,Math.max(r,3))),i=t.toFixed(n);if(n>r){i=i.replace(/(\.\d*?)0+$/,"$1").replace(/\.$/,"");let s=i.includes(".")?i.length-i.indexOf(".")-1:0;s<r&&(i+=`${s===0?".":""}${"0".repeat(r-s)}`)}return this.options.useGrouping===!1?i:mwe(i)}formatToParts(e){return[{type:"literal",value:this.format(e)}]}resolvedOptions(){return{locale:Array.isArray(this.locales)?this.locales.find(t=>typeof t=="string")||"en-US":typeof this.locales=="string"?this.locales:"en-US",numberingSystem:"latn",style:"decimal",minimumFractionDigits:Vm(this.options.minimumFractionDigits,0),maximumFractionDigits:Vm(this.options.maximumFractionDigits,3),useGrouping:this.options.useGrouping!==!1,...this.options}}static supportedLocalesOf(e){return Array.isArray(e)?e.filter(t=>typeof t=="string"):typeof e=="string"?[e]:[]}};function Iwe(e){let t=e.Intl&&typeof e.Intl=="object"?e.Intl:{};t.DateTimeFormat=ywe,t.NumberFormat=Bwe,e.Intl=t,Date.prototype.toLocaleString=function(r,n){return new e.Intl.DateTimeFormat(r,n).format(this)},Date.prototype.toLocaleDateString=function(r,n){return new e.Intl.DateTimeFormat(r,{...n||{},hour:void 0,minute:void 0,second:void 0}).format(this)},Date.prototype.toLocaleTimeString=function(r,n){return new e.Intl.DateTimeFormat(r,{hour:"2-digit",minute:"2-digit",second:"2-digit",...n||{}}).format(this)},Number.prototype.toLocaleString=function(r,n){return new e.Intl.NumberFormat(r,n).format(this.valueOf())}}function o1(e,t,r){let n=new RangeError(`The value of "${e}" is out of range. It must be ${t}. Received ${String(r)}`);return n.code="ERR_OUT_OF_RANGE",n}function $Y(e){return{name:String(e?.name??""),entryType:String(e?.entryType??""),startTime:Number(e?.startTime??0),duration:Number(e?.duration??0)}}function eW(e){return{getEntries(){return e.slice()},getEntriesByName(t,r=void 0){let n=String(t??""),i=e.filter(s=>s.name===n);return typeof r=="string"?i.filter(s=>s.entryType===r):i},getEntriesByType(t){let r=String(t??"");return e.filter(n=>n.entryType===r)}}}function bwe(){let e=[];return{percentile(t){let r=Number(t);if(!Number.isFinite(r)||r<=0||r>100)throw o1("percentile","> 0 && <= 100",t);if(e.length===0)return 0;let n=e.slice().sort((s,o)=>s-o),i=Math.min(n.length-1,Math.max(0,Math.ceil(r/100*n.length)-1));return n[i]},record(t){let r=Number(t);if(!Number.isInteger(r))throw o1("val","an integer",t);if(r<1||r>Number.MAX_SAFE_INTEGER)throw o1("val",`>= 1 && <= ${Number.MAX_SAFE_INTEGER}`,t);e.push(r)}}}var Jm=(()=>{let e=new Map,t=[],r=new Set,n=typeof performance<"u"&&performance&&typeof performance.now=="function"?performance:{now(){return Wl()},timeOrigin:Date.now()-Wl()};typeof n.mark!="function"&&(n.mark=function(A){let f={name:String(A??""),entryType:"mark",startTime:n.now(),duration:0},l=e.get(f.name)??[];return l.push(f),e.set(f.name,l),f}),typeof n.measure!="function"&&(n.measure=function(A,f,l){let p=String(A??""),B=0,S=n.now();if(typeof f=="string"){let N=e.get(f);if(N?.length&&(B=N[N.length-1].startTime),typeof l=="string"){let P=e.get(l);P?.length&&(S=P[P.length-1].startTime)}}else if(f&&typeof f=="object"){if(typeof f.start=="number")B=f.start;else if(typeof f.startMark=="string"){let N=e.get(f.startMark);N?.length&&(B=N[N.length-1].startTime)}if(typeof f.end=="number")S=f.end;else if(typeof f.endMark=="string"){let N=e.get(f.endMark);N?.length&&(S=N[N.length-1].startTime)}}let _={name:p,entryType:"measure",startTime:B,duration:Math.max(0,S-B)};return t.push(_),_}),typeof n.getEntriesByName!="function"&&(n.getEntriesByName=function(A,f=void 0){let l=String(A??""),B=[...e.get(l)??[],...t.filter(S=>S.name===l)];return typeof f=="string"?B.filter(S=>S.entryType===f):B}),typeof n.getEntries!="function"&&(n.getEntries=function(){return[...e.values()].flatMap(A=>[...A]).concat(t)}),typeof n.getEntriesByType!="function"&&(n.getEntriesByType=function(A){let f=String(A??"");return n.getEntries().filter(l=>l.entryType===f)}),typeof n.clearMarks!="function"&&(n.clearMarks=function(A=void 0){if(typeof A>"u"){e.clear();return}e.delete(String(A))}),typeof n.clearMeasures!="function"&&(n.clearMeasures=function(A=void 0){if(typeof A>"u"){t.length=0;return}let f=String(A);for(let l=t.length-1;l>=0;l-=1)t[l]?.name===f&&t.splice(l,1)});let i=A=>{A._deliveryQueued||(A._deliveryQueued=!0,va(()=>{if(A._deliveryQueued=!1,!A._connected)return;let f=A.takeRecords();A._callback(eW(f),A)}))},s=A=>{let f=$Y(A);for(let l of r)l._entryTypes.has(f.entryType)&&(l._records.push(f),i(l))},o=n.mark.bind(n);n.mark=function(...A){let f=o(...A);return s(f),f};let a=n.measure.bind(n);return n.measure=function(...A){let f=a(...A);return s(f),f},n.__agentOSObservers=r,n})(),Cwe={PerformanceObserver:class{constructor(e){if(typeof e!="function")throw new TypeError("PerformanceObserver callback must be a function");this._callback=e,this._connected=!1,this._deliveryQueued=!1,this._entryTypes=new Set,this._records=[]}static get supportedEntryTypes(){return["mark","measure"]}observe(e={}){let t=Array.isArray(e?.entryTypes)?e.entryTypes.map(r=>String(r)):typeof e?.type=="string"?[String(e.type)]:[];if(t.length===0)throw new TypeError("PerformanceObserver.observe() requires an entryTypes array or type string");if(this.disconnect(),this._entryTypes=new Set(t),this._connected=!0,Jm.__agentOSObservers.add(this),e?.buffered){for(let r of this._entryTypes)for(let n of Jm.getEntriesByType(r))this._records.push($Y(n));this._records.length>0&&(this._deliveryQueued=!0,va(()=>{if(this._deliveryQueued=!1,!this._connected)return;let r=this.takeRecords();this._callback(eW(r),this)}))}}disconnect(){this._connected=!1,Jm.__agentOSObservers.delete(this)}takeRecords(){let e=this._records.slice();return this._records.length=0,e}},constants:{},createHistogram(){return bwe()},performance:Jm};function tW(e){let t=JSON.stringify(e??null);return Buffer.from(t,"utf8")}function rW(e){let t=Buffer.isBuffer(e)?e:Buffer.from(e??[]);return JSON.parse(t.toString("utf8"))}var uG=class{constructor(){this._value=null}writeHeader(){}writeValue(e){this._value=e}releaseBuffer(){return tW(this._value)}transferArrayBuffer(){}},cG=class{constructor(e){this._buffer=e}readHeader(){}readValue(){return rW(this._buffer)}transferArrayBuffer(){}};function Qwe(){let e=Number(globalThis.__agentOSV8HeapLimitBytes);return Number.isFinite(e)&&e>0?e:128*1024*1024}function wwe(){let e=Qwe();return{total_heap_size:Math.max(64*1024*1024,Math.floor(e/2)),total_heap_size_executable:1024*1024,total_physical_size:Math.max(64*1024*1024,Math.floor(e/2)),total_available_size:Math.max(0,e-64*1024*1024),used_heap_size:Math.max(0,Math.min(e,Math.floor(e*.4))),heap_size_limit:e,malloced_memory:8192,peak_malloced_memory:16384,does_zap_garbage:0,number_of_native_contexts:1,number_of_detached_contexts:0,total_global_handles_size:16384,used_global_handles_size:8192,external_memory:0}}function Swe(){return[]}function _we(){return{code_and_metadata_size:0,bytecode_and_metadata_size:0,external_script_source_size:0,cpu_profiler_metadata_size:0}}function vwe(){return{committed_size_bytes:0,resident_size_bytes:0,used_size_bytes:0,space_statistics:[]}}function Rwe(){return Readable.fromWeb(new ReadableStream({start(e){e.enqueue(Buffer.from("{}")),e.close()}}))}var Dwe={cachedDataVersionTag(){return 0},DefaultDeserializer:cG,DefaultSerializer:uG,Deserializer:cG,GCProfiler:class{start(){}stop(){return[]}},Serializer:uG,deserialize:rW,getCppHeapStatistics:vwe,getHeapCodeStatistics:_we,getHeapSnapshot:Rwe,getHeapSpaceStatistics:Swe,getHeapStatistics:wwe,isStringOneByteRepresentation(e){return typeof e=="string"&&!/[^\x00-\xff]/.test(e)},promiseHooks:{},queryObjects(){return[]},serialize:tW,setFlagsFromString(){},setHeapSnapshotNearHeapLimit(){return[]},startCpuProfile(){return{stop(){return{}}}},startupSnapshot:{},stopCoverage(){return[]},takeCoverage(){return[]},writeHeapSnapshot(){return""}},W1=typeof Symbol=="function"?Symbol.for("secure-exec.vm.context"):"__secure_exec_vm_context__",QB=typeof Symbol=="function"?Symbol.for("secure-exec.vm.context.id"):"__secure_exec_vm_context_id__";function lG(e){let t=new Error(`node:vm ${e} is not implemented in the secure-exec guest runtime`);return t.code="ERR_NOT_IMPLEMENTED",t}function tR(e){return e!==null&&(typeof e=="object"||typeof e=="function")}function Vg(e=void 0){if(typeof e=="string")return{filename:e};if(!e||typeof e!="object")return{};let t={};return typeof e.filename=="string"&&(t.filename=e.filename),Number.isInteger(e.lineOffset)&&(t.lineOffset=e.lineOffset),Number.isInteger(e.columnOffset)&&(t.columnOffset=e.columnOffset),Number.isInteger(e.timeout)&&e.timeout>0&&(t.timeout=e.timeout),e.cachedData!==void 0&&(t.cachedData=e.cachedData),e.produceCachedData===!0&&(t.produceCachedData=!0),t}function a1(e,t){let r=Vg(e),n=Vg(t);return{...r,...n}}function nW(e={}){if(!tR(e))throw new TypeError('The "object" argument must be of type object.');if(e[W1]===!0&&Number.isInteger(e[QB]))return e;let t=_vmCreateContext(e);return Object.defineProperty(e,W1,{value:!0,configurable:!0,enumerable:!1,writable:!1}),Object.defineProperty(e,QB,{value:t,configurable:!1,enumerable:!1,writable:!1}),e}function iW(e){return tR(e)&&e[W1]===!0&&Number.isInteger(e[QB])}function Twe(e){if(!iW(e))throw new TypeError('The "contextifiedObject" argument must be a vm context.');return e}function sW(e,t=void 0){return _vmRunInThisContext(String(e),Vg(t))}function rR(e,t,r=void 0){let n=Twe(t);return _vmRunInContext(n[QB],String(e),Vg(r),n)}function oW(e,t={},r=void 0){let n=tR(t),i=n?t:{},s=n?r:t;return rR(e,nW(i),s)}var Nwe=class{constructor(e,t=void 0){this.code=String(e),this.options=Vg(t),this.filename=this.options.filename??"evalmachine.<anonymous>",this.lineOffset=this.options.lineOffset??0,this.columnOffset=this.options.columnOffset??0,this.cachedData=this.options.cachedData,this.cachedDataProduced=!1,this.cachedDataRejected=!1}createCachedData(){return typeof Buffer=="function"?Buffer.alloc(0):new Uint8Array(0)}runInThisContext(e=void 0){return sW(this.code,a1(this.options,e))}runInContext(e,t=void 0){return rR(this.code,e,a1(this.options,t))}runInNewContext(e={},t=void 0){return oW(this.code,e,a1(this.options,t))}},Mwe={Script:Nwe,compileFunction(){throw lG("compileFunction")},createContext:nW,isContext:iW,measureMemory(){throw lG("measureMemory")},runInContext:rR,runInNewContext:oW,runInThisContext:sW},aW=x1.default?.default??x1.default,hG=U1.default?.default??U1.default,AW=vg.default?.request??vg.default?.default?.request??vg.default?.default??vg.default,dG=rB.default?.fetch??rB.default?.default??rB.default,Fwe=Bu.default?.Headers??Bu.default?.default??Bu.default,kwe=Iu.default?.Request??Iu.default?.default??Iu.default,xwe=bu.default?.Response??bu.default?.default??bu.default,gG=F2.default?.setGlobalDispatcher,pG=F2.default?.getGlobalDispatcher,A1=null;function Uwe(){return new aW({connections:6,connect(e,t){try{let r=e?.protocol==="https:"||e?.protocol==="https"?"https:":"http:",n=e?.hostname||e?.host||e?.servername||"localhost",i=e?.port;if(e?.origin){let p=new URL(String(e.origin));r=p.protocol==="https:"?"https:":"http:",n=p.hostname||n,i=p.port||i}typeof n=="string"&&n.startsWith("[")&&n.endsWith("]")&&(n=n.slice(1,-1));let s=rI({protocol:r,hostname:n,host:n,port:i?Number(i):r==="https:"?443:80,servername:e?.servername||n,rejectUnauthorized:e?.rejectUnauthorized}),o=lR(r),a=!1,A=()=>{s.off?.(o,f),s.removeListener?.(o,f),s.off?.("error",l),s.removeListener?.("error",l)},f=()=>{a||(a=!0,A(),t(null,s))},l=p=>{a||(a=!0,A(),t(p instanceof Error?p:new Error(String(p))))};return s.once(o,f),s.once("error",l),s}catch(r){return t(r instanceof Error?r:new Error(String(r))),null}}})}function V1(){return A1||(A1=Uwe()),A1}typeof gG=="function"&&typeof aW=="function"&&(typeof pG=="function"?pG():null)==null&&gG(V1());var nR="__secureExecNetSocket:",Lwe="net-server:",Jg=new Map,wB=new Map,SB=new Map,jg=new Map;function f1(e){return globalThis[`${nR}${e}`]}function EG(e,t){globalThis[`${nR}${e}`]=t,Jg.set(e,t)}function Pwe(e){delete globalThis[`${nR}${e}`],Jg.delete(e)}function Rg(e){return!!e&&e._socketId!==0&&Jg.get(e._socketId)===e}function Ug(e,t){if(e._bridgeReadPumpQueued){X("readPumpQueueCoalesced");return}e._bridgeReadPumpQueued=!0,queueMicrotask(()=>{e._bridgeReadPumpQueued=!1,!e.destroyed&&Rg(e)&&e._socketId!==0&&(e._nextReadPumpOrigin=t,e._pumpBridgeReads())})}function fW(e){let t=e?._address;if(typeof t=="string")return t;let r=t?.path;return typeof r=="string"?r:void 0}function Owe(e){e?._serverId&&jg.set(e._serverId,e);let t=e?._address?.port;typeof t=="number"&&wB.set(t,e);let r=fW(e);typeof r=="string"&&SB.set(r,e)}function Hwe(e){e?._serverId&&jg.get(e._serverId)===e&&jg.delete(e._serverId);let t=e?._address?.port;typeof t=="number"&&wB.get(t)===e&&wB.delete(t);let r=fW(e);typeof r=="string"&&SB.get(r)===e&&SB.delete(r)}function _B(e){if(X("readWakeAttempts"),!e||e.destroyed||e._socketId===0||e._loopbackServer||e._loopbackHttpTarget){X("readWakeInvalidTargets");return}if(e._pendingBridgeWake=!0,e._pendingBridgeWakeRetries=0,e._bridgeReadLoopRunning&&X("readWakeAlreadyRunning"),!e._bridgeReadPollTimer){X("readWakeNoTimer"),X(e._bridgeReadPumpStarted?"readWakeNoTimerAfterFirstPump":"readWakeNoTimerBeforeFirstPump"),e._connected&&X("readWakeNoTimerConnected"),e.connecting&&X("readWakeNoTimerConnecting"),X(e._refed?"readWakeNoTimerRefed":"readWakeNoTimerUnrefed");let t=(e._listeners?.data?.length??0)>0,r=(e._listeners?.readable?.length??0)>0;if(t&&X("readWakeNoTimerHasDataListener"),r&&X("readWakeNoTimerHasReadableListener"),e._bridgeWriteFlushScheduled&&(X("readWakeNoTimerPendingWriteFlush"),X("readWakeNoTimerPendingWriteBytes",e._pendingBridgeWriteBytes)),!e._bridgeReadPumpStarted&&e._firstReadNoTimerWakeAtUs===0&&It()&&(e._firstReadNoTimerWakeAtUs=At()),!e._bridgeReadPumpStarted&&e._connected&&e._refed&&(t||r))if(It()&&X("readFirstPumpScheduleCandidates"),e._bridgeReadFirstPumpBenchmarkScheduled)It()&&X("readFirstPumpScheduleAlreadyScheduled");else{It()&&X("readFirstPumpScheduleQueued"),e._bridgeReadFirstPumpBenchmarkScheduled=!0;let n=At();queueMicrotask(()=>{It()&&X("readFirstPumpScheduleRuns");let i=At(),s=Math.max(0,i-n);if(It()&&(X("readFirstPumpScheduleQueuedToRunUs",s),Qr("readFirstPumpScheduleQueuedToRunMaxUs",s)),e._bridgeReadFirstPumpBenchmarkScheduled=!1,e.destroyed){It()&&X("readFirstPumpScheduleSkipDestroyed");return}if(e._tlsUpgrading){It()&&X("readFirstPumpScheduleSkipTlsUpgrading");return}if(e._bridgeReadPumpStarted){It()&&X("readFirstPumpScheduleSkipPumpStarted");return}if(e._bridgeReadLoopRunning){It()&&X("readFirstPumpScheduleSkipLoopRunning");return}if(e._socketId===0){It()&&X("readFirstPumpScheduleSkipSocketClosed");return}It()&&X("readFirstPumpSchedulePumpCalls"),e._nextReadPumpOrigin="eventWake",e._readFirstPumpScheduleActive=!0,e._readFirstPumpScheduleQueuedAtUs=n,e._pumpBridgeReads()})}!e._bridgeReadLoopRunning&&e._connected&&e._refed&&Ug(e,"eventWake");return}clearTimeout(e._bridgeReadPollTimer),e._bridgeReadPollTimer=null,X("readEventWakeups"),It()&&(e._readWakeQueuedAtUs=At()),Ug(e,"eventWake")}function AB(e){if(X("peerWakeScans"),!e||e._socketId===0){X("peerWakeInvalidTargets");return}if(typeof e.remotePort=="number"&&typeof e.localPort=="number"){for(let i of Jg.values())if(!(i===e||i.destroyed)&&i.localPort===e.remotePort&&i.remotePort===e.localPort){X("peerWakeFound"),_B(i);return}X("peerWakeMiss");return}let t=typeof e.localPath=="string"?e.localPath:void 0,r=typeof e.remotePath=="string"?e.remotePath:void 0;if(t===void 0&&r===void 0){X("peerWakeInvalidTargets");return}let n=!1;for(let i of Jg.values()){if(i===e||i.destroyed)continue;let s=typeof i.localPath=="string"?i.localPath:void 0,o=typeof i.remotePath=="string"?i.remotePath:void 0;(t!==void 0&&r!==void 0&&s!==void 0&&o!==void 0&&s===r&&o===t||r!==void 0&&s!==void 0&&s===r||t!==void 0&&o!==void 0&&o===t)&&(n=!0,X("peerWakeUnixFound"),_B(i))}n||X("peerWakeUnixMiss")}function vB(e){if(X("acceptWakeAttempts"),!e||!e.listening||e._serverId===0||!e._acceptPollTimer){if(!e||!e.listening||e._serverId===0)X("acceptWakeInvalidTargets");else{e._pendingAcceptWake=!0,X("acceptWakeNoTimer"),X(e._acceptPumpStarted?"acceptWakeNoTimerAfterFirstPump":"acceptWakeNoTimerBeforeFirstPump"),e._acceptLoopRunning&&X("acceptWakeNoTimerLoopRunning"),e._acceptLoopActive&&X("acceptWakeNoTimerLoopActive"),X(e._refed?"acceptWakeNoTimerRefed":"acceptWakeNoTimerUnrefed");let t=e._connections?.size??0;X("acceptWakeNoTimerConnections",t),Qr("acceptWakeNoTimerConnectionsMax",t),!e._acceptPumpStarted&&e._firstAcceptNoTimerWakeAtUs===0&&It()&&(e._firstAcceptNoTimerWakeAtUs=At()),e._acceptLoopActive&&!e._acceptLoopRunning&&queueMicrotask(()=>{if(e.listening&&e._serverId!==0&&!e._acceptLoopRunning)return e._nextAcceptPumpOrigin="eventWake",e._pumpAccepts()})}return}e._acceptLoopRunning&&X("acceptWakeAlreadyRunning"),clearTimeout(e._acceptPollTimer),e._acceptPollTimer=null,X("acceptEventWakeups"),It()&&(e._acceptWakeQueuedAtUs=At()),queueMicrotask(()=>{if(e.listening&&e._serverId!==0)return e._nextAcceptPumpOrigin="eventWake",e._pumpAccepts()})}function qwe(e){X("acceptWakeSocketScans");let t=e?.remotePort;if(typeof t=="number"){let i=wB.get(t);return X(i?"acceptWakeSocketFound":"acceptWakeSocketMiss"),i?._acceptLoopActive&&!i._acceptLoopRunning?(i._nextAcceptPumpOrigin="eventWake",i._pumpAccepts()):vB(i)}let r=e?.remotePath;if(typeof r!="string"){X("acceptWakeSocketInvalidTargets");return}let n=SB.get(r);return n?(X("acceptWakeSocketFound"),X("acceptWakeSocketUnixFound")):(X("acceptWakeSocketMiss"),X("acceptWakeSocketUnixMiss")),n?._acceptLoopActive&&!n._acceptLoopRunning?(n._nextAcceptPumpOrigin="eventWake",n._pumpAccepts()):vB(n)}function yG(e){return e===void 0?!0:!!e}function RB(e){return typeof e!="number"||!Number.isFinite(e)?0:Math.max(0,Math.floor(e/1e3))}function Gwe(e,t){return lr(`The "${e}" argument must be of type number. Received ${Yn(t)}`,"ERR_INVALID_ARG_TYPE")}function Hl(e,t){return lr(`The "${e}" argument must be of type function. Received ${Yn(t)}`,"ERR_INVALID_ARG_TYPE")}function Ywe(e){let t=new RangeError(`The value of "timeout" is out of range. It must be a non-negative finite number. Received ${String(e)}`);return t.code="ERR_OUT_OF_RANGE",t}function Rl(e){return lr(e,"ERR_INVALID_ARG_VALUE")}function J1(e){let t=new RangeError(`options.port should be >= 0 and < 65536. Received ${Yn(e)}.`);return t.code="ERR_SOCKET_BAD_PORT",t}function j1(e){return Number.isInteger(e)&&e>=0&&e<65536}function uW(e){return/^[0-9]+$/.test(e)}function mG(e){if(e==null)return 0;if(typeof e=="string"&&e.length>0){let t=Number(e);if(j1(t))return t;throw J1(e)}if(typeof e=="number"){if(j1(e))return e;throw J1(e)}throw Rl(`The argument 'options' is invalid. Received ${String(e)}`)}function cW(e,t,r,n){let i={port:0,host:"127.0.0.1",backlog:511,readableAll:!1,writableAll:!1};if(typeof e=="function")return{...i,callback:e};if(e!==null&&typeof e=="object"){let s=e,o=Object.prototype.hasOwnProperty.call(s,"port"),a=Object.prototype.hasOwnProperty.call(s,"path");if(!o&&!a)throw Rl(`The argument 'options' must have the property "port" or "path". Received ${String(e)}`);if(o&&a)throw Rl(`The argument 'options' is invalid. Received ${String(e)}`);if(o&&s.port!==void 0&&s.port!==null&&typeof s.port!="number"&&typeof s.port!="string")throw Rl(`The argument 'options' is invalid. Received ${String(e)}`);if(a){if(typeof s.path!="string"||s.path.length===0)throw Rl(`The argument 'options' is invalid. Received ${String(e)}`);return{path:s.path,backlog:typeof s.backlog=="number"&&Number.isFinite(s.backlog)?s.backlog:i.backlog,readableAll:s.readableAll===!0,writableAll:s.writableAll===!0,callback:typeof t=="function"?t:typeof r=="function"?r:n}}return{port:mG(s.port),host:typeof s.host=="string"&&s.host.length>0?s.host:i.host,backlog:typeof s.backlog=="number"&&Number.isFinite(s.backlog)?s.backlog:i.backlog,readableAll:!1,writableAll:!1,callback:typeof t=="function"?t:typeof r=="function"?r:n}}if(e!=null&&typeof e!="number"&&typeof e!="string")throw Rl(`The argument 'options' is invalid. Received ${String(e)}`);return typeof e=="string"&&e.length>0&&!uW(e)?{path:e,backlog:i.backlog,readableAll:!1,writableAll:!1,callback:typeof t=="function"?t:typeof r=="function"?r:n}:{port:mG(e),host:typeof t=="string"?t:i.host,backlog:typeof r=="number"?r:i.backlog,readableAll:!1,writableAll:!1,callback:typeof t=="function"?t:typeof r=="function"?r:n}}function Wwe(e,t,r){if(e!==null&&typeof e=="object"){let n=typeof e.port=="string"?Number(e.port):e.port;return{host:typeof e.host=="string"&&e.host.length>0?e.host:void 0,port:n,path:typeof e.path=="string"&&e.path.length>0?e.path:void 0,localAddress:typeof e.localAddress=="string"&&e.localAddress.length>0?e.localAddress:void 0,localPort:typeof e.localPort=="number"?e.localPort:void 0,keepAlive:e.keepAlive,keepAliveInitialDelay:e.keepAliveInitialDelay,callback:typeof t=="function"?t:r}}return typeof e=="string"&&!uW(e)?{path:e,callback:typeof t=="function"?t:r}:{port:typeof e=="number"?e:Number(e),host:typeof t=="string"?t:"127.0.0.1",callback:typeof t=="function"?t:r}}function Vwe(e){if(!/^[0-9]{1,3}$/.test(e)||e.length>1&&e.startsWith("0"))return!1;let t=Number(e);return Number.isInteger(t)&&t>=0&&t<=255}function l0(e){let t=e.split(".");return t.length===4&&t.every(r=>Vwe(r))}function Jwe(e){return e.length>0&&/^[0-9A-Za-z_.-]+$/.test(e)}function u1(e){if(e.length===0)return 0;let t=e.split(":"),r=0;for(let n of t){if(n.length===0)return null;if(n.includes(".")){if(n!==t[t.length-1]||!l0(n))return null;r+=2;continue}if(!/^[0-9A-Fa-f]{1,4}$/.test(n))return null;r+=1}return r}function tI(e){if(e.length===0)return!1;let t=e,r=t.indexOf("%");if(r!==-1){if(t.indexOf("%",r+1)!==-1)return!1;let s=t.slice(r+1);if(!Jwe(s))return!1;t=t.slice(0,r)}let n=t.indexOf("::");if(n!==-1){if(t.indexOf("::",n+2)!==-1)return!1;let[s,o]=t.split("::");if(s.includes("."))return!1;let a=u1(s),A=u1(o);return a===null||A===null?!1:a+A<8}return u1(t)===8}function jwe(e){return e==null?"":String(e)}function kl(e){let t=jwe(e);return l0(t)?4:tI(t)?6:0}function Dl(e,t){if(t==="ipv4"||t===4)return"ipv4";if(t==="ipv6"||t===6)return"ipv6";let r=kl(e);if(r===4)return"ipv4";if(r===6)return"ipv6";throw new TypeError(`Invalid IP address: ${e}`)}function lW(e){return e.split(".").reduce((t,r)=>(t<<8n)+BigInt(Number(r)),0n)}function zwe(e){let t=String(e),r=t.indexOf("%");if(r!==-1&&(t=t.slice(0,r)),t.includes(".")){let l=t.lastIndexOf(":"),p=t.slice(l+1),B=lW(p),S=Number(B>>16n&65535n).toString(16),_=Number(B&65535n).toString(16);t=`${t.slice(0,l)}:${S}:${_}`}let n=t.includes("::"),[i,s]=n?t.split("::"):[t,""],o=i.length>0?i.split(":"):[],a=s.length>0?s.split(":"):[],A=n?Math.max(0,8-(o.length+a.length)):0,f=[...o,...new Array(A).fill("0"),...a];if(f.length!==8)throw new TypeError(`Invalid IPv6 address: ${e}`);return f.map(l=>l.length===0?"0":l)}function Kwe(e){return zwe(e).reduce((t,r)=>(t<<16n)+BigInt(parseInt(r,16)),0n)}function bg(e,t){return t==="ipv4"?lW(e):Kwe(e)}function Xwe(e){return e.type==="address"?`Address: ${e.family==="ipv4"?"IPv4":"IPv6"} ${e.address}`:e.type==="range"?`Range: ${e.family==="ipv4"?"IPv4":"IPv6"} ${e.start}-${e.end}`:`Subnet: ${e.family==="ipv4"?"IPv4":"IPv6"} ${e.network}/${e.prefix}`}var Zwe=class{constructor(){y(this,"_rules",[])}addAddress(e,t){let r=Dl(e,t);return this._rules.push({type:"address",family:r,address:String(e)}),this}addRange(e,t,r){let n=Dl(e,r);if(Dl(t,n)!==n)throw new TypeError("BlockList range family mismatch");return this._rules.push({type:"range",family:n,start:String(e),end:String(t)}),this}addSubnet(e,t,r){let n=Dl(e,r),i=Number(t),s=n==="ipv4"?32:128;if(!Number.isInteger(i)||i<0||i>s)throw new RangeError(`Invalid subnet prefix: ${t}`);return this._rules.push({type:"subnet",family:n,network:String(e),prefix:i}),this}check(e,t){let r=Dl(e,t),n=bg(String(e),r);for(let i of this._rules)if(i.family===r){if(i.type==="address"&&n===bg(i.address,r))return!0;if(i.type==="range"){let s=bg(i.start,r),o=bg(i.end,r);if(n>=s&&n<=o)return!0}if(i.type==="subnet"){let s=r==="ipv4"?32n:128n,o=BigInt(i.prefix),a=s-o,A=o===0n?0n:(1n<<s)-1n^(1n<<a)-1n,f=bg(i.network,r);if((n&A)===(f&A))return!0}}return!1}toJSON(){return this._rules.map(e=>({...e}))}fromJSON(e){if(!Array.isArray(e))throw new TypeError("BlockList JSON must be an array");return this._rules=e.map(t=>({...t})),this}get rules(){return this._rules.map(e=>Xwe(e))}},BG=!0,IG=250,$we=class Dg{constructor(t={}){let r=String(t.address??""),n=Dl(r,t.family),i=Number(t.port??0),s=Number(t.flowlabel??0);if(!Number.isInteger(i)||i<0||i>65535)throw new RangeError(`Invalid port: ${t.port}`);if(!Number.isInteger(s)||s<0)throw new RangeError(`Invalid flowlabel: ${t.flowlabel}`);this.address=r,this.port=i,this.family=n,this.flowlabel=s}toJSON(){return{address:this.address,port:this.port,family:this.family,flowlabel:this.flowlabel}}static isSocketAddress(t){return t instanceof Dg}static parse(t){let r=String(t);if(r.startsWith("[")){let i=r.indexOf("]");if(i===-1)return;let s=r.slice(1,i),o=r[i+1]===":"?Number(r.slice(i+2)):0;return new Dg({address:s,family:"ipv6",port:o})}let n=r.lastIndexOf(":");if(n!==-1&&r.indexOf(":")===n){let i=r.slice(0,n),s=Number(r.slice(n+1));if(kl(i)!==0&&Number.isInteger(s))return new Dg({address:i,port:s})}if(kl(r)!==0)return new Dg({address:r})}};function hW(e){if(typeof e!="number")throw Gwe("timeout",e);if(!Number.isFinite(e)||e<0)throw Ywe(e);return e}function dW(e){if(!e)return null;try{let t=JSON.parse(e);return t&&typeof t=="object"?t:null}catch{return null}}function eSe(e){if(!e)throw new Error("net.connect bridge returned an empty socket handle");if(typeof e=="string")return{socketId:e};if(typeof e=="object"&&(typeof e.socketId=="string"||typeof e.socketId=="number")||typeof e=="object"&&e.loopbackHttpTarget)return e;throw new Error("net.connect bridge returned an invalid socket handle")}function fB(e){if(e!=null){if(Array.isArray(e)){let t=e.map(r=>fB(r)).flatMap(r=>Array.isArray(r)?r:r?[r]:[]);return t.length>0?t:void 0}if(typeof e=="string")return{kind:"string",data:e};if(Buffer.isBuffer(e)||e instanceof Uint8Array)return{kind:"buffer",data:Buffer.from(e).toString("base64")}}}function z1(e){return!!e&&typeof e=="object"&&"__secureExecTlsContext"in e}function Jl(e,t){let n={...(z1(e?.secureContext)?e.secureContext.__secureExecTlsContext:void 0)??{},...t},i=fB(e?.key),s=fB(e?.cert),o=fB(e?.ca);if(i!==void 0&&(n.key=i),s!==void 0&&(n.cert=s),o!==void 0&&(n.ca=o),typeof e?.passphrase=="string"&&(n.passphrase=e.passphrase),typeof e?.ciphers=="string"&&(n.ciphers=e.ciphers),(Buffer.isBuffer(e?.session)||e?.session instanceof Uint8Array)&&(n.session=Buffer.from(e.session).toString("base64")),Array.isArray(e?.ALPNProtocols)){let a=e.ALPNProtocols.filter(A=>typeof A=="string");a.length>0&&(n.ALPNProtocols=a)}return typeof e?.minVersion=="string"&&(n.minVersion=e.minVersion),typeof e?.maxVersion=="string"&&(n.maxVersion=e.maxVersion),typeof e?.servername=="string"&&(n.servername=e.servername),typeof e?.rejectUnauthorized=="boolean"&&(n.rejectUnauthorized=e.rejectUnauthorized),typeof e?.requestCert=="boolean"&&(n.requestCert=e.requestCert),n}function tSe(e){if(!e)return null;try{return JSON.parse(e)}catch{return null}}function rSe(e){if(!e)return null;try{return JSON.parse(e)}catch{return null}}function nSe(e){if(!e)return new Error("socket error");try{let t=JSON.parse(e),r=new Error(t.message);return t.name&&(r.name=t.name),t.code&&(r.code=t.code),t.stack&&(r.stack=t.stack),r}catch{return new Error(e)}}function K1(e,t=new Map){if(e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string")return e;if(e.type==="undefined")return;if(e.type==="buffer")return Buffer.from(e.data,"base64");if(e.type==="array")return e.value.map(n=>K1(n,t));if(e.type==="ref")return t.get(e.id);let r={};t.set(e.id,r);for(let[n,i]of Object.entries(e.value))r[n]=K1(i,t);return r}function Ca(e,t,r){if(typeof _netSocketTlsQueryRaw>"u")return;let n=_netSocketTlsQueryRaw.applySync(void 0,r===void 0?[e,t]:[e,t,r]);return K1(JSON.parse(n))}function uB(e,t="secureConnect",r=!0){if(e._tlsUpgrading=!1,e.encrypted=!0,e.authorized=e.authorizationError==null,typeof e._socketId=="string"&&e._socketId.length>0){let n=Ca(e._socketId,"getProtocol");(typeof n=="string"||n===null)&&(e._tlsProtocol=n);let i=Ca(e._socketId,"getCipher");i!==void 0&&(e._tlsCipher=i);let s=Ca(e._socketId,"isSessionReused");typeof s=="boolean"&&(e._tlsSessionReused=s)}e._touchTimeout(),e._emitNet(t),t!=="secure"&&e._emitNet("secure"),r&&!e.destroyed&&!e._bridgeReadLoopRunning&&(e._nextReadPumpOrigin="tls",e._pumpBridgeReads())}function bG(e){return{socketId:e,setNoDelay(t){return _netSocketSetNoDelayRaw?.applySync(void 0,[e,t!==!1]),this},setKeepAlive(t,r){return _netSocketSetKeepAliveRaw?.applySync(void 0,[e,t!==!1,RB(r)]),this},ref(){return this},unref(){return this}}}function iSe(e,t){return{socketId:e,info:t,setNoDelay(r){return _netSocketSetNoDelayRaw?.applySync(void 0,[e,r!==!1]),this},setKeepAlive(r,n){return _netSocketSetKeepAliveRaw?.applySync(void 0,[e,r!==!1,RB(n)]),this},ref(){return this},unref(){return this}}}var iR="__agentos_net_timeout__",DB=10,X1=null;function sSe(){return(typeof process<"u"?process.env:globalThis.__agentOSProcessConfigEnv)?.AGENTOS_NET_BRIDGE_TRACE==="1"}function oSe(e){let t=Number(e);return!Number.isFinite(t)||t<0?DB:Math.trunc(t)}function sR(){return X1??DB}function aSe(){let e=typeof process<"u"?process.env:void 0,t=globalThis.__agentOSProcessConfigEnv;return e?.AGENTOS_NET_RETAIN_OWNED_WRITE_BUFFER!=="0"&&t?.AGENTOS_NET_RETAIN_OWNED_WRITE_BUFFER!=="0"}function gW(){return{userWriteCalls:0,userWriteBytes:0,queuedWriteChunks:0,queuedWriteBytes:0,queuedWriteCopiedChunks:0,queuedWriteCopiedBytes:0,queuedWriteRetainedChunks:0,queuedWriteRetainedBytes:0,flushCalls:0,flushChunks:0,flushBytes:0,writeBufferedBytesMax:0,writeBufferedChunksMax:0,writeBase64EncodeCalls:0,writeBase64EncodeBytes:0,writeBase64EncodeUs:0,writeRawCalls:0,writeRawBytes:0,writeRawElapsedUs:0,readRawCalls:0,readRawElapsedUs:0,readPumpRuns:0,readTimeoutSentinels:0,readPollTimersScheduled:0,readPollTimerFires:0,readPollTimerFireLagUs:0,readPollTimerFireLagMaxUs:0,readDataEvents:0,readBytes:0,readBase64DecodeCalls:0,readBase64DecodeBytes:0,readBase64DecodeChars:0,readBase64DecodeUs:0,readPayloadMaterializeCalls:0,readPayloadMaterializeBytes:0,readPayloadMaterializeUs:0,readEndEvents:0,readMacrotaskYields:0,readMacrotaskYieldElapsedUs:0,readMacrotaskYieldMaxUs:0,queueReadablePayloads:0,queueReadablePayloadElapsedUs:0,queueReadablePayloadMaxUs:0,queueReadableBytes:0,queueReadableBytesMax:0,queueReadableImmediateReadCalls:0,queueReadableImmediateReadUs:0,queueReadableImmediateReadMaxUs:0,socketReadableEmits:0,socketReadableEmitUs:0,socketReadableEmitMaxUs:0,socketDataEmits:0,socketDataEmitUs:0,socketDataEmitMaxUs:0,readPostDeliveryProbeCalls:0,readPostDeliveryProbeTimeoutSentinels:0,readPostDeliveryProbeDataEvents:0,readPostDeliveryNextRawCalls:0,readPostDeliveryNextRawTimeoutSentinels:0,readPostDeliveryNextRawDataEvents:0,readPostDeliveryToProbeStartUs:0,readPostDeliveryProbeElapsedUs:0,readPostDeliveryProbeMaxUs:0,readPostDeliveryPendingWriteFlushes:0,readPostDeliveryPendingWriteBytes:0,userWriteDuringDataEmitCalls:0,dataEmitStartToUserWriteUs:0,dataEmitEndToUserWriteUs:0,writeQueuedToFlushStartUs:0,writeQueuedToFlushStartMaxUs:0,writeFlushQueuedToRawUs:0,writeFlushQueuedToRawMaxUs:0,readWakeQueuedToPumpStartUs:0,readWakeQueuedToPumpStartMaxUs:0,acceptWakeQueuedToPumpStartUs:0,acceptWakeQueuedToPumpStartMaxUs:0,socketEndEmits:0,socketCloseEmits:0,socketConnectEmits:0,acceptRawCalls:0,acceptRawElapsedUs:0,acceptPumpRuns:0,acceptLoopAlreadyRunning:0,acceptTimeoutSentinels:0,acceptPollTimersScheduled:0,acceptPollTimerFires:0,acceptPollTimerFireLagUs:0,acceptPollTimerFireLagMaxUs:0,acceptConnections:0,acceptJsonParseUs:0,acceptOnConnectionUs:0,connectionEmits:0,readEventWakeups:0,readWakeAttempts:0,readWakeInvalidTargets:0,readWakeAlreadyRunning:0,readWakeNoTimer:0,readWakeNoTimerBeforeFirstPump:0,readWakeNoTimerAfterFirstPump:0,readWakeNoTimerConnected:0,readWakeNoTimerConnecting:0,readWakeNoTimerRefed:0,readWakeNoTimerUnrefed:0,readWakeNoTimerHasDataListener:0,readWakeNoTimerHasReadableListener:0,readWakeNoTimerPendingWriteFlush:0,readWakeNoTimerPendingWriteBytes:0,readFirstPumpAfterNoTimerWakeCalls:0,readFirstPumpAfterNoTimerWakeUs:0,readFirstPumpAfterNoTimerWakeMaxUs:0,readFirstPumpOriginConnectWait:0,readFirstPumpOriginAcceptedHandle:0,readFirstPumpOriginEventWake:0,readFirstPumpOriginTimer:0,readFirstPumpOriginRef:0,readFirstPumpOriginTls:0,readFirstPumpOriginUnknown:0,readFirstPumpResultData:0,readFirstPumpResultEnd:0,readFirstPumpResultTimeout:0,readFirstPumpScheduleCandidates:0,readFirstPumpScheduleQueued:0,readFirstPumpScheduleAlreadyScheduled:0,readFirstPumpScheduleRuns:0,readFirstPumpSchedulePumpCalls:0,readFirstPumpScheduleSkipDestroyed:0,readFirstPumpScheduleSkipTlsUpgrading:0,readFirstPumpScheduleSkipPumpStarted:0,readFirstPumpScheduleSkipLoopRunning:0,readFirstPumpScheduleSkipSocketClosed:0,readFirstPumpScheduleQueuedToRunUs:0,readFirstPumpScheduleQueuedToRunMaxUs:0,readFirstPumpScheduleQueuedToPumpStartUs:0,readFirstPumpScheduleQueuedToPumpStartMaxUs:0,readFirstPumpScheduleResultData:0,readFirstPumpScheduleResultTimeout:0,readFirstPumpScheduleResultEnd:0,peerWakeScans:0,peerWakeInvalidTargets:0,peerWakeFound:0,peerWakeMiss:0,peerWakeUnixFound:0,peerWakeUnixMiss:0,peerWakeOnShutdown:0,peerWakeOnDestroy:0,acceptEventWakeups:0,acceptWakeAttempts:0,acceptWakeInvalidTargets:0,acceptWakeNoTimer:0,acceptWakeNoTimerBeforeFirstPump:0,acceptWakeNoTimerAfterFirstPump:0,acceptWakeNoTimerLoopRunning:0,acceptWakeNoTimerLoopActive:0,acceptWakeNoTimerRefed:0,acceptWakeNoTimerUnrefed:0,acceptWakeNoTimerConnections:0,acceptWakeNoTimerConnectionsMax:0,acceptFirstPumpAfterNoTimerWakeCalls:0,acceptFirstPumpAfterNoTimerWakeUs:0,acceptFirstPumpAfterNoTimerWakeMaxUs:0,acceptFirstPumpOriginListen:0,acceptFirstPumpOriginEventWake:0,acceptFirstPumpOriginTimer:0,acceptFirstPumpOriginRef:0,acceptFirstPumpOriginUnknown:0,acceptFirstPumpResultConnection:0,acceptFirstPumpResultTimeout:0,acceptFirstPumpResultEmpty:0,acceptWakeAlreadyRunning:0,acceptWakeSocketScans:0,acceptWakeSocketInvalidTargets:0,acceptWakeSocketFound:0,acceptWakeSocketMiss:0,acceptWakeSocketUnixFound:0,acceptWakeSocketUnixMiss:0,dgramWakeAttempts:0,dgramWakeInvalidTargets:0,dgramWakeAlreadyRunning:0,dgramWakeNoTimer:0,dgramEventWakeups:0,dgramWakeLoopbackHits:0,dgramWakeLoopbackMisses:0}}var Z1=!1,ql=gW();function It(){return Z1||sSe()}function At(){return typeof __secureExecHrNowUs=="function"?Math.round(__secureExecHrNowUs()):typeof performance<"u"&&typeof performance.now=="function"?Math.round(performance.now()*1e3):Date.now()*1e3}function X(e,t=1){It()&&(ql[e]=(ql[e]??0)+t)}function Qr(e,t){if(!It())return;let r=Number(t);Number.isFinite(r)&&(ql[e]=Math.max(ql[e]??0,r))}function ASe(e){switch(e){case"connectWait":X("readFirstPumpOriginConnectWait");break;case"acceptedHandle":X("readFirstPumpOriginAcceptedHandle");break;case"eventWake":X("readFirstPumpOriginEventWake");break;case"timer":X("readFirstPumpOriginTimer");break;case"ref":X("readFirstPumpOriginRef");break;case"tls":X("readFirstPumpOriginTls");break;default:X("readFirstPumpOriginUnknown");break}}function fSe(e){switch(e){case"listen":X("acceptFirstPumpOriginListen");break;case"eventWake":X("acceptFirstPumpOriginEventWake");break;case"timer":X("acceptFirstPumpOriginTimer");break;case"ref":X("acceptFirstPumpOriginRef");break;default:X("acceptFirstPumpOriginUnknown");break}}Ge("__agentOSNetBridgeMetrics",{get enabled(){return It()},enable(){Z1=!0},disable(){Z1=!1},setPollDelayMs(e){X1=oSe(e)},resetPollDelayMs(){X1=null},pollDelayMs(){return sR()},reset(){ql=gW(),typeof _benchNetTcpMetricsResetRaw<"u"&&_benchNetTcpMetricsResetRaw.applySync(void 0,[])},snapshot(){let e;return typeof _benchNetTcpMetricsSnapshotRaw<"u"&&(e=_benchNetTcpMetricsSnapshotRaw.applySync(void 0,[])),{...ql,...e?{sidecarNetTrace:e}:{}}}});function uSe(){return new Promise(e=>{typeof CB=="function"?CB(e):setTimeout(e,0)})}function cSe(e,t,r){if(e==="net_socket"&&t&&typeof t=="object"){let i=t;if(i.event==="accept"){let o=jg.get(i.serverId);o&&vB(o);return}if(i.event==="dgram"){globalThis._dgramSocketDispatch?.(i);return}if(i.event==="http2"){globalThis._http2RetainDispatch?.(i);return}let s=f1(i.socketId);s&&(X("readEventWakeups"),_B(s));return}if(e&&typeof e=="object"){let i=e;if(i.event==="accept"){let o=jg.get(i.serverId);o&&vB(o);return}if(i.event==="dgram"){globalThis._dgramSocketDispatch?.(i);return}if(i.event==="http2"){globalThis._http2RetainDispatch?.(i);return}let s=f1(i.socketId);s&&(X("readEventWakeups"),_B(s));return}if(e===0&&t.startsWith("http2:")){nr("http2 dispatch via netSocket",t);try{let i=r?JSON.parse(r):{};AR(t.slice(6),Number(i.id??0),i.data,i.extra,i.extraNumber,i.extraHeaders,i.flags)}catch{}return}let n=f1(e);if(n)switch(t){case"connect":{n._applySocketInfo(dW(r)),n._connected=!0,n.connecting=!1,n._touchTimeout(),n._emitNet("connect"),n._emitNet("ready");break}case"secureConnect":case"secure":{let i=tSe(r);i&&(n.authorized=i.authorized===!0,n.authorizationError=i.authorizationError,n.alpnProtocol=i.alpnProtocol??!1,n.servername=i.servername??n.servername,n._tlsProtocol=i.protocol??null,n._tlsSessionReused=i.sessionReused===!0,n._tlsCipher=i.cipher??null),uB(n,t);break}case"data":{let i=typeof Buffer<"u"?Buffer.from(r,"base64"):new Uint8Array(0);n._touchTimeout(),n._emitNet("data",i);break}case"end":n._handleRemoteReadableEnd();break;case"session":{let i=typeof Buffer<"u"?Buffer.from(r??"","base64"):new Uint8Array(0);n._tlsSession=Buffer.from(i),n._emitNet("session",i);break}case"error":if(r)try{let i=JSON.parse(r);n.authorized=i.authorized===!0,n.authorizationError=i.authorizationError}catch{}n._emitNet("error",nSe(r));break;case"close":n._emitSocketClose(!1);break}}Ge("_netSocketDispatch",cSe);var jm=256*1024,No=class pW{constructor(t){y(this,"_listeners",{});y(this,"_onceListeners",{});y(this,"_socketId",0);y(this,"_loopbackServer",null);y(this,"_loopbackBuffer",Buffer.alloc(0));y(this,"_loopbackDispatchRunning",!1);y(this,"_loopbackDispatchPending",!1);y(this,"_loopbackReadableEnded",!1);y(this,"_loopbackUpgradeSocket",null);y(this,"_loopbackEventQueue",Promise.resolve());y(this,"_encoding");y(this,"_noDelayState",!1);y(this,"_keepAliveState",!1);y(this,"_keepAliveDelaySeconds",0);y(this,"_refed",!0);y(this,"_bridgeReadLoopRunning",!1);y(this,"_bridgeReadPumpQueued",!1);y(this,"_bridgeReadPollTimer",null);y(this,"_pendingBridgeWake",!1);y(this,"_pendingBridgeWakeRetries",0);y(this,"_bridgeReadPumpStarted",!1);y(this,"_bridgeReadFirstPumpBenchmarkScheduled",!1);y(this,"_readFirstPumpScheduleActive",!1);y(this,"_readFirstPumpScheduleQueuedAtUs",0);y(this,"_nextReadPumpOrigin",null);y(this,"_firstReadNoTimerWakeAtUs",0);y(this,"_timeoutMs",0);y(this,"_timeoutTimer",null);y(this,"_pendingBridgeWriteChunks",null);y(this,"_pendingBridgeWriteCallbacks",null);y(this,"_pendingBridgeWriteBytes",0);y(this,"_bridgeWriteFlushScheduled",!1);y(this,"_bridgeWriteFlushQueuedAtUs",0);y(this,"_lastReadDeliveryEndUs",0);y(this,"_currentDataEmitStartUs",0);y(this,"_wroteDuringDataEmit",!1);y(this,"_lastDataEmitEndUs",0);y(this,"_readWakeQueuedAtUs",0);y(this,"_tlsUpgrading",!1);y(this,"_remoteEnded",!1);y(this,"_writableEnded",!1);y(this,"_closeEmitted",!1);y(this,"_bridgeReleased",!1);y(this,"_connected",!1);y(this,"connecting",!1);y(this,"destroyed",!1);y(this,"writable",!0);y(this,"readable",!0);y(this,"readyState","open");y(this,"readableLength",0);y(this,"writableLength",0);y(this,"remoteAddress");y(this,"remotePort");y(this,"remoteFamily");y(this,"localAddress","0.0.0.0");y(this,"localPort",0);y(this,"localFamily","IPv4");y(this,"localPath");y(this,"remotePath");y(this,"bytesRead",0);y(this,"bytesWritten",0);y(this,"bufferSize",0);y(this,"pending",!0);y(this,"allowHalfOpen",!1);y(this,"encrypted",!1);y(this,"authorized",!1);y(this,"authorizationError");y(this,"servername");y(this,"alpnProtocol",!1);y(this,"writableHighWaterMark",16*1024);y(this,"server");y(this,"_tlsCipher",null);y(this,"_tlsProtocol",null);y(this,"_tlsSession",null);y(this,"_tlsSessionReused",!1);y(this,"_readableState",{endEmitted:!1,ended:!1});y(this,"_readQueue",[]);y(this,"_handle",null);t?.allowHalfOpen&&(this.allowHalfOpen=!0),t?.handle&&(this._handle=t.handle)}connect(t,r,n){if(typeof _netSocketConnectRaw>"u")throw new Error("net.Socket is not supported in sandbox (bridge not available)");let{host:i="127.0.0.1",port:s=0,path:o,localAddress:a,localPort:A,keepAlive:f,keepAliveInitialDelay:l,callback:p}=Wwe(t,r,n);p&&this.once("connect",p),this.connecting=!0,this.remoteAddress=o??i,this.remotePort=o?void 0:s,this.remotePath=o,this.pending=!1;let B;try{B=eSe(_netSocketConnectRaw.applySync(void 0,[o?{path:o}:{host:i,port:s,localAddress:a,localPort:A}]))}catch(S){return this.connecting=!1,this.pending=!1,queueMicrotask(()=>{this.destroyed||this.destroy(S)}),this}return B.loopbackHttpTarget?(this._loopbackHttpTarget=B.loopbackHttpTarget,this._applySocketInfo(B),this._connected=!0,this.connecting=!1,queueMicrotask(()=>{this._touchTimeout(),this._emitNet("connect"),this._emitNet("ready")}),this):(nr("socket connect",B.socketId,i,s,o??null),this._socketId=B.socketId,this._handle=bG(this._socketId),this._applySocketInfo(B),EG(this._socketId,this),this._waitForConnect(),f&&this.once("connect",()=>{this.setKeepAlive(!0,l)}),this)}write(t,r,n){let i,s=!1;if(Buffer.isBuffer(t))i=t;else if(typeof t=="string"){let a=typeof r=="string"?r:"utf-8";i=Buffer.from(t,a),s=aSe()}else i=Buffer.from(t);if(this._loopbackServer||this._loopbackHttpTarget){if(nr("socket write loopback",this._socketId,i.length),this.bytesWritten+=i.length,this._loopbackUpgradeSocket){this._touchTimeout(),this._loopbackUpgradeSocket._pushData(i);let A=typeof r=="function"?r:n;return A&&A(),!0}this._loopbackBuffer=Buffer.concat([this._loopbackBuffer,i]),this._touchTimeout(),this._dispatchLoopbackHttpRequest();let a=typeof r=="function"?r:n;return a&&a(),!0}if(typeof _netSocketWriteRaw>"u"||this.destroyed||!this._socketId)return!1;if(X("userWriteCalls"),X("userWriteBytes",i.length),It()){let a=At();this._currentDataEmitStartUs>0?(X("userWriteDuringDataEmitCalls"),X("dataEmitStartToUserWriteUs",a-this._currentDataEmitStartUs),this._wroteDuringDataEmit=!0):this._lastDataEmitEndUs>0&&X("dataEmitEndToUserWriteUs",a-this._lastDataEmitEndUs)}this.bytesWritten+=i.length;let o=typeof r=="function"?r:n;return this._queueBridgeWrite(i,o,s),!0}end(t,r,n){return typeof t=="function"?this.once("finish",t):t!=null&&this.write(t,r,n),this._writableEnded||this.destroyed?this:(this._writableEnded=!0,this.writable=!1,queueMicrotask(()=>{this.destroyed||(this._emitNet("finish"),this._remoteEnded&&this._emitSocketClose(!1))}),this._loopbackServer||this._loopbackHttpTarget?(this._loopbackUpgradeSocket?queueMicrotask(()=>{this._loopbackUpgradeSocket?._pushEnd()}):this._loopbackReadableEnded||queueMicrotask(()=>{this._closeLoopbackReadable()}),this):(typeof _netSocketEndRaw<"u"&&this._socketId&&!this.destroyed&&(this._flushBridgeWrites(),nr("socket end",this._socketId),_netSocketEndRaw.applySync(void 0,[this._socketId]),X("peerWakeOnShutdown"),AB(this),this._touchTimeout()),this))}destroy(t){return this.destroyed?this:(nr("socket destroy",this._socketId,t?.message??null),this.destroyed=!0,this._writableEnded=!0,this.writable=!1,this.readable=!1,this._readableState.endEmitted=!0,this._readableState.ended=!0,this._clearTimeoutTimer(),this._bridgeReadPollTimer&&(clearTimeout(this._bridgeReadPollTimer),this._bridgeReadPollTimer=null),this._loopbackServer||this._loopbackHttpTarget?(this._loopbackUpgradeSocket?.destroy(t),this._loopbackUpgradeSocket=null,this._loopbackServer=null,this._loopbackHttpTarget=null,t&&this._emitNet("error",t),this._emitSocketClose(!!t),this):(this._releaseBridgeSocket(),t&&this._emitNet("error",t),this._emitSocketClose(!!t),this))}_queueBridgeWrite(t,r,n=!1){this._pendingBridgeWriteChunks||(this._pendingBridgeWriteChunks=[],this._pendingBridgeWriteCallbacks=[]);let i=n?t:Buffer.from(t);this._pendingBridgeWriteChunks.push(i),this._pendingBridgeWriteBytes+=i.length,X("queuedWriteChunks"),X("queuedWriteBytes",i.length),n?(X("queuedWriteRetainedChunks"),X("queuedWriteRetainedBytes",i.length)):(X("queuedWriteCopiedChunks"),X("queuedWriteCopiedBytes",i.length)),Qr("writeBufferedBytesMax",this._pendingBridgeWriteBytes),Qr("writeBufferedChunksMax",this._pendingBridgeWriteChunks.length),r&&this._pendingBridgeWriteCallbacks.push(r),this._currentDataEmitStartUs>0?(X("writeFlushInlineDuringDataEmit"),this._flushBridgeWrites()):this._bridgeWriteFlushScheduled||(this._bridgeWriteFlushScheduled=!0,It()&&(this._bridgeWriteFlushQueuedAtUs=At()),queueMicrotask(()=>{this._flushBridgeWrites()}))}_flushBridgeWrites(){let t=this._pendingBridgeWriteChunks;if(!t||t.length===0){this._bridgeWriteFlushScheduled=!1,this._bridgeWriteFlushQueuedAtUs=0;return}let r=this._pendingBridgeWriteCallbacks??[],n=this._pendingBridgeWriteBytes;if(this._pendingBridgeWriteChunks=null,this._pendingBridgeWriteCallbacks=null,this._pendingBridgeWriteBytes=0,this._bridgeWriteFlushScheduled=!1,this.destroyed||!this._socketId||typeof _netSocketWriteRaw>"u")return;let i=It();if(i&&this._bridgeWriteFlushQueuedAtUs>0){let f=Math.max(0,At()-this._bridgeWriteFlushQueuedAtUs);X("writeQueuedToFlushStartUs",f),Qr("writeQueuedToFlushStartMaxUs",f),X("writeFlushQueuedToRawUs",f),Qr("writeFlushQueuedToRawMaxUs",f),this._bridgeWriteFlushQueuedAtUs=0}nr("socket write",this._socketId,n,t.length),X("flushCalls"),X("flushChunks",t.length),X("flushBytes",n);let s=i?At():0,o=[],a=0,A=()=>{if(a===0)return;let f=o.length===1?o[0]:Buffer.concat(o,a);X("writeRawCalls"),X("writeRawBytes",f.length),_netSocketWriteRaw.applySync(void 0,[this._socketId,f]),o=[],a=0};for(let f of t)for(let l=0;l<f.length;l+=jm){let p=f.subarray(l,l+jm);a>0&&a+p.length>jm&&A(),o.push(p),a+=p.length,a>=jm&&A()}A(),i&&X("writeRawElapsedUs",At()-s),AB(this),this._touchTimeout();for(let f of r)f()}_emitSocketClose(t=!1){this._closeEmitted||(this._closeEmitted=!0,this._connected=!1,this.connecting=!1,this.pending=!1,this.readable=!1,this.writable=!1,this._clearTimeoutTimer(),this._socketId&&Pwe(this._socketId),this.readableLength>0?this._deferBridgeReleaseUntilReadDrained=!0:this._releaseBridgeSocket(),this._emitNet("close",t))}_releaseDeferredBridgeSocket(){!this._deferBridgeReleaseUntilReadDrained||this.readableLength>0||(this._deferBridgeReleaseUntilReadDrained=!1,this._releaseBridgeSocket())}_releaseBridgeSocket(){if(!(this._bridgeReleased||!this._socketId||typeof _netSocketDestroyRaw>"u")){this._bridgeReleased=!0;try{_netSocketDestroyRaw.applySync(void 0,[this._socketId])}catch{}X("peerWakeOnDestroy"),AB(this)}}_handleRemoteReadableEnd(){this.destroyed||this._remoteEnded||(nr("socket remote end",this._socketId),this._remoteEnded=!0,this.readable=!1,this._readableState.endEmitted=!0,this._readableState.ended=!0,queueMicrotask(()=>{if(!this.destroyed&&(this._emitNet("end"),!this.destroyed)){if(!this.allowHalfOpen&&!this._writableEnded){this.end();return}this._writableEnded&&this._emitSocketClose(!1)}}))}_applySocketInfo(t){t&&(this.localAddress=t.localAddress,this.localPort=t.localPort,this.localFamily=t.localFamily,this.localPath=t.localPath,this.remoteAddress=t.remoteAddress??this.remoteAddress,this.remotePort=t.remotePort??this.remotePort,this.remoteFamily=t.remoteFamily??this.remoteFamily,this.remotePath=t.remotePath??this.remotePath)}_applyAcceptedKeepAlive(t){this._keepAliveState=!0,this._keepAliveDelaySeconds=RB(t)}static fromAcceptedHandle(t,r){let n=new pW({allowHalfOpen:r?.allowHalfOpen});return n._socketId=t.socketId,n._handle=bG(t.socketId),n._applySocketInfo(t.info),n._connected=!0,n.connecting=!1,n.pending=!1,EG(t.socketId,n),queueMicrotask(()=>{!n.destroyed&&!n._tlsUpgrading&&(n._nextReadPumpOrigin="acceptedHandle",n._pumpBridgeReads())}),n}setKeepAlive(t,r){let n=yG(t),i=RB(r);return n===this._keepAliveState&&(!n||i===this._keepAliveDelaySeconds)?this:(this._keepAliveState=n,this._keepAliveDelaySeconds=n?i:0,nr("socket setKeepAlive",this._socketId,n,i),this._handle?.setKeepAlive?.(n,i),this)}setNoDelay(t){let r=yG(t);return r===this._noDelayState?this:(this._noDelayState=r,nr("socket setNoDelay",this._socketId,r),this._handle?.setNoDelay?.(r),this)}setTimeout(t,r){let n=hW(t);if(r!==void 0&&typeof r!="function")throw Hl("callback",r);return r&&this.once("timeout",r),this._timeoutMs=n,n===0?(this._clearTimeoutTimer(),this):(this._touchTimeout(),this)}ref(){return this._refed=!0,this._handle?.ref?.(),this._timeoutTimer&&typeof this._timeoutTimer.ref=="function"&&this._timeoutTimer.ref(),!this.destroyed&&this._connected&&!this._loopbackServer&&!this._loopbackHttpTarget&&!this._bridgeReadLoopRunning&&(this._nextReadPumpOrigin="ref",this._pumpBridgeReads()),this}unref(){return this._refed=!1,this._handle?.unref?.(),this._timeoutTimer&&typeof this._timeoutTimer.unref=="function"&&this._timeoutTimer.unref(),this._bridgeReadPollTimer&&(clearTimeout(this._bridgeReadPollTimer),this._bridgeReadPollTimer=null),this}pause(){return this}resume(){return this}read(t){if(this._readQueue.length===0)return null;let r;if(t==null||t<=0)r=this._readQueue.shift()??null,r&&(this.readableLength=Math.max(0,this.readableLength-r.length));else{let n=this._readQueue[0];if(!n)return null;n.length<=t?(this._readQueue.shift(),this.readableLength=Math.max(0,this.readableLength-n.length),r=n):(r=n.subarray(0,t),this._readQueue[0]=n.subarray(t),this.readableLength=Math.max(0,this.readableLength-r.length))}return this.readableLength===0&&this._releaseDeferredBridgeSocket(),r}unshift(t){let r=Buffer.isBuffer(t)?t:Buffer.from(t);return r.length===0?this:(this._readQueue.unshift(r),this.readableLength+=r.length,this)}cork(){}uncork(){}address(){return{port:this.localPort,family:this.localFamily,address:this.localAddress}}getCipher(){return Ca(this._socketId,"getCipher")??this._tlsCipher}getSession(){let t=Ca(this._socketId,"getSession");return Buffer.isBuffer(t)?(this._tlsSession=Buffer.from(t),Buffer.from(t)):this._tlsSession?Buffer.from(this._tlsSession):null}isSessionReused(){let t=Ca(this._socketId,"isSessionReused");return typeof t=="boolean"?t:this._tlsSessionReused}getPeerCertificate(t){let r=Ca(this._socketId,"getPeerCertificate",t===!0);return r&&typeof r=="object"?r:{}}getCertificate(){let t=Ca(this._socketId,"getCertificate");return t&&typeof t=="object"?t:{}}getProtocol(){let t=Ca(this._socketId,"getProtocol");return typeof t=="string"?t:this._tlsProtocol}setEncoding(t){return this._encoding=t,this}pipe(t){return t}on(t,r){return this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(r),this}addListener(t,r){return this.on(t,r)}once(t,r){return this._onceListeners[t]||(this._onceListeners[t]=[]),this._onceListeners[t].push(r),this}removeListener(t,r){let n=this._listeners[t];if(n){let s=n.indexOf(r);s>=0&&n.splice(s,1)}let i=this._onceListeners[t];if(i){let s=i.indexOf(r);s>=0&&i.splice(s,1)}return this}off(t,r){return this.removeListener(t,r)}removeAllListeners(t){return t?(delete this._listeners[t],delete this._onceListeners[t]):(this._listeners={},this._onceListeners={}),this}listeners(t){return[...this._listeners[t]??[],...this._onceListeners[t]??[]]}listenerCount(t){return(this._listeners[t]?.length??0)+(this._onceListeners[t]?.length??0)}setMaxListeners(t){return this}getMaxListeners(){return 10}prependListener(t,r){return this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].unshift(r),this}prependOnceListener(t,r){return this._onceListeners[t]||(this._onceListeners[t]=[]),this._onceListeners[t].unshift(r),this}eventNames(){return[...new Set([...Object.keys(this._listeners),...Object.keys(this._onceListeners)])]}rawListeners(t){return this.listeners(t)}emit(t,...r){return this._emitNet(t,...r)}_emitNet(t,...r){let n=It()&&(t==="readable"||t==="data"),i=n?At():0;n&&t==="data"&&(this._currentDataEmitStartUs=i),t==="readable"?X("socketReadableEmits"):t==="data"?X("socketDataEmits"):t==="end"?X("socketEndEmits"):t==="close"?X("socketCloseEmits"):t==="connect"&&X("socketConnectEmits"),t==="data"&&this._encoding&&r[0]&&Buffer.isBuffer(r[0])&&(r[0]=r[0].toString(this._encoding));let s=!1;try{let o=this._listeners[t];if(o)for(let A of[...o])A.call(this,...r),s=!0;let a=this._onceListeners[t];if(a){let A=[...a];this._onceListeners[t]=[];for(let f of A)f.call(this,...r),s=!0}}finally{if(n){let o=At()-i;t==="readable"?(X("socketReadableEmitUs",o),Qr("socketReadableEmitMaxUs",o)):t==="data"&&(X("socketDataEmitUs",o),Qr("socketDataEmitMaxUs",o),this._lastDataEmitEndUs=At(),this._currentDataEmitStartUs=0)}}return s}_queueReadablePayload(t){if(!t||t.length===0)return;let r=It(),n=r?At():0;try{if(this._readQueue.push(t),this.readableLength+=t.length,X("queueReadablePayloads"),X("queueReadableBytes",t.length),Qr("queueReadableBytesMax",this.readableLength),this._emitNet("readable"),this.listenerCount("data")>0){let i=r?At():0,s=this.read();if(r){let o=At()-i;X("queueReadableImmediateReadCalls"),X("queueReadableImmediateReadUs",o),Qr("queueReadableImmediateReadMaxUs",o)}s!==null&&this._emitNet("data",s)}}finally{if(r){let i=At()-n;X("queueReadablePayloadElapsedUs",i),Qr("queueReadablePayloadMaxUs",i)}}}async _waitForConnect(){if(!(typeof _netSocketWaitConnectRaw>"u"||this._socketId===0))try{let t=await _netSocketWaitConnectRaw.apply(void 0,[this._socketId],{result:{promise:!0}});if(this.destroyed)return;this._applySocketInfo(dW(t)),await qwe(this),this._connected=!0,this.connecting=!1,nr("socket connected",this._socketId,this.localAddress,this.localPort,this.remoteAddress,this.remotePort),this._touchTimeout(),nr("socket emit connect",this._socketId,this.listenerCount("connect")),this._emitNet("connect"),nr("socket emit ready",this._socketId,this.listenerCount("ready")),this._emitNet("ready"),this._tlsUpgrading||(this._nextReadPumpOrigin="connectWait",await this._pumpBridgeReads())}catch(t){if(this.destroyed)return;let r=t instanceof Error?t:new Error(String(t));nr("socket connect error",this._socketId,r.message,r.stack??null),this._emitNet("error",r),this.destroy()}}async _pumpBridgeReads(){if(this._bridgeReadLoopRunning||typeof _netSocketReadRaw>"u"||!Rg(this))return;X("readPumpRuns");let t=!this._bridgeReadPumpStarted,r=this._readFirstPumpScheduleActive===!0;if(t){if(ASe(this._nextReadPumpOrigin),this._firstReadNoTimerWakeAtUs>0&&It()){let o=Math.max(0,At()-this._firstReadNoTimerWakeAtUs);X("readFirstPumpAfterNoTimerWakeCalls"),X("readFirstPumpAfterNoTimerWakeUs",o),Qr("readFirstPumpAfterNoTimerWakeMaxUs",o)}if(r&&this._readFirstPumpScheduleQueuedAtUs>0&&It()){let o=Math.max(0,At()-this._readFirstPumpScheduleQueuedAtUs);X("readFirstPumpScheduleQueuedToPumpStartUs",o),Qr("readFirstPumpScheduleQueuedToPumpStartMaxUs",o)}}this._readFirstPumpScheduleActive=!1,this._readFirstPumpScheduleQueuedAtUs=0,this._nextReadPumpOrigin=null,this._bridgeReadPumpStarted=!0;let n=!1,i=!1;if(It()&&this._readWakeQueuedAtUs>0){let o=Math.max(0,At()-this._readWakeQueuedAtUs);X("readWakeQueuedToPumpStartUs",o),Qr("readWakeQueuedToPumpStartMaxUs",o),this._readWakeQueuedAtUs=0}this._bridgeReadLoopRunning=!0;let s=0;try{for(;!this.destroyed&&Rg(this);){X("readRawCalls");let o=It(),a=o&&this._lastReadDeliveryEndUs>0?At():0;if(a>0&&(X("readPostDeliveryProbeCalls"),X("readPostDeliveryNextRawCalls"),X("readPostDeliveryToProbeStartUs",a-this._lastReadDeliveryEndUs),this._bridgeWriteFlushScheduled&&(X("readPostDeliveryPendingWriteFlushes"),X("readPostDeliveryPendingWriteBytes",this._pendingBridgeWriteBytes)),this._lastReadDeliveryEndUs=0),!Rg(this))return;let A=o?At():0,f=_netSocketReadRaw.applySync(void 0,[this._socketId]);if(o){let p=At()-A;X("readRawElapsedUs",p),a>0&&(X("readPostDeliveryProbeElapsedUs",p),Qr("readPostDeliveryProbeMaxUs",p))}if(this.destroyed)return;if(f===iR){if(t&&!n&&(n=!0,X("readFirstPumpResultTimeout")),r&&!i&&(i=!0,X("readFirstPumpScheduleResultTimeout")),X("readTimeoutSentinels"),a>0&&(X("readPostDeliveryProbeTimeoutSentinels"),X("readPostDeliveryNextRawTimeoutSentinels")),!this._refed)return;if(this._pendingBridgeWake){if(this._pendingBridgeWakeRetries<2){this._pendingBridgeWakeRetries++,X("readPendingWakeImmediateRetries"),this._nextReadPumpOrigin="eventWake",await Promise.resolve();continue}this._pendingBridgeWake=!1,this._pendingBridgeWakeRetries=0,X("readPendingWakeShortRetryTimers"),this._bridgeReadPollTimer=setTimeout(()=>{this._bridgeReadPollTimer=null,this._nextReadPumpOrigin="eventWake",this._pumpBridgeReads()},1);return}X("readPollTimersScheduled");let p=sR(),B=It()?At():0;this._bridgeReadPollTimer=setTimeout(()=>{if(It()){let S=Math.max(0,At()-B-p*1e3);X("readPollTimerFires"),X("readPollTimerFireLagUs",S),Qr("readPollTimerFireLagMaxUs",S)}this._bridgeReadPollTimer=null,this._nextReadPumpOrigin="timer",this._pumpBridgeReads()},p);return}if(f===null){t&&!n&&(n=!0,X("readFirstPumpResultEnd")),r&&!i&&(i=!0,X("readFirstPumpScheduleResultEnd")),X("readEndEvents"),this._pendingBridgeWake=!1,this._pendingBridgeWakeRetries=0,this._handleRemoteReadableEnd();return}a>0&&(X("readPostDeliveryProbeDataEvents"),X("readPostDeliveryNextRawDataEvents")),t&&!n&&(n=!0,X("readFirstPumpResultData")),r&&!i&&(i=!0,X("readFirstPumpScheduleResultData"));let l;if(typeof f=="string"){let p=o?At():0;l=Buffer.from(f,"base64"),o&&(X("readBase64DecodeCalls"),X("readBase64DecodeBytes",l.length),X("readBase64DecodeChars",f.length),X("readBase64DecodeUs",At()-p))}else{let p=o?At():0;l=Buffer.from(f),o&&(X("readPayloadMaterializeCalls"),X("readPayloadMaterializeBytes",l.length),X("readPayloadMaterializeUs",At()-p))}if(nr("socket data",this._socketId,l.length),X("readDataEvents"),X("readBytes",l.length),this.bytesRead+=l.length,this._touchTimeout(),s>0){X("readMacrotaskYields");let p=o?At():0;if(await uSe(),o){let B=At()-p;X("readMacrotaskYieldElapsedUs",B),Qr("readMacrotaskYieldMaxUs",B)}if(this.destroyed)return}else X("readFirstPayloadImmediateDeliveries");if(this._pendingBridgeWake=!1,this._pendingBridgeWakeRetries=0,s++,this._queueReadablePayload(l),this._wroteDuringDataEmit){this._wroteDuringDataEmit=!1,X("readPumpYieldAfterInlineDataWrite"),Ug(this,"postDeliveryInlineWrite");return}if(this._bridgeWriteFlushScheduled){X("readPumpYieldToPendingWriteFlush"),Ug(this,"postDeliveryWriteFlush");return}o&&(this._lastReadDeliveryEndUs=At())}}finally{this._bridgeReadLoopRunning=!1,this._pendingBridgeWake&&!this.destroyed&&Rg(this)&&Ug(this,"eventWake")}}_dispatchLoopbackHttpRequest(){if(!(!this._loopbackServer&&!this._loopbackHttpTarget||this.destroyed)){if(this._loopbackDispatchRunning){this._loopbackDispatchPending=!0;return}this._loopbackDispatchRunning=!0,this._processLoopbackHttpRequests().finally(()=>{this._loopbackDispatchRunning=!1,this._loopbackDispatchPending&&this._loopbackBuffer.length>0?(this._loopbackDispatchPending=!1,this._dispatchLoopbackHttpRequest()):this._loopbackDispatchPending=!1})}}async _processLoopbackHttpRequests(){let t=!1;for(;(this._loopbackServer||this._loopbackHttpTarget)&&!this.destroyed;){let r=this._loopbackServer??{listenerCount:()=>0},n=PW(this._loopbackBuffer,r);if(n.kind==="incomplete"){t&&this._closeLoopbackReadable();return}if(n.kind==="bad-request"){this._pushLoopbackData(A2()),n.closeConnection&&this._closeLoopbackReadable(),this._loopbackBuffer=Buffer.alloc(0);return}if(this._loopbackBuffer=this._loopbackBuffer.subarray(n.bytesConsumed),n.upgradeHead){this._dispatchLoopbackUpgrade(n.request,n.upgradeHead);return}let i;if(this._loopbackHttpTarget){if(typeof _networkHttpServerRequestRaw>"u")throw new Error("HTTP loopback bridge is not available");i=_networkHttpServerRequestRaw.applySync(void 0,[{...this._loopbackHttpTarget,request:JSON.stringify(n.request)}])}else({responseJson:i}=await B_e(this._loopbackServer,n.request));let s=JSON.parse(i),o=dR(s,n.request,n.closeConnection);if(!t&&o.payload.length>0&&this._pushLoopbackData(o.payload),o.closeConnection&&(t=!0,this._loopbackBuffer.length===0)){this._closeLoopbackReadable();return}}}_pushLoopbackData(t){if(t.length===0||this._loopbackReadableEnded)return;let r=Buffer.from(t);this._queueLoopbackEvent(()=>{this.destroyed||(this.bytesRead+=r.length,this._touchTimeout(),this._queueReadablePayload(r))})}_closeLoopbackReadable(){this._loopbackReadableEnded||(this._loopbackReadableEnded=!0,this.readable=!1,this.writable=!1,this._readableState.endEmitted=!0,this._readableState.ended=!0,this._clearTimeoutTimer(),this._queueLoopbackEvent(()=>{this._emitNet("end"),this._emitNet("close")}))}_queueLoopbackEvent(t){this._loopbackEventQueue=this._loopbackEventQueue.then(()=>new Promise(r=>{queueMicrotask(()=>{try{t()}finally{r()}})}))}_dispatchLoopbackUpgrade(t,r){if(this._loopbackServer)try{let n=new $Se({host:this.remoteAddress,port:this.remotePort});n._attachPeer({_pushData:i=>this._pushLoopbackData(i),_pushEnd:()=>this._closeLoopbackReadable()}),this._loopbackUpgradeSocket=n,this._loopbackServer._emit("upgrade",new Fu(t),n,r)}catch(n){let i=n instanceof Error?n:new Error(String(n)),s=!1,o=null;if(typeof process<"u"&&typeof process.emit=="function"){let a=process;try{s=a.emit("uncaughtException",i,"uncaughtException")}catch(A){if(A&&typeof A=="object"&&A.name==="ProcessExitError"){s=!0;let f=Number(A.code);o=Number.isFinite(f)?f:0}else throw A}}if(s){o!==null&&(process.exitCode=o),this._loopbackServer?.close(),this.destroy();return}throw i}}_upgradeTls(t){if(typeof _netSocketUpgradeTlsRaw>"u")throw new Error("tls.connect is not supported in sandbox (bridge not available)");if(this._tlsUpgrading=!0,this._loopbackServer&&(typeof this._socketId!="string"||this._socketId.length===0)){queueMicrotask(()=>{this.destroyed||uB(this)});return}_netSocketUpgradeTlsRaw.applySync(void 0,[this._socketId,JSON.stringify(t??{})]);let r=()=>{this.destroyed||uB(this)};t?.isServer?queueMicrotask(r):setTimeout(()=>{this.destroyed||uB(this,"secureConnect",!1)},0)}_touchTimeout(){this._timeoutMs===0||this.destroyed||(this._clearTimeoutTimer(),this._timeoutTimer=setTimeout(()=>{this._timeoutTimer=null,!this.destroyed&&this._emitNet("timeout")},this._timeoutMs),!this._refed&&typeof this._timeoutTimer.unref=="function"&&this._timeoutTimer.unref())}_clearTimeoutTimer(){this._timeoutTimer&&(clearTimeout(this._timeoutTimer),this._timeoutTimer=null)}};function $1(e,t,r){let n=new No;return n.connect(e,t,r),n}var zg=class{constructor(e,t){y(this,"_listeners",{});y(this,"_onceListeners",{});y(this,"_serverId",0);y(this,"_address",null);y(this,"_acceptLoopActive",!1);y(this,"_acceptLoopRunning",!1);y(this,"_acceptPollTimer",null);y(this,"_pendingAcceptWake",!1);y(this,"_acceptPumpStarted",!1);y(this,"_nextAcceptPumpOrigin",null);y(this,"_firstAcceptNoTimerWakeAtUs",0);y(this,"_acceptWakeQueuedAtUs",0);y(this,"_handleRefId",null);y(this,"_connections",new Set);y(this,"_refed",!0);y(this,"listening",!1);y(this,"keepAlive",!1);y(this,"keepAliveInitialDelay",0);y(this,"allowHalfOpen",!1);y(this,"maxConnections");y(this,"_handle");typeof e=="function"?this.on("connection",e):(this.allowHalfOpen=e?.allowHalfOpen===!0,this.keepAlive=e?.keepAlive===!0,this.keepAliveInitialDelay=e?.keepAliveInitialDelay??0,t&&this.on("connection",t)),this._handle={onconnection:(r,n)=>{if(r){this._emit("error",r);return}if(!n)return;if(typeof this.maxConnections=="number"&&this.maxConnections>=0&&this._connections.size>=this.maxConnections){this._emit("drop",{localAddress:n.info.localAddress,localPort:n.info.localPort,localFamily:n.info.localFamily,remoteAddress:n.info.remoteAddress,remotePort:n.info.remotePort,remoteFamily:n.info.remoteFamily}),_netSocketDestroyRaw?.applySync(void 0,[n.socketId]),X("peerWakeOnDestroy"),AB({_socketId:n.socketId,localPort:n.info.localPort,remotePort:n.info.remotePort,localPath:n.info.localPath,remotePath:n.info.remotePath});return}this.keepAlive&&n.setKeepAlive?.(!0,this.keepAliveInitialDelay);let i=No.fromAcceptedHandle(n,{allowHalfOpen:this.allowHalfOpen});i.server=this,this._connections.add(i),i.once("close",()=>{this._connections.delete(i)}),this.keepAlive&&i._applyAcceptedKeepAlive(this.keepAliveInitialDelay),X("connectionEmits"),this._emit("connection",i)}}}listen(e,t,r,n){if(typeof _netServerListenRaw>"u"||typeof _netServerAcceptRaw>"u")throw new Error("net.createServer is not supported in sandbox");let{port:i,host:s,path:o,backlog:a,readableAll:A,writableAll:f,callback:l}=cW(e,t,r,n);l&&this.once("listening",l);try{let p=_netServerListenRaw.applySyncPromise(void 0,[{port:i,host:s,path:o,backlog:a,readableAll:A,writableAll:f}]),B=typeof p=="string"?JSON.parse(p):p,S=B.address??B;this._serverId=B.serverId,this._address=S.localPath?S.localPath:{address:S.localAddress,family:S.localFamily??S.family,port:S.localPort},this.listening=!0,Owe(this),this._syncHandleRef(),this._acceptLoopActive=!0,queueMicrotask(()=>{!this.listening||this._serverId===0||(this._emit("listening"),this._nextAcceptPumpOrigin="listen",this._pumpAccepts())})}catch(p){queueMicrotask(()=>{this._emit("error",p)})}return this}close(e){if(e&&this.once("close",e),!this.listening||typeof _netServerCloseRaw>"u")return queueMicrotask(()=>{this._emit("close")}),this;this.listening=!1,this._acceptLoopActive=!1,Hwe(this),this._acceptPollTimer&&(clearTimeout(this._acceptPollTimer),this._acceptPollTimer=null),this._syncHandleRef();let t=this._serverId;return this._serverId=0,(async()=>{try{await _netServerCloseRaw.apply(void 0,[t],{result:{promise:!0}})}finally{this._address=null,this._emit("close")}})(),this}address(){return this._address}getConnections(e){if(typeof e!="function")throw Hl("callback",e);return queueMicrotask(()=>{e(null,this._connections.size)}),this}ref(){return this._refed=!0,this._syncHandleRef(),this.listening&&this._acceptLoopActive&&!this._acceptLoopRunning&&(this._nextAcceptPumpOrigin="ref",this._pumpAccepts()),this}unref(){return this._refed=!1,this._acceptPollTimer&&(clearTimeout(this._acceptPollTimer),this._acceptPollTimer=null),this._syncHandleRef(),this}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}once(e,t){return this._onceListeners[e]||(this._onceListeners[e]=[]),this._onceListeners[e].push(t),this}emit(e,...t){return this._emit(e,...t)}_emit(e,...t){let r=!1,n=this._listeners[e];if(n)for(let s of[...n])s.call(this,...t),r=!0;let i=this._onceListeners[e];if(i){this._onceListeners[e]=[];for(let s of[...i])s.call(this,...t),r=!0}return r}_syncHandleRef(){if(!this.listening||this._serverId===0||!this._refed){this._handleRefId&&typeof _unregisterHandle=="function"&&_unregisterHandle(this._handleRefId),this._handleRefId=null;return}let e=`${Lwe}${this._serverId}`;this._handleRefId!==e&&(this._handleRefId&&typeof _unregisterHandle=="function"&&_unregisterHandle(this._handleRefId),this._handleRefId=e,typeof _registerHandle=="function"&&_registerHandle(this._handleRefId,"net server"))}async _pumpAccepts(){if(typeof _netServerAcceptRaw>"u"||this._acceptLoopRunning){this._acceptLoopRunning&&X("acceptLoopAlreadyRunning");return}X("acceptPumpRuns");let e=!this._acceptPumpStarted;if(e&&(fSe(this._nextAcceptPumpOrigin),this._firstAcceptNoTimerWakeAtUs>0&&It())){let r=Math.max(0,At()-this._firstAcceptNoTimerWakeAtUs);X("acceptFirstPumpAfterNoTimerWakeCalls"),X("acceptFirstPumpAfterNoTimerWakeUs",r),Qr("acceptFirstPumpAfterNoTimerWakeMaxUs",r)}this._nextAcceptPumpOrigin=null,this._acceptPumpStarted=!0;let t=!1;if(It()&&this._acceptWakeQueuedAtUs>0){let r=Math.max(0,At()-this._acceptWakeQueuedAtUs);X("acceptWakeQueuedToPumpStartUs",r),Qr("acceptWakeQueuedToPumpStartMaxUs",r),this._acceptWakeQueuedAtUs=0}this._acceptLoopRunning=!0;try{for(;this._acceptLoopActive&&this._serverId!==0;){X("acceptRawCalls");let r=It(),n=r?At():0,i=_netServerAcceptRaw.applySync(void 0,[this._serverId]);if(r&&X("acceptRawElapsedUs",At()-n),i===iR){if(e&&!t&&(t=!0,X("acceptFirstPumpResultTimeout")),X("acceptTimeoutSentinels"),!this._refed)return;if(this._pendingAcceptWake){this._pendingAcceptWake=!1,this._nextAcceptPumpOrigin="eventWake";continue}X("acceptPollTimersScheduled");let s=sR(),o=It()?At():0;this._acceptPollTimer=setTimeout(()=>{if(It()){let a=Math.max(0,At()-o-s*1e3);X("acceptPollTimerFires"),X("acceptPollTimerFireLagUs",a),Qr("acceptPollTimerFireLagMaxUs",a)}this._acceptPollTimer=null,this._nextAcceptPumpOrigin="timer",this._pumpAccepts()},s);return}if(!i){e&&!t&&(t=!0,X("acceptFirstPumpResultEmpty"));return}try{let s=r?At():0,o=JSON.parse(i);r&&X("acceptJsonParseUs",At()-s),X("acceptConnections"),e&&!t&&(t=!0,X("acceptFirstPumpResultConnection"));let a=iSe(o.socketId,o.info),A=r?At():0;this._handle.onconnection(null,a),r&&X("acceptOnConnectionUs",At()-A)}catch(s){this._emit("error",s)}}}finally{this._acceptLoopRunning=!1,this._pendingAcceptWake&&this.listening&&this._serverId!==0&&(this._pendingAcceptWake=!1,this._nextAcceptPumpOrigin="eventWake",queueMicrotask(()=>{this.listening&&this._serverId!==0&&this._pumpAccepts()}))}}};function lSe(e,t){return new zg(e,t)}var EW={BlockList:Zwe,Socket:No,SocketAddress:$we,Server:lSe,Stream:No,connect:$1,createConnection:$1,createServer(e,t){return new zg(e,t)},getDefaultAutoSelectFamily(){return BG},getDefaultAutoSelectFamilyAttemptTimeout(){return IG},isIP(e){return kl(e)},isIPv4(e){return kl(e)===4},isIPv6(e){return kl(e)===6},setDefaultAutoSelectFamily(e){BG=e!==!1},setDefaultAutoSelectFamilyAttemptTimeout(e){let t=Number(e);if(!Number.isFinite(t)||t<0)throw new RangeError(`Invalid auto-select family attempt timeout: ${e}`);IG=Math.trunc(t)}},hSe=Symbol.for("secure-exec.http2.kSocket"),CG=Symbol("options"),vs=new Map,Bn=new Map,bn=new Map,TB=new Map,c1=new Set,e2=[],t2=new Map,l1=!1,Na=new Map,dSe=1,Mu=class{constructor(){y(this,"_listeners",{});y(this,"_onceListeners",{})}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}addListener(e,t){return this.on(e,t)}once(e,t){return this._onceListeners[e]||(this._onceListeners[e]=[]),this._onceListeners[e].push(t),this}removeListener(e,t){let r=n=>{if(!n)return;let i=n.indexOf(t);i!==-1&&n.splice(i,1)};return r(this._listeners[e]),r(this._onceListeners[e]),this}off(e,t){return this.removeListener(e,t)}listenerCount(e){return(this._listeners[e]?.length??0)+(this._onceListeners[e]?.length??0)}setMaxListeners(e){return this}emit(e,...t){let r=!1,n=this._listeners[e];if(n)for(let s of[...n])s.call(this,...t),r=!0;let i=this._onceListeners[e];if(i){this._onceListeners[e]=[];for(let s of[...i])s.call(this,...t),r=!0}return r}},r2=class extends Mu{constructor(t,r){super();y(this,"allowHalfOpen",!1);y(this,"encrypted",!1);y(this,"localAddress","127.0.0.1");y(this,"localPort",0);y(this,"localFamily","IPv4");y(this,"remoteAddress","127.0.0.1");y(this,"remotePort",0);y(this,"remoteFamily","IPv4");y(this,"servername");y(this,"alpnProtocol",!1);y(this,"readable",!0);y(this,"writable",!0);y(this,"destroyed",!1);y(this,"_bridgeReadPollTimer",null);y(this,"_loopbackServer",null);y(this,"_onDestroy");y(this,"_destroyCallbackInvoked",!1);this._onDestroy=r,this._applyState(t)}_applyState(t){t&&(this.allowHalfOpen=t.allowHalfOpen===!0,this.encrypted=t.encrypted===!0,this.localAddress=t.localAddress??this.localAddress,this.localPort=t.localPort??this.localPort,this.localFamily=t.localFamily??this.localFamily,this.remoteAddress=t.remoteAddress??this.remoteAddress,this.remotePort=t.remotePort??this.remotePort,this.remoteFamily=t.remoteFamily??this.remoteFamily,this.servername=t.servername,this.alpnProtocol=t.alpnProtocol??this.alpnProtocol)}_clearTimeoutTimer(){}_emitNet(t,r){if(t==="error"&&r){this.emit("error",r);return}t==="close"&&(this._destroyCallbackInvoked||(this._destroyCallbackInvoked=!0,queueMicrotask(()=>{this._onDestroy?.()})),this.emit("close"))}end(){return this.destroyed=!0,this.readable=!1,this.writable=!1,this.emit("close"),this}destroy(){return this.destroyed?this:(this.destroyed=!0,this.readable=!1,this.writable=!1,this._emitNet("close"),this)}};function Gl(e,t,r){return lr(`The "${e}" argument must be of type ${t}. Received ${Yn(r)}`,"ERR_INVALID_ARG_TYPE")}function wo(e,t){return kB(t,e)}function Tg(e,t){let r=new RangeError(`Invalid value for setting "${e}": ${String(t)}`);return r.code="ERR_HTTP2_INVALID_SETTING_VALUE",r}function gSe(e,t){let r=new TypeError(`Invalid value for setting "${e}": ${String(t)}`);return r.code="ERR_HTTP2_INVALID_SETTING_VALUE",r}var _o={NGHTTP2_NO_ERROR:0,NGHTTP2_PROTOCOL_ERROR:1,NGHTTP2_INTERNAL_ERROR:2,NGHTTP2_FLOW_CONTROL_ERROR:3,NGHTTP2_SETTINGS_TIMEOUT:4,NGHTTP2_STREAM_CLOSED:5,NGHTTP2_FRAME_SIZE_ERROR:6,NGHTTP2_REFUSED_STREAM:7,NGHTTP2_CANCEL:8,NGHTTP2_COMPRESSION_ERROR:9,NGHTTP2_CONNECT_ERROR:10,NGHTTP2_ENHANCE_YOUR_CALM:11,NGHTTP2_INADEQUATE_SECURITY:12,NGHTTP2_HTTP_1_1_REQUIRED:13,NGHTTP2_NV_FLAG_NONE:0,NGHTTP2_NV_FLAG_NO_INDEX:1,NGHTTP2_ERR_DEFERRED:-508,NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE:-509,NGHTTP2_ERR_STREAM_CLOSED:-510,NGHTTP2_ERR_INVALID_ARGUMENT:-501,NGHTTP2_ERR_FRAME_SIZE_ERROR:-522,NGHTTP2_ERR_NOMEM:-901,NGHTTP2_FLAG_NONE:0,NGHTTP2_FLAG_END_STREAM:1,NGHTTP2_FLAG_END_HEADERS:4,NGHTTP2_FLAG_ACK:1,NGHTTP2_FLAG_PADDED:8,NGHTTP2_FLAG_PRIORITY:32,NGHTTP2_DEFAULT_WEIGHT:16,NGHTTP2_SETTINGS_HEADER_TABLE_SIZE:1,NGHTTP2_SETTINGS_ENABLE_PUSH:2,NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS:3,NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE:4,NGHTTP2_SETTINGS_MAX_FRAME_SIZE:5,NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE:6,NGHTTP2_SETTINGS_ENABLE_CONNECT_PROTOCOL:8},pSe={[_o.NGHTTP2_ERR_DEFERRED]:"Data deferred",[_o.NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE]:"Stream ID is not available",[_o.NGHTTP2_ERR_STREAM_CLOSED]:"Stream was already closed or invalid",[_o.NGHTTP2_ERR_INVALID_ARGUMENT]:"Invalid argument",[_o.NGHTTP2_ERR_FRAME_SIZE_ERROR]:"Frame size error",[_o.NGHTTP2_ERR_NOMEM]:"Out of memory"},yW=class extends Error{constructor(t){super(t);y(this,"code","ERR_HTTP2_ERROR");this.name="Error"}};function mW(e){return pSe[e]??`HTTP/2 error (${String(e)})`}function h1(e,t){return lr(`The property 'options.${e}' is invalid. Received ${ESe(t)}`,"ERR_INVALID_ARG_VALUE")}function ESe(e){return typeof e=="function"?`[Function${e.name?`: ${e.name}`:": function"}]`:typeof e=="symbol"?e.toString():Array.isArray(e)?"[]":e===null?"null":typeof e=="object"?"{}":String(e)}function ySe(e){return wo("ERR_HTTP2_PAYLOAD_FORBIDDEN",`Responses with ${String(e)} status must not have a payload`)}var mSe=61440,BSe=16384,ISe=32768,bSe=4096,CSe=49152,QSe=40960;function wSe(e){let t=e.atimeMs??0,r=e.mtimeMs??t,n=e.ctimeMs??r,i=e.birthtimeMs??n,s=e.mode&mSe;return{size:e.size,mode:e.mode,atimeMs:t,mtimeMs:r,ctimeMs:n,birthtimeMs:i,atime:new Date(t),mtime:new Date(r),ctime:new Date(n),birthtime:new Date(i),isFile:()=>s===ISe,isDirectory:()=>s===BSe,isFIFO:()=>s===bSe,isSocket:()=>s===CSe,isSymbolicLink:()=>s===QSe}}function SSe(e){let t=e??{},r=t.offset;if(r!==void 0&&(typeof r!="number"||!Number.isFinite(r)))throw h1("offset",r);let n=t.length;if(n!==void 0&&(typeof n!="number"||!Number.isFinite(n)))throw h1("length",n);let i=t.statCheck;if(i!==void 0&&typeof i!="function")throw h1("statCheck",i);let s=t.onError;return{offset:r===void 0?0:Math.max(0,Math.trunc(r)),length:typeof n=="number"?Math.trunc(n):void 0,statCheck:typeof i=="function"?i:void 0,onError:typeof s=="function"?s:void 0}}function _Se(e,t,r){let n=Math.max(0,Math.min(t,e.length));return r===void 0||r<0?e.subarray(n):e.subarray(n,Math.min(e.length,n+r))}var BW=class{constructor(e){y(this,"_streamId");this._streamId=e}respond(e){if(typeof _networkHttp2StreamRespondRaw>"u")throw new Error("http2 server stream respond bridge is not available");return _networkHttp2StreamRespondRaw.applySync(void 0,[this._streamId,oR(e)]),0}},n2={headerTableSize:4096,enablePush:!0,initialWindowSize:65535,maxFrameSize:16384,maxConcurrentStreams:4294967295,maxHeaderListSize:65535,maxHeaderSize:65535,enableConnectProtocol:!1},IW={effectiveLocalWindowSize:65535,localWindowSize:65535,remoteWindowSize:65535,nextStreamID:1,outboundQueueSize:1,deflateDynamicTableSize:0,inflateDynamicTableSize:0};function Vi(e){let t={};for(let[r,n]of Object.entries(e??{})){if(r==="customSettings"&&n&&typeof n=="object"){let i={};for(let[s,o]of Object.entries(n))i[Number(s)]=Number(o);t.customSettings=i;continue}t[r]=n}return t}function QG(e){return{...IW,...e??{}}}function vSe(e){if(!e||typeof e!="object")return;let t=e,r={},n=["effectiveLocalWindowSize","localWindowSize","remoteWindowSize","nextStreamID","outboundQueueSize","deflateDynamicTableSize","inflateDynamicTableSize"];for(let i of n)typeof t[i]=="number"&&(r[i]=t[i]);return r}function bW(e,t="settings"){if(!e||typeof e!="object"||Array.isArray(e))throw Gl(t,"object",e);let r=e,n={},i={headerTableSize:[0,4294967295],initialWindowSize:[0,4294967295],maxFrameSize:[16384,16777215],maxConcurrentStreams:[0,4294967295],maxHeaderListSize:[0,4294967295],maxHeaderSize:[0,4294967295]};for(let[s,o]of Object.entries(r))if(o!==void 0){if(s==="enablePush"||s==="enableConnectProtocol"){if(typeof o!="boolean")throw gSe(s,o);n[s]=o;continue}if(s==="customSettings"){if(!o||typeof o!="object"||Array.isArray(o))throw Tg(s,o);let a={};for(let[A,f]of Object.entries(o)){let l=Number(A);if(!Number.isInteger(l)||l<0||l>65535||typeof f!="number"||!Number.isInteger(f)||f<0||f>4294967295)throw Tg(s,o);a[l]=f}n.customSettings=a;continue}if(s in i){let[a,A]=i[s];if(typeof o!="number"||!Number.isInteger(o)||o<a||o>A)throw Tg(s,o);n[s]=o;continue}n[s]=o}return n}function oR(e){return JSON.stringify(e??{})}function xA(e){if(!e)return{};try{let t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function Lg(e){if(!e)return null;try{let t=JSON.parse(e);return t&&typeof t=="object"?t:null}catch{return null}}function wG(e){if(!e)return null;try{let t=JSON.parse(e);return t&&typeof t=="object"?t:null}catch{return null}}function NB(e){if(!e)return new Error("Unknown HTTP/2 bridge error");try{let t=JSON.parse(e),r=new Error(t.message??"Unknown HTTP/2 bridge error");return t.name&&(r.name=t.name),t.code&&(r.code=t.code),r}catch{return new Error(e)}}function CW(e){let t={};if(!e||typeof e!="object")return t;for(let[r,n]of Object.entries(e))t[String(r)]=n;return t}function RSe(e){if(!e)return;let t={endStream:"boolean",weight:"number",parent:"number",exclusive:"boolean",silent:"boolean"};for(let[r,n]of Object.entries(t)){if(!(r in e)||e[r]===void 0)continue;let i=e[r];if(n==="boolean"&&typeof i!="boolean")throw Gl(r,"boolean",i);if(n==="number"&&typeof i!="number")throw Gl(r,"number",i)}}function DSe(e){if(!e||!e.settings||typeof e.settings!="object")return;let t=e.settings;if("maxFrameSize"in t){let r=t.maxFrameSize;if(typeof r!="number"||!Number.isInteger(r)||r<16384||r>16777215)throw Tg("maxFrameSize",r)}}function aR(e,t){t&&(e.encrypted=t.encrypted===!0,e.alpnProtocol=t.alpnProtocol??(e.encrypted?"h2":"h2c"),e.originSet=Array.isArray(t.originSet)&&t.originSet.length>0?[...t.originSet]:e.encrypted?[]:void 0,t.localSettings&&typeof t.localSettings=="object"&&(e.localSettings=Vi(t.localSettings)),t.remoteSettings&&typeof t.remoteSettings=="object"&&(e.remoteSettings=Vi(t.remoteSettings)),t.state&&typeof t.state=="object"&&e._applyRuntimeState(vSe(t.state)),e.socket._applyState(t.socket))}function TSe(e,t){if(e instanceof URL)return e;if(typeof e=="string")return new URL(e);if(e&&typeof e=="object"){let r=e,n=typeof(t?.protocol??r.protocol)=="string"?String(t?.protocol??r.protocol):"http:",i=typeof(t?.host??r.host??t?.hostname??r.hostname)=="string"?String(t?.host??r.host??t?.hostname??r.hostname):"localhost",s=t?.port??r.port,o=s===void 0?"":String(s);return new URL(`${n}//${i}${o?`:${o}`:""}`)}return new URL("http://localhost")}function NSe(e,t,r){let n=typeof t=="function"?t:typeof r=="function"?r:void 0,i=typeof t=="function"?{}:t??{};return{authority:TSe(e,i),options:i,listener:n}}function MSe(e){if(!e||typeof e!="object")return;let t=e._socketId;return typeof t=="number"&&Number.isFinite(t)?t:void 0}var QW=class extends Mu{constructor(t,r,n=!1){super();y(this,"_streamId");y(this,"_encoding");y(this,"_utf8Remainder");y(this,"_isPushStream");y(this,"_session");y(this,"_receivedResponse",!1);y(this,"_needsDrain",!1);y(this,"_pendingWritableBytes",0);y(this,"_drainScheduled",!1);y(this,"_writableHighWaterMark",16*1024);y(this,"rstCode",0);y(this,"readable",!0);y(this,"writable",!0);y(this,"writableEnded",!1);y(this,"writableFinished",!1);y(this,"destroyed",!1);y(this,"_writableState",{ended:!1,finished:!1,objectMode:!1,corked:0,length:0});this._streamId=t,this._session=r,this._isPushStream=n,n||queueMicrotask(()=>{this.emit("ready")})}setEncoding(t){return this._encoding=t,this._utf8Remainder=this._encoding==="utf8"||this._encoding==="utf-8"?Buffer.alloc(0):void 0,this}close(){return this.end(),this}destroy(t){return this.destroyed?this:(this.destroyed=!0,t&&this.emit("error",t),this.end(),this)}_scheduleDrain(){!this._needsDrain||this._drainScheduled||(this._drainScheduled=!0,queueMicrotask(()=>{this._drainScheduled=!1,this._needsDrain&&(this._needsDrain=!1,this._pendingWritableBytes=0,this.emit("drain"))}))}write(t,r,n){if(typeof _networkHttp2StreamWriteRaw>"u")throw new Error("http2 session stream write bridge is not available");let i=Buffer.isBuffer(t)?t:typeof t=="string"?Buffer.from(t,typeof r=="string"?r:"utf8"):Buffer.from(t),s=_networkHttp2StreamWriteRaw.applySync(void 0,[this._streamId,i.toString("base64")]);this._pendingWritableBytes+=i.byteLength;let o=s===!1||this._pendingWritableBytes>=this._writableHighWaterMark;return o&&(this._needsDrain=!0),(typeof r=="function"?r:n)?.(),!o}end(t){if(typeof _networkHttp2StreamEndRaw>"u")throw new Error("http2 session stream end bridge is not available");let r=null;return t!==void 0&&(r=(Buffer.isBuffer(t)?t:Buffer.from(t)).toString("base64")),_networkHttp2StreamEndRaw.applySync(void 0,[this._streamId,r]),this.writableEnded=!0,this._writableState.ended=!0,queueMicrotask(()=>{this.writable=!1,this.writableFinished=!0,this._writableState.finished=!0,this.emit("finish")}),this}resume(){return this}_emitPush(t,r){process.env.AGENTOS_DEBUG_HTTP2_BRIDGE==="1"&&console.error("[secure-exec http2 isolate] push",this._streamId),this.emit("push",t,r??0)}_hasReceivedResponse(){return this._receivedResponse}_belongsTo(t){return this._session===t}_emitResponseHeaders(t){this._receivedResponse=!0,process.env.AGENTOS_DEBUG_HTTP2_BRIDGE==="1"&&console.error("[secure-exec http2 isolate] response headers",this._streamId,this._isPushStream),this._isPushStream||this.emit("response",t)}_emitDataChunk(t){if(!t)return;let r=Buffer.from(t,"base64");if(this._utf8Remainder!==void 0){let n=this._utf8Remainder.length>0?Buffer.concat([this._utf8Remainder,r]):r,i=FSe(n),s=n.subarray(0,i).toString("utf8");this._utf8Remainder=i<n.length?n.subarray(i):Buffer.alloc(0),s.length>0&&this.emit("data",s)}else this._encoding?this.emit("data",r.toString(this._encoding)):this.emit("data",r);this._scheduleDrain()}_emitEnd(){if(this._utf8Remainder&&this._utf8Remainder.length>0){let t=this._utf8Remainder.toString("utf8");this._utf8Remainder=Buffer.alloc(0),t.length>0&&this.emit("data",t)}this.readable=!1,this.emit("end"),this._scheduleDrain()}_emitClose(t){typeof t=="number"&&(this.rstCode=t),this.destroyed=!0,this.readable=!1,this.writable=!1,this._scheduleDrain(),this.emit("close")}};function FSe(e){if(e.length===0)return 0;let t=0;for(let r=e.length-1;r>=0&&t<3;r-=1){if((e[r]&192)!==128){let n=e.length-r,i=e[r],s=(i&128)===0?1:(i&224)===192?2:(i&240)===224?3:(i&248)===240?4:1;return n<s?r:e.length}t+=1}return t>0?e.length-t:e.length}var kSe=class wW extends Mu{constructor(r,n,i,s=!1){super();y(this,"_streamId");y(this,"_binding");y(this,"_responded",!1);y(this,"_endQueued",!1);y(this,"_pendingSyntheticErrorSuppressions",0);y(this,"_requestHeaders");y(this,"_isPushStream");y(this,"session");y(this,"rstCode",0);y(this,"readable",!0);y(this,"writable",!0);y(this,"destroyed",!1);y(this,"_readableState");y(this,"_writableState");this._streamId=r,this._binding=new BW(r),this.session=n,this._requestHeaders=i,this._isPushStream=s,this._readableState={flowing:null,ended:!1,highWaterMark:16*1024},this._writableState={ended:i?.[":method"]==="HEAD"}}_closeWithCode(r){this.rstCode=r,_networkHttp2StreamCloseRaw?.applySync(void 0,[this._streamId,r])}_markSyntheticClose(){this.destroyed=!0,this.readable=!1,this.writable=!1}_shouldSuppressHostError(){return this._pendingSyntheticErrorSuppressions<=0?!1:(this._pendingSyntheticErrorSuppressions-=1,!0)}_emitNghttp2Error(r){let n=new yW(mW(r));this._pendingSyntheticErrorSuppressions+=1,this._markSyntheticClose(),this.emit("error",n),this._closeWithCode(_o.NGHTTP2_INTERNAL_ERROR)}_emitInternalStreamError(){let r=wo("ERR_HTTP2_STREAM_ERROR","Stream closed with error code NGHTTP2_INTERNAL_ERROR");this._pendingSyntheticErrorSuppressions+=1,this._markSyntheticClose(),this.emit("error",r),this._closeWithCode(_o.NGHTTP2_INTERNAL_ERROR)}_submitResponse(r){this._responded=!0;let n=this._binding.respond(r);return typeof n=="number"&&n!==0?(this._emitNghttp2Error(n),!1):!0}respond(r){if(this.destroyed)throw wo("ERR_HTTP2_INVALID_STREAM","The stream has been destroyed");if(this._responded)throw wo("ERR_HTTP2_HEADERS_SENT","Response has already been initiated.");this._submitResponse(r)}pushStream(r,n,i){if(this._isPushStream)throw wo("ERR_HTTP2_NESTED_PUSH","A push stream cannot initiate another push stream.");let s=typeof n=="function"?n:i;if(typeof s!="function")throw Gl("callback","function",s);if(typeof _networkHttp2StreamPushStreamRaw>"u")throw new Error("http2 server stream push bridge is not available");let o=n&&typeof n=="object"&&!Array.isArray(n)?n:{},a=_networkHttp2StreamPushStreamRaw.applySync(void 0,[this._streamId,oR(CW(r)),JSON.stringify(o??{})]),A=JSON.parse(a);if(A.error){s(NB(A.error));return}let f=new wW(Number(A.streamId),this.session,xA(A.headers),!0);bn.set(Number(A.streamId),f),s(null,f,xA(A.headers))}write(r){if(this._writableState.ended)return queueMicrotask(()=>{this.emit("error",wo("ERR_STREAM_WRITE_AFTER_END","write after end"))}),!1;if(typeof _networkHttp2StreamWriteRaw>"u")throw new Error("http2 server stream write bridge is not available");let n=Buffer.isBuffer(r)?r:Buffer.from(r);return _networkHttp2StreamWriteRaw.applySync(void 0,[this._streamId,n.toString("base64")])}end(r){if(!this._responded&&!this._submitResponse({":status":200})||this._endQueued)return;if(typeof _networkHttp2StreamEndRaw>"u")throw new Error("http2 server stream end bridge is not available");this._writableState.ended=!0;let n=null;r!==void 0&&(n=(Buffer.isBuffer(r)?r:Buffer.from(r)).toString("base64")),this._endQueued=!0,queueMicrotask(()=>{!this._endQueued||this.destroyed||(this._endQueued=!1,_networkHttp2StreamEndRaw.applySync(void 0,[this._streamId,n]))})}pause(){return this._readableState.flowing=!1,_networkHttp2StreamPauseRaw?.applySync(void 0,[this._streamId]),this}resume(){return this._readableState.flowing=!0,_networkHttp2StreamResumeRaw?.applySync(void 0,[this._streamId]),this}respondWithFile(r,n,i){if(this.destroyed)throw wo("ERR_HTTP2_INVALID_STREAM","The stream has been destroyed");if(this._responded)throw wo("ERR_HTTP2_HEADERS_SENT","Response has already been initiated.");let s=SSe(i),o={...n??{}},a=o[":status"];if(a===204||a===205||a===304)throw ySe(Number(a));try{let A=Lt.stat.applySyncPromise(void 0,[r]),f=Lt.readFileBinary.applySyncPromise(void 0,[r]),l=wSe(Fa(A)),p={offset:s.offset,length:s.length??Math.max(0,l.size-s.offset)};s.statCheck?.(l,o,p);let B=Buffer.from(f,"base64"),S=_Se(B,s.offset,s.length);if(o["content-length"]===void 0&&(o["content-length"]=S.byteLength),!this._submitResponse({":status":200,...o}))return;this.end(S);return}catch{}if(typeof _networkHttp2StreamRespondWithFileRaw>"u")throw new Error("http2 server stream respondWithFile bridge is not available");this._responded=!0,_networkHttp2StreamRespondWithFileRaw.applySync(void 0,[this._streamId,r,JSON.stringify(n??{}),JSON.stringify(i??{})])}respondWithFD(r,n,i){let s=typeof r=="number"?r:typeof r?.fd=="number"?r.fd:NaN,o=Number.isFinite(s)?LA.applySync(void 0,[s]):null;if(!o){this._emitInternalStreamError();return}this.respondWithFile(o,n,i)}destroy(r){return this.destroyed?this:(this.destroyed=!0,r&&this.emit("error",r),this._closeWithCode(_o.NGHTTP2_CANCEL),this)}_emitData(r){r&&this.emit("data",Buffer.from(r,"base64"))}_emitEnd(){this._readableState.ended=!0,this.emit("end")}_emitDrain(){this.emit("drain")}_emitClose(r){typeof r=="number"&&(this.rstCode=r),this.destroyed=!0,this.emit("close")}},SW=class extends Mu{constructor(t,r,n){super();y(this,"headers");y(this,"method");y(this,"url");y(this,"connection");y(this,"socket");y(this,"stream");y(this,"destroyed",!1);y(this,"readable",!0);y(this,"_readableState",{flowing:null,length:0,ended:!1,objectMode:!1});this.headers=t,this.method=typeof t[":method"]=="string"?String(t[":method"]):"GET",this.url=typeof t[":path"]=="string"?String(t[":path"]):"/",this.connection=r,this.socket=r,this.stream=n}on(t,r){return super.on(t,r),t==="data"&&this._readableState.flowing!==!1&&this.resume(),this}once(t,r){return super.once(t,r),t==="data"&&this._readableState.flowing!==!1&&this.resume(),this}resume(){return this._readableState.flowing=!0,this.stream.resume(),this}pause(){return this._readableState.flowing=!1,this.stream.pause(),this}pipe(t){return this.on("data",r=>{t.write(r)===!1&&typeof t.once=="function"&&(this.pause(),t.once("drain",()=>this.resume()))}),this.on("end",()=>t.end()),this.resume(),t}unpipe(){return this}read(){return null}isPaused(){return this._readableState.flowing===!1}setEncoding(){return this}_emitData(t){this._readableState.length+=t.byteLength,this.emit("data",t)}_emitEnd(){this._readableState.ended=!0,this.emit("end"),this.emit("close")}_emitError(t){this.emit("error",t)}destroy(t){return this.destroyed=!0,t&&this.emit("error",t),this.emit("close"),this}},_W=class extends Mu{constructor(t){super();y(this,"_stream");y(this,"_headers",{});y(this,"_statusCode",200);y(this,"headersSent",!1);y(this,"writable",!0);y(this,"writableEnded",!1);y(this,"writableFinished",!1);y(this,"socket");y(this,"connection");y(this,"stream");y(this,"_writableState",{ended:!1,finished:!1,objectMode:!1,corked:0,length:0});this._stream=t,this.stream=t,this.socket=t.session.socket,this.connection=this.socket}writeHead(t,r){return this._statusCode=t,this._headers={...this._headers,...r??{},":status":t},this._stream.respond(this._headers),this.headersSent=!0,this}setHeader(t,r){return this._headers[t]=r,this}getHeader(t){return this._headers[t]}hasHeader(t){return Object.prototype.hasOwnProperty.call(this._headers,t)}removeHeader(t){delete this._headers[t]}write(t,r,n){":status"in this._headers||(this._headers[":status"]=this._statusCode,this._stream.respond(this._headers),this.headersSent=!0);let i=this._stream.write(typeof t=="string"&&typeof r=="string"?Buffer.from(t,r):t);return(typeof r=="function"?r:n)?.(),i}end(t){return":status"in this._headers||(this._headers[":status"]=this._statusCode,this._stream.respond(this._headers),this.headersSent=!0),this.writableEnded=!0,this._writableState.ended=!0,this._stream.end(t),queueMicrotask(()=>{this.writable=!1,this.writableFinished=!0,this._writableState.finished=!0,this.emit("finish"),this.emit("close")}),this}destroy(t){return t&&this.emit("error",t),this.writable=!1,this.writableEnded=!0,this.writableFinished=!0,this.emit("close"),this}},vW=class extends Mu{constructor(t,r){super();y(this,"encrypted",!1);y(this,"alpnProtocol",!1);y(this,"originSet");y(this,"localSettings",Vi(n2));y(this,"remoteSettings",Vi(n2));y(this,"pendingSettingsAck",!1);y(this,"socket");y(this,"state",QG(IW));y(this,"_sessionId");y(this,"_waitStarted",!1);y(this,"_pendingSettingsAckCount",0);y(this,"_awaitingInitialSettingsAck",!1);y(this,"_settingsCallbacks",[]);this._sessionId=t,this.socket=new r2(r,()=>{setTimeout(()=>{this.destroy()},0)}),this[hSe]=this.socket}_retain(){this._waitStarted||typeof _networkHttp2SessionPollRaw>"u"||(this._waitStarted=!0,RW("session",this._sessionId,()=>this._waitStarted&&Bn.get(this._sessionId)===this,()=>_networkHttp2SessionPollRaw.applySyncPromise(void 0,[this._sessionId,0]),t=>this.emit("error",t instanceof Error?t:new Error(String(t)))))}_release(){this._waitStarted=!1,Na.delete(`session:${this._sessionId}`)}_beginInitialSettingsAck(){this._awaitingInitialSettingsAck=!0,this._pendingSettingsAckCount+=1,this.pendingSettingsAck=!0}_applyLocalSettings(t){this.localSettings=Vi(t),this._awaitingInitialSettingsAck&&(this._awaitingInitialSettingsAck=!1,this._pendingSettingsAckCount=Math.max(0,this._pendingSettingsAckCount-1),this.pendingSettingsAck=this._pendingSettingsAckCount>0),this.emit("localSettings",this.localSettings)}_applyRemoteSettings(t){this.remoteSettings=Vi(t),this.emit("remoteSettings",this.remoteSettings)}_applyRuntimeState(t){this.state=QG(t)}_ackSettings(){this._pendingSettingsAckCount=Math.max(0,this._pendingSettingsAckCount-1),this.pendingSettingsAck=this._pendingSettingsAckCount>0,this._settingsCallbacks.shift()?.()}request(t,r){if(typeof _networkHttp2SessionRequestRaw>"u")throw new Error("http2 session request bridge is not available");RSe(r);let n=_networkHttp2SessionRequestRaw.applySync(void 0,[this._sessionId,oR(CW(t)),JSON.stringify(r??{})]),i=new QW(n,this);return bn.set(n,i),i}settings(t,r){if(r!==void 0&&typeof r!="function")throw Gl("callback","function",r);if(typeof _networkHttp2SessionSettingsRaw>"u")throw new Error("http2 session settings bridge is not available");let n=bW(t);_networkHttp2SessionSettingsRaw.applySync(void 0,[this._sessionId,JSON.stringify(n)]),this._pendingSettingsAckCount+=1,this.pendingSettingsAck=!0,r&&this._settingsCallbacks.push(r)}setLocalWindowSize(t){if(typeof t!="number"||Number.isNaN(t))throw Gl("windowSize","number",t);if(!Number.isInteger(t)||t<0||t>2147483647){let n=new RangeError(`The value of "windowSize" is out of range. It must be >= 0 && <= 2147483647. Received ${t}`);throw n.code="ERR_OUT_OF_RANGE",n}if(typeof _networkHttp2SessionSetLocalWindowSizeRaw>"u")throw new Error("http2 session setLocalWindowSize bridge is not available");let r=_networkHttp2SessionSetLocalWindowSizeRaw.applySync(void 0,[this._sessionId,t]);this._applyRuntimeState(Lg(r)?.state)}goaway(t=0,r=0,n){let i=n===void 0?null:Buffer.isBuffer(n)?n.toString("base64"):Buffer.from(n).toString("base64");_networkHttp2SessionGoawayRaw?.applySync(void 0,[this._sessionId,t,r,i])}close(){let t=Array.from(bn.entries()).filter(([,r])=>typeof r._belongsTo=="function"&&r._belongsTo(this)&&!r._hasReceivedResponse());if(t.length>0){let r=wo("ERR_HTTP2_GOAWAY_SESSION","The HTTP/2 session is closing before the stream could be established.");if(queueMicrotask(()=>{for(let[n,i]of t)bn.get(n)===i&&(i.emit("error",r),i.emit("close"),bn.delete(n))}),typeof _networkHttp2SessionDestroyRaw<"u"){_networkHttp2SessionDestroyRaw.applySync(void 0,[this._sessionId]);return}}_networkHttp2SessionCloseRaw?.applySync(void 0,[this._sessionId]),setTimeout(()=>{Bn.has(this._sessionId)&&(this._release(),this.emit("close"),Bn.delete(this._sessionId),_unregisterHandle?.(`http2:session:${this._sessionId}`))},50)}destroy(){if(typeof _networkHttp2SessionDestroyRaw<"u"){_networkHttp2SessionDestroyRaw.applySync(void 0,[this._sessionId]);return}this.close()}},xSe=class extends Mu{constructor(t,r,n){super();y(this,"allowHalfOpen");y(this,"allowHTTP1");y(this,"encrypted");y(this,"_serverId");y(this,"listening",!1);y(this,"_address",null);y(this,"_options");y(this,"_timeoutMs",0);y(this,"_waitStarted",!1);this.allowHalfOpen=t?.allowHalfOpen===!0,this.allowHTTP1=t?.allowHTTP1===!0,this.encrypted=n;let i=t?.settings&&typeof t.settings=="object"&&!Array.isArray(t.settings)?Vi(t.settings):{};this._options={...t??{},settings:i},this._serverId=dSe++,this[CG]={settings:Vi(i),unknownProtocolTimeout:1e4,...n?{ALPNProtocols:["h2"]}:{}},r&&this.on("request",r),vs.set(this._serverId,this)}address(){return this._address}_retain(){this._waitStarted||typeof _networkHttp2ServerPollRaw>"u"||(this._waitStarted=!0,RW("server",this._serverId,()=>this._waitStarted&&vs.get(this._serverId)===this,()=>_networkHttp2ServerPollRaw.applySyncPromise(void 0,[this._serverId,0]),t=>this.emit("error",t instanceof Error?t:new Error(String(t)))))}_release(){this._waitStarted=!1,Na.delete(`server:${this._serverId}`)}setTimeout(t,r){return this._timeoutMs=hW(t),r&&this.on("timeout",r),this}updateSettings(t){let r=bW(t),n={...Vi(this._options.settings),...Vi(r)};this._options={...this._options,settings:n};let i=this[CG];return i.settings=Vi(n),this}listen(t,r,n,i){if(typeof _networkHttp2ServerListenRaw>"u")throw new Error(`http2.${this.encrypted?"createSecureServer":"createServer"} is not supported in sandbox`);let s=cW(t,r,n,i);s.callback&&this.once("listening",s.callback);let o={serverId:this._serverId,secure:this.encrypted,port:s.port,host:s.host,backlog:s.backlog,allowHalfOpen:this.allowHalfOpen,allowHTTP1:this._options.allowHTTP1===!0,timeout:this._timeoutMs,settings:this._options.settings,remoteCustomSettings:this._options.remoteCustomSettings,tls:this.encrypted?Jl({...this._options,...t&&typeof t=="object"?t:{}},{isServer:!0}):void 0},a=JSON.parse(_networkHttp2ServerListenRaw.applySyncPromise(void 0,[JSON.stringify(o)]));return this._address=a.address??null,this.listening=!0,this._retain(),_registerHandle?.(`http2:server:${this._serverId}`,"http2 server"),this.emit("listening"),this}close(t){return t&&this.once("close",t),this.listening?(_networkHttp2ServerCloseRaw?.apply(void 0,[this._serverId],{result:{promise:!0}}),setTimeout(()=>{this.listening&&(this.listening=!1,this._release(),this.emit("close"),vs.delete(this._serverId),_unregisterHandle?.(`http2:server:${this._serverId}`))},50),this):(this._release(),queueMicrotask(()=>this.emit("close")),this)}};function SG(e,t,r){let n=typeof t=="function"?t:r,i=t&&typeof t=="object"&&!Array.isArray(t)?t:void 0;return new xSe(i,n,e)}function USe(e,t,r){if(typeof _networkHttp2SessionConnectRaw>"u")throw new Error("http2.connect is not supported in sandbox");let{authority:n,options:i,listener:s}=NSe(e,t,r);if(n.protocol!=="http:"&&n.protocol!=="https:")throw wo("ERR_HTTP2_UNSUPPORTED_PROTOCOL",`protocol "${n.protocol}" is unsupported.`);DSe(i);let o=i.createConnection?MSe(i.createConnection()):void 0,a=i.port??n.port,A=a===""||a===void 0||a===null?void 0:Number(a),f=JSON.parse(_networkHttp2SessionConnectRaw.applySyncPromise(void 0,[JSON.stringify({authority:n.toString(),protocol:n.protocol,host:i.host??i.hostname??n.hostname,port:A,localAddress:i.localAddress,family:i.family,socketId:o,settings:i.settings,remoteCustomSettings:i.remoteCustomSettings,tls:n.protocol==="https:"?Jl(i,{servername:typeof i.servername=="string"?i.servername:n.hostname}):void 0})])),l=Lg(f.state),p=new vW(f.sessionId,l?.socket??void 0);return aR(p,l),p._beginInitialSettingsAck(),p._retain(),s&&p.once("connect",()=>s(p)),Bn.set(f.sessionId,p),_registerHandle?.(`http2:session:${f.sessionId}`,"http2 session"),n.protocol==="https:"&&p.socket.once("secureConnect",()=>{}),p}function _G(e,t){let r=Bn.get(e);return r||(r=new vW(e,t?.socket??void 0),Bn.set(e,r)),aR(r,t),r}function Ql(e,t){let r=TB.get(e)??[];r.push(t),TB.set(e,r)}function ou(e){if(c1.has(e))return;c1.add(e);let t=()=>{c1.delete(e),LSe(e)},r=globalThis.setImmediate;if(typeof r=="function"){r(t);return}setTimeout(t,0)}function LSe(e){let t=bn.get(e);if(!t||typeof t._emitResponseHeaders!="function")return;let r=TB.get(e);if(!(!r||r.length===0)){TB.delete(e);for(let n of r){if(n.kind==="push"){t._emitPush(xA(n.data),n.extraNumber);continue}if(n.kind==="responseHeaders"){t._emitResponseHeaders(xA(n.data));continue}if(n.kind==="data"){t._emitDataChunk(n.data);continue}if(n.kind==="end"){t._emitEnd();continue}if(n.kind==="error"){t.emit("error",NB(n.data));continue}typeof t._emitClose=="function"?t._emitClose(n.extraNumber):t.emit("close"),bn.delete(e)}}}function AR(e,t,r,n,i,s,o){if(e==="sessionConnect"){let a=Bn.get(t);if(!a)return;let A=Lg(r);aR(a,A),a.encrypted&&a.socket.emit("secureConnect"),a.emit("connect");return}if(e==="sessionClose"){let a=Bn.get(t);if(!a)return;a._release(),a.emit("close"),Bn.delete(t),_unregisterHandle?.(`http2:session:${t}`);return}if(e==="sessionError"){let a=Bn.get(t);if(!a)return;a.emit("error",NB(r));return}if(e==="sessionLocalSettings"){let a=Bn.get(t);if(!a)return;a._applyLocalSettings(xA(r));return}if(e==="sessionRemoteSettings"){let a=Bn.get(t);if(!a)return;a._applyRemoteSettings(xA(r));return}if(e==="sessionSettingsAck"){let a=Bn.get(t);if(!a)return;a._ackSettings();return}if(e==="sessionGoaway"){let a=Bn.get(t);if(!a)return;a.emit("goaway",Number(i??0),Number(o??0),r?Buffer.from(r,"base64"):Buffer.alloc(0));return}if(e==="clientPushStream"){let a=Bn.get(t);if(!a)return;let A=Number(r),f=new QW(A,a,!0);bn.set(A,f),a.emit("stream",f,xA(s),Number(o??0)),ou(A);return}if(e==="clientPushHeaders"){Ql(t,{kind:"push",data:r,extraNumber:Number(i??0)}),ou(t);return}if(e==="clientResponseHeaders"){Ql(t,{kind:"responseHeaders",data:r}),ou(t);return}if(e==="clientData"){Ql(t,{kind:"data",data:r}),ou(t);return}if(e==="clientEnd"){Ql(t,{kind:"end"}),ou(t);return}if(e==="clientClose"){Ql(t,{kind:"close",extraNumber:Number(i??0)}),ou(t);return}if(e==="clientError"){Ql(t,{kind:"error",data:r}),ou(t);return}if(e==="serverStream"){let a=vs.get(t);if(!a)return;let A=Lg(n),f=Number(i),l=_G(f,A),p=Number(r),B=xA(s),S=Number(o??0),_=new kSe(p,l,B);if(bn.set(p,_),a.emit("stream",_,B,S),a.listenerCount("request")>0){let N=new SW(B,l.socket,_),P=new _W(_);_.on("data",U=>{N._emitData(U)}),_.on("end",()=>{N._emitEnd()}),_.on("error",U=>{N._emitError(U)}),_.on("drain",()=>{P.emit("drain")}),a.emit("request",N,P)}return}if(e==="serverStreamData"){let a=bn.get(t);if(!a||typeof a._emitData!="function")return;a._emitData(r);return}if(e==="serverStreamEnd"){let a=bn.get(t);if(!a||typeof a._emitEnd!="function")return;a._emitEnd();return}if(e==="serverStreamDrain"){let a=bn.get(t);if(!a||typeof a._emitDrain!="function")return;a._emitDrain();return}if(e==="serverStreamError"){let a=bn.get(t);if(!a||typeof a._shouldSuppressHostError=="function"&&a._shouldSuppressHostError())return;a.emit("error",NB(r));return}if(e==="serverStreamClose"){let a=bn.get(t);if(!a||typeof a._emitClose!="function")return;a._emitClose(Number(i??0)),bn.delete(t);return}if(e==="serverSession"){let a=vs.get(t);if(!a)return;let A=Number(i),f=_G(A,Lg(r));a.emit("session",f);return}if(e==="serverTimeout"){vs.get(t)?.emit("timeout");return}if(e==="serverConnection"){vs.get(t)?.emit("connection",new r2(wG(r)??void 0));return}if(e==="serverSecureConnection"){vs.get(t)?.emit("secureConnection",new r2(wG(r)??void 0));return}if(e==="serverClose"){let a=vs.get(t);if(!a)return;a.listening=!1,a._release(),a.emit("close"),vs.delete(t),_unregisterHandle?.(`http2:server:${t}`);return}e==="serverCompatRequest"&&(t2.set(Number(i),{serverId:t,requestJson:r??"{}"}),m_e(t,Number(i)))}function PSe(e){if(typeof e=="string"&&(e=JSON.parse(e)),!e||typeof e!="object"||typeof e.kind!="string")return!1;let t=Number(e.id);return Number.isFinite(t)?(AR(e.kind,t,typeof e.data=="string"?e.data:void 0,typeof e.extra=="string"?e.extra:void 0,typeof e.extraNumber=="string"||typeof e.extraNumber=="number"?e.extraNumber:void 0,typeof e.extraHeaders=="string"?e.extraHeaders:void 0,typeof e.flags=="string"||typeof e.flags=="number"?e.flags:void 0),e.kind==="serverClose"||e.kind==="sessionClose"):!1}function RW(e,t,r,n,i){let s=`${e}:${t}`,o={active:!0,running:!1,pendingWake:!1,fallbackTimer:null,poll:n,tick:null},a=()=>{o.fallbackTimer!==null&&(clearTimeout(o.fallbackTimer),o.fallbackTimer=null)},A=()=>{if(a(),!r()){o.active=!1,Na.delete(s);return}if(o.running){o.pendingWake=!0;return}o.running=!0;try{let f=!1,l=!1;do{o.pendingWake=!1,l=!1;let p=0;for(;p<64&&r();p++){let B=n();if(!B||(f=PSe(B),f))break}l=p===64}while(!f&&o.pendingWake&&r());!f&&l&&r()?o.fallbackTimer=setTimeout(A,0):!f&&r()?o.fallbackTimer=setTimeout(A,10):f&&(o.active=!1,Na.delete(s))}catch(f){i(f),r()?o.fallbackTimer=setTimeout(A,10):(o.active=!1,Na.delete(s))}finally{o.running=!1,o.pendingWake&&o.active&&r()&&(a(),o.fallbackTimer=setTimeout(A,0))}};o.tick=A,Na.set(s,o),setTimeout(A,0)}function OSe(e,t){let r=Na.get(`${e}:${t}`);if(!(!r||!r.active)&&(r.pendingWake=!0,!r.running)){if(typeof queueMicrotask=="function"){queueMicrotask(()=>{Na.get(`${e}:${t}`)===r&&r.tick?.()});return}setTimeout(()=>{Na.get(`${e}:${t}`)===r&&r.tick?.()},0)}}function HSe(e){if(!e||e.event!=="http2")return;let t=e.kind==="server"?"server":e.kind==="session"?"session":null,r=Number(e.id);!t||!Number.isFinite(r)||OSe(t,r)}function qSe(){if(l1)return;l1=!0,queueMicrotask(()=>{for(l1=!1;e2.length>0;){let t=e2.shift();t&&AR(t.kind,t.id,t.data,t.extra,t.extraNumber,t.extraHeaders,t.flags)}})}function GSe(e,t){if(!t||typeof t!="object")return;let r=t;if(typeof r.kind!="string"||typeof r.id!="number")return;process.env.AGENTOS_DEBUG_HTTP2_BRIDGE==="1"&&console.error("[secure-exec http2 isolate dispatch]",r.kind,r.id);let n=r.kind,i=r.id,s=typeof r.data=="string"?r.data:void 0,o=typeof r.extra=="string"?r.extra:void 0,a=typeof r.extraNumber=="string"||typeof r.extraNumber=="number"?r.extraNumber:void 0,A=typeof r.extraHeaders=="string"?r.extraHeaders:void 0,f=typeof r.flags=="string"||typeof r.flags=="number"?r.flags:void 0;e2.push({kind:n,id:i,data:s,extra:o,extraNumber:a,extraHeaders:A,flags:f}),qSe()}Ge("_http2RetainDispatch",HSe);var fR={Http2ServerRequest:SW,Http2ServerResponse:_W,Http2Stream:BW,NghttpError:yW,nghttp2ErrorString:mW,constants:{HTTP2_HEADER_METHOD:":method",HTTP2_HEADER_PATH:":path",HTTP2_HEADER_SCHEME:":scheme",HTTP2_HEADER_AUTHORITY:":authority",HTTP2_HEADER_STATUS:":status",HTTP2_HEADER_CONTENT_TYPE:"content-type",HTTP2_HEADER_CONTENT_LENGTH:"content-length",HTTP2_HEADER_LAST_MODIFIED:"last-modified",HTTP2_HEADER_ACCEPT:"accept",HTTP2_HEADER_ACCEPT_ENCODING:"accept-encoding",HTTP2_METHOD_GET:"GET",HTTP2_METHOD_POST:"POST",HTTP2_METHOD_PUT:"PUT",HTTP2_METHOD_DELETE:"DELETE",..._o,DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE:65535},getDefaultSettings(){return Vi(n2)},connect:USe,createServer:SG.bind(void 0,!1),createSecureServer:SG.bind(void 0,!0)};function YSe(e,t,r){let n={},i=r;if(typeof t=="function")i=t;else if(typeof t=="number")n={family:t};else if(t==null)n={};else if(typeof t=="object")n={...t};else throw new TypeError("dns.lookup options must be a number, object, or callback");let s=n.family===4||n.family===6?n.family:void 0;return{callback:i,options:{hostname:String(e),family:s,all:n.all===!0}}}function cB(e){let t=new Error(`${e} is not supported by the secure-exec dns polyfill`);return t.code="ERR_NOT_IMPLEMENTED",t}function WSe(e,t,r,n){let i=r,s=n;typeof r=="function"&&(s=r,i=void 0);let o=String(i??"A").toUpperCase();if(!["A","AAAA","MX","TXT","SRV","CNAME","PTR","NS","SOA","NAPTR","CAA","ANY"].includes(o))throw cB(`${e}(${o})`);return{callback:s,options:{hostname:String(t),rrtype:o}}}function VSe(e){let t=e;return typeof t=="string"&&(t=JSON.parse(t)),t&&typeof t=="object"&&Array.isArray(t.records)?t=t.records:t&&typeof t=="object"&&typeof t.address=="string"&&(t=[t]),Array.isArray(t)?t.filter(r=>r&&typeof r.address=="string").map(r=>({address:r.address,family:r.family===6?6:4})):[]}function JSe(e){let t=e;return typeof t=="string"&&(t=JSON.parse(t)),t}function vG(e){let t=new TypeError(`${e} expects an array of non-empty server strings`);return t.code="ERR_INVALID_ARG_TYPE",t}function DW(e,t){if(!Array.isArray(t))throw vG(e);return t.map(r=>{if(typeof r!="string"||r.length===0)throw vG(e);return r})}function MB(e,t,r){let n=YSe(e,t,r);return _networkDnsLookupRaw.apply(void 0,[n.options],{result:{promise:!0}}).then(i=>{let s=VSe(i);if(typeof n.callback=="function")if(n.options.all)n.callback(null,s);else{let o=s[0]??{address:null,family:n.options.family??0};n.callback(null,o.address,o.family)}return n.options.all?s:s[0]??{address:"",family:n.options.family??0}})}function ke(e,t,r,n){let i=WSe(e,t,r,n);return _networkDnsResolveRaw.apply(void 0,[i.options],{result:{promise:!0}}).then(s=>{let o=JSe(s);return typeof i.callback=="function"&&queueMicrotask(()=>i.callback(null,o)),o}).catch(s=>{throw typeof i.callback=="function"&&queueMicrotask(()=>i.callback(s)),s})}var jSe=class{constructor(){this._servers=[]}cancel(){}getServers(){return this._servers.slice()}lookup(e,t,r){return MB(e,t,r)}resolve(e,t,r){return ke("dns.resolve",e,t,r)}resolve4(e,t){return ke("dns.resolve4",e,"A",t)}resolve6(e,t){return ke("dns.resolve6",e,"AAAA",t)}resolveAny(e,t){return ke("dns.resolveAny",e,"ANY",t)}resolveMx(e,t){return ke("dns.resolveMx",e,"MX",t)}resolveTxt(e,t){return ke("dns.resolveTxt",e,"TXT",t)}resolveSrv(e,t){return ke("dns.resolveSrv",e,"SRV",t)}resolveCname(e,t){return ke("dns.resolveCname",e,"CNAME",t)}resolvePtr(e,t){return ke("dns.resolvePtr",e,"PTR",t)}resolveNs(e,t){return ke("dns.resolveNs",e,"NS",t)}resolveSoa(e,t){return ke("dns.resolveSoa",e,"SOA",t)}resolveNaptr(e,t){return ke("dns.resolveNaptr",e,"NAPTR",t)}resolveCaa(e,t){return ke("dns.resolveCaa",e,"CAA",t)}setServers(e){this._servers=DW("dns.Resolver.setServers",e)}},zSe=class{constructor(){this._servers=[]}cancel(){}getServers(){return this._servers.slice()}lookup(e,t){return MB(e,t)}resolve(e,t){return ke("dns.resolve",e,t)}resolve4(e){return ke("dns.resolve4",e,"A")}resolve6(e){return ke("dns.resolve6",e,"AAAA")}resolveAny(e){return ke("dns.resolveAny",e,"ANY")}resolveMx(e){return ke("dns.resolveMx",e,"MX")}resolveTxt(e){return ke("dns.resolveTxt",e,"TXT")}resolveSrv(e){return ke("dns.resolveSrv",e,"SRV")}resolveCname(e){return ke("dns.resolveCname",e,"CNAME")}resolvePtr(e){return ke("dns.resolvePtr",e,"PTR")}resolveNs(e){return ke("dns.resolveNs",e,"NS")}resolveSoa(e){return ke("dns.resolveSoa",e,"SOA")}resolveNaptr(e){return ke("dns.resolveNaptr",e,"NAPTR")}resolveCaa(e){return ke("dns.resolveCaa",e,"CAA")}setServers(e){this._servers=DW("dns.promises.Resolver.setServers",e)}},uR={lookup(e,t,r){MB(e,t,r).catch(n=>{(typeof t=="function"?t:r)?.(n)})},resolve(e,t,r){ke("dns.resolve",e,t,r).catch(()=>{})},resolve4(e,t){ke("dns.resolve4",e,"A",t).catch(()=>{})},resolve6(e,t){ke("dns.resolve6",e,"AAAA",t).catch(()=>{})},resolveAny(e,t){ke("dns.resolveAny",e,"ANY",t).catch(()=>{})},resolveMx(e,t){ke("dns.resolveMx",e,"MX",t).catch(()=>{})},resolveTxt(e,t){ke("dns.resolveTxt",e,"TXT",t).catch(()=>{})},resolveSrv(e,t){ke("dns.resolveSrv",e,"SRV",t).catch(()=>{})},resolveCname(e,t){ke("dns.resolveCname",e,"CNAME",t).catch(()=>{})},resolvePtr(e,t){ke("dns.resolvePtr",e,"PTR",t).catch(()=>{})},resolveNs(e,t){ke("dns.resolveNs",e,"NS",t).catch(()=>{})},resolveSoa(e,t){ke("dns.resolveSoa",e,"SOA",t).catch(()=>{})},resolveNaptr(e,t){ke("dns.resolveNaptr",e,"NAPTR",t).catch(()=>{})},resolveCaa(e,t){ke("dns.resolveCaa",e,"CAA",t).catch(()=>{})},promises:{Resolver:zSe,lookup(e,t){return MB(e,t)},resolve(e,t){return ke("dns.resolve",e,t||"A")},resolve4(e){return ke("dns.resolve4",e,"A")},resolve6(e){return ke("dns.resolve6",e,"AAAA")},resolveAny(e){return ke("dns.resolveAny",e,"ANY")},resolveMx(e){return ke("dns.resolveMx",e,"MX")},resolveTxt(e){return ke("dns.resolveTxt",e,"TXT")},resolveSrv(e){return ke("dns.resolveSrv",e,"SRV")},resolveCname(e){return ke("dns.resolveCname",e,"CNAME")},resolvePtr(e){return ke("dns.resolvePtr",e,"PTR")},resolveNs(e){return ke("dns.resolveNs",e,"NS")},resolveSoa(e){return ke("dns.resolveSoa",e,"SOA")},resolveNaptr(e){return ke("dns.resolveNaptr",e,"NAPTR")},resolveCaa(e){return ke("dns.resolveCaa",e,"CAA")}},Resolver:jSe,getServers(){return[]},lookupService(){throw cB("dns.lookupService")},reverse(){throw cB("dns.reverse")},setServers(){throw cB("dns.setServers")}};Ge("_http2Module",fR);function i2(e){return{__secureExecTlsContext:Jl(e),context:{}}}function KSe(e,t){if(!(e instanceof No))throw new TypeError("tls.TLSSocket requires a net.Socket instance");let r=t&&typeof t=="object"?{...t}:{};Object.setPrototypeOf(e,cR.prototype);let n=Jl(r,{isServer:r.isServer===!0,servername:r.servername??e.servername??e.remoteAddress??"127.0.0.1"});return n.isServer||(e.servername=n.servername),e._connected?e._upgradeTls(n):e.once("connect",()=>{e._upgradeTls(n)}),e}var cR=class extends No{constructor(e,t){if(e instanceof No)return super({allowHalfOpen:e.allowHalfOpen===!0}),KSe(e,t);super(e&&typeof e=="object"?e:t)}};function TW(...e){let t,r,n=[...e],i=typeof n[n.length-1]=="function"?n.pop():void 0;if(n[0]!=null&&typeof n[0]=="object")r={...n[0]},r.socket?t=r.socket:(t=new No,t.connect({host:r.host??"127.0.0.1",port:r.port,localAddress:r.localAddress,localPort:r.localPort}));else{let o={};n.length>0&&(o.port=n.shift()),typeof n[0]=="string"&&(o.host=n.shift()),r={...n[0]!=null&&typeof n[0]=="object"?{...n[0]}:{},...o},t=new No,t.connect({host:r.host??"127.0.0.1",port:r.port,localAddress:r.localAddress,localPort:r.localPort})}i&&t.once("secureConnect",i);let s=Jl(r,{isServer:!1,servername:r.servername??r.host??"127.0.0.1"});return t.servername=s.servername,t._connected?t._upgradeTls(s):t.once("connect",()=>{t._upgradeTls(s)}),t}function XSe(e,t){if(!e.startsWith("*."))return e===t;let r=e.slice(1);if(!t.endsWith(r))return!1;let n=t.slice(0,-r.length);return n.length>0&&!n.includes(".")}var NW=class{constructor(e,t){y(this,"_listeners",{});y(this,"_onceListeners",{});y(this,"_server");y(this,"_tlsOptions");y(this,"_sniCallback");y(this,"_alpnCallback");y(this,"_contexts",[]);let r=typeof e=="function"||e===void 0?void 0:e,n=typeof e=="function"?e:t;if(r?.ALPNCallback&&r?.ALPNProtocols){let i=new Error("The ALPNCallback and ALPNProtocols TLS options are mutually exclusive");throw i.code="ERR_TLS_ALPN_CALLBACK_WITH_PROTOCOLS",i}this._tlsOptions=Jl(r,{isServer:!0}),this._sniCallback=r?.SNICallback,this._alpnCallback=r?.ALPNCallback,this._server=new zg(r?{allowHalfOpen:r.allowHalfOpen,keepAlive:r.keepAlive,keepAliveInitialDelay:r.keepAliveInitialDelay}:void 0,(i=>{let s=i;s.server=this,this._handleSecureSocket(s)})),n&&this.on("secureConnection",n),this._server.on("listening",(...i)=>this._emit("listening",...i)),this._server.on("close",(...i)=>this._emit("close",...i)),this._server.on("error",(...i)=>this._emit("error",...i)),this._server.on("drop",(...i)=>this._emit("drop",...i))}listen(e,t,r,n){return this._server.listen(e,t,r,n),this}close(e){return e&&this.once("close",e),this._server.close(),this}address(){return this._server.address()}getConnections(e){return this._server.getConnections(e),this}ref(){return this._server.ref(),this}unref(){return this._server.unref(),this}addContext(e,t){let r=z1(t)?t:i2(t&&typeof t=="object"?t:void 0);return this._contexts.push({servername:e,context:r}),this}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}once(e,t){return this._onceListeners[e]||(this._onceListeners[e]=[]),this._onceListeners[e].push(t),this}emit(e,...t){return this._emit(e,...t)}_emit(e,...t){let r=!1,n=this._listeners[e];if(n)for(let s of[...n])s.call(this,...t),r=!0;let i=this._onceListeners[e];if(i){this._onceListeners[e]=[];for(let s of[...i])s.call(this,...t),r=!0}return r}async _handleSecureSocket(e){let t=this._getClientHello(e),r=t?.servername;r&&(e.servername=r);try{let n=await this._resolveTlsOptions(r,t?.ALPNProtocols??[]);if(!n){this._emitTlsClientError(e,"Invalid SNI context");return}e._upgradeTls(n),e.once("secure",()=>{this._emit("secureConnection",e),this._emit("connection",e)}),e.on("error",i=>{this._emit("tlsClientError",i,e)})}catch(n){let i=n instanceof Error?n:new Error(String(n));this._emitTlsClientError(e,i.message,i),i.uncaught&&process.emit?.("uncaughtException",i,"uncaughtException")}}_getClientHello(e){if(typeof _netSocketGetTlsClientHelloRaw>"u")return null;let t=e._socketId;return typeof t!="number"||t===0?null:rSe(_netSocketGetTlsClientHelloRaw.applySync(void 0,[t]))}async _resolveTlsOptions(e,t){let r=null,n=!1;if(e&&this._sniCallback){if(r=await new Promise((s,o)=>{this._sniCallback?.(e,(a,A)=>{if(a){o(a);return}if(A==null){s(null);return}if(z1(A)){s(A);return}if(A&&typeof A=="object"&&Object.keys(A).length>0){s(i2(A));return}n=!0,s(null)})}),n)return null}else e&&(r=this._findContext(e));let i={...this._tlsOptions,...r?.__secureExecTlsContext??{},isServer:!0};if(this._alpnCallback){let s=this._alpnCallback({servername:e,protocols:t});if(s===void 0){let o=new Error("ALPN callback rejected the client protocol list");throw o.code="ERR_SSL_TLSV1_ALERT_NO_APPLICATION_PROTOCOL",o}if(!t.includes(s)){let o=new Error("The ALPNCallback callback returned an invalid protocol");throw o.code="ERR_TLS_ALPN_CALLBACK_INVALID_RESULT",o.uncaught=!0,o}i.ALPNProtocols=[s]}return i}_findContext(e){for(let t=this._contexts.length-1;t>=0;t-=1){let r=this._contexts[t];if(XSe(r.servername,e))return r.context}return null}_emitTlsClientError(e,t,r){let n=r??new Error(t);e.servername??(e.servername=this._getClientHello(e)?.servername),this._emit("tlsClientError",n,e),e.destroy()}};function ZSe(e,t){return new NW(e,t)}var MW={connect:TW,TLSSocket:cR,Server:ZSe,createServer(e,t){return new NW(e,t)},createSecureContext(e){return i2(e)},getCiphers(){if(typeof _tlsGetCiphersRaw>"u")throw new Error("tls.getCiphers is not supported in sandbox");try{return JSON.parse(_tlsGetCiphersRaw.applySync(void 0,[]))}catch{return[]}},DEFAULT_MIN_VERSION:"TLSv1.2",DEFAULT_MAX_VERSION:"TLSv1.3"};Ge("_netModule",EW);function Ma(e="socket hang up"){let t=new Error(e);return t.code="ECONNRESET",t}function RG(){let e=new Error("The operation was aborted");return e.name="AbortError",e.code="ABORT_ERR",e}var gu=class{constructor(e){y(this,"headers");y(this,"rawHeaders");y(this,"trailers");y(this,"rawTrailers");y(this,"httpVersion");y(this,"httpVersionMajor");y(this,"httpVersionMinor");y(this,"method");y(this,"url");y(this,"statusCode");y(this,"statusMessage");y(this,"_body");y(this,"_isBinary");y(this,"_listeners");y(this,"complete");y(this,"aborted");y(this,"socket");y(this,"_bodyConsumed");y(this,"_ended");y(this,"_flowing");y(this,"readable");y(this,"readableEnded");y(this,"readableFlowing");y(this,"destroyed");y(this,"_encoding");y(this,"_closeEmitted");let t={};if(Array.isArray(e?.headers)?e.headers.forEach(([i,s])=>{Ro(t,i.toLowerCase(),s)}):e?.headers&&Object.entries(e.headers).forEach(([i,s])=>{t[i]=Array.isArray(s)?[...s]:s}),this.rawHeaders=Array.isArray(e?.rawHeaders)?[...e.rawHeaders]:[],this.rawHeaders.length>0){this.headers={};for(let i=0;i<this.rawHeaders.length;i+=2){let s=this.rawHeaders[i],o=this.rawHeaders[i+1];s!==void 0&&o!==void 0&&Ro(this.headers,s.toLowerCase(),o)}}else this.headers=t;this.rawHeaders.length===0&&this.headers&&typeof this.headers=="object"&&Object.entries(this.headers).forEach(([i,s])=>{if(Array.isArray(s)){s.forEach(o=>{this.rawHeaders.push(i,o)});return}this.rawHeaders.push(i,s)}),e?.trailers&&typeof e.trailers=="object"?(this.trailers=e.trailers,this.rawTrailers=[],Object.entries(e.trailers).forEach(([i,s])=>{this.rawTrailers.push(i,s)})):(this.trailers={},this.rawTrailers=[]),this.httpVersion="1.1",this.httpVersionMajor=1,this.httpVersionMinor=1,this.method=null,this.url=e?.url||"",this.statusCode=e?.status,this.statusMessage=e?.statusText;let r=this.headers["x-body-encoding"];(e?.bodyEncoding||(Array.isArray(r)?r[0]:r))==="base64"&&e?.body&&typeof Buffer<"u"?(this._body=Buffer.from(e.body,"base64").toString("binary"),this._isBinary=!0):(this._body=e?.body||"",this._isBinary=!1),this._listeners={},this.complete=!1,this.aborted=!1,this.socket=null,this._bodyConsumed=!1,this._ended=!1,this._flowing=!1,this.readable=!0,this.readableEnded=!1,this.readableFlowing=null,this.destroyed=!1,this._closeEmitted=!1}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),e==="data"&&!this._bodyConsumed&&(this._flowing=!0,this.readableFlowing=!0,Promise.resolve().then(()=>{if(!this._bodyConsumed){if(this._bodyConsumed=!0,this._body&&this._body.length>0){let r;typeof Buffer<"u"?r=this._isBinary?Buffer.from(this._body,"binary"):Buffer.from(this._body):r=this._body,this.emit("data",r)}Promise.resolve().then(()=>{this._ended||(this._ended=!0,this.complete=!0,this.readable=!1,this.readableEnded=!0,this.emit("end"))})}})),e==="end"&&this._bodyConsumed&&!this._ended&&Promise.resolve().then(()=>{this._ended||(this._ended=!0,this.complete=!0,this.readable=!1,this.readableEnded=!0,t())}),this}once(e,t){let r=(...n)=>{this.off(e,r),t(...n)};return r._originalListener=t,this.on(e,r)}off(e,t){if(this._listeners[e]){let r=this._listeners[e].findIndex(n=>n===t||n._originalListener===t);r!==-1&&this._listeners[e].splice(r,1)}return this}removeListener(e,t){return this.off(e,t)}removeAllListeners(e){return e?delete this._listeners[e]:this._listeners={},this}emit(e,...t){return Xl(this,this._listeners[e],t)}setEncoding(e){return this._encoding=e,this}read(e){if(this._bodyConsumed)return null;this._bodyConsumed=!0;let t;return typeof Buffer<"u"?t=this._isBinary?Buffer.from(this._body,"binary"):Buffer.from(this._body):t=this._body,Promise.resolve().then(()=>{this._ended||(this._ended=!0,this.complete=!0,this.readable=!1,this.readableEnded=!0,this.emit("end"))}),t}pipe(e){let t;return typeof Buffer<"u"?t=this._isBinary?Buffer.from(this._body||"","binary"):Buffer.from(this._body||""):t=this._body||"",typeof e.write=="function"&&t.length>0&&e.write(t),typeof e.end=="function"&&Promise.resolve().then(()=>e.end()),this._bodyConsumed=!0,this._ended=!0,this.complete=!0,this.readable=!1,this.readableEnded=!0,e}pause(){return this._flowing=!1,this.readableFlowing=!1,this}resume(){return this._flowing=!0,this.readableFlowing=!0,this._bodyConsumed||Promise.resolve().then(()=>{if(!this._bodyConsumed){if(this._bodyConsumed=!0,this._body){let e;typeof Buffer<"u"?e=this._isBinary?Buffer.from(this._body,"binary"):Buffer.from(this._body):e=this._body,this.emit("data",e)}Promise.resolve().then(()=>{this._ended||(this._ended=!0,this.complete=!0,this.readable=!1,this.readableEnded=!0,this.emit("end"))})}}),this}unpipe(e){return this}destroy(e){return this.destroyed=!0,this.readable=!1,e&&this.emit("error",e),this._emitClose(),this}_abort(e=Ma("aborted")){this.aborted||(this.aborted=!0,this.complete=!1,this.destroyed=!0,this.readable=!1,this.readableEnded=!0,this.emit("aborted"),e&&this.emit("error",e),this._emitClose())}_emitClose(){this._closeEmitted||(this._closeEmitted=!0,this.emit("close"))}[Symbol.asyncIterator](){let e=this,t=!1,r=!1;return{async next(){if(r||e._ended)return{done:!0,value:void 0};if(!t&&!e._bodyConsumed){t=!0,e._bodyConsumed=!0;let n;return typeof Buffer<"u"?n=e._isBinary?Buffer.from(e._body||"","binary"):Buffer.from(e._body||""):n=e._body||"",{done:!1,value:n}}return r=!0,e._ended=!0,e.complete=!0,e.readable=!1,e.readableEnded=!0,{done:!0,value:void 0}},return(){return r=!0,Promise.resolve({done:!0,value:void 0})},throw(n){return r=!0,e.emit("error",n),Promise.resolve({done:!0,value:void 0})}}}},Pg=class{constructor(e,t){y(this,"_options");y(this,"_callback");y(this,"_listeners",{});y(this,"_headers",{});y(this,"_rawHeaderNames",new Map);y(this,"_body","");y(this,"_bodyBytes",0);y(this,"_ended",!1);y(this,"_agent");y(this,"_hostKey");y(this,"_socketEndListener",null);y(this,"_socketCloseListener",null);y(this,"_loopbackAbort");y(this,"_response",null);y(this,"_closeEmitted",!1);y(this,"_abortEmitted",!1);y(this,"_signalAbortHandler");y(this,"_signalPollTimer",null);y(this,"_skipExecute",!1);y(this,"_destroyError");y(this,"_errorEmitted",!1);y(this,"socket");y(this,"finished",!1);y(this,"aborted",!1);y(this,"destroyed",!1);y(this,"path");y(this,"method");y(this,"reusedSocket",!1);y(this,"timeoutCb");let r=s_e(e.method);this._options={...e,method:r,path:o_e(e.path)},this._callback=t,this._validateTimeoutOption(),this._setOutgoingHeaders(e.headers),this._headers.host||this._setHeaderValue("Host",a_e(this._options)),this.path=String(this._options.path||"/"),this.method=String(this._options.method||"GET").toUpperCase();let n=this._options.agent;n===!1?this._agent=null:n instanceof FB?this._agent=n:this._options._agentOSDefaultAgent instanceof FB?this._agent=this._options._agentOSDefaultAgent:this._agent=null,this._hostKey=this._agent?this._agent._getHostKey(this._options):"",this._bindAbortSignal(),typeof this._options.timeout=="number"&&this.setTimeout(this._options.timeout),Promise.resolve().then(()=>this._execute())}_assignSocket(e,t){this.socket=e,this.reusedSocket=t;let r=e;if(r._agentPermanentListenersInstalled||(r._agentPermanentListenersInstalled=!0,e.on("error",()=>{}),e.on("end",()=>{})),this._socketEndListener=()=>{},e.on("end",this._socketEndListener),this._socketCloseListener=()=>{this.destroyed=!0,this._clearTimeout(),this._emitClose()},e.on("close",this._socketCloseListener),this._applyTimeoutToSocket(e),this._emit("socket",e),this.destroyed){this._destroyError&&!this._errorEmitted&&(this._errorEmitted=!0,queueMicrotask(()=>{this._emit("error",this._destroyError)})),e.destroy();return}this._dispatchWithSocket(e)}_handleSocketError(e){this._emit("error",e)}_finalizeSocket(e,t){this._socketEndListener&&(e.off?.("end",this._socketEndListener),e.removeListener?.("end",this._socketEndListener),this._socketEndListener=null),this._socketCloseListener&&(e.off?.("close",this._socketCloseListener),e.removeListener?.("close",this._socketCloseListener),this._socketCloseListener=null),this._agent?this._agent._releaseSocket(this._hostKey,e,this._options,t):e.destroyed||e.destroy()}async _dispatchWithSocket(e){try{let t=A_e(this._options.headers),r=String(this._options.method||"GET").toUpperCase();e instanceof No||typeof e?._socketId=="string"&&e._socketId.length>0||typeof e?._socketId=="number"&&e._socketId>0||e?._loopbackServer||f_e(r,t)||this._options.socketPath||this._agent?.keepAlive===!0?await this._dispatchRawSocketRequest(e,r,t):await this._dispatchUndiciRequest(e,r)}catch(t){this._clearTimeout(),this._emit("error",t),this._finalizeSocket(e,!1)}}async _dispatchUndiciRequest(e,t){await TG(e,this._options.protocol||"http:");let r=l_e(e,this._options),n=this._body?Buffer.from(this._body):Buffer.alloc(0),i=NG(this._headers,this._rawHeaderNames);n.length>0&&!this._headers["content-length"]&&!this._headers["transfer-encoding"]&&i.push(["Content-Length",String(n.length)]);let s=await new Promise((A,f)=>{try{AW.call(r,{path:this._options.path||"/",method:t,headers:h_e(i),body:n.length>0?n:null,signal:this._options.signal,responseHeaders:"raw"},(l,p)=>{if(l){f(l);return}A(p)})}catch(l){f(l)}}),o=await g_e(s?.body);await new Promise(A=>{queueMicrotask(A)}),this.finished=!0,this._clearTimeout();let a=new gu({status:s?.statusCode,statusText:s?.statusText,headers:Array.isArray(s?.headers)?s.headers:[],rawHeaders:Array.isArray(s?.headers)?s.headers:[],trailers:s?.trailers&&typeof s.trailers=="object"?s.trailers:{},body:o.length>0?o.toString("base64"):"",bodyEncoding:"base64",url:this._buildUrl()});this._response=a,a.socket=e,a.once("end",()=>{process.nextTick(()=>{this._finalizeSocket(e,this._agent?.keepAlive===!0&&!this.aborted)})}),this._callback&&this._callback(a),this._emit("response",a),!this._callback&&this._listenerCount("response")===0&&queueMicrotask(()=>{a.resume()})}async _dispatchRawSocketRequest(e,t,r){let n=this._options.protocol||"http:";await TG(e,n);let i=this._body?Buffer.from(this._body):Buffer.alloc(0),s=NG(this._headers,this._rawHeaderNames);i.length>0&&!r["content-length"]&&!r["transfer-encoding"]&&s.push(["Content-Length",String(i.length)]);let o=d_e(t,this._options.path||"/",s,i),a=typeof this._options.timeout=="number"&&this._options.timeout>0?this._options.timeout:3e4,A=E_e(e,t,a);e.write(o);let f=await A;if(this.finished=!0,this._clearTimeout(),f.status===101){let p=new gu({status:f.status,statusText:f.statusText,headers:f.headers,rawHeaders:f.rawHeaders,body:"",bodyEncoding:"base64",url:this._buildUrl()});this._response=p,p.socket=e;let B=f.head??Buffer.alloc(0);if(this._listenerCount("upgrade")===0){e.destroy();return}this._emit("upgrade",p,e,B);return}if(t==="CONNECT"){let p=new gu({status:f.status,statusText:f.statusText,headers:f.headers,rawHeaders:f.rawHeaders,body:"",bodyEncoding:"base64",url:this._buildUrl()});this._response=p,p.socket=e;let B=f.head??Buffer.alloc(0);this._emit("connect",p,e,B);return}let l=new gu({status:f.status,statusText:f.statusText,headers:f.headers,rawHeaders:f.rawHeaders,body:f.body&&f.body.length>0?f.body.toString("base64"):"",bodyEncoding:"base64",url:this._buildUrl()});this._response=l,l.socket=e,l.once("end",()=>{process.nextTick(()=>{this._finalizeSocket(e,this._agent?.keepAlive===!0&&!this.aborted)})}),this._callback&&this._callback(l),this._emit("response",l),!this._callback&&this._listenerCount("response")===0&&queueMicrotask(()=>{l.resume()})}_execute(){if(this._skipExecute)return;if(this._agent){this._agent.addRequest(this,this._options);return}let e=r=>{if(!r){this._handleSocketError(new Error("Failed to create socket")),this._emitClose();return}this._assignSocket(r,!1)},t=this._options.createConnection;if(typeof t=="function"){let r=t(this._options,(n,i)=>{e(i)});e(r);return}e(rI(this._options))}_buildUrl(){let e=this._options,t=e.protocol||(e.port===443?"https:":"http:"),r=e.hostname||e.host||"localhost",n=e.port?":"+e.port:"",i=e.path||"/";return t+"//"+r+n+i}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}addListener(e,t){return this.on(e,t)}once(e,t){let r=(...n)=>{this.off(e,r),t(...n)};return r.listener=t,this.on(e,r)}off(e,t){if(this._listeners[e]){let r=this._listeners[e].findIndex(n=>n===t||n.listener===t);r!==-1&&this._listeners[e].splice(r,1)}return this}removeListener(e,t){return this.off(e,t)}getHeader(e){if(typeof e!="string")throw lr(`The "name" argument must be of type string. Received ${Yn(e)}`,"ERR_INVALID_ARG_TYPE");return this._headers[e.toLowerCase()]}getHeaders(){let e=Object.create(null);for(let[t,r]of Object.entries(this._headers))e[t]=Array.isArray(r)?[...r]:r;return e}getHeaderNames(){return Object.keys(this._headers)}getRawHeaderNames(){return Object.keys(this._headers).map(e=>this._rawHeaderNames.get(e)||e)}hasHeader(e){if(typeof e!="string")throw lr(`The "name" argument must be of type string. Received ${Yn(e)}`,"ERR_INVALID_ARG_TYPE");return Object.prototype.hasOwnProperty.call(this._headers,e.toLowerCase())}removeHeader(e){if(typeof e!="string")throw lr(`The "name" argument must be of type string. Received ${Yn(e)}`,"ERR_INVALID_ARG_TYPE");let t=e.toLowerCase();delete this._headers[t],this._rawHeaderNames.delete(t),this._options.headers={...this._headers}}_emit(e,...t){Xl(this,this._listeners[e],t)}_listenerCount(e){return this._listeners[e]?.length||0}_setOutgoingHeaders(e){if(this._headers={},this._rawHeaderNames=new Map,!e){this._options.headers={};return}if(Array.isArray(e)){for(let t=0;t<e.length;t+=2){let r=e[t],n=e[t+1];r!==void 0&&n!==void 0&&this._setHeaderValue(String(r),n)}return}Object.entries(e).forEach(([t,r])=>{r!==void 0&&this._setHeaderValue(t,r)})}_setHeaderValue(e,t){let r=Yi(e).toLowerCase();Wi(r,t),this._headers[r]=Array.isArray(t)?t.map(n=>String(n)):String(t),this._rawHeaderNames.has(r)||this._rawHeaderNames.set(r,e),this._options.headers={...this._headers}}write(e){let t=typeof Buffer<"u"?Buffer.byteLength(e):e.length;if(this._bodyBytes+t>Yl)throw new Error("ERR_HTTP_BODY_TOO_LARGE: request body exceeds "+Yl+" byte limit");return this._body+=e,this._bodyBytes+=t,!0}end(e){return e&&this.write(e),this._ended=!0,this}abort(){this.aborted||(this.aborted=!0,this._abortEmitted||(this._abortEmitted=!0,queueMicrotask(()=>{this._emit("abort")})),this._loopbackAbort?.(),this.destroy())}destroy(e){if(this.destroyed)return this;this.destroyed=!0,this._clearTimeout(),this._unbindAbortSignal(),this._loopbackAbort?.(),this._loopbackAbort=void 0,!this.socket&&e&&e.code==="ABORT_ERR"&&(this._skipExecute=!0);let t=this._response!=null,r=e??(!this.aborted&&!t?Ma():void 0);return this._destroyError=r,this._response&&!this._response.complete&&!this._response.aborted&&this._response._abort(r??Ma("aborted")),this.socket&&!this.socket.destroyed?(r&&!this._errorEmitted&&(this._errorEmitted=!0,queueMicrotask(()=>{this._emit("error",r)})),this.socket.destroy(r)):(r&&(this._errorEmitted=!0,queueMicrotask(()=>{this._emit("error",r)})),queueMicrotask(()=>{this._emitClose()})),this}setTimeout(e,t){if(t&&this.once("timeout",t),this.timeoutCb=()=>{this._emit("timeout")},this._clearTimeout(),e===0)return this;if(!Number.isFinite(e)||e<0)throw new TypeError(`The "timeout" argument must be of type number. Received ${String(e)}`);return this._options.timeout=e,this.socket&&this._applyTimeoutToSocket(this.socket),this}setNoDelay(){return this}setSocketKeepAlive(){return this}flushHeaders(){}_emitClose(){this._closeEmitted||(this._closeEmitted=!0,this._emit("close"))}_applyTimeoutToSocket(e){let t=this._options.timeout;typeof t!="number"||t===0||(this.timeoutCb||(this.timeoutCb=()=>{this._emit("timeout")}),e.off?.("timeout",this.timeoutCb),e.removeListener?.("timeout",this.timeoutCb),e.setTimeout?.(t,this.timeoutCb))}_validateTimeoutOption(){let e=this._options.timeout;if(e!==void 0&&typeof e!="number"){let t=e===null?"null":typeof e=="string"?`type string ('${e}')`:`type ${typeof e} (${JSON.stringify(e)})`,r=new TypeError(`The "timeout" argument must be of type number. Received ${t}`);throw r.code="ERR_INVALID_ARG_TYPE",r}}_bindAbortSignal(){let e=this._options.signal;if(!e)return;if(this._signalAbortHandler=()=>{this.destroy(RG())},e.aborted){this.destroyed=!0,this._skipExecute=!0,queueMicrotask(()=>{this._emit("error",RG()),this._emitClose()});return}if(typeof e.addEventListener=="function"){e.addEventListener("abort",this._signalAbortHandler,{once:!0});return}let t=e;t.__secureExecPrevOnAbort__=t.onabort??null,t.onabort=(r=>{t.__secureExecPrevOnAbort__?.call(e,r),this._signalAbortHandler?.()}),this._startAbortSignalPoll(e)}_unbindAbortSignal(){let e=this._options.signal;if(!e||!this._signalAbortHandler)return;if(this._signalPollTimer&&(clearTimeout(this._signalPollTimer),this._signalPollTimer=null),typeof e.removeEventListener=="function"){e.removeEventListener("abort",this._signalAbortHandler),this._signalAbortHandler=void 0;return}let t=e;(t.onabort===this._signalAbortHandler||t.__secureExecPrevOnAbort__!==void 0)&&(t.onabort=t.__secureExecPrevOnAbort__??null),delete t.__secureExecPrevOnAbort__,this._signalAbortHandler=void 0}_startAbortSignalPoll(e){let t=()=>{if(this.destroyed){this._signalPollTimer=null;return}if(e.aborted){this._signalPollTimer=null,this._signalAbortHandler?.();return}this._signalPollTimer=setTimeout(t,5)};this._signalPollTimer||(this._signalPollTimer=setTimeout(t,5))}_clearTimeout(){this.socket&&this.timeoutCb&&(this.socket.off?.("timeout",this.timeoutCb),this.socket.removeListener?.("timeout",this.timeoutCb)),this.socket?.setTimeout&&this.socket.setTimeout(0)}};var $Se=class{constructor(e){y(this,"remoteAddress");y(this,"remotePort");y(this,"localAddress","127.0.0.1");y(this,"localPort",0);y(this,"connecting",!1);y(this,"destroyed",!1);y(this,"writable",!0);y(this,"readable",!0);y(this,"readyState","open");y(this,"bytesWritten",0);y(this,"_listeners",{});y(this,"_encoding");y(this,"_peer",null);y(this,"_readableState",{endEmitted:!1,ended:!1});y(this,"_writableState",{finished:!1,errorEmitted:!1});this.remoteAddress=e?.host||"127.0.0.1",this.remotePort=e?.port||80}_attachPeer(e){this._peer=e}setTimeout(e,t){return this}setNoDelay(e){return this}setKeepAlive(e,t){return this}setEncoding(e){return this._encoding=e,this}ref(){return this}unref(){return this}cork(){}uncork(){}pause(){return this}resume(){return this}address(){return{address:this.localAddress,family:"IPv4",port:this.localPort}}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}once(e,t){let r=(...n)=>{this.off(e,r),t.call(this,...n)};return this.on(e,r)}off(e,t){let r=this._listeners[e];if(!r)return this;let n=r.indexOf(t);return n!==-1&&r.splice(n,1),this}removeListener(e,t){return this.off(e,t)}removeAllListeners(e){return e?delete this._listeners[e]:this._listeners={},this}emit(e,...t){let r=this._listeners[e];return Xl(this,r,t)}listenerCount(e){return this._listeners[e]?.length||0}write(e,t,r){if(this.destroyed||!this._peer)return!1;let n=typeof t=="function"?t:r,i=e_e(e);return this.bytesWritten+=i.length,queueMicrotask(()=>{this._peer?._pushData(i)}),n?.(),!0}end(e){return e!==void 0&&this.write(e),this.writable=!1,this._writableState.finished=!0,queueMicrotask(()=>{this._peer?._pushEnd()}),this.emit("finish"),this}destroy(e){return this.destroyed?this:(this.destroyed=!0,this.readable=!1,this.writable=!1,this._readableState.endEmitted=!0,this._readableState.ended=!0,this._writableState.finished=!0,e&&this.emit("error",e),queueMicrotask(()=>{this._peer?._pushEnd()}),this.emit("close",!1),this)}_pushData(e){!this.readable||this.destroyed||this.emit("data",this._encoding?e.toString(this._encoding):e)}_pushEnd(){this.destroyed||(this.readable=!1,this.writable=!1,this._readableState.endEmitted=!0,this._readableState.ended=!0,this._writableState.finished=!0,this.emit("end"),this.emit("close",!1))}};function e_e(e){return typeof Buffer<"u"&&Buffer.isBuffer(e)?e:e instanceof Uint8Array?Buffer.from(e):Buffer.from(String(e))}var mu,FB=(mu=class{constructor(t){y(this,"options");y(this,"maxSockets");y(this,"maxTotalSockets");y(this,"maxFreeSockets");y(this,"keepAlive");y(this,"keepAliveMsecs");y(this,"timeout");y(this,"requests");y(this,"sockets");y(this,"freeSockets");y(this,"totalSocketCount");y(this,"_listeners",{});this.options={...t},this._validateSocketCountOption("maxSockets",t?.maxSockets),this._validateSocketCountOption("maxFreeSockets",t?.maxFreeSockets),this._validateSocketCountOption("maxTotalSockets",t?.maxTotalSockets),this.keepAlive=t?.keepAlive??!1,this.keepAliveMsecs=t?.keepAliveMsecs??1e3,this.maxSockets=t?.maxSockets??mu.defaultMaxSockets,this.maxTotalSockets=t?.maxTotalSockets??1/0,this.maxFreeSockets=t?.maxFreeSockets??256,this.timeout=t?.timeout??-1,this.requests={},this.sockets={},this.freeSockets={},this.totalSocketCount=0}_validateSocketCountOption(t,r){if(r!==void 0){if(typeof r!="number"){let n=typeof r=="string"?`type string ('${r}')`:`type ${typeof r} (${JSON.stringify(r)})`,i=new TypeError(`The "${t}" argument must be of type number. Received ${n}`);throw i.code="ERR_INVALID_ARG_TYPE",i}if(Number.isNaN(r)||r<=0){let n=new RangeError(`The value of "${t}" is out of range. It must be > 0. Received ${String(r)}`);throw n.code="ERR_OUT_OF_RANGE",n}}}getName(t){let r=t?.hostname||t?.host||"localhost",n=t?.port??"",i=t?.localAddress??"",s="";return t?.socketPath?s=`:${t.socketPath}`:(t?.family===4||t?.family===6)&&(s=`:${t.family}`),`${r}:${n}:${i}${s}`}_getHostKey(t){return this.getName(t)}on(t,r){return this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(r),this}once(t,r){let n=(...i)=>{this.off(t,n),r(...i)};return this.on(t,n)}off(t,r){let n=this._listeners[t];if(!n)return this;let i=n.indexOf(r);return i!==-1&&n.splice(i,1),this}removeListener(t,r){return this.off(t,r)}emit(t,...r){let n=this._listeners[t];return Xl(this,n,r)}createConnection(t,r){let n=typeof t.createConnection=="function"?t.createConnection:typeof this.options.createConnection=="function"?this.options.createConnection:null;return n?n(t,r??(()=>{})):rI(t,r)}addRequest(t,r){let n=this.getName(r),i=this._takeFreeSocket(n);if(i){this._activateSocket(n,i),t._assignSocket(i,!0);return}if(this._canCreateSocket(n)){this._createSocketForRequest(n,t,r);return}this.requests[n]||(this.requests[n]=[]),this.requests[n].push({request:t,options:r})}_releaseSocket(t,r,n,i){let s=this._removeSocket(this.sockets,t,r);if(i&&!r.destroyed){let o=this.freeSockets[t]??(this.freeSockets[t]=[]);o.length<this.maxFreeSockets?(r._freeTimer&&(clearTimeout(r._freeTimer),r._freeTimer=null),o.push(r),this.timeout>0&&(r._freeTimer=setTimeout(()=>{r._freeTimer=null,r.destroy()},this.timeout)),r.emit("free"),this.emit("free",r,n)):(s&&(this.totalSocketCount=Math.max(0,this.totalSocketCount-1)),r.destroy())}else r.destroyed||(s&&(this.totalSocketCount=Math.max(0,this.totalSocketCount-1)),r.destroy());Promise.resolve().then(()=>this._processPendingRequests())}_removeSocketCompletely(t,r){r._freeTimer&&(clearTimeout(r._freeTimer),r._freeTimer=null),(this._removeSocket(this.sockets,t,r)||this._removeSocket(this.freeSockets,t,r))&&(this.totalSocketCount=Math.max(0,this.totalSocketCount-1),Promise.resolve().then(()=>this._processPendingRequests()))}_canCreateSocket(t){return(this.sockets[t]?.length??0)>=this.maxSockets?!1:this.totalSocketCount<this.maxTotalSockets?!0:(this._evictFreeSocket(t),this.totalSocketCount<this.maxTotalSockets)}_takeFreeSocket(t){let r=this.freeSockets[t];for(;r&&r.length>0;){let n=r.shift();if(!n.destroyed)return n._freeTimer&&(clearTimeout(n._freeTimer),n._freeTimer=null),r.length===0&&delete this.freeSockets[t],n;this.totalSocketCount=Math.max(0,this.totalSocketCount-1)}return r&&r.length===0&&delete this.freeSockets[t],null}_activateSocket(t,r){(this.sockets[t]??(this.sockets[t]=[])).push(r)}_createSocketForRequest(t,r,n){let i=!1,s=(a,A)=>{if(!i){if(i=!0,a||!A){r._handleSocketError(a??new Error("Failed to create socket")),this._processPendingRequests();return}if(r.destroyed){this.totalSocketCount+=1,this._activateSocket(t,A),A.once("close",()=>{this._removeSocketCompletely(t,A)}),r._assignSocket(A,!1);return}this.totalSocketCount+=1,this._activateSocket(t,A),A.once("close",()=>{this._removeSocketCompletely(t,A)}),r._assignSocket(A,!1)}},o={...n,keepAlive:this.keepAlive,keepAliveInitialDelay:this.keepAliveMsecs};try{let a=this.createConnection(o,(A,f)=>{s(A,f)});a&&s(null,a)}catch(a){s(a instanceof Error?a:new Error(String(a)))}}_processPendingRequests(){for(let t of Object.keys(this.requests)){let r=this.requests[t];for(;r&&r.length>0;){let n=this._takeFreeSocket(t);if(n){let s=r.shift();if(s.request.destroyed){this._activateSocket(t,n),this._releaseSocket(t,n,s.options,!0);continue}this._activateSocket(t,n),s.request._assignSocket(n,!0);continue}if(!this._canCreateSocket(t))break;let i=r.shift();i.request.destroyed||this._createSocketForRequest(t,i.request,i.options)}(!r||r.length===0)&&delete this.requests[t]}}_removeSocket(t,r,n){let i=t[r];if(!i)return!1;let s=i.indexOf(n);return s===-1?!1:(i.splice(s,1),i.length===0&&delete t[r],!0)}_evictFreeSocket(t){let r=Object.keys(this.freeSockets),n=r.includes(t)?[...r.filter(i=>i!==t),t]:r;for(let i of n){let s=this.freeSockets[i]?.[0];if(s){s.destroy();return}}}destroy(){for(let t of Object.values(this.sockets).flat())t.destroy();for(let t of Object.values(this.freeSockets).flat())t.destroy();this.requests={},this.sockets={},this.freeSockets={},this.totalSocketCount=0}},y(mu,"defaultMaxSockets",1/0),mu);function nr(...e){process.env.AGENTOS_DEBUG_HTTP_BRIDGE==="1"&&console.error("[secure-exec bridge network]",...e)}var t_e=1,Kg=new Map,r_e=["ACL","BIND","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LINK","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","QUERY","REBIND","REPORT","SEARCH","SOURCE","SUBSCRIBE","TRACE","UNBIND","UNLINK","UNLOCK","UNSUBSCRIBE"],n_e=/[^\u0021-\u00ff]/,i_e=new Set(["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"]);function lr(e,t){let r=new TypeError(e);return r.code=t,r}function kB(e,t){let r=new Error(e);return r.code=t,r}function Yn(e){if(e===null)return"null";if(Array.isArray(e))return"an instance of Array";let t=typeof e;return t==="function"?`function ${typeof e.name=="string"&&e.name.length>0?e.name:"anonymous"}`:t==="object"?`an instance of ${e&&typeof e=="object"&&typeof e.constructor?.name=="string"?e.constructor.name:"Object"}`:t==="string"?`type string ('${String(e)}')`:t==="symbol"?`type symbol (${String(e)})`:`type ${t} (${String(e)})`}function s2(e,t,r){return lr(`The "${e}" property must be of type ${t}. Received ${Yn(r)}`,"ERR_INVALID_ARG_TYPE")}function FW(e){if(e.length===0)return!1;for(let t=0;t<e.length;t+=1){let r=e[t],n=e.charCodeAt(t);if(!(n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122)&&!i_e.has(r))return!1}return!0}function kW(e){for(let t=0;t<e.length;t+=1){let r=e.charCodeAt(t);if(r!==9&&(r<32||r===127||r>255))return!0}return!1}function Yi(e,t="Header name"){let r=String(e);if(!FW(r))throw lr(`${t} must be a valid HTTP token [${JSON.stringify(r)}]`,"ERR_INVALID_HTTP_TOKEN");return r}function Wi(e,t){if(t===void 0)throw lr(`Invalid value "undefined" for header "${e}"`,"ERR_HTTP_INVALID_HEADER_VALUE");if(Array.isArray(t)){for(let r of t)Wi(e,r);return}if(kW(String(t)))throw lr(`Invalid character in header content [${JSON.stringify(e)}]`,"ERR_INVALID_CHAR")}function wl(e){return Array.isArray(e)?e.map(t=>String(t)):String(e)}function Ru(e){return Array.isArray(e)?e.join(", "):e}function DG(e){return Array.isArray(e)?[...e]:e}function Ro(e,t,r){if(t==="set-cookie"){let i=e[t];i===void 0?e[t]=[r]:Array.isArray(i)?i.push(r):e[t]=[i,r];return}let n=e[t];e[t]=n===void 0?r:`${Ru(n)}, ${r}`}function s_e(e){if(!(e==null||e==="")){if(typeof e!="string")throw s2("options.method","string",e);return Yi(e,"Method")}}function o_e(e){let t=e==null||e===""?"/":String(e);if(n_e.test(t))throw lr("Request path contains unescaped characters","ERR_UNESCAPED_CHARACTERS");return t}function a_e(e){let t=String(e.hostname||e.host||"localhost"),r=e.protocol==="https:"||Number(e.port)===443?443:80,n=e.port!=null?Number(e.port):r;return n===r?t:`${t}:${n}`}function o2(e){return Array.isArray(e)&&(e.length===0||typeof e[0]=="string")}function A_e(e){if(!e)return{};if(Array.isArray(e)){let r={};for(let n=0;n<e.length;n+=2){let i=e[n],s=e[n+1];if(i!==void 0&&s!==void 0){let o=Yi(i).toLowerCase();Wi(o,s),Ro(r,o,String(s))}}return r}let t={};return Object.entries(e).forEach(([r,n])=>{if(n===void 0)return;let i=Yi(r).toLowerCase();if(Wi(i,n),Array.isArray(n)){n.forEach(s=>Ro(t,i,String(s)));return}Ro(t,i,String(n))}),t}function xW(e){return Ru(e.connection||"").toLowerCase().includes("upgrade")&&!!e.upgrade}function f_e(e,t){return String(e||"GET").toUpperCase()==="CONNECT"?!0:xW(t)}function lR(e){return e==="https:"?"secureConnect":"connect"}function u_e(e,t){return!e||e.destroyed===!0?!1:t==="https:"?e.encrypted===!0&&e._tlsUpgrading!==!0:e._connected===!0||e._loopbackServer?!0:typeof e._socketId=="number"?!1:e.connecting===!1}function TG(e,t){return u_e(e,t)?Promise.resolve():new Promise((r,n)=>{let i=lR(t),s=()=>{A(),r()},o=f=>{A(),n(f instanceof Error?f:new Error(String(f)))},a=()=>{A(),n(Ma("socket closed before request was ready"))},A=()=>{e.off?.(i,s),e.removeListener?.(i,s),e.off?.("error",o),e.removeListener?.("error",o),e.off?.("close",a),e.removeListener?.("close",a)};e.once(i,s),e.once("error",o),e.once("close",a)})}function c_e(e){let t=e?.protocol==="https:"?"https:":"http:",r=String(e?.hostname||e?.host||"localhost"),n=t==="https:"?443:80,i=Number(e?.port)||n,s=new URL(`${t}//${r}`);return i!==n&&(s.port=String(i)),s.origin}function l_e(e,t){if(typeof hG!="function"||typeof AW!="function")throw new Error("Undici request transport is not available");let r=c_e(t);if(e._agentOSUndiciClient&&e._agentOSUndiciOrigin===r&&e._agentOSUndiciClient.destroyed!==!0)return e._agentOSUndiciClient;let n=new hG(r,{pipelining:1,connect(s,o){return o(null,e),e}}),i=()=>{e._agentOSUndiciClient===n&&(e._agentOSUndiciClient=null,e._agentOSUndiciOrigin=null)};return e.once?.("close",i),e._agentOSUndiciClient=n,e._agentOSUndiciOrigin=r,n}function rI(e,t){let r=e?.protocol==="https:"?"https:":"http:",n=String(e?.hostname||e?.host||"localhost"),i=Number(e?.port)||(r==="https:"?443:80),s=r==="https:"?TW({host:n,localAddress:e?.localAddress,localPort:e?.localPort,port:i,servername:e?.servername||n,rejectUnauthorized:e?.rejectUnauthorized,socket:e?.socket}):$1({host:n,localAddress:e?.localAddress,localPort:e?.localPort,port:i,path:e?.socketPath,keepAlive:e?.keepAlive,keepAliveInitialDelay:e?.keepAliveInitialDelay});if(t){let o=lR(r),a=()=>{f(),t(null,s)},A=l=>{f(),t(l instanceof Error?l:new Error(String(l)))},f=()=>{s.off?.(o,a),s.removeListener?.(o,a),s.off?.("error",A),s.removeListener?.("error",A)};s.once(o,a),s.once("error",A)}return s}function h_e(e){let t=[];for(let[r,n]of e)t.push(r,n);return t}function NG(e,t){let r=[];return Object.entries(e).forEach(([n,i])=>{let s=t.get(n)||n;if(Array.isArray(i)){i.forEach(o=>{r.push([s,String(o)])});return}r.push([s,String(i)])}),r}function d_e(e,t,r,n){let i=[`${e} ${t} HTTP/1.1`];r.forEach(([o,a])=>{i.push(`${o}: ${a}`)}),i.push("","");let s=Buffer.from(i.join(`\r
`),"latin1");return!n||n.length===0?s:Buffer.concat([s,n])}async function g_e(e){if(!e)return Buffer.alloc(0);let t=[];for await(let r of e)typeof Buffer<"u"&&Buffer.isBuffer(r)?t.push(r):r instanceof Uint8Array?t.push(Buffer.from(r)):t.push(Buffer.from(String(r)));return t.length===0?Buffer.alloc(0):t.length===1?t[0]:Buffer.concat(t)}function p_e(e){let t=e.indexOf(`\r
\r
`);if(t===-1)return null;let n=e.subarray(0,t).toString("latin1").split(`\r
`),i=n.shift()||"",s=/^HTTP\/(\d)\.(\d)\s+(\d{3})(?:\s+(.*))?$/.exec(i);if(!s)throw new Error(`Invalid HTTP response status line: ${i}`);let o={},a=[],A=null;for(let f of n){if(!f)continue;if((f.startsWith(" ")||f.startsWith(" "))&&a.length>=2&&A){let S=f.trim();a[a.length-1]+=` ${S}`,o[A]=Ru(o[A])+` ${S}`;continue}let l=f.indexOf(":");if(l===-1)throw new Error(`Invalid HTTP response header line: ${f}`);let p=f.slice(0,l),B=f.slice(l+1).trim();A=p.toLowerCase(),a.push(p,B),Ro(o,A,B)}return{status:Number(s[3]),statusText:s[4]||"",headers:o,rawHeaders:a,head:e.subarray(t+4)}}function E_e(e,t,r){return new Promise((n,i)=>{let s=null,o=Buffer.alloc(0),a=null,A=!1,f=!1,l=!1,p=(Z,ee)=>{if(!l){if(l=!0,B(),Z){i(Z);return}n(ee)}},B=()=>{clearTimeout(Y),e.off?.("data",N),e.removeListener?.("data",N),e.off?.("error",P),e.removeListener?.("error",P),e.off?.("end",U),e.removeListener?.("end",U),e.off?.("close",G),e.removeListener?.("close",G)},S=()=>{if(!s)return!1;if(!a2(s.status,t))return p(null,{...s,body:Buffer.alloc(0)}),!0;if(A){let Z=LW(o);return Z===null?(p(new Error("Invalid chunked HTTP response body")),!0):Z.complete?(p(null,{...s,body:Z.body}),!0):!1}return a!==null?o.length<a?!1:(p(null,{...s,body:o.subarray(0,a)}),!0):!1},_=()=>{if(!s||!a2(s.status,t))return;let Z=s.headers["transfer-encoding"],ee=s.headers["content-length"];if(Z!==void 0){let j=hR(Ru(Z)),se=j.filter(H=>H==="chunked").length,ie=se>0,ce=ie&&j[j.length-1]==="chunked";if(!ie||se!==1||!ce||ee!==void 0)throw new Error("Unsupported transfer-encoding in HTTP response");A=!0;return}if(ee!==void 0){let j=UW(ee);if(j===null)throw new Error("Invalid content-length in HTTP response");a=j;return}f=!0},N=Z=>{let ee=Buffer.isBuffer(Z)?Z:Buffer.from(Z);if(!s){o=Buffer.concat([o,ee]);try{let j=p_e(o);if(!j)return;s=j,o=Buffer.from(j.head),_(),S()}catch(j){p(j instanceof Error?j:new Error(String(j)))}return}o=Buffer.concat([o,ee]);try{S()}catch(j){p(j instanceof Error?j:new Error(String(j)))}},P=Z=>{p(Z instanceof Error?Z:new Error(String(Z)))},U=()=>{if(!s){p(Ma("socket ended before receiving HTTP response head"));return}if(f){p(null,{...s,body:o});return}S()||p(Ma("socket ended before receiving complete HTTP response body"))},G=()=>{if(!s){p(Ma("socket closed before receiving HTTP response head"));return}if(f){p(null,{...s,body:o});return}S()||p(Ma("socket closed before receiving complete HTTP response body"))},Y=setTimeout(()=>{p(new Error(`Timed out waiting for HTTP response after ${r}ms`))},r);e.on("data",N),e.once("error",P),e.once("end",U),e.once("close",G)})}function a2(e,t){return!(t==="HEAD"||e>=100&&e<200||e===204||e===304)}function hR(e){return e.split(",").map(t=>t.trim().toLowerCase()).filter(t=>t.length>0)}function UW(e){if(e===void 0)return 0;let t=Array.isArray(e)?e:[e],r=null;for(let n of t){if(!/^\d+$/.test(n))return null;let i=Number(n);if(!Number.isSafeInteger(i)||i<0||r!==null&&r!==i)return null;r=i}return r??0}function LW(e,t=Yl){let r=0,n=0,i=[];for(;;){let s=e.indexOf(`\r
`,r);if(s===-1)return{complete:!1};let o=e.subarray(r,s).toString("latin1");if(o.length===0||/[\r\n]/.test(o))return null;let[a,A]=o.split(";",2);if(!/^[0-9A-Fa-f]+$/.test(a)||A!==void 0&&/[\r\n]/.test(A))return null;let f=Number.parseInt(a,16);if(!Number.isSafeInteger(f)||f<0||n+f>t)return null;let l=s+2;if(f===0){let S=l;if(S===e.length)return{complete:!1};if(e[S]===13&&e[S+1]===10)return{complete:!0,bytesConsumed:S+2,body:i.length>0?Buffer.concat(i):Buffer.alloc(0)};let _=e.indexOf(`\r
\r
`,S);if(_===-1)return{complete:!1};let N=e.subarray(S,_).toString("latin1");if(N.length>0){for(let P of N.split(`\r
`))if(P.length!==0&&(P.startsWith(" ")||P.startsWith(" ")||P.indexOf(":")===-1))return null}return{complete:!0,bytesConsumed:_+4,body:i.length>0?Buffer.concat(i):Buffer.alloc(0)}}let p=l+f,B=p+2;if(B>e.length)return{complete:!1};if(e[p]!==13||e[p+1]!==10)return null;n+=f,i.push(e.subarray(l,p)),r=B}}function PW(e,t){let r=0;for(;r+1<e.length&&e[r]===13&&e[r+1]===10;)r+=2;let n=e.indexOf(`\r
\r
`,r);if(n===-1)return e.length-r>FG?{kind:"bad-request",closeConnection:!0}:{kind:"incomplete"};if(n-r>FG)return{kind:"bad-request",closeConnection:!0};let i=e.subarray(r,n).toString("latin1"),[s,...o]=i.split(`\r
`);if(o.length>v_e)return{kind:"bad-request",closeConnection:!0};let a=/^([A-Z]+)\s+(\S+)\s+HTTP\/(1)\.(0|1)$/.exec(s);if(!a)return{kind:"bad-request",closeConnection:!0};let A={},f=[],l=null;try{for(let Z of o){if(Z.length===0)continue;if(Z.startsWith(" ")||Z.startsWith(" "))return{kind:"bad-request",closeConnection:!0};let ee=Z.indexOf(":");if(ee===-1)return{kind:"bad-request",closeConnection:!0};let j=Z.slice(0,ee).trim(),se=Z.slice(ee+1).trim(),ie=Yi(j).toLowerCase();Wi(ie,se),Ro(A,ie,se),f.push(j,se),l=ie}}catch{return{kind:"bad-request",closeConnection:!0}}let p=a[1],B=a[2],S=Number(a[4]),_=Ru(A.connection||"").toLowerCase(),N=S===0?!_.includes("keep-alive"):_.includes("close");if(xW(A)&&t.listenerCount("upgrade")>0)return{kind:"request",bytesConsumed:e.length,closeConnection:!1,request:{method:p,url:B,headers:A,rawHeaders:f,bodyBase64:n+4<e.length?e.subarray(n+4).toString("base64"):void 0},upgradeHead:n+4<e.length?e.subarray(n+4):Buffer.alloc(0)};let P=A["transfer-encoding"],U=A["content-length"],G=Buffer.alloc(0),Y=n+4;if(P!==void 0){let Z=hR(Ru(P)),ee=Z.filter(ce=>ce==="chunked").length,j=ee>0,se=j&&Z[Z.length-1]==="chunked";if(!j||ee!==1||!se||U!==void 0)return{kind:"bad-request",closeConnection:!0};let ie=LW(e.subarray(n+4));if(ie===null)return{kind:"bad-request",closeConnection:!0};if(!ie.complete)return{kind:"incomplete"};G=ie.body,Y=n+4+ie.bytesConsumed}else if(U!==void 0){let Z=UW(U);if(Z===null||Z>Yl)return{kind:"bad-request",closeConnection:!0};let ee=n+4+Z;if(ee>e.length)return{kind:"incomplete"};G=e.subarray(n+4,ee),Y=ee}return{kind:"request",bytesConsumed:Y,closeConnection:N,request:{method:p,url:B,headers:A,rawHeaders:f,bodyBase64:G.length>0?G.toString("base64"):void 0}}}function Cg(e,t){let r={},n=new Map,i=[];if(Array.isArray(e)&&e.length>0){for(let s=0;s<e.length;s+=2){let o=e[s],a=e[s+1];if(o===void 0||a===void 0)continue;let A=o.toLowerCase();Ro(r,A,a),n.has(A)||(n.set(A,o),i.push(A))}return{headers:r,rawNameMap:n,order:i}}if(Array.isArray(t))for(let[s,o]of t){let a=s.toLowerCase();Ro(r,a,o),n.has(a)||(n.set(a,s),i.push(a))}return{headers:r,rawNameMap:n,order:i}}function d1(e,t,r){let n=[],i=new Set;for(let s of r){let o=e[s];if(o===void 0)continue;let a=t.get(s)||s,A=Array.isArray(o)?s==="set-cookie"?o:[o.join(", ")]:[o];for(let f of A)n.push([a,f]);i.add(s)}for(let[s,o]of Object.entries(e)){if(i.has(s))continue;let a=t.get(s)||s,A=Array.isArray(o)?s==="set-cookie"?o:[o.join(", ")]:[o];for(let f of A)n.push([a,f])}return n}function A2(){return Buffer.from(`HTTP/1.1 400 Bad Request\r
Connection: close\r
\r
`,"latin1")}function dR(e,t,r){let n=e.status||200,i=Xg[n]||"OK",{headers:s,rawNameMap:o,order:a}=Cg(e.rawHeaders,e.headers),A=Cg(e.rawTrailers,e.trailers),f=e.body==null?Buffer.alloc(0):e.bodyEncoding==="base64"?Buffer.from(e.body,"base64"):Buffer.from(e.body,"utf8"),l=a2(n,t.method),B=(s["transfer-encoding"]?hR(Ru(s["transfer-encoding"])):[]).includes("chunked"),S=s["content-length"]!==void 0,_=r||e.connectionEnded===!0||e.connectionReset===!0;l?!B&&!S&&(e.streamed===!0?(s["transfer-encoding"]="chunked",o.set("transfer-encoding","Transfer-Encoding"),a.push("transfer-encoding"),B=!0):(s["content-length"]=String(f.length),o.set("content-length","Content-Length"),a.push("content-length"))):(B&&(_=!0),delete s["content-length"]),_?(s.connection="close",o.has("connection")||(o.set("connection","Connection"),a.push("connection"))):s.connection===void 0&&t.headers.connection!==void 0&&(s.connection="keep-alive",o.set("connection","Connection"),a.push("connection"));let N=[];for(let G of e.informational??[]){let Z=d1(Cg(G.rawHeaders,G.headers).headers,Cg(G.rawHeaders,G.headers).rawNameMap,Cg(G.rawHeaders,G.headers).order).map(([ee,j])=>`${ee}: ${j}\r
`).join("");N.push(Buffer.from(`HTTP/1.1 ${G.status} ${G.statusText||Xg[G.status]||""}\r
${Z}\r
`,"latin1"))}let U=d1(s,o,a).map(([G,Y])=>`${G}: ${Y}\r
`).join("");if(N.push(Buffer.from(`HTTP/1.1 ${n} ${i}\r
${U}\r
`,"latin1")),l)if(B){if(f.length>0&&(N.push(Buffer.from(f.length.toString(16)+`\r
`,"latin1")),N.push(f),N.push(Buffer.from(`\r
`,"latin1"))),N.push(Buffer.from(`0\r
`,"latin1")),Object.keys(A.headers).length>0){let G=d1(A.headers,A.rawNameMap,A.order);for(let[Y,Z]of G)N.push(Buffer.from(`${Y}: ${Z}\r
`,"latin1"))}N.push(Buffer.from(`\r
`,"latin1"))}else f.length>0&&N.push(f);return{payload:N.length===1?N[0]:Buffer.concat(N),closeConnection:_}}var Xg={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",204:"No Content",301:"Moved Permanently",302:"Found",304:"Not Modified",400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error"};var Fu=class{constructor(e){y(this,"headers");y(this,"rawHeaders");y(this,"method");y(this,"url");y(this,"socket");y(this,"connection");y(this,"rawBody");y(this,"destroyed",!1);y(this,"errored");y(this,"readable",!0);y(this,"httpVersion","1.1");y(this,"httpVersionMajor",1);y(this,"httpVersionMinor",1);y(this,"complete",!0);y(this,"aborted",!1);y(this,"_readableState",{flowing:null,length:0,ended:!1,objectMode:!1});y(this,"_listeners",{});this.headers=e.headers||{},this.rawHeaders=e.rawHeaders||[],(!Array.isArray(this.rawHeaders)||this.rawHeaders.length%2!==0)&&(this.rawHeaders=[]),this.method=e.method||"GET",this.url=e.url||"/";let t={encrypted:!1,remoteAddress:"127.0.0.1",remotePort:0,writable:!0,on(){return t},once(){return t},removeListener(){return t},destroy(){},end(){}};this.socket=t,this.connection=t;let r=this.headers.host;typeof r=="string"&&r.includes(",")&&(this.headers.host=r.split(",")[0].trim()),this.headers.host||(this.headers.host="127.0.0.1"),this.rawHeaders.length===0&&Object.entries(this.headers).forEach(([n,i])=>{if(Array.isArray(i)){i.forEach(s=>{this.rawHeaders.push(n,s)});return}this.rawHeaders.push(n,i)}),e.bodyBase64&&typeof Buffer<"u"&&(this.rawBody=Buffer.from(e.bodyBase64,"base64"))}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}once(e,t){let r=(...n)=>{this.off(e,r),t.call(this,...n)};return this.on(e,r)}off(e,t){let r=this._listeners[e];if(!r)return this;let n=r.indexOf(t);return n!==-1&&r.splice(n,1),this}removeListener(e,t){return this.off(e,t)}emit(e,...t){let r=this._listeners[e];return Xl(this,r,t)}unpipe(){return this}pause(){return this}resume(){return this}read(){return null}pipe(e){return e}isPaused(){return!1}setEncoding(){return this}destroy(e){return this.destroyed=!0,this.errored=e,e&&this.emit("error",e),this.emit("close"),this}_abort(){if(this.aborted)return;this.aborted=!0;let e=Ma("aborted");this.emit("aborted"),this.emit("error",e),this.emit("close")}},h0=class{constructor(){y(this,"statusCode",200);y(this,"statusMessage","OK");y(this,"headersSent",!1);y(this,"writable",!0);y(this,"writableFinished",!1);y(this,"outputSize",0);y(this,"_headers",new Map);y(this,"_trailers",new Map);y(this,"_chunks",[]);y(this,"_chunksBytes",0);y(this,"_streamed",!1);y(this,"_listeners",{});y(this,"_closedPromise");y(this,"_resolveClosed",null);y(this,"_connectionEnded",!1);y(this,"_connectionReset",!1);y(this,"_rawHeaderNames",new Map);y(this,"_rawTrailerNames",new Map);y(this,"_informational",[]);y(this,"_pendingRawInfoBuffer","");y(this,"_streamSocket",null);y(this,"_streamRequest",null);y(this,"_streamedDirectly",!1);y(this,"_streamCloseConnection",!1);y(this,"_writableState",{length:0,ended:!1,finished:!1,objectMode:!1,corked:0});y(this,"socket",{writable:!0,writableCorked:0,writableHighWaterMark:16*1024,on:()=>this.socket,once:()=>this.socket,removeListener:()=>this.socket,destroy:()=>{this._connectionReset=!0,this._finalize()},end:()=>{this._connectionEnded=!0},cork:()=>{this._writableState.corked+=1,this.socket.writableCorked=this._writableState.corked},uncork:()=>{this._writableState.corked=Math.max(0,this._writableState.corked-1),this.socket.writableCorked=this._writableState.corked},write:(e,t,r)=>this.write(e,t,r)});y(this,"connection",this.socket);this._closedPromise=new Promise(e=>{this._resolveClosed=e})}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}once(e,t){let r=(...n)=>{this.off(e,r),t.call(this,...n)};return this.on(e,r)}off(e,t){let r=this._listeners[e];if(!r)return this;let n=r.indexOf(t);return n!==-1&&r.splice(n,1),this}removeListener(e,t){return this.off(e,t)}emit(e,...t){let r=this._listeners[e];return!r||r.length===0?!1:(r.slice().forEach(n=>n.call(this,...t)),!0)}_emit(e,...t){this.emit(e,...t)}writeHead(e,t){if(e>=100&&e<200&&e!==101){let r=new Map,n=new Map;if(t)if(o2(t))for(let o=0;o<t.length;o+=2){let a=t[o],A=t[o+1];if(a===void 0||A===void 0)continue;let f=Yi(a).toLowerCase();Wi(f,A),r.set(f,String(A)),n.has(f)||n.set(f,a)}else Array.isArray(t)?t.forEach(([o,a])=>{let A=Yi(o).toLowerCase();Wi(A,a),r.set(A,String(a)),n.has(A)||n.set(A,o)}):Object.entries(t).forEach(([o,a])=>{let A=Yi(o).toLowerCase();Wi(A,a),r.set(A,String(a)),n.has(A)||n.set(A,o)});let i=Array.from(r.entries()).flatMap(([o,a])=>{let A=wl(a);return Array.isArray(A)?A.map(f=>[o,f]):[[o,A]]}),s=Array.from(r.entries()).flatMap(([o,a])=>{let A=n.get(o)||o,f=wl(a);return Array.isArray(f)?f.flatMap(l=>[A,l]):[A,f]});return this._informational.push({status:e,statusText:Xg[e],headers:i,rawHeaders:s}),this}if(this.statusCode=e,t)if(o2(t))for(let r=0;r<t.length;r+=2){let n=t[r],i=t[r+1];n!==void 0&&i!==void 0&&this.setHeader(n,i)}else Array.isArray(t)?t.forEach(([r,n])=>this.setHeader(r,n)):Object.entries(t).forEach(([r,n])=>this.setHeader(r,n));return this.headersSent=!0,this.outputSize+=64,this}setHeader(e,t){if(this.headersSent)throw kB("Cannot set headers after they are sent to the client","ERR_HTTP_HEADERS_SENT");let r=Yi(e).toLowerCase();Wi(r,t);let n=Array.isArray(t)?Array.from(t):t;return this._headers.set(r,n),this._rawHeaderNames.has(r)||this._rawHeaderNames.set(r,e),this}setHeaders(e){if(this.headersSent)throw kB("Cannot set headers after they are sent to the client","ERR_HTTP_HEADERS_SENT");if(!(e instanceof HA)&&!(e instanceof Map))throw lr(`The "headers" argument must be an instance of Headers or Map. Received ${Yn(e)}`,"ERR_INVALID_ARG_TYPE");if(e instanceof HA){let t=Object.create(null);return e.forEach((r,n)=>{Ro(t,n.toLowerCase(),r)}),Object.entries(t).forEach(([r,n])=>{this.setHeader(r,n)}),this}return e.forEach((t,r)=>{this.setHeader(r,t)}),this}getHeader(e){if(typeof e!="string")throw lr(`The "name" argument must be of type string. Received ${Yn(e)}`,"ERR_INVALID_ARG_TYPE");let t=this._headers.get(e.toLowerCase());return t===void 0?void 0:DG(t)}hasHeader(e){if(typeof e!="string")throw lr(`The "name" argument must be of type string. Received ${Yn(e)}`,"ERR_INVALID_ARG_TYPE");return this._headers.has(e.toLowerCase())}removeHeader(e){if(typeof e!="string")throw lr(`The "name" argument must be of type string. Received ${Yn(e)}`,"ERR_INVALID_ARG_TYPE");let t=e.toLowerCase();this._headers.delete(t),this._rawHeaderNames.delete(t)}_appendChunk(e,t,r){if(e==null)return!0;let n=typeof e=="string"?Buffer.from(e,typeof t=="string"?t:void 0):e;if(this._chunksBytes+n.byteLength>Yl)throw new Error("ERR_HTTP_BODY_TOO_LARGE: response body exceeds "+Yl+" byte limit");return this._chunks.push(n),this._chunksBytes+=n.byteLength,this._streamed||(this._streamed=r),this.headersSent=!0,this.outputSize+=n.byteLength,!0}write(e,t,r){this._appendChunk(e,typeof t=="string"?t:void 0,!0);let n=typeof t=="function"?t:r;return typeof n=="function"&&queueMicrotask(n),!0}end(e,t,r){let n,i;if(typeof e=="function"?i=e:(n=e,i=typeof t=="function"?t:r),this._streamSocket&&this._chunks.length===0&&!this.writableFinished&&!this._streamedDirectly){let s=typeof t=="string"?t:void 0;return this._streamEndBody(n,s),typeof i=="function"&&queueMicrotask(i),this}return n!=null&&(typeof n=="string"&&typeof t=="string"?this._appendChunk(n,t,!1):this._appendChunk(n,void 0,!1)),this._finalize(),typeof i=="function"&&queueMicrotask(i),this}_streamEndBody(e,t){let r=typeof e=="string",n=256*1024,i=0;if(e!=null)if(r)for(let a=0;a<e.length;a+=n)i+=Buffer.byteLength(e.slice(a,a+n),t);else i=e.length;!this._headers.has("content-length")&&!this._headers.has("transfer-encoding")&&(this._headers.set("content-length",String(i)),this._rawHeaderNames.set("content-length","Content-Length")),this.headersSent=!0;let s=this.serialize(),o=dR(s,this._streamRequest,!0);if(this._streamCloseConnection=o.closeConnection,this._streamedDirectly=!0,this.outputSize+=i,!this._streamSocket.destroyed&&o.payload.length>0&&this._streamSocket.write(o.payload),e!=null&&i>0)if(r)for(let a=0;a<e.length&&!this._streamSocket.destroyed;a+=n)this._streamSocket.write(Buffer.from(e.slice(a,a+n),t));else for(let a=0;a<e.length&&!this._streamSocket.destroyed;a+=n)this._streamSocket.write(e.subarray(a,a+n));this._finalize()}getHeaderNames(){return Array.from(this._headers.keys())}getRawHeaderNames(){return Array.from(this._headers.keys()).map(e=>this._rawHeaderNames.get(e)||e)}getHeaders(){let e=Object.create(null);for(let[t,r]of this._headers)e[t]=DG(r);return e}assignSocket(){}detachSocket(){}writeContinue(){this.writeHead(100)}writeProcessing(){this.writeHead(102)}addTrailers(e){if(Array.isArray(e)){for(let t=0;t<e.length;t+=2){let r=e[t],n=e[t+1];if(r===void 0||n===void 0)continue;let i=Yi(r).toLowerCase();Wi(i,n),this._trailers.set(i,String(n)),this._rawTrailerNames.has(i)||this._rawTrailerNames.set(i,r)}return}Object.entries(e).forEach(([t,r])=>{let n=Yi(t).toLowerCase();Wi(n,r),this._trailers.set(n,String(r)),this._rawTrailerNames.has(n)||this._rawTrailerNames.set(n,t)})}cork(){this.socket.cork()}uncork(){this.socket.uncork()}setTimeout(e){return this}get writableCorked(){return Number(this.socket.writableCorked||0)}flushHeaders(){this.headersSent=!0}destroy(e){this._connectionReset=!0,e&&this._emit("error",e),this._finalize()}async waitForClose(){await this._closedPromise}serialize(){let e=this._chunks.length>0?Buffer.concat(this._chunks):Buffer.alloc(0),t=Array.from(this._headers.entries()).flatMap(([s,o])=>{let a=wl(o);return Array.isArray(a)?s==="set-cookie"?a.map(A=>[s,A]):[[s,a.join(", ")]]:[[s,a]]}),r=Array.from(this._headers.entries()).flatMap(([s,o])=>{let a=this._rawHeaderNames.get(s)||s,A=wl(o);return Array.isArray(A)?s==="set-cookie"?A.flatMap(f=>[a,f]):[a,A.join(", ")]:[a,A]}),n=Array.from(this._trailers.entries()).flatMap(([s,o])=>{let a=wl(o);return Array.isArray(a)?a.map(A=>[s,A]):[[s,a]]}),i=Array.from(this._trailers.entries()).flatMap(([s,o])=>{let a=this._rawTrailerNames.get(s)||s,A=wl(o);return Array.isArray(A)?A.flatMap(f=>[a,f]):[a,A]});return{status:this.statusCode,headers:t,rawHeaders:r,informational:this._informational.length>0?[...this._informational]:void 0,body:e.toString("base64"),bodyEncoding:"base64",trailers:n.length>0?n:void 0,rawTrailers:i.length>0?i:void 0,connectionEnded:this._connectionEnded,connectionReset:this._connectionReset,streamed:this._streamed}}_writeRaw(e,t){return this._pendingRawInfoBuffer+=String(e),this._flushPendingRawInformational(),typeof t=="function"&&queueMicrotask(t),!0}_finalize(){this.writableFinished||(this.writableFinished=!0,this.writable=!1,this._writableState.ended=!0,this._writableState.finished=!0,this._emit("finish"),this._emit("close"),this._resolveClosed?.(),this._resolveClosed=null)}_flushPendingRawInformational(){let e=this._pendingRawInfoBuffer.indexOf(`\r
\r
`);for(;e!==-1;){let t=this._pendingRawInfoBuffer.slice(0,e);this._pendingRawInfoBuffer=this._pendingRawInfoBuffer.slice(e+4);let[r,...n]=t.split(`\r
`),i=/^HTTP\/1\.[01]\s+(\d{3})(?:\s+(.*))?$/.exec(r);if(!i){e=this._pendingRawInfoBuffer.indexOf(`\r
\r
`);continue}let s=Number(i[1]);if(s>=100&&s<200&&s!==101){let o=[],a=[];for(let A of n){let f=A.indexOf(":");if(f===-1)continue;let l=A.slice(0,f).trim(),p=A.slice(f+1).trim();o.push([l.toLowerCase(),p]),a.push(l,p)}this._informational.push({status:s,statusText:i[2]||Xg[s]||void 0,headers:o,rawHeaders:a})}e=this._pendingRawInfoBuffer.indexOf(`\r
\r
`)}}},gR=class{constructor(e,t=null){y(this,"listening",!1);y(this,"_listeners",{});y(this,"_serverId");y(this,"_netServer",null);y(this,"_listenPromise",null);y(this,"_address",null);y(this,"_handleId",null);y(this,"_hostCloseWaitStarted",!1);y(this,"_activeRequestDispatches",0);y(this,"_closePending",!1);y(this,"_closeRunning",!1);y(this,"_closeCallbacks",[]);y(this,"_tlsOptions",null);y(this,"_requestListener");y(this,"keepAliveTimeout",5e3);y(this,"requestTimeout",3e5);y(this,"headersTimeout",6e4);y(this,"timeout",0);y(this,"maxRequestsPerSocket",0);this._serverId=t_e++,this._requestListener=e??(()=>{}),this._tlsOptions=t,Kg.set(this._serverId,this)}get _bridgeServerId(){return this._serverId}_emit(e,...t){let r=this._listeners[e];!r||r.length===0||r.slice().forEach(n=>n.call(this,...t))}_finishStart(e){let t=JSON.parse(e);this._address=t.address,this.listening=!0,this._handleId=`http-server:${this._serverId}`,nr("server listening",this._serverId,this._address),typeof _registerHandle=="function"&&_registerHandle(this._handleId,"http server"),this._startHostCloseWait()}_completeClose(){this.listening=!1,this._address=null,Kg.delete(this._serverId),this._handleId&&typeof _unregisterHandle=="function"&&_unregisterHandle(this._handleId),this._handleId=null}_beginRequestDispatch(){this._activeRequestDispatches+=1}_endRequestDispatch(){this._activeRequestDispatches=Math.max(0,this._activeRequestDispatches-1),this._closePending&&this._activeRequestDispatches===0&&(this._closePending=!1,queueMicrotask(()=>{this._startClose()}))}_startHostCloseWait(){this._hostCloseWaitStarted=!0}async _start(e,t){if(typeof zg>"u")throw new Error("http.createServer requires kernel-backed network bridge support");nr("server listen start",this._serverId,e,t);let r=new zg({allowHalfOpen:!0});this._netServer=r,r.on("connection",n=>{if(this._tlsOptions){let i=new cR(n,{...this._tlsOptions,isServer:!0});i.server=this,i.once("secure",()=>{this._emit("secureConnection",i),this._emit("connection",i),MG(this,i)}),i.on("error",s=>{this._emit("tlsClientError",s,i)});return}this._emit("connection",n),MG(this,n)}),r.on("error",n=>{this._emit("error",n)}),await new Promise((n,i)=>{let s=!1,o=()=>{r.removeListener?.("listening",a),r.removeListener?.("error",A)},a=()=>{s||(s=!0,o(),n())},A=f=>{s||(s=!0,o(),i(f instanceof Error?f:new Error(String(f))))};r.once("listening",a),r.once("error",A),r.listen(e??0,t)}),this._address=r.address(),this.listening=!0,this._startHostCloseWait(),nr("server listening",this._serverId,this._address)}listen(e,t,r){let n=typeof e=="number"?e:void 0,i=typeof t=="string"?t:void 0,s=typeof r=="function"?r:typeof t=="function"?t:typeof e=="function"?e:void 0;return this._listenPromise||(this._listenPromise=this._start(n,i).then(()=>{this._emit("listening"),s?.call(this)}).catch(o=>{this._emit("error",o)})),this}close(e){return nr("server close requested",this._serverId,this.listening),e&&this._closeCallbacks.push(e),this._activeRequestDispatches>0?(this._closePending=!0,this):(queueMicrotask(()=>{this._startClose()}),this)}_startClose(){if(this._closeRunning)return;this._closeRunning=!0,(async()=>{try{this._listenPromise&&await this._listenPromise;let t=this._netServer;this.listening&&t&&(nr("server close net server",this._serverId),await new Promise((n,i)=>{t.close(s=>{s?i(s):n()})})),this._netServer=null,this._completeClose(),nr("server close complete",this._serverId),this._closeCallbacks.splice(0).forEach(n=>n()),this._emit("close")}catch(t){let r=t instanceof Error?t:new Error(String(t));nr("server close error",this._serverId,r.message),this._closeCallbacks.splice(0).forEach(i=>i(r)),this._emit("error",r)}finally{this._closeRunning=!1}})()}address(){return this._address}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}once(e,t){let r=(...n)=>{this.off(e,r),t.call(this,...n)};return this.on(e,r)}off(e,t){let r=this._listeners[e];if(!r)return this;let n=r.indexOf(t);return n!==-1&&r.splice(n,1),this}removeListener(e,t){return this.off(e,t)}removeAllListeners(e){return e?delete this._listeners[e]:this._listeners={},this}listenerCount(e){return this._listeners[e]?.length||0}setTimeout(e,t){return typeof e=="number"&&(this.timeout=e),this}ref(){return this}unref(){return this}};function OW(e){return new gR(e)}OW.prototype=gR.prototype;async function y_e(e,t){let r=Kg.get(e);if(!r)throw new Error(`Unknown HTTP server: ${e}`);let n=r._requestListener;r._beginRequestDispatch();let i=JSON.parse(t),s=new Fu(i),o=new h0;s.socket=o.socket,s.connection=o.socket;let a=[],A=[],f=new Map,l=0,p=0;try{try{let B=globalThis.setImmediate,S=globalThis.setTimeout,_=globalThis.clearTimeout;typeof B=="function"&&(globalThis.setImmediate=((N,...P)=>{let U=new Promise(G=>{queueMicrotask(()=>{try{N(...P)}finally{G()}})});return a.push(U),0})),typeof S=="function"&&(globalThis.setTimeout=((N,P,...U)=>{if(typeof N!="function")return S(N,P,...U);let G=typeof P=="number"&&Number.isFinite(P)?Math.max(0,P):0;if(G>1e3)return S(N,G,...U);let Y,Z=new Promise(j=>{Y=j}),ee;return ee=S(()=>{f.delete(ee);try{N(...U)}finally{Y()}},G),f.set(ee,Y),A.push(Z),ee})),typeof _=="function"&&(globalThis.clearTimeout=(N=>{if(N!=null){let P=f.get(N);P&&(f.delete(N),P())}return _(N)}));try{let N=n(s,o);for(s.rawBody&&s.rawBody.length>0&&s.emit("data",s.rawBody),s.emit("end"),await Promise.resolve(N);l<A.length||p<a.length;){let P=[...A.slice(l),...a.slice(p)];l=A.length,p=a.length,await Promise.allSettled(P)}}finally{typeof B=="function"&&(globalThis.setImmediate=B),typeof S=="function"&&(globalThis.setTimeout=S),typeof _=="function"&&(globalThis.clearTimeout=_)}}catch(B){o.statusCode=500;try{o.end(B instanceof Error?`Error: ${B.message}`:"Error")}catch{o.writableFinished||o.end()}}return o.writableFinished||o.end(),await o.waitForClose(),await Promise.allSettled([...A,...a]),JSON.stringify(o.serialize())}finally{r._endRequestDispatch()}}async function m_e(e,t){let r=t2.get(t);if(!r||r.serverId!==e||typeof _networkHttp2ServerRespondRaw>"u")return;t2.delete(t);let n=vs.get(e);if(!n){_networkHttp2ServerRespondRaw.applySync(void 0,[e,t,JSON.stringify({status:500,headers:[["content-type","text/plain"]],body:"Unknown HTTP/2 server",bodyEncoding:"utf8"})]);return}let i=JSON.parse(r.requestJson),s=new Fu(i),o=new h0;s.socket=o.socket,s.connection=o.socket;try{n.emit("request",s,o),s.rawBody&&s.rawBody.length>0&&s.emit("data",s.rawBody),s.emit("end"),o.writableFinished||o.end(),await o.waitForClose(),_networkHttp2ServerRespondRaw.applySync(void 0,[e,t,JSON.stringify(o.serialize())])}catch(a){let A=a instanceof Error?a.message:String(a);_networkHttp2ServerRespondRaw.applySync(void 0,[e,t,JSON.stringify({status:500,headers:[["content-type","text/plain"]],body:`Error: ${A}`,bodyEncoding:"utf8"})])}}async function B_e(e,t){let r=typeof e=="number"?Kg.get(e):e;if(!r)throw new Error(`Unknown HTTP server: ${typeof e=="number"?e:"<detached>"}`);let n=typeof t=="string"?JSON.parse(t):t,i=new Fu(n),s=new h0;i.socket=s.socket,i.connection=s.socket;let o=[],a=[],A=new Map,f=0,l=0;r._beginRequestDispatch();try{try{let B=globalThis.setImmediate,S=globalThis.setTimeout,_=globalThis.clearTimeout;typeof B=="function"&&(globalThis.setImmediate=((N,...P)=>{let U=new Promise(G=>{queueMicrotask(()=>{try{N(...P)}finally{G()}})});return o.push(U),0})),typeof S=="function"&&(globalThis.setTimeout=((N,P,...U)=>{if(typeof N!="function")return S(N,P,...U);let G=typeof P=="number"&&Number.isFinite(P)?Math.max(0,P):0;if(G>1e3)return S(N,G,...U);let Y,Z=new Promise(j=>{Y=j}),ee;return ee=S(()=>{A.delete(ee);try{N(...U)}finally{Y()}},G),A.set(ee,Y),a.push(Z),ee})),typeof _=="function"&&(globalThis.clearTimeout=(N=>{if(N!=null){let P=A.get(N);P&&(A.delete(N),P())}return _(N)}));try{let N=r._requestListener(i,s);for(i.rawBody&&i.rawBody.length>0&&i.emit("data",i.rawBody),i.emit("end"),await Promise.resolve(N);f<a.length||l<o.length;){let P=[...a.slice(f),...o.slice(l)];f=a.length,l=o.length,await Promise.allSettled(P)}}finally{typeof B=="function"&&(globalThis.setImmediate=B),typeof S=="function"&&(globalThis.setTimeout=S),typeof _=="function"&&(globalThis.clearTimeout=_)}}catch(B){s.statusCode=500;try{s.end(B instanceof Error?`Error: ${B.message}`:"Error")}catch{s.writableFinished||s.end()}}s.writableFinished||s.end(),await s.waitForClose(),await Promise.allSettled([...a,...o]);let p=!1;return{responseJson:JSON.stringify(s.serialize()),abortRequest:()=>{p||(p=!0,i._abort())}}}finally{r._endRequestDispatch()}}async function I_e(e,t,r){let n=typeof t=="string"?JSON.parse(t):t,i=new Fu(n),s=new h0;i.socket=s.socket,i.connection=s.socket,r&&(s._streamSocket=r,s._streamRequest=n),e._beginRequestDispatch();try{try{let A=e._requestListener(i,s);i.rawBody&&i.rawBody.length>0&&i.emit("data",i.rawBody),i.emit("end"),await Promise.resolve(A)}catch(A){s.statusCode=500;try{s.end(A instanceof Error?`Error: ${A.message}`:"Error")}catch{s.writableFinished||s.end()}}s.writableFinished||s.end(),await s.waitForClose();let o=!1,a=()=>{o||(o=!0,i._abort())};return s._streamedDirectly?{streamedDirectly:!0,closeConnection:s._streamCloseConnection,abortRequest:a}:{responseJson:JSON.stringify(s.serialize()),abortRequest:a}}finally{e._endRequestDispatch()}}function MG(e,t){let r=Buffer.alloc(0),n=!1,i=!1,s=!1,o=!1,a=()=>{o||(o=!0,t.off?.("data",l),t.removeListener?.("data",l),t.off?.("end",p),t.removeListener?.("end",p),t.off?.("close",B),t.removeListener?.("close",B),t.off?.("error",S),t.removeListener?.("error",S))},A=()=>{if(n){i=!0;return}n=!0,_().finally(()=>{n=!1,i&&!o?(i=!1,A()):i=!1})},f=()=>{a(),!t.destroyed&&!t._writableEnded&&t.end()},l=N=>{let P=Buffer.isBuffer(N)?N:Buffer.from(N);r=r.length===0?P:Buffer.concat([r,P]),A()},p=()=>{if(s=!0,r.length===0){a();return}A()},B=()=>{a()},S=()=>{a()};async function _(){let N=!1;for(;!o&&!t.destroyed;){let P=PW(r,e);if(P.kind==="incomplete"){s&&r.length>0&&(t.write(A2()),f());return}if(P.kind==="bad-request"){t.write(A2()),f(),r=Buffer.alloc(0);return}if(r=r.subarray(P.bytesConsumed),P.upgradeHead){a();let Y=new Fu(P.request);Y.socket=t,Y.connection=t,e._emit("upgrade",Y,t,P.upgradeHead);return}let U=await I_e(e,P.request,t);if(o||t.destroyed)return;let G;if(U.streamedDirectly)G=U.closeConnection;else{let Y=JSON.parse(U.responseJson),Z=dR(Y,P.request,!0);!N&&Z.payload.length>0&&t.write(Z.payload),G=Z.closeConnection}if(G&&(N=!0,r.length===0)){f();return}}}t.on("data",l),t.once("end",p),t.once("close",B),t.once("error",S)}function HW(e,t,r,n,i){let s=Kg.get(t);if(!s)throw new Error(`Unknown HTTP server for ${e}: ${t}`);let o=JSON.parse(r),a=new Fu(o),A=typeof Buffer<"u"?Buffer.from(n,"base64"):new Uint8Array(0),f=a.headers.host,l=new b_e(i,{host:(Array.isArray(f)?f[0]:f)?.split(":")[0]||"127.0.0.1"});Zg.set(i,l),s._emit(e,a,l,A)}var Zg=new Map,b_e=class{constructor(e,t){y(this,"remoteAddress");y(this,"remotePort");y(this,"localAddress","127.0.0.1");y(this,"localPort",0);y(this,"connecting",!1);y(this,"destroyed",!1);y(this,"writable",!0);y(this,"readable",!0);y(this,"readyState","open");y(this,"bytesWritten",0);y(this,"_listeners",{});y(this,"_socketId");y(this,"_readableState",{endEmitted:!1,ended:!1});y(this,"_writableState",{finished:!1,errorEmitted:!1});this._socketId=e,this.remoteAddress=t?.host||"127.0.0.1",this.remotePort=t?.port||80}setTimeout(e,t){return this}setNoDelay(e){return this}setKeepAlive(e,t){return this}ref(){return this}unref(){return this}cork(){}uncork(){}pause(){return this}resume(){return this}address(){return{address:this.localAddress,family:"IPv4",port:this.localPort}}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}addListener(e,t){return this.on(e,t)}once(e,t){let r=(...n)=>{this.off(e,r),t(...n)};return this.on(e,r)}off(e,t){if(this._listeners[e]){let r=this._listeners[e].indexOf(t);r!==-1&&this._listeners[e].splice(r,1)}return this}removeListener(e,t){return this.off(e,t)}removeAllListeners(e){return e?delete this._listeners[e]:this._listeners={},this}emit(e,...t){let r=this._listeners[e];return Xl(this,r,t)}listenerCount(e){return this._listeners[e]?.length||0}write(e,t,r){if(this.destroyed)return!1;let n=typeof t=="function"?t:r;if(typeof _upgradeSocketWriteRaw<"u"){let i;typeof Buffer<"u"&&Buffer.isBuffer(e)?i=e.toString("base64"):typeof e=="string"?i=typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e):e instanceof Uint8Array?i=typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(String.fromCharCode(...e)):i=typeof Buffer<"u"?Buffer.from(String(e)).toString("base64"):btoa(String(e)),this.bytesWritten+=i.length,_upgradeSocketWriteRaw.applySync(void 0,[this._socketId,i])}return n&&n(),!0}end(e){return e&&this.write(e),typeof _upgradeSocketEndRaw<"u"&&!this.destroyed&&_upgradeSocketEndRaw.applySync(void 0,[this._socketId]),this.writable=!1,this.emit("finish"),this}destroy(e){return this.destroyed?this:(this.destroyed=!0,this.writable=!1,this.readable=!1,this._readableState.endEmitted=!0,this._readableState.ended=!0,this._writableState.finished=!0,typeof _upgradeSocketDestroyRaw<"u"&&_upgradeSocketDestroyRaw.applySync(void 0,[this._socketId]),Zg.delete(this._socketId),e&&this.emit("error",e),this.emit("close",!1),this)}_pushData(e){this.emit("data",e)}_pushEnd(){this.readable=!1,this._readableState.endEmitted=!0,this._readableState.ended=!0,this._writableState.finished=!0,this.emit("end"),this.emit("close",!1),Zg.delete(this._socketId)}};function C_e(e,t,r,n){HW("upgrade",e,t,r,n)}function Q_e(e,t,r,n){HW("connect",e,t,r,n)}function w_e(e,t){let r=Zg.get(e);if(r){let n=typeof Buffer<"u"?Buffer.from(t,"base64"):new Uint8Array(0);r._pushData(n)}}function S_e(e){let t=Zg.get(e);t&&t._pushEnd()}function f2(){this.statusCode=200,this.statusMessage="OK",this.headersSent=!1,this.writable=!0,this.writableFinished=!1,this.outputSize=0,this._headers=new Map,this._trailers=new Map,this._rawHeaderNames=new Map,this._rawTrailerNames=new Map,this._informational=[],this._pendingRawInfoBuffer="",this._chunks=[],this._chunksBytes=0,this._listeners={},this._closedPromise=new Promise(t=>{this._resolveClosed=t}),this._connectionEnded=!1,this._connectionReset=!1,this._writableState={length:0,ended:!1,finished:!1,objectMode:!1,corked:0};let e={writable:!0,writableCorked:0,writableHighWaterMark:16*1024,on(){return e},once(){return e},removeListener(){return e},destroy(){},end(){},cork(){},uncork(){},write:(t,r,n)=>this.write(t,r,n)};this.socket=e,this.connection=e}f2.prototype=Object.create(h0.prototype,{constructor:{value:f2,writable:!0,configurable:!0}});function qW(e){let t=e==="https"?"https:":"http:",r=new FB({keepAlive:!1,createConnection(s,o){return rI({...s,protocol:t},o)}});function n(s){return s.protocol?s:{...s,protocol:t}}function i(s){return s.agent!==void 0?s:{...s,_agentOSDefaultAgent:r}}return{request(s,o,a){let A,f=typeof o=="function"?o:a;if(typeof s=="string"){let l=new URL(s);A={protocol:l.protocol,hostname:l.hostname,port:l.port,path:l.pathname+l.search,...typeof o=="object"&&o?o:{}}}else s instanceof URL?A={protocol:s.protocol,hostname:s.hostname,port:s.port,path:s.pathname+s.search,...typeof o=="object"&&o?o:{}}:A={...s,...typeof o=="object"&&o?o:{}};return new Pg(i(n(A)),f)},get(s,o,a){let A,f=typeof o=="function"?o:a;if(typeof s=="string"){let p=new URL(s);A={protocol:p.protocol,hostname:p.hostname,port:p.port,path:p.pathname+p.search,method:"GET",...typeof o=="object"&&o?o:{}}}else s instanceof URL?A={protocol:s.protocol,hostname:s.hostname,port:s.port,path:s.pathname+s.search,method:"GET",...typeof o=="object"&&o?o:{}}:A={...s,...typeof o=="object"&&o?o:{},method:"GET"};let l=new Pg(i(n(A)),f);return l.end(),l},createServer(s,o){let a=typeof s=="function"?s:o,A=typeof s=="function"?null:s;return new gR(a,e==="https"?A:null)},Agent:FB,globalAgent:r,Server:OW,ServerResponse:f2,IncomingMessage:gu,ClientRequest:Pg,validateHeaderName:Yi,validateHeaderValue:Wi,_checkIsHttpToken:FW,_checkInvalidHeaderChar:kW,maxHeaderSize:65535,METHODS:[...r_e],STATUS_CODES:Xg}}var pR=qW("http");Ge("_httpModule",pR);Ge("_dnsModule",uR);function __e(e,t){if(nr("http stream event",e,t),e==="http_request"&&!(!t||t.serverId===void 0||t.requestId===void 0||typeof t.request!="string")){if(typeof _networkHttpServerRespondRaw>"u"){nr("http stream missing respond bridge");return}y_e(t.serverId,t.request).then(r=>{nr("http stream response",t.serverId,t.requestId),_networkHttpServerRespondRaw.applySync(void 0,[t.serverId,t.requestId,r])}).catch(r=>{let n=r instanceof Error?r.message:String(r);nr("http stream error",t.serverId,t.requestId,n),_networkHttpServerRespondRaw.applySync(void 0,[t.serverId,t.requestId,JSON.stringify({status:500,headers:[["content-type","text/plain"]],body:`Error: ${n}`,bodyEncoding:"utf8"})])})}}Ge("_httpServerDispatch",__e);Ge("_httpServerUpgradeDispatch",C_e);Ge("_httpServerConnectDispatch",Q_e);Ge("_http2Dispatch",GSe);Ge("_upgradeSocketData",w_e);var ER=qW("https");Ge("_httpsModule",ER);var Yl=50*1024*1024,FG=64*1024,v_e=2e3,R_e=0,u2=Bu.default?.Headers??Bu.default?.default??Bu.default,D_e=Iu.default?.Request??Iu.default?.default??Iu.default,T_e=bu.default?.Response??bu.default?.default??bu.default;function nI(e){if(!e)return{};if(e instanceof HA||typeof u2=="function"&&e instanceof u2)return Object.fromEntries(e.entries());if(o2(e)){let t={};for(let r=0;r<e.length;r+=2){let n=e[r],i=e[r+1];n!==void 0&&i!==void 0&&(t[n]=i)}return t}return typeof e.entries=="function"?Object.fromEntries(e.entries()):typeof e[Symbol.iterator]=="function"?Object.fromEntries(e):Object.fromEntries(new HA(e).entries())}function N_e(e){return new HA(nI(e))}function M_e(e={}){let t={...e};return Object.prototype.hasOwnProperty.call(t,"agent")&&delete t.agent,Object.prototype.hasOwnProperty.call(t,"headers")&&(t.headers=nI(t.headers)),t.body!=null&&t.duplex==null&&String(t.method??"GET").toUpperCase()!=="GET"&&String(t.method??"GET").toUpperCase()!=="HEAD"&&(t.duplex="half"),t}function F_e(e){let t=nI(e?.headers);return Object.keys(t).some(n=>n.toLowerCase()==="accept-encoding")||(t["accept-encoding"]="gzip, deflate"),{...e||{},headers:t}}async function iI(e,t={}){if(typeof dG!="function")throw new Error("fetch requires undici to be configured");let r=e,n=t;e instanceof yR&&(r=e.url,n={method:e.method,headers:nI(e.headers),body:e.body,...t}),n=M_e(n),n=F_e(n);let i=typeof r=="string"?r:r?.url?String(r.url):String(r),s=typeof _registerHandle=="function"?`fetch:${++R_e}`:null;s&&_registerHandle?.(s,`fetch ${i}`);let o=n.dispatcher==null&&typeof V1=="function"?V1():null;try{return await dG(r,o?{...n,dispatcher:o}:n)}finally{s&&_unregisterHandle?.(s)}}var HA=class GW{constructor(t){y(this,"_headers",{});t&&t!==null&&(t instanceof GW?this._headers={...t._headers}:Array.isArray(t)?t.forEach(([r,n])=>{this._headers[r.toLowerCase()]=n}):typeof t=="object"&&Object.entries(t).forEach(([r,n])=>{this._headers[r.toLowerCase()]=n}))}get(t){return this._headers[t.toLowerCase()]||null}set(t,r){this._headers[t.toLowerCase()]=r}has(t){return t.toLowerCase()in this._headers}delete(t){delete this._headers[t.toLowerCase()]}entries(){return Object.entries(this._headers)[Symbol.iterator]()}[Symbol.iterator](){return this.entries()}keys(){return Object.keys(this._headers)[Symbol.iterator]()}values(){return Object.values(this._headers)[Symbol.iterator]()}append(t,r){let n=t.toLowerCase();n in this._headers?this._headers[n]=this._headers[n]+", "+r:this._headers[n]=r}forEach(t){Object.entries(this._headers).forEach(([r,n])=>t(n,r,this))}},yR=class YW{constructor(t,r={}){y(this,"url");y(this,"method");y(this,"headers");y(this,"body");y(this,"mode");y(this,"credentials");y(this,"cache");y(this,"redirect");y(this,"referrer");y(this,"integrity");this.url=typeof t=="string"?t:t.url,this.method=r.method||(typeof t!="string"?t.method:void 0)||"GET",this.headers=N_e(r.headers||(typeof t!="string"?t.headers:void 0)),this.body=r.body||null,this.mode=r.mode||"cors",this.credentials=r.credentials||"same-origin",this.cache=r.cache||"default",this.redirect=r.redirect||"follow",this.referrer=r.referrer||"about:client",this.integrity=r.integrity||""}clone(){return new YW(this.url,this)}},WW=class lB{constructor(t,r={}){y(this,"_body");y(this,"status");y(this,"statusText");y(this,"headers");y(this,"ok");y(this,"type");y(this,"url");y(this,"redirected");this._body=t||null,this.status=r.status||200,this.statusText=r.statusText||"OK",this.headers=new HA(r.headers),this.ok=this.status>=200&&this.status<300,this.type="default",this.url="",this.redirected=!1}async text(){return String(this._body||"")}async json(){return JSON.parse(this._body||"{}")}get body(){let t=this._body;return t===null?null:{getReader(){let r=!1;return{async read(){return r?{done:!0}:(r=!0,{done:!1,value:new TextEncoder().encode(t)})}}}}}clone(){return new lB(this._body,{status:this.status,statusText:this.statusText})}static error(){return new lB(null,{status:0,statusText:""})}static redirect(t,r=302){return new lB(null,{status:r,headers:{Location:t}})}};Ge("_upgradeSocketEnd",S_e);Ge("fetch",iI);Ge("Headers",u2);Ge("Request",D_e);Ge("Response",T_e);var xl=globalThis.Blob;typeof xl>"u"&&(xl=class{},Ge("Blob",xl));var g1=globalThis.File;typeof g1>"u"&&(g1=class extends xl{constructor(r=[],n="",i={}){super(r,i);y(this,"name");y(this,"lastModified");y(this,"webkitRelativePath");this.name=String(n),this.lastModified=typeof i.lastModified=="number"?i.lastModified:Date.now(),this.webkitRelativePath=""}},Ge("File",g1));if(typeof globalThis.FormData>"u"){class e{constructor(){y(this,"_entries",[])}append(r,n){this._entries.push([r,n])}get(r){let n=this._entries.find(([i])=>i===r);return n?n[1]:null}getAll(r){return this._entries.filter(([n])=>n===r).map(([,n])=>n)}has(r){return this._entries.some(([n])=>n===r)}delete(r){this._entries=this._entries.filter(([n])=>n!==r)}entries(){return this._entries[Symbol.iterator]()}[Symbol.iterator](){return this.entries()}}Ge("FormData",e)}var k_e="dgram-socket:",$g=new Map,xB=new Map;function x_e(e){e?._socketId&&xB.set(e._socketId,e);let t=e?._localPort;if(typeof t!="number")return;let r=$g.get(t);r||(r=new Set,$g.set(t,r)),r.add(e)}function U_e(e){e?._socketId&&xB.get(e._socketId)===e&&xB.delete(e._socketId);let t=e?._localPort;if(typeof t!="number")return;let r=$g.get(t);r&&(r.delete(e),r.size===0&&$g.delete(t))}function L_e(e){return e==="127.0.0.1"||e==="::1"||e==="localhost"}function VW(e){if(X("dgramWakeAttempts"),!e||e._closed||!e._bound){X("dgramWakeInvalidTargets");return}if(e._receiveLoopRunning){X("dgramWakeAlreadyRunning"),e._pendingReceiveWake=!0;return}if(!e._receivePollTimer){X("dgramWakeNoTimer"),e._pendingReceiveWake=!0,queueMicrotask(()=>{!e._closed&&e._bound&&e._pendingReceiveWake&&!e._receiveLoopRunning&&(e._pendingReceiveWake=!1,e._nextReceivePumpOrigin="eventWake",e._pumpMessages())});return}clearTimeout(e._receivePollTimer),e._receivePollTimer=null,X("dgramEventWakeups"),queueMicrotask(()=>{!e._closed&&e._bound&&(e._nextReceivePumpOrigin="eventWake",e._pumpMessages())})}function JW(){return lr("Bad socket type specified. Valid types are: udp4, udp6","ERR_SOCKET_BAD_TYPE")}function P_e(){let e=new Error("Socket is already bound");return e.code="ERR_SOCKET_ALREADY_BOUND",e}function kG(){return new Error("getsockname EBADF")}function In(e,t,r){return lr(`The "${e}" argument must be of type ${t}. Received ${Yn(r)}`,"ERR_INVALID_ARG_TYPE")}function xG(e){return lr(`The "${e}" argument must be specified`,"ERR_MISSING_ARGS")}function Qg(){return kB("Not running","ERR_SOCKET_DGRAM_NOT_RUNNING")}function O_e(e){switch(e){case"EBADF":return-9;case"EINVAL":return-22;case"EADDRNOTAVAIL":return-99;case"ENOPROTOOPT":return-92}}function Qa(e,t){let r=new Error(`${e} ${t}`);return r.code=t,r.errno=O_e(t),r.syscall=e,r}function H_e(e){return lr(`The "ttl" argument must be of type number. Received ${Yn(e)}`,"ERR_INVALID_ARG_TYPE")}function q_e(){return lr("Buffer size must be a positive integer","ERR_SOCKET_BAD_BUFFER_SIZE")}function p1(e,t){let r=`uv_${e}_buffer_size`,n={errno:t==="EBADF"?-9:-22,code:t,message:t==="EBADF"?"bad file descriptor":"invalid argument",syscall:r},i=new Error(`Could not get or set buffer size: ${r} returned ${t} (${n.message})`);i.name="SystemError [ERR_SOCKET_BUFFER_SIZE]",i.code="ERR_SOCKET_BUFFER_SIZE",i.info=n;let s=n.errno,o=r;return Object.defineProperty(i,"errno",{enumerable:!0,configurable:!0,get(){return s},set(a){s=a}}),Object.defineProperty(i,"syscall",{enumerable:!0,configurable:!0,get(){return o},set(a){o=a}}),i}function UG(e){return e<=0?e:process.platform==="linux"?e*2:e}function LG(e,t){if(typeof e!="number")throw H_e(e);if(!Number.isInteger(e)||e<=0||e>=256)throw Qa(t,"EINVAL");return e}function jW(e){if(!l0(e))return!1;let t=Number(e.split(".")[0]);return t>=224&&t<=239}function zW(e){return l0(e)&&!jW(e)&&e!=="255.255.255.255"}function KW(e){let t=e.indexOf("%"),r=t===-1?e:e.slice(0,t);return tI(e)&&r.toLowerCase().startsWith("ff")}function zm(e,t,r){if(typeof r!="string")throw In(t==="addSourceSpecificMembership"||t==="dropSourceSpecificMembership"?"groupAddress":"multicastAddress","string",r);if(!(e==="udp6"?KW(r):jW(r)))throw Qa(t,"EINVAL");return r}function PG(e,t,r){if(typeof r!="string")throw In("sourceAddress","string",r);if(!(e==="udp6"?tI(r)&&!KW(r):zW(r)))throw Qa(t,"EINVAL");return r}function OG(e){if(e==="udp4"||e==="udp6")return e;throw JW()}function G_e(e){if(typeof e=="string")return{type:OG(e)};if(!e||typeof e!="object"||Array.isArray(e))throw JW();let t=e,r={type:OG(t.type)};if(t.recvBufferSize!==void 0){if(typeof t.recvBufferSize!="number")throw s2("options.recvBufferSize","number",t.recvBufferSize);r.recvBufferSize=t.recvBufferSize}if(t.sendBufferSize!==void 0){if(typeof t.sendBufferSize!="number")throw s2("options.sendBufferSize","number",t.sendBufferSize);r.sendBufferSize=t.sendBufferSize}return r}function c2(e,t,r){if(e==null||e==="")return r;if(typeof e!="string")throw In("address","string",e);return e==="localhost"?t==="udp6"?"::1":"127.0.0.1":e}function l2(e){if(typeof e!="number")throw In("port","number",e);if(!j1(e))throw J1(e);return e}function h2(e){if(typeof e=="string"||Buffer.isBuffer(e))return Buffer.from(e);if(ArrayBuffer.isView(e))return Buffer.from(e.buffer,e.byteOffset,e.byteLength);throw In("msg","string or Buffer or Uint8Array or DataView",e)}function Y_e(e){return Array.isArray(e)?Buffer.concat(e.map(t=>h2(t))):h2(e)}function wg(e){if(typeof e!="string")return e;try{return JSON.parse(e)}catch{return e}}function W_e(e){if(Buffer.isBuffer(e)||e instanceof Uint8Array)return Buffer.from(e);if(typeof e=="string")return Buffer.from(e,"base64");if(e&&typeof e=="object"){if(e.__type==="Buffer"&&typeof e.data=="string")return Buffer.from(e.data,"base64");if(e.__agentOSType==="bytes"&&typeof e.base64=="string")return Buffer.from(e.base64,"base64")}return Buffer.alloc(0)}function V_e(e,t){let r,n,i;if(typeof e[0]=="function")i=e[0];else if(e[0]&&typeof e[0]=="object"&&!Array.isArray(e[0])){let s=e[0];r=s.port,n=s.address,i=e[1]}else r=e[0],typeof e[1]=="function"?i=e[1]:(n=e[1],i=e[2]);if(i!==void 0&&typeof i!="function")throw Hl("callback",i);return{port:r===void 0?0:l2(r),address:c2(n,t,t==="udp6"?"::":"0.0.0.0"),callback:i}}function J_e(e,t){if(e.length===0)throw In("msg","string or Buffer or Uint8Array or DataView",void 0);let r=e[0];if(typeof e[1]=="number"&&typeof e[2]=="number"&&e.length>=4){let s=h2(r),o=e[1],a=e[2],A=typeof e[4]=="function"?e[4]:e[5];if(A!==void 0&&typeof A!="function")throw Hl("callback",A);return{data:Buffer.from(s.subarray(o,o+a)),port:l2(e[3]),address:c2(typeof e[4]=="function"?void 0:e[4],t,t==="udp6"?"::1":"127.0.0.1"),callback:A}}let i=typeof e[2]=="function"?e[2]:e[3];if(i!==void 0&&typeof i!="function")throw Hl("callback",i);return{data:Y_e(r),port:l2(e[1]),address:c2(typeof e[2]=="function"?void 0:e[2],t,t==="udp6"?"::1":"127.0.0.1"),callback:i}}var HG=class{constructor(e,t){y(this,"_type");y(this,"_socketId");y(this,"_listeners",{});y(this,"_onceListeners",{});y(this,"_bindPromise",null);y(this,"_receiveLoopRunning",!1);y(this,"_receivePollTimer",null);y(this,"_pendingReceiveWake",!1);y(this,"_nextReceivePumpOrigin",null);y(this,"_refed",!0);y(this,"_closed",!1);y(this,"_bound",!1);y(this,"_handleRefId",null);y(this,"_localAddress");y(this,"_localPort");y(this,"_localFamily");y(this,"_recvBufferSize");y(this,"_sendBufferSize");y(this,"_memberships",new Set);y(this,"_multicastInterface");y(this,"_broadcast",!1);y(this,"_multicastLoopback",1);y(this,"_multicastTtl",1);y(this,"_ttl",64);if(typeof _dgramSocketCreateRaw>"u")throw new Error("dgram.createSocket is not supported in sandbox");let r=G_e(e);this._type=r.type;let n=wg(_dgramSocketCreateRaw.applySync(void 0,[{type:this._type}]));this._socketId=String(n?.socketId??n),t&&this.on("message",t),r.recvBufferSize!==void 0&&this._setBufferSize("recv",r.recvBufferSize,!1),r.sendBufferSize!==void 0&&this._setBufferSize("send",r.sendBufferSize,!1)}bind(...e){let{port:t,address:r,callback:n}=V_e(e,this._type);return this._bindInternal(t,r,n),this}send(...e){let{data:t,port:r,address:n,callback:i}=J_e(e,this._type);this._sendInternal(t,r,n,i)}sendto(...e){this.send(...e)}address(){if(typeof _dgramSocketAddressRaw>"u")throw kG();try{return wg(_dgramSocketAddressRaw.applySync(void 0,[this._socketId]))}catch{throw kG()}}close(e){if(e!==void 0&&typeof e!="function")throw Hl("callback",e);if(e&&this.once("close",e),this._closed)return this;if(this._closed=!0,U_e(this),this._bound=!1,this._clearReceivePollTimer(),this._syncHandleRef(),typeof _dgramSocketCloseRaw>"u")return queueMicrotask(()=>{this._emit("close")}),this;try{_dgramSocketCloseRaw.applySyncPromise(void 0,[this._socketId])}finally{queueMicrotask(()=>{this._emit("close")})}return this}ref(){return this._refed=!0,this._syncHandleRef(),this._receivePollTimer&&typeof this._receivePollTimer.ref=="function"&&this._receivePollTimer.ref(),this._bound&&!this._closed&&!this._receiveLoopRunning&&this._pumpMessages(),this}unref(){return this._refed=!1,this._syncHandleRef(),this._receivePollTimer&&typeof this._receivePollTimer.unref=="function"&&this._receivePollTimer.unref(),this}setRecvBufferSize(e){this._setBufferSize("recv",e)}setSendBufferSize(e){this._setBufferSize("send",e)}getRecvBufferSize(){return this._getBufferSize("recv")}getSendBufferSize(){return this._getBufferSize("send")}setBroadcast(e){this._ensureBoundForSocketOption("setBroadcast"),this._broadcast=!!e}setTTL(e){return this._ensureBoundForSocketOption("setTTL"),this._ttl=LG(e,"setTTL"),this._ttl}setMulticastTTL(e){return this._ensureBoundForSocketOption("setMulticastTTL"),this._multicastTtl=LG(e,"setMulticastTTL"),this._multicastTtl}setMulticastLoopback(e){return this._ensureBoundForSocketOption("setMulticastLoopback"),this._multicastLoopback=Number(e),this._multicastLoopback}addMembership(e,t){if(e===void 0)throw xG("multicastAddress");if(this._closed)throw Qg();let r=zm(this._type,"addMembership",e);if(t!==void 0&&typeof t!="string")throw In("multicastInterface","string",t);this._memberships.add(`${r}|${t??""}`)}dropMembership(e,t){if(e===void 0)throw xG("multicastAddress");if(this._closed)throw Qg();let r=zm(this._type,"dropMembership",e);if(t!==void 0&&typeof t!="string")throw In("multicastInterface","string",t);let n=`${r}|${t??""}`;if(!this._memberships.has(n))throw Qa("dropMembership","EADDRNOTAVAIL");this._memberships.delete(n)}addSourceSpecificMembership(e,t,r){if(this._closed)throw Qg();if(typeof e!="string")throw In("sourceAddress","string",e);if(typeof t!="string")throw In("groupAddress","string",t);let n=PG(this._type,"addSourceSpecificMembership",e),i=zm(this._type,"addSourceSpecificMembership",t);if(r!==void 0&&typeof r!="string")throw In("multicastInterface","string",r);this._memberships.add(`${n}>${i}|${r??""}`)}dropSourceSpecificMembership(e,t,r){if(this._closed)throw Qg();if(typeof e!="string")throw In("sourceAddress","string",e);if(typeof t!="string")throw In("groupAddress","string",t);let n=PG(this._type,"dropSourceSpecificMembership",e),i=zm(this._type,"dropSourceSpecificMembership",t);if(r!==void 0&&typeof r!="string")throw In("multicastInterface","string",r);let s=`${n}>${i}|${r??""}`;if(!this._memberships.has(s))throw Qa("dropSourceSpecificMembership","EADDRNOTAVAIL");this._memberships.delete(s)}setMulticastInterface(e){if(typeof e!="string")throw In("interfaceAddress","string",e);if(this._closed)throw Qg();if(this._ensureBoundForSocketOption("setMulticastInterface"),this._type==="udp4"){if(e==="0.0.0.0"){this._multicastInterface=e;return}if(!l0(e))throw Qa("setMulticastInterface","ENOPROTOOPT");if(!zW(e))throw Qa("setMulticastInterface","EADDRNOTAVAIL");this._multicastInterface=e;return}if(e===""||e==="undefined"||!tI(e))throw Qa("setMulticastInterface","EINVAL");this._multicastInterface=e}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}addListener(e,t){return this.on(e,t)}once(e,t){return this._onceListeners[e]||(this._onceListeners[e]=[]),this._onceListeners[e].push(t),this}removeListener(e,t){let r=this._listeners[e];if(r){let i=r.indexOf(t);i>=0&&r.splice(i,1)}let n=this._onceListeners[e];if(n){let i=n.indexOf(t);i>=0&&n.splice(i,1)}return this}off(e,t){return this.removeListener(e,t)}emit(e,...t){return this._emit(e,...t)}async _bindInternal(e,t,r){if(!this._closed){if(this._bound||this._bindPromise)throw P_e();if(typeof _dgramSocketBindRaw>"u")throw new Error("dgram.bind is not supported in sandbox");return this._bindPromise=(async()=>{try{let n=wg(_dgramSocketBindRaw.applySyncPromise(void 0,[this._socketId,{port:e,address:t}]));this._applyBoundAddress(n),this._bound=!0,x_e(this),this._applyInitialBufferSizes(),this._syncHandleRef(),queueMicrotask(()=>{this._closed||(this._emit("listening"),r?.call(this),this._nextReceivePumpOrigin="bind",this._pumpMessages())})}catch(n){throw queueMicrotask(()=>{this._emit("error",n)}),n}finally{this._bindPromise=null}})(),this._bindPromise}}async _ensureBound(){if(!this._bound){if(this._bindPromise){await this._bindPromise;return}await this._bindInternal(0,this._type==="udp6"?"::":"0.0.0.0")}}async _sendInternal(e,t,r,n){try{if(await this._ensureBound(),this._closed||typeof _dgramSocketSendRaw>"u")return;let i=wg(_dgramSocketSendRaw.applySyncPromise(void 0,[this._socketId,e,{port:t,address:r}]));if(this._applyBoundAddress(i),L_e(r)){let s=$g.get(t);if(s){X("dgramWakeLoopbackHits");for(let o of s)VW(o)}else X("dgramWakeLoopbackMisses")}n&&queueMicrotask(()=>{n(null,typeof i?.bytes=="number"?i.bytes:e.length)})}catch(i){if(n){queueMicrotask(()=>{n(i)});return}queueMicrotask(()=>{this._emit("error",i)})}}async _pumpMessages(){if(this._receiveLoopRunning||this._closed||!this._bound||typeof _dgramSocketRecvRaw>"u")return;let e=this._nextReceivePumpOrigin;this._nextReceivePumpOrigin=null;let t=e==="timer"?DB:0;this._receiveLoopRunning=!0;try{for(;!this._closed&&this._bound;){let r=wg(_dgramSocketRecvRaw.applySync(void 0,[this._socketId,t]));if(r===iR||!r){if(this._pendingReceiveWake){this._pendingReceiveWake=!1,this._nextReceivePumpOrigin="eventWake";continue}this._receivePollTimer=setTimeout(()=>{this._receivePollTimer=null,this._nextReceivePumpOrigin="timer",this._pumpMessages()},DB),!this._refed&&typeof this._receivePollTimer.unref=="function"&&this._receivePollTimer.unref();return}if(r.type==="message"){let n=W_e(r.data);this._emit("message",n,{address:r.remoteAddress,family:r.remoteFamily??socketFamilyForAddress(r.remoteAddress),port:r.remotePort,size:n.length});continue}if(r.type==="error"){let n=new Error(typeof r.message=="string"?r.message:"secure-exec dgram socket error");typeof r.code=="string"&&r.code.length>0&&(n.code=r.code),this._emit("error",n)}}}catch(r){this._emit("error",r)}finally{this._receiveLoopRunning=!1,this._pendingReceiveWake&&!this._closed&&this._bound&&(this._pendingReceiveWake=!1,this._nextReceivePumpOrigin="eventWake",queueMicrotask(()=>{!this._closed&&this._bound&&this._pumpMessages()}))}}_applyBoundAddress(e){if(!e||typeof e!="object")return;let t=typeof e.localPort=="number"?e.localPort:e.port;typeof t=="number"&&(this._localPort=t);let r=typeof e.localAddress=="string"?e.localAddress:e.address;typeof r=="string"&&(this._localAddress=r);let n=typeof e.localFamily=="string"?e.localFamily:e.family;typeof n=="string"&&(this._localFamily=n)}_clearReceivePollTimer(){this._receivePollTimer&&(clearTimeout(this._receivePollTimer),this._receivePollTimer=null)}_ensureBoundForSocketOption(e){if(!this._bound||this._closed)throw Qa(e,"EBADF")}_setBufferSize(e,t,r=!0){if(!Number.isInteger(t)||t<=0||!Number.isFinite(t))throw q_e();if(t>2147483647)throw p1(e,"EINVAL");if(r&&(!this._bound||this._closed))throw p1(e,"EBADF");if(typeof _dgramSocketSetBufferSizeRaw<"u"&&this._bound&&!this._closed&&_dgramSocketSetBufferSizeRaw.applySync(void 0,[this._socketId,e,t]),e==="recv"){this._recvBufferSize=t;return}this._sendBufferSize=t}_getBufferSize(e){if(!this._bound||this._closed)throw p1(e,"EBADF");let t=e==="recv"?this._recvBufferSize??0:this._sendBufferSize??0;if(typeof _dgramSocketGetBufferSizeRaw>"u")return UG(t);let r=_dgramSocketGetBufferSizeRaw.applySync(void 0,[this._socketId,e]);return UG(r>0?r:t)}_applyInitialBufferSizes(){this._recvBufferSize!==void 0&&this._setBufferSize("recv",this._recvBufferSize),this._sendBufferSize!==void 0&&this._setBufferSize("send",this._sendBufferSize)}_syncHandleRef(){if(!this._bound||this._closed||!this._refed){this._handleRefId&&typeof _unregisterHandle=="function"&&_unregisterHandle(this._handleRefId),this._handleRefId=null;return}let e=`${k_e}${this._socketId}`;this._handleRefId!==e&&(this._handleRefId&&typeof _unregisterHandle=="function"&&_unregisterHandle(this._handleRefId),this._handleRefId=e,typeof _registerHandle=="function"&&_registerHandle(this._handleRefId,"dgram socket"))}_emit(e,...t){let r=!1,n=this._listeners[e];if(n)for(let s of[...n])s(...t),r=!0;let i=this._onceListeners[e];if(i){this._onceListeners[e]=[];for(let s of[...i])s(...t),r=!0}return r}},XW={Socket:HG,createSocket(e,t){return new HG(e,t)}};Ge("_tlsModule",MW);Ge("_dgramSocketDispatch",e=>{let t=xB.get(e?.socketId);t&&VW(t)});function j_e(e){if(!e||typeof e!="object"||Array.isArray(e)||Buffer.isBuffer(e)||e instanceof Uint8Array)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function UB(e){return e==null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"?e??null:typeof e=="bigint"?{__agentosSqliteType:"bigint",value:e.toString()}:Buffer.isBuffer(e)||e instanceof Uint8Array?{__agentosSqliteType:"uint8array",value:Buffer.from(e).toString("base64")}:Array.isArray(e)?e.map(t=>UB(t)):e&&typeof e=="object"?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,UB(r)])):null}function Og(e){return e==null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"?e??null:Array.isArray(e)?e.map(t=>Og(t)):e&&typeof e=="object"?e.__agentosSqliteType==="bigint"&&typeof e.value=="string"?BigInt(e.value):e.__agentosSqliteType==="uint8array"&&typeof e.value=="string"?Buffer.from(e.value,"base64"):Object.fromEntries(Object.entries(e).map(([t,r])=>[t,Og(r)])):e}function hB(e){return!Array.isArray(e)||e.length===0?null:e.length===1&&j_e(e[0])?UB(e[0]):e.map(t=>UB(t))}function Zr(e,t,r){if(typeof e=="function")return Og(e(...t));if(!e)throw new Error(`sqlite bridge is not available for ${r}`);if(typeof e.applySync=="function")return Og(e.applySync(void 0,t));if(typeof e.applySyncPromise=="function")return Og(e.applySyncPromise(void 0,t));throw new Error(`sqlite bridge is not available for ${r}`)}var z_e=Ce("_sqliteConstantsRaw"),K_e=Ce("_sqliteDatabaseOpenRaw"),X_e=Ce("_sqliteDatabaseCloseRaw"),Z_e=Ce("_sqliteDatabaseExecRaw"),$_e=Ce("_sqliteDatabaseQueryRaw"),eve=Ce("_sqliteDatabasePrepareRaw"),tve=Ce("_sqliteDatabaseLocationRaw"),rve=Ce("_sqliteDatabaseCheckpointRaw"),nve=Ce("_sqliteStatementRunRaw"),ive=Ce("_sqliteStatementGetRaw"),sve=Ce("_sqliteStatementAllRaw"),ove=Ce("_sqliteStatementColumnsRaw"),ave=Ce("_sqliteStatementSetReturnArraysRaw"),Ave=Ce("_sqliteStatementSetReadBigIntsRaw"),fve=Ce("_sqliteStatementSetAllowBareNamedParametersRaw"),uve=Ce("_sqliteStatementSetAllowUnknownNamedParametersRaw"),cve=Ce("_sqliteStatementFinalizeRaw"),LB=class{constructor(e,t){this._database=e,this._statementId=t,this._finalized=!1}_assertOpen(){if(this._database._assertOpen(),this._finalized)throw new Error("SQLite statement is already finalized")}run(...e){return this._assertOpen(),Zr(nve,[this._statementId,hB(e)],"statement.run")}get(...e){return this._assertOpen(),Zr(ive,[this._statementId,hB(e)],"statement.get")}all(...e){return this._assertOpen(),Zr(sve,[this._statementId,hB(e)],"statement.all")}iterate(...e){return this.all(...e)[Symbol.iterator]()}columns(){return this._assertOpen(),Zr(ove,[this._statementId],"statement.columns")}setReturnArrays(e){this._assertOpen(),Zr(ave,[this._statementId,!!e],"statement.setReturnArrays")}setReadBigInts(e){this._assertOpen(),Zr(Ave,[this._statementId,!!e],"statement.setReadBigInts")}setAllowBareNamedParameters(e){this._assertOpen(),Zr(fve,[this._statementId,!!e],"statement.setAllowBareNamedParameters")}setAllowUnknownNamedParameters(e){this._assertOpen(),Zr(uve,[this._statementId,!!e],"statement.setAllowUnknownNamedParameters")}finalize(){return this._finalized||(this._database._assertOpen(),Zr(cve,[this._statementId],"statement.finalize"),this._finalized=!0),null}},d2=class{constructor(e=":memory:",t=void 0){this._closed=!1,this._databaseId=Zr(K_e,[typeof e=="string"?e:":memory:",t??null],"database.open")}_assertOpen(){if(this._closed)throw new Error("SQLite database is already closed")}close(){return this._closed||(Zr(X_e,[this._databaseId],"database.close"),this._closed=!0),null}exec(e){return this._assertOpen(),Zr(Z_e,[this._databaseId,String(e??"")],"database.exec")}query(e,t=null,r=null){this._assertOpen();let n=t===null?null:hB(Array.isArray(t)?t:[t]);return Zr($_e,[this._databaseId,String(e??""),n,r??null],"database.query")}prepare(e){this._assertOpen();let t=Zr(eve,[this._databaseId,String(e??"")],"database.prepare");return new LB(this,t)}location(){return this._assertOpen(),Zr(tve,[this._databaseId],"database.location")}checkpoint(){return this._assertOpen(),Zr(rve,[this._databaseId],"database.checkpoint")}};d2.prototype[Symbol.dispose]=d2.prototype.close;LB.prototype[Symbol.dispose]=LB.prototype.finalize;var E1;function lve(){return E1===void 0&&(E1=Object.freeze(Zr(z_e,[],"constants")??{})),E1}var hve={DatabaseSync:d2,StatementSync:LB,get constants(){return lve()}};Ge("_dgramModule",XW);Ge("_sqliteModule",hve);var ZW={};H2(ZW,{ClientRequest:()=>Pg,Headers:()=>HA,IncomingMessage:()=>gu,Request:()=>yR,Response:()=>WW,default:()=>dve,dns:()=>uR,fetch:()=>iI,http:()=>pR,http2:()=>fR,https:()=>ER});var dve={fetch:iI,Headers:HA,Request:yR,Response:WW,dns:uR,http:pR,https:ER,http2:fR,IncomingMessage:gu,ClientRequest:Pg,net:EW,tls:MW,dgram:XW},Gt,Sg,ma,Mo=Symbol.for("nodejs.util.inspect.custom"),xa=Symbol.toStringTag,mR="ERR_INVALID_THIS",gve="ERR_MISSING_ARGS",pve="ERR_INVALID_URL",Eve="ERR_ARG_NOT_ITERABLE",yve="ERR_INVALID_TUPLE",mve="URLSearchParams",PB=Symbol("secureExecLinkedURLSearchParams"),qG=Symbol.for("secureExec.blobUrlStore"),y1=Symbol.for("secureExec.blobUrlCounter"),Bve=["append","delete","get","getAll","has"],Ive=["append","set"],bve={"http:":0,"https:":2,"ws:":4,"wss:":5,"file:":6,"ftp:":8},$W=new WeakSet,g2=new WeakMap,eV=new WeakSet,m1=new WeakMap;function YA(e,t){let r=new TypeError(e);return r.code=t,r}function Cve(){let e=new TypeError("Invalid URL");return e.code=pve,e}function Km(){return new TypeError("Receiver must be an instance of class URL")}function wa(e){return YA(e,gve)}function Qve(){return YA("Query pairs must be iterable",Eve)}function B1(){return YA("Each query pair must be an iterable [name, value] tuple",yve)}function wve(){return new TypeError("Cannot convert a Symbol value to a string")}function Sve(e){if(typeof e=="symbol")throw wve();return String(e)}function _ve(e){let t="";for(let r=0;r<e.length;r+=1){let n=e.charCodeAt(r);if(n>=55296&&n<=56319){let i=r+1;if(i<e.length){let s=e.charCodeAt(i);if(s>=56320&&s<=57343){t+=e[r]+e[i],r=i;continue}}t+="\uFFFD";continue}if(n>=56320&&n<=57343){t+="\uFFFD";continue}t+=e[r]}return t}function Kt(e){return _ve(Sve(e))}function yn(e){if(!$W.has(e))throw YA('Value of "this" must be of type URLSearchParams',mR)}function dB(e){if(!eV.has(e))throw YA('Value of "this" must be of type URLSearchParamsIterator',mR)}function Hn(e){let t=g2.get(e);if(!t)throw YA('Value of "this" must be of type URLSearchParams',mR);return t.getImpl()}function vve(e){let t=0;for(let r of e)t++;return t}function GG(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function YG(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e-87}function Rve(e,t){if(t<=127){e.push(t);return}if(t<=2047){e.push(192|t>>6,128|t&63);return}if(t<=65535){e.push(224|t>>12,128|t>>6&63,128|t&63);return}e.push(240|t>>18,128|t>>12&63,128|t>>6&63,128|t&63)}function WG(e){let t=String(e).replace(/\+/g," "),r="";for(let n=0;n<t.length;n+=1){if(t.charCodeAt(n)===37&&n+2<t.length){let s=[],o=n;for(;o+2<t.length&&t.charCodeAt(o)===37;){let a=t.charCodeAt(o+1),A=t.charCodeAt(o+2);if(!GG(a)||!GG(A))break;s.push((YG(a)<<4)+YG(A)),o+=3}if(s.length>0){r+=new Tu().decode(Uint8Array.from(s)),n=o-1;continue}}let i=t.codePointAt(n);r+=String.fromCodePoint(i),i>65535&&(n+=1)}return r}function VG(e){let t=String(e),r=[];for(let i=0;i<t.length;i+=1){let s=t.codePointAt(i);Rve(r,s),s>65535&&(i+=1)}let n="";for(let i of r){if(i===32){n+="+";continue}if(i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||i===42||i===45||i===46||i===95){n+=String.fromCharCode(i);continue}n+=`%${i.toString(16).toUpperCase().padStart(2,"0")}`}return n}function Dve(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;n+=1){let i=e.charCodeAt(n)-t.charCodeAt(n);if(i!==0)return i}return e.length-t.length}function Tve(e){if(e&&typeof e=="object"&&PB in e)return e;if(e!=null){if(typeof e=="string")return Kt(e);if(typeof e=="object"||typeof e=="function"){let t=e[Symbol.iterator];if(t!==void 0){if(typeof t!="function")throw Qve();let n=[];for(let i of e){if(i==null||typeof i[Symbol.iterator]!="function")throw B1();let o=Array.from(i);if(o.length!==2)throw B1();n.push([Kt(o[0]),Kt(o[1])])}return n}let r=[];for(let n of Reflect.ownKeys(e))Object.prototype.propertyIsEnumerable.call(e,n)&&r.push([Kt(n),Kt(e[n])]);return r}return Kt(e)}}var I1=typeof globalThis.URLSearchParams=="function"&&globalThis.URLSearchParams.__secureExecBootstrapStub!==!0?globalThis.URLSearchParams:class{constructor(t=""){if(this._pairs=[],typeof t=="string"){let r=t.replace(/^\?/,"");if(!r)return;for(let n of r.split("&")){if(!n)continue;let[i,...s]=n.split("=");this._pairs.push([WG(i),WG(s.join("="))])}return}if(Array.isArray(t)){for(let r of t)r==null||r.length!==2||this._pairs.push([String(r[0]),String(r[1])]);return}if(t&&typeof t=="object")for(let[r,n]of Object.entries(t))this._pairs.push([String(r),String(n)])}append(t,r){this._pairs.push([String(t),String(r)])}delete(t){let r=String(t);this._pairs=this._pairs.filter(([n])=>n!==r)}get(t){let r=String(t),n=this._pairs.find(([i])=>i===r);return n?n[1]:null}getAll(t){let r=String(t);return this._pairs.filter(([n])=>n===r).map(([,n])=>n)}has(t){let r=String(t);return this._pairs.some(([n])=>n===r)}set(t,r){let n=String(t),i=String(r),s=[],o=!1;for(let[a,A]of this._pairs){if(a!==n){s.push([a,A]);continue}o||(o=!0,s.push([n,i]))}o||s.push([n,i]),this._pairs=s}sort(){this._pairs=this._pairs.map((t,r)=>({pair:t,index:r})).sort((t,r)=>{let n=Dve(t.pair[0],r.pair[0]);return n!==0?n:t.index-r.index}).map(({pair:t})=>t)}entries(){return this._pairs[Symbol.iterator]()}keys(){return this._pairs.map(([t])=>t)[Symbol.iterator]()}values(){return this._pairs.map(([,t])=>t)[Symbol.iterator]()}[Symbol.iterator](){return this.entries()}toString(){return this._pairs.map(([t,r])=>`${VG(t)}=${VG(r)}`).join("&")}};function Nve(e){return typeof e=="string"?new I1(e):e===void 0?new I1:new I1(e)}function tV(e,t,r){if(e.length===0)return r;let n=`{ ${e.join(", ")} }`,i=t?.breakLength??1/0;return n.length<=i?n:`{
${e.join(`,
`)} }`}function Mve(e){let t=e.href,r=t.indexOf(":")+1,n=t.indexOf("@"),i=t.indexOf("/",r+2),s=t.indexOf("?"),o=t.indexOf("#"),a=e.username.length>0?t.indexOf(":",r+2):r+2,A=n===-1?r+2:n,f=i===-1?t.length:i-(e.port.length>0?e.port.length+1:0),l=e.port.length>0?Number(e.port):null;return{href:t,protocol_end:r,username_end:a,host_start:A,host_end:f,pathname_start:i===-1?t.length:i,search_start:s===-1?t.length:s,hash_start:o===-1?t.length:o,port:l,scheme_type:bve[e.protocol]??1,hasPort:e.port.length>0,hasSearch:e.search.length>0,hasHash:e.hash.length>0}}function Fve(e,t,r){let n=Mve(e),i=typeof t=="function"?o=>t(o,r):o=>JSON.stringify(o),s=n.port===null?"null":String(n.port);return["URLContext {",` href: ${i(n.href)},`,` protocol_end: ${n.protocol_end},`,` username_end: ${n.username_end},`,` host_start: ${n.host_start},`,` host_end: ${n.host_end},`,` pathname_start: ${n.pathname_start},`,` search_start: ${n.search_start},`,` hash_start: ${n.hash_start},`,` port: ${s},`,` scheme_type: ${n.scheme_type},`," [hasPort]: [Getter],"," [hasSearch]: [Getter],"," [hasHash]: [Getter]"," }"].join(`
`)}function JG(){let e=globalThis,t=e[qG];if(t instanceof Map)return t;let r=new Map;return e[qG]=r,r}function kve(){let e=globalThis,t=typeof e[y1]=="number"?e[y1]:1;return e[y1]=t+1,t}var UA=class rV{constructor(t){eV.add(this),m1.set(this,{values:t,index:0})}next(){dB(this);let t=m1.get(this);if(t.index>=t.values.length)return{value:void 0,done:!0};let r=t.values[t.index];return t.index+=1,{value:r,done:!1}}[Mo](t,r,n){if(dB(this),t<0)return"[Object]";let i=m1.get(this),s=typeof n=="function"?a=>n(a,r):a=>JSON.stringify(a),o=i.values.slice(i.index).map(a=>s(a));return`URLSearchParams Iterator ${tV(o,r,"{ }")}`}get[xa](){return this!==rV.prototype&&dB(this),"URLSearchParams Iterator"}};Object.defineProperties(UA.prototype,{next:{value:UA.prototype.next,writable:!0,configurable:!0,enumerable:!0},[Symbol.iterator]:{value:function(){return dB(this),this},writable:!0,configurable:!0,enumerable:!1},[Mo]:{value:UA.prototype[Mo],writable:!0,configurable:!0,enumerable:!1},[xa]:{get:Object.getOwnPropertyDescriptor(UA.prototype,xa)?.get,configurable:!0,enumerable:!1}});Object.defineProperty(Object.getOwnPropertyDescriptor(UA.prototype,Symbol.iterator)?.value,"name",{value:"entries",configurable:!0});var Hr=class nV{constructor(t){$W.add(this);let r=Tve(t);if(r&&typeof r=="object"&&PB in r){g2.set(this,{getImpl:r[PB]});return}let n=Nve(r);g2.set(this,{getImpl:()=>n})}append(t,r){if(yn(this),arguments.length<2)throw wa('The "name" and "value" arguments must be specified');Hn(this).append(Kt(t),Kt(r))}delete(t){if(yn(this),arguments.length<1)throw wa('The "name" argument must be specified');Hn(this).delete(Kt(t))}get(t){if(yn(this),arguments.length<1)throw wa('The "name" argument must be specified');return Hn(this).get(Kt(t))}getAll(t){if(yn(this),arguments.length<1)throw wa('The "name" argument must be specified');return Hn(this).getAll(Kt(t))}has(t){if(yn(this),arguments.length<1)throw wa('The "name" argument must be specified');return Hn(this).has(Kt(t))}set(t,r){if(yn(this),arguments.length<2)throw wa('The "name" and "value" arguments must be specified');Hn(this).set(Kt(t),Kt(r))}sort(){yn(this),Hn(this).sort()}entries(){return yn(this),new UA(Array.from(Hn(this)))}keys(){return yn(this),new UA(Array.from(Hn(this).keys()))}values(){return yn(this),new UA(Array.from(Hn(this).values()))}forEach(t,r){if(yn(this),typeof t!="function")throw YA('The "callback" argument must be of type function. Received '+(t===void 0?"undefined":typeof t),"ERR_INVALID_ARG_TYPE");for(let[n,i]of Hn(this))t.call(r,i,n,this)}toString(){return yn(this),Hn(this).toString()}get size(){return yn(this),vve(Hn(this))}[Mo](t,r,n){if(yn(this),t<0)return"[Object]";let i=typeof n=="function"?o=>n(o,r):o=>JSON.stringify(o),s=Array.from(Hn(this)).map(([o,a])=>`${i(o)} => ${i(a)}`);return`URLSearchParams ${tV(s,r,"{}")}`}get[xa](){return this!==nV.prototype&&yn(this),mve}};for(let e of Bve)Object.defineProperty(Hr.prototype,e,{value:Hr.prototype[e],writable:!0,configurable:!0,enumerable:!0});for(let e of Ive)Object.defineProperty(Hr.prototype,e,{value:Hr.prototype[e],writable:!0,configurable:!0,enumerable:!0});for(let e of["sort","entries","forEach","keys","values","toString"])Object.defineProperty(Hr.prototype,e,{value:Hr.prototype[e],writable:!0,configurable:!0,enumerable:!0});Object.defineProperties(Hr.prototype,{size:{get:Object.getOwnPropertyDescriptor(Hr.prototype,"size")?.get,configurable:!0,enumerable:!0},[Symbol.iterator]:{value:Hr.prototype.entries,writable:!0,configurable:!0,enumerable:!1},[Mo]:{value:Hr.prototype[Mo],writable:!0,configurable:!0,enumerable:!1},[xa]:{get:Object.getOwnPropertyDescriptor(Hr.prototype,xa)?.get,configurable:!0,enumerable:!1}});function xve(e){if(typeof e!="function"||e.__secureExecBootstrapStub===!0)return!1;try{return String(new e("./child.mjs","file:///root/base/entry.mjs").href)==="file:///root/base/child.mjs"}catch{return!1}}function Uve(e){return e.endsWith("/")?e:`${e}/`}function Lve(e,t){let r=String(e??"");if(!r.startsWith("file:"))return{input:r,base:t};let n=/^file:(\.\.?(?:\/[^?#]*)?)([?#].*)?$/.exec(r);if(!n)return{input:r,base:t};let i=n[1],s=n[2]??"",o=typeof t>"u"?"file:///":String(t);try{let a=new globalThis.URL(o);if(a.protocol!=="file:")return{input:r,base:t};let A=a.pathname||"/";A.startsWith("/")||(A=`/${A}`);let f=A.endsWith("/")?A:qr.posix.dirname(A),l=qr.posix.resolve(f,i);return{input:`file://${i==="."||i===".."||i.endsWith("/")?Uve(l):l}${s}`,base:void 0}}catch{return{input:r,base:t}}}var jG=typeof _u?.URL=="function"?_u.URL:typeof _u?.default?.URL=="function"?_u.default.URL:globalThis.URL,zG=xve(jG)?jG:class iV{constructor(t,r){let n=String(t??""),i=/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(n);if(!i&&typeof r>"u")throw new TypeError(`Invalid URL: ${n}`);let s=n;if(!i){let N=new iV(r);if(N.protocol==="file:"){let P=n.indexOf("?"),U=n.indexOf("#"),G=P===-1?n.length:P,Y=U===-1?n.length:U,Z=Math.min(G,Y),ee=n.slice(0,Z),j=n.slice(Z),se=N.pathname||"/";se.startsWith("/")||(se=`/${se}`);let ie=se.endsWith("/")?se:qr.posix.dirname(se),ce=qr.posix.resolve(ie,ee);(ee.endsWith("/")||/(^|\/)\.\.?$/.test(ee))&&!ce.endsWith("/")&&(ce+="/"),s=`file://${ce}${j}`}else s=String(N.href).replace(/\/[^/]*$/,"/")+n}let o=s.indexOf("?"),a=s.indexOf("#"),A=o===-1?s.length:o,f=a===-1?s.length:a,l=Math.min(A,f),p=o===-1?"":s.slice(o,f),B=a===-1?"":s.slice(a);if(s.startsWith("file:")){let N=s.slice(5,l);N.startsWith("//")&&(N=/^\/\/[^/]*(.*)$/.exec(N)?.[1]||"/"),N.startsWith("/")||(N=`/${N}`),this.protocol="file:",this.hostname="",this.port="",this.pathname=N||"/",this.search=p,this.hash=B,this.host="",this.href=`file://${this.pathname}${this.search}${this.hash}`,this.origin="null",this.searchParams=new Hr(this.search);let P=()=>{let U=this.searchParams.toString();this.search=U?`?${U}`:"",this.href=`file://${this.pathname}${this.search}${this.hash}`};for(let U of["append","delete","set","sort"]){let G=this.searchParams[U]?.bind(this.searchParams);G&&(this.searchParams[U]=(...Y)=>{let Z=G(...Y);return P(),Z})}return}let S=s.match(/^(\w+:)\/\/([^/:?#]+)(:\d+)?(.*)$/);this.protocol=S?.[1]||"",this.hostname=S?.[2]||"",this.port=(S?.[3]||"").slice(1),this.pathname=(S?.[4]||"/").split("?")[0].split("#")[0]||"/",this.search=s.includes("?")?"?"+s.split("?")[1].split("#")[0]:"",this.hash=s.includes("#")?"#"+s.split("#")[1]:"",this.host=this.hostname+(this.port?":"+this.port:""),this.href=this.protocol+"//"+this.host+this.pathname+this.search+this.hash,this.origin=this.protocol+"//"+this.host,this.searchParams=new Hr(this.search);let _=()=>{let N=this.searchParams.toString();this.search=N?`?${N}`:"",this.href=this.protocol+"//"+this.host+this.pathname+this.search+this.hash};for(let N of["append","delete","set","sort"]){let P=this.searchParams[N]?.bind(this.searchParams);P&&(this.searchParams[N]=(...U)=>{let G=P(...U);return _(),G})}}toString(){return this.href}},Qn=(ma=class{constructor(e,t){if(eG(this,Gt),eG(this,Sg),arguments.length<1)throw wa('The "url" argument must be specified');let r=Lve(Kt(e),arguments.length>=2?Kt(t):void 0);try{tG(this,Gt,r.base!==void 0?new zG(r.input,r.base):new zG(r.input))}catch{throw Cve()}}static canParse(e,t){if(arguments.length<1)throw wa('The "url" argument must be specified');try{return arguments.length>=2?new ma(e,t):new ma(e),!0}catch{return!1}}static createObjectURL(e){if(typeof xl>"u"||!(e instanceof xl))throw YA('The "obj" argument must be an instance of Blob. Received '+(e===null?"null":typeof e),"ERR_INVALID_ARG_TYPE");let t=`blob:nodedata:${kve()}`;return JG().set(t,e),t}static revokeObjectURL(e){if(arguments.length<1)throw wa('The "url" argument must be specified');typeof e=="string"&&JG().delete(e)}get href(){if(!(this instanceof ma))throw Km();return jt(this,Gt).href}set href(e){jt(this,Gt).href=Kt(e)}get origin(){return jt(this,Gt).origin}get protocol(){return jt(this,Gt).protocol}set protocol(e){jt(this,Gt).protocol=Kt(e)}get username(){return jt(this,Gt).username}set username(e){jt(this,Gt).username=Kt(e)}get password(){return jt(this,Gt).password}set password(e){jt(this,Gt).password=Kt(e)}get host(){return jt(this,Gt).host}set host(e){jt(this,Gt).host=Kt(e)}get hostname(){return jt(this,Gt).hostname}set hostname(e){jt(this,Gt).hostname=Kt(e)}get port(){return jt(this,Gt).port}set port(e){jt(this,Gt).port=Kt(e)}get pathname(){return jt(this,Gt).pathname}set pathname(e){jt(this,Gt).pathname=Kt(e)}get search(){if(!(this instanceof ma))throw Km();return jt(this,Gt).search}set search(e){jt(this,Gt).search=Kt(e)}get searchParams(){return jt(this,Sg)||tG(this,Sg,new Hr({[PB]:()=>jt(this,Gt).searchParams})),jt(this,Sg)}get hash(){return jt(this,Gt).hash}set hash(e){jt(this,Gt).hash=Kt(e)}toString(){if(!(this instanceof ma))throw Km();return jt(this,Gt).href}toJSON(){if(!(this instanceof ma))throw Km();return jt(this,Gt).href}[Mo](e,t,r){let n=this.constructor===ma?"URL":this.constructor.name;if(e<0)return`${n} {}`;let i=typeof r=="function"?o=>r(o,t):o=>JSON.stringify(o),s=[`${n} {`,` href: ${i(this.href)},`,` origin: ${i(this.origin)},`,` protocol: ${i(this.protocol)},`,` username: ${i(this.username)},`,` password: ${i(this.password)},`,` host: ${i(this.host)},`,` hostname: ${i(this.hostname)},`,` port: ${i(this.port)},`,` pathname: ${i(this.pathname)},`,` search: ${i(this.search)},`,` searchParams: ${this.searchParams[Mo](e-1,void 0,r)},`,` hash: ${i(this.hash)}`];return t?.showHidden&&(s[s.length-1]+=",",s.push(` [Symbol(context)]: ${Fve(this,r,t)}`)),s.push("}"),s.join(`
`)}get[xa](){return"URL"}},Gt=new WeakMap,Sg=new WeakMap,ma);for(let e of["toString","toJSON"])Object.defineProperty(Qn.prototype,e,{value:Qn.prototype[e],writable:!0,configurable:!0,enumerable:!0});for(let e of["href","protocol","username","password","host","hostname","port","pathname","search","hash","origin","searchParams"]){let t=Object.getOwnPropertyDescriptor(Qn.prototype,e);t&&(t.enumerable=!0,Object.defineProperty(Qn.prototype,e,t))}Object.defineProperties(Qn.prototype,{[Mo]:{value:Qn.prototype[Mo],writable:!0,configurable:!0,enumerable:!1},[xa]:{get:Object.getOwnPropertyDescriptor(Qn.prototype,xa)?.get,configurable:!0,enumerable:!1}});for(let e of["canParse","createObjectURL","revokeObjectURL"])Object.defineProperty(Qn,e,{value:Qn[e],writable:!0,configurable:!0,enumerable:!0});function Pve(e=globalThis){Object.defineProperty(e,"URL",{value:Qn,writable:!0,configurable:!0,enumerable:!1}),Object.defineProperty(e,"URLSearchParams",{value:Hr,writable:!0,configurable:!0,enumerable:!1})}var k1,Ove=(k1=class{},y(k1,"builtinModules",["assert","async_hooks","buffer","child_process","console","cluster","constants","crypto","dgram","diagnostics_channel","domain","dns","dns/promises","events","fs","fs/promises","http","http2","https","inspector","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","repl","sqlite","stream","stream/consumers","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","trace_events","tls","tty","url","util","util/types","v8","wasi","worker_threads","zlib","vm"]),k1),Hve=Ove.builtinModules,qve={clearImmediate:globalThis.clearImmediate??function(){},clearInterval:globalThis.clearInterval??function(){},clearTimeout:globalThis.clearTimeout??function(){},setImmediate:globalThis.setImmediate??function(e,...t){return globalThis.setTimeout?.(()=>e(...t),0)},setInterval:globalThis.setInterval??function(e,t,...r){return globalThis.setTimeout?.(()=>e(...r),t??0)},setTimeout:globalThis.setTimeout??function(){}};function Gve(e){return e&&typeof e=="object"&&e.default!=null?e.default:e}function Ms(e){let t=Gve(e);return t==null||typeof t=="function"?t:typeof t=="object"?{...t}:t}function Fo(e,t,r){e!=null&&typeof e[t]>"u"&&(e[t]=r)}function Yve(e){return typeof e=="string"&&e.length>1&&e.endsWith("/")?e.slice(0,-1):e}var PA=Ms(Ll);Fo(PA,"constants",FY);Fo(PA,"kMaxLength",Vl);Fo(PA,"kStringMaxLength",A0);Fo(PA,"Blob",globalThis.Blob);Fo(PA,"File",globalThis.File);var sV=Ms(VI),_s=Ms(rQe),b1=null,KG=!1;function Wve(){return KG||(KG=!0,b1=typeof _s=="function"?_s:_s?.EventEmitter,typeof b1=="function"?(Object.assign(b1.prototype,vl.EventEmitter.prototype),Object.assign(vl.EventEmitter,_s,vl),_s=vl.EventEmitter,_s.EventEmitter=_s):_s={..._s,...vl}),_s}var qr=Ms(Yg);qr?.posix||(qr.posix=Ms(Yg?.posix??Yg?.default?.posix)??qr);qr?.win32||(qr.win32=Ms(Yg?.win32??Yg?.default?.win32)??qr);if(qr?.normalize){let e=qr.normalize.bind(qr);qr.normalize=function(t){return Yve(e(t))}}var Vve=Ms(nQe),Jve=Ms(Y0),zt=Ms(Ht);typeof zt?.Stream=="function"&&(Object.assign(zt.Stream,zt),zt=zt.Stream,zt.Stream=zt,Object.defineProperty(zt,Symbol.hasInstance,{configurable:!0,value:t=>!t||typeof t!="object"&&typeof t!="function"?!1:typeof zt.Readable=="function"&&t instanceof zt.Readable||typeof zt.Writable=="function"&&t instanceof zt.Writable||typeof zt.Duplex=="function"&&t instanceof zt.Duplex||typeof zt.Transform=="function"&&t instanceof zt.Transform||typeof zt.PassThrough=="function"&&t instanceof zt.PassThrough}));function sI(e){!e||typeof e[Symbol.asyncIterator]=="function"||Object.defineProperty(e,Symbol.asyncIterator,{configurable:!0,value:function(){let t=this,r=[],n=[],i=!1,s=null,o=()=>{for(;n.length>0;){if(s){n.shift()(Promise.reject(s));continue}if(r.length>0){n.shift()(Promise.resolve({done:!1,value:r.shift()}));continue}if(i){n.shift()(Promise.resolve({done:!0,value:void 0}));continue}break}},a=l=>{r.push(l),o()},A=()=>{i=!0,o()},f=l=>{s=l,i=!0,o()};return t.on?.("data",a),t.on?.("end",A),t.on?.("close",A),t.on?.("error",f),t.resume?.(),{next(){return s?Promise.reject(s):r.length>0?Promise.resolve({done:!1,value:r.shift()}):i?Promise.resolve({done:!0,value:void 0}):new Promise(l=>{n.push(l)})},return(){return i=!0,t.off?.("data",a),t.off?.("end",A),t.off?.("close",A),t.off?.("error",f),o(),Promise.resolve({done:!0,value:void 0})},[Symbol.asyncIterator](){return this}}}})}sI(zt?.Readable?.prototype);sI(zt?.PassThrough?.prototype);sI(zt?.Transform?.prototype);sI(zt?.Duplex?.prototype);Fo(zt,"isReadable",e=>!!e&&e.readable!==!1&&e.destroyed!==!0);Fo(zt,"isErrored",e=>e?.errored!=null);Fo(zt,"isDisturbed",e=>!!(e?.locked||e?.disturbed===!0||e?.readableDidRead===!0));var jve=Ms(iQe),Li=Ms(_u),XG=!1;function zve(){return XG||(XG=!0,Li.URL=Qn,Li.URLSearchParams=Hr,Li.fileURLToPath=bY,Li.pathToFileURL=IY,Li?.default&&typeof Li.default=="object"&&(Li.default.URL=Qn,Li.default.URLSearchParams=Hr,Li.default.fileURLToPath=bY,Li.default.pathToFileURL=IY)),Li}function Kve(e){return String(e).replace(/^node:/,"")}var oV=null;function aV(e){let t=Kve(e),r=oV;if(Array.isArray(r)){let n=String(t??e).replace(/^node:/,"").split("/")[0];if(!r.includes(n))throw Au(e)}return t}Ge("__agentOSInitJsRuntime",function(e){oV=Array.isArray(e)?e.map(t=>String(t).replace(/^node:/,"").split("/")[0]):null});function Xve(e){switch(aV(e)){case"assert":return globalThis.__secureExecBuiltinAssertModule;case"async_hooks":return GY;case"buffer":return Fo(PA,"Blob",globalThis.Blob),Fo(PA,"File",globalThis.File),PA;case"cluster":throw Au(e);case"crypto":return Da;case"diagnostics_channel":return gwe;case"domain":throw Au(e);case"http":return _httpModule;case"http2":return _http2Module;case"events":return Wve();case"fs":return _fsModule;case"fs/promises":return _fsModule.promises;case"os":return _osModule;case"path":return qr;case"path/posix":return qr.posix;case"path/win32":return qr.win32;case"perf_hooks":return Cwe;case"process":return jV;case"punycode":return Vve;case"querystring":return Jve;case"readline":return{createInterface(r={}){let n=r.input??null,i=r.output??null,s=new Map,o=!1,a=!1,A="",f=[],l=null,p=[],B=new Tu,S=(j,...se)=>{let ie=s.get(j)??[];for(let ce of[...ie])ce(...se)},_=j=>{if(p.length>0){p.shift()(j);return}if(l){let se=l;l=null,se({done:!1,value:j});return}f.push(j)},N=j=>{S("line",j),_(j)},P=()=>{let j=A.indexOf(`
`);for(;j!==-1;){let se=A.slice(0,j);se.endsWith("\r")&&(se=se.slice(0,-1)),A=A.slice(j+1),N(se),j=A.indexOf(`
`)}},U=()=>{!n||typeof n.off!="function"||(n.off("data",G),n.off("end",Y))},G=j=>{o||(typeof j=="string"?A+=j:j instanceof Uint8Array?A+=B.decode(j,{stream:!0}):j!=null&&(A+=String(j)),P())},Y=()=>{if(a)return;a=!0;let j=B.decode();j&&(A+=j),P(),A.length>0&&(N(A),A=""),ee.close()};n&&typeof n.on=="function"&&(n.on("data",G),n.on("end",Y),typeof n.resume=="function"&&n.resume());let Z={next(){return f.length>0?Promise.resolve({done:!1,value:f.shift()}):o||a?Promise.resolve({done:!0,value:void 0}):new Promise(j=>{l=j})},return(){return ee.close(),Promise.resolve({done:!0,value:void 0})},[Symbol.asyncIterator](){return this}},ee={addListener(j,se){return this.on(j,se)},on(j,se){let ie=s.get(j)??[];return ie.push(se),s.set(j,ie),this},once(j,se){let ie=(...ce)=>{this.off(j,ie),se(...ce)};return this.on(j,ie)},off(j,se){let ie=s.get(j)??[];return s.set(j,ie.filter(ce=>ce!==se)),this},removeListener(j,se){return this.off(j,se)},close(){if(!o){for(o=!0,U();p.length>0;)p.shift()("");if(l){let j=l;l=null,j({done:!0,value:void 0})}S("close")}},question(j,se){i&&typeof i.write=="function"&&j&&i.write(String(j));let ie=()=>f.length>0?Promise.resolve(f.shift()):o||a?Promise.resolve(""):new Promise(ce=>{p.push(ce)});if(typeof se=="function"){ie().then(ce=>{se(ce)});return}return ie()},[Symbol.asyncIterator](){return Z}};return ee}};case"repl":throw Au(e);case"stream":return zt;case"stream/consumers":return aB;case"stream/promises":return XY;case"string_decoder":return jve;case"stream/web":return{ReadableStream:globalThis.ReadableStream,WritableStream:globalThis.WritableStream,TransformStream:globalThis.TransformStream,TextEncoderStream:globalThis.TextEncoderStream,TextDecoderStream:globalThis.TextDecoderStream,CompressionStream:globalThis.CompressionStream,DecompressionStream:globalThis.DecompressionStream};case"timers":return qve;case"timers/promises":return nB;case"trace_events":throw Au(e);case"url":return zve();case"sys":return oB(globalThis.__secureExecBuiltinUtilModule);case"util":return oB(globalThis.__secureExecBuiltinUtilModule);case"util/types":return oB(globalThis.__secureExecBuiltinUtilModule).types;case"child_process":return _childProcessModule;case"console":return swe;case"constants":return sV;case"dns":return _dnsModule;case"dns/promises":return _dnsModule.promises;case"net":return _netModule;case"tls":return _tlsModule;case"tty":return lwe;case"dgram":return _dgramModule;case"sqlite":return _sqliteModule;case"https":return _httpsModule;case"inspector":throw Au(e);case"module":return _moduleModule;case"wasi":throw Au(e);case"zlib":return globalThis.__secureExecBuiltinZlibModule;case"v8":return Dwe;case"vm":return Mwe;case"worker_threads":return Awe;default:{let r=new Error(`Cannot find module '${e}'`);throw r.code="MODULE_NOT_FOUND",r}}}function BR(e){let t=new Error(`${e} is not supported in sandbox`);return t.code="ERR_NOT_IMPLEMENTED",t}function pu(e){throw BR(`crypto.${e}`)}var Hg=Symbol("secureExecCryptoKey"),IR=Symbol("secureExecCrypto"),bR=Symbol("secureExecSubtle"),AV="ERR_INVALID_THIS",oI="ERR_ILLEGAL_CONSTRUCTOR";function jl(e,t){let r=new TypeError(e);return r.code=t,r}var Zve=class extends Error{constructor(e="",t="Error"){super(e),this.name=String(t),this.code=0}};function ZG(e,t,r){let n=new Error(r);return n.name=e,n.code=t,n}function C1(e){if(!(e instanceof QR)||e._token!==IR)throw jl('Value of "this" must be of type Crypto',AV)}function Pi(e){if(!(e instanceof CR)||e._token!==bR)throw jl('Value of "this" must be of type SubtleCrypto',AV)}function $ve(e){return!ArrayBuffer.isView(e)||e instanceof DataView?!1:e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Uint8ClampedArray||e instanceof BigInt64Array||e instanceof BigUint64Array||_e.Buffer.isBuffer(e)}function Gn(e){return typeof e=="string"?_e.Buffer.from(e).toString("base64"):e instanceof ArrayBuffer?_e.Buffer.from(new Uint8Array(e)).toString("base64"):ArrayBuffer.isView(e)?_e.Buffer.from(new Uint8Array(e.buffer,e.byteOffset,e.byteLength)).toString("base64"):_e.Buffer.from(e).toString("base64")}function au(e){let t=_e.Buffer.from(e,"base64");return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}function p2(e){return typeof e=="string"?{name:e}:e??{}}function Oi(e){let t={...p2(e)},r=t.hash,n=t.publicExponent,i=t.iv,s=t.additionalData,o=t.salt,a=t.info,A=t.context,f=t.label,l=t.public;return r&&(t.hash=p2(r)),n&&ArrayBuffer.isView(n)&&(t.publicExponent=_e.Buffer.from(new Uint8Array(n.buffer,n.byteOffset,n.byteLength)).toString("base64")),i&&(t.iv=Gn(i)),s&&(t.additionalData=Gn(s)),o&&(t.salt=Gn(o)),a&&(t.info=Gn(a)),A&&(t.context=Gn(A)),f&&(t.label=Gn(f)),l&&typeof l=="object"&&"_keyData"in l&&(t.public=l._keyData),t}var CY,e0=(CY=Hg,class{constructor(e,t){y(this,"type");y(this,"extractable");y(this,"algorithm");y(this,"usages");y(this,"_keyData");y(this,"_pem");y(this,"_jwk");y(this,"_raw");y(this,"_sourceKeyObjectData");y(this,CY);if(t!==Hg||!e)throw jl("Illegal constructor",oI);this.type=e.type,this.extractable=e.extractable,this.algorithm=e.algorithm,this.usages=e.usages,this._keyData=e,this._pem=e._pem,this._jwk=e._jwk,this._raw=e._raw,this._sourceKeyObjectData=e._sourceKeyObjectData,this[Hg]=!0}});Object.defineProperty(e0.prototype,Symbol.toStringTag,{value:"CryptoKey",configurable:!0});Object.defineProperty(e0,Symbol.hasInstance,{value(e){return!!(e&&typeof e=="object"&&(e[Hg]===!0||"_keyData"in e&&e[Symbol.toStringTag]==="CryptoKey"))},configurable:!0});function Sl(e){let t=globalThis.CryptoKey;if(typeof t=="function"&&t.prototype&&t.prototype!==e0.prototype){let r=Object.create(t.prototype);return r.type=e.type,r.extractable=e.extractable,r.algorithm=e.algorithm,r.usages=e.usages,r._keyData=e,r._pem=e._pem,r._jwk=e._jwk,r._raw=e._raw,r._sourceKeyObjectData=e._sourceKeyObjectData,r}return new e0(e,Hg)}function Hi(e){if(typeof _cryptoSubtle>"u")throw new Error("crypto.subtle is not supported in sandbox");return _cryptoSubtle.applySync(void 0,[JSON.stringify(e)])}var CR=class{constructor(e){y(this,"_token");if(e!==bR)throw jl("Illegal constructor",oI);this._token=e}digest(e,t){return Pi(this),Promise.resolve().then(()=>{let r=JSON.parse(Hi({op:"digest",algorithm:p2(e).name,data:Gn(t)}));return au(r.data)})}generateKey(e,t,r){return Pi(this),Promise.resolve().then(()=>{let n=JSON.parse(Hi({op:"generateKey",algorithm:Oi(e),extractable:t,usages:Array.from(r)}));return"publicKey"in n&&"privateKey"in n?{publicKey:Sl(n.publicKey),privateKey:Sl(n.privateKey)}:Sl(n.key)})}importKey(e,t,r,n,i){return Pi(this),Promise.resolve().then(()=>{let s=JSON.parse(Hi({op:"importKey",format:e,keyData:e==="jwk"?t:Gn(t),algorithm:Oi(r),extractable:n,usages:Array.from(i)}));return Sl(s.key)})}exportKey(e,t){return Pi(this),Promise.resolve().then(()=>{let r=JSON.parse(Hi({op:"exportKey",format:e,key:t._keyData}));return e==="jwk"?r.jwk:au(r.data??"")})}encrypt(e,t,r){return Pi(this),Promise.resolve().then(()=>{let n=JSON.parse(Hi({op:"encrypt",algorithm:Oi(e),key:t._keyData,data:Gn(r)}));return au(n.data)})}decrypt(e,t,r){return Pi(this),Promise.resolve().then(()=>{let n=JSON.parse(Hi({op:"decrypt",algorithm:Oi(e),key:t._keyData,data:Gn(r)}));return au(n.data)})}sign(e,t,r){return Pi(this),Promise.resolve().then(()=>{let n=JSON.parse(Hi({op:"sign",algorithm:Oi(e),key:t._keyData,data:Gn(r)}));return au(n.data)})}verify(e,t,r,n){return Pi(this),Promise.resolve().then(()=>JSON.parse(Hi({op:"verify",algorithm:Oi(e),key:t._keyData,signature:Gn(r),data:Gn(n)})).result)}deriveBits(e,t,r){return Pi(this),Promise.resolve().then(()=>{let n=JSON.parse(Hi({op:"deriveBits",algorithm:Oi(e),baseKey:t._keyData,length:r}));return au(n.data)})}deriveKey(e,t,r,n,i){return Pi(this),Promise.resolve().then(()=>{let s=JSON.parse(Hi({op:"deriveKey",algorithm:Oi(e),baseKey:t._keyData,derivedKeyAlgorithm:Oi(r),extractable:n,usages:Array.from(i)}));return Sl(s.key)})}wrapKey(e,t,r,n){return Pi(this),Promise.resolve().then(()=>{let i=JSON.parse(Hi({op:"wrapKey",format:e,key:t._keyData,wrappingKey:r._keyData,wrapAlgorithm:Oi(n)}));return au(i.data)})}unwrapKey(e,t,r,n,i,s,o){return Pi(this),Promise.resolve().then(()=>{let a=JSON.parse(Hi({op:"unwrapKey",format:e,wrappedKey:Gn(t),unwrappingKey:r._keyData,unwrapAlgorithm:Oi(n),unwrappedKeyAlgorithm:Oi(i),extractable:s,usages:Array.from(o)}));return Sl(a.key)})}},fV=new CR(bR),QR=class{constructor(e){y(this,"_token");if(e!==IR)throw jl("Illegal constructor",oI);this._token=e}get subtle(){return C1(this),fV}getRandomValues(e){if(C1(this),!$ve(e))throw ZG("TypeMismatchError",17,"The data argument must be an integer-type TypedArray");if(typeof _cryptoRandomFill>"u"&&pu("getRandomValues"),e.byteLength>65536)throw ZG("QuotaExceededError",22,`The ArrayBufferView's byte length (${e.byteLength}) exceeds the number of bytes of entropy available via this API (65536)`);let t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);try{let r=_cryptoRandomFill.applySync(void 0,[t.byteLength]),n=_e.Buffer.from(r,"base64");if(n.byteLength!==t.byteLength)throw new Error("invalid host entropy size");return t.set(n),e}catch{pu("getRandomValues")}}randomUUID(){C1(this),typeof _cryptoRandomUUID>"u"&&pu("randomUUID");try{let e=_cryptoRandomUUID.applySync(void 0,[]);if(typeof e!="string")throw new Error("invalid host uuid");return e}catch{pu("randomUUID")}}},e1e=new QR(IR),Tl=e1e;function t1e(e){let t=[];return{update(r,n){let i=typeof r=="string"?_e.Buffer.from(r,n||"utf8"):_e.Buffer.from(r);return t.push(i),this},digest(r){typeof _cryptoHashDigest>"u"&&pu("createHash");let n=t.length===1?t[0]:_e.Buffer.concat(t),i=_cryptoHashDigest.applySync(void 0,[String(e),n.toString("base64")]),s=_e.Buffer.from(String(i||""),"base64");return r?s.toString(r):s}}}function uV(e){if(zl(e)){if(e.type!=="secret")throw new TypeError("Symmetric crypto operations require a secret KeyObject");return _e.Buffer.from(String(e._serialized.raw||""),"base64")}return e&&typeof e=="object"&&e[Symbol.toStringTag]==="CryptoKey"&&typeof e._raw=="string"?_e.Buffer.from(String(e._raw||""),"base64"):typeof e=="string"?_e.Buffer.from(e):Dt(e)}function r1e(e,t){let r=[],n=uV(t);return{update(i,s){let o=typeof i=="string"?_e.Buffer.from(i,s||"utf8"):_e.Buffer.from(i);return r.push(o),this},digest(i){typeof _cryptoHmacDigest>"u"&&pu("createHmac");let s=r.length===1?r[0]:_e.Buffer.concat(r),o=_cryptoHmacDigest.applySync(void 0,[String(e),n.toString("base64"),s.toString("base64")]),a=_e.Buffer.from(String(o||""),"base64");return i?a.toString(i):a}}}var qg=Symbol("secureExecBuiltinKeyObject");function E2(e){return _e.Buffer.isBuffer(e)||e instanceof ArrayBuffer||ArrayBuffer.isView(e)}function Dt(e,t=void 0){return _e.Buffer.isBuffer(e)?_e.Buffer.from(e):typeof e=="string"?_e.Buffer.from(e,t||"utf8"):e instanceof ArrayBuffer?_e.Buffer.from(new Uint8Array(e)):ArrayBuffer.isView(e)?_e.Buffer.from(new Uint8Array(e.buffer,e.byteOffset,e.byteLength)):_e.Buffer.from(e??[])}function Sa(e,t=void 0){return t?e.toString(t):e}function zl(e){return!!(e&&typeof e=="object"&&(e[qg]===!0||e[Symbol.toStringTag]==="KeyObject"&&"_serialized"in e))}function Ts(e){if(zl(e))return e._serialized;if(e&&typeof e=="object"&&e[Symbol.toStringTag]==="CryptoKey"&&"_keyData"in e)return e._keyData;if(typeof e=="bigint")return{__type:"bigint",value:e.toString()};if(E2(e))return{__type:"buffer",value:Dt(e).toString("base64")};if(Array.isArray(e))return e.map(t=>Ts(t));if(e&&typeof e=="object"){let t={};for(let[r,n]of Object.entries(e))n!==void 0&&(t[r]=Ts(n));return t}return e}function t0(e){if(Array.isArray(e))return e.map(r=>t0(r));if(!e||typeof e!="object")return e;if(e.__type==="buffer")return _e.Buffer.from(String(e.value||""),"base64");if(e.__type==="bigint")return BigInt(String(e.value||"0"));if(e.__type==="keyObject")return Ml(e.value);let t={};for(let[r,n]of Object.entries(e))t[r]=t0(n);return t}function cV(e){if(zl(e))return e._serialized;if(e&&typeof e=="object"&&e[Symbol.toStringTag]==="CryptoKey"&&"_keyData"in e)return e._keyData;if(e&&typeof e=="object"&&!Array.isArray(e)&&"key"in e){let{key:t,...r}=e,n=cV(t);return n&&typeof n=="object"&&!Array.isArray(n)&&"type"in n&&("pem"in n||"raw"in n)?{...n,...Object.fromEntries(Object.entries(r).map(([i,s])=>[i,Ts(s)]))}:{...Object.fromEntries(Object.entries(r).map(([i,s])=>[i,Ts(s)])),key:Ts(t)}}return Ts(e)}function MA(e){return JSON.stringify(cV(e))}function Q1(e){return JSON.stringify({hasOptions:e!==void 0,options:e===void 0?null:Ts(e)})}function lV(e){return e==null?null:typeof e=="string"?e:typeof e=="object"&&e&&typeof e.name=="string"?e.name:String(e)}function pr(e,t,r){return typeof e>"u"&&pu(t),e.applySync(void 0,r)}function $G(e){return e&&typeof e=="object"&&e.kind==="buffer"?_e.Buffer.from(String(e.value||""),"base64"):e&&typeof e=="object"&&e.kind==="string"?String(e.value||""):Ml(e)}var QY,aI=(QY=qg,class{constructor(e,t){y(this,"type");y(this,"asymmetricKeyType");y(this,"asymmetricKeyDetails");y(this,"symmetricKeySize");y(this,"_serialized");y(this,QY);if(t!==qg||!e||typeof e!="object")throw jl("Illegal constructor",oI);this.type=e.type,this.asymmetricKeyType=e.asymmetricKeyType,this.asymmetricKeyDetails=e.asymmetricKeyDetails,this.symmetricKeySize=e.raw?_e.Buffer.from(String(e.raw),"base64").length:void 0,this._serialized=e,this[qg]=!0}export(e=void 0){if(this.type==="secret")return e&&e.format==="jwk"&&this._serialized.jwk?{...this._serialized.jwk}:_e.Buffer.from(String(this._serialized.raw||""),"base64");if(e==null||typeof e!="object"){let t=new TypeError('The "options" argument must be of type object. Received undefined');throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.format==="jwk"&&this._serialized.jwk)return{...this._serialized.jwk};if(e.format&&e.format!=="pem")throw BR(`crypto.KeyObject.export(${e.format})`);return String(this._serialized.pem||"")}equals(e){return zl(e)&&JSON.stringify(this._serialized)===JSON.stringify(e._serialized)}});Object.defineProperty(aI.prototype,Symbol.toStringTag,{value:"KeyObject",configurable:!0});Object.defineProperty(aI,Symbol.hasInstance,{value(e){return zl(e)},configurable:!0});function Ml(e){return zl(e)?e:new aI(e,qg)}function n1e(e){if(!e||typeof e!="object")return{};let t={};return"aad"in e&&e.aad!=null&&(t.aad=Dt(e.aad).toString("base64")),"authTag"in e&&e.authTag!=null&&(t.authTag=Dt(e.authTag).toString("base64")),"authTagLength"in e&&e.authTagLength!=null&&(t.authTagLength=Number(e.authTagLength)),"autoPadding"in e&&(t.autoPadding=!!e.autoPadding),t}var eY=class{constructor(e,t,r,n,i=void 0){y(this,"_mode");y(this,"_algorithm");y(this,"_key");y(this,"_iv");y(this,"_options");y(this,"_sessionId");y(this,"_authTag");this._mode=e,this._algorithm=String(t),this._key=uV(r),this._iv=n==null?null:Dt(n),this._options=n1e(i),this._sessionId=null,this._authTag=null}_ensureSession(){return this._sessionId!=null?this._sessionId:(this._sessionId=Number(pr(_cryptoCipherivCreate,this._mode==="cipher"?"createCipheriv":"createDecipheriv",[this._mode,this._algorithm,this._key.toString("base64"),this._iv?this._iv.toString("base64"):null,Object.keys(this._options).length>0?JSON.stringify(this._options):null])),this._sessionId)}_assertMutable(e){if(this._sessionId!=null)throw BR(`crypto.${e} after update()`)}update(e,t=void 0,r=void 0){let n=Dt(e,t),i=pr(_cryptoCipherivUpdate,this._mode==="cipher"?"createCipheriv":"createDecipheriv",[this._ensureSession(),n.toString("base64")]);return Sa(_e.Buffer.from(String(i||""),"base64"),r)}final(e=void 0){let t=JSON.parse(String(pr(_cryptoCipherivFinal,this._mode==="cipher"?"createCipheriv":"createDecipheriv",[this._ensureSession()])||"{}"));return t.authTag&&(this._authTag=_e.Buffer.from(String(t.authTag),"base64")),Sa(_e.Buffer.from(String(t.data||""),"base64"),e)}setAAD(e,t=void 0){return this._assertMutable(this._mode==="cipher"?"createCipheriv":"createDecipheriv"),this._options.aad=Dt(e).toString("base64"),t&&typeof t=="object"&&t.authTagLength!=null&&(this._options.authTagLength=Number(t.authTagLength)),this}setAuthTag(e){return this._assertMutable("createDecipheriv"),this._authTag=Dt(e),this._options.authTag=this._authTag.toString("base64"),this}getAuthTag(){if(!this._authTag)throw new Error("Invalid state for operation getAuthTag");return _e.Buffer.from(this._authTag)}setAutoPadding(e=!0){return this._assertMutable(this._mode==="cipher"?"createCipheriv":"createDecipheriv"),this._options.autoPadding=!!e,this}},y2=class{constructor(e){y(this,"_algorithm");y(this,"_chunks");this._algorithm=e,this._chunks=[]}update(e,t=void 0){return this._chunks.push(Dt(e,t)),this}write(e,t=void 0){return this.update(e,t),!0}end(e=void 0,t=void 0){return e!==void 0&&this.update(e,t),this}_inputBuffer(){return this._chunks.length===0?_e.Buffer.alloc(0):this._chunks.length===1?this._chunks[0]:_e.Buffer.concat(this._chunks)}sign(e,t=void 0){let r=pr(_cryptoSign,"sign",[lV(this._algorithm),this._inputBuffer().toString("base64"),MA(e)]);return Sa(_e.Buffer.from(String(r||""),"base64"),t)}},tY=class extends y2{verify(e,t,r=void 0){let n=Dt(t,r);return!!pr(_cryptoVerify,"verify",[lV(this._algorithm),this._inputBuffer().toString("base64"),MA(e),n.toString("base64")])}};function i1e(e,t=void 0,r=void 0,n=void 0){let i=[];return typeof e=="string"?(i.push(Dt(e,typeof t=="string"?t:void 0)),r!==void 0?i.push(typeof r=="string"?Dt(r,typeof n=="string"?n:void 0):r):(typeof t=="number"||E2(t))&&i.push(t),i):(i.push(e),r!==void 0?i.push(r):(typeof t=="number"||E2(t))&&i.push(t),i)}var rY=typeof FinalizationRegistry=="function"?new FinalizationRegistry(e=>{try{pr(_cryptoDiffieHellmanSessionDestroy,"createDiffieHellman",[e])}catch{}}):null,_g=class{constructor(e){y(this,"_sessionId");this._sessionId=Number(pr(_cryptoDiffieHellmanSessionCreate,"createDiffieHellman",[JSON.stringify({type:e.type,name:e.name,args:(e.args||[]).map(t=>Ts(t))})])),rY?.register(this,this._sessionId,this)}_destroySession(){if(this._sessionId==null)return;let e=this._sessionId;this._sessionId=null,rY?.unregister(this),pr(_cryptoDiffieHellmanSessionDestroy,"createDiffieHellman",[e])}dispose(){this._destroySession()}[Symbol.dispose||Symbol.for("Symbol.dispose")](){this._destroySession()}_call(e,t=[]){if(this._sessionId==null)throw new Error("Diffie-Hellman session has been destroyed");let r=JSON.parse(String(pr(_cryptoDiffieHellmanSessionCall,"createDiffieHellman",[this._sessionId,JSON.stringify({method:e,args:t.map(n=>Ts(n))})])||"{}"));return r.hasResult?t0(r.result):void 0}get verifyError(){let e=this._call("verifyError");return e==null?0:Number(e)}generateKeys(e=void 0){return Sa(Dt(this._call("generateKeys")),e)}computeSecret(e,t=void 0,r=void 0){let n=this._call("computeSecret",[Dt(e,t)]);return Sa(Dt(n),r)}getPrime(e=void 0){return Sa(Dt(this._call("getPrime")),e)}getGenerator(e=void 0){return Sa(Dt(this._call("getGenerator")),e)}getPublicKey(e=void 0){return Sa(Dt(this._call("getPublicKey")),e)}getPrivateKey(e=void 0){return Sa(Dt(this._call("getPrivateKey")),e)}setPrivateKey(e,t=void 0){this._call("setPrivateKey",[Dt(e,t)])}setPublicKey(e,t=void 0){this._call("setPublicKey",[Dt(e,t)])}},Da={KeyObject:aI,DiffieHellman:_g,ECDH:_g,randomFillSync(e,t=0,r=void 0){let n=e instanceof ArrayBuffer?new Uint8Array(e):e;if(!ArrayBuffer.isView(n))throw new TypeError('The "buffer" argument must be an instance of ArrayBuffer, Buffer, TypedArray, or DataView');let i=Number(t)||0;if(!Number.isInteger(i)||i<0||i>n.byteLength)throw new RangeError('The value of "offset" is out of range');let s=r===void 0?n.byteLength-i:Number(r);if(!Number.isInteger(s)||s<0||i+s>n.byteLength)throw new RangeError('The value of "size" is out of range');let o=new Uint8Array(n.buffer,n.byteOffset+i,s);return Tl.getRandomValues(o),e},randomFill(e,t,r,n){let i=t,s=r,o=n;if(typeof i=="function"?(o=i,i=0,s=void 0):typeof s=="function"&&(o=s,s=void 0),typeof o!="function")throw new TypeError('The "callback" argument must be of type function');try{let a=Da.randomFillSync(e,i,s);queueMicrotask(()=>o(null,a))}catch(a){queueMicrotask(()=>o(a))}},createHash(e){return t1e(e)},createHmac(e,t){return r1e(e,t)},createCipheriv(e,t,r,n=void 0){return new eY("cipher",e,t,r,n)},createDecipheriv(e,t,r,n=void 0){return new eY("decipher",e,t,r,n)},createSign(e){return new y2(e)},createVerify(e){return new tY(e)},sign(e,t,r){let n=new y2(e);return n.update(t),n.sign(r)},verify(e,t,r,n){let i=new tY(e);return i.update(t),i.verify(r,n)},createPrivateKey(e){let t=pr(_cryptoCreateKeyObject,"createPrivateKey",["createPrivateKey",MA(e)]);return Ml(JSON.parse(String(t||"{}")))},createPublicKey(e){let t=pr(_cryptoCreateKeyObject,"createPublicKey",["createPublicKey",MA(e)]);return Ml(JSON.parse(String(t||"{}")))},createSecretKey(e){return Ml({type:"secret",raw:Dt(e).toString("base64")})},publicEncrypt(e,t){let r=pr(_cryptoAsymmetricOp,"publicEncrypt",["publicEncrypt",MA(e),Dt(t).toString("base64")]);return _e.Buffer.from(String(r||""),"base64")},publicDecrypt(e,t){let r=pr(_cryptoAsymmetricOp,"publicDecrypt",["publicDecrypt",MA(e),Dt(t).toString("base64")]);return _e.Buffer.from(String(r||""),"base64")},privateEncrypt(e,t){let r=pr(_cryptoAsymmetricOp,"privateEncrypt",["privateEncrypt",MA(e),Dt(t).toString("base64")]);return _e.Buffer.from(String(r||""),"base64")},privateDecrypt(e,t){let r=pr(_cryptoAsymmetricOp,"privateDecrypt",["privateDecrypt",MA(e),Dt(t).toString("base64")]);return _e.Buffer.from(String(r||""),"base64")},pbkdf2Sync(e,t,r,n,i){let s=pr(_cryptoPbkdf2,"pbkdf2Sync",[Dt(e).toString("base64"),Dt(t).toString("base64"),Number(r),Number(n),String(i)]);return _e.Buffer.from(String(s||""),"base64")},pbkdf2(e,t,r,n,i,s){let o=i,a=s;if(typeof o=="function"&&(a=o,o="sha1"),typeof a!="function")throw new TypeError('The "callback" argument must be of type function');queueMicrotask(()=>{try{a(null,Da.pbkdf2Sync(e,t,r,n,o))}catch(A){a(A)}})},scryptSync(e,t,r,n=void 0){let i=pr(_cryptoScrypt,"scryptSync",[Dt(e).toString("base64"),Dt(t).toString("base64"),Number(r),JSON.stringify(Ts(n||{}))]);return _e.Buffer.from(String(i||""),"base64")},scrypt(e,t,r,n,i){let s=n,o=i;if(typeof s=="function"&&(o=s,s=void 0),typeof o!="function")throw new TypeError('The "callback" argument must be of type function');queueMicrotask(()=>{try{o(null,Da.scryptSync(e,t,r,s))}catch(a){o(a)}})},generateKeyPairSync(e,t=void 0){let r=JSON.parse(String(pr(_cryptoGenerateKeyPairSync,"generateKeyPairSync",[String(e),Q1(t)])||"{}"));return{publicKey:$G(r.publicKey),privateKey:$G(r.privateKey)}},generateKeyPair(e,t,r){let n=t,i=r;if(typeof n=="function"&&(i=n,n=void 0),typeof i!="function")throw new TypeError('The "callback" argument must be of type function');queueMicrotask(()=>{try{let s=Da.generateKeyPairSync(e,n);i(null,s.publicKey,s.privateKey)}catch(s){i(s)}})},generateKeySync(e,t=void 0){let r=JSON.parse(String(pr(_cryptoGenerateKeySync,"generateKeySync",[String(e),Q1(t)])||"{}"));return Ml(r)},generatePrimeSync(e,t=void 0){let r=JSON.parse(String(pr(_cryptoGeneratePrimeSync,"generatePrimeSync",[Number(e),Q1(t)])||"null"));return t0(r)},generatePrime(e,t,r){let n=t,i=r;if(typeof n=="function"&&(i=n,n=void 0),typeof i!="function")throw new TypeError('The "callback" argument must be of type function');queueMicrotask(()=>{try{i(null,Da.generatePrimeSync(e,n))}catch(s){i(s)}})},diffieHellman(e){let t=JSON.parse(String(pr(_cryptoDiffieHellman,"diffieHellman",[JSON.stringify(Ts(e))])||"null"));return Dt(t0(t))},getDiffieHellman(e){return new _g({type:"group",name:String(e)})},createDiffieHellman(e,t=void 0,r=void 0,n=void 0){return new _g({type:"dh",args:i1e(e,t,r,n)})},createECDH(e){return new _g({type:"ecdh",name:String(e)})},getFips(){return 0},getHashes(){return["md5","sha1","sha224","sha256","sha384","sha512"]},getCiphers(){return["aes-128-cbc","aes-128-ctr","aes-128-gcm","aes-192-cbc","aes-192-ctr","aes-192-gcm","aes-256-cbc","aes-256-ctr","aes-256-gcm","aes128","aes192","aes256"]},getCurves(){return["prime256v1","secp256k1","secp384r1","secp521r1"]},getRandomValues(e){return Tl.getRandomValues(e)},randomBytes(e){let t=Math.max(0,Number(e)||0),r=new Uint8Array(t);return Tl.getRandomValues(r),_e.Buffer.from(r)},randomUUID(){return Tl.randomUUID()},get constants(){return sV},subtle:fV,webcrypto:Tl},Tt=q2(G2(),1),m2=0,fu=1,Ba=2,qn=64,Ia=128,uu=512,cu=1024,Eu=class{constructor(e){y(this,"dev");y(this,"ino");y(this,"mode");y(this,"nlink");y(this,"uid");y(this,"gid");y(this,"rdev");y(this,"size");y(this,"blksize");y(this,"blocks");y(this,"atimeMs");y(this,"mtimeMs");y(this,"ctimeMs");y(this,"birthtimeMs");y(this,"atime");y(this,"mtime");y(this,"ctime");y(this,"birthtime");this.dev=e.dev??0,this.ino=e.ino??0,this.mode=e.mode,this.nlink=e.nlink??1,this.uid=e.uid??0,this.gid=e.gid??0,this.rdev=e.rdev??0,this.size=e.size,this.blksize=e.blksize??4096,this.blocks=e.blocks??Math.ceil(e.size/512);let t=e.atimeMs??Date.now(),r=e.mtimeMs??Date.now(),n=e.ctimeMs??Date.now();this.atimeMs=t+(e.atimeNsec??0)%1e6/1e6,this.mtimeMs=r+(e.mtimeNsec??0)%1e6/1e6,this.ctimeMs=n+(e.ctimeNsec??0)%1e6/1e6,this.birthtimeMs=e.birthtimeMs??Date.now(),this.atime=new Date(this.atimeMs),this.mtime=new Date(this.mtimeMs),this.ctime=new Date(this.ctimeMs),this.birthtime=new Date(this.birthtimeMs)}isFile(){return(this.mode&61440)===32768}isDirectory(){return(this.mode&61440)===16384}isSymbolicLink(){return(this.mode&61440)===40960}isBlockDevice(){return!1}isCharacterDevice(){return!1}isFIFO(){return!1}isSocket(){return!1}},OB=class{constructor(e,t,r=""){y(this,"name");y(this,"parentPath");y(this,"path");y(this,"_isDir");this.name=e,this._isDir=t,this.parentPath=r,this.path=r}isFile(){return!this._isDir}isDirectory(){return this._isDir}isSymbolicLink(){return!1}isBlockDevice(){return!1}isCharacterDevice(){return!1}isFIFO(){return!1}isSocket(){return!1}},nY=class{constructor(e){y(this,"path");y(this,"_entries",null);y(this,"_index",0);y(this,"_closed",!1);this.path=e}_load(){return this._entries===null&&(this._entries=$.readdirSync(this.path,{withFileTypes:!0})),this._entries}readSync(){if(this._closed)throw new Error("Directory handle was closed");let e=this._load();return this._index>=e.length?null:e[this._index++]}async read(){return this.readSync()}closeSync(){this._closed=!0}async close(){this.closeSync()}async*[Symbol.asyncIterator](){let e=this._load();for(let t of e){if(this._closed)return;yield t}this._closed=!0}},B2=64*1024,s1e=16*1024,iY=2**31-1;function hV(e){let t=new Error("The operation was aborted");return t.name="AbortError",t.code="ABORT_ERR",e!==void 0&&(t.cause=e),t}function I2(e){if(e!==void 0){if(e===null||typeof e!="object"||typeof e.aborted!="boolean"||typeof e.addEventListener!="function"||typeof e.removeEventListener!="function"){let t=new TypeError('The "signal" argument must be an instance of AbortSignal');throw t.code="ERR_INVALID_ARG_TYPE",t}return e}}function Ng(e){if(e?.aborted)throw hV(e.reason)}function Xm(){return new Promise(e=>process.nextTick(e))}function o1e(e){let t=new Error(e);return t.code="ERR_INTERNAL_ASSERTION",t}function Do(e,t,r){let n=new RangeError(`The value of "${e}" is out of range. It must be ${t}. Received ${String(r)}`);return n.code="ERR_OUT_OF_RANGE",n}function dV(e){if(e===null)return"Received null";if(e===void 0)return"Received undefined";if(typeof e=="string")return`Received type string ('${e}')`;if(typeof e=="number")return`Received type number (${String(e)})`;if(typeof e=="boolean")return`Received type boolean (${String(e)})`;if(typeof e=="bigint")return`Received type bigint (${e.toString()}n)`;if(typeof e=="symbol")return`Received type symbol (${String(e)})`;if(typeof e=="function")return e.name?`Received function ${e.name}`:"Received function";if(Array.isArray(e))return"Received an instance of Array";if(e&&typeof e=="object"){let t=e.constructor?.name;if(t)return`Received an instance of ${t}`}return`Received type ${typeof e} (${String(e)})`}function bt(e,t,r){let n=new TypeError(`The "${e}" argument must be ${t}. ${dV(r)}`);return n.code="ERR_INVALID_ARG_TYPE",n}function gV(e,t){let r=new TypeError(`The argument '${e}' ${t}`);return r.code="ERR_INVALID_ARG_VALUE",r}function a1e(e){let t=typeof e=="string"?`'${e}'`:e===void 0?"undefined":e===null?"null":String(e),r=new TypeError(`The argument 'encoding' is invalid encoding. Received ${t}`);return r.code="ERR_INVALID_ARG_VALUE",r}function w1(e,t){if(typeof e=="string")return Tt.Buffer.from(e,t??"utf8");if(Tt.Buffer.isBuffer(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);if(e instanceof Uint8Array)return e;if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw bt("data","a string, Buffer, TypedArray, or DataView",e)}async function*A1e(e,t){if(typeof e=="string"||ArrayBuffer.isView(e)){yield w1(e,t);return}if(e&&typeof e[Symbol.asyncIterator]=="function"){for await(let r of e)yield w1(r,t);return}if(e&&typeof e[Symbol.iterator]=="function"){for(let r of e)yield w1(r,t);return}throw bt("data","a string, Buffer, TypedArray, DataView, or Iterable",e)}var yu=class mn{constructor(t){y(this,"_fd");y(this,"_closing",!1);y(this,"_closed",!1);y(this,"_listeners",new Map);this._fd=t}static _assertHandle(t){if(!(t instanceof mn))throw o1e("handle must be an instance of FileHandle");return t}_emitCloseOnce(){if(this._closed){this._fd=-1,this.emit("close");return}this._closed=!0,this._fd=-1,this.emit("close")}_resolvePath(){return this._fd<0?null:LA.applySync(void 0,[this._fd])}get fd(){return this._fd}get closed(){return this._closed}on(t,r){let n=this._listeners.get(t)??[];return n.push(r),this._listeners.set(t,n),this}once(t,r){let n=(...i)=>{this.off(t,n),r(...i)};return n._originalListener=r,this.on(t,n)}off(t,r){let n=this._listeners.get(t);if(!n)return this;let i=n.findIndex(s=>s===r||s._originalListener===r);return i!==-1&&n.splice(i,1),this}removeListener(t,r){return this.off(t,r)}emit(t,...r){let n=this._listeners.get(t);if(!n||n.length===0)return!1;for(let i of n.slice())i(...r);return!0}async close(){let t=mn._assertHandle(this);if((t._closing||t._closed)&&t._fd<0)throw Je("EBADF","EBADF: bad file descriptor, close","close");t._closing=!0;try{$.closeSync(t._fd),t._emitCloseOnce()}finally{t._closing=!1}}async stat(){let t=mn._assertHandle(this);return $.fstatSync(t.fd)}async sync(){let t=mn._assertHandle(this);$.fsyncSync(t.fd)}async datasync(){return this.sync()}async truncate(t){let r=mn._assertHandle(this);$.ftruncateSync(r.fd,t)}async chmod(t){let n=mn._assertHandle(this)._resolvePath();if(!n)throw Je("EBADF","EBADF: bad file descriptor","chmod");$.chmodSync(n,t)}async chown(t,r){let i=mn._assertHandle(this)._resolvePath();if(!i)throw Je("EBADF","EBADF: bad file descriptor","chown");$.chownSync(i,t,r)}async utimes(t,r){let n=mn._assertHandle(this);$.futimesSync(n.fd,t,r)}async read(t,r,n,i){let s=mn._assertHandle(this),o=t,a=r,A=n,f=i;if(o!==null&&typeof o=="object"&&!ArrayBuffer.isView(o)&&(a=o.offset,A=o.length,f=o.position,o=o.buffer??null),o===null&&(o=Tt.Buffer.alloc(s1e)),!ArrayBuffer.isView(o))throw bt("buffer","an instance of ArrayBufferView",o);let l=a??0,p=A??o.byteLength-l;return{bytesRead:$.readSync(s.fd,o,l,p,f??null),buffer:o}}async write(t,r,n,i){let s=mn._assertHandle(this);if(typeof t=="string"){let f=typeof n=="string"?n:"utf8";if(f==="hex"&&t.length%2!==0)throw gV("encoding",`is invalid for data of length ${t.length}`);return{bytesWritten:$.writeSync(s.fd,Tt.Buffer.from(t,f),0,void 0,r??null),buffer:t}}if(!ArrayBuffer.isView(t))throw bt("buffer","a string, Buffer, TypedArray, or DataView",t);let o=r??0,a=typeof n=="number"?n:void 0;return{bytesWritten:$.writeSync(s.fd,t,o,a,i??null),buffer:t}}async readFile(t){let r=mn._assertHandle(this),n=typeof t=="string"?{encoding:t}:t??void 0,i=I2(n?.signal),s=n?.encoding??void 0;if((await r.stat()).size>iY){let l=new RangeError("File size is greater than 2 GiB");throw l.code="ERR_FS_FILE_TOO_LARGE",l}await Xm(),Ng(i);let a=[],A=0;for(;;){Ng(i);let l=Tt.Buffer.alloc(B2),{bytesRead:p}=await r.read(l,0,l.byteLength,null);if(p===0)break;if(a.push(l.subarray(0,p)),A+=p,A>iY){let B=new RangeError("File size is greater than 2 GiB");throw B.code="ERR_FS_FILE_TOO_LARGE",B}await Xm()}let f=Tt.Buffer.concat(a,A);return s?f.toString(s):f}async writeFile(t,r){let n=mn._assertHandle(this),i=typeof r=="string"?{encoding:r}:r??void 0,s=I2(i?.signal),o=i?.encoding??void 0;await Xm(),Ng(s);for await(let a of A1e(t,o))Ng(s),await n.write(a,0,a.byteLength,void 0),await Xm()}async appendFile(t,r){return this.writeFile(t,r)}createReadStream(t){return mn._assertHandle(this),new fI(null,{...t??{},fd:this})}createWriteStream(t){return mn._assertHandle(this),new uI(null,{...t??{},fd:this})}};function AI(e){return ArrayBuffer.isView(e)}function f1e(e,t){let r;t===null?r="Received null":typeof t=="string"?r=`Received type string ('${t}')`:r=`Received type ${typeof t} (${String(t)})`;let n=new TypeError(`The "${e}" property must be of type function. ${r}`);return n.code="ERR_INVALID_ARG_TYPE",n}function DA(e,t="cb"){if(typeof e!="function")throw bt(t,"of type function",e)}function b2(e){if(e!=null&&(typeof e!="string"||!Tt.Buffer.isEncoding(e)))throw a1e(e)}function ir(e){if(typeof e=="string"){b2(e);return}e&&typeof e=="object"&&"encoding"in e&&b2(e.encoding)}function Be(e,t="path"){if(typeof e=="string")return e;if(Tt.Buffer.isBuffer(e))return e.toString("utf8");if(e instanceof URL){if(e.protocol==="file:")return e.pathname;throw bt(t,"of type string or an instance of Buffer or URL",e)}throw bt(t,"of type string or an instance of Buffer or URL",e)}function sY(e){try{return Be(e)}catch{return null}}function Kr(e,t,r={}){let{min:n=0,max:i=2147483647,allowNegativeOne:s=!1}=r;if(typeof t!="number")throw bt(e,"of type number",t);if(!Number.isFinite(t)||!Number.isInteger(t))throw Do(e,"an integer",t);if(s&&t===-1||t>=n&&t<=i)return t;throw Do(e,`>= ${n} && <= ${i}`,t)}function _a(e,t="mode"){if(typeof e=="string"){if(!/^[0-7]+$/.test(e))throw gV(t,"must be a 32-bit unsigned integer or an octal string. Received '"+e+"'");return parseInt(e,8)}return Kr(t,e,{min:0,max:4294967295})}function oY(e){if(e!=null)return _a(e)}function S1(e){return e&-512|e&511&~(mB&511)}function pV(e){if(e?.start!==void 0){if(typeof e.start!="number")throw bt("start","of type number",e.start);if(!Number.isFinite(e.start)||!Number.isInteger(e.start)||e.start<0)throw Do("start",">= 0",e.start)}}function HB(e,t){if(t!==void 0){if(typeof t!="boolean")throw bt(e,"of type boolean",t);return t}}function u1e(e,t){if(t!==void 0){if(t===null||typeof t!="object"||typeof t.aborted!="boolean"||typeof t.addEventListener!="function"||typeof t.removeEventListener!="function"){let r=new TypeError(`The "${e}" property must be an instance of AbortSignal. ${dV(t)}`);throw r.code="ERR_INVALID_ARG_TYPE",r}return t}}function c1e(e,t){let r;if(e==null)r={};else if(typeof e=="string"){if(!t)throw bt("options","of type object",e);b2(e),r={encoding:e}}else if(typeof e=="object")r=e;else throw bt("options",t?"one of type string or object":"of type object",e);HB("options.persistent",r.persistent),HB("options.recursive",r.recursive),ir(r);let n=u1e("options.signal",r.signal);return{persistent:r.persistent,recursive:r.recursive,encoding:r.encoding,signal:n}}function l1e(e,t,r){let n=Be(e),i=t,s=r;if(typeof t=="function"&&(i=void 0,s=t),s!==void 0&&typeof s!="function")throw bt("listener","of type function",s);return{path:n,listener:s,options:c1e(i,!0)}}function h1e(e,t,r){let n=Be(e),i={},s=r;if(typeof t=="function")s=t;else if(t==null)i={};else if(typeof t=="object")i=t;else throw bt("listener","of type function",t);if(typeof s!="function")throw bt("listener","of type function",s);if(HB("persistent",i.persistent),HB("bigint",i.bigint),i.interval!==void 0&&typeof i.interval!="number")throw bt("interval","of type number",i.interval);return{path:n,listener:s,options:{persistent:i.persistent,bigint:i.bigint,interval:i.interval}}}function d1e(){return new Eu({mode:0,size:0,dev:0,ino:0,nlink:0,uid:0,gid:0,rdev:0,blksize:0,blocks:0,atimeMs:0,mtimeMs:0,ctimeMs:0,birthtimeMs:0})}function aY(e){try{let t=$.statSync(e);return{exists:!0,stats:t,signature:JSON.stringify({dev:t.dev,ino:t.ino,mode:t.mode,nlink:t.nlink,uid:t.uid,gid:t.gid,rdev:t.rdev,size:t.size,atimeMs:t.atimeMs,mtimeMs:t.mtimeMs,ctimeMs:t.ctimeMs,birthtimeMs:t.birthtimeMs})}}catch(t){if(t?.code==="ENOENT"||t?.code==="ENOTDIR")return{exists:!1,stats:d1e(),signature:"missing"};throw t}}function g1e(e,t){let r=e==="/"?"":e.split("/").filter(Boolean).pop()??"";return t==="buffer"?Tt.Buffer.from(r):r}function p1e(e,t){return e.exists!==t.exists?"rename":"change"}var E1e=50,y1e=5007,r0=new Map,EV=class{constructor(e,t){y(this,"_path");y(this,"_intervalMs");y(this,"_onChange");y(this,"_onClose");y(this,"_listeners");y(this,"_timer");y(this,"_closed");y(this,"_signal");y(this,"_handleAbort");y(this,"_snapshot");y(this,"_poll");this._path=e,this._intervalMs=t.interval,this._onChange=t.onChange,this._onClose=t.onClose,this._listeners=new Map,this._closed=!1,this._signal=t.signal,this._snapshot=aY(e),this._poll=()=>{if(this._closed)return;let r;try{r=aY(this._path)}catch(i){this.emit("error",i);return}if(r.signature===this._snapshot.signature)return;let n=this._snapshot;this._snapshot=r,this._onChange(r,n)},this._handleAbort=()=>{this.close()},this._timer=K2(this._poll,this._intervalMs),t.persistent===!1&&this._timer?.unref?.(),this._signal&&(this._signal.aborted?queueMicrotask(()=>this.close()):this._signal.addEventListener("abort",this._handleAbort,{once:!0}))}on(e,t){let r=this._listeners.get(e)??[];return r.push(t),this._listeners.set(e,r),this}addListener(e,t){return this.on(e,t)}once(e,t){let r=(...n)=>{this.removeListener(e,r),t(...n)};return r._originalListener=t,this.on(e,r)}off(e,t){return this.removeListener(e,t)}removeListener(e,t){let r=this._listeners.get(e);if(!r)return this;let n=r.findIndex(i=>i===t||i._originalListener===t);return n>=0&&r.splice(n,1),r.length===0&&this._listeners.delete(e),this}removeAllListeners(e){return e===void 0?this._listeners.clear():this._listeners.delete(e),this}emit(e,...t){let r=this._listeners.get(e);return r?.length?(r.slice().forEach(n=>n(...t)),!0):!1}ref(){return this._timer?.ref?.(),this}unref(){return this._timer?.unref?.(),this}close(){this._closed||(this._closed=!0,this._timer!==void 0&&(X2(this._timer),this._timer=void 0),this._signal&&this._signal.removeEventListener("abort",this._handleAbort),this._onClose?.(),this.emit("close"))}};function m1e(e,t){let r=r0.get(e)??new Set;r.add(t),r0.set(e,r)}function B1e(e,t){let r=r0.get(e);r&&(r.delete(t),r.size===0&&r0.delete(e))}function I1e(e,t){let r=g1e(e,t.encoding),n=new EV(e,{interval:E1e,persistent:t.persistent,signal:t.signal,onChange(i,s){n.emit("change",p1e(s,i),r)}});return n}function b1e(e,t,r){let n=new EV(e,{interval:t.interval??y1e,persistent:t.persistent,onChange(i,s){n.emit("change",i.stats,s.stats)},onClose(){B1e(e,n)}});return n.on("change",r),m1e(e,n),n}async function*C1e(e,t){let r=[],n=null,i=!1,s=null,o=$.watch(e,t,(a,A)=>{r.push({eventType:a,filename:A}),n?.(),n=null});o.on("close",()=>{i=!0,n?.(),n=null}),o.on("error",a=>{s=a,n?.(),n=null});try{for(;;){if(r.length>0){yield r.shift();continue}if(s)throw s;if(i)return;await new Promise(a=>{n=a})}}finally{o.close()}}function C2(e){return e==null||typeof e=="object"&&!Array.isArray(e)}function Ds(e){if(e==null||e===-1)return null;if(typeof e=="bigint")return Number(e);if(typeof e!="number"||!Number.isInteger(e))throw bt("position","an integer",e);return e}function qB(e,t,r){let n=t??0;if(typeof n!="number"||!Number.isInteger(n))throw bt("offset","an integer",n);if(n<0||n>e)throw Do("offset",`>= 0 && <= ${e}`,n);let i=e-n,s=r??i;if(typeof s!="number"||!Number.isInteger(s))throw bt("length","an integer",s);if(s<0||s>2147483647)throw Do("length",">= 0 && <= 2147483647",s);if(n+s>e)throw Do("length",`>= 0 && <= ${e-n}`,s);return{offset:n,length:s}}function Q1e(e,t,r,n){if(!AI(e))throw bt("buffer","an instance of Buffer, TypedArray, or DataView",e);if(r===void 0&&n===void 0&&C2(t)){let o=t??{},{offset:a,length:A}=qB(e.byteLength,o.offset,o.length);return{buffer:e,offset:a,length:A,position:Ds(o.position)}}let{offset:i,length:s}=qB(e.byteLength,t,r);return{buffer:e,offset:i,length:s,position:Ds(n)}}function AY(e,t,r,n){if(typeof e=="string"){if(r===void 0&&n===void 0&&C2(t)){let o=t??{},a=typeof o.encoding=="string"?o.encoding:void 0;return{buffer:e,offset:0,length:Tt.Buffer.byteLength(e,a),position:Ds(o.position),encoding:a}}if(t!=null&&typeof t!="number")throw bt("position","an integer",t);return{buffer:e,offset:0,length:Tt.Buffer.byteLength(e,typeof r=="string"?r:void 0),position:Ds(t),encoding:typeof r=="string"?r:void 0}}if(!AI(e))throw bt("buffer","a string, Buffer, TypedArray, or DataView",e);if(r===void 0&&n===void 0&&C2(t)){let o=t??{},{offset:a,length:A}=qB(e.byteLength,o.offset,o.length);return{buffer:e,offset:a,length:A,position:Ds(o.position)}}let{offset:i,length:s}=qB(e.byteLength,t,typeof r=="number"?r:void 0);return{buffer:e,offset:i,length:s,position:Ds(n)}}function ar(e){return Kr("fd",e)}function Zm(e){if(!Array.isArray(e))throw bt("buffers","an ArrayBufferView[]",e);for(let t of e)if(!AI(t))throw bt("buffers","an ArrayBufferView[]",e);return e}function Q2(e,t){if(e===void 0)return;if(e===null||typeof e!="object")throw bt("options.fs","an object",e);let r=e;for(let n of t)if(typeof r[n]!="function")throw f1e(`options.fs.${String(n)}`,r[n]);return r}function GB(e){if(e!==void 0)return e instanceof yu?e:Kr("fd",e)}function fY(e,t){if(e===null){if(t===void 0)throw bt("path","of type string or an instance of Buffer or URL",e);return null}if(typeof e=="string"||Tt.Buffer.isBuffer(e))return e;if(e instanceof URL){if(e.protocol==="file:")return e.pathname;throw bt("path","of type string or an instance of Buffer or URL",e)}throw bt("path","of type string or an instance of Buffer or URL",e)}function w1e(e){let t=e?.start,r=e?.end;if(t!==void 0&&typeof t!="number")throw bt("start","of type number",t);if(r!==void 0&&typeof r!="number")throw bt("end","of type number",r);let n=t,i=r;if(n!==void 0&&(!Number.isFinite(n)||n<0))throw Do("start",">= 0",t);if(i!==void 0&&(!Number.isFinite(i)||i<0))throw Do("end",">= 0",r);if(n!==void 0&&i!==void 0&&n>i)throw Do("start",`<= "end" (here: ${i})`,n);let s=e?.highWaterMark??e?.bufferSize,o=typeof s=="number"&&Number.isFinite(s)&&s>0?Math.floor(s):65536;return{start:n,end:i,highWaterMark:o,autoClose:e?.autoClose!==!1}}var fI=class{constructor(e,t){y(this,"_options");y(this,"bytesRead",0);y(this,"path");y(this,"pending",!0);y(this,"readable",!0);y(this,"readableAborted",!1);y(this,"readableDidRead",!1);y(this,"readableEncoding",null);y(this,"readableEnded",!1);y(this,"readableFlowing",null);y(this,"readableHighWaterMark",65536);y(this,"readableLength",0);y(this,"readableObjectMode",!1);y(this,"destroyed",!1);y(this,"closed",!1);y(this,"errored",null);y(this,"fd",null);y(this,"autoClose",!0);y(this,"start");y(this,"end");y(this,"_listeners",new Map);y(this,"_started",!1);y(this,"_reading",!1);y(this,"_readScheduled",!1);y(this,"_opening",!1);y(this,"_remaining",null);y(this,"_position",null);y(this,"_fileHandle",null);y(this,"_streamFs");y(this,"_signal");y(this,"_handleCloseListener");this._options=t;let r=GB(t?.fd),i=w1e(t??{});if(this.path=e,this.start=i.start,this.end=i.end,this.autoClose=i.autoClose,this.readableHighWaterMark=i.highWaterMark,this.readableEncoding=t?.encoding??null,this._position=this.start??null,this._remaining=this.end!==void 0?this.end-(this.start??0)+1:null,this._signal=I2(t?.signal),r instanceof yu){if(t?.fs!==void 0){let s=new Error("The FileHandle with fs method is not implemented");throw s.code="ERR_METHOD_NOT_IMPLEMENTED",s}this._fileHandle=r,this.fd=r.fd,this.pending=!1,this._handleCloseListener=()=>{this.closed||(this.closed=!0,this.destroyed=!0,this.readable=!1,this.emit("close"))},this._fileHandle.on("close",this._handleCloseListener)}else this._streamFs=Q2(t?.fs,["open","read","close"]),typeof r=="number"&&(this.fd=r,this.pending=!1);this._signal&&(this._signal.aborted?queueMicrotask(()=>{this._abort(this._signal?.reason)}):this._signal.addEventListener("abort",()=>{this._abort(this._signal?.reason)})),this.fd===null&&queueMicrotask(()=>{this._openIfNeeded()})}_emitOpen(e){this.fd=e,this.pending=!1,this.emit("open",e),(this._started||this.readableFlowing)&&this._scheduleRead()}async _openIfNeeded(){if(this.fd!==null||this._opening||this.destroyed||this.closed)return;let e=typeof this.path=="string"?this.path:this.path instanceof Tt.Buffer?this.path.toString():null;if(!e){this._handleStreamError(Je("EBADF","EBADF: bad file descriptor","read"));return}this._opening=!0,(this._streamFs?.open??$.open).bind(this._streamFs??$)(e,"r",438,(r,n)=>{if(this._opening=!1,r||typeof n!="number"){this._handleStreamError(r??Je("EBADF","EBADF: bad file descriptor","open"));return}this._emitOpen(n)})}async _closeUnderlying(){if(this._fileHandle){this._fileHandle.closed||await this._fileHandle.close();return}if(this.fd!==null&&this.fd>=0){let e=this.fd,t=(this._streamFs?.close??$.close).bind(this._streamFs??$);await new Promise(r=>{t(e,()=>r())}),this.fd=-1}}_scheduleRead(){this._readScheduled||this._reading||this.readableFlowing===!1||this.destroyed||this.closed||(this._readScheduled=!0,queueMicrotask(()=>{this._readScheduled=!1,this._readNextChunk()}))}async _readNextChunk(){if(this._reading||this.destroyed||this.closed||this.readableFlowing===!1)return;if(Ng(this._signal),this.fd===null){await this._openIfNeeded();return}if(this._remaining===0){await this._finishReadable();return}let e=this._remaining===null?this.readableHighWaterMark:Math.min(this.readableHighWaterMark,this._remaining),t=Tt.Buffer.alloc(e);this._reading=!0;let r=async(i,s=0)=>{if(this._reading=!1,i){this._handleStreamError(i);return}if(s===0){await this._finishReadable();return}this.bytesRead+=s,this.readableDidRead=!0,typeof this._position=="number"&&(this._position+=s),this._remaining!==null&&(this._remaining-=s);let o=t.subarray(0,s);if(this.emit("data",this.readableEncoding?o.toString(this.readableEncoding):Tt.Buffer.from(o)),this._remaining===0){await this._finishReadable();return}this._scheduleRead()};if(this._fileHandle){try{let i=await this._fileHandle.read(t,0,e,this._position);await r(null,i.bytesRead)}catch(i){await r(i)}return}(this._streamFs?.read??$.read).bind(this._streamFs??$)(this.fd,t,0,e,this._position,(i,s)=>{r(i,s??0)})}async _finishReadable(){this.readableEnded||(this.readable=!1,this.readableEnded=!0,this.emit("end"),this.autoClose&&this.destroy())}_handleStreamError(e){this.closed||(this.errored=e,this.emit("error",e),this.autoClose?this.destroy():this.readable=!1)}async _abort(e){if(!(this.closed||this.destroyed)){if(this.readableAborted=!0,this.errored=hV(e),this.emit("error",this.errored),this._fileHandle){this.destroyed=!0,this.readable=!1,this.closed=!0,this.emit("close");return}if(this.autoClose){this.destroy();return}this.closed=!0,this.emit("close")}}async _readAllContent(){let e=[],t=0,r=this.readableFlowing;for(this.readableFlowing=!1;this._remaining!==0&&(this.fd===null&&await this._openIfNeeded(),this.fd!==null);){let n=this._remaining===null?B2:Math.min(B2,this._remaining),i=Tt.Buffer.alloc(n),s=0;if(this._fileHandle?s=(await this._fileHandle.read(i,0,n,this._position)).bytesRead:s=$.readSync(this.fd,i,0,n,this._position),s===0)break;let o=i.subarray(0,s);e.push(o),t+=s,typeof this._position=="number"&&(this._position+=s),this._remaining!==null&&(this._remaining-=s)}return this.readableFlowing=r,Tt.Buffer.concat(e,t)}on(e,t){let r=this._listeners.get(e)??[];return r.push(t),this._listeners.set(e,r),e==="data"&&(this._started=!0,this.readableFlowing!==!1&&(this.readableFlowing=!0,this._scheduleRead())),this}once(e,t){let r=(...n)=>{this.off(e,r),t(...n)};return r._originalListener=t,this.on(e,r)}off(e,t){let r=this._listeners.get(e);if(!r)return this;let n=r.findIndex(i=>i===t||i._originalListener===t);return n>=0&&r.splice(n,1),this}removeListener(e,t){return this.off(e,t)}removeAllListeners(e){return e===void 0?this._listeners.clear():this._listeners.delete(e),this}emit(e,...t){let r=this._listeners.get(e);return r?.length?(r.slice().forEach(n=>n(...t)),!0):!1}read(){return null}pipe(e,t){return this.on("data",r=>{e.write(r)}),this.on("end",()=>{e.end?.()}),this.resume(),e}unpipe(e){return this}pause(){return this.readableFlowing=!1,this}resume(){return this._started=!0,this.readableFlowing=!0,this._scheduleRead(),this}setEncoding(e){return this.readableEncoding=e,this}destroy(e){return this.destroyed?this:(this.destroyed=!0,this.readable=!1,e&&(this.errored=e,this.emit("error",e)),queueMicrotask(()=>{this._closeUnderlying().then(()=>{this.closed||(this.closed=!0,this.emit("close"))})}),this)}close(e){this.destroy(),e&&queueMicrotask(()=>e(null))}async*[Symbol.asyncIterator](){let e=await this._readAllContent();yield this.readableEncoding?e.toString(this.readableEncoding):e}},uY=16*1024*1024,uI=class{constructor(e,t){y(this,"_options");y(this,"bytesWritten",0);y(this,"path");y(this,"pending",!1);y(this,"writable",!0);y(this,"writableAborted",!1);y(this,"writableEnded",!1);y(this,"writableFinished",!1);y(this,"writableHighWaterMark",16384);y(this,"writableLength",0);y(this,"writableObjectMode",!1);y(this,"writableCorked",0);y(this,"destroyed",!1);y(this,"closed",!1);y(this,"errored",null);y(this,"writableNeedDrain",!1);y(this,"fd",null);y(this,"autoClose",!0);y(this,"_chunks",[]);y(this,"_listeners",new Map);y(this,"_fileHandle",null);y(this,"_streamFs");y(this,"_position",null);this._options=t;let r=GB(t?.fd),n=t?.start,i=t?.highWaterMark??t?.bufferSize,s=t?.flags??"w";if(this.path=e,this.autoClose=t?.autoClose!==!1,this.writableHighWaterMark=typeof i=="number"&&Number.isFinite(i)&&i>0?Math.floor(i):16384,this._position=typeof n=="number"?n:null,this._streamFs=Q2(t?.fs,["open","close","write"]),t?.fs!==void 0&&Q2(t?.fs,["writev"]),r instanceof yu){this._fileHandle=r,this.fd=r.fd;return}if(typeof r=="number"){this.fd=r;return}let o=typeof this.path=="string"?this.path:this.path instanceof Tt.Buffer?this.path.toString():null;if(!o)throw Je("EBADF","EBADF: bad file descriptor","write");this.fd=$.openSync(o,s,t?.mode),queueMicrotask(()=>{this.fd!==null&&this.fd>=0&&this.emit("open",this.fd)})}async _closeUnderlying(){if(this._fileHandle){this._fileHandle.closed||await this._fileHandle.close();return}if(this.fd!==null&&this.fd>=0){let e=this.fd,t=(this._streamFs?.close??$.close).bind(this._streamFs??$);await new Promise(r=>{t(e,()=>r())}),this.fd=-1}}close(e){queueMicrotask(()=>{this._closeUnderlying().then(()=>{this.closed||(this.closed=!0,this.writable=!1,this.emit("close")),e?.(null)})})}write(e,t,r){if(this.writableEnded||this.destroyed){let s=new Error("write after end"),o=typeof t=="function"?t:r;return queueMicrotask(()=>o?.(s)),!1}let n;if(typeof e=="string")n=Tt.Buffer.from(e,typeof t=="string"?t:"utf8");else if(AI(e))n=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);else throw bt("chunk","a string, Buffer, TypedArray, or DataView",e);if(this.writableLength+n.length>uY){let s=new Error(`WriteStream buffer exceeded ${uY} bytes`);this.errored=s,this.destroyed=!0,this.writable=!1;let o=typeof t=="function"?t:r;return queueMicrotask(()=>{o?.(s),this.emit("error",s)}),!1}this._chunks.push(n),this.bytesWritten+=n.length,this.writableLength+=n.length;let i=typeof t=="function"?t:r;return queueMicrotask(()=>i?.(null)),!0}end(e,t,r){if(this.writableEnded)return this;let n;return typeof e=="function"?n=e:typeof t=="function"?(n=t,e!=null&&this.write(e)):(n=r,e!=null&&this.write(e,t)),this.writableEnded=!0,this.writable=!1,this.writableFinished=!0,this.writableLength=0,queueMicrotask(()=>{(async()=>{try{if(this._fileHandle){for(let i of this._chunks){let s=await this._fileHandle.write(i,0,i.byteLength,this._position);typeof this._position=="number"&&(this._position+=s?.bytesWritten??i.byteLength)}this.autoClose&&!this._fileHandle.closed&&await this._fileHandle.close()}else{let i=typeof this.path=="string"?this.path:this.path instanceof Tt.Buffer?this.path.toString():null;if(this.fd!==null&&this.fd>=0){let s=$.writevSync(this.fd,this._chunks,this._position);typeof this._position=="number"&&(this._position+=s),this.autoClose&&await this._closeUnderlying()}else if(i){let s=this._chunks.map(o=>Tt.Buffer.from(o));if(typeof this._position=="number"){let o=$.readFileSync(i),a=Math.max(o.length,this._position+s.reduce((l,p)=>l+p.length,0)),A=Tt.Buffer.alloc(a);o.copy(A);let f=this._position;for(let l of s)l.copy(A,f),f+=l.length;$.writeFileSync(i,A)}else $.writeFileSync(i,Tt.Buffer.concat(s));this.autoClose&&this.fd!==null&&this.fd>=0&&await this._closeUnderlying()}else throw Je("EBADF","EBADF: bad file descriptor","write")}this.emit("finish"),this.autoClose&&!this.closed&&(this.closed=!0,this.emit("close")),n?.()}catch(i){this.errored=i,this.emit("error",i)}})()}),this}setDefaultEncoding(e){return this}cork(){this.writableCorked++}uncork(){this.writableCorked>0&&this.writableCorked--}destroy(e){return this.destroyed?this:(this.destroyed=!0,this.writable=!1,e&&(this.errored=e,this.emit("error",e)),queueMicrotask(()=>{this._closeUnderlying().then(()=>{this.closed||(this.closed=!0,this.emit("close"))})}),this)}addListener(e,t){return this.on(e,t)}on(e,t){let r=this._listeners.get(e)??[];return r.push(t),this._listeners.set(e,r),this}once(e,t){let r=(...n)=>{this.removeListener(e,r),t(...n)};return this.on(e,r)}removeListener(e,t){let r=this._listeners.get(e);if(!r)return this;let n=r.indexOf(t);return n>=0&&r.splice(n,1),this}off(e,t){return this.removeListener(e,t)}removeAllListeners(e){return e===void 0?this._listeners.clear():this._listeners.delete(e),this}emit(e,...t){let r=this._listeners.get(e);return r?.length?(r.slice().forEach(n=>n(...t)),!0):!1}pipe(e,t){return e}unpipe(e){return this}[Symbol.asyncDispose](){return Promise.resolve()}},S1e=fI,_1e=uI,yV=function(t,r){return ir(r),new S1e(t,r)};yV.prototype=fI.prototype;var mV=function(t,r){return ir(r),pV(r??{}),new _1e(t,r)};mV.prototype=uI.prototype;function v1e(e){if(typeof e=="number")return e;let t={r:m2,"r+":Ba,rs:m2,"rs+":Ba,w:fu|qn|uu,"w+":Ba|qn|uu,a:fu|cu|qn,"a+":Ba|cu|qn,wx:fu|qn|uu|Ia,xw:fu|qn|uu|Ia,"wx+":Ba|qn|uu|Ia,"xw+":Ba|qn|uu|Ia,ax:fu|cu|qn|Ia,xa:fu|cu|qn|Ia,"ax+":Ba|cu|qn|Ia,"xa+":Ba|cu|qn|Ia};if(e in t)return t[e];throw new Error("Unknown file flag: "+e)}var cY={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENAMETOOLONG:36,ENOSYS:38,ENOTEMPTY:39,ELOOP:40,EOVERFLOW:75,ENOTSOCK:88,EDESTADDRREQ:89,EMSGSIZE:90,EPROTOTYPE:91,ENOPROTOOPT:92,EPROTONOSUPPORT:93,ENOTSUP:95,EOPNOTSUPP:95,EAFNOSUPPORT:97,EADDRINUSE:98,EADDRNOTAVAIL:99,ENETDOWN:100,ENETUNREACH:101,ECONNABORTED:103,ECONNRESET:104,ENOBUFS:105,EISCONN:106,ENOTCONN:107,ETIMEDOUT:110,ECONNREFUSED:111,EHOSTUNREACH:113,EALREADY:114,EINPROGRESS:115};function R1e(e){return Object.prototype.hasOwnProperty.call(cY,e)?-cY[e]:-1}function Je(e,t,r,n){let i=new Error(t);return i.code=e,i.errno=R1e(e),i.syscall=r,n&&(i.path=n),i}function D1e(e){return String(e?.message??e??"")}function Ji(e){let t=D1e(e);return t.includes("ENOENT")||t.includes("entry not found")||t.includes("no such file or directory")||t.includes("not found")?"ENOENT":t.includes("EROFS")||t.includes("read-only file system")?"EROFS":t.includes("ERR_ACCESS_DENIED")?"ERR_ACCESS_DENIED":t.includes("EACCES")||t.includes("permission denied")?"EACCES":t.includes("EEXIST")||t.includes("file already exists")?"EEXIST":t.includes("EINVAL")||t.includes("invalid argument")?"EINVAL":t.includes("EXDEV")||t.includes("cross-device link")?"EXDEV":typeof e?.code=="string"&&e.code.length>0?e.code:null}function qi(e,t,r){try{return e()}catch(n){let i=Ji(n);throw i==="ENOENT"?Je("ENOENT",`ENOENT: no such file or directory, ${t} '${r}'`,t,r):i==="EACCES"?Je("EACCES",`EACCES: permission denied, ${t} '${r}'`,t,r):i==="EEXIST"?Je("EEXIST",`EEXIST: file already exists, ${t} '${r}'`,t,r):i==="EINVAL"?Je("EINVAL",`EINVAL: invalid argument, ${t} '${r}'`,t,r):i==="EXDEV"?Je("EXDEV",`EXDEV: cross-device link not permitted, ${t} '${r}'`,t,r):n}}function T1e(e){let t="",r=0;for(;r<e.length;){let n=e[r];if(n==="*"&&e[r+1]==="*")e[r+2]==="/"?(t+="(?:.+/)?",r+=3):(t+=".*",r+=2);else if(n==="*")t+="[^/]*",r++;else if(n==="?")t+="[^/]",r++;else if(n==="{"){let i=e.indexOf("}",r);if(i!==-1){let s=e.slice(r+1,i).split(",");t+="(?:"+s.map(o=>o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/\\\*/g,"[^/]*")).join("|")+")",r=i+1}else t+="\\{",r++}else if(n==="["){let i=e.indexOf("]",r);i!==-1?(t+=e.slice(r,i+1),r=i+1):(t+="\\[",r++)}else".+^${}()|[]\\".includes(n)?(t+="\\"+n,r++):(t+=n,r++)}return new RegExp("^"+t+"$")}function N1e(e){let t=e.split("/"),r=[];for(let n of t){if(/[*?{}\[\]]/.test(n))break;r.push(n)}return r.join("/")||"/"}var M1e=100;function F1e(e,t){let r=T1e(e),n=N1e(e),i=(s,o)=>{if(o>M1e)return;let a;try{a=BV(s)}catch{return}for(let A of a){let f=s==="/"?"/"+A:s+"/"+A;r.test(f)&&t.push(f);try{w2(f).isDirectory()&&i(f,o+1)}catch{}}};try{if(r.test(n)&&!w2(n).isDirectory()){t.push(n);return}i(n,0)}catch{}}var BV,w2;function _1(e){return Be(e)}function YB(e){return typeof globalThis<"u"?globalThis[e]:void 0}function Ce(e){return{applySync(t,r){let n=YB(e);if(typeof n=="function")return n(...r||[]);if(n&&typeof n.applySync=="function")return n.applySync(t,r)},applySyncPromise(t,r){let n=YB(e);if(typeof n=="function")return n(...r||[]);if(n&&typeof n.applySync=="function")return n.applySync(t,r);if(n&&typeof n.applySyncPromise=="function")return n.applySyncPromise(t,r)}}}function Mg(e){let t=YB(e);return typeof t=="function"||!!(t&&(typeof t.applySync=="function"||typeof t.applySyncPromise=="function"))}function Cr(e){return{apply(t,r){let n=YB(e);return typeof n=="function"?n(...r||[]):n&&typeof n.apply=="function"?n.apply(t,r):Promise.resolve(void 0)}}}var Lt={readFile:Ce("_fsReadFile"),writeFile:Ce("_fsWriteFile"),readFileBinary:Ce("_fsReadFileBinary"),writeFileBinary:Ce("_fsWriteFileBinary"),writeFileBinaryRaw:Ce("_fsWriteFileBinaryRaw"),readDir:Ce("_fsReadDir"),mkdir:Ce("_fsMkdir"),rmdir:Ce("_fsRmdir"),exists:Ce("_fsExists"),stat:Ce("_fsStat"),unlink:Ce("_fsUnlink"),rename:Ce("_fsRename"),chmod:Ce("_fsChmod"),chown:Ce("_fsChown"),link:Ce("_fsLink"),symlink:Ce("_fsSymlink"),readlink:Ce("_fsReadlink"),lstat:Ce("_fsLstat"),truncate:Ce("_fsTruncate"),utimes:Ce("_fsUtimes"),lutimes:Ce("_fsLutimes")},Er={readFile:Cr("_fsReadFileAsync"),writeFile:Cr("_fsWriteFileAsync"),readFileBinary:Cr("_fsReadFileBinaryAsync"),writeFileBinary:Cr("_fsWriteFileBinaryAsync"),readDir:Cr("_fsReadDirAsync"),mkdir:Cr("_fsMkdirAsync"),rmdir:Cr("_fsRmdirAsync"),stat:Cr("_fsStatAsync"),unlink:Cr("_fsUnlinkAsync"),rename:Cr("_fsRenameAsync"),chmod:Cr("_fsChmodAsync"),chown:Cr("_fsChownAsync"),link:Cr("_fsLinkAsync"),symlink:Cr("_fsSymlinkAsync"),readlink:Cr("_fsReadlinkAsync"),lstat:Cr("_fsLstatAsync"),truncate:Cr("_fsTruncateAsync"),utimes:Cr("_fsUtimesAsync"),lutimes:Cr("_fsLutimesAsync"),access:Cr("_fsAccessAsync")},k1e=Ce("fs.openSync"),IV=Ce("fs.closeSync"),x1e=Ce("fs.readSync"),U1e=Ce("_fsReadRaw"),L1e=Ce("fs.writeSync"),P1e=Ce("_fsWriteRaw"),O1e=Ce("_fsWritevRaw"),H1e=Ce("fs.fstatSync"),q1e=Ce("fs.ftruncateSync"),lY=Ce("fs.fsyncSync"),G1e=Ce("fs.futimesSync"),LA=Ce("fs._getPathSync"),Y1e=Ce("process.umask"),W1e=Ce("process.memoryUsage"),V1e=Ce("process.cpuUsage"),J1e=Ce("process.resourceUsage"),j1e=Ce("process.versions"),kke=Ce("_kernelPollRaw"),xke=Ce("_kernelIsattyRaw"),Uke=Ce("_kernelTtySizeRaw");function Fa(e){return typeof e=="string"?JSON.parse(e):e}function n0(e){return{__agentOSType:"bytes",base64:Tt.Buffer.from(e).toString("base64")}}function gB(e,t,r){let n=Ji(e);if(n==="ENOENT")throw Je("ENOENT",`ENOENT: no such file or directory, ${t} '${r}'`,t,r);if(n==="EROFS")throw Je("EROFS",`EROFS: read-only file system, ${t} '${r}'`,t,r);if(n==="ERR_ACCESS_DENIED"){let i=Je("ERR_ACCESS_DENIED",`ERR_ACCESS_DENIED: permission denied, ${t} '${r}'`,t,r);throw i.code="ERR_ACCESS_DENIED",i}throw n==="EACCES"?Je("EACCES",`EACCES: permission denied, ${t} '${r}'`,t,r):e}function z1e(e,t){return e==="/"?`/${t}`:e.endsWith("/")?`${e}${t}`:`${e}/${t}`}function wR(e,t,r){return Array.isArray(e)?r?e.map(n=>{if(typeof n=="string"){let i=$.statSync(z1e(t,n));return new OB(n,i.isDirectory(),t)}return new OB(n.name,n.isDirectory,t)}):e.map(n=>typeof n=="string"?n:n?.name):[]}function K1e(e,t,r){if(!(e instanceof Uint8Array))return wR(e,t,r);let n=[],i=0;for(;i<e.byteLength;){if(i+5>e.byteLength)throw new Error("Invalid raw readdir payload");let s=e[i++],o=e[i]|e[i+1]<<8|e[i+2]<<16|e[i+3]<<24;if(i+=4,o<0||i+o>e.byteLength)throw new Error("Invalid raw readdir entry");let a=Tt.Buffer.from(e.buffer,e.byteOffset+i,o).toString("utf8");i+=o,n.push(r?new OB(a,s===1,t):a)}return n}async function v1(e,t){ir(t);let r=typeof e=="number"?LA.applySync(void 0,[ar(e)]):Be(e);if(!r)throw Je("EBADF","EBADF: bad file descriptor","read");let n=r,i=typeof t=="string"?t:t?.encoding;try{if(i)return await Er.readFile.apply(void 0,[n,i]);let s=await Er.readFileBinary.apply(void 0,[n]);return Tt.Buffer.from(s,"base64")}catch(s){throw Ji(s)==="ENOENT"?Je("ENOENT",`ENOENT: no such file or directory, open '${r}'`,"open",r):Ji(s)==="EACCES"?Je("EACCES",`EACCES: permission denied, open '${r}'`,"open",r):s}}async function R1(e,t,r){ir(r);let n=typeof e=="number"?LA.applySync(void 0,[ar(e)]):Be(e);if(!n)throw Je("EBADF","EBADF: bad file descriptor","write");let i=n;try{if(typeof t=="string")return await Er.writeFile.apply(void 0,[i,t]);if(ArrayBuffer.isView(t)){let s=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);return Mg("_fsWriteFileBinaryRaw")?Lt.writeFileBinaryRaw.applySyncPromise(void 0,[i,s]):await Er.writeFileBinary.apply(void 0,[i,n0(s)])}return await Er.writeFile.apply(void 0,[i,String(t)])}catch(s){gB(s,"write",n)}}async function X1e(e,t){ir(t);let r=Be(e);try{let n=await Er.readDir.apply(void 0,[r]);return wR(Fa(n),r,t?.withFileTypes)}catch(n){throw Ji(n)==="ENOENT"?Je("ENOENT",`ENOENT: no such file or directory, scandir '${r}'`,"scandir",r):n}}async function Z1e(e,t){let r=Be(e),n=typeof t=="object"?t?.recursive??!1:!1;return await Er.mkdir.apply(void 0,[r,n]),n?r:void 0}async function $1e(e){let t=Be(e);await Er.rmdir.apply(void 0,[t])}async function e2e(e){let t=Be(e);try{let r=await Er.stat.apply(void 0,[t]);return new Eu(Fa(r))}catch(r){throw Ji(r)==="ENOENT"?Je("ENOENT",`ENOENT: no such file or directory, stat '${t}'`,"stat",t):r}}async function t2e(e){let t=Be(e),r=await Er.lstat.apply(void 0,[t]);return new Eu(Fa(r))}async function r2e(e){let t=Be(e);await Er.unlink.apply(void 0,[t])}async function n2e(e,t){let r=Be(e,"oldPath"),n=Be(t,"newPath");await Er.rename.apply(void 0,[r,n])}async function i2e(e){let t=Be(e);try{await Er.access.apply(void 0,[t])}catch(r){throw Ji(r)==="ENOENT"?Je("ENOENT",`ENOENT: no such file or directory, access '${t}'`,"access",t):r}}async function s2e(e,t){let r=Be(e),n=_a(t,"mode");await Er.chmod.apply(void 0,[r,n])}async function o2e(e,t,r){let n=Be(e),i=Kr("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),s=Kr("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0});await Er.chown.apply(void 0,[n,i,s])}async function a2e(e,t){let r=Be(e,"existingPath"),n=Be(t,"newPath");await Er.link.apply(void 0,[r,n])}async function A2e(e,t){let r=Be(e,"target"),n=Be(t);await Er.symlink.apply(void 0,[r,n])}async function f2e(e){let t=Be(e);return await Er.readlink.apply(void 0,[t])}async function u2e(e,t){let r=Be(e);await Er.truncate.apply(void 0,[r,t??0])}function vo(e,t){if(e&&typeof e=="object"&&!(e instanceof Date)){let o=typeof e.kind=="string"?e.kind:null;if(o==="now"||o==="UTIME_NOW")return{kind:"now"};if(o==="omit"||o==="UTIME_OMIT")return{kind:"omit"};if("nsec"in e){if(e.nsec===$.constants.UTIME_NOW||e.nsec==="UTIME_NOW")return{kind:"now"};if(e.nsec===$.constants.UTIME_OMIT||e.nsec==="UTIME_OMIT")return{kind:"omit"}}let a=Number(e.sec),A=Number(e.nsec??0);if(!Number.isInteger(a))throw bt(t,"an integer sec field",e);if(!Number.isInteger(A)||A<0||A>=1e9)throw createRangeError(`${t}.nsec must be an integer between 0 and 999999999`);return{sec:a,nsec:A}}let r=typeof e=="number"?e:new Date(e).getTime()/1e3;if(!Number.isFinite(r))throw createRangeError(`${t} must be a finite timestamp`);let n=Math.floor(r),i=n,s=Math.round((r-n)*1e9);return s>=1e9&&(i+=1,s-=1e9),{sec:i,nsec:s}}async function c2e(e,t,r){let n=Be(e);await Er.utimes.apply(void 0,[n,vo(t,"atime"),vo(r,"mtime")])}async function l2e(e,t,r){let n=Be(e);await Er.lutimes.apply(void 0,[n,vo(t,"atime"),vo(r,"mtime")])}function h2e(e){let t=4;for(let s of e){if(s.byteLength>4294967295)throw Do("buffer.byteLength","<= 4294967295",s.byteLength);t+=4+s.byteLength}let r=new Uint8Array(t),n=new DataView(r.buffer,r.byteOffset,r.byteLength);n.setUint32(0,e.length,!0);let i=4;for(let s of e){let o=s instanceof Uint8Array?s:new Uint8Array(s.buffer,s.byteOffset,s.byteLength);n.setUint32(i,o.byteLength,!0),i+=4,r.set(o,i),i+=o.byteLength}return r}var $={constants:{F_OK:0,R_OK:4,W_OK:2,X_OK:1,COPYFILE_EXCL:1,COPYFILE_FICLONE:2,COPYFILE_FICLONE_FORCE:4,O_RDONLY:m2,O_WRONLY:fu,O_RDWR:Ba,O_CREAT:qn,O_EXCL:Ia,O_NOCTTY:256,O_TRUNC:uu,O_APPEND:cu,O_DIRECTORY:65536,O_NOATIME:262144,O_NOFOLLOW:131072,O_SYNC:1052672,O_DSYNC:4096,O_SYMLINK:2097152,O_DIRECT:16384,O_NONBLOCK:2048,UTIME_NOW:1073741823,UTIME_OMIT:1073741822,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,UV_FS_O_FILEMAP:536870912},Stats:Eu,Dirent:OB,Dir:nY,readFileSync(e,t){ir(t);let r=typeof e=="number"?LA.applySync(void 0,[ar(e)]):Be(e);if(!r)throw Je("EBADF","EBADF: bad file descriptor","read");let n=r,i=typeof t=="string"?t:t?.encoding;try{if(i)return Lt.readFile.applySyncPromise(void 0,[n,i]);{let s=Lt.readFileBinary.applySyncPromise(void 0,[n]);return Tt.Buffer.from(s,"base64")}}catch(s){throw Ji(s)==="ENOENT"?Je("ENOENT",`ENOENT: no such file or directory, open '${r}'`,"open",r):Ji(s)==="EACCES"?Je("EACCES",`EACCES: permission denied, open '${r}'`,"open",r):s}},writeFileSync(e,t,r){ir(r);let n=typeof e=="number"?LA.applySync(void 0,[ar(e)]):Be(e);if(!n)throw Je("EBADF","EBADF: bad file descriptor","write");let i=n;try{if(typeof t=="string")return Lt.writeFile.applySyncPromise(void 0,[i,t]);if(ArrayBuffer.isView(t)){let s=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);return Mg("_fsWriteFileBinaryRaw")?Lt.writeFileBinaryRaw.applySyncPromise(void 0,[i,s]):Lt.writeFileBinary.applySyncPromise(void 0,[i,n0(s)])}else return Lt.writeFile.applySyncPromise(void 0,[i,String(t)])}catch(s){gB(s,"write",n)}},appendFileSync(e,t,r){ir(r);let n=Be(e),i="";try{i=$.existsSync(e)?$.readFileSync(e,"utf8"):""}catch(o){gB(o,"open",n)}let s=typeof t=="string"?t:String(t);try{$.writeFileSync(e,i+s,r)}catch(o){if(!o?.code)throw Je("EACCES",`EACCES: permission denied, write '${n}'`,"write",n);gB(o,"write",n)}},readdirSync(e,t){ir(t);let r=Be(e),n=r,i;try{i=Lt.readDir.applySyncPromise(void 0,[n])}catch(s){throw Ji(s)==="ENOENT"?Je("ENOENT",`ENOENT: no such file or directory, scandir '${r}'`,"scandir",r):s}return i instanceof Uint8Array?K1e(i,r,t?.withFileTypes):wR(Fa(i),r,t?.withFileTypes)},mkdirSync(e,t){let r=Be(e),n=r,i=typeof t=="object"?t?.recursive??!1:!1,s=typeof t=="object"?t?.mode:t,o=s===void 0?void 0:_a(s);return Lt.mkdir.applySyncPromise(void 0,[n,{recursive:i,mode:S1(o??511)}]),i?r:void 0},rmdirSync(e,t){let r=Be(e);Lt.rmdir.applySyncPromise(void 0,[r])},rmSync(e,t){let r=_1(e),n=t||{};try{if($.statSync(r).isDirectory())if(n.recursive){let s=$.readdirSync(r);for(let o of s){let a=r.endsWith("/")?r+o:r+"/"+o;$.statSync(a).isDirectory()?$.rmSync(a,{recursive:!0}):$.unlinkSync(a)}$.rmdirSync(r)}else $.rmdirSync(r);else $.unlinkSync(r)}catch(i){if(n.force&&i.code==="ENOENT")return;throw i}},existsSync(e){let t=sY(e);return t?t==="/dev/null"||t==="/dev/zero"||t==="/dev/urandom"||t==="/dev/stdin"||t==="/dev/stdout"||t==="/dev/stderr"?!0:Lt.exists.applySyncPromise(void 0,[t]):!1},statSync(e,t){let r=Be(e),n=r,i;try{i=Lt.stat.applySyncPromise(void 0,[n])}catch(o){throw Ji(o)==="ENOENT"?Je("ENOENT",`ENOENT: no such file or directory, stat '${r}'`,"stat",r):o}let s=Fa(i);return new Eu(s)},lstatSync(e,t){let r=Be(e),n=qi(()=>Lt.lstat.applySyncPromise(void 0,[r]),"lstat",r),i=Fa(n);return new Eu(i)},unlinkSync(e){let t=Be(e);Lt.unlink.applySyncPromise(void 0,[t])},renameSync(e,t){let r=Be(e,"oldPath"),n=Be(t,"newPath");Lt.rename.applySyncPromise(void 0,[r,n])},copyFileSync(e,t,r){let n=$.readFileSync(e);$.writeFileSync(t,n)},cpSync(e,t,r){let n=_1(e),i=_1(t),s=r||{};if($.statSync(n).isDirectory()){if(!s.recursive)throw Je("ERR_FS_EISDIR",`Path is a directory: cp '${n}'`,"cp",n);try{$.mkdirSync(i,{recursive:!0})}catch{}let a=$.readdirSync(n);for(let A of a){let f=n.endsWith("/")?n+A:n+"/"+A,l=i.endsWith("/")?i+A:i+"/"+A;$.cpSync(f,l,s)}}else{if(s.errorOnExist&&$.existsSync(i))throw Je("EEXIST",`EEXIST: file already exists, cp '${n}' -> '${i}'`,"cp",i);if(!s.force&&s.force!==void 0&&$.existsSync(i))return;$.copyFileSync(n,i)}},mkdtempSync(e,t){ir(t);let r=Be(e,"prefix"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let i=0;i<10;i+=1){let s=Da.randomBytes(6),o="";for(let A of s)o+=n[A%n.length];let a=r+o;try{return qi(()=>Lt.mkdir.applySyncPromise(void 0,[a,{recursive:!1,mode:S1(511)}]),"mkdir",a),a}catch(A){if(i<9&&(A?.code==="EEXIST"||Ji(A)==="EEXIST"))continue;throw A}}throw Je("EEXIST",`EEXIST: file already exists, mkdtemp '${r}'`,"mkdtemp",r)},opendirSync(e,t){let r=Be(e);if(!$.statSync(r).isDirectory())throw Je("ENOTDIR",`ENOTDIR: not a directory, opendir '${r}'`,"opendir",r);return new nY(r)},openSync(e,t,r){let n=Be(e),i=v1e(t??"r"),s=oY(r),o=i&qn?S1(s??438):s;try{return k1e.applySyncPromise(void 0,[n,i,o])}catch(a){let A=a?.message??String(a);throw A.includes("ENOENT")?Je("ENOENT",A,"open",n):A.includes("EMFILE")?Je("EMFILE",A,"open",n):a}},closeSync(e){if(ar(e),!b2e(e))try{IV.applySyncPromise(void 0,[e])}catch(t){throw(t?.message??String(t)).includes("EBADF")?Je("EBADF","EBADF: bad file descriptor, close","close"):t}},readSync(e,t,r,n,i){let s=Q1e(t,r,n,i),o;try{if(Mg("_fsReadRaw")){let f=U1e.applySyncPromise(void 0,[e,s.length,s.position??null]);o=f instanceof Uint8Array?f:Tt.Buffer.from(f)}else{let f=x1e.applySyncPromise(void 0,[e,s.length,s.position??null]);o=Tt.Buffer.from(f,"base64")}}catch(f){let l=f?.message??String(f);throw l.includes("EBADF")?Je("EBADF",l,"read"):f}let a=new Uint8Array(s.buffer.buffer,s.buffer.byteOffset,s.buffer.byteLength),A=Math.min(o.length,s.length);return a.set(o.subarray(0,A),s.offset),A},writeSync(e,t,r,n,i){let s=AY(t,r,n,i),o;typeof s.buffer=="string"?o=Tt.Buffer.from(s.buffer,s.encoding):o=new Uint8Array(s.buffer.buffer,s.buffer.byteOffset+s.offset,s.length);let a=s.position??null;try{return Mg("_fsWriteRaw")?P1e.applySyncPromise(void 0,[e,o,a]):L1e.applySyncPromise(void 0,[e,n0(o),a])}catch(A){let f=A?.message??String(A);throw f.includes("EBADF")?Je("EBADF",f,"write"):A}},fstatSync(e){ar(e);let t;try{t=H1e.applySyncPromise(void 0,[e])}catch(r){throw(r?.message??String(r)).includes("EBADF")?Je("EBADF","EBADF: bad file descriptor, fstat","fstat"):r}return new Eu(Fa(t))},ftruncateSync(e,t){ar(e);try{q1e.applySyncPromise(void 0,[e,t])}catch(r){throw(r?.message??String(r)).includes("EBADF")?Je("EBADF","EBADF: bad file descriptor, ftruncate","ftruncate"):r}},fsyncSync(e){ar(e);try{lY.applySyncPromise(void 0,[e])}catch(t){throw(t?.message??String(t)).includes("EBADF")?Je("EBADF","EBADF: bad file descriptor, fsync","fsync"):t}},fdatasyncSync(e){ar(e);try{lY.applySyncPromise(void 0,[e])}catch(t){throw(t?.message??String(t)).includes("EBADF")?Je("EBADF","EBADF: bad file descriptor, fdatasync","fdatasync"):t}},readvSync(e,t,r){let n=ar(e),i=Zm(t),s=0,a=Ds(r);for(let A of i){let f=A instanceof Uint8Array?A:new Uint8Array(A.buffer,A.byteOffset,A.byteLength),l=$.readSync(n,f,0,f.byteLength,a);if(s+=l,a!==null&&(a+=l),l<f.byteLength)break}return s},statfsSync(e,t){let r=Be(e);if(!$.existsSync(r))throw Je("ENOENT",`ENOENT: no such file or directory, statfs '${r}'`,"statfs",r);return{type:16914839,bsize:4096,blocks:262144,bfree:262144,bavail:262144,files:1e6,ffree:999999}},globSync(e,t){let r=Array.isArray(e)?e:[e],n=[];for(let i of r)F1e(i,n);return[...new Set(n)].sort()},chmodSync(e,t){let r=Be(e),n=_a(t);qi(()=>Lt.chmod.applySyncPromise(void 0,[r,n]),"chmod",r)},chownSync(e,t,r){let n=Be(e),i=Kr("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),s=Kr("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0});qi(()=>Lt.chown.applySyncPromise(void 0,[n,i,s]),"chown",n)},fchmodSync(e,t){let r=ar(e),n=LA.applySync(void 0,[r]);if(!n)throw Je("EBADF","EBADF: bad file descriptor","chmod");$.chmodSync(n,_a(t))},fchownSync(e,t,r){let n=ar(e),i=LA.applySync(void 0,[n]);if(!i)throw Je("EBADF","EBADF: bad file descriptor","chown");$.chownSync(i,t,r)},lchownSync(e,t,r){let n=Be(e),i=Kr("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),s=Kr("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0});qi(()=>Lt.chown.applySyncPromise(void 0,[n,i,s]),"chown",n)},linkSync(e,t){let r=Be(e,"existingPath"),n=Be(t,"newPath");qi(()=>Lt.link.applySyncPromise(void 0,[r,n]),"link",n)},symlinkSync(e,t,r){let n=Be(e,"target"),i=Be(t);qi(()=>Lt.symlink.applySyncPromise(void 0,[n,i]),"symlink",i)},readlinkSync(e,t){ir(t);let r=Be(e);return qi(()=>Lt.readlink.applySyncPromise(void 0,[r]),"readlink",r)},truncateSync(e,t){let r=Be(e);qi(()=>Lt.truncate.applySyncPromise(void 0,[r,t??0]),"truncate",r)},utimesSync(e,t,r){let n=Be(e);qi(()=>Lt.utimes.applySyncPromise(void 0,[n,vo(t,"atime"),vo(r,"mtime")]),"utimes",n)},lutimesSync(e,t,r){let n=Be(e);qi(()=>Lt.lutimes.applySyncPromise(void 0,[n,vo(t,"atime"),vo(r,"mtime")]),"lutimes",n)},futimesSync(e,t,r){let n=ar(e);qi(()=>G1e.applySyncPromise(void 0,[n,vo(t,"atime"),vo(r,"mtime")]),"futimes")},readFile(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r){Be(e),ir(t);try{r(null,$.readFileSync(e,t))}catch(n){r(n)}}else return Promise.resolve($.readFileSync(e,t))},writeFile(e,t,r,n){if(typeof r=="function"&&(n=r,r=void 0),n){Be(e),ir(r);try{$.writeFileSync(e,t,r),n(null)}catch(i){n(i)}}else return Promise.resolve($.writeFileSync(e,t,r))},appendFile(e,t,r,n){if(typeof r=="function"&&(n=r,r=void 0),n){Be(e),ir(r);try{$.appendFileSync(e,t,r),n(null)}catch(i){n(i)}}else return Promise.resolve($.appendFileSync(e,t,r))},readdir(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r){Be(e),ir(t);try{r(null,$.readdirSync(e,t))}catch(n){r(n)}}else return Promise.resolve($.readdirSync(e,t))},mkdir(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r){Be(e);try{$.mkdirSync(e,t),r(null)}catch(n){r(n)}}else return $.mkdirSync(e,t),Promise.resolve()},rmdir(e,t){if(t){Be(e);let r=t;try{$.rmdirSync(e),queueMicrotask(()=>r(null))}catch(n){queueMicrotask(()=>r(n))}}else return Promise.resolve($.rmdirSync(e))},rm(e,t,r){let n={},i;typeof t=="function"?i=t:(t&&(n=t),i=r);let s=()=>{try{if($.statSync(e).isDirectory())if(n.recursive){let a=$.readdirSync(e);for(let A of a){let f=e.endsWith("/")?e+A:e+"/"+A;$.statSync(f).isDirectory()?$.rmSync(f,{recursive:!0}):$.unlinkSync(f)}$.rmdirSync(e)}else $.rmdirSync(e);else $.unlinkSync(e)}catch(o){if(n.force&&o.code==="ENOENT")return;throw o}};if(i)try{s(),queueMicrotask(()=>i(null))}catch(o){queueMicrotask(()=>i(o))}else return s(),Promise.resolve()},exists(e,t){if(DA(t,"cb"),e===void 0)throw bt("path","of type string or an instance of Buffer or URL",e);queueMicrotask(()=>t(!!(sY(e)&&$.existsSync(e))))},stat(e,t){DA(t,"cb"),Be(e);let r=t;try{let n=$.statSync(e);queueMicrotask(()=>r(null,n))}catch(n){queueMicrotask(()=>r(n))}},lstat(e,t){if(t){let r=t;try{let n=$.lstatSync(e);queueMicrotask(()=>r(null,n))}catch(n){queueMicrotask(()=>r(n))}}else return Promise.resolve($.lstatSync(e))},unlink(e,t){if(t){Be(e);let r=t;try{$.unlinkSync(e),queueMicrotask(()=>r(null))}catch(n){queueMicrotask(()=>r(n))}}else return Promise.resolve($.unlinkSync(e))},rename(e,t,r){if(r){Be(e,"oldPath"),Be(t,"newPath");let n=r;try{$.renameSync(e,t),queueMicrotask(()=>n(null))}catch(i){queueMicrotask(()=>n(i))}}else return Promise.resolve($.renameSync(e,t))},copyFile(e,t,r){if(r)try{$.copyFileSync(e,t),r(null)}catch(n){r(n)}else return Promise.resolve($.copyFileSync(e,t))},cp(e,t,r,n){if(typeof r=="function"&&(n=r,r=void 0),n)try{$.cpSync(e,t,r),n(null)}catch(i){n(i)}else return Promise.resolve($.cpSync(e,t,r))},mkdtemp(e,t,r){typeof t=="function"&&(r=t,t=void 0),DA(r,"cb"),ir(t);try{r(null,$.mkdtempSync(e,t))}catch(n){r(n)}},opendir(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r)try{r(null,$.opendirSync(e,t))}catch(n){r(n)}else return Promise.resolve($.opendirSync(e,t))},open(e,t,r,n){let i="r",s=r;typeof t=="function"?(n=t,s=void 0):i=t??"r",typeof r=="function"&&(n=r,s=void 0),DA(n,"cb"),Be(e),oY(s);let o=n;try{let a=$.openSync(e,i,s);queueMicrotask(()=>o(null,a))}catch(a){queueMicrotask(()=>o(a))}},close(e,t){ar(e),DA(t,"cb");let r=t;try{$.closeSync(e),queueMicrotask(()=>r(null))}catch(n){queueMicrotask(()=>r(n))}},read(e,t,r,n,i,s){if(s){let o=s;if(e===0&&i==null&&typeof _kernelStdinRead<"u"){let A=new Uint8Array(t.buffer,t.byteOffset+r,n),f=()=>{_kernelStdinRead.apply(void 0,[n,100],{result:{promise:!0}}).then(l=>{if(l==null){setTimeout(f,1);return}if(l?.done){queueMicrotask(()=>o(null,0,t));return}let p=String(l?.dataBase64??"");if(!p){setTimeout(f,1);return}let B=Tt.Buffer.from(p,"base64"),S=Math.min(n,B.length);A.set(B.subarray(0,S),0),queueMicrotask(()=>o(null,S,t))},l=>{queueMicrotask(()=>o(l))})};f();return}let a=()=>{try{let A=$.readSync(e,t,r,n,i);queueMicrotask(()=>o(null,A,t))}catch(A){if((A?.message??String(A)).includes("EAGAIN")){setTimeout(a,1);return}queueMicrotask(()=>o(A))}};a()}else return Promise.resolve($.readSync(e,t,r,n,i))},write(e,t,r,n,i,s){if(typeof r=="function"?(s=r,r=void 0,n=void 0,i=void 0):typeof n=="function"?(s=n,n=void 0,i=void 0):typeof i=="function"&&(s=i,i=void 0),s){let o=AY(t,r,n,i),a=s;try{let A=$.writeSync(e,t,r,n,i);queueMicrotask(()=>a(null,A))}catch(A){queueMicrotask(()=>a(A))}}else return Promise.resolve($.writeSync(e,t,r,n,i))},writev(e,t,r,n){typeof r=="function"&&(n=r,r=null);let i=ar(e),s=Zm(t),o=Ds(r);if(n)try{let a=$.writevSync(i,s,o);queueMicrotask(()=>n(null,a,s))}catch(a){queueMicrotask(()=>n(a))}else return Promise.resolve($.writevSync(i,s,o))},writevSync(e,t,r){let n=ar(e),i=Zm(t);if(Mg("_fsWritevRaw")){let a=Ds(r),A=h2e(i);return O1e.applySyncPromise(void 0,[n,A,a])}let s=Ds(r),o=0;for(let a of i){let A=a instanceof Uint8Array?a:new Uint8Array(a.buffer,a.byteOffset,a.byteLength);o+=$.writeSync(n,A,0,A.length,s),s!==null&&(s+=A.length)}return o},fstat(e,t){if(t)try{t(null,$.fstatSync(e))}catch(r){t(r)}else return Promise.resolve($.fstatSync(e))},fsync(e,t){ar(e),DA(t,"cb");try{$.fsyncSync(e),t(null)}catch(r){t(r)}},fdatasync(e,t){ar(e),DA(t,"cb");try{$.fdatasyncSync(e),t(null)}catch(r){t(r)}},readv(e,t,r,n){typeof r=="function"&&(n=r,r=null);let i=ar(e),s=Zm(t),o=Ds(r);if(n)try{let a=$.readvSync(i,s,o);queueMicrotask(()=>n(null,a,s))}catch(a){queueMicrotask(()=>n(a))}},statfs(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r)try{r(null,$.statfsSync(e,t))}catch(n){r(n)}else return Promise.resolve($.statfsSync(e,t))},glob(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r)try{r(null,$.globSync(e,t))}catch(n){r(n)}},promises:{async readFile(e,t){return e instanceof yu?e.readFile(t):v1(e,t)},async writeFile(e,t,r){return e instanceof yu?e.writeFile(t,r):R1(e,t,r)},async appendFile(e,t,r){if(e instanceof yu)return e.appendFile(t,r);let n=await v1(e,"utf8").catch(s=>s?.code==="ENOENT"?"":Promise.reject(s)),i=typeof t=="string"?t:String(t);await R1(e,n+i,r)},async readdir(e,t){return X1e(e,t)},async mkdir(e,t){return Z1e(e,t)},async rmdir(e){return $1e(e)},async stat(e){return e2e(e)},async lstat(e){return t2e(e)},async unlink(e){return r2e(e)},async rename(e,t){return n2e(e,t)},async copyFile(e,t){let r=await v1(e);await R1(t,r)},async cp(e,t,r){return $.cpSync(e,t,r)},async mkdtemp(e,t){return $.mkdtempSync(e,t)},async opendir(e,t){return $.opendirSync(e,t)},async open(e,t,r){return new yu($.openSync(e,t??"r",r))},async statfs(e,t){return $.statfsSync(e,t)},async glob(e,t){return $.globSync(e,t)},async access(e){return i2e(e)},async rm(e,t){return $.rmSync(e,t)},async chmod(e,t){return s2e(e,t)},async chown(e,t,r){return o2e(e,t,r)},async lchown(e,t,r){return $.lchownSync(e,t,r)},async lutimes(e,t,r){return l2e(e,t,r)},async link(e,t){return a2e(e,t)},async symlink(e,t){return A2e(e,t)},async readlink(e){return f2e(e)},async realpath(e,t){return $.realpathSync(e,t)},async truncate(e,t){return u2e(e,t)},async utimes(e,t,r){return c2e(e,t,r)},watch(e,t){return C1e(e,t)}},accessSync(e){if(!$.existsSync(e))throw Je("ENOENT",`ENOENT: no such file or directory, access '${e}'`,"access",e)},access(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r)try{$.accessSync(e),r(null)}catch(n){r(n)}else return $.promises.access(e)},realpathSync:Object.assign(function(t,r){ir(r);let n=40,i=0,s=Be(t),o=[];for(let A of s.split("/"))!A||A==="."||(A===".."?o.length>0&&o.pop():o.push(A));let a=[];for(;o.length>0;){let A=o.shift();if(A===".")continue;if(A===".."){a.length>0&&a.pop();continue}a.push(A);let f="/"+a.join("/");try{if($.lstatSync(f).isSymbolicLink()){if(++i>n){let S=new Error(`ELOOP: too many levels of symbolic links, realpath '${s}'`);throw S.code="ELOOP",S.syscall="realpath",S.path=s,S}let p=$.readlinkSync(f),B=p.split("/").filter(Boolean);p.startsWith("/")?a.length=0:a.pop(),o.unshift(...B)}}catch(l){let p=l;if(p.code==="ELOOP")throw l;if(p.code==="ENOENT"||p.code==="ENOTDIR"){let B=new Error(`ENOENT: no such file or directory, realpath '${s}'`);throw B.code="ENOENT",B.syscall="realpath",B.path=s,B}break}}return"/"+a.join("/")||"/"},{native(e,t){return ir(t),$.realpathSync(e)}}),realpath:Object.assign(function(t,r,n){let i;if(typeof r=="function"?n=r:i=r,n)ir(i),n(null,$.realpathSync(t,i));else return Promise.resolve($.realpathSync(t,i))},{native(e,t,r){let n;if(typeof t=="function"?r=t:n=t,r)ir(n),r(null,$.realpathSync.native(e,n));else return Promise.resolve($.realpathSync.native(e,n))}}),ReadStream:yV,WriteStream:mV,createReadStream:function(t,r){let n=typeof r=="string"?{encoding:r}:r;ir(n);let i=GB(n?.fd),s=fY(t,i);return new fI(s,n)},createWriteStream:function(t,r){let n=typeof r=="string"?{encoding:r}:r;ir(n),pV(n??{});let i=GB(n?.fd),s=fY(t,i);return new uI(s,n)},watch(...e){let{path:t,listener:r,options:n}=l1e(e[0],e[1],e[2]),i=I1e(t,n);return r&&i.on("change",r),i},watchFile(...e){let{path:t,listener:r,options:n}=h1e(e[0],e[1],e[2]);return b1e(t,n,r)},unwatchFile(...e){let t=Be(e[0]),r=e[1];if(r!==void 0&&typeof r!="function")throw bt("listener","of type function",r);let n=r0.get(t);if(n)for(let i of[...n]){let s=i._listeners.get("change")??[];(r===void 0||s.some(o=>o===r||o._originalListener===r))&&i.close()}},chmod(e,t,r){if(r){Be(e),_a(t);try{$.chmodSync(e,t),r(null)}catch(n){r(n)}}else return Promise.resolve($.chmodSync(e,t))},chown(e,t,r,n){if(n){Be(e),Kr("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),Kr("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0});try{$.chownSync(e,t,r),n(null)}catch(i){n(i)}}else return Promise.resolve($.chownSync(e,t,r))},fchmod(e,t,r){if(r){ar(e),_a(t);try{$.fchmodSync(e,t),r(null)}catch(n){r(n)}}else return ar(e),_a(t),Promise.resolve($.fchmodSync(e,t))},fchown(e,t,r,n){if(n){ar(e),Kr("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),Kr("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0});try{$.fchownSync(e,t,r),n(null)}catch(i){n(i)}}else return ar(e),Kr("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),Kr("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0}),Promise.resolve($.fchownSync(e,t,r))},lchown(e,t,r,n){if(arguments.length>=4){DA(n,"cb"),Be(e),Kr("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),Kr("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0});try{$.lchownSync(e,t,r),n(null)}catch(i){n(i)}}else return Promise.resolve($.lchownSync(e,t,r))},link(e,t,r){if(r){Be(e,"existingPath"),Be(t,"newPath");try{$.linkSync(e,t),r(null)}catch(n){r(n)}}else return Promise.resolve($.linkSync(e,t))},symlink(e,t,r,n){if(typeof r=="function"&&(n=r),n)try{$.symlinkSync(e,t),n(null)}catch(i){n(i)}else return Promise.resolve($.symlinkSync(e,t))},readlink(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r){Be(e),ir(t);try{r(null,$.readlinkSync(e,t))}catch(n){r(n)}}else return Promise.resolve($.readlinkSync(e,t))},truncate(e,t,r){if(typeof t=="function"&&(r=t,t=0),r)try{$.truncateSync(e,t),r(null)}catch(n){r(n)}else return Promise.resolve($.truncateSync(e,t))},utimes(e,t,r,n){if(n)try{$.utimesSync(e,t,r),n(null)}catch(i){n(i)}else return Promise.resolve($.utimesSync(e,t,r))},lutimes(e,t,r,n){if(n)try{$.lutimesSync(e,t,r),n(null)}catch(i){n(i)}else return Promise.resolve($.lutimesSync(e,t,r))},futimes(e,t,r,n){if(n)try{$.futimesSync(e,t,r),n(null)}catch(i){n(i)}else return Promise.resolve($.futimesSync(e,t,r))}};BV=e=>$.readdirSync(e);w2=e=>$.statSync(e);var SR=$;Ge("_fsModule",SR);var ba={platform:typeof _osConfig<"u"&&_osConfig.platform||"linux",arch:typeof _osConfig<"u"&&_osConfig.arch||"x64",type:typeof _osConfig<"u"&&_osConfig.type||"Linux",release:typeof _osConfig<"u"&&_osConfig.release||"6.8.0-secure-exec",version:typeof _osConfig<"u"&&_osConfig.version||"#1 SMP PREEMPT_DYNAMIC secure-exec",homedir:typeof _osConfig<"u"&&_osConfig.homedir||"/home/user",tmpdir:typeof _osConfig<"u"&&_osConfig.tmpdir||"/tmp",hostname:typeof _osConfig<"u"&&_osConfig.hostname||"secure-exec",machine:typeof _osConfig<"u"&&_osConfig.machine||"x86_64"};function hY(){return Rs("homedir",globalThis.process?.env?.HOME||ba.homedir)}function d2e(){return Rs("tmpdir",globalThis.process?.env?.TMPDIR||ba.tmpdir)}function g2e(){return Rs("user",globalThis.process?.env?.USER||globalThis.process?.env?.LOGNAME||"user")}function p2e(){return Rs("shell",globalThis.process?.env?.SHELL||"/bin/sh")}function S2(){let e=globalThis.process?.uid;return Number.isFinite(e)?e:0}function pB(){let e=globalThis.process?.gid;return Number.isFinite(e)?e:0}function bV(){return globalThis.__agentOSVirtualOs||{}}function Rs(e,t){let r=bV()[e];return typeof r=="string"&&r.length>0?r:t}function _R(e,t){let r=Number(bV()[e]);return Number.isSafeInteger(r)&&r>0?r:t}function dY(){return _R("cpuCount",1)}function CV(){return _R("totalmem",1073741824)}function E2e(){return Math.min(_R("freemem",536870912),CV())}var QV={SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:7,SIGFPE:8,SIGKILL:9,SIGUSR1:10,SIGSEGV:11,SIGUSR2:12,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGSTKFLT:16,SIGCHLD:17,SIGCONT:18,SIGSTOP:19,SIGTSTP:20,SIGTTIN:21,SIGTTOU:22,SIGURG:23,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:29,SIGPOLL:29,SIGPWR:30,SIGSYS:31},gY={1:"SIGHUP",2:"SIGINT",3:"SIGQUIT",4:"SIGILL",5:"SIGTRAP",6:"SIGABRT",7:"SIGBUS",8:"SIGFPE",9:"SIGKILL",10:"SIGUSR1",11:"SIGSEGV",12:"SIGUSR2",13:"SIGPIPE",14:"SIGALRM",15:"SIGTERM",16:"SIGSTKFLT",17:"SIGCHLD",18:"SIGCONT",19:"SIGSTOP",20:"SIGTSTP",21:"SIGTTIN",22:"SIGTTOU",23:"SIGURG",24:"SIGXCPU",25:"SIGXFSZ",26:"SIGVTALRM",27:"SIGPROF",28:"SIGWINCH",29:"SIGIO",30:"SIGPWR",31:"SIGSYS"};function vR(e){if(e==null)return{bridgeSignal:"SIGTERM",signalCode:"SIGTERM"};if(e===0||e==="0")return{bridgeSignal:"0",signalCode:null};if(typeof e=="number"){let t=gY[e];if(t)return{bridgeSignal:t,signalCode:t};throw new Error("Unknown signal: "+e)}if(typeof e=="string"){let t=QV[e];if(t!==void 0){let r=gY[t]??e;return{bridgeSignal:r,signalCode:r}}}throw new Error("Unknown signal: "+e)}var y2e={E2BIG:7,EACCES:13,EADDRINUSE:98,EADDRNOTAVAIL:99,EAFNOSUPPORT:97,EAGAIN:11,EALREADY:114,EBADF:9,EBADMSG:74,EBUSY:16,ECANCELED:125,ECHILD:10,ECONNABORTED:103,ECONNREFUSED:111,ECONNRESET:104,EDEADLK:35,EDESTADDRREQ:89,EDOM:33,EDQUOT:122,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:113,EIDRM:43,EILSEQ:84,EINPROGRESS:115,EINTR:4,EINVAL:22,EIO:5,EISCONN:106,EISDIR:21,ELOOP:40,EMFILE:24,EMLINK:31,EMSGSIZE:90,EMULTIHOP:72,ENAMETOOLONG:36,ENETDOWN:100,ENETRESET:102,ENETUNREACH:101,ENFILE:23,ENOBUFS:105,ENODATA:61,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:37,ENOLINK:67,ENOMEM:12,ENOMSG:42,ENOPROTOOPT:92,ENOSPC:28,ENOSR:63,ENOSTR:60,ENOSYS:38,ENOTCONN:107,ENOTDIR:20,ENOTEMPTY:39,ENOTSOCK:88,ENOTSUP:95,ENOTTY:25,ENXIO:6,EOPNOTSUPP:95,EOVERFLOW:75,EPERM:1,EPIPE:32,EPROTO:71,EPROTONOSUPPORT:93,EPROTOTYPE:91,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:116,ETIME:62,ETIMEDOUT:110,ETXTBSY:26,EWOULDBLOCK:11,EXDEV:18},m2e={PRIORITY_LOW:19,PRIORITY_BELOW_NORMAL:10,PRIORITY_NORMAL:0,PRIORITY_ABOVE_NORMAL:-7,PRIORITY_HIGH:-14,PRIORITY_HIGHEST:-20},wV={platform(){return Rs("platform",ba.platform)},arch(){return Rs("arch",ba.arch)},type(){return Rs("type",ba.type)},release(){return Rs("release",ba.release)},version(){return Rs("version",ba.version)},homedir(){return hY()},tmpdir(){return d2e()},hostname(){return Rs("hostname",ba.hostname)},userInfo(e){return{username:g2e(),uid:S2(),gid:pB(),shell:p2e(),homedir:hY()}},cpus(){return Array.from({length:dY()},()=>({model:"Virtual CPU",speed:2e3,times:{user:1e5,nice:0,sys:5e4,idle:8e5,irq:0}}))},totalmem(){return CV()},freemem(){return E2e()},loadavg(){return[.1,.1,.1]},uptime(){return 3600},networkInterfaces(){return{}},endianness(){return"LE"},EOL:`
`,devNull:"/dev/null",machine(){return Rs("machine",ba.machine)},constants:{signals:QV,errno:y2e,priority:m2e,dlopen:{RTLD_LAZY:1,RTLD_NOW:2,RTLD_GLOBAL:256,RTLD_LOCAL:0},UV_UDP_REUSEADDR:4},getPriority(e){return 0},setPriority(e,t){},availableParallelism(){return dY()}};Ge("_osModule",wV);var B2e=wV,SV={};H2(SV,{ChildProcess:()=>DR,default:()=>D2e,exec:()=>NV,execFile:()=>FV,execFileSync:()=>kV,execSync:()=>MV,fork:()=>xV,spawn:()=>d0,spawnSync:()=>TR});var wu=new Map,i0=new Map;function I2e(e){if(typeof e!="number")return;let t=i0.get(e);t?t.holders+=1:i0.set(e,{holders:1,closePending:!1})}function b2e(e){let t=i0.get(e);return t?(t.closePending=!0,!0):!1}function C2e(e){let t=i0.get(e);if(t&&(t.holders-=1,!(t.holders>0)&&(i0.delete(e),t.closePending)))try{IV.applySyncPromise(void 0,[e])}catch{}}var Q2e=200,w2e=25;function S2e(e){return!e||typeof e!="object"?null:typeof e.sessionId=="string"&&e.sessionId.length>0||typeof e.sessionId=="number"&&Number.isFinite(e.sessionId)?e.sessionId:null}function RR(e){if(e&&typeof e=="object")return e;if(typeof e=="string")try{let t=JSON.parse(e);return t&&typeof t=="object"?t:e}catch{}return e}var _2="AGENTOS_IPC:";function _V(e){let t=JSON.stringify(e),r=typeof Buffer<"u"?Buffer.from(t,"utf8").toString("base64"):btoa(t);return`${_2}${r}
`}function _2e(e){let t=typeof Buffer<"u"?Buffer.from(e,"base64").toString("utf8"):atob(e);return JSON.parse(t)}function vV(e,t){let r=`${e}${typeof Buffer<"u"?Buffer.from(t).toString("utf8"):String(t)}`,n=[],i=[],s=0;for(;;){let o=r.indexOf(_2,s);if(o===-1)return i.push(r.slice(s)),{buffer:"",messages:n,output:i.join("")};i.push(r.slice(s,o));let a=o+_2.length,A=r.indexOf(`
`,a);if(A===-1)return{buffer:r.slice(o),messages:n,output:i.join("")};try{n.push(_2e(r.slice(a,A)))}catch{i.push(r.slice(o,A+1))}s=A+1}}function RV(e,t){if(!t||typeof t!="object")return!1;if(t.type==="stdout"||t.type==="stderr"){let r={sessionId:e};return typeof t.data=="string"?r.data=t.data:typeof Buffer<"u"&&Buffer.isBuffer(t.data)?r.dataBase64=t.data.toString("base64"):t.data instanceof Uint8Array||ArrayBuffer.isView(t.data)?r.dataBase64=Buffer.from(t.data.buffer,t.data.byteOffset,t.data.byteLength).toString("base64"):t.data?.__agentOSType==="bytes"&&typeof t.data.base64=="string"&&(r.dataBase64=t.data.base64),v2(`child_${t.type}`,r),!0}return t.type==="exit"?(v2("child_exit",{sessionId:e,code:t.exitCode,signal:t.signal??null}),!0):!1}function DV(e){e?._detachedBootstrapPending&&(e._detachedBootstrapPending=!1,e._detachedBootstrapPollsRemaining=0,e._detachedBootstrapTimer!=null&&(clearTimeout(e._detachedBootstrapTimer),e._detachedBootstrapTimer=null),e._pollRefed||(e._pollTimer?.unref?.(),e._handleRefed&&e._handleId&&typeof _unregisterHandle=="function"&&(_unregisterHandle(e._handleId),e._handleRefed=!1)))}function TV(e){e?._detachedBootstrapPending&&(e._detachedBootstrapPollsRemaining>0&&(e._detachedBootstrapPollsRemaining-=1),e._detachedBootstrapPollsRemaining===0&&DV(e))}function v2e(e,t=w2e){if(!e?.detached||e._sessionId==null||typeof _childProcessPoll>"u")return!1;if(!e._detachedBootstrapPending)return!0;for(let r=0;r<t;r+=1){if(!wu.has(e._sessionId))return!0;let n=RR(_childProcessPoll.applySync(void 0,[e._sessionId,10]));if(TV(e),!n||typeof n!="object"){if(!e._detachedBootstrapPending)return!0;continue}if(RV(e._sessionId,n)&&n?.type==="exit"||!e._detachedBootstrapPending)return!0}return!e._detachedBootstrapPending}function D1(e,t){if(typeof e!="number")return!1;try{let r=typeof Buffer<"u"&&Buffer.isBuffer(t)?t:typeof Buffer<"u"?Buffer.from(t):t;$.writeSync(e,r,0,r.length,null)}catch{}return!0}function WB(e,t){if(typeof e!="number"||t==null)return!1;try{let r=typeof t=="string"?typeof Buffer<"u"?Buffer.from(t):t:typeof Buffer<"u"&&Buffer.isBuffer(t)?t:typeof Buffer<"u"?Buffer.from(t):t;$.writeSync(e,r,0,r.length,null)}catch{}return!0}function T1(e,t,r){let n=wu.get(e);if(n){if(t==="stdout"){let i=typeof Buffer<"u"?Buffer.from(r):r;if(n._ipcEnabled){let s=vV(n._ipcStdoutBuffer,i);n._ipcStdoutBuffer=s.buffer;for(let a of s.messages)n._emitOrQueueIpcMessage(a);if(s.output.length===0)return;let o=typeof Buffer<"u"?Buffer.from(s.output,"utf8"):s.output;if(D1(n._stdoutFd,o))return;n.stdout.emit("data",o);return}if(D1(n._stdoutFd,i))return;n.stdout.emit("data",i)}else if(t==="stderr"){let i=typeof Buffer<"u"?Buffer.from(r):r;if(D1(n._stderrFd,i))return;n.stderr.emit("data",i)}else if(t==="exit"){DV(n);let i=n.connected;n.connected=!1;let s=n._pendingSignalCode??(r&&typeof r=="object"?r.signal??null:null),o=r&&typeof r=="object"?r.code:r;if(n._pendingSignalCode=null,n.signalCode=s,n.exitCode=s==null?o:null,n.stdout.emit("end"),n.stderr.emit("end"),i&&n.emit("disconnect"),n.emit("close",n.exitCode,n.signalCode),n.emit("exit",n.exitCode,n.signalCode),Array.isArray(n._inheritedFds)){for(let a of n._inheritedFds)C2e(a);n._inheritedFds=[]}wu.delete(e),typeof _unregisterHandle=="function"&&_unregisterHandle(`child:${e}`)}}}var v2=(e,t,r)=>{if(typeof e=="number"){T1(e,t,r);return}let n=(()=>{if(t&&typeof t=="object")return t;if(typeof t=="string")try{return JSON.parse(t)}catch{return null}return null})(),i=S2e(n);if(i!=null){if(e==="child_stdout"||e==="child_stderr"){let s=n?.data,o;if(typeof Buffer<"u"&&Buffer.isBuffer(s))o=Buffer.from(s);else if(s instanceof Uint8Array)o=typeof Buffer<"u"?Buffer.from(s.buffer,s.byteOffset,s.byteLength):s;else if(ArrayBuffer.isView(s))o=typeof Buffer<"u"?Buffer.from(s.buffer,s.byteOffset,s.byteLength):new Uint8Array(s.buffer,s.byteOffset,s.byteLength);else{let a=typeof n?.dataBase64=="string"?n.dataBase64:typeof s=="string"?s:s?.__agentOSType==="bytes"&&typeof s?.base64=="string"?s.base64:"";o=typeof Buffer<"u"?Buffer.from(a,"base64"):new Uint8Array(atob(a).split("").map(A=>A.charCodeAt(0)))}T1(i,e==="child_stdout"?"stdout":"stderr",o);return}if(e==="child_exit"){let s=typeof n?.code=="number"?n.code:Number(n?.code??1),o=typeof n?.signal=="string"?n.signal:null;T1(i,"exit",{code:s,signal:o})}}};Ge("_childProcessDispatch",v2);var R2e=64;function R2(e,t=0){let r=wu.get(e);if(!r||typeof _childProcessPoll>"u"||r._pollScheduled)return;r._pollScheduled=!0;let n=setTimeout(()=>{if(r._pollTimer=null,r._pollScheduled=!1,!wu.has(e))return;let i=0;for(;i<R2e&&wu.has(e);){TV(r);let s=RR(_childProcessPoll.applySync(void 0,[e,i===0?10:0]));if(!s||typeof s!="object"){R2(e,i===0?5:0);return}if(i+=1,RV(e,s)&&s.type==="exit")return}R2(e,0)},t);r._pollTimer=n,!r._pollRefed&&!r._detachedBootstrapPending&&typeof n?.unref=="function"&&n.unref()}function Fl(e,t){return(e._listeners[t]?.length??0)>0||(e._onceListeners[t]?.length??0)>0}function pY(e,t){let r=e._readableEncoding;return!r||typeof t=="string"?t:typeof Buffer<"u"&&Buffer.isBuffer(t)?t.toString(r):t instanceof Uint8Array?typeof Buffer<"u"?Buffer.from(t).toString(r):String(t):t}function Fg(e){e._flushScheduled||(e._flushScheduled=!0,queueMicrotask(()=>{if(e._flushScheduled=!1,e._bufferedChunks.length>0&&Fl(e,"data")){let t=e._bufferedChunks.splice(0,e._bufferedChunks.length);for(let r of t)e.emit("data",r)}e._ended&&e._bufferedChunks.length===0&&Fl(e,"end")&&e.emit("end")}))}function $m(e,t){if(e._maxListenersWarned instanceof Set||(e._maxListenersWarned=new Set),e._maxListeners>0&&!e._maxListenersWarned.has(t)){let r=(e._listeners[t]?.length??0)+(e._onceListeners[t]?.length??0);if(r>e._maxListeners){e._maxListenersWarned.add(t);let n=`MaxListenersExceededWarning: Possible EventEmitter memory leak detected. ${r} ${t} listeners added. MaxListeners is ${e._maxListeners}. Use emitter.setMaxListeners() to increase limit`;typeof console<"u"&&console.error&&console.error(n)}}}function EY(e){let t=[],r=[],n=[],i=!1,s=()=>{for(;n.length>0;){let f=n.shift();if(r.length>0){f(Promise.reject(r.shift()));continue}if(t.length>0){f(Promise.resolve({done:!1,value:t.shift()}));continue}if(i){f(Promise.resolve({done:!0,value:void 0}));continue}n.unshift(f);break}},o=f=>{t.push(f),s()},a=()=>{i=!0,s()},A=f=>{r.push(f),i=!0,s()};return e.on("data",o),e.on("end",a),e.on("close",a),e.on("error",A),Fg(e),{next(){return r.length>0?Promise.reject(r.shift()):t.length>0?Promise.resolve({done:!1,value:t.shift()}):i?Promise.resolve({done:!0,value:void 0}):new Promise(f=>{n.push(f)})},return(){return e.off("data",o),e.off("end",a),e.off("close",a),e.off("error",A),i=!0,s(),Promise.resolve({done:!0,value:void 0})},[Symbol.asyncIterator](){return this}}}var Nl=1e3,DR=class{constructor(){y(this,"_listeners",{});y(this,"_onceListeners",{});y(this,"_maxListeners",10);y(this,"_maxListenersWarned",new Set);y(this,"pid",Nl++);y(this,"killed",!1);y(this,"exitCode",null);y(this,"signalCode",null);y(this,"_pendingSignalCode",null);y(this,"connected",!1);y(this,"_pollScheduled",!1);y(this,"_pollRefed",!0);y(this,"_pollTimer",null);y(this,"_detachedBootstrapPending",!1);y(this,"_detachedBootstrapPollsRemaining",0);y(this,"_detachedBootstrapTimer",null);y(this,"_sessionId",null);y(this,"_handleId",null);y(this,"_handleDescription","");y(this,"_handleRefed",!1);y(this,"_ipcEnabled",!1);y(this,"_ipcStdoutBuffer","");y(this,"_ipcQueuedMessages",[]);y(this,"spawnfile","");y(this,"spawnargs",[]);y(this,"stdin");y(this,"stdout");y(this,"stderr");y(this,"stdio");this.stdin={writable:!0,destroyed:!1,_listeners:{},_onceListeners:{},write(e,t,r){let n=typeof t=="function"?t:r;return n&&queueMicrotask(()=>n(null)),!0},end(e,t,r){let n=typeof e=="function"?e:typeof t=="function"?t:r;this.writable=!1,n&&queueMicrotask(()=>n())},destroy(){return this.writable=!1,this.destroyed=!0,this.emit("close"),this},on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this},once(e,t){return this._onceListeners[e]||(this._onceListeners[e]=[]),this._onceListeners[e].push(t),this},off(e,t){if(this._listeners[e]){let r=this._listeners[e].indexOf(t);r!==-1&&this._listeners[e].splice(r,1)}if(this._onceListeners[e]){let r=this._onceListeners[e].indexOf(t);r!==-1&&this._onceListeners[e].splice(r,1)}return this},removeListener(e,t){return this.off(e,t)},emit(e,...t){let r=!1;return this._listeners[e]&&this._listeners[e].forEach(n=>{n(...t),r=!0}),this._onceListeners[e]&&(this._onceListeners[e].forEach(n=>{n(...t),r=!0}),this._onceListeners[e]=[]),r}},this.stdout={readable:!0,isTTY:!1,destroyed:!1,_listeners:{},_onceListeners:{},_bufferedChunks:[],_ended:!1,_flushScheduled:!1,_maxListeners:10,_maxListenersWarned:new Set,on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),$m(this,e),(e==="data"||e==="end")&&Fg(this),this},once(e,t){return this._onceListeners[e]||(this._onceListeners[e]=[]),this._onceListeners[e].push(t),$m(this,e),(e==="data"||e==="end")&&Fg(this),this},off(e,t){if(this._listeners[e]){let r=this._listeners[e].indexOf(t);r!==-1&&this._listeners[e].splice(r,1)}if(this._onceListeners[e]){let r=this._onceListeners[e].indexOf(t);r!==-1&&this._onceListeners[e].splice(r,1)}return this},removeListener(e,t){return this.off(e,t)},emit(e,...t){return e==="data"&&(t[0]=pY(this,t[0]),!Fl(this,"data"))?(this._bufferedChunks.push(t[0]),!1):e==="end"&&(this._ended=!0,!Fl(this,"end"))?!1:(this._listeners[e]&&this._listeners[e].forEach(r=>r(...t)),this._onceListeners[e]&&(this._onceListeners[e].forEach(r=>r(...t)),this._onceListeners[e]=[]),!0)},read(){return null},setEncoding(e){return this._readableEncoding=e==null||e==="buffer"?null:String(e),this},setMaxListeners(e){return this._maxListeners=e,this},getMaxListeners(){return this._maxListeners},pipe(e){return e},pause(){return this},resume(){return this},destroy(){return this.readable=!1,this._ended=!0,this.destroyed=!0,this.emit("close"),this},[Symbol.asyncIterator](){return EY(this)}},this.stderr={readable:!0,isTTY:!1,destroyed:!1,_listeners:{},_onceListeners:{},_bufferedChunks:[],_ended:!1,_flushScheduled:!1,_maxListeners:10,_maxListenersWarned:new Set,on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),$m(this,e),(e==="data"||e==="end")&&Fg(this),this},once(e,t){return this._onceListeners[e]||(this._onceListeners[e]=[]),this._onceListeners[e].push(t),$m(this,e),(e==="data"||e==="end")&&Fg(this),this},off(e,t){if(this._listeners[e]){let r=this._listeners[e].indexOf(t);r!==-1&&this._listeners[e].splice(r,1)}if(this._onceListeners[e]){let r=this._onceListeners[e].indexOf(t);r!==-1&&this._onceListeners[e].splice(r,1)}return this},removeListener(e,t){return this.off(e,t)},emit(e,...t){return e==="data"&&(t[0]=pY(this,t[0]),!Fl(this,"data"))?(this._bufferedChunks.push(t[0]),!1):e==="end"&&(this._ended=!0,!Fl(this,"end"))?!1:(this._listeners[e]&&this._listeners[e].forEach(r=>r(...t)),this._onceListeners[e]&&(this._onceListeners[e].forEach(r=>r(...t)),this._onceListeners[e]=[]),!0)},read(){return null},setEncoding(e){return this._readableEncoding=e==null||e==="buffer"?null:String(e),this},setMaxListeners(e){return this._maxListeners=e,this},getMaxListeners(){return this._maxListeners},pipe(e){return e},pause(){return this},resume(){return this},destroy(){return this.readable=!1,this._ended=!0,this.destroyed=!0,this.emit("close"),this},[Symbol.asyncIterator](){return EY(this)}},this.stdio=[this.stdin,this.stdout,this.stderr]}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this._checkMaxListeners(e),e==="message"&&this._flushQueuedIpcMessages(),this}once(e,t){return this._onceListeners[e]||(this._onceListeners[e]=[]),this._onceListeners[e].push(t),this._checkMaxListeners(e),e==="message"&&this._flushQueuedIpcMessages(),this}off(e,t){if(this._listeners[e]){let r=this._listeners[e].indexOf(t);r!==-1&&this._listeners[e].splice(r,1)}return this}removeListener(e,t){return this.off(e,t)}setMaxListeners(e){return this._maxListeners=e,this}getMaxListeners(){return this._maxListeners}_checkMaxListeners(e){if(this._maxListenersWarned instanceof Set||(this._maxListenersWarned=new Set),this._maxListeners>0&&!this._maxListenersWarned.has(e)){let t=(this._listeners[e]?.length??0)+(this._onceListeners[e]?.length??0);if(t>this._maxListeners){this._maxListenersWarned.add(e);let r=`MaxListenersExceededWarning: Possible EventEmitter memory leak detected. ${t} ${e} listeners added to [ChildProcess]. MaxListeners is ${this._maxListeners}. Use emitter.setMaxListeners() to increase limit`;typeof console<"u"&&console.error&&console.error(r)}}}_hasIpcMessageListeners(){return(this._listeners.message?.length??0)>0||(this._onceListeners.message?.length??0)>0}_emitOrQueueIpcMessage(e){return this._hasIpcMessageListeners()?this.emit("message",e,void 0):(this._ipcQueuedMessages.push(e),!1)}_flushQueuedIpcMessages(){this._ipcQueuedMessages.length!==0&&queueMicrotask(()=>{for(;this._ipcQueuedMessages.length>0&&this._hasIpcMessageListeners();)this.emit("message",this._ipcQueuedMessages.shift(),void 0)})}emit(e,...t){let r=!1;return this._listeners[e]&&this._listeners[e].forEach(n=>{n(...t),r=!0}),this._onceListeners[e]&&(this._onceListeners[e].forEach(n=>{n(...t),r=!0}),this._onceListeners[e]=[]),r}kill(e){let t=vR(e);return this.killed=!0,this._pendingSignalCode=t.signalCode,!0}ref(){return this._pollRefed=!0,this._pollTimer?.ref?.(),!this._handleRefed&&this._handleId&&typeof _registerHandle=="function"&&(_registerHandle(this._handleId,this._handleDescription),this._handleRefed=!0),this}unref(){return this._pollRefed=!1,this._detachedBootstrapPending&&v2e(this),this._detachedBootstrapPending||this._pollTimer?.unref?.(),!this._detachedBootstrapPending&&this._handleRefed&&this._handleId&&typeof _unregisterHandle=="function"&&(_unregisterHandle(this._handleId),this._handleRefed=!1),this}disconnect(){this.connected=!1,this.emit("disconnect")}send(e,t,r,n){if(!this.connected||!this._ipcEnabled||this._sessionId==null)return!1;let i=typeof t=="function"?t:typeof r=="function"?r:n;try{let s=_V(e);return this.stdin.write(s,"utf8",i),!0}catch(s){return i?(queueMicrotask(()=>i(s)),!1):(this.emit("error",s),!1)}}_complete(e,t,r){let n=this._pendingSignalCode??this.signalCode;if(this._pendingSignalCode=null,this.signalCode=n??null,this.exitCode=n==null?r:null,e){let i=typeof Buffer<"u"?Buffer.from(e):e;this.stdout.emit("data",i)}if(t){let i=typeof Buffer<"u"?Buffer.from(t):t;this.stderr.emit("data",i)}this.stdout.emit("end"),this.stderr.emit("end"),this.emit("close",this.exitCode,this.signalCode),this.emit("exit",this.exitCode,this.signalCode)}};function NV(e,t,r){typeof t=="function"&&(r=t,t={});let n=d0(e,[],{...t,shell:!0});n.spawnargs=[e],n.spawnfile=e;let i=t?.maxBuffer??1024*1024,s="",o="",a=0,A=0,f=!1,l=!1,p=null,B=S=>{!r||l||(l=!0,r(S,s,o))};return n.stdout.on("data",S=>{if(f)return;let _=String(S);s+=_,a+=_.length,a>i&&(f=!0,n.kill("SIGTERM"))}),n.stderr.on("data",S=>{if(f)return;let _=String(S);o+=_,A+=_.length,A>i&&(f=!0,n.kill("SIGTERM"))}),n.on("close",(...S)=>{let _=S[0];if(r)if(f){let N=new Error("stdout maxBuffer length exceeded");N.code="ERR_CHILD_PROCESS_STDIO_MAXBUFFER",N.killed=!0,N.cmd=e,N.stdout=s,N.stderr=o,B(N)}else if(_!==0&&p==null){let N=new Error("Command failed: "+e);N.code=_,N.killed=!1,N.signal=null,N.cmd=e,N.stdout=s,N.stderr=o,B(N)}else B(null)}),n.on("error",S=>{if(r){let _=S instanceof Error?S:new Error(String(S));p=_,_.cmd=e,_.stdout=s,_.stderr=o,B(_)}}),n}function MV(e,t){let r=t||{};if(typeof _childProcessSpawnSync>"u")throw new Error("child_process.execSync requires CommandExecutor to be configured");let n=r.cwd??(typeof process<"u"?process.cwd():"/"),i=r.maxBuffer??1024*1024,s=_childProcessSpawnSync.applySyncPromise(void 0,[e,JSON.stringify([]),JSON.stringify({cwd:n,env:r.env,input:r.input==null?null:n0(r.input),maxBuffer:i,shell:!0})]),o=typeof s=="string"?JSON.parse(s):s,a=Array.isArray(r.stdio)?r.stdio:r.stdio==="inherit"?["inherit","inherit","inherit"]:[];if(WB(a[1],o.stdout)&&(o.stdout=typeof o.stdout=="string"?"":Buffer.from("")),WB(a[2],o.stderr),o.maxBufferExceeded){let A=new Error("stdout maxBuffer length exceeded");throw A.code="ERR_CHILD_PROCESS_STDIO_MAXBUFFER",A.stdout=o.stdout,A.stderr=o.stderr,A}if(o.code!==0){let A=new Error("Command failed: "+e);throw A.status=o.code,A.stdout=o.stdout,A.stderr=o.stderr,A.output=[null,o.stdout,o.stderr],A}return(r.encoding==="buffer"||!r.encoding)&&typeof Buffer<"u"?Buffer.from(o.stdout):o.stdout}function d0(e,t,r){let n=[],i={};Array.isArray(t)?(n=t,i=r||{}):i=t||{};let s=new DR;s.spawnfile=e,s.spawnargs=[e,...n],s.detached=i.detached===!0,s._detachedBootstrapPending=s.detached,s._detachedBootstrapPollsRemaining=s.detached?Q2e:0;let o=Array.isArray(i.stdio)?i.stdio:i.stdio==="inherit"?["inherit","inherit","inherit"]:[];s._stdoutFd=typeof o[1]=="number"?o[1]:null,s._stderrFd=typeof o[2]=="number"?o[2]:null,s._inheritedFds=[];for(let A of[s._stdoutFd,s._stderrFd])typeof A=="number"&&(I2e(A),s._inheritedFds.push(A));if(typeof _childProcessSpawnStart<"u"){let A;try{let l=i.cwd??(typeof process<"u"?process.cwd():"/");A=RR(_childProcessSpawnStart.applySync(void 0,[e,JSON.stringify(n),JSON.stringify({cwd:l,env:i.env,shell:i.shell===!0||typeof i.shell=="string",detached:i.detached===!0})]))}catch(l){let p=l instanceof Error?l:new Error(String(l));return p.code==null&&/command not found:/i.test(String(p.message||""))?p.code="ENOENT":p.code==null&&/ERR_NATIVE_BINARY_NOT_SUPPORTED\b/i.test(String(p.message||""))&&(p.code="ERR_NATIVE_BINARY_NOT_SUPPORTED"),queueMicrotask(()=>{s.emit("error",p)}),s}let f=typeof A=="object"&&A!==null?A.childId:A;return wu.set(f,s),s._sessionId=f,typeof _registerHandle=="function"&&(s._handleId=`child:${f}`,s._handleDescription=`child_process: ${e} ${n.join(" ")}`,_registerHandle(s._handleId,s._handleDescription),s._handleRefed=!0),s.stdin.write=(l,p,B)=>{let S=typeof p=="function"?p:B;if(typeof _childProcessStdinWrite>"u")return!1;let _=typeof l=="string"?new TextEncoder().encode(l):l;try{_childProcessStdinWrite.applySync(void 0,[f,_])}catch(N){return S?(queueMicrotask(()=>S(N)),!1):(s.stdin.emit("error",N),!1)}return S&&queueMicrotask(()=>S(null)),!0},s.stdin.end=(l,p,B)=>{let S=typeof l=="function"?l:typeof p=="function"?p:B;if(l!=null&&typeof l!="function"&&s.stdin.write(l,typeof p=="string"?p:void 0),typeof _childProcessStdinClose<"u")try{_childProcessStdinClose.applySync(void 0,[f])}catch(_){if(S){queueMicrotask(()=>S(_));return}s.stdin.emit("error",_);return}s.stdin.writable=!1,S&&queueMicrotask(()=>S())},s.stdin.destroy=()=>(s.stdin.end(),s.stdin.destroyed=!0,s.stdin.emit("close"),s.stdin),s.kill=l=>{if(typeof _childProcessKill>"u")return!1;let p=vR(l);return _childProcessKill.applySync(void 0,[f,p.bridgeSignal]),s.killed=!0,s._pendingSignalCode=p.signalCode,!0},s.pid=typeof A=="object"&&A!==null?Number(A.pid)||-1:Number(f)||-1,(o[1]==="inherit"||o[1]===1)&&s.stdout.on("data",l=>process.stdout.write(l)),(o[2]==="inherit"||o[2]===2)&&s.stderr.on("data",l=>process.stderr.write(l)),setTimeout(()=>s.emit("spawn"),0),R2(f,0),s}let a=new Error("child_process.spawn requires CommandExecutor to be configured");return setTimeout(()=>{s.emit("error",a),s._complete("",a.message,1)},0),s}function TR(e,t,r){let n=[],i={};if(Array.isArray(t)?(n=t,i=r||{}):i=t||{},typeof _childProcessSpawnSync>"u")return{pid:Nl++,output:[null,"","child_process.spawnSync requires CommandExecutor to be configured"],stdout:"",stderr:"child_process.spawnSync requires CommandExecutor to be configured",status:1,signal:null,error:new Error("child_process.spawnSync requires CommandExecutor to be configured")};try{let s=i.cwd??(typeof process<"u"?process.cwd():"/"),o=i.maxBuffer,a=i.encoding==null||i.encoding==="buffer",A=Number.isInteger(i.timeout)&&i.timeout>0?i.timeout:null,f=vR(i.killSignal).signalCode??"SIGTERM",l=_childProcessSpawnSync.applySyncPromise(void 0,[e,JSON.stringify(n),JSON.stringify({cwd:s,env:i.env,input:i.input==null?null:n0(i.input),maxBuffer:o,shell:i.shell===!0||typeof i.shell=="string",timeout:A,killSignal:f})]),p=typeof l=="string"?JSON.parse(l):l,B=Array.isArray(i.stdio)?i.stdio:i.stdio==="inherit"?["inherit","inherit","inherit"]:[],S=a&&typeof Buffer<"u"?Buffer.from(p.stdout):p.stdout,_=a&&typeof Buffer<"u"?Buffer.from(p.stderr):p.stderr;if(WB(B[1],S)&&(S=a&&typeof Buffer<"u"?Buffer.from(""):""),WB(B[2],_)&&(_=a&&typeof Buffer<"u"?Buffer.from(""):""),p.timedOut){let N=new Error(`spawnSync ${e} ETIMEDOUT`);return N.code="ETIMEDOUT",{pid:Nl++,output:[null,S,_],stdout:S,stderr:_,status:null,signal:p.signal??f,error:N}}if(p.maxBufferExceeded){let N=new Error("stdout maxBuffer length exceeded");return N.code="ERR_CHILD_PROCESS_STDIO_MAXBUFFER",{pid:Nl++,output:[null,S,_],stdout:S,stderr:_,status:p.code,signal:null,error:N}}return{pid:Nl++,output:[null,S,_],stdout:S,stderr:_,status:p.code,signal:null,error:void 0}}catch(s){s&&typeof s=="object"&&s.code==null&&/ERR_NATIVE_BINARY_NOT_SUPPORTED\b/i.test(String(s.message||s))&&(s.code="ERR_NATIVE_BINARY_NOT_SUPPORTED");let o=s instanceof Error?s.message:String(s),a=i.encoding==null||i.encoding==="buffer",A=a&&typeof Buffer<"u"?Buffer.from(""):"",f=a&&typeof Buffer<"u"?Buffer.from(o):o;return{pid:Nl++,output:[null,A,f],stdout:A,stderr:f,status:1,signal:null,error:s instanceof Error?s:new Error(String(s))}}}function FV(e,t,r,n){let i=[],s={},o;typeof t=="function"?o=t:typeof r=="function"?(i=t.slice(),o=r):(i=Array.isArray(t)?t:[],s=r||{},o=n);let a=s.maxBuffer??1024*1024,A=d0(e,i,s),f="",l="",p=0,B=0,S=!1;return A.stdout.on("data",_=>{let N=String(_);f+=N,p+=N.length,p>a&&!S&&(S=!0,A.kill("SIGTERM"))}),A.stderr.on("data",_=>{let N=String(_);l+=N,B+=N.length,B>a&&!S&&(S=!0,A.kill("SIGTERM"))}),A.on("close",(..._)=>{let N=_[0];if(o)if(S){let P=new Error("stdout maxBuffer length exceeded");P.code="ERR_CHILD_PROCESS_STDIO_MAXBUFFER",P.killed=!0,P.stdout=f,P.stderr=l,o(P,f,l)}else if(N!==0){let P=new Error("Command failed: "+e);P.code=N,P.stdout=f,P.stderr=l,o(P,f,l)}else o(null,f,l)}),A.on("error",_=>{o&&o(_,f,l)}),A}function kV(e,t,r){let n=[],i={};Array.isArray(t)?(n=t,i=r||{}):i=t||{};let s=i.maxBuffer??1024*1024,o=TR(e,n,{...i,maxBuffer:s});if(o.error&&String(o.error.code)==="ERR_CHILD_PROCESS_STDIO_MAXBUFFER")throw o.error;if(o.status!==0){let a=new Error("Command failed: "+e);throw a.status=o.status??void 0,a.stdout=String(o.stdout),a.stderr=String(o.stderr),a}return i.encoding==="buffer"||!i.encoding||typeof o.stdout=="string"?o.stdout:o.stdout.toString(i.encoding)}function xV(e,t,r){if(typeof e!="string"||e.length===0)throw new TypeError('The "modulePath" argument must be of type string');let n=[],i={};Array.isArray(t)?(n=t.slice(),i=r||{}):i=t||{};let s=i.cwd??(typeof process<"u"?process.cwd():"/"),o=Array.isArray(i.execArgv)?i.execArgv:typeof process<"u"&&Array.isArray(process.execArgv)?process.execArgv:[],a={...typeof process<"u"?process.env:{},...i.env||{},AGENTOS_NODE_IPC:"1"},A=d0(i.execPath||(typeof process<"u"?process.execPath:"node"),[...o,e,...n],{...i,cwd:s,env:a,shell:!1});return A._ipcEnabled=!0,A.connected=!0,A}var UV={ChildProcess:DR,exec:NV,execSync:MV,spawn:d0,spawnSync:TR,execFile:FV,execFileSync:kV,fork:xV};Ge("_childProcessModule",UV);var D2e=UV,oi={},Cn={},D2=new Tu,yY="process.stdin",Or="",T2=!1,eB=!1,EB=!1,yB=!1;Nu("_stdinData",typeof _processConfig<"u"&&_processConfig.stdin||"");Nu("_stdinPosition",0);Nu("_stdinEnded",!1);Nu("_stdinFlowMode",!1);function Ta(){return globalThis._stdinData}function T2e(e){globalThis._stdinData=e}function lu(){return globalThis._stdinPosition}function NR(e){globalThis._stdinPosition=e}function qA(){return globalThis._stdinEnded}function MR(e){globalThis._stdinEnded=e}function VB(){return globalThis._stdinFlowMode}function kg(e){globalThis._stdinFlowMode=e}function N2e(e){Or="",T2=!1,D2=e,EB=!1,yB=!1}function N1(){if(!(qA()||!Ta())&&VB()&&lu()<Ta().length){let e=Ta().slice(lu());NR(Ta().length);let t=[...oi.data||[],...Cn.data||[]];Cn.data=[];for(let i of t)i(e);MR(!0);let r=[...oi.end||[],...Cn.end||[]];Cn.end=[];for(let i of r)i();let n=[...oi.close||[],...Cn.close||[]];Cn.close=[];for(let i of n)i()}}function s0(e,t){let r=[...oi[e]||[],...Cn[e]||[]];Cn[e]=[];for(let n of r)try{n(t)}catch(i){let s=Kl(i);if(!s.handled&&s.rethrow!==null){if(lI(s.rethrow))return YV(s.rethrow),!0;throw s.rethrow}return!0}return r.length>0}function o0(e){if(e){if(!eB&&typeof _registerHandle=="function")try{_registerHandle(yY,"process.stdin"),eB=!0}catch{}return}if(eB&&typeof _unregisterHandle=="function"){try{_unregisterHandle(yY)}catch{}eB=!1}}function cI(){if(!VB()||Or.length===0)return;let e=Or;Or="";let t=FA.encoding?e:_e.Buffer.from(e);s0("data",t),Su()}function Su(){!qA()||yB||Or.length>0||EB||(EB=!0,queueMicrotask(()=>{EB=!1,!(!qA()||yB||Or.length>0)&&(yB=!0,s0("end"),s0("close"),o0(!1))}))}function LV(){qA()||(MR(!0),cI(),Su())}function hu(){return typeof __runtimeStreamStdin<"u"&&!!__runtimeStreamStdin}function M1(){T2||!NA()&&!hu()||(T2=!0,o0(!FA.paused),!hu()&&(typeof _kernelStdinRead>"u"||(async()=>{try{for(;!qA()&&!(typeof _kernelStdinRead>"u");){let e=await _kernelStdinRead.apply(void 0,[65536,100],{result:{promise:!0}});if(e?.done)break;let t=String(e?.dataBase64??"");t&&(Or+=D2.decode(_e.Buffer.from(t,"base64"),{stream:!0}),cI())}}catch{}Or+=D2.decode(),LV()})()))}function M2e(e,t){if(e==="stdin_end"){LV();return}if(e!=="stdin"||qA())return;let r,n=!1;if(t&&typeof t=="object"&&typeof t.dataBase64=="string"){let i=_e.Buffer.from(t.dataBase64,"base64");if(i.length===0)return;if(!FA.encoding&&VB()){s0("data",i),Su();return}r=FA.encoding?i.toString(FA.encoding):i.toString("latin1"),n=!FA.encoding}else r=typeof t=="string"?t:t==null?"":_e.Buffer.from(t).toString("utf8");if(r){if(Or+=r,n&&!FA.encoding&&VB()){let i=Or;Or="",s0("data",_e.Buffer.from(i,"latin1")),Su();return}cI()}}var FA={readable:!0,paused:!0,encoding:null,isRaw:!1,read(e){if(Or.length>0){if(!e||e>=Or.length){let n=Or;return Or="",n}let r=Or.slice(0,e);return Or=Or.slice(e),r}if(lu()>=Ta().length)return null;let t=e?Ta().slice(lu(),lu()+e):Ta().slice(lu());return NR(lu()+t.length),t},on(e,t){return oi[e]||(oi[e]=[]),oi[e].push(t),(NA()||hu())&&(e==="data"||e==="end"||e==="close")&&M1(),e==="data"&&this.paused&&this.resume(),(e==="end"||e==="close")&&(NA()||hu())&&Su(),e==="end"&&Ta()&&!qA()&&(kg(!0),N1()),this},once(e,t){return Cn[e]||(Cn[e]=[]),Cn[e].push(t),(NA()||hu())&&(e==="data"||e==="end"||e==="close")&&M1(),e==="data"&&this.paused&&this.resume(),(e==="end"||e==="close")&&(NA()||hu())&&Su(),e==="end"&&Ta()&&!qA()&&(kg(!0),N1()),this},off(e,t){if(oi[e]){let r=oi[e].indexOf(t);r!==-1&&oi[e].splice(r,1)}return this},removeListener(e,t){return this.off(e,t)},emit(e,...t){let r=[...oi[e]||[],...Cn[e]||[]];Cn[e]=[];for(let n of r)n(t[0]);return r.length>0},pause(){return this.paused=!0,kg(!1),o0(!1),this},resume(){return(NA()||hu())&&(M1(),o0(!0)),this.paused=!1,kg(!0),cI(),N1(),Su(),this},setEncoding(e){return this.encoding=e,this},setRawMode(e){if(!NA())throw new Error("setRawMode is not supported when stdin is not a TTY");return typeof _ptySetRawMode<"u"&&_ptySetRawMode.applySync(void 0,[e]),this.isRaw=e,this},get isTTY(){return NA()},[Symbol.asyncIterator]:function(){let e=this,t=[],r=[],n=!1,i=null,s=()=>{for(;r.length>0;){if(i){r.shift()(Promise.reject(i));continue}if(t.length>0){r.shift()(Promise.resolve({done:!1,value:t.shift()}));continue}if(n){r.shift()(Promise.resolve({done:!0,value:void 0}));continue}break}},o=f=>{t.push(f),s()},a=()=>{n=!0,s()},A=f=>{i=f,n=!0,s()};return e.on("end",a),e.on("close",a),e.on("error",A),e.on("data",o),e.resume(),{next(){return i?Promise.reject(i):t.length>0?Promise.resolve({done:!1,value:t.shift()}):n?Promise.resolve({done:!0,value:void 0}):new Promise(f=>{r.push(f)})},return(){return n=!0,e.off?.("data",o),e.off?.("end",a),e.off?.("close",a),e.off?.("error",A),s(),Promise.resolve({done:!0,value:void 0})},[Symbol.asyncIterator](){return this}}}};function PV(){return{platform:typeof _processConfig<"u"&&_processConfig.platform||"linux",arch:typeof _processConfig<"u"&&_processConfig.arch||"x64",version:typeof _processConfig<"u"&&_processConfig.version||"v22.0.0",cwd:typeof _processConfig<"u"&&_processConfig.cwd||"/root",env:typeof _processConfig<"u"&&_processConfig.env||{},argv:typeof _processConfig<"u"&&_processConfig.argv||["node","script.js"],execPath:typeof _processConfig<"u"&&_processConfig.execPath||"/usr/bin/node",pid:typeof _processConfig<"u"&&_processConfig.pid||1,ppid:typeof _processConfig<"u"&&_processConfig.ppid||0,uid:typeof _processConfig<"u"&&_processConfig.uid||0,gid:typeof _processConfig<"u"&&_processConfig.gid||0,stdin:typeof _processConfig<"u"?_processConfig.stdin:void 0,timingMitigation:typeof _processConfig<"u"&&_processConfig.timingMitigation||"off",frozenTimeMs:typeof _processConfig<"u"?_processConfig.frozenTimeMs:void 0,highResolutionTime:typeof _processConfig<"u"&&_processConfig.high_resolution_time===!0}}var wr=PV(),F2e=typeof performance<"u"&&performance&&typeof performance.now=="function"?performance.now.bind(performance):Date.now,k2e=()=>typeof __secureExecHrNowUs=="function"?__secureExecHrNowUs()/1e3:F2e();function Wl(){return wr.timingMitigation==="freeze"&&typeof wr.frozenTimeMs=="number"?wr.frozenTimeMs:k2e()}var x2e=Wl(),tB=void 0,Ns=!1,FR=class extends Error{constructor(t){super("process.exit("+t+")");y(this,"code");y(this,"_isProcessExit");this.name="ProcessExitError",this.code=t,this._isProcessExit=!0}};Ge("ProcessExitError",FR);var kR={SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGBUS:7,SIGFPE:8,SIGKILL:9,SIGUSR1:10,SIGSEGV:11,SIGUSR2:12,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:17,SIGCONT:18,SIGSTOP:19,SIGTSTP:20,SIGTTIN:21,SIGTTOU:22,SIGURG:23,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:29,SIGPWR:30,SIGSYS:31},OV=Object.fromEntries(Object.entries(kR).map(([e,t])=>[t,e])),U2e=new Set(["SIGWINCH","SIGCHLD","SIGCONT","SIGURG"]),HV=new Set(["SIGHUP","SIGINT","SIGTERM","SIGWINCH","SIGCHLD"]);function qV(e){if(e==null)return 15;if(typeof e=="number")return e;let t=kR[e];if(t!==void 0)return t;throw new Error("Unknown signal: "+e)}function L2e(e){return typeof e=="string"&&HV.has(e)}var mY={ESRCH:3,EPERM:1,EINVAL:22};function P2e(e){let t=String(e&&e.message||e||""),r=null;if(e&&typeof e.code=="string"&&Object.prototype.hasOwnProperty.call(mY,e.code)?r=e.code:/\bESRCH\b/.test(t)?r="ESRCH":/\bEINVAL\b/.test(t)?r="EINVAL":(/\bEPERM\b/.test(t)||/permission denied/i.test(t))&&(r="EPERM"),r===null)return e instanceof Error?e:new Error(t);let n=new Error(`kill ${r}`);return n.code=r,n.errno=-mY[r],n.syscall="kill",n}var cn={},$r={},Gg=10,BY=new Set;function GV(e){return(cn[e]||[]).length+($r[e]||[]).length}function Ul(e){if(!L2e(e)||typeof _processSignalState>"u")return;let t=kR[e];if(typeof t!="number")return;let r=GV(e)>0?"user":"default";try{_processSignalState.applySyncPromise(void 0,[t,r,JSON.stringify([]),0])}catch{}}function O2e(){for(let e of HV)Ul(e)}function N2(e,t="default"){let r=qV(e);if(r===0)return!0;let n=OV[r]??`SIG${r}`;return t==="ignore"||kA(n,n)||U2e.has(n)?!0:Qe.exit(128+r)}function H2e(e,t){if(e!=="signal"||t===null||typeof t!="object")return;let r=t.signal??t.number,n=typeof t.action=="string"?t.action:"default";N2(r,n)}function F1(e,t,r=!1){let n=r?$r:cn;if(n[e]||(n[e]=[]),n[e].push(t),Gg>0&&!BY.has(e)){let i=(cn[e]?.length??0)+($r[e]?.length??0);if(i>Gg){BY.add(e);let s=`MaxListenersExceededWarning: Possible EventEmitter memory leak detected. ${i} ${e} listeners added to [process]. MaxListeners is ${Gg}. Use emitter.setMaxListeners() to increase limit`;typeof _error<"u"&&_error.applySync(void 0,[s])}}return Ul(e),Qe}function q2e(e,t){if(cn[e]){let r=cn[e].indexOf(t);r!==-1&&cn[e].splice(r,1)}if($r[e]){let r=$r[e].indexOf(t);r!==-1&&$r[e].splice(r,1)}return Ul(e),Qe}function kA(e,...t){let r=!1;if(cn[e])for(let n of cn[e])n.call(Qe,...t),r=!0;if($r[e]){let n=$r[e].slice();$r[e]=[];for(let i of n)i.call(Qe,...t),r=!0}return r}function lI(e){return!!(e&&typeof e=="object"&&(e._isProcessExit===!0||e.name==="ProcessExitError"))}function G2e(e){return e instanceof Error?e:new Error(String(e))}function Kl(e){if(lI(e))return{handled:!1,rethrow:e};let t=G2e(e);try{if(kA("uncaughtException",t,"uncaughtException"))return{handled:!0,rethrow:null}}catch(r){return{handled:!1,rethrow:r}}return{handled:!1,rethrow:t}}function YV(e){z2(()=>{throw e},0)}function Xl(e,t,r){if(!t||t.length===0)return!1;for(let n of t.slice())try{n.call(e,...r)}catch(i){let s=Kl(i);if(!s.handled&&s.rethrow!==null)throw s.rethrow;return!0}return!0}function NA(){return Wg().stdinIsTTY}Ge("_stdinDispatch",M2e);Ge("_signalDispatch",H2e);function WV(e){let t=Wl(),r=Math.floor(t/1e3),n=Math.floor(t%1e3*1e6);if(e){let i=r-e[0],s=n-e[1];return s<0&&(i-=1,s+=1e9),[i,s]}return[r,n]}WV.bigint=function(){let e=Wl();return BigInt(Math.floor(e*1e6))};var M2=wr.cwd,mB=18,xg={node:wr.version.replace(/^v/,""),v8:"11.3.244.8",uv:"1.44.2",zlib:"1.2.13",brotli:"1.0.9",ares:"1.19.0",modules:"108",nghttp2:"1.52.0",napi:"8",llhttp:"8.1.0",openssl:"3.0.8",cldr:"42.0",icu:"72.1",tz:"2022g",unicode:"15.0"};function Y2e(){return{rss:50*1024*1024,heapTotal:20*1024*1024,heapUsed:10*1024*1024,external:1*1024*1024,arrayBuffers:500*1024}}function VV(){let e=Y2e(),t=W1e.applySyncPromise(void 0,[]);return!t||typeof t!="object"?e:{rss:Number.isFinite(t.rss)?Number(t.rss):e.rss,heapTotal:Number.isFinite(t.heapTotal)?Number(t.heapTotal):e.heapTotal,heapUsed:Number.isFinite(t.heapUsed)?Number(t.heapUsed):e.heapUsed,external:Number.isFinite(t.external)?Number(t.external):e.external,arrayBuffers:Number.isFinite(t.arrayBuffers)?Number(t.arrayBuffers):e.arrayBuffers}}function W2e(e){let t=V1e.applySyncPromise(void 0,[e??null]);if(t&&typeof t=="object")return{user:Number.isFinite(t.user)?Number(t.user):1e6,system:Number.isFinite(t.system)?Number(t.system):5e5};let r={user:1e6,system:5e5};return e&&typeof e=="object"?{user:r.user-Number(e.user||0),system:r.system-Number(e.system||0)}:r}function V2e(){return{userCPUTime:1e6,systemCPUTime:5e5,maxRSS:50*1024,sharedMemorySize:0,unsharedDataSize:0,unsharedStackSize:0,minorPageFault:0,majorPageFault:0,swappedOut:0,fsRead:0,fsWrite:0,ipcSent:0,ipcReceived:0,signalsCount:0,voluntaryContextSwitches:0,involuntaryContextSwitches:0}}function J2e(){let e=V2e(),t=J1e.applySyncPromise(void 0,[]);return!t||typeof t!="object"?e:{userCPUTime:Number.isFinite(t.userCPUTime)?Number(t.userCPUTime):e.userCPUTime,systemCPUTime:Number.isFinite(t.systemCPUTime)?Number(t.systemCPUTime):e.systemCPUTime,maxRSS:Number.isFinite(t.maxRSS)?Number(t.maxRSS):e.maxRSS,sharedMemorySize:Number.isFinite(t.sharedMemorySize)?Number(t.sharedMemorySize):e.sharedMemorySize,unsharedDataSize:Number.isFinite(t.unsharedDataSize)?Number(t.unsharedDataSize):e.unsharedDataSize,unsharedStackSize:Number.isFinite(t.unsharedStackSize)?Number(t.unsharedStackSize):e.unsharedStackSize,minorPageFault:Number.isFinite(t.minorPageFault)?Number(t.minorPageFault):e.minorPageFault,majorPageFault:Number.isFinite(t.majorPageFault)?Number(t.majorPageFault):e.majorPageFault,swappedOut:Number.isFinite(t.swappedOut)?Number(t.swappedOut):e.swappedOut,fsRead:Number.isFinite(t.fsRead)?Number(t.fsRead):e.fsRead,fsWrite:Number.isFinite(t.fsWrite)?Number(t.fsWrite):e.fsWrite,ipcSent:Number.isFinite(t.ipcSent)?Number(t.ipcSent):e.ipcSent,ipcReceived:Number.isFinite(t.ipcReceived)?Number(t.ipcReceived):e.ipcReceived,signalsCount:Number.isFinite(t.signalsCount)?Number(t.signalsCount):e.signalsCount,voluntaryContextSwitches:Number.isFinite(t.voluntaryContextSwitches)?Number(t.voluntaryContextSwitches):e.voluntaryContextSwitches,involuntaryContextSwitches:Number.isFinite(t.involuntaryContextSwitches)?Number(t.involuntaryContextSwitches):e.involuntaryContextSwitches}}function j2e(){xg.node=wr.version.replace(/^v/,"");let e=j1e.applySyncPromise(void 0,[]);return e&&typeof e=="object"&&(Object.assign(xg,e),xg.node=wr.version.replace(/^v/,"")),xg}var Qe={platform:wr.platform,arch:wr.arch,version:wr.version,get versions(){return j2e()},pid:wr.pid,ppid:wr.ppid,execPath:wr.execPath,execArgv:[],argv:wr.argv,argv0:wr.argv[0]||"node",title:"node",env:wr.env,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:[],include_dirs:[],libraries:[]},variables:{node_prefix:"/usr",node_shared_libuv:!1}},release:{name:"node",sourceUrl:"https://nodejs.org/download/release/v20.0.0/node-v20.0.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.0.0/node-v20.0.0-headers.tar.gz"},features:{inspector:!1,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0},cwd(){return M2},chdir(e){let t;try{t=Lt.stat.applySyncPromise(void 0,[e])}catch{let n=new Error(`ENOENT: no such file or directory, chdir '${e}'`);throw n.code="ENOENT",n.errno=-2,n.syscall="chdir",n.path=e,n}if(!Fa(t).isDirectory){let n=new Error(`ENOTDIR: not a directory, chdir '${e}'`);throw n.code="ENOTDIR",n.errno=-20,n.syscall="chdir",n.path=e,n}M2=e},get exitCode(){return tB},set exitCode(e){tB=e??void 0},exit(e){let t=e!==void 0?e:tB??0;tB=t,Ns=!0;try{kA("exit",t)}catch{}throw new FR(t)},abort(){return Qe.kill(Qe.pid,"SIGABRT")},nextTick(e,...t){let r=Ua();sB.push({callback:Ol(e,r),args:t}),jQe()},hrtime:WV,getuid(){return S2()},getgid(){return pB()},geteuid(){let e=globalThis.process?.euid;return Number.isFinite(e)?e:S2()},getegid(){let e=globalThis.process?.egid;return Number.isFinite(e)?e:pB()},getgroups(){return Array.isArray(globalThis.process?.groups)&&globalThis.process.groups.length>0?[...globalThis.process.groups]:[pB()]},setuid(){},setgid(){},seteuid(){},setegid(){},setgroups(){},umask(e){let t=e===void 0?void 0:_a(e,"mask"),r=Number(Y1e.applySyncPromise(void 0,[t??null]));if(Number.isFinite(r))return mB=t??r,r;let n=mB;return t!==void 0&&(mB=t),n},uptime(){return(Wl()-x2e)/1e3},memoryUsage(){return VV()},cpuUsage(e){return W2e(e)},resourceUsage(){return J2e()},kill(e,t){if(typeof e!="number"||!Number.isFinite(e)||!Number.isInteger(e))throw new TypeError(`The "pid" argument must be an integer. Received ${String(e)}`);let r=qV(t),n=OV[r]??`SIG${r}`;if(typeof _processKill<"u"){let i;try{i=_processKill.applySyncPromise(void 0,[e,n])}catch(o){throw P2e(o)}let s=i;if(typeof s=="string")try{s=JSON.parse(s)}catch{s=null}if(s&&typeof s=="object"&&s.self===!0){let o=typeof s.action=="string"?s.action:"default";return N2(r,o)}return!0}if(e!==Qe.pid){let i=new Error("Operation not permitted");throw i.code="EPERM",i.errno=-1,i.syscall="kill",i}return N2(r,"default")},on(e,t){return F1(e,t)},once(e,t){return F1(e,t,!0)},removeListener(e,t){return q2e(e,t)},off:null,removeAllListeners(e){return e?(delete cn[e],delete $r[e],Ul(e)):(Object.keys(cn).forEach(t=>delete cn[t]),Object.keys($r).forEach(t=>delete $r[t]),O2e()),Qe},addListener(e,t){return F1(e,t)},emit(e,...t){return kA(e,...t)},listeners(e){return[...cn[e]||[],...$r[e]||[]]},listenerCount(e){return GV(e)},prependListener(e,t){return cn[e]||(cn[e]=[]),cn[e].unshift(t),Ul(e),Qe},prependOnceListener(e,t){return $r[e]||($r[e]=[]),$r[e].unshift(t),Ul(e),Qe},eventNames(){return[...new Set([...Object.keys(cn),...Object.keys($r)])]},setMaxListeners(e){return Gg=e,Qe},getMaxListeners(){return Gg},rawListeners(e){return Qe.listeners(e)},stdout:Z2,stderr:$2,stdin:FA,connected:wr.env?.AGENTOS_NODE_IPC==="1",mainModule:void 0,emitWarning(e){if(e&&typeof e=="object"){typeof e.message!="string"&&(e.message=String(e.message??"")),(typeof e.name!="string"||e.name.length===0)&&(e.name="Warning"),kA("warning",e);return}kA("warning",{message:String(e??""),name:"Warning"})},binding(e){let t=new Error("process.binding is not supported in sandbox");throw t.code="ERR_ACCESS_DENIED",t},_linkedBinding(e){let t=new Error("process._linkedBinding is not supported in sandbox");throw t.code="ERR_ACCESS_DENIED",t},dlopen(){throw new Error("process.dlopen is not supported")},hasUncaughtExceptionCaptureCallback(){return!1},setUncaughtExceptionCaptureCallback(){},send(e,t,r,n){let i=typeof t=="function"?t:typeof r=="function"?r:n;if(!Qe.connected)return!1;try{return Qe.stdout.write(_V(e)),i&&queueMicrotask(()=>i(null)),!0}catch(s){if(i)return queueMicrotask(()=>i(s)),!1;throw s}},disconnect(){Qe.connected&&(Qe.connected=!1,Qe._agentOSIpcHandleId&&typeof _unregisterHandle=="function"&&(_unregisterHandle(Qe._agentOSIpcHandleId),Qe._agentOSIpcHandleId=null),kA("disconnect"))},report:{directory:"",filename:"",compact:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1,getReport(){return{}},writeReport(){return""}},debugPort:9229,_cwd:wr.cwd,_umask:18};function JV(){if(!(wr.env?.AGENTOS_NODE_IPC==="1"||globalThis.__agentOSProcessConfigEnv?.AGENTOS_NODE_IPC==="1")||Qe._agentOSIpcInstalled)return;Qe._agentOSIpcInstalled=!0,Qe.connected=!0,!Qe._agentOSIpcHandleId&&typeof _registerHandle=="function"&&(Qe._agentOSIpcHandleId=`process-ipc:${Qe.pid}`,_registerHandle(Qe._agentOSIpcHandleId,"child_process IPC channel"));let t="";Qe.stdin.on("data",r=>{let n=vV(t,r);t=n.buffer;for(let i of n.messages)kA("message",i,void 0)})}function z2e(e){o0(!1),N2e(new Tu);for(let t of Object.keys(oi))oi[t]=[];for(let t of Object.keys(Cn))Cn[t]=[];T2e(e.stdin??""),NR(0),MR(!1),kg(!1),wr=e,M2=e.cwd,Qe.platform=e.platform,Qe.arch=e.arch,Qe.version=e.version,Qe.pid=e.pid,Qe.ppid=e.ppid,Qe.execPath=e.execPath,Qe.argv=e.argv,Qe.argv0=e.argv[0]||"node",Qe.env=e.env,Qe.connected=e.env?.AGENTOS_NODE_IPC==="1",Qe._cwd=e.cwd,Qe.stdin.paused=!0,Qe.stdin.encoding=null,Qe.stdin.isRaw=!1,xg.node=e.version.replace(/^v/,"")}Ge("__runtimeRefreshProcessConfig",()=>{z2e(PV())});Qe.off=Qe.removeListener;Ge("__runtimeInstallProcessIpcBridge",JV);JV();Qe.memoryUsage.rss=function(){return VV().rss};Object.defineProperty(Qe,Symbol.toStringTag,{value:"process",writable:!1,configurable:!0,enumerable:!1});var jV=Qe;function K2e(e){return encodeURIComponent(String(e)).replace(/%2F/g,"/")}function IY(e){let t=qr.posix.resolve(String(e||"/")),r=K2e(t);return new Qn(`file://${r.startsWith("/")?r:`/${r}`}`)}function bY(e){let t=e instanceof Qn?e.href:String(e??"");if(!t.startsWith("file:"))throw new TypeError("The URL must be of scheme file");let r=t.slice(5);return r.startsWith("//")&&(r=/^\/\/[^/]*(.*)$/.exec(r)?.[1]||"/"),r=r.split(/[?#]/,1)[0]||"/",r=decodeURIComponent(r),r.startsWith("/")||(r=`/${r}`),r}function zV(){let e=globalThis;e.process=Qe,e.setTimeout=z2,e.clearTimeout=eI,e.setInterval=K2,e.clearInterval=X2,e.setImmediate=CB,e.clearImmediate=jY;let t=typeof e.queueMicrotask=="function"?e.queueMicrotask.bind(e):va;e.queueMicrotask=i=>{let s=Ua();return t(()=>ZB(s,i,e,[]))},Pve(e),e.TextEncoder=L2,e.TextDecoder=Tu,e.Event=Pl,e.CustomEvent=k2,e.EventTarget=KB,typeof e.Buffer>"u"&&(e.Buffer=HY);let r=e.Buffer;typeof r.kMaxLength!="number"&&(r.kMaxLength=Vl),typeof r.kStringMaxLength!="number"&&(r.kStringMaxLength=A0),(typeof r.constants!="object"||r.constants===null)&&(r.constants=FY);let n=globalThis.__secureExecBuiltinUtilModule;if(n?.types&&(n.types.isProxy=()=>!1),oB(n),typeof e.atob>"u"||typeof e.btoa>"u"){let i=MY();typeof e.atob>"u"&&(e.atob=s=>{let o=i.toByteArray(String(s)),a="";for(let A of o)a+=String.fromCharCode(A);return a}),typeof e.btoa>"u"&&(e.btoa=s=>{let o=String(s),a=new Uint8Array(o.length);for(let A=0;A<o.length;A+=1){let f=o.charCodeAt(A);if(f>255)throw new TypeError("Invalid character");a[A]=f}return i.fromByteArray(a)})}if(typeof e.Crypto>"u"&&(e.Crypto=QR),typeof e.SubtleCrypto>"u"&&(e.SubtleCrypto=CR),typeof e.CryptoKey>"u"&&(e.CryptoKey=e0),typeof e.DOMException>"u"&&(e.DOMException=Zve),typeof e.crypto>"u")e.crypto=Da;else{let i=e.crypto;for(let[s,o]of Object.entries(Da))typeof i[s]>"u"&&(i[s]=o)}e.fetch=iI,e.Headers=Fwe,e.Request=kwe,e.Response=xwe,Iwe(e)}var KV={register:"kernelHandleRegister",unregister:"kernelHandleUnregister",list:"kernelHandleList"},JB=new Map,BB=[];function XV(e,t){try{a0(KV.register,e,t)}catch(r){throw r instanceof Error&&r.message.includes("EAGAIN")?new Error("ERR_RESOURCE_BUDGET_EXCEEDED: maximum active handles exceeded"):r}JB.set(e,t)}function ZV(e){JB.delete(e);let t=JB.size;try{a0(KV.unregister,e)}catch{}if(t===0&&BB.length>0){let r=BB;BB=[],r.forEach(n=>n())}}function $V(){if(typeof Ns<"u"&&Ns)return Promise.resolve();let e=globalThis._getPendingTimerCount,t=globalThis._waitForTimerDrain,r=jB().length>0,n=typeof e=="function"&&e()>0;if(!r&&!n)return Promise.resolve();let i=[];return r&&i.push(new Promise(s=>{let o=!1,a=()=>{o||(o=!0,s())};BB.push(a),jB().length===0&&a()})),n&&typeof t=="function"&&i.push(t()),Promise.all(i).then(()=>{})}function jB(){return Array.from(JB.values())}Ge("_registerHandle",XV);Ge("_unregisterHandle",ZV);Ge("_waitForActiveHandles",$V);Ge("_getActiveHandles",jB);var X2e={},Z2e={},$2e={id:"/<entry>.js",filename:"/<entry>.js",dirname:"/",exports:{},loaded:!1};Nu("_moduleCache",X2e);Nu("_pendingModules",Z2e);Nu("_currentModule",$2e);function IB(e){let t=e.lastIndexOf("/");return t===-1?".":t===0?"/":e.slice(0,t)}function eRe(e){if(e.startsWith("file://")){let t=e.slice(7);return t.startsWith("/")?t:"/"+t}return e}function tRe(e,t){return Xr.isBuiltin(t)?null:t.startsWith("./")||t.startsWith("../")||t.startsWith("/")?[e]:Xr._nodeModulePaths(e)}function eJ(e){let t=function(r,n){let i=_resolveModule.applySyncPromise(void 0,[r,e,"require"]);if(i===null){let s=new Error("Cannot find module '"+r+"'");throw s.code="MODULE_NOT_FOUND",s}return i};return t.paths=function(r){return tRe(e,r)},t}var tJ={".js":function(e,t){},".json":function(e,t){},".node":function(e,t){throw new Error(".node extensions are not supported in sandbox")}};function rJ(e){return e.cache=_moduleCache,e.main=globalThis.process?.mainModule,e.extensions=tJ,e}function rRe(e){let t=new Error(`require() of ES Module ${e} is not supported.`);return t.code="ERR_REQUIRE_ESM",t}function nRe(e){let t=new Error(`secure-exec module format bridge is not registered; cannot require ${e}.`);return t.code="ERR_AGENTOS_MODULE_FORMAT_BRIDGE_MISSING",t}function nJ(e){if(typeof _moduleFormat>"u"||typeof _moduleFormat.applySyncPromise!="function")throw nRe(e);if(_moduleFormat.applySyncPromise(void 0,[e])==="module")throw rRe(e)}function hI(e){if(typeof e!="string"&&!(e instanceof URL))throw new TypeError("filename must be a string or URL");let t=eRe(String(e)),r=IB(t),n=eJ(r),i=function(o){},s=function(o){return i(o),_requireFrom(o,r)};return s.resolve=n,rJ(s)}ln("__secureExecGuestCreateRequire",hI);var So,Xr=(So=class{constructor(t,r){y(this,"id");y(this,"path");y(this,"exports");y(this,"filename");y(this,"loaded");y(this,"children");y(this,"paths");y(this,"parent");y(this,"isPreloading");this.id=t,this.path=IB(t),this.exports={},this.filename=t,this.loaded=!1,this.children=[],this.paths=[],this.parent=r,this.isPreloading=!1;let n=this.path;for(;n!=="/";)this.paths.push(n+"/node_modules"),n=IB(n);this.paths.push("/node_modules")}require(t){return _requireFrom(t,this.path)}_compile(t,r){let n=String(t)+`
//# sourceURL=`+String(r),i=new Function("exports","require","module","__filename","__dirname",n),s=a=>(aV(a),_requireFrom(a,this.path));s.resolve=eJ(this.path),rJ(s);let o=globalThis._currentModule;globalThis._currentModule=this;try{return i(this.exports,s,this,r,this.path),this.loaded=!0,this.exports}finally{globalThis._currentModule=o}}static _resolveFilename(t,r,n,i){let s=r&&r.path?r.path:"/",o=_resolveModule.applySyncPromise(void 0,[t,s,"require"]);if(o===null){let a=new Error("Cannot find module '"+t+"'");throw a.code="MODULE_NOT_FOUND",a}return o}static wrap(t){return"(function (exports, require, module, __filename, __dirname) { "+t+`
});`}static isBuiltin(t){let r=t.replace(/^node:/,"");return So.builtinModules.includes(r)}static syncBuiltinESMExports(){}static findSourceMap(t){}static _nodeModulePaths(t){let r=[],n=t;for(;n!=="/"&&(r.push(n+"/node_modules"),n=IB(n),n!=="."););return r.push("/node_modules"),r}static _load(t,r,n){let i=r&&r.path?r.path:"/";return _requireFrom(t,i)}static runMain(){}},y(So,"_extensions",{...tJ,".js":function(t,r){nJ(r);let n=typeof _loadFile<"u"?_loadFile.applySyncPromise(void 0,[r]):_requireFrom("fs","/").readFileSync(r,"utf8");t._compile(n,r)},".json":function(t,r){let n=typeof _loadFile<"u"?_loadFile.applySyncPromise(void 0,[r]):_requireFrom("fs","/").readFileSync(r,"utf8");t.exports=JSON.parse(n)}}),y(So,"_cache",typeof _moduleCache<"u"?_moduleCache:{}),y(So,"builtinModules",Hve),y(So,"createRequire",hI),So),iJ=class{constructor(e){throw new Error("SourceMap is not implemented in sandbox")}get payload(){throw new Error("SourceMap is not implemented in sandbox")}set payload(e){throw new Error("SourceMap is not implemented in sandbox")}findEntry(e,t){throw new Error("SourceMap is not implemented in sandbox")}},sJ=Object.assign(Xr,{Module:Xr,createRequire:hI,_extensions:Xr._extensions,_cache:Xr._cache,builtinModules:Xr.builtinModules,isBuiltin:Xr.isBuiltin,_resolveFilename:Xr._resolveFilename,wrap:Xr.wrap,syncBuiltinESMExports:Xr.syncBuiltinESMExports,findSourceMap:Xr.findSourceMap,SourceMap:iJ});Ge("_moduleModule",sJ);function iRe(e,t){let r=typeof t=="string"?t:"/";if(Xr.isBuiltin(e))try{return Xve(e)}catch(s){if(s?.code!=="MODULE_NOT_FOUND")throw s}let n=_resolveModule.applySyncPromise(void 0,[e,r,"require"]);if(n===null){let s=new Error(`Cannot find module '${e}'`);throw s.code="MODULE_NOT_FOUND",s}if(Object.prototype.hasOwnProperty.call(_moduleCache,n))return _moduleCache[n].exports;nJ(n);let i=new Xr(n,{path:r});_moduleCache[n]=i;try{let s=n.endsWith(".json")?".json":n.endsWith(".node")?".node":".js";return(Xr._extensions[s]??Xr._extensions[".js"])(i,n),i.loaded=!0,i.exports}catch(s){throw delete _moduleCache[n],s}}Ge("_requireFrom",iRe);var sRe=sJ,oRe={};H2(oRe,{Buffer:()=>HY,CustomEvent:()=>k2,Event:()=>Pl,EventTarget:()=>KB,Module:()=>Xr,ProcessExitError:()=>FR,SourceMap:()=>iJ,TextDecoder:()=>Tu,TextEncoder:()=>L2,URL:()=>Qn,URLSearchParams:()=>Hr,_getActiveHandles:()=>jB,_registerHandle:()=>XV,_unregisterHandle:()=>ZV,_waitForActiveHandles:()=>$V,childProcess:()=>SV,clearImmediate:()=>jY,clearInterval:()=>X2,clearTimeout:()=>eI,createRequire:()=>hI,cryptoPolyfill:()=>Tl,default:()=>aRe,fs:()=>SR,module:()=>sRe,network:()=>ZW,os:()=>B2e,process:()=>jV,setImmediate:()=>CB,setInterval:()=>K2,setTimeout:()=>z2,setupGlobals:()=>zV});var aRe=SR;zV();})();
/*! Bundled license information:
ieee754/index.js:
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
buffer/index.js:
(*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*)
*/
/*! Bundled license information:
ieee754/index.js:
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
buffer/index.js:
(*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*)
punycode/punycode.js:
(*! https://mths.be/punycode v1.4.1 by @mathias *)
safe-buffer/index.js:
(*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
web-streams-polyfill/dist/ponyfill.es2018.js:
(**
* @license
* web-streams-polyfill v3.3.3
* Copyright 2024 Mattias Buelens, Diwank Singh Tomer and other contributors.
* This code is released under the MIT license.
* SPDX-License-Identifier: MIT
*)
assert/build/internal/util/comparisons.js:
(*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*)
undici/lib/web/fetch/body.js:
(*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
*/