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 bre=Object.create;var Td=Object.defineProperty;var Ire=Object.getOwnPropertyDescriptor;var Bre=Object.getOwnPropertyNames;var Cre=Object.getPrototypeOf,_re=Object.prototype.hasOwnProperty;var a_=e=>{throw TypeError(e)};var wre=(e,t,r)=>t in e?Td(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Nd=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var f_=(e,t)=>()=>(e&&(t=e(e=0)),t);var x=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ny=(e,t)=>{for(var r in t)Td(e,r,{get:t[r],enumerable:!0})},Ty=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Bre(t))!_re.call(e,i)&&i!==r&&Td(e,i,{get:()=>t[i],enumerable:!(n=Ire(t,i))||n.enumerable});return e},rn=(e,t,r)=>(Ty(e,t,"default"),r&&Ty(r,t,"default")),fr=(e,t,r)=>(r=e!=null?bre(Cre(e)):{},Ty(t||!e||!e.__esModule?Td(r,"default",{value:e,enumerable:!0}):r,e)),Lr=e=>Ty(Td({},"__esModule",{value:!0}),e);var m=(e,t,r)=>wre(e,typeof t!="symbol"?t+"":t,r),u_=(e,t,r)=>t.has(e)||a_("Cannot "+r),wx=(e,t)=>Object(t)!==t?a_('Cannot use the "in" operator on this value'):e.has(t),te=(e,t,r)=>(u_(e,t,"read from private field"),r?r.call(e):t.get(e)),vt=(e,t,r)=>t.has(e)?a_("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ft=(e,t,r,n)=>(u_(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Sx=(e,t,r)=>(u_(e,t,"access private method"),r);var Rx=x(My=>{"use strict";My.byteLength=Qre;My.toByteArray=Rre;My.fromByteArray=Nre;var co=[],Ri=[],Sre=typeof Uint8Array<"u"?Uint8Array:Array,c_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Yu=0,Qx=c_.length;Yu<Qx;++Yu)co[Yu]=c_[Yu],Ri[c_.charCodeAt(Yu)]=Yu;var Yu,Qx;Ri[45]=62;Ri[95]=63;function vx(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 Qre(e){var t=vx(e),r=t[0],n=t[1];return(r+n)*3/4-n}function vre(e,t,r){return(t+r)*3/4-r}function Rre(e){var t,r=vx(e),n=r[0],i=r[1],s=new Sre(vre(e,n,i)),o=0,a=i>0?n-4:n,f;for(f=0;f<a;f+=4)t=Ri[e.charCodeAt(f)]<<18|Ri[e.charCodeAt(f+1)]<<12|Ri[e.charCodeAt(f+2)]<<6|Ri[e.charCodeAt(f+3)],s[o++]=t>>16&255,s[o++]=t>>8&255,s[o++]=t&255;return i===2&&(t=Ri[e.charCodeAt(f)]<<2|Ri[e.charCodeAt(f+1)]>>4,s[o++]=t&255),i===1&&(t=Ri[e.charCodeAt(f)]<<10|Ri[e.charCodeAt(f+1)]<<4|Ri[e.charCodeAt(f+2)]>>2,s[o++]=t>>8&255,s[o++]=t&255),s}function Dre(e){return co[e>>18&63]+co[e>>12&63]+co[e>>6&63]+co[e&63]}function Tre(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(Dre(n));return i.join("")}function Nre(e){for(var t,r=e.length,n=r%3,i=[],s=16383,o=0,a=r-n;o<a;o+=s)i.push(Tre(e,o,o+s>a?a:o+s));return n===1?(t=e[r-1],i.push(co[t>>2]+co[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(co[t>>10]+co[t>>4&63]+co[t<<2&63]+"=")),i.join("")}});var Dx=x(A_=>{A_.read=function(e,t,r,n,i){var s,o,a=i*8-n-1,f=(1<<a)-1,u=f>>1,c=-7,h=r?i-1:0,y=r?-1:1,b=e[t+h];for(h+=y,s=b&(1<<-c)-1,b>>=-c,c+=a;c>0;s=s*256+e[t+h],h+=y,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=n;c>0;o=o*256+e[t+h],h+=y,c-=8);if(s===0)s=1-u;else{if(s===f)return o?NaN:(b?-1:1)*(1/0);o=o+Math.pow(2,n),s=s-u}return(b?-1:1)*o*Math.pow(2,s-n)};A_.write=function(e,t,r,n,i,s){var o,a,f,u=s*8-i-1,c=(1<<u)-1,h=c>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:s-1,S=n?1:-1,v=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=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(f=Math.pow(2,-o))<1&&(o--,f*=2),o+h>=1?t+=y/f:t+=y*Math.pow(2,1-h),t*f>=2&&(o++,f/=2),o+h>=c?(a=0,o=c):o+h>=1?(a=(t*f-1)*Math.pow(2,i),o=o+h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),o=0));i>=8;e[r+b]=a&255,b+=S,a/=256,i-=8);for(o=o<<i|a,u+=i;u>0;e[r+b]=o&255,b+=S,o/=256,u-=8);e[r+b-S]|=v*128}});var ur=x(XA=>{"use strict";var l_=Rx(),KA=Dx(),Tx=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;XA.Buffer=ce;XA.SlowBuffer=Lre;XA.INSPECT_MAX_BYTES=50;var xy=2147483647;XA.kMaxLength=xy;ce.TYPED_ARRAY_SUPPORT=Mre();!ce.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 Mre(){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(ce.prototype,"parent",{enumerable:!0,get:function(){if(ce.isBuffer(this))return this.buffer}});Object.defineProperty(ce.prototype,"offset",{enumerable:!0,get:function(){if(ce.isBuffer(this))return this.byteOffset}});function Ba(e){if(e>xy)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,ce.prototype),t}function ce(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 p_(e)}return xx(e,t,r)}ce.poolSize=8192;function xx(e,t,r){if(typeof e=="string")return kre(e,t);if(ArrayBuffer.isView(e))return Fre(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(Ao(e,ArrayBuffer)||e&&Ao(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ao(e,SharedArrayBuffer)||e&&Ao(e.buffer,SharedArrayBuffer)))return d_(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 ce.from(n,t,r);var i=Ure(e);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return ce.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)}ce.from=function(e,t,r){return xx(e,t,r)};Object.setPrototypeOf(ce.prototype,Uint8Array.prototype);Object.setPrototypeOf(ce,Uint8Array);function kx(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 xre(e,t,r){return kx(e),e<=0?Ba(e):t!==void 0?typeof r=="string"?Ba(e).fill(t,r):Ba(e).fill(t):Ba(e)}ce.alloc=function(e,t,r){return xre(e,t,r)};function p_(e){return kx(e),Ba(e<0?0:y_(e)|0)}ce.allocUnsafe=function(e){return p_(e)};ce.allocUnsafeSlow=function(e){return p_(e)};function kre(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!ce.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Fx(e,t)|0,n=Ba(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function h_(e){for(var t=e.length<0?0:y_(e.length)|0,r=Ba(t),n=0;n<t;n+=1)r[n]=e[n]&255;return r}function Fre(e){if(Ao(e,Uint8Array)){var t=new Uint8Array(e);return d_(t.buffer,t.byteOffset,t.byteLength)}return h_(e)}function d_(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,ce.prototype),n}function Ure(e){if(ce.isBuffer(e)){var t=y_(e.length)|0,r=Ba(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||E_(e.length)?Ba(0):h_(e);if(e.type==="Buffer"&&Array.isArray(e.data))return h_(e.data)}function y_(e){if(e>=xy)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+xy.toString(16)+" bytes");return e|0}function Lre(e){return+e!=e&&(e=0),ce.alloc(+e)}ce.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==ce.prototype};ce.compare=function(t,r){if(Ao(t,Uint8Array)&&(t=ce.from(t,t.offset,t.byteLength)),Ao(r,Uint8Array)&&(r=ce.from(r,r.offset,r.byteLength)),!ce.isBuffer(t)||!ce.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};ce.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}};ce.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return ce.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=ce.allocUnsafe(r),s=0;for(n=0;n<t.length;++n){var o=t[n];if(Ao(o,Uint8Array))s+o.length>i.length?ce.from(o).copy(i,s):Uint8Array.prototype.set.call(i,o,s);else if(ce.isBuffer(o))o.copy(i,s);else throw new TypeError('"list" argument must be an Array of Buffers');s+=o.length}return i};function Fx(e,t){if(ce.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Ao(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 g_(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return qx(e).length;default:if(i)return n?-1:g_(e).length;t=(""+t).toLowerCase(),i=!0}}ce.byteLength=Fx;function Pre(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 zre(this,t,r);case"utf8":case"utf-8":return Lx(this,t,r);case"ascii":return Jre(this,t,r);case"latin1":case"binary":return jre(this,t,r);case"base64":return Wre(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kre(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}ce.prototype._isBuffer=!0;function Wu(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}ce.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)Wu(this,r,r+1);return this};ce.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)Wu(this,r,r+3),Wu(this,r+1,r+2);return this};ce.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)Wu(this,r,r+7),Wu(this,r+1,r+6),Wu(this,r+2,r+5),Wu(this,r+3,r+4);return this};ce.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Lx(this,0,t):Pre.apply(this,arguments)};ce.prototype.toLocaleString=ce.prototype.toString;ce.prototype.equals=function(t){if(!ce.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:ce.compare(this,t)===0};ce.prototype.inspect=function(){var t="",r=XA.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Tx&&(ce.prototype[Tx]=ce.prototype.inspect);ce.prototype.compare=function(t,r,n,i,s){if(Ao(t,Uint8Array)&&(t=ce.from(t,t.offset,t.byteLength)),!ce.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,f=Math.min(o,a),u=this.slice(i,s),c=t.slice(r,n),h=0;h<f;++h)if(u[h]!==c[h]){o=u[h],a=c[h];break}return o<a?-1:a<o?1:0};function Ux(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,E_(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=ce.from(t,n)),ce.isBuffer(t))return t.length===0?-1:Nx(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):Nx(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Nx(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 f(b,S){return s===1?b[S]:b.readUInt16BE(S*s)}var u;if(i){var c=-1;for(u=r;u<o;u++)if(f(e,u)===f(t,c===-1?0:u-c)){if(c===-1&&(c=u),u-c+1===a)return c*s}else c!==-1&&(u-=u-c),c=-1}else for(r+a>o&&(r=o-a),u=r;u>=0;u--){for(var h=!0,y=0;y<a;y++)if(f(e,u+y)!==f(t,y)){h=!1;break}if(h)return u}return-1}ce.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};ce.prototype.indexOf=function(t,r,n){return Ux(this,t,r,n,!0)};ce.prototype.lastIndexOf=function(t,r,n){return Ux(this,t,r,n,!1)};function Ore(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(E_(a))return o;e[r+o]=a}return o}function Hre(e,t,r,n){return ky(g_(t,e.length-r),e,r,n)}function qre(e,t,r,n){return ky(Zre(t),e,r,n)}function Gre(e,t,r,n){return ky(qx(t),e,r,n)}function Yre(e,t,r,n){return ky(ene(t,e.length-r),e,r,n)}ce.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 Ore(this,t,r,n);case"utf8":case"utf-8":return Hre(this,t,r,n);case"ascii":case"latin1":case"binary":return qre(this,t,r,n);case"base64":return Gre(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Yre(this,t,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};ce.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Wre(e,t,r){return t===0&&r===e.length?l_.fromByteArray(e):l_.fromByteArray(e.slice(t,r))}function Lx(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 f,u,c,h;switch(a){case 1:s<128&&(o=s);break;case 2:f=e[i+1],(f&192)===128&&(h=(s&31)<<6|f&63,h>127&&(o=h));break;case 3:f=e[i+1],u=e[i+2],(f&192)===128&&(u&192)===128&&(h=(s&15)<<12|(f&63)<<6|u&63,h>2047&&(h<55296||h>57343)&&(o=h));break;case 4:f=e[i+1],u=e[i+2],c=e[i+3],(f&192)===128&&(u&192)===128&&(c&192)===128&&(h=(s&15)<<18|(f&63)<<12|(u&63)<<6|c&63,h>65535&&h<1114112&&(o=h))}}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 Vre(n)}var Mx=4096;function Vre(e){var t=e.length;if(t<=Mx)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Mx));return r}function Jre(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 jre(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 zre(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+=tne[e[s]];return i}function Kre(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}ce.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,ce.prototype),i};function Pr(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")}ce.prototype.readUintLE=ce.prototype.readUIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||Pr(t,r,this.length);for(var i=this[t],s=1,o=0;++o<r&&(s*=256);)i+=this[t+o]*s;return i};ce.prototype.readUintBE=ce.prototype.readUIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||Pr(t,r,this.length);for(var i=this[t+--r],s=1;r>0&&(s*=256);)i+=this[t+--r]*s;return i};ce.prototype.readUint8=ce.prototype.readUInt8=function(t,r){return t=t>>>0,r||Pr(t,1,this.length),this[t]};ce.prototype.readUint16LE=ce.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||Pr(t,2,this.length),this[t]|this[t+1]<<8};ce.prototype.readUint16BE=ce.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||Pr(t,2,this.length),this[t]<<8|this[t+1]};ce.prototype.readUint32LE=ce.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||Pr(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};ce.prototype.readUint32BE=ce.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||Pr(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};ce.prototype.readIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||Pr(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};ce.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||Pr(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};ce.prototype.readInt8=function(t,r){return t=t>>>0,r||Pr(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};ce.prototype.readInt16LE=function(t,r){t=t>>>0,r||Pr(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};ce.prototype.readInt16BE=function(t,r){t=t>>>0,r||Pr(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};ce.prototype.readInt32LE=function(t,r){return t=t>>>0,r||Pr(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};ce.prototype.readInt32BE=function(t,r){return t=t>>>0,r||Pr(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};ce.prototype.readFloatLE=function(t,r){return t=t>>>0,r||Pr(t,4,this.length),KA.read(this,t,!0,23,4)};ce.prototype.readFloatBE=function(t,r){return t=t>>>0,r||Pr(t,4,this.length),KA.read(this,t,!1,23,4)};ce.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||Pr(t,8,this.length),KA.read(this,t,!0,52,8)};ce.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||Pr(t,8,this.length),KA.read(this,t,!1,52,8)};function Gn(e,t,r,n,i,s){if(!ce.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")}ce.prototype.writeUintLE=ce.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;Gn(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};ce.prototype.writeUintBE=ce.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;Gn(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};ce.prototype.writeUint8=ce.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||Gn(this,t,r,1,255,0),this[r]=t&255,r+1};ce.prototype.writeUint16LE=ce.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||Gn(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};ce.prototype.writeUint16BE=ce.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||Gn(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};ce.prototype.writeUint32LE=ce.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||Gn(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};ce.prototype.writeUint32BE=ce.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||Gn(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};ce.prototype.writeIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var s=Math.pow(2,8*n-1);Gn(this,t,r,n,s-1,-s)}var o=0,a=1,f=0;for(this[r]=t&255;++o<n&&(a*=256);)t<0&&f===0&&this[r+o-1]!==0&&(f=1),this[r+o]=(t/a>>0)-f&255;return r+n};ce.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var s=Math.pow(2,8*n-1);Gn(this,t,r,n,s-1,-s)}var o=n-1,a=1,f=0;for(this[r+o]=t&255;--o>=0&&(a*=256);)t<0&&f===0&&this[r+o+1]!==0&&(f=1),this[r+o]=(t/a>>0)-f&255;return r+n};ce.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||Gn(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};ce.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||Gn(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};ce.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||Gn(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};ce.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||Gn(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};ce.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||Gn(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 Px(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 Ox(e,t,r,n,i){return t=+t,r=r>>>0,i||Px(e,t,r,4,34028234663852886e22,-34028234663852886e22),KA.write(e,t,r,n,23,4),r+4}ce.prototype.writeFloatLE=function(t,r,n){return Ox(this,t,r,!0,n)};ce.prototype.writeFloatBE=function(t,r,n){return Ox(this,t,r,!1,n)};function Hx(e,t,r,n,i){return t=+t,r=r>>>0,i||Px(e,t,r,8,17976931348623157e292,-17976931348623157e292),KA.write(e,t,r,n,52,8),r+8}ce.prototype.writeDoubleLE=function(t,r,n){return Hx(this,t,r,!0,n)};ce.prototype.writeDoubleBE=function(t,r,n){return Hx(this,t,r,!1,n)};ce.prototype.copy=function(t,r,n,i){if(!ce.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};ce.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"&&!ce.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=ce.isBuffer(t)?t:ce.from(t,i),f=a.length;if(f===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=a[o%f]}return this};var Xre=/[^+/0-9A-Za-z-_]/g;function $re(e){if(e=e.split("=")[0],e=e.trim().replace(Xre,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function g_(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 Zre(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function ene(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 qx(e){return l_.toByteArray($re(e))}function ky(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 Ao(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function E_(e){return e!==e}var tne=(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 Yn=x((s8e,b_)=>{"use strict";var $A=typeof Reflect=="object"?Reflect:null,Gx=$A&&typeof $A.apply=="function"?$A.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},Fy;$A&&typeof $A.ownKeys=="function"?Fy=$A.ownKeys:Object.getOwnPropertySymbols?Fy=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Fy=function(t){return Object.getOwnPropertyNames(t)};function joe(e){console&&console.warn&&console.warn(e)}var Wx=Number.isNaN||function(t){return t!==t};function Lt(){Lt.init.call(this)}b_.exports=Lt;b_.exports.once=$oe;Lt.EventEmitter=Lt;Lt.prototype._events=void 0;Lt.prototype._eventsCount=0;Lt.prototype._maxListeners=void 0;var Yx=10;function Uy(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Lt,"defaultMaxListeners",{enumerable:!0,get:function(){return Yx},set:function(e){if(typeof e!="number"||e<0||Wx(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");Yx=e}});Lt.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};Lt.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||Wx(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 Vx(e){return e._maxListeners===void 0?Lt.defaultMaxListeners:e._maxListeners}Lt.prototype.getMaxListeners=function(){return Vx(this)};Lt.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 f=s[t];if(f===void 0)return!1;if(typeof f=="function")Gx(f,this,r);else for(var u=f.length,c=Xx(f,u),n=0;n<u;++n)Gx(c[n],this,r);return!0};function Jx(e,t,r,n){var i,s,o;if(Uy(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=Vx(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,joe(a)}return e}Lt.prototype.addListener=function(t,r){return Jx(this,t,r,!1)};Lt.prototype.on=Lt.prototype.addListener;Lt.prototype.prependListener=function(t,r){return Jx(this,t,r,!0)};function zoe(){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 jx(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=zoe.bind(n);return i.listener=r,n.wrapFn=i,i}Lt.prototype.once=function(t,r){return Uy(r),this.on(t,jx(this,t,r)),this};Lt.prototype.prependOnceListener=function(t,r){return Uy(r),this.prependListener(t,jx(this,t,r)),this};Lt.prototype.removeListener=function(t,r){var n,i,s,o,a;if(Uy(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():Koe(n,s),n.length===1&&(i[t]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",t,a||r)}return this};Lt.prototype.off=Lt.prototype.removeListener;Lt.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 zx(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?Xoe(i):Xx(i,i.length)}Lt.prototype.listeners=function(t){return zx(this,t,!0)};Lt.prototype.rawListeners=function(t){return zx(this,t,!1)};Lt.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Kx.call(e,t)};Lt.prototype.listenerCount=Kx;function Kx(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}Lt.prototype.eventNames=function(){return this._eventsCount>0?Fy(this._events):[]};function Xx(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function Koe(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function Xoe(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function $oe(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))}$x(e,t,s,{once:!0}),t!=="error"&&Zoe(e,i,{once:!0})})}function Zoe(e,t,r){typeof e.on=="function"&&$x(e,"error",t,r)}function $x(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 I_=x((o8e,ek)=>{"use strict";function lo(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function Zx(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 f=r.lastIndexOf("/");if(f!==r.length-1){f===-1?(r="",n=0):(r=r.slice(0,f),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 eae(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 ZA={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),lo(s),s.length!==0&&(t=s+"/"+t,r=s.charCodeAt(0)===47)}return t=Zx(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(lo(t),t.length===0)return".";var r=t.charCodeAt(0)===47,n=t.charCodeAt(t.length-1)===47;return t=Zx(t,!r),t.length===0&&!r&&(t="."),t.length>0&&n&&(t+="/"),r?"/"+t:t},isAbsolute:function(t){return lo(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];lo(n),n.length>0&&(t===void 0?t=n:t+="/"+n)}return t===void 0?".":ZA.normalize(t)},relative:function(t,r){if(lo(t),lo(r),t===r||(t=ZA.resolve(t),r=ZA.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,f=a-o,u=s<f?s:f,c=-1,h=0;h<=u;++h){if(h===u){if(f>u){if(r.charCodeAt(o+h)===47)return r.slice(o+h+1);if(h===0)return r.slice(o+h)}else s>u&&(t.charCodeAt(n+h)===47?c=h:h===0&&(c=0));break}var y=t.charCodeAt(n+h),b=r.charCodeAt(o+h);if(y!==b)break;y===47&&(c=h)}var S="";for(h=n+c+1;h<=i;++h)(h===i||t.charCodeAt(h)===47)&&(S.length===0?S+="..":S+="/..");return S.length>0?S+r.slice(o+c):(o+=c,r.charCodeAt(o)===47&&++o,r.slice(o))},_makeLong:function(t){return t},dirname:function(t){if(lo(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');lo(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,f=-1;for(o=t.length-1;o>=0;--o){var u=t.charCodeAt(o);if(u===47){if(!s){n=o+1;break}}else f===-1&&(s=!1,f=o+1),a>=0&&(u===r.charCodeAt(a)?--a===-1&&(i=o):(a=-1,i=f))}return n===i?i=f: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){lo(t);for(var r=-1,n=0,i=-1,s=!0,o=0,a=t.length-1;a>=0;--a){var f=t.charCodeAt(a);if(f===47){if(!s){n=a+1;break}continue}i===-1&&(s=!1,i=a+1),f===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 eae("/",t)},parse:function(t){lo(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,f=-1,u=!0,c=t.length-1,h=0;c>=s;--c){if(n=t.charCodeAt(c),n===47){if(!u){a=c+1;break}continue}f===-1&&(u=!1,f=c+1),n===46?o===-1?o=c:h!==1&&(h=1):o!==-1&&(h=-1)}return o===-1||f===-1||h===0||h===1&&o===f-1&&o===a+1?f!==-1&&(a===0&&i?r.base=r.name=t.slice(1,f):r.base=r.name=t.slice(a,f)):(a===0&&i?(r.name=t.slice(1,o),r.base=t.slice(1,f)):(r.name=t.slice(a,o),r.base=t.slice(a,f)),r.ext=t.slice(o,f)),a>0?r.dir=t.slice(0,a-1):i&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};ZA.posix=ZA;ek.exports=ZA});var B_=x((el,tl)=>{(function(e){var t=typeof el=="object"&&el&&!el.nodeType&&el,r=typeof tl=="object"&&tl&&!tl.nodeType&&tl,n=typeof globalThis=="object"&&globalThis;(n.global===n||n.window===n||n.self===n)&&(e=n);var i,s=2147483647,o=36,a=1,f=26,u=38,c=700,h=72,y=128,b="-",S=/^xn--/,v=/[^\x20-\x7E]/,L=/[\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"},P=o-a,Y=Math.floor,V=String.fromCharCode,X;function j(_){throw new RangeError(U[_])}function re(_,d){for(var T=_.length,M=[];T--;)M[T]=d(_[T]);return M}function ie(_,d){var T=_.split("@"),M="";T.length>1&&(M=T[0]+"@",_=T[1]),_=_.replace(L,".");var C=_.split("."),F=re(C,d).join(".");return M+F}function oe(_){for(var d=[],T=0,M=_.length,C,F;T<M;)C=_.charCodeAt(T++),C>=55296&&C<=56319&&T<M?(F=_.charCodeAt(T++),(F&64512)==56320?d.push(((C&1023)<<10)+(F&1023)+65536):(d.push(C),T--)):d.push(C);return d}function O(_){return re(_,function(d){var T="";return d>65535&&(d-=65536,T+=V(d>>>10&1023|55296),d=56320|d&1023),T+=V(d),T}).join("")}function E(_){return _-48<10?_-22:_-65<26?_-65:_-97<26?_-97:o}function R(_,d){return _+22+75*(_<26)-((d!=0)<<5)}function B(_,d,T){var M=0;for(_=T?Y(_/c):_>>1,_+=Y(_/d);_>P*f>>1;M+=o)_=Y(_/P);return Y(M+(P+1)*_/(_+u))}function l(_){var d=[],T=_.length,M,C=0,F=y,se=h,ue,Ae,pe,he,de,Qt,Ie,_e,_r;for(ue=_.lastIndexOf(b),ue<0&&(ue=0),Ae=0;Ae<ue;++Ae)_.charCodeAt(Ae)>=128&&j("not-basic"),d.push(_.charCodeAt(Ae));for(pe=ue>0?ue+1:0;pe<T;){for(he=C,de=1,Qt=o;pe>=T&&j("invalid-input"),Ie=E(_.charCodeAt(pe++)),(Ie>=o||Ie>Y((s-C)/de))&&j("overflow"),C+=Ie*de,_e=Qt<=se?a:Qt>=se+f?f:Qt-se,!(Ie<_e);Qt+=o)_r=o-_e,de>Y(s/_r)&&j("overflow"),de*=_r;M=d.length+1,se=B(C-he,M,he==0),Y(C/M)>s-F&&j("overflow"),F+=Y(C/M),C%=M,d.splice(C++,0,F)}return O(d)}function p(_){var d,T,M,C,F,se,ue,Ae,pe,he,de,Qt=[],Ie,_e,_r,Se;for(_=oe(_),Ie=_.length,d=y,T=0,F=h,se=0;se<Ie;++se)de=_[se],de<128&&Qt.push(V(de));for(M=C=Qt.length,C&&Qt.push(b);M<Ie;){for(ue=s,se=0;se<Ie;++se)de=_[se],de>=d&&de<ue&&(ue=de);for(_e=M+1,ue-d>Y((s-T)/_e)&&j("overflow"),T+=(ue-d)*_e,d=ue,se=0;se<Ie;++se)if(de=_[se],de<d&&++T>s&&j("overflow"),de==d){for(Ae=T,pe=o;he=pe<=F?a:pe>=F+f?f:pe-F,!(Ae<he);pe+=o)Se=Ae-he,_r=o-he,Qt.push(V(R(he+Se%_r,0))),Ae=Y(Se/_r);Qt.push(V(R(Ae,0))),F=B(T,_e,M==C),T=0,++M}++T,++d}return Qt.join("")}function Q(_){return ie(_,function(d){return S.test(d)?l(d.slice(4).toLowerCase()):d})}function D(_){return ie(_,function(d){return v.test(d)?"xn--"+p(d):d})}if(i={version:"1.4.1",ucs2:{decode:oe,encode:O},decode:l,encode:p,toASCII:D,toUnicode:Q},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return i});else if(t&&r)if(tl.exports==t)r.exports=i;else for(X in i)i.hasOwnProperty(X)&&(t[X]=i[X]);else e.punycode=i})(el)});var rk=x((a8e,tk)=>{"use strict";function tae(e,t){return Object.prototype.hasOwnProperty.call(e,t)}tk.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 f=0;f<a;++f){var u=e[f].replace(s,"%20"),c=u.indexOf(r),h,y,b,S;c>=0?(h=u.substr(0,c),y=u.substr(c+1)):(h=u,y=""),b=decodeURIComponent(h),S=decodeURIComponent(y),tae(i,b)?rae(i[b])?i[b].push(S):i[b]=[i[b],S]:i[b]=S}return i};var rae=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"}});var sk=x((f8e,ik)=>{"use strict";var Md=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};ik.exports=function(e,t,r,n){return t=t||"&",r=r||"=",e===null&&(e=void 0),typeof e=="object"?nk(iae(e),function(i){var s=encodeURIComponent(Md(i))+r;return nae(e[i])?nk(e[i],function(o){return s+encodeURIComponent(Md(o))}).join(t):s+encodeURIComponent(Md(e[i]))}).join(t):n?encodeURIComponent(Md(n))+r+encodeURIComponent(Md(e)):""};var nae=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function nk(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 iae=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}});var C_=x(xd=>{"use strict";xd.decode=xd.parse=rk();xd.encode=xd.stringify=sk()});var Ly={};Ny(Ly,{decode:()=>kf.decode,default:()=>sae,encode:()=>kf.encode,escape:()=>ok,parse:()=>kf.parse,stringify:()=>kf.stringify,unescape:()=>ak});function ok(e){return encodeURIComponent(e)}function ak(e){return decodeURIComponent(e)}var xf,kf,sae,__=f_(()=>{xf=fr(C_(),1),kf=fr(C_(),1);sae={decode:xf.decode,encode:xf.encode,parse:xf.parse,stringify:xf.stringify,escape:ok,unescape:ak}});var or=x((c8e,fk)=>{"use strict";var w_=class extends Error{constructor(t){if(!Array.isArray(t))throw new TypeError(`Expected input to be an Array, got ${typeof t}`);let r="";for(let n=0;n<t.length;n++)r+=` ${t[n].stack}
`;super(r),this.name="AggregateError",this.errors=t}};fk.exports={AggregateError:w_,ArrayIsArray(e){return Array.isArray(e)},ArrayPrototypeIncludes(e,t){return e.includes(t)},ArrayPrototypeIndexOf(e,t){return e.indexOf(t)},ArrayPrototypeJoin(e,t){return e.join(t)},ArrayPrototypeMap(e,t){return e.map(t)},ArrayPrototypePop(e,t){return e.pop(t)},ArrayPrototypePush(e,t){return e.push(t)},ArrayPrototypeSlice(e,t,r){return e.slice(t,r)},Error,FunctionPrototypeCall(e,t,...r){return e.call(t,...r)},FunctionPrototypeSymbolHasInstance(e,t){return Function.prototype[Symbol.hasInstance].call(e,t)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(e,t){return Object.defineProperties(e,t)},ObjectDefineProperty(e,t,r){return Object.defineProperty(e,t,r)},ObjectGetOwnPropertyDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)},ObjectKeys(e){return Object.keys(e)},ObjectSetPrototypeOf(e,t){return Object.setPrototypeOf(e,t)},Promise,PromisePrototypeCatch(e,t){return e.catch(t)},PromisePrototypeThen(e,t,r){return e.then(t,r)},PromiseReject(e){return Promise.reject(e)},PromiseResolve(e){return Promise.resolve(e)},ReflectApply:Reflect.apply,RegExpPrototypeTest(e,t){return e.test(t)},SafeSet:Set,String,StringPrototypeSlice(e,t,r){return e.slice(t,r)},StringPrototypeToLowerCase(e){return e.toLowerCase()},StringPrototypeToUpperCase(e){return e.toUpperCase()},StringPrototypeTrim(e){return e.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(e,t,r){return e.set(t,r)},Boolean,Uint8Array}});var S_=x((A8e,uk)=>{"use strict";uk.exports={format(e,...t){return e.replace(/%([sdifj])/g,function(...[r,n]){let i=t.shift();return n==="f"?i.toFixed(6):n==="j"?JSON.stringify(i):n==="s"&&typeof i=="object"?`${i.constructor!==Object?i.constructor.name:""} {}`.trim():i.toString()})},inspect(e){switch(typeof e){case"string":if(e.includes("'"))if(e.includes('"')){if(!e.includes("`")&&!e.includes("${"))return`\`${e}\``}else return`"${e}"`;return`'${e}'`;case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return`${String(e)}n`;case"boolean":case"undefined":return String(e);case"object":return"{}"}}}});var gn=x((l8e,lk)=>{"use strict";var{format:oae,inspect:Py}=S_(),{AggregateError:aae}=or(),fae=globalThis.AggregateError||aae,uae=Symbol("kIsNodeError"),cae=["string","function","number","object","Function","Object","boolean","bigint","symbol"],Aae=/^([A-Z][a-z0-9]*)+$/,lae="__node_internal_",Oy={};function Vu(e,t){if(!e)throw new Oy.ERR_INTERNAL_ASSERTION(t)}function ck(e){let t="",r=e.length,n=e[0]==="-"?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function hae(e,t,r){if(typeof t=="function")return Vu(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);let n=(t.match(/%[dfijoOs]/g)||[]).length;return Vu(n===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),r.length===0?t:oae(t,...r)}function nn(e,t,r){r||(r=Error);class n extends r{constructor(...s){super(hae(e,t,s))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(n.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=e,n.prototype[uae]=!0,Oy[e]=n}function Ak(e){let t=lae+e.name;return Object.defineProperty(e,"name",{value:t}),e}function dae(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;let r=new fae([t,e],t.message);return r.code=t.code,r}return e||t}var Q_=class extends Error{constructor(t="The operation was aborted",r=void 0){if(r!==void 0&&typeof r!="object")throw new Oy.ERR_INVALID_ARG_TYPE("options","Object",r);super(t,r),this.code="ABORT_ERR",this.name="AbortError"}};nn("ERR_ASSERTION","%s",Error);nn("ERR_INVALID_ARG_TYPE",(e,t,r)=>{Vu(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";e.endsWith(" argument")?n+=`${e} `:n+=`"${e}" ${e.includes(".")?"property":"argument"} `,n+="must be ";let i=[],s=[],o=[];for(let f of t)Vu(typeof f=="string","All expected entries have to be of type string"),cae.includes(f)?i.push(f.toLowerCase()):Aae.test(f)?s.push(f):(Vu(f!=="object",'The value "object" should be written as "Object"'),o.push(f));if(s.length>0){let f=i.indexOf("object");f!==-1&&(i.splice(i,f,1),s.push("Object"))}if(i.length>0){switch(i.length){case 1:n+=`of type ${i[0]}`;break;case 2:n+=`one of type ${i[0]} or ${i[1]}`;break;default:{let f=i.pop();n+=`one of type ${i.join(", ")}, or ${f}`}}(s.length>0||o.length>0)&&(n+=" or ")}if(s.length>0){switch(s.length){case 1:n+=`an instance of ${s[0]}`;break;case 2:n+=`an instance of ${s[0]} or ${s[1]}`;break;default:{let f=s.pop();n+=`an instance of ${s.join(", ")}, or ${f}`}}o.length>0&&(n+=" or ")}switch(o.length){case 0:break;case 1:o[0].toLowerCase()!==o[0]&&(n+="an "),n+=`${o[0]}`;break;case 2:n+=`one of ${o[0]} or ${o[1]}`;break;default:{let f=o.pop();n+=`one of ${o.join(", ")}, or ${f}`}}if(r==null)n+=`. Received ${r}`;else if(typeof r=="function"&&r.name)n+=`. Received function ${r.name}`;else if(typeof r=="object"){var a;if((a=r.constructor)!==null&&a!==void 0&&a.name)n+=`. Received an instance of ${r.constructor.name}`;else{let f=Py(r,{depth:-1});n+=`. Received ${f}`}}else{let f=Py(r,{colors:!1});f.length>25&&(f=`${f.slice(0,25)}...`),n+=`. Received type ${typeof r} (${f})`}return n},TypeError);nn("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=Py(t);return n.length>128&&(n=n.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError);nn("ERR_INVALID_RETURN_VALUE",(e,t,r)=>{var n;let i=r!=null&&(n=r.constructor)!==null&&n!==void 0&&n.name?`instance of ${r.constructor.name}`:`type ${typeof r}`;return`Expected ${e} to be returned from the "${t}" function but got ${i}.`},TypeError);nn("ERR_MISSING_ARGS",(...e)=>{Vu(e.length>0,"At least one arg needs to be specified");let t,r=e.length;switch(e=(Array.isArray(e)?e:[e]).map(n=>`"${n}"`).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{let n=e.pop();t+=`The ${e.join(", ")}, and ${n} arguments`}break}return`${t} must be specified`},TypeError);nn("ERR_OUT_OF_RANGE",(e,t,r)=>{Vu(t,'Missing "range" argument');let n;if(Number.isInteger(r)&&Math.abs(r)>2**32)n=ck(String(r));else if(typeof r=="bigint"){n=String(r);let i=BigInt(2)**BigInt(32);(r>i||r<-i)&&(n=ck(n)),n+="n"}else n=Py(r);return`The value of "${e}" is out of range. It must be ${t}. Received ${n}`},RangeError);nn("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);nn("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);nn("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);nn("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);nn("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);nn("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);nn("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);nn("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);nn("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);nn("ERR_STREAM_WRITE_AFTER_END","write after end",Error);nn("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);lk.exports={AbortError:Q_,aggregateTwoErrors:Ak(dae),hideStackFrames:Ak,codes:Oy}});var rl=x((h8e,Hy)=>{"use strict";var{AbortController:hk,AbortSignal:gae}=typeof self<"u"?self:typeof window<"u"?window:void 0;Hy.exports=hk;Hy.exports.AbortSignal=gae;Hy.exports.default=hk});var Dn=x((d8e,R_)=>{"use strict";var pae=ur(),{format:yae,inspect:Eae}=S_(),{codes:{ERR_INVALID_ARG_TYPE:v_}}=gn(),{kResistStopPropagation:mae,AggregateError:bae,SymbolDispose:Iae}=or(),Bae=globalThis.AbortSignal||rl().AbortSignal,Cae=globalThis.AbortController||rl().AbortController,_ae=Object.getPrototypeOf(async function(){}).constructor,dk=globalThis.Blob||pae.Blob,wae=typeof dk<"u"?function(t){return t instanceof dk}:function(t){return!1},gk=(e,t)=>{if(e!==void 0&&(e===null||typeof e!="object"||!("aborted"in e)))throw new v_(t,"AbortSignal",e)},Sae=(e,t)=>{if(typeof e!="function")throw new v_(t,"Function",e)};R_.exports={AggregateError:bae,kEmptyObject:Object.freeze({}),once(e){let t=!1;return function(...r){t||(t=!0,e.apply(this,r))}},createDeferredPromise:function(){let e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}},promisify(e){return new Promise((t,r)=>{e((n,...i)=>n?r(n):t(...i))})},debuglog(){return function(){}},format:yae,inspect:Eae,types:{isAsyncFunction(e){return e instanceof _ae},isArrayBufferView(e){return ArrayBuffer.isView(e)}},isBlob:wae,deprecate(e,t){return e},addAbortListener:Yn().addAbortListener||function(t,r){if(t===void 0)throw new v_("signal","AbortSignal",t);gk(t,"signal"),Sae(r,"listener");let n;return t.aborted?queueMicrotask(()=>r()):(t.addEventListener("abort",r,{__proto__:null,once:!0,[mae]:!0}),n=()=>{t.removeEventListener("abort",r)}),{__proto__:null,[Iae](){var i;(i=n)===null||i===void 0||i()}}},AbortSignalAny:Bae.any||function(t){if(t.length===1)return t[0];let r=new Cae,n=()=>r.abort();return t.forEach(i=>{gk(i,"signals"),i.addEventListener("abort",n,{once:!0})}),r.signal.addEventListener("abort",()=>{t.forEach(i=>i.removeEventListener("abort",n))},{once:!0}),r.signal}};R_.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")});var il=x((g8e,wk)=>{"use strict";var{ArrayIsArray:T_,ArrayPrototypeIncludes:mk,ArrayPrototypeJoin:bk,ArrayPrototypeMap:Qae,NumberIsInteger:N_,NumberIsNaN:vae,NumberMAX_SAFE_INTEGER:Rae,NumberMIN_SAFE_INTEGER:Dae,NumberParseInt:Tae,ObjectPrototypeHasOwnProperty:Nae,RegExpPrototypeExec:Ik,String:Mae,StringPrototypeToUpperCase:xae,StringPrototypeTrim:kae}=or(),{hideStackFrames:Di,codes:{ERR_SOCKET_BAD_PORT:Fae,ERR_INVALID_ARG_TYPE:pn,ERR_INVALID_ARG_VALUE:nl,ERR_OUT_OF_RANGE:Ju,ERR_UNKNOWN_SIGNAL:pk}}=gn(),{normalizeEncoding:Uae}=Dn(),{isAsyncFunction:Lae,isArrayBufferView:Pae}=Dn().types,yk={};function Oae(e){return e===(e|0)}function Hae(e){return e===e>>>0}var qae=/^[0-7]+$/,Gae="must be a 32-bit unsigned integer or an octal string";function Yae(e,t,r){if(typeof e>"u"&&(e=r),typeof e=="string"){if(Ik(qae,e)===null)throw new nl(t,e,Gae);e=Tae(e,8)}return Bk(e,t),e}var Wae=Di((e,t,r=Dae,n=Rae)=>{if(typeof e!="number")throw new pn(t,"number",e);if(!N_(e))throw new Ju(t,"an integer",e);if(e<r||e>n)throw new Ju(t,`>= ${r} && <= ${n}`,e)}),Vae=Di((e,t,r=-2147483648,n=2147483647)=>{if(typeof e!="number")throw new pn(t,"number",e);if(!N_(e))throw new Ju(t,"an integer",e);if(e<r||e>n)throw new Ju(t,`>= ${r} && <= ${n}`,e)}),Bk=Di((e,t,r=!1)=>{if(typeof e!="number")throw new pn(t,"number",e);if(!N_(e))throw new Ju(t,"an integer",e);let n=r?1:0,i=4294967295;if(e<n||e>i)throw new Ju(t,`>= ${n} && <= ${i}`,e)});function M_(e,t){if(typeof e!="string")throw new pn(t,"string",e)}function Jae(e,t,r=void 0,n){if(typeof e!="number")throw new pn(t,"number",e);if(r!=null&&e<r||n!=null&&e>n||(r!=null||n!=null)&&vae(e))throw new Ju(t,`${r!=null?`>= ${r}`:""}${r!=null&&n!=null?" && ":""}${n!=null?`<= ${n}`:""}`,e)}var jae=Di((e,t,r)=>{if(!mk(r,e)){let i="must be one of: "+bk(Qae(r,s=>typeof s=="string"?`'${s}'`:Mae(s)),", ");throw new nl(t,e,i)}});function Ck(e,t){if(typeof e!="boolean")throw new pn(t,"boolean",e)}function D_(e,t,r){return e==null||!Nae(e,t)?r:e[t]}var zae=Di((e,t,r=null)=>{let n=D_(r,"allowArray",!1),i=D_(r,"allowFunction",!1);if(!D_(r,"nullable",!1)&&e===null||!n&&T_(e)||typeof e!="object"&&(!i||typeof e!="function"))throw new pn(t,"Object",e)}),Kae=Di((e,t)=>{if(e!=null&&typeof e!="object"&&typeof e!="function")throw new pn(t,"a dictionary",e)}),qy=Di((e,t,r=0)=>{if(!T_(e))throw new pn(t,"Array",e);if(e.length<r){let n=`must be longer than ${r}`;throw new nl(t,e,n)}});function Xae(e,t){qy(e,t);for(let r=0;r<e.length;r++)M_(e[r],`${t}[${r}]`)}function $ae(e,t){qy(e,t);for(let r=0;r<e.length;r++)Ck(e[r],`${t}[${r}]`)}function Zae(e,t){qy(e,t);for(let r=0;r<e.length;r++){let n=e[r],i=`${t}[${r}]`;if(n==null)throw new pn(i,"AbortSignal",n);_k(n,i)}}function efe(e,t="signal"){if(M_(e,t),yk[e]===void 0)throw yk[xae(e)]!==void 0?new pk(e+" (signals must use all capital letters)"):new pk(e)}var tfe=Di((e,t="buffer")=>{if(!Pae(e))throw new pn(t,["Buffer","TypedArray","DataView"],e)});function rfe(e,t){let r=Uae(t),n=e.length;if(r==="hex"&&n%2!==0)throw new nl("encoding",t,`is invalid for data of length ${n}`)}function nfe(e,t="Port",r=!0){if(typeof e!="number"&&typeof e!="string"||typeof e=="string"&&kae(e).length===0||+e!==+e>>>0||e>65535||e===0&&!r)throw new Fae(t,e,r);return e|0}var _k=Di((e,t)=>{if(e!==void 0&&(e===null||typeof e!="object"||!("aborted"in e)))throw new pn(t,"AbortSignal",e)}),ife=Di((e,t)=>{if(typeof e!="function")throw new pn(t,"Function",e)}),sfe=Di((e,t)=>{if(typeof e!="function"||Lae(e))throw new pn(t,"Function",e)}),ofe=Di((e,t)=>{if(e!==void 0)throw new pn(t,"undefined",e)});function afe(e,t,r){if(!mk(r,e))throw new pn(t,`('${bk(r,"|")}')`,e)}var ffe=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function Ek(e,t){if(typeof e>"u"||!Ik(ffe,e))throw new nl(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function ufe(e){if(typeof e=="string")return Ek(e,"hints"),e;if(T_(e)){let t=e.length,r="";if(t===0)return r;for(let n=0;n<t;n++){let i=e[n];Ek(i,"hints"),r+=i,n!==t-1&&(r+=", ")}return r}throw new nl("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}wk.exports={isInt32:Oae,isUint32:Hae,parseFileMode:Yae,validateArray:qy,validateStringArray:Xae,validateBooleanArray:$ae,validateAbortSignalArray:Zae,validateBoolean:Ck,validateBuffer:tfe,validateDictionary:Kae,validateEncoding:rfe,validateFunction:ife,validateInt32:Vae,validateInteger:Wae,validateNumber:Jae,validateObject:zae,validateOneOf:jae,validatePlainFunction:sfe,validatePort:nfe,validateSignalName:efe,validateString:M_,validateUint32:Bk,validateUndefined:ofe,validateUnion:afe,validateAbortSignal:_k,validateLinkHeaderValue:ufe}});var Ff=x((p8e,x_)=>{"use strict";x_.exports={nextTick(e,...t){let r=globalThis.process;return r&&r!==x_.exports&&typeof r.nextTick=="function"?r.nextTick(e,...t):queueMicrotask(()=>e(...t))},get stdout(){return globalThis.process?.stdout},get stderr(){return globalThis.process?.stderr}}});var go=x((y8e,Ok)=>{"use strict";var{SymbolAsyncIterator:Sk,SymbolIterator:Qk,SymbolFor:ju}=or(),vk=ju("nodejs.stream.destroyed"),Rk=ju("nodejs.stream.errored"),k_=ju("nodejs.stream.readable"),F_=ju("nodejs.stream.writable"),Dk=ju("nodejs.stream.disturbed"),cfe=ju("nodejs.webstream.isClosedPromise"),Afe=ju("nodejs.webstream.controllerErrorFunction");function Gy(e,t=!1){var r;return!!(e&&typeof e.pipe=="function"&&typeof e.on=="function"&&(!t||typeof e.pause=="function"&&typeof e.resume=="function")&&(!e._writableState||((r=e._readableState)===null||r===void 0?void 0:r.readable)!==!1)&&(!e._writableState||e._readableState))}function Yy(e){var t;return!!(e&&typeof e.write=="function"&&typeof e.on=="function"&&(!e._readableState||((t=e._writableState)===null||t===void 0?void 0:t.writable)!==!1))}function lfe(e){return!!(e&&typeof e.pipe=="function"&&e._readableState&&typeof e.on=="function"&&typeof e.write=="function")}function ho(e){return e&&(e._readableState||e._writableState||typeof e.write=="function"&&typeof e.on=="function"||typeof e.pipe=="function"&&typeof e.on=="function")}function Tk(e){return!!(e&&!ho(e)&&typeof e.pipeThrough=="function"&&typeof e.getReader=="function"&&typeof e.cancel=="function")}function Nk(e){return!!(e&&!ho(e)&&typeof e.getWriter=="function"&&typeof e.abort=="function")}function Mk(e){return!!(e&&!ho(e)&&typeof e.readable=="object"&&typeof e.writable=="object")}function hfe(e){return Tk(e)||Nk(e)||Mk(e)}function dfe(e,t){return e==null?!1:t===!0?typeof e[Sk]=="function":t===!1?typeof e[Qk]=="function":typeof e[Sk]=="function"||typeof e[Qk]=="function"}function Wy(e){if(!ho(e))return null;let t=e._writableState,r=e._readableState,n=t||r;return!!(e.destroyed||e[vk]||n!=null&&n.destroyed)}function xk(e){if(!Yy(e))return null;if(e.writableEnded===!0)return!0;let t=e._writableState;return t!=null&&t.errored?!1:typeof t?.ended!="boolean"?null:t.ended}function gfe(e,t){if(!Yy(e))return null;if(e.writableFinished===!0)return!0;let r=e._writableState;return r!=null&&r.errored?!1:typeof r?.finished!="boolean"?null:!!(r.finished||t===!1&&r.ended===!0&&r.length===0)}function pfe(e){if(!Gy(e))return null;if(e.readableEnded===!0)return!0;let t=e._readableState;return!t||t.errored?!1:typeof t?.ended!="boolean"?null:t.ended}function kk(e,t){if(!Gy(e))return null;let r=e._readableState;return r!=null&&r.errored?!1:typeof r?.endEmitted!="boolean"?null:!!(r.endEmitted||t===!1&&r.ended===!0&&r.length===0)}function Fk(e){return e&&e[k_]!=null?e[k_]:typeof e?.readable!="boolean"?null:Wy(e)?!1:Gy(e)&&e.readable&&!kk(e)}function Uk(e){return e&&e[F_]!=null?e[F_]:typeof e?.writable!="boolean"?null:Wy(e)?!1:Yy(e)&&e.writable&&!xk(e)}function yfe(e,t){return ho(e)?Wy(e)?!0:!(t?.readable!==!1&&Fk(e)||t?.writable!==!1&&Uk(e)):null}function Efe(e){var t,r;return ho(e)?e.writableErrored?e.writableErrored:(t=(r=e._writableState)===null||r===void 0?void 0:r.errored)!==null&&t!==void 0?t:null:null}function mfe(e){var t,r;return ho(e)?e.readableErrored?e.readableErrored:(t=(r=e._readableState)===null||r===void 0?void 0:r.errored)!==null&&t!==void 0?t:null:null}function bfe(e){if(!ho(e))return null;if(typeof e.closed=="boolean")return e.closed;let t=e._writableState,r=e._readableState;return typeof t?.closed=="boolean"||typeof r?.closed=="boolean"?t?.closed||r?.closed:typeof e._closed=="boolean"&&Lk(e)?e._closed:null}function Lk(e){return typeof e._closed=="boolean"&&typeof e._defaultKeepAlive=="boolean"&&typeof e._removedConnection=="boolean"&&typeof e._removedContLen=="boolean"}function Pk(e){return typeof e._sent100=="boolean"&&Lk(e)}function Ife(e){var t;return typeof e._consuming=="boolean"&&typeof e._dumped=="boolean"&&((t=e.req)===null||t===void 0?void 0:t.upgradeOrConnect)===void 0}function Bfe(e){if(!ho(e))return null;let t=e._writableState,r=e._readableState,n=t||r;return!n&&Pk(e)||!!(n&&n.autoDestroy&&n.emitClose&&n.closed===!1)}function Cfe(e){var t;return!!(e&&((t=e[Dk])!==null&&t!==void 0?t:e.readableDidRead||e.readableAborted))}function _fe(e){var t,r,n,i,s,o,a,f,u,c;return!!(e&&((t=(r=(n=(i=(s=(o=e[Rk])!==null&&o!==void 0?o:e.readableErrored)!==null&&s!==void 0?s:e.writableErrored)!==null&&i!==void 0?i:(a=e._readableState)===null||a===void 0?void 0:a.errorEmitted)!==null&&n!==void 0?n:(f=e._writableState)===null||f===void 0?void 0:f.errorEmitted)!==null&&r!==void 0?r:(u=e._readableState)===null||u===void 0?void 0:u.errored)!==null&&t!==void 0?t:!((c=e._writableState)===null||c===void 0)&&c.errored))}Ok.exports={isDestroyed:Wy,kIsDestroyed:vk,isDisturbed:Cfe,kIsDisturbed:Dk,isErrored:_fe,kIsErrored:Rk,isReadable:Fk,kIsReadable:k_,kIsClosedPromise:cfe,kControllerErrorFunction:Afe,kIsWritable:F_,isClosed:bfe,isDuplexNodeStream:lfe,isFinished:yfe,isIterable:dfe,isReadableNodeStream:Gy,isReadableStream:Tk,isReadableEnded:pfe,isReadableFinished:kk,isReadableErrored:mfe,isNodeStream:ho,isWebStream:hfe,isWritable:Uk,isWritableNodeStream:Yy,isWritableStream:Nk,isWritableEnded:xk,isWritableFinished:gfe,isWritableErrored:Efe,isServerRequest:Ife,isServerResponse:Pk,willEmitClose:Bfe,isTransformStream:Mk}});var Ca=x((E8e,H_)=>{"use strict";var Uf=Ff(),{AbortError:zk,codes:wfe}=gn(),{ERR_INVALID_ARG_TYPE:Sfe,ERR_STREAM_PREMATURE_CLOSE:Hk}=wfe,{kEmptyObject:L_,once:P_}=Dn(),{validateAbortSignal:Qfe,validateFunction:vfe,validateObject:Rfe,validateBoolean:Dfe}=il(),{Promise:Tfe,PromisePrototypeThen:Nfe,SymbolDispose:Kk}=or(),{isClosed:Mfe,isReadable:qk,isReadableNodeStream:U_,isReadableStream:xfe,isReadableFinished:Gk,isReadableErrored:Yk,isWritable:Wk,isWritableNodeStream:Vk,isWritableStream:kfe,isWritableFinished:Jk,isWritableErrored:jk,isNodeStream:Ffe,willEmitClose:Ufe,kIsClosedPromise:Lfe}=go(),sl;function Pfe(e){return e.setHeader&&typeof e.abort=="function"}var O_=()=>{};function Xk(e,t,r){var n,i;if(arguments.length===2?(r=t,t=L_):t==null?t=L_:Rfe(t,"options"),vfe(r,"callback"),Qfe(t.signal,"options.signal"),r=P_(r),xfe(e)||kfe(e))return Ofe(e,t,r);if(!Ffe(e))throw new Sfe("stream",["ReadableStream","WritableStream","Stream"],e);let s=(n=t.readable)!==null&&n!==void 0?n:U_(e),o=(i=t.writable)!==null&&i!==void 0?i:Vk(e),a=e._writableState,f=e._readableState,u=()=>{e.writable||y()},c=Ufe(e)&&U_(e)===s&&Vk(e)===o,h=Jk(e,!1),y=()=>{h=!0,e.destroyed&&(c=!1),!(c&&(!e.readable||s))&&(!s||b)&&r.call(e)},b=Gk(e,!1),S=()=>{b=!0,e.destroyed&&(c=!1),!(c&&(!e.writable||o))&&(!o||h)&&r.call(e)},v=X=>{r.call(e,X)},L=Mfe(e),U=()=>{L=!0;let X=jk(e)||Yk(e);if(X&&typeof X!="boolean")return r.call(e,X);if(s&&!b&&U_(e,!0)&&!Gk(e,!1))return r.call(e,new Hk);if(o&&!h&&!Jk(e,!1))return r.call(e,new Hk);r.call(e)},P=()=>{L=!0;let X=jk(e)||Yk(e);if(X&&typeof X!="boolean")return r.call(e,X);r.call(e)},Y=()=>{e.req.on("finish",y)};Pfe(e)?(e.on("complete",y),c||e.on("abort",U),e.req?Y():e.on("request",Y)):o&&!a&&(e.on("end",u),e.on("close",u)),!c&&typeof e.aborted=="boolean"&&e.on("aborted",U),e.on("end",S),e.on("finish",y),t.error!==!1&&e.on("error",v),e.on("close",U),L?Uf.nextTick(U):a!=null&&a.errorEmitted||f!=null&&f.errorEmitted?c||Uf.nextTick(P):(!s&&(!c||qk(e))&&(h||Wk(e)===!1)||!o&&(!c||Wk(e))&&(b||qk(e)===!1)||f&&e.req&&e.aborted)&&Uf.nextTick(P);let V=()=>{r=O_,e.removeListener("aborted",U),e.removeListener("complete",y),e.removeListener("abort",U),e.removeListener("request",Y),e.req&&e.req.removeListener("finish",y),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",y),e.removeListener("end",S),e.removeListener("error",v),e.removeListener("close",U)};if(t.signal&&!L){let X=()=>{let j=r;V(),j.call(e,new zk(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)Uf.nextTick(X);else{sl=sl||Dn().addAbortListener;let j=sl(t.signal,X),re=r;r=P_((...ie)=>{j[Kk](),re.apply(e,ie)})}}return V}function Ofe(e,t,r){let n=!1,i=O_;if(t.signal)if(i=()=>{n=!0,r.call(e,new zk(void 0,{cause:t.signal.reason}))},t.signal.aborted)Uf.nextTick(i);else{sl=sl||Dn().addAbortListener;let o=sl(t.signal,i),a=r;r=P_((...f)=>{o[Kk](),a.apply(e,f)})}let s=(...o)=>{n||Uf.nextTick(()=>r.apply(e,o))};return Nfe(e[Lfe].promise,s,s),O_}function Hfe(e,t){var r;let n=!1;return t===null&&(t=L_),(r=t)!==null&&r!==void 0&&r.cleanup&&(Dfe(t.cleanup,"cleanup"),n=t.cleanup),new Tfe((i,s)=>{let o=Xk(e,t,a=>{n&&o(),a?s(a):i()})})}H_.exports=Xk;H_.exports.finished=Hfe});var zu=x((m8e,sF)=>{"use strict";var po=Ff(),{aggregateTwoErrors:qfe,codes:{ERR_MULTIPLE_CALLBACK:Gfe},AbortError:Yfe}=gn(),{Symbol:eF}=or(),{kIsDestroyed:Wfe,isDestroyed:Vfe,isFinished:Jfe,isServerRequest:jfe}=go(),tF=eF("kDestroy"),q_=eF("kConstruct");function rF(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function zfe(e,t){let r=this._readableState,n=this._writableState,i=n||r;return n!=null&&n.destroyed||r!=null&&r.destroyed?(typeof t=="function"&&t(),this):(rF(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),i.constructed?$k(this,e,t):this.once(tF,function(s){$k(this,qfe(s,e),t)}),this)}function $k(e,t,r){let n=!1;function i(s){if(n)return;n=!0;let o=e._readableState,a=e._writableState;rF(s,a,o),a&&(a.closed=!0),o&&(o.closed=!0),typeof r=="function"&&r(s),s?po.nextTick(Kfe,e,s):po.nextTick(nF,e)}try{e._destroy(t||null,i)}catch(s){i(s)}}function Kfe(e,t){G_(e,t),nF(e)}function nF(e){let t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(r!=null&&r.emitClose||t!=null&&t.emitClose)&&e.emit("close")}function G_(e,t){let r=e._readableState,n=e._writableState;n!=null&&n.errorEmitted||r!=null&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function Xfe(){let e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=e.readable===!1,e.endEmitted=e.readable===!1),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=t.writable===!1,t.ending=t.writable===!1,t.finished=t.writable===!1)}function Y_(e,t,r){let n=e._readableState,i=e._writableState;if(i!=null&&i.destroyed||n!=null&&n.destroyed)return this;n!=null&&n.autoDestroy||i!=null&&i.autoDestroy?e.destroy(t):t&&(t.stack,i&&!i.errored&&(i.errored=t),n&&!n.errored&&(n.errored=t),r?po.nextTick(G_,e,t):G_(e,t))}function $fe(e,t){if(typeof e._construct!="function")return;let r=e._readableState,n=e._writableState;r&&(r.constructed=!1),n&&(n.constructed=!1),e.once(q_,t),!(e.listenerCount(q_)>1)&&po.nextTick(Zfe,e)}function Zfe(e){let t=!1;function r(n){if(t){Y_(e,n??new Gfe);return}t=!0;let i=e._readableState,s=e._writableState,o=s||i;i&&(i.constructed=!0),s&&(s.constructed=!0),o.destroyed?e.emit(tF,n):n?Y_(e,n,!0):po.nextTick(eue,e)}try{e._construct(n=>{po.nextTick(r,n)})}catch(n){po.nextTick(r,n)}}function eue(e){e.emit(q_)}function Zk(e){return e?.setHeader&&typeof e.abort=="function"}function iF(e){e.emit("close")}function tue(e,t){e.emit("error",t),po.nextTick(iF,e)}function rue(e,t){!e||Vfe(e)||(!t&&!Jfe(e)&&(t=new Yfe),jfe(e)?(e.socket=null,e.destroy(t)):Zk(e)?e.abort():Zk(e.req)?e.req.abort():typeof e.destroy=="function"?e.destroy(t):typeof e.close=="function"?e.close():t?po.nextTick(tue,e,t):po.nextTick(iF,e),e.destroyed||(e[Wfe]=!0))}sF.exports={construct:$fe,destroyer:rue,destroy:zfe,undestroy:Xfe,errorOrDestroy:Y_}});var jy=x((b8e,aF)=>{"use strict";var{ArrayIsArray:nue,ObjectSetPrototypeOf:oF}=or(),{EventEmitter:Vy}=Yn();function Jy(e){Vy.call(this,e)}oF(Jy.prototype,Vy.prototype);oF(Jy,Vy);Jy.prototype.pipe=function(e,t){let r=this;function n(c){e.writable&&e.write(c)===!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));let s=!1;function o(){s||(s=!0,e.end())}function a(){s||(s=!0,typeof e.destroy=="function"&&e.destroy())}function f(c){u(),Vy.listenerCount(this,"error")===0&&this.emit("error",c)}W_(r,"error",f),W_(e,"error",f);function u(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",o),r.removeListener("close",a),r.removeListener("error",f),e.removeListener("error",f),r.removeListener("end",u),r.removeListener("close",u),e.removeListener("close",u)}return r.on("end",u),r.on("close",u),e.on("close",u),e.emit("pipe",r),e};function W_(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):nue(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}aF.exports={Stream:Jy,prependListener:W_}});var kd=x((I8e,zy)=>{"use strict";var{SymbolDispose:iue}=or(),{AbortError:fF,codes:sue}=gn(),{isNodeStream:uF,isWebStream:oue,kControllerErrorFunction:aue}=go(),fue=Ca(),{ERR_INVALID_ARG_TYPE:cF}=sue,V_,uue=(e,t)=>{if(typeof e!="object"||!("aborted"in e))throw new cF(t,"AbortSignal",e)};zy.exports.addAbortSignal=function(t,r){if(uue(t,"signal"),!uF(r)&&!oue(r))throw new cF("stream",["ReadableStream","WritableStream","Stream"],r);return zy.exports.addAbortSignalNoValidate(t,r)};zy.exports.addAbortSignalNoValidate=function(e,t){if(typeof e!="object"||!("aborted"in e))return t;let r=uF(t)?()=>{t.destroy(new fF(void 0,{cause:e.reason}))}:()=>{t[aue](new fF(void 0,{cause:e.reason}))};if(e.aborted)r();else{V_=V_||Dn().addAbortListener;let n=V_(e,r);fue(t,n[iue])}return t}});var hF=x((C8e,lF)=>{"use strict";var{StringPrototypeSlice:AF,SymbolIterator:cue,TypedArrayPrototypeSet:Ky,Uint8Array:Aue}=or(),{Buffer:J_}=ur(),{inspect:lue}=Dn();lF.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(t){let r={data:t,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}unshift(t){let r={data:t,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}shift(){if(this.length===0)return;let t=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,t}clear(){this.head=this.tail=null,this.length=0}join(t){if(this.length===0)return"";let r=this.head,n=""+r.data;for(;(r=r.next)!==null;)n+=t+r.data;return n}concat(t){if(this.length===0)return J_.alloc(0);let r=J_.allocUnsafe(t>>>0),n=this.head,i=0;for(;n;)Ky(r,n.data,i),i+=n.data.length,n=n.next;return r}consume(t,r){let n=this.head.data;if(t<n.length){let i=n.slice(0,t);return this.head.data=n.slice(t),i}return t===n.length?this.shift():r?this._getString(t):this._getBuffer(t)}first(){return this.head.data}*[cue](){for(let t=this.head;t;t=t.next)yield t.data}_getString(t){let r="",n=this.head,i=0;do{let s=n.data;if(t>s.length)r+=s,t-=s.length;else{t===s.length?(r+=s,++i,n.next?this.head=n.next:this.head=this.tail=null):(r+=AF(s,0,t),this.head=n,n.data=AF(s,t));break}++i}while((n=n.next)!==null);return this.length-=i,r}_getBuffer(t){let r=J_.allocUnsafe(t),n=t,i=this.head,s=0;do{let o=i.data;if(t>o.length)Ky(r,o,n-t),t-=o.length;else{t===o.length?(Ky(r,o,n-t),++s,i.next?this.head=i.next:this.head=this.tail=null):(Ky(r,new Aue(o.buffer,o.byteOffset,t),n-t),this.head=i,i.data=o.slice(t));break}++s}while((i=i.next)!==null);return this.length-=s,r}[Symbol.for("nodejs.util.inspect.custom")](t,r){return lue(this,{...r,depth:0,customInspect:!1})}}});var Fd=x((_8e,yF)=>{"use strict";var{MathFloor:hue,NumberIsInteger:due}=or(),{validateInteger:gue}=il(),{ERR_INVALID_ARG_VALUE:pue}=gn().codes,dF=16*1024,gF=16;function yue(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function pF(e){return e?gF:dF}function Eue(e,t){gue(t,"value",0),e?gF=t:dF=t}function mue(e,t,r,n){let i=yue(t,n,r);if(i!=null){if(!due(i)||i<0){let s=n?`options.${r}`:"options.highWaterMark";throw new pue(s,i)}return hue(i)}return pF(e.objectMode)}yF.exports={getHighWaterMark:mue,getDefaultHighWaterMark:pF,setDefaultHighWaterMark:Eue}});var st=x((j_,mF)=>{var Xy=ur(),yo=Xy.Buffer;function EF(e,t){for(var r in e)t[r]=e[r]}yo.from&&yo.alloc&&yo.allocUnsafe&&yo.allocUnsafeSlow?mF.exports=Xy:(EF(Xy,j_),j_.Buffer=Ku);function Ku(e,t,r){return yo(e,t,r)}Ku.prototype=Object.create(yo.prototype);EF(yo,Ku);Ku.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return yo(e,t,r)};Ku.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=yo(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};Ku.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return yo(e)};Ku.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Xy.SlowBuffer(e)}});var ol=x(IF=>{"use strict";var K_=st().Buffer,bF=K_.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 bue(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 Iue(e){var t=bue(e);if(typeof t!="string"&&(K_.isEncoding===bF||!bF(e)))throw new Error("Unknown encoding: "+e);return t||e}IF.StringDecoder=Ud;function Ud(e){this.encoding=Iue(e);var t;switch(this.encoding){case"utf16le":this.text=Que,this.end=vue,t=4;break;case"utf8":this.fillLast=_ue,t=4;break;case"base64":this.text=Rue,this.end=Due,t=3;break;default:this.write=Tue,this.end=Nue;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=K_.allocUnsafe(t)}Ud.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||""};Ud.prototype.end=Sue;Ud.prototype.text=wue;Ud.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 z_(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Bue(e,t,r){var n=t.length-1;if(n<r)return 0;var i=z_(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||i===-2?0:(i=z_(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||i===-2?0:(i=z_(t[n]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function Cue(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 _ue(e){var t=this.lastTotal-this.lastNeed,r=Cue(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 wue(e,t){var r=Bue(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 Sue(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function Que(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 vue(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 Rue(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 Due(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function Tue(e){return e.toString(this.encoding)}function Nue(e){return e&&e.length?this.write(e):""}});var X_=x((S8e,wF)=>{"use strict";var BF=Ff(),{PromisePrototypeThen:Mue,SymbolAsyncIterator:CF,SymbolIterator:_F}=or(),{Buffer:xue}=ur(),{ERR_INVALID_ARG_TYPE:kue,ERR_STREAM_NULL_VALUES:Fue}=gn().codes;function Uue(e,t,r){let n;if(typeof t=="string"||t instanceof xue)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});let i;if(t&&t[CF])i=!0,n=t[CF]();else if(t&&t[_F])i=!1,n=t[_F]();else throw new kue("iterable",["Iterable"],t);let s=new e({objectMode:!0,highWaterMark:1,...r}),o=!1;s._read=function(){o||(o=!0,f())},s._destroy=function(u,c){Mue(a(u),()=>BF.nextTick(c,u),h=>BF.nextTick(c,h||u))};async function a(u){let c=u!=null,h=typeof n.throw=="function";if(c&&h){let{value:y,done:b}=await n.throw(u);if(await y,b)return}if(typeof n.return=="function"){let{value:y}=await n.return();await y}}async function f(){for(;;){try{let{value:u,done:c}=i?await n.next():n.next();if(c)s.push(null);else{let h=u&&typeof u.then=="function"?await u:u;if(h===null)throw o=!1,new Fue;if(s.push(h))continue;o=!1}}catch(u){s.destroy(u)}break}}return s}wF.exports=Uue});var Pd=x((Q8e,GF)=>{"use strict";var ms=Ff(),{ArrayPrototypeIndexOf:Lue,NumberIsInteger:Pue,NumberIsNaN:Oue,NumberParseInt:Hue,ObjectDefineProperties:sw,ObjectKeys:que,ObjectSetPrototypeOf:vF,Promise:RF,SafeSet:Gue,SymbolAsyncDispose:Yue,SymbolAsyncIterator:Wue,Symbol:Vue}=or();GF.exports=ut;ut.ReadableState=tE;var{EventEmitter:Jue}=Yn(),{Stream:Lf,prependListener:jue}=jy(),{Buffer:$_}=ur(),{addAbortSignal:zue}=kd(),DF=Ca(),It=Dn().debuglog("stream",e=>{It=e}),Kue=hF(),ul=zu(),{getHighWaterMark:Xue,getDefaultHighWaterMark:$ue}=Fd(),{aggregateTwoErrors:SF,codes:{ERR_INVALID_ARG_TYPE:Zue,ERR_METHOD_NOT_IMPLEMENTED:ece,ERR_OUT_OF_RANGE:tce,ERR_STREAM_PUSH_AFTER_EOF:rce,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:nce},AbortError:ice}=gn(),{validateObject:sce}=il(),Xu=Vue("kPaused"),{StringDecoder:TF}=ol(),oce=X_();vF(ut.prototype,Lf.prototype);vF(ut,Lf);var Z_=()=>{},{errorOrDestroy:al}=ul,fl=1,ace=2,NF=4,Ld=8,MF=16,$y=32,Zy=64,xF=128,fce=256,uce=512,cce=1024,nw=2048,iw=4096,Ace=8192,lce=16384,hce=32768,kF=65536,dce=1<<17,gce=1<<18;function Tr(e){return{enumerable:!1,get(){return(this.state&e)!==0},set(t){t?this.state|=e:this.state&=~e}}}sw(tE.prototype,{objectMode:Tr(fl),ended:Tr(ace),endEmitted:Tr(NF),reading:Tr(Ld),constructed:Tr(MF),sync:Tr($y),needReadable:Tr(Zy),emittedReadable:Tr(xF),readableListening:Tr(fce),resumeScheduled:Tr(uce),errorEmitted:Tr(cce),emitClose:Tr(nw),autoDestroy:Tr(iw),destroyed:Tr(Ace),closed:Tr(lce),closeEmitted:Tr(hce),multiAwaitDrain:Tr(kF),readingMore:Tr(dce),dataEmitted:Tr(gce)});function tE(e,t,r){typeof r!="boolean"&&(r=t instanceof Eo()),this.state=nw|iw|MF|$y,e&&e.objectMode&&(this.state|=fl),r&&e&&e.readableObjectMode&&(this.state|=fl),this.highWaterMark=e?Xue(this,e,"readableHighWaterMark",r):$ue(!1),this.buffer=new Kue,this.length=0,this.pipes=[],this.flowing=null,this[Xu]=null,e&&e.emitClose===!1&&(this.state&=~nw),e&&e.autoDestroy===!1&&(this.state&=~iw),this.errored=null,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,e&&e.encoding&&(this.decoder=new TF(e.encoding),this.encoding=e.encoding)}function ut(e){if(!(this instanceof ut))return new ut(e);let t=this instanceof Eo();this._readableState=new tE(e,this,t),e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.construct=="function"&&(this._construct=e.construct),e.signal&&!t&&zue(e.signal,this)),Lf.call(this,e),ul.construct(this,()=>{this._readableState.needReadable&&eE(this,this._readableState)})}ut.prototype.destroy=ul.destroy;ut.prototype._undestroy=ul.undestroy;ut.prototype._destroy=function(e,t){t(e)};ut.prototype[Jue.captureRejectionSymbol]=function(e){this.destroy(e)};ut.prototype[Yue]=function(){let e;return this.destroyed||(e=this.readableEnded?null:new ice,this.destroy(e)),new RF((t,r)=>DF(this,n=>n&&n!==e?r(n):t(null)))};ut.prototype.push=function(e,t){return FF(this,e,t,!1)};ut.prototype.unshift=function(e,t){return FF(this,e,t,!0)};function FF(e,t,r,n){It("readableAddChunk",t);let i=e._readableState,s;if((i.state&fl)===0&&(typeof t=="string"?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?t=$_.from(t,r).toString(i.encoding):(t=$_.from(t,r),r=""))):t instanceof $_?r="":Lf._isUint8Array(t)?(t=Lf._uint8ArrayToBuffer(t),r=""):t!=null&&(s=new Zue("chunk",["string","Buffer","Uint8Array"],t))),s)al(e,s);else if(t===null)i.state&=~Ld,Ece(e,i);else if((i.state&fl)!==0||t&&t.length>0)if(n)if((i.state&NF)!==0)al(e,new nce);else{if(i.destroyed||i.errored)return!1;ew(e,i,t,!0)}else if(i.ended)al(e,new rce);else{if(i.destroyed||i.errored)return!1;i.state&=~Ld,i.decoder&&!r?(t=i.decoder.write(t),i.objectMode||t.length!==0?ew(e,i,t,!1):eE(e,i)):ew(e,i,t,!1)}else n||(i.state&=~Ld,eE(e,i));return!i.ended&&(i.length<i.highWaterMark||i.length===0)}function ew(e,t,r,n){t.flowing&&t.length===0&&!t.sync&&e.listenerCount("data")>0?((t.state&kF)!==0?t.awaitDrainWriters.clear():t.awaitDrainWriters=null,t.dataEmitted=!0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),(t.state&Zy)!==0&&rE(e)),eE(e,t)}ut.prototype.isPaused=function(){let e=this._readableState;return e[Xu]===!0||e.flowing===!1};ut.prototype.setEncoding=function(e){let t=new TF(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;let r=this._readableState.buffer,n="";for(let i of r)n+=t.write(i);return r.clear(),n!==""&&r.push(n),this._readableState.length=n.length,this};var pce=1073741824;function yce(e){if(e>pce)throw new tce("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++,e}function QF(e,t){return e<=0||t.length===0&&t.ended?0:(t.state&fl)!==0?1:Oue(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}ut.prototype.read=function(e){It("read",e),e===void 0?e=NaN:Pue(e)||(e=Hue(e,10));let t=this._readableState,r=e;if(e>t.highWaterMark&&(t.highWaterMark=yce(e)),e!==0&&(t.state&=~xF),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return It("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?tw(this):rE(this),null;if(e=QF(e,t),e===0&&t.ended)return t.length===0&&tw(this),null;let n=(t.state&Zy)!==0;if(It("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,It("length less than watermark",n)),t.ended||t.reading||t.destroyed||t.errored||!t.constructed)n=!1,It("reading, ended or constructing",n);else if(n){It("do read"),t.state|=Ld|$y,t.length===0&&(t.state|=Zy);try{this._read(t.highWaterMark)}catch(s){al(this,s)}t.state&=~$y,t.reading||(e=QF(r,t))}let i;return e>0?i=HF(e,t):i=null,i===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&tw(this)),i!==null&&!t.errorEmitted&&!t.closeEmitted&&(t.dataEmitted=!0,this.emit("data",i)),i};function Ece(e,t){if(It("onEofChunk"),!t.ended){if(t.decoder){let r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?rE(e):(t.needReadable=!1,t.emittedReadable=!0,UF(e))}}function rE(e){let t=e._readableState;It("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(It("emitReadable",t.flowing),t.emittedReadable=!0,ms.nextTick(UF,e))}function UF(e){let t=e._readableState;It("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&!t.errored&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,PF(e)}function eE(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,ms.nextTick(mce,e,t))}function mce(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){let r=t.length;if(It("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}ut.prototype._read=function(e){throw new ece("_read()")};ut.prototype.pipe=function(e,t){let r=this,n=this._readableState;n.pipes.length===1&&(n.multiAwaitDrain||(n.multiAwaitDrain=!0,n.awaitDrainWriters=new Gue(n.awaitDrainWriters?[n.awaitDrainWriters]:[]))),n.pipes.push(e),It("pipe count=%d opts=%j",n.pipes.length,t);let s=(!t||t.end!==!1)&&e!==ms.stdout&&e!==ms.stderr?a:L;n.endEmitted?ms.nextTick(s):r.once("end",s),e.on("unpipe",o);function o(U,P){It("onunpipe"),U===r&&P&&P.hasUnpiped===!1&&(P.hasUnpiped=!0,c())}function a(){It("onend"),e.end()}let f,u=!1;function c(){It("cleanup"),e.removeListener("close",S),e.removeListener("finish",v),f&&e.removeListener("drain",f),e.removeListener("error",b),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",L),r.removeListener("data",y),u=!0,f&&n.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&f()}function h(){u||(n.pipes.length===1&&n.pipes[0]===e?(It("false write response, pause",0),n.awaitDrainWriters=e,n.multiAwaitDrain=!1):n.pipes.length>1&&n.pipes.includes(e)&&(It("false write response, pause",n.awaitDrainWriters.size),n.awaitDrainWriters.add(e)),r.pause()),f||(f=bce(r,e),e.on("drain",f))}r.on("data",y);function y(U){It("ondata");let P=e.write(U);It("dest.write",P),P===!1&&h()}function b(U){if(It("onerror",U),L(),e.removeListener("error",b),e.listenerCount("error")===0){let P=e._writableState||e._readableState;P&&!P.errorEmitted?al(e,U):e.emit("error",U)}}jue(e,"error",b);function S(){e.removeListener("finish",v),L()}e.once("close",S);function v(){It("onfinish"),e.removeListener("close",S),L()}e.once("finish",v);function L(){It("unpipe"),r.unpipe(e)}return e.emit("pipe",r),e.writableNeedDrain===!0?h():n.flowing||(It("pipe resume"),r.resume()),e};function bce(e,t){return function(){let n=e._readableState;n.awaitDrainWriters===t?(It("pipeOnDrain",1),n.awaitDrainWriters=null):n.multiAwaitDrain&&(It("pipeOnDrain",n.awaitDrainWriters.size),n.awaitDrainWriters.delete(t)),(!n.awaitDrainWriters||n.awaitDrainWriters.size===0)&&e.listenerCount("data")&&e.resume()}}ut.prototype.unpipe=function(e){let t=this._readableState,r={hasUnpiped:!1};if(t.pipes.length===0)return this;if(!e){let i=t.pipes;t.pipes=[],this.pause();for(let s=0;s<i.length;s++)i[s].emit("unpipe",this,{hasUnpiped:!1});return this}let n=Lue(t.pipes,e);return n===-1?this:(t.pipes.splice(n,1),t.pipes.length===0&&this.pause(),e.emit("unpipe",this,r),this)};ut.prototype.on=function(e,t){let r=Lf.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,It("on readable",n.length,n.reading),n.length?rE(this):n.reading||ms.nextTick(Ice,this)),r};ut.prototype.addListener=ut.prototype.on;ut.prototype.removeListener=function(e,t){let r=Lf.prototype.removeListener.call(this,e,t);return e==="readable"&&ms.nextTick(LF,this),r};ut.prototype.off=ut.prototype.removeListener;ut.prototype.removeAllListeners=function(e){let t=Lf.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&ms.nextTick(LF,this),t};function LF(e){let t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&t[Xu]===!1?t.flowing=!0:e.listenerCount("data")>0?e.resume():t.readableListening||(t.flowing=null)}function Ice(e){It("readable nexttick read 0"),e.read(0)}ut.prototype.resume=function(){let e=this._readableState;return e.flowing||(It("resume"),e.flowing=!e.readableListening,Bce(this,e)),e[Xu]=!1,this};function Bce(e,t){t.resumeScheduled||(t.resumeScheduled=!0,ms.nextTick(Cce,e,t))}function Cce(e,t){It("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),PF(e),t.flowing&&!t.reading&&e.read(0)}ut.prototype.pause=function(){return It("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(It("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[Xu]=!0,this};function PF(e){let t=e._readableState;for(It("flow",t.flowing);t.flowing&&e.read()!==null;);}ut.prototype.wrap=function(e){let t=!1;e.on("data",n=>{!this.push(n)&&e.pause&&(t=!0,e.pause())}),e.on("end",()=>{this.push(null)}),e.on("error",n=>{al(this,n)}),e.on("close",()=>{this.destroy()}),e.on("destroy",()=>{this.destroy()}),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};let r=que(e);for(let n=1;n<r.length;n++){let i=r[n];this[i]===void 0&&typeof e[i]=="function"&&(this[i]=e[i].bind(e))}return this};ut.prototype[Wue]=function(){return OF(this)};ut.prototype.iterator=function(e){return e!==void 0&&sce(e,"options"),OF(this,e)};function OF(e,t){typeof e.read!="function"&&(e=ut.wrap(e,{objectMode:!0}));let r=_ce(e,t);return r.stream=e,r}async function*_ce(e,t){let r=Z_;function n(o){this===e?(r(),r=Z_):r=o}e.on("readable",n);let i,s=DF(e,{writable:!1},o=>{i=o?SF(i,o):null,r(),r=Z_});try{for(;;){let o=e.destroyed?null:e.read();if(o!==null)yield o;else{if(i)throw i;if(i===null)return;await new RF(n)}}}catch(o){throw i=SF(i,o),i}finally{(i||t?.destroyOnReturn!==!1)&&(i===void 0||e._readableState.autoDestroy)?ul.destroyer(e,null):(e.off("readable",n),s())}}sw(ut.prototype,{readable:{__proto__:null,get(){let e=this._readableState;return!!e&&e.readable!==!1&&!e.destroyed&&!e.errorEmitted&&!e.endEmitted},set(e){this._readableState&&(this._readableState.readable=!!e)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(e){this._readableState&&(this._readableState.destroyed=e)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}});sw(tE.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[Xu]!==!1},set(e){this[Xu]=!!e}}});ut._fromList=HF;function HF(e,t){if(t.length===0)return null;let 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 tw(e){let t=e._readableState;It("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,ms.nextTick(wce,t,e))}function wce(e,t){if(It("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&e.length===0){if(e.endEmitted=!0,t.emit("end"),t.writable&&t.allowHalfOpen===!1)ms.nextTick(Sce,t);else if(e.autoDestroy){let r=t._writableState;(!r||r.autoDestroy&&(r.finished||r.writable===!1))&&t.destroy()}}}function Sce(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}ut.from=function(e,t){return oce(ut,e,t)};var rw;function qF(){return rw===void 0&&(rw={}),rw}ut.fromWeb=function(e,t){return qF().newStreamReadableFromReadableStream(e,t)};ut.toWeb=function(e,t){return qF().newReadableStreamFromStreamReadable(e,t)};ut.wrap=function(e,t){var r,n;return new ut({objectMode:(r=(n=e.readableObjectMode)!==null&&n!==void 0?n:e.objectMode)!==null&&r!==void 0?r:!0,...t,destroy(i,s){ul.destroyer(e,i),s(i)}}).wrap(e)}});var aE=x((v8e,tU)=>{"use strict";var $u=Ff(),{ArrayPrototypeSlice:VF,Error:Qce,FunctionPrototypeSymbolHasInstance:JF,ObjectDefineProperty:jF,ObjectDefineProperties:vce,ObjectSetPrototypeOf:zF,StringPrototypeToLowerCase:Rce,Symbol:Dce,SymbolHasInstance:Tce}=or();tU.exports=cr;cr.WritableState=qd;var{EventEmitter:Nce}=Yn(),Od=jy().Stream,{Buffer:nE}=ur(),oE=zu(),{addAbortSignal:Mce}=kd(),{getHighWaterMark:xce,getDefaultHighWaterMark:kce}=Fd(),{ERR_INVALID_ARG_TYPE:Fce,ERR_METHOD_NOT_IMPLEMENTED:Uce,ERR_MULTIPLE_CALLBACK:KF,ERR_STREAM_CANNOT_PIPE:Lce,ERR_STREAM_DESTROYED:Hd,ERR_STREAM_ALREADY_FINISHED:Pce,ERR_STREAM_NULL_VALUES:Oce,ERR_STREAM_WRITE_AFTER_END:Hce,ERR_UNKNOWN_ENCODING:XF}=gn().codes,{errorOrDestroy:cl}=oE;zF(cr.prototype,Od.prototype);zF(cr,Od);function fw(){}var Al=Dce("kOnFinished");function qd(e,t,r){typeof r!="boolean"&&(r=t instanceof Eo()),this.objectMode=!!(e&&e.objectMode),r&&(this.objectMode=this.objectMode||!!(e&&e.writableObjectMode)),this.highWaterMark=e?xce(this,e,"writableHighWaterMark",r):kce(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let n=!!(e&&e.decodeStrings===!1);this.decodeStrings=!n,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=Gce.bind(void 0,t),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,sE(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!e||e.emitClose!==!1,this.autoDestroy=!e||e.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[Al]=[]}function sE(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}qd.prototype.getBuffer=function(){return VF(this.buffered,this.bufferedIndex)};jF(qd.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function cr(e){let t=this instanceof Eo();if(!t&&!JF(cr,this))return new cr(e);this._writableState=new qd(e,this,t),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),typeof e.construct=="function"&&(this._construct=e.construct),e.signal&&Mce(e.signal,this)),Od.call(this,e),oE.construct(this,()=>{let r=this._writableState;r.writing||cw(this,r),Aw(this,r)})}jF(cr,Tce,{__proto__:null,value:function(e){return JF(this,e)?!0:this!==cr?!1:e&&e._writableState instanceof qd}});cr.prototype.pipe=function(){cl(this,new Lce)};function $F(e,t,r,n){let i=e._writableState;if(typeof r=="function")n=r,r=i.defaultEncoding;else{if(!r)r=i.defaultEncoding;else if(r!=="buffer"&&!nE.isEncoding(r))throw new XF(r);typeof n!="function"&&(n=fw)}if(t===null)throw new Oce;if(!i.objectMode)if(typeof t=="string")i.decodeStrings!==!1&&(t=nE.from(t,r),r="buffer");else if(t instanceof nE)r="buffer";else if(Od._isUint8Array(t))t=Od._uint8ArrayToBuffer(t),r="buffer";else throw new Fce("chunk",["string","Buffer","Uint8Array"],t);let s;return i.ending?s=new Hce:i.destroyed&&(s=new Hd("write")),s?($u.nextTick(n,s),cl(e,s,!0),s):(i.pendingcb++,qce(e,i,t,r,n))}cr.prototype.write=function(e,t,r){return $F(this,e,t,r)===!0};cr.prototype.cork=function(){this._writableState.corked++};cr.prototype.uncork=function(){let e=this._writableState;e.corked&&(e.corked--,e.writing||cw(this,e))};cr.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=Rce(t)),!nE.isEncoding(t))throw new XF(t);return this._writableState.defaultEncoding=t,this};function qce(e,t,r,n,i){let s=t.objectMode?1:r.length;t.length+=s;let o=t.length<t.highWaterMark;return o||(t.needDrain=!0),t.writing||t.corked||t.errored||!t.constructed?(t.buffered.push({chunk:r,encoding:n,callback:i}),t.allBuffers&&n!=="buffer"&&(t.allBuffers=!1),t.allNoop&&i!==fw&&(t.allNoop=!1)):(t.writelen=s,t.writecb=i,t.writing=!0,t.sync=!0,e._write(r,n,t.onwrite),t.sync=!1),o&&!t.errored&&!t.destroyed}function YF(e,t,r,n,i,s,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new Hd("write")):r?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function WF(e,t,r,n){--t.pendingcb,n(r),uw(t),cl(e,r)}function Gce(e,t){let r=e._writableState,n=r.sync,i=r.writecb;if(typeof i!="function"){cl(e,new KF);return}r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t?(t.stack,r.errored||(r.errored=t),e._readableState&&!e._readableState.errored&&(e._readableState.errored=t),n?$u.nextTick(WF,e,r,t,i):WF(e,r,t,i)):(r.buffered.length>r.bufferedIndex&&cw(e,r),n?r.afterWriteTickInfo!==null&&r.afterWriteTickInfo.cb===i?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:i,stream:e,state:r},$u.nextTick(Yce,r.afterWriteTickInfo)):ZF(e,r,1,i))}function Yce({stream:e,state:t,count:r,cb:n}){return t.afterWriteTickInfo=null,ZF(e,t,r,n)}function ZF(e,t,r,n){for(!t.ending&&!e.destroyed&&t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"));r-- >0;)t.pendingcb--,n();t.destroyed&&uw(t),Aw(e,t)}function uw(e){if(e.writing)return;for(let i=e.bufferedIndex;i<e.buffered.length;++i){var t;let{chunk:s,callback:o}=e.buffered[i],a=e.objectMode?1:s.length;e.length-=a,o((t=e.errored)!==null&&t!==void 0?t:new Hd("write"))}let r=e[Al].splice(0);for(let i=0;i<r.length;i++){var n;r[i]((n=e.errored)!==null&&n!==void 0?n:new Hd("end"))}sE(e)}function cw(e,t){if(t.corked||t.bufferProcessing||t.destroyed||!t.constructed)return;let{buffered:r,bufferedIndex:n,objectMode:i}=t,s=r.length-n;if(!s)return;let o=n;if(t.bufferProcessing=!0,s>1&&e._writev){t.pendingcb-=s-1;let a=t.allNoop?fw:u=>{for(let c=o;c<r.length;++c)r[c].callback(u)},f=t.allNoop&&o===0?r:VF(r,o);f.allBuffers=t.allBuffers,YF(e,t,!0,t.length,f,"",a),sE(t)}else{do{let{chunk:a,encoding:f,callback:u}=r[o];r[o++]=null;let c=i?1:a.length;YF(e,t,!1,c,a,f,u)}while(o<r.length&&!t.writing);o===r.length?sE(t):o>256?(r.splice(0,o),t.bufferedIndex=0):t.bufferedIndex=o}t.bufferProcessing=!1}cr.prototype._write=function(e,t,r){if(this._writev)this._writev([{chunk:e,encoding:t}],r);else throw new Uce("_write()")};cr.prototype._writev=null;cr.prototype.end=function(e,t,r){let n=this._writableState;typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null);let i;if(e!=null){let s=$F(this,e,t);s instanceof Qce&&(i=s)}return n.corked&&(n.corked=1,this.uncork()),i||(!n.errored&&!n.ending?(n.ending=!0,Aw(this,n,!0),n.ended=!0):n.finished?i=new Pce("end"):n.destroyed&&(i=new Hd("end"))),typeof r=="function"&&(i||n.finished?$u.nextTick(r,i):n[Al].push(r)),this};function iE(e){return e.ending&&!e.destroyed&&e.constructed&&e.length===0&&!e.errored&&e.buffered.length===0&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function Wce(e,t){let r=!1;function n(i){if(r){cl(e,i??KF());return}if(r=!0,t.pendingcb--,i){let s=t[Al].splice(0);for(let o=0;o<s.length;o++)s[o](i);cl(e,i,t.sync)}else iE(t)&&(t.prefinished=!0,e.emit("prefinish"),t.pendingcb++,$u.nextTick(aw,e,t))}t.sync=!0,t.pendingcb++;try{e._final(n)}catch(i){n(i)}t.sync=!1}function Vce(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.finalCalled=!0,Wce(e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Aw(e,t,r){iE(t)&&(Vce(e,t),t.pendingcb===0&&(r?(t.pendingcb++,$u.nextTick((n,i)=>{iE(i)?aw(n,i):i.pendingcb--},e,t)):iE(t)&&(t.pendingcb++,aw(e,t))))}function aw(e,t){t.pendingcb--,t.finished=!0;let r=t[Al].splice(0);for(let n=0;n<r.length;n++)r[n]();if(e.emit("finish"),t.autoDestroy){let n=e._readableState;(!n||n.autoDestroy&&(n.endEmitted||n.readable===!1))&&e.destroy()}}vce(cr.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:!1}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:!1},set(e){this._writableState&&(this._writableState.destroyed=e)}},writable:{__proto__:null,get(){let e=this._writableState;return!!e&&e.writable!==!1&&!e.destroyed&&!e.errored&&!e.ending&&!e.ended},set(e){this._writableState&&(this._writableState.writable=!!e)}},writableFinished:{__proto__:null,get(){return this._writableState?this._writableState.finished:!1}},writableObjectMode:{__proto__:null,get(){return this._writableState?this._writableState.objectMode:!1}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return this._writableState?this._writableState.ending:!1}},writableNeedDrain:{__proto__:null,get(){let e=this._writableState;return e?!e.destroyed&&!e.ending&&e.needDrain:!1}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._writableState.writable!==!1&&(this._writableState.destroyed||this._writableState.errored)&&!this._writableState.finished)}}});var Jce=oE.destroy;cr.prototype.destroy=function(e,t){let r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[Al].length)&&$u.nextTick(uw,r),Jce.call(this,e,t),this};cr.prototype._undestroy=oE.undestroy;cr.prototype._destroy=function(e,t){t(e)};cr.prototype[Nce.captureRejectionSymbol]=function(e){this.destroy(e)};var ow;function eU(){return ow===void 0&&(ow={}),ow}cr.fromWeb=function(e,t){return eU().newStreamWritableFromWritableStream(e,t)};cr.toWeb=function(e){return eU().newWritableStreamFromStreamWritable(e)}});var pU=x((R8e,gU)=>{var lw=Ff(),jce=ur(),{isReadable:zce,isWritable:Kce,isIterable:rU,isNodeStream:Xce,isReadableNodeStream:nU,isWritableNodeStream:iU,isDuplexNodeStream:$ce,isReadableStream:sU,isWritableStream:oU}=go(),aU=Ca(),{AbortError:hU,codes:{ERR_INVALID_ARG_TYPE:Zce,ERR_INVALID_RETURN_VALUE:fU}}=gn(),{destroyer:hl}=zu(),eAe=Eo(),dU=Pd(),tAe=aE(),{createDeferredPromise:uU}=Dn(),cU=X_(),AU=globalThis.Blob||jce.Blob,rAe=typeof AU<"u"?function(t){return t instanceof AU}:function(t){return!1},nAe=globalThis.AbortController||rl().AbortController,{FunctionPrototypeCall:lU}=or(),Pf=class extends eAe{constructor(t){super(t),t?.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),t?.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}};gU.exports=function e(t,r){if($ce(t))return t;if(nU(t))return ll({readable:t});if(iU(t))return ll({writable:t});if(Xce(t))return ll({writable:!1,readable:!1});if(sU(t))return ll({readable:dU.fromWeb(t)});if(oU(t))return ll({writable:tAe.fromWeb(t)});if(typeof t=="function"){let{value:i,write:s,final:o,destroy:a}=iAe(t);if(rU(i))return cU(Pf,i,{objectMode:!0,write:s,final:o,destroy:a});let f=i?.then;if(typeof f=="function"){let u,c=lU(f,i,h=>{if(h!=null)throw new fU("nully","body",h)},h=>{hl(u,h)});return u=new Pf({objectMode:!0,readable:!1,write:s,final(h){o(async()=>{try{await c,lw.nextTick(h,null)}catch(y){lw.nextTick(h,y)}})},destroy:a})}throw new fU("Iterable, AsyncIterable or AsyncFunction",r,i)}if(rAe(t))return e(t.arrayBuffer());if(rU(t))return cU(Pf,t,{objectMode:!0,writable:!1});if(sU(t?.readable)&&oU(t?.writable))return Pf.fromWeb(t);if(typeof t?.writable=="object"||typeof t?.readable=="object"){let i=t!=null&&t.readable?nU(t?.readable)?t?.readable:e(t.readable):void 0,s=t!=null&&t.writable?iU(t?.writable)?t?.writable:e(t.writable):void 0;return ll({readable:i,writable:s})}let n=t?.then;if(typeof n=="function"){let i;return lU(n,t,s=>{s!=null&&i.push(s),i.push(null)},s=>{hl(i,s)}),i=new Pf({objectMode:!0,writable:!1,read(){}})}throw new Zce(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)};function iAe(e){let{promise:t,resolve:r}=uU(),n=new nAe,i=n.signal;return{value:e((async function*(){for(;;){let o=t;t=null;let{chunk:a,done:f,cb:u}=await o;if(lw.nextTick(u),f)return;if(i.aborted)throw new hU(void 0,{cause:i.reason});({promise:t,resolve:r}=uU()),yield a}})(),{signal:i}),write(o,a,f){let u=r;r=null,u({chunk:o,done:!1,cb:f})},final(o){let a=r;r=null,a({done:!0,cb:o})},destroy(o,a){n.abort(),a(o)}}}function ll(e){let t=e.readable&&typeof e.readable.read!="function"?dU.wrap(e.readable):e.readable,r=e.writable,n=!!zce(t),i=!!Kce(r),s,o,a,f,u;function c(h){let y=f;f=null,y?y(h):h&&u.destroy(h)}return u=new Pf({readableObjectMode:!!(t!=null&&t.readableObjectMode),writableObjectMode:!!(r!=null&&r.writableObjectMode),readable:n,writable:i}),i&&(aU(r,h=>{i=!1,h&&hl(t,h),c(h)}),u._write=function(h,y,b){r.write(h,y)?b():s=b},u._final=function(h){r.end(),o=h},r.on("drain",function(){if(s){let h=s;s=null,h()}}),r.on("finish",function(){if(o){let h=o;o=null,h()}})),n&&(aU(t,h=>{n=!1,h&&hl(t,h),c(h)}),t.on("readable",function(){if(a){let h=a;a=null,h()}}),t.on("end",function(){u.push(null)}),u._read=function(){for(;;){let h=t.read();if(h===null){a=u._read;return}if(!u.push(h))return}}),u._destroy=function(h,y){!h&&f!==null&&(h=new hU),a=null,s=null,o=null,f===null?y(h):(f=y,hl(r,h),hl(t,h))},u}});var Eo=x((D8e,mU)=>{"use strict";var{ObjectDefineProperties:sAe,ObjectGetOwnPropertyDescriptor:_a,ObjectKeys:oAe,ObjectSetPrototypeOf:yU}=or();mU.exports=bs;var gw=Pd(),Ti=aE();yU(bs.prototype,gw.prototype);yU(bs,gw);{let e=oAe(Ti.prototype);for(let t=0;t<e.length;t++){let r=e[t];bs.prototype[r]||(bs.prototype[r]=Ti.prototype[r])}}function bs(e){if(!(this instanceof bs))return new bs(e);gw.call(this,e),Ti.call(this,e),e?(this.allowHalfOpen=e.allowHalfOpen!==!1,e.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),e.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}sAe(bs.prototype,{writable:{__proto__:null,..._a(Ti.prototype,"writable")},writableHighWaterMark:{__proto__:null,..._a(Ti.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,..._a(Ti.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,..._a(Ti.prototype,"writableBuffer")},writableLength:{__proto__:null,..._a(Ti.prototype,"writableLength")},writableFinished:{__proto__:null,..._a(Ti.prototype,"writableFinished")},writableCorked:{__proto__:null,..._a(Ti.prototype,"writableCorked")},writableEnded:{__proto__:null,..._a(Ti.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,..._a(Ti.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set(e){this._readableState&&this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}});var hw;function EU(){return hw===void 0&&(hw={}),hw}bs.fromWeb=function(e,t){return EU().newStreamDuplexFromReadableWritablePair(e,t)};bs.toWeb=function(e){return EU().newReadableWritablePairFromDuplex(e)};var dw;bs.from=function(e){return dw||(dw=pU()),dw(e,"body")}});var Ew=x((T8e,IU)=>{"use strict";var{ObjectSetPrototypeOf:bU,Symbol:aAe}=or();IU.exports=wa;var{ERR_METHOD_NOT_IMPLEMENTED:fAe}=gn().codes,yw=Eo(),{getHighWaterMark:uAe}=Fd();bU(wa.prototype,yw.prototype);bU(wa,yw);var Gd=aAe("kCallback");function wa(e){if(!(this instanceof wa))return new wa(e);let t=e?uAe(this,e,"readableHighWaterMark",!0):null;t===0&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),yw.call(this,e),this._readableState.sync=!1,this[Gd]=null,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",cAe)}function pw(e){typeof this._flush=="function"&&!this.destroyed?this._flush((t,r)=>{if(t){e?e(t):this.destroy(t);return}r!=null&&this.push(r),this.push(null),e&&e()}):(this.push(null),e&&e())}function cAe(){this._final!==pw&&pw.call(this)}wa.prototype._final=pw;wa.prototype._transform=function(e,t,r){throw new fAe("_transform()")};wa.prototype._write=function(e,t,r){let n=this._readableState,i=this._writableState,s=n.length;this._transform(e,t,(o,a)=>{if(o){r(o);return}a!=null&&this.push(a),i.ended||s===n.length||n.length<n.highWaterMark?r():this[Gd]=r})};wa.prototype._read=function(){if(this[Gd]){let e=this[Gd];this[Gd]=null,e()}}});var bw=x((N8e,CU)=>{"use strict";var{ObjectSetPrototypeOf:BU}=or();CU.exports=dl;var mw=Ew();BU(dl.prototype,mw.prototype);BU(dl,mw);function dl(e){if(!(this instanceof dl))return new dl(e);mw.call(this,e)}dl.prototype._transform=function(e,t,r){r(null,e)}});var AE=x((M8e,vU)=>{var Yd=Ff(),{ArrayIsArray:AAe,Promise:lAe,SymbolAsyncIterator:hAe,SymbolDispose:dAe}=or(),cE=Ca(),{once:gAe}=Dn(),pAe=zu(),_U=Eo(),{aggregateTwoErrors:yAe,codes:{ERR_INVALID_ARG_TYPE:Rw,ERR_INVALID_RETURN_VALUE:Iw,ERR_MISSING_ARGS:EAe,ERR_STREAM_DESTROYED:mAe,ERR_STREAM_PREMATURE_CLOSE:bAe},AbortError:IAe}=gn(),{validateFunction:BAe,validateAbortSignal:CAe}=il(),{isIterable:Zu,isReadable:Bw,isReadableNodeStream:uE,isNodeStream:wU,isTransformStream:gl,isWebStream:_Ae,isReadableStream:Cw,isReadableFinished:wAe}=go(),SAe=globalThis.AbortController||rl().AbortController,_w,ww,Sw;function SU(e,t,r){let n=!1;e.on("close",()=>{n=!0});let i=cE(e,{readable:t,writable:r},s=>{n=!s});return{destroy:s=>{n||(n=!0,pAe.destroyer(e,s||new mAe("pipe")))},cleanup:i}}function QAe(e){return BAe(e[e.length-1],"streams[stream.length - 1]"),e.pop()}function Qw(e){if(Zu(e))return e;if(uE(e))return vAe(e);throw new Rw("val",["Readable","Iterable","AsyncIterable"],e)}async function*vAe(e){ww||(ww=Pd()),yield*ww.prototype[hAe].call(e)}async function fE(e,t,r,{end:n}){let i,s=null,o=u=>{if(u&&(i=u),s){let c=s;s=null,c()}},a=()=>new lAe((u,c)=>{i?c(i):s=()=>{i?c(i):u()}});t.on("drain",o);let f=cE(t,{readable:!1},o);try{t.writableNeedDrain&&await a();for await(let u of e)t.write(u)||await a();n&&(t.end(),await a()),r()}catch(u){r(i!==u?yAe(i,u):u)}finally{f(),t.off("drain",o)}}async function vw(e,t,r,{end:n}){gl(t)&&(t=t.writable);let i=t.getWriter();try{for await(let s of e)await i.ready,i.write(s).catch(()=>{});await i.ready,n&&await i.close(),r()}catch(s){try{await i.abort(s),r(s)}catch(o){r(o)}}}function RAe(...e){return QU(e,gAe(QAe(e)))}function QU(e,t,r){if(e.length===1&&AAe(e[0])&&(e=e[0]),e.length<2)throw new EAe("streams");let n=new SAe,i=n.signal,s=r?.signal,o=[];CAe(s,"options.signal");function a(){S(new IAe)}Sw=Sw||Dn().addAbortListener;let f;s&&(f=Sw(s,a));let u,c,h=[],y=0;function b(Y){S(Y,--y===0)}function S(Y,V){var X;if(Y&&(!u||u.code==="ERR_STREAM_PREMATURE_CLOSE")&&(u=Y),!(!u&&!V)){for(;h.length;)h.shift()(u);(X=f)===null||X===void 0||X[dAe](),n.abort(),V&&(u||o.forEach(j=>j()),Yd.nextTick(t,u,c))}}let v;for(let Y=0;Y<e.length;Y++){let V=e[Y],X=Y<e.length-1,j=Y>0,re=X||r?.end!==!1,ie=Y===e.length-1;if(wU(V)){let oe=function(O){O&&O.name!=="AbortError"&&O.code!=="ERR_STREAM_PREMATURE_CLOSE"&&b(O)};var P=oe;if(re){let{destroy:O,cleanup:E}=SU(V,X,j);h.push(O),Bw(V)&&ie&&o.push(E)}V.on("error",oe),Bw(V)&&ie&&o.push(()=>{V.removeListener("error",oe)})}if(Y===0)if(typeof V=="function"){if(v=V({signal:i}),!Zu(v))throw new Iw("Iterable, AsyncIterable or Stream","source",v)}else Zu(V)||uE(V)||gl(V)?v=V:v=_U.from(V);else if(typeof V=="function"){if(gl(v)){var L;v=Qw((L=v)===null||L===void 0?void 0:L.readable)}else v=Qw(v);if(v=V(v,{signal:i}),X){if(!Zu(v,!0))throw new Iw("AsyncIterable",`transform[${Y-1}]`,v)}else{var U;_w||(_w=bw());let oe=new _w({objectMode:!0}),O=(U=v)===null||U===void 0?void 0:U.then;if(typeof O=="function")y++,O.call(v,B=>{c=B,B!=null&&oe.write(B),re&&oe.end(),Yd.nextTick(b)},B=>{oe.destroy(B),Yd.nextTick(b,B)});else if(Zu(v,!0))y++,fE(v,oe,b,{end:re});else if(Cw(v)||gl(v)){let B=v.readable||v;y++,fE(B,oe,b,{end:re})}else throw new Iw("AsyncIterable or Promise","destination",v);v=oe;let{destroy:E,cleanup:R}=SU(v,!1,!0);h.push(E),ie&&o.push(R)}}else if(wU(V)){if(uE(v)){y+=2;let oe=DAe(v,V,b,{end:re});Bw(V)&&ie&&o.push(oe)}else if(gl(v)||Cw(v)){let oe=v.readable||v;y++,fE(oe,V,b,{end:re})}else if(Zu(v))y++,fE(v,V,b,{end:re});else throw new Rw("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],v);v=V}else if(_Ae(V)){if(uE(v))y++,vw(Qw(v),V,b,{end:re});else if(Cw(v)||Zu(v))y++,vw(v,V,b,{end:re});else if(gl(v))y++,vw(v.readable,V,b,{end:re});else throw new Rw("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],v);v=V}else v=_U.from(V)}return(i!=null&&i.aborted||s!=null&&s.aborted)&&Yd.nextTick(a),v}function DAe(e,t,r,{end:n}){let i=!1;if(t.on("close",()=>{i||r(new bAe)}),e.pipe(t,{end:!1}),n){let o=function(){i=!0,t.end()};var s=o;wAe(e)?Yd.nextTick(o):e.once("end",o)}else r();return cE(e,{readable:!0,writable:!1},o=>{let a=e._readableState;o&&o.code==="ERR_STREAM_PREMATURE_CLOSE"&&a&&a.ended&&!a.errored&&!a.errorEmitted?e.once("end",r).once("error",r):r(o)}),cE(t,{readable:!1,writable:!0},r)}vU.exports={pipelineImpl:QU,pipeline:RAe}});var Tw=x((x8e,xU)=>{"use strict";var{pipeline:TAe}=AE(),lE=Eo(),{destroyer:NAe}=zu(),{isNodeStream:hE,isReadable:RU,isWritable:DU,isWebStream:Dw,isTransformStream:ec,isWritableStream:TU,isReadableStream:NU}=go(),{AbortError:MAe,codes:{ERR_INVALID_ARG_VALUE:MU,ERR_MISSING_ARGS:xAe}}=gn(),kAe=Ca();xU.exports=function(...t){if(t.length===0)throw new xAe("streams");if(t.length===1)return lE.from(t[0]);let r=[...t];if(typeof t[0]=="function"&&(t[0]=lE.from(t[0])),typeof t[t.length-1]=="function"){let b=t.length-1;t[b]=lE.from(t[b])}for(let b=0;b<t.length;++b)if(!(!hE(t[b])&&!Dw(t[b]))){if(b<t.length-1&&!(RU(t[b])||NU(t[b])||ec(t[b])))throw new MU(`streams[${b}]`,r[b],"must be readable");if(b>0&&!(DU(t[b])||TU(t[b])||ec(t[b])))throw new MU(`streams[${b}]`,r[b],"must be writable")}let n,i,s,o,a;function f(b){let S=o;o=null,S?S(b):b?a.destroy(b):!y&&!h&&a.destroy()}let u=t[0],c=TAe(t,f),h=!!(DU(u)||TU(u)||ec(u)),y=!!(RU(c)||NU(c)||ec(c));if(a=new lE({writableObjectMode:!!(u!=null&&u.writableObjectMode),readableObjectMode:!!(c!=null&&c.readableObjectMode),writable:h,readable:y}),h){if(hE(u))a._write=function(S,v,L){u.write(S,v)?L():n=L},a._final=function(S){u.end(),i=S},u.on("drain",function(){if(n){let S=n;n=null,S()}});else if(Dw(u)){let v=(ec(u)?u.writable:u).getWriter();a._write=async function(L,U,P){try{await v.ready,v.write(L).catch(()=>{}),P()}catch(Y){P(Y)}},a._final=async function(L){try{await v.ready,v.close().catch(()=>{}),i=L}catch(U){L(U)}}}let b=ec(c)?c.readable:c;kAe(b,()=>{if(i){let S=i;i=null,S()}})}if(y){if(hE(c))c.on("readable",function(){if(s){let b=s;s=null,b()}}),c.on("end",function(){a.push(null)}),a._read=function(){for(;;){let b=c.read();if(b===null){s=a._read;return}if(!a.push(b))return}};else if(Dw(c)){let S=(ec(c)?c.readable:c).getReader();a._read=async function(){for(;;)try{let{value:v,done:L}=await S.read();if(!a.push(v))return;if(L){a.push(null);return}}catch{return}}}}return a._destroy=function(b,S){!b&&o!==null&&(b=new MAe),s=null,n=null,i=null,o===null?S(b):(o=S,hE(c)&&NAe(c,b))},a}});var YU=x((k8e,xw)=>{"use strict";var FAe=globalThis.AbortController||rl().AbortController,{codes:{ERR_INVALID_ARG_VALUE:UAe,ERR_INVALID_ARG_TYPE:Wd,ERR_MISSING_ARGS:LAe,ERR_OUT_OF_RANGE:PAe},AbortError:mo}=gn(),{validateAbortSignal:tc,validateInteger:kU,validateObject:rc}=il(),OAe=or().Symbol("kWeak"),HAe=or().Symbol("kResistStopPropagation"),{finished:qAe}=Ca(),GAe=Tw(),{addAbortSignalNoValidate:YAe}=kd(),{isWritable:WAe,isNodeStream:VAe}=go(),{deprecate:JAe}=Dn(),{ArrayPrototypePush:jAe,Boolean:zAe,MathFloor:FU,Number:KAe,NumberIsNaN:XAe,Promise:UU,PromiseReject:LU,PromiseResolve:$Ae,PromisePrototypeThen:PU,Symbol:HU}=or(),dE=HU("kEmpty"),OU=HU("kEof");function ZAe(e,t){if(t!=null&&rc(t,"options"),t?.signal!=null&&tc(t.signal,"options.signal"),VAe(e)&&!WAe(e))throw new UAe("stream",e,"must be writable");let r=GAe(this,e);return t!=null&&t.signal&&YAe(t.signal,r),r}function gE(e,t){if(typeof e!="function")throw new Wd("fn",["Function","AsyncFunction"],e);t!=null&&rc(t,"options"),t?.signal!=null&&tc(t.signal,"options.signal");let r=1;t?.concurrency!=null&&(r=FU(t.concurrency));let n=r-1;return t?.highWaterMark!=null&&(n=FU(t.highWaterMark)),kU(r,"options.concurrency",1),kU(n,"options.highWaterMark",0),n+=r,async function*(){let s=Dn().AbortSignalAny([t?.signal].filter(zAe)),o=this,a=[],f={signal:s},u,c,h=!1,y=0;function b(){h=!0,S()}function S(){y-=1,v()}function v(){c&&!h&&y<r&&a.length<n&&(c(),c=null)}async function L(){try{for await(let U of o){if(h)return;if(s.aborted)throw new mo;try{if(U=e(U,f),U===dE)continue;U=$Ae(U)}catch(P){U=LU(P)}y+=1,PU(U,S,b),a.push(U),u&&(u(),u=null),!h&&(a.length>=n||y>=r)&&await new UU(P=>{c=P})}a.push(OU)}catch(U){let P=LU(U);PU(P,S,b),a.push(P)}finally{h=!0,u&&(u(),u=null)}}L();try{for(;;){for(;a.length>0;){let U=await a[0];if(U===OU)return;if(s.aborted)throw new mo;U!==dE&&(yield U),a.shift(),v()}await new UU(U=>{u=U})}}finally{h=!0,c&&(c(),c=null)}}.call(this)}function ele(e=void 0){return e!=null&&rc(e,"options"),e?.signal!=null&&tc(e.signal,"options.signal"),async function*(){let r=0;for await(let i of this){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new mo({cause:e.signal.reason});yield[r++,i]}}.call(this)}async function qU(e,t=void 0){for await(let r of Mw.call(this,e,t))return!0;return!1}async function tle(e,t=void 0){if(typeof e!="function")throw new Wd("fn",["Function","AsyncFunction"],e);return!await qU.call(this,async(...r)=>!await e(...r),t)}async function rle(e,t){for await(let r of Mw.call(this,e,t))return r}async function nle(e,t){if(typeof e!="function")throw new Wd("fn",["Function","AsyncFunction"],e);async function r(n,i){return await e(n,i),dE}for await(let n of gE.call(this,r,t));}function Mw(e,t){if(typeof e!="function")throw new Wd("fn",["Function","AsyncFunction"],e);async function r(n,i){return await e(n,i)?n:dE}return gE.call(this,r,t)}var Nw=class extends LAe{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function ile(e,t,r){var n;if(typeof e!="function")throw new Wd("reducer",["Function","AsyncFunction"],e);r!=null&&rc(r,"options"),r?.signal!=null&&tc(r.signal,"options.signal");let i=arguments.length>1;if(r!=null&&(n=r.signal)!==null&&n!==void 0&&n.aborted){let u=new mo(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await qAe(this.destroy(u)),u}let s=new FAe,o=s.signal;if(r!=null&&r.signal){let u={once:!0,[OAe]:this,[HAe]:!0};r.signal.addEventListener("abort",()=>s.abort(),u)}let a=!1;try{for await(let u of this){var f;if(a=!0,r!=null&&(f=r.signal)!==null&&f!==void 0&&f.aborted)throw new mo;i?t=await e(t,u,{signal:o}):(t=u,i=!0)}if(!a&&!i)throw new Nw}finally{s.abort()}return t}async function sle(e){e!=null&&rc(e,"options"),e?.signal!=null&&tc(e.signal,"options.signal");let t=[];for await(let n of this){var r;if(e!=null&&(r=e.signal)!==null&&r!==void 0&&r.aborted)throw new mo(void 0,{cause:e.signal.reason});jAe(t,n)}return t}function ole(e,t){let r=gE.call(this,e,t);return async function*(){for await(let i of r)yield*i}.call(this)}function GU(e){if(e=KAe(e),XAe(e))return 0;if(e<0)throw new PAe("number",">= 0",e);return e}function ale(e,t=void 0){return t!=null&&rc(t,"options"),t?.signal!=null&&tc(t.signal,"options.signal"),e=GU(e),async function*(){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new mo;for await(let s of this){var i;if(t!=null&&(i=t.signal)!==null&&i!==void 0&&i.aborted)throw new mo;e--<=0&&(yield s)}}.call(this)}function fle(e,t=void 0){return t!=null&&rc(t,"options"),t?.signal!=null&&tc(t.signal,"options.signal"),e=GU(e),async function*(){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new mo;for await(let s of this){var i;if(t!=null&&(i=t.signal)!==null&&i!==void 0&&i.aborted)throw new mo;if(e-- >0&&(yield s),e<=0)return}}.call(this)}xw.exports.streamReturningOperators={asIndexedPairs:JAe(ele,"readable.asIndexedPairs will be removed in a future version."),drop:ale,filter:Mw,flatMap:ole,map:gE,take:fle,compose:ZAe};xw.exports.promiseReturningOperators={every:tle,forEach:nle,reduce:ile,toArray:sle,some:qU,find:rle}});var kw=x((F8e,WU)=>{"use strict";var{ArrayPrototypePop:ule,Promise:cle}=or(),{isIterable:Ale,isNodeStream:lle,isWebStream:hle}=go(),{pipelineImpl:dle}=AE(),{finished:gle}=Ca();Fw();function ple(...e){return new cle((t,r)=>{let n,i,s=e[e.length-1];if(s&&typeof s=="object"&&!lle(s)&&!Ale(s)&&!hle(s)){let o=ule(e);n=o.signal,i=o.end}dle(e,(o,a)=>{o?r(o):t(a)},{signal:n,end:i})})}WU.exports={finished:gle,pipeline:ple}});var Fw=x((U8e,e4)=>{"use strict";var{Buffer:yle}=ur(),{ObjectDefineProperty:Sa,ObjectKeys:jU,ReflectApply:zU}=or(),{promisify:{custom:KU}}=Dn(),{streamReturningOperators:VU,promiseReturningOperators:JU}=YU(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:XU}}=gn(),Ele=Tw(),{setDefaultHighWaterMark:mle,getDefaultHighWaterMark:ble}=Fd(),{pipeline:$U}=AE(),{destroyer:Ile}=zu(),ZU=Ca(),Uw=kw(),Vd=go(),Zt=e4.exports=jy().Stream;Zt.isDestroyed=Vd.isDestroyed;Zt.isDisturbed=Vd.isDisturbed;Zt.isErrored=Vd.isErrored;Zt.isReadable=Vd.isReadable;Zt.isWritable=Vd.isWritable;Zt.Readable=Pd();for(let e of jU(VU)){let r=function(...n){if(new.target)throw XU();return Zt.Readable.from(zU(t,this,n))},t=VU[e];Sa(r,"name",{__proto__:null,value:t.name}),Sa(r,"length",{__proto__:null,value:t.length}),Sa(Zt.Readable.prototype,e,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}for(let e of jU(JU)){let r=function(...n){if(new.target)throw XU();return zU(t,this,n)},t=JU[e];Sa(r,"name",{__proto__:null,value:t.name}),Sa(r,"length",{__proto__:null,value:t.length}),Sa(Zt.Readable.prototype,e,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}Zt.Writable=aE();Zt.Duplex=Eo();Zt.Transform=Ew();Zt.PassThrough=bw();Zt.pipeline=$U;var{addAbortSignal:Ble}=kd();Zt.addAbortSignal=Ble;Zt.finished=ZU;Zt.destroy=Ile;Zt.compose=Ele;Zt.setDefaultHighWaterMark=mle;Zt.getDefaultHighWaterMark=ble;Sa(Zt,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return Uw}});Sa($U,KU,{__proto__:null,enumerable:!0,get(){return Uw.pipeline}});Sa(ZU,KU,{__proto__:null,enumerable:!0,get(){return Uw.finished}});Zt.Stream=Zt;Zt._isUint8Array=function(t){return t instanceof Uint8Array};Zt._uint8ArrayToBuffer=function(t){return yle.from(t.buffer,t.byteOffset,t.byteLength)}});var Lw=x((L8e,gt)=>{"use strict";var Nr=(Or(),Lr(dt));if(Nr&&process.env.READABLE_STREAM==="disable"){let e=Nr.promises;gt.exports._uint8ArrayToBuffer=Nr._uint8ArrayToBuffer,gt.exports._isUint8Array=Nr._isUint8Array,gt.exports.isDisturbed=Nr.isDisturbed,gt.exports.isErrored=Nr.isErrored,gt.exports.isReadable=Nr.isReadable,gt.exports.Readable=Nr.Readable,gt.exports.Writable=Nr.Writable,gt.exports.Duplex=Nr.Duplex,gt.exports.Transform=Nr.Transform,gt.exports.PassThrough=Nr.PassThrough,gt.exports.addAbortSignal=Nr.addAbortSignal,gt.exports.finished=Nr.finished,gt.exports.destroy=Nr.destroy,gt.exports.pipeline=Nr.pipeline,gt.exports.compose=Nr.compose,Object.defineProperty(Nr,"promises",{configurable:!0,enumerable:!0,get(){return e}}),gt.exports.Stream=Nr.Stream}else{let e=Fw(),t=kw(),r=e.Readable.destroy;gt.exports=e.Readable,gt.exports._uint8ArrayToBuffer=e._uint8ArrayToBuffer,gt.exports._isUint8Array=e._isUint8Array,gt.exports.isDisturbed=e.isDisturbed,gt.exports.isErrored=e.isErrored,gt.exports.isReadable=e.isReadable,gt.exports.Readable=e.Readable,gt.exports.Writable=e.Writable,gt.exports.Duplex=e.Duplex,gt.exports.Transform=e.Transform,gt.exports.PassThrough=e.PassThrough,gt.exports.addAbortSignal=e.addAbortSignal,gt.exports.finished=e.finished,gt.exports.destroy=e.destroy,gt.exports.destroy=r,gt.exports.pipeline=e.pipeline,gt.exports.compose=e.compose,Object.defineProperty(e,"promises",{configurable:!0,enumerable:!0,get(){return t}}),gt.exports.Stream=e.Stream}gt.exports.default=gt.exports});var dt={};Ny(dt,{default:()=>qw,finished:()=>r4,isDisturbed:()=>s4,isErrored:()=>i4,isReadable:()=>n4});var Of,Pw,Hw,t4,Jd,pE,Ow,Cle,r4,n4,i4,s4,qw,Or=f_(()=>{"use strict";Of=fr(Lw()),Pw=fr(ur());rn(dt,fr(Lw()));Hw=Of.default??Of.default??{},t4=Of.finished??Hw.finished,Jd=Of.Readable??Hw.Readable;if(typeof Jd?.prototype?.push=="function"&&!Jd.prototype.push.__agentOSUint8ArrayPatched){let e=Jd.prototype.push;Jd.prototype.push=function(r,n){return!this?._readableState?.objectMode&&r instanceof Uint8Array&&!Pw.Buffer.isBuffer(r)&&(r=Pw.Buffer.from(r.buffer,r.byteOffset,r.byteLength)),e.call(this,r,n)},Jd.prototype.push.__agentOSUint8ArrayPatched=!0}pE=e=>!!e&&typeof e.getReader=="function"&&typeof e.cancel=="function",Ow=e=>!!e&&typeof e.getWriter=="function"&&typeof e.abort=="function",Cle=e=>e instanceof Error?e:e==null?new Error("stream errored"):new Error(String(e)),r4=(e,t,r)=>{let n=t,i=r;if(typeof n=="function"&&(i=n,n={}),!pE(e)&&!Ow(e)&&typeof t4=="function")return t4(e,n,i);let s=typeof i=="function"?i:()=>{},o=n?.readable!==!1,a=n?.writable!==!1,f=!1,u=null,c=()=>{f=!0,u!==null&&(clearTimeout(u),u=null)},h=(b=void 0)=>{f||(c(),queueMicrotask(()=>s(b)))},y=()=>{if(f)return;let b=e?._state;if(b==="errored"){h(Cle(e?._storedError));return}if(b==="closed"||pE(e)&&!o||Ow(e)&&!a){h();return}u=setTimeout(y,0)};return y(),c},n4=e=>pE(e)?e._state==="readable":!!e&&e.readable!==!1&&e.destroyed!==!0,i4=e=>pE(e)||Ow(e)?e?._state==="errored":e?.errored!=null,s4=e=>!!(e?.locked||e?.disturbed===!0||e?._disturbed===!0||e?.readableDidRead===!0),qw={...Hw,finished:r4,isReadable:n4,isErrored:i4,isDisturbed:s4}});var Is=x((O8e,o4)=>{"use strict";o4.exports=TypeError});var a4=x(()=>{});var $d=x((G8e,Q4)=>{var $w=typeof Map=="function"&&Map.prototype,Gw=Object.getOwnPropertyDescriptor&&$w?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,EE=$w&&Gw&&typeof Gw.get=="function"?Gw.get:null,f4=$w&&Map.prototype.forEach,Zw=typeof Set=="function"&&Set.prototype,Yw=Object.getOwnPropertyDescriptor&&Zw?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,mE=Zw&&Yw&&typeof Yw.get=="function"?Yw.get:null,u4=Zw&&Set.prototype.forEach,_le=typeof WeakMap=="function"&&WeakMap.prototype,zd=_le?WeakMap.prototype.has:null,wle=typeof WeakSet=="function"&&WeakSet.prototype,Kd=wle?WeakSet.prototype.has:null,Sle=typeof WeakRef=="function"&&WeakRef.prototype,c4=Sle?WeakRef.prototype.deref:null,Qle=Boolean.prototype.valueOf,vle=Object.prototype.toString,Rle=Function.prototype.toString,Dle=String.prototype.match,eS=String.prototype.slice,Hf=String.prototype.replace,Tle=String.prototype.toUpperCase,A4=String.prototype.toLowerCase,b4=RegExp.prototype.test,l4=Array.prototype.concat,bo=Array.prototype.join,Nle=Array.prototype.slice,h4=Math.floor,Jw=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Ww=Object.getOwnPropertySymbols,jw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,pl=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Xd=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===pl||!0)?Symbol.toStringTag:null,I4=Object.prototype.propertyIsEnumerable,d4=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function g4(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||b4.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-h4(-e):h4(e);if(n!==e){var i=String(n),s=eS.call(t,i.length+1);return Hf.call(i,r,"$&_")+"."+Hf.call(Hf.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Hf.call(t,r,"$&_")}var zw=a4(),p4=zw.custom,y4=_4(p4)?p4:null,B4={__proto__:null,double:'"',single:"'"},Mle={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Q4.exports=function e(t,r,n,i){var s=r||{};if(Qa(s,"quoteStyle")&&!Qa(B4,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Qa(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=Qa(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(Qa(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(Qa(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 S4(t,s);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var f=String(t);return a?g4(t,f):f}if(typeof t=="bigint"){var u=String(t)+"n";return a?g4(t,u):u}var c=typeof s.depth>"u"?5:s.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof t=="object")return Kw(t)?"[Array]":"[Object]";var h=Xle(s,n);if(typeof i>"u")i=[];else if(w4(i,t)>=0)return"[Circular]";function y(B,l,p){if(l&&(i=Nle.call(i),i.push(l)),p){var Q={depth:s.depth};return Qa(s,"quoteStyle")&&(Q.quoteStyle=s.quoteStyle),e(B,Q,n+1,i)}return e(B,s,n+1,i)}if(typeof t=="function"&&!E4(t)){var b=qle(t),S=yE(t,y);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(S.length>0?" { "+bo.call(S,", ")+" }":"")}if(_4(t)){var v=pl?Hf.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):jw.call(t);return typeof t=="object"&&!pl?jd(v):v}if(jle(t)){for(var L="<"+A4.call(String(t.nodeName)),U=t.attributes||[],P=0;P<U.length;P++)L+=" "+U[P].name+"="+C4(xle(U[P].value),"double",s);return L+=">",t.childNodes&&t.childNodes.length&&(L+="..."),L+="</"+A4.call(String(t.nodeName))+">",L}if(Kw(t)){if(t.length===0)return"[]";var Y=yE(t,y);return h&&!Kle(Y)?"["+Xw(Y,h)+"]":"[ "+bo.call(Y,", ")+" ]"}if(Fle(t)){var V=yE(t,y);return!("cause"in Error.prototype)&&"cause"in t&&!I4.call(t,"cause")?"{ ["+String(t)+"] "+bo.call(l4.call("[cause]: "+y(t.cause),V),", ")+" }":V.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+bo.call(V,", ")+" }"}if(typeof t=="object"&&o){if(y4&&typeof t[y4]=="function"&&zw)return zw(t,{depth:c-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Gle(t)){var X=[];return f4&&f4.call(t,function(B,l){X.push(y(l,t,!0)+" => "+y(B,t))}),m4("Map",EE.call(t),X,h)}if(Vle(t)){var j=[];return u4&&u4.call(t,function(B){j.push(y(B,t))}),m4("Set",mE.call(t),j,h)}if(Yle(t))return Vw("WeakMap");if(Jle(t))return Vw("WeakSet");if(Wle(t))return Vw("WeakRef");if(Lle(t))return jd(y(Number(t)));if(Ole(t))return jd(y(Jw.call(t)));if(Ple(t))return jd(Qle.call(t));if(Ule(t))return jd(y(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(!kle(t)&&!E4(t)){var re=yE(t,y),ie=d4?d4(t)===Object.prototype:t instanceof Object||t.constructor===Object,oe=t instanceof Object?"":"null prototype",O=!ie&&Xd&&Object(t)===t&&Xd in t?eS.call(qf(t),8,-1):oe?"Object":"",E=ie||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",R=E+(O||oe?"["+bo.call(l4.call([],O||[],oe||[]),": ")+"] ":"");return re.length===0?R+"{}":h?R+"{"+Xw(re,h)+"}":R+"{ "+bo.call(re,", ")+" }"}return String(t)};function C4(e,t,r){var n=r.quoteStyle||t,i=B4[n];return i+e+i}function xle(e){return Hf.call(String(e),/"/g,""")}function nc(e){return!Xd||!(typeof e=="object"&&(Xd in e||typeof e[Xd]<"u"))}function Kw(e){return qf(e)==="[object Array]"&&nc(e)}function kle(e){return qf(e)==="[object Date]"&&nc(e)}function E4(e){return qf(e)==="[object RegExp]"&&nc(e)}function Fle(e){return qf(e)==="[object Error]"&&nc(e)}function Ule(e){return qf(e)==="[object String]"&&nc(e)}function Lle(e){return qf(e)==="[object Number]"&&nc(e)}function Ple(e){return qf(e)==="[object Boolean]"&&nc(e)}function _4(e){if(pl)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!jw)return!1;try{return jw.call(e),!0}catch{}return!1}function Ole(e){if(!e||typeof e!="object"||!Jw)return!1;try{return Jw.call(e),!0}catch{}return!1}var Hle=Object.prototype.hasOwnProperty||function(e){return e in this};function Qa(e,t){return Hle.call(e,t)}function qf(e){return vle.call(e)}function qle(e){if(e.name)return e.name;var t=Dle.call(Rle.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function w4(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 Gle(e){if(!EE||!e||typeof e!="object")return!1;try{EE.call(e);try{mE.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function Yle(e){if(!zd||!e||typeof e!="object")return!1;try{zd.call(e,zd);try{Kd.call(e,Kd)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function Wle(e){if(!c4||!e||typeof e!="object")return!1;try{return c4.call(e),!0}catch{}return!1}function Vle(e){if(!mE||!e||typeof e!="object")return!1;try{mE.call(e);try{EE.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function Jle(e){if(!Kd||!e||typeof e!="object")return!1;try{Kd.call(e,Kd);try{zd.call(e,zd)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function jle(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function S4(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return S4(eS.call(e,0,t.maxStringLength),t)+n}var i=Mle[t.quoteStyle||"single"];i.lastIndex=0;var s=Hf.call(Hf.call(e,i,"\\$1"),/[\x00-\x1f]/g,zle);return C4(s,"single",t)}function zle(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":"")+Tle.call(t.toString(16))}function jd(e){return"Object("+e+")"}function Vw(e){return e+" { ? }"}function m4(e,t,r,n){var i=n?Xw(r,n):bo.call(r,", ");return e+" ("+t+") {"+i+"}"}function Kle(e){for(var t=0;t<e.length;t++)if(w4(e[t],`
`)>=0)return!1;return!0}function Xle(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=bo.call(Array(e.indent+1)," ");else return null;return{base:r,prev:bo.call(Array(t+1),r)}}function Xw(e,t){if(e.length===0)return"";var r=`
`+t.prev+t.base;return r+bo.call(e,","+r)+`
`+t.prev}function yE(e,t){var r=Kw(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=Qa(e,i)?t(e[i],e):""}var s=typeof Ww=="function"?Ww(e):[],o;if(pl){o={};for(var a=0;a<s.length;a++)o["$"+s[a]]=s[a]}for(var f in e)Qa(e,f)&&(r&&String(Number(f))===f&&f<e.length||pl&&o["$"+f]instanceof Symbol||(b4.call(/[^\w$]/,f)?n.push(t(f,e)+": "+t(e[f],e)):n.push(f+": "+t(e[f],e))));if(typeof Ww=="function")for(var u=0;u<s.length;u++)I4.call(e,s[u])&&n.push("["+t(s[u])+"]: "+t(e[s[u]],e));return n}});var R4=x((Y8e,v4)=>{"use strict";var $le=$d(),Zle=Is(),bE=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},ehe=function(e,t){if(e){var r=bE(e,t);return r&&r.value}},the=function(e,t,r){var n=bE(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},rhe=function(e,t){return e?!!bE(e,t):!1},nhe=function(e,t){if(e)return bE(e,t,!0)};v4.exports=function(){var t,r={assert:function(n){if(!r.has(n))throw new Zle("Side channel does not contain "+$le(n))},delete:function(n){var i=t&&t.next,s=nhe(t,n);return s&&i&&i===s&&(t=void 0),!!s},get:function(n){return ehe(t,n)},has:function(n){return rhe(t,n)},set:function(n,i){t||(t={next:void 0}),the(t,n,i)}};return r}});var IE=x((W8e,D4)=>{"use strict";D4.exports=Object});var N4=x((V8e,T4)=>{"use strict";T4.exports=Error});var x4=x((J8e,M4)=>{"use strict";M4.exports=EvalError});var F4=x((j8e,k4)=>{"use strict";k4.exports=RangeError});var L4=x((z8e,U4)=>{"use strict";U4.exports=ReferenceError});var tS=x((K8e,P4)=>{"use strict";P4.exports=SyntaxError});var H4=x((X8e,O4)=>{"use strict";O4.exports=URIError});var G4=x(($8e,q4)=>{"use strict";q4.exports=Math.abs});var W4=x((Z8e,Y4)=>{"use strict";Y4.exports=Math.floor});var J4=x((ePe,V4)=>{"use strict";V4.exports=Math.max});var z4=x((tPe,j4)=>{"use strict";j4.exports=Math.min});var X4=x((rPe,K4)=>{"use strict";K4.exports=Math.pow});var Z4=x((nPe,$4)=>{"use strict";$4.exports=Math.round});var tL=x((iPe,eL)=>{"use strict";eL.exports=Number.isNaN||function(t){return t!==t}});var nL=x((sPe,rL)=>{"use strict";var ihe=tL();rL.exports=function(t){return ihe(t)||t===0?t:t<0?-1:1}});var sL=x((oPe,iL)=>{"use strict";iL.exports=Object.getOwnPropertyDescriptor});var ic=x((aPe,oL)=>{"use strict";var BE=sL();if(BE)try{BE([],"length")}catch{BE=null}oL.exports=BE});var Zd=x((fPe,aL)=>{"use strict";var CE=Object.defineProperty||!1;if(CE)try{CE({},"a",{value:1})}catch{CE=!1}aL.exports=CE});var _E=x((uPe,fL)=>{"use strict";fL.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 AL=x((cPe,cL)=>{"use strict";var uL=typeof Symbol<"u"&&Symbol,she=_E();cL.exports=function(){return typeof uL!="function"||typeof Symbol!="function"||typeof uL("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:she()}});var rS=x((APe,lL)=>{"use strict";lL.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var nS=x((lPe,hL)=>{"use strict";var ohe=IE();hL.exports=ohe.getPrototypeOf||null});var pL=x((hPe,gL)=>{"use strict";var ahe="Function.prototype.bind called on incompatible ",fhe=Object.prototype.toString,uhe=Math.max,che="[object Function]",dL=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},Ahe=function(t,r){for(var n=[],i=r||0,s=0;i<t.length;i+=1,s+=1)n[s]=t[i];return n},lhe=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};gL.exports=function(t){var r=this;if(typeof r!="function"||fhe.apply(r)!==che)throw new TypeError(ahe+r);for(var n=Ahe(arguments,1),i,s=function(){if(this instanceof i){var c=r.apply(this,dL(n,arguments));return Object(c)===c?c:this}return r.apply(t,dL(n,arguments))},o=uhe(0,r.length-n.length),a=[],f=0;f<o;f++)a[f]="$"+f;if(i=Function("binder","return function ("+lhe(a,",")+"){ return binder.apply(this,arguments); }")(s),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i}});var yl=x((dPe,yL)=>{"use strict";var hhe=pL();yL.exports=Function.prototype.bind||hhe});var wE=x((gPe,EL)=>{"use strict";EL.exports=Function.prototype.call});var SE=x((pPe,mL)=>{"use strict";mL.exports=Function.prototype.apply});var IL=x((yPe,bL)=>{"use strict";bL.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var iS=x((EPe,BL)=>{"use strict";var dhe=yl(),ghe=SE(),phe=wE(),yhe=IL();BL.exports=yhe||dhe.call(phe,ghe)});var QE=x((mPe,CL)=>{"use strict";var Ehe=yl(),mhe=Is(),bhe=wE(),Ihe=iS();CL.exports=function(t){if(t.length<1||typeof t[0]!="function")throw new mhe("a function is required");return Ihe(Ehe,bhe,t)}});var RL=x((bPe,vL)=>{"use strict";var Bhe=QE(),_L=ic(),SL;try{SL=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var sS=!!SL&&_L&&_L(Object.prototype,"__proto__"),QL=Object,wL=QL.getPrototypeOf;vL.exports=sS&&typeof sS.get=="function"?Bhe([sS.get]):typeof wL=="function"?function(t){return wL(t==null?t:QL(t))}:!1});var vE=x((IPe,ML)=>{"use strict";var DL=rS(),TL=nS(),NL=RL();ML.exports=DL?function(t){return DL(t)}:TL?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return TL(t)}:NL?function(t){return NL(t)}:null});var oS=x((BPe,xL)=>{"use strict";var Che=Function.prototype.call,_he=Object.prototype.hasOwnProperty,whe=yl();xL.exports=whe.call(Che,_he)});var Bl=x((CPe,OL)=>{"use strict";var pt,She=IE(),Qhe=N4(),vhe=x4(),Rhe=F4(),Dhe=L4(),Il=tS(),bl=Is(),The=H4(),Nhe=G4(),Mhe=W4(),xhe=J4(),khe=z4(),Fhe=X4(),Uhe=Z4(),Lhe=nL(),LL=Function,aS=function(e){try{return LL('"use strict"; return ('+e+").constructor;")()}catch{}},eg=ic(),Phe=Zd(),fS=function(){throw new bl},Ohe=eg?(function(){try{return arguments.callee,fS}catch{try{return eg(arguments,"callee").get}catch{return fS}}})():fS,El=AL()(),Hr=vE(),Hhe=nS(),qhe=rS(),PL=SE(),tg=wE(),ml={},Ghe=typeof Uint8Array>"u"||!Hr?pt:Hr(Uint8Array),sc={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?pt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?pt:ArrayBuffer,"%ArrayIteratorPrototype%":El&&Hr?Hr([][Symbol.iterator]()):pt,"%AsyncFromSyncIteratorPrototype%":pt,"%AsyncFunction%":ml,"%AsyncGenerator%":ml,"%AsyncGeneratorFunction%":ml,"%AsyncIteratorPrototype%":ml,"%Atomics%":typeof Atomics>"u"?pt:Atomics,"%BigInt%":typeof BigInt>"u"?pt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?pt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?pt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?pt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Qhe,"%eval%":eval,"%EvalError%":vhe,"%Float16Array%":typeof Float16Array>"u"?pt:Float16Array,"%Float32Array%":typeof Float32Array>"u"?pt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?pt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?pt:FinalizationRegistry,"%Function%":LL,"%GeneratorFunction%":ml,"%Int8Array%":typeof Int8Array>"u"?pt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?pt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?pt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":El&&Hr?Hr(Hr([][Symbol.iterator]())):pt,"%JSON%":typeof JSON=="object"?JSON:pt,"%Map%":typeof Map>"u"?pt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!El||!Hr?pt:Hr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":She,"%Object.getOwnPropertyDescriptor%":eg,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?pt:Promise,"%Proxy%":typeof Proxy>"u"?pt:Proxy,"%RangeError%":Rhe,"%ReferenceError%":Dhe,"%Reflect%":typeof Reflect>"u"?pt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?pt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!El||!Hr?pt:Hr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?pt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":El&&Hr?Hr(""[Symbol.iterator]()):pt,"%Symbol%":El?Symbol:pt,"%SyntaxError%":Il,"%ThrowTypeError%":Ohe,"%TypedArray%":Ghe,"%TypeError%":bl,"%Uint8Array%":typeof Uint8Array>"u"?pt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?pt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?pt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?pt:Uint32Array,"%URIError%":The,"%WeakMap%":typeof WeakMap>"u"?pt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?pt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?pt:WeakSet,"%Function.prototype.call%":tg,"%Function.prototype.apply%":PL,"%Object.defineProperty%":Phe,"%Object.getPrototypeOf%":Hhe,"%Math.abs%":Nhe,"%Math.floor%":Mhe,"%Math.max%":xhe,"%Math.min%":khe,"%Math.pow%":Fhe,"%Math.round%":Uhe,"%Math.sign%":Lhe,"%Reflect.getPrototypeOf%":qhe};if(Hr)try{null.error}catch(e){kL=Hr(Hr(e)),sc["%Error.prototype%"]=kL}var kL,Yhe=function e(t){var r;if(t==="%AsyncFunction%")r=aS("async function () {}");else if(t==="%GeneratorFunction%")r=aS("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=aS("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Hr&&(r=Hr(i.prototype))}return sc[t]=r,r},FL={__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"]},rg=yl(),RE=oS(),Whe=rg.call(tg,Array.prototype.concat),Vhe=rg.call(PL,Array.prototype.splice),UL=rg.call(tg,String.prototype.replace),DE=rg.call(tg,String.prototype.slice),Jhe=rg.call(tg,RegExp.prototype.exec),jhe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,zhe=/\\(\\)?/g,Khe=function(t){var r=DE(t,0,1),n=DE(t,-1);if(r==="%"&&n!=="%")throw new Il("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Il("invalid intrinsic syntax, expected opening `%`");var i=[];return UL(t,jhe,function(s,o,a,f){i[i.length]=a?UL(f,zhe,"$1"):o||s}),i},Xhe=function(t,r){var n=t,i;if(RE(FL,n)&&(i=FL[n],n="%"+i[0]+"%"),RE(sc,n)){var s=sc[n];if(s===ml&&(s=Yhe(n)),typeof s>"u"&&!r)throw new bl("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:s}}throw new Il("intrinsic "+t+" does not exist!")};OL.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new bl("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new bl('"allowMissing" argument must be a boolean');if(Jhe(/^%?[^%]*%?$/,t)===null)throw new Il("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Khe(t),i=n.length>0?n[0]:"",s=Xhe("%"+i+"%",r),o=s.name,a=s.value,f=!1,u=s.alias;u&&(i=u[0],Vhe(n,Whe([0,1],u)));for(var c=1,h=!0;c<n.length;c+=1){var y=n[c],b=DE(y,0,1),S=DE(y,-1);if((b==='"'||b==="'"||b==="`"||S==='"'||S==="'"||S==="`")&&b!==S)throw new Il("property names with quotes must have matching quotes");if((y==="constructor"||!h)&&(f=!0),i+="."+y,o="%"+i+"%",RE(sc,o))a=sc[o];else if(a!=null){if(!(y in a)){if(!r)throw new bl("base intrinsic for "+t+" exists, but the property is not available.");return}if(eg&&c+1>=n.length){var v=eg(a,y);h=!!v,h&&"get"in v&&!("originalValue"in v.get)?a=v.get:a=a[y]}else h=RE(a,y),a=a[y];h&&!f&&(sc[o]=a)}}return a}});var Io=x((_Pe,GL)=>{"use strict";var HL=Bl(),qL=QE(),$he=qL([HL("%String.prototype.indexOf%")]);GL.exports=function(t,r){var n=HL(t,!!r);return typeof n=="function"&&$he(t,".prototype.")>-1?qL([n]):n}});var uS=x((wPe,WL)=>{"use strict";var Zhe=Bl(),ng=Io(),ede=$d(),tde=Is(),YL=Zhe("%Map%",!0),rde=ng("Map.prototype.get",!0),nde=ng("Map.prototype.set",!0),ide=ng("Map.prototype.has",!0),sde=ng("Map.prototype.delete",!0),ode=ng("Map.prototype.size",!0);WL.exports=!!YL&&function(){var t,r={assert:function(n){if(!r.has(n))throw new tde("Side channel does not contain "+ede(n))},delete:function(n){if(t){var i=sde(t,n);return ode(t)===0&&(t=void 0),i}return!1},get:function(n){if(t)return rde(t,n)},has:function(n){return t?ide(t,n):!1},set:function(n,i){t||(t=new YL),nde(t,n,i)}};return r}});var JL=x((SPe,VL)=>{"use strict";var ade=Bl(),NE=Io(),fde=$d(),TE=uS(),ude=Is(),Cl=ade("%WeakMap%",!0),cde=NE("WeakMap.prototype.get",!0),Ade=NE("WeakMap.prototype.set",!0),lde=NE("WeakMap.prototype.has",!0),hde=NE("WeakMap.prototype.delete",!0);VL.exports=Cl?function(){var t,r,n={assert:function(i){if(!n.has(i))throw new ude("Side channel does not contain "+fde(i))},delete:function(i){if(Cl&&i&&(typeof i=="object"||typeof i=="function")){if(t)return hde(t,i)}else if(TE&&r)return r.delete(i);return!1},get:function(i){return Cl&&i&&(typeof i=="object"||typeof i=="function")&&t?cde(t,i):r&&r.get(i)},has:function(i){return Cl&&i&&(typeof i=="object"||typeof i=="function")&&t?lde(t,i):!!r&&r.has(i)},set:function(i,s){Cl&&i&&(typeof i=="object"||typeof i=="function")?(t||(t=new Cl),Ade(t,i,s)):TE&&(r||(r=TE()),r.set(i,s))}};return n}:TE});var cS=x((QPe,jL)=>{"use strict";var dde=Is(),gde=$d(),pde=R4(),yde=uS(),Ede=JL(),mde=Ede||yde||pde;jL.exports=function(){var t,r={assert:function(n){if(!r.has(n))throw new dde("Side channel does not contain "+gde(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=mde()),t.set(n,i)}};return r}});var ME=x((vPe,zL)=>{"use strict";var bde=String.prototype.replace,Ide=/%20/g,AS={RFC1738:"RFC1738",RFC3986:"RFC3986"};zL.exports={default:AS.RFC3986,formatters:{RFC1738:function(e){return bde.call(e,Ide,"+")},RFC3986:function(e){return String(e)}},RFC1738:AS.RFC1738,RFC3986:AS.RFC3986}});var gS=x((RPe,KL)=>{"use strict";var Bde=ME(),Cde=cS(),lS=Object.prototype.hasOwnProperty,oc=Array.isArray,xE=Cde(),_l=function(t,r){return xE.set(t,r),t},ac=function(t){return xE.has(t)},ig=function(t){return xE.get(t)},dS=function(t,r){xE.set(t,r)},Bo=(function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e})(),_de=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(oc(n)){for(var i=[],s=0;s<n.length;++s)typeof n[s]<"u"&&(i[i.length]=n[s]);r.obj[r.prop]=i}}},sg=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},wde=function e(t,r,n){if(!r)return t;if(typeof r!="object"&&typeof r!="function"){if(oc(t)){var i=t.length;if(n&&typeof n.arrayLimit=="number"&&i>n.arrayLimit)return _l(sg(t.concat(r),n),i);t[i]=r}else if(t&&typeof t=="object")if(ac(t)){var s=ig(t)+1;t[s]=r,dS(t,s)}else{if(n&&n.strictMerge)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!lS.call(Object.prototype,r))&&(t[r]=!0)}else return[t,r];return t}if(!t||typeof t!="object"){if(ac(r)){for(var o=Object.keys(r),a=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},f=0;f<o.length;f++){var u=parseInt(o[f],10);a[u+1]=r[o[f]]}return _l(a,ig(r)+1)}var c=[t].concat(r);return n&&typeof n.arrayLimit=="number"&&c.length>n.arrayLimit?_l(sg(c,n),c.length-1):c}var h=t;return oc(t)&&!oc(r)&&(h=sg(t,n)),oc(t)&&oc(r)?(r.forEach(function(y,b){if(lS.call(t,b)){var S=t[b];S&&typeof S=="object"&&y&&typeof y=="object"?t[b]=e(S,y,n):t[t.length]=y}else t[b]=y}),t):Object.keys(r).reduce(function(y,b){var S=r[b];if(lS.call(y,b)?y[b]=e(y[b],S,n):y[b]=S,ac(r)&&!ac(y)&&_l(y,ig(r)),ac(y)){var v=parseInt(b,10);String(v)===b&&v>=0&&v>ig(y)&&dS(y,v)}return y},h)},Sde=function(t,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},t)},Qde=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}},hS=1024,vde=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(b){return"%26%23"+parseInt(b.slice(2),16)+"%3B"});for(var a="",f=0;f<o.length;f+=hS){for(var u=o.length>=hS?o.slice(f,f+hS):o,c=[],h=0;h<u.length;++h){var y=u.charCodeAt(h);if(y===45||y===46||y===95||y===126||y>=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||s===Bde.RFC1738&&(y===40||y===41)){c[c.length]=u.charAt(h);continue}if(y<128){c[c.length]=Bo[y];continue}if(y<2048){c[c.length]=Bo[192|y>>6]+Bo[128|y&63];continue}if(y<55296||y>=57344){c[c.length]=Bo[224|y>>12]+Bo[128|y>>6&63]+Bo[128|y&63];continue}h+=1,y=65536+((y&1023)<<10|u.charCodeAt(h)&1023),c[c.length]=Bo[240|y>>18]+Bo[128|y>>12&63]+Bo[128|y>>6&63]+Bo[128|y&63]}a+=c.join("")}return a},Rde=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),f=0;f<a.length;++f){var u=a[f],c=o[u];typeof c=="object"&&c!==null&&n.indexOf(c)===-1&&(r[r.length]={obj:o,prop:u},n[n.length]=c)}return _de(r),t},Dde=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},Tde=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},Nde=function(t,r,n,i){if(ac(t)){var s=ig(t)+1;return t[s]=r,dS(t,s),t}var o=[].concat(t,r);return o.length>n?_l(sg(o,{plainObjects:i}),o.length-1):o},Mde=function(t,r){if(oc(t)){for(var n=[],i=0;i<t.length;i+=1)n[n.length]=r(t[i]);return n}return r(t)};KL.exports={arrayToObject:sg,assign:Sde,combine:Nde,compact:Rde,decode:Qde,encode:vde,isBuffer:Tde,isOverflow:ac,isRegExp:Dde,markOverflow:_l,maybeMap:Mde,merge:wde}});var r3=x((DPe,t3)=>{"use strict";var $L=cS(),kE=gS(),og=ME(),xde=Object.prototype.hasOwnProperty,ZL={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},Co=Array.isArray,kde=Array.prototype.push,e3=function(e,t){kde.apply(e,Co(t)?t:[t])},Fde=Date.prototype.toISOString,XL=og.default,Mr={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:kE.encode,encodeValuesOnly:!1,filter:void 0,format:XL,formatter:og.formatters[XL],indices:!1,serializeDate:function(t){return Fde.call(t)},skipNulls:!1,strictNullHandling:!1},Ude=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},pS={},Lde=function e(t,r,n,i,s,o,a,f,u,c,h,y,b,S,v,L,U,P){for(var Y=t,V=P,X=0,j=!1;(V=V.get(pS))!==void 0&&!j;){var re=V.get(t);if(X+=1,typeof re<"u"){if(re===X)throw new RangeError("Cyclic object value");j=!0}typeof V.get(pS)>"u"&&(X=0)}if(typeof c=="function"?Y=c(r,Y):Y instanceof Date?Y=b(Y):n==="comma"&&Co(Y)&&(Y=kE.maybeMap(Y,function(T){return T instanceof Date?b(T):T})),Y===null){if(o)return u&&!L?u(r,Mr.encoder,U,"key",S):r;Y=""}if(Ude(Y)||kE.isBuffer(Y)){if(u){var ie=L?r:u(r,Mr.encoder,U,"key",S);return[v(ie)+"="+v(u(Y,Mr.encoder,U,"value",S))]}return[v(r)+"="+v(String(Y))]}var oe=[];if(typeof Y>"u")return oe;var O;if(n==="comma"&&Co(Y))L&&u&&(Y=kE.maybeMap(Y,u)),O=[{value:Y.length>0?Y.join(",")||null:void 0}];else if(Co(c))O=c;else{var E=Object.keys(Y);O=h?E.sort(h):E}var R=f?String(r).replace(/\./g,"%2E"):String(r),B=i&&Co(Y)&&Y.length===1?R+"[]":R;if(s&&Co(Y)&&Y.length===0)return B+"[]";for(var l=0;l<O.length;++l){var p=O[l],Q=typeof p=="object"&&p&&typeof p.value<"u"?p.value:Y[p];if(!(a&&Q===null)){var D=y&&f?String(p).replace(/\./g,"%2E"):String(p),_=Co(Y)?typeof n=="function"?n(B,D):B:B+(y?"."+D:"["+D+"]");P.set(t,X);var d=$L();d.set(pS,P),e3(oe,e(Q,_,n,i,s,o,a,f,n==="comma"&&L&&Co(Y)?null:u,c,h,y,b,S,v,L,U,d))}}return oe},Pde=function(t){if(!t)return Mr;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||Mr.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=og.default;if(typeof t.format<"u"){if(!xde.call(og.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var i=og.formatters[n],s=Mr.filter;(typeof t.filter=="function"||Co(t.filter))&&(s=t.filter);var o;if(t.arrayFormat in ZL?o=t.arrayFormat:"indices"in t?o=t.indices?"indices":"repeat":o=Mr.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:Mr.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Mr.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Mr.allowEmptyArrays,arrayFormat:o,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Mr.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?Mr.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Mr.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:Mr.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:Mr.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Mr.encodeValuesOnly,filter:s,format:n,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Mr.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Mr.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Mr.strictNullHandling}};t3.exports=function(e,t){var r=e,n=Pde(t),i,s;typeof n.filter=="function"?(s=n.filter,r=s("",r)):Co(n.filter)&&(s=n.filter,i=s);var o=[];if(typeof r!="object"||r===null)return"";var a=ZL[n.arrayFormat],f=a==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var u=$L(),c=0;c<i.length;++c){var h=i[c],y=r[h];n.skipNulls&&y===null||e3(o,Lde(y,h,a,f,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,u))}var b=o.join(n.delimiter),S=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?S+="utf8=%26%2310003%3B&":S+="utf8=%E2%9C%93&"),b.length>0?S+b:""}});var s3=x((TPe,i3)=>{"use strict";var _o=gS(),FE=Object.prototype.hasOwnProperty,yS=Array.isArray,Ar={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:_o.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},Ode=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},n3=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},Hde="utf8=%26%2310003%3B",qde="utf8=%E2%9C%93",Gde=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,f,u=r.charset;if(r.charsetSentinel)for(f=0;f<o.length;++f)o[f].indexOf("utf8=")===0&&(o[f]===qde?u="utf-8":o[f]===Hde&&(u="iso-8859-1"),a=f,f=o.length);for(f=0;f<o.length;++f)if(f!==a){var c=o[f],h=c.indexOf("]="),y=h===-1?c.indexOf("="):h+1,b,S;if(y===-1?(b=r.decoder(c,Ar.decoder,u,"key"),S=r.strictNullHandling?null:""):(b=r.decoder(c.slice(0,y),Ar.decoder,u,"key"),b!==null&&(S=_o.maybeMap(n3(c.slice(y+1),r,yS(n[b])?n[b].length:0),function(L){return r.decoder(L,Ar.decoder,u,"value")}))),S&&r.interpretNumericEntities&&u==="iso-8859-1"&&(S=Ode(String(S))),c.indexOf("[]=")>-1&&(S=yS(S)?[S]:S),r.comma&&yS(S)&&S.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=_o.combine([],S,r.arrayLimit,r.plainObjects)}if(b!==null){var v=FE.call(n,b);v&&(r.duplicates==="combine"||c.indexOf("[]=")>-1)?n[b]=_o.combine(n[b],S,r.arrayLimit,r.plainObjects):(!v||r.duplicates==="last")&&(n[b]=S)}}return n},Yde=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:n3(t,r,i),a=e.length-1;a>=0;--a){var f,u=e[a];if(u==="[]"&&r.parseArrays)_o.isOverflow(o)?f=o:f=r.allowEmptyArrays&&(o===""||r.strictNullHandling&&o===null)?[]:_o.combine([],o,r.arrayLimit,r.plainObjects);else{f=r.plainObjects?{__proto__:null}:{};var c=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,h=r.decodeDotInKeys?c.replace(/%2E/g,"."):c,y=parseInt(h,10),b=!isNaN(y)&&u!==h&&String(y)===h&&y>=0&&r.parseArrays;if(!r.parseArrays&&h==="")f={0:o};else if(b&&y<r.arrayLimit)f=[],f[y]=o;else{if(b&&r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(r.arrayLimit===1?"":"s")+" allowed in an array.");b?(f[y]=o,_o.markOverflow(f,y)):h!=="__proto__"&&(f[h]=o)}}o=f}return o},Wde=function(t,r){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t;if(r.depth<=0)return!r.plainObjects&&FE.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,f=[];if(a){if(!r.plainObjects&&FE.call(Object.prototype,a)&&!r.allowPrototypes)return;f[f.length]=a}for(var u=0;(o=s.exec(n))!==null&&u<r.depth;){u+=1;var c=o[1].slice(1,-1);if(!r.plainObjects&&FE.call(Object.prototype,c)&&!r.allowPrototypes)return;f[f.length]=o[1]}if(o){if(r.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");f[f.length]="["+n.slice(o.index)+"]"}return f},Vde=function(t,r,n,i){if(t){var s=Wde(t,n);if(s)return Yde(s,r,n,i)}},Jde=function(t){if(!t)return Ar;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"?Ar.charset:t.charset,n=typeof t.duplicates>"u"?Ar.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:Ar.allowDots:!!t.allowDots;return{allowDots:i,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Ar.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Ar.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Ar.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Ar.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Ar.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Ar.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:Ar.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:Ar.decoder,delimiter:typeof t.delimiter=="string"||_o.isRegExp(t.delimiter)?t.delimiter:Ar.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Ar.depth,duplicates:n,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Ar.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Ar.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Ar.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:Ar.strictDepth,strictMerge:typeof t.strictMerge=="boolean"?!!t.strictMerge:Ar.strictMerge,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Ar.strictNullHandling,throwOnLimitExceeded:typeof t.throwOnLimitExceeded=="boolean"?t.throwOnLimitExceeded:!1}};i3.exports=function(e,t){var r=Jde(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?{__proto__:null}:{};for(var n=typeof e=="string"?Gde(e,r):e,i=r.plainObjects?{__proto__:null}:{},s=Object.keys(n),o=0;o<s.length;++o){var a=s[o],f=Vde(a,n[a],r,typeof e=="string");i=_o.merge(i,f,r)}return r.allowSparse===!0?i:_o.compact(i)}});var a3=x((NPe,o3)=>{"use strict";var jde=r3(),zde=s3(),Kde=ME();o3.exports={formats:Kde,parse:zde,stringify:jde}});var A3=x(Sl=>{"use strict";var Xde=B_();function Ni(){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 $de=/^([a-z0-9.+-]+:)/i,Zde=/:[0-9]*$/,ege=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,tge=["<",">",'"',"`"," ","\r",`
`," "],rge=["{","}","|","\\","^","`"].concat(tge),ES=["'"].concat(rge),f3=["%","/","?",";","#"].concat(ES),u3=["/","?","#"],nge=255,c3=/^[+a-z0-9A-Z_-]{0,63}$/,ige=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,sge={javascript:!0,"javascript:":!0},mS={javascript:!0,"javascript:":!0},wl={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},bS=a3();function ag(e,t,r){if(e&&typeof e=="object"&&e instanceof Ni)return e;var n=new Ni;return n.parse(e,t,r),n}Ni.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 f=ege.exec(a);if(f)return this.path=a,this.href=a,this.pathname=f[1],f[2]?(this.search=f[2],t?this.query=bS.parse(this.search.substr(1)):this.query=this.search.substr(1)):t&&(this.search="",this.query={}),this}var u=$de.exec(a);if(u){u=u[0];var c=u.toLowerCase();this.protocol=c,a=a.substr(u.length)}if(r||u||a.match(/^\/\/[^@/]+@[^@/]+/)){var h=a.substr(0,2)==="//";h&&!(u&&mS[u])&&(a=a.substr(2),this.slashes=!0)}if(!mS[u]&&(h||u&&!wl[u])){for(var y=-1,b=0;b<u3.length;b++){var S=a.indexOf(u3[b]);S!==-1&&(y===-1||S<y)&&(y=S)}var v,L;y===-1?L=a.lastIndexOf("@"):L=a.lastIndexOf("@",y),L!==-1&&(v=a.slice(0,L),a=a.slice(L+1),this.auth=decodeURIComponent(v)),y=-1;for(var b=0;b<f3.length;b++){var S=a.indexOf(f3[b]);S!==-1&&(y===-1||S<y)&&(y=S)}y===-1&&(y=a.length),this.host=a.slice(0,y),a=a.slice(y),this.parseHost(),this.hostname=this.hostname||"";var U=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!U)for(var P=this.hostname.split(/\./),b=0,Y=P.length;b<Y;b++){var V=P[b];if(V&&!V.match(c3)){for(var X="",j=0,re=V.length;j<re;j++)V.charCodeAt(j)>127?X+="x":X+=V[j];if(!X.match(c3)){var ie=P.slice(0,b),oe=P.slice(b+1),O=V.match(ige);O&&(ie.push(O[1]),oe.unshift(O[2])),oe.length&&(a="/"+oe.join(".")+a),this.hostname=ie.join(".");break}}}this.hostname.length>nge?this.hostname="":this.hostname=this.hostname.toLowerCase(),U||(this.hostname=Xde.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(!sge[c])for(var b=0,Y=ES.length;b<Y;b++){var B=ES[b];if(a.indexOf(B)!==-1){var l=encodeURIComponent(B);l===B&&(l=escape(B)),a=a.split(B).join(l)}}var p=a.indexOf("#");p!==-1&&(this.hash=a.substr(p),a=a.slice(0,p));var Q=a.indexOf("?");if(Q!==-1?(this.search=a.substr(Q),this.query=a.substr(Q+1),t&&(this.query=bS.parse(this.query)),a=a.slice(0,Q)):t&&(this.search="",this.query={}),a&&(this.pathname=a),wl[c]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var E=this.pathname||"",D=this.search||"";this.path=E+D}return this.href=this.format(),this};function oge(e){return typeof e=="string"&&(e=ag(e)),e instanceof Ni?e.format():Ni.prototype.format.call(e)}Ni.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=bS.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var o=this.search||s&&"?"+s||"";return t&&t.substr(-1)!==":"&&(t+=":"),this.slashes||(!t||wl[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 age(e,t){return ag(e,!1,!0).resolve(t)}Ni.prototype.resolve=function(e){return this.resolveObject(ag(e,!1,!0)).format()};function fge(e,t){return e?ag(e,!1,!0).resolveObject(t):t}Ni.prototype.resolveObject=function(e){if(typeof e=="string"){var t=new Ni;t.parse(e,!1,!0),e=t}for(var r=new Ni,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 f=o[a];f!=="protocol"&&(r[f]=e[f])}return wl[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(!wl[e.protocol]){for(var u=Object.keys(e),c=0;c<u.length;c++){var h=u[c];r[h]=e[h]}return r.href=r.format(),r}if(r.protocol=e.protocol,!e.host&&!mS[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 y=r.pathname||"",b=r.search||"";r.path=y+b}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var S=r.pathname&&r.pathname.charAt(0)==="/",v=e.host||e.pathname&&e.pathname.charAt(0)==="/",L=v||S||r.host&&e.pathname,U=L,P=r.pathname&&r.pathname.split("/")||[],Y=e.pathname&&e.pathname.split("/")||[],V=r.protocol&&!wl[r.protocol];if(V&&(r.hostname="",r.port=null,r.host&&(P[0]===""?P[0]=r.host:P.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),L=L&&(Y[0]===""||P[0]==="")),v)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,P=Y;else if(Y.length)P||(P=[]),P.pop(),P=P.concat(Y),r.search=e.search,r.query=e.query;else if(e.search!=null){if(V){r.host=P.shift(),r.hostname=r.host;var X=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;X&&(r.auth=X.shift(),r.hostname=X.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(!P.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var j=P.slice(-1)[0],re=(r.host||e.host||P.length>1)&&(j==="."||j==="..")||j==="",ie=0,oe=P.length;oe>=0;oe--)j=P[oe],j==="."?P.splice(oe,1):j===".."?(P.splice(oe,1),ie++):ie&&(P.splice(oe,1),ie--);if(!L&&!U)for(;ie--;ie)P.unshift("..");L&&P[0]!==""&&(!P[0]||P[0].charAt(0)!=="/")&&P.unshift(""),re&&P.join("/").substr(-1)!=="/"&&P.push("");var O=P[0]===""||P[0]&&P[0].charAt(0)==="/";if(V){r.hostname=O?"":P.length?P.shift():"",r.host=r.hostname;var X=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;X&&(r.auth=X.shift(),r.hostname=X.shift(),r.host=r.hostname)}return L=L||r.host&&P.length,L&&!O&&P.unshift(""),P.length>0?r.pathname=P.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};Ni.prototype.parseHost=function(){var e=this.host,t=Zde.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};Sl.parse=ag;Sl.resolve=age;Sl.resolveObject=fge;Sl.format=oge;Sl.Url=Ni});var IS=x((xPe,h3)=>{"use strict";var l3=A3();Object.defineProperties(l3,{URL:{configurable:!0,enumerable:!0,get(){return globalThis.URL}},URLSearchParams:{configurable:!0,enumerable:!0,get(){return globalThis.URLSearchParams}}});h3.exports=l3});var fg=x((kPe,d3)=>{"use strict";var uge=_E();d3.exports=function(){return uge()&&!!Symbol.toStringTag}});var y3=x((FPe,p3)=>{"use strict";var cge=fg()(),Age=Io(),BS=Age("Object.prototype.toString"),UE=function(t){return cge&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:BS(t)==="[object Arguments]"},g3=function(t){return UE(t)?!0:t!==null&&typeof t=="object"&&"length"in t&&typeof t.length=="number"&&t.length>=0&&BS(t)!=="[object Array]"&&"callee"in t&&BS(t.callee)==="[object Function]"},lge=(function(){return UE(arguments)})();UE.isLegacyArguments=g3;p3.exports=lge?UE:g3});var C3=x((UPe,B3)=>{"use strict";var E3=Io(),hge=fg()(),dge=oS(),gge=ic(),wS;hge?(m3=E3("RegExp.prototype.exec"),CS={},LE=function(){throw CS},_S={toString:LE,valueOf:LE},typeof Symbol.toPrimitive=="symbol"&&(_S[Symbol.toPrimitive]=LE),wS=function(t){if(!t||typeof t!="object")return!1;var r=gge(t,"lastIndex"),n=r&&dge(r,"value");if(!n)return!1;try{m3(t,_S)}catch(i){return i===CS}}):(b3=E3("Object.prototype.toString"),I3="[object RegExp]",wS=function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:b3(t)===I3});var m3,CS,LE,_S,b3,I3;B3.exports=wS});var w3=x((LPe,_3)=>{"use strict";var pge=Io(),yge=C3(),Ege=pge("RegExp.prototype.exec"),mge=Is();_3.exports=function(t){if(!yge(t))throw new mge("`regex` must be a RegExp");return function(n){return Ege(t,n)!==null}}});var Q3=x((PPe,S3)=>{"use strict";var bge=function*(){}.constructor;S3.exports=()=>bge});var T3=x((OPe,D3)=>{"use strict";var R3=Io(),Ige=w3(),Bge=Ige(/^\s*(?:function)?\*/),Cge=fg()(),v3=vE(),_ge=R3("Object.prototype.toString"),wge=R3("Function.prototype.toString"),Sge=Q3();D3.exports=function(t){if(typeof t!="function")return!1;if(Bge(wge(t)))return!0;if(!Cge){var r=_ge(t);return r==="[object GeneratorFunction]"}if(!v3)return!1;var n=Sge();return n&&v3(t)===n.prototype}});var k3=x((HPe,x3)=>{"use strict";var M3=Function.prototype.toString,Ql=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,QS,PE;if(typeof Ql=="function"&&typeof Object.defineProperty=="function")try{QS=Object.defineProperty({},"length",{get:function(){throw PE}}),PE={},Ql(function(){throw 42},null,QS)}catch(e){e!==PE&&(Ql=null)}else Ql=null;var Qge=/^\s*class\b/,vS=function(t){try{var r=M3.call(t);return Qge.test(r)}catch{return!1}},SS=function(t){try{return vS(t)?!1:(M3.call(t),!0)}catch{return!1}},OE=Object.prototype.toString,vge="[object Object]",Rge="[object Function]",Dge="[object GeneratorFunction]",Tge="[object HTMLAllCollection]",Nge="[object HTML document.all class]",Mge="[object HTMLCollection]",xge=typeof Symbol=="function"&&!!Symbol.toStringTag,kge=!(0 in[,]),RS=function(){return!1};typeof document=="object"&&(N3=document.all,OE.call(N3)===OE.call(document.all)&&(RS=function(t){if((kge||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=OE.call(t);return(r===Tge||r===Nge||r===Mge||r===vge)&&t("")==null}catch{}return!1}));var N3;x3.exports=Ql?function(t){if(RS(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{Ql(t,null,QS)}catch(r){if(r!==PE)return!1}return!vS(t)&&SS(t)}:function(t){if(RS(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(xge)return SS(t);if(vS(t))return!1;var r=OE.call(t);return r!==Rge&&r!==Dge&&!/^\[object HTML/.test(r)?!1:SS(t)}});var L3=x((qPe,U3)=>{"use strict";var Fge=k3(),Uge=Object.prototype.toString,F3=Object.prototype.hasOwnProperty,Lge=function(t,r,n){for(var i=0,s=t.length;i<s;i++)F3.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},Pge=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)},Oge=function(t,r,n){for(var i in t)F3.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))};function Hge(e){return Uge.call(e)==="[object Array]"}U3.exports=function(t,r,n){if(!Fge(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Hge(t)?Lge(t,r,i):typeof t=="string"?Pge(t,r,i):Oge(t,r,i)}});var O3=x((GPe,P3)=>{"use strict";P3.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]});var q3=x((YPe,H3)=>{"use strict";var DS=O3(),qge=globalThis;H3.exports=function(){for(var t=[],r=0;r<DS.length;r++)typeof qge[DS[r]]=="function"&&(t[t.length]=DS[r]);return t}});var TS=x((WPe,W3)=>{"use strict";var G3=Zd(),Gge=tS(),vl=Is(),Y3=ic();W3.exports=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new vl("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new vl("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new vl("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new vl("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new vl("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new vl("`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,f=!!Y3&&Y3(t,r);if(G3)G3(t,r,{configurable:o===null&&f?f.configurable:!o,enumerable:i===null&&f?f.enumerable:!i,value:n,writable:s===null&&f?f.writable:!s});else if(a||!i&&!s&&!o)t[r]=n;else throw new Gge("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var MS=x((VPe,J3)=>{"use strict";var NS=Zd(),V3=function(){return!!NS};V3.hasArrayLengthDefineBug=function(){if(!NS)return null;try{return NS([],"length",{value:1}).length!==1}catch{return!0}};J3.exports=V3});var $3=x((JPe,X3)=>{"use strict";var Yge=Bl(),j3=TS(),Wge=MS()(),z3=ic(),K3=Is(),Vge=Yge("%Math.floor%");X3.exports=function(t,r){if(typeof t!="function")throw new K3("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||Vge(r)!==r)throw new K3("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,s=!0;if("length"in t&&z3){var o=z3(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(s=!1)}return(i||s||!n)&&(Wge?j3(t,"length",r,!0,!0):j3(t,"length",r)),t}});var e6=x((jPe,Z3)=>{"use strict";var Jge=yl(),jge=SE(),zge=iS();Z3.exports=function(){return zge(Jge,jge,arguments)}});var ug=x((zPe,HE)=>{"use strict";var Kge=$3(),t6=Zd(),Xge=QE(),r6=e6();HE.exports=function(t){var r=Xge(arguments),n=1+t.length-(arguments.length-1);return Kge(r,n>0?n:0,!0)};t6?t6(HE.exports,"apply",{value:r6}):HE.exports.apply=r6});var US=x((KPe,o6)=>{"use strict";var YE=L3(),$ge=q3(),n6=ug(),kS=Io(),GE=ic(),qE=vE(),Zge=kS("Object.prototype.toString"),s6=fg()(),i6=globalThis,xS=$ge(),FS=kS("String.prototype.slice"),epe=kS("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},WE={__proto__:null};s6&&GE&&qE?YE(xS,function(e){var t=new i6[e];if(Symbol.toStringTag in t&&qE){var r=qE(t),n=GE(r,Symbol.toStringTag);if(!n&&r){var i=qE(r);n=GE(i,Symbol.toStringTag)}if(n&&n.get){var s=n6(n.get);WE["$"+e]=s}}}):YE(xS,function(e){var t=new i6[e],r=t.slice||t.set;if(r){var n=n6(r);WE["$"+e]=n}});function tpe(e){var t=!1;return YE(WE,function(r,n){if(!t)try{"$"+r(e)===n&&(t=FS(n,1))}catch{}}),t}function rpe(e){var t=!1;return YE(WE,function(r,n){if(!t)try{r(e),t=FS(n,1)}catch{}}),t}function npe(e){return epe(xS,e)>-1}o6.exports=function(t){if(!t||typeof t!="object")return!1;if(!s6){var r=FS(Zge(t),8,-1);return npe(r)?r:r!=="Object"?!1:rpe(t)}return GE?tpe(t):null}});var LS=x((XPe,a6)=>{"use strict";var ipe=US();a6.exports=function(t){return!!ipe(t)}});var I6=x(yt=>{"use strict";var spe=y3(),ope=T3(),Bs=US(),f6=LS();function Rl(e){return e.call.bind(e)}var u6=typeof BigInt<"u",c6=typeof Symbol<"u",Mi=Rl(Object.prototype.toString),ape=Rl(Number.prototype.valueOf),fpe=Rl(String.prototype.valueOf),upe=Rl(Boolean.prototype.valueOf);u6&&(A6=Rl(BigInt.prototype.valueOf));var A6;c6&&(l6=Rl(Symbol.prototype.valueOf));var l6;function Ag(e,t){if(typeof e!="object")return!1;try{return t(e),!0}catch{return!1}}yt.isArgumentsObject=spe;yt.isGeneratorFunction=ope;yt.isTypedArray=f6;function cpe(e){return typeof Promise<"u"&&e instanceof Promise||e!==null&&typeof e=="object"&&typeof e.then=="function"&&typeof e.catch=="function"}yt.isPromise=cpe;function Ape(e){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(e):f6(e)||d6(e)}yt.isArrayBufferView=Ape;function lpe(e){return Bs(e)==="Uint8Array"}yt.isUint8Array=lpe;function hpe(e){return Bs(e)==="Uint8ClampedArray"}yt.isUint8ClampedArray=hpe;function dpe(e){return Bs(e)==="Uint16Array"}yt.isUint16Array=dpe;function gpe(e){return Bs(e)==="Uint32Array"}yt.isUint32Array=gpe;function ppe(e){return Bs(e)==="Int8Array"}yt.isInt8Array=ppe;function ype(e){return Bs(e)==="Int16Array"}yt.isInt16Array=ype;function Epe(e){return Bs(e)==="Int32Array"}yt.isInt32Array=Epe;function mpe(e){return Bs(e)==="Float32Array"}yt.isFloat32Array=mpe;function bpe(e){return Bs(e)==="Float64Array"}yt.isFloat64Array=bpe;function Ipe(e){return Bs(e)==="BigInt64Array"}yt.isBigInt64Array=Ipe;function Bpe(e){return Bs(e)==="BigUint64Array"}yt.isBigUint64Array=Bpe;function VE(e){return Mi(e)==="[object Map]"}VE.working=typeof Map<"u"&&VE(new Map);function Cpe(e){return typeof Map>"u"?!1:VE.working?VE(e):e instanceof Map}yt.isMap=Cpe;function JE(e){return Mi(e)==="[object Set]"}JE.working=typeof Set<"u"&&JE(new Set);function _pe(e){return typeof Set>"u"?!1:JE.working?JE(e):e instanceof Set}yt.isSet=_pe;function jE(e){return Mi(e)==="[object WeakMap]"}jE.working=typeof WeakMap<"u"&&jE(new WeakMap);function wpe(e){return typeof WeakMap>"u"?!1:jE.working?jE(e):e instanceof WeakMap}yt.isWeakMap=wpe;function OS(e){return Mi(e)==="[object WeakSet]"}OS.working=typeof WeakSet<"u"&&OS(new WeakSet);function Spe(e){return OS(e)}yt.isWeakSet=Spe;function zE(e){return Mi(e)==="[object ArrayBuffer]"}zE.working=typeof ArrayBuffer<"u"&&zE(new ArrayBuffer);function h6(e){return typeof ArrayBuffer>"u"?!1:zE.working?zE(e):e instanceof ArrayBuffer}yt.isArrayBuffer=h6;function KE(e){return Mi(e)==="[object DataView]"}KE.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&KE(new DataView(new ArrayBuffer(1),0,1));function d6(e){return typeof DataView>"u"?!1:KE.working?KE(e):e instanceof DataView}yt.isDataView=d6;var PS=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function cg(e){return Mi(e)==="[object SharedArrayBuffer]"}function g6(e){return typeof PS>"u"?!1:(typeof cg.working>"u"&&(cg.working=cg(new PS)),cg.working?cg(e):e instanceof PS)}yt.isSharedArrayBuffer=g6;function Qpe(e){return Mi(e)==="[object AsyncFunction]"}yt.isAsyncFunction=Qpe;function vpe(e){return Mi(e)==="[object Map Iterator]"}yt.isMapIterator=vpe;function Rpe(e){return Mi(e)==="[object Set Iterator]"}yt.isSetIterator=Rpe;function Dpe(e){return Mi(e)==="[object Generator]"}yt.isGeneratorObject=Dpe;function Tpe(e){return Mi(e)==="[object WebAssembly.Module]"}yt.isWebAssemblyCompiledModule=Tpe;function p6(e){return Ag(e,ape)}yt.isNumberObject=p6;function y6(e){return Ag(e,fpe)}yt.isStringObject=y6;function E6(e){return Ag(e,upe)}yt.isBooleanObject=E6;function m6(e){return u6&&Ag(e,A6)}yt.isBigIntObject=m6;function b6(e){return c6&&Ag(e,l6)}yt.isSymbolObject=b6;function Npe(e){return p6(e)||y6(e)||E6(e)||m6(e)||b6(e)}yt.isBoxedPrimitive=Npe;function Mpe(e){return typeof Uint8Array<"u"&&(h6(e)||g6(e))}yt.isAnyArrayBuffer=Mpe;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(yt,e,{enumerable:!1,value:function(){return!1}})})});var C6=x((ZPe,B6)=>{B6.exports=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"}});var at=x((e5e,HS)=>{typeof Object.create=="function"?HS.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:HS.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 yn=x(Et=>{var _6=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},xpe=/%[sdj%]/g;Et.format=function(e){if(!nm(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(Gf(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,s=String(e).replace(xpe,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])rm(o)||!Dl(o)?s+=" "+o:s+=" "+Gf(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 XE={},w6=/^$/;process.env.NODE_DEBUG&&($E=process.env.NODE_DEBUG,$E=$E.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),w6=new RegExp("^"+$E+"$","i"));var $E;Et.debuglog=function(e){if(e=e.toUpperCase(),!XE[e])if(w6.test(e)){var t=process.pid;XE[e]=function(){var r=Et.format.apply(Et,arguments);console.error("%s %d: %s",e,t,r)}}else XE[e]=function(){};return XE[e]};function Gf(e,t){var r={seen:[],stylize:Fpe};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),WS(t)?r.showHidden=t:t&&Et._extend(r,t),uc(r.showHidden)&&(r.showHidden=!1),uc(r.depth)&&(r.depth=2),uc(r.colors)&&(r.colors=!1),uc(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=kpe),em(r,e,r.depth)}Et.inspect=Gf;Gf.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]};Gf.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function kpe(e,t){var r=Gf.styles[t];return r?"\x1B["+Gf.colors[r][0]+"m"+e+"\x1B["+Gf.colors[r][1]+"m":e}function Fpe(e,t){return e}function Upe(e){var t={};return e.forEach(function(r,n){t[r]=!0}),t}function em(e,t,r){if(e.customInspect&&t&&ZE(t.inspect)&&t.inspect!==Et.inspect&&!(t.constructor&&t.constructor.prototype===t)){var n=t.inspect(r,e);return nm(n)||(n=em(e,n,r)),n}var i=Lpe(e,t);if(i)return i;var s=Object.keys(t),o=Upe(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),hg(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return qS(t);if(s.length===0){if(ZE(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(lg(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(tm(t))return e.stylize(Date.prototype.toString.call(t),"date");if(hg(t))return qS(t)}var f="",u=!1,c=["{","}"];if(S6(t)&&(u=!0,c=["[","]"]),ZE(t)){var h=t.name?": "+t.name:"";f=" [Function"+h+"]"}if(lg(t)&&(f=" "+RegExp.prototype.toString.call(t)),tm(t)&&(f=" "+Date.prototype.toUTCString.call(t)),hg(t)&&(f=" "+qS(t)),s.length===0&&(!u||t.length==0))return c[0]+f+c[1];if(r<0)return lg(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var y;return u?y=Ppe(e,t,r,o,s):y=s.map(function(b){return YS(e,t,r,o,b,u)}),e.seen.pop(),Ope(y,f,c)}function Lpe(e,t){if(uc(t))return e.stylize("undefined","undefined");if(nm(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(Q6(t))return e.stylize(""+t,"number");if(WS(t))return e.stylize(""+t,"boolean");if(rm(t))return e.stylize("null","null")}function qS(e){return"["+Error.prototype.toString.call(e)+"]"}function Ppe(e,t,r,n,i){for(var s=[],o=0,a=t.length;o<a;++o)v6(t,String(o))?s.push(YS(e,t,r,n,String(o),!0)):s.push("");return i.forEach(function(f){f.match(/^\d+$/)||s.push(YS(e,t,r,n,f,!0))}),s}function YS(e,t,r,n,i,s){var o,a,f;if(f=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},f.get?f.set?a=e.stylize("[Getter/Setter]","special"):a=e.stylize("[Getter]","special"):f.set&&(a=e.stylize("[Setter]","special")),v6(n,i)||(o="["+i+"]"),a||(e.seen.indexOf(f.value)<0?(rm(r)?a=em(e,f.value,null):a=em(e,f.value,r-1),a.indexOf(`
`)>-1&&(s?a=a.split(`
`).map(function(u){return" "+u}).join(`
`).slice(2):a=`
`+a.split(`
`).map(function(u){return" "+u}).join(`
`))):a=e.stylize("[Circular]","special")),uc(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 Ope(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=I6();function S6(e){return Array.isArray(e)}Et.isArray=S6;function WS(e){return typeof e=="boolean"}Et.isBoolean=WS;function rm(e){return e===null}Et.isNull=rm;function Hpe(e){return e==null}Et.isNullOrUndefined=Hpe;function Q6(e){return typeof e=="number"}Et.isNumber=Q6;function nm(e){return typeof e=="string"}Et.isString=nm;function qpe(e){return typeof e=="symbol"}Et.isSymbol=qpe;function uc(e){return e===void 0}Et.isUndefined=uc;function lg(e){return Dl(e)&&VS(e)==="[object RegExp]"}Et.isRegExp=lg;Et.types.isRegExp=lg;function Dl(e){return typeof e=="object"&&e!==null}Et.isObject=Dl;function tm(e){return Dl(e)&&VS(e)==="[object Date]"}Et.isDate=tm;Et.types.isDate=tm;function hg(e){return Dl(e)&&(VS(e)==="[object Error]"||e instanceof Error)}Et.isError=hg;Et.types.isNativeError=hg;function ZE(e){return typeof e=="function"}Et.isFunction=ZE;function Gpe(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}Et.isPrimitive=Gpe;Et.isBuffer=C6();function VS(e){return Object.prototype.toString.call(e)}function GS(e){return e<10?"0"+e.toString(10):e.toString(10)}var Ype=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Wpe(){var e=new Date,t=[GS(e.getHours()),GS(e.getMinutes()),GS(e.getSeconds())].join(":");return[e.getDate(),Ype[e.getMonth()],t].join(" ")}Et.log=function(){console.log("%s - %s",Wpe(),Et.format.apply(Et,arguments))};Et.inherits=at();Et._extend=function(e,t){if(!t||!Dl(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};function v6(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var fc=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(fc&&t[fc]){var r=t[fc];if(typeof r!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,fc,{value:r,enumerable:!1,writable:!1,configurable:!0}),r}function r(){for(var n,i,s=new Promise(function(f,u){n=f,i=u}),o=[],a=0;a<arguments.length;a++)o.push(arguments[a]);o.push(function(f,u){f?i(f):n(u)});try{t.apply(this,o)}catch(f){i(f)}return s}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),fc&&Object.defineProperty(r,fc,{value:r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(r,_6(t))};Et.promisify.custom=fc;function Vpe(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function Jpe(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(Vpe.bind(null,a,o))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,_6(e)),t}Et.callbackify=Jpe});var D6=x((im,R6)=>{(function(e,t){typeof im=="object"&&typeof R6<"u"?t(im):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.WebStreamsPolyfill={}))})(im,(function(e){"use strict";function t(){}function r(A){return typeof A=="object"&&A!==null||typeof A=="function"}let n=t;function i(A,g){try{Object.defineProperty(A,"name",{value:g,configurable:!0})}catch{}}let s=Promise,o=Promise.prototype.then,a=Promise.reject.bind(s);function f(A){return new s(A)}function u(A){return f(g=>g(A))}function c(A){return a(A)}function h(A,g,N){return o.call(A,g,N)}function y(A,g,N){h(h(A,g,N),void 0,n)}function b(A,g){y(A,g)}function S(A,g){y(A,void 0,g)}function v(A,g,N){return h(A,g,N)}function L(A){h(A,void 0,n)}let U=A=>{if(typeof queueMicrotask=="function")U=queueMicrotask;else{let g=u(void 0);U=N=>h(g,N)}return U(A)};function P(A,g,N){if(typeof A!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(A,g,N)}function Y(A,g,N){try{return u(P(A,g,N))}catch(q){return c(q)}}let V=16384;class X{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(g){let N=this._back,q=N;N._elements.length===V-1&&(q={_elements:[],_next:void 0}),N._elements.push(g),q!==N&&(this._back=q,N._next=q),++this._size}shift(){let g=this._front,N=g,q=this._cursor,z=q+1,ne=g._elements,ae=ne[q];return z===V&&(N=g._next,z=0),--this._size,this._cursor=z,g!==N&&(this._front=N),ne[q]=void 0,ae}forEach(g){let N=this._cursor,q=this._front,z=q._elements;for(;(N!==z.length||q._next!==void 0)&&!(N===z.length&&(q=q._next,z=q._elements,N=0,z.length===0));)g(z[N]),++N}peek(){let g=this._front,N=this._cursor;return g._elements[N]}}let j=Symbol("[[AbortSteps]]"),re=Symbol("[[ErrorSteps]]"),ie=Symbol("[[CancelSteps]]"),oe=Symbol("[[PullSteps]]"),O=Symbol("[[ReleaseSteps]]");function E(A,g){A._ownerReadableStream=g,g._reader=A,g._state==="readable"?p(A):g._state==="closed"?D(A):Q(A,g._storedError)}function R(A,g){let N=A._ownerReadableStream;return ys(N,g)}function B(A){let g=A._ownerReadableStream;g._state==="readable"?_(A,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):d(A,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),g._readableStreamController[O](),g._reader=void 0,A._ownerReadableStream=void 0}function l(A){return new TypeError("Cannot "+A+" a stream using a released reader")}function p(A){A._closedPromise=f((g,N)=>{A._closedPromise_resolve=g,A._closedPromise_reject=N})}function Q(A,g){p(A),_(A,g)}function D(A){p(A),T(A)}function _(A,g){A._closedPromise_reject!==void 0&&(L(A._closedPromise),A._closedPromise_reject(g),A._closedPromise_resolve=void 0,A._closedPromise_reject=void 0)}function d(A,g){Q(A,g)}function T(A){A._closedPromise_resolve!==void 0&&(A._closedPromise_resolve(void 0),A._closedPromise_resolve=void 0,A._closedPromise_reject=void 0)}let M=Number.isFinite||function(A){return typeof A=="number"&&isFinite(A)},C=Math.trunc||function(A){return A<0?Math.ceil(A):Math.floor(A)};function F(A){return typeof A=="object"||typeof A=="function"}function se(A,g){if(A!==void 0&&!F(A))throw new TypeError(`${g} is not an object.`)}function ue(A,g){if(typeof A!="function")throw new TypeError(`${g} is not a function.`)}function Ae(A){return typeof A=="object"&&A!==null||typeof A=="function"}function pe(A,g){if(!Ae(A))throw new TypeError(`${g} is not an object.`)}function he(A,g,N){if(A===void 0)throw new TypeError(`Parameter ${g} is required in '${N}'.`)}function de(A,g,N){if(A===void 0)throw new TypeError(`${g} is required in '${N}'.`)}function Qt(A){return Number(A)}function Ie(A){return A===0?0:A}function _e(A){return Ie(C(A))}function _r(A,g){let q=Number.MAX_SAFE_INTEGER,z=Number(A);if(z=Ie(z),!M(z))throw new TypeError(`${g} is not a finite number`);if(z=_e(z),z<0||z>q)throw new TypeError(`${g} is outside the accepted range of 0 to ${q}, inclusive`);return!M(z)||z===0?0:z}function Se(A,g){if(!Df(A))throw new TypeError(`${g} is not a ReadableStream.`)}function ve(A){return new Te(A)}function eo(A,g){A._reader._readRequests.push(g)}function Ge(A,g,N){let z=A._reader._readRequests.shift();N?z._closeSteps():z._chunkSteps(g)}function Fe(A){return A._reader._readRequests.length}function to(A){let g=A._reader;return!(g===void 0||!De(g))}class Te{constructor(g){if(he(g,1,"ReadableStreamDefaultReader"),Se(g,"First parameter"),Tf(g))throw new TypeError("This stream has already been locked for exclusive reading by another reader");E(this,g),this._readRequests=new X}get closed(){return De(this)?this._closedPromise:c(wi("closed"))}cancel(g=void 0){return De(this)?this._ownerReadableStream===void 0?c(l("cancel")):R(this,g):c(wi("cancel"))}read(){if(!De(this))return c(wi("read"));if(this._ownerReadableStream===void 0)return c(l("read from"));let g,N,q=f((ne,ae)=>{g=ne,N=ae});return hn(this,{_chunkSteps:ne=>g({value:ne,done:!1}),_closeSteps:()=>g({value:void 0,done:!0}),_errorSteps:ne=>N(ne)}),q}releaseLock(){if(!De(this))throw wi("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(A){return!r(A)||!Object.prototype.hasOwnProperty.call(A,"_readRequests")?!1:A instanceof Te}function hn(A,g){let N=A._ownerReadableStream;N._disturbed=!0,N._state==="closed"?g._closeSteps():N._state==="errored"?g._errorSteps(N._storedError):N._readableStreamController[oe](g)}function Re(A){B(A);let g=new TypeError("Reader was released");He(A,g)}function He(A,g){let N=A._readRequests;A._readRequests=new X,N.forEach(q=>{q._errorSteps(g)})}function wi(A){return new TypeError(`ReadableStreamDefaultReader.prototype.${A} can only be used on a ReadableStreamDefaultReader`)}let Ne=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype);class We{constructor(g,N){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=g,this._preventCancel=N}next(){let g=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?v(this._ongoingPromise,g,g):g(),this._ongoingPromise}return(g){let N=()=>this._returnSteps(g);return this._ongoingPromise?v(this._ongoingPromise,N,N):N()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let g=this._reader,N,q,z=f((ae,be)=>{N=ae,q=be});return hn(g,{_chunkSteps:ae=>{this._ongoingPromise=void 0,U(()=>N({value:ae,done:!1}))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,B(g),N({value:void 0,done:!0})},_errorSteps:ae=>{this._ongoingPromise=void 0,this._isFinished=!0,B(g),q(ae)}}),z}_returnSteps(g){if(this._isFinished)return Promise.resolve({value:g,done:!0});this._isFinished=!0;let N=this._reader;if(!this._preventCancel){let q=R(N,g);return B(N),v(q,()=>({value:g,done:!0}))}return B(N),u({value:g,done:!0})}}let k={next(){return w(this)?this._asyncIteratorImpl.next():c(H("next"))},return(A){return w(this)?this._asyncIteratorImpl.return(A):c(H("return"))}};Object.setPrototypeOf(k,Ne);function I(A,g){let N=ve(A),q=new We(N,g),z=Object.create(k);return z._asyncIteratorImpl=q,z}function w(A){if(!r(A)||!Object.prototype.hasOwnProperty.call(A,"_asyncIteratorImpl"))return!1;try{return A._asyncIteratorImpl instanceof We}catch{return!1}}function H(A){return new TypeError(`ReadableStreamAsyncIterator.${A} can only be used on a ReadableSteamAsyncIterator`)}let W=Number.isNaN||function(A){return A!==A};var K,fe,le;function Ee(A){return A.slice()}function St(A,g,N,q,z){new Uint8Array(A).set(new Uint8Array(N,q,z),g)}let ye=A=>(typeof A.transfer=="function"?ye=g=>g.transfer():typeof structuredClone=="function"?ye=g=>structuredClone(g,{transfer:[g]}):ye=g=>g,ye(A)),ge=A=>(typeof A.detached=="boolean"?ge=g=>g.detached:ge=g=>g.byteLength===0,ge(A));function _f(A,g,N){if(A.slice)return A.slice(g,N);let q=N-g,z=new ArrayBuffer(q);return St(z,0,A,g,q),z}function Ve(A,g){let N=A[g];if(N!=null){if(typeof N!="function")throw new TypeError(`${String(g)} is not a function`);return N}}function Ze(A){let g={[Symbol.iterator]:()=>A.iterator},N=(async function*(){return yield*g})(),q=N.next;return{iterator:N,nextMethod:q,done:!1}}let Aa=(le=(K=Symbol.asyncIterator)!==null&&K!==void 0?K:(fe=Symbol.for)===null||fe===void 0?void 0:fe.call(Symbol,"Symbol.asyncIterator"))!==null&&le!==void 0?le:"@@asyncIterator";function Ke(A,g="sync",N){if(N===void 0)if(g==="async"){if(N=Ve(A,Aa),N===void 0){let ne=Ve(A,Symbol.iterator),ae=Ke(A,"sync",ne);return Ze(ae)}}else N=Ve(A,Symbol.iterator);if(N===void 0)throw new TypeError("The object is not iterable");let q=P(N,A,[]);if(!r(q))throw new TypeError("The iterator method must return an object");let z=q.next;return{iterator:q,nextMethod:z,done:!1}}function et(A){let g=P(A.nextMethod,A.iterator,[]);if(!r(g))throw new TypeError("The iterator.next() method must return an object");return g}function Fu(A){return!!A.done}function tt(A){return A.value}function rt(A){return!(typeof A!="number"||W(A)||A<0)}function wf(A){let g=_f(A.buffer,A.byteOffset,A.byteOffset+A.byteLength);return new Uint8Array(g)}function Je(A){let g=A._queue.shift();return A._queueTotalSize-=g.size,A._queueTotalSize<0&&(A._queueTotalSize=0),g.value}function je(A,g,N){if(!rt(N)||N===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");A._queue.push({value:g,size:N}),A._queueTotalSize+=N}function Uu(A){return A._queue.peek().value}function Ue(A){A._queue=new X,A._queueTotalSize=0}function Xe(A){return A===DataView}function Lu(A){return Xe(A.constructor)}function nt(A){return Xe(A)?1:A.BYTES_PER_ELEMENT}class Le{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!ze(this))throw qC("view");return this._view}respond(g){if(!ze(this))throw qC("respond");if(he(g,1,"respond"),g=_r(g,"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");fy(this._associatedReadableByteStreamController,g)}respondWithNewView(g){if(!ze(this))throw qC("respondWithNewView");if(he(g,1,"respondWithNewView"),!ArrayBuffer.isView(g))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(g.buffer))throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");uy(this._associatedReadableByteStreamController,g)}}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 vn{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!Pe(this))throw _d("byobRequest");return HC(this)}get desiredSize(){if(!Pe(this))throw _d("desiredSize");return UM(this)}close(){if(!Pe(this))throw _d("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");let g=this._controlledReadableByteStream._state;if(g!=="readable")throw new TypeError(`The stream (in ${g} state) is not in the readable state and cannot be closed`);ya(this)}enqueue(g){if(!Pe(this))throw _d("enqueue");if(he(g,1,"enqueue"),!ArrayBuffer.isView(g))throw new TypeError("chunk must be an array buffer view");if(g.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(g.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 N=this._controlledReadableByteStream._state;if(N!=="readable")throw new TypeError(`The stream (in ${N} state) is not in the readable state and cannot be enqueued to`);Qf(this,g)}error(g=void 0){if(!Pe(this))throw _d("error");Qi(this,g)}[ie](g){Ot(this),Ue(this);let N=this._cancelAlgorithm(g);return Sf(this),N}[oe](g){let N=this._controlledReadableByteStream;if(this._queueTotalSize>0){FM(this,g);return}let q=this._autoAllocateChunkSize;if(q!==void 0){let z;try{z=new ArrayBuffer(q)}catch(ae){g._errorSteps(ae);return}let ne={buffer:z,bufferByteLength:q,byteOffset:0,byteLength:q,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(ne)}eo(N,g),On(this)}[O](){if(this._pendingPullIntos.length>0){let g=this._pendingPullIntos.peek();g.readerType="none",this._pendingPullIntos=new X,this._pendingPullIntos.push(g)}}}Object.defineProperties(vn.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),i(vn.prototype.close,"close"),i(vn.prototype.enqueue,"enqueue"),i(vn.prototype.error,"error"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(vn.prototype,Symbol.toStringTag,{value:"ReadableByteStreamController",configurable:!0});function Pe(A){return!r(A)||!Object.prototype.hasOwnProperty.call(A,"_controlledReadableByteStream")?!1:A instanceof vn}function ze(A){return!r(A)||!Object.prototype.hasOwnProperty.call(A,"_associatedReadableByteStreamController")?!1:A instanceof Le}function On(A){if(!pa(A))return;if(A._pulling){A._pullAgain=!0;return}A._pulling=!0;let N=A._pullAlgorithm();y(N,()=>(A._pulling=!1,A._pullAgain&&(A._pullAgain=!1,On(A)),null),q=>(Qi(A,q),null))}function Ot(A){ds(A),A._pendingPullIntos=new X}function Ut(A,g){let N=!1;A._state==="closed"&&(N=!0);let q=ro(g);g.readerType==="default"?Ge(A,q,N):nte(A,q,N)}function ro(A){let g=A.bytesFilled,N=A.elementSize;return new A.viewConstructor(A.buffer,A.byteOffset,g/N)}function Si(A,g,N,q){A._queue.push({buffer:g,byteOffset:N,byteLength:q}),A._queueTotalSize+=q}function no(A,g,N,q){let z;try{z=_f(g,N,N+q)}catch(ne){throw Qi(A,ne),ne}Si(A,z,0,q)}function io(A,g){g.bytesFilled>0&&no(A,g.buffer,g.byteOffset,g.bytesFilled),Hn(A)}function so(A,g){let N=Math.min(A._queueTotalSize,g.byteLength-g.bytesFilled),q=g.bytesFilled+N,z=N,ne=!1,ae=q%g.elementSize,be=q-ae;be>=g.minimumFill&&(z=be-g.bytesFilled,ne=!0);let Ye=A._queue;for(;z>0;){let Qe=Ye.peek(),it=Math.min(z,Qe.byteLength),lt=g.byteOffset+g.bytesFilled;St(g.buffer,lt,Qe.buffer,Qe.byteOffset,it),Qe.byteLength===it?Ye.shift():(Qe.byteOffset+=it,Qe.byteLength-=it),A._queueTotalSize-=it,oo(A,it,g),z-=it}return ne}function oo(A,g,N){N.bytesFilled+=g}function ao(A){A._queueTotalSize===0&&A._closeRequested?(Sf(A),Dd(A._controlledReadableByteStream)):On(A)}function ds(A){A._byobRequest!==null&&(A._byobRequest._associatedReadableByteStreamController=void 0,A._byobRequest._view=null,A._byobRequest=null)}function gs(A){for(;A._pendingPullIntos.length>0;){if(A._queueTotalSize===0)return;let g=A._pendingPullIntos.peek();so(A,g)&&(Hn(A),Ut(A._controlledReadableByteStream,g))}}function la(A){let g=A._controlledReadableByteStream._reader;for(;g._readRequests.length>0;){if(A._queueTotalSize===0)return;let N=g._readRequests.shift();FM(A,N)}}function ha(A,g,N,q){let z=A._controlledReadableByteStream,ne=g.constructor,ae=nt(ne),{byteOffset:be,byteLength:Ye}=g,Qe=N*ae,it;try{it=ye(g.buffer)}catch(Ht){q._errorSteps(Ht);return}let lt={buffer:it,bufferByteLength:it.byteLength,byteOffset:be,byteLength:Ye,bytesFilled:0,minimumFill:Qe,elementSize:ae,viewConstructor:ne,readerType:"byob"};if(A._pendingPullIntos.length>0){A._pendingPullIntos.push(lt),OM(z,q);return}if(z._state==="closed"){let Ht=new ne(lt.buffer,lt.byteOffset,0);q._closeSteps(Ht);return}if(A._queueTotalSize>0){if(so(A,lt)){let Ht=ro(lt);ao(A),q._chunkSteps(Ht);return}if(A._closeRequested){let Ht=new TypeError("Insufficient bytes to fill elements in the given buffer");Qi(A,Ht),q._errorSteps(Ht);return}}A._pendingPullIntos.push(lt),OM(z,q),On(A)}function da(A,g){g.readerType==="none"&&Hn(A);let N=A._controlledReadableByteStream;if(GC(N))for(;HM(N)>0;){let q=Hn(A);Ut(N,q)}}function ga(A,g,N){if(oo(A,g,N),N.readerType==="none"){io(A,N),gs(A);return}if(N.bytesFilled<N.minimumFill)return;Hn(A);let q=N.bytesFilled%N.elementSize;if(q>0){let z=N.byteOffset+N.bytesFilled;no(A,N.buffer,z-q,q)}N.bytesFilled-=q,Ut(A._controlledReadableByteStream,N),gs(A)}function fo(A,g){let N=A._pendingPullIntos.peek();ds(A),A._controlledReadableByteStream._state==="closed"?da(A,N):ga(A,g,N),On(A)}function Hn(A){return A._pendingPullIntos.shift()}function pa(A){let g=A._controlledReadableByteStream;return g._state!=="readable"||A._closeRequested||!A._started?!1:!!(to(g)&&Fe(g)>0||GC(g)&&HM(g)>0||UM(A)>0)}function Sf(A){A._pullAlgorithm=void 0,A._cancelAlgorithm=void 0}function ya(A){let g=A._controlledReadableByteStream;if(!(A._closeRequested||g._state!=="readable")){if(A._queueTotalSize>0){A._closeRequested=!0;return}if(A._pendingPullIntos.length>0){let N=A._pendingPullIntos.peek();if(N.bytesFilled%N.elementSize!==0){let q=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Qi(A,q),q}}Sf(A),Dd(g)}}function Qf(A,g){let N=A._controlledReadableByteStream;if(A._closeRequested||N._state!=="readable")return;let{buffer:q,byteOffset:z,byteLength:ne}=g;if(ge(q))throw new TypeError("chunk's buffer is detached and so cannot be enqueued");let ae=ye(q);if(A._pendingPullIntos.length>0){let be=A._pendingPullIntos.peek();if(ge(be.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk");ds(A),be.buffer=ye(be.buffer),be.readerType==="none"&&io(A,be)}if(to(N))if(la(A),Fe(N)===0)Si(A,ae,z,ne);else{A._pendingPullIntos.length>0&&Hn(A);let be=new Uint8Array(ae,z,ne);Ge(N,be,!1)}else GC(N)?(Si(A,ae,z,ne),gs(A)):Si(A,ae,z,ne);On(A)}function Qi(A,g){let N=A._controlledReadableByteStream;N._state==="readable"&&(Ot(A),Ue(A),Sf(A),Ax(N,g))}function FM(A,g){let N=A._queue.shift();A._queueTotalSize-=N.byteLength,ao(A);let q=new Uint8Array(N.buffer,N.byteOffset,N.byteLength);g._chunkSteps(q)}function HC(A){if(A._byobRequest===null&&A._pendingPullIntos.length>0){let g=A._pendingPullIntos.peek(),N=new Uint8Array(g.buffer,g.byteOffset+g.bytesFilled,g.byteLength-g.bytesFilled),q=Object.create(Le.prototype);Zee(q,A,N),A._byobRequest=q}return A._byobRequest}function UM(A){let g=A._controlledReadableByteStream._state;return g==="errored"?null:g==="closed"?0:A._strategyHWM-A._queueTotalSize}function fy(A,g){let N=A._pendingPullIntos.peek();if(A._controlledReadableByteStream._state==="closed"){if(g!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(g===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(N.bytesFilled+g>N.byteLength)throw new RangeError("bytesWritten out of range")}N.buffer=ye(N.buffer),fo(A,g)}function uy(A,g){let N=A._pendingPullIntos.peek();if(A._controlledReadableByteStream._state==="closed"){if(g.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(g.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(N.byteOffset+N.bytesFilled!==g.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(N.bufferByteLength!==g.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(N.bytesFilled+g.byteLength>N.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");let z=g.byteLength;N.buffer=ye(g.buffer),fo(A,z)}function LM(A,g,N,q,z,ne,ae){g._controlledReadableByteStream=A,g._pullAgain=!1,g._pulling=!1,g._byobRequest=null,g._queue=g._queueTotalSize=void 0,Ue(g),g._closeRequested=!1,g._started=!1,g._strategyHWM=ne,g._pullAlgorithm=q,g._cancelAlgorithm=z,g._autoAllocateChunkSize=ae,g._pendingPullIntos=new X,A._readableStreamController=g;let be=N();y(u(be),()=>(g._started=!0,On(g),null),Ye=>(Qi(g,Ye),null))}function $ee(A,g,N){let q=Object.create(vn.prototype),z,ne,ae;g.start!==void 0?z=()=>g.start(q):z=()=>{},g.pull!==void 0?ne=()=>g.pull(q):ne=()=>u(void 0),g.cancel!==void 0?ae=Ye=>g.cancel(Ye):ae=()=>u(void 0);let be=g.autoAllocateChunkSize;if(be===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");LM(A,q,z,ne,ae,N,be)}function Zee(A,g,N){A._associatedReadableByteStreamController=g,A._view=N}function qC(A){return new TypeError(`ReadableStreamBYOBRequest.prototype.${A} can only be used on a ReadableStreamBYOBRequest`)}function _d(A){return new TypeError(`ReadableByteStreamController.prototype.${A} can only be used on a ReadableByteStreamController`)}function ete(A,g){se(A,g);let N=A?.mode;return{mode:N===void 0?void 0:tte(N,`${g} has member 'mode' that`)}}function tte(A,g){if(A=`${A}`,A!=="byob")throw new TypeError(`${g} '${A}' is not a valid enumeration value for ReadableStreamReaderMode`);return A}function rte(A,g){var N;se(A,g);let q=(N=A?.min)!==null&&N!==void 0?N:1;return{min:_r(q,`${g} has member 'min' that`)}}function PM(A){return new vf(A)}function OM(A,g){A._reader._readIntoRequests.push(g)}function nte(A,g,N){let z=A._reader._readIntoRequests.shift();N?z._closeSteps(g):z._chunkSteps(g)}function HM(A){return A._reader._readIntoRequests.length}function GC(A){let g=A._reader;return!(g===void 0||!Pu(g))}class vf{constructor(g){if(he(g,1,"ReadableStreamBYOBReader"),Se(g,"First parameter"),Tf(g))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!Pe(g._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");E(this,g),this._readIntoRequests=new X}get closed(){return Pu(this)?this._closedPromise:c(cy("closed"))}cancel(g=void 0){return Pu(this)?this._ownerReadableStream===void 0?c(l("cancel")):R(this,g):c(cy("cancel"))}read(g,N={}){if(!Pu(this))return c(cy("read"));if(!ArrayBuffer.isView(g))return c(new TypeError("view must be an array buffer view"));if(g.byteLength===0)return c(new TypeError("view must have non-zero byteLength"));if(g.buffer.byteLength===0)return c(new TypeError("view's buffer must have non-zero byteLength"));if(ge(g.buffer))return c(new TypeError("view's buffer has been detached"));let q;try{q=rte(N,"options")}catch(Qe){return c(Qe)}let z=q.min;if(z===0)return c(new TypeError("options.min must be greater than 0"));if(Lu(g)){if(z>g.byteLength)return c(new RangeError("options.min must be less than or equal to view's byteLength"))}else if(z>g.length)return c(new RangeError("options.min must be less than or equal to view's length"));if(this._ownerReadableStream===void 0)return c(l("read from"));let ne,ae,be=f((Qe,it)=>{ne=Qe,ae=it});return qM(this,g,z,{_chunkSteps:Qe=>ne({value:Qe,done:!1}),_closeSteps:Qe=>ne({value:Qe,done:!0}),_errorSteps:Qe=>ae(Qe)}),be}releaseLock(){if(!Pu(this))throw cy("releaseLock");this._ownerReadableStream!==void 0&&ite(this)}}Object.defineProperties(vf.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),i(vf.prototype.cancel,"cancel"),i(vf.prototype.read,"read"),i(vf.prototype.releaseLock,"releaseLock"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(vf.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});function Pu(A){return!r(A)||!Object.prototype.hasOwnProperty.call(A,"_readIntoRequests")?!1:A instanceof vf}function qM(A,g,N,q){let z=A._ownerReadableStream;z._disturbed=!0,z._state==="errored"?q._errorSteps(z._storedError):ha(z._readableStreamController,g,N,q)}function ite(A){B(A);let g=new TypeError("Reader was released");GM(A,g)}function GM(A,g){let N=A._readIntoRequests;A._readIntoRequests=new X,N.forEach(q=>{q._errorSteps(g)})}function cy(A){return new TypeError(`ReadableStreamBYOBReader.prototype.${A} can only be used on a ReadableStreamBYOBReader`)}function wd(A,g){let{highWaterMark:N}=A;if(N===void 0)return g;if(W(N)||N<0)throw new RangeError("Invalid highWaterMark");return N}function Ay(A){let{size:g}=A;return g||(()=>1)}function ly(A,g){se(A,g);let N=A?.highWaterMark,q=A?.size;return{highWaterMark:N===void 0?void 0:Qt(N),size:q===void 0?void 0:ste(q,`${g} has member 'size' that`)}}function ste(A,g){return ue(A,g),N=>Qt(A(N))}function ote(A,g){se(A,g);let N=A?.abort,q=A?.close,z=A?.start,ne=A?.type,ae=A?.write;return{abort:N===void 0?void 0:ate(N,A,`${g} has member 'abort' that`),close:q===void 0?void 0:fte(q,A,`${g} has member 'close' that`),start:z===void 0?void 0:ute(z,A,`${g} has member 'start' that`),write:ae===void 0?void 0:cte(ae,A,`${g} has member 'write' that`),type:ne}}function ate(A,g,N){return ue(A,N),q=>Y(A,g,[q])}function fte(A,g,N){return ue(A,N),()=>Y(A,g,[])}function ute(A,g,N){return ue(A,N),q=>P(A,g,[q])}function cte(A,g,N){return ue(A,N),(q,z)=>Y(A,g,[q,z])}function YM(A,g){if(!OA(A))throw new TypeError(`${g} is not a WritableStream.`)}function Ate(A){if(typeof A!="object"||A===null)return!1;try{return typeof A.aborted=="boolean"}catch{return!1}}let lte=typeof AbortController=="function";function hte(){if(lte)return new AbortController}class Rf{constructor(g={},N={}){g===void 0?g=null:pe(g,"First parameter");let q=ly(N,"Second parameter"),z=ote(g,"First parameter");if(VM(this),z.type!==void 0)throw new RangeError("Invalid type is specified");let ae=Ay(q),be=wd(q,1);Qte(this,z,be,ae)}get locked(){if(!OA(this))throw yy("locked");return HA(this)}abort(g=void 0){return OA(this)?HA(this)?c(new TypeError("Cannot abort a stream that already has a writer")):hy(this,g):c(yy("abort"))}close(){return OA(this)?HA(this)?c(new TypeError("Cannot close a stream that already has a writer")):uo(this)?c(new TypeError("Cannot close an already-closing stream")):JM(this):c(yy("close"))}getWriter(){if(!OA(this))throw yy("getWriter");return WM(this)}}Object.defineProperties(Rf.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),i(Rf.prototype.abort,"abort"),i(Rf.prototype.close,"close"),i(Rf.prototype.getWriter,"getWriter"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Rf.prototype,Symbol.toStringTag,{value:"WritableStream",configurable:!0});function WM(A){return new Ea(A)}function dte(A,g,N,q,z=1,ne=()=>1){let ae=Object.create(Rf.prototype);VM(ae);let be=Object.create(qA.prototype);return ZM(ae,be,A,g,N,q,z,ne),ae}function VM(A){A._state="writable",A._storedError=void 0,A._writer=void 0,A._writableStreamController=void 0,A._writeRequests=new X,A._inFlightWriteRequest=void 0,A._closeRequest=void 0,A._inFlightCloseRequest=void 0,A._pendingAbortRequest=void 0,A._backpressure=!1}function OA(A){return!r(A)||!Object.prototype.hasOwnProperty.call(A,"_writableStreamController")?!1:A instanceof Rf}function HA(A){return A._writer!==void 0}function hy(A,g){var N;if(A._state==="closed"||A._state==="errored")return u(void 0);A._writableStreamController._abortReason=g,(N=A._writableStreamController._abortController)===null||N===void 0||N.abort(g);let q=A._state;if(q==="closed"||q==="errored")return u(void 0);if(A._pendingAbortRequest!==void 0)return A._pendingAbortRequest._promise;let z=!1;q==="erroring"&&(z=!0,g=void 0);let ne=f((ae,be)=>{A._pendingAbortRequest={_promise:void 0,_resolve:ae,_reject:be,_reason:g,_wasAlreadyErroring:z}});return A._pendingAbortRequest._promise=ne,z||WC(A,g),ne}function JM(A){let g=A._state;if(g==="closed"||g==="errored")return c(new TypeError(`The stream (in ${g} state) is not in the writable state and cannot be closed`));let N=f((z,ne)=>{let ae={_resolve:z,_reject:ne};A._closeRequest=ae}),q=A._writer;return q!==void 0&&A._backpressure&&g==="writable"&&ZC(q),vte(A._writableStreamController),N}function gte(A){return f((N,q)=>{let z={_resolve:N,_reject:q};A._writeRequests.push(z)})}function YC(A,g){if(A._state==="writable"){WC(A,g);return}VC(A)}function WC(A,g){let N=A._writableStreamController;A._state="erroring",A._storedError=g;let q=A._writer;q!==void 0&&zM(q,g),!bte(A)&&N._started&&VC(A)}function VC(A){A._state="errored",A._writableStreamController[re]();let g=A._storedError;if(A._writeRequests.forEach(z=>{z._reject(g)}),A._writeRequests=new X,A._pendingAbortRequest===void 0){dy(A);return}let N=A._pendingAbortRequest;if(A._pendingAbortRequest=void 0,N._wasAlreadyErroring){N._reject(g),dy(A);return}let q=A._writableStreamController[j](N._reason);y(q,()=>(N._resolve(),dy(A),null),z=>(N._reject(z),dy(A),null))}function pte(A){A._inFlightWriteRequest._resolve(void 0),A._inFlightWriteRequest=void 0}function yte(A,g){A._inFlightWriteRequest._reject(g),A._inFlightWriteRequest=void 0,YC(A,g)}function Ete(A){A._inFlightCloseRequest._resolve(void 0),A._inFlightCloseRequest=void 0,A._state==="erroring"&&(A._storedError=void 0,A._pendingAbortRequest!==void 0&&(A._pendingAbortRequest._resolve(),A._pendingAbortRequest=void 0)),A._state="closed";let N=A._writer;N!==void 0&&nx(N)}function mte(A,g){A._inFlightCloseRequest._reject(g),A._inFlightCloseRequest=void 0,A._pendingAbortRequest!==void 0&&(A._pendingAbortRequest._reject(g),A._pendingAbortRequest=void 0),YC(A,g)}function uo(A){return!(A._closeRequest===void 0&&A._inFlightCloseRequest===void 0)}function bte(A){return!(A._inFlightWriteRequest===void 0&&A._inFlightCloseRequest===void 0)}function Ite(A){A._inFlightCloseRequest=A._closeRequest,A._closeRequest=void 0}function Bte(A){A._inFlightWriteRequest=A._writeRequests.shift()}function dy(A){A._closeRequest!==void 0&&(A._closeRequest._reject(A._storedError),A._closeRequest=void 0);let g=A._writer;g!==void 0&&XC(g,A._storedError)}function JC(A,g){let N=A._writer;N!==void 0&&g!==A._backpressure&&(g?kte(N):ZC(N)),A._backpressure=g}class Ea{constructor(g){if(he(g,1,"WritableStreamDefaultWriter"),YM(g,"First parameter"),HA(g))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=g,g._writer=this;let N=g._state;if(N==="writable")!uo(g)&&g._backpressure?my(this):ix(this),Ey(this);else if(N==="erroring")$C(this,g._storedError),Ey(this);else if(N==="closed")ix(this),Mte(this);else{let q=g._storedError;$C(this,q),rx(this,q)}}get closed(){return Ou(this)?this._closedPromise:c(Hu("closed"))}get desiredSize(){if(!Ou(this))throw Hu("desiredSize");if(this._ownerWritableStream===void 0)throw Qd("desiredSize");return Ste(this)}get ready(){return Ou(this)?this._readyPromise:c(Hu("ready"))}abort(g=void 0){return Ou(this)?this._ownerWritableStream===void 0?c(Qd("abort")):Cte(this,g):c(Hu("abort"))}close(){if(!Ou(this))return c(Hu("close"));let g=this._ownerWritableStream;return g===void 0?c(Qd("close")):uo(g)?c(new TypeError("Cannot close an already-closing stream")):jM(this)}releaseLock(){if(!Ou(this))throw Hu("releaseLock");this._ownerWritableStream!==void 0&&KM(this)}write(g=void 0){return Ou(this)?this._ownerWritableStream===void 0?c(Qd("write to")):XM(this,g):c(Hu("write"))}}Object.defineProperties(Ea.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),i(Ea.prototype.abort,"abort"),i(Ea.prototype.close,"close"),i(Ea.prototype.releaseLock,"releaseLock"),i(Ea.prototype.write,"write"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Ea.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});function Ou(A){return!r(A)||!Object.prototype.hasOwnProperty.call(A,"_ownerWritableStream")?!1:A instanceof Ea}function Cte(A,g){let N=A._ownerWritableStream;return hy(N,g)}function jM(A){let g=A._ownerWritableStream;return JM(g)}function _te(A){let g=A._ownerWritableStream,N=g._state;return uo(g)||N==="closed"?u(void 0):N==="errored"?c(g._storedError):jM(A)}function wte(A,g){A._closedPromiseState==="pending"?XC(A,g):xte(A,g)}function zM(A,g){A._readyPromiseState==="pending"?sx(A,g):Fte(A,g)}function Ste(A){let g=A._ownerWritableStream,N=g._state;return N==="errored"||N==="erroring"?null:N==="closed"?0:ex(g._writableStreamController)}function KM(A){let g=A._ownerWritableStream,N=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");zM(A,N),wte(A,N),g._writer=void 0,A._ownerWritableStream=void 0}function XM(A,g){let N=A._ownerWritableStream,q=N._writableStreamController,z=Rte(q,g);if(N!==A._ownerWritableStream)return c(Qd("write to"));let ne=N._state;if(ne==="errored")return c(N._storedError);if(uo(N)||ne==="closed")return c(new TypeError("The stream is closing or closed and cannot be written to"));if(ne==="erroring")return c(N._storedError);let ae=gte(N);return Dte(q,g,z),ae}let $M={};class qA{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!jC(this))throw KC("abortReason");return this._abortReason}get signal(){if(!jC(this))throw KC("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(g=void 0){if(!jC(this))throw KC("error");this._controlledWritableStream._state==="writable"&&tx(this,g)}[j](g){let N=this._abortAlgorithm(g);return gy(this),N}[re](){Ue(this)}}Object.defineProperties(qA.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(qA.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});function jC(A){return!r(A)||!Object.prototype.hasOwnProperty.call(A,"_controlledWritableStream")?!1:A instanceof qA}function ZM(A,g,N,q,z,ne,ae,be){g._controlledWritableStream=A,A._writableStreamController=g,g._queue=void 0,g._queueTotalSize=void 0,Ue(g),g._abortReason=void 0,g._abortController=hte(),g._started=!1,g._strategySizeAlgorithm=be,g._strategyHWM=ae,g._writeAlgorithm=q,g._closeAlgorithm=z,g._abortAlgorithm=ne;let Ye=zC(g);JC(A,Ye);let Qe=N(),it=u(Qe);y(it,()=>(g._started=!0,py(g),null),lt=>(g._started=!0,YC(A,lt),null))}function Qte(A,g,N,q){let z=Object.create(qA.prototype),ne,ae,be,Ye;g.start!==void 0?ne=()=>g.start(z):ne=()=>{},g.write!==void 0?ae=Qe=>g.write(Qe,z):ae=()=>u(void 0),g.close!==void 0?be=()=>g.close():be=()=>u(void 0),g.abort!==void 0?Ye=Qe=>g.abort(Qe):Ye=()=>u(void 0),ZM(A,z,ne,ae,be,Ye,N,q)}function gy(A){A._writeAlgorithm=void 0,A._closeAlgorithm=void 0,A._abortAlgorithm=void 0,A._strategySizeAlgorithm=void 0}function vte(A){je(A,$M,0),py(A)}function Rte(A,g){try{return A._strategySizeAlgorithm(g)}catch(N){return Sd(A,N),1}}function ex(A){return A._strategyHWM-A._queueTotalSize}function Dte(A,g,N){try{je(A,g,N)}catch(z){Sd(A,z);return}let q=A._controlledWritableStream;if(!uo(q)&&q._state==="writable"){let z=zC(A);JC(q,z)}py(A)}function py(A){let g=A._controlledWritableStream;if(!A._started||g._inFlightWriteRequest!==void 0)return;if(g._state==="erroring"){VC(g);return}if(A._queue.length===0)return;let q=Uu(A);q===$M?Tte(A):Nte(A,q)}function Sd(A,g){A._controlledWritableStream._state==="writable"&&tx(A,g)}function Tte(A){let g=A._controlledWritableStream;Ite(g),Je(A);let N=A._closeAlgorithm();gy(A),y(N,()=>(Ete(g),null),q=>(mte(g,q),null))}function Nte(A,g){let N=A._controlledWritableStream;Bte(N);let q=A._writeAlgorithm(g);y(q,()=>{pte(N);let z=N._state;if(Je(A),!uo(N)&&z==="writable"){let ne=zC(A);JC(N,ne)}return py(A),null},z=>(N._state==="writable"&&gy(A),yte(N,z),null))}function zC(A){return ex(A)<=0}function tx(A,g){let N=A._controlledWritableStream;gy(A),WC(N,g)}function yy(A){return new TypeError(`WritableStream.prototype.${A} can only be used on a WritableStream`)}function KC(A){return new TypeError(`WritableStreamDefaultController.prototype.${A} can only be used on a WritableStreamDefaultController`)}function Hu(A){return new TypeError(`WritableStreamDefaultWriter.prototype.${A} can only be used on a WritableStreamDefaultWriter`)}function Qd(A){return new TypeError("Cannot "+A+" a stream using a released writer")}function Ey(A){A._closedPromise=f((g,N)=>{A._closedPromise_resolve=g,A._closedPromise_reject=N,A._closedPromiseState="pending"})}function rx(A,g){Ey(A),XC(A,g)}function Mte(A){Ey(A),nx(A)}function XC(A,g){A._closedPromise_reject!==void 0&&(L(A._closedPromise),A._closedPromise_reject(g),A._closedPromise_resolve=void 0,A._closedPromise_reject=void 0,A._closedPromiseState="rejected")}function xte(A,g){rx(A,g)}function nx(A){A._closedPromise_resolve!==void 0&&(A._closedPromise_resolve(void 0),A._closedPromise_resolve=void 0,A._closedPromise_reject=void 0,A._closedPromiseState="resolved")}function my(A){A._readyPromise=f((g,N)=>{A._readyPromise_resolve=g,A._readyPromise_reject=N}),A._readyPromiseState="pending"}function $C(A,g){my(A),sx(A,g)}function ix(A){my(A),ZC(A)}function sx(A,g){A._readyPromise_reject!==void 0&&(L(A._readyPromise),A._readyPromise_reject(g),A._readyPromise_resolve=void 0,A._readyPromise_reject=void 0,A._readyPromiseState="rejected")}function kte(A){my(A)}function Fte(A,g){$C(A,g)}function ZC(A){A._readyPromise_resolve!==void 0&&(A._readyPromise_resolve(void 0),A._readyPromise_resolve=void 0,A._readyPromise_reject=void 0,A._readyPromiseState="fulfilled")}function Ute(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof globalThis<"u")return globalThis}let e_=Ute();function Lte(A){if(!(typeof A=="function"||typeof A=="object")||A.name!=="DOMException")return!1;try{return new A,!0}catch{return!1}}function Pte(){let A=e_?.DOMException;return Lte(A)?A:void 0}function Ote(){let A=function(N,q){this.message=N||"",this.name=q||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return i(A,"DOMException"),A.prototype=Object.create(Error.prototype),Object.defineProperty(A.prototype,"constructor",{value:A,writable:!0,configurable:!0}),A}let Hte=Pte()||Ote();function ox(A,g,N,q,z,ne){let ae=ve(A),be=WM(g);A._disturbed=!0;let Ye=!1,Qe=u(void 0);return f((it,lt)=>{let Ht;if(ne!==void 0){if(Ht=()=>{let Me=ne.reason!==void 0?ne.reason:new Hte("Aborted","AbortError"),bt=[];q||bt.push(()=>g._state==="writable"?hy(g,Me):u(void 0)),z||bt.push(()=>A._state==="readable"?ys(A,Me):u(void 0)),qn(()=>Promise.all(bt.map(Vt=>Vt())),!0,Me)},ne.aborted){Ht();return}ne.addEventListener("abort",Ht)}function Es(){return f((Me,bt)=>{function Vt(ai){ai?Me():h(VA(),Vt,bt)}Vt(!1)})}function VA(){return Ye?u(!0):h(be._readyPromise,()=>f((Me,bt)=>{hn(ae,{_chunkSteps:Vt=>{Qe=h(XM(be,Vt),void 0,t),Me(!1)},_closeSteps:()=>Me(!0),_errorSteps:bt})}))}if(ba(A,ae._closedPromise,Me=>(q?vi(!0,Me):qn(()=>hy(g,Me),!0,Me),null)),ba(g,be._closedPromise,Me=>(z?vi(!0,Me):qn(()=>ys(A,Me),!0,Me),null)),Rn(A,ae._closedPromise,()=>(N?vi():qn(()=>_te(be)),null)),uo(g)||g._state==="closed"){let Me=new TypeError("the destination writable stream closed before all data could be piped to it");z?vi(!0,Me):qn(()=>ys(A,Me),!0,Me)}L(Es());function Mf(){let Me=Qe;return h(Qe,()=>Me!==Qe?Mf():void 0)}function ba(Me,bt,Vt){Me._state==="errored"?Vt(Me._storedError):S(bt,Vt)}function Rn(Me,bt,Vt){Me._state==="closed"?Vt():b(bt,Vt)}function qn(Me,bt,Vt){if(Ye)return;Ye=!0,g._state==="writable"&&!uo(g)?b(Mf(),ai):ai();function ai(){return y(Me(),()=>Ia(bt,Vt),JA=>Ia(!0,JA)),null}}function vi(Me,bt){Ye||(Ye=!0,g._state==="writable"&&!uo(g)?b(Mf(),()=>Ia(Me,bt)):Ia(Me,bt))}function Ia(Me,bt){return KM(be),B(ae),ne!==void 0&&ne.removeEventListener("abort",Ht),Me?lt(bt):it(void 0),null}})}class ma{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!by(this))throw By("desiredSize");return t_(this)}close(){if(!by(this))throw By("close");if(!YA(this))throw new TypeError("The stream is not in a state that permits close");qu(this)}enqueue(g=void 0){if(!by(this))throw By("enqueue");if(!YA(this))throw new TypeError("The stream is not in a state that permits enqueue");return GA(this,g)}error(g=void 0){if(!by(this))throw By("error");ps(this,g)}[ie](g){Ue(this);let N=this._cancelAlgorithm(g);return Iy(this),N}[oe](g){let N=this._controlledReadableStream;if(this._queue.length>0){let q=Je(this);this._closeRequested&&this._queue.length===0?(Iy(this),Dd(N)):vd(this),g._chunkSteps(q)}else eo(N,g),vd(this)}[O](){}}Object.defineProperties(ma.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),i(ma.prototype.close,"close"),i(ma.prototype.enqueue,"enqueue"),i(ma.prototype.error,"error"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(ma.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});function by(A){return!r(A)||!Object.prototype.hasOwnProperty.call(A,"_controlledReadableStream")?!1:A instanceof ma}function vd(A){if(!ax(A))return;if(A._pulling){A._pullAgain=!0;return}A._pulling=!0;let N=A._pullAlgorithm();y(N,()=>(A._pulling=!1,A._pullAgain&&(A._pullAgain=!1,vd(A)),null),q=>(ps(A,q),null))}function ax(A){let g=A._controlledReadableStream;return!YA(A)||!A._started?!1:!!(Tf(g)&&Fe(g)>0||t_(A)>0)}function Iy(A){A._pullAlgorithm=void 0,A._cancelAlgorithm=void 0,A._strategySizeAlgorithm=void 0}function qu(A){if(!YA(A))return;let g=A._controlledReadableStream;A._closeRequested=!0,A._queue.length===0&&(Iy(A),Dd(g))}function GA(A,g){if(!YA(A))return;let N=A._controlledReadableStream;if(Tf(N)&&Fe(N)>0)Ge(N,g,!1);else{let q;try{q=A._strategySizeAlgorithm(g)}catch(z){throw ps(A,z),z}try{je(A,g,q)}catch(z){throw ps(A,z),z}}vd(A)}function ps(A,g){let N=A._controlledReadableStream;N._state==="readable"&&(Ue(A),Iy(A),Ax(N,g))}function t_(A){let g=A._controlledReadableStream._state;return g==="errored"?null:g==="closed"?0:A._strategyHWM-A._queueTotalSize}function qte(A){return!ax(A)}function YA(A){let g=A._controlledReadableStream._state;return!A._closeRequested&&g==="readable"}function fx(A,g,N,q,z,ne,ae){g._controlledReadableStream=A,g._queue=void 0,g._queueTotalSize=void 0,Ue(g),g._started=!1,g._closeRequested=!1,g._pullAgain=!1,g._pulling=!1,g._strategySizeAlgorithm=ae,g._strategyHWM=ne,g._pullAlgorithm=q,g._cancelAlgorithm=z,A._readableStreamController=g;let be=N();y(u(be),()=>(g._started=!0,vd(g),null),Ye=>(ps(g,Ye),null))}function Gte(A,g,N,q){let z=Object.create(ma.prototype),ne,ae,be;g.start!==void 0?ne=()=>g.start(z):ne=()=>{},g.pull!==void 0?ae=()=>g.pull(z):ae=()=>u(void 0),g.cancel!==void 0?be=Ye=>g.cancel(Ye):be=()=>u(void 0),fx(A,z,ne,ae,be,N,q)}function By(A){return new TypeError(`ReadableStreamDefaultController.prototype.${A} can only be used on a ReadableStreamDefaultController`)}function Yte(A,g){return Pe(A._readableStreamController)?Vte(A):Wte(A)}function Wte(A,g){let N=ve(A),q=!1,z=!1,ne=!1,ae=!1,be,Ye,Qe,it,lt,Ht=f(Rn=>{lt=Rn});function Es(){return q?(z=!0,u(void 0)):(q=!0,hn(N,{_chunkSteps:qn=>{U(()=>{z=!1;let vi=qn,Ia=qn;ne||GA(Qe._readableStreamController,vi),ae||GA(it._readableStreamController,Ia),q=!1,z&&Es()})},_closeSteps:()=>{q=!1,ne||qu(Qe._readableStreamController),ae||qu(it._readableStreamController),(!ne||!ae)&<(void 0)},_errorSteps:()=>{q=!1}}),u(void 0))}function VA(Rn){if(ne=!0,be=Rn,ae){let qn=Ee([be,Ye]),vi=ys(A,qn);lt(vi)}return Ht}function Mf(Rn){if(ae=!0,Ye=Rn,ne){let qn=Ee([be,Ye]),vi=ys(A,qn);lt(vi)}return Ht}function ba(){}return Qe=Rd(ba,Es,VA),it=Rd(ba,Es,Mf),S(N._closedPromise,Rn=>(ps(Qe._readableStreamController,Rn),ps(it._readableStreamController,Rn),(!ne||!ae)&<(void 0),null)),[Qe,it]}function Vte(A){let g=ve(A),N=!1,q=!1,z=!1,ne=!1,ae=!1,be,Ye,Qe,it,lt,Ht=f(Me=>{lt=Me});function Es(Me){S(Me._closedPromise,bt=>(Me!==g||(Qi(Qe._readableStreamController,bt),Qi(it._readableStreamController,bt),(!ne||!ae)&<(void 0)),null))}function VA(){Pu(g)&&(B(g),g=ve(A),Es(g)),hn(g,{_chunkSteps:bt=>{U(()=>{q=!1,z=!1;let Vt=bt,ai=bt;if(!ne&&!ae)try{ai=wf(bt)}catch(JA){Qi(Qe._readableStreamController,JA),Qi(it._readableStreamController,JA),lt(ys(A,JA));return}ne||Qf(Qe._readableStreamController,Vt),ae||Qf(it._readableStreamController,ai),N=!1,q?ba():z&&Rn()})},_closeSteps:()=>{N=!1,ne||ya(Qe._readableStreamController),ae||ya(it._readableStreamController),Qe._readableStreamController._pendingPullIntos.length>0&&fy(Qe._readableStreamController,0),it._readableStreamController._pendingPullIntos.length>0&&fy(it._readableStreamController,0),(!ne||!ae)&<(void 0)},_errorSteps:()=>{N=!1}})}function Mf(Me,bt){De(g)&&(B(g),g=PM(A),Es(g));let Vt=bt?it:Qe,ai=bt?Qe:it;qM(g,Me,1,{_chunkSteps:jA=>{U(()=>{q=!1,z=!1;let zA=bt?ae:ne;if(bt?ne:ae)zA||uy(Vt._readableStreamController,jA);else{let _x;try{_x=wf(jA)}catch(o_){Qi(Vt._readableStreamController,o_),Qi(ai._readableStreamController,o_),lt(ys(A,o_));return}zA||uy(Vt._readableStreamController,jA),Qf(ai._readableStreamController,_x)}N=!1,q?ba():z&&Rn()})},_closeSteps:jA=>{N=!1;let zA=bt?ae:ne,Dy=bt?ne:ae;zA||ya(Vt._readableStreamController),Dy||ya(ai._readableStreamController),jA!==void 0&&(zA||uy(Vt._readableStreamController,jA),!Dy&&ai._readableStreamController._pendingPullIntos.length>0&&fy(ai._readableStreamController,0)),(!zA||!Dy)&<(void 0)},_errorSteps:()=>{N=!1}})}function ba(){if(N)return q=!0,u(void 0);N=!0;let Me=HC(Qe._readableStreamController);return Me===null?VA():Mf(Me._view,!1),u(void 0)}function Rn(){if(N)return z=!0,u(void 0);N=!0;let Me=HC(it._readableStreamController);return Me===null?VA():Mf(Me._view,!0),u(void 0)}function qn(Me){if(ne=!0,be=Me,ae){let bt=Ee([be,Ye]),Vt=ys(A,bt);lt(Vt)}return Ht}function vi(Me){if(ae=!0,Ye=Me,ne){let bt=Ee([be,Ye]),Vt=ys(A,bt);lt(Vt)}return Ht}function Ia(){}return Qe=cx(Ia,ba,qn),it=cx(Ia,Rn,vi),Es(g),[Qe,it]}function Jte(A){return r(A)&&typeof A.getReader<"u"}function jte(A){return Jte(A)?Kte(A.getReader()):zte(A)}function zte(A){let g,N=Ke(A,"async"),q=t;function z(){let ae;try{ae=et(N)}catch(Ye){return c(Ye)}let be=u(ae);return v(be,Ye=>{if(!r(Ye))throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object");if(Fu(Ye))qu(g._readableStreamController);else{let it=tt(Ye);GA(g._readableStreamController,it)}})}function ne(ae){let be=N.iterator,Ye;try{Ye=Ve(be,"return")}catch(lt){return c(lt)}if(Ye===void 0)return u(void 0);let Qe;try{Qe=P(Ye,be,[ae])}catch(lt){return c(lt)}let it=u(Qe);return v(it,lt=>{if(!r(lt))throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object")})}return g=Rd(q,z,ne,0),g}function Kte(A){let g,N=t;function q(){let ne;try{ne=A.read()}catch(ae){return c(ae)}return v(ne,ae=>{if(!r(ae))throw new TypeError("The promise returned by the reader.read() method must fulfill with an object");if(ae.done)qu(g._readableStreamController);else{let be=ae.value;GA(g._readableStreamController,be)}})}function z(ne){try{return u(A.cancel(ne))}catch(ae){return c(ae)}}return g=Rd(N,q,z,0),g}function Xte(A,g){se(A,g);let N=A,q=N?.autoAllocateChunkSize,z=N?.cancel,ne=N?.pull,ae=N?.start,be=N?.type;return{autoAllocateChunkSize:q===void 0?void 0:_r(q,`${g} has member 'autoAllocateChunkSize' that`),cancel:z===void 0?void 0:$te(z,N,`${g} has member 'cancel' that`),pull:ne===void 0?void 0:Zte(ne,N,`${g} has member 'pull' that`),start:ae===void 0?void 0:ere(ae,N,`${g} has member 'start' that`),type:be===void 0?void 0:tre(be,`${g} has member 'type' that`)}}function $te(A,g,N){return ue(A,N),q=>Y(A,g,[q])}function Zte(A,g,N){return ue(A,N),q=>Y(A,g,[q])}function ere(A,g,N){return ue(A,N),q=>P(A,g,[q])}function tre(A,g){if(A=`${A}`,A!=="bytes")throw new TypeError(`${g} '${A}' is not a valid enumeration value for ReadableStreamType`);return A}function rre(A,g){return se(A,g),{preventCancel:!!A?.preventCancel}}function ux(A,g){se(A,g);let N=A?.preventAbort,q=A?.preventCancel,z=A?.preventClose,ne=A?.signal;return ne!==void 0&&nre(ne,`${g} has member 'signal' that`),{preventAbort:!!N,preventCancel:!!q,preventClose:!!z,signal:ne}}function nre(A,g){if(!Ate(A))throw new TypeError(`${g} is not an AbortSignal.`)}function ire(A,g){se(A,g);let N=A?.readable;de(N,"readable","ReadableWritablePair"),Se(N,`${g} has member 'readable' that`);let q=A?.writable;return de(q,"writable","ReadableWritablePair"),YM(q,`${g} has member 'writable' that`),{readable:N,writable:q}}class dn{constructor(g={},N={}){g===void 0?g=null:pe(g,"First parameter");let q=ly(N,"Second parameter"),z=Xte(g,"First parameter");if(r_(this),z.type==="bytes"){if(q.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");let ne=wd(q,0);$ee(this,z,ne)}else{let ne=Ay(q),ae=wd(q,1);Gte(this,z,ae,ne)}}get locked(){if(!Df(this))throw Gu("locked");return Tf(this)}cancel(g=void 0){return Df(this)?Tf(this)?c(new TypeError("Cannot cancel a stream that already has a reader")):ys(this,g):c(Gu("cancel"))}getReader(g=void 0){if(!Df(this))throw Gu("getReader");return ete(g,"First parameter").mode===void 0?ve(this):PM(this)}pipeThrough(g,N={}){if(!Df(this))throw Gu("pipeThrough");he(g,1,"pipeThrough");let q=ire(g,"First parameter"),z=ux(N,"Second parameter");if(Tf(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(HA(q.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");let ne=ox(this,q.writable,z.preventClose,z.preventAbort,z.preventCancel,z.signal);return L(ne),q.readable}pipeTo(g,N={}){if(!Df(this))return c(Gu("pipeTo"));if(g===void 0)return c("Parameter 1 is required in 'pipeTo'.");if(!OA(g))return c(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let q;try{q=ux(N,"Second parameter")}catch(z){return c(z)}return Tf(this)?c(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):HA(g)?c(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):ox(this,g,q.preventClose,q.preventAbort,q.preventCancel,q.signal)}tee(){if(!Df(this))throw Gu("tee");let g=Yte(this);return Ee(g)}values(g=void 0){if(!Df(this))throw Gu("values");let N=rre(g,"First parameter");return I(this,N.preventCancel)}[Aa](g){return this.values(g)}static from(g){return jte(g)}}Object.defineProperties(dn,{from:{enumerable:!0}}),Object.defineProperties(dn.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),i(dn.from,"from"),i(dn.prototype.cancel,"cancel"),i(dn.prototype.getReader,"getReader"),i(dn.prototype.pipeThrough,"pipeThrough"),i(dn.prototype.pipeTo,"pipeTo"),i(dn.prototype.tee,"tee"),i(dn.prototype.values,"values"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(dn.prototype,Symbol.toStringTag,{value:"ReadableStream",configurable:!0}),Object.defineProperty(dn.prototype,Aa,{value:dn.prototype.values,writable:!0,configurable:!0});function Rd(A,g,N,q=1,z=()=>1){let ne=Object.create(dn.prototype);r_(ne);let ae=Object.create(ma.prototype);return fx(ne,ae,A,g,N,q,z),ne}function cx(A,g,N){let q=Object.create(dn.prototype);r_(q);let z=Object.create(vn.prototype);return LM(q,z,A,g,N,0,void 0),q}function r_(A){A._state="readable",A._reader=void 0,A._storedError=void 0,A._disturbed=!1}function Df(A){return!r(A)||!Object.prototype.hasOwnProperty.call(A,"_readableStreamController")?!1:A instanceof dn}function Tf(A){return A._reader!==void 0}function ys(A,g){if(A._disturbed=!0,A._state==="closed")return u(void 0);if(A._state==="errored")return c(A._storedError);Dd(A);let N=A._reader;if(N!==void 0&&Pu(N)){let z=N._readIntoRequests;N._readIntoRequests=new X,z.forEach(ne=>{ne._closeSteps(void 0)})}let q=A._readableStreamController[ie](g);return v(q,t)}function Dd(A){A._state="closed";let g=A._reader;if(g!==void 0&&(T(g),De(g))){let N=g._readRequests;g._readRequests=new X,N.forEach(q=>{q._closeSteps()})}}function Ax(A,g){A._state="errored",A._storedError=g;let N=A._reader;N!==void 0&&(_(N,g),De(N)?He(N,g):GM(N,g))}function Gu(A){return new TypeError(`ReadableStream.prototype.${A} can only be used on a ReadableStream`)}function lx(A,g){se(A,g);let N=A?.highWaterMark;return de(N,"highWaterMark","QueuingStrategyInit"),{highWaterMark:Qt(N)}}let hx=A=>A.byteLength;i(hx,"size");class Cy{constructor(g){he(g,1,"ByteLengthQueuingStrategy"),g=lx(g,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=g.highWaterMark}get highWaterMark(){if(!gx(this))throw dx("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!gx(this))throw dx("size");return hx}}Object.defineProperties(Cy.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Cy.prototype,Symbol.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});function dx(A){return new TypeError(`ByteLengthQueuingStrategy.prototype.${A} can only be used on a ByteLengthQueuingStrategy`)}function gx(A){return!r(A)||!Object.prototype.hasOwnProperty.call(A,"_byteLengthQueuingStrategyHighWaterMark")?!1:A instanceof Cy}let px=()=>1;i(px,"size");class _y{constructor(g){he(g,1,"CountQueuingStrategy"),g=lx(g,"First parameter"),this._countQueuingStrategyHighWaterMark=g.highWaterMark}get highWaterMark(){if(!Ex(this))throw yx("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!Ex(this))throw yx("size");return px}}Object.defineProperties(_y.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(_y.prototype,Symbol.toStringTag,{value:"CountQueuingStrategy",configurable:!0});function yx(A){return new TypeError(`CountQueuingStrategy.prototype.${A} can only be used on a CountQueuingStrategy`)}function Ex(A){return!r(A)||!Object.prototype.hasOwnProperty.call(A,"_countQueuingStrategyHighWaterMark")?!1:A instanceof _y}function sre(A,g){se(A,g);let N=A?.cancel,q=A?.flush,z=A?.readableType,ne=A?.start,ae=A?.transform,be=A?.writableType;return{cancel:N===void 0?void 0:ure(N,A,`${g} has member 'cancel' that`),flush:q===void 0?void 0:ore(q,A,`${g} has member 'flush' that`),readableType:z,start:ne===void 0?void 0:are(ne,A,`${g} has member 'start' that`),transform:ae===void 0?void 0:fre(ae,A,`${g} has member 'transform' that`),writableType:be}}function ore(A,g,N){return ue(A,N),q=>Y(A,g,[q])}function are(A,g,N){return ue(A,N),q=>P(A,g,[q])}function fre(A,g,N){return ue(A,N),(q,z)=>Y(A,g,[q,z])}function ure(A,g,N){return ue(A,N),q=>Y(A,g,[q])}class wy{constructor(g={},N={},q={}){g===void 0&&(g=null);let z=ly(N,"Second parameter"),ne=ly(q,"Third parameter"),ae=sre(g,"First parameter");if(ae.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(ae.writableType!==void 0)throw new RangeError("Invalid writableType specified");let be=wd(ne,0),Ye=Ay(ne),Qe=wd(z,1),it=Ay(z),lt,Ht=f(Es=>{lt=Es});cre(this,Ht,Qe,it,be,Ye),lre(this,ae),ae.start!==void 0?lt(ae.start(this._transformStreamController)):lt(void 0)}get readable(){if(!mx(this))throw Cx("readable");return this._readable}get writable(){if(!mx(this))throw Cx("writable");return this._writable}}Object.defineProperties(wy.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(wy.prototype,Symbol.toStringTag,{value:"TransformStream",configurable:!0});function cre(A,g,N,q,z,ne){function ae(){return g}function be(Ht){return gre(A,Ht)}function Ye(Ht){return pre(A,Ht)}function Qe(){return yre(A)}A._writable=dte(ae,be,Qe,Ye,N,q);function it(){return Ere(A)}function lt(Ht){return mre(A,Ht)}A._readable=Rd(ae,it,lt,z,ne),A._backpressure=void 0,A._backpressureChangePromise=void 0,A._backpressureChangePromise_resolve=void 0,Sy(A,!0),A._transformStreamController=void 0}function mx(A){return!r(A)||!Object.prototype.hasOwnProperty.call(A,"_transformStreamController")?!1:A instanceof wy}function bx(A,g){ps(A._readable._readableStreamController,g),n_(A,g)}function n_(A,g){vy(A._transformStreamController),Sd(A._writable._writableStreamController,g),i_(A)}function i_(A){A._backpressure&&Sy(A,!1)}function Sy(A,g){A._backpressureChangePromise!==void 0&&A._backpressureChangePromise_resolve(),A._backpressureChangePromise=f(N=>{A._backpressureChangePromise_resolve=N}),A._backpressure=g}class Nf{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!Qy(this))throw Ry("desiredSize");let g=this._controlledTransformStream._readable._readableStreamController;return t_(g)}enqueue(g=void 0){if(!Qy(this))throw Ry("enqueue");Ix(this,g)}error(g=void 0){if(!Qy(this))throw Ry("error");hre(this,g)}terminate(){if(!Qy(this))throw Ry("terminate");dre(this)}}Object.defineProperties(Nf.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),i(Nf.prototype.enqueue,"enqueue"),i(Nf.prototype.error,"error"),i(Nf.prototype.terminate,"terminate"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Nf.prototype,Symbol.toStringTag,{value:"TransformStreamDefaultController",configurable:!0});function Qy(A){return!r(A)||!Object.prototype.hasOwnProperty.call(A,"_controlledTransformStream")?!1:A instanceof Nf}function Are(A,g,N,q,z){g._controlledTransformStream=A,A._transformStreamController=g,g._transformAlgorithm=N,g._flushAlgorithm=q,g._cancelAlgorithm=z,g._finishPromise=void 0,g._finishPromise_resolve=void 0,g._finishPromise_reject=void 0}function lre(A,g){let N=Object.create(Nf.prototype),q,z,ne;g.transform!==void 0?q=ae=>g.transform(ae,N):q=ae=>{try{return Ix(N,ae),u(void 0)}catch(be){return c(be)}},g.flush!==void 0?z=()=>g.flush(N):z=()=>u(void 0),g.cancel!==void 0?ne=ae=>g.cancel(ae):ne=()=>u(void 0),Are(A,N,q,z,ne)}function vy(A){A._transformAlgorithm=void 0,A._flushAlgorithm=void 0,A._cancelAlgorithm=void 0}function Ix(A,g){let N=A._controlledTransformStream,q=N._readable._readableStreamController;if(!YA(q))throw new TypeError("Readable side is not in a state that permits enqueue");try{GA(q,g)}catch(ne){throw n_(N,ne),N._readable._storedError}qte(q)!==N._backpressure&&Sy(N,!0)}function hre(A,g){bx(A._controlledTransformStream,g)}function Bx(A,g){let N=A._transformAlgorithm(g);return v(N,void 0,q=>{throw bx(A._controlledTransformStream,q),q})}function dre(A){let g=A._controlledTransformStream,N=g._readable._readableStreamController;qu(N);let q=new TypeError("TransformStream terminated");n_(g,q)}function gre(A,g){let N=A._transformStreamController;if(A._backpressure){let q=A._backpressureChangePromise;return v(q,()=>{let z=A._writable;if(z._state==="erroring")throw z._storedError;return Bx(N,g)})}return Bx(N,g)}function pre(A,g){let N=A._transformStreamController;if(N._finishPromise!==void 0)return N._finishPromise;let q=A._readable;N._finishPromise=f((ne,ae)=>{N._finishPromise_resolve=ne,N._finishPromise_reject=ae});let z=N._cancelAlgorithm(g);return vy(N),y(z,()=>(q._state==="errored"?WA(N,q._storedError):(ps(q._readableStreamController,g),s_(N)),null),ne=>(ps(q._readableStreamController,ne),WA(N,ne),null)),N._finishPromise}function yre(A){let g=A._transformStreamController;if(g._finishPromise!==void 0)return g._finishPromise;let N=A._readable;g._finishPromise=f((z,ne)=>{g._finishPromise_resolve=z,g._finishPromise_reject=ne});let q=g._flushAlgorithm();return vy(g),y(q,()=>(N._state==="errored"?WA(g,N._storedError):(qu(N._readableStreamController),s_(g)),null),z=>(ps(N._readableStreamController,z),WA(g,z),null)),g._finishPromise}function Ere(A){return Sy(A,!1),A._backpressureChangePromise}function mre(A,g){let N=A._transformStreamController;if(N._finishPromise!==void 0)return N._finishPromise;let q=A._writable;N._finishPromise=f((ne,ae)=>{N._finishPromise_resolve=ne,N._finishPromise_reject=ae});let z=N._cancelAlgorithm(g);return vy(N),y(z,()=>(q._state==="errored"?WA(N,q._storedError):(Sd(q._writableStreamController,g),i_(A),s_(N)),null),ne=>(Sd(q._writableStreamController,ne),i_(A),WA(N,ne),null)),N._finishPromise}function Ry(A){return new TypeError(`TransformStreamDefaultController.prototype.${A} can only be used on a TransformStreamDefaultController`)}function s_(A){A._finishPromise_resolve!==void 0&&(A._finishPromise_resolve(),A._finishPromise_resolve=void 0,A._finishPromise_reject=void 0)}function WA(A,g){A._finishPromise_reject!==void 0&&(L(A._finishPromise),A._finishPromise_reject(g),A._finishPromise_resolve=void 0,A._finishPromise_reject=void 0)}function Cx(A){return new TypeError(`TransformStream.prototype.${A} can only be used on a TransformStream`)}e.ByteLengthQueuingStrategy=Cy,e.CountQueuingStrategy=_y,e.ReadableByteStreamController=vn,e.ReadableStream=dn,e.ReadableStreamBYOBReader=vf,e.ReadableStreamBYOBRequest=Le,e.ReadableStreamDefaultController=ma,e.ReadableStreamDefaultReader=Te,e.TransformStream=wy,e.TransformStreamDefaultController=Nf,e.WritableStream=Rf,e.WritableStreamDefaultController=qA,e.WritableStreamDefaultWriter=Ea}))});var XS=x((n5e,x6)=>{"use strict";function Yf(e){"@babel/helpers - typeof";return Yf=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},Yf(e)}function T6(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,zpe(n.key),n)}}function jpe(e,t,r){return t&&T6(e.prototype,t),r&&T6(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function zpe(e){var t=Kpe(e,"string");return Yf(t)==="symbol"?t:String(t)}function Kpe(e,t){if(Yf(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Yf(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Xpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $pe(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&&KS(e,t)}function KS(e,t){return KS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},KS(e,t)}function Zpe(e){var t=r0e();return function(){var n=am(e),i;if(t){var s=am(this).constructor;i=Reflect.construct(n,arguments,s)}else i=n.apply(this,arguments);return e0e(this,i)}}function e0e(e,t){if(t&&(Yf(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return t0e(e)}function t0e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r0e(){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 am(e){return am=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},am(e)}var M6={},Tl,zS;function dg(e,t,r){r||(r=Error);function n(s,o,a){return typeof t=="string"?t:t(s,o,a)}var i=(function(s){$pe(a,s);var o=Zpe(a);function a(f,u,c){var h;return Xpe(this,a),h=o.call(this,n(f,u,c)),h.code=e,h}return jpe(a)})(r);M6[e]=i}function N6(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 n0e(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function i0e(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function s0e(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}dg("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError);dg("ERR_INVALID_ARG_TYPE",function(e,t,r){Tl===void 0&&(Tl=Jt()),Tl(typeof e=="string","'name' must be a string");var n;typeof t=="string"&&n0e(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";var i;if(i0e(e," argument"))i="The ".concat(e," ").concat(n," ").concat(N6(t,"type"));else{var s=s0e(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(s," ").concat(n," ").concat(N6(t,"type"))}return i+=". Received type ".concat(Yf(r)),i},TypeError);dg("ERR_INVALID_ARG_VALUE",function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";zS===void 0&&(zS=yn());var n=zS.inspect(t);return n.length>128&&(n="".concat(n.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(n)},TypeError,RangeError);dg("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(Yf(r)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(n,".")},TypeError);dg("ERR_MISSING_ARGS",function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Tl===void 0&&(Tl=Jt()),Tl(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);x6.exports.codes=M6});var Y6=x((i5e,G6)=>{"use strict";function k6(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 F6(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?k6(Object(r),!0).forEach(function(n){o0e(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k6(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function o0e(e,t,r){return t=O6(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U6(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,O6(n.key),n)}}function f0e(e,t,r){return t&&U6(e.prototype,t),r&&U6(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function O6(e){var t=u0e(e,"string");return Wn(t)==="symbol"?t:String(t)}function u0e(e,t){if(Wn(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Wn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function c0e(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&&Eg(e,t)}function A0e(e){var t=q6();return function(){var n=mg(e),i;if(t){var s=mg(this).constructor;i=Reflect.construct(n,arguments,s)}else i=n.apply(this,arguments);return H6(this,i)}}function H6(e,t){if(t&&(Wn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $S(e)}function $S(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZS(e){var t=typeof Map=="function"?new Map:void 0;return ZS=function(n){if(n===null||!l0e(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 fm(n,arguments,mg(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Eg(i,n)},ZS(e)}function fm(e,t,r){return q6()?fm=Reflect.construct.bind():fm=function(i,s,o){var a=[null];a.push.apply(a,s);var f=Function.bind.apply(i,a),u=new f;return o&&Eg(u,o.prototype),u},fm.apply(null,arguments)}function q6(){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 l0e(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Eg(e,t){return Eg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Eg(e,t)}function mg(e){return mg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},mg(e)}function Wn(e){"@babel/helpers - typeof";return Wn=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},Wn(e)}var h0e=yn(),eQ=h0e.inspect,d0e=XS(),g0e=d0e.codes.ERR_INVALID_ARG_TYPE;function L6(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function p0e(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 Cs="",gg="",pg="",on="",cc={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:"},y0e=10;function P6(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 yg(e){return eQ(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function E0e(e,t,r){var n="",i="",s=0,o="",a=!1,f=yg(e),u=f.split(`
`),c=yg(t).split(`
`),h=0,y="";if(r==="strictEqual"&&Wn(e)==="object"&&Wn(t)==="object"&&e!==null&&t!==null&&(r="strictEqualObject"),u.length===1&&c.length===1&&u[0]!==c[0]){var b=u[0].length+c[0].length;if(b<=y0e){if((Wn(e)!=="object"||e===null)&&(Wn(t)!=="object"||t===null)&&(e!==0||t!==0))return"".concat(cc[r],`
`)+"".concat(u[0]," !== ").concat(c[0],`
`)}else if(r!=="strictEqualObject"){var S=process.stderr&&process.stderr.isTTY?process.stderr.columns:80;if(b<S){for(;u[0][h]===c[0][h];)h++;h>2&&(y=`
`.concat(p0e(" ",h),"^"),h=0)}}}for(var v=u[u.length-1],L=c[c.length-1];v===L&&(h++<2?o=`
`.concat(v).concat(o):n=v,u.pop(),c.pop(),!(u.length===0||c.length===0));)v=u[u.length-1],L=c[c.length-1];var U=Math.max(u.length,c.length);if(U===0){var P=f.split(`
`);if(P.length>30)for(P[26]="".concat(Cs,"...").concat(on);P.length>27;)P.pop();return"".concat(cc.notIdentical,`
`).concat(P.join(`
`),`
`)}h>3&&(o=`
`.concat(Cs,"...").concat(on).concat(o),a=!0),n!==""&&(o=`
`.concat(n).concat(o),n="");var Y=0,V=cc[r]+`
`.concat(gg,"+ actual").concat(on," ").concat(pg,"- expected").concat(on),X=" ".concat(Cs,"...").concat(on," Lines skipped");for(h=0;h<U;h++){var j=h-s;if(u.length<h+1)j>1&&h>2&&(j>4?(i+=`
`.concat(Cs,"...").concat(on),a=!0):j>3&&(i+=`
`.concat(c[h-2]),Y++),i+=`
`.concat(c[h-1]),Y++),s=h,n+=`
`.concat(pg,"-").concat(on," ").concat(c[h]),Y++;else if(c.length<h+1)j>1&&h>2&&(j>4?(i+=`
`.concat(Cs,"...").concat(on),a=!0):j>3&&(i+=`
`.concat(u[h-2]),Y++),i+=`
`.concat(u[h-1]),Y++),s=h,i+=`
`.concat(gg,"+").concat(on," ").concat(u[h]),Y++;else{var re=c[h],ie=u[h],oe=ie!==re&&(!L6(ie,",")||ie.slice(0,-1)!==re);oe&&L6(re,",")&&re.slice(0,-1)===ie&&(oe=!1,ie+=","),oe?(j>1&&h>2&&(j>4?(i+=`
`.concat(Cs,"...").concat(on),a=!0):j>3&&(i+=`
`.concat(u[h-2]),Y++),i+=`
`.concat(u[h-1]),Y++),s=h,i+=`
`.concat(gg,"+").concat(on," ").concat(ie),n+=`
`.concat(pg,"-").concat(on," ").concat(re),Y+=2):(i+=n,n="",(j===1||h===0)&&(i+=`
`.concat(ie),Y++))}if(Y>20&&h<U-2)return"".concat(V).concat(X,`
`).concat(i,`
`).concat(Cs,"...").concat(on).concat(n,`
`)+"".concat(Cs,"...").concat(on)}return"".concat(V).concat(a?X:"",`
`).concat(i).concat(n).concat(o).concat(y)}var m0e=(function(e,t){c0e(n,e);var r=A0e(n);function n(i){var s;if(a0e(this,n),Wn(i)!=="object"||i===null)throw new g0e("options","Object",i);var o=i.message,a=i.operator,f=i.stackStartFn,u=i.actual,c=i.expected,h=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?(Cs="\x1B[34m",gg="\x1B[32m",on="\x1B[39m",pg="\x1B[31m"):(Cs="",gg="",on="",pg="")),Wn(u)==="object"&&u!==null&&Wn(c)==="object"&&c!==null&&"stack"in u&&u instanceof Error&&"stack"in c&&c instanceof Error&&(u=P6(u),c=P6(c)),a==="deepStrictEqual"||a==="strictEqual")s=r.call(this,E0e(u,c,a));else if(a==="notDeepStrictEqual"||a==="notStrictEqual"){var y=cc[a],b=yg(u).split(`
`);if(a==="notStrictEqual"&&Wn(u)==="object"&&u!==null&&(y=cc.notStrictEqualObject),b.length>30)for(b[26]="".concat(Cs,"...").concat(on);b.length>27;)b.pop();b.length===1?s=r.call(this,"".concat(y," ").concat(b[0])):s=r.call(this,"".concat(y,`
`).concat(b.join(`
`),`
`))}else{var S=yg(u),v="",L=cc[a];a==="notDeepEqual"||a==="notEqual"?(S="".concat(cc[a],`
`).concat(S),S.length>1024&&(S="".concat(S.slice(0,1021),"..."))):(v="".concat(yg(c)),S.length>512&&(S="".concat(S.slice(0,509),"...")),v.length>512&&(v="".concat(v.slice(0,509),"...")),a==="deepEqual"||a==="equal"?S="".concat(L,`
`).concat(S,`
should equal
`):v=" ".concat(a," ").concat(v)),s=r.call(this,"".concat(S).concat(v))}return Error.stackTraceLimit=h,s.generatedMessage=!o,Object.defineProperty($S(s),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),s.code="ERR_ASSERTION",s.actual=u,s.expected=c,s.operator=a,Error.captureStackTrace&&Error.captureStackTrace($S(s),f),s.stack,s.name="AssertionError",H6(s)}return f0e(n,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:t,value:function(s,o){return eQ(this,F6(F6({},o),{},{customInspect:!1,depth:0}))}}]),n})(ZS(Error),eQ.custom);G6.exports=m0e});var tQ=x((s5e,V6)=>{"use strict";var W6=Object.prototype.toString;V6.exports=function(t){var r=W6.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&W6.call(t.callee)==="[object Function]"),n}});var t8=x((o5e,e8)=>{"use strict";var Z6;Object.keys||(bg=Object.prototype.hasOwnProperty,rQ=Object.prototype.toString,J6=tQ(),nQ=Object.prototype.propertyIsEnumerable,j6=!nQ.call({toString:null},"toString"),z6=nQ.call(function(){},"prototype"),Ig=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],um=function(e){var t=e.constructor;return t&&t.prototype===e},K6={$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},X6=(function(){if(typeof window>"u")return!1;for(var e in window)try{if(!K6["$"+e]&&bg.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{um(window[e])}catch{return!0}}catch{return!0}return!1})(),$6=function(e){if(typeof window>"u"||!X6)return um(e);try{return um(e)}catch{return!1}},Z6=function(t){var r=t!==null&&typeof t=="object",n=rQ.call(t)==="[object Function]",i=J6(t),s=r&&rQ.call(t)==="[object String]",o=[];if(!r&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var a=z6&&n;if(s&&t.length>0&&!bg.call(t,0))for(var f=0;f<t.length;++f)o.push(String(f));if(i&&t.length>0)for(var u=0;u<t.length;++u)o.push(String(u));else for(var c in t)!(a&&c==="prototype")&&bg.call(t,c)&&o.push(String(c));if(j6)for(var h=$6(t),y=0;y<Ig.length;++y)!(h&&Ig[y]==="constructor")&&bg.call(t,Ig[y])&&o.push(Ig[y]);return o});var bg,rQ,J6,nQ,j6,z6,Ig,um,K6,X6,$6;e8.exports=Z6});var iQ=x((a5e,i8)=>{"use strict";var b0e=Array.prototype.slice,I0e=tQ(),r8=Object.keys,cm=r8?function(t){return r8(t)}:t8(),n8=Object.keys;cm.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 I0e(n)?n8(b0e.call(n)):n8(n)})}else Object.keys=cm;return Object.keys||cm};i8.exports=cm});var u8=x((f5e,f8)=>{"use strict";var B0e=iQ(),o8=_E()(),a8=Io(),Am=IE(),C0e=a8("Array.prototype.push"),s8=a8("Object.prototype.propertyIsEnumerable"),_0e=o8?Am.getOwnPropertySymbols:null;f8.exports=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=Am(t);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var s=Am(arguments[i]),o=B0e(s),a=o8&&(Am.getOwnPropertySymbols||_0e);if(a)for(var f=a(s),u=0;u<f.length;++u){var c=f[u];s8(s,c)&&C0e(o,c)}for(var h=0;h<o.length;++h){var y=o[h];if(s8(s,y)){var b=s[y];n[y]=b}}}return n}});var A8=x((u5e,c8)=>{"use strict";var sQ=u8(),w0e=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},S0e=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};c8.exports=function(){return!Object.assign||w0e()||S0e()?sQ:Object.assign}});var oQ=x((c5e,h8)=>{"use strict";var l8=function(e){return e!==e};h8.exports=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||l8(t)&&l8(r))}});var lm=x((A5e,d8)=>{"use strict";var Q0e=oQ();d8.exports=function(){return typeof Object.is=="function"?Object.is:Q0e}});var E8=x((l5e,y8)=>{"use strict";var g8=Bl(),p8=ug(),v0e=p8(g8("String.prototype.indexOf"));y8.exports=function(t,r){var n=g8(t,!!r);return typeof n=="function"&&v0e(t,".prototype.")>-1?p8(n):n}});var Bg=x((h5e,B8)=>{"use strict";var R0e=iQ(),D0e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",T0e=Object.prototype.toString,N0e=Array.prototype.concat,m8=TS(),M0e=function(e){return typeof e=="function"&&T0e.call(e)==="[object Function]"},b8=MS()(),x0e=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!M0e(n)||!n())return}b8?m8(e,t,r,!0):m8(e,t,r)},I8=function(e,t){var r=arguments.length>2?arguments[2]:{},n=R0e(t);D0e&&(n=N0e.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)x0e(e,n[i],t[n[i]],r[n[i]])};I8.supportsDescriptors=!!b8;B8.exports=I8});var _8=x((d5e,C8)=>{"use strict";var k0e=lm(),F0e=Bg();C8.exports=function(){var t=k0e();return F0e(Object,{is:t},{is:function(){return Object.is!==t}}),t}});var v8=x((g5e,Q8)=>{"use strict";var U0e=Bg(),L0e=ug(),P0e=oQ(),w8=lm(),O0e=_8(),S8=L0e(w8(),Object);U0e(S8,{getPolyfill:w8,implementation:P0e,shim:O0e});Q8.exports=S8});var aQ=x((p5e,R8)=>{"use strict";R8.exports=function(t){return t!==t}});var fQ=x((y5e,D8)=>{"use strict";var H0e=aQ();D8.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:H0e}});var N8=x((E5e,T8)=>{"use strict";var q0e=Bg(),G0e=fQ();T8.exports=function(){var t=G0e();return q0e(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}});var F8=x((m5e,k8)=>{"use strict";var Y0e=ug(),W0e=Bg(),V0e=aQ(),M8=fQ(),J0e=N8(),x8=Y0e(M8(),Number);W0e(x8,{getPolyfill:M8,implementation:V0e,shim:J0e});k8.exports=x8});var rP=x((b5e,tP)=>{"use strict";function U8(e,t){return X0e(e)||K0e(e,t)||z0e(e,t)||j0e()}function j0e(){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 z0e(e,t){if(e){if(typeof e=="string")return L8(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 L8(e,t)}}function L8(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 K0e(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,s,o,a=[],f=!0,u=!1;try{if(s=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(n=s.call(r)).done)&&(a.push(n.value),a.length!==t);f=!0);}catch(c){u=!0,i=c}finally{try{if(!f&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw i}}return a}}function X0e(e){if(Array.isArray(e))return e}function xi(e){"@babel/helpers - typeof";return xi=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},xi(e)}var $0e=/a/g.flags!==void 0,mm=function(t){var r=[];return t.forEach(function(n){return r.push(n)}),r},P8=function(t){var r=[];return t.forEach(function(n,i){return r.push([i,n])}),r},K8=Object.is?Object.is:v8(),ym=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},uQ=Number.isNaN?Number.isNaN:F8();function AQ(e){return e.call.bind(e)}var _g=AQ(Object.prototype.hasOwnProperty),Em=AQ(Object.prototype.propertyIsEnumerable),O8=AQ(Object.prototype.toString),Tn=yn().types,Z0e=Tn.isAnyArrayBuffer,eye=Tn.isArrayBufferView,H8=Tn.isDate,hm=Tn.isMap,q8=Tn.isRegExp,dm=Tn.isSet,tye=Tn.isNativeError,rye=Tn.isBoxedPrimitive,G8=Tn.isNumberObject,Y8=Tn.isStringObject,W8=Tn.isBooleanObject,V8=Tn.isBigIntObject,nye=Tn.isSymbolObject,iye=Tn.isFloat32Array,sye=Tn.isFloat64Array;function oye(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 gm(e){return Object.keys(e).filter(oye).concat(ym(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function X8(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 pm=void 0,aye=!0,fye=!1,cQ=0,lQ=1,$8=2,Z8=3;function uye(e,t){return $0e?e.source===t.source&&e.flags===t.flags:RegExp.prototype.toString.call(e)===RegExp.prototype.toString.call(t)}function cye(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 Aye(e,t){return e.byteLength!==t.byteLength?!1:X8(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))===0}function lye(e,t){return e.byteLength===t.byteLength&&X8(new Uint8Array(e),new Uint8Array(t))===0}function hye(e,t){return G8(e)?G8(t)&&K8(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):Y8(e)?Y8(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):W8(e)?W8(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):V8(e)?V8(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):nye(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}function ki(e,t,r,n){if(e===t)return e!==0?!0:r?K8(e,t):!0;if(r){if(xi(e)!=="object")return typeof e=="number"&&uQ(e)&&uQ(t);if(xi(t)!=="object"||e===null||t===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(e===null||xi(e)!=="object")return t===null||xi(t)!=="object"?e==t:!1;if(t===null||xi(t)!=="object")return!1}var i=O8(e),s=O8(t);if(i!==s)return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var o=gm(e,pm),a=gm(t,pm);return o.length!==a.length?!1:Cg(e,t,r,n,lQ,o)}if(i==="[object Object]"&&(!hm(e)&&hm(t)||!dm(e)&&dm(t)))return!1;if(H8(e)){if(!H8(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(q8(e)){if(!q8(t)||!uye(e,t))return!1}else if(tye(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else if(eye(e)){if(!r&&(iye(e)||sye(e))){if(!cye(e,t))return!1}else if(!Aye(e,t))return!1;var f=gm(e,pm),u=gm(t,pm);return f.length!==u.length?!1:Cg(e,t,r,n,cQ,f)}else{if(dm(e))return!dm(t)||e.size!==t.size?!1:Cg(e,t,r,n,$8);if(hm(e))return!hm(t)||e.size!==t.size?!1:Cg(e,t,r,n,Z8);if(Z0e(e)){if(!lye(e,t))return!1}else if(rye(e)&&!hye(e,t))return!1}return Cg(e,t,r,n,cQ)}function J8(e,t){return t.filter(function(r){return Em(e,r)})}function Cg(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(!_g(t,s[a]))return!1;if(r&&arguments.length===5){var f=ym(e);if(f.length!==0){var u=0;for(a=0;a<f.length;a++){var c=f[a];if(Em(e,c)){if(!Em(t,c))return!1;s.push(c),u++}else if(Em(t,c))return!1}var h=ym(t);if(f.length!==h.length&&J8(t,h).length!==u)return!1}else{var y=ym(t);if(y.length!==0&&J8(t,y).length!==0)return!1}}if(s.length===0&&(i===cQ||i===lQ&&e.length===0||e.size===0))return!0;if(n===void 0)n={val1:new Map,val2:new Map,position:0};else{var b=n.val1.get(e);if(b!==void 0){var S=n.val2.get(t);if(S!==void 0)return b===S}n.position++}n.val1.set(e,n.position),n.val2.set(t,n.position);var v=Eye(e,t,r,s,n,i);return n.val1.delete(e),n.val2.delete(t),v}function j8(e,t,r,n){for(var i=mm(e),s=0;s<i.length;s++){var o=i[s];if(ki(t,o,r,n))return e.delete(o),!0}return!1}function eP(e){switch(xi(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(uQ(e))return!1}return!0}function dye(e,t,r){var n=eP(r);return n??(t.has(n)&&!e.has(n))}function gye(e,t,r,n,i){var s=eP(r);if(s!=null)return s;var o=t.get(s);return o===void 0&&!t.has(s)||!ki(n,o,!1,i)?!1:!e.has(s)&&ki(n,o,!1,i)}function pye(e,t,r,n){for(var i=null,s=mm(e),o=0;o<s.length;o++){var a=s[o];if(xi(a)==="object"&&a!==null)i===null&&(i=new Set),i.add(a);else if(!t.has(a)){if(r||!dye(e,t,a))return!1;i===null&&(i=new Set),i.add(a)}}if(i!==null){for(var f=mm(t),u=0;u<f.length;u++){var c=f[u];if(xi(c)==="object"&&c!==null){if(!j8(i,c,r,n))return!1}else if(!r&&!e.has(c)&&!j8(i,c,r,n))return!1}return i.size===0}return!0}function z8(e,t,r,n,i,s){for(var o=mm(e),a=0;a<o.length;a++){var f=o[a];if(ki(r,f,i,s)&&ki(n,t.get(f),i,s))return e.delete(f),!0}return!1}function yye(e,t,r,n){for(var i=null,s=P8(e),o=0;o<s.length;o++){var a=U8(s[o],2),f=a[0],u=a[1];if(xi(f)==="object"&&f!==null)i===null&&(i=new Set),i.add(f);else{var c=t.get(f);if(c===void 0&&!t.has(f)||!ki(u,c,r,n)){if(r||!gye(e,t,f,u,n))return!1;i===null&&(i=new Set),i.add(f)}}}if(i!==null){for(var h=P8(t),y=0;y<h.length;y++){var b=U8(h[y],2),S=b[0],v=b[1];if(xi(S)==="object"&&S!==null){if(!z8(i,e,S,v,r,n))return!1}else if(!r&&(!e.has(S)||!ki(e.get(S),v,!1,n))&&!z8(i,e,S,v,!1,n))return!1}return i.size===0}return!0}function Eye(e,t,r,n,i,s){var o=0;if(s===$8){if(!pye(e,t,r,i))return!1}else if(s===Z8){if(!yye(e,t,r,i))return!1}else if(s===lQ)for(;o<e.length;o++)if(_g(e,o)){if(!_g(t,o)||!ki(e[o],t[o],r,i))return!1}else{if(_g(t,o))return!1;for(var a=Object.keys(e);o<a.length;o++){var f=a[o];if(!_g(t,f)||!ki(e[f],t[f],r,i))return!1}return a.length===Object.keys(t).length}for(o=0;o<n.length;o++){var u=n[o];if(!ki(e[u],t[u],r,i))return!1}return!0}function mye(e,t){return ki(e,t,fye)}function bye(e,t){return ki(e,t,aye)}tP.exports={isDeepEqual:mye,isDeepStrictEqual:bye}});var Jt=x((I5e,bP)=>{"use strict";function _s(e){"@babel/helpers - typeof";return _s=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},_s(e)}function nP(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,Bye(n.key),n)}}function Iye(e,t,r){return t&&nP(e.prototype,t),r&&nP(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Bye(e){var t=Cye(e,"string");return _s(t)==="symbol"?t:String(t)}function Cye(e,t){if(_s(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(_s(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var wye=XS(),wg=wye.codes,iP=wg.ERR_AMBIGUOUS_ARGUMENT,Nl=wg.ERR_INVALID_ARG_TYPE,Sye=wg.ERR_INVALID_ARG_VALUE,Qye=wg.ERR_INVALID_RETURN_VALUE,Vf=wg.ERR_MISSING_ARGS,Jf=Y6(),vye=yn(),bm=vye.inspect,fP=yn().types,Rye=fP.isPromise,Im=fP.isRegExp,Dye=A8()(),uP=lm()(),Bm=E8()("RegExp.prototype.test"),Wf,Cm;function Sg(){var e=rP();Wf=e.isDeepEqual,Cm=e.isDeepStrictEqual}var sP=!1,jt=bP.exports=hQ,_m={};function ws(e){throw e.message instanceof Error?e.message:new Jf(e)}function cP(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(sP===!1){sP=!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 f={actual:e,expected:t,operator:n===void 0?"fail":n,stackStartFn:i||cP};r!==void 0&&(f.message=r);var u=new Jf(f);throw o&&(u.message=o,u.generatedMessage=!0),u}jt.fail=cP;jt.AssertionError=Jf;function AP(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 Jf({actual:r,expected:!0,message:n,operator:"==",stackStartFn:e});throw s.generatedMessage=i,s}}function hQ(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];AP.apply(void 0,[hQ,t.length].concat(t))}jt.ok=hQ;jt.equal=function e(t,r,n){if(arguments.length<2)throw new Vf("actual","expected");t!=r&&ws({actual:t,expected:r,message:n,operator:"==",stackStartFn:e})};jt.notEqual=function e(t,r,n){if(arguments.length<2)throw new Vf("actual","expected");t==r&&ws({actual:t,expected:r,message:n,operator:"!=",stackStartFn:e})};jt.deepEqual=function e(t,r,n){if(arguments.length<2)throw new Vf("actual","expected");Wf===void 0&&Sg(),Wf(t,r)||ws({actual:t,expected:r,message:n,operator:"deepEqual",stackStartFn:e})};jt.notDeepEqual=function e(t,r,n){if(arguments.length<2)throw new Vf("actual","expected");Wf===void 0&&Sg(),Wf(t,r)&&ws({actual:t,expected:r,message:n,operator:"notDeepEqual",stackStartFn:e})};jt.deepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new Vf("actual","expected");Wf===void 0&&Sg(),Cm(t,r)||ws({actual:t,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:e})};jt.notDeepStrictEqual=lP;function lP(e,t,r){if(arguments.length<2)throw new Vf("actual","expected");Wf===void 0&&Sg(),Cm(e,t)&&ws({actual:e,expected:t,message:r,operator:"notDeepStrictEqual",stackStartFn:lP})}jt.strictEqual=function e(t,r,n){if(arguments.length<2)throw new Vf("actual","expected");uP(t,r)||ws({actual:t,expected:r,message:n,operator:"strictEqual",stackStartFn:e})};jt.notStrictEqual=function e(t,r,n){if(arguments.length<2)throw new Vf("actual","expected");uP(t,r)&&ws({actual:t,expected:r,message:n,operator:"notStrictEqual",stackStartFn:e})};var oP=Iye(function e(t,r,n){var i=this;_ye(this,e),r.forEach(function(s){s in t&&(n!==void 0&&typeof n[s]=="string"&&Im(t[s])&&Bm(t[s],n[s])?i[s]=n[s]:i[s]=t[s])})});function Tye(e,t,r,n,i,s){if(!(r in e)||!Cm(e[r],t[r])){if(!n){var o=new oP(e,i),a=new oP(t,i,e),f=new Jf({actual:o,expected:a,operator:"deepStrictEqual",stackStartFn:s});throw f.actual=e,f.expected=t,f.operator=s.name,f}ws({actual:e,expected:t,message:n,operator:s.name,stackStartFn:s})}}function hP(e,t,r,n){if(typeof t!="function"){if(Im(t))return Bm(t,e);if(arguments.length===2)throw new Nl("expected",["Function","RegExp"],t);if(_s(e)!=="object"||e===null){var i=new Jf({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 Sye("error",t,"may not be an empty object");return Wf===void 0&&Sg(),s.forEach(function(o){typeof e[o]=="string"&&Im(t[o])&&Bm(t[o],e[o])||Tye(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 dP(e){if(typeof e!="function")throw new Nl("fn","Function",e);try{e()}catch(t){return t}return _m}function aP(e){return Rye(e)||e!==null&&_s(e)==="object"&&typeof e.then=="function"&&typeof e.catch=="function"}function gP(e){return Promise.resolve().then(function(){var t;if(typeof e=="function"){if(t=e(),!aP(t))throw new Qye("instance of Promise","promiseFn",t)}else if(aP(e))t=e;else throw new Nl("promiseFn",["Function","Promise"],e);return Promise.resolve().then(function(){return t}).then(function(){return _m}).catch(function(r){return r})})}function pP(e,t,r,n){if(typeof r=="string"){if(arguments.length===4)throw new Nl("error",["Object","Error","Function","RegExp"],r);if(_s(t)==="object"&&t!==null){if(t.message===r)throw new iP("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===r)throw new iP("error/message",'The error "'.concat(t,'" is identical to the message.'));n=r,r=void 0}else if(r!=null&&_s(r)!=="object"&&typeof r!="function")throw new Nl("error",["Object","Error","Function","RegExp"],r);if(t===_m){var i="";r&&r.name&&(i+=" (".concat(r.name,")")),i+=n?": ".concat(n):".";var s=e.name==="rejects"?"rejection":"exception";ws({actual:void 0,expected:r,operator:e.name,message:"Missing expected ".concat(s).concat(i),stackStartFn:e})}if(r&&!hP(t,r,n,e))throw t}function yP(e,t,r,n){if(t!==_m){if(typeof r=="string"&&(n=r,r=void 0),!r||hP(t,r)){var i=n?": ".concat(n):".",s=e.name==="doesNotReject"?"rejection":"exception";ws({actual:t,expected:r,operator:e.name,message:"Got unwanted ".concat(s).concat(i,`
`)+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}jt.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];pP.apply(void 0,[e,dP(t)].concat(n))};jt.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 gP(t).then(function(s){return pP.apply(void 0,[e,s].concat(n))})};jt.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];yP.apply(void 0,[e,dP(t)].concat(n))};jt.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 gP(t).then(function(s){return yP.apply(void 0,[e,s].concat(n))})};jt.ifError=function e(t){if(t!=null){var r="ifError got unwanted exception: ";_s(t)==="object"&&typeof t.message=="string"?t.message.length===0&&t.constructor?r+=t.constructor.name:r+=t.message:r+=bm(t);var n=new Jf({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 f=o.indexOf(s[a]);if(f!==-1){o=o.slice(0,f);break}}n.stack="".concat(o.join(`
`),`
`).concat(s.join(`
`))}throw n}};function EP(e,t,r,n,i){if(!Im(t))throw new Nl("regexp","RegExp",t);var s=i==="match";if(typeof e!="string"||Bm(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(_s(e)," (").concat(bm(e),")"):(s?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(bm(t),`. Input:
`).concat(bm(e),`
`));var a=new Jf({actual:e,expected:t,message:r,operator:i,stackStartFn:n});throw a.generatedMessage=o,a}}jt.match=function e(t,r,n){EP(t,r,n,e,"match")};jt.doesNotMatch=function e(t,r,n){EP(t,r,n,e,"doesNotMatch")};function mP(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];AP.apply(void 0,[mP,t.length].concat(t))}jt.strict=Dye(mP,jt,{equal:jt.strictEqual,deepEqual:jt.deepStrictEqual,notEqual:jt.notStrictEqual,notDeepEqual:jt.notDeepStrictEqual});jt.strict.strict=jt.strict});var Ml=x((B5e,IP)=>{"use strict";var dQ=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}}},gQ=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 Nye(){return{enable(){return this},disable(){return this}}}function Mye(){return 0}function xye(){return 0}IP.exports={AsyncLocalStorage:dQ,AsyncResource:gQ,createHook:Nye,executionAsyncId:Mye,triggerAsyncId:xye}});var wr=x((C5e,VP)=>{"use strict";var BP=Symbol.for("undici.error.UND_ERR"),er=class extends Error{constructor(t,r){super(t,r),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](t){return t&&t[BP]===!0}get[BP](){return!0}},CP=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),pQ=class extends er{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[CP]===!0}get[CP](){return!0}},_P=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),yQ=class extends er{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[_P]===!0}get[_P](){return!0}},wP=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),EQ=class extends er{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[wP]===!0}get[wP](){return!0}},SP=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),mQ=class extends er{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[SP]===!0}get[SP](){return!0}},QP=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),bQ=class extends er{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[QP]===!0}get[QP](){return!0}},vP=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),IQ=class extends er{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[vP]===!0}get[vP](){return!0}},RP=Symbol.for("undici.error.UND_ERR_ABORT"),wm=class extends er{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[RP]===!0}get[RP](){return!0}},DP=Symbol.for("undici.error.UND_ERR_ABORTED"),BQ=class extends wm{constructor(t){super(t),this.name="AbortError",this.message=t||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](t){return t&&t[DP]===!0}get[DP](){return!0}},TP=Symbol.for("undici.error.UND_ERR_INFO"),CQ=class extends er{constructor(t){super(t),this.name="InformationalError",this.message=t||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](t){return t&&t[TP]===!0}get[TP](){return!0}},NP=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),_Q=class extends er{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[NP]===!0}get[NP](){return!0}},MP=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),wQ=class extends er{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[MP]===!0}get[MP](){return!0}},xP=Symbol.for("undici.error.UND_ERR_DESTROYED"),SQ=class extends er{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[xP]===!0}get[xP](){return!0}},kP=Symbol.for("undici.error.UND_ERR_CLOSED"),QQ=class extends er{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[kP]===!0}get[kP](){return!0}},FP=Symbol.for("undici.error.UND_ERR_SOCKET"),vQ=class extends er{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[FP]===!0}get[FP](){return!0}},UP=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),RQ=class extends er{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[UP]===!0}get[UP](){return!0}},LP=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),DQ=class extends er{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[LP]===!0}get[LP](){return!0}},PP=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),TQ=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[PP]===!0}get[PP](){return!0}},OP=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),NQ=class extends er{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[OP]===!0}get[OP](){return!0}},HP=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),MQ=class extends er{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[HP]===!0}get[HP](){return!0}},qP=Symbol.for("undici.error.UND_ERR_RESPONSE"),xQ=class extends er{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[qP]===!0}get[qP](){return!0}},GP=Symbol.for("undici.error.UND_ERR_PRX_TLS"),kQ=class extends er{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[GP]===!0}get[GP](){return!0}},YP=Symbol.for("undici.error.UND_ERR_MAX_ORIGINS_REACHED"),FQ=class extends er{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[YP]===!0}get[YP](){return!0}},UQ=class extends er{constructor(t,r){super(t),this.name="Socks5ProxyError",this.message=t||"SOCKS5 proxy error",this.code=r||"UND_ERR_SOCKS5"}},WP=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),LQ=class extends er{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[WP]===!0}get[WP](){return!0}};VP.exports={AbortError:wm,HTTPParserError:TQ,UndiciError:er,HeadersTimeoutError:yQ,HeadersOverflowError:EQ,BodyTimeoutError:mQ,RequestContentLengthMismatchError:_Q,ConnectTimeoutError:pQ,InvalidArgumentError:bQ,InvalidReturnValueError:IQ,RequestAbortedError:BQ,ClientDestroyedError:SQ,ClientClosedError:QQ,InformationalError:CQ,SocketError:vQ,NotSupportedError:RQ,ResponseContentLengthMismatchError:wQ,BalancedPoolMissingUpstreamError:DQ,ResponseExceededMaxSizeError:NQ,RequestRetryError:MQ,ResponseError:xQ,SecureProxyConnectionError:kQ,MaxOriginsReachedError:FQ,Socks5ProxyError:UQ,MessageSizeExceededError:LQ}});var Vn=x((_5e,JP)=>{"use strict";JP.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 xl=x((w5e,jP)=>{"use strict";function Ac(){if(!globalThis._httpModule)throw new Error("node:http bridge module is not available");return globalThis._httpModule}var Sm=class{},PQ=class{},OQ=class{},HQ=class{},qQ=class{},kye=["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"];jP.exports={Agent:Sm,ClientRequest:PQ,IncomingMessage:OQ,METHODS:kye,STATUS_CODES:{},Server:HQ,ServerResponse:qQ,_checkInvalidHeaderChar(e){return Ac()._checkInvalidHeaderChar(e)},_checkIsHttpToken(e){return Ac()._checkIsHttpToken(e)},createServer(...e){return Ac().createServer(...e)},get(...e){return Ac().get(...e)},globalAgent:new Sm,maxHeaderSize:65535,request(...e){return Ac().request(...e)},validateHeaderName(e,t){return Ac().validateHeaderName(e,t)},validateHeaderValue(e,t){return Ac().validateHeaderValue(e,t)}}});var Qg=x((S5e,KP)=>{"use strict";function Fye(){let e=globalThis._netModule;if(!e)throw new Error("node:net bridge module is not available");return e}var zP={};for(let e of["BlockList","Socket","SocketAddress","Server","Stream","connect","createConnection","createServer","getDefaultAutoSelectFamily","getDefaultAutoSelectFamilyAttemptTimeout","isIP","isIPv4","isIPv6","setDefaultAutoSelectFamily","setDefaultAutoSelectFamilyAttemptTimeout"])Object.defineProperty(zP,e,{enumerable:!0,get(){return Fye()[e]}});KP.exports=zP});var zQ=x((Q5e,t5)=>{"use strict";var kl=0,GQ=1e3,YQ=(GQ>>1)-1,jf,WQ=Symbol("kFastTimer"),va=[],VQ=-2,JQ=-1,ZP=0,XP=1;function jQ(){kl+=YQ;let e=0,t=va.length;for(;e<t;){let r=va[e];r._state===ZP?(r._idleStart=kl-YQ,r._state=XP):r._state===XP&&kl>=r._idleStart+r._idleTimeout&&(r._state=JQ,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===JQ?(r._state=VQ,--t!==0&&(va[e]=va[t])):++e}va.length=t,va.length!==0&&e5()}function e5(){jf?.refresh?jf.refresh():(clearTimeout(jf),jf=setTimeout(jQ,YQ),jf?.unref())}var $P;$P=WQ;var Qm=class{constructor(t,r,n){m(this,$P,!0);m(this,"_state",VQ);m(this,"_idleTimeout",-1);m(this,"_idleStart",-1);m(this,"_onTimeout");m(this,"_timerArg");this._onTimeout=t,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===VQ&&va.push(this),(!jf||va.length===1)&&e5(),this._state=ZP}clear(){this._state=JQ,this._idleStart=-1}};t5.exports={setTimeout(e,t,r){return t<=GQ?setTimeout(e,t,r):new Qm(e,t,r)},clearTimeout(e){e[WQ]?e.clear():clearTimeout(e)},setFastTimeout(e,t,r){return new Qm(e,t,r)},clearFastTimeout(e){e.clear()},now(){return kl},tick(e=0){kl+=e-GQ+1,jQ(),jQ()},reset(){kl=0,va.length=0,clearTimeout(jf),jf=null},kFastTimer:WQ}});var Rm=x((R5e,n5)=>{"use strict";var KQ=["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"],vm={};Object.setPrototypeOf(vm,null);var r5={};Object.setPrototypeOf(r5,null);function Uye(e){let t=r5[e];return t===void 0&&(t=Buffer.from(e)),t}for(let e=0;e<KQ.length;++e){let t=KQ[e],r=t.toLowerCase();vm[t]=vm[r]=r}n5.exports={wellknownHeaderNames:KQ,headerNameLowerCasedRecord:vm,getHeaderNameAsBuffer:Uye}});var a5=x((D5e,o5)=>{"use strict";var{wellknownHeaderNames:i5,headerNameLowerCasedRecord:Lye}=Rm(),XQ=class e{constructor(t,r,n){m(this,"value",null);m(this,"left",null);m(this,"middle",null);m(this,"right",null);m(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}},Dm=class{constructor(){m(this,"node",null)}insert(t,r){this.node===null?this.node=new XQ(t,r,0):this.node.add(t,r)}lookup(t){return this.node?.search(t)?.value??null}},s5=new Dm;for(let e=0;e<i5.length;++e){let t=Lye[i5[e]];s5.insert(t,t)}o5.exports={TernarySearchTree:Dm,tree:s5}});var tr=x((N5e,v5)=>{"use strict";var vg=Jt(),{kDestroyed:A5,kBodyUsed:Fl,kListeners:Ul,kBody:f5}=Vn(),{IncomingMessage:Pye}=xl(),l5=(Or(),Lr(dt)),Oye=Qg(),{stringify:Hye}=(__(),Lr(Ly)),{EventEmitter:qye}=Yn(),Tm=zQ(),{InvalidArgumentError:qr,ConnectTimeoutError:Gye}=wr(),{headerNameLowerCasedRecord:Yye}=Rm(),{tree:h5}=a5(),[Wye,Vye]=process.versions.node.split(".",2).map(e=>Number(e)),Mm=class{constructor(t){this[f5]=t,this[Fl]=!1}async*[Symbol.asyncIterator](){vg(!this[Fl],"disturbed"),this[Fl]=!0,yield*this[f5]}};function u5(){}function Jye(e){return xm(e)?(m5(e)===0&&e.on("data",function(){vg(!1)}),typeof e.readableDidRead!="boolean"&&(e[Fl]=!1,qye.prototype.on.call(e,"data",function(){this[Fl]=!0})),e):e&&typeof e.pipeTo=="function"?new Mm(e):e&&_5(e)?e:e&&typeof e!="string"&&!ArrayBuffer.isView(e)&&E5(e)?new Mm(e):e}function xm(e){return e&&typeof e=="object"&&typeof e.pipe=="function"&&typeof e.on=="function"}function d5(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 g5(e){return e.includes("?")||e.includes("#")}function jye(e,t){if(g5(e))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=Hye(t);return r&&(e+="?"+r),e}function p5(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function Nm(e){return e!=null&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&(e[4]===":"||e[4]==="s"&&e[5]===":")}function y5(e){if(typeof e=="string"){if(e=new URL(e),!Nm(e.origin||e.protocol))throw new qr("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||typeof e!="object")throw new qr("Invalid URL: The URL argument must be a non-null object.");if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&p5(e.port)===!1)throw new qr("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 qr("Invalid URL path: the path must be a string or null/undefined.");if(e.pathname!=null&&typeof e.pathname!="string")throw new qr("Invalid URL pathname: the pathname must be a string or null/undefined.");if(e.hostname!=null&&typeof e.hostname!="string")throw new qr("Invalid URL hostname: the hostname must be a string or null/undefined.");if(e.origin!=null&&typeof e.origin!="string")throw new qr("Invalid URL origin: the origin must be a string or null/undefined.");if(!Nm(e.origin||e.protocol))throw new qr("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(!Nm(e.origin||e.protocol))throw new qr("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function zye(e){if(e=y5(e),e.pathname!=="/"||e.search||e.hash)throw new qr("invalid url");return e}function Kye(e){if(e[0]==="["){let r=e.indexOf("]");return vg(r!==-1),e.substring(1,r)}let t=e.indexOf(":");return t===-1?e:e.substring(0,t)}function Xye(e){if(!e)return null;vg(typeof e=="string");let t=Kye(e);return Oye.isIP(t)?"":t}function $ye(e){return JSON.parse(JSON.stringify(e))}function Zye(e){return e!=null&&typeof e[Symbol.asyncIterator]=="function"}function E5(e){return e!=null&&(typeof e[Symbol.iterator]=="function"||typeof e[Symbol.asyncIterator]=="function")}function eEe(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 m5(e){if(e==null)return 0;if(xm(e)){let t=e._readableState;return t&&t.objectMode===!1&&t.ended===!0&&Number.isFinite(t.length)?t.length:null}else{if(d5(e))return e.size!=null?e.size:null;if(C5(e))return e.byteLength}return null}function b5(e){return e&&!!(e.destroyed||e[A5]||l5.isDestroyed?.(e))}function I5(e,t){e==null||!xm(e)||b5(e)||(typeof e.destroy=="function"?(Object.getPrototypeOf(e).constructor===Pye&&(e.socket=null),e.destroy(t)):t&&queueMicrotask(()=>{e.emit("error",t)}),e.destroyed!==!0&&(e[A5]=!0))}var tEe=/timeout=(\d+)/;function rEe(e){let t=e.match(tEe);return t?parseInt(t[1],10)*1e3:null}function B5(e){return typeof e=="string"?Yye[e]??e.toLowerCase():h5.lookup(e)??e.toString("latin1").toLowerCase()}function nEe(e){return h5.lookup(e)??e.toString("latin1").toLowerCase()}function iEe(e,t){t===void 0&&(t={});for(let r=0;r<e.length;r+=2){let n=B5(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 sEe(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 oEe(e){if(!Array.isArray(e))throw new TypeError("expected headers to be an array");return e.map(t=>Buffer.from(t))}function C5(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function aEe(e,t,r){if(!e||typeof e!="object")throw new qr("handler must be an object");if(typeof e.onRequestStart!="function"){if(typeof e.onConnect!="function")throw new qr("invalid onConnect method");if(typeof e.onError!="function")throw new qr("invalid onError method");if(typeof e.onBodySent!="function"&&e.onBodySent!==void 0)throw new qr("invalid onBodySent method");if(r||t==="CONNECT"){if(typeof e.onUpgrade!="function")throw new qr("invalid onUpgrade method")}else{if(typeof e.onHeaders!="function")throw new qr("invalid onHeaders method");if(typeof e.onData!="function")throw new qr("invalid onData method");if(typeof e.onComplete!="function")throw new qr("invalid onComplete method")}}}function fEe(e){return!!(e&&(l5.isDisturbed(e)||e[Fl]))}function uEe(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 cEe(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 _5(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 AEe(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 w5=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 lEe(e){return w5[e]===1}var hEe=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;function dEe(e){if(e.length>=12)return hEe.test(e);if(e.length===0)return!1;for(let t=0;t<e.length;t++)if(w5[e.charCodeAt(t)]!==1)return!1;return!0}var gEe=/[^\t\x20-\x7e\x80-\xff]/;function pEe(e){return!gEe.test(e)}var yEe=/^bytes (\d+)-(\d+)\/(\d+)?$/;function EEe(e){if(e==null||e==="")return{start:0,end:null,size:null};let t=e?e.match(yEe):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}function mEe(e,t,r){return(e[Ul]??(e[Ul]=[])).push([t,r]),e.on(t,r),e}function bEe(e){if(e[Ul]!=null){for(let[t,r]of e[Ul])e.removeListener(t,r);e[Ul]=null}return e}function IEe(e,t,r){try{t.onError(r),vg(t.aborted)}catch(n){e.emit("error",n)}}var BEe=process.platform==="win32"?(e,t)=>{if(!t.timeout)return u5;let r=null,n=null,i=Tm.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>c5(e.deref(),t))})},t.timeout);return()=>{Tm.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(e,t)=>{if(!t.timeout)return u5;let r=null,n=Tm.setFastTimeout(()=>{r=setImmediate(()=>{c5(e.deref(),t)})},t.timeout);return()=>{Tm.clearFastTimeout(n),clearImmediate(r)}};function c5(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)`,I5(e,new Gye(r))}function CEe(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 S5=Object.create(null);S5.enumerable=!0;var $Q={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},Q5={...$Q,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf($Q,null);Object.setPrototypeOf(Q5,null);v5.exports={kEnumerableProperty:S5,isDisturbed:fEe,isBlobLike:d5,parseOrigin:zye,parseURL:y5,getServerName:Xye,isStream:xm,isIterable:E5,hasSafeIterator:eEe,isAsyncIterable:Zye,isDestroyed:b5,headerNameToString:B5,bufferToLowerCasedHeaderName:nEe,addListener:mEe,removeAllListeners:bEe,errorRequest:IEe,parseRawHeaders:sEe,encodeRawHeaders:oEe,parseHeaders:iEe,parseKeepAliveTimeout:rEe,destroy:I5,bodyLength:m5,deepClone:$ye,ReadableStreamFrom:cEe,isBuffer:C5,assertRequestHandler:aEe,getSocketInfo:uEe,isFormDataLike:_5,pathHasQueryOrFragment:g5,serializePathWithQuery:jye,addAbortListener:AEe,isValidHTTPToken:dEe,isValidHeaderValue:pEe,isTokenCharCode:lEe,parseRangeHeader:EEe,normalizedMethodRecordsBase:$Q,normalizedMethodRecords:Q5,isValidPort:p5,isHttpOrHttpsPrefixed:Nm,nodeMajor:Wye,nodeMinor:Vye,safeHTTPMethods:Object.freeze(["GET","HEAD","OPTIONS","TRACE"]),wrapRequestBody:Jye,setupConnectTimeout:BEe,getProtocolFromUrlString:CEe}});var U5=x((M5e,F5)=>{"use strict";var N5=Jt(),{Readable:_Ee}=(Or(),Lr(dt)),{RequestAbortedError:M5,NotSupportedError:wEe,InvalidArgumentError:SEe,AbortError:km}=wr(),x5=tr(),{ReadableStreamFrom:QEe}=tr(),fi=Symbol("kConsume"),Fm=Symbol("kReading"),lc=Symbol("kBody"),R5=Symbol("kAbort"),k5=Symbol("kContentType"),ZQ=Symbol("kContentLength"),ev=Symbol("kUsed"),Um=Symbol("kBytesRead"),vEe=()=>{},tv=class extends _Ee{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[R5]=r,this[fi]=null,this[Um]=0,this[lc]=null,this[ev]=!1,this[k5]=n,this[ZQ]=Number.isFinite(i)?i:null,this[Fm]=!1}_destroy(t,r){!t&&!this._readableState.endEmitted&&(t=new M5),t&&this[R5](),this[ev]?r(t):setImmediate(r,t)}on(t,r){return(t==="data"||t==="readable")&&(this[Fm]=!0,this[ev]=!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[Fm]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(t,r){return this.off(t,r)}push(t){return t&&(this[Um]+=t.length,this[fi])?(nv(this[fi],t),this[Fm]?super.push(t):!0):super.push(t)}text(){return Rg(this,"text")}json(){return Rg(this,"json")}blob(){return Rg(this,"blob")}bytes(){return Rg(this,"bytes")}arrayBuffer(){return Rg(this,"arrayBuffer")}async formData(){throw new wEe}get bodyUsed(){return x5.isDisturbed(this)}get body(){return this[lc]||(this[lc]=QEe(this),this[fi]&&(this[lc].getReader(),N5(this[lc].locked))),this[lc]}dump(t){let r=t?.signal;if(r!=null&&(typeof r!="object"||!("aborted"in r)))return Promise.reject(new SEe("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 km):this._readableState.closeEmitted?Promise.resolve(null):new Promise((i,s)=>{if((this[ZQ]&&this[ZQ]>n||this[Um]>n)&&this.destroy(new km),r){let o=()=>{this.destroy(r.reason??new km)};r.addEventListener("abort",o),this.on("close",function(){r.removeEventListener("abort",o),r.aborted?s(r.reason??new km):i(null)})}else this.on("close",i);this.on("error",vEe).on("data",()=>{this[Um]>n&&this.destroy()}).resume()})}setEncoding(t){return Buffer.isEncoding(t)&&(this._readableState.encoding=t),this}};function REe(e){return e[lc]?.locked===!0||e[fi]!==null}function DEe(e){return x5.isDisturbed(e)||REe(e)}function Rg(e,t){return N5(!e[fi]),new Promise((r,n)=>{if(DEe(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[fi]={type:t,stream:e,resolve:r,reject:n,length:0,body:[]},e.on("error",function(i){iv(this[fi],i)}).on("close",function(){this[fi].body!==null&&iv(this[fi],new M5)}),TEe(e[fi])})})}function TEe(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++)nv(e,t.buffer[i])}else for(let r of t.buffer)nv(e,r);for(t.endEmitted?T5(this[fi],this._readableState.encoding):e.stream.on("end",function(){T5(this[fi],this._readableState.encoding)}),e.stream.resume();e.stream.read()!=null;);}function rv(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 D5(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 T5(e,t){let{type:r,body:n,resolve:i,stream:s,length:o}=e;try{r==="text"?i(rv(n,o,t)):r==="json"?i(JSON.parse(rv(n,o,t))):r==="arrayBuffer"?i(D5(n,o).buffer):r==="blob"?i(new Blob(n,{type:s[k5]})):r==="bytes"&&i(D5(n,o)),iv(e)}catch(a){s.destroy(a)}}function nv(e,t){e.length+=t.length,e.body.push(t)}function iv(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)}F5.exports={Readable:tv,chunksDecode:rv}});var O5=x((x5e,sv)=>{"use strict";var NEe=Jt(),{AsyncResource:MEe}=Ml(),{Readable:xEe}=U5(),{InvalidArgumentError:Ll,RequestAbortedError:L5}=wr(),Fi=tr();function Dg(){}var Lm=class extends MEe{constructor(t,r){if(!t||typeof t!="object")throw new Ll("invalid opts");let{signal:n,method:i,opaque:s,body:o,onInfo:a,responseHeaders:f,highWaterMark:u}=t;try{if(typeof r!="function")throw new Ll("invalid callback");if(u&&(typeof u!="number"||u<0))throw new Ll("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Ll("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Ll("invalid method");if(a&&typeof a!="function")throw new Ll("invalid onInfo callback");super("UNDICI_REQUEST")}catch(c){throw Fi.isStream(o)&&Fi.destroy(o.on("error",Dg),c),c}this.method=i,this.responseHeaders=f||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=u,this.reason=null,this.removeAbortListener=null,n?.aborted?this.reason=n.reason??new L5:n&&(this.removeAbortListener=Fi.addAbortListener(n,()=>{this.reason=n.reason??new L5,this.res?Fi.destroy(this.res.on("error",Dg),this.reason):this.abort&&this.abort(this.reason)}))}onConnect(t,r){if(this.reason){t(this.reason);return}NEe(this.callback),this.abort=t,this.context=r}onHeaders(t,r,n,i){let{callback:s,opaque:o,abort:a,context:f,responseHeaders:u,highWaterMark:c}=this,h=u==="raw"?Fi.parseRawHeaders(r):Fi.parseHeaders(r);if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:h});return}let y=u==="raw"?Fi.parseHeaders(r):h,b=y["content-type"],S=y["content-length"],v=new xEe({resume:n,abort:a,contentType:b,contentLength:this.method!=="HEAD"&&S?Number(S):null,highWaterMark:c});if(this.removeAbortListener&&(v.on("close",this.removeAbortListener),this.removeAbortListener=null),this.callback=null,this.res=v,s!==null)try{this.runInAsyncScope(s,null,null,{statusCode:t,statusText:i,headers:h,trailers:this.trailers,opaque:o,body:v,context:f})}catch(L){this.res=null,Fi.destroy(v.on("error",Dg),L),queueMicrotask(()=>{throw L})}}onData(t){return this.res.push(t)}onComplete(t){Fi.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(()=>{Fi.destroy(r.on("error",Dg),t)})),i&&(this.body=null,Fi.isStream(i)&&(i.on("error",Dg),Fi.destroy(i,t))),this.removeAbortListener&&(this.removeAbortListener(),this.removeAbortListener=null)}};function P5(e,t){if(t===void 0)return new Promise((r,n)=>{P5.call(this,e,(i,s)=>i?n(i):r(s))});try{let r=new Lm(e,t);this.dispatch(e,r)}catch(r){if(typeof t!="function")throw r;let n=e?.opaque;queueMicrotask(()=>t(r,{opaque:n}))}}sv.exports=P5;sv.exports.RequestHandler=Lm});var Tg=x((k5e,G5)=>{"use strict";var{addAbortListener:kEe}=tr(),{RequestAbortedError:FEe}=wr(),Pl=Symbol("kListener"),wo=Symbol("kSignal");function H5(e){e.abort?e.abort(e[wo]?.reason):e.reason=e[wo]?.reason??new FEe,q5(e)}function UEe(e,t){if(e.reason=null,e[wo]=null,e[Pl]=null,!!t){if(t.aborted){H5(e);return}e[wo]=t,e[Pl]=()=>{H5(e)},kEe(e[wo],e[Pl])}}function q5(e){e[wo]&&("removeEventListener"in e[wo]?e[wo].removeEventListener("abort",e[Pl]):e[wo].removeListener("abort",e[Pl]),e[wo]=null,e[Pl]=null)}G5.exports={addSignal:UEe,removeSignal:q5}});var J5=x((F5e,V5)=>{"use strict";var LEe=Jt(),{finished:PEe}=(Or(),Lr(dt)),{AsyncResource:OEe}=Ml(),{InvalidArgumentError:Ol,InvalidReturnValueError:HEe}=wr(),Ra=tr(),{addSignal:qEe,removeSignal:Y5}=Tg();function GEe(){}var ov=class extends OEe{constructor(t,r,n){if(!t||typeof t!="object")throw new Ol("invalid opts");let{signal:i,method:s,opaque:o,body:a,onInfo:f,responseHeaders:u}=t;try{if(typeof n!="function")throw new Ol("invalid callback");if(typeof r!="function")throw new Ol("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new Ol("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Ol("invalid method");if(f&&typeof f!="function")throw new Ol("invalid onInfo callback");super("UNDICI_STREAM")}catch(c){throw Ra.isStream(a)&&Ra.destroy(a.on("error",GEe),c),c}this.responseHeaders=u||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=f||null,Ra.isStream(a)&&a.on("error",c=>{this.onError(c)}),qEe(this,i)}onConnect(t,r){if(this.reason){t(this.reason);return}LEe(this.callback),this.abort=t,this.context=r}onHeaders(t,r,n,i){let{factory:s,opaque:o,context:a,responseHeaders:f}=this,u=f==="raw"?Ra.parseRawHeaders(r):Ra.parseHeaders(r);if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:u});return}if(this.factory=null,s===null)return;let c=this.runInAsyncScope(s,null,{statusCode:t,headers:u,opaque:o,context:a});if(!c||typeof c.write!="function"||typeof c.end!="function"||typeof c.on!="function")throw new HEe("expected Writable");return PEe(c,{readable:!1},y=>{let{callback:b,res:S,opaque:v,trailers:L,abort:U}=this;this.res=null,(y||!S?.readable)&&Ra.destroy(S,y),this.callback=null,this.runInAsyncScope(b,null,y||null,{opaque:v,trailers:L}),y&&U()}),c.on("drain",n),this.res=c,(c.writableNeedDrain!==void 0?c.writableNeedDrain:c._writableState?.needDrain)!==!0}onData(t){let{res:r}=this;return r?r.write(t):!0}onComplete(t){let{res:r}=this;Y5(this),r&&(this.trailers=Ra.parseHeaders(t),r.end())}onError(t){let{res:r,callback:n,opaque:i,body:s}=this;Y5(this),this.factory=null,r?(this.res=null,Ra.destroy(r,t)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,t,{opaque:i})})),s&&(this.body=null,Ra.destroy(s,t))}};function W5(e,t,r){if(r===void 0)return new Promise((n,i)=>{W5.call(this,e,t,(s,o)=>s?i(s):n(o))});try{let n=new ov(e,t,r);this.dispatch(e,n)}catch(n){if(typeof r!="function")throw n;let i=e?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}V5.exports=W5});var X5=x((U5e,K5)=>{"use strict";var{Readable:z5,Duplex:YEe,PassThrough:WEe}=(Or(),Lr(dt)),VEe=Jt(),{AsyncResource:JEe}=Ml(),{InvalidArgumentError:Ng,InvalidReturnValueError:jEe,RequestAbortedError:av}=wr(),So=tr(),{addSignal:zEe,removeSignal:KEe}=Tg();function j5(){}var Hl=Symbol("resume"),fv=class extends z5{constructor(){super({autoDestroy:!0}),this[Hl]=null}_read(){let{[Hl]:t}=this;t&&(this[Hl]=null,t())}_destroy(t,r){this._read(),r(t)}},uv=class extends z5{constructor(t){super({autoDestroy:!0}),this[Hl]=t}_read(){this[Hl]()}_destroy(t,r){!t&&!this._readableState.endEmitted&&(t=new av),r(t)}},cv=class extends JEe{constructor(t,r){if(!t||typeof t!="object")throw new Ng("invalid opts");if(typeof r!="function")throw new Ng("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 Ng("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Ng("invalid method");if(o&&typeof o!="function")throw new Ng("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 fv().on("error",j5),this.ret=new YEe({readableObjectMode:t.objectMode,autoDestroy:!0,read:()=>{let{body:f}=this;f?.resume&&f.resume()},write:(f,u,c)=>{let{req:h}=this;h.push(f,u)||h._readableState.destroyed?c():h[Hl]=c},destroy:(f,u)=>{let{body:c,req:h,res:y,ret:b,abort:S}=this;!f&&!b._readableState.endEmitted&&(f=new av),S&&f&&S(),So.destroy(c,f),So.destroy(h,f),So.destroy(y,f),KEe(this),u(f)}}).on("prefinish",()=>{let{req:f}=this;f.push(null)}),this.res=null,zEe(this,n)}onConnect(t,r){let{res:n}=this;if(this.reason){t(this.reason);return}VEe(!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 f=this.responseHeaders==="raw"?So.parseRawHeaders(r):So.parseHeaders(r);this.onInfo({statusCode:t,headers:f})}return}this.res=new uv(n);let a;try{this.handler=null;let f=this.responseHeaders==="raw"?So.parseRawHeaders(r):So.parseHeaders(r);a=this.runInAsyncScope(s,null,{statusCode:t,headers:f,opaque:i,body:this.res,context:o})}catch(f){throw this.res.on("error",j5),f}if(!a||typeof a.on!="function")throw new jEe("expected Readable");a.on("data",f=>{let{ret:u,body:c}=this;!u.push(f)&&c.pause&&c.pause()}).on("error",f=>{let{ret:u}=this;So.destroy(u,f)}).on("end",()=>{let{ret:f}=this;f.push(null)}).on("close",()=>{let{ret:f}=this;f._readableState.ended||So.destroy(f,new av)}),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,So.destroy(r,t)}};function XEe(e,t){try{let r=new cv(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(r){return new WEe().destroy(r)}}K5.exports=XEe});var nO=x((L5e,rO)=>{"use strict";var{InvalidArgumentError:Av,SocketError:$Ee}=wr(),{AsyncResource:ZEe}=Ml(),$5=Jt(),Z5=tr(),{kHTTP2Stream:eme}=Vn(),{addSignal:tme,removeSignal:eO}=Tg(),lv=class extends ZEe{constructor(t,r){if(!t||typeof t!="object")throw new Av("invalid opts");if(typeof r!="function")throw new Av("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=t;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Av("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,tme(this,n)}onConnect(t,r){if(this.reason){t(this.reason);return}$5(this.callback),this.abort=t,this.context=null}onHeaders(){throw new $Ee("bad upgrade",null)}onUpgrade(t,r,n){$5(n[eme]===!0?t===200:t===101);let{callback:i,opaque:s,context:o}=this;eO(this),this.callback=null;let a=this.responseHeaders==="raw"?Z5.parseRawHeaders(r):Z5.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:a,socket:n,opaque:s,context:o})}onError(t){let{callback:r,opaque:n}=this;eO(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:n})}))}};function tO(e,t){if(t===void 0)return new Promise((r,n)=>{tO.call(this,e,(i,s)=>i?n(i):r(s))});try{let r=new lv(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}))}}rO.exports=tO});var fO=x((P5e,aO)=>{"use strict";var rme=Jt(),{AsyncResource:nme}=Ml(),{InvalidArgumentError:hv,SocketError:ime}=wr(),iO=tr(),{addSignal:sme,removeSignal:sO}=Tg(),dv=class extends nme{constructor(t,r){if(!t||typeof t!="object")throw new hv("invalid opts");if(typeof r!="function")throw new hv("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=t;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new hv("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,sme(this,n)}onConnect(t,r){if(this.reason){t(this.reason);return}rme(this.callback),this.abort=t,this.context=r}onHeaders(){throw new ime("bad connect",null)}onUpgrade(t,r,n){let{callback:i,opaque:s,context:o}=this;sO(this),this.callback=null;let a=r;a!=null&&(a=this.responseHeaders==="raw"?iO.parseRawHeaders(r):iO.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;sO(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:n})}))}};function oO(e,t){if(t===void 0)return new Promise((r,n)=>{oO.call(this,e,(i,s)=>i?n(i):r(s))});try{let r=new dv(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}))}}aO.exports=oO});var uO=x((O5e,ql)=>{"use strict";ql.exports.request=O5();ql.exports.stream=J5();ql.exports.pipeline=X5();ql.exports.upgrade=nO();ql.exports.connect=fO()});var AO=x((H5e,cO)=>{"use strict";var{InvalidArgumentError:ome}=wr(),xr,Gl;cO.exports=(Gl=class{constructor(t){vt(this,xr);ft(this,xr,t)}static wrap(t){return t.onRequestStart?t:new Gl(t)}onConnect(t,r){return te(this,xr).onConnect?.(t,r)}onResponseStarted(){return te(this,xr).onResponseStarted?.()}onHeaders(t,r,n,i){return te(this,xr).onHeaders?.(t,r,n,i)}onUpgrade(t,r,n){return te(this,xr).onUpgrade?.(t,r,n)}onData(t){return te(this,xr).onData?.(t)}onComplete(t){return te(this,xr).onComplete?.(t)}onError(t){if(!te(this,xr).onError)throw t;return te(this,xr).onError?.(t)}onRequestStart(t,r){te(this,xr).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"),gv(a));te(this,xr).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"),gv(a));te(this,xr).onHeaders?.(r,s,()=>t.resume(),i)===!1&&t.pause()}onResponseData(t,r){te(this,xr).onData?.(r)===!1&&t.pause()}onResponseEnd(t,r){let n=[];for(let[i,s]of Object.entries(r))n.push(Buffer.from(i,"latin1"),gv(s));te(this,xr).onComplete?.(n)}onResponseError(t,r){if(!te(this,xr).onError)throw new ome("invalid onError method");te(this,xr).onError?.(r)}},xr=new WeakMap,Gl);function gv(e){return Array.isArray(e)?e.map(t=>Buffer.from(t,"latin1")):Buffer.from(e,"latin1")}});var hO=x((G5e,lO)=>{"use strict";var ame=Yn(),fme=AO(),ume=e=>(t,r)=>e(t,fme.wrap(r)),pv=class extends ame{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=ume(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]})}};lO.exports=pv});var pO=x((Y5e,gO)=>{"use strict";var{parseHeaders:yv}=tr(),{InvalidArgumentError:cme}=wr(),Ev=Symbol("resume"),dO,hc,Mg,Yl,xg;dO=Ev;var mv=class{constructor(t){vt(this,hc,!1);vt(this,Mg,null);vt(this,Yl,!1);vt(this,xg);m(this,dO,null);ft(this,xg,t)}pause(){ft(this,hc,!0)}resume(){te(this,hc)&&(ft(this,hc,!1),this[Ev]?.())}abort(t){te(this,Yl)||(ft(this,Yl,!0),ft(this,Mg,t),te(this,xg).call(this,t))}get aborted(){return te(this,Yl)}get reason(){return te(this,Mg)}get paused(){return te(this,hc)}};hc=new WeakMap,Mg=new WeakMap,Yl=new WeakMap,xg=new WeakMap;var Ui,ui,Wl;gO.exports=(Wl=class{constructor(t){vt(this,Ui);vt(this,ui);ft(this,Ui,t)}static unwrap(t){return t.onRequestStart?new Wl(t):t}onConnect(t,r){ft(this,ui,new mv(t)),te(this,Ui).onRequestStart?.(te(this,ui),r)}onResponseStarted(){return te(this,Ui).onResponseStarted?.()}onUpgrade(t,r,n){te(this,Ui).onRequestUpgrade?.(te(this,ui),t,yv(r),n)}onHeaders(t,r,n,i){return te(this,ui)[Ev]=n,te(this,Ui).onResponseStart?.(te(this,ui),t,yv(r),i),!te(this,ui).paused}onData(t){return te(this,Ui).onResponseData?.(te(this,ui),t),!te(this,ui).paused}onComplete(t){te(this,Ui).onResponseEnd?.(te(this,ui),yv(t))}onError(t){if(!te(this,Ui).onResponseError)throw new cme("invalid onError method");te(this,Ui).onResponseError?.(te(this,ui),t)}},Ui=new WeakMap,ui=new WeakMap,Wl)});var Om=x((V5e,BO)=>{"use strict";var Ame=hO(),lme=pO(),{ClientDestroyedError:bv,ClientClosedError:hme,InvalidArgumentError:Pm}=wr(),{kDestroy:dme,kClose:gme,kClosed:kg,kDestroyed:Vl,kDispatch:pme}=Vn(),Qo=Symbol("onDestroyed"),Da=Symbol("onClosed"),yO,EO,mO,bO,IO,Iv=class extends(IO=Ame,bO=Vl,mO=Qo,EO=kg,yO=Da,IO){constructor(){super(...arguments);m(this,bO,!1);m(this,mO,null);m(this,EO,!1);m(this,yO,null)}get destroyed(){return this[Vl]}get closed(){return this[kg]}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 Pm("invalid callback");if(this[Vl]){let i=new bv;queueMicrotask(()=>r(i,null));return}if(this[kg]){this[Da]?this[Da].push(r):queueMicrotask(()=>r(null,null));return}this[kg]=!0,this[Da]??(this[Da]=[]),this[Da].push(r);let n=()=>{let i=this[Da];this[Da]=null;for(let s=0;s<i.length;s++)i[s](null,null)};this[gme]().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,f)=>a?o(a):s(f))});if(typeof n!="function")throw new Pm("invalid callback");if(this[Vl]){this[Qo]?this[Qo].push(n):queueMicrotask(()=>n(null,null));return}r||(r=new bv),this[Vl]=!0,this[Qo]??(this[Qo]=[]),this[Qo].push(n);let i=()=>{let s=this[Qo];this[Qo]=null;for(let o=0;o<s.length;o++)s[o](null,null)};this[dme](r).then(()=>queueMicrotask(i))}dispatch(r,n){if(!n||typeof n!="object")throw new Pm("handler must be an object");n=lme.unwrap(n);try{if(!r||typeof r!="object")throw new Pm("opts must be an object.");if(this[Vl]||this[Qo])throw new bv;if(this[kg])throw new hme;return this[pme](r,n)}catch(i){if(typeof n.onError!="function")throw i;return n.onError(i),!1}}};BO.exports=Iv});var _v=x((j5e,QO)=>{"use strict";var{kConnected:CO,kPending:_O,kRunning:wO,kSize:SO,kFree:yme,kQueued:Eme}=Vn(),Bv=class{constructor(t){this.connected=t[CO],this.pending=t[_O],this.running=t[wO],this.size=t[SO]}},Cv=class{constructor(t){this.connected=t[CO],this.free=t[yme],this.pending=t[_O],this.queued=t[Eme],this.running=t[wO],this.size=t[SO]}};QO.exports={ClientStats:Bv,PoolStats:Cv}});var RO=x((K5e,vO)=>{"use strict";var Hm=class{constructor(){m(this,"bottom",0);m(this,"top",0);m(this,"list",new Array(2048).fill(void 0));m(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)}};vO.exports=class{constructor(){this.head=this.tail=new Hm}isEmpty(){return this.head.isEmpty()}push(t){this.head.isFull()&&(this.head=this.head.next=new Hm),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 VO=x(($5e,WO)=>{"use strict";var{PoolStats:mme}=_v(),bme=Om(),Ime=RO(),{kConnected:wv,kSize:DO,kRunning:TO,kPending:NO,kQueued:Fg,kBusy:Bme,kFree:Cme,kUrl:_me,kClose:wme,kDestroy:Sme,kDispatch:Qme}=Vn(),Gr=Symbol("clients"),Nn=Symbol("needDrain"),Ug=Symbol("queue"),Sv=Symbol("closed resolve"),Qv=Symbol("onDrain"),MO=Symbol("onConnect"),xO=Symbol("onDisconnect"),kO=Symbol("onConnectionError"),vv=Symbol("get dispatcher"),GO=Symbol("add client"),YO=Symbol("remove client"),FO,UO,LO,PO,OO,HO,qO,Rv=class extends bme{constructor(){super(...arguments);m(this,qO,new Ime);m(this,HO,0);m(this,OO,[]);m(this,PO,!1);m(this,LO,(r,n)=>{this.emit("connect",r,[this,...n])});m(this,UO,(r,n,i)=>{this.emit("disconnect",r,[this,...n],i)});m(this,FO,(r,n,i)=>{this.emit("connectionError",r,[this,...n],i)})}[(qO=Ug,HO=Fg,OO=Gr,PO=Nn,Qv)](r,n,i){let s=this[Ug],o=!1;for(;!o;){let a=s.shift();if(!a)break;this[Fg]--,o=!r.dispatch(a.opts,a.handler)}if(r[Nn]=o,!o&&this[Nn]&&(this[Nn]=!1,this.emit("drain",n,[this,...i])),this[Sv]&&s.isEmpty()){let a=[];for(let f=0;f<this[Gr].length;f++){let u=this[Gr][f];u.destroyed||a.push(u.close())}return Promise.all(a).then(this[Sv])}}get[(LO=MO,UO=xO,FO=kO,Bme)](){return this[Nn]}get[wv](){let r=0;for(let{[wv]:n}of this[Gr])r+=n;return r}get[Cme](){let r=0;for(let{[wv]:n,[Nn]:i}of this[Gr])r+=n&&!i;return r}get[NO](){let r=this[Fg];for(let{[NO]:n}of this[Gr])r+=n;return r}get[TO](){let r=0;for(let{[TO]:n}of this[Gr])r+=n;return r}get[DO](){let r=this[Fg];for(let{[DO]:n}of this[Gr])r+=n;return r}get stats(){return new mme(this)}[wme](){if(this[Ug].isEmpty()){let r=[];for(let n=0;n<this[Gr].length;n++){let i=this[Gr][n];i.destroyed||r.push(i.close())}return Promise.all(r)}else return new Promise(r=>{this[Sv]=r})}[Sme](r){for(;;){let i=this[Ug].shift();if(!i)break;i.handler.onError(r)}let n=new Array(this[Gr].length);for(let i=0;i<this[Gr].length;i++)n[i]=this[Gr][i].destroy(r);return Promise.all(n)}[Qme](r,n){let i=this[vv]();return i?i.dispatch(r,n)||(i[Nn]=!0,this[Nn]=!this[vv]()):(this[Nn]=!0,this[Ug].push({opts:r,handler:n}),this[Fg]++),!this[Nn]}[GO](r){return r.on("drain",this[Qv].bind(this,r)).on("connect",this[MO]).on("disconnect",this[xO]).on("connectionError",this[kO]),this[Gr].push(r),this[Nn]&&queueMicrotask(()=>{this[Nn]&&this[Qv](r,r[_me],[r,this])}),this}[YO](r){r.close(()=>{let n=this[Gr].indexOf(r);n!==-1&&this[Gr].splice(n,1)}),this[Nn]=this[Gr].some(n=>!n[Nn]&&n.closed!==!0&&n.destroyed!==!0)}};WO.exports={PoolBase:Rv,kClients:Gr,kNeedDrain:Nn,kAddClient:GO,kRemoveClient:YO,kGetDispatcher:vv}});var zO=x((eOe,jO)=>{"use strict";var JO=new Map,Dv=new Map;function qm(e){let t=JO.get(e);return t||(t=new Set,JO.set(e,t)),t}function vme(e){return{name:e,get hasSubscribers(){return qm(e).size>0},publish(t){for(let r of qm(e))r(t,e)},subscribe(t){return qm(e).add(t),this},unsubscribe(t){return qm(e).delete(t),this}}}function Gm(e){return Dv.has(e)||Dv.set(e,vme(e)),Dv.get(e)}function Rme(e,t){Gm(e).subscribe(t)}function Dme(e,t){Gm(e).unsubscribe(t)}jO.exports={channel:Gm,hasSubscribers(e){return Gm(e).hasSubscribers},subscribe:Rme,unsubscribe:Dme}});var Pg=x((tOe,XO)=>{"use strict";var kt=zO(),xv=yn(),dc=xv.debuglog("undici"),Lg=xv.debuglog("fetch"),Ym=xv.debuglog("websocket"),ci={beforeConnect:kt.channel("undici:client:beforeConnect"),connected:kt.channel("undici:client:connected"),connectError:kt.channel("undici:client:connectError"),sendHeaders:kt.channel("undici:client:sendHeaders"),create:kt.channel("undici:request:create"),bodySent:kt.channel("undici:request:bodySent"),bodyChunkSent:kt.channel("undici:request:bodyChunkSent"),bodyChunkReceived:kt.channel("undici:request:bodyChunkReceived"),headers:kt.channel("undici:request:headers"),trailers:kt.channel("undici:request:trailers"),error:kt.channel("undici:request:error"),open:kt.channel("undici:websocket:open"),close:kt.channel("undici:websocket:close"),socketError:kt.channel("undici:websocket:socket_error"),ping:kt.channel("undici:websocket:ping"),pong:kt.channel("undici:websocket:pong"),proxyConnected:kt.channel("undici:proxy:connected")},Tv=!1;function KO(e=dc){if(!Tv){if(ci.beforeConnect.hasSubscribers||ci.connected.hasSubscribers||ci.connectError.hasSubscribers||ci.sendHeaders.hasSubscribers){Tv=!0;return}Tv=!0,kt.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)}),kt.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)}),kt.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)}),kt.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 Nv=!1;function Tme(e=dc){if(!Nv){if(ci.headers.hasSubscribers||ci.trailers.hasSubscribers||ci.error.hasSubscribers){Nv=!0;return}Nv=!0,kt.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)}),kt.subscribe("undici:request:trailers",t=>{let{request:{method:r,path:n,origin:i}}=t;e("trailers received from %s %s%s",r,i,n)}),kt.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 Mv=!1;function Nme(e=Ym){if(!Mv){if(ci.open.hasSubscribers||ci.close.hasSubscribers||ci.socketError.hasSubscribers||ci.ping.hasSubscribers||ci.pong.hasSubscribers){Mv=!0;return}Mv=!0,kt.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")}),kt.subscribe("undici:websocket:close",t=>{let{websocket:r,code:n,reason:i}=t;e("closed connection to %s - %s %s",r.url,n,i)}),kt.subscribe("undici:websocket:socket_error",t=>{e("connection errored - %s",t.message)}),kt.subscribe("undici:websocket:ping",t=>{e("ping received")}),kt.subscribe("undici:websocket:pong",t=>{e("pong received")})}}(dc.enabled||Lg.enabled)&&(KO(Lg.enabled?Lg:dc),Tme(Lg.enabled?Lg:dc));Ym.enabled&&(KO(dc.enabled?dc:Ym),Nme(Ym));XO.exports={channels:ci}});var e9=x((rOe,ZO)=>{"use strict";var{InvalidArgumentError:Mt,NotSupportedError:Mme}=wr(),vo=Jt(),{isValidHTTPToken:kv,isValidHeaderValue:Fv,isStream:xme,destroy:kme,isBuffer:Fme,isFormDataLike:Ume,isIterable:Lme,hasSafeIterator:Pme,isBlobLike:Ome,serializePathWithQuery:Hme,assertRequestHandler:qme,getServerName:Gme,normalizedMethodRecords:Yme,getProtocolFromUrlString:Wme}=tr(),{channels:Jn}=Pg(),{headerNameLowerCasedRecord:$O}=Rm(),Vme=/[^\u0021-\u00ff]/,Li=Symbol("handler"),Uv=class{constructor(t,{path:r,method:n,body:i,headers:s,query:o,idempotent:a,blocking:f,upgrade:u,headersTimeout:c,bodyTimeout:h,reset:y,expectContinue:b,servername:S,throwOnError:v,maxRedirections:L,typeOfService:U},P){if(typeof r!="string")throw new Mt("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new Mt("path must be an absolute URL or start with a slash");if(Vme.test(r))throw new Mt("invalid request path");if(typeof n!="string")throw new Mt("method must be a string");if(Yme[n]===void 0&&!kv(n))throw new Mt("invalid request method");if(u&&typeof u!="string")throw new Mt("upgrade must be a string");if(u&&!Fv(u))throw new Mt("invalid upgrade header");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Mt("invalid headersTimeout");if(h!=null&&(!Number.isFinite(h)||h<0))throw new Mt("invalid bodyTimeout");if(y!=null&&typeof y!="boolean")throw new Mt("invalid reset");if(b!=null&&typeof b!="boolean")throw new Mt("invalid expectContinue");if(v!=null)throw new Mt("invalid throwOnError");if(L!=null&&L!==0)throw new Mt("maxRedirections is not supported, use the redirect interceptor");if(U!=null&&(!Number.isInteger(U)||U<0||U>255))throw new Mt("typeOfService must be an integer between 0 and 255");if(this.headersTimeout=c,this.bodyTimeout=h,this.method=n,this.typeOfService=U??0,this.abort=null,i==null)this.body=null;else if(xme(i)){this.body=i;let Y=this.body._readableState;(!Y||!Y.autoDestroy)&&(this.endHandler=function(){kme(this)},this.body.on("end",this.endHandler)),this.errorHandler=V=>{this.abort?this.abort(V):this.error=V},this.body.on("error",this.errorHandler)}else if(Fme(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(Ume(i)||Lme(i)||Ome(i))this.body=i;else throw new Mt("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=u||null,this.path=o?Hme(r,o):r,this.origin=t,this.protocol=Wme(t),this.idempotent=a??(n==="HEAD"||n==="GET"),this.blocking=f??this.method!=="HEAD",this.reset=y??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=b??!1,Array.isArray(s)){if(s.length%2!==0)throw new Mt("headers array must be even");for(let Y=0;Y<s.length;Y+=2)Wm(this,s[Y],s[Y+1])}else if(s&&typeof s=="object")if(Pme(s))for(let Y of s){if(!Array.isArray(Y)||Y.length!==2)throw new Mt("headers must be in key-value pair format");Wm(this,Y[0],Y[1])}else{let Y=Object.keys(s);for(let V=0;V<Y.length;++V)Wm(this,Y[V],s[Y[V]])}else if(s!=null)throw new Mt("headers must be an object or an array");qme(P,n,u),this.servername=S||Gme(this.host)||null,this[Li]=P,Jn.create.hasSubscribers&&Jn.create.publish({request:this})}onBodySent(t){if(Jn.bodyChunkSent.hasSubscribers&&Jn.bodyChunkSent.publish({request:this,chunk:t}),this[Li].onBodySent)try{return this[Li].onBodySent(t)}catch(r){this.abort(r)}}onRequestSent(){if(Jn.bodySent.hasSubscribers&&Jn.bodySent.publish({request:this}),this[Li].onRequestSent)try{return this[Li].onRequestSent()}catch(t){this.abort(t)}}onConnect(t){if(vo(!this.aborted),vo(!this.completed),this.error)t(this.error);else return this.abort=t,this[Li].onConnect(t)}onResponseStarted(){return this[Li].onResponseStarted?.()}onHeaders(t,r,n,i){vo(!this.aborted),vo(!this.completed),Jn.headers.hasSubscribers&&Jn.headers.publish({request:this,response:{statusCode:t,headers:r,statusText:i}});try{return this[Li].onHeaders(t,r,n,i)}catch(s){this.abort(s)}}onData(t){vo(!this.aborted),vo(!this.completed),Jn.bodyChunkReceived.hasSubscribers&&Jn.bodyChunkReceived.publish({request:this,chunk:t});try{return this[Li].onData(t)}catch(r){return this.abort(r),!1}}onUpgrade(t,r,n){return vo(!this.aborted),vo(!this.completed),this[Li].onUpgrade(t,r,n)}onComplete(t){this.onFinally(),vo(!this.aborted),vo(!this.completed),this.completed=!0,Jn.trailers.hasSubscribers&&Jn.trailers.publish({request:this,trailers:t});try{return this[Li].onComplete(t)}catch(r){this.onError(r)}}onError(t){if(this.onFinally(),Jn.error.hasSubscribers&&Jn.error.publish({request:this,error:t}),!this.aborted)return this.aborted=!0,this[Li].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 Wm(this,t,r),this}};function Wm(e,t,r){if(r&&typeof r=="object"&&!Array.isArray(r))throw new Mt(`invalid ${t} header`);if(r===void 0)return;let n=$O[t];if(n===void 0&&(n=t.toLowerCase(),$O[n]===void 0&&!kv(n)))throw new Mt("invalid header key");if(Array.isArray(r)){let i=[];for(let s=0;s<r.length;s++)if(typeof r[s]=="string"){if(!Fv(r[s]))throw new Mt(`invalid ${t} header`);i.push(r[s])}else if(r[s]===null)i.push("");else{if(typeof r[s]=="object")throw new Mt(`invalid ${t} header`);i.push(`${r[s]}`)}r=i}else if(typeof r=="string"){if(!Fv(r))throw new Mt(`invalid ${t} header`)}else r===null?r="":r=`${r}`;if(n==="host"){if(e.host!==null)throw new Mt("duplicate host header");if(typeof r!="string")throw new Mt("invalid host header");e.host=r}else if(n==="content-length"){if(e.contentLength!==null)throw new Mt("duplicate content-length header");if(e.contentLength=parseInt(r,10),!Number.isFinite(e.contentLength))throw new Mt("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 Mt(`invalid ${n} header`);if(n==="connection"){let i=typeof r=="string"?r:null;if(i===null)throw new Mt("invalid connection header");for(let s of i.toLowerCase().split(",")){let o=s.trim();if(!kv(o))throw new Mt("invalid connection header");o==="close"&&(e.reset=!0)}}else{if(n==="expect")throw new Mme("expect header not supported");e.headers.push(t,r)}}}ZO.exports=Uv});var Lv=x((nOe,r9)=>{"use strict";function Jme(){let e=globalThis._tlsModule;if(!e)throw new Error("node:tls bridge module is not available");return e}var t9={};for(let e of["connect","createServer","createSecureContext","TLSSocket","Server","checkServerIdentity","getCiphers","rootCertificates"])Object.defineProperty(t9,e,{enumerable:!0,get(){return Jme()[e]}});r9.exports=t9});var Ov=x((sOe,s9)=>{"use strict";var jme=Qg(),n9=Jt(),i9=tr(),{InvalidArgumentError:zme}=wr(),Pv,Kme=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 Xme({allowH2:e,useH2c:t,maxCachedSessions:r,socketPath:n,timeout:i,session:s,...o}){if(r!=null&&(!Number.isInteger(r)||r<0))throw new zme("maxCachedSessions must be a positive integer or zero");let a={path:n,...o},f=new Kme(r??100);return i=i??1e4,e=e??!1,function({hostname:c,host:h,protocol:y,port:b,servername:S,localAddress:v,httpSocket:L},U){let P;if(y==="https:"){Pv||(Pv=Lv()),S=S||a.servername||i9.getServerName(h)||null;let V=S||c;n9(V);let X=s||f.get(V)||null;b=b||443,P=Pv.connect({highWaterMark:16384,...a,servername:S,session:X,localAddress:v,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:L,port:b,host:c}),P.on("session",function(j){f.set(V,j)})}else n9(!L,"httpSocket can only be sent on TLS update"),b=b||80,P=jme.connect({highWaterMark:64*1024,...a,localAddress:v,port:b,host:c}),t===!0&&(P.alpnProtocol="h2");if(a.keepAlive==null||a.keepAlive){let V=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;P.setKeepAlive(!0,V)}let Y=i9.setupConnectTimeout(new WeakRef(P),{timeout:i,hostname:c,port:b});return P.setNoDelay(!0).once(y==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(Y),U){let V=U;U=null,V(null,this)}}).on("error",function(V){if(queueMicrotask(Y),U){let X=U;U=null,X(V)}}),P}}s9.exports=Xme});var o9=x(Hv=>{"use strict";Object.defineProperty(Hv,"__esModule",{value:!0});Hv.enumToMap=$me;function $me(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 a9=x(G=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0});G.SPECIAL_HEADERS=G.MINOR=G.MAJOR=G.HTAB_SP_VCHAR_OBS_TEXT=G.QUOTED_STRING=G.CONNECTION_TOKEN_CHARS=G.HEADER_CHARS=G.TOKEN=G.HEX=G.URL_CHAR=G.USERINFO_CHARS=G.MARK=G.ALPHANUM=G.NUM=G.HEX_MAP=G.NUM_MAP=G.ALPHA=G.STATUSES_HTTP=G.H_METHOD_MAP=G.METHOD_MAP=G.METHODS_RTSP=G.METHODS_ICE=G.METHODS_HTTP=G.HEADER_STATE=G.FINISH=G.STATUSES=G.METHODS=G.LENIENT_FLAGS=G.FLAGS=G.TYPE=G.ERROR=void 0;var Zme=o9();G.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};G.TYPE={BOTH:0,REQUEST:1,RESPONSE:2};G.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};G.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};G.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};G.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};G.FINISH={SAFE:0,SAFE_WITH_CB:1,UNSAFE:2};G.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};G.METHODS_HTTP=[G.METHODS.DELETE,G.METHODS.GET,G.METHODS.HEAD,G.METHODS.POST,G.METHODS.PUT,G.METHODS.CONNECT,G.METHODS.OPTIONS,G.METHODS.TRACE,G.METHODS.COPY,G.METHODS.LOCK,G.METHODS.MKCOL,G.METHODS.MOVE,G.METHODS.PROPFIND,G.METHODS.PROPPATCH,G.METHODS.SEARCH,G.METHODS.UNLOCK,G.METHODS.BIND,G.METHODS.REBIND,G.METHODS.UNBIND,G.METHODS.ACL,G.METHODS.REPORT,G.METHODS.MKACTIVITY,G.METHODS.CHECKOUT,G.METHODS.MERGE,G.METHODS["M-SEARCH"],G.METHODS.NOTIFY,G.METHODS.SUBSCRIBE,G.METHODS.UNSUBSCRIBE,G.METHODS.PATCH,G.METHODS.PURGE,G.METHODS.MKCALENDAR,G.METHODS.LINK,G.METHODS.UNLINK,G.METHODS.PRI,G.METHODS.SOURCE,G.METHODS.QUERY];G.METHODS_ICE=[G.METHODS.SOURCE];G.METHODS_RTSP=[G.METHODS.OPTIONS,G.METHODS.DESCRIBE,G.METHODS.ANNOUNCE,G.METHODS.SETUP,G.METHODS.PLAY,G.METHODS.PAUSE,G.METHODS.TEARDOWN,G.METHODS.GET_PARAMETER,G.METHODS.SET_PARAMETER,G.METHODS.REDIRECT,G.METHODS.RECORD,G.METHODS.FLUSH,G.METHODS.GET,G.METHODS.POST];G.METHOD_MAP=(0,Zme.enumToMap)(G.METHODS);G.H_METHOD_MAP=Object.fromEntries(Object.entries(G.METHODS).filter(([e])=>e.startsWith("H")));G.STATUSES_HTTP=[G.STATUSES.CONTINUE,G.STATUSES.SWITCHING_PROTOCOLS,G.STATUSES.PROCESSING,G.STATUSES.EARLY_HINTS,G.STATUSES.RESPONSE_IS_STALE,G.STATUSES.REVALIDATION_FAILED,G.STATUSES.DISCONNECTED_OPERATION,G.STATUSES.HEURISTIC_EXPIRATION,G.STATUSES.MISCELLANEOUS_WARNING,G.STATUSES.OK,G.STATUSES.CREATED,G.STATUSES.ACCEPTED,G.STATUSES.NON_AUTHORITATIVE_INFORMATION,G.STATUSES.NO_CONTENT,G.STATUSES.RESET_CONTENT,G.STATUSES.PARTIAL_CONTENT,G.STATUSES.MULTI_STATUS,G.STATUSES.ALREADY_REPORTED,G.STATUSES.TRANSFORMATION_APPLIED,G.STATUSES.IM_USED,G.STATUSES.MISCELLANEOUS_PERSISTENT_WARNING,G.STATUSES.MULTIPLE_CHOICES,G.STATUSES.MOVED_PERMANENTLY,G.STATUSES.FOUND,G.STATUSES.SEE_OTHER,G.STATUSES.NOT_MODIFIED,G.STATUSES.USE_PROXY,G.STATUSES.SWITCH_PROXY,G.STATUSES.TEMPORARY_REDIRECT,G.STATUSES.PERMANENT_REDIRECT,G.STATUSES.BAD_REQUEST,G.STATUSES.UNAUTHORIZED,G.STATUSES.PAYMENT_REQUIRED,G.STATUSES.FORBIDDEN,G.STATUSES.NOT_FOUND,G.STATUSES.METHOD_NOT_ALLOWED,G.STATUSES.NOT_ACCEPTABLE,G.STATUSES.PROXY_AUTHENTICATION_REQUIRED,G.STATUSES.REQUEST_TIMEOUT,G.STATUSES.CONFLICT,G.STATUSES.GONE,G.STATUSES.LENGTH_REQUIRED,G.STATUSES.PRECONDITION_FAILED,G.STATUSES.PAYLOAD_TOO_LARGE,G.STATUSES.URI_TOO_LONG,G.STATUSES.UNSUPPORTED_MEDIA_TYPE,G.STATUSES.RANGE_NOT_SATISFIABLE,G.STATUSES.EXPECTATION_FAILED,G.STATUSES.IM_A_TEAPOT,G.STATUSES.PAGE_EXPIRED,G.STATUSES.ENHANCE_YOUR_CALM,G.STATUSES.MISDIRECTED_REQUEST,G.STATUSES.UNPROCESSABLE_ENTITY,G.STATUSES.LOCKED,G.STATUSES.FAILED_DEPENDENCY,G.STATUSES.TOO_EARLY,G.STATUSES.UPGRADE_REQUIRED,G.STATUSES.PRECONDITION_REQUIRED,G.STATUSES.TOO_MANY_REQUESTS,G.STATUSES.REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL,G.STATUSES.REQUEST_HEADER_FIELDS_TOO_LARGE,G.STATUSES.LOGIN_TIMEOUT,G.STATUSES.NO_RESPONSE,G.STATUSES.RETRY_WITH,G.STATUSES.BLOCKED_BY_PARENTAL_CONTROL,G.STATUSES.UNAVAILABLE_FOR_LEGAL_REASONS,G.STATUSES.CLIENT_CLOSED_LOAD_BALANCED_REQUEST,G.STATUSES.INVALID_X_FORWARDED_FOR,G.STATUSES.REQUEST_HEADER_TOO_LARGE,G.STATUSES.SSL_CERTIFICATE_ERROR,G.STATUSES.SSL_CERTIFICATE_REQUIRED,G.STATUSES.HTTP_REQUEST_SENT_TO_HTTPS_PORT,G.STATUSES.INVALID_TOKEN,G.STATUSES.CLIENT_CLOSED_REQUEST,G.STATUSES.INTERNAL_SERVER_ERROR,G.STATUSES.NOT_IMPLEMENTED,G.STATUSES.BAD_GATEWAY,G.STATUSES.SERVICE_UNAVAILABLE,G.STATUSES.GATEWAY_TIMEOUT,G.STATUSES.HTTP_VERSION_NOT_SUPPORTED,G.STATUSES.VARIANT_ALSO_NEGOTIATES,G.STATUSES.INSUFFICIENT_STORAGE,G.STATUSES.LOOP_DETECTED,G.STATUSES.BANDWIDTH_LIMIT_EXCEEDED,G.STATUSES.NOT_EXTENDED,G.STATUSES.NETWORK_AUTHENTICATION_REQUIRED,G.STATUSES.WEB_SERVER_UNKNOWN_ERROR,G.STATUSES.WEB_SERVER_IS_DOWN,G.STATUSES.CONNECTION_TIMEOUT,G.STATUSES.ORIGIN_IS_UNREACHABLE,G.STATUSES.TIMEOUT_OCCURED,G.STATUSES.SSL_HANDSHAKE_FAILED,G.STATUSES.INVALID_SSL_CERTIFICATE,G.STATUSES.RAILGUN_ERROR,G.STATUSES.SITE_IS_OVERLOADED,G.STATUSES.SITE_IS_FROZEN,G.STATUSES.IDENTITY_PROVIDER_AUTHENTICATION_ERROR,G.STATUSES.NETWORK_READ_TIMEOUT,G.STATUSES.NETWORK_CONNECT_TIMEOUT];G.ALPHA=[];for(let e=65;e<=90;e++)G.ALPHA.push(String.fromCharCode(e)),G.ALPHA.push(String.fromCharCode(e+32));G.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};G.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};G.NUM=["0","1","2","3","4","5","6","7","8","9"];G.ALPHANUM=G.ALPHA.concat(G.NUM);G.MARK=["-","_",".","!","~","*","'","(",")"];G.USERINFO_CHARS=G.ALPHANUM.concat(G.MARK).concat(["%",";",":","&","=","+","$",","]);G.URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(G.ALPHANUM);G.HEX=G.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);G.TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(G.ALPHANUM);G.HEADER_CHARS=[" "];for(let e=32;e<=255;e++)e!==127&&G.HEADER_CHARS.push(e);G.CONNECTION_TOKEN_CHARS=G.HEADER_CHARS.filter(e=>e!==44);G.QUOTED_STRING=[" "," "];for(let e=33;e<=255;e++)e!==34&&e!==92&&G.QUOTED_STRING.push(e);G.HTAB_SP_VCHAR_OBS_TEXT=[" "," "];for(let e=33;e<=126;e++)G.HTAB_SP_VCHAR_OBS_TEXT.push(e);for(let e=128;e<=255;e++)G.HTAB_SP_VCHAR_OBS_TEXT.push(e);G.MAJOR=G.NUM_MAP;G.MINOR=G.MAJOR;G.SPECIAL_HEADERS={connection:G.HEADER_STATE.CONNECTION,"content-length":G.HEADER_STATE.CONTENT_LENGTH,"proxy-connection":G.HEADER_STATE.CONNECTION,"transfer-encoding":G.HEADER_STATE.TRANSFER_ENCODING,upgrade:G.HEADER_STATE.UPGRADE};G.default={ERROR:G.ERROR,TYPE:G.TYPE,FLAGS:G.FLAGS,LENIENT_FLAGS:G.LENIENT_FLAGS,METHODS:G.METHODS,STATUSES:G.STATUSES,FINISH:G.FINISH,HEADER_STATE:G.HEADER_STATE,ALPHA:G.ALPHA,NUM_MAP:G.NUM_MAP,HEX_MAP:G.HEX_MAP,NUM:G.NUM,ALPHANUM:G.ALPHANUM,MARK:G.MARK,USERINFO_CHARS:G.USERINFO_CHARS,URL_CHAR:G.URL_CHAR,HEX:G.HEX,TOKEN:G.TOKEN,HEADER_CHARS:G.HEADER_CHARS,CONNECTION_TOKEN_CHARS:G.CONNECTION_TOKEN_CHARS,QUOTED_STRING:G.QUOTED_STRING,HTAB_SP_VCHAR_OBS_TEXT:G.HTAB_SP_VCHAR_OBS_TEXT,MAJOR:G.MAJOR,MINOR:G.MINOR,SPECIAL_HEADERS:G.SPECIAL_HEADERS,METHODS_HTTP:G.METHODS_HTTP,METHODS_ICE:G.METHODS_ICE,METHODS_RTSP:G.METHODS_RTSP,METHOD_MAP:G.METHOD_MAP,H_METHOD_MAP:G.H_METHOD_MAP,STATUSES_HTTP:G.STATUSES_HTTP}});var Gv=x((fOe,f9)=>{"use strict";var{Buffer:ebe}=ur(),tbe="AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAn9/AGABfwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAzU0BQYAAAMAAAAAAAADAQMAAwMDAAACAAAAAAICAgICAgICAgIBAQEBAQEBAQEBAwAAAwAAAAQFAXABExMFAwEAAgYIAX8BQcDZBAsHxQcoBm1lbW9yeQIAC19pbml0aWFsaXplAAgZX19pbmRpcmVjdF9mdW5jdGlvbl90YWJsZQEAC2x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yAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgL5YUCAgd/A34gASACaiEEAkAgACIDKAIMIgANACADKAIEBEAgAyABNgIECyMAQRBrIgkkAAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAygCHCICQQJrDvwBAfkBAgMEBQYHCAkKCwwNDg8QERL4ARP3ARQV9gEWF/UBGBkaGxwdHh8g/QH7ASH0ASIjJCUmJygpKivzASwt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0HKAQwUC0HLAQwTC0HMAQwSC0HNAQwRC0HOAQwQC0HPAQwPC0HQAQwOC0HRAQwNC0HSAQwMC0HTAQwLC0HUAQwKC0HVAQwJC0HWAQwIC0HjAQwHC0HXAQwGC0HYAQwFC0HZAQwEC0HaAQwDC0HbAQwCC0HdAQwBC0HcAQshAgNAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJ/AkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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ANBFDYCDAyTAwtBACECIANBADYCHCADIAE2AhQgA0G+IDYCECADQQI2AgwMkgMLIAMoAgQhAEEAIQIgA0EANgIEIAMgACABIAynaiIBEDIiAEUNKyADQQc2AhwgAyABNgIUIAMgADYCDAyRAwsgAy0ALkHAAHFFDQELQQAhAAJAIAMoAjgiAkUNACACKAJYIgJFDQAgAyACEQAAIQALIABFDSsgAEEVRgRAIANBCjYCHCADIAE2AhQgA0HrGTYCECADQRU2AgxBACECDJADC0EAIQIgA0EANgIcIAMgATYCFCADQZMMNgIQIANBEzYCDAyPAwtBACECIANBADYCHCADIAE2AhQgA0GCFTYCECADQQI2AgwMjgMLQQAhAiADQQA2AhwgAyABNgIUIANB3RQ2AhAgA0EZNgIMDI0DC0EAIQIgA0EANgIcIAMgATYCFCADQeYdNgIQIANBGTYCDAyMAwsgAEEVRg09QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIsDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFDSggA0ENNgIcIAMgATYCFCADIAA2AgwMigMLIABBFUYNOkEAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAyJAwsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQwoCyADQQ42AhwgAyAANgIMIAMgAUEBajYCFAyIAwsgAEEVRg03QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIcDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDCcLIANBDzYCHCADIAA2AgwgAyABQQFqNgIUDIYDC0EAIQIgA0EANgIcIAMgATYCFCADQeIXNgIQIANBGTYCDAyFAwsgAEEVRg0zQQAhAiADQQA2AhwgAyABNgIUIANB1gw2AhAgA0EjNgIMDIQDCyADKAIEIQBBACECIANBADYCBCADIAAgARA0IgBFDSUgA0ERNgIcIAMgATYCFCADIAA2AgwMgwMLIABBFUYNMEEAIQIgA0EANgIcIAMgATYCFCADQdYMN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EADQCABLQAAQSBHDYQCIAQgAUEBaiIBRw0AC0EsIQIM7wILQSwhAgzuAgsgASAERgRAQTQhAgzuAgsCQAJAA0ACQCABLQAAQQprDgQCAAADAAsgBCABQQFqIgFHDQALQTQhAgzvAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDZ8CIANBMjYCHCADIAE2AhQgAyAANgIMQQAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFBEAgAUEBaiEBDJ8CCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM7QILIAEgBEcEQAJAA0AgAS0AAEEwayIAQf8BcUEKTwRAQTohAgzXAgsgAykDICILQpmz5syZs+bMGVYNASADIAtCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAMgCiALfDcDICAEIAFBAWoiAUcNAAtBwAAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgAUEBaiIBEDEiAA0XDOICC0HAACECDOwCCyABIARGBEBByQAhAgzsAgsCQANAAkAgAS0AAEEJaw4YAAKiAqICqQKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogIAogILIAQgAUEBaiIBRw0AC0HJACECDOwCCyABQQFqIQEgA0Evai0AAEEBcQ2lAiADQQA2AhwgAyABNgIUIANBlxA2AhAgA0EKNgIMQQAhAgzrAgsgASAERwRAA0AgAS0AAEEgRw0VIAQgAUEBaiIBRw0AC0H4ACECDOsCC0H4ACECDOoCCyADQQI6ACgMOAtBACECIANBADYCHCADQb8LNgIQIANBAjYCDCADIAFBAWo2AhQM6AILQQAhAgzOAgtBDSECDM0CC0ETIQIMzAILQRUhAgzLAgtBFiECDMoCC0EYIQIMyQILQRkhAgzIAgtBGiECDMcCC0EbIQIMxgILQRwhAgzFAgtBHSECDMQCC0EeIQIMwwILQR8hAgzCAgtBICECDMECC0EiIQIMwAILQSMhAgy/AgtBJSECDL4CC0HlACECDL0CCyADQT02AhwgAyABNgIUIAMgADYCDEEAIQIM1QILIANBGzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDNQCCyADQSA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzTAgsgA0ETNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0gILIANBCzYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNECCyADQRA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzQAgsgA0EgNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzwILIANBCzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM4CCyADQQw2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzNAgtBACECIANBADYCHCADIAE2AhQgA0HdDjYCECADQRI2AgwMzAILAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB/QEhAgzMAgsCQAJAIAMtADZBAUcNAEEAIQACQCADKAI4IgJFDQAgAigCYCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUcNASADQfwBNgIcIAMgATYCFCADQdwZNgIQIANBFTYCDEEAIQIMzQILQdwBIQIMswILIANBADYCHCADIAE2AhQgA0H5CzYCECADQR82AgxBACECDMsCCwJAAkAgAy0AKEEBaw4CBAEAC0HbASECDLICC0HUASECDLECCyADQQI6ADFBACEAAkAgAygCOCICRQ0AIAIoAgAiAkUNACADIAIRAAAhAAsgAEUEQEHdASECDLECCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQbQMNgIQIANBEDYCDEEAIQIMygILIANB+wE2AhwgAyABNgIUIANBgRo2AhAgA0EVNgIMQQAhAgzJAgsgASAERgRAQfoBIQIMyQILIAEtAABByABGDQEgA0EBOgAoC0HAASECDK4CC0HaASECDK0CCyABIARHBEAgA0EMNgIIIAMgATYCBEHZASECDK0CC0H5ASECDMUCCyABIARGBEBB+AEhAgzFAgsgAS0AAEHIAEcNBCABQQFqIQFB2AEhAgyrAgsgASAERgRAQfcBIQIMxAILAkACQCABLQAAQcUAaw4QAAUFBQUFBQUFBQUFBQUFAQULIAFBAWohAUHWASECDKsCCyABQQFqIQFB1wEhAgyqAgtB9gEhAiABIARGDcICIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbrVAGotAABHDQMgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMMCCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIARQRAQeMBIQIMqgILIANB9QE2AhwgAyABNgIUIAMgADYCDEEAIQIMwgILQfQBIQIgASAERg3BAiADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEG41QBqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzCAgsgA0GBBDsBKCADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIADQMMAgsgA0EANgIAC0EAIQIgA0EANgIcIAMgATYCFCADQeUfNgIQIANBCDYCDAy/AgtB1QEhAgylAgsgA0HzATYCHCADIAE2AhQgAyAANgIMQQAhAgy9AgtBACEAAkAgAygCOCICRQ0AIAIoAkAiAkUNACADIAIRAAAhAAsgAEUNbiAAQRVHBEAgA0EANgIcIAMgATYCFCADQYIPNgIQIANBIDYCDEEAIQIMvQILIANBjwE2AhwgAyABNgIUIANB7Bs2AhAgA0EVNgIMQQAhAgy8AgsgASAERwRAIANBDTYCCCADIAE2AgRB0wEhAgyjAgtB8gEhAgy7AgsgASAERgRAQfEBIQIMuwILAkACQAJAIAEtAABByABrDgsAAQgICAgICAgIAggLIAFBAWohAUHQASECDKMCCyABQQFqIQFB0QEhAgyiAgsgAUEBaiEBQdIBIQIMoQILQfABIQIgASAERg25AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBtdUAai0AAEcNBCAAQQJGDQMgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuQILQe8BIQIgASAERg24AiADKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABBs9UAai0AAEcNAyAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuAILQe4BIQIgASAERg23AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMtwILIAMoAgQhACADQgA3AwAgAyAAIAVBAWoiARArIgBFDQIgA0HsATYCHCADIAE2AhQgAyAANgIMQQAhAgy2AgsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNnAIgA0HtATYCHCADIAE2AhQgAyAANgIMQQAhAgy0AgtBzwEhAgyaAgtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDLQCC0HOASECDJoCCyADQesBNgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMsgILIAEgBEYEQEHrASECDLICCyABLQAAQS9GBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GyODYCECADQQg2AgxBACECDLECC0HNASECDJcCCyABIARHBEAgA0EONgIIIAMgATYCBEHMASECDJcCC0HqASECDK8CCyABIARGBEBB6QEhAgyvAgsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFBywEhAgyWAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZcCIANB6AE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAEgBEYEQEHnASECDK4CCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5gE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILQcoBIQIMlAILIAEgBEYEQEHlASECDK0CC0EAIQBBASEFQQEhB0EAIQICQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQCABLQAAQTBrDgoKCQABAgMEBQYICwtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshAkEAIQVBACEHDAILQQkhAkEBIQBBACEFQQAhBwwBC0EAIQVBASECCyADIAI6ACsgAUEBaiEBAkACQCADLQAuQRBxDQACQAJAAkAgAy0AKg4DAQACBAsgB0UNAwwCCyAADQEMAgsgBUUNAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDQIgA0HiATYCHCADIAE2AhQgAyAANgIMQQAhAgyvAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZoCIANB4wE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ2YAiADQeQBNgIcIAMgATYCFCADIAA2AgwMrQILQckBIQIMkwILQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANBpA02AhAgA0EhNgIMQQAhAgytAgtByAEhAgyTAgsgA0HhATYCHCADIAE2AhQgA0HQGjYCECADQRU2AgxBACECDKsCCyABIARGBEBB4QEhAgyrAgsCQCABLQAAQSBGBEAgA0EAOwE0IAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBmRE2AhAgA0EJNgIMQQAhAgyrAgtBxwEhAgyRAgsgASAERgRAQeABIQIMqgILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyrAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqgILQcYBIQIMkAILIAEgBEYEQEHfASECDKkCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqgILIANBADYCHCADIAE2AhQgA0G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EgBEYEQEG5ASECDP4BCyABLQAAQdAARw0rIAFBAWohAUGgASECDOQBCyABIARGBEBBuAEhAgz9AQsCQAJAIAEtAABBxgBrDgsALCwsLCwsLCwsASwLIAFBAWohAUGeASECDOQBCyABQQFqIQFBnwEhAgzjAQtBtwEhAiABIARGDfsBIAMoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQezUAGotAABHDSggAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPwBCyADQQA2AgAgBkEBaiEBQQ0MKAtBtgEhAiABIARGDfoBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQaHVAGotAABHDScgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPsBCyADQQA2AgAgBkEBaiEBQQwMJwtBtQEhAiABIARGDfkBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQerUAGotAABHDSYgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPoBCyADQQA2AgAgBkEBaiEBQQMMJgtBtAEhAiABIARGDfgBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQejUAGotAABHDSUgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPkBCyADQQA2AgAgBkEBaiEBQSYMJQsgASAERgRAQbMBIQIM+AELAkACQCABLQAAQdQAaw4CAAEnCyABQQFqIQFBmQEhAgzfAQsgAUEBaiEBQZoBIQIM3gELQbIBIQIgASAERg32ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHm1ABqLQAARw0jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz3AQsgA0EANgIAIAZBAWohAUEnDCMLQbEBIQIgASAERg31ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHk1ABqLQAARw0iIABBAUYNASAAQQFqIQAgBC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EgAygCACIAIAQgAWtqIQUgASAAa0EGaiEGAkADQCABLQAAIABBytQAai0AAEcNGSAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7QELIANBADYCACAGQQFqIQFBFQwZC0GnASECIAEgBEYN6wEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBx9QAai0AAEcNGCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7AELIANBADYCACAGQQFqIQFBFwwYC0GmASECIAEgBEYN6gEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBwdQAai0AAEcNFyAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6wELIANBADYCACAGQQFqIQFBGAwXCyABIARGBEBBpQEhAgzqAQsCQAJAIAEtAABByQBrDgcAGRkZGRkBGQsgAUEBaiEBQYsBIQIM0QELIAFBAWohAUGMASECDNABC0GkASECIAEgBEYN6AEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBptUAai0AAEcNFSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6QELIANBADYCACAGQQFqIQFBCQwVC0GjASECIAEgBEYN5wEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBpNUAai0AAEcNFCAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6AELIANBADYCACAGQQFqIQFBHwwUC0GiASECIAEgBEYN5gEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBvtQAai0AAEcNEyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5wELIANBADYCACAGQQFqIQFBAgwTC0GhASECIAEgBEYN5QEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGA0AgAS0AACAAQbzUAGotAABHDREgAEEBRg0CIABBAWohACAEIAFBAWoiAUcNAAs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AcLQZYBIQIgASAERg3ZASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEGs1ABqLQAARw0GIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzaAQsgA0EANgIAIAZBAWohAUEFDAYLQZUBIQIgASAERg3YASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGm1ABqLQAARw0FIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzZAQsgA0EANgIAIAZBAWohAUEWDAULQZQBIQIgASAERg3XASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGh1QBqLQAARw0EIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzYAQsgA0EANgIAIAZBAWohAUEQDAQLIAEgBEYEQEGTASECDNcBCwJAAkAgAS0AAEHDAGsODAAGBgYGBgYGBgYGAQYLIAFBAWohAUH5ACECDL4BCyABQQFqIQFB+gAhAgy9AQtBkgEhAiABIARGDdUBIAMoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQaDUAGotAABHDQIgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNYBCyADQQA2AgAgBkEBaiEBQSQMAgsgA0EANgIADAILIAEgBEYEQEGRASECDNQBCyABLQAAQcwARw0BIAFBAWohAUETCzoAKSADKAIEIQAgA0EANgIEIAMgACABEC4iAA0CDAELQQAhAiADQQA2AhwgAyABNgIUIANB/h82AhAgA0EGNgIMDNEBC0H4ACECDLcBCyADQZABNgIcIAMgATYCFCADIAA2AgxBACECDM8BC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUYNASADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgzOAQtB9wAhAgy0AQsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDMwBCyABIARGBEBBjwEhAgzMA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0IIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0IIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIANBADYCHCADIAE2AhQgA0GNFDYCECADQQc2AgxBACECDKgBCwJAAkACQAJAA0AgAS0AAEGgygBqLQAAIgBBBUcEQAJAIABBAWsOBi4DBAUGAAYLQegAIQIMlAELIAQgAUEBaiIBRw0AC0H9ACECDKsBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQdsANgIcIAMgATYCFCADIAA2AgxBACECDKoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDKkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQfoANgIcIAMgATYCFCADIAA2AgxBACECDKgBCyADQQA2AhwgAyABNgIUIANB5Ag2AhAgA0EHNgIMQQAhAgynAQsgASAERg0BIAFBAWoLIQFBBiECDIwBC0H8ACECDKQBCwJAAkACQAJAA0AgAS0AAEGgyABqLQAAIgBBBUcEQCAAQQFrDgQpAgMEBQsgBCABQQFqIgFHDQALQfsAIQIMpwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMpgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMpQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMpAELIANBADYCHCADIAE2AhQgA0G8CjYCECADQQc2AgxBACECDKMBC0HPACECDIkBC0HRACECDIgBC0HnACECDIcBCyABIARGBEBB+gAhAgygAQsCQCABLQAAQQlrDgQgAAAgAAsgAUEBaiEBQeYAIQIMhgELIAEgBEYEQEH5ACECDJ8BCwJAIAEtAABBCWsOBB8AAB8AC0EAIQACQCADKAI4IgJFDQAgAigCOCIC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ABNgIUIANB6g02AhAgA0EmNgIMQQAhAgyZAQtB3gAhAgx/CyADQfAANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMlwELIAMtAClBIUYNBiADQQA2AhwgAyABNgIUIANBkQo2AhAgA0EINgIMQQAhAgyWAQtB7wAhAiABIARGDZUBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDVAGotAABHDQIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJYBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIARQ0CIANB7QA2AhwgAyABNgIUIAMgADYCDEEAIQIMlQELIANBADYCAAsgAygCBCEAIANBADYCBCADIAAgARArIgBFDYABIANB7gA2AhwgAyABNgIUIAMgADYCDEEAIQIMkwELQdwAIQIMeQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJMBC0HbACECDHkLIANB7AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyRAQsgAy0AKSIAQSNJDQAgAEEuRg0AIANBADYCHCADIAE2AhQgA0HJCTYCECADQQg2AgxBACECDJABC0HaACECDHYLIAEgBEYEQEHrACECDI8BCwJAIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMjwELQdkAIQIMdQsgASAERwRAIANBDjYCCCADIAE2AgRB2AAhAgx1C0HqACECDI0BCyABIARGBEBB6QAhAgyNAQsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFB1wAhAgx0CyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeiADQegANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyABIARGBEBB5wAhAgyMAQsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ17IANB5gA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELQdYAIQIMcgsgASAERgRAQeUAIQIMiwELQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIANgIcIAMgATYCFCADIAA2AgxBACECDI0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNfSADQeMANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeyADQeQANgIcIAMgATYCFCADIAA2AgwMiwELQdQAIQIMcQsgAy0AKUEiRg2GAUHTACECDHALQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALIABFBEBB1QAhAgxwCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQaQNNgIQIANBITYCDEEAIQIMiQELIANB4QA2AhwgAyABNgIUIANB0Bo2AhAgA0EVNgIMQQAhAgyIAQsgASAERgRAQeAAIQIMiAELAkACQAJAAkACQCABLQAAQQprDgQBBAQABAsgAUEBaiEBDAELIAFBAWohASADQS9qLQAAQQFxRQ0BC0HSACECDHALIANBADYCHCADIAE2AhQgA0G2ETYCECADQQk2AgxBACECDIgBCyADQQA2AhwgAyABNgIUIANBthE2AhAgA0EJNgIMQQAhAgyHAQsgASAERgRAQd8AIQIMhwELIAEtAABBCkYEQCABQQFqIQEMCQsgAy0ALkHAAHENCCADQQA2AhwgAyABNgIUIANBthE2AhAgA0ECNgIMQQAhAgyGAQsgASAERgRAQd0AIQIMhgELIAEtAAAiAkENRgRAIAFBAWohAUHQACECDG0LIAEhACACQQlrDgQFAQEFAQsgBCABIgBGBEBB3AAhAgyFAQsgAC0AAEEKRw0AIABBAWoMAgtBACECIANBADYCHCADIAA2AhQgA0HKLTYCECADQQc2AgwMgwELIAEgBEYEQEHbACECDIMBCwJAIAEtAABBCWsOBAMAAAMACyABQQFqCyEBQc4AIQIMaAsgASAERgRAQdoAIQIMgQELIAEtAABBCWsOBAABAQABC0EAIQIgA0EANgIcIANBmhI2AhAgA0EHNgIMIAMgAUEBajYCFAx/CyADQYASOwEqQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB2QA2AhwgAyABNgIUIANB6ho2AhAgA0EVNgIMQQAhAgx+C0HNACECDGQLIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDHwLIAEgBEYEQEHZACECDHwLIAEtAABBIEcNPSABQQFqIQEgAy0ALkEBcQ09IANBADYCHCADIAE2AhQgA0HCHDYCECADQR42AgxBACECDHsLIAEgBEYEQEHYACECDHsLAkACQAJAAkACQCABLQAAIgBBCmsOBAIDAwABCyABQQFqIQFBLCECDGULIABBOkcNASADQQA2AhwgAyABNgIUIANB5xE2AhAgA0EKNgIMQQAhAgx9CyABQQFqIQEgA0Evai0AAEEBcUUNcyADLQAyQYABcUUEQCADQTJqIQIgAxA1QQAhAAJAIAMoAjgiBkUNACAGKAIoIgZFDQAgAyAGEQAAIQALAkACQCAADhZNTEsBAQEBAQEBAQEBAQEBAQEBAQEAAQsgA0EpNgIcIAMgATYCFCADQawZNgIQIANBFTYCDEEAIQIMfgsgA0EANgIcIAMgATYCFCADQeULNgIQIANBETYCDEEAIQIMfQtBACEAAkAgAygCOCICRQ0AIAIoAlwiAkUNACADIAIRAAAhAAsgAEUNWSAAQRVHDQEgA0EFNgIcIAMgATYCFCADQZsbNgIQIANBFTYCDEEAIQIMfAtBywAhAgxiC0EAIQIgA0EANgIcIAMgATYCFCADQZAONgIQIANBFDY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AEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgLhocCAwd/A34BeyABIAJqIQQCQCAAIgMoAgwiAA0AIAMoAgQEQCADIAE2AgQLIwBBEGsiCSQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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AQwqC0G2AQwpC0G3AQwoC0G4AQwnC0G5AQwmC0G6AQwlC0G7AQwkC0G8AQwjC0G9AQwiC0G+AQwhC0G/AQwgC0HAAQwfC0HBAQweC0HCAQwdC0EBDBwLQcMBDBsLQcQBDBoLQcUBDBkLQcYBDBgLQccBDBcLQcgBDBYLQckBDBULQcoBDBQLQcsBDBMLQcwBDBILQc0BDBELQc4BDBALQc8BDA8LQdABDA4LQdEBDA0LQdIBDAwLQdMBDAsLQdQBDAoLQdUBDAkLQdYBDAgLQeMBDAcLQdcBDAYLQdgBDAULQdkBDAQLQdoBDAMLQdsBDAILQd0BDAELQdwBCyECA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAn8CQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAwJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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gzzAgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDOsCCyADQR02AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM8gILIABBO0cNASABQQFqIQELQSYhAgzXAgtBACECIANBADYCHCADIAE2AhQgA0GfFTYCECADQQw2AgwM7wILIAEgBEcEQANAIAEtAABBIEcNhAIgBCABQQFqIgFHDQALQSwhAgzvAgtBLCECDO4CCyABIARGBEBBNCECDO4CCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtBNCECDO8CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUNnwIgA0EyNgIcIAMgATYCFCADIAA2AgxBACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUEQCABQQFqIQEMnwILIANBMjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgztAgsgASAERwRAAkADQCABLQAAQTBrIgBB/wFxQQpPBEBBOiECDNcCCyADKQMgIgtCmbPmzJmz5swZVg0BIAMgC0IKfiIKNwMgIAogAK1C/wGDIgtCf4VWDQEgAyAKIAt8NwMgIAQgAUEBaiIBRw0AC0HAACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABQQFqIgEQMSIADRcM4gILQcAAIQIM7AILIAEgBEYEQEHJACECDOwCCwJAA0ACQCABLQAAQQlrDhgAAqICogKpAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAgCiAgsgBCABQQFqIgFHDQALQckAIQIM7AILIAFBAWohASADQS9qLQAAQQFxDaUCIANBADYCHCADIAE2AhQgA0GXEDYCECADQQo2AgxBACECDOsCCyABIARHBEADQCABLQAAQSBHDRUgBCABQQFqIgFHDQALQfgAIQIM6wILQfgAIQIM6gILIANBAjoAKAw4C0EAIQIgA0EANgIcIANBvws2AhAgA0ECNgIMIAMgAUEBajYCFAzoAgtBACECDM4CC0ENIQIMzQILQRMhAgzMAgtBFSECDMsCC0EWIQIMygILQRghAgzJAgtBGSECDMgCC0EaIQIMxwILQRsh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QcABIQIMrgILQdoBIQIMrQILIAEgBEcEQCADQQw2AgggAyABNgIEQdkBIQIMrQILQfkBIQIMxQILIAEgBEYEQEH4ASECDMUCCyABLQAAQcgARw0EIAFBAWohAUHYASECDKsCCyABIARGBEBB9wEhAgzEAgsCQAJAIAEtAABBxQBrDhAABQUFBQUFBQUFBQUFBQUBBQsgAUEBaiEBQdYBIQIMqwILIAFBAWohAUHXASECDKoCC0H2ASECIAEgBEYNwgIgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABButUAai0AAEcNAyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMwwILIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgBFBEBB4wEhAgyqAgsgA0H1ATYCHCADIAE2AhQgAyAANgIMQQAhAgzCAgtB9AEhAiABIARGDcECIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbjVAGotAABHDQIgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMICCyADQYEEOwEoIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgANAwwCCyADQQA2AgALQQAhAiADQQA2AhwgAyABNgIUIANB5R82AhAgA0EINgIMDL8CC0HVASECDKUCCyADQfMBNgIcIAMgATYCFCADIAA2AgxBACECDL0CC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ1uIABBFUcEQCADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgy9AgsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDLwCCyABIARHBEAgA0ENNgIIIAMgATYCBEHTASECDKMCC0HyASECDLsCCyABIARGBEBB8QEhAgy7AgsCQAJAAkAgAS0AAEHIAGsOCwABCAgICAgICAgCCAsgAUEBaiEBQdABIQIMowILIAFBAWohAUHRASECDKICCyABQQFqIQFB0gEhAgyhAgtB8AEhAiABIARGDbkCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEG11QBqLQAARw0EIABBAkYNAyAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy5AgtB7wEhAiABIARGDbgCIAMoAgAiACAEIAFraiEGIAEgAGtBAWohBQNAIAEtAAAgAEGz1QBqLQAARw0DIABBAUYNAiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy4AgtB7gEhAiABIARGDbcCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEGw1QBqLQAARw0CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy3AgsgAygCBCEAIANCADcDACADIAAgBUEBaiIBECsiAEUNAiADQewBNgIcIAMgATYCFCADIAA2AgxBACECDLYCCyADQQA2AgALIAMoAgQhACADQQA2AgQgAyAAIAEQKyIARQ2cAiADQe0BNgIcIAMgATYCFCADIAA2AgxBACECDLQCC0HPASECDJoCC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMtAILQc4BIQIMmgILIANB6wE2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyyAgsgASAERgRAQesBIQIMsgILIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMsQILQc0BIQIMlwILIAEgBEcEQCADQQ42AgggAyABNgIEQcwBIQIMlwILQeoBIQIMrwILIAEgBEYEQEHpASECDK8CCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHLASECDJYCCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNlwIgA0HoATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgASAERgRAQecBIQIMrgILAkAgAS0AAEEuRgRAIAFBAWohAQwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmAIgA0HmATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgtBygEhAgyUAgsgASAERgRAQeUBIQIMrQILQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIBNgIcIAMgATYCFCADIAA2AgxBACECDK8CCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmgIgA0HjATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5AE2AhwgAyABNgIUIAMgADYCDAytAgtByQEhAgyTAgtBACEAAkAgAygCOCICRQ0AIAIoAkQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GkDTYCECADQSE2AgxBACECDK0CC0HIASECDJMCCyADQeEBNgIcIAMgATYCFCADQdAaNgIQIANBFTYCDEEAIQIMqwILIAEgBEYEQEHhASECDKsCCwJAIAEtAABBIEYEQCADQQA7ATQgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GZETYCECADQQk2AgxBACECDKsCC0HHASECDJECCyABIARGBEBB4AEhAgyqAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKsCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyqAgtBxgEhAgyQAgsgASAERgRAQd8BIQIMqQILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyqAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqQILQcUBIQIMjwILIAEgBEYEQEHeASECDKgCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqQILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKgCC0HEASECDI4CCyABIARGBEBB3QEhAgynAgsCQAJAAkACQCABLQAAQQprDhcCAwMAAwMDAwMDAwMDAwMDAwMDAwMDAQMLIAFBAWoMBQsgAUEBaiEBQcMBIQIMjwILIAFBAWohASADQS9qLQAAQQFxDQggA0EANgIcIAMgATYCFCADQY0LNgIQIANBDTYCDEEAIQIMpwILIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKYCCyABIARHBEAgA0EPNgIIIAMgATYCBEEBIQIMjQILQdwBIQIMpQILAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0HbASECDKYCCyADKAIEIQAgA0EANgIEIAMgACABEC0iAEUEQCABQQFqIQEMBAsgA0HaATYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgylAgsgAygCBCEAIANBADYCBCADIAAgARAtIgANASABQQFqCyEBQcEBIQIMigILIANB2QE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMogILQcIBIQIMiAILIANBL2otAABBAXENASADQQA2AhwgAyABNgIUIANB5Bw2AhAgA0EZNgIMQQAhAgygAgsgASAERgRAQdkBIQIMoAILAkACQAJAIAEtAABB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IQIM+AELIAFBAWohAUGzASECDPcBC0HLASECIAEgBEYNjwIgAygCACIAIAQgAWtqIQUgASAAa0EGaiEGAkADQCABLQAAIABBkdUAai0AAEcNPCAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMkAILIANBADYCACAGQQFqIQFBGgw8C0HKASECIAEgBEYNjgIgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBjdUAai0AAEcNOyAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMjwILIANBADYCACAGQQFqIQFBIQw7CyABIARGBEBByQEhAgyOAgsCQAJAIAEtAABBwQBrDhQAPT09PT09PT09PT09PT09PT09AT0LIAFBAWohAUGtASECDPUBCyABQQFqIQFBsAEhAgz0AQsgASAERgRAQcgBIQIMjQILAkACQCABLQAAQdUAaw4LADw8PDw8PDw8PAE8CyABQQFqIQFBrgEhAgz0AQsgAUEBaiEBQa8BIQIM8wELQccBIQIgASAERg2LAiADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw04IABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyMAgsgA0EANgIAIAZBAWohAUEqDDgLIAEgBEYEQEHGASECDIsCCyABLQAAQdAARw04IAFBAWohAUElDDcLQcUBIQIgASAERg2JAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGB1QBqLQAARw02IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyKAgsgA0EANgIAIAZBAWohAUEODDYLIAEgBEYEQEHEASECDIkCCyABLQAAQcUARw02IAFBAWohAUGrASECDO8BCyABIARGBEBBwwEhAgyIAgsCQAJAAkACQCABLQAAQcIAaw4PAAECOTk5OTk5OTk5OTkDOQsgAUEBaiEBQacBIQIM8QELIAFBAWohAUGoASECDPABCyABQQFqIQFBqQEhAgzvAQsgAUEBaiEBQaoBIQIM7gELQcIBIQ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ARw0cIAFBAWohAUEKDBsLQakBIQIgASAERg3tASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHR1ABqLQAARw0aIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzuAQsgA0EANgIAIAZBAWohAUEeDBoLQagBIQIgASAERg3sASADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEHK1ABqLQAARw0ZIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAztAQsgA0EANgIAIAZBAWohAUEVDBkLQacBIQIgASAERg3rASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHH1ABqLQAARw0YIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzsAQsgA0EANgIAIAZBAWohAUEXDBgLQaYBIQIgASAERg3qASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHB1ABqLQAARw0XIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzrAQsgA0EANgIAIAZBAWohAUEYDBcLIAEgBEYEQEGlASECDOoBCwJAAkAgAS0AAEHJAGsOBwAZGRkZGQEZCyABQQFqIQFBiwEhAgzRAQsgAUEBaiEBQYwBIQIM0AELQaQBIQIgASAERg3oASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGm1QBqLQAARw0VIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzpAQsgA0EANgIAIAZBAWohAUEJDBULQaMBIQIgASAERg3nASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGk1QBqLQAARw0UIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzoAQsgA0EANgIAIAZBAWohAUEfDBQLQaIBIQIgASAERg3mASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEG+1ABqLQAARw0TIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAznAQsgA0EANgIAIAZBAWohAUECDBMLQaEBIQIgASAERg3lASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYDQCABLQAAIABBvNQAai0AAEcNESAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5QELIAEgBEYEQEGgASECDOUBC0EBIAEtAABB3wBHDREaIAFBAWohAUGHASECDMsBCyADQQA2AgAgBkEBaiEBQYgBIQIMygELQZ8BIQIgASAERg3iASADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw0PIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzjAQsgA0EANgIAIAZBAWohAUEpDA8LQZ4BIQIgASAERg3hASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEG41ABqLQAARw0OIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAziAQsgA0EANgIAIAZBAWohAUEtDA4LIAEgBEYEQEGdASECDOEBCyABLQAAQcUARw0OIAFBAWohAUGEASECDMcBCyABIARGBEBBnAEhAgzgAQsCQAJAIAEtAABBzABrDggADw8PDw8PAQ8LIAFBAWohAUGCASECDMcBCyABQQFqIQFBgwEhAgzGAQtBmwEhAiABIARGDd4BIAMoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQbPUAGotAABHDQsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN8BCyADQQA2AgAgBkEBaiEBQSMMCwtBmgEhAiABIARGDd0BIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDUAGotAABHDQogAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN4BCyADQQA2AgAgBkEBaiEBQQAMCgsgASAERgRAQZkBIQIM3QELAkACQCABLQAAQcgAaw4IAAwMDAwMDAEMCyABQQFq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oAjgiAkUNACACKAJAIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GCDzYCECADQSA2AgxBACECDM4BC0H3ACECDLQBCyADQY8BNgIcIAMgATYCFCADQewbNgIQIANBFTYCDEEAIQIMzAELIAEgBEYEQEGPASECDMwBCwJAIAEtAABBIEYEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQZsfNgIQIANBBjYCDEEAIQIMzAELQQIhAgyyAQsDQCABLQAAQSBHDQIgBCABQQFqIgFHDQALQY4BIQIMygELIAEgBEYEQEGNASECDMoBCwJAIAEtAABBCWsOBEoAAEoAC0H1ACECDLABCyADLQApQQVGBEBB9gAhAgywAQtB9AAhAgyvAQsgASAERgRAQYwBIQIMyAELIANBEDYCCCADIAE2AgQMCgsgASAERgRAQYsBIQIMxwELAkAgAS0AAEEJaw4ERwAARwALQfMAIQIMrQELIAEgBEcEQCADQRA2AgggAyABNgIEQfEAIQIMrQELQYoBIQIMxQELAkAgASAERwRAA0AgAS0AAEGg0ABqLQAAIgBBA0cEQAJAIABBAWsOAkkABAtB8AAhAgyvAQsgBCABQQFqIgFHDQALQYgBIQIMxgELQYgBIQIMxQELIANBADYCHCADIAE2AhQgA0HbIDYCECADQQc2AgxBACECDMQBCyABIARGBEBBiQEhAgzEAQsCQAJAAkAgAS0AAEGg0gBqLQAAQQFrDgNGAgABC0HyACECDKwBCyADQQA2AhwgAyABNgIUIANBtBI2AhAgA0EHNgIMQQAhAgzEAQtB6gAhAgyqAQsgASAERwRAIAFBAWohAUHvACECDKoBC0GHASECDMIBCyAEIAEiAEYEQEGGASECDMIBCyAALQAAIgFBL0YEQCAAQQFqIQFB7gAhAgypAQsgAUEJayICQRdLDQEgACEBQQEgAnRBm4CABHENQQwBCyAEIAEiAEYEQEGFASECDMEBCyAALQAAQS9HDQAgAEEBaiEBDAMLQQAhAiADQQA2AhwgAyAANgIUIANB2yA2AhAgA0EHNgIMDL8BCwJAAkACQAJAAkADQCABLQAAQaDOAGotAAAiAEEFRwRAAkACQCAAQQFrDghHBQYHCAAEAQgLQesAIQIMrQELIAFBAWohAUHtACECDKwBCyAEIAFBAWoiAUcNAAtBhAEhAgzDAQsgAUEBagwUCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDMEBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDMABCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDL8BCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy+AQsgASAERgRAQYMBIQIMvgELAkAgAS0AAEGgzgBqLQAAQQFrDgg+BAUGAAgCAwcLIAFBAWohAQtBAyECDKMBCyABQQFqDA0LQQAhAiADQQA2AhwgA0HREjYCECADQQc2AgwgAyABQQFqNgIUDLoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDLkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDLgBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDLcBCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy2AQtB7AAhAgycAQsgASAERgRAQYIBIQIMtQELIAFBAWoMAgsgASAERgRAQYEBIQIMtAELIAFBAWoMAQsgASAERg0BIAFBAWoLIQFBBCECDJgBC0GAASECDLABCwNAIAEtAABBoMwAai0AACIAQQJHBEAgAEEBRwRAQekAIQIMmQELDDELIAQgAUEBaiIBRw0AC0H/ACECDK8BCyABIARGBEBB/gAhAgyvAQsCQCABLQAAQQlrDjcvAwYvBAYGBgYGBgYGBgYGBgYGBgYGBgUGBgIGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYABgsgAUEBagshAUEFIQIMlAELIAFBAWoMBgsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgyrAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgyqAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgypAQsgA0EANgIcIAMgATYCFCADQY0UNgIQIANBBzYCDEEAIQIMqAELAkACQAJAAkADQCABLQAAQaDKAGotAAAiAEEFRwRAAkAgAEEBaw4GLgMEBQYABgtB6AAhAgyUAQsgBCABQQFqIgFHDQALQf0AIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqAELIANBADYCHCADIAE2AhQgA0HkCDYCECADQQc2AgxBACECDKcBCyABIARGDQEgAUEBagshAUEGIQIMjAELQfwAIQIMpAELAkACQAJAAkADQCABLQAAQaDIAGotAAAiAEEFRwRAIABBAWsOBCkCAwQFCyAEIAFBAWoiAUcNAAtB+wAhAgynAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgymAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgylAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgykAQsgA0EANgIcIAMgATYCFCADQbwKNgIQIANBBzYCDEEAIQIMowELQc8AIQIMiQELQdEAIQIMiAELQecAIQIMhwELIAEgBEYEQEH6ACECDKABCwJAIAEtAABBCWsOBCAAACAACyABQQFqIQFB5gAhAgyGAQsgASAERgRAQfkAIQIMnwELAkAgAS0AAEEJaw4EHwAAHwALQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFBEBB4gEhAgyGAQsgAEEVRwRAIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDJ8BCyADQfgANgIcIAMgATYCFCADQeoaNgIQIANBFTYCDEEAIQIMngELIAEgBEcEQCADQQ02AgggAyABNgIEQeQAIQIMhQELQfcAIQIMnQELIAEgBEYEQEH2ACECDJ0BCwJAAkACQCABLQAAQcgAaw4LAAELCwsLCwsLCwILCyABQQFqIQFB3QAhAgyFAQsgAUEBaiEBQeAAIQIMhAELIAFBAWohAUHjACECDIMBC0H1ACECIAEgBEYNmwEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBtdUAai0AAEcNCCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMnAELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfQANgIcIAMgATYCFCADIAA2AgxBACECDJwBC0HiACECDIIBC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMnAELQeEAIQIMggELIANB8wA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyaAQsgAy0AKSIAQSNrQQtJDQkCQCAAQQZLDQBBASAAdEHKAHFFDQAMCgtBACECIANBADYCHCADIAE2AhQgA0HtCTYCECADQQg2AgwMmQELQfIAIQIgASAERg2YASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGz1QBqLQAARw0FIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyZAQsgAygCBCEAIANCADcDACADIAAgBkEBaiIBECsiAARAIANB8QA2AhwgAyABNgIUIAMgADYCDEEAIQIMmQELQd8AIQIMfwtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJkBC0HeACECDH8LIANB8AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyXAQsgAy0AKUEhRg0GIANBADYCHCADIAE2AhQgA0GRCjYCECADQQg2AgxBACECDJYBC0HvACECIAEgBEYNlQEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMlgELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgBFDQIgA0HtADYCHCADIAE2AhQgAyAANgIMQQAhAgyVAQsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNgAEgA0HuADYCHCADIAE2AhQgAyAANgIMQQAhAgyTAQtB3AAhAgx5C0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMkwELQdsAIQIMeQsgA0HsADYCHCADIAE2AhQgA0GAGzYCECADQRU2AgxBACECDJEBCyADLQApIgBBI0kNACAAQS5GDQAgA0EANgIcIAMgATYCFCADQckJNgIQIANBCDYCDEEAIQIMkAELQdoAIQIMdgsgASAERgRAQesAIQIMjwELAkAgAS0AAEEvRgRAIAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBsjg2AhAgA0EINgIMQQAhAgyPAQtB2QAhAgx1CyABIARHBEAgA0EONgIIIAMgATYCBEHYACECDHULQeoAIQIMjQELIAEgBEYEQEHpACECDI0BCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHXACECDHQLIAMoAgQhACADQQA2AgQgAyAAI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AgxnCyABIARHBEAgASECA0AgBCACIgFrQRBOBEAgAUEQaiEC/Qz/////////////////////IAH9AAAAIg1BB/1sIA39DODg4ODg4ODg4ODg4ODg4OD9bv0MX19fX19fX19fX19fX19fX/0mIA39DAkJCQkJCQkJCQkJCQkJCQn9I/1Q/VL9ZEF/c2giAEEQRg0BIAAgAWohAQwYCyABIARGBEBBxAAhAgxpCyABLQAAQcDBAGotAABBAUcNFyAEIAFBAWoiAkcNAAtBxAAhAgxnC0HEACECDGYLIAEgBEcEQANAAkAgAS0AACIAQSByIAAgAEHBAGtB/wFxQRpJG0H/AXEiAEEJRg0AIABBIEYNAAJAAkACQAJAIABB4wBrDhMAAwMDAwMDAwEDAwMDAwMDAwMCAwsgAUEBaiEBQTYhAgxSCyABQQFqIQFBNyECDFELIAFBAWohAUE4IQIMUAsMFQsgBCABQQFqIgFHDQALQTwhAgxmC0E8IQIMZQsgASAERgRAQcgAIQIMZQsgA0ESNgIIIAMgATYCBAJAAkACQAJAAkAgAy0ALEEBaw4EFAABAgkLIAMtADJBIHENA0HgASECDE8LAkAgAy8BMiIAQQhxRQ0AIAMtAChBAUcNACADLQAuQQhxRQ0CCyADIABB9/sDcUGABHI7ATIMCwsgAyADLwEyQRByOwEyDAQLIANBADYCBCADIAEgARAxIgAEQCADQcEANgIcIAMgADYCDCADIAFBAWo2AhRBACECDGYLIAFBAWohAQxYCyADQQA2AhwgAyABNgIUIANB9BM2AhAgA0EENgIMQQAhAgxkC0HHACECIAEgBEYNYyADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIABBwMUAai0AACABLQAAQSByRw0BIABBBkYNSiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAxkCyADQQA2AgAMBQsCQCABIARHBEADQCABLQAAQcDDAGotAAAiAEEBRwRAIABBAkcNAyABQQFqIQEMBQsgBCABQQFqIgFHDQALQcUAIQIMZAtBxQAhAgxjCwsgA0EAOgAsDAELQQshAgxHC0E/IQIMRgsCQAJAA0AgAS0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ETktDS1VCU0NSSUJFVFRQQ0VUU1BBRFRQLw==",Yv;Object.defineProperty(u9,"exports",{get:()=>Yv||(Yv=rbe.from(nbe,"base64"))})});var Og=x((cOe,A9)=>{"use strict";function Vm(){let e=globalThis.__secureExecBuiltinZlibModule;if(!e)throw new Error("node:zlib bridge module is not available");return e}A9.exports=new Proxy({},{get(e,t){return Vm()[t]},has(e,t){return t in Vm()},ownKeys(){return Reflect.ownKeys(Vm())},getOwnPropertyDescriptor(e,t){let r=Object.getOwnPropertyDescriptor(Vm(),t);return r||{configurable:!0,enumerable:!0,value:void 0,writable:!1}}})});var Hg=x((AOe,m9)=>{"use strict";var l9=["GET","HEAD","POST"],ibe=new Set(l9),sbe=[101,204,205,304],h9=[301,302,303,307,308],obe=new Set(h9),d9=["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"],abe=new Set(d9),g9=["no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],fbe=["",...g9],ube=new Set(g9),cbe=["follow","manual","error"],p9=["GET","HEAD","OPTIONS","TRACE"],Abe=new Set(p9),lbe=["navigate","same-origin","no-cors","cors"],hbe=["omit","same-origin","include"],dbe=["default","no-store","reload","no-cache","force-cache","only-if-cached"],gbe=["content-encoding","content-language","content-location","content-type","content-length"],pbe=["half"],y9=["CONNECT","TRACE","TRACK"],ybe=new Set(y9),E9=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],Ebe=new Set(E9);m9.exports={subresource:E9,forbiddenMethods:y9,requestBodyHeader:gbe,referrerPolicy:fbe,requestRedirect:cbe,requestMode:lbe,requestCredentials:hbe,requestCache:dbe,redirectStatus:h9,corsSafeListedMethods:l9,nullBodyStatus:sbe,safeMethods:p9,badPorts:d9,requestDuplex:pbe,subresourceSet:Ebe,badPortsSet:abe,redirectStatusSet:obe,corsSafeListedMethodsSet:ibe,safeMethodsSet:Abe,forbiddenMethodsSet:ybe,referrerPolicyTokens:ube}});var I9=x((lOe,b9)=>{"use strict";var Wv=Symbol.for("undici.globalOrigin.1");function mbe(){return globalThis[Wv]}function bbe(e){if(e===void 0){Object.defineProperty(globalThis,Wv,{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,Wv,{value:t,writable:!0,enumerable:!1,configurable:!1})}b9.exports={getGlobalOrigin:mbe,setGlobalOrigin:bbe}});var Vv=x((hOe,B9)=>{"use strict";var Ibe=new TextDecoder;function Bbe(e){return e.length===0?"":(e[0]===239&&e[1]===187&&e[2]===191&&(e=e.subarray(3)),Ibe.decode(e))}B9.exports={utf8DecodeBytes:Bbe}});var gc=x((dOe,S9)=>{"use strict";var C9=Jt(),{utf8DecodeBytes:Cbe}=Vv();function _be(e,t,r){let n="";for(;r.position<t.length&&e(t[r.position]);)n+=t[r.position],r.position++;return n}function wbe(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 Sbe=/[\u0009\u000A\u000C\u000D\u0020]/g;function Qbe(e){e=e.replace(Sbe,"");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 _9(e){return e===9||e===10||e===12||e===13||e===32}function vbe(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 Rbe=/[^\x00-\xFF]/;function Dbe(e){return C9(!Rbe.test(e)),e}function Tbe(e){return JSON.parse(Cbe(e))}function Nbe(e,t=!0,r=!0){return w9(e,t,r,_9)}function w9(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 Mbe(e){let t=JSON.stringify(e);if(t===void 0)throw new TypeError("Value is not JSON serializable");return C9(typeof t=="string"),t}S9.exports={collectASequenceOfCodePoints:_be,collectASequenceOfCodePointsFast:wbe,forgivingBase64:Qbe,isASCIIWhitespace:_9,isomorphicDecode:vbe,isomorphicEncode:Dbe,parseJSONFromBytes:Tbe,removeASCIIWhitespace:Nbe,removeChars:w9,serializeJavascriptValueToJSONString:Mbe}});var pc=x((gOe,N9)=>{"use strict";var jm=Jt(),{forgivingBase64:xbe,collectASequenceOfCodePoints:Jv,collectASequenceOfCodePointsFast:qg,isomorphicDecode:kbe,removeASCIIWhitespace:Fbe,removeChars:Ube}=gc(),Lbe=new TextEncoder,Gg=/^[-!#$%&'*+.^_|~A-Za-z0-9]+$/u,Pbe=/[\u000A\u000D\u0009\u0020]/u,Obe=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/u;function Hbe(e){jm(e.protocol==="data:");let t=R9(e,!0);t=t.slice(5);let r={position:0},n=qg(",",t,r),i=n.length;if(n=Fbe(n,!0,!0),r.position>=t.length)return"failure";r.position++;let s=t.slice(i+1),o=D9(s);if(/;(?:\u0020*)base64$/ui.test(n)){let f=kbe(o);if(o=xbe(f),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=jv(n);return a==="failure"&&(a=jv("text/plain;charset=US-ASCII")),{mimeType:a,body:o}}function R9(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 D9(e){let t=Lbe.encode(e);return qbe(t)}function Q9(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function v9(e){return e>=48&&e<=57?e-48:(e&223)-55}function qbe(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&&!(Q9(e[i+1])&&Q9(e[i+2]))?r[n++]=37:(r[n++]=v9(e[i+1])<<4|v9(e[i+2]),i+=2),++i}return t===n?r:r.subarray(0,n)}function jv(e){e=Jm(e,!0,!0);let t={position:0},r=qg("/",e,t);if(r.length===0||!Gg.test(r)||t.position>=e.length)return"failure";t.position++;let n=qg(";",e,t);if(n=Jm(n,!1,!0),n.length===0||!Gg.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++,Jv(u=>Pbe.test(u),e,t);let a=Jv(u=>u!==";"&&u!=="=",e,t);if(a=a.toLowerCase(),t.position<e.length){if(e[t.position]===";")continue;t.position++}if(t.position>=e.length)break;let f=null;if(e[t.position]==='"')f=T9(e,t,!0),qg(";",e,t);else if(f=qg(";",e,t),f=Jm(f,!1,!0),f.length===0)continue;a.length!==0&&Gg.test(a)&&(f.length===0||Obe.test(f))&&!o.parameters.has(a)&&o.parameters.set(a,f)}return o}function T9(e,t,r=!1){let n=t.position,i="";for(jm(e[t.position]==='"'),t.position++;i+=Jv(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{jm(s==='"');break}}return r?i:e.slice(n,t.position)}function Gbe(e){jm(e!=="failure");let{parameters:t,essence:r}=e,n=r;for(let[i,s]of t.entries())n+=";",n+=i,n+="=",Gg.test(s)||(s=s.replace(/[\\"]/ug,"\\$&"),s='"'+s,s+='"'),n+=s;return n}function Ybe(e){return e===13||e===10||e===9||e===32}function Jm(e,t=!0,r=!0){return Ube(e,t,r,Ybe)}function Wbe(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":""}N9.exports={dataURLProcessor:Hbe,URLSerializer:R9,stringPercentDecode:D9,parseMIMEType:jv,collectAnHTTPQuotedString:T9,serializeAMimeType:Gbe,removeHTTPWhitespace:Jm,minimizeSupportedMimeType:Wbe,HTTP_TOKEN_CODEPOINTS:Gg}});var x9=x((pOe,M9)=>{"use strict";var Vbe=globalThis.performance??{now(){return Date.now()},timeOrigin:Date.now()};M9.exports={performance:Vbe}});var zv=x((yOe,k9)=>{"use strict";function Jbe(e){return e instanceof ArrayBuffer}function jbe(e){return ArrayBuffer.isView(e)}function zbe(e){return e instanceof Uint8Array}function Kbe(e){return!1}k9.exports={isArrayBuffer:Jbe,isArrayBufferView:jbe,isProxy:Kbe,isUint8Array:zbe}});var yc=x((EOe,F9)=>{"use strict";F9.exports=function(t,r){let n=Number(t);if(!Number.isInteger(n)||n<0||n>4294967295)throw new RangeError("requested too many random bytes");let i=Buffer.allocUnsafe(n),s=globalThis.crypto;if(!s||typeof s.getRandomValues!="function")throw new Error("Secure random number generation is not available");for(let o=0;o<n;o+=65536)s.getRandomValues(i.subarray(o,Math.min(n,o+65536)));if(typeof r=="function"){process.nextTick(r,null,i);return}return i}});var P9=x((mOe,L9)=>{"use strict";var Ro=st().Buffer,U9=(Or(),Lr(dt)).Transform,Xbe=at();function zf(e){U9.call(this),this._block=Ro.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}Xbe(zf,U9);zf.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(i){n=i}r(n)};zf.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(r){t=r}e(t)};var $be=typeof Uint8Array<"u",Zbe=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(Ro.prototype instanceof Uint8Array||Ro.TYPED_ARRAY_SUPPORT);function eIe(e,t){if(e instanceof Ro)return e;if(typeof e=="string")return Ro.from(e,t);if(Zbe&&ArrayBuffer.isView(e)){if(e.byteLength===0)return Ro.alloc(0);var r=Ro.from(e.buffer,e.byteOffset,e.byteLength);if(r.byteLength===e.byteLength)return r}if($be&&e instanceof Uint8Array||Ro.isBuffer(e)&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e))return Ro.from(e);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}zf.prototype.update=function(e,t){if(this._finalized)throw new Error("Digest already called");e=eIe(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};zf.prototype._update=function(){throw new Error("_update is not implemented")};zf.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};zf.prototype._digest=function(){throw new Error("_digest is not implemented")};L9.exports=zf});var Xm=x((bOe,H9)=>{"use strict";var tIe=at(),O9=P9(),rIe=st().Buffer,nIe=new Array(16);function zm(){O9.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}tIe(zm,O9);zm.prototype._update=function(){for(var e=nIe,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=En(r,n,i,s,e[0],3614090360,7),s=En(s,r,n,i,e[1],3905402710,12),i=En(i,s,r,n,e[2],606105819,17),n=En(n,i,s,r,e[3],3250441966,22),r=En(r,n,i,s,e[4],4118548399,7),s=En(s,r,n,i,e[5],1200080426,12),i=En(i,s,r,n,e[6],2821735955,17),n=En(n,i,s,r,e[7],4249261313,22),r=En(r,n,i,s,e[8],1770035416,7),s=En(s,r,n,i,e[9],2336552879,12),i=En(i,s,r,n,e[10],4294925233,17),n=En(n,i,s,r,e[11],2304563134,22),r=En(r,n,i,s,e[12],1804603682,7),s=En(s,r,n,i,e[13],4254626195,12),i=En(i,s,r,n,e[14],2792965006,17),n=En(n,i,s,r,e[15],1236535329,22),r=mn(r,n,i,s,e[1],4129170786,5),s=mn(s,r,n,i,e[6],3225465664,9),i=mn(i,s,r,n,e[11],643717713,14),n=mn(n,i,s,r,e[0],3921069994,20),r=mn(r,n,i,s,e[5],3593408605,5),s=mn(s,r,n,i,e[10],38016083,9),i=mn(i,s,r,n,e[15],3634488961,14),n=mn(n,i,s,r,e[4],3889429448,20),r=mn(r,n,i,s,e[9],568446438,5),s=mn(s,r,n,i,e[14],3275163606,9),i=mn(i,s,r,n,e[3],4107603335,14),n=mn(n,i,s,r,e[8],1163531501,20),r=mn(r,n,i,s,e[13],2850285829,5),s=mn(s,r,n,i,e[2],4243563512,9),i=mn(i,s,r,n,e[7],1735328473,14),n=mn(n,i,s,r,e[12],2368359562,20),r=bn(r,n,i,s,e[5],4294588738,4),s=bn(s,r,n,i,e[8],2272392833,11),i=bn(i,s,r,n,e[11],1839030562,16),n=bn(n,i,s,r,e[14],4259657740,23),r=bn(r,n,i,s,e[1],2763975236,4),s=bn(s,r,n,i,e[4],1272893353,11),i=bn(i,s,r,n,e[7],4139469664,16),n=bn(n,i,s,r,e[10],3200236656,23),r=bn(r,n,i,s,e[13],681279174,4),s=bn(s,r,n,i,e[0],3936430074,11),i=bn(i,s,r,n,e[3],3572445317,16),n=bn(n,i,s,r,e[6],76029189,23),r=bn(r,n,i,s,e[9],3654602809,4),s=bn(s,r,n,i,e[12],3873151461,11),i=bn(i,s,r,n,e[15],530742520,16),n=bn(n,i,s,r,e[2],3299628645,23),r=In(r,n,i,s,e[0],4096336452,6),s=In(s,r,n,i,e[7],1126891415,10),i=In(i,s,r,n,e[14],2878612391,15),n=In(n,i,s,r,e[5],4237533241,21),r=In(r,n,i,s,e[12],1700485571,6),s=In(s,r,n,i,e[3],2399980690,10),i=In(i,s,r,n,e[10],4293915773,15),n=In(n,i,s,r,e[1],2240044497,21),r=In(r,n,i,s,e[8],1873313359,6),s=In(s,r,n,i,e[15],4264355552,10),i=In(i,s,r,n,e[6],2734768916,15),n=In(n,i,s,r,e[13],1309151649,21),r=In(r,n,i,s,e[4],4149444226,6),s=In(s,r,n,i,e[11],3174756917,10),i=In(i,s,r,n,e[2],718787259,15),n=In(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};zm.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=rIe.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 Km(e,t){return e<<t|e>>>32-t}function En(e,t,r,n,i,s,o){return Km(e+(t&r|~t&n)+i+s|0,o)+t|0}function mn(e,t,r,n,i,s,o){return Km(e+(t&n|r&~n)+i+s|0,o)+t|0}function bn(e,t,r,n,i,s,o){return Km(e+(t^r^n)+i+s|0,o)+t|0}function In(e,t,r,n,i,s,o){return Km(e+(r^(t|~n))+i+s|0,o)+t|0}H9.exports=zm});var G9=x((IOe,q9)=>{var iIe={}.toString;q9.exports=Array.isArray||function(e){return iIe.call(e)=="[object Array]"}});var W9=x((BOe,Y9)=>{"use strict";var sIe=Is(),oIe=Io(),aIe=oIe("TypedArray.prototype.buffer",!0),fIe=LS();Y9.exports=aIe||function(t){if(!fIe(t))throw new sIe("Not a Typed Array");return t.buffer}});var Yg=x((COe,J9)=>{"use strict";var Ss=st().Buffer,uIe=G9(),cIe=W9(),AIe=ArrayBuffer.isView||function(t){try{return cIe(t),!0}catch{return!1}},lIe=typeof Uint8Array<"u",V9=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",hIe=V9&&(Ss.prototype instanceof Uint8Array||Ss.TYPED_ARRAY_SUPPORT);J9.exports=function(t,r){if(Ss.isBuffer(t))return t.constructor&&!("isBuffer"in t)?Ss.from(t):t;if(typeof t=="string")return Ss.from(t,r);if(V9&&AIe(t)){if(t.byteLength===0)return Ss.alloc(0);if(hIe){var n=Ss.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=Ss.from(i);if(s.length===t.byteLength)return s}if(lIe&&t instanceof Uint8Array)return Ss.from(t);var o=uIe(t);if(o)for(var a=0;a<t.length;a+=1){var f=t[a];if(typeof f!="number"||f<0||f>255||~~f!==f)throw new RangeError("Array items must be numbers in the range 0-255.")}if(o||Ss.isBuffer(t)&&t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t))return Ss.from(t);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}});var X9=x((_Oe,K9)=>{"use strict";var dIe=st().Buffer,gIe=Yg(),z9=typeof Uint8Array<"u",pIe=z9&&typeof ArrayBuffer<"u",j9=pIe&&ArrayBuffer.isView;K9.exports=function(e,t){if(typeof e=="string"||dIe.isBuffer(e)||z9&&e instanceof Uint8Array||j9&&j9(e))return gIe(e,t);throw new TypeError('The "data" argument must be a string, a Buffer, a Uint8Array, or a DataView')}});var Wg=x((wOe,Kv)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?Kv.exports={nextTick:yIe}:Kv.exports=process;function yIe(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 Z9=x((SOe,$9)=>{var EIe={}.toString;$9.exports=Array.isArray||function(e){return EIe.call(e)=="[object Array]"}});var Xv=x((QOe,eH)=>{eH.exports=Yn().EventEmitter});var Zm=x(($v,rH)=>{var $m=ur(),Ta=$m.Buffer;function tH(e,t){for(var r in e)t[r]=e[r]}Ta.from&&Ta.alloc&&Ta.allocUnsafe&&Ta.allocUnsafeSlow?rH.exports=$m:(tH($m,$v),$v.Buffer=Jl);function Jl(e,t,r){return Ta(e,t,r)}tH(Ta,Jl);Jl.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Ta(e,t,r)};Jl.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=Ta(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};Jl.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Ta(e)};Jl.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return $m.SlowBuffer(e)}});var jl=x(Bn=>{function mIe(e){return Array.isArray?Array.isArray(e):eb(e)==="[object Array]"}Bn.isArray=mIe;function bIe(e){return typeof e=="boolean"}Bn.isBoolean=bIe;function IIe(e){return e===null}Bn.isNull=IIe;function BIe(e){return e==null}Bn.isNullOrUndefined=BIe;function CIe(e){return typeof e=="number"}Bn.isNumber=CIe;function _Ie(e){return typeof e=="string"}Bn.isString=_Ie;function wIe(e){return typeof e=="symbol"}Bn.isSymbol=wIe;function SIe(e){return e===void 0}Bn.isUndefined=SIe;function QIe(e){return eb(e)==="[object RegExp]"}Bn.isRegExp=QIe;function vIe(e){return typeof e=="object"&&e!==null}Bn.isObject=vIe;function RIe(e){return eb(e)==="[object Date]"}Bn.isDate=RIe;function DIe(e){return eb(e)==="[object Error]"||e instanceof Error}Bn.isError=DIe;function TIe(e){return typeof e=="function"}Bn.isFunction=TIe;function NIe(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}Bn.isPrimitive=NIe;Bn.isBuffer=ur().Buffer.isBuffer;function eb(e){return Object.prototype.toString.call(e)}});var iH=x((ROe,Zv)=>{"use strict";function MIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var nH=Zm().Buffer,Vg=yn();function xIe(e,t,r){e.copy(t,r)}Zv.exports=(function(){function e(){MIe(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 nH.alloc(0);for(var n=nH.allocUnsafe(r>>>0),i=this.head,s=0;i;)xIe(i.data,n,s),s+=i.data.length,i=i.next;return n},e})();Vg&&Vg.inspect&&Vg.inspect.custom&&(Zv.exports.prototype[Vg.inspect.custom]=function(){var e=Vg.inspect({length:this.length});return this.constructor.name+" "+e})});var e1=x((DOe,sH)=>{"use strict";var tb=Wg();function kIe(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,tb.nextTick(rb,this,e)):tb.nextTick(rb,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,tb.nextTick(rb,r,s)):tb.nextTick(rb,r,s):t&&t(s)}),this)}function FIe(){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 rb(e,t){e.emit("error",t)}sH.exports={destroy:kIe,undestroy:FIe}});var aH=x((TOe,oH)=>{oH.exports=UIe;function UIe(e,t){if(t1("noDeprecation"))return e;var r=!1;function n(){if(!r){if(t1("throwDeprecation"))throw new Error(t);t1("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return n}function t1(e){try{if(!globalThis.localStorage)return!1}catch{return!1}var t=globalThis.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}});var n1=x((NOe,gH)=>{"use strict";var Ec=Wg();gH.exports=Sr;function uH(e){var t=this;this.next=null,this.entry=null,this.finish=function(){tBe(t,e)}}var LIe=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Ec.nextTick,zl;Sr.WritableState=jg;var cH=Object.create(jl());cH.inherits=at();var PIe={deprecate:aH()},AH=Xv(),ib=Zm().Buffer,OIe=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function HIe(e){return ib.from(e)}function qIe(e){return ib.isBuffer(e)||e instanceof OIe}var lH=e1();cH.inherits(Sr,AH);function GIe(){}function jg(e,t){zl=zl||mc(),e=e||{};var r=t instanceof zl;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){KIe(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 uH(this)}jg.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(jg.prototype,"buffer",{get:PIe.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var nb;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(nb=Function.prototype[Symbol.hasInstance],Object.defineProperty(Sr,Symbol.hasInstance,{value:function(e){return nb.call(this,e)?!0:this!==Sr?!1:e&&e._writableState instanceof jg}})):nb=function(e){return e instanceof this};function Sr(e){if(zl=zl||mc(),!nb.call(Sr,this)&&!(this instanceof zl))return new Sr(e);this._writableState=new jg(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)),AH.call(this)}Sr.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function YIe(e,t){var r=new Error("write after end");e.emit("error",r),Ec.nextTick(t,r)}function WIe(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),Ec.nextTick(n,s),i=!1),i}Sr.prototype.write=function(e,t,r){var n=this._writableState,i=!1,s=!n.objectMode&&qIe(e);return s&&!ib.isBuffer(e)&&(e=HIe(e)),typeof t=="function"&&(r=t,t=null),s?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=GIe),n.ended?YIe(this,r):(s||WIe(this,n,e,r))&&(n.pendingcb++,i=JIe(this,n,s,e,t,r)),i};Sr.prototype.cork=function(){var e=this._writableState;e.corked++};Sr.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&hH(this,e))};Sr.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 VIe(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=ib.from(t,r)),t}Object.defineProperty(Sr.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function JIe(e,t,r,n,i,s){if(!r){var o=VIe(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=t.objectMode?1:n.length;t.length+=a;var f=t.length<t.highWaterMark;if(f||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else r1(e,t,!1,a,n,i,s);return f}function r1(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 jIe(e,t,r,n,i){--t.pendingcb,r?(Ec.nextTick(i,n),Ec.nextTick(Jg,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),Jg(e,t))}function zIe(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function KIe(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(zIe(r),t)jIe(e,r,n,t,i);else{var s=dH(r);!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&hH(e,r),n?LIe(fH,e,r,s,i):fH(e,r,s,i)}}function fH(e,t,r,n){r||XIe(e,t),t.pendingcb--,n(),Jg(e,t)}function XIe(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function hH(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,r1(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 uH(t),t.bufferedRequestCount=0}else{for(;r;){var f=r.chunk,u=r.encoding,c=r.callback,h=t.objectMode?1:f.length;if(r1(e,t,!1,h,f,u,c),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}Sr.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))};Sr.prototype._writev=null;Sr.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||eBe(this,n,r)};function dH(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function $Ie(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),Jg(e,t)})}function ZIe(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=!0,Ec.nextTick($Ie,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Jg(e,t){var r=dH(t);return r&&(ZIe(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"))),r}function eBe(e,t,r){t.ending=!0,Jg(e,t),r&&(t.finished?Ec.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function tBe(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(Sr.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}});Sr.prototype.destroy=lH.destroy;Sr.prototype._undestroy=lH.undestroy;Sr.prototype._destroy=function(e,t){this.end(),t(e)}});var mc=x((MOe,mH)=>{"use strict";var pH=Wg(),rBe=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};mH.exports=Na;var yH=Object.create(jl());yH.inherits=at();var EH=o1(),s1=n1();yH.inherits(Na,EH);for(i1=rBe(s1.prototype),sb=0;sb<i1.length;sb++)ob=i1[sb],Na.prototype[ob]||(Na.prototype[ob]=s1.prototype[ob]);var i1,ob,sb;function Na(e){if(!(this instanceof Na))return new Na(e);EH.call(this,e),s1.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",nBe)}Object.defineProperty(Na.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function nBe(){this.allowHalfOpen||this._writableState.ended||pH.nextTick(iBe,this)}function iBe(e){e.end()}Object.defineProperty(Na.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)}});Na.prototype._destroy=function(e,t){this.push(null),this.end(),pH.nextTick(t,e)}});var o1=x((kOe,TH)=>{"use strict";var Xl=Wg();TH.exports=rr;var sBe=Z9(),zg;rr.ReadableState=SH;var xOe=Yn().EventEmitter,CH=function(e,t){return e.listeners(t).length},A1=Xv(),Kg=Zm().Buffer,oBe=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function aBe(e){return Kg.from(e)}function fBe(e){return Kg.isBuffer(e)||e instanceof oBe}var _H=Object.create(jl());_H.inherits=at();var a1=yn(),Rt=void 0;a1&&a1.debuglog?Rt=a1.debuglog("stream"):Rt=function(){};var uBe=iH(),wH=e1(),Kl;_H.inherits(rr,A1);var f1=["error","close","destroy","pause","resume"];function cBe(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):sBe(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function SH(e,t){zg=zg||mc(),e=e||{};var r=t instanceof zg;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 uBe,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&&(Kl||(Kl=ol().StringDecoder),this.decoder=new Kl(e.encoding),this.encoding=e.encoding)}function rr(e){if(zg=zg||mc(),!(this instanceof rr))return new rr(e);this._readableState=new SH(e,this),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),A1.call(this)}Object.defineProperty(rr.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});rr.prototype.destroy=wH.destroy;rr.prototype._undestroy=wH.undestroy;rr.prototype._destroy=function(e,t){this.push(null),t(e)};rr.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=Kg.from(e,t),t=""),n=!0),QH(this,e,t,!1,n)};rr.prototype.unshift=function(e){return QH(this,e,null,!0,!1)};function QH(e,t,r,n,i){var s=e._readableState;if(t===null)s.reading=!1,dBe(e,s);else{var o;i||(o=ABe(s,t)),o?e.emit("error",o):s.objectMode||t&&t.length>0?(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==Kg.prototype&&(t=aBe(t)),n?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):u1(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?u1(e,s,t,!1):vH(e,s)):u1(e,s,t,!1))):n||(s.reading=!1)}return lBe(s)}function u1(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&&ab(e)),vH(e,t)}function ABe(e,t){var r;return!fBe(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}function lBe(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}rr.prototype.isPaused=function(){return this._readableState.flowing===!1};rr.prototype.setEncoding=function(e){return Kl||(Kl=ol().StringDecoder),this._readableState.decoder=new Kl(e),this._readableState.encoding=e,this};var bH=8388608;function hBe(e){return e>=bH?e=bH:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function IH(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=hBe(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}rr.prototype.read=function(e){Rt("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 Rt("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?c1(this):ab(this),null;if(e=IH(e,t),e===0&&t.ended)return t.length===0&&c1(this),null;var n=t.needReadable;Rt("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,Rt("length less than watermark",n)),t.ended||t.reading?(n=!1,Rt("reading or ended",n)):n&&(Rt("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=IH(r,t)));var i;return e>0?i=RH(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&&c1(this)),i!==null&&this.emit("data",i),i};function dBe(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,ab(e)}}function ab(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(Rt("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?Xl.nextTick(BH,e):BH(e))}function BH(e){Rt("emit readable"),e.emit("readable"),l1(e)}function vH(e,t){t.readingMore||(t.readingMore=!0,Xl.nextTick(gBe,e,t))}function gBe(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(Rt("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}rr.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};rr.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,Rt("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,s=i?a:L;n.endEmitted?Xl.nextTick(s):r.once("end",s),e.on("unpipe",o);function o(U,P){Rt("onunpipe"),U===r&&P&&P.hasUnpiped===!1&&(P.hasUnpiped=!0,c())}function a(){Rt("onend"),e.end()}var f=pBe(r);e.on("drain",f);var u=!1;function c(){Rt("cleanup"),e.removeListener("close",S),e.removeListener("finish",v),e.removeListener("drain",f),e.removeListener("error",b),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",L),r.removeListener("data",y),u=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&f()}var h=!1;r.on("data",y);function y(U){Rt("ondata"),h=!1;var P=e.write(U);P===!1&&!h&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&DH(n.pipes,e)!==-1)&&!u&&(Rt("false write response, pause",n.awaitDrain),n.awaitDrain++,h=!0),r.pause())}function b(U){Rt("onerror",U),L(),e.removeListener("error",b),CH(e,"error")===0&&e.emit("error",U)}cBe(e,"error",b);function S(){e.removeListener("finish",v),L()}e.once("close",S);function v(){Rt("onfinish"),e.removeListener("close",S),L()}e.once("finish",v);function L(){Rt("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(Rt("pipe resume"),r.resume()),e};function pBe(e){return function(){var t=e._readableState;Rt("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&CH(e,"data")&&(t.flowing=!0,l1(e))}}rr.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=DH(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)};rr.prototype.on=function(e,t){var r=A1.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&&ab(this):Xl.nextTick(yBe,this))}return r};rr.prototype.addListener=rr.prototype.on;function yBe(e){Rt("readable nexttick read 0"),e.read(0)}rr.prototype.resume=function(){var e=this._readableState;return e.flowing||(Rt("resume"),e.flowing=!0,EBe(this,e)),this};function EBe(e,t){t.resumeScheduled||(t.resumeScheduled=!0,Xl.nextTick(mBe,e,t))}function mBe(e,t){t.reading||(Rt("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),l1(e),t.flowing&&!t.reading&&e.read(0)}rr.prototype.pause=function(){return Rt("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(Rt("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function l1(e){var t=e._readableState;for(Rt("flow",t.flowing);t.flowing&&e.read()!==null;);}rr.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(Rt("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(Rt("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<f1.length;s++)e.on(f1[s],this.emit.bind(this,f1[s]));return this._read=function(o){Rt("wrapped _read",o),n&&(n=!1,e.resume())},this};Object.defineProperty(rr.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});rr._fromList=RH;function RH(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=bBe(e,t.buffer,t.decoder),r}function bBe(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?IBe(e,t):BBe(e,t),n}function IBe(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 BBe(e,t){var r=Kg.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 c1(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,Xl.nextTick(CBe,t,e))}function CBe(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function DH(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var h1=x((FOe,xH)=>{"use strict";xH.exports=Ma;var fb=mc(),MH=Object.create(jl());MH.inherits=at();MH.inherits(Ma,fb);function _Be(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 Ma(e){if(!(this instanceof Ma))return new Ma(e);fb.call(this,e),this._transformState={afterTransform:_Be.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",wBe)}function wBe(){var e=this;typeof this._flush=="function"?this._flush(function(t,r){NH(e,t,r)}):NH(this,null,null)}Ma.prototype.push=function(e,t){return this._transformState.needTransform=!1,fb.prototype.push.call(this,e,t)};Ma.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")};Ma.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)}};Ma.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};Ma.prototype._destroy=function(e,t){var r=this;fb.prototype._destroy.call(this,e,function(n){t(n),r.emit("close")})};function NH(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 LH=x((UOe,UH)=>{"use strict";UH.exports=Xg;var kH=h1(),FH=Object.create(jl());FH.inherits=at();FH.inherits(Xg,kH);function Xg(e){if(!(this instanceof Xg))return new Xg(e);kH.call(this,e)}Xg.prototype._transform=function(e,t,r){r(null,e)}});var d1=x((Do,PH)=>{Do=PH.exports=o1();Do.Stream=Do;Do.Readable=Do;Do.Writable=n1();Do.Duplex=mc();Do.Transform=h1();Do.PassThrough=LH()});var qH=x((LOe,HH)=>{"use strict";var SBe=st().Buffer,QBe=X9(),OH=d1().Transform,vBe=at();function Kf(e){OH.call(this),this._block=SBe.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}vBe(Kf,OH);Kf.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(i){n=i}r(n)};Kf.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(r){t=r}e(t)};Kf.prototype.update=function(e,t){if(this._finalized)throw new Error("Digest already called");for(var r=QBe(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};Kf.prototype._update=function(){throw new Error("_update is not implemented")};Kf.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};Kf.prototype._digest=function(){throw new Error("_digest is not implemented")};HH.exports=Kf});var cb=x((POe,zH)=>{"use strict";var g1=ur().Buffer,RBe=at(),jH=qH(),DBe=new Array(16),$g=[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],Zg=[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],ep=[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],tp=[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],rp=[0,1518500249,1859775393,2400959708,2840853838],np=[1352829926,1548603684,1836072691,2053994217,0];function bc(e,t){return e<<t|e>>>32-t}function GH(e,t,r,n,i,s,o,a){return bc(e+(t^r^n)+s+o|0,a)+i|0}function YH(e,t,r,n,i,s,o,a){return bc(e+(t&r|~t&n)+s+o|0,a)+i|0}function WH(e,t,r,n,i,s,o,a){return bc(e+((t|~r)^n)+s+o|0,a)+i|0}function VH(e,t,r,n,i,s,o,a){return bc(e+(t&n|r&~n)+s+o|0,a)+i|0}function JH(e,t,r,n,i,s,o,a){return bc(e+(t^(r|~n))+s+o|0,a)+i|0}function ub(){jH.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}RBe(ub,jH);ub.prototype._update=function(){for(var e=DBe,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,f=this._b|0,u=this._c|0,c=this._d|0,h=this._e|0,y=0;y<80;y+=1){var b,S;y<16?(b=GH(r,n,i,s,o,e[$g[y]],rp[0],ep[y]),S=JH(a,f,u,c,h,e[Zg[y]],np[0],tp[y])):y<32?(b=YH(r,n,i,s,o,e[$g[y]],rp[1],ep[y]),S=VH(a,f,u,c,h,e[Zg[y]],np[1],tp[y])):y<48?(b=WH(r,n,i,s,o,e[$g[y]],rp[2],ep[y]),S=WH(a,f,u,c,h,e[Zg[y]],np[2],tp[y])):y<64?(b=VH(r,n,i,s,o,e[$g[y]],rp[3],ep[y]),S=YH(a,f,u,c,h,e[Zg[y]],np[3],tp[y])):(b=JH(r,n,i,s,o,e[$g[y]],rp[4],ep[y]),S=GH(a,f,u,c,h,e[Zg[y]],np[4],tp[y])),r=o,o=s,s=bc(i,10),i=n,n=b,a=h,h=c,c=bc(u,10),u=f,f=S}var v=this._b+i+c|0;this._b=this._c+s+h|0,this._c=this._d+o+a|0,this._d=this._e+r+f|0,this._e=this._a+n+u|0,this._a=v};ub.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=g1.alloc?g1.alloc(20):new g1(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};zH.exports=ub});var Ic=x((OOe,KH)=>{"use strict";var TBe=st().Buffer,NBe=Yg();function Ab(e,t){this._block=TBe.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}Ab.prototype.update=function(e,t){e=NBe(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,f=Math.min(i-o,n-a),u=0;u<f;u++)r[a+u]=e[o+u];s+=f,o+=f,s%n===0&&this._update(r)}return this._len+=i,this};Ab.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};Ab.prototype._update=function(){throw new Error("_update must be implemented by subclass")};KH.exports=Ab});var ZH=x((HOe,$H)=>{"use strict";var MBe=at(),XH=Ic(),xBe=st().Buffer,kBe=[1518500249,1859775393,-1894007588,-899497514],FBe=new Array(80);function ip(){this.init(),this._w=FBe,XH.call(this,64,56)}MBe(ip,XH);ip.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function UBe(e){return e<<5|e>>>27}function LBe(e){return e<<30|e>>>2}function PBe(e,t,r,n){return e===0?t&r|~t&n:e===2?t&r|t&n|r&n:t^r^n}ip.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 f=0;f<80;++f){var u=~~(f/20),c=UBe(r)+PBe(u,n,i,s)+o+t[f]+kBe[u]|0;o=s,s=i,i=LBe(n),n=r,r=c}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};ip.prototype._hash=function(){var e=xBe.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};$H.exports=ip});var r7=x((qOe,t7)=>{"use strict";var OBe=at(),e7=Ic(),HBe=st().Buffer,qBe=[1518500249,1859775393,-1894007588,-899497514],GBe=new Array(80);function sp(){this.init(),this._w=GBe,e7.call(this,64,56)}OBe(sp,e7);sp.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function YBe(e){return e<<1|e>>>31}function WBe(e){return e<<5|e>>>27}function VBe(e){return e<<30|e>>>2}function JBe(e,t,r,n){return e===0?t&r|~t&n:e===2?t&r|t&n|r&n:t^r^n}sp.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]=YBe(t[a-3]^t[a-8]^t[a-14]^t[a-16]);for(var f=0;f<80;++f){var u=~~(f/20),c=WBe(r)+JBe(u,n,i,s)+o+t[f]+qBe[u]|0;o=s,s=i,i=VBe(n),n=r,r=c}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};sp.prototype._hash=function(){var e=HBe.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};t7.exports=sp});var p1=x((GOe,i7)=>{"use strict";var jBe=at(),n7=Ic(),zBe=st().Buffer,KBe=[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],XBe=new Array(64);function op(){this.init(),this._w=XBe,n7.call(this,64,56)}jBe(op,n7);op.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 $Be(e,t,r){return r^e&(t^r)}function ZBe(e,t,r){return e&t|r&(e|t)}function eCe(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function tCe(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function rCe(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function nCe(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}op.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,f=this._g|0,u=this._h|0,c=0;c<16;++c)t[c]=e.readInt32BE(c*4);for(;c<64;++c)t[c]=nCe(t[c-2])+t[c-7]+rCe(t[c-15])+t[c-16]|0;for(var h=0;h<64;++h){var y=u+tCe(o)+$Be(o,a,f)+KBe[h]+t[h]|0,b=eCe(r)+ZBe(r,n,i)|0;u=f,f=a,a=o,o=s+y|0,s=i,i=n,n=r,r=y+b|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=f+this._g|0,this._h=u+this._h|0};op.prototype._hash=function(){var e=zBe.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};i7.exports=op});var o7=x((YOe,s7)=>{"use strict";var iCe=at(),sCe=p1(),oCe=Ic(),aCe=st().Buffer,fCe=new Array(64);function lb(){this.init(),this._w=fCe,oCe.call(this,64,56)}iCe(lb,sCe);lb.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};lb.prototype._hash=function(){var e=aCe.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};s7.exports=lb});var y1=x((WOe,h7)=>{"use strict";var uCe=at(),l7=Ic(),cCe=st().Buffer,a7=[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],ACe=new Array(160);function ap(){this.init(),this._w=ACe,l7.call(this,128,112)}uCe(ap,l7);ap.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 f7(e,t,r){return r^e&(t^r)}function u7(e,t,r){return e&t|r&(e|t)}function c7(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function A7(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function lCe(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function hCe(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function dCe(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function gCe(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function Yr(e,t){return e>>>0<t>>>0?1:0}ap.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,f=this._gh|0,u=this._hh|0,c=this._al|0,h=this._bl|0,y=this._cl|0,b=this._dl|0,S=this._el|0,v=this._fl|0,L=this._gl|0,U=this._hl|0,P=0;P<32;P+=2)t[P]=e.readInt32BE(P*4),t[P+1]=e.readInt32BE(P*4+4);for(;P<160;P+=2){var Y=t[P-30],V=t[P-30+1],X=lCe(Y,V),j=hCe(V,Y);Y=t[P-4],V=t[P-4+1];var re=dCe(Y,V),ie=gCe(V,Y),oe=t[P-14],O=t[P-14+1],E=t[P-32],R=t[P-32+1],B=j+O|0,l=X+oe+Yr(B,j)|0;B=B+ie|0,l=l+re+Yr(B,ie)|0,B=B+R|0,l=l+E+Yr(B,R)|0,t[P]=l,t[P+1]=B}for(var p=0;p<160;p+=2){l=t[p],B=t[p+1];var Q=u7(r,n,i),D=u7(c,h,y),_=c7(r,c),d=c7(c,r),T=A7(o,S),M=A7(S,o),C=a7[p],F=a7[p+1],se=f7(o,a,f),ue=f7(S,v,L),Ae=U+M|0,pe=u+T+Yr(Ae,U)|0;Ae=Ae+ue|0,pe=pe+se+Yr(Ae,ue)|0,Ae=Ae+F|0,pe=pe+C+Yr(Ae,F)|0,Ae=Ae+B|0,pe=pe+l+Yr(Ae,B)|0;var he=d+D|0,de=_+Q+Yr(he,d)|0;u=f,U=L,f=a,L=v,a=o,v=S,S=b+Ae|0,o=s+pe+Yr(S,b)|0,s=i,b=y,i=n,y=h,n=r,h=c,c=Ae+he|0,r=pe+de+Yr(c,Ae)|0}this._al=this._al+c|0,this._bl=this._bl+h|0,this._cl=this._cl+y|0,this._dl=this._dl+b|0,this._el=this._el+S|0,this._fl=this._fl+v|0,this._gl=this._gl+L|0,this._hl=this._hl+U|0,this._ah=this._ah+r+Yr(this._al,c)|0,this._bh=this._bh+n+Yr(this._bl,h)|0,this._ch=this._ch+i+Yr(this._cl,y)|0,this._dh=this._dh+s+Yr(this._dl,b)|0,this._eh=this._eh+o+Yr(this._el,S)|0,this._fh=this._fh+a+Yr(this._fl,v)|0,this._gh=this._gh+f+Yr(this._gl,L)|0,this._hh=this._hh+u+Yr(this._hl,U)|0};ap.prototype._hash=function(){var e=cCe.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};h7.exports=ap});var g7=x((VOe,d7)=>{"use strict";var pCe=at(),yCe=y1(),ECe=Ic(),mCe=st().Buffer,bCe=new Array(160);function hb(){this.init(),this._w=bCe,ECe.call(this,128,112)}pCe(hb,yCe);hb.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};hb.prototype._hash=function(){var e=mCe.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};d7.exports=hb});var db=x((JOe,xa)=>{"use strict";xa.exports=function(t){var r=t.toLowerCase(),n=xa.exports[r];if(!n)throw new Error(r+" is not supported (we accept pull requests)");return new n};xa.exports.sha=ZH();xa.exports.sha1=r7();xa.exports.sha224=o7();xa.exports.sha256=p1();xa.exports.sha384=g7();xa.exports.sha512=y1()});var ka=x((jOe,y7)=>{"use strict";var ICe=st().Buffer,p7=(Or(),Lr(dt)).Transform,BCe=ol().StringDecoder,CCe=at(),_Ce=Yg();function Qs(e){p7.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}CCe(Qs,p7);Qs.prototype.update=function(e,t,r){var n=_Ce(e,t),i=this._update(n);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)};Qs.prototype.setAutoPadding=function(){};Qs.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")};Qs.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")};Qs.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")};Qs.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)}};Qs.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(r){t=r}e(t)};Qs.prototype._finalOrDigest=function(e){var t=this.__final()||ICe.alloc(0);return e&&(t=this._toString(t,e,!0)),t};Qs.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new BCe(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};y7.exports=Qs});var $l=x((zOe,m7)=>{"use strict";var wCe=at(),SCe=Xm(),QCe=cb(),vCe=db(),E7=ka();function gb(e){E7.call(this,"digest"),this._hash=e}wCe(gb,E7);gb.prototype._update=function(e){this._hash.update(e)};gb.prototype._final=function(){return this._hash.digest()};m7.exports=function(t){return t=t.toLowerCase(),t==="md5"?new SCe:t==="rmd160"||t==="ripemd160"?new QCe:new gb(vCe(t))}});var B7=x((KOe,I7)=>{"use strict";var RCe=at(),Bc=st().Buffer,b7=ka(),DCe=Bc.alloc(128),Zl=64;function pb(e,t){b7.call(this,"digest"),typeof t=="string"&&(t=Bc.from(t)),this._alg=e,this._key=t,t.length>Zl?t=e(t):t.length<Zl&&(t=Bc.concat([t,DCe],Zl));for(var r=this._ipad=Bc.allocUnsafe(Zl),n=this._opad=Bc.allocUnsafe(Zl),i=0;i<Zl;i++)r[i]=t[i]^54,n[i]=t[i]^92;this._hash=[r]}RCe(pb,b7);pb.prototype._update=function(e){this._hash.push(e)};pb.prototype._final=function(){var e=this._alg(Bc.concat(this._hash));return this._alg(Bc.concat([this._opad,e]))};I7.exports=pb});var E1=x((XOe,C7)=>{var TCe=Xm();C7.exports=function(e){return new TCe().update(e).digest()}});var I1=x(($Oe,w7)=>{"use strict";var NCe=at(),MCe=B7(),_7=ka(),fp=st().Buffer,xCe=E1(),m1=cb(),b1=db(),kCe=fp.alloc(128);function up(e,t){_7.call(this,"digest"),typeof t=="string"&&(t=fp.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 m1:b1(e);t=n.update(t).digest()}else t.length<r&&(t=fp.concat([t,kCe],r));for(var i=this._ipad=fp.allocUnsafe(r),s=this._opad=fp.allocUnsafe(r),o=0;o<r;o++)i[o]=t[o]^54,s[o]=t[o]^92;this._hash=e==="rmd160"?new m1:b1(e),this._hash.update(i)}NCe(up,_7);up.prototype._update=function(e){this._hash.update(e)};up.prototype._final=function(){var e=this._hash.digest(),t=this._alg==="rmd160"?new m1:b1(this._alg);return t.update(this._opad).update(e).digest()};w7.exports=function(t,r){return t=t.toLowerCase(),t==="rmd160"||t==="ripemd160"?new up("rmd160",r):t==="md5"?new MCe(xCe,r):new up(t,r)}});var B1=x((ZOe,FCe)=>{FCe.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 Q7=x((e9e,S7)=>{"use strict";S7.exports=B1()});var C1=x((t9e,v7)=>{"use strict";var UCe=isFinite,LCe=Math.pow(2,30)-1;v7.exports=function(e,t){if(typeof e!="number")throw new TypeError("Iterations not a number");if(e<0||!UCe(e))throw new TypeError("Bad iterations");if(typeof t!="number")throw new TypeError("Key length not a number");if(t<0||t>LCe||t!==t)throw new TypeError("Bad key length");return t+0}});var _1=x((r9e,D7)=>{"use strict";var yb;globalThis.process&&globalThis.process.browser?yb="utf-8":globalThis.process&&globalThis.process.version?(R7=parseInt(process.version.split(".")[0].slice(1),10),yb=R7>=6?"utf-8":"binary"):yb="utf-8";var R7;D7.exports=yb});var w1=x((n9e,M7)=>{"use strict";var PCe=st().Buffer,OCe=Yg(),N7=typeof Uint8Array<"u",HCe=N7&&typeof ArrayBuffer<"u",T7=HCe&&ArrayBuffer.isView;M7.exports=function(e,t,r){if(typeof e=="string"||PCe.isBuffer(e)||N7&&e instanceof Uint8Array||T7&&T7(e))return OCe(e,t);throw new TypeError(r+" must be a string, a Buffer, a Uint8Array, or a DataView")}});var S1=x((i9e,U7)=>{"use strict";var qCe=E1(),GCe=cb(),YCe=db(),Cc=st().Buffer,WCe=C1(),x7=_1(),k7=w1(),VCe=Cc.alloc(128),Eb={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},JCe={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function jCe(e){return new GCe().update(e).digest()}function zCe(e){function t(r){return YCe(e).update(r).digest()}return e==="rmd160"||e==="ripemd160"?jCe:e==="md5"?qCe:t}function F7(e,t,r){var n=zCe(e),i=e==="sha512"||e==="sha384"?128:64;t.length>i?t=n(t):t.length<i&&(t=Cc.concat([t,VCe],i));for(var s=Cc.allocUnsafe(i+Eb[e]),o=Cc.allocUnsafe(i+Eb[e]),a=0;a<i;a++)s[a]=t[a]^54,o[a]=t[a]^92;var f=Cc.allocUnsafe(i+r+4);s.copy(f,0,0,i),this.ipad1=f,this.ipad2=s,this.opad=o,this.alg=e,this.blocksize=i,this.hash=n,this.size=Eb[e]}F7.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 KCe(e,t,r,n,i){n=WCe(r,n),e=k7(e,x7,"Password"),t=k7(t,x7,"Salt");var s=(i||"sha1").toLowerCase(),o=JCe[s]||s,a=Eb[o];if(typeof a!="number"||!a)throw new TypeError("Digest algorithm not supported: "+i);var f=new F7(o,e,t.length),u=Cc.allocUnsafe(n),c=Cc.allocUnsafe(t.length+4);t.copy(c,0,0,t.length);for(var h=0,y=a,b=Math.ceil(n/y),S=1;S<=b;S++){c.writeUInt32BE(S,t.length);for(var v=f.run(c,f.ipad1),L=v,U=1;U<r;U++){L=f.run(L,f.ipad2);for(var P=0;P<y;P++)v[P]^=L[P]}v.copy(u,h),h+=y}return u}U7.exports=KCe});var Y7=x((s9e,G7)=>{"use strict";var H7=st().Buffer,XCe=C1(),L7=_1(),P7=S1(),O7=w1(),mb,cp=globalThis.crypto&&globalThis.crypto.subtle,$Ce={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"},Q1=[],_c;function v1(){return _c||(globalThis.process&&globalThis.process.nextTick?_c=globalThis.process.nextTick:globalThis.queueMicrotask?_c=globalThis.queueMicrotask:globalThis.setImmediate?_c=globalThis.setImmediate:_c=globalThis.setTimeout,_c)}function q7(e,t,r,n,i){return cp.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(s){return cp.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},s,n<<3)}).then(function(s){return H7.from(s)})}function ZCe(e){if(globalThis.process&&!globalThis.process.browser||!cp||!cp.importKey||!cp.deriveBits)return Promise.resolve(!1);if(Q1[e]!==void 0)return Q1[e];mb=mb||H7.alloc(8);var t=q7(mb,mb,10,128,e).then(function(){return!0},function(){return!1});return Q1[e]=t,t}function e_e(e,t){e.then(function(r){v1()(function(){t(null,r)})},function(r){v1()(function(){t(r)})})}G7.exports=function(e,t,r,n,i,s){if(typeof i=="function"&&(s=i,i=void 0),n=XCe(r,n),e=O7(e,L7,"Password"),t=O7(t,L7,"Salt"),typeof s!="function")throw new Error("No callback provided to pbkdf2");i=i||"sha1";var o=$Ce[i.toLowerCase()];if(!o||typeof globalThis.Promise!="function"){v1()(function(){var a;try{a=P7(e,t,r,n,i)}catch(f){s(f);return}s(null,a)});return}e_e(ZCe(o).then(function(a){return a?q7(e,t,r,n,o):P7(e,t,r,n,i)}),s)}});var D1=x(R1=>{"use strict";R1.pbkdf2=Y7();R1.pbkdf2Sync=S1()});var T1=x(Pi=>{"use strict";Pi.readUInt32BE=function(t,r){var n=t[0+r]<<24|t[1+r]<<16|t[2+r]<<8|t[3+r];return n>>>0};Pi.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};Pi.ip=function(t,r,n,i){for(var s=0,o=0,a=6;a>=0;a-=2){for(var f=0;f<=24;f+=8)s<<=1,s|=r>>>f+a&1;for(var f=0;f<=24;f+=8)s<<=1,s|=t>>>f+a&1}for(var a=6;a>=0;a-=2){for(var f=1;f<=25;f+=8)o<<=1,o|=r>>>f+a&1;for(var f=1;f<=25;f+=8)o<<=1,o|=t>>>f+a&1}n[i+0]=s>>>0,n[i+1]=o>>>0};Pi.rip=function(t,r,n,i){for(var s=0,o=0,a=0;a<4;a++)for(var f=24;f>=0;f-=8)s<<=1,s|=r>>>f+a&1,s<<=1,s|=t>>>f+a&1;for(var a=4;a<8;a++)for(var f=24;f>=0;f-=8)o<<=1,o|=r>>>f+a&1,o<<=1,o|=t>>>f+a&1;n[i+0]=s>>>0,n[i+1]=o>>>0};Pi.pc1=function(t,r,n,i){for(var s=0,o=0,a=7;a>=5;a--){for(var f=0;f<=24;f+=8)s<<=1,s|=r>>f+a&1;for(var f=0;f<=24;f+=8)s<<=1,s|=t>>f+a&1}for(var f=0;f<=24;f+=8)s<<=1,s|=r>>f+a&1;for(var a=1;a<=3;a++){for(var f=0;f<=24;f+=8)o<<=1,o|=r>>f+a&1;for(var f=0;f<=24;f+=8)o<<=1,o|=t>>f+a&1}for(var f=0;f<=24;f+=8)o<<=1,o|=t>>f+a&1;n[i+0]=s>>>0,n[i+1]=o>>>0};Pi.r28shl=function(t,r){return t<<r&268435455|t>>>28-r};var bb=[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];Pi.pc2=function(t,r,n,i){for(var s=0,o=0,a=bb.length>>>1,f=0;f<a;f++)s<<=1,s|=t>>>bb[f]&1;for(var f=a;f<bb.length;f++)o<<=1,o|=r>>>bb[f]&1;n[i+0]=s>>>0,n[i+1]=o>>>0};Pi.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 W7=[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];Pi.substitute=function(t,r){for(var n=0,i=0;i<4;i++){var s=t>>>18-i*6&63,o=W7[i*64+s];n<<=4,n|=o}for(var i=0;i<4;i++){var s=r>>>18-i*6&63,o=W7[256+i*64+s];n<<=4,n|=o}return n>>>0};var V7=[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];Pi.permute=function(t){for(var r=0,n=0;n<V7.length;n++)r<<=1,r|=t>>>V7[n]&1;return r>>>0};Pi.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 Ai=x((f9e,j7)=>{j7.exports=J7;function J7(e,t){if(!e)throw new Error(t||"Assertion failed")}J7.equal=function(t,r,n){if(t!=r)throw new Error(n||"Assertion failed: "+t+" != "+r)}});var Ib=x((u9e,z7)=>{"use strict";var t_e=Ai();function Oi(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}z7.exports=Oi;Oi.prototype._init=function(){};Oi.prototype.update=function(t){return t.length===0?[]:this.type==="decrypt"?this._updateDecrypt(t):this._updateEncrypt(t)};Oi.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};Oi.prototype._flushBuffer=function(t,r){return this._update(this.buffer,0,t,r),this.bufferOff=0,this.blockSize};Oi.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};Oi.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};Oi.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};Oi.prototype._pad=function(t,r){if(r===0)return!1;for(;r<t.length;)t[r++]=0;return!0};Oi.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};Oi.prototype._unpad=function(t){return t};Oi.prototype._finalDecrypt=function(){t_e.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 N1=x((c9e,$7)=>{"use strict";var K7=Ai(),r_e=at(),kr=T1(),X7=Ib();function n_e(){this.tmp=new Array(2),this.keys=null}function To(e){X7.call(this,e);var t=new n_e;this._desState=t,this.deriveKeys(t,e.key)}r_e(To,X7);$7.exports=To;To.create=function(t){return new To(t)};var i_e=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];To.prototype.deriveKeys=function(t,r){t.keys=new Array(32),K7.equal(r.length,this.blockSize,"Invalid key length");var n=kr.readUInt32BE(r,0),i=kr.readUInt32BE(r,4);kr.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=i_e[s>>>1];n=kr.r28shl(n,o),i=kr.r28shl(i,o),kr.pc2(n,i,t.keys,s)}};To.prototype._update=function(t,r,n,i){var s=this._desState,o=kr.readUInt32BE(t,r),a=kr.readUInt32BE(t,r+4);kr.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],kr.writeUInt32BE(n,o,i),kr.writeUInt32BE(n,a,i+4)};To.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};To.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++)K7.equal(t[n],r);return t.slice(0,t.length-r)};To.prototype._encrypt=function(t,r,n,i,s){for(var o=r,a=n,f=0;f<t.keys.length;f+=2){var u=t.keys[f],c=t.keys[f+1];kr.expand(a,t.tmp,0),u^=t.tmp[0],c^=t.tmp[1];var h=kr.substitute(u,c),y=kr.permute(h),b=a;a=(o^y)>>>0,o=b}kr.rip(a,o,i,s)};To.prototype._decrypt=function(t,r,n,i,s){for(var o=n,a=r,f=t.keys.length-2;f>=0;f-=2){var u=t.keys[f],c=t.keys[f+1];kr.expand(o,t.tmp,0),u^=t.tmp[0],c^=t.tmp[1];var h=kr.substitute(u,c),y=kr.permute(h),b=o;o=(a^y)>>>0,a=b}kr.rip(o,a,i,s)}});var eq=x(Z7=>{"use strict";var s_e=Ai(),o_e=at(),Bb={};function a_e(e){s_e.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 f_e(e){function t(s){e.call(this,s),this._cbcInit()}o_e(t,e);for(var r=Object.keys(Bb),n=0;n<r.length;n++){var i=r[n];t.prototype[i]=Bb[i]}return t.create=function(o){return new t(o)},t}Z7.instantiate=f_e;Bb._cbcInit=function(){var t=new a_e(this.options.iv);this._cbcState=t};Bb._update=function(t,r,n,i){var s=this._cbcState,o=this.constructor.super_.prototype,a=s.iv;if(this.type==="encrypt"){for(var f=0;f<this.blockSize;f++)a[f]^=t[r+f];o._update.call(this,a,0,n,i);for(var f=0;f<this.blockSize;f++)a[f]=n[i+f]}else{o._update.call(this,t,r,n,i);for(var f=0;f<this.blockSize;f++)n[i+f]^=a[f];for(var f=0;f<this.blockSize;f++)a[f]=t[r+f]}}});var nq=x((l9e,rq)=>{"use strict";var u_e=Ai(),c_e=at(),tq=Ib(),Xf=N1();function A_e(e,t){u_e.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=[Xf.create({type:"encrypt",key:r}),Xf.create({type:"decrypt",key:n}),Xf.create({type:"encrypt",key:i})]:this.ciphers=[Xf.create({type:"decrypt",key:i}),Xf.create({type:"encrypt",key:n}),Xf.create({type:"decrypt",key:r})]}function wc(e){tq.call(this,e);var t=new A_e(this.type,this.options.key);this._edeState=t}c_e(wc,tq);rq.exports=wc;wc.create=function(t){return new wc(t)};wc.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)};wc.prototype._pad=Xf.prototype._pad;wc.prototype._unpad=Xf.prototype._unpad});var iq=x(eh=>{"use strict";eh.utils=T1();eh.Cipher=Ib();eh.DES=N1();eh.CBC=eq();eh.EDE=nq()});var aq=x((d9e,oq)=>{var sq=ka(),Fa=iq(),l_e=at(),Sc=st().Buffer,Ap={"des-ede3-cbc":Fa.CBC.instantiate(Fa.EDE),"des-ede3":Fa.EDE,"des-ede-cbc":Fa.CBC.instantiate(Fa.EDE),"des-ede":Fa.EDE,"des-cbc":Fa.CBC.instantiate(Fa.DES),"des-ecb":Fa.DES};Ap.des=Ap["des-cbc"];Ap.des3=Ap["des-ede3-cbc"];oq.exports=Cb;l_e(Cb,sq);function Cb(e){sq.call(this);var t=e.mode.toLowerCase(),r=Ap[t],n;e.decrypt?n="decrypt":n="encrypt";var i=e.key;Sc.isBuffer(i)||(i=Sc.from(i)),(t==="des-ede"||t==="des-ede-cbc")&&(i=Sc.concat([i,i.slice(0,8)]));var s=e.iv;Sc.isBuffer(s)||(s=Sc.from(s)),this._des=r.create({key:i,iv:s,type:n})}Cb.prototype._update=function(e){return Sc.from(this._des.update(e))};Cb.prototype._final=function(){return Sc.from(this._des.final())}});var fq=x(M1=>{M1.encrypt=function(e,t){return e._cipher.encryptBlock(t)};M1.decrypt=function(e,t){return e._cipher.decryptBlock(t)}});var th=x((p9e,uq)=>{uq.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 Aq=x(x1=>{var cq=th();x1.encrypt=function(e,t){var r=cq(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev};x1.decrypt=function(e,t){var r=e._prev;e._prev=t;var n=e._cipher.decryptBlock(t);return cq(n,r)}});var dq=x(hq=>{var lp=st().Buffer,h_e=th();function lq(e,t,r){var n=t.length,i=h_e(t,e._cache);return e._cache=e._cache.slice(n),e._prev=lp.concat([e._prev,r?t:i]),i}hq.encrypt=function(e,t,r){for(var n=lp.allocUnsafe(0),i;t.length;)if(e._cache.length===0&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=lp.allocUnsafe(0)),e._cache.length<=t.length)i=e._cache.length,n=lp.concat([n,lq(e,t.slice(0,i),r)]),t=t.slice(i);else{n=lp.concat([n,lq(e,t,r)]);break}return n}});var pq=x(gq=>{var k1=st().Buffer;function d_e(e,t,r){var n=e._cipher.encryptBlock(e._prev),i=n[0]^t;return e._prev=k1.concat([e._prev.slice(1),k1.from([r?t:i])]),i}gq.encrypt=function(e,t,r){for(var n=t.length,i=k1.allocUnsafe(n),s=-1;++s<n;)i[s]=d_e(e,t[s],r);return i}});var Eq=x(yq=>{var _b=st().Buffer;function g_e(e,t,r){for(var n,i=-1,s=8,o=0,a,f;++i<s;)n=e._cipher.encryptBlock(e._prev),a=t&1<<7-i?128:0,f=n[0]^a,o+=(f&128)>>i%8,e._prev=p_e(e._prev,r?a:f);return o}function p_e(e,t){var r=e.length,n=-1,i=_b.allocUnsafe(e.length);for(e=_b.concat([e,_b.from([t])]);++n<r;)i[n]=e[n]<<1|e[n+1]>>7;return i}yq.encrypt=function(e,t,r){for(var n=t.length,i=_b.allocUnsafe(n),s=-1;++s<n;)i[s]=g_e(e,t[s],r);return i}});var bq=x(mq=>{var y_e=th();function E_e(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}mq.encrypt=function(e,t){for(;e._cache.length<t.length;)e._cache=Buffer.concat([e._cache,E_e(e)]);var r=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),y_e(t,r)}});var F1=x((B9e,Iq)=>{function m_e(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}}Iq.exports=m_e});var L1=x(Cq=>{var b_e=th(),Bq=st().Buffer,I_e=F1();function B_e(e){var t=e._cipher.encryptBlockRaw(e._prev);return I_e(e._prev),t}var U1=16;Cq.encrypt=function(e,t){var r=Math.ceil(t.length/U1),n=e._cache.length;e._cache=Bq.concat([e._cache,Bq.allocUnsafe(r*U1)]);for(var i=0;i<r;i++){var s=B_e(e),o=n+i*U1;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),b_e(t,a)}});var P1=x((_9e,C_e)=>{C_e.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 Sb=x((w9e,_q)=>{var __e={ECB:fq(),CBC:Aq(),CFB:dq(),CFB8:pq(),CFB1:Eq(),OFB:bq(),CTR:L1(),GCM:L1()},wb=P1();for(O1 in wb)wb[O1].module=__e[wb[O1].mode];var O1;_q.exports=wb});var hp=x((S9e,Sq)=>{var Qb=st().Buffer;function q1(e){Qb.isBuffer(e)||(e=Qb.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 H1(e){for(var t=0;t<e.length;e++)e[t]=0}function wq(e,t,r,n,i){for(var s=r[0],o=r[1],a=r[2],f=r[3],u=e[0]^t[0],c=e[1]^t[1],h=e[2]^t[2],y=e[3]^t[3],b,S,v,L,U=4,P=1;P<i;P++)b=s[u>>>24]^o[c>>>16&255]^a[h>>>8&255]^f[y&255]^t[U++],S=s[c>>>24]^o[h>>>16&255]^a[y>>>8&255]^f[u&255]^t[U++],v=s[h>>>24]^o[y>>>16&255]^a[u>>>8&255]^f[c&255]^t[U++],L=s[y>>>24]^o[u>>>16&255]^a[c>>>8&255]^f[h&255]^t[U++],u=b,c=S,h=v,y=L;return b=(n[u>>>24]<<24|n[c>>>16&255]<<16|n[h>>>8&255]<<8|n[y&255])^t[U++],S=(n[c>>>24]<<24|n[h>>>16&255]<<16|n[y>>>8&255]<<8|n[u&255])^t[U++],v=(n[h>>>24]<<24|n[y>>>16&255]<<16|n[u>>>8&255]<<8|n[c&255])^t[U++],L=(n[y>>>24]<<24|n[u>>>16&255]<<16|n[c>>>8&255]<<8|n[h&255])^t[U++],b=b>>>0,S=S>>>0,v=v>>>0,L=L>>>0,[b,S,v,L]}var w_e=[0,1,2,4,8,16,32,64,128,27,54],Qr=(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,f=0;f<256;++f){var u=a^a<<1^a<<2^a<<3^a<<4;u=u>>>8^u&255^99,r[o]=u,n[u]=o;var c=e[o],h=e[c],y=e[h],b=e[u]*257^u*16843008;i[0][o]=b<<24|b>>>8,i[1][o]=b<<16|b>>>16,i[2][o]=b<<8|b>>>24,i[3][o]=b,b=y*16843009^h*65537^c*257^o*16843008,s[0][u]=b<<24|b>>>8,s[1][u]=b<<16|b>>>16,s[2][u]=b<<8|b>>>24,s[3][u]=b,o===0?o=a=1:(o=c^e[e[e[y^c]]],a^=e[e[a]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:s}})();function Hi(e){this._key=q1(e),this._reset()}Hi.blockSize=16;Hi.keySize=256/8;Hi.prototype.blockSize=Hi.blockSize;Hi.prototype.keySize=Hi.keySize;Hi.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=Qr.SBOX[o>>>24]<<24|Qr.SBOX[o>>>16&255]<<16|Qr.SBOX[o>>>8&255]<<8|Qr.SBOX[o&255],o^=w_e[s/t|0]<<24):t>6&&s%t===4&&(o=Qr.SBOX[o>>>24]<<24|Qr.SBOX[o>>>16&255]<<16|Qr.SBOX[o>>>8&255]<<8|Qr.SBOX[o&255]),i[s]=i[s-t]^o}for(var a=[],f=0;f<n;f++){var u=n-f,c=i[u-(f%4?0:4)];f<4||u<=4?a[f]=c:a[f]=Qr.INV_SUB_MIX[0][Qr.SBOX[c>>>24]]^Qr.INV_SUB_MIX[1][Qr.SBOX[c>>>16&255]]^Qr.INV_SUB_MIX[2][Qr.SBOX[c>>>8&255]]^Qr.INV_SUB_MIX[3][Qr.SBOX[c&255]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=a};Hi.prototype.encryptBlockRaw=function(e){return e=q1(e),wq(e,this._keySchedule,Qr.SUB_MIX,Qr.SBOX,this._nRounds)};Hi.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=Qb.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r};Hi.prototype.decryptBlock=function(e){e=q1(e);var t=e[1];e[1]=e[3],e[3]=t;var r=wq(e,this._invKeySchedule,Qr.INV_SUB_MIX,Qr.INV_SBOX,this._nRounds),n=Qb.allocUnsafe(16);return n.writeUInt32BE(r[0],0),n.writeUInt32BE(r[3],4),n.writeUInt32BE(r[2],8),n.writeUInt32BE(r[1],12),n};Hi.prototype.scrub=function(){H1(this._keySchedule),H1(this._invKeySchedule),H1(this._key)};Sq.exports.AES=Hi});var Rq=x((Q9e,vq)=>{var rh=st().Buffer,S_e=rh.alloc(16,0);function Q_e(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function Qq(e){var t=rh.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 dp(e){this.h=e,this.state=rh.alloc(16,0),this.cache=rh.allocUnsafe(0)}dp.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()};dp.prototype._multiply=function(){for(var e=Q_e(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=Qq(t)};dp.prototype.update=function(e){this.cache=rh.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)};dp.prototype.final=function(e,t){return this.cache.length&&this.ghash(rh.concat([this.cache,S_e],16)),this.ghash(Qq([0,e,0,t])),this.state};vq.exports=dp});var G1=x((v9e,Nq)=>{var v_e=hp(),jn=st().Buffer,Dq=ka(),R_e=at(),Tq=Rq(),D_e=th(),T_e=F1();function N_e(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 M_e(e,t,r){if(t.length===12)return e._finID=jn.concat([t,jn.from([0,0,0,1])]),jn.concat([t,jn.from([0,0,0,2])]);var n=new Tq(r),i=t.length,s=i%16;n.update(t),s&&(s=16-s,n.update(jn.alloc(s,0))),n.update(jn.alloc(8,0));var o=i*8,a=jn.alloc(8);a.writeUIntBE(o,0,8),n.update(a),e._finID=n.state;var f=jn.from(e._finID);return T_e(f),f}function Qc(e,t,r,n){Dq.call(this);var i=jn.alloc(4,0);this._cipher=new v_e.AES(t);var s=this._cipher.encryptBlock(i);this._ghash=new Tq(s),r=M_e(this,r,s),this._prev=jn.from(r),this._cache=jn.allocUnsafe(0),this._secCache=jn.allocUnsafe(0),this._decrypt=n,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}R_e(Qc,Dq);Qc.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=jn.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};Qc.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=D_e(this._ghash.final(this._alen*8,this._len*8),this._cipher.encryptBlock(this._finID));if(this._decrypt&&N_e(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()};Qc.prototype.getAuthTag=function(){if(this._decrypt||!jn.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag};Qc.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t};Qc.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};Nq.exports=Qc});var W1=x((R9e,xq)=>{var x_e=hp(),Y1=st().Buffer,Mq=ka(),k_e=at();function vb(e,t,r,n){Mq.call(this),this._cipher=new x_e.AES(t),this._prev=Y1.from(r),this._cache=Y1.allocUnsafe(0),this._secCache=Y1.allocUnsafe(0),this._decrypt=n,this._mode=e}k_e(vb,Mq);vb.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)};vb.prototype._final=function(){this._cipher.scrub()};xq.exports=vb});var gp=x((D9e,kq)=>{var vc=st().Buffer,F_e=Xm();function U_e(e,t,r,n){if(vc.isBuffer(e)||(e=vc.from(e,"binary")),t&&(vc.isBuffer(t)||(t=vc.from(t,"binary")),t.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var i=r/8,s=vc.alloc(i),o=vc.alloc(n||0),a=vc.alloc(0);i>0||n>0;){var f=new F_e;f.update(a),f.update(e),t&&f.update(t),a=f.digest();var u=0;if(i>0){var c=s.length-i;u=Math.min(i,a.length),a.copy(s,c,0,u),i-=u}if(u<a.length&&n>0){var h=o.length-n,y=Math.min(n,a.length-u);a.copy(o,h,u,u+y),n-=y}}return a.fill(0),{key:s,iv:o}}kq.exports=U_e});var Pq=x(V1=>{var Fq=Sb(),L_e=G1(),Ua=st().Buffer,P_e=W1(),Uq=ka(),O_e=hp(),H_e=gp(),q_e=at();function pp(e,t,r){Uq.call(this),this._cache=new Rb,this._cipher=new O_e.AES(t),this._prev=Ua.from(r),this._mode=e,this._autopadding=!0}q_e(pp,Uq);pp.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 Ua.concat(n)};var G_e=Ua.alloc(16,16);pp.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(G_e))throw this._cipher.scrub(),new Error("data not multiple of block length")};pp.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this};function Rb(){this.cache=Ua.allocUnsafe(0)}Rb.prototype.add=function(e){this.cache=Ua.concat([this.cache,e])};Rb.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};Rb.prototype.flush=function(){for(var e=16-this.cache.length,t=Ua.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return Ua.concat([this.cache,t])};function Lq(e,t,r){var n=Fq[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");if(typeof t=="string"&&(t=Ua.from(t)),t.length!==n.key/8)throw new TypeError("invalid key length "+t.length);if(typeof r=="string"&&(r=Ua.from(r)),n.mode!=="GCM"&&r.length!==n.iv)throw new TypeError("invalid iv length "+r.length);return n.type==="stream"?new P_e(n.module,t,r):n.type==="auth"?new L_e(n.module,t,r):new pp(n.module,t,r)}function Y_e(e,t){var r=Fq[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=H_e(t,!1,r.key,r.iv);return Lq(e,n.key,n.iv)}V1.createCipheriv=Lq;V1.createCipher=Y_e});var Gq=x(J1=>{var W_e=G1(),nh=st().Buffer,Oq=Sb(),V_e=W1(),Hq=ka(),J_e=hp(),j_e=gp(),z_e=at();function yp(e,t,r){Hq.call(this),this._cache=new Db,this._last=void 0,this._cipher=new J_e.AES(t),this._prev=nh.from(r),this._mode=e,this._autopadding=!0}z_e(yp,Hq);yp.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 nh.concat(n)};yp.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return K_e(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")};yp.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this};function Db(){this.cache=nh.allocUnsafe(0)}Db.prototype.add=function(e){this.cache=nh.concat([this.cache,e])};Db.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};Db.prototype.flush=function(){if(this.cache.length)return this.cache};function K_e(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 qq(e,t,r){var n=Oq[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");if(typeof r=="string"&&(r=nh.from(r)),n.mode!=="GCM"&&r.length!==n.iv)throw new TypeError("invalid iv length "+r.length);if(typeof t=="string"&&(t=nh.from(t)),t.length!==n.key/8)throw new TypeError("invalid key length "+t.length);return n.type==="stream"?new V_e(n.module,t,r,!0):n.type==="auth"?new W_e(n.module,t,r,!0):new yp(n.module,t,r)}function X_e(e,t){var r=Oq[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=j_e(t,!1,r.key,r.iv);return qq(e,n.key,n.iv)}J1.createDecipher=X_e;J1.createDecipheriv=qq});var Tb=x(vs=>{var Yq=Pq(),Wq=Gq(),$_e=P1();function Z_e(){return Object.keys($_e)}vs.createCipher=vs.Cipher=Yq.createCipher;vs.createCipheriv=vs.Cipheriv=Yq.createCipheriv;vs.createDecipher=vs.Decipher=Wq.createDecipher;vs.createDecipheriv=vs.Decipheriv=Wq.createDecipheriv;vs.listCiphers=vs.getCiphers=Z_e});var Vq=x(La=>{La["des-ecb"]={key:8,iv:0};La["des-cbc"]=La.des={key:8,iv:8};La["des-ede3-cbc"]=La.des3={key:24,iv:8};La["des-ede3"]={key:24,iv:0};La["des-ede-cbc"]={key:16,iv:8};La["des-ede"]={key:16,iv:0}});var Xq=x(Rs=>{var Jq=aq(),j1=Tb(),$f=Sb(),Pa=Vq(),jq=gp();function ewe(e,t){e=e.toLowerCase();var r,n;if($f[e])r=$f[e].key,n=$f[e].iv;else if(Pa[e])r=Pa[e].key*8,n=Pa[e].iv;else throw new TypeError("invalid suite type");var i=jq(t,!1,r,n);return zq(e,i.key,i.iv)}function twe(e,t){e=e.toLowerCase();var r,n;if($f[e])r=$f[e].key,n=$f[e].iv;else if(Pa[e])r=Pa[e].key*8,n=Pa[e].iv;else throw new TypeError("invalid suite type");var i=jq(t,!1,r,n);return Kq(e,i.key,i.iv)}function zq(e,t,r){if(e=e.toLowerCase(),$f[e])return j1.createCipheriv(e,t,r);if(Pa[e])return new Jq({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function Kq(e,t,r){if(e=e.toLowerCase(),$f[e])return j1.createDecipheriv(e,t,r);if(Pa[e])return new Jq({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}function rwe(){return Object.keys(Pa).concat(j1.getCiphers())}Rs.createCipher=Rs.Cipher=ewe;Rs.createCipheriv=Rs.Cipheriv=zq;Rs.createDecipher=Rs.Decipher=twe;Rs.createDecipheriv=Rs.Decipheriv=Kq;Rs.listCiphers=Rs.getCiphers=rwe});var Wr=x(($q,z1)=>{(function(e,t){"use strict";function r(O,E){if(!O)throw new Error(E||"Assertion failed")}function n(O,E){O.super_=E;var R=function(){};R.prototype=E.prototype,O.prototype=new R,O.prototype.constructor=O}function i(O,E,R){if(i.isBN(O))return O;this.negative=0,this.words=null,this.length=0,this.red=null,O!==null&&((E==="le"||E==="be")&&(R=E,E=10),this._init(O||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=ur().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 l=0;E[0]==="-"&&(l++,this.negative=1),l<E.length&&(R===16?this._parseHex(E,l,B):(this._parseBase(E,R,l),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 l=0;l<this.length;l++)this.words[l]=0;var p,Q,D=0;if(B==="be")for(l=E.length-1,p=0;l>=0;l-=3)Q=E[l]|E[l-1]<<8|E[l-2]<<16,this.words[p]|=Q<<D&67108863,this.words[p+1]=Q>>>26-D&67108863,D+=24,D>=26&&(D-=26,p++);else if(B==="le")for(l=0,p=0;l<E.length;l+=3)Q=E[l]|E[l+1]<<8|E[l+2]<<16,this.words[p]|=Q<<D&67108863,this.words[p+1]=Q>>>26-D&67108863,D+=24,D>=26&&(D-=26,p++);return this.strip()};function o(O,E){var R=O.charCodeAt(E);return R>=65&&R<=70?R-55:R>=97&&R<=102?R-87:R-48&15}function a(O,E,R){var B=o(O,R);return R-1>=E&&(B|=o(O,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 l=0;l<this.length;l++)this.words[l]=0;var p=0,Q=0,D;if(B==="be")for(l=E.length-1;l>=R;l-=2)D=a(E,R,l)<<p,this.words[Q]|=D&67108863,p>=18?(p-=18,Q+=1,this.words[Q]|=D>>>26):p+=8;else{var _=E.length-R;for(l=_%2===0?R+1:R;l<E.length;l+=2)D=a(E,R,l)<<p,this.words[Q]|=D&67108863,p>=18?(p-=18,Q+=1,this.words[Q]|=D>>>26):p+=8}this.strip()};function f(O,E,R,B){for(var l=0,p=Math.min(O.length,R),Q=E;Q<p;Q++){var D=O.charCodeAt(Q)-48;l*=B,D>=49?l+=D-49+10:D>=17?l+=D-17+10:l+=D}return l}i.prototype._parseBase=function(E,R,B){this.words=[0],this.length=1;for(var l=0,p=1;p<=67108863;p*=R)l++;l--,p=p/R|0;for(var Q=E.length-B,D=Q%l,_=Math.min(Q,Q-D)+B,d=0,T=B;T<_;T+=l)d=f(E,T,T+l,R),this.imuln(p),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d);if(D!==0){var M=1;for(d=f(E,T,E.length,R),T=0;T<D;T++)M*=R;this.imuln(M),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d)}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 u=["","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"],c=[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],h=[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 l=0,p=0,Q=0;Q<this.length;Q++){var D=this.words[Q],_=((D<<l|p)&16777215).toString(16);p=D>>>24-l&16777215,l+=2,l>=26&&(l-=26,Q--),p!==0||Q!==this.length-1?B=u[6-_.length]+_+B:B=_+B}for(p!==0&&(B=p.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 d=c[E],T=h[E];B="";var M=this.clone();for(M.negative=0;!M.isZero();){var C=M.modn(T).toString(E);M=M.idivn(T),M.isZero()?B=C+B:B=u[d-C.length]+C+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 l=this.byteLength(),p=B||Math.max(1,l);r(l<=p,"byte array longer than desired length"),r(p>0,"Requested array length <= 0"),this.strip();var Q=R==="le",D=new E(p),_,d,T=this.clone();if(Q){for(d=0;!T.isZero();d++)_=T.andln(255),T.iushrn(8),D[d]=_;for(;d<p;d++)D[d]=0}else{for(d=0;d<p-l;d++)D[d]=0;for(d=0;!T.isZero();d++)_=T.andln(255),T.iushrn(8),D[p-d-1]=_}return D},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 y(O){for(var E=new Array(O.bitLength()),R=0;R<E.length;R++){var B=R/26|0,l=R%26;E[R]=(O.words[B]&1<<l)>>>l}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 l=0;l<B.length;l++)this.words[l]=R.words[l]^B.words[l];if(this!==R)for(;l<R.length;l++)this.words[l]=R.words[l];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 l=0;l<R;l++)this.words[l]=~this.words[l]&67108863;for(B>0&&(this.words[l]=~this.words[l]&67108863>>26-B,l++);l<this.length;l++)this.words[l]=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,l=E%26;return this._expand(B+1),R?this.words[B]=this.words[B]|1<<l:this.words[B]=this.words[B]&~(1<<l),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,l;this.length>E.length?(B=this,l=E):(B=E,l=this);for(var p=0,Q=0;Q<l.length;Q++)R=(B.words[Q]|0)+(l.words[Q]|0)+p,this.words[Q]=R&67108863,p=R>>>26;for(;p!==0&&Q<B.length;Q++)R=(B.words[Q]|0)+p,this.words[Q]=R&67108863,p=R>>>26;if(this.length=B.length,p!==0)this.words[this.length]=p,this.length++;else if(B!==this)for(;Q<B.length;Q++)this.words[Q]=B.words[Q];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 l,p;B>0?(l=this,p=E):(l=E,p=this);for(var Q=0,D=0;D<p.length;D++)R=(l.words[D]|0)-(p.words[D]|0)+Q,Q=R>>26,this.words[D]=R&67108863;for(;Q!==0&&D<l.length;D++)R=(l.words[D]|0)+Q,Q=R>>26,this.words[D]=R&67108863;if(Q===0&&D<l.length&&l!==this)for(;D<l.length;D++)this.words[D]=l.words[D];return this.length=Math.max(this.length,D),l!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(E){return this.clone().isub(E)};function b(O,E,R){R.negative=E.negative^O.negative;var B=O.length+E.length|0;R.length=B,B=B-1|0;var l=O.words[0]|0,p=E.words[0]|0,Q=l*p,D=Q&67108863,_=Q/67108864|0;R.words[0]=D;for(var d=1;d<B;d++){for(var T=_>>>26,M=_&67108863,C=Math.min(d,E.length-1),F=Math.max(0,d-O.length+1);F<=C;F++){var se=d-F|0;l=O.words[se]|0,p=E.words[F]|0,Q=l*p+M,T+=Q/67108864|0,M=Q&67108863}R.words[d]=M|0,_=T|0}return _!==0?R.words[d]=_|0:R.length--,R.strip()}var S=function(E,R,B){var l=E.words,p=R.words,Q=B.words,D=0,_,d,T,M=l[0]|0,C=M&8191,F=M>>>13,se=l[1]|0,ue=se&8191,Ae=se>>>13,pe=l[2]|0,he=pe&8191,de=pe>>>13,Qt=l[3]|0,Ie=Qt&8191,_e=Qt>>>13,_r=l[4]|0,Se=_r&8191,ve=_r>>>13,eo=l[5]|0,Ge=eo&8191,Fe=eo>>>13,to=l[6]|0,Te=to&8191,De=to>>>13,hn=l[7]|0,Re=hn&8191,He=hn>>>13,wi=l[8]|0,Ne=wi&8191,We=wi>>>13,k=l[9]|0,I=k&8191,w=k>>>13,H=p[0]|0,W=H&8191,K=H>>>13,fe=p[1]|0,le=fe&8191,Ee=fe>>>13,St=p[2]|0,ye=St&8191,ge=St>>>13,_f=p[3]|0,Ve=_f&8191,Ze=_f>>>13,Aa=p[4]|0,Ke=Aa&8191,et=Aa>>>13,Fu=p[5]|0,tt=Fu&8191,rt=Fu>>>13,wf=p[6]|0,Je=wf&8191,je=wf>>>13,Uu=p[7]|0,Ue=Uu&8191,Xe=Uu>>>13,Lu=p[8]|0,nt=Lu&8191,Le=Lu>>>13,vn=p[9]|0,Pe=vn&8191,ze=vn>>>13;B.negative=E.negative^R.negative,B.length=19,_=Math.imul(C,W),d=Math.imul(C,K),d=d+Math.imul(F,W)|0,T=Math.imul(F,K);var On=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(On>>>26)|0,On&=67108863,_=Math.imul(ue,W),d=Math.imul(ue,K),d=d+Math.imul(Ae,W)|0,T=Math.imul(Ae,K),_=_+Math.imul(C,le)|0,d=d+Math.imul(C,Ee)|0,d=d+Math.imul(F,le)|0,T=T+Math.imul(F,Ee)|0;var Ot=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,_=Math.imul(he,W),d=Math.imul(he,K),d=d+Math.imul(de,W)|0,T=Math.imul(de,K),_=_+Math.imul(ue,le)|0,d=d+Math.imul(ue,Ee)|0,d=d+Math.imul(Ae,le)|0,T=T+Math.imul(Ae,Ee)|0,_=_+Math.imul(C,ye)|0,d=d+Math.imul(C,ge)|0,d=d+Math.imul(F,ye)|0,T=T+Math.imul(F,ge)|0;var Ut=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul(Ie,W),d=Math.imul(Ie,K),d=d+Math.imul(_e,W)|0,T=Math.imul(_e,K),_=_+Math.imul(he,le)|0,d=d+Math.imul(he,Ee)|0,d=d+Math.imul(de,le)|0,T=T+Math.imul(de,Ee)|0,_=_+Math.imul(ue,ye)|0,d=d+Math.imul(ue,ge)|0,d=d+Math.imul(Ae,ye)|0,T=T+Math.imul(Ae,ge)|0,_=_+Math.imul(C,Ve)|0,d=d+Math.imul(C,Ze)|0,d=d+Math.imul(F,Ve)|0,T=T+Math.imul(F,Ze)|0;var ro=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(ro>>>26)|0,ro&=67108863,_=Math.imul(Se,W),d=Math.imul(Se,K),d=d+Math.imul(ve,W)|0,T=Math.imul(ve,K),_=_+Math.imul(Ie,le)|0,d=d+Math.imul(Ie,Ee)|0,d=d+Math.imul(_e,le)|0,T=T+Math.imul(_e,Ee)|0,_=_+Math.imul(he,ye)|0,d=d+Math.imul(he,ge)|0,d=d+Math.imul(de,ye)|0,T=T+Math.imul(de,ge)|0,_=_+Math.imul(ue,Ve)|0,d=d+Math.imul(ue,Ze)|0,d=d+Math.imul(Ae,Ve)|0,T=T+Math.imul(Ae,Ze)|0,_=_+Math.imul(C,Ke)|0,d=d+Math.imul(C,et)|0,d=d+Math.imul(F,Ke)|0,T=T+Math.imul(F,et)|0;var Si=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(Si>>>26)|0,Si&=67108863,_=Math.imul(Ge,W),d=Math.imul(Ge,K),d=d+Math.imul(Fe,W)|0,T=Math.imul(Fe,K),_=_+Math.imul(Se,le)|0,d=d+Math.imul(Se,Ee)|0,d=d+Math.imul(ve,le)|0,T=T+Math.imul(ve,Ee)|0,_=_+Math.imul(Ie,ye)|0,d=d+Math.imul(Ie,ge)|0,d=d+Math.imul(_e,ye)|0,T=T+Math.imul(_e,ge)|0,_=_+Math.imul(he,Ve)|0,d=d+Math.imul(he,Ze)|0,d=d+Math.imul(de,Ve)|0,T=T+Math.imul(de,Ze)|0,_=_+Math.imul(ue,Ke)|0,d=d+Math.imul(ue,et)|0,d=d+Math.imul(Ae,Ke)|0,T=T+Math.imul(Ae,et)|0,_=_+Math.imul(C,tt)|0,d=d+Math.imul(C,rt)|0,d=d+Math.imul(F,tt)|0,T=T+Math.imul(F,rt)|0;var no=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(no>>>26)|0,no&=67108863,_=Math.imul(Te,W),d=Math.imul(Te,K),d=d+Math.imul(De,W)|0,T=Math.imul(De,K),_=_+Math.imul(Ge,le)|0,d=d+Math.imul(Ge,Ee)|0,d=d+Math.imul(Fe,le)|0,T=T+Math.imul(Fe,Ee)|0,_=_+Math.imul(Se,ye)|0,d=d+Math.imul(Se,ge)|0,d=d+Math.imul(ve,ye)|0,T=T+Math.imul(ve,ge)|0,_=_+Math.imul(Ie,Ve)|0,d=d+Math.imul(Ie,Ze)|0,d=d+Math.imul(_e,Ve)|0,T=T+Math.imul(_e,Ze)|0,_=_+Math.imul(he,Ke)|0,d=d+Math.imul(he,et)|0,d=d+Math.imul(de,Ke)|0,T=T+Math.imul(de,et)|0,_=_+Math.imul(ue,tt)|0,d=d+Math.imul(ue,rt)|0,d=d+Math.imul(Ae,tt)|0,T=T+Math.imul(Ae,rt)|0,_=_+Math.imul(C,Je)|0,d=d+Math.imul(C,je)|0,d=d+Math.imul(F,Je)|0,T=T+Math.imul(F,je)|0;var io=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(io>>>26)|0,io&=67108863,_=Math.imul(Re,W),d=Math.imul(Re,K),d=d+Math.imul(He,W)|0,T=Math.imul(He,K),_=_+Math.imul(Te,le)|0,d=d+Math.imul(Te,Ee)|0,d=d+Math.imul(De,le)|0,T=T+Math.imul(De,Ee)|0,_=_+Math.imul(Ge,ye)|0,d=d+Math.imul(Ge,ge)|0,d=d+Math.imul(Fe,ye)|0,T=T+Math.imul(Fe,ge)|0,_=_+Math.imul(Se,Ve)|0,d=d+Math.imul(Se,Ze)|0,d=d+Math.imul(ve,Ve)|0,T=T+Math.imul(ve,Ze)|0,_=_+Math.imul(Ie,Ke)|0,d=d+Math.imul(Ie,et)|0,d=d+Math.imul(_e,Ke)|0,T=T+Math.imul(_e,et)|0,_=_+Math.imul(he,tt)|0,d=d+Math.imul(he,rt)|0,d=d+Math.imul(de,tt)|0,T=T+Math.imul(de,rt)|0,_=_+Math.imul(ue,Je)|0,d=d+Math.imul(ue,je)|0,d=d+Math.imul(Ae,Je)|0,T=T+Math.imul(Ae,je)|0,_=_+Math.imul(C,Ue)|0,d=d+Math.imul(C,Xe)|0,d=d+Math.imul(F,Ue)|0,T=T+Math.imul(F,Xe)|0;var so=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(so>>>26)|0,so&=67108863,_=Math.imul(Ne,W),d=Math.imul(Ne,K),d=d+Math.imul(We,W)|0,T=Math.imul(We,K),_=_+Math.imul(Re,le)|0,d=d+Math.imul(Re,Ee)|0,d=d+Math.imul(He,le)|0,T=T+Math.imul(He,Ee)|0,_=_+Math.imul(Te,ye)|0,d=d+Math.imul(Te,ge)|0,d=d+Math.imul(De,ye)|0,T=T+Math.imul(De,ge)|0,_=_+Math.imul(Ge,Ve)|0,d=d+Math.imul(Ge,Ze)|0,d=d+Math.imul(Fe,Ve)|0,T=T+Math.imul(Fe,Ze)|0,_=_+Math.imul(Se,Ke)|0,d=d+Math.imul(Se,et)|0,d=d+Math.imul(ve,Ke)|0,T=T+Math.imul(ve,et)|0,_=_+Math.imul(Ie,tt)|0,d=d+Math.imul(Ie,rt)|0,d=d+Math.imul(_e,tt)|0,T=T+Math.imul(_e,rt)|0,_=_+Math.imul(he,Je)|0,d=d+Math.imul(he,je)|0,d=d+Math.imul(de,Je)|0,T=T+Math.imul(de,je)|0,_=_+Math.imul(ue,Ue)|0,d=d+Math.imul(ue,Xe)|0,d=d+Math.imul(Ae,Ue)|0,T=T+Math.imul(Ae,Xe)|0,_=_+Math.imul(C,nt)|0,d=d+Math.imul(C,Le)|0,d=d+Math.imul(F,nt)|0,T=T+Math.imul(F,Le)|0;var oo=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(oo>>>26)|0,oo&=67108863,_=Math.imul(I,W),d=Math.imul(I,K),d=d+Math.imul(w,W)|0,T=Math.imul(w,K),_=_+Math.imul(Ne,le)|0,d=d+Math.imul(Ne,Ee)|0,d=d+Math.imul(We,le)|0,T=T+Math.imul(We,Ee)|0,_=_+Math.imul(Re,ye)|0,d=d+Math.imul(Re,ge)|0,d=d+Math.imul(He,ye)|0,T=T+Math.imul(He,ge)|0,_=_+Math.imul(Te,Ve)|0,d=d+Math.imul(Te,Ze)|0,d=d+Math.imul(De,Ve)|0,T=T+Math.imul(De,Ze)|0,_=_+Math.imul(Ge,Ke)|0,d=d+Math.imul(Ge,et)|0,d=d+Math.imul(Fe,Ke)|0,T=T+Math.imul(Fe,et)|0,_=_+Math.imul(Se,tt)|0,d=d+Math.imul(Se,rt)|0,d=d+Math.imul(ve,tt)|0,T=T+Math.imul(ve,rt)|0,_=_+Math.imul(Ie,Je)|0,d=d+Math.imul(Ie,je)|0,d=d+Math.imul(_e,Je)|0,T=T+Math.imul(_e,je)|0,_=_+Math.imul(he,Ue)|0,d=d+Math.imul(he,Xe)|0,d=d+Math.imul(de,Ue)|0,T=T+Math.imul(de,Xe)|0,_=_+Math.imul(ue,nt)|0,d=d+Math.imul(ue,Le)|0,d=d+Math.imul(Ae,nt)|0,T=T+Math.imul(Ae,Le)|0,_=_+Math.imul(C,Pe)|0,d=d+Math.imul(C,ze)|0,d=d+Math.imul(F,Pe)|0,T=T+Math.imul(F,ze)|0;var ao=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(ao>>>26)|0,ao&=67108863,_=Math.imul(I,le),d=Math.imul(I,Ee),d=d+Math.imul(w,le)|0,T=Math.imul(w,Ee),_=_+Math.imul(Ne,ye)|0,d=d+Math.imul(Ne,ge)|0,d=d+Math.imul(We,ye)|0,T=T+Math.imul(We,ge)|0,_=_+Math.imul(Re,Ve)|0,d=d+Math.imul(Re,Ze)|0,d=d+Math.imul(He,Ve)|0,T=T+Math.imul(He,Ze)|0,_=_+Math.imul(Te,Ke)|0,d=d+Math.imul(Te,et)|0,d=d+Math.imul(De,Ke)|0,T=T+Math.imul(De,et)|0,_=_+Math.imul(Ge,tt)|0,d=d+Math.imul(Ge,rt)|0,d=d+Math.imul(Fe,tt)|0,T=T+Math.imul(Fe,rt)|0,_=_+Math.imul(Se,Je)|0,d=d+Math.imul(Se,je)|0,d=d+Math.imul(ve,Je)|0,T=T+Math.imul(ve,je)|0,_=_+Math.imul(Ie,Ue)|0,d=d+Math.imul(Ie,Xe)|0,d=d+Math.imul(_e,Ue)|0,T=T+Math.imul(_e,Xe)|0,_=_+Math.imul(he,nt)|0,d=d+Math.imul(he,Le)|0,d=d+Math.imul(de,nt)|0,T=T+Math.imul(de,Le)|0,_=_+Math.imul(ue,Pe)|0,d=d+Math.imul(ue,ze)|0,d=d+Math.imul(Ae,Pe)|0,T=T+Math.imul(Ae,ze)|0;var ds=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(ds>>>26)|0,ds&=67108863,_=Math.imul(I,ye),d=Math.imul(I,ge),d=d+Math.imul(w,ye)|0,T=Math.imul(w,ge),_=_+Math.imul(Ne,Ve)|0,d=d+Math.imul(Ne,Ze)|0,d=d+Math.imul(We,Ve)|0,T=T+Math.imul(We,Ze)|0,_=_+Math.imul(Re,Ke)|0,d=d+Math.imul(Re,et)|0,d=d+Math.imul(He,Ke)|0,T=T+Math.imul(He,et)|0,_=_+Math.imul(Te,tt)|0,d=d+Math.imul(Te,rt)|0,d=d+Math.imul(De,tt)|0,T=T+Math.imul(De,rt)|0,_=_+Math.imul(Ge,Je)|0,d=d+Math.imul(Ge,je)|0,d=d+Math.imul(Fe,Je)|0,T=T+Math.imul(Fe,je)|0,_=_+Math.imul(Se,Ue)|0,d=d+Math.imul(Se,Xe)|0,d=d+Math.imul(ve,Ue)|0,T=T+Math.imul(ve,Xe)|0,_=_+Math.imul(Ie,nt)|0,d=d+Math.imul(Ie,Le)|0,d=d+Math.imul(_e,nt)|0,T=T+Math.imul(_e,Le)|0,_=_+Math.imul(he,Pe)|0,d=d+Math.imul(he,ze)|0,d=d+Math.imul(de,Pe)|0,T=T+Math.imul(de,ze)|0;var gs=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(gs>>>26)|0,gs&=67108863,_=Math.imul(I,Ve),d=Math.imul(I,Ze),d=d+Math.imul(w,Ve)|0,T=Math.imul(w,Ze),_=_+Math.imul(Ne,Ke)|0,d=d+Math.imul(Ne,et)|0,d=d+Math.imul(We,Ke)|0,T=T+Math.imul(We,et)|0,_=_+Math.imul(Re,tt)|0,d=d+Math.imul(Re,rt)|0,d=d+Math.imul(He,tt)|0,T=T+Math.imul(He,rt)|0,_=_+Math.imul(Te,Je)|0,d=d+Math.imul(Te,je)|0,d=d+Math.imul(De,Je)|0,T=T+Math.imul(De,je)|0,_=_+Math.imul(Ge,Ue)|0,d=d+Math.imul(Ge,Xe)|0,d=d+Math.imul(Fe,Ue)|0,T=T+Math.imul(Fe,Xe)|0,_=_+Math.imul(Se,nt)|0,d=d+Math.imul(Se,Le)|0,d=d+Math.imul(ve,nt)|0,T=T+Math.imul(ve,Le)|0,_=_+Math.imul(Ie,Pe)|0,d=d+Math.imul(Ie,ze)|0,d=d+Math.imul(_e,Pe)|0,T=T+Math.imul(_e,ze)|0;var la=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(la>>>26)|0,la&=67108863,_=Math.imul(I,Ke),d=Math.imul(I,et),d=d+Math.imul(w,Ke)|0,T=Math.imul(w,et),_=_+Math.imul(Ne,tt)|0,d=d+Math.imul(Ne,rt)|0,d=d+Math.imul(We,tt)|0,T=T+Math.imul(We,rt)|0,_=_+Math.imul(Re,Je)|0,d=d+Math.imul(Re,je)|0,d=d+Math.imul(He,Je)|0,T=T+Math.imul(He,je)|0,_=_+Math.imul(Te,Ue)|0,d=d+Math.imul(Te,Xe)|0,d=d+Math.imul(De,Ue)|0,T=T+Math.imul(De,Xe)|0,_=_+Math.imul(Ge,nt)|0,d=d+Math.imul(Ge,Le)|0,d=d+Math.imul(Fe,nt)|0,T=T+Math.imul(Fe,Le)|0,_=_+Math.imul(Se,Pe)|0,d=d+Math.imul(Se,ze)|0,d=d+Math.imul(ve,Pe)|0,T=T+Math.imul(ve,ze)|0;var ha=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(ha>>>26)|0,ha&=67108863,_=Math.imul(I,tt),d=Math.imul(I,rt),d=d+Math.imul(w,tt)|0,T=Math.imul(w,rt),_=_+Math.imul(Ne,Je)|0,d=d+Math.imul(Ne,je)|0,d=d+Math.imul(We,Je)|0,T=T+Math.imul(We,je)|0,_=_+Math.imul(Re,Ue)|0,d=d+Math.imul(Re,Xe)|0,d=d+Math.imul(He,Ue)|0,T=T+Math.imul(He,Xe)|0,_=_+Math.imul(Te,nt)|0,d=d+Math.imul(Te,Le)|0,d=d+Math.imul(De,nt)|0,T=T+Math.imul(De,Le)|0,_=_+Math.imul(Ge,Pe)|0,d=d+Math.imul(Ge,ze)|0,d=d+Math.imul(Fe,Pe)|0,T=T+Math.imul(Fe,ze)|0;var da=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(da>>>26)|0,da&=67108863,_=Math.imul(I,Je),d=Math.imul(I,je),d=d+Math.imul(w,Je)|0,T=Math.imul(w,je),_=_+Math.imul(Ne,Ue)|0,d=d+Math.imul(Ne,Xe)|0,d=d+Math.imul(We,Ue)|0,T=T+Math.imul(We,Xe)|0,_=_+Math.imul(Re,nt)|0,d=d+Math.imul(Re,Le)|0,d=d+Math.imul(He,nt)|0,T=T+Math.imul(He,Le)|0,_=_+Math.imul(Te,Pe)|0,d=d+Math.imul(Te,ze)|0,d=d+Math.imul(De,Pe)|0,T=T+Math.imul(De,ze)|0;var ga=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(ga>>>26)|0,ga&=67108863,_=Math.imul(I,Ue),d=Math.imul(I,Xe),d=d+Math.imul(w,Ue)|0,T=Math.imul(w,Xe),_=_+Math.imul(Ne,nt)|0,d=d+Math.imul(Ne,Le)|0,d=d+Math.imul(We,nt)|0,T=T+Math.imul(We,Le)|0,_=_+Math.imul(Re,Pe)|0,d=d+Math.imul(Re,ze)|0,d=d+Math.imul(He,Pe)|0,T=T+Math.imul(He,ze)|0;var fo=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(fo>>>26)|0,fo&=67108863,_=Math.imul(I,nt),d=Math.imul(I,Le),d=d+Math.imul(w,nt)|0,T=Math.imul(w,Le),_=_+Math.imul(Ne,Pe)|0,d=d+Math.imul(Ne,ze)|0,d=d+Math.imul(We,Pe)|0,T=T+Math.imul(We,ze)|0;var Hn=(D+_|0)+((d&8191)<<13)|0;D=(T+(d>>>13)|0)+(Hn>>>26)|0,Hn&=67108863,_=Math.imul(I,Pe),d=Math.imul(I,ze),d=d+Math.imul(w,Pe)|0,T=Math.imul(w,ze);var pa=(D+_|0)+((d&8191)<<13)|0;return D=(T+(d>>>13)|0)+(pa>>>26)|0,pa&=67108863,Q[0]=On,Q[1]=Ot,Q[2]=Ut,Q[3]=ro,Q[4]=Si,Q[5]=no,Q[6]=io,Q[7]=so,Q[8]=oo,Q[9]=ao,Q[10]=ds,Q[11]=gs,Q[12]=la,Q[13]=ha,Q[14]=da,Q[15]=ga,Q[16]=fo,Q[17]=Hn,Q[18]=pa,D!==0&&(Q[19]=D,B.length++),B};Math.imul||(S=b);function v(O,E,R){R.negative=E.negative^O.negative,R.length=O.length+E.length;for(var B=0,l=0,p=0;p<R.length-1;p++){var Q=l;l=0;for(var D=B&67108863,_=Math.min(p,E.length-1),d=Math.max(0,p-O.length+1);d<=_;d++){var T=p-d,M=O.words[T]|0,C=E.words[d]|0,F=M*C,se=F&67108863;Q=Q+(F/67108864|0)|0,se=se+D|0,D=se&67108863,Q=Q+(se>>>26)|0,l+=Q>>>26,Q&=67108863}R.words[p]=D,B=Q,Q=l}return B!==0?R.words[p]=B:R.length--,R.strip()}function L(O,E,R){var B=new U;return B.mulp(O,E,R)}i.prototype.mulTo=function(E,R){var B,l=this.length+E.length;return this.length===10&&E.length===10?B=S(this,E,R):l<63?B=b(this,E,R):l<1024?B=v(this,E,R):B=L(this,E,R),B};function U(O,E){this.x=O,this.y=E}U.prototype.makeRBT=function(E){for(var R=new Array(E),B=i.prototype._countBits(E)-1,l=0;l<E;l++)R[l]=this.revBin(l,B,E);return R},U.prototype.revBin=function(E,R,B){if(E===0||E===B-1)return E;for(var l=0,p=0;p<R;p++)l|=(E&1)<<R-p-1,E>>=1;return l},U.prototype.permute=function(E,R,B,l,p,Q){for(var D=0;D<Q;D++)l[D]=R[E[D]],p[D]=B[E[D]]},U.prototype.transform=function(E,R,B,l,p,Q){this.permute(Q,E,R,B,l,p);for(var D=1;D<p;D<<=1)for(var _=D<<1,d=Math.cos(2*Math.PI/_),T=Math.sin(2*Math.PI/_),M=0;M<p;M+=_)for(var C=d,F=T,se=0;se<D;se++){var ue=B[M+se],Ae=l[M+se],pe=B[M+se+D],he=l[M+se+D],de=C*pe-F*he;he=C*he+F*pe,pe=de,B[M+se]=ue+pe,l[M+se]=Ae+he,B[M+se+D]=ue-pe,l[M+se+D]=Ae-he,se!==_&&(de=d*C-T*F,F=d*F+T*C,C=de)}},U.prototype.guessLen13b=function(E,R){var B=Math.max(R,E)|1,l=B&1,p=0;for(B=B/2|0;B;B=B>>>1)p++;return 1<<p+1+l},U.prototype.conjugate=function(E,R,B){if(!(B<=1))for(var l=0;l<B/2;l++){var p=E[l];E[l]=E[B-l-1],E[B-l-1]=p,p=R[l],R[l]=-R[B-l-1],R[B-l-1]=-p}},U.prototype.normalize13b=function(E,R){for(var B=0,l=0;l<R/2;l++){var p=Math.round(E[2*l+1]/R)*8192+Math.round(E[2*l]/R)+B;E[l]=p&67108863,p<67108864?B=0:B=p/67108864|0}return E},U.prototype.convert13b=function(E,R,B,l){for(var p=0,Q=0;Q<R;Q++)p=p+(E[Q]|0),B[2*Q]=p&8191,p=p>>>13,B[2*Q+1]=p&8191,p=p>>>13;for(Q=2*R;Q<l;++Q)B[Q]=0;r(p===0),r((p&-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 l=2*this.guessLen13b(E.length,R.length),p=this.makeRBT(l),Q=this.stub(l),D=new Array(l),_=new Array(l),d=new Array(l),T=new Array(l),M=new Array(l),C=new Array(l),F=B.words;F.length=l,this.convert13b(E.words,E.length,D,l),this.convert13b(R.words,R.length,T,l),this.transform(D,Q,_,d,l,p),this.transform(T,Q,M,C,l,p);for(var se=0;se<l;se++){var ue=_[se]*M[se]-d[se]*C[se];d[se]=_[se]*C[se]+d[se]*M[se],_[se]=ue}return this.conjugate(_,d,l),this.transform(_,d,F,Q,l,p),this.conjugate(F,Q,l),this.normalize13b(F,l),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),L(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 l=(this.words[B]|0)*E,p=(l&67108863)+(R&67108863);R>>=26,R+=l/67108864|0,R+=p>>>26,this.words[B]=p&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=y(E);if(R.length===0)return new i(1);for(var B=this,l=0;l<R.length&&R[l]===0;l++,B=B.sqr());if(++l<R.length)for(var p=B.sqr();l<R.length;l++,p=p.sqr())R[l]!==0&&(B=B.mul(p));return B},i.prototype.iushln=function(E){r(typeof E=="number"&&E>=0);var R=E%26,B=(E-R)/26,l=67108863>>>26-R<<26-R,p;if(R!==0){var Q=0;for(p=0;p<this.length;p++){var D=this.words[p]&l,_=(this.words[p]|0)-D<<R;this.words[p]=_|Q,Q=D>>>26-R}Q&&(this.words[p]=Q,this.length++)}if(B!==0){for(p=this.length-1;p>=0;p--)this.words[p+B]=this.words[p];for(p=0;p<B;p++)this.words[p]=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 l;R?l=(R-R%26)/26:l=0;var p=E%26,Q=Math.min((E-p)/26,this.length),D=67108863^67108863>>>p<<p,_=B;if(l-=Q,l=Math.max(0,l),_){for(var d=0;d<Q;d++)_.words[d]=this.words[d];_.length=Q}if(Q!==0)if(this.length>Q)for(this.length-=Q,d=0;d<this.length;d++)this.words[d]=this.words[d+Q];else this.words[0]=0,this.length=1;var T=0;for(d=this.length-1;d>=0&&(T!==0||d>=l);d--){var M=this.words[d]|0;this.words[d]=T<<26-p|M>>>p,T=M&D}return _&&T!==0&&(_.words[_.length++]=T),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,l=1<<R;if(this.length<=B)return!1;var p=this.words[B];return!!(p&l)},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 l=67108863^67108863>>>R<<R;this.words[this.length-1]&=l}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 l=E.length+B,p;this._expand(l);var Q,D=0;for(p=0;p<E.length;p++){Q=(this.words[p+B]|0)+D;var _=(E.words[p]|0)*R;Q-=_&67108863,D=(Q>>26)-(_/67108864|0),this.words[p+B]=Q&67108863}for(;p<this.length-B;p++)Q=(this.words[p+B]|0)+D,D=Q>>26,this.words[p+B]=Q&67108863;if(D===0)return this.strip();for(r(D===-1),D=0,p=0;p<this.length;p++)Q=-(this.words[p]|0)+D,D=Q>>26,this.words[p]=Q&67108863;return this.negative=1,this.strip()},i.prototype._wordDiv=function(E,R){var B=this.length-E.length,l=this.clone(),p=E,Q=p.words[p.length-1]|0,D=this._countBits(Q);B=26-D,B!==0&&(p=p.ushln(B),l.iushln(B),Q=p.words[p.length-1]|0);var _=l.length-p.length,d;if(R!=="mod"){d=new i(null),d.length=_+1,d.words=new Array(d.length);for(var T=0;T<d.length;T++)d.words[T]=0}var M=l.clone()._ishlnsubmul(p,1,_);M.negative===0&&(l=M,d&&(d.words[_]=1));for(var C=_-1;C>=0;C--){var F=(l.words[p.length+C]|0)*67108864+(l.words[p.length+C-1]|0);for(F=Math.min(F/Q|0,67108863),l._ishlnsubmul(p,F,C);l.negative!==0;)F--,l.negative=0,l._ishlnsubmul(p,1,C),l.isZero()||(l.negative^=1);d&&(d.words[C]=F)}return d&&d.strip(),l.strip(),R!=="div"&&B!==0&&l.iushrn(B),{div:d||null,mod:l}},i.prototype.divmod=function(E,R,B){if(r(!E.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var l,p,Q;return this.negative!==0&&E.negative===0?(Q=this.neg().divmod(E,R),R!=="mod"&&(l=Q.div.neg()),R!=="div"&&(p=Q.mod.neg(),B&&p.negative!==0&&p.iadd(E)),{div:l,mod:p}):this.negative===0&&E.negative!==0?(Q=this.divmod(E.neg(),R),R!=="mod"&&(l=Q.div.neg()),{div:l,mod:Q.mod}):(this.negative&E.negative)!==0?(Q=this.neg().divmod(E.neg(),R),R!=="div"&&(p=Q.mod.neg(),B&&p.negative!==0&&p.isub(E)),{div:Q.div,mod:p}):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,l=E.ushrn(1),p=E.andln(1),Q=B.cmp(l);return Q<0||p===1&&Q===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,l=this.length-1;l>=0;l--)B=(R*B+(this.words[l]|0))%E;return B},i.prototype.idivn=function(E){r(E<=67108863);for(var R=0,B=this.length-1;B>=0;B--){var l=(this.words[B]|0)+R*67108864;this.words[B]=l/E|0,R=l%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 l=new i(1),p=new i(0),Q=new i(0),D=new i(1),_=0;R.isEven()&&B.isEven();)R.iushrn(1),B.iushrn(1),++_;for(var d=B.clone(),T=R.clone();!R.isZero();){for(var M=0,C=1;(R.words[0]&C)===0&&M<26;++M,C<<=1);if(M>0)for(R.iushrn(M);M-- >0;)(l.isOdd()||p.isOdd())&&(l.iadd(d),p.isub(T)),l.iushrn(1),p.iushrn(1);for(var F=0,se=1;(B.words[0]&se)===0&&F<26;++F,se<<=1);if(F>0)for(B.iushrn(F);F-- >0;)(Q.isOdd()||D.isOdd())&&(Q.iadd(d),D.isub(T)),Q.iushrn(1),D.iushrn(1);R.cmp(B)>=0?(R.isub(B),l.isub(Q),p.isub(D)):(B.isub(R),Q.isub(l),D.isub(p))}return{a:Q,b:D,gcd:B.iushln(_)}},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 l=new i(1),p=new i(0),Q=B.clone();R.cmpn(1)>0&&B.cmpn(1)>0;){for(var D=0,_=1;(R.words[0]&_)===0&&D<26;++D,_<<=1);if(D>0)for(R.iushrn(D);D-- >0;)l.isOdd()&&l.iadd(Q),l.iushrn(1);for(var d=0,T=1;(B.words[0]&T)===0&&d<26;++d,T<<=1);if(d>0)for(B.iushrn(d);d-- >0;)p.isOdd()&&p.iadd(Q),p.iushrn(1);R.cmp(B)>=0?(R.isub(B),l.isub(p)):(B.isub(R),p.isub(l))}var M;return R.cmpn(1)===0?M=l:M=p,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 l=0;R.isEven()&&B.isEven();l++)R.iushrn(1),B.iushrn(1);do{for(;R.isEven();)R.iushrn(1);for(;B.isEven();)B.iushrn(1);var p=R.cmp(B);if(p<0){var Q=R;R=B,B=Q}else if(p===0||B.cmpn(1)===0)break;R.isub(B)}while(!0);return B.iushln(l)},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,l=1<<R;if(this.length<=B)return this._expand(B+1),this.words[B]|=l,this;for(var p=l,Q=B;p!==0&&Q<this.length;Q++){var D=this.words[Q]|0;D+=p,p=D>>>26,D&=67108863,this.words[Q]=D}return p!==0&&(this.words[Q]=p,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 l=this.words[0]|0;B=l===E?0:l<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 l=this.words[B]|0,p=E.words[B]|0;if(l!==p){l<p?R=-1:l>p&&(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 P={k256:null,p224:null,p192:null,p25519:null};function Y(O,E){this.name=O,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 l=B<this.n?-1:R.ucmp(this.p);return l===0?(R.words[0]=0,R.length=1):l>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 V(){Y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}n(V,Y),V.prototype.split=function(E,R){for(var B=4194303,l=Math.min(E.length,9),p=0;p<l;p++)R.words[p]=E.words[p];if(R.length=l,E.length<=9){E.words[0]=0,E.length=1;return}var Q=E.words[9];for(R.words[R.length++]=Q&B,p=10;p<E.length;p++){var D=E.words[p]|0;E.words[p-10]=(D&B)<<4|Q>>>22,Q=D}Q>>>=22,E.words[p-10]=Q,Q===0&&E.length>10?E.length-=10:E.length-=9},V.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 l=E.words[B]|0;R+=l*977,E.words[B]=R&67108863,R=l*64+(R/67108864|0)}return E.words[E.length-1]===0&&(E.length--,E.words[E.length-1]===0&&E.length--),E};function X(){Y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}n(X,Y);function j(){Y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}n(j,Y);function re(){Y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}n(re,Y),re.prototype.imulK=function(E){for(var R=0,B=0;B<E.length;B++){var l=(E.words[B]|0)*19+R,p=l&67108863;l>>>=26,E.words[B]=p,R=l}return R!==0&&(E.words[E.length++]=R),E},i._prime=function(E){if(P[E])return P[E];var R;if(E==="k256")R=new V;else if(E==="p224")R=new X;else if(E==="p192")R=new j;else if(E==="p25519")R=new re;else throw new Error("Unknown prime "+E);return P[E]=R,R};function ie(O){if(typeof O=="string"){var E=i._prime(O);this.m=E.p,this.prime=E}else r(O.gtn(1),"modulus must be greater than 1"),this.m=O,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 l=this.m.subn(1),p=0;!l.isZero()&&l.andln(1)===0;)p++,l.iushrn(1);r(!l.isZero());var Q=new i(1).toRed(this),D=Q.redNeg(),_=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new i(2*d*d).toRed(this);this.pow(d,_).cmp(D)!==0;)d.redIAdd(D);for(var T=this.pow(d,l),M=this.pow(E,l.addn(1).iushrn(1)),C=this.pow(E,l),F=p;C.cmp(Q)!==0;){for(var se=C,ue=0;se.cmp(Q)!==0;ue++)se=se.redSqr();r(ue<F);var Ae=this.pow(T,new i(1).iushln(F-ue-1));M=M.redMul(Ae),T=Ae.redSqr(),C=C.redMul(T),F=ue}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,l=new Array(1<<B);l[0]=new i(1).toRed(this),l[1]=E;for(var p=2;p<l.length;p++)l[p]=this.mul(l[p-1],E);var Q=l[0],D=0,_=0,d=R.bitLength()%26;for(d===0&&(d=26),p=R.length-1;p>=0;p--){for(var T=R.words[p],M=d-1;M>=0;M--){var C=T>>M&1;if(Q!==l[0]&&(Q=this.sqr(Q)),C===0&&D===0){_=0;continue}D<<=1,D|=C,_++,!(_!==B&&(p!==0||M!==0))&&(Q=this.mul(Q,l[D]),_=0,D=0)}d=26}return Q},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 oe(E)};function oe(O){ie.call(this,O),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(oe,ie),oe.prototype.convertTo=function(E){return this.imod(E.ushln(this.shift))},oe.prototype.convertFrom=function(E){var R=this.imod(E.mul(this.rinv));return R.red=null,R},oe.prototype.imul=function(E,R){if(E.isZero()||R.isZero())return E.words[0]=0,E.length=1,E;var B=E.imul(R),l=B.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=B.isub(l).iushrn(this.shift),Q=p;return p.cmp(this.m)>=0?Q=p.isub(this.m):p.cmpn(0)<0&&(Q=p.iadd(this.m)),Q._forceRed(this)},oe.prototype.mul=function(E,R){if(E.isZero()||R.isZero())return new i(0)._forceRed(this);var B=E.mul(R),l=B.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=B.isub(l).iushrn(this.shift),Q=p;return p.cmp(this.m)>=0?Q=p.isub(this.m):p.cmpn(0)<0&&(Q=p.iadd(this.m)),Q._forceRed(this)},oe.prototype.invm=function(E){var R=this.imod(E._invmp(this.m).mul(this.r2));return R._forceRed(this)}})(typeof z1>"u"||z1,$q)});var Nb=x((F9e,$1)=>{var K1;$1.exports=function(t){return K1||(K1=new Zf(null)),K1.generate(t)};function Zf(e){this.rand=e}$1.exports.Rand=Zf;Zf.prototype.generate=function(t){return this._rand(t)};Zf.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?Zf.prototype._rand=function(t){var r=new Uint8Array(t);return self.crypto.getRandomValues(r),r}:self.msCrypto&&self.msCrypto.getRandomValues?Zf.prototype._rand=function(t){var r=new Uint8Array(t);return self.msCrypto.getRandomValues(r),r}:typeof window=="object"&&(Zf.prototype._rand=function(){throw new Error("Not implemented yet")});else try{if(X1=eu(),typeof X1.randomBytes!="function")throw new Error("Not supported");Zf.prototype._rand=function(t){return X1.randomBytes(t)}}catch{}var X1});var Z1=x((U9e,Zq)=>{var Rc=Wr(),nwe=Nb();function Dc(e){this.rand=e||new nwe.Rand}Zq.exports=Dc;Dc.create=function(t){return new Dc(t)};Dc.prototype._randbelow=function(t){var r=t.bitLength(),n=Math.ceil(r/8);do var i=new Rc(this.rand.generate(n));while(i.cmp(t)>=0);return i};Dc.prototype._randrange=function(t,r){var n=r.sub(t);return t.add(this._randbelow(n))};Dc.prototype.test=function(t,r,n){var i=t.bitLength(),s=Rc.mont(t),o=new Rc(1).toRed(s);r||(r=Math.max(1,i/48|0));for(var a=t.subn(1),f=0;!a.testn(f);f++);for(var u=t.shrn(f),c=a.toRed(s),h=!0;r>0;r--){var y=this._randrange(new Rc(2),a);n&&n(y);var b=y.toRed(s).redPow(u);if(!(b.cmp(o)===0||b.cmp(c)===0)){for(var S=1;S<f;S++){if(b=b.redSqr(),b.cmp(o)===0)return!1;if(b.cmp(c)===0)break}if(S===f)return!1}}return h};Dc.prototype.getDivisor=function(t,r){var n=t.bitLength(),i=Rc.mont(t),s=new Rc(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 f=t.shrn(a),u=o.toRed(i);r>0;r--){var c=this._randrange(new Rc(2),o),h=t.gcd(c);if(h.cmpn(1)!==0)return h;var y=c.toRed(i).redPow(f);if(!(y.cmp(s)===0||y.cmp(u)===0)){for(var b=1;b<a;b++){if(y=y.redSqr(),y.cmp(s)===0)return y.fromRed().subn(1).gcd(t);if(y.cmp(u)===0)break}if(b===a)return y=y.redSqr(),y.fromRed().subn(1).gcd(t)}}return!1}});var sR=x((q9e,rG)=>{var iwe=yc();rG.exports=iR;iR.simpleSieve=rR;iR.fermatTest=nR;var an=Wr(),swe=new an(24),owe=Z1(),eG=new owe,awe=new an(1),tR=new an(2),fwe=new an(5),L9e=new an(16),P9e=new an(8),uwe=new an(10),cwe=new an(3),O9e=new an(7),Awe=new an(11),tG=new an(4),H9e=new an(12),eR=null;function lwe(){if(eR!==null)return eR;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 eR=t,t}function rR(e){for(var t=lwe(),r=0;r<t.length;r++)if(e.modn(t[r])===0)return e.cmpn(t[r])===0;return!0}function nR(e){var t=an.mont(e);return tR.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)===0}function iR(e,t){if(e<16)return t===2||t===5?new an([140,123]):new an([140,39]);t=new an(t);for(var r,n;;){for(r=new an(iwe(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(awe),r.testn(1)||r.iadd(tR),t.cmp(tR)){if(!t.cmp(fwe))for(;r.mod(uwe).cmp(cwe);)r.iadd(tG)}else for(;r.mod(swe).cmp(Awe);)r.iadd(tG);if(n=r.shrn(1),rR(n)&&rR(r)&&nR(n)&&nR(r)&&eG.test(n)&&eG.test(r))return r}}});var nG=x((G9e,hwe)=>{hwe.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 aG=x((Y9e,oG)=>{var qi=Wr(),dwe=Z1(),iG=new dwe,gwe=new qi(24),pwe=new qi(11),ywe=new qi(10),Ewe=new qi(3),mwe=new qi(7),sG=sR(),bwe=yc();oG.exports=Oa;function Iwe(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this._pub=new qi(e),this}function Bwe(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this._priv=new qi(e),this}var Mb={};function Cwe(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in Mb)return Mb[n];var i=0;if(e.isEven()||!sG.simpleSieve||!sG.fermatTest(e)||!iG.test(e))return i+=1,r==="02"||r==="05"?i+=8:i+=4,Mb[n]=i,i;iG.test(e.shrn(1))||(i+=2);var s;switch(r){case"02":e.mod(gwe).cmp(pwe)&&(i+=8);break;case"05":s=e.mod(ywe),s.cmp(Ewe)&&s.cmp(mwe)&&(i+=8);break;default:i+=4}return Mb[n]=i,i}function Oa(e,t,r){this.setGenerator(t),this.__prime=new qi(e),this._prime=qi.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=Iwe,this.setPrivateKey=Bwe):this._primeCode=8}Object.defineProperty(Oa.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=Cwe(this.__prime,this.__gen)),this._primeCode}});Oa.prototype.generateKeys=function(){return this._priv||(this._priv=new qi(bwe(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()};Oa.prototype.computeSecret=function(e){e=new qi(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};Oa.prototype.getPublicKey=function(t){return xb(this._pub,t)};Oa.prototype.getPrivateKey=function(t){return xb(this._priv,t)};Oa.prototype.getPrime=function(e){return xb(this.__prime,e)};Oa.prototype.getGenerator=function(e){return xb(this._gen,e)};Oa.prototype.setGenerator=function(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this.__gen=e,this._gen=new qi(e),this};function xb(e,t){var r=new Buffer(e.toArray());return t?r.toString(t):r}});var cG=x(ih=>{var _we=sR(),fG=nG(),oR=aG();function wwe(e){var t=new Buffer(fG[e].prime,"hex"),r=new Buffer(fG[e].gen,"hex");return new oR(t,r)}var Swe={binary:!0,hex:!0,base64:!0};function uG(e,t,r,n){return Buffer.isBuffer(t)||Swe[t]===void 0?uG(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 oR(_we(e,r),r,!0):(Buffer.isBuffer(e)||(e=new Buffer(e,t)),new oR(e,r,!0)))}ih.DiffieHellmanGroup=ih.createDiffieHellmanGroup=ih.getDiffieHellman=wwe;ih.createDiffieHellman=ih.DiffieHellman=uG});var kb=x((AG,aR)=>{(function(e,t){"use strict";function r(B,l){if(!B)throw new Error(l||"Assertion failed")}function n(B,l){B.super_=l;var p=function(){};p.prototype=l.prototype,B.prototype=new p,B.prototype.constructor=B}function i(B,l,p){if(i.isBN(B))return B;this.negative=0,this.words=null,this.length=0,this.red=null,B!==null&&((l==="le"||l==="be")&&(p=l,l=10),this._init(B||0,l||10,p||"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=ur().Buffer}catch{}i.isBN=function(l){return l instanceof i?!0:l!==null&&typeof l=="object"&&l.constructor.wordSize===i.wordSize&&Array.isArray(l.words)},i.max=function(l,p){return l.cmp(p)>0?l:p},i.min=function(l,p){return l.cmp(p)<0?l:p},i.prototype._init=function(l,p,Q){if(typeof l=="number")return this._initNumber(l,p,Q);if(typeof l=="object")return this._initArray(l,p,Q);p==="hex"&&(p=16),r(p===(p|0)&&p>=2&&p<=36),l=l.toString().replace(/\s+/g,"");var D=0;l[0]==="-"&&(D++,this.negative=1),D<l.length&&(p===16?this._parseHex(l,D,Q):(this._parseBase(l,p,D),Q==="le"&&this._initArray(this.toArray(),p,Q)))},i.prototype._initNumber=function(l,p,Q){l<0&&(this.negative=1,l=-l),l<67108864?(this.words=[l&67108863],this.length=1):l<4503599627370496?(this.words=[l&67108863,l/67108864&67108863],this.length=2):(r(l<9007199254740992),this.words=[l&67108863,l/67108864&67108863,1],this.length=3),Q==="le"&&this._initArray(this.toArray(),p,Q)},i.prototype._initArray=function(l,p,Q){if(r(typeof l.length=="number"),l.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(l.length/3),this.words=new Array(this.length);for(var D=0;D<this.length;D++)this.words[D]=0;var _,d,T=0;if(Q==="be")for(D=l.length-1,_=0;D>=0;D-=3)d=l[D]|l[D-1]<<8|l[D-2]<<16,this.words[_]|=d<<T&67108863,this.words[_+1]=d>>>26-T&67108863,T+=24,T>=26&&(T-=26,_++);else if(Q==="le")for(D=0,_=0;D<l.length;D+=3)d=l[D]|l[D+1]<<8|l[D+2]<<16,this.words[_]|=d<<T&67108863,this.words[_+1]=d>>>26-T&67108863,T+=24,T>=26&&(T-=26,_++);return this._strip()};function o(B,l){var p=B.charCodeAt(l);if(p>=48&&p<=57)return p-48;if(p>=65&&p<=70)return p-55;if(p>=97&&p<=102)return p-87;r(!1,"Invalid character in "+B)}function a(B,l,p){var Q=o(B,p);return p-1>=l&&(Q|=o(B,p-1)<<4),Q}i.prototype._parseHex=function(l,p,Q){this.length=Math.ceil((l.length-p)/6),this.words=new Array(this.length);for(var D=0;D<this.length;D++)this.words[D]=0;var _=0,d=0,T;if(Q==="be")for(D=l.length-1;D>=p;D-=2)T=a(l,p,D)<<_,this.words[d]|=T&67108863,_>=18?(_-=18,d+=1,this.words[d]|=T>>>26):_+=8;else{var M=l.length-p;for(D=M%2===0?p+1:p;D<l.length;D+=2)T=a(l,p,D)<<_,this.words[d]|=T&67108863,_>=18?(_-=18,d+=1,this.words[d]|=T>>>26):_+=8}this._strip()};function f(B,l,p,Q){for(var D=0,_=0,d=Math.min(B.length,p),T=l;T<d;T++){var M=B.charCodeAt(T)-48;D*=Q,M>=49?_=M-49+10:M>=17?_=M-17+10:_=M,r(M>=0&&_<Q,"Invalid character"),D+=_}return D}i.prototype._parseBase=function(l,p,Q){this.words=[0],this.length=1;for(var D=0,_=1;_<=67108863;_*=p)D++;D--,_=_/p|0;for(var d=l.length-Q,T=d%D,M=Math.min(d,d-T)+Q,C=0,F=Q;F<M;F+=D)C=f(l,F,F+D,p),this.imuln(_),this.words[0]+C<67108864?this.words[0]+=C:this._iaddn(C);if(T!==0){var se=1;for(C=f(l,F,l.length,p),F=0;F<T;F++)se*=p;this.imuln(se),this.words[0]+C<67108864?this.words[0]+=C:this._iaddn(C)}this._strip()},i.prototype.copy=function(l){l.words=new Array(this.length);for(var p=0;p<this.length;p++)l.words[p]=this.words[p];l.length=this.length,l.negative=this.negative,l.red=this.red};function u(B,l){B.words=l.words,B.length=l.length,B.negative=l.negative,B.red=l.red}if(i.prototype._move=function(l){u(l,this)},i.prototype.clone=function(){var l=new i(null);return this.copy(l),l},i.prototype._expand=function(l){for(;this.length<l;)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")]=c}catch{i.prototype.inspect=c}else i.prototype.inspect=c;function c(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var h=["","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"],y=[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],b=[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(l,p){l=l||10,p=p|0||1;var Q;if(l===16||l==="hex"){Q="";for(var D=0,_=0,d=0;d<this.length;d++){var T=this.words[d],M=((T<<D|_)&16777215).toString(16);_=T>>>24-D&16777215,D+=2,D>=26&&(D-=26,d--),_!==0||d!==this.length-1?Q=h[6-M.length]+M+Q:Q=M+Q}for(_!==0&&(Q=_.toString(16)+Q);Q.length%p!==0;)Q="0"+Q;return this.negative!==0&&(Q="-"+Q),Q}if(l===(l|0)&&l>=2&&l<=36){var C=y[l],F=b[l];Q="";var se=this.clone();for(se.negative=0;!se.isZero();){var ue=se.modrn(F).toString(l);se=se.idivn(F),se.isZero()?Q=ue+Q:Q=h[C-ue.length]+ue+Q}for(this.isZero()&&(Q="0"+Q);Q.length%p!==0;)Q="0"+Q;return this.negative!==0&&(Q="-"+Q),Q}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var l=this.words[0];return this.length===2?l+=this.words[1]*67108864:this.length===3&&this.words[2]===1?l+=4503599627370496+this.words[1]*67108864:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-l:l},i.prototype.toJSON=function(){return this.toString(16,2)},s&&(i.prototype.toBuffer=function(l,p){return this.toArrayLike(s,l,p)}),i.prototype.toArray=function(l,p){return this.toArrayLike(Array,l,p)};var S=function(l,p){return l.allocUnsafe?l.allocUnsafe(p):new l(p)};i.prototype.toArrayLike=function(l,p,Q){this._strip();var D=this.byteLength(),_=Q||Math.max(1,D);r(D<=_,"byte array longer than desired length"),r(_>0,"Requested array length <= 0");var d=S(l,_),T=p==="le"?"LE":"BE";return this["_toArrayLike"+T](d,D),d},i.prototype._toArrayLikeLE=function(l,p){for(var Q=0,D=0,_=0,d=0;_<this.length;_++){var T=this.words[_]<<d|D;l[Q++]=T&255,Q<l.length&&(l[Q++]=T>>8&255),Q<l.length&&(l[Q++]=T>>16&255),d===6?(Q<l.length&&(l[Q++]=T>>24&255),D=0,d=0):(D=T>>>24,d+=2)}if(Q<l.length)for(l[Q++]=D;Q<l.length;)l[Q++]=0},i.prototype._toArrayLikeBE=function(l,p){for(var Q=l.length-1,D=0,_=0,d=0;_<this.length;_++){var T=this.words[_]<<d|D;l[Q--]=T&255,Q>=0&&(l[Q--]=T>>8&255),Q>=0&&(l[Q--]=T>>16&255),d===6?(Q>=0&&(l[Q--]=T>>24&255),D=0,d=0):(D=T>>>24,d+=2)}if(Q>=0)for(l[Q--]=D;Q>=0;)l[Q--]=0},Math.clz32?i.prototype._countBits=function(l){return 32-Math.clz32(l)}:i.prototype._countBits=function(l){var p=l,Q=0;return p>=4096&&(Q+=13,p>>>=13),p>=64&&(Q+=7,p>>>=7),p>=8&&(Q+=4,p>>>=4),p>=2&&(Q+=2,p>>>=2),Q+p},i.prototype._zeroBits=function(l){if(l===0)return 26;var p=l,Q=0;return(p&8191)===0&&(Q+=13,p>>>=13),(p&127)===0&&(Q+=7,p>>>=7),(p&15)===0&&(Q+=4,p>>>=4),(p&3)===0&&(Q+=2,p>>>=2),(p&1)===0&&Q++,Q},i.prototype.bitLength=function(){var l=this.words[this.length-1],p=this._countBits(l);return(this.length-1)*26+p};function v(B){for(var l=new Array(B.bitLength()),p=0;p<l.length;p++){var Q=p/26|0,D=p%26;l[p]=B.words[Q]>>>D&1}return l}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var l=0,p=0;p<this.length;p++){var Q=this._zeroBits(this.words[p]);if(l+=Q,Q!==26)break}return l},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(l){return this.negative!==0?this.abs().inotn(l).iaddn(1):this.clone()},i.prototype.fromTwos=function(l){return this.testn(l-1)?this.notn(l).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(l){for(;this.length<l.length;)this.words[this.length++]=0;for(var p=0;p<l.length;p++)this.words[p]=this.words[p]|l.words[p];return this._strip()},i.prototype.ior=function(l){return r((this.negative|l.negative)===0),this.iuor(l)},i.prototype.or=function(l){return this.length>l.length?this.clone().ior(l):l.clone().ior(this)},i.prototype.uor=function(l){return this.length>l.length?this.clone().iuor(l):l.clone().iuor(this)},i.prototype.iuand=function(l){var p;this.length>l.length?p=l:p=this;for(var Q=0;Q<p.length;Q++)this.words[Q]=this.words[Q]&l.words[Q];return this.length=p.length,this._strip()},i.prototype.iand=function(l){return r((this.negative|l.negative)===0),this.iuand(l)},i.prototype.and=function(l){return this.length>l.length?this.clone().iand(l):l.clone().iand(this)},i.prototype.uand=function(l){return this.length>l.length?this.clone().iuand(l):l.clone().iuand(this)},i.prototype.iuxor=function(l){var p,Q;this.length>l.length?(p=this,Q=l):(p=l,Q=this);for(var D=0;D<Q.length;D++)this.words[D]=p.words[D]^Q.words[D];if(this!==p)for(;D<p.length;D++)this.words[D]=p.words[D];return this.length=p.length,this._strip()},i.prototype.ixor=function(l){return r((this.negative|l.negative)===0),this.iuxor(l)},i.prototype.xor=function(l){return this.length>l.length?this.clone().ixor(l):l.clone().ixor(this)},i.prototype.uxor=function(l){return this.length>l.length?this.clone().iuxor(l):l.clone().iuxor(this)},i.prototype.inotn=function(l){r(typeof l=="number"&&l>=0);var p=Math.ceil(l/26)|0,Q=l%26;this._expand(p),Q>0&&p--;for(var D=0;D<p;D++)this.words[D]=~this.words[D]&67108863;for(Q>0&&(this.words[D]=~this.words[D]&67108863>>26-Q,D++);D<this.length;D++)this.words[D]=0;return this._strip()},i.prototype.notn=function(l){return this.clone().inotn(l)},i.prototype.setn=function(l,p){r(typeof l=="number"&&l>=0);var Q=l/26|0,D=l%26;return this._expand(Q+1),p?this.words[Q]=this.words[Q]|1<<D:this.words[Q]=this.words[Q]&~(1<<D),this._strip()},i.prototype.iadd=function(l){var p;if(this.negative!==0&&l.negative===0)return this.negative=0,p=this.isub(l),this.negative^=1,this._normSign();if(this.negative===0&&l.negative!==0)return l.negative=0,p=this.isub(l),l.negative=1,p._normSign();var Q,D;this.length>l.length?(Q=this,D=l):(Q=l,D=this);for(var _=0,d=0;d<D.length;d++)p=(Q.words[d]|0)+(D.words[d]|0)+_,this.words[d]=p&67108863,_=p>>>26;for(;_!==0&&d<Q.length;d++)p=(Q.words[d]|0)+_,this.words[d]=p&67108863,_=p>>>26;if(this.length=Q.length,_!==0)this.words[this.length]=_,this.length++;else if(Q!==this)for(;d<Q.length;d++)this.words[d]=Q.words[d];return this},i.prototype.add=function(l){var p;return l.negative!==0&&this.negative===0?(l.negative=0,p=this.sub(l),l.negative^=1,p):l.negative===0&&this.negative!==0?(this.negative=0,p=l.sub(this),this.negative=1,p):this.length>l.length?this.clone().iadd(l):l.clone().iadd(this)},i.prototype.isub=function(l){if(l.negative!==0){l.negative=0;var p=this.iadd(l);return l.negative=1,p._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(l),this.negative=1,this._normSign();var Q=this.cmp(l);if(Q===0)return this.negative=0,this.length=1,this.words[0]=0,this;var D,_;Q>0?(D=this,_=l):(D=l,_=this);for(var d=0,T=0;T<_.length;T++)p=(D.words[T]|0)-(_.words[T]|0)+d,d=p>>26,this.words[T]=p&67108863;for(;d!==0&&T<D.length;T++)p=(D.words[T]|0)+d,d=p>>26,this.words[T]=p&67108863;if(d===0&&T<D.length&&D!==this)for(;T<D.length;T++)this.words[T]=D.words[T];return this.length=Math.max(this.length,T),D!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(l){return this.clone().isub(l)};function L(B,l,p){p.negative=l.negative^B.negative;var Q=B.length+l.length|0;p.length=Q,Q=Q-1|0;var D=B.words[0]|0,_=l.words[0]|0,d=D*_,T=d&67108863,M=d/67108864|0;p.words[0]=T;for(var C=1;C<Q;C++){for(var F=M>>>26,se=M&67108863,ue=Math.min(C,l.length-1),Ae=Math.max(0,C-B.length+1);Ae<=ue;Ae++){var pe=C-Ae|0;D=B.words[pe]|0,_=l.words[Ae]|0,d=D*_+se,F+=d/67108864|0,se=d&67108863}p.words[C]=se|0,M=F|0}return M!==0?p.words[C]=M|0:p.length--,p._strip()}var U=function(l,p,Q){var D=l.words,_=p.words,d=Q.words,T=0,M,C,F,se=D[0]|0,ue=se&8191,Ae=se>>>13,pe=D[1]|0,he=pe&8191,de=pe>>>13,Qt=D[2]|0,Ie=Qt&8191,_e=Qt>>>13,_r=D[3]|0,Se=_r&8191,ve=_r>>>13,eo=D[4]|0,Ge=eo&8191,Fe=eo>>>13,to=D[5]|0,Te=to&8191,De=to>>>13,hn=D[6]|0,Re=hn&8191,He=hn>>>13,wi=D[7]|0,Ne=wi&8191,We=wi>>>13,k=D[8]|0,I=k&8191,w=k>>>13,H=D[9]|0,W=H&8191,K=H>>>13,fe=_[0]|0,le=fe&8191,Ee=fe>>>13,St=_[1]|0,ye=St&8191,ge=St>>>13,_f=_[2]|0,Ve=_f&8191,Ze=_f>>>13,Aa=_[3]|0,Ke=Aa&8191,et=Aa>>>13,Fu=_[4]|0,tt=Fu&8191,rt=Fu>>>13,wf=_[5]|0,Je=wf&8191,je=wf>>>13,Uu=_[6]|0,Ue=Uu&8191,Xe=Uu>>>13,Lu=_[7]|0,nt=Lu&8191,Le=Lu>>>13,vn=_[8]|0,Pe=vn&8191,ze=vn>>>13,On=_[9]|0,Ot=On&8191,Ut=On>>>13;Q.negative=l.negative^p.negative,Q.length=19,M=Math.imul(ue,le),C=Math.imul(ue,Ee),C=C+Math.imul(Ae,le)|0,F=Math.imul(Ae,Ee);var ro=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(ro>>>26)|0,ro&=67108863,M=Math.imul(he,le),C=Math.imul(he,Ee),C=C+Math.imul(de,le)|0,F=Math.imul(de,Ee),M=M+Math.imul(ue,ye)|0,C=C+Math.imul(ue,ge)|0,C=C+Math.imul(Ae,ye)|0,F=F+Math.imul(Ae,ge)|0;var Si=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(Si>>>26)|0,Si&=67108863,M=Math.imul(Ie,le),C=Math.imul(Ie,Ee),C=C+Math.imul(_e,le)|0,F=Math.imul(_e,Ee),M=M+Math.imul(he,ye)|0,C=C+Math.imul(he,ge)|0,C=C+Math.imul(de,ye)|0,F=F+Math.imul(de,ge)|0,M=M+Math.imul(ue,Ve)|0,C=C+Math.imul(ue,Ze)|0,C=C+Math.imul(Ae,Ve)|0,F=F+Math.imul(Ae,Ze)|0;var no=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(no>>>26)|0,no&=67108863,M=Math.imul(Se,le),C=Math.imul(Se,Ee),C=C+Math.imul(ve,le)|0,F=Math.imul(ve,Ee),M=M+Math.imul(Ie,ye)|0,C=C+Math.imul(Ie,ge)|0,C=C+Math.imul(_e,ye)|0,F=F+Math.imul(_e,ge)|0,M=M+Math.imul(he,Ve)|0,C=C+Math.imul(he,Ze)|0,C=C+Math.imul(de,Ve)|0,F=F+Math.imul(de,Ze)|0,M=M+Math.imul(ue,Ke)|0,C=C+Math.imul(ue,et)|0,C=C+Math.imul(Ae,Ke)|0,F=F+Math.imul(Ae,et)|0;var io=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(io>>>26)|0,io&=67108863,M=Math.imul(Ge,le),C=Math.imul(Ge,Ee),C=C+Math.imul(Fe,le)|0,F=Math.imul(Fe,Ee),M=M+Math.imul(Se,ye)|0,C=C+Math.imul(Se,ge)|0,C=C+Math.imul(ve,ye)|0,F=F+Math.imul(ve,ge)|0,M=M+Math.imul(Ie,Ve)|0,C=C+Math.imul(Ie,Ze)|0,C=C+Math.imul(_e,Ve)|0,F=F+Math.imul(_e,Ze)|0,M=M+Math.imul(he,Ke)|0,C=C+Math.imul(he,et)|0,C=C+Math.imul(de,Ke)|0,F=F+Math.imul(de,et)|0,M=M+Math.imul(ue,tt)|0,C=C+Math.imul(ue,rt)|0,C=C+Math.imul(Ae,tt)|0,F=F+Math.imul(Ae,rt)|0;var so=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(so>>>26)|0,so&=67108863,M=Math.imul(Te,le),C=Math.imul(Te,Ee),C=C+Math.imul(De,le)|0,F=Math.imul(De,Ee),M=M+Math.imul(Ge,ye)|0,C=C+Math.imul(Ge,ge)|0,C=C+Math.imul(Fe,ye)|0,F=F+Math.imul(Fe,ge)|0,M=M+Math.imul(Se,Ve)|0,C=C+Math.imul(Se,Ze)|0,C=C+Math.imul(ve,Ve)|0,F=F+Math.imul(ve,Ze)|0,M=M+Math.imul(Ie,Ke)|0,C=C+Math.imul(Ie,et)|0,C=C+Math.imul(_e,Ke)|0,F=F+Math.imul(_e,et)|0,M=M+Math.imul(he,tt)|0,C=C+Math.imul(he,rt)|0,C=C+Math.imul(de,tt)|0,F=F+Math.imul(de,rt)|0,M=M+Math.imul(ue,Je)|0,C=C+Math.imul(ue,je)|0,C=C+Math.imul(Ae,Je)|0,F=F+Math.imul(Ae,je)|0;var oo=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(oo>>>26)|0,oo&=67108863,M=Math.imul(Re,le),C=Math.imul(Re,Ee),C=C+Math.imul(He,le)|0,F=Math.imul(He,Ee),M=M+Math.imul(Te,ye)|0,C=C+Math.imul(Te,ge)|0,C=C+Math.imul(De,ye)|0,F=F+Math.imul(De,ge)|0,M=M+Math.imul(Ge,Ve)|0,C=C+Math.imul(Ge,Ze)|0,C=C+Math.imul(Fe,Ve)|0,F=F+Math.imul(Fe,Ze)|0,M=M+Math.imul(Se,Ke)|0,C=C+Math.imul(Se,et)|0,C=C+Math.imul(ve,Ke)|0,F=F+Math.imul(ve,et)|0,M=M+Math.imul(Ie,tt)|0,C=C+Math.imul(Ie,rt)|0,C=C+Math.imul(_e,tt)|0,F=F+Math.imul(_e,rt)|0,M=M+Math.imul(he,Je)|0,C=C+Math.imul(he,je)|0,C=C+Math.imul(de,Je)|0,F=F+Math.imul(de,je)|0,M=M+Math.imul(ue,Ue)|0,C=C+Math.imul(ue,Xe)|0,C=C+Math.imul(Ae,Ue)|0,F=F+Math.imul(Ae,Xe)|0;var ao=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(ao>>>26)|0,ao&=67108863,M=Math.imul(Ne,le),C=Math.imul(Ne,Ee),C=C+Math.imul(We,le)|0,F=Math.imul(We,Ee),M=M+Math.imul(Re,ye)|0,C=C+Math.imul(Re,ge)|0,C=C+Math.imul(He,ye)|0,F=F+Math.imul(He,ge)|0,M=M+Math.imul(Te,Ve)|0,C=C+Math.imul(Te,Ze)|0,C=C+Math.imul(De,Ve)|0,F=F+Math.imul(De,Ze)|0,M=M+Math.imul(Ge,Ke)|0,C=C+Math.imul(Ge,et)|0,C=C+Math.imul(Fe,Ke)|0,F=F+Math.imul(Fe,et)|0,M=M+Math.imul(Se,tt)|0,C=C+Math.imul(Se,rt)|0,C=C+Math.imul(ve,tt)|0,F=F+Math.imul(ve,rt)|0,M=M+Math.imul(Ie,Je)|0,C=C+Math.imul(Ie,je)|0,C=C+Math.imul(_e,Je)|0,F=F+Math.imul(_e,je)|0,M=M+Math.imul(he,Ue)|0,C=C+Math.imul(he,Xe)|0,C=C+Math.imul(de,Ue)|0,F=F+Math.imul(de,Xe)|0,M=M+Math.imul(ue,nt)|0,C=C+Math.imul(ue,Le)|0,C=C+Math.imul(Ae,nt)|0,F=F+Math.imul(Ae,Le)|0;var ds=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(ds>>>26)|0,ds&=67108863,M=Math.imul(I,le),C=Math.imul(I,Ee),C=C+Math.imul(w,le)|0,F=Math.imul(w,Ee),M=M+Math.imul(Ne,ye)|0,C=C+Math.imul(Ne,ge)|0,C=C+Math.imul(We,ye)|0,F=F+Math.imul(We,ge)|0,M=M+Math.imul(Re,Ve)|0,C=C+Math.imul(Re,Ze)|0,C=C+Math.imul(He,Ve)|0,F=F+Math.imul(He,Ze)|0,M=M+Math.imul(Te,Ke)|0,C=C+Math.imul(Te,et)|0,C=C+Math.imul(De,Ke)|0,F=F+Math.imul(De,et)|0,M=M+Math.imul(Ge,tt)|0,C=C+Math.imul(Ge,rt)|0,C=C+Math.imul(Fe,tt)|0,F=F+Math.imul(Fe,rt)|0,M=M+Math.imul(Se,Je)|0,C=C+Math.imul(Se,je)|0,C=C+Math.imul(ve,Je)|0,F=F+Math.imul(ve,je)|0,M=M+Math.imul(Ie,Ue)|0,C=C+Math.imul(Ie,Xe)|0,C=C+Math.imul(_e,Ue)|0,F=F+Math.imul(_e,Xe)|0,M=M+Math.imul(he,nt)|0,C=C+Math.imul(he,Le)|0,C=C+Math.imul(de,nt)|0,F=F+Math.imul(de,Le)|0,M=M+Math.imul(ue,Pe)|0,C=C+Math.imul(ue,ze)|0,C=C+Math.imul(Ae,Pe)|0,F=F+Math.imul(Ae,ze)|0;var gs=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(gs>>>26)|0,gs&=67108863,M=Math.imul(W,le),C=Math.imul(W,Ee),C=C+Math.imul(K,le)|0,F=Math.imul(K,Ee),M=M+Math.imul(I,ye)|0,C=C+Math.imul(I,ge)|0,C=C+Math.imul(w,ye)|0,F=F+Math.imul(w,ge)|0,M=M+Math.imul(Ne,Ve)|0,C=C+Math.imul(Ne,Ze)|0,C=C+Math.imul(We,Ve)|0,F=F+Math.imul(We,Ze)|0,M=M+Math.imul(Re,Ke)|0,C=C+Math.imul(Re,et)|0,C=C+Math.imul(He,Ke)|0,F=F+Math.imul(He,et)|0,M=M+Math.imul(Te,tt)|0,C=C+Math.imul(Te,rt)|0,C=C+Math.imul(De,tt)|0,F=F+Math.imul(De,rt)|0,M=M+Math.imul(Ge,Je)|0,C=C+Math.imul(Ge,je)|0,C=C+Math.imul(Fe,Je)|0,F=F+Math.imul(Fe,je)|0,M=M+Math.imul(Se,Ue)|0,C=C+Math.imul(Se,Xe)|0,C=C+Math.imul(ve,Ue)|0,F=F+Math.imul(ve,Xe)|0,M=M+Math.imul(Ie,nt)|0,C=C+Math.imul(Ie,Le)|0,C=C+Math.imul(_e,nt)|0,F=F+Math.imul(_e,Le)|0,M=M+Math.imul(he,Pe)|0,C=C+Math.imul(he,ze)|0,C=C+Math.imul(de,Pe)|0,F=F+Math.imul(de,ze)|0,M=M+Math.imul(ue,Ot)|0,C=C+Math.imul(ue,Ut)|0,C=C+Math.imul(Ae,Ot)|0,F=F+Math.imul(Ae,Ut)|0;var la=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(la>>>26)|0,la&=67108863,M=Math.imul(W,ye),C=Math.imul(W,ge),C=C+Math.imul(K,ye)|0,F=Math.imul(K,ge),M=M+Math.imul(I,Ve)|0,C=C+Math.imul(I,Ze)|0,C=C+Math.imul(w,Ve)|0,F=F+Math.imul(w,Ze)|0,M=M+Math.imul(Ne,Ke)|0,C=C+Math.imul(Ne,et)|0,C=C+Math.imul(We,Ke)|0,F=F+Math.imul(We,et)|0,M=M+Math.imul(Re,tt)|0,C=C+Math.imul(Re,rt)|0,C=C+Math.imul(He,tt)|0,F=F+Math.imul(He,rt)|0,M=M+Math.imul(Te,Je)|0,C=C+Math.imul(Te,je)|0,C=C+Math.imul(De,Je)|0,F=F+Math.imul(De,je)|0,M=M+Math.imul(Ge,Ue)|0,C=C+Math.imul(Ge,Xe)|0,C=C+Math.imul(Fe,Ue)|0,F=F+Math.imul(Fe,Xe)|0,M=M+Math.imul(Se,nt)|0,C=C+Math.imul(Se,Le)|0,C=C+Math.imul(ve,nt)|0,F=F+Math.imul(ve,Le)|0,M=M+Math.imul(Ie,Pe)|0,C=C+Math.imul(Ie,ze)|0,C=C+Math.imul(_e,Pe)|0,F=F+Math.imul(_e,ze)|0,M=M+Math.imul(he,Ot)|0,C=C+Math.imul(he,Ut)|0,C=C+Math.imul(de,Ot)|0,F=F+Math.imul(de,Ut)|0;var ha=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(ha>>>26)|0,ha&=67108863,M=Math.imul(W,Ve),C=Math.imul(W,Ze),C=C+Math.imul(K,Ve)|0,F=Math.imul(K,Ze),M=M+Math.imul(I,Ke)|0,C=C+Math.imul(I,et)|0,C=C+Math.imul(w,Ke)|0,F=F+Math.imul(w,et)|0,M=M+Math.imul(Ne,tt)|0,C=C+Math.imul(Ne,rt)|0,C=C+Math.imul(We,tt)|0,F=F+Math.imul(We,rt)|0,M=M+Math.imul(Re,Je)|0,C=C+Math.imul(Re,je)|0,C=C+Math.imul(He,Je)|0,F=F+Math.imul(He,je)|0,M=M+Math.imul(Te,Ue)|0,C=C+Math.imul(Te,Xe)|0,C=C+Math.imul(De,Ue)|0,F=F+Math.imul(De,Xe)|0,M=M+Math.imul(Ge,nt)|0,C=C+Math.imul(Ge,Le)|0,C=C+Math.imul(Fe,nt)|0,F=F+Math.imul(Fe,Le)|0,M=M+Math.imul(Se,Pe)|0,C=C+Math.imul(Se,ze)|0,C=C+Math.imul(ve,Pe)|0,F=F+Math.imul(ve,ze)|0,M=M+Math.imul(Ie,Ot)|0,C=C+Math.imul(Ie,Ut)|0,C=C+Math.imul(_e,Ot)|0,F=F+Math.imul(_e,Ut)|0;var da=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(da>>>26)|0,da&=67108863,M=Math.imul(W,Ke),C=Math.imul(W,et),C=C+Math.imul(K,Ke)|0,F=Math.imul(K,et),M=M+Math.imul(I,tt)|0,C=C+Math.imul(I,rt)|0,C=C+Math.imul(w,tt)|0,F=F+Math.imul(w,rt)|0,M=M+Math.imul(Ne,Je)|0,C=C+Math.imul(Ne,je)|0,C=C+Math.imul(We,Je)|0,F=F+Math.imul(We,je)|0,M=M+Math.imul(Re,Ue)|0,C=C+Math.imul(Re,Xe)|0,C=C+Math.imul(He,Ue)|0,F=F+Math.imul(He,Xe)|0,M=M+Math.imul(Te,nt)|0,C=C+Math.imul(Te,Le)|0,C=C+Math.imul(De,nt)|0,F=F+Math.imul(De,Le)|0,M=M+Math.imul(Ge,Pe)|0,C=C+Math.imul(Ge,ze)|0,C=C+Math.imul(Fe,Pe)|0,F=F+Math.imul(Fe,ze)|0,M=M+Math.imul(Se,Ot)|0,C=C+Math.imul(Se,Ut)|0,C=C+Math.imul(ve,Ot)|0,F=F+Math.imul(ve,Ut)|0;var ga=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(ga>>>26)|0,ga&=67108863,M=Math.imul(W,tt),C=Math.imul(W,rt),C=C+Math.imul(K,tt)|0,F=Math.imul(K,rt),M=M+Math.imul(I,Je)|0,C=C+Math.imul(I,je)|0,C=C+Math.imul(w,Je)|0,F=F+Math.imul(w,je)|0,M=M+Math.imul(Ne,Ue)|0,C=C+Math.imul(Ne,Xe)|0,C=C+Math.imul(We,Ue)|0,F=F+Math.imul(We,Xe)|0,M=M+Math.imul(Re,nt)|0,C=C+Math.imul(Re,Le)|0,C=C+Math.imul(He,nt)|0,F=F+Math.imul(He,Le)|0,M=M+Math.imul(Te,Pe)|0,C=C+Math.imul(Te,ze)|0,C=C+Math.imul(De,Pe)|0,F=F+Math.imul(De,ze)|0,M=M+Math.imul(Ge,Ot)|0,C=C+Math.imul(Ge,Ut)|0,C=C+Math.imul(Fe,Ot)|0,F=F+Math.imul(Fe,Ut)|0;var fo=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(fo>>>26)|0,fo&=67108863,M=Math.imul(W,Je),C=Math.imul(W,je),C=C+Math.imul(K,Je)|0,F=Math.imul(K,je),M=M+Math.imul(I,Ue)|0,C=C+Math.imul(I,Xe)|0,C=C+Math.imul(w,Ue)|0,F=F+Math.imul(w,Xe)|0,M=M+Math.imul(Ne,nt)|0,C=C+Math.imul(Ne,Le)|0,C=C+Math.imul(We,nt)|0,F=F+Math.imul(We,Le)|0,M=M+Math.imul(Re,Pe)|0,C=C+Math.imul(Re,ze)|0,C=C+Math.imul(He,Pe)|0,F=F+Math.imul(He,ze)|0,M=M+Math.imul(Te,Ot)|0,C=C+Math.imul(Te,Ut)|0,C=C+Math.imul(De,Ot)|0,F=F+Math.imul(De,Ut)|0;var Hn=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(Hn>>>26)|0,Hn&=67108863,M=Math.imul(W,Ue),C=Math.imul(W,Xe),C=C+Math.imul(K,Ue)|0,F=Math.imul(K,Xe),M=M+Math.imul(I,nt)|0,C=C+Math.imul(I,Le)|0,C=C+Math.imul(w,nt)|0,F=F+Math.imul(w,Le)|0,M=M+Math.imul(Ne,Pe)|0,C=C+Math.imul(Ne,ze)|0,C=C+Math.imul(We,Pe)|0,F=F+Math.imul(We,ze)|0,M=M+Math.imul(Re,Ot)|0,C=C+Math.imul(Re,Ut)|0,C=C+Math.imul(He,Ot)|0,F=F+Math.imul(He,Ut)|0;var pa=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(pa>>>26)|0,pa&=67108863,M=Math.imul(W,nt),C=Math.imul(W,Le),C=C+Math.imul(K,nt)|0,F=Math.imul(K,Le),M=M+Math.imul(I,Pe)|0,C=C+Math.imul(I,ze)|0,C=C+Math.imul(w,Pe)|0,F=F+Math.imul(w,ze)|0,M=M+Math.imul(Ne,Ot)|0,C=C+Math.imul(Ne,Ut)|0,C=C+Math.imul(We,Ot)|0,F=F+Math.imul(We,Ut)|0;var Sf=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(Sf>>>26)|0,Sf&=67108863,M=Math.imul(W,Pe),C=Math.imul(W,ze),C=C+Math.imul(K,Pe)|0,F=Math.imul(K,ze),M=M+Math.imul(I,Ot)|0,C=C+Math.imul(I,Ut)|0,C=C+Math.imul(w,Ot)|0,F=F+Math.imul(w,Ut)|0;var ya=(T+M|0)+((C&8191)<<13)|0;T=(F+(C>>>13)|0)+(ya>>>26)|0,ya&=67108863,M=Math.imul(W,Ot),C=Math.imul(W,Ut),C=C+Math.imul(K,Ot)|0,F=Math.imul(K,Ut);var Qf=(T+M|0)+((C&8191)<<13)|0;return T=(F+(C>>>13)|0)+(Qf>>>26)|0,Qf&=67108863,d[0]=ro,d[1]=Si,d[2]=no,d[3]=io,d[4]=so,d[5]=oo,d[6]=ao,d[7]=ds,d[8]=gs,d[9]=la,d[10]=ha,d[11]=da,d[12]=ga,d[13]=fo,d[14]=Hn,d[15]=pa,d[16]=Sf,d[17]=ya,d[18]=Qf,T!==0&&(d[19]=T,Q.length++),Q};Math.imul||(U=L);function P(B,l,p){p.negative=l.negative^B.negative,p.length=B.length+l.length;for(var Q=0,D=0,_=0;_<p.length-1;_++){var d=D;D=0;for(var T=Q&67108863,M=Math.min(_,l.length-1),C=Math.max(0,_-B.length+1);C<=M;C++){var F=_-C,se=B.words[F]|0,ue=l.words[C]|0,Ae=se*ue,pe=Ae&67108863;d=d+(Ae/67108864|0)|0,pe=pe+T|0,T=pe&67108863,d=d+(pe>>>26)|0,D+=d>>>26,d&=67108863}p.words[_]=T,Q=d,d=D}return Q!==0?p.words[_]=Q:p.length--,p._strip()}function Y(B,l,p){return P(B,l,p)}i.prototype.mulTo=function(l,p){var Q,D=this.length+l.length;return this.length===10&&l.length===10?Q=U(this,l,p):D<63?Q=L(this,l,p):D<1024?Q=P(this,l,p):Q=Y(this,l,p),Q};function V(B,l){this.x=B,this.y=l}V.prototype.makeRBT=function(l){for(var p=new Array(l),Q=i.prototype._countBits(l)-1,D=0;D<l;D++)p[D]=this.revBin(D,Q,l);return p},V.prototype.revBin=function(l,p,Q){if(l===0||l===Q-1)return l;for(var D=0,_=0;_<p;_++)D|=(l&1)<<p-_-1,l>>=1;return D},V.prototype.permute=function(l,p,Q,D,_,d){for(var T=0;T<d;T++)D[T]=p[l[T]],_[T]=Q[l[T]]},V.prototype.transform=function(l,p,Q,D,_,d){this.permute(d,l,p,Q,D,_);for(var T=1;T<_;T<<=1)for(var M=T<<1,C=Math.cos(2*Math.PI/M),F=Math.sin(2*Math.PI/M),se=0;se<_;se+=M)for(var ue=C,Ae=F,pe=0;pe<T;pe++){var he=Q[se+pe],de=D[se+pe],Qt=Q[se+pe+T],Ie=D[se+pe+T],_e=ue*Qt-Ae*Ie;Ie=ue*Ie+Ae*Qt,Qt=_e,Q[se+pe]=he+Qt,D[se+pe]=de+Ie,Q[se+pe+T]=he-Qt,D[se+pe+T]=de-Ie,pe!==M&&(_e=C*ue-F*Ae,Ae=C*Ae+F*ue,ue=_e)}},V.prototype.guessLen13b=function(l,p){var Q=Math.max(p,l)|1,D=Q&1,_=0;for(Q=Q/2|0;Q;Q=Q>>>1)_++;return 1<<_+1+D},V.prototype.conjugate=function(l,p,Q){if(!(Q<=1))for(var D=0;D<Q/2;D++){var _=l[D];l[D]=l[Q-D-1],l[Q-D-1]=_,_=p[D],p[D]=-p[Q-D-1],p[Q-D-1]=-_}},V.prototype.normalize13b=function(l,p){for(var Q=0,D=0;D<p/2;D++){var _=Math.round(l[2*D+1]/p)*8192+Math.round(l[2*D]/p)+Q;l[D]=_&67108863,_<67108864?Q=0:Q=_/67108864|0}return l},V.prototype.convert13b=function(l,p,Q,D){for(var _=0,d=0;d<p;d++)_=_+(l[d]|0),Q[2*d]=_&8191,_=_>>>13,Q[2*d+1]=_&8191,_=_>>>13;for(d=2*p;d<D;++d)Q[d]=0;r(_===0),r((_&-8192)===0)},V.prototype.stub=function(l){for(var p=new Array(l),Q=0;Q<l;Q++)p[Q]=0;return p},V.prototype.mulp=function(l,p,Q){var D=2*this.guessLen13b(l.length,p.length),_=this.makeRBT(D),d=this.stub(D),T=new Array(D),M=new Array(D),C=new Array(D),F=new Array(D),se=new Array(D),ue=new Array(D),Ae=Q.words;Ae.length=D,this.convert13b(l.words,l.length,T,D),this.convert13b(p.words,p.length,F,D),this.transform(T,d,M,C,D,_),this.transform(F,d,se,ue,D,_);for(var pe=0;pe<D;pe++){var he=M[pe]*se[pe]-C[pe]*ue[pe];C[pe]=M[pe]*ue[pe]+C[pe]*se[pe],M[pe]=he}return this.conjugate(M,C,D),this.transform(M,C,Ae,d,D,_),this.conjugate(Ae,d,D),this.normalize13b(Ae,D),Q.negative=l.negative^p.negative,Q.length=l.length+p.length,Q._strip()},i.prototype.mul=function(l){var p=new i(null);return p.words=new Array(this.length+l.length),this.mulTo(l,p)},i.prototype.mulf=function(l){var p=new i(null);return p.words=new Array(this.length+l.length),Y(this,l,p)},i.prototype.imul=function(l){return this.clone().mulTo(l,this)},i.prototype.imuln=function(l){var p=l<0;p&&(l=-l),r(typeof l=="number"),r(l<67108864);for(var Q=0,D=0;D<this.length;D++){var _=(this.words[D]|0)*l,d=(_&67108863)+(Q&67108863);Q>>=26,Q+=_/67108864|0,Q+=d>>>26,this.words[D]=d&67108863}return Q!==0&&(this.words[D]=Q,this.length++),this.length=l===0?1:this.length,p?this.ineg():this},i.prototype.muln=function(l){return this.clone().imuln(l)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(l){var p=v(l);if(p.length===0)return new i(1);for(var Q=this,D=0;D<p.length&&p[D]===0;D++,Q=Q.sqr());if(++D<p.length)for(var _=Q.sqr();D<p.length;D++,_=_.sqr())p[D]!==0&&(Q=Q.mul(_));return Q},i.prototype.iushln=function(l){r(typeof l=="number"&&l>=0);var p=l%26,Q=(l-p)/26,D=67108863>>>26-p<<26-p,_;if(p!==0){var d=0;for(_=0;_<this.length;_++){var T=this.words[_]&D,M=(this.words[_]|0)-T<<p;this.words[_]=M|d,d=T>>>26-p}d&&(this.words[_]=d,this.length++)}if(Q!==0){for(_=this.length-1;_>=0;_--)this.words[_+Q]=this.words[_];for(_=0;_<Q;_++)this.words[_]=0;this.length+=Q}return this._strip()},i.prototype.ishln=function(l){return r(this.negative===0),this.iushln(l)},i.prototype.iushrn=function(l,p,Q){r(typeof l=="number"&&l>=0);var D;p?D=(p-p%26)/26:D=0;var _=l%26,d=Math.min((l-_)/26,this.length),T=67108863^67108863>>>_<<_,M=Q;if(D-=d,D=Math.max(0,D),M){for(var C=0;C<d;C++)M.words[C]=this.words[C];M.length=d}if(d!==0)if(this.length>d)for(this.length-=d,C=0;C<this.length;C++)this.words[C]=this.words[C+d];else this.words[0]=0,this.length=1;var F=0;for(C=this.length-1;C>=0&&(F!==0||C>=D);C--){var se=this.words[C]|0;this.words[C]=F<<26-_|se>>>_,F=se&T}return M&&F!==0&&(M.words[M.length++]=F),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(l,p,Q){return r(this.negative===0),this.iushrn(l,p,Q)},i.prototype.shln=function(l){return this.clone().ishln(l)},i.prototype.ushln=function(l){return this.clone().iushln(l)},i.prototype.shrn=function(l){return this.clone().ishrn(l)},i.prototype.ushrn=function(l){return this.clone().iushrn(l)},i.prototype.testn=function(l){r(typeof l=="number"&&l>=0);var p=l%26,Q=(l-p)/26,D=1<<p;if(this.length<=Q)return!1;var _=this.words[Q];return!!(_&D)},i.prototype.imaskn=function(l){r(typeof l=="number"&&l>=0);var p=l%26,Q=(l-p)/26;if(r(this.negative===0,"imaskn works only with positive numbers"),this.length<=Q)return this;if(p!==0&&Q++,this.length=Math.min(Q,this.length),p!==0){var D=67108863^67108863>>>p<<p;this.words[this.length-1]&=D}return this.length===0&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.maskn=function(l){return this.clone().imaskn(l)},i.prototype.iaddn=function(l){return r(typeof l=="number"),r(l<67108864),l<0?this.isubn(-l):this.negative!==0?this.length===1&&(this.words[0]|0)<=l?(this.words[0]=l-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(l),this.negative=1,this):this._iaddn(l)},i.prototype._iaddn=function(l){this.words[0]+=l;for(var p=0;p<this.length&&this.words[p]>=67108864;p++)this.words[p]-=67108864,p===this.length-1?this.words[p+1]=1:this.words[p+1]++;return this.length=Math.max(this.length,p+1),this},i.prototype.isubn=function(l){if(r(typeof l=="number"),r(l<67108864),l<0)return this.iaddn(-l);if(this.negative!==0)return this.negative=0,this.iaddn(l),this.negative=1,this;if(this.words[0]-=l,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var p=0;p<this.length&&this.words[p]<0;p++)this.words[p]+=67108864,this.words[p+1]-=1;return this._strip()},i.prototype.addn=function(l){return this.clone().iaddn(l)},i.prototype.subn=function(l){return this.clone().isubn(l)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(l,p,Q){var D=l.length+Q,_;this._expand(D);var d,T=0;for(_=0;_<l.length;_++){d=(this.words[_+Q]|0)+T;var M=(l.words[_]|0)*p;d-=M&67108863,T=(d>>26)-(M/67108864|0),this.words[_+Q]=d&67108863}for(;_<this.length-Q;_++)d=(this.words[_+Q]|0)+T,T=d>>26,this.words[_+Q]=d&67108863;if(T===0)return this._strip();for(r(T===-1),T=0,_=0;_<this.length;_++)d=-(this.words[_]|0)+T,T=d>>26,this.words[_]=d&67108863;return this.negative=1,this._strip()},i.prototype._wordDiv=function(l,p){var Q=this.length-l.length,D=this.clone(),_=l,d=_.words[_.length-1]|0,T=this._countBits(d);Q=26-T,Q!==0&&(_=_.ushln(Q),D.iushln(Q),d=_.words[_.length-1]|0);var M=D.length-_.length,C;if(p!=="mod"){C=new i(null),C.length=M+1,C.words=new Array(C.length);for(var F=0;F<C.length;F++)C.words[F]=0}var se=D.clone()._ishlnsubmul(_,1,M);se.negative===0&&(D=se,C&&(C.words[M]=1));for(var ue=M-1;ue>=0;ue--){var Ae=(D.words[_.length+ue]|0)*67108864+(D.words[_.length+ue-1]|0);for(Ae=Math.min(Ae/d|0,67108863),D._ishlnsubmul(_,Ae,ue);D.negative!==0;)Ae--,D.negative=0,D._ishlnsubmul(_,1,ue),D.isZero()||(D.negative^=1);C&&(C.words[ue]=Ae)}return C&&C._strip(),D._strip(),p!=="div"&&Q!==0&&D.iushrn(Q),{div:C||null,mod:D}},i.prototype.divmod=function(l,p,Q){if(r(!l.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var D,_,d;return this.negative!==0&&l.negative===0?(d=this.neg().divmod(l,p),p!=="mod"&&(D=d.div.neg()),p!=="div"&&(_=d.mod.neg(),Q&&_.negative!==0&&_.iadd(l)),{div:D,mod:_}):this.negative===0&&l.negative!==0?(d=this.divmod(l.neg(),p),p!=="mod"&&(D=d.div.neg()),{div:D,mod:d.mod}):(this.negative&l.negative)!==0?(d=this.neg().divmod(l.neg(),p),p!=="div"&&(_=d.mod.neg(),Q&&_.negative!==0&&_.isub(l)),{div:d.div,mod:_}):l.length>this.length||this.cmp(l)<0?{div:new i(0),mod:this}:l.length===1?p==="div"?{div:this.divn(l.words[0]),mod:null}:p==="mod"?{div:null,mod:new i(this.modrn(l.words[0]))}:{div:this.divn(l.words[0]),mod:new i(this.modrn(l.words[0]))}:this._wordDiv(l,p)},i.prototype.div=function(l){return this.divmod(l,"div",!1).div},i.prototype.mod=function(l){return this.divmod(l,"mod",!1).mod},i.prototype.umod=function(l){return this.divmod(l,"mod",!0).mod},i.prototype.divRound=function(l){var p=this.divmod(l);if(p.mod.isZero())return p.div;var Q=p.div.negative!==0?p.mod.isub(l):p.mod,D=l.ushrn(1),_=l.andln(1),d=Q.cmp(D);return d<0||_===1&&d===0?p.div:p.div.negative!==0?p.div.isubn(1):p.div.iaddn(1)},i.prototype.modrn=function(l){var p=l<0;p&&(l=-l),r(l<=67108863);for(var Q=(1<<26)%l,D=0,_=this.length-1;_>=0;_--)D=(Q*D+(this.words[_]|0))%l;return p?-D:D},i.prototype.modn=function(l){return this.modrn(l)},i.prototype.idivn=function(l){var p=l<0;p&&(l=-l),r(l<=67108863);for(var Q=0,D=this.length-1;D>=0;D--){var _=(this.words[D]|0)+Q*67108864;this.words[D]=_/l|0,Q=_%l}return this._strip(),p?this.ineg():this},i.prototype.divn=function(l){return this.clone().idivn(l)},i.prototype.egcd=function(l){r(l.negative===0),r(!l.isZero());var p=this,Q=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var D=new i(1),_=new i(0),d=new i(0),T=new i(1),M=0;p.isEven()&&Q.isEven();)p.iushrn(1),Q.iushrn(1),++M;for(var C=Q.clone(),F=p.clone();!p.isZero();){for(var se=0,ue=1;(p.words[0]&ue)===0&&se<26;++se,ue<<=1);if(se>0)for(p.iushrn(se);se-- >0;)(D.isOdd()||_.isOdd())&&(D.iadd(C),_.isub(F)),D.iushrn(1),_.iushrn(1);for(var Ae=0,pe=1;(Q.words[0]&pe)===0&&Ae<26;++Ae,pe<<=1);if(Ae>0)for(Q.iushrn(Ae);Ae-- >0;)(d.isOdd()||T.isOdd())&&(d.iadd(C),T.isub(F)),d.iushrn(1),T.iushrn(1);p.cmp(Q)>=0?(p.isub(Q),D.isub(d),_.isub(T)):(Q.isub(p),d.isub(D),T.isub(_))}return{a:d,b:T,gcd:Q.iushln(M)}},i.prototype._invmp=function(l){r(l.negative===0),r(!l.isZero());var p=this,Q=l.clone();p.negative!==0?p=p.umod(l):p=p.clone();for(var D=new i(1),_=new i(0),d=Q.clone();p.cmpn(1)>0&&Q.cmpn(1)>0;){for(var T=0,M=1;(p.words[0]&M)===0&&T<26;++T,M<<=1);if(T>0)for(p.iushrn(T);T-- >0;)D.isOdd()&&D.iadd(d),D.iushrn(1);for(var C=0,F=1;(Q.words[0]&F)===0&&C<26;++C,F<<=1);if(C>0)for(Q.iushrn(C);C-- >0;)_.isOdd()&&_.iadd(d),_.iushrn(1);p.cmp(Q)>=0?(p.isub(Q),D.isub(_)):(Q.isub(p),_.isub(D))}var se;return p.cmpn(1)===0?se=D:se=_,se.cmpn(0)<0&&se.iadd(l),se},i.prototype.gcd=function(l){if(this.isZero())return l.abs();if(l.isZero())return this.abs();var p=this.clone(),Q=l.clone();p.negative=0,Q.negative=0;for(var D=0;p.isEven()&&Q.isEven();D++)p.iushrn(1),Q.iushrn(1);do{for(;p.isEven();)p.iushrn(1);for(;Q.isEven();)Q.iushrn(1);var _=p.cmp(Q);if(_<0){var d=p;p=Q,Q=d}else if(_===0||Q.cmpn(1)===0)break;p.isub(Q)}while(!0);return Q.iushln(D)},i.prototype.invm=function(l){return this.egcd(l).a.umod(l)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(l){return this.words[0]&l},i.prototype.bincn=function(l){r(typeof l=="number");var p=l%26,Q=(l-p)/26,D=1<<p;if(this.length<=Q)return this._expand(Q+1),this.words[Q]|=D,this;for(var _=D,d=Q;_!==0&&d<this.length;d++){var T=this.words[d]|0;T+=_,_=T>>>26,T&=67108863,this.words[d]=T}return _!==0&&(this.words[d]=_,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(l){var p=l<0;if(this.negative!==0&&!p)return-1;if(this.negative===0&&p)return 1;this._strip();var Q;if(this.length>1)Q=1;else{p&&(l=-l),r(l<=67108863,"Number is too big");var D=this.words[0]|0;Q=D===l?0:D<l?-1:1}return this.negative!==0?-Q|0:Q},i.prototype.cmp=function(l){if(this.negative!==0&&l.negative===0)return-1;if(this.negative===0&&l.negative!==0)return 1;var p=this.ucmp(l);return this.negative!==0?-p|0:p},i.prototype.ucmp=function(l){if(this.length>l.length)return 1;if(this.length<l.length)return-1;for(var p=0,Q=this.length-1;Q>=0;Q--){var D=this.words[Q]|0,_=l.words[Q]|0;if(D!==_){D<_?p=-1:D>_&&(p=1);break}}return p},i.prototype.gtn=function(l){return this.cmpn(l)===1},i.prototype.gt=function(l){return this.cmp(l)===1},i.prototype.gten=function(l){return this.cmpn(l)>=0},i.prototype.gte=function(l){return this.cmp(l)>=0},i.prototype.ltn=function(l){return this.cmpn(l)===-1},i.prototype.lt=function(l){return this.cmp(l)===-1},i.prototype.lten=function(l){return this.cmpn(l)<=0},i.prototype.lte=function(l){return this.cmp(l)<=0},i.prototype.eqn=function(l){return this.cmpn(l)===0},i.prototype.eq=function(l){return this.cmp(l)===0},i.red=function(l){return new E(l)},i.prototype.toRed=function(l){return r(!this.red,"Already a number in reduction context"),r(this.negative===0,"red works only with positives"),l.convertTo(this)._forceRed(l)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(l){return this.red=l,this},i.prototype.forceRed=function(l){return r(!this.red,"Already a number in reduction context"),this._forceRed(l)},i.prototype.redAdd=function(l){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,l)},i.prototype.redIAdd=function(l){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,l)},i.prototype.redSub=function(l){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,l)},i.prototype.redISub=function(l){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,l)},i.prototype.redShl=function(l){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,l)},i.prototype.redMul=function(l){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.mul(this,l)},i.prototype.redIMul=function(l){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.imul(this,l)},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(l){return r(this.red&&!l.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,l)};var X={k256:null,p224:null,p192:null,p25519:null};function j(B,l){this.name=B,this.p=new i(l,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 l=new i(null);return l.words=new Array(Math.ceil(this.n/13)),l},j.prototype.ireduce=function(l){var p=l,Q;do this.split(p,this.tmp),p=this.imulK(p),p=p.iadd(this.tmp),Q=p.bitLength();while(Q>this.n);var D=Q<this.n?-1:p.ucmp(this.p);return D===0?(p.words[0]=0,p.length=1):D>0?p.isub(this.p):p.strip!==void 0?p.strip():p._strip(),p},j.prototype.split=function(l,p){l.iushrn(this.n,0,p)},j.prototype.imulK=function(l){return l.imul(this.k)};function re(){j.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}n(re,j),re.prototype.split=function(l,p){for(var Q=4194303,D=Math.min(l.length,9),_=0;_<D;_++)p.words[_]=l.words[_];if(p.length=D,l.length<=9){l.words[0]=0,l.length=1;return}var d=l.words[9];for(p.words[p.length++]=d&Q,_=10;_<l.length;_++){var T=l.words[_]|0;l.words[_-10]=(T&Q)<<4|d>>>22,d=T}d>>>=22,l.words[_-10]=d,d===0&&l.length>10?l.length-=10:l.length-=9},re.prototype.imulK=function(l){l.words[l.length]=0,l.words[l.length+1]=0,l.length+=2;for(var p=0,Q=0;Q<l.length;Q++){var D=l.words[Q]|0;p+=D*977,l.words[Q]=p&67108863,p=D*64+(p/67108864|0)}return l.words[l.length-1]===0&&(l.length--,l.words[l.length-1]===0&&l.length--),l};function ie(){j.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}n(ie,j);function oe(){j.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}n(oe,j);function O(){j.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}n(O,j),O.prototype.imulK=function(l){for(var p=0,Q=0;Q<l.length;Q++){var D=(l.words[Q]|0)*19+p,_=D&67108863;D>>>=26,l.words[Q]=_,p=D}return p!==0&&(l.words[l.length++]=p),l},i._prime=function(l){if(X[l])return X[l];var p;if(l==="k256")p=new re;else if(l==="p224")p=new ie;else if(l==="p192")p=new oe;else if(l==="p25519")p=new O;else throw new Error("Unknown prime "+l);return X[l]=p,p};function E(B){if(typeof B=="string"){var l=i._prime(B);this.m=l.p,this.prime=l}else r(B.gtn(1),"modulus must be greater than 1"),this.m=B,this.prime=null}E.prototype._verify1=function(l){r(l.negative===0,"red works only with positives"),r(l.red,"red works only with red numbers")},E.prototype._verify2=function(l,p){r((l.negative|p.negative)===0,"red works only with positives"),r(l.red&&l.red===p.red,"red works only with red numbers")},E.prototype.imod=function(l){return this.prime?this.prime.ireduce(l)._forceRed(this):(u(l,l.umod(this.m)._forceRed(this)),l)},E.prototype.neg=function(l){return l.isZero()?l.clone():this.m.sub(l)._forceRed(this)},E.prototype.add=function(l,p){this._verify2(l,p);var Q=l.add(p);return Q.cmp(this.m)>=0&&Q.isub(this.m),Q._forceRed(this)},E.prototype.iadd=function(l,p){this._verify2(l,p);var Q=l.iadd(p);return Q.cmp(this.m)>=0&&Q.isub(this.m),Q},E.prototype.sub=function(l,p){this._verify2(l,p);var Q=l.sub(p);return Q.cmpn(0)<0&&Q.iadd(this.m),Q._forceRed(this)},E.prototype.isub=function(l,p){this._verify2(l,p);var Q=l.isub(p);return Q.cmpn(0)<0&&Q.iadd(this.m),Q},E.prototype.shl=function(l,p){return this._verify1(l),this.imod(l.ushln(p))},E.prototype.imul=function(l,p){return this._verify2(l,p),this.imod(l.imul(p))},E.prototype.mul=function(l,p){return this._verify2(l,p),this.imod(l.mul(p))},E.prototype.isqr=function(l){return this.imul(l,l.clone())},E.prototype.sqr=function(l){return this.mul(l,l)},E.prototype.sqrt=function(l){if(l.isZero())return l.clone();var p=this.m.andln(3);if(r(p%2===1),p===3){var Q=this.m.add(new i(1)).iushrn(2);return this.pow(l,Q)}for(var D=this.m.subn(1),_=0;!D.isZero()&&D.andln(1)===0;)_++,D.iushrn(1);r(!D.isZero());var d=new i(1).toRed(this),T=d.redNeg(),M=this.m.subn(1).iushrn(1),C=this.m.bitLength();for(C=new i(2*C*C).toRed(this);this.pow(C,M).cmp(T)!==0;)C.redIAdd(T);for(var F=this.pow(C,D),se=this.pow(l,D.addn(1).iushrn(1)),ue=this.pow(l,D),Ae=_;ue.cmp(d)!==0;){for(var pe=ue,he=0;pe.cmp(d)!==0;he++)pe=pe.redSqr();r(he<Ae);var de=this.pow(F,new i(1).iushln(Ae-he-1));se=se.redMul(de),F=de.redSqr(),ue=ue.redMul(F),Ae=he}return se},E.prototype.invm=function(l){var p=l._invmp(this.m);return p.negative!==0?(p.negative=0,this.imod(p).redNeg()):this.imod(p)},E.prototype.pow=function(l,p){if(p.isZero())return new i(1).toRed(this);if(p.cmpn(1)===0)return l.clone();var Q=4,D=new Array(1<<Q);D[0]=new i(1).toRed(this),D[1]=l;for(var _=2;_<D.length;_++)D[_]=this.mul(D[_-1],l);var d=D[0],T=0,M=0,C=p.bitLength()%26;for(C===0&&(C=26),_=p.length-1;_>=0;_--){for(var F=p.words[_],se=C-1;se>=0;se--){var ue=F>>se&1;if(d!==D[0]&&(d=this.sqr(d)),ue===0&&T===0){M=0;continue}T<<=1,T|=ue,M++,!(M!==Q&&(_!==0||se!==0))&&(d=this.mul(d,D[T]),M=0,T=0)}C=26}return d},E.prototype.convertTo=function(l){var p=l.umod(this.m);return p===l?p.clone():p},E.prototype.convertFrom=function(l){var p=l.clone();return p.red=null,p},i.mont=function(l){return new R(l)};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(l){return this.imod(l.ushln(this.shift))},R.prototype.convertFrom=function(l){var p=this.imod(l.mul(this.rinv));return p.red=null,p},R.prototype.imul=function(l,p){if(l.isZero()||p.isZero())return l.words[0]=0,l.length=1,l;var Q=l.imul(p),D=Q.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),_=Q.isub(D).iushrn(this.shift),d=_;return _.cmp(this.m)>=0?d=_.isub(this.m):_.cmpn(0)<0&&(d=_.iadd(this.m)),d._forceRed(this)},R.prototype.mul=function(l,p){if(l.isZero()||p.isZero())return new i(0)._forceRed(this);var Q=l.mul(p),D=Q.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),_=Q.isub(D).iushrn(this.shift),d=_;return _.cmp(this.m)>=0?d=_.isub(this.m):_.cmpn(0)<0&&(d=_.iadd(this.m)),d._forceRed(this)},R.prototype.invm=function(l){var p=this.imod(l._invmp(this.m).mul(this.r2));return p._forceRed(this)}})(typeof aR>"u"||aR,AG)});var Fb=x((V9e,dG)=>{"use strict";var sh=kb(),Qwe=yc(),vwe=st().Buffer;function lG(e){var t=e.modulus.byteLength(),r;do r=new sh(Qwe(t));while(r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2));return r}function Rwe(e){var t=lG(e),r=t.toRed(sh.mont(e.modulus)).redPow(new sh(e.publicExponent)).fromRed();return{blinder:r,unblinder:t.invm(e.modulus)}}function hG(e,t){var r=Rwe(t),n=t.modulus.byteLength(),i=new sh(e).mul(r.blinder).umod(t.modulus),s=i.toRed(sh.mont(t.prime1)),o=i.toRed(sh.mont(t.prime2)),a=t.coefficient,f=t.prime1,u=t.prime2,c=s.redPow(t.exponent1).fromRed(),h=o.redPow(t.exponent2).fromRed(),y=c.isub(h).imul(a).umod(f).imul(u);return h.iadd(y).imul(r.unblinder).umod(t.modulus).toArrayLike(vwe,"be",n)}hG.getr=lG;dG.exports=hG});var gG=x((J9e,Dwe)=>{Dwe.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 fR=x(EG=>{"use strict";var Ub=EG;function Twe(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}Ub.toArray=Twe;function pG(e){return e.length===1?"0"+e:e}Ub.zero2=pG;function yG(e){for(var t="",r=0;r<e.length;r++)t+=pG(e[r].toString(16));return t}Ub.toHex=yG;Ub.encode=function(t,r){return r==="hex"?yG(t):t}});var li=x(mG=>{"use strict";var Ds=mG,Nwe=Wr(),Mwe=Ai(),Lb=fR();Ds.assert=Mwe;Ds.toArray=Lb.toArray;Ds.zero2=Lb.zero2;Ds.toHex=Lb.toHex;Ds.encode=Lb.encode;function xwe(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,f=o.andln(s-1);o.isOdd()?(f>(s>>1)-1?a=(s>>1)-f:a=f,o.isubn(a)):a=0,n[i]=a,o.iushrn(1)}return n}Ds.getNAF=xwe;function kwe(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 f;(o&1)===0?f=0:(s=e.andln(7)+n&7,(s===3||s===5)&&a===2?f=-o:f=o),r[0].push(f);var u;(a&1)===0?u=0:(s=t.andln(7)+i&7,(s===3||s===5)&&o===2?u=-a:u=a),r[1].push(u),2*n===f+1&&(n=1-n),2*i===u+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return r}Ds.getJSF=kwe;function Fwe(e,t,r){var n="_"+t;e.prototype[t]=function(){return this[n]!==void 0?this[n]:this[n]=r.call(this)}}Ds.cachedProperty=Fwe;function Uwe(e){return typeof e=="string"?Ds.toArray(e,"hex"):e}Ds.parseBytes=Uwe;function Lwe(e){return new Nwe(e,"hex","le")}Ds.intFromLE=Lwe});var mp=x((K9e,bG)=>{"use strict";var Tc=Wr(),Ep=li(),Pb=Ep.getNAF,Pwe=Ep.getJSF,Ob=Ep.assert;function tu(e,t){this.type=e,this.p=new Tc(t.p,16),this.red=t.prime?Tc.red(t.prime):Tc.mont(this.p),this.zero=new Tc(0).toRed(this.red),this.one=new Tc(1).toRed(this.red),this.two=new Tc(2).toRed(this.red),this.n=t.n&&new Tc(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))}bG.exports=tu;tu.prototype.point=function(){throw new Error("Not implemented")};tu.prototype.validate=function(){throw new Error("Not implemented")};tu.prototype._fixedNafMul=function(t,r){Ob(t.precomputed);var n=t._getDoubles(),i=Pb(r,1,this._bitLength),s=(1<<n.step+1)-(n.step%2===0?2:1);s/=3;var o=[],a,f;for(a=0;a<i.length;a+=n.step){f=0;for(var u=a+n.step-1;u>=a;u--)f=(f<<1)+i[u];o.push(f)}for(var c=this.jpoint(null,null,null),h=this.jpoint(null,null,null),y=s;y>0;y--){for(a=0;a<o.length;a++)f=o[a],f===y?h=h.mixedAdd(n.points[a]):f===-y&&(h=h.mixedAdd(n.points[a].neg()));c=c.add(h)}return c.toP()};tu.prototype._wnafMul=function(t,r){var n=4,i=t._getNAFPoints(n);n=i.wnd;for(var s=i.points,o=Pb(r,n,this._bitLength),a=this.jpoint(null,null,null),f=o.length-1;f>=0;f--){for(var u=0;f>=0&&o[f]===0;f--)u++;if(f>=0&&u++,a=a.dblp(u),f<0)break;var c=o[f];Ob(c!==0),t.type==="affine"?c>0?a=a.mixedAdd(s[c-1>>1]):a=a.mixedAdd(s[-c-1>>1].neg()):c>0?a=a.add(s[c-1>>1]):a=a.add(s[-c-1>>1].neg())}return t.type==="affine"?a.toP():a};tu.prototype._wnafMulAdd=function(t,r,n,i,s){var o=this._wnafT1,a=this._wnafT2,f=this._wnafT3,u=0,c,h,y;for(c=0;c<i;c++){y=r[c];var b=y._getNAFPoints(t);o[c]=b.wnd,a[c]=b.points}for(c=i-1;c>=1;c-=2){var S=c-1,v=c;if(o[S]!==1||o[v]!==1){f[S]=Pb(n[S],o[S],this._bitLength),f[v]=Pb(n[v],o[v],this._bitLength),u=Math.max(f[S].length,u),u=Math.max(f[v].length,u);continue}var L=[r[S],null,null,r[v]];r[S].y.cmp(r[v].y)===0?(L[1]=r[S].add(r[v]),L[2]=r[S].toJ().mixedAdd(r[v].neg())):r[S].y.cmp(r[v].y.redNeg())===0?(L[1]=r[S].toJ().mixedAdd(r[v]),L[2]=r[S].add(r[v].neg())):(L[1]=r[S].toJ().mixedAdd(r[v]),L[2]=r[S].toJ().mixedAdd(r[v].neg()));var U=[-3,-1,-5,-7,0,7,5,1,3],P=Pwe(n[S],n[v]);for(u=Math.max(P[0].length,u),f[S]=new Array(u),f[v]=new Array(u),h=0;h<u;h++){var Y=P[0][h]|0,V=P[1][h]|0;f[S][h]=U[(Y+1)*3+(V+1)],f[v][h]=0,a[S]=L}}var X=this.jpoint(null,null,null),j=this._wnafT4;for(c=u;c>=0;c--){for(var re=0;c>=0;){var ie=!0;for(h=0;h<i;h++)j[h]=f[h][c]|0,j[h]!==0&&(ie=!1);if(!ie)break;re++,c--}if(c>=0&&re++,X=X.dblp(re),c<0)break;for(h=0;h<i;h++){var oe=j[h];oe!==0&&(oe>0?y=a[h][oe-1>>1]:oe<0&&(y=a[h][-oe-1>>1].neg()),y.type==="affine"?X=X.mixedAdd(y):X=X.add(y))}}for(c=0;c<i;c++)a[c]=null;return s?X:X.toP()};function Gi(e,t){this.curve=e,this.type=t,this.precomputed=null}tu.BasePoint=Gi;Gi.prototype.eq=function(){throw new Error("Not implemented")};Gi.prototype.validate=function(){return this.curve.validate(this)};tu.prototype.decodePoint=function(t,r){t=Ep.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?Ob(t[t.length-1]%2===0):t[0]===7&&Ob(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")};Gi.prototype.encodeCompressed=function(t){return this.encode(t,!0)};Gi.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))};Gi.prototype.encode=function(t,r){return Ep.encode(this._encode(r),t)};Gi.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};Gi.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};Gi.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}};Gi.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}};Gi.prototype._getBeta=function(){return null};Gi.prototype.dblp=function(t){for(var r=this,n=0;n<t;n++)r=r.dbl();return r}});var BG=x((X9e,IG)=>{"use strict";var Owe=li(),gr=Wr(),uR=at(),oh=mp(),Hwe=Owe.assert;function Yi(e){oh.call(this,"short",e),this.a=new gr(e.a,16).toRed(this.red),this.b=new gr(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)}uR(Yi,oh);IG.exports=Yi;Yi.prototype._getEndomorphism=function(t){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var r,n;if(t.beta)r=new gr(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 gr(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],Hwe(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 gr(a.a,16),b:new gr(a.b,16)}}):o=this._getEndoBasis(n),{beta:r,lambda:n,basis:o}}};Yi.prototype._getEndoRoots=function(t){var r=t===this.p?this.red:gr.mont(t),n=new gr(2).toRed(r).redInvm(),i=n.redNeg(),s=new gr(3).toRed(r).redNeg().redSqrt().redMul(n),o=i.redAdd(s).fromRed(),a=i.redSub(s).fromRed();return[o,a]};Yi.prototype._getEndoBasis=function(t){for(var r=this.n.ushrn(Math.floor(this.n.bitLength()/2)),n=t,i=this.n.clone(),s=new gr(1),o=new gr(0),a=new gr(0),f=new gr(1),u,c,h,y,b,S,v,L=0,U,P;n.cmpn(0)!==0;){var Y=i.div(n);U=i.sub(Y.mul(n)),P=a.sub(Y.mul(s));var V=f.sub(Y.mul(o));if(!h&&U.cmp(r)<0)u=v.neg(),c=s,h=U.neg(),y=P;else if(h&&++L===2)break;v=U,i=n,n=U,a=s,s=P,f=o,o=V}b=U.neg(),S=P;var X=h.sqr().add(y.sqr()),j=b.sqr().add(S.sqr());return j.cmp(X)>=0&&(b=u,S=c),h.negative&&(h=h.neg(),y=y.neg()),b.negative&&(b=b.neg(),S=S.neg()),[{a:h,b:y},{a:b,b:S}]};Yi.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),f=o.mul(i.a),u=s.mul(n.b),c=o.mul(i.b),h=t.sub(a).sub(f),y=u.add(c).neg();return{k1:h,k2:y}};Yi.prototype.pointFromX=function(t,r){t=new gr(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)};Yi.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};Yi.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]),f=t[o],u=f._getBeta();a.k1.negative&&(a.k1.ineg(),f=f.neg(!0)),a.k2.negative&&(a.k2.ineg(),u=u.neg(!0)),i[o*2]=f,i[o*2+1]=u,s[o*2]=a.k1,s[o*2+1]=a.k2}for(var c=this._wnafMulAdd(1,i,s,o*2,n),h=0;h<o*2;h++)i[h]=null,s[h]=null;return c};function Vr(e,t,r,n){oh.BasePoint.call(this,e,"affine"),t===null&&r===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new gr(t,16),this.y=new gr(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)}uR(Vr,oh.BasePoint);Yi.prototype.point=function(t,r,n){return new Vr(this,t,r,n)};Yi.prototype.pointFromJSON=function(t,r){return Vr.fromJSON(this,t,r)};Vr.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}};Vr.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]};Vr.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};Vr.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)+">"};Vr.prototype.isInfinity=function(){return this.inf};Vr.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)};Vr.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)};Vr.prototype.getX=function(){return this.x.fromRed()};Vr.prototype.getY=function(){return this.y.fromRed()};Vr.prototype.mul=function(t){return t=new gr(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)};Vr.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)};Vr.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)};Vr.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)};Vr.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};Vr.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 fn(e,t,r,n){oh.BasePoint.call(this,e,"jacobian"),t===null&&r===null&&n===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new gr(0)):(this.x=new gr(t,16),this.y=new gr(r,16),this.z=new gr(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}uR(fn,oh.BasePoint);Yi.prototype.jpoint=function(t,r,n){return new fn(this,t,r,n)};fn.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)};fn.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};fn.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)),f=i.redSub(s),u=o.redSub(a);if(f.cmpn(0)===0)return u.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=f.redSqr(),h=c.redMul(f),y=i.redMul(c),b=u.redSqr().redIAdd(h).redISub(y).redISub(y),S=u.redMul(y.redISub(b)).redISub(o.redMul(h)),v=this.z.redMul(t.z).redMul(f);return this.curve.jpoint(b,S,v)};fn.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),f=s.redSub(o);if(a.cmpn(0)===0)return f.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),c=u.redMul(a),h=n.redMul(u),y=f.redSqr().redIAdd(c).redISub(h).redISub(h),b=f.redMul(h.redISub(y)).redISub(s.redMul(c)),S=this.z.redMul(a);return this.curve.jpoint(y,b,S)};fn.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,f=this.z,u=f.redSqr().redSqr(),c=a.redAdd(a);for(r=0;r<t;r++){var h=o.redSqr(),y=c.redSqr(),b=y.redSqr(),S=h.redAdd(h).redIAdd(h).redIAdd(i.redMul(u)),v=o.redMul(y),L=S.redSqr().redISub(v.redAdd(v)),U=v.redISub(L),P=S.redMul(U);P=P.redIAdd(P).redISub(b);var Y=c.redMul(f);r+1<t&&(u=u.redMul(b)),o=L,f=Y,c=P}return this.curve.jpoint(o,c.redMul(s),f)};fn.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()};fn.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 f=i.redAdd(i).redIAdd(i),u=f.redSqr().redISub(a).redISub(a),c=o.redIAdd(o);c=c.redIAdd(c),c=c.redIAdd(c),t=u,r=f.redMul(a.redISub(u)).redISub(c),n=this.y.redAdd(this.y)}else{var h=this.x.redSqr(),y=this.y.redSqr(),b=y.redSqr(),S=this.x.redAdd(y).redSqr().redISub(h).redISub(b);S=S.redIAdd(S);var v=h.redAdd(h).redIAdd(h),L=v.redSqr(),U=b.redIAdd(b);U=U.redIAdd(U),U=U.redIAdd(U),t=L.redISub(S).redISub(S),r=v.redMul(S.redISub(t)).redISub(U),n=this.y.redMul(this.z),n=n.redIAdd(n)}return this.curve.jpoint(t,r,n)};fn.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 f=i.redAdd(i).redIAdd(i).redIAdd(this.curve.a),u=f.redSqr().redISub(a).redISub(a);t=u;var c=o.redIAdd(o);c=c.redIAdd(c),c=c.redIAdd(c),r=f.redMul(a.redISub(u)).redISub(c),n=this.y.redAdd(this.y)}else{var h=this.z.redSqr(),y=this.y.redSqr(),b=this.x.redMul(y),S=this.x.redSub(h).redMul(this.x.redAdd(h));S=S.redAdd(S).redIAdd(S);var v=b.redIAdd(b);v=v.redIAdd(v);var L=v.redAdd(v);t=S.redSqr().redISub(L),n=this.y.redAdd(this.z).redSqr().redISub(y).redISub(h);var U=y.redSqr();U=U.redIAdd(U),U=U.redIAdd(U),U=U.redIAdd(U),r=S.redMul(v.redISub(t)).redISub(U)}return this.curve.jpoint(t,r,n)};fn.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(),f=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(s)),u=r.redAdd(r);u=u.redIAdd(u);var c=u.redMul(a),h=f.redSqr().redISub(c.redAdd(c)),y=c.redISub(h),b=a.redSqr();b=b.redIAdd(b),b=b.redIAdd(b),b=b.redIAdd(b);var S=f.redMul(y).redISub(b),v=n.redAdd(n).redMul(i);return this.curve.jpoint(h,S,v)};fn.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 f=a.redSqr(),u=i.redIAdd(i);u=u.redIAdd(u),u=u.redIAdd(u),u=u.redIAdd(u);var c=s.redIAdd(a).redSqr().redISub(o).redISub(f).redISub(u),h=r.redMul(c);h=h.redIAdd(h),h=h.redIAdd(h);var y=this.x.redMul(f).redISub(h);y=y.redIAdd(y),y=y.redIAdd(y);var b=this.y.redMul(c.redMul(u.redISub(c)).redISub(a.redMul(f)));b=b.redIAdd(b),b=b.redIAdd(b),b=b.redIAdd(b);var S=this.z.redAdd(a).redSqr().redISub(n).redISub(f);return this.curve.jpoint(y,b,S)};fn.prototype.mul=function(t,r){return t=new gr(t,r),this.curve._wnafMul(this,t)};fn.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};fn.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}};fn.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)+">"};fn.prototype.isInfinity=function(){return this.z.cmpn(0)===0}});var wG=x(($9e,_G)=>{"use strict";var ah=Wr(),CG=at(),Hb=mp(),qwe=li();function fh(e){Hb.call(this,"mont",e),this.a=new ah(e.a,16).toRed(this.red),this.b=new ah(e.b,16).toRed(this.red),this.i4=new ah(4).toRed(this.red).redInvm(),this.two=new ah(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}CG(fh,Hb);_G.exports=fh;fh.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 Jr(e,t,r){Hb.BasePoint.call(this,e,"projective"),t===null&&r===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new ah(t,16),this.z=new ah(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}CG(Jr,Hb.BasePoint);fh.prototype.decodePoint=function(t,r){return this.point(qwe.toArray(t,r),1)};fh.prototype.point=function(t,r){return new Jr(this,t,r)};fh.prototype.pointFromJSON=function(t){return Jr.fromJSON(this,t)};Jr.prototype.precompute=function(){};Jr.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};Jr.fromJSON=function(t,r){return new Jr(t,r[0],r[1]||t.one)};Jr.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)+">"};Jr.prototype.isInfinity=function(){return this.z.cmpn(0)===0};Jr.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)};Jr.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};Jr.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),f=s.redMul(i),u=r.z.redMul(a.redAdd(f).redSqr()),c=r.x.redMul(a.redISub(f).redSqr());return this.curve.point(u,c)};Jr.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};Jr.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};Jr.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};Jr.prototype.eq=function(t){return this.getX().cmp(t.getX())===0};Jr.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};Jr.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var vG=x((Z9e,QG)=>{"use strict";var Gwe=li(),Ha=Wr(),SG=at(),qb=mp(),Ywe=Gwe.assert;function No(e){this.twisted=(e.a|0)!==1,this.mOneA=this.twisted&&(e.a|0)===-1,this.extended=this.mOneA,qb.call(this,"edwards",e),this.a=new Ha(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new Ha(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new Ha(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),Ywe(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(e.c|0)===1}SG(No,qb);QG.exports=No;No.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)};No.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)};No.prototype.jpoint=function(t,r,n,i){return this.point(t,r,n,i)};No.prototype.pointFromX=function(t,r){t=new Ha(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 f=a.fromRed().isOdd();return(r&&!f||!r&&f)&&(a=a.redNeg()),this.point(t,a)};No.prototype.pointFromY=function(t,r){t=new Ha(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)};No.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 zt(e,t,r,n,i){qb.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 Ha(t,16),this.y=new Ha(r,16),this.z=n?new Ha(n,16):this.curve.one,this.t=i&&new Ha(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()))))}SG(zt,qb.BasePoint);No.prototype.pointFromJSON=function(t){return zt.fromJSON(this,t)};No.prototype.point=function(t,r,n,i){return new zt(this,t,r,n,i)};zt.fromJSON=function(t,r){return new zt(t,r[0],r[1],r[2])};zt.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)+">"};zt.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};zt.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),f=i.redSub(r),u=s.redMul(a),c=o.redMul(f),h=s.redMul(f),y=a.redMul(o);return this.curve.point(u,c,y,h)};zt.prototype._projDbl=function(){var t=this.x.redAdd(this.y).redSqr(),r=this.x.redSqr(),n=this.y.redSqr(),i,s,o,a,f,u;if(this.curve.twisted){a=this.curve._mulA(r);var c=a.redAdd(n);this.zOne?(i=t.redSub(r).redSub(n).redMul(c.redSub(this.curve.two)),s=c.redMul(a.redSub(n)),o=c.redSqr().redSub(c).redSub(c)):(f=this.z.redSqr(),u=c.redSub(f).redISub(f),i=t.redSub(r).redISub(n).redMul(u),s=c.redMul(a.redSub(n)),o=c.redMul(u))}else a=r.redAdd(n),f=this.curve._mulC(this.z).redSqr(),u=a.redSub(f).redSub(f),i=this.curve._mulC(t.redISub(a)).redMul(u),s=this.curve._mulC(a).redMul(r.redISub(n)),o=a.redMul(u);return this.curve.point(i,s,o)};zt.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};zt.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),f=s.redAdd(i),u=n.redAdd(r),c=o.redMul(a),h=f.redMul(u),y=o.redMul(u),b=a.redMul(f);return this.curve.point(c,h,b,y)};zt.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),f=n.redAdd(o),u=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(i).redISub(s),c=r.redMul(a).redMul(u),h,y;return this.curve.twisted?(h=r.redMul(f).redMul(s.redSub(this.curve._mulA(i))),y=a.redMul(f)):(h=r.redMul(f).redMul(s.redSub(i)),y=this.curve._mulC(a).redMul(f)),this.curve.point(c,h,y)};zt.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)};zt.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)};zt.prototype.mulAdd=function(t,r,n){return this.curve._wnafMulAdd(1,[this,r],[t,n],2,!1)};zt.prototype.jmulAdd=function(t,r,n){return this.curve._wnafMulAdd(1,[this,r],[t,n],2,!0)};zt.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};zt.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};zt.prototype.getX=function(){return this.normalize(),this.x.fromRed()};zt.prototype.getY=function(){return this.normalize(),this.y.fromRed()};zt.prototype.eq=function(t){return this===t||this.getX().cmp(t.getX())===0&&this.getY().cmp(t.getY())===0};zt.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}};zt.prototype.toP=zt.prototype.normalize;zt.prototype.mixedAdd=zt.prototype.add});var cR=x(RG=>{"use strict";var Gb=RG;Gb.base=mp();Gb.short=BG();Gb.mont=wG();Gb.edwards=vG()});var Ts=x(qt=>{"use strict";var Wwe=Ai(),Vwe=at();qt.inherits=Vwe;function Jwe(e,t){return(e.charCodeAt(t)&64512)!==55296||t<0||t+1>=e.length?!1:(e.charCodeAt(t+1)&64512)===56320}function jwe(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):Jwe(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=jwe;function zwe(e){for(var t="",r=0;r<e.length;r++)t+=TG(e[r].toString(16));return t}qt.toHex=zwe;function DG(e){var t=e>>>24|e>>>8&65280|e<<8&16711680|(e&255)<<24;return t>>>0}qt.htonl=DG;function Kwe(e,t){for(var r="",n=0;n<e.length;n++){var i=e[n];t==="little"&&(i=DG(i)),r+=NG(i.toString(16))}return r}qt.toHex32=Kwe;function TG(e){return e.length===1?"0"+e:e}qt.zero2=TG;function NG(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=NG;function Xwe(e,t,r,n){var i=r-t;Wwe(i%4===0);for(var s=new Array(i/4),o=0,a=t;o<s.length;o++,a+=4){var f;n==="big"?f=e[a]<<24|e[a+1]<<16|e[a+2]<<8|e[a+3]:f=e[a+3]<<24|e[a+2]<<16|e[a+1]<<8|e[a],s[o]=f>>>0}return s}qt.join32=Xwe;function $we(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=$we;function Zwe(e,t){return e>>>t|e<<32-t}qt.rotr32=Zwe;function eSe(e,t){return e<<t|e>>>32-t}qt.rotl32=eSe;function tSe(e,t){return e+t>>>0}qt.sum32=tSe;function rSe(e,t,r){return e+t+r>>>0}qt.sum32_3=rSe;function nSe(e,t,r,n){return e+t+r+n>>>0}qt.sum32_4=nSe;function iSe(e,t,r,n,i){return e+t+r+n+i>>>0}qt.sum32_5=iSe;function sSe(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=sSe;function oSe(e,t,r,n){var i=t+n>>>0,s=(i<t?1:0)+e+r;return s>>>0}qt.sum64_hi=oSe;function aSe(e,t,r,n){var i=t+n;return i>>>0}qt.sum64_lo=aSe;function fSe(e,t,r,n,i,s,o,a){var f=0,u=t;u=u+n>>>0,f+=u<t?1:0,u=u+s>>>0,f+=u<s?1:0,u=u+a>>>0,f+=u<a?1:0;var c=e+r+i+o+f;return c>>>0}qt.sum64_4_hi=fSe;function uSe(e,t,r,n,i,s,o,a){var f=t+n+s+a;return f>>>0}qt.sum64_4_lo=uSe;function cSe(e,t,r,n,i,s,o,a,f,u){var c=0,h=t;h=h+n>>>0,c+=h<t?1:0,h=h+s>>>0,c+=h<s?1:0,h=h+a>>>0,c+=h<a?1:0,h=h+u>>>0,c+=h<u?1:0;var y=e+r+i+o+f+c;return y>>>0}qt.sum64_5_hi=cSe;function ASe(e,t,r,n,i,s,o,a,f,u){var c=t+n+s+a+u;return c>>>0}qt.sum64_5_lo=ASe;function lSe(e,t,r){var n=t<<32-r|e>>>r;return n>>>0}qt.rotr64_hi=lSe;function hSe(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}qt.rotr64_lo=hSe;function dSe(e,t,r){return e>>>r}qt.shr64_hi=dSe;function gSe(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}qt.shr64_lo=gSe});var uh=x(xG=>{"use strict";var MG=Ts(),pSe=Ai();function Yb(){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}xG.BlockHash=Yb;Yb.prototype.update=function(t,r){if(t=MG.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=MG.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};Yb.prototype.digest=function(t){return this.update(this._pad()),pSe(this.pending===null),this._digest(t)};Yb.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 AR=x(qa=>{"use strict";var ySe=Ts(),Mo=ySe.rotr32;function ESe(e,t,r,n){if(e===0)return kG(t,r,n);if(e===1||e===3)return UG(t,r,n);if(e===2)return FG(t,r,n)}qa.ft_1=ESe;function kG(e,t,r){return e&t^~e&r}qa.ch32=kG;function FG(e,t,r){return e&t^e&r^t&r}qa.maj32=FG;function UG(e,t,r){return e^t^r}qa.p32=UG;function mSe(e){return Mo(e,2)^Mo(e,13)^Mo(e,22)}qa.s0_256=mSe;function bSe(e){return Mo(e,6)^Mo(e,11)^Mo(e,25)}qa.s1_256=bSe;function ISe(e){return Mo(e,7)^Mo(e,18)^e>>>3}qa.g0_256=ISe;function BSe(e){return Mo(e,17)^Mo(e,19)^e>>>10}qa.g1_256=BSe});var OG=x((iHe,PG)=>{"use strict";var ch=Ts(),CSe=uh(),_Se=AR(),lR=ch.rotl32,bp=ch.sum32,wSe=ch.sum32_5,SSe=_Se.ft_1,LG=CSe.BlockHash,QSe=[1518500249,1859775393,2400959708,3395469782];function xo(){if(!(this instanceof xo))return new xo;LG.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}ch.inherits(xo,LG);PG.exports=xo;xo.blockSize=512;xo.outSize=160;xo.hmacStrength=80;xo.padLength=64;xo.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]=lR(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],f=this.h[3],u=this.h[4];for(i=0;i<n.length;i++){var c=~~(i/20),h=wSe(lR(s,5),SSe(c,o,a,f),u,n[i],QSe[c]);u=f,f=a,a=lR(o,30),o=s,s=h}this.h[0]=bp(this.h[0],s),this.h[1]=bp(this.h[1],o),this.h[2]=bp(this.h[2],a),this.h[3]=bp(this.h[3],f),this.h[4]=bp(this.h[4],u)};xo.prototype._digest=function(t){return t==="hex"?ch.toHex32(this.h,"big"):ch.split32(this.h,"big")}});var hR=x((sHe,qG)=>{"use strict";var Ah=Ts(),vSe=uh(),lh=AR(),RSe=Ai(),Ns=Ah.sum32,DSe=Ah.sum32_4,TSe=Ah.sum32_5,NSe=lh.ch32,MSe=lh.maj32,xSe=lh.s0_256,kSe=lh.s1_256,FSe=lh.g0_256,USe=lh.g1_256,HG=vSe.BlockHash,LSe=[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 ko(){if(!(this instanceof ko))return new ko;HG.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=LSe,this.W=new Array(64)}Ah.inherits(ko,HG);qG.exports=ko;ko.blockSize=512;ko.outSize=256;ko.hmacStrength=192;ko.padLength=64;ko.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]=DSe(USe(n[i-2]),n[i-7],FSe(n[i-15]),n[i-16]);var s=this.h[0],o=this.h[1],a=this.h[2],f=this.h[3],u=this.h[4],c=this.h[5],h=this.h[6],y=this.h[7];for(RSe(this.k.length===n.length),i=0;i<n.length;i++){var b=TSe(y,kSe(u),NSe(u,c,h),this.k[i],n[i]),S=Ns(xSe(s),MSe(s,o,a));y=h,h=c,c=u,u=Ns(f,b),f=a,a=o,o=s,s=Ns(b,S)}this.h[0]=Ns(this.h[0],s),this.h[1]=Ns(this.h[1],o),this.h[2]=Ns(this.h[2],a),this.h[3]=Ns(this.h[3],f),this.h[4]=Ns(this.h[4],u),this.h[5]=Ns(this.h[5],c),this.h[6]=Ns(this.h[6],h),this.h[7]=Ns(this.h[7],y)};ko.prototype._digest=function(t){return t==="hex"?Ah.toHex32(this.h,"big"):Ah.split32(this.h,"big")}});var WG=x((oHe,YG)=>{"use strict";var dR=Ts(),GG=hR();function Ga(){if(!(this instanceof Ga))return new Ga;GG.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}dR.inherits(Ga,GG);YG.exports=Ga;Ga.blockSize=512;Ga.outSize=224;Ga.hmacStrength=192;Ga.padLength=64;Ga.prototype._digest=function(t){return t==="hex"?dR.toHex32(this.h.slice(0,7),"big"):dR.split32(this.h.slice(0,7),"big")}});var yR=x((aHe,zG)=>{"use strict";var zn=Ts(),PSe=uh(),OSe=Ai(),Fo=zn.rotr64_hi,Uo=zn.rotr64_lo,VG=zn.shr64_hi,JG=zn.shr64_lo,ru=zn.sum64,gR=zn.sum64_hi,pR=zn.sum64_lo,HSe=zn.sum64_4_hi,qSe=zn.sum64_4_lo,GSe=zn.sum64_5_hi,YSe=zn.sum64_5_lo,jG=PSe.BlockHash,WSe=[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 Ms(){if(!(this instanceof Ms))return new Ms;jG.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=WSe,this.W=new Array(160)}zn.inherits(Ms,jG);zG.exports=Ms;Ms.blockSize=1024;Ms.outSize=512;Ms.hmacStrength=192;Ms.padLength=128;Ms.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=rQe(n[i-4],n[i-3]),o=nQe(n[i-4],n[i-3]),a=n[i-14],f=n[i-13],u=eQe(n[i-30],n[i-29]),c=tQe(n[i-30],n[i-29]),h=n[i-32],y=n[i-31];n[i]=HSe(s,o,a,f,u,c,h,y),n[i+1]=qSe(s,o,a,f,u,c,h,y)}};Ms.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],f=this.h[4],u=this.h[5],c=this.h[6],h=this.h[7],y=this.h[8],b=this.h[9],S=this.h[10],v=this.h[11],L=this.h[12],U=this.h[13],P=this.h[14],Y=this.h[15];OSe(this.k.length===n.length);for(var V=0;V<n.length;V+=2){var X=P,j=Y,re=$Se(y,b),ie=ZSe(y,b),oe=VSe(y,b,S,v,L,U),O=JSe(y,b,S,v,L,U),E=this.k[V],R=this.k[V+1],B=n[V],l=n[V+1],p=GSe(X,j,re,ie,oe,O,E,R,B,l),Q=YSe(X,j,re,ie,oe,O,E,R,B,l);X=KSe(i,s),j=XSe(i,s),re=jSe(i,s,o,a,f,u),ie=zSe(i,s,o,a,f,u);var D=gR(X,j,re,ie),_=pR(X,j,re,ie);P=L,Y=U,L=S,U=v,S=y,v=b,y=gR(c,h,p,Q),b=pR(h,h,p,Q),c=f,h=u,f=o,u=a,o=i,a=s,i=gR(p,Q,D,_),s=pR(p,Q,D,_)}ru(this.h,0,i,s),ru(this.h,2,o,a),ru(this.h,4,f,u),ru(this.h,6,c,h),ru(this.h,8,y,b),ru(this.h,10,S,v),ru(this.h,12,L,U),ru(this.h,14,P,Y)};Ms.prototype._digest=function(t){return t==="hex"?zn.toHex32(this.h,"big"):zn.split32(this.h,"big")};function VSe(e,t,r,n,i){var s=e&r^~e&i;return s<0&&(s+=4294967296),s}function JSe(e,t,r,n,i,s){var o=t&n^~t&s;return o<0&&(o+=4294967296),o}function jSe(e,t,r,n,i){var s=e&r^e&i^r&i;return s<0&&(s+=4294967296),s}function zSe(e,t,r,n,i,s){var o=t&n^t&s^n&s;return o<0&&(o+=4294967296),o}function KSe(e,t){var r=Fo(e,t,28),n=Fo(t,e,2),i=Fo(t,e,7),s=r^n^i;return s<0&&(s+=4294967296),s}function XSe(e,t){var r=Uo(e,t,28),n=Uo(t,e,2),i=Uo(t,e,7),s=r^n^i;return s<0&&(s+=4294967296),s}function $Se(e,t){var r=Fo(e,t,14),n=Fo(e,t,18),i=Fo(t,e,9),s=r^n^i;return s<0&&(s+=4294967296),s}function ZSe(e,t){var r=Uo(e,t,14),n=Uo(e,t,18),i=Uo(t,e,9),s=r^n^i;return s<0&&(s+=4294967296),s}function eQe(e,t){var r=Fo(e,t,1),n=Fo(e,t,8),i=VG(e,t,7),s=r^n^i;return s<0&&(s+=4294967296),s}function tQe(e,t){var r=Uo(e,t,1),n=Uo(e,t,8),i=JG(e,t,7),s=r^n^i;return s<0&&(s+=4294967296),s}function rQe(e,t){var r=Fo(e,t,19),n=Fo(t,e,29),i=VG(e,t,6),s=r^n^i;return s<0&&(s+=4294967296),s}function nQe(e,t){var r=Uo(e,t,19),n=Uo(t,e,29),i=JG(e,t,6),s=r^n^i;return s<0&&(s+=4294967296),s}});var $G=x((fHe,XG)=>{"use strict";var ER=Ts(),KG=yR();function Ya(){if(!(this instanceof Ya))return new Ya;KG.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}ER.inherits(Ya,KG);XG.exports=Ya;Ya.blockSize=1024;Ya.outSize=384;Ya.hmacStrength=192;Ya.padLength=128;Ya.prototype._digest=function(t){return t==="hex"?ER.toHex32(this.h.slice(0,12),"big"):ER.split32(this.h.slice(0,12),"big")}});var ZG=x(hh=>{"use strict";hh.sha1=OG();hh.sha224=WG();hh.sha256=hR();hh.sha384=$G();hh.sha512=yR()});var sY=x(iY=>{"use strict";var Nc=Ts(),iQe=uh(),Wb=Nc.rotl32,eY=Nc.sum32,Ip=Nc.sum32_3,tY=Nc.sum32_4,nY=iQe.BlockHash;function Lo(){if(!(this instanceof Lo))return new Lo;nY.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}Nc.inherits(Lo,nY);iY.ripemd160=Lo;Lo.blockSize=512;Lo.outSize=160;Lo.hmacStrength=192;Lo.padLength=64;Lo.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],f=n,u=i,c=s,h=o,y=a,b=0;b<80;b++){var S=eY(Wb(tY(n,rY(b,i,s,o),t[aQe[b]+r],sQe(b)),uQe[b]),a);n=a,a=o,o=Wb(s,10),s=i,i=S,S=eY(Wb(tY(f,rY(79-b,u,c,h),t[fQe[b]+r],oQe(b)),cQe[b]),y),f=y,y=h,h=Wb(c,10),c=u,u=S}S=Ip(this.h[1],s,h),this.h[1]=Ip(this.h[2],o,y),this.h[2]=Ip(this.h[3],a,f),this.h[3]=Ip(this.h[4],n,u),this.h[4]=Ip(this.h[0],i,c),this.h[0]=S};Lo.prototype._digest=function(t){return t==="hex"?Nc.toHex32(this.h,"little"):Nc.split32(this.h,"little")};function rY(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 sQe(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function oQe(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}var aQe=[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],fQe=[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],uQe=[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],cQe=[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 aY=x((AHe,oY)=>{"use strict";var AQe=Ts(),lQe=Ai();function dh(e,t,r){if(!(this instanceof dh))return new dh(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(AQe.toArray(t,r))}oY.exports=dh;dh.prototype._init=function(t){t.length>this.blockSize&&(t=new this.Hash().update(t).digest()),lQe(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)};dh.prototype.update=function(t,r){return this.inner.update(t,r),this};dh.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}});var Vb=x(fY=>{var un=fY;un.utils=Ts();un.common=uh();un.sha=ZG();un.ripemd=sY();un.hmac=aY();un.sha1=un.sha.sha1;un.sha256=un.sha.sha256;un.sha224=un.sha.sha224;un.sha384=un.sha.sha384;un.sha512=un.sha.sha512;un.ripemd160=un.ripemd.ripemd160});var cY=x((hHe,uY)=>{uY.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 Jb=x(hY=>{"use strict";var bR=hY,nu=Vb(),mR=cR(),hQe=li(),AY=hQe.assert;function lY(e){e.type==="short"?this.curve=new mR.short(e):e.type==="edwards"?this.curve=new mR.edwards(e):this.curve=new mR.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,AY(this.g.validate(),"Invalid curve"),AY(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}bR.PresetCurve=lY;function iu(e,t){Object.defineProperty(bR,e,{configurable:!0,enumerable:!0,get:function(){var r=new lY(t);return Object.defineProperty(bR,e,{configurable:!0,enumerable:!0,value:r}),r}})}iu("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:nu.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});iu("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:nu.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});iu("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:nu.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});iu("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:nu.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"]});iu("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:nu.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"]});iu("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:nu.sha256,gRed:!1,g:["9"]});iu("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:nu.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var IR;try{IR=cY()}catch{IR=void 0}iu("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:nu.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",IR]})});var pY=x((gHe,gY)=>{"use strict";var dQe=Vb(),Mc=fR(),dY=Ai();function su(e){if(!(this instanceof su))return new su(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=Mc.toArray(e.entropy,e.entropyEnc||"hex"),r=Mc.toArray(e.nonce,e.nonceEnc||"hex"),n=Mc.toArray(e.pers,e.persEnc||"hex");dY(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}gY.exports=su;su.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};su.prototype._hmac=function(){return new dQe.hmac(this.hash,this.K)};su.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())};su.prototype.reseed=function(t,r,n,i){typeof r!="string"&&(i=n,n=r,r=null),t=Mc.toArray(t,r),n=Mc.toArray(n,i),dY(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1};su.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=Mc.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++,Mc.encode(o,r)}});var EY=x((pHe,yY)=>{"use strict";var gQe=Wr(),pQe=li(),BR=pQe.assert;function Cn(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)}yY.exports=Cn;Cn.fromPublic=function(t,r,n){return r instanceof Cn?r:new Cn(t,{pub:r,pubEnc:n})};Cn.fromPrivate=function(t,r,n){return r instanceof Cn?r:new Cn(t,{priv:r,privEnc:n})};Cn.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"}};Cn.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};Cn.prototype.getPrivate=function(t){return t==="hex"?this.priv.toString(16,2):this.priv};Cn.prototype._importPrivate=function(t,r){this.priv=new gQe(t,r||16),this.priv=this.priv.umod(this.ec.curve.n)};Cn.prototype._importPublic=function(t,r){if(t.x||t.y){this.ec.curve.type==="mont"?BR(t.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&BR(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)};Cn.prototype.derive=function(t){return t.validate()||BR(t.validate(),"public point not validated"),t.mul(this.priv).getX()};Cn.prototype.sign=function(t,r,n){return this.ec.sign(t,this,r,n)};Cn.prototype.verify=function(t,r,n){return this.ec.verify(t,r,this,void 0,n)};Cn.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}});var IY=x((yHe,bY)=>{"use strict";var jb=Wr(),wR=li(),yQe=wR.assert;function zb(e,t){if(e instanceof zb)return e;this._importDER(e,t)||(yQe(e.r&&e.s,"Signature without r or s"),this.r=new jb(e.r,16),this.s=new jb(e.s,16),e.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}bY.exports=zb;function EQe(){this.place=0}function CR(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 mY(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)}zb.prototype._importDER=function(t,r){t=wR.toArray(t,r);var n=new EQe;if(t[n.place++]!==48)return!1;var i=CR(t,n);if(i===!1||i+n.place!==t.length||t[n.place++]!==2)return!1;var s=CR(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=CR(t,n);if(a===!1||t.length!==a+n.place||(t[n.place]&128)!==0)return!1;var f=t.slice(n.place,a+n.place);if(o[0]===0)if(o[1]&128)o=o.slice(1);else return!1;if(f[0]===0)if(f[1]&128)f=f.slice(1);else return!1;return this.r=new jb(o),this.s=new jb(f),this.recoveryParam=null,!0};function _R(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)}zb.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=mY(r),n=mY(n);!n[0]&&!(n[1]&128);)n=n.slice(1);var i=[2];_R(i,r.length),i=i.concat(r),i.push(2),_R(i,n.length);var s=i.concat(n),o=[48];return _R(o,s.length),o=o.concat(s),wR.encode(o,t)}});var _Y=x((EHe,CY)=>{"use strict";var xs=Wr(),BY=pY(),mQe=li(),SR=Jb(),bQe=Nb(),xc=mQe.assert,QR=EY(),Kb=IY();function Wi(e){if(!(this instanceof Wi))return new Wi(e);typeof e=="string"&&(xc(Object.prototype.hasOwnProperty.call(SR,e),"Unknown curve "+e),e=SR[e]),e instanceof SR.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}CY.exports=Wi;Wi.prototype.keyPair=function(t){return new QR(this,t)};Wi.prototype.keyFromPrivate=function(t,r){return QR.fromPrivate(this,t,r)};Wi.prototype.keyFromPublic=function(t,r){return QR.fromPublic(this,t,r)};Wi.prototype.genKeyPair=function(t){t||(t={});for(var r=new BY({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||bQe(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),i=this.n.sub(new xs(2));;){var s=new xs(r.generate(n));if(!(s.cmp(i)>0))return s.iaddn(1),this.keyFromPrivate(s)}};Wi.prototype._truncateToN=function(t,r,n){var i;if(xs.isBN(t)||typeof t=="number")t=new xs(t,16),i=t.byteLength();else if(typeof t=="object")i=t.length,t=new xs(t,16);else{var s=t.toString();i=s.length+1>>>1,t=new xs(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};Wi.prototype.sign=function(t,r,n,i){if(typeof n=="object"&&(i=n,n=null),i||(i={}),typeof t!="string"&&typeof t!="number"&&!xs.isBN(t)){xc(typeof t=="object"&&t&&typeof t.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),xc(t.length>>>0===t.length);for(var s=0;s<t.length;s++)xc((t[s]&255)===t[s])}r=this.keyFromPrivate(r,n),t=this._truncateToN(t,!1,i.msgBitLength),xc(!t.isNeg(),"Can not sign a negative message");var o=this.n.byteLength(),a=r.getPrivate().toArray("be",o),f=t.toArray("be",o);xc(new xs(f).eq(t),"Can not sign message");for(var u=new BY({hash:this.hash,entropy:a,nonce:f,pers:i.pers,persEnc:i.persEnc||"utf8"}),c=this.n.sub(new xs(1)),h=0;;h++){var y=i.k?i.k(h):new xs(u.generate(this.n.byteLength()));if(y=this._truncateToN(y,!0),!(y.cmpn(1)<=0||y.cmp(c)>=0)){var b=this.g.mul(y);if(!b.isInfinity()){var S=b.getX(),v=S.umod(this.n);if(v.cmpn(0)!==0){var L=y.invm(this.n).mul(v.mul(r.getPrivate()).iadd(t));if(L=L.umod(this.n),L.cmpn(0)!==0){var U=(b.getY().isOdd()?1:0)|(S.cmp(v)!==0?2:0);return i.canonical&&L.cmp(this.nh)>0&&(L=this.n.sub(L),U^=1),new Kb({r:v,s:L,recoveryParam:U})}}}}}};Wi.prototype.verify=function(t,r,n,i,s){s||(s={}),t=this._truncateToN(t,!1,s.msgBitLength),n=this.keyFromPublic(n,i),r=new Kb(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 f=a.invm(this.n),u=f.mul(t).umod(this.n),c=f.mul(o).umod(this.n),h;return this.curve._maxwellTrick?(h=this.g.jmulAdd(u,n.getPublic(),c),h.isInfinity()?!1:h.eqXToP(o)):(h=this.g.mulAdd(u,n.getPublic(),c),h.isInfinity()?!1:h.getX().umod(this.n).cmp(o)===0)};Wi.prototype.recoverPubKey=function(e,t,r,n){xc((3&r)===r,"The recovery param is more than two bits"),t=new Kb(t,n);var i=this.n,s=new xs(e),o=t.r,a=t.s,f=r&1,u=r>>1;if(o.cmp(this.curve.p.umod(this.curve.n))>=0&&u)throw new Error("Unable to find sencond key candinate");u?o=this.curve.pointFromX(o.add(this.curve.n),f):o=this.curve.pointFromX(o,f);var c=t.r.invm(i),h=i.sub(s).mul(c).umod(i),y=a.mul(c).umod(i);return this.g.mulAdd(h,o,y)};Wi.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new Kb(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 vY=x((mHe,QY)=>{"use strict";var Bp=li(),SY=Bp.assert,wY=Bp.parseBytes,gh=Bp.cachedProperty;function jr(e,t){this.eddsa=e,this._secret=wY(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=wY(t.pub)}jr.fromPublic=function(t,r){return r instanceof jr?r:new jr(t,{pub:r})};jr.fromSecret=function(t,r){return r instanceof jr?r:new jr(t,{secret:r})};jr.prototype.secret=function(){return this._secret};gh(jr,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});gh(jr,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});gh(jr,"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});gh(jr,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});gh(jr,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});gh(jr,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});jr.prototype.sign=function(t){return SY(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)};jr.prototype.verify=function(t,r){return this.eddsa.verify(t,r,this)};jr.prototype.getSecret=function(t){return SY(this._secret,"KeyPair is public only"),Bp.encode(this.secret(),t)};jr.prototype.getPublic=function(t){return Bp.encode(this.pubBytes(),t)};QY.exports=jr});var TY=x((bHe,DY)=>{"use strict";var IQe=Wr(),Xb=li(),RY=Xb.assert,$b=Xb.cachedProperty,BQe=Xb.parseBytes;function kc(e,t){this.eddsa=e,typeof t!="object"&&(t=BQe(t)),Array.isArray(t)&&(RY(t.length===e.encodingLength*2,"Signature has invalid size"),t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),RY(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof IQe&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}$b(kc,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});$b(kc,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});$b(kc,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});$b(kc,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});kc.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};kc.prototype.toHex=function(){return Xb.encode(this.toBytes(),"hex").toUpperCase()};DY.exports=kc});var FY=x((IHe,kY)=>{"use strict";var CQe=Vb(),_Qe=Jb(),ph=li(),wQe=ph.assert,MY=ph.parseBytes,xY=vY(),NY=TY();function Kn(e){if(wQe(e==="ed25519","only tested with ed25519 so far"),!(this instanceof Kn))return new Kn(e);e=_Qe[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=CQe.sha512}kY.exports=Kn;Kn.prototype.sign=function(t,r){t=MY(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()),f=i.add(a).umod(this.curve.n);return this.makeSignature({R:s,S:f,Rencoded:o})};Kn.prototype.verify=function(t,r,n){if(t=MY(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 ph.intFromLE(t.digest()).umod(this.curve.n)};Kn.prototype.keyFromPublic=function(t){return xY.fromPublic(this,t)};Kn.prototype.keyFromSecret=function(t){return xY.fromSecret(this,t)};Kn.prototype.makeSignature=function(t){return t instanceof NY?t:new NY(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=ph.parseBytes(t);var r=t.length-1,n=t.slice(0,r).concat(t[r]&-129),i=(t[r]&128)!==0,s=ph.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 ph.intFromLE(t)};Kn.prototype.isPoint=function(t){return t instanceof this.pointClass}});var Zb=x(UY=>{"use strict";var Fc=UY;Fc.version=gG().version;Fc.utils=li();Fc.rand=Nb();Fc.curve=cR();Fc.curves=Jb();Fc.ec=_Y();Fc.eddsa=FY()});var LY=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 HY=x(OY=>{var PY=Eh(),SQe=at(),QQe=OY;QQe.define=function(t,r){return new yh(t,r)};function yh(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}yh.prototype._createNamed=function(t){var r;try{r=LY().runInThisContext("(function "+this.name+`(entity) {
this._initNamed(entity);
})`)}catch{r=function(i){this._initNamed(i)}}return SQe(r,t),r.prototype._initNamed=function(i){t.call(this,i)},new r(this)};yh.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(PY.decoders[t])),this.decoders[t]};yh.prototype.decode=function(t,r,n){return this._getDecoder(r).decode(t,n)};yh.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(PY.encoders[t])),this.encoders[t]};yh.prototype.encode=function(t,r,n){return this._getEncoder(r).encode(t,n)}});var GY=x(qY=>{var vQe=at();function Vi(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}qY.Reporter=Vi;Vi.prototype.isError=function(t){return t instanceof mh};Vi.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}};Vi.prototype.restore=function(t){var r=this._reporterState;r.obj=t.obj,r.path=r.path.slice(0,t.pathLen)};Vi.prototype.enterKey=function(t){return this._reporterState.path.push(t)};Vi.prototype.exitKey=function(t){var r=this._reporterState;r.path=r.path.slice(0,t-1)};Vi.prototype.leaveKey=function(t,r,n){var i=this._reporterState;this.exitKey(t),i.obj!==null&&(i.obj[r]=n)};Vi.prototype.path=function(){return this._reporterState.path.join("/")};Vi.prototype.enterObject=function(){var t=this._reporterState,r=t.obj;return t.obj={},r};Vi.prototype.leaveObject=function(t){var r=this._reporterState,n=r.obj;return r.obj=t,n};Vi.prototype.error=function(t){var r,n=this._reporterState,i=t instanceof mh;if(i?r=t:r=new mh(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};Vi.prototype.wrapResult=function(t){var r=this._reporterState;return r.options.partial?{result:this.isError(t)?null:t,errors:r.errors}:t};function mh(e,t){this.path=e,this.rethrow(t)}vQe(mh,Error);mh.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,mh),!this.stack)try{throw new Error(this.message)}catch(r){this.stack=r.stack}return this}});var RR=x(vR=>{var RQe=at(),tI=bh().Reporter,Cp=ur().Buffer;function Po(e,t){if(tI.call(this,t),!Cp.isBuffer(e)){this.error("Input not Buffer");return}this.base=e,this.offset=0,this.length=e.length}RQe(Po,tI);vR.DecoderBuffer=Po;Po.prototype.save=function(){return{offset:this.offset,reporter:tI.prototype.save.call(this)}};Po.prototype.restore=function(t){var r=new Po(this.base);return r.offset=t.offset,r.length=this.offset,this.offset=t.offset,tI.prototype.restore.call(this,t.reporter),r};Po.prototype.isEmpty=function(){return this.offset===this.length};Po.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")};Po.prototype.skip=function(t,r){if(!(this.offset+t<=this.length))return this.error(r||"DecoderBuffer overrun");var n=new Po(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+t,this.offset+=t,n};Po.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)};function eI(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(r){return r instanceof eI||(r=new eI(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=Cp.byteLength(e);else if(Cp.isBuffer(e))this.value=e,this.length=e.length;else return t.error("Unsupported type: "+typeof e)}vR.EncoderBuffer=eI;eI.prototype.join=function(t,r){return t||(t=new Cp(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):Cp.isBuffer(this.value)&&this.value.copy(t,r),r+=this.length)),t}});var VY=x((SHe,WY)=>{var DQe=bh().Reporter,TQe=bh().EncoderBuffer,NQe=bh().DecoderBuffer,Mn=Ai(),YY=["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"],MQe=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(YY),xQe=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function Pt(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())}WY.exports=Pt;var kQe=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];Pt.prototype.clone=function(){var t=this._baseState,r={};kQe.forEach(function(i){r[i]=t[i]});var n=new this.constructor(r.parent);return n._baseState=r,n};Pt.prototype._wrap=function(){var t=this._baseState;MQe.forEach(function(r){this[r]=function(){var i=new this.constructor(this);return t.children.push(i),i[r].apply(i,arguments)}},this)};Pt.prototype._init=function(t){var r=this._baseState;Mn(r.parent===null),t.call(this),r.children=r.children.filter(function(n){return n._baseState.parent===this},this),Mn.equal(r.children.length,1,"Root node can have only one child")};Pt.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&&(Mn(r.children===null),r.children=n,n.forEach(function(i){i._baseState.parent=this},this)),t.length!==0&&(Mn(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}))};xQe.forEach(function(e){Pt.prototype[e]=function(){var r=this._baseState;throw new Error(e+" not implemented for encoding: "+r.enc)}});YY.forEach(function(e){Pt.prototype[e]=function(){var r=this._baseState,n=Array.prototype.slice.call(arguments);return Mn(r.tag===null),r.tag=e,this._useArgs(n),this}});Pt.prototype.use=function(t){Mn(t);var r=this._baseState;return Mn(r.use===null),r.use=t,this};Pt.prototype.optional=function(){var t=this._baseState;return t.optional=!0,this};Pt.prototype.def=function(t){var r=this._baseState;return Mn(r.default===null),r.default=t,r.optional=!0,this};Pt.prototype.explicit=function(t){var r=this._baseState;return Mn(r.explicit===null&&r.implicit===null),r.explicit=t,this};Pt.prototype.implicit=function(t){var r=this._baseState;return Mn(r.explicit===null&&r.implicit===null),r.implicit=t,this};Pt.prototype.obj=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return t.obj=!0,r.length!==0&&this._useArgs(r),this};Pt.prototype.key=function(t){var r=this._baseState;return Mn(r.key===null),r.key=t,this};Pt.prototype.any=function(){var t=this._baseState;return t.any=!0,this};Pt.prototype.choice=function(t){var r=this._baseState;return Mn(r.choice===null),r.choice=t,this._useArgs(Object.keys(t).map(function(n){return t[n]})),this};Pt.prototype.contains=function(t){var r=this._baseState;return Mn(r.use===null),r.contains=t,this};Pt.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 f=t.save();try{n.choice===null?this._decodeGeneric(n.tag,t,r):this._decodeChoice(t,r),s=!0}catch{s=!1}t.restore(f)}else if(s=this._peekTag(t,a,n.any),t.isError(s))return s}var u;if(n.obj&&s&&(u=t.enterObject()),s){if(n.explicit!==null){var c=this._decodeTag(t,n.explicit);if(t.isError(c))return c;t=c}var h=t.offset;if(n.use===null&&n.choice===null){if(n.any)var f=t.save();var y=this._decodeTag(t,n.implicit!==null?n.implicit:n.tag,n.any);if(t.isError(y))return y;n.any?i=t.raw(f):t=y}if(r&&r.track&&n.tag!==null&&r.track(t.path(),h,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(v){v._decode(t,r)}),n.contains&&(n.tag==="octstr"||n.tag==="bitstr")){var b=new NQe(i);i=this._getUse(n.contains,t._reporterState.obj)._decode(b,r)}}return n.obj&&s&&(i=t.leaveObject(u)),n.key!==null&&(i!==null||s===!0)?t.leaveKey(o,n.key,i):o!==null&&t.exitKey(o),i};Pt.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)};Pt.prototype._getUse=function(t,r){var n=this._baseState;return n.useDecoder=this._use(t,r),Mn(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};Pt.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(),f=n.choice[o];try{var u=f._decode(t,r);if(t.isError(u))return!1;i={type:o,value:u},s=!0}catch{return t.restore(a),!1}return!0},this),s?i:t.error("Choice not matched")};Pt.prototype._createEncoderBuffer=function(t){return new TQe(t,this.reporter)};Pt.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}};Pt.prototype._encodeValue=function(t,r,n){var i=this._baseState;if(i.parent===null)return i.children[0]._encode(t,r||new DQe);var f=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)f=this._createEncoderBuffer(t);else if(i.choice)f=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(h){if(h._baseState.tag==="null_")return h._encode(null,r,t);if(h._baseState.key===null)return r.error("Child should have a key");var y=r.enterKey(h._baseState.key);if(typeof t!="object")return r.error("Child expected, but input is not object");var b=h._encode(t[h._baseState.key],r,t);return r.leaveKey(y),b},this).filter(function(h){return h}),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(h){var y=this._baseState;return this._getUse(y.args[0],t)._encode(h,r)},a))}else i.use!==null?f=this._getUse(i.use,n)._encode(t,r):(s=this._encodePrimitive(i.tag,t),o=!0);var f;if(!i.any&&i.choice===null){var u=i.implicit!==null?i.implicit:i.tag,c=i.implicit===null?"universal":"context";u===null?i.use===null&&r.error("Tag could be omitted only for .use()"):i.use===null&&(f=this._encodeComposite(u,o,c,s))}return i.explicit!==null&&(f=this._encodeComposite(i.explicit,!1,"context",f)),f};Pt.prototype._encodeChoice=function(t,r){var n=this._baseState,i=n.choice[t.type];return i||Mn(!1,t.type+" not found in "+JSON.stringify(Object.keys(n.choice))),i._encode(t.value,r)};Pt.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)};Pt.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)};Pt.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(t)}});var bh=x(JY=>{var rI=JY;rI.Reporter=GY().Reporter;rI.DecoderBuffer=RR().DecoderBuffer;rI.EncoderBuffer=RR().EncoderBuffer;rI.Node=VY()});var zY=x(Uc=>{var jY=DR();Uc.tagClass={0:"universal",1:"application",2:"context",3:"private"};Uc.tagClassByName=jY._reverse(Uc.tagClass);Uc.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"};Uc.tagByName=jY._reverse(Uc.tag)});var DR=x(XY=>{var KY=XY;KY._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};KY.der=zY()});var MR=x((DHe,tW)=>{var FQe=at(),TR=Eh(),nI=TR.base,UQe=TR.bignum,$Y=TR.constants.der;function ZY(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new hi,this.tree._init(e.body)}tW.exports=ZY;ZY.prototype.decode=function(t,r){return t instanceof nI.DecoderBuffer||(t=new nI.DecoderBuffer(t,r)),this.tree._decode(t,r)};function hi(e){nI.Node.call(this,"der",e)}FQe(hi,nI.Node);hi.prototype._peekTag=function(t,r,n){if(t.isEmpty())return!1;var i=t.save(),s=NR(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)};hi.prototype._decodeTag=function(t,r,n){var i=NR(t,'Failed to decode tag of "'+r+'"');if(t.isError(i))return i;var s=eW(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+'"'))};hi.prototype._skipUntilEnd=function(t,r){for(;;){var n=NR(t,r);if(t.isError(n))return n;var i=eW(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}};hi.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};hi.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 f=t.raw().toString("ascii");return this._isPrintstr(f)?f: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")}};hi.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 f=s[0]/40|0,u=s[0]%40;if(n?i=s:i=[f,u].concat(s.slice(1)),r){var c=r[i.join(" ")];c===void 0&&(c=r[i.join(".")]),c!==void 0&&(i=c)}return i};hi.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,f=n.slice(10,12)|0,u=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,f=n.slice(8,10)|0,u=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,f,u,0)};hi.prototype._decodeNull=function(t){return null};hi.prototype._decodeBool=function(t){var r=t.readUInt8();return t.isError(r)?r:r!==0};hi.prototype._decodeInt=function(t,r){var n=t.raw(),i=new UQe(n);return r&&(i=r[i.toString(10)]||i),i};hi.prototype._use=function(t,r){return typeof t=="function"&&(t=t(r)),t._getDecoder("der").tree};function NR(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=$Y.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=$Y.tag[r];return{cls:n,primitive:i,tag:r,tagStr:o}}function eW(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 nW=x((THe,rW)=>{var LQe=at(),PQe=ur().Buffer,xR=MR();function kR(e){xR.call(this,e),this.enc="pem"}LQe(kR,xR);rW.exports=kR;kR.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,f=0;f<n.length;f++){var u=n[f].match(s);if(u!==null&&u[2]===i)if(o===-1){if(u[1]!=="BEGIN")break;o=f}else{if(u[1]!=="END")break;a=f;break}}if(o===-1||a===-1)throw new Error("PEM section not found for: "+i);var c=n.slice(o+1,a).join("");c.replace(/[^a-z0-9\+\/=]+/gi,"");var h=new PQe(c,"base64");return xR.prototype.decode.call(this,h,r)}});var oW=x(sW=>{var iW=sW;iW.der=MR();iW.pem=nW()});var UR=x((MHe,cW)=>{var OQe=at(),Wa=ur().Buffer,aW=Eh(),fW=aW.base,FR=aW.constants.der;function uW(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new ks,this.tree._init(e.body)}cW.exports=uW;uW.prototype.encode=function(t,r){return this.tree._encode(t,r).join()};function ks(e){fW.Node.call(this,"der",e)}OQe(ks,fW.Node);ks.prototype._encodeComposite=function(t,r,n,i){var s=HQe(t,r,n,this.reporter);if(i.length<128){var f=new Wa(2);return f[0]=s,f[1]=i.length,this._createEncoderBuffer([f,i])}for(var o=1,a=i.length;a>=256;a>>=8)o++;var f=new Wa(2+o);f[0]=s,f[1]=128|o;for(var a=1+o,u=i.length;u>0;a--,u>>=8)f[a]=u&255;return this._createEncoderBuffer([f,i])};ks.prototype._encodeStr=function(t,r){if(r==="bitstr")return this._createEncoderBuffer([t.unused|0,t.data]);if(r==="bmpstr"){for(var n=new Wa(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")};ks.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 Wa(s),f=a.length-1,i=t.length-1;i>=0;i--){var o=t[i];for(a[f--]=o&127;(o>>=7)>0;)a[f--]=128|o&127}return this._createEncoderBuffer(a)};function Ji(e){return e<10?"0"+e:e}ks.prototype._encodeTime=function(t,r){var n,i=new Date(t);return r==="gentime"?n=[Ji(i.getFullYear()),Ji(i.getUTCMonth()+1),Ji(i.getUTCDate()),Ji(i.getUTCHours()),Ji(i.getUTCMinutes()),Ji(i.getUTCSeconds()),"Z"].join(""):r==="utctime"?n=[Ji(i.getFullYear()%100),Ji(i.getUTCMonth()+1),Ji(i.getUTCDate()),Ji(i.getUTCHours()),Ji(i.getUTCMinutes()),Ji(i.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+r+" time is not supported yet"),this._encodeStr(n,"octstr")};ks.prototype._encodeNull=function(){return this._createEncoderBuffer("")};ks.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"&&!Wa.isBuffer(t)){var n=t.toArray();!t.sign&&n[0]&128&&n.unshift(0),t=new Wa(n)}if(Wa.isBuffer(t)){var i=t.length;t.length===0&&i++;var o=new Wa(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 Wa(o))};ks.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)};ks.prototype._use=function(t,r){return typeof t=="function"&&(t=t(r)),t._getEncoder("der").tree};ks.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 HQe(e,t,r,n){var i;if(e==="seqof"?e="seq":e==="setof"&&(e="set"),FR.tagByName.hasOwnProperty(e))i=FR.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|=FR.tagClassByName[r||"universal"]<<6,i)}});var lW=x((xHe,AW)=>{var qQe=at(),LR=UR();function PR(e){LR.call(this,e),this.enc="pem"}qQe(PR,LR);AW.exports=PR;PR.prototype.encode=function(t,r){for(var n=LR.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 gW=x(dW=>{var hW=dW;hW.der=UR();hW.pem=lW()});var Eh=x(pW=>{var Ih=pW;Ih.bignum=Wr();Ih.define=HY().define;Ih.base=bh();Ih.constants=DR();Ih.decoders=oW();Ih.encoders=gW()});var bW=x((UHe,mW)=>{"use strict";var Fs=Eh(),yW=Fs.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),GQe=Fs.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),OR=Fs.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),YQe=Fs.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(OR),this.key("subjectPublicKey").bitstr())}),WQe=Fs.define("RelativeDistinguishedName",function(){this.setof(GQe)}),VQe=Fs.define("RDNSequence",function(){this.seqof(WQe)}),EW=Fs.define("Name",function(){this.choice({rdnSequence:this.use(VQe)})}),JQe=Fs.define("Validity",function(){this.seq().obj(this.key("notBefore").use(yW),this.key("notAfter").use(yW))}),jQe=Fs.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),zQe=Fs.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(OR),this.key("issuer").use(EW),this.key("validity").use(JQe),this.key("subject").use(EW),this.key("subjectPublicKeyInfo").use(YQe),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(jQe).optional())}),KQe=Fs.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(zQe),this.key("signatureAlgorithm").use(OR),this.key("signatureValue").bitstr())});mW.exports=KQe});var BW=x(Ls=>{"use strict";var Us=Eh();Ls.certificate=bW();var XQe=Us.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())});Ls.RSAPrivateKey=XQe;var $Qe=Us.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});Ls.RSAPublicKey=$Qe;var IW=Us.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())}),ZQe=Us.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(IW),this.key("subjectPublicKey").bitstr())});Ls.PublicKey=ZQe;var eve=Us.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(IW),this.key("subjectPrivateKey").octstr())});Ls.PrivateKey=eve;var tve=Us.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())});Ls.EncryptedPrivateKey=tve;var rve=Us.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())});Ls.DSAPrivateKey=rve;Ls.DSAparam=Us.define("DSAparam",function(){this.int()});var nve=Us.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),ive=Us.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(nve),this.key("publicKey").optional().explicit(1).bitstr())});Ls.ECPrivateKey=ive;Ls.signature=Us.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})});var CW=x((PHe,sve)=>{sve.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 wW=x((OHe,_W)=>{"use strict";var ove=/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,ave=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,fve=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,uve=gp(),cve=Tb(),iI=st().Buffer;_W.exports=function(e,t){var r=e.toString(),n=r.match(ove),i;if(n){var o="aes"+n[1],a=iI.from(n[2],"hex"),f=iI.from(n[3].replace(/[\r\n]/g,""),"base64"),u=uve(t,a.slice(0,8),parseInt(n[1],10)).key,c=[],h=cve.createDecipheriv(o,u,a);c.push(h.update(f)),c.push(h.final()),i=iI.concat(c)}else{var s=r.match(fve);i=iI.from(s[2].replace(/[\r\n]/g,""),"base64")}var y=r.match(ave)[1];return{tag:y,data:i}}});var _p=x((HHe,QW)=>{"use strict";var Xn=BW(),Ave=CW(),lve=wW(),hve=Tb(),dve=D1().pbkdf2Sync,HR=st().Buffer;function gve(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),i=Ave[e.algorithm.decrypt.cipher.algo.join(".")],s=e.algorithm.decrypt.cipher.iv,o=e.subjectPrivateKey,a=parseInt(i.split("-")[1],10)/8,f=dve(t,r,n,a,"sha1"),u=hve.createDecipheriv(i,f,s),c=[];return c.push(u.update(o)),c.push(u.final()),HR.concat(c)}function SW(e){var t;typeof e=="object"&&!HR.isBuffer(e)&&(t=e.passphrase,e=e.key),typeof e=="string"&&(e=HR.from(e));var r=lve(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=gve(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)}}SW.signature=Xn.signature;QW.exports=SW});var qR=x((qHe,pve)=>{pve.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 DW=x((GHe,oI)=>{"use strict";var _n=st().Buffer,Lc=I1(),yve=Fb(),Eve=Zb().ec,sI=kb(),mve=_p(),bve=qR(),Ive=1;function Bve(e,t,r,n,i){var s=mve(t);if(s.curve){if(n!=="ecdsa"&&n!=="ecdsa/rsa")throw new Error("wrong private key type");return Cve(e,s)}else if(s.type==="dsa"){if(n!=="dsa")throw new Error("wrong private key type");return _ve(e,s,r)}if(n!=="rsa"&&n!=="ecdsa/rsa")throw new Error("wrong private key type");if(t.padding!==void 0&&t.padding!==Ive)throw new Error("illegal or unsupported padding mode");e=_n.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 f=-1;++f<e.length;)a.push(e[f]);var u=yve(a,s);return u}function Cve(e,t){var r=bve[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var n=new Eve(r),i=n.keyFromPrivate(t.privateKey),s=i.sign(e);return _n.from(s.toDER())}function _ve(e,t,r){for(var n=t.params.priv_key,i=t.params.p,s=t.params.q,o=t.params.g,a=new sI(0),f,u=GR(e,s).mod(s),c=!1,h=vW(n,s,e,r);c===!1;)f=RW(s,h,r),a=Qve(o,f,i,s),c=f.invm(s).imul(u.add(n.mul(a))).mod(s),c.cmpn(0)===0&&(c=!1,a=new sI(0));return wve(a,c)}function wve(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),_n.from(n)}function vW(e,t,r,n){if(e=_n.from(e.toArray()),e.length<t.byteLength()){var i=_n.alloc(t.byteLength()-e.length);e=_n.concat([i,e])}var s=r.length,o=Sve(r,t),a=_n.alloc(s);a.fill(1);var f=_n.alloc(s);return f=Lc(n,f).update(a).update(_n.from([0])).update(e).update(o).digest(),a=Lc(n,f).update(a).digest(),f=Lc(n,f).update(a).update(_n.from([1])).update(e).update(o).digest(),a=Lc(n,f).update(a).digest(),{k:f,v:a}}function GR(e,t){var r=new sI(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function Sve(e,t){e=GR(e,t),e=e.mod(t);var r=_n.from(e.toArray());if(r.length<t.byteLength()){var n=_n.alloc(t.byteLength()-r.length);r=_n.concat([n,r])}return r}function RW(e,t,r){var n,i;do{for(n=_n.alloc(0);n.length*8<e.bitLength();)t.v=Lc(r,t.k).update(t.v).digest(),n=_n.concat([n,t.v]);i=GR(n,e),t.k=Lc(r,t.k).update(t.v).update(_n.from([0])).digest(),t.v=Lc(r,t.k).update(t.v).digest()}while(i.cmp(e)!==-1);return i}function Qve(e,t,r,n){return e.toRed(sI.mont(r)).redPow(t).fromRed().mod(n)}oI.exports=Bve;oI.exports.getKey=vW;oI.exports.makeKey=RW});var xW=x((YHe,MW)=>{"use strict";var YR=st().Buffer,wp=kb(),vve=Zb().ec,NW=_p(),Rve=qR();function Dve(e,t,r,n,i){var s=NW(r);if(s.type==="ec"){if(n!=="ecdsa"&&n!=="ecdsa/rsa")throw new Error("wrong public key type");return Tve(e,t,s)}else if(s.type==="dsa"){if(n!=="dsa")throw new Error("wrong public key type");return Nve(e,t,s)}if(n!=="rsa"&&n!=="ecdsa/rsa")throw new Error("wrong public key type");t=YR.concat([i,t]);for(var o=s.modulus.byteLength(),a=[1],f=0;t.length+a.length+2<o;)a.push(255),f+=1;a.push(0);for(var u=-1;++u<t.length;)a.push(t[u]);a=YR.from(a);var c=wp.mont(s.modulus);e=new wp(e).toRed(c),e=e.redPow(new wp(s.publicExponent)),e=YR.from(e.fromRed().toArray());var h=f<8?1:0;for(o=Math.min(e.length,a.length),e.length!==a.length&&(h=1),u=-1;++u<o;)h|=e[u]^a[u];return h===0}function Tve(e,t,r){var n=Rve[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new vve(n),s=r.data.subjectPrivateKey.data;return i.verify(t,e,s)}function Nve(e,t,r){var n=r.data.p,i=r.data.q,s=r.data.g,o=r.data.pub_key,a=NW.signature.decode(e,"der"),f=a.s,u=a.r;TW(f,i),TW(u,i);var c=wp.mont(n),h=f.invm(i),y=s.toRed(c).redPow(new wp(t).mul(h).mod(i)).fromRed().mul(o.toRed(c).redPow(u.mul(h).mod(i)).fromRed()).mod(n).mod(i);return y.cmp(u)===0}function TW(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=0)throw new Error("invalid sig")}MW.exports=Dve});var OW=x((WHe,PW)=>{"use strict";var aI=st().Buffer,UW=$l(),fI=d1(),LW=at(),Mve=DW(),xve=xW(),Pc=B1();Object.keys(Pc).forEach(function(e){Pc[e].id=aI.from(Pc[e].id,"hex"),Pc[e.toLowerCase()]=Pc[e]});function Sp(e){fI.Writable.call(this);var t=Pc[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=UW(t.hash),this._tag=t.id,this._signType=t.sign}LW(Sp,fI.Writable);Sp.prototype._write=function(t,r,n){this._hash.update(t),n()};Sp.prototype.update=function(t,r){return this._hash.update(typeof t=="string"?aI.from(t,r):t),this};Sp.prototype.sign=function(t,r){this.end();var n=this._hash.digest(),i=Mve(n,t,this._hashType,this._signType,this._tag);return r?i.toString(r):i};function Qp(e){fI.Writable.call(this);var t=Pc[e];if(!t)throw new Error("Unknown message digest");this._hash=UW(t.hash),this._tag=t.id,this._signType=t.sign}LW(Qp,fI.Writable);Qp.prototype._write=function(t,r,n){this._hash.update(t),n()};Qp.prototype.update=function(t,r){return this._hash.update(typeof t=="string"?aI.from(t,r):t),this};Qp.prototype.verify=function(t,r,n){var i=typeof r=="string"?aI.from(r,n):r;this.end();var s=this._hash.digest();return xve(i,s,t,this._signType,this._tag)};function kW(e){return new Sp(e)}function FW(e){return new Qp(e)}PW.exports={Sign:kW,Verify:FW,createSign:kW,createVerify:FW}});var qW=x((VHe,HW)=>{var kve=Zb(),Fve=Wr();HW.exports=function(t){return new Oc(t)};var di={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}};di.p224=di.secp224r1;di.p256=di.secp256r1=di.prime256v1;di.p192=di.secp192r1=di.prime192v1;di.p384=di.secp384r1;di.p521=di.secp521r1;function Oc(e){this.curveType=di[e],this.curveType||(this.curveType={name:e}),this.curve=new kve.ec(this.curveType.name),this.keys=void 0}Oc.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)};Oc.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 WR(i,r,this.curveType.byteLength)};Oc.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),WR(r,e)};Oc.prototype.getPrivateKey=function(e){return WR(this.keys.getPrivate(),e)};Oc.prototype.setPublicKey=function(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this.keys._importPublic(e),this};Oc.prototype.setPrivateKey=function(e,t){t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t));var r=new Fve(e);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this};function WR(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 JR=x((JHe,GW)=>{var Uve=$l(),VR=st().Buffer;GW.exports=function(e,t){for(var r=VR.alloc(0),n=0,i;r.length<t;)i=Lve(n++),r=VR.concat([r,Uve("sha1").update(e).update(i).digest()]);return r.slice(0,t)};function Lve(e){var t=VR.allocUnsafe(4);return t.writeUInt32BE(e,0),t}});var jR=x((jHe,YW)=>{YW.exports=function(t,r){for(var n=t.length,i=-1;++i<n;)t[i]^=r[i];return t}});var zR=x((zHe,VW)=>{var WW=Wr(),Pve=st().Buffer;function Ove(e,t){return Pve.from(e.toRed(WW.mont(t.modulus)).redPow(new WW(t.publicExponent)).fromRed().toArray())}VW.exports=Ove});var KW=x((KHe,zW)=>{var Hve=_p(),KR=yc(),qve=$l(),JW=JR(),jW=jR(),XR=Wr(),Gve=zR(),Yve=Fb(),Ps=st().Buffer;zW.exports=function(t,r,n){var i;t.padding?i=t.padding:n?i=1:i=4;var s=Hve(t),o;if(i===4)o=Wve(s,r);else if(i===1)o=Vve(s,r,n);else if(i===3){if(o=new XR(r),o.cmp(s.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return n?Yve(o,s):Gve(o,s)};function Wve(e,t){var r=e.modulus.byteLength(),n=t.length,i=qve("sha1").update(Ps.alloc(0)).digest(),s=i.length,o=2*s;if(n>r-o-2)throw new Error("message too long");var a=Ps.alloc(r-n-o-2),f=r-s-1,u=KR(s),c=jW(Ps.concat([i,a,Ps.alloc(1,1),t],f),JW(u,f)),h=jW(u,JW(c,s));return new XR(Ps.concat([Ps.alloc(1),h,c],r))}function Vve(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=Ps.alloc(i-n-3,255):s=Jve(i-n-3),new XR(Ps.concat([Ps.from([0,r?1:2]),s,Ps.alloc(1),t],i))}function Jve(e){for(var t=Ps.allocUnsafe(e),r=0,n=KR(e*2),i=0,s;r<e;)i===n.length&&(n=KR(e*2),i=0),s=n[i++],s&&(t[r++]=s);return t}});var tV=x((XHe,eV)=>{var jve=_p(),XW=JR(),$W=jR(),ZW=Wr(),zve=Fb(),Kve=$l(),Xve=zR(),vp=st().Buffer;eV.exports=function(t,r,n){var i;t.padding?i=t.padding:n?i=1:i=4;var s=jve(t),o=s.modulus.byteLength();if(r.length>o||new ZW(r).cmp(s.modulus)>=0)throw new Error("decryption error");var a;n?a=Xve(new ZW(r),s):a=zve(r,s);var f=vp.alloc(o-a.length);if(a=vp.concat([f,a],o),i===4)return $ve(s,a);if(i===1)return Zve(s,a,n);if(i===3)return a;throw new Error("unknown padding")};function $ve(e,t){var r=e.modulus.byteLength(),n=Kve("sha1").update(vp.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=$W(s,XW(o,i)),f=$W(o,XW(a,r-i-1));if(e1e(n,f.slice(0,i)))throw new Error("decryption error");for(var u=i;f[u]===0;)u++;if(f[u++]!==1)throw new Error("decryption error");return f.slice(u)}function Zve(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 e1e(e,t){e=vp.from(e),t=vp.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 rV=x(Hc=>{Hc.publicEncrypt=KW();Hc.privateDecrypt=tV();Hc.privateEncrypt=function(t,r){return Hc.publicEncrypt(t,r,!0)};Hc.publicDecrypt=function(t,r){return Hc.privateDecrypt(t,r,!0)}});var lV=x(Rp=>{"use strict";function nV(){throw new Error(`secure random number generation not supported by this browser
use chrome, FireFox or Internet Explorer 11`)}var sV=st(),iV=yc(),oV=sV.Buffer,aV=sV.kMaxLength,$R=globalThis.crypto||globalThis.msCrypto,fV=Math.pow(2,32)-1;function uV(e,t){if(typeof e!="number"||e!==e)throw new TypeError("offset must be a number");if(e>fV||e<0)throw new TypeError("offset must be a uint32");if(e>aV||e>t)throw new RangeError("offset out of range")}function cV(e,t,r){if(typeof e!="number"||e!==e)throw new TypeError("size must be a number");if(e>fV||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>aV)throw new RangeError("buffer too small")}$R&&$R.getRandomValues||!process.browser?(Rp.randomFill=t1e,Rp.randomFillSync=r1e):(Rp.randomFill=nV,Rp.randomFillSync=nV);function t1e(e,t,r,n){if(!oV.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 uV(t,e.length),cV(r,t,e.length),AV(e,t,r,n)}function AV(e,t,r,n){if(process.browser){var i=e.buffer,s=new Uint8Array(i,t,r);if($R.getRandomValues(s),n){process.nextTick(function(){n(null,e)});return}return e}if(n){iV(r,function(a,f){if(a)return n(a);f.copy(e,t),n(null,e)});return}var o=iV(r);return o.copy(e,t),e}function r1e(e,t,r){if(typeof t>"u"&&(t=0),!oV.isBuffer(e)&&!(e instanceof globalThis.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return uV(t,e.length),r===void 0&&(r=e.length-t),cV(r,t,e.length),AV(e,t,r)}});var eu=x(ct=>{"use strict";ct.randomBytes=ct.rng=ct.pseudoRandomBytes=ct.prng=yc();ct.createHash=ct.Hash=$l();ct.createHmac=ct.Hmac=I1();var n1e=Q7(),i1e=Object.keys(n1e),s1e=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i1e);ct.getHashes=function(){return s1e};var hV=D1();ct.pbkdf2=hV.pbkdf2;ct.pbkdf2Sync=hV.pbkdf2Sync;var Oo=Xq();ct.Cipher=Oo.Cipher;ct.createCipher=Oo.createCipher;ct.Cipheriv=Oo.Cipheriv;ct.createCipheriv=Oo.createCipheriv;ct.Decipher=Oo.Decipher;ct.createDecipher=Oo.createDecipher;ct.Decipheriv=Oo.Decipheriv;ct.createDecipheriv=Oo.createDecipheriv;ct.getCiphers=Oo.getCiphers;ct.listCiphers=Oo.listCiphers;var Dp=cG();ct.DiffieHellmanGroup=Dp.DiffieHellmanGroup;ct.createDiffieHellmanGroup=Dp.createDiffieHellmanGroup;ct.getDiffieHellman=Dp.getDiffieHellman;ct.createDiffieHellman=Dp.createDiffieHellman;ct.DiffieHellman=Dp.DiffieHellman;var uI=OW();ct.createSign=uI.createSign;ct.Sign=uI.Sign;ct.createVerify=uI.createVerify;ct.Verify=uI.Verify;ct.createECDH=qW();var cI=rV();ct.publicEncrypt=cI.publicEncrypt;ct.privateEncrypt=cI.privateEncrypt;ct.publicDecrypt=cI.publicDecrypt;ct.privateDecrypt=cI.privateDecrypt;var dV=lV();ct.randomFill=dV.randomFill;ct.randomFillSync=dV.randomFillSync;ct.createCredentials=function(){throw new Error(`sorry, createCredentials is not implemented yet
we accept pull requests
https://github.com/browserify/crypto-browserify`)};ct.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 pV=x(()=>{"use strict";var gV=new Error("No such built-in module: node:sqlite");gV.code="ERR_UNKNOWN_BUILTIN_MODULE";throw gV});var ZR=x((n7e,yV)=>{"use strict";yV.exports={isMainThread:!0,parentPort:null,workerData:null}});var r2=x((_,t2)=>{"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)}};t2.exports.runtimeFeatures=r;t2.exports.default=r});var Ho=x((o7e,_V)=>{"use strict";var A1e=Jt(),{types:pr,inspect:l1e}=yn(),{runtimeFeatures:h1e}=r2(),n2=1,i2=2,lI=3,hI=4,s2=5,dI=6,o2=7,gi=8,CV=Function.call.bind(Function.prototype[Symbol.hasInstance]),$={converters:{},util:{},errors:{},is:{}};$.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};$.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 $.errors.exception({header:e.prefix,message:r})};$.errors.invalidArgument=function(e){return $.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};$.brandCheck=function(e,t){if(!CV(t,e)){let r=new TypeError("Illegal invocation");throw r.code="ERR_INVALID_THIS",r}};$.brandCheckMultiple=function(e){let t=e.map(r=>$.util.MakeTypeAssertion(r));return r=>{if(t.every(n=>!n(r))){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}};$.argumentLengthCheck=function({length:e},t,r){if(e<t)throw $.errors.exception({message:`${t} argument${t!==1?"s":""} required, but${e?" only":""} ${e} found.`,header:r})};$.illegalConstructor=function(){throw $.errors.exception({header:"TypeError",message:"Illegal constructor"})};$.util.MakeTypeAssertion=function(e){return t=>CV(e,t)};$.util.Type=function(e){switch(typeof e){case"undefined":return n2;case"boolean":return i2;case"string":return lI;case"symbol":return hI;case"number":return s2;case"bigint":return dI;case"function":case"object":return e===null?o2:gi}};$.util.Types={UNDEFINED:n2,BOOLEAN:i2,STRING:lI,SYMBOL:hI,NUMBER:s2,BIGINT:dI,NULL:o2,OBJECT:gi};$.util.TypeValueToString=function(e){switch($.util.Type(e)){case n2:return"Undefined";case i2:return"Boolean";case lI:return"String";case hI:return"Symbol";case s2:return"Number";case dI:return"BigInt";case o2:return"Null";case gi:return"Object"}};$.util.markAsUncloneable=h1e.has("markAsUncloneable")?ZR().markAsUncloneable:()=>{};$.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),$.util.HasFlag(n,$.attributes.EnforceRange)){if(Number.isNaN(o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY)throw $.errors.exception({header:"Integer conversion",message:`Could not convert ${$.util.Stringify(e)} to an integer.`});if(o=$.util.IntegerPart(o),o<s||o>i)throw $.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${o}.`});return o}return!Number.isNaN(o)&&$.util.HasFlag(n,$.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=$.util.IntegerPart(o),o=o%Math.pow(2,t),r==="signed"&&o>=Math.pow(2,t)-1?o-Math.pow(2,t):o)};$.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t};$.util.Stringify=function(e){switch($.util.Type(e)){case hI:return`Symbol(${e.description})`;case gi:return l1e(e);case lI:return`"${e}"`;case dI:return`${e}n`;default:return`${e}`}};$.util.IsResizableArrayBuffer=function(e){if(pr.isArrayBuffer(e))return e.resizable;if(pr.isSharedArrayBuffer(e))return e.growable;throw $.errors.exception({header:"IsResizableArrayBuffer",message:`"${$.util.Stringify(e)}" is not an array buffer.`})};$.util.HasFlag=function(e,t){return typeof e=="number"&&(e&t)===t};$.sequenceConverter=function(e){return(t,r,n,i)=>{if($.util.Type(t)!==gi)throw $.errors.exception({header:r,message:`${n} (${$.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 $.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:f,value:u}=s.next();if(f)break;o.push(e(u,r,`${n}[${a++}]`))}return o}};$.recordConverter=function(e,t){return(r,n,i)=>{if($.util.Type(r)!==gi)throw $.errors.exception({header:n,message:`${i} ("${$.util.TypeValueToString(r)}") is not an Object.`});let s={};if(!pr.isProxy(r)){let a=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let f of a){let u=$.util.Stringify(f),c=e(f,n,`Key ${u} in ${i}`),h=t(r[f],n,`${i}[${u}]`);s[c]=h}return s}let o=Reflect.ownKeys(r);for(let a of o)if(Reflect.getOwnPropertyDescriptor(r,a)?.enumerable){let u=e(a,n,i),c=t(r[a],n,i);s[u]=c}return s}};$.interfaceConverter=function(e,t){return(r,n,i)=>{if(!e(r))throw $.errors.exception({header:n,message:`Expected ${i} ("${$.util.Stringify(r)}") to be an instance of ${t}.`});return r}};$.dictionaryConverter=function(e){return e.sort((t,r)=>(t.key>r.key)-(t.key<r.key)),(t,r,n)=>{let i={};if(t!=null&&$.util.Type(t)!==gi)throw $.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:f,converter:u}=s;if(f===!0&&(t==null||!Object.hasOwn(t,o)))throw $.errors.exception({header:r,message:`Missing required key "${o}".`});let c=t?.[o],h=a!==void 0;if(h&&c===void 0&&(c=a()),f||h||c!==void 0){if(c=u(c,r,`${n}.${o}`),s.allowedValues&&!s.allowedValues.includes(c))throw $.errors.exception({header:r,message:`${c} is not an accepted type. Expected one of ${s.allowedValues.join(", ")}.`});i[o]=c}}return i}};$.nullableConverter=function(e){return(t,r,n)=>t===null?t:e(t,r,n)};$.is.USVString=function(e){return typeof e=="string"&&e.isWellFormed()};$.is.ReadableStream=$.util.MakeTypeAssertion(ReadableStream);$.is.Blob=$.util.MakeTypeAssertion(Blob);$.is.URLSearchParams=$.util.MakeTypeAssertion(URLSearchParams);$.is.File=$.util.MakeTypeAssertion(File);$.is.URL=$.util.MakeTypeAssertion(URL);$.is.AbortSignal=$.util.MakeTypeAssertion(AbortSignal);$.is.MessagePort=$.util.MakeTypeAssertion(MessagePort);$.is.BufferSource=function(e){return pr.isArrayBuffer(e)||ArrayBuffer.isView(e)&&pr.isArrayBuffer(e.buffer)};$.util.getCopyOfBytesHeldByBufferSource=function(e){let t=e,r=t,n=0,i=0;if(pr.isTypedArray(t)||pr.isDataView(t)?(r=t.buffer,n=t.byteOffset,i=t.byteLength):(A1e(pr.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};$.converters.DOMString=function(e,t,r,n){if(e===null&&$.util.HasFlag(n,$.attributes.LegacyNullToEmptyString))return"";if(typeof e=="symbol")throw $.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(e)};$.converters.ByteString=function(e,t,r){if(typeof e=="symbol")throw $.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};$.converters.USVString=function(e){return typeof e=="string"?e.toWellFormed():`${e}`.toWellFormed()};$.converters.boolean=function(e){return!!e};$.converters.any=function(e){return e};$.converters["long long"]=function(e,t,r){return $.util.ConvertToInt(e,64,"signed",0,t,r)};$.converters["unsigned long long"]=function(e,t,r){return $.util.ConvertToInt(e,64,"unsigned",0,t,r)};$.converters["unsigned long"]=function(e,t,r){return $.util.ConvertToInt(e,32,"unsigned",0,t,r)};$.converters["unsigned short"]=function(e,t,r,n){return $.util.ConvertToInt(e,16,"unsigned",n,t,r)};$.converters.ArrayBuffer=function(e,t,r,n){if($.util.Type(e)!==gi||!pr.isArrayBuffer(e))throw $.errors.conversionFailed({prefix:t,argument:`${r} ("${$.util.Stringify(e)}")`,types:["ArrayBuffer"]});if(!$.util.HasFlag(n,$.attributes.AllowResizable)&&$.util.IsResizableArrayBuffer(e))throw $.errors.exception({header:t,message:`${r} cannot be a resizable ArrayBuffer.`});return e};$.converters.SharedArrayBuffer=function(e,t,r,n){if($.util.Type(e)!==gi||!pr.isSharedArrayBuffer(e))throw $.errors.conversionFailed({prefix:t,argument:`${r} ("${$.util.Stringify(e)}")`,types:["SharedArrayBuffer"]});if(!$.util.HasFlag(n,$.attributes.AllowResizable)&&$.util.IsResizableArrayBuffer(e))throw $.errors.exception({header:t,message:`${r} cannot be a resizable SharedArrayBuffer.`});return e};$.converters.TypedArray=function(e,t,r,n,i){if($.util.Type(e)!==gi||!pr.isTypedArray(e)||e.constructor.name!==t.name)throw $.errors.conversionFailed({prefix:r,argument:`${n} ("${$.util.Stringify(e)}")`,types:[t.name]});if(!$.util.HasFlag(i,$.attributes.AllowShared)&&pr.isSharedArrayBuffer(e.buffer))throw $.errors.exception({header:r,message:`${n} cannot be a view on a shared array buffer.`});if(!$.util.HasFlag(i,$.attributes.AllowResizable)&&$.util.IsResizableArrayBuffer(e.buffer))throw $.errors.exception({header:r,message:`${n} cannot be a view on a resizable array buffer.`});return e};$.converters.DataView=function(e,t,r,n){if($.util.Type(e)!==gi||!pr.isDataView(e))throw $.errors.conversionFailed({prefix:t,argument:`${r} ("${$.util.Stringify(e)}")`,types:["DataView"]});if(!$.util.HasFlag(n,$.attributes.AllowShared)&&pr.isSharedArrayBuffer(e.buffer))throw $.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!$.util.HasFlag(n,$.attributes.AllowResizable)&&$.util.IsResizableArrayBuffer(e.buffer))throw $.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e};$.converters.ArrayBufferView=function(e,t,r,n){if($.util.Type(e)!==gi||!pr.isArrayBufferView(e))throw $.errors.conversionFailed({prefix:t,argument:`${r} ("${$.util.Stringify(e)}")`,types:["ArrayBufferView"]});if(!$.util.HasFlag(n,$.attributes.AllowShared)&&pr.isSharedArrayBuffer(e.buffer))throw $.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!$.util.HasFlag(n,$.attributes.AllowResizable)&&$.util.IsResizableArrayBuffer(e.buffer))throw $.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e};$.converters.BufferSource=function(e,t,r,n){if(pr.isArrayBuffer(e))return $.converters.ArrayBuffer(e,t,r,n);if(pr.isArrayBufferView(e))return n&=~$.attributes.AllowShared,$.converters.ArrayBufferView(e,t,r,n);throw pr.isSharedArrayBuffer(e)?$.errors.exception({header:t,message:`${r} cannot be a SharedArrayBuffer.`}):$.errors.conversionFailed({prefix:t,argument:`${r} ("${$.util.Stringify(e)}")`,types:["ArrayBuffer","ArrayBufferView"]})};$.converters.AllowSharedBufferSource=function(e,t,r,n){if(pr.isArrayBuffer(e))return $.converters.ArrayBuffer(e,t,r,n);if(pr.isSharedArrayBuffer(e))return $.converters.SharedArrayBuffer(e,t,r,n);if(pr.isArrayBufferView(e))return n|=$.attributes.AllowShared,$.converters.ArrayBufferView(e,t,r,n);throw $.errors.conversionFailed({prefix:t,argument:`${r} ("${$.util.Stringify(e)}")`,types:["ArrayBuffer","SharedArrayBuffer","ArrayBufferView"]})};$.converters["sequence<ByteString>"]=$.sequenceConverter($.converters.ByteString);$.converters["sequence<sequence<ByteString>>"]=$.sequenceConverter($.converters["sequence<ByteString>"]);$.converters["record<ByteString, ByteString>"]=$.recordConverter($.converters.ByteString,$.converters.ByteString);$.converters.Blob=$.interfaceConverter($.is.Blob,"Blob");$.converters.AbortSignal=$.interfaceConverter($.is.AbortSignal,"AbortSignal");$.converters.EventHandlerNonNull=function(e){return $.util.Type(e)!==gi?null:typeof e=="function"?e:()=>{}};$.attributes={Clamp:1,EnforceRange:2,AllowShared:4,AllowResizable:8,LegacyNullToEmptyString:16};_V.exports={webidl:$}});var Vc=x((a7e,LV)=>{"use strict";var{Transform:d1e}=(Or(),Lr(dt)),wV=Og(),{redirectStatusSet:g1e,referrerPolicyTokens:p1e,badPortsSet:y1e}=Hg(),{getGlobalOrigin:SV}=I9(),{collectAnHTTPQuotedString:E1e,parseMIMEType:m1e}=pc(),{performance:b1e}=x9(),{ReadableStreamFrom:I1e,isValidHTTPToken:QV,normalizedMethodRecordsBase:B1e}=tr(),Np=Jt(),{isUint8Array:C1e}=zv(),{webidl:ou}=Ho(),{isomorphicEncode:a2,collectASequenceOfCodePoints:Gc,removeChars:_1e}=gc();function vV(e){let t=e.urlList,r=t.length;return r===0?null:t[r-1].toString()}function w1e(e,t){if(!g1e.has(e.status))return null;let r=e.headersList.get("location",!0);return r!==null&&DV(r)&&(RV(r)||(r=S1e(r)),r=new URL(r,vV(e))),r&&!r.hash&&(r.hash=t),r}function RV(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>126||r<32)return!1}return!0}function S1e(e){return Buffer.from(e,"binary").toString("utf8")}function Wc(e){return e.urlList[e.urlList.length-1]}function Q1e(e){let t=Wc(e);return FV(t)&&y1e.has(t.port)?"blocked":"allowed"}function v1e(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"}function R1e(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 D1e=QV;function DV(e){return(e[0]===" "||e[0]===" "||e[e.length-1]===" "||e[e.length-1]===" "||e.includes(`
`)||e.includes("\r")||e.includes("\0"))===!1}function T1e(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(p1e.has(i)){r=i;break}}return r}function N1e(e,t){let r=T1e(t);r!==""&&(e.referrerPolicy=r)}function M1e(){return"allowed"}function x1e(){return"success"}function k1e(){return"success"}function F1e(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t,!0)}function U1e(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&&u2(e.origin)&&!u2(Wc(e))&&(t=null);break;case"same-origin":Tp(e,Wc(e))||(t=null);break;default:}e.headersList.append("origin",t,!0)}}}function Bh(e,t){return e}function L1e(e,t,r){return!e?.startTime||e.startTime<t?{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}:{domainLookupStartTime:Bh(e.domainLookupStartTime,r),domainLookupEndTime:Bh(e.domainLookupEndTime,r),connectionStartTime:Bh(e.connectionStartTime,r),connectionEndTime:Bh(e.connectionEndTime,r),secureConnectionStartTime:Bh(e.secureConnectionStartTime,r),ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}}function P1e(e){return Bh(b1e.now(),e)}function O1e(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 TV(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function H1e(e){return{referrerPolicy:e.referrerPolicy}}function q1e(e){let t=e.referrerPolicy;Np(t);let r=null;if(e.referrer==="client"){let s=SV();if(!s||s.origin==="null")return"no-referrer";r=new URL(s)}else ou.is.URL(e.referrer)&&(r=e.referrer);let n=f2(r),i=f2(r,!0);switch(n.toString().length>4096&&(n=i),t){case"no-referrer":return"no-referrer";case"origin":return i??f2(r,!0);case"unsafe-url":return n;case"strict-origin":{let s=Wc(e);return Yc(n)&&!Yc(s)?"no-referrer":i}case"strict-origin-when-cross-origin":{let s=Wc(e);return Tp(n,s)?n:Yc(n)&&!Yc(s)?"no-referrer":i}case"same-origin":return Tp(e,n)?n:"no-referrer";case"origin-when-cross-origin":return Tp(e,n)?n:i;case"no-referrer-when-downgrade":{let s=Wc(e);return Yc(n)&&!Yc(s)?"no-referrer":n}}}function f2(e,t=!1){return Np(ou.is.URL(e)),e=new URL(e),kV(e)?"no-referrer":(e.username="",e.password="",e.hash="",t===!0&&(e.pathname="",e.search=""),e)}var G1e=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)$/),Y1e=RegExp.prototype.test.bind(/^(?:(?:0{1,4}:){7}|(?:0{1,4}:){1,6}:|::)0{0,3}1$/);function NV(e){return e.includes(":")?(e[0]==="["&&e[e.length-1]==="]"&&(e=e.slice(1,-1)),Y1e(e)):G1e(e)}function W1e(e){return e==null||e==="null"?!1:(e=new URL(e),!!(e.protocol==="https:"||e.protocol==="wss:"||NV(e.hostname)||e.hostname==="localhost"||e.hostname==="localhost."||e.hostname.endsWith(".localhost")||e.hostname.endsWith(".localhost.")||e.protocol==="file:"))}function Yc(e){return ou.is.URL(e)?e.href==="about:blank"||e.href==="about:srcdoc"||e.protocol==="data:"||e.protocol==="blob:"?!0:W1e(e.origin):!1}function V1e(e){}function Tp(e,t){return e.origin===t.origin&&e.origin==="null"||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}function J1e(e){return e.controller.state==="aborted"}function j1e(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}function z1e(e){return B1e[e.toLowerCase()]??e}var K1e=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function MV(e,t,r=0,n=1){var s,o,a;class i{constructor(u,c){vt(this,s);vt(this,o);vt(this,a);ft(this,s,u),ft(this,o,c),ft(this,a,0)}next(){if(typeof this!="object"||this===null||!wx(s,this))throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let u=te(this,a),c=t(te(this,s)),h=c.length;if(u>=h)return{value:void 0,done:!0};let{[r]:y,[n]:b}=c[u];ft(this,a,u+1);let S;switch(te(this,o)){case"key":S=y;break;case"value":S=b;break;case"key+value":S=[y,b];break}return{value:S,done:!1}}}return s=new WeakMap,o=new WeakMap,a=new WeakMap,delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,K1e),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(f,u){return new i(f,u)}}function X1e(e,t,r,n=0,i=1){let s=MV(e,r,n,i),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return ou.brandCheck(this,t),s(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return ou.brandCheck(this,t),s(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return ou.brandCheck(this,t),s(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(f,u=globalThis){if(ou.brandCheck(this,t),ou.argumentLengthCheck(arguments,1,`${e}.forEach`),typeof f!="function")throw new TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:c,1:h}of s(this,"key+value"))f.call(u,h,c,this)}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})}function $1e(e,t,r){let n=t,i=r;try{let s=e.stream.getReader();xV(s,n,i)}catch(s){i(s)}}function Z1e(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 xV(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(!C1e(o)){r(new TypeError("Received non-Uint8Array chunk"));return}n.push(o),i+=o.length}while(!0)}catch(n){r(n)}}function kV(e){Np("protocol"in e);let t=e.protocol;return t==="about:"||t==="blob:"||t==="data:"}function u2(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 FV(e){Np("protocol"in e);let t=e.protocol;return t==="http:"||t==="https:"}function eRe(e,t){let r=e;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(t&&Gc(f=>f===" "||f===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,t&&Gc(f=>f===" "||f===" ",r,n);let i=Gc(f=>{let u=f.charCodeAt(0);return u>=48&&u<=57},r,n),s=i.length?Number(i):null;if(t&&Gc(f=>f===" "||f===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,t&&Gc(f=>f===" "||f===" ",r,n);let o=Gc(f=>{let u=f.charCodeAt(0);return u>=48&&u<=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 tRe(e,t,r){let n="bytes ";return n+=a2(`${e}`),n+="-",n+=a2(`${t}`),n+="/",n+=a2(`${r}`),n}var Ch,c2=class extends d1e{constructor(r){super();vt(this,Ch);ft(this,Ch,r)}_transform(r,n,i){if(!this._inflateStream){if(r.length===0){i();return}this._inflateStream=(r[0]&15)===8?wV.createInflate(te(this,Ch)):wV.createInflateRaw(te(this,Ch)),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()}};Ch=new WeakMap;function rRe(e){return new c2(e)}function nRe(e){let t=null,r=null,n=null,i=UV("content-type",e);if(i===null)return"failure";for(let s of i){let o=m1e(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 iRe(e){let t=e,r={position:0},n=[],i="";for(;r.position<t.length;){if(i+=Gc(s=>s!=='"'&&s!==",",t,r),r.position<t.length)if(t.charCodeAt(r.position)===34){if(i+=E1e(t,r),r.position<t.length)continue}else Np(t.charCodeAt(r.position)===44),r.position++;i=_1e(i,!0,!0,s=>s===9||s===32),n.push(i),i=""}return n}function UV(e,t){let r=t.get(e,!0);return r===null?null:iRe(r)}function sRe(e){return!1}function oRe(e){return!!(e.username||e.password)}function aRe(e){return!0}var A2=class{constructor(){m(this,"policyContainer",TV())}get baseUrl(){return SV()}get origin(){return this.baseUrl?.origin}},l2=class{constructor(){m(this,"settingsObject",new A2)}},fRe=new l2;LV.exports={isAborted:J1e,isCancelled:j1e,isValidEncodedURL:RV,ReadableStreamFrom:I1e,tryUpgradeRequestToAPotentiallyTrustworthyURL:V1e,clampAndCoarsenConnectionTimingInfo:L1e,coarsenedSharedCurrentTime:P1e,determineRequestsReferrer:q1e,makePolicyContainer:TV,clonePolicyContainer:H1e,appendFetchMetadata:F1e,appendRequestOriginHeader:U1e,TAOCheck:k1e,corsCheck:x1e,crossOriginResourcePolicyCheck:M1e,createOpaqueTimingInfo:O1e,setRequestReferrerPolicyOnRedirect:N1e,isValidHTTPToken:QV,requestBadPort:Q1e,requestCurrentURL:Wc,responseURL:vV,responseLocationURL:w1e,isURLPotentiallyTrustworthy:Yc,isValidReasonPhrase:R1e,sameOrigin:Tp,normalizeMethod:z1e,iteratorMixin:X1e,createIterator:MV,isValidHeaderName:D1e,isValidHeaderValue:DV,isErrorLike:v1e,fullyReadBody:$1e,readableStreamClose:Z1e,urlIsLocal:kV,urlHasHttpsScheme:u2,urlIsHttpHttpsScheme:FV,readAllBytes:xV,simpleRangeHeaderValue:eRe,buildContentRange:tRe,createInflate:rRe,extractMimeType:nRe,getDecodeSplit:UV,environmentSettingsObject:fRe,isOriginIPPotentiallyTrustworthy:NV,hasAuthenticationEntry:sRe,includesCredentials:oRe,isTraversableNavigable:aRe}});var d2=x((u7e,OV)=>{"use strict";var{iteratorMixin:uRe}=Vc(),{kEnumerableProperty:_h}=tr(),{webidl:Dt}=Ho(),PV=yn(),zr,au=class au{constructor(t=void 0){vt(this,zr,[]);if(Dt.util.markAsUncloneable(this),t!==void 0)throw Dt.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}append(t,r,n=void 0){Dt.brandCheck(this,au);let i="FormData.append";Dt.argumentLengthCheck(arguments,2,i),t=Dt.converters.USVString(t),arguments.length===3||Dt.is.Blob(r)?(r=Dt.converters.Blob(r,i,"value"),n!==void 0&&(n=Dt.converters.USVString(n))):r=Dt.converters.USVString(r);let s=h2(t,r,n);te(this,zr).push(s)}delete(t){Dt.brandCheck(this,au),Dt.argumentLengthCheck(arguments,1,"FormData.delete"),t=Dt.converters.USVString(t),ft(this,zr,te(this,zr).filter(n=>n.name!==t))}get(t){Dt.brandCheck(this,au),Dt.argumentLengthCheck(arguments,1,"FormData.get"),t=Dt.converters.USVString(t);let n=te(this,zr).findIndex(i=>i.name===t);return n===-1?null:te(this,zr)[n].value}getAll(t){return Dt.brandCheck(this,au),Dt.argumentLengthCheck(arguments,1,"FormData.getAll"),t=Dt.converters.USVString(t),te(this,zr).filter(n=>n.name===t).map(n=>n.value)}has(t){return Dt.brandCheck(this,au),Dt.argumentLengthCheck(arguments,1,"FormData.has"),t=Dt.converters.USVString(t),te(this,zr).findIndex(n=>n.name===t)!==-1}set(t,r,n=void 0){Dt.brandCheck(this,au);let i="FormData.set";Dt.argumentLengthCheck(arguments,2,i),t=Dt.converters.USVString(t),arguments.length===3||Dt.is.Blob(r)?(r=Dt.converters.Blob(r,i,"value"),n!==void 0&&(n=Dt.converters.USVString(n))):r=Dt.converters.USVString(r);let s=h2(t,r,n),o=te(this,zr).findIndex(a=>a.name===t);o!==-1?ft(this,zr,[...te(this,zr).slice(0,o),s,...te(this,zr).slice(o+1).filter(a=>a.name!==t)]):te(this,zr).push(s)}[PV.inspect.custom](t,r){let n=te(this,zr).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=PV.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}static getFormDataState(t){return te(t,zr)}static setFormDataState(t,r){ft(t,zr,r)}};zr=new WeakMap;var Va=au,{getFormDataState:cRe,setFormDataState:ARe}=Va;Reflect.deleteProperty(Va,"getFormDataState");Reflect.deleteProperty(Va,"setFormDataState");uRe("FormData",Va,cRe,"name","value");Object.defineProperties(Va.prototype,{append:_h,delete:_h,get:_h,getAll:_h,has:_h,set:_h,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function h2(e,t,r){if(typeof t!="string"){if(Dt.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}}Dt.is.FormData=Dt.util.MakeTypeAssertion(Va);OV.exports={FormData:Va,makeEntry:h2,setFormDataState:ARe}});var GV=x((A7e,qV)=>{"use strict";var{bufferToLowerCasedHeaderName:lRe}=tr(),{HTTP_TOKEN_CODEPOINTS:hRe}=pc(),{makeEntry:dRe}=d2(),{webidl:g2}=Ho(),p2=Jt(),{isomorphicDecode:HV}=gc(),gRe=Buffer.from("--"),y2=new TextDecoder,pRe=new TextDecoder("utf-8",{ignoreBOM:!0});function yRe(e){for(let t=0;t<e.length;++t)if((e.charCodeAt(t)&-128)!==0)return!1;return!0}function ERe(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 mRe(e,t){p2(t!=="failure"&&t.essence==="multipart/form-data");let r=t.parameters.get("boundary");if(r===void 0)throw $n("missing boundary in content-type header");let n=Buffer.from(`--${r}`,"utf8"),i=[],s={position:0},o=e.indexOf(n);if(o===-1)throw $n("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 $n("expected a value starting with -- and the boundary");if(BRe(e,gRe,s))return i;if(e[s.position]!==13||e[s.position+1]!==10)throw $n("expected CRLF");s.position+=2;let a=IRe(e,s),{name:f,filename:u,contentType:c,encoding:h}=a;s.position+=2;let y;{let S=e.indexOf(n.subarray(2),s.position);if(S===-1)throw $n("expected boundary after body");y=e.subarray(s.position,S-4),s.position+=y.length,h==="base64"&&(y=Buffer.from(y.toString(),"base64"))}if(e[s.position]!==13||e[s.position+1]!==10)throw $n("expected CRLF");s.position+=2;let b;u!==null?(c??(c="text/plain"),yRe(c)||(c=""),b=new File([y],u,{type:c})):b=pRe.decode(Buffer.from(y)),p2(g2.is.USVString(f)),p2(typeof b=="string"&&g2.is.USVString(b)||g2.is.File(b)),i.push(dRe(f,b,u))}}function bRe(e,t){e[t.position]===59&&t.position++,ji(o=>o===32||o===9,e,t);let r=ji(o=>m2(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++,ji(o=>o===32||o===9,e,t);let s;if(i){let o=ji(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 $n("unknown encoding, expected utf-8''");s=decodeURIComponent(y2.decode(o.subarray(7)))}else if(e[t.position]===34){t.position++;let o=ji(a=>a!==10&&a!==13&&a!==34,e,t);if(e[t.position]!==34)throw $n("Closing quote not found");t.position++,s=y2.decode(o).replace(/%0A/ig,`
`).replace(/%0D/ig,"\r").replace(/%22/g,'"')}else{let o=ji(a=>m2(a)&&a!==59,e,t);s=y2.decode(o)}return{name:n,value:s}}function IRe(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 $n("header name is null");return{name:r,filename:n,contentType:i,encoding:s}}let o=ji(a=>a!==10&&a!==13&&a!==58,e,t);if(o=E2(o,!0,!0,a=>a===9||a===32),!hRe.test(o.toString()))throw $n("header name does not match the field-name token production");if(e[t.position]!==58)throw $n("expected :");switch(t.position++,ji(a=>a===32||a===9,e,t),lRe(o)){case"content-disposition":{if(r=n=null,ji(f=>m2(f),e,t).toString("ascii").toLowerCase()!=="form-data")throw $n("expected form-data for content-disposition header");for(;t.position<e.length&&e[t.position]!==13&&e[t.position+1]!==10;){let f=bRe(e,t);if(!f)break;f.name==="name"?r=f.value:f.name==="filename"&&(n=f.value)}if(r===null)throw $n("name attribute is required in content-disposition header");break}case"content-type":{let a=ji(f=>f!==10&&f!==13,e,t);a=E2(a,!1,!0,f=>f===9||f===32),i=HV(a);break}case"content-transfer-encoding":{let a=ji(f=>f!==10&&f!==13,e,t);a=E2(a,!1,!0,f=>f===9||f===32),s=HV(a);break}default:ji(a=>a!==10&&a!==13,e,t)}if(e[t.position]!==13&&e[t.position+1]!==10)throw $n("expected CRLF");t.position+=2}}function ji(e,t,r){let n=r.position;for(;n<t.length&&e(t[n]);)++n;return t.subarray(r.position,r.position=n)}function E2(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 BRe(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 $n(e){return new TypeError("Failed to parse body as FormData.",{cause:new TypeError(e)})}function CRe(e){return e<=31||e===127}function _Re(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 m2(e){return e<=127&&e!==32&&e!==9&&!CRe(e)&&!_Re(e)}qV.exports={multipartFormDataParser:mRe,validateBoundary:ERe}});var b2=x((l7e,YV)=>{"use strict";function wRe(){let e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}YV.exports={createDeferredPromise:wRe}});var B2=x((h7e,JV)=>{"use strict";var WV=new Set(["crypto","sqlite","markAsUncloneable","zstd"]),wh,I2=class{constructor(){vt(this,wh,new Map([["crypto",!0],["sqlite",!1],["markAsUncloneable",!1],["zstd",!1]]))}clear(){te(this,wh).clear()}has(t){if(!WV.has(t))throw new TypeError(`unknown feature: ${t}`);return te(this,wh).get(t)??!1}set(t,r){if(!WV.has(t))throw new TypeError(`unknown feature: ${t}`);te(this,wh).set(t,!!r)}};wh=new WeakMap;var VV=new I2;JV.exports={runtimeFeatures:VV,default:VV}});var Qh=x((g7e,$V)=>{"use strict";var w2=tr(),{ReadableStreamFrom:SRe,readableStreamClose:QRe,fullyReadBody:vRe,extractMimeType:RRe}=Vc(),{FormData:jV,setFormDataState:DRe}=d2(),{webidl:Os}=Ho(),C2=Jt(),{isErrored:_2,isDisturbed:TRe}=(Or(),Lr(dt)),{isUint8Array:NRe}=zv(),{serializeAMimeType:MRe}=pc(),{multipartFormDataParser:xRe}=GV(),{createDeferredPromise:kRe}=b2(),{parseJSONFromBytes:FRe}=gc(),{utf8DecodeBytes:URe}=Vv(),{runtimeFeatures:LRe}=B2(),PRe=LRe.has("crypto")?eu().randomInt:e=>Math.floor(Math.random()*e),gI=new TextEncoder;function ORe(){}var HRe=new FinalizationRegistry(e=>{let t=e.deref();t&&!t.locked&&!TRe(t)&&!_2(t)&&t.cancel("Response object has been garbage collected").catch(ORe)});function KV(e,t=!1){let r=null,n=null;Os.is.ReadableStream(e)?r=e:Os.is.Blob(e)?r=e.stream():r=new ReadableStream({pull(){},start(u){n=u},cancel(){},type:"bytes"}),C2(Os.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(Os.is.URLSearchParams(e))s=e.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(Os.is.BufferSource(e))s=Os.util.getCopyOfBytesHeldByBufferSource(e);else if(Os.is.FormData(e)){let u=`----formdata-undici-0${`${PRe(1e11)}`.padStart(11,"0")}`,c=`--${u}\r
Content-Disposition: form-data`;let h=U=>U.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),y=U=>U.replace(/\r?\n|\r/g,`\r
`),b=[],S=new Uint8Array([13,10]);o=0;let v=!1;for(let[U,P]of e)if(typeof P=="string"){let Y=gI.encode(c+`; name="${h(y(U))}"\r
\r
${y(P)}\r
`);b.push(Y),o+=Y.byteLength}else{let Y=gI.encode(`${c}; name="${h(y(U))}"`+(P.name?`; filename="${h(P.name)}"`:"")+`\r
Content-Type: ${P.type||"application/octet-stream"}\r
\r
`);b.push(Y,P,S),typeof P.size=="number"?o+=Y.byteLength+P.size+S.byteLength:v=!0}let L=gI.encode(`--${u}--\r
`);b.push(L),o+=L.byteLength,v&&(o=null),s=e,i=async function*(){for(let U of b)U.stream?yield*U.stream():yield U},a=`multipart/form-data; boundary=${u}`}else if(Os.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(w2.isDisturbed(e)||e.locked)throw new TypeError("Response body object should not be disturbed or locked");r=Os.is.ReadableStream(e)?e:SRe(e)}return(typeof s=="string"||NRe(s))&&(i=()=>(o=typeof s=="string"?Buffer.byteLength(s):s.length,s)),i!=null&&(async()=>{let u=i(),c=u?.[Symbol.asyncIterator]?.();if(c)for await(let h of c){if(_2(r))break;h.length&&n.enqueue(new Uint8Array(h))}else u?.length&&!_2(r)&&n.enqueue(typeof u=="string"?gI.encode(u):new Uint8Array(u));queueMicrotask(()=>QRe(n))})(),[{stream:r,source:s,length:o},a]}function qRe(e,t=!1){return Os.is.ReadableStream(e)&&(C2(!w2.isDisturbed(e),"The body has already been consumed."),C2(!e.locked,"The stream is locked.")),KV(e,t)}function GRe(e){let{0:t,1:r}=e.stream.tee();return e.stream=t,{stream:r,length:e.length,source:e.source}}function YRe(e,t){return{blob(){return Sh(this,n=>{let i=zV(t(this));return i===null?i="":i&&(i=MRe(i)),new Blob([n],{type:i})},e,t)},arrayBuffer(){return Sh(this,n=>new Uint8Array(n).buffer,e,t)},text(){return Sh(this,URe,e,t)},json(){return Sh(this,FRe,e,t)},formData(){return Sh(this,n=>{let i=zV(t(this));if(i!==null)switch(i.essence){case"multipart/form-data":{let s=xRe(n,i),o=new jV;return DRe(o,s),o}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(n.toString()),o=new jV;for(let[a,f]of s)o.append(a,f);return o}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e,t)},bytes(){return Sh(this,n=>new Uint8Array(n),e,t)}}}function WRe(e,t){Object.assign(e.prototype,YRe(e,t))}function Sh(e,t,r,n){try{Os.brandCheck(e,r)}catch(a){return Promise.reject(a)}if(e=n(e),XV(e))return Promise.reject(new TypeError("Body is unusable: Body has already been read"));let i=kRe(),s=i.reject,o=a=>{try{i.resolve(t(a))}catch(f){s(f)}};return e.body==null?(o(Buffer.allocUnsafe(0)),i.promise):(vRe(e.body,o,s),i.promise)}function XV(e){let t=e.body;return t!=null&&(t.stream.locked||w2.isDisturbed(t.stream))}function zV(e){let t=e.headersList,r=RRe(t);return r==="failure"?null:r}$V.exports={extractBody:KV,safelyExtractBody:qRe,cloneBody:GRe,mixinBody:WRe,streamRegistry:HRe,bodyUnusable:XV}});var uJ=x((p7e,fJ)=>{"use strict";var Oe=Jt(),qe=tr(),{channels:ZV}=Pg(),S2=zQ(),{RequestContentLengthMismatchError:Jc,ResponseContentLengthMismatchError:VRe,RequestAbortedError:sJ,HeadersTimeoutError:JRe,HeadersOverflowError:jRe,SocketError:kp,InformationalError:vh,BodyTimeoutError:zRe,HTTPParserError:KRe,ResponseExceededMaxSizeError:XRe}=wr(),{kUrl:oJ,kReset:Zn,kClient:M2,kParser:yr,kBlocking:Fp,kRunning:wn,kPending:$Re,kSize:eJ,kWriting:uu,kQueue:Hs,kNoRef:Mp,kKeepAliveDefaultTimeout:ZRe,kHostHeader:e2e,kPendingIdx:t2e,kRunningIdx:zi,kError:Ki,kPipelining:EI,kSocket:Rh,kKeepAliveTimeoutValue:bI,kMaxHeadersSize:r2e,kKeepAliveMaxTimeout:n2e,kKeepAliveTimeoutThreshold:i2e,kHeadersTimeout:s2e,kBodyTimeout:o2e,kStrictContentLength:R2,kMaxRequests:tJ,kCounter:a2e,kMaxResponseSize:f2e,kOnError:u2e,kResume:fu,kHTTPContext:aJ,kClosed:D2}=Vn(),qo=a9(),c2e=Buffer.alloc(0),pI=Buffer[Symbol.species],A2e=qe.removeAllListeners,Q2;function l2e(){let e=process.env.JEST_WORKER_ID?Gv():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(c9())}catch{}return t||(t=new WebAssembly.Module(e||Gv())),new WebAssembly.Instance(t,{env:{wasm_on_url:(n,i,s)=>0,wasm_on_status:(n,i,s)=>{Oe(Fr.ptr===n);let o=i-Yo+Go.byteOffset;return Fr.onStatus(new pI(Go.buffer,o,s))},wasm_on_message_begin:n=>(Oe(Fr.ptr===n),Fr.onMessageBegin()),wasm_on_header_field:(n,i,s)=>{Oe(Fr.ptr===n);let o=i-Yo+Go.byteOffset;return Fr.onHeaderField(new pI(Go.buffer,o,s))},wasm_on_header_value:(n,i,s)=>{Oe(Fr.ptr===n);let o=i-Yo+Go.byteOffset;return Fr.onHeaderValue(new pI(Go.buffer,o,s))},wasm_on_headers_complete:(n,i,s,o)=>(Oe(Fr.ptr===n),Fr.onHeadersComplete(i,s===1,o===1)),wasm_on_body:(n,i,s)=>{Oe(Fr.ptr===n);let o=i-Yo+Go.byteOffset;return Fr.onBody(new pI(Go.buffer,o,s))},wasm_on_message_complete:n=>(Oe(Fr.ptr===n),Fr.onMessageComplete())}})}var v2=null,Fr=null,Go=null,yI=0,Yo=null,h2e=0,xp=1,Dh=2|xp,mI=4|xp,T2=8|h2e,N2=class{constructor(t,r,{exports:n}){this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(qo.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[r2e],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=t[f2e]}setTimeout(t,r){t!==this.timeoutValue||r&xp^this.timeoutType&xp?(this.timeout&&(S2.clearTimeout(this.timeout),this.timeout=null),t&&(r&xp?this.timeout=S2.setFastTimeout(rJ,t,new WeakRef(this)):(this.timeout=setTimeout(rJ,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(Fr===null),this.llhttp.llhttp_resume(this.ptr),Oe(this.timeoutType===mI),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||c2e),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let t=this.socket.read();if(t===null)break;this.execute(t)}}execute(t){Oe(Fr===null),Oe(this.ptr!=null),Oe(!this.paused);let{socket:r,llhttp:n}=this;t.length>yI&&(Yo&&n.free(Yo),yI=Math.ceil(t.length/4096)*4096,Yo=n.malloc(yI)),new Uint8Array(n.memory.buffer,Yo,yI).set(t);try{let i;try{Go=t,Fr=this,i=n.llhttp_execute(this.ptr,Yo,t.length)}finally{Fr=null,Go=null}if(i!==qo.ERROR.OK){let s=t.subarray(n.llhttp_get_error_pos(this.ptr)-Yo);if(i===qo.ERROR.PAUSED_UPGRADE)this.onUpgrade(s);else if(i===qo.ERROR.PAUSED)this.paused=!0,r.unshift(s);else{let o=n.llhttp_get_error_reason(this.ptr),a="";if(o){let f=new Uint8Array(n.memory.buffer,o).indexOf(0);a="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,o,f).toString()+")"}throw new KRe(a,qo.ERROR[i],s)}}}catch(i){qe.destroy(r,i)}}destroy(){Oe(Fr===null),Oe(this.ptr!=null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&S2.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[Hs][r[zi]];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 jRe)}onUpgrade(t){let{upgrade:r,client:n,socket:i,headers:s,statusCode:o}=this;Oe(r),Oe(n[Rh]===i),Oe(!i.destroyed),Oe(!this.paused),Oe((s.length&1)===0);let a=n[Hs][n[zi]];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[yr].destroy(),i[yr]=null,i[M2]=null,i[Ki]=null,A2e(i),n[Rh]=null,n[aJ]=null,n[Hs][n[zi]++]=null,n.emit("disconnect",n[oJ],[n],new vh("upgrade"));try{a.onUpgrade(o,s,i)}catch(f){qe.destroy(i,f)}n[fu]()}onHeadersComplete(t,r,n){let{client:i,socket:s,headers:o,statusText:a}=this;if(s.destroyed)return-1;let f=i[Hs][i[zi]];if(!f)return-1;if(Oe(!this.upgrade),Oe(this.statusCode<200),t===100)return qe.destroy(s,new kp("bad response",qe.getSocketInfo(s))),-1;if(r&&!f.upgrade)return qe.destroy(s,new kp("bad upgrade",qe.getSocketInfo(s))),-1;if(Oe(this.timeoutType===Dh),this.statusCode=t,this.shouldKeepAlive=n||f.method==="HEAD"&&!s[Zn]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let c=f.bodyTimeout!=null?f.bodyTimeout:i[o2e];this.setTimeout(c,mI)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(f.method==="CONNECT")return Oe(i[wn]===1),this.upgrade=!0,2;if(r)return Oe(i[wn]===1),this.upgrade=!0,2;if(Oe((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[EI]){let c=this.keepAlive?qe.parseKeepAliveTimeout(this.keepAlive):null;if(c!=null){let h=Math.min(c-i[i2e],i[n2e]);h<=0?s[Zn]=!0:i[bI]=h}else i[bI]=i[ZRe]}else s[Zn]=!0;let u=f.onHeaders(t,o,this.resume,a)===!1;return f.aborted?-1:f.method==="HEAD"||t<200?1:(s[Fp]&&(s[Fp]=!1,i[fu]()),u?qo.ERROR.PAUSED:0)}onBody(t){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let o=r[Hs][r[zi]];return Oe(o),Oe(this.timeoutType===mI),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),Oe(i>=200),s>-1&&this.bytesRead+t.length>s?(qe.destroy(n,new XRe),-1):(this.bytesRead+=t.length,o.onData(t)===!1?qo.ERROR.PAUSED:0)}onMessageComplete(){let{client:t,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:o,bytesRead:a,shouldKeepAlive:f}=this;if(r.destroyed&&(!n||f))return-1;if(i)return 0;Oe(n>=100),Oe((this.headers.length&1)===0);let u=t[Hs][t[zi]];if(Oe(u),this.statusCode=0,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,n<200)return 0;if(u.method!=="HEAD"&&o&&a!==parseInt(o,10))return qe.destroy(r,new VRe),-1;if(u.onComplete(s),t[Hs][t[zi]++]=null,r[uu])return Oe(t[wn]===0),qe.destroy(r,new vh("reset")),qo.ERROR.PAUSED;if(f){if(r[Zn]&&t[wn]===0)return qe.destroy(r,new vh("reset")),qo.ERROR.PAUSED;t[EI]==null||t[EI]===1?setImmediate(t[fu]):t[fu]()}else return qe.destroy(r,new vh("reset")),qo.ERROR.PAUSED;return 0}};function rJ(e){let t=e.deref();if(!t)return;let{socket:r,timeoutType:n,client:i,paused:s}=t;n===Dh?(!r[uu]||r.writableNeedDrain||i[wn]>1)&&(Oe(!s,"cannot be paused while waiting for headers"),qe.destroy(r,new JRe)):n===mI?s||qe.destroy(r,new zRe):n===T2&&(Oe(i[wn]===0&&i[bI]),qe.destroy(r,new vh("socket idle timeout")))}function d2e(e,t){if(e[Rh]=t,v2||(v2=l2e()),t.errored)throw t.errored;if(t.destroyed)throw new kp("destroyed");return t[Mp]=!1,t[uu]=!1,t[Zn]=!1,t[Fp]=!1,t[yr]=new N2(e,t,v2),qe.addListener(t,"error",g2e),qe.addListener(t,"readable",p2e),qe.addListener(t,"end",y2e),qe.addListener(t,"close",E2e),t[D2]=!1,t.on("close",m2e),{version:"h1",defaultPipelining:1,write(r){return B2e(e,r)},resume(){b2e(e)},destroy(r,n){t[D2]?queueMicrotask(n):(t.on("close",n),t.destroy(r))},get destroyed(){return t.destroyed},busy(r){return!!(t[uu]||t[Zn]||t[Fp]||r&&(e[wn]>0&&!r.idempotent||e[wn]>0&&(r.upgrade||r.method==="CONNECT")||e[wn]>0&&qe.bodyLength(r.body)!==0&&(qe.isStream(r.body)||qe.isAsyncIterable(r.body)||qe.isFormDataLike(r.body))))}}}function g2e(e){Oe(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let t=this[yr];if(e.code==="ECONNRESET"&&t.statusCode&&!t.shouldKeepAlive){t.onMessageComplete();return}this[Ki]=e,this[M2][u2e](e)}function p2e(){this[yr]?.readMore()}function y2e(){let e=this[yr];if(e.statusCode&&!e.shouldKeepAlive){e.onMessageComplete();return}qe.destroy(this,new kp("other side closed",qe.getSocketInfo(this)))}function E2e(){let e=this[yr];e&&(!this[Ki]&&e.statusCode&&!e.shouldKeepAlive&&e.onMessageComplete(),this[yr].destroy(),this[yr]=null);let t=this[Ki]||new kp("closed",qe.getSocketInfo(this)),r=this[M2];if(r[Rh]=null,r[aJ]=null,r.destroyed){Oe(r[$Re]===0);let n=r[Hs].splice(r[zi]);for(let i=0;i<n.length;i++){let s=n[i];qe.errorRequest(r,s,t)}}else if(r[wn]>0&&t.code!=="UND_ERR_INFO"){let n=r[Hs][r[zi]];r[Hs][r[zi]++]=null,qe.errorRequest(r,n,t)}r[t2e]=r[zi],Oe(r[wn]===0),r.emit("disconnect",r[oJ],[r],t),r[fu]()}function m2e(){this[D2]=!0}function b2e(e){let t=e[Rh];if(t&&!t.destroyed){if(e[eJ]===0?!t[Mp]&&t.unref&&(t.unref(),t[Mp]=!0):t[Mp]&&t.ref&&(t.ref(),t[Mp]=!1),e[eJ]===0)t[yr].timeoutType!==T2&&t[yr].setTimeout(e[bI],T2);else if(e[wn]>0&&t[yr].statusCode<200&&t[yr].timeoutType!==Dh){let r=e[Hs][e[zi]],n=r.headersTimeout!=null?r.headersTimeout:e[s2e];t[yr].setTimeout(n,Dh)}}}function I2e(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function B2e(e,t){let{method:r,path:n,host:i,upgrade:s,blocking:o,reset:a}=t,{body:f,headers:u,contentLength:c}=t,h=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(qe.isFormDataLike(f)){Q2||(Q2=Qh().extractBody);let[L,U]=Q2(f);t.contentType==null&&u.push("content-type",U),f=L.stream,c=L.length}else qe.isBlobLike(f)&&t.contentType==null&&f.type&&u.push("content-type",f.type);f&&typeof f.read=="function"&&f.read(0);let y=qe.bodyLength(f);if(c=y??c,c===null&&(c=t.contentLength),c===0&&!h&&(c=null),I2e(r)&&c>0&&t.contentLength!==null&&t.contentLength!==c){if(e[R2])return qe.errorRequest(e,t,new Jc),!1;process.emitWarning(new Jc)}let b=e[Rh],S=L=>{t.aborted||t.completed||(qe.errorRequest(e,t,L||new sJ),qe.destroy(f),qe.destroy(b,new vh("aborted")))};try{t.onConnect(S)}catch(L){qe.errorRequest(e,t,L)}if(t.aborted)return!1;r==="HEAD"&&(b[Zn]=!0),(s||r==="CONNECT")&&(b[Zn]=!0),a!=null&&(b[Zn]=a),e[tJ]&&b[a2e]++>=e[tJ]&&(b[Zn]=!0),o&&(b[Fp]=!0),b.setTypeOfService&&b.setTypeOfService(t.typeOfService);let v=`${r} ${n} HTTP/1.1\r
`;if(typeof i=="string"?v+=`host: ${i}\r
`:v+=e[e2e],s?v+=`connection: upgrade\r
upgrade: ${s}\r
`:e[EI]&&!b[Zn]?v+=`connection: keep-alive\r
`:v+=`connection: close\r
`,Array.isArray(u))for(let L=0;L<u.length;L+=2){let U=u[L+0],P=u[L+1];if(Array.isArray(P))for(let Y=0;Y<P.length;Y++)v+=`${U}: ${P[Y]}\r
`;else v+=`${U}: ${P}\r
`}return ZV.sendHeaders.hasSubscribers&&ZV.sendHeaders.publish({request:t,headers:v,socket:b}),!f||y===0?nJ(S,null,e,t,b,c,v,h):qe.isBuffer(f)?nJ(S,f,e,t,b,c,v,h):qe.isBlobLike(f)?typeof f.stream=="function"?iJ(S,f.stream(),e,t,b,c,v,h):_2e(S,f,e,t,b,c,v,h):qe.isStream(f)?C2e(S,f,e,t,b,c,v,h):qe.isIterable(f)?iJ(S,f,e,t,b,c,v,h):Oe(!1),!0}function C2e(e,t,r,n,i,s,o,a){Oe(s!==0||r[wn]===0,"stream body cannot be pipelined");let f=!1,u=new II({abort:e,socket:i,request:n,contentLength:s,client:r,expectsPayload:a,header:o}),c=function(S){if(!f)try{!u.write(S)&&this.pause&&this.pause()}catch(v){qe.destroy(this,v)}},h=function(){f||t.resume&&t.resume()},y=function(){if(queueMicrotask(()=>{t.removeListener("error",b)}),!f){let S=new sJ;queueMicrotask(()=>b(S))}},b=function(S){if(!f){if(f=!0,Oe(i.destroyed||i[uu]&&r[wn]<=1),i.off("drain",h).off("error",b),t.removeListener("data",c).removeListener("end",b).removeListener("close",y),!S)try{u.end()}catch(v){S=v}u.destroy(S),S&&(S.code!=="UND_ERR_INFO"||S.message!=="reset")?qe.destroy(t,S):qe.destroy(t)}};t.on("data",c).on("end",b).on("error",b).on("close",y),t.resume&&t.resume(),i.on("drain",h).on("error",b),t.errorEmitted??t.errored?setImmediate(b,t.errored):(t.endEmitted??t.readableEnded)&&setImmediate(b,null),(t.closeEmitted??t.closed)&&setImmediate(y)}function nJ(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[Zn]=!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[fu]()}catch(f){e(f)}}async function _2e(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 Jc;let f=Buffer.from(await t.arrayBuffer());i.cork(),i.write(`${o}content-length: ${s}\r
\r
`,"latin1"),i.write(f),i.uncork(),n.onBodySent(f),n.onRequestSent(),!a&&n.reset!==!1&&(i[Zn]=!0),r[fu]()}catch(f){e(f)}}async function iJ(e,t,r,n,i,s,o,a){Oe(s!==0||r[wn]===0,"iterator body cannot be pipelined");let f=null;function u(){if(f){let y=f;f=null,y()}}let c=()=>new Promise((y,b)=>{Oe(f===null),i[Ki]?b(i[Ki]):f=y});i.on("close",u).on("drain",u);let h=new II({abort:e,socket:i,request:n,contentLength:s,client:r,expectsPayload:a,header:o});try{for await(let y of t){if(i[Ki])throw i[Ki];h.write(y)||await c()}h.end()}catch(y){h.destroy(y)}finally{i.off("close",u).off("drain",u)}}var II=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[uu]=!0}write(t){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:o,expectsPayload:a,header:f}=this;if(r[Ki])throw r[Ki];if(r.destroyed)return!1;let u=Buffer.byteLength(t);if(!u)return!0;if(i!==null&&o+u>i){if(s[R2])throw new Jc;process.emitWarning(new Jc)}r.cork(),o===0&&(!a&&n.reset!==!1&&(r[Zn]=!0),i===null?r.write(`${f}transfer-encoding: chunked\r
`,"latin1"):r.write(`${f}content-length: ${i}\r
\r
`,"latin1")),i===null&&r.write(`\r
${u.toString(16)}\r
`,"latin1"),this.bytesWritten+=u;let c=r.write(t);return r.uncork(),n.onBodySent(t),c||r[yr].timeout&&r[yr].timeoutType===Dh&&r[yr].timeout.refresh&&r[yr].timeout.refresh(),c}end(){let{socket:t,contentLength:r,client:n,bytesWritten:i,expectsPayload:s,header:o,request:a}=this;if(a.onRequestSent(),t[uu]=!1,t[Ki])throw t[Ki];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[R2])throw new Jc;process.emitWarning(new Jc)}t[yr].timeout&&t[yr].timeoutType===Dh&&t[yr].timeout.refresh&&t[yr].timeout.refresh(),n[fu]()}}destroy(t){let{socket:r,client:n,abort:i}=this;r[uu]=!1,t&&(Oe(n[wn]<=1,"pipeline should only contain this request"),i(t))}};fJ.exports=d2e});var lJ=x((y7e,AJ)=>{"use strict";var cJ={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 x2(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 w2e(){x2("connect")}function S2e(){x2("createServer")}function Q2e(){x2("createSecureServer")}function v2e(){return{maxHeaderListSize:cJ.DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE}}AJ.exports={constants:cJ,connect:w2e,createServer:S2e,createSecureServer:Q2e,getDefaultSettings:v2e}});var IJ=x((E7e,bJ)=>{"use strict";var $i=Jt(),{pipeline:R2e}=(Or(),Lr(dt)),At=tr(),{RequestContentLengthMismatchError:L2,RequestAbortedError:D2e,SocketError:Op,InformationalError:cu,InvalidArgumentError:T2e}=wr(),{kUrl:Pp,kReset:wI,kClient:pi,kRunning:Hp,kPending:N2e,kQueue:Au,kPendingIdx:O2,kRunningIdx:qs,kError:yi,kSocket:lr,kStrictContentLength:M2e,kOnError:Th,kMaxConcurrentStreams:CI,kPingInterval:hJ,kHTTP2Session:Ja,kHTTP2InitialWindowSize:x2e,kHTTP2ConnectionWindowSize:k2e,kResume:Wo,kSize:F2e,kHTTPContext:H2,kClosed:P2,kBodyTimeout:U2e,kEnableConnectProtocol:Up,kRemoteSettings:Lp,kHTTP2Stream:BI,kHTTP2SessionState:q2}=Vn(),{channels:dJ}=Pg(),Xi=Symbol("open streams"),gJ,_I;try{_I=lJ()}catch{_I={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:L2e,HTTP2_HEADER_METHOD:pJ,HTTP2_HEADER_PATH:yJ,HTTP2_HEADER_SCHEME:k2,HTTP2_HEADER_CONTENT_LENGTH:P2e,HTTP2_HEADER_EXPECT:O2e,HTTP2_HEADER_STATUS:F2,HTTP2_HEADER_PROTOCOL:H2e,NGHTTP2_REFUSED_STREAM:q2e,NGHTTP2_CANCEL:G2e}}=_I;function U2(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 Y2e(e,t){e[lr]=t;let r=e[x2e],n=e[k2e],i=_I.connect(e[Pp],{createConnection:()=>t,peerMaxConcurrentStreams:e[CI],settings:{enablePush:!1,...r!=null?{initialWindowSize:r}:null}});return e[lr]=t,i[Xi]=0,i[pi]=e,i[lr]=t,i[q2]={ping:{interval:e[hJ]===0?null:setInterval(j2e,e[hJ],i).unref()}},i[Up]=!1,i[Lp]=!1,n&&At.addListener(i,"connect",V2e.bind(i,n)),At.addListener(i,"error",z2e),At.addListener(i,"frameError",K2e),At.addListener(i,"end",X2e),At.addListener(i,"goaway",$2e),At.addListener(i,"close",Z2e),At.addListener(i,"remoteSettings",J2e),i.unref(),e[Ja]=i,t[Ja]=i,At.addListener(t,"error",tDe),At.addListener(t,"end",rDe),At.addListener(t,"close",eDe),t[P2]=!1,t.on("close",nDe),{version:"h2",defaultPipelining:1/0,write(s){return sDe(e,s)},resume(){W2e(e)},destroy(s,o){t[P2]?queueMicrotask(o):t.destroy(s).on("close",o)},get destroyed(){return t.destroyed},busy(s){if(s!=null)if(e[Hp]>0){if(s.idempotent===!1||(s.upgrade==="websocket"||s.method==="CONNECT")&&i[Lp]===!1||At.bodyLength(s.body)!==0&&(At.isStream(s.body)||At.isAsyncIterable(s.body)||At.isFormDataLike(s.body)))return!0}else return(s.upgrade==="websocket"||s.method==="CONNECT")&&i[Lp]===!1;return!1}}}function W2e(e){let t=e[lr];t?.destroyed===!1&&(e[F2e]===0||e[CI]===0?(t.unref(),e[Ja].unref()):(t.ref(),e[Ja].ref()))}function V2e(e){try{typeof this.setLocalWindowSize=="function"&&this.setLocalWindowSize(e)}catch{}}function J2e(e){if(this[pi][CI]=e.maxConcurrentStreams??this[pi][CI],this[Lp]===!0&&this[Up]===!0&&e.enableConnectProtocol===!1){let t=new cu("HTTP/2: Server disabled extended CONNECT protocol against RFC-8441");this[lr][yi]=t,this[pi][Th](t);return}this[Up]=e.enableConnectProtocol??this[Up],this[Lp]=!0,this[pi][Wo]()}function j2e(e){let t=e[q2];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[pi],o=this[pi];if(n!=null){let a=new cu(`HTTP/2: "PING" errored - type ${n.message}`);o[yi]=a,s[Th](a)}else s.emit("ping",i)}}function z2e(e){$i(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[lr][yi]=e,this[pi][Th](e)}function K2e(e,t,r){if(r===0){let n=new cu(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[lr][yi]=n,this[pi][Th](n)}}function X2e(){let e=new Op("other side closed",At.getSocketInfo(this[lr]));this.destroy(e),At.destroy(this[lr],e)}function $2e(e){let t=this[yi]||new Op(`HTTP/2: "GOAWAY" frame received with code ${e}`,At.getSocketInfo(this[lr])),r=this[pi];if(r[lr]=null,r[H2]=null,this.close(),this[Ja]=null,At.destroy(this[lr],t),r[qs]<r[Au].length){let n=r[Au][r[qs]];r[Au][r[qs]++]=null,At.errorRequest(r,n,t),r[O2]=r[qs]}$i(r[Hp]===0),r.emit("disconnect",r[Pp],[r],t),r.emit("connectionError",r[Pp],[r],t),r[Wo]()}function Z2e(){let{[pi]:e,[q2]:t}=this,{[lr]:r}=e,n=this[lr][yi]||this[yi]||new Op("closed",At.getSocketInfo(r));if(e[lr]=null,e[H2]=null,t.ping.interval!=null&&(clearInterval(t.ping.interval),t.ping.interval=null),e.destroyed){$i(e[N2e]===0);let i=e[Au].splice(e[qs]);for(let s=0;s<i.length;s++){let o=i[s];At.errorRequest(e,o,n)}}}function eDe(){let e=this[yi]||new Op("closed",At.getSocketInfo(this)),t=this[Ja][pi];t[lr]=null,t[H2]=null,this[Ja]!==null&&this[Ja].destroy(e),t[O2]=t[qs],$i(t[Hp]===0),t.emit("disconnect",t[Pp],[t],e),t[Wo]()}function tDe(e){$i(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[yi]=e,this[pi][Th](e)}function rDe(){At.destroy(this,new Op("other side closed",At.getSocketInfo(this)))}function nDe(){this[P2]=!0}function iDe(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function sDe(e,t){let r=t.bodyTimeout??e[U2e],n=e[Ja],{method:i,path:s,host:o,upgrade:a,expectContinue:f,signal:u,protocol:c,headers:h}=t,{body:y}=t;if(a!=null&&a!=="websocket")return At.errorRequest(e,t,new T2e(`Custom upgrade "${a}" not supported over HTTP/2`)),!1;let b={};for(let re=0;re<h.length;re+=2){let ie=h[re+0],oe=h[re+1];if(ie==="cookie"){b[ie]!=null?b[ie]=Array.isArray(b[ie])?(b[ie].push(oe),b[ie]):[b[ie],oe]:b[ie]=oe;continue}if(Array.isArray(oe))for(let O=0;O<oe.length;O++)b[ie]?b[ie]+=`, ${oe[O]}`:b[ie]=oe[O];else b[ie]?b[ie]+=`, ${oe}`:b[ie]=oe}let S=null,{hostname:v,port:L}=e[Pp];b[L2e]=o||`${v}${L?`:${L}`:""}`,b[pJ]=i;let U=re=>{t.aborted||t.completed||(re=re||new D2e,At.errorRequest(e,t,re),S!=null&&(S.removeAllListeners("data"),S.close(),e[Th](re),e[Wo]()),At.destroy(y,re))};try{t.onConnect(U)}catch(re){At.errorRequest(e,t,re)}if(t.aborted)return!1;if(a||i==="CONNECT")return n.ref(),a==="websocket"?n[Up]===!1?(At.errorRequest(e,t,new cu("HTTP/2: Extended CONNECT protocol not supported by server")),n.unref(),!1):(b[pJ]="CONNECT",b[H2e]="websocket",b[yJ]=s,c==="ws:"||c==="wss:"?b[k2]=c==="ws:"?"http":"https":b[k2]=c==="http:"?"http":"https",S=n.request(b,{endStream:!1,signal:u}),S[BI]=!0,S.once("response",(re,ie)=>{let{[F2]:oe,...O}=re;t.onUpgrade(oe,U2(O),S),++n[Xi],e[Au][e[qs]++]=null}),S.on("error",()=>{(S.rstCode===q2e||S.rstCode===G2e)&&U(new cu(`HTTP/2: "stream error" received - code ${S.rstCode}`))}),S.once("close",()=>{n[Xi]-=1,n[Xi]===0&&n.unref()}),S.setTimeout(r),!0):(S=n.request(b,{endStream:!1,signal:u}),S[BI]=!0,S.on("response",re=>{let{[F2]:ie,...oe}=re;t.onUpgrade(ie,U2(oe),S),++n[Xi],e[Au][e[qs]++]=null}),S.once("close",()=>{n[Xi]-=1,n[Xi]===0&&n.unref()}),S.setTimeout(r),!0);b[yJ]=s,b[k2]=c==="http:"?"http":"https";let P=i==="PUT"||i==="POST"||i==="PATCH";y&&typeof y.read=="function"&&y.read(0);let Y=At.bodyLength(y);if(At.isFormDataLike(y)){gJ??(gJ=Qh().extractBody);let[re,ie]=gJ(y);b["content-type"]=ie,y=re.stream,Y=re.length}if(Y==null&&(Y=t.contentLength),P||(Y=null),iDe(i)&&Y>0&&t.contentLength!=null&&t.contentLength!==Y){if(e[M2e])return At.errorRequest(e,t,new L2),!1;process.emitWarning(new L2)}if(Y!=null&&($i(y||Y===0,"no body must not have content length"),b[P2e]=`${Y}`),n.ref(),dJ.sendHeaders.hasSubscribers){let re="";for(let ie in b)re+=`${ie}: ${b[ie]}\r
`;dJ.sendHeaders.publish({request:t,headers:re,socket:n[lr]})}let V=i==="GET"||i==="HEAD"||y===null;f?(b[O2e]="100-continue",S=n.request(b,{endStream:V,signal:u}),S[BI]=!0,S.once("continue",j)):(S=n.request(b,{endStream:V,signal:u}),S[BI]=!0,j()),++n[Xi],S.setTimeout(r);let X=!1;return S.once("response",re=>{let{[F2]:ie,...oe}=re;if(t.onResponseStarted(),X=!0,t.aborted){S.removeAllListeners("data");return}t.onHeaders(Number(ie),U2(oe),S.resume.bind(S),"")===!1&&S.pause(),S.on("data",O=>{t.aborted||t.completed||t.onData(O)===!1&&S.pause()})}),S.once("end",()=>{S.removeAllListeners("data"),X?(!t.aborted&&!t.completed&&t.onComplete({}),e[Au][e[qs]++]=null,e[Wo]()):(U(new cu("HTTP/2: stream half-closed (remote)")),e[Au][e[qs]++]=null,e[O2]=e[qs],e[Wo]())}),S.once("close",()=>{S.removeAllListeners("data"),n[Xi]-=1,n[Xi]===0&&n.unref()}),S.once("error",function(re){S.removeAllListeners("data"),U(re)}),S.once("frameError",(re,ie)=>{S.removeAllListeners("data"),U(new cu(`HTTP/2: "frameError" received - type ${re}, code ${ie}`))}),S.on("aborted",()=>{S.removeAllListeners("data")}),S.on("timeout",()=>{let re=new cu(`HTTP/2: "stream timeout after ${r}"`);S.removeAllListeners("data"),n[Xi]-=1,n[Xi]===0&&n.unref(),U(re)}),S.once("trailers",re=>{t.aborted||t.completed||(S.removeAllListeners("data"),t.onComplete(re))}),!0;function j(){!y||Y===0?EJ(U,S,null,e,t,e[lr],Y,P):At.isBuffer(y)?EJ(U,S,y,e,t,e[lr],Y,P):At.isBlobLike(y)?typeof y.stream=="function"?mJ(U,S,y.stream(),e,t,e[lr],Y,P):aDe(U,S,y,e,t,e[lr],Y,P):At.isStream(y)?oDe(U,e[lr],P,S,y,e,t,Y):At.isIterable(y)?mJ(U,S,y,e,t,e[lr],Y,P):$i(!1)}}function EJ(e,t,r,n,i,s,o,a){try{r!=null&&At.isBuffer(r)&&($i(o===r.byteLength,"buffer body must have content length"),t.cork(),t.write(r),t.uncork(),t.end(),i.onBodySent(r)),a||(s[wI]=!0),i.onRequestSent(),n[Wo]()}catch(f){e(f)}}function oDe(e,t,r,n,i,s,o,a){$i(a!==0||s[Hp]===0,"stream body cannot be pipelined");let f=R2e(i,n,c=>{c?(At.destroy(f,c),e(c)):(At.removeAllListeners(f),o.onRequestSent(),r||(t[wI]=!0),s[Wo]())});At.addListener(f,"data",u);function u(c){o.onBodySent(c)}}async function aDe(e,t,r,n,i,s,o,a){$i(o===r.size,"blob body must have content length");try{if(o!=null&&o!==r.size)throw new L2;let f=Buffer.from(await r.arrayBuffer());t.cork(),t.write(f),t.uncork(),t.end(),i.onBodySent(f),i.onRequestSent(),a||(s[wI]=!0),n[Wo]()}catch(f){e(f)}}async function mJ(e,t,r,n,i,s,o,a){$i(o!==0||n[Hp]===0,"iterator body cannot be pipelined");let f=null;function u(){if(f){let h=f;f=null,h()}}let c=()=>new Promise((h,y)=>{$i(f===null),s[yi]?y(s[yi]):f=h});t.on("close",u).on("drain",u);try{for await(let h of r){if(s[yi])throw s[yi];let y=t.write(h);i.onBodySent(h),y||await c()}t.end(),i.onRequestSent(),a||(s[wI]=!0),n[Wo]()}catch(h){e(h)}finally{t.off("close",u).off("drain",u)}}bJ.exports=Y2e});var QI=x((m7e,RJ)=>{"use strict";var ja=Jt(),wJ=Qg(),qp=xl(),jc=tr(),{ClientStats:fDe}=_v(),{channels:Nh}=Pg(),uDe=e9(),cDe=Om(),{InvalidArgumentError:nr,InformationalError:ADe,ClientDestroyedError:lDe}=wr(),hDe=Ov(),{kUrl:Vo,kServerName:du,kClient:dDe,kBusy:Y2,kConnect:gDe,kResuming:zc,kRunning:Vp,kPending:Jp,kSize:Gp,kQueue:Gs,kConnected:pDe,kConnecting:Mh,kNeedDrain:hu,kKeepAliveDefaultTimeout:BJ,kHostHeader:yDe,kPendingIdx:Ys,kRunningIdx:Ka,kError:EDe,kPipelining:SI,kKeepAliveTimeoutValue:mDe,kMaxHeadersSize:bDe,kKeepAliveMaxTimeout:IDe,kKeepAliveTimeoutThreshold:BDe,kHeadersTimeout:CDe,kBodyTimeout:_De,kStrictContentLength:wDe,kConnector:Yp,kMaxRequests:W2,kCounter:SDe,kClose:QDe,kDestroy:vDe,kDispatch:RDe,kLocalAddress:Wp,kMaxResponseSize:DDe,kOnError:TDe,kHTTPContext:mr,kMaxConcurrentStreams:NDe,kHTTP2InitialWindowSize:MDe,kHTTP2ConnectionWindowSize:xDe,kResume:za,kPingInterval:kDe}=Vn(),FDe=uJ(),UDe=IJ(),lu=Symbol("kClosedResolve"),LDe=qp&&qp.maxHeaderSize&&Number.isInteger(qp.maxHeaderSize)&&qp.maxHeaderSize>0?()=>qp.maxHeaderSize:()=>{throw new nr("http module not available or http.maxHeaderSize invalid")},CJ=()=>{};function SJ(e){return e[SI]??e[mr]?.defaultPipelining??1}var V2=class extends cDe{constructor(t,{maxHeaderSize:r,headersTimeout:n,socketTimeout:i,requestTimeout:s,connectTimeout:o,bodyTimeout:a,idleTimeout:f,keepAlive:u,keepAliveTimeout:c,maxKeepAliveTimeout:h,keepAliveMaxTimeout:y,keepAliveTimeoutThreshold:b,socketPath:S,pipelining:v,tls:L,strictContentLength:U,maxCachedSessions:P,connect:Y,maxRequestsPerClient:V,localAddress:X,maxResponseSize:j,autoSelectFamily:re,autoSelectFamilyAttemptTimeout:ie,maxConcurrentStreams:oe,allowH2:O,useH2c:E,initialWindowSize:R,connectionWindowSize:B,pingInterval:l}={}){if(u!==void 0)throw new nr("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new nr("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(s!==void 0)throw new nr("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(f!==void 0)throw new nr("unsupported idleTimeout, use keepAliveTimeout instead");if(h!==void 0)throw new nr("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(r!=null){if(!Number.isInteger(r)||r<1)throw new nr("invalid maxHeaderSize")}else r=LDe();if(S!=null&&typeof S!="string")throw new nr("invalid socketPath");if(o!=null&&(!Number.isFinite(o)||o<0))throw new nr("invalid connectTimeout");if(c!=null&&(!Number.isFinite(c)||c<=0))throw new nr("invalid keepAliveTimeout");if(y!=null&&(!Number.isFinite(y)||y<=0))throw new nr("invalid keepAliveMaxTimeout");if(b!=null&&!Number.isFinite(b))throw new nr("invalid keepAliveTimeoutThreshold");if(n!=null&&(!Number.isInteger(n)||n<0))throw new nr("headersTimeout must be a positive integer or zero");if(a!=null&&(!Number.isInteger(a)||a<0))throw new nr("bodyTimeout must be a positive integer or zero");if(Y!=null&&typeof Y!="function"&&typeof Y!="object")throw new nr("connect must be a function or an object");if(V!=null&&(!Number.isInteger(V)||V<0))throw new nr("maxRequestsPerClient must be a positive number");if(X!=null&&(typeof X!="string"||wJ.isIP(X)===0))throw new nr("localAddress must be valid string IP address");if(j!=null&&(!Number.isInteger(j)||j<-1))throw new nr("maxResponseSize must be a positive number");if(ie!=null&&(!Number.isInteger(ie)||ie<-1))throw new nr("autoSelectFamilyAttemptTimeout must be a positive number");if(O!=null&&typeof O!="boolean")throw new nr("allowH2 must be a valid boolean value");if(oe!=null&&(typeof oe!="number"||oe<1))throw new nr("maxConcurrentStreams must be a positive integer, greater than 0");if(E!=null&&typeof E!="boolean")throw new nr("useH2c must be a valid boolean value");if(R!=null&&(!Number.isInteger(R)||R<1))throw new nr("initialWindowSize must be a positive integer, greater than 0");if(B!=null&&(!Number.isInteger(B)||B<1))throw new nr("connectionWindowSize must be a positive integer, greater than 0");if(l!=null&&(typeof l!="number"||!Number.isInteger(l)||l<0))throw new nr("pingInterval must be a positive integer, greater or equal to 0");if(super(),typeof Y!="function")Y=hDe({...L,maxCachedSessions:P,allowH2:O,useH2c:E,socketPath:S,timeout:o,...typeof re=="boolean"?{autoSelectFamily:re,autoSelectFamilyAttemptTimeout:ie}:void 0,...Y});else if(S!=null){let p=Y;Y=(Q,D)=>p({...Q,socketPath:S},D)}this[Vo]=jc.parseOrigin(t),this[Yp]=Y,this[SI]=v??1,this[bDe]=r,this[BJ]=c??4e3,this[IDe]=y??6e5,this[BDe]=b??2e3,this[mDe]=this[BJ],this[du]=null,this[Wp]=X??null,this[zc]=0,this[hu]=0,this[yDe]=`host: ${this[Vo].hostname}${this[Vo].port?`:${this[Vo].port}`:""}\r
`,this[_De]=a??3e5,this[CDe]=n??3e5,this[wDe]=U??!0,this[W2]=V,this[lu]=null,this[DDe]=j>-1?j:-1,this[mr]=null,this[NDe]=oe??100,this[MDe]=R??262144,this[xDe]=B??524288,this[kDe]=l??6e4,this[Gs]=[],this[Ka]=0,this[Ys]=0,this[za]=p=>J2(this,p),this[TDe]=p=>QJ(this,p)}get pipelining(){return this[SI]}set pipelining(t){this[SI]=t,this[za](!0)}get stats(){return new fDe(this)}get[Jp](){return this[Gs].length-this[Ys]}get[Vp](){return this[Ys]-this[Ka]}get[Gp](){return this[Gs].length-this[Ka]}get[pDe](){return!!this[mr]&&!this[Mh]&&!this[mr].destroyed}get[Y2](){return!!(this[mr]?.busy(null)||this[Gp]>=(SJ(this)||1)||this[Jp]>0)}[gDe](t){vJ(this),this.once("connect",t)}[RDe](t,r){let n=new uDe(this[Vo].origin,t,r);return this[Gs].push(n),this[zc]||(jc.bodyLength(n.body)==null&&jc.isIterable(n.body)?(this[zc]=1,queueMicrotask(()=>J2(this))):this[za](!0)),this[zc]&&this[hu]!==2&&this[Y2]&&(this[hu]=2),this[hu]<2}[QDe](){return new Promise(t=>{this[Gp]?this[lu]=t:t(null)})}[vDe](t){return new Promise(r=>{let n=this[Gs].splice(this[Ys]);for(let s=0;s<n.length;s++){let o=n[s];jc.errorRequest(this,o,t)}let i=()=>{this[lu]&&(this[lu](),this[lu]=null),r(null)};this[mr]?(this[mr].destroy(t,i),this[mr]=null):queueMicrotask(i),this[za]()})}};function QJ(e,t){if(e[Vp]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){ja(e[Ys]===e[Ka]);let r=e[Gs].splice(e[Ka]);for(let n=0;n<r.length;n++){let i=r[n];jc.errorRequest(e,i,t)}ja(e[Gp]===0)}}function vJ(e){ja(!e[Mh]),ja(!e[mr]);let{host:t,hostname:r,protocol:n,port:i}=e[Vo];if(r[0]==="["){let s=r.indexOf("]");ja(s!==-1);let o=r.substring(1,s);ja(wJ.isIPv6(o)),r=o}e[Mh]=!0,Nh.beforeConnect.hasSubscribers&&Nh.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:n,port:i,version:e[mr]?.version,servername:e[du],localAddress:e[Wp]},connector:e[Yp]});try{e[Yp]({host:t,hostname:r,protocol:n,port:i,servername:e[du],localAddress:e[Wp]},(s,o)=>{if(s){G2(e,s,{host:t,hostname:r,protocol:n,port:i}),e[za]();return}if(e.destroyed){jc.destroy(o.on("error",CJ),new lDe),e[za]();return}ja(o);try{e[mr]=o.alpnProtocol==="h2"?UDe(e,o):FDe(e,o)}catch(a){o.destroy().on("error",CJ),G2(e,a,{host:t,hostname:r,protocol:n,port:i}),e[za]();return}e[Mh]=!1,o[SDe]=0,o[W2]=e[W2],o[dDe]=e,o[EDe]=null,Nh.connected.hasSubscribers&&Nh.connected.publish({connectParams:{host:t,hostname:r,protocol:n,port:i,version:e[mr]?.version,servername:e[du],localAddress:e[Wp]},connector:e[Yp],socket:o}),e.emit("connect",e[Vo],[e]),e[za]()})}catch(s){G2(e,s,{host:t,hostname:r,protocol:n,port:i}),e[za]()}}function G2(e,t,{host:r,hostname:n,protocol:i,port:s}){if(!e.destroyed){if(e[Mh]=!1,Nh.connectError.hasSubscribers&&Nh.connectError.publish({connectParams:{host:r,hostname:n,protocol:i,port:s,version:e[mr]?.version,servername:e[du],localAddress:e[Wp]},connector:e[Yp],error:t}),t.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(ja(e[Vp]===0);e[Jp]>0&&e[Gs][e[Ys]].servername===e[du];){let o=e[Gs][e[Ys]++];jc.errorRequest(e,o,t)}else QJ(e,t);e.emit("connectionError",e[Vo],[e],t)}}function _J(e){e[hu]=0,e.emit("drain",e[Vo],[e])}function J2(e,t){e[zc]!==2&&(e[zc]=2,PDe(e,t),e[zc]=0,e[Ka]>256&&(e[Gs].splice(0,e[Ka]),e[Ys]-=e[Ka],e[Ka]=0))}function PDe(e,t){for(;;){if(e.destroyed){ja(e[Jp]===0);return}if(e[lu]&&!e[Gp]){e[lu](),e[lu]=null;return}if(e[mr]&&e[mr].resume(),e[Y2])e[hu]=2;else if(e[hu]===2){t?(e[hu]=1,queueMicrotask(()=>_J(e))):_J(e);continue}if(e[Jp]===0||e[Vp]>=(SJ(e)||1))return;let r=e[Gs][e[Ys]];if(r===null)return;if(e[Vo].protocol==="https:"&&e[du]!==r.servername){if(e[Vp]>0)return;e[du]=r.servername,e[mr]?.destroy(new ADe("servername changed"),()=>{e[mr]=null,J2(e)})}if(e[Mh])return;if(!e[mr]){vJ(e);return}if(e[mr].destroyed||e[mr].busy(r))return;!r.aborted&&e[mr].write(r)?e[Ys]++:e[Gs].splice(e[Ys],1)}}RJ.exports=V2});var xJ=x((b7e,MJ)=>{"use strict";var{PoolBase:ODe,kClients:vI,kNeedDrain:HDe,kAddClient:qDe,kGetDispatcher:GDe,kRemoveClient:YDe}=VO(),WDe=QI(),{InvalidArgumentError:j2}=wr(),DJ=tr(),{kUrl:TJ}=Vn(),VDe=Ov(),RI=Symbol("options"),z2=Symbol("connections"),NJ=Symbol("factory");function JDe(e,t){return new WDe(e,t)}var K2=class extends ODe{constructor(t,{connections:r,factory:n=JDe,connect:i,connectTimeout:s,tls:o,maxCachedSessions:a,socketPath:f,autoSelectFamily:u,autoSelectFamilyAttemptTimeout:c,allowH2:h,clientTtl:y,...b}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new j2("invalid connections");if(typeof n!="function")throw new j2("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new j2("connect must be a function or an object");typeof i!="function"&&(i=VDe({...o,maxCachedSessions:a,allowH2:h,socketPath:f,timeout:s,...typeof u=="boolean"?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(),this[z2]=r||null,this[TJ]=DJ.parseOrigin(t),this[RI]={...DJ.deepClone(b),connect:i,allowH2:h,clientTtl:y,socketPath:f},this[RI].interceptors=b.interceptors?{...b.interceptors}:void 0,this[NJ]=n,this.on("connect",(S,v)=>{if(y!=null&&y>0)for(let L of v)Object.assign(L,{ttl:Date.now()})}),this.on("connectionError",(S,v,L)=>{for(let U of v){let P=this[vI].indexOf(U);P!==-1&&this[vI].splice(P,1)}})}[GDe](){let t=this[RI].clientTtl;for(let r of this[vI])if(t!=null&&t>0&&r.ttl&&Date.now()-r.ttl>t)this[YDe](r);else if(!r[HDe])return r;if(!this[z2]||this[vI].length<this[z2]){let r=this[NJ](this[TJ],this[RI]);return this[qDe](r),r}}};MJ.exports=K2});var Z2=x((I7e,HJ)=>{"use strict";var{InvalidArgumentError:DI,MaxOriginsReachedError:jDe}=wr(),{kClients:Zi,kRunning:kJ,kClose:zDe,kDestroy:KDe,kDispatch:XDe,kUrl:$De}=Vn(),ZDe=Om(),eTe=xJ(),tTe=QI(),rTe=tr(),FJ=Symbol("onConnect"),UJ=Symbol("onDisconnect"),LJ=Symbol("onConnectionError"),PJ=Symbol("onDrain"),OJ=Symbol("factory"),X2=Symbol("options"),jp=Symbol("origins");function nTe(e,t){return t&&t.connections===1?new tTe(e,t):new eTe(e,t)}var $2=class extends ZDe{constructor({factory:t=nTe,maxOrigins:r=1/0,connect:n,...i}={}){if(typeof t!="function")throw new DI("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new DI("connect must be a function or an object");if(typeof r!="number"||Number.isNaN(r)||r<=0)throw new DI("maxOrigins must be a number greater than 0");super(),n&&typeof n!="function"&&(n={...n}),this[X2]={...rTe.deepClone(i),maxOrigins:r,connect:n},this[OJ]=t,this[Zi]=new Map,this[jp]=new Set,this[PJ]=(s,o)=>{this.emit("drain",s,[this,...o])},this[FJ]=(s,o)=>{this.emit("connect",s,[this,...o])},this[UJ]=(s,o,a)=>{this.emit("disconnect",s,[this,...o],a)},this[LJ]=(s,o,a)=>{this.emit("connectionError",s,[this,...o],a)}}get[kJ](){let t=0;for(let{dispatcher:r}of this[Zi].values())t+=r[kJ];return t}[XDe](t,r){let n;if(t.origin&&(typeof t.origin=="string"||t.origin instanceof URL))n=String(t.origin);else throw new DI("opts.origin must be a non-empty string or URL.");if(this[jp].size>=this[X2].maxOrigins&&!this[jp].has(n))throw new jDe;let i=this[Zi].get(n),s=i&&i.dispatcher;if(!s){let o=a=>{let f=this[Zi].get(n);f&&(a&&(f.count-=1),f.count<=0&&(this[Zi].delete(n),f.dispatcher.destroyed||f.dispatcher.close()),this[jp].delete(n))};s=this[OJ](t.origin,this[X2]).on("drain",this[PJ]).on("connect",(a,f)=>{let u=this[Zi].get(n);u&&(u.count+=1),this[FJ](a,f)}).on("disconnect",(a,f,u)=>{o(!0),this[UJ](a,f,u)}).on("connectionError",(a,f,u)=>{o(!1),this[LJ](a,f,u)}),this[Zi].set(n,{count:0,dispatcher:s}),this[jp].add(n)}return s.dispatch(t,r)}[zDe](){let t=[];for(let{dispatcher:r}of this[Zi].values())t.push(r.close());return this[Zi].clear(),Promise.all(t)}[KDe](t){let r=[];for(let{dispatcher:n}of this[Zi].values())r.push(n.destroy(t));return this[Zi].clear(),Promise.all(r)}get stats(){let t={};for(let{dispatcher:r}of this[Zi].values())r.stats&&(t[r[$De].origin]=r.stats);return t}};HJ.exports=$2});var Kp=x((B7e,jJ)=>{"use strict";var{kConstruct:iTe}=Vn(),{kEnumerableProperty:xh}=tr(),{iteratorMixin:sTe,isValidHeaderName:zp,isValidHeaderValue:GJ}=Vc(),{webidl:Bt}=Ho(),eD=Jt(),TI=yn();function qJ(e){return e===10||e===13||e===9||e===32}function YJ(e){let t=0,r=e.length;for(;r>t&&qJ(e.charCodeAt(r-1));)--r;for(;r>t&&qJ(e.charCodeAt(t));)++t;return t===0&&r===e.length?e:e.substring(t,r)}function WJ(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}.`});tD(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)tD(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 tD(e,t,r){if(r=YJ(r),zp(t)){if(!GJ(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(JJ(e)==="immutable")throw new TypeError("immutable");return MI(e).append(t,r,!1)}function oTe(e){let t=MI(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 f=0;f<i.length;++f)r.push([o,i[f]]);else r.push([o,a])}return t.sortedMap=r}function VJ(e,t){return e[0]<t[0]?-1:1}var NI=class e{constructor(t){m(this,"cookies",null);m(this,"sortedMap");m(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],eD(i[1].value!==null);for(let s=1,o=0,a=0,f=0,u=0,c,h;s<t;++s){for(h=n.next().value,c=r[s]=[h[0],h[1].value],eD(c[1]!==null),f=0,a=s;f<a;)u=f+(a-f>>1),r[u][0]<=c[0]?f=u+1:a=u;if(s!==u){for(o=s;o>f;)r[o]=r[--o];r[f]=c}}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],eD(s!==null);return r.sort(VJ)}}},pu,Ei,gu=class gu{constructor(t=void 0){vt(this,pu);vt(this,Ei);Bt.util.markAsUncloneable(this),t!==iTe&&(ft(this,Ei,new NI),ft(this,pu,"none"),t!==void 0&&(t=Bt.converters.HeadersInit(t,"Headers constructor","init"),WJ(this,t)))}append(t,r){Bt.brandCheck(this,gu),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"),tD(this,t,r)}delete(t){if(Bt.brandCheck(this,gu),Bt.argumentLengthCheck(arguments,1,"Headers.delete"),t=Bt.converters.ByteString(t,"Headers.delete","name"),!zp(t))throw Bt.errors.invalidArgument({prefix:"Headers.delete",value:t,type:"header name"});if(te(this,pu)==="immutable")throw new TypeError("immutable");te(this,Ei).contains(t,!1)&&te(this,Ei).delete(t,!1)}get(t){Bt.brandCheck(this,gu),Bt.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(t=Bt.converters.ByteString(t,r,"name"),!zp(t))throw Bt.errors.invalidArgument({prefix:r,value:t,type:"header name"});return te(this,Ei).get(t,!1)}has(t){Bt.brandCheck(this,gu),Bt.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(t=Bt.converters.ByteString(t,r,"name"),!zp(t))throw Bt.errors.invalidArgument({prefix:r,value:t,type:"header name"});return te(this,Ei).contains(t,!1)}set(t,r){Bt.brandCheck(this,gu),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=YJ(r),zp(t)){if(!GJ(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,pu)==="immutable")throw new TypeError("immutable");te(this,Ei).set(t,r,!1)}getSetCookie(){Bt.brandCheck(this,gu);let t=te(this,Ei).cookies;return t?[...t]:[]}[TI.inspect.custom](t,r){return r.depth??(r.depth=t),`Headers ${TI.formatWithOptions(r,te(this,Ei).entries)}`}static getHeadersGuard(t){return te(t,pu)}static setHeadersGuard(t,r){ft(t,pu,r)}static getHeadersList(t){return te(t,Ei)}static setHeadersList(t,r){ft(t,Ei,r)}};pu=new WeakMap,Ei=new WeakMap;var Ws=gu,{getHeadersGuard:JJ,setHeadersGuard:aTe,getHeadersList:MI,setHeadersList:fTe}=Ws;Reflect.deleteProperty(Ws,"getHeadersGuard");Reflect.deleteProperty(Ws,"setHeadersGuard");Reflect.deleteProperty(Ws,"getHeadersList");Reflect.deleteProperty(Ws,"setHeadersList");sTe("Headers",Ws,oTe,0,1);Object.defineProperties(Ws.prototype,{append:xh,delete:xh,get:xh,has:xh,set:xh,getSetCookie:xh,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[TI.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(!TI.types.isProxy(e)&&n===Ws.prototype.entries)try{return MI(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>"]})};jJ.exports={fill:WJ,compareHeaderName:VJ,Headers:Ws,HeadersList:NI,getHeadersGuard:JJ,setHeadersGuard:aTe,setHeadersList:fTe,getHeadersList:MI}});var iD=x((_7e,oj)=>{"use strict";var{Headers:ej,HeadersList:zJ,fill:uTe,getHeadersGuard:cTe,setHeadersGuard:tj,setHeadersList:rj}=Kp(),{extractBody:KJ,cloneBody:ATe,mixinBody:lTe,streamRegistry:nj,bodyUnusable:hTe}=Qh(),ij=tr(),XJ=yn(),{kEnumerableProperty:mi}=ij,{isValidReasonPhrase:dTe,isCancelled:gTe,isAborted:pTe,isErrorLike:yTe,environmentSettingsObject:ETe}=Vc(),{redirectStatusSet:mTe,nullBodyStatus:bTe}=Hg(),{webidl:mt}=Ho(),{URLSerializer:$J}=pc(),{kConstruct:kI}=Vn(),rD=Jt(),{isomorphicEncode:ITe,serializeJavascriptValueToJSONString:BTe}=gc(),CTe=new TextEncoder("utf-8"),Jo,ir,es=class es{constructor(t=null,r=void 0){vt(this,Jo);vt(this,ir);if(mt.util.markAsUncloneable(this),t===kI)return;t!==null&&(t=mt.converters.BodyInit(t,"Response","body")),r=mt.converters.ResponseInit(r),ft(this,ir,kh({})),ft(this,Jo,new ej(kI)),tj(te(this,Jo),"response"),rj(te(this,Jo),te(this,ir).headersList);let n=null;if(t!=null){let[i,s]=KJ(t);n={body:i,type:s}}ZJ(this,r,n)}static error(){return Xp(FI(),"immutable")}static json(t,r=void 0){mt.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=mt.converters.ResponseInit(r));let n=CTe.encode(BTe(t)),i=KJ(n),s=Xp(kh({}),"response");return ZJ(s,r,{body:i[0],type:"application/json"}),s}static redirect(t,r=302){mt.argumentLengthCheck(arguments,1,"Response.redirect"),t=mt.converters.USVString(t),r=mt.converters["unsigned short"](r);let n;try{n=new URL(t,ETe.settingsObject.baseUrl)}catch(o){throw new TypeError(`Failed to parse URL from ${t}`,{cause:o})}if(!mTe.has(r))throw new RangeError(`Invalid status code ${r}`);let i=Xp(kh({}),"immutable");te(i,ir).status=r;let s=ITe($J(n));return te(i,ir).headersList.append("location",s,!0),i}get type(){return mt.brandCheck(this,es),te(this,ir).type}get url(){mt.brandCheck(this,es);let t=te(this,ir).urlList,r=t[t.length-1]??null;return r===null?"":$J(r,!0)}get redirected(){return mt.brandCheck(this,es),te(this,ir).urlList.length>1}get status(){return mt.brandCheck(this,es),te(this,ir).status}get ok(){return mt.brandCheck(this,es),te(this,ir).status>=200&&te(this,ir).status<=299}get statusText(){return mt.brandCheck(this,es),te(this,ir).statusText}get headers(){return mt.brandCheck(this,es),te(this,Jo)}get body(){return mt.brandCheck(this,es),te(this,ir).body?te(this,ir).body.stream:null}get bodyUsed(){return mt.brandCheck(this,es),!!te(this,ir).body&&ij.isDisturbed(te(this,ir).body.stream)}clone(){if(mt.brandCheck(this,es),hTe(te(this,ir)))throw mt.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let t=nD(te(this,ir));return te(this,ir).urlList.length!==0&&te(this,ir).body?.stream&&nj.register(this,new WeakRef(te(this,ir).body.stream)),Xp(t,cTe(te(this,Jo)))}[XJ.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 ${XJ.formatWithOptions(r,n)}`}static getResponseHeaders(t){return te(t,Jo)}static setResponseHeaders(t,r){ft(t,Jo,r)}static getResponseState(t){return te(t,ir)}static setResponseState(t,r){ft(t,ir,r)}};Jo=new WeakMap,ir=new WeakMap;var bi=es,{getResponseHeaders:_Te,setResponseHeaders:wTe,getResponseState:Kc,setResponseState:STe}=bi;Reflect.deleteProperty(bi,"getResponseHeaders");Reflect.deleteProperty(bi,"setResponseHeaders");Reflect.deleteProperty(bi,"getResponseState");Reflect.deleteProperty(bi,"setResponseState");lTe(bi,Kc);Object.defineProperties(bi.prototype,{type:mi,url:mi,status:mi,ok:mi,redirected:mi,statusText:mi,headers:mi,clone:mi,body:mi,bodyUsed:mi,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(bi,{json:mi,redirect:mi,error:mi});function nD(e){if(e.internalResponse)return sj(nD(e.internalResponse),e.type);let t=kh({...e,body:null});return e.body!=null&&(t.body=ATe(e.body)),t}function kh(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new zJ(e?.headersList):new zJ,urlList:e?.urlList?[...e.urlList]:[]}}function FI(e){let t=yTe(e);return kh({type:"error",status:0,error:t?e:new Error(e&&String(e)),aborted:e&&e.name==="AbortError"})}function QTe(e){return e.type==="error"&&e.status===0}function xI(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 rD(!(n in t)),r[n]=i,!0}})}function sj(e,t){if(t==="basic")return xI(e,{type:"basic",headersList:e.headersList});if(t==="cors")return xI(e,{type:"cors",headersList:e.headersList});if(t==="opaque")return xI(e,{type:"opaque",urlList:[],status:0,statusText:"",body:null});if(t==="opaqueredirect")return xI(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});rD(!1)}function vTe(e,t=null){return rD(gTe(e)),pTe(e)?FI(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):FI(Object.assign(new DOMException("Request was cancelled."),{cause:t}))}function ZJ(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&&!dTe(String(t.statusText)))throw new TypeError("Invalid statusText");if("status"in t&&t.status!=null&&(Kc(e).status=t.status),"statusText"in t&&t.statusText!=null&&(Kc(e).statusText=t.statusText),"headers"in t&&t.headers!=null&&uTe(_Te(e),t.headers),r){if(bTe.includes(e.status))throw mt.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`});Kc(e).body=r.body,r.type!=null&&!Kc(e).headersList.contains("content-type",!0)&&Kc(e).headersList.append("content-type",r.type,!0)}}function Xp(e,t){let r=new bi(kI);STe(r,e);let n=new ej(kI);return wTe(r,n),rj(n,e.headersList),tj(n,t),e.urlList.length!==0&&e.body?.stream&&nj.register(r,new WeakRef(e.body.stream)),r}mt.converters.XMLHttpRequestBodyInit=function(e,t,r){return typeof e=="string"?mt.converters.USVString(e,t,r):mt.is.Blob(e)||mt.is.BufferSource(e)||mt.is.FormData(e)||mt.is.URLSearchParams(e)?e:mt.converters.DOMString(e,t,r)};mt.converters.BodyInit=function(e,t,r){return mt.is.ReadableStream(e)||e?.[Symbol.asyncIterator]?e:mt.converters.XMLHttpRequestBodyInit(e,t,r)};mt.converters.ResponseInit=mt.dictionaryConverter([{key:"status",converter:mt.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:mt.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:mt.converters.HeadersInit}]);mt.is.Response=mt.util.MakeTypeAssertion(bi);oj.exports={isNetworkError:QTe,makeNetworkError:FI,makeResponse:kh,makeAppropriateNetworkError:vTe,filterResponse:sj,Response:bi,cloneResponse:nD,fromInnerResponse:Xp,getResponseState:Kc}});var aD=x((S7e,bj)=>{"use strict";var{extractBody:RTe,mixinBody:DTe,cloneBody:TTe,bodyUnusable:aj}=Qh(),{Headers:hj,fill:NTe,HeadersList:PI,setHeadersGuard:sD,getHeadersGuard:MTe,setHeadersList:dj,getHeadersList:fj}=Kp(),LI=tr(),uj=yn(),{isValidHTTPToken:xTe,sameOrigin:cj,environmentSettingsObject:UI}=Vc(),{forbiddenMethodsSet:kTe,corsSafeListedMethodsSet:FTe,referrerPolicy:UTe,requestRedirect:LTe,requestMode:PTe,requestCredentials:OTe,requestCache:HTe,requestDuplex:qTe}=Hg(),{kEnumerableProperty:vr,normalizedMethodRecordsBase:GTe,normalizedMethodRecords:YTe}=LI,{webidl:xe}=Ho(),{URLSerializer:WTe}=pc(),{kConstruct:OI}=Vn(),VTe=Jt(),{getMaxListeners:gj,setMaxListeners:JTe,defaultMaxListeners:jTe}=Yn(),zTe=Symbol("abortController"),pj=new FinalizationRegistry(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),HI=new WeakMap,oD;try{oD=gj(new AbortController().signal)>0}catch{oD=!1}function Aj(e){return t;function t(){let r=e.deref();if(r!==void 0){pj.unregister(t),this.removeEventListener("abort",t),r.abort(this.reason);let n=HI.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()}HI.delete(r.signal)}}}}var lj=!1,Xc,Xa,ei,Tt,br=class br{constructor(t,r=void 0){vt(this,Xc);vt(this,Xa);vt(this,ei);vt(this,Tt);if(xe.util.markAsUncloneable(this),t===OI)return;xe.argumentLengthCheck(arguments,1,"Request constructor"),t=xe.converters.RequestInfo(t),r=xe.converters.RequestInit(r);let i=null,s=null,o=UI.settingsObject.baseUrl,a=null;if(typeof t=="string"){ft(this,Xa,r.dispatcher);let U;try{U=new URL(t,o)}catch(P){throw new TypeError("Failed to parse URL from "+t,{cause:P})}if(U.username||U.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+t);i=qI({urlList:[U]}),s="cors"}else VTe(xe.is.Request(t)),i=te(t,Tt),a=te(t,Xc),ft(this,Xa,r.dispatcher||te(t,Xa));let f=UI.settingsObject.origin,u="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&cj(i.window,f)&&(u=i.window),r.window!=null)throw new TypeError(`'window' option '${u}' must be null`);"window"in r&&(u="no-window"),i=qI({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:UI.settingsObject,window:u,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 c=Object.keys(r).length!==0;if(c&&(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 P;try{P=new URL(U,o)}catch(Y){throw new TypeError(`Referrer "${U}" is not a valid URL.`,{cause:Y})}P.protocol==="about:"&&P.hostname==="client"||f&&!cj(P,UI.settingsObject.baseUrl)?i.referrer="client":i.referrer=P}}r.referrerPolicy!==void 0&&(i.referrerPolicy=r.referrerPolicy);let h;if(r.mode!==void 0?h=r.mode:h=s,h==="navigate")throw xe.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(h!=null&&(i.mode=h),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,P=YTe[U];if(P!==void 0)i.method=P;else{if(!xTe(U))throw new TypeError(`'${U}' is not a valid HTTP method.`);let Y=U.toUpperCase();if(kTe.has(Y))throw new TypeError(`'${U}' HTTP method is unsupported.`);U=GTe[Y]??U,i.method=U}!lj&&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"}),lj=!0)}r.signal!==void 0&&(a=r.signal),ft(this,Tt,i);let y=new AbortController;if(ft(this,Xc,y.signal),a!=null)if(a.aborted)y.abort(a.reason);else{this[zTe]=y;let U=new WeakRef(y),P=Aj(U);oD&&gj(a)===jTe&&JTe(1500,a),LI.addAbortListener(a,P),pj.register(y,{signal:a,abort:P},P)}if(ft(this,ei,new hj(OI)),dj(te(this,ei),i.headersList),sD(te(this,ei),"request"),h==="no-cors"){if(!FTe.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);sD(te(this,ei),"request-no-cors")}if(c){let U=fj(te(this,ei)),P=r.headers!==void 0?r.headers:new PI(U);if(U.clear(),P instanceof PI){for(let{name:Y,value:V}of P.rawValues())U.append(Y,V,!1);U.cookies=P.cookies}else NTe(te(this,ei),P)}let b=xe.is.Request(t)?te(t,Tt).body:null;if((r.body!=null||b!=null)&&(i.method==="GET"||i.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let S=null;if(r.body!=null){let[U,P]=RTe(r.body,i.keepalive);S=U,P&&!fj(te(this,ei)).contains("content-type",!0)&&te(this,ei).append("content-type",P,!0)}let v=S??b;if(v!=null&&v.source==null){if(S!=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 L=v;if(S==null&&b!=null){if(aj(te(t,Tt)))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let U=new TransformStream;b.stream.pipeThrough(U),L={source:b.source,length:b.length,stream:U.readable}}te(this,Tt).body=L}get method(){return xe.brandCheck(this,br),te(this,Tt).method}get url(){return xe.brandCheck(this,br),WTe(te(this,Tt).url)}get headers(){return xe.brandCheck(this,br),te(this,ei)}get destination(){return xe.brandCheck(this,br),te(this,Tt).destination}get referrer(){return xe.brandCheck(this,br),te(this,Tt).referrer==="no-referrer"?"":te(this,Tt).referrer==="client"?"about:client":te(this,Tt).referrer.toString()}get referrerPolicy(){return xe.brandCheck(this,br),te(this,Tt).referrerPolicy}get mode(){return xe.brandCheck(this,br),te(this,Tt).mode}get credentials(){return xe.brandCheck(this,br),te(this,Tt).credentials}get cache(){return xe.brandCheck(this,br),te(this,Tt).cache}get redirect(){return xe.brandCheck(this,br),te(this,Tt).redirect}get integrity(){return xe.brandCheck(this,br),te(this,Tt).integrity}get keepalive(){return xe.brandCheck(this,br),te(this,Tt).keepalive}get isReloadNavigation(){return xe.brandCheck(this,br),te(this,Tt).reloadNavigation}get isHistoryNavigation(){return xe.brandCheck(this,br),te(this,Tt).historyNavigation}get signal(){return xe.brandCheck(this,br),te(this,Xc)}get body(){return xe.brandCheck(this,br),te(this,Tt).body?te(this,Tt).body.stream:null}get bodyUsed(){return xe.brandCheck(this,br),!!te(this,Tt).body&&LI.isDisturbed(te(this,Tt).body.stream)}get duplex(){return xe.brandCheck(this,br),"half"}clone(){if(xe.brandCheck(this,br),aj(te(this,Tt)))throw new TypeError("unusable");let t=Ej(te(this,Tt)),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=HI.get(this.signal);n===void 0&&(n=new Set,HI.set(this.signal,n));let i=new WeakRef(r);n.add(i),LI.addAbortListener(r.signal,Aj(i))}return mj(t,te(this,Xa),r.signal,MTe(te(this,ei)))}[uj.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 ${uj.formatWithOptions(r,n)}`}static setRequestSignal(t,r){return ft(t,Xc,r),t}static getRequestDispatcher(t){return te(t,Xa)}static setRequestDispatcher(t,r){ft(t,Xa,r)}static setRequestHeaders(t,r){ft(t,ei,r)}static getRequestState(t){return te(t,Tt)}static setRequestState(t,r){ft(t,Tt,r)}};Xc=new WeakMap,Xa=new WeakMap,ei=new WeakMap,Tt=new WeakMap;var ti=br,{setRequestSignal:KTe,getRequestDispatcher:XTe,setRequestDispatcher:$Te,setRequestHeaders:ZTe,getRequestState:yj,setRequestState:eNe}=ti;Reflect.deleteProperty(ti,"setRequestSignal");Reflect.deleteProperty(ti,"getRequestDispatcher");Reflect.deleteProperty(ti,"setRequestDispatcher");Reflect.deleteProperty(ti,"setRequestHeaders");Reflect.deleteProperty(ti,"getRequestState");Reflect.deleteProperty(ti,"setRequestState");DTe(ti,yj);function qI(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 PI(e.headersList):new PI}}function Ej(e){let t=qI({...e,body:null});return e.body!=null&&(t.body=TTe(e.body)),t}function mj(e,t,r,n){let i=new ti(OI);eNe(i,e),$Te(i,t),KTe(i,r);let s=new hj(OI);return ZTe(i,s),dj(s,e.headersList),sD(s,n),i}Object.defineProperties(ti.prototype,{method:vr,url:vr,headers:vr,redirect:vr,clone:vr,signal:vr,duplex:vr,destination:vr,body:vr,bodyUsed:vr,isHistoryNavigation:vr,isReloadNavigation:vr,keepalive:vr,integrity:vr,cache:vr,credentials:vr,attribute:vr,referrerPolicy:vr,referrer:vr,mode:vr,[Symbol.toStringTag]:{value:"Request",configurable:!0}});xe.is.Request=xe.util.MakeTypeAssertion(ti);xe.converters.RequestInfo=function(e){return typeof e=="string"?xe.converters.USVString(e):xe.is.Request(e)?e:xe.converters.USVString(e)};xe.converters.RequestInit=xe.dictionaryConverter([{key:"method",converter:xe.converters.ByteString},{key:"headers",converter:xe.converters.HeadersInit},{key:"body",converter:xe.nullableConverter(xe.converters.BodyInit)},{key:"referrer",converter:xe.converters.USVString},{key:"referrerPolicy",converter:xe.converters.DOMString,allowedValues:UTe},{key:"mode",converter:xe.converters.DOMString,allowedValues:PTe},{key:"credentials",converter:xe.converters.DOMString,allowedValues:OTe},{key:"cache",converter:xe.converters.DOMString,allowedValues:HTe},{key:"redirect",converter:xe.converters.DOMString,allowedValues:LTe},{key:"integrity",converter:xe.converters.DOMString},{key:"keepalive",converter:xe.converters.boolean},{key:"signal",converter:xe.nullableConverter(e=>xe.converters.AbortSignal(e,"RequestInit","signal"))},{key:"window",converter:xe.converters.any},{key:"duplex",converter:xe.converters.DOMString,allowedValues:qTe},{key:"dispatcher",converter:xe.converters.any},{key:"priority",converter:xe.converters.DOMString,allowedValues:["high","low","auto"],defaultValue:()=>"auto"}]);bj.exports={Request:ti,makeRequest:qI,fromInnerRequest:mj,cloneRequest:Ej,getRequestDispatcher:XTe,getRequestState:yj}});var fD=x((v7e,_j)=>{"use strict";var Ij=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:tNe}=wr(),rNe=Z2();Cj()===void 0&&Bj(new rNe);function Bj(e){if(!e||typeof e.dispatch!="function")throw new tNe("Argument agent must implement Agent");Object.defineProperty(globalThis,Ij,{value:e,writable:!0,enumerable:!1,configurable:!1})}function Cj(){return globalThis[Ij]}var nNe=["fetch","Headers","Response","Request","FormData","WebSocket","CloseEvent","ErrorEvent","MessageEvent","EventSource"];_j.exports={setGlobalDispatcher:Bj,getGlobalDispatcher:Cj,installedExports:nNe}});var Nj=x((R7e,Tj)=>{"use strict";var iNe=Jt(),{runtimeFeatures:Sj}=B2(),$c=new Map([["sha256",0],["sha384",1],["sha512",2]]),uD;if(Sj.has("crypto")){uD=eu();let e=uD.getHashes();e.length===0&&$c.clear();for(let t of $c.keys())e.includes(t)===!1&&$c.delete(t)}else $c.clear();var wj=Map.prototype.get.bind($c),cD=Map.prototype.has.bind($c),sNe=Sj.has("crypto")===!1||$c.size===0?()=>!0:(e,t)=>{let r=vj(t);if(r.length===0)return!0;let n=Qj(r);for(let i of n){let s=i.alg,o=i.val,a=Rj(s,e);if(Dj(a,o))return!0}return!1};function Qj(e){let t=[],r=null;for(let n of e){if(iNe(cD(n.alg),"Invalid SRI hash algorithm token"),t.length===0){t.push(n),r=n;continue}let i=r.alg,s=wj(i),o=n.alg,a=wj(o);a<s||(a>s?(r=n,t[0]=n,t.length=1):t.push(n))}return t}function vj(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(!cD(a))continue;o[1]&&(s=o[1]);let f={alg:a,val:s};t.push(f)}return t}var Rj=(e,t)=>uD.hash(e,t,"base64");function Dj(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}Tj.exports={applyAlgorithmToBytes:Rj,bytesMatch:sNe,caseSensitiveMatch:Dj,isValidSRIHashAlgorithm:cD,getStrongestMetadata:Qj,parseMetadata:vj}});var Jj=x((D7e,Vj)=>{"use strict";var{makeNetworkError:xt,makeAppropriateNetworkError:$p,filterResponse:AD,makeResponse:GI,fromInnerResponse:oNe,getResponseState:aNe}=iD(),{HeadersList:lD}=Kp(),{Request:fNe,cloneRequest:uNe,getRequestDispatcher:cNe,getRequestState:ANe}=aD(),Vs=Og(),{makePolicyContainer:lNe,clonePolicyContainer:hNe,requestBadPort:dNe,TAOCheck:gNe,appendRequestOriginHeader:pNe,responseLocationURL:yNe,requestCurrentURL:Ii,setRequestReferrerPolicyOnRedirect:ENe,tryUpgradeRequestToAPotentiallyTrustworthyURL:mNe,createOpaqueTimingInfo:ED,appendFetchMetadata:bNe,corsCheck:INe,crossOriginResourcePolicyCheck:BNe,determineRequestsReferrer:CNe,coarsenedSharedCurrentTime:Zp,sameOrigin:pD,isCancelled:yu,isAborted:Mj,isErrorLike:_Ne,fullyReadBody:wNe,readableStreamClose:SNe,urlIsLocal:QNe,urlIsHttpHttpsScheme:JI,urlHasHttpsScheme:vNe,clampAndCoarsenConnectionTimingInfo:RNe,simpleRangeHeaderValue:DNe,buildContentRange:TNe,createInflate:NNe,extractMimeType:MNe,hasAuthenticationEntry:xNe,includesCredentials:xj,isTraversableNavigable:kNe}=Vc(),Zc=Jt(),{safelyExtractBody:jI,extractBody:kj}=Qh(),{redirectStatusSet:Pj,nullBodyStatus:Oj,safeMethodsSet:FNe,requestBodyHeader:UNe,subresourceSet:LNe}=Hg(),PNe=Yn(),{Readable:ONe,pipeline:HNe,finished:qNe,isErrored:GNe,isReadable:YI}=(Or(),Lr(dt)),{addAbortListener:YNe,bufferToLowerCasedHeaderName:Fj}=tr(),{dataURLProcessor:WNe,serializeAMimeType:VNe,minimizeSupportedMimeType:JNe}=pc(),{getGlobalDispatcher:jNe}=fD(),{webidl:mD}=Ho(),{STATUS_CODES:Uj}=xl(),{bytesMatch:zNe}=Nj(),{createDeferredPromise:KNe}=b2(),{isomorphicEncode:WI}=gc(),{runtimeFeatures:XNe}=r2(),$Ne=XNe.has("zstd"),ZNe=["GET","HEAD"],eMe=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",hD,VI=class extends PNe{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 tMe(e){Hj(e,"fetch")}function rMe(e,t=void 0){mD.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=KNe(),n;try{n=new fNe(e,t)}catch(c){return r.reject(c),r.promise}let i=ANe(n);if(n.signal.aborted)return dD(r,i,null,n.signal.reason,null),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let o=null,a=!1,f=null;return YNe(n.signal,()=>{a=!0,Zc(f!=null),f.abort(n.signal.reason);let c=o?.deref();dD(r,i,c,n.signal.reason,f.controller)}),f=Gj({request:i,processResponseEndOfBody:tMe,processResponse:c=>{if(!a){if(c.aborted){dD(r,i,o,f.serializedAbortReason,f.controller);return}if(c.type==="error"){r.reject(new TypeError("fetch failed",{cause:c.error}));return}o=new WeakRef(oNe(c,"immutable")),r.resolve(o.deref()),r=null}},dispatcher:cNe(n),requestObject:n}),r.promise}function Hj(e,t="other"){if(e.type==="error"&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],n=e.timingInfo,i=e.cacheState;JI(r)&&n!==null&&(e.timingAllowPassed||(n=ED({startTime:n.startTime}),i=""),n.endTime=Zp(),e.timingInfo=n,qj(n,r.href,t,globalThis,i,"",e.status))}var qj=performance.markResourceTiming;function dD(e,t,r,n,i){if(e&&e.reject(n),t.body?.stream!=null&&YI(t.body.stream)&&t.body.stream.cancel(n).catch(o=>{if(o.code!=="ERR_INVALID_STATE")throw o}),r==null)return;let s=aNe(r);s.body?.stream!=null&&YI(s.body.stream)&&i.error(n)}function Gj({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:o=!1,dispatcher:a=jNe(),requestObject:f=null}){Zc(a);let u=null,c=!1;e.client!=null&&(u=e.client.globalObject,c=e.client.crossOriginIsolatedCapability);let h=Zp(c),y=ED({startTime:h}),b={controller:new VI(a),request:e,timingInfo:y,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:u,crossOriginIsolatedCapability:c,requestObject:f};return Zc(!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=hNe(e.client.policyContainer):e.policyContainer=lNe()),e.headersList.contains("accept",!0)||e.headersList.append("accept","*/*",!0),e.headersList.contains("accept-language",!0)||e.headersList.append("accept-language","*",!0),e.priority,LNe.has(e.destination),Yj(b,!1),b.controller}async function Yj(e,t){try{let r=e.request,n=null;if(r.localURLsOnly&&!QNe(Ii(r))&&(n=xt("local URLs only")),mNe(r),dNe(r)==="blocked"&&(n=xt("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=CNe(r)),n===null){let s=Ii(r);pD(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",n=await Lj(e)):r.mode==="same-origin"?n=xt('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?n=xt('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",n=await Lj(e)):JI(Ii(r))?(r.responseTainting="cors",n=await Wj(e)):n=xt("URL scheme must be a HTTP(S) scheme")}if(t)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=AD(n,"basic"):r.responseTainting==="cors"?n=AD(n,"cors"):r.responseTainting==="opaque"?n=AD(n,"opaque"):Zc(!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=xt()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||Oj.includes(i.status))&&(i.body=null,e.controller.dump=!0),r.integrity){let s=a=>gD(e,xt(a));if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let o=a=>{if(!zNe(a,r.integrity)){s("integrity mismatch");return}n.body=jI(a)[0],gD(e,n)};wNe(n.body,o,s)}else gD(e,n)}catch(r){e.controller.terminate(r)}}function Lj(e){if(yu(e)&&e.request.redirectCount===0)return Promise.resolve($p(e));let{request:t}=e,{protocol:r}=Ii(t);switch(r){case"about:":return Promise.resolve(xt("about scheme is not supported"));case"blob:":{hD||(hD=ur().resolveObjectURL);let n=Ii(t);if(n.search.length!==0)return Promise.resolve(xt("NetworkError when attempting to fetch resource."));let i=hD(n.toString());if(t.method!=="GET"||!mD.is.Blob(i))return Promise.resolve(xt("invalid method"));let s=GI(),o=i.size,a=WI(`${o}`),f=i.type;if(t.headersList.contains("range",!0)){s.rangeRequested=!0;let u=t.headersList.get("range",!0),c=DNe(u,!0);if(c==="failure")return Promise.resolve(xt("failed to fetch the data URL"));let{rangeStartValue:h,rangeEndValue:y}=c;if(h===null)h=o-y,y=h+y-1;else{if(h>=o)return Promise.resolve(xt("Range start is greater than the blob's size."));(y===null||y>=o)&&(y=o-1)}let b=i.slice(h,y+1,f),S=kj(b);s.body=S[0];let v=WI(`${b.size}`),L=TNe(h,y,o);s.status=206,s.statusText="Partial Content",s.headersList.set("content-length",v,!0),s.headersList.set("content-type",f,!0),s.headersList.set("content-range",L,!0)}else{let u=kj(i);s.statusText="OK",s.body=u[0],s.headersList.set("content-length",a,!0),s.headersList.set("content-type",f,!0)}return Promise.resolve(s)}case"data:":{let n=Ii(t),i=WNe(n);if(i==="failure")return Promise.resolve(xt("failed to fetch the data URL"));let s=VNe(i.mimeType);return Promise.resolve(GI({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:jI(i.body)[0]}))}case"file:":return Promise.resolve(xt("not implemented... yet..."));case"http:":case"https:":return Wj(e).catch(n=>xt(n));default:return Promise.resolve(xt("unknown scheme"))}}function nMe(e,t){e.request.done=!0,e.processResponseDone!=null&&queueMicrotask(()=>e.processResponseDone(t))}function gD(e,t){let r=e.timingInfo,n=()=>{let s=Date.now();e.request.destination==="document"&&(e.controller.fullTimingInfo=r),e.controller.reportTimingSteps=()=>{if(!JI(e.request.url))return;r.endTime=s;let a=t.cacheState,f=t.bodyInfo;t.timingAllowPassed||(r=ED(r),a="");let u=0;if(e.request.mode!=="navigator"||!t.hasCrossOriginRedirects){u=t.status;let c=MNe(t.headersList);c!=="failure"&&(f.contentType=JNe(c))}e.request.initiatorType!=null&&qj(r,e.request.url.href,e.request.initiatorType,globalThis,a,f,u)};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():qNe(i.body.stream,()=>{n()})}async function Wj(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 yD(e),t.responseTainting==="cors"&&INe(t,r)==="failure")return xt("cors failure");gNe(t,r)==="failure"&&(t.timingAllowFailed=!0)}return(t.responseTainting==="opaque"||r.type==="opaque")&&BNe(t.origin,t.client,t.destination,n)==="blocked"?xt("blocked"):(Pj.has(n.status)&&(t.redirect!=="manual"&&e.controller.connection.destroy(void 0,!1),t.redirect==="error"?r=xt("unexpected redirect"):t.redirect==="manual"?r=n:t.redirect==="follow"?r=await iMe(e,r):Zc(!1)),r.timingInfo=i,r)}function iMe(e,t){let r=e.request,n=t.internalResponse?t.internalResponse:t,i;try{if(i=yNe(n,Ii(r).hash),i==null)return t}catch(o){return Promise.resolve(xt(o))}if(!JI(i))return Promise.resolve(xt("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(xt("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!pD(r,i))return Promise.resolve(xt('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(xt('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(xt());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!ZNe.includes(r.method)){r.method="GET",r.body=null;for(let o of UNe)r.headersList.delete(o)}pD(Ii(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&&(Zc(r.body.source!=null),r.body=jI(r.body.source)[0]);let s=e.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=Zp(e.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),ENe(r,n),Yj(e,!0)}async function yD(e,t=!1,r=!1){let n=e.request,i=null,s=null,o=null,a=null,f=!1;n.window==="no-window"&&n.redirect==="error"?(i=e,s=n):(s=uNe(n),i={...e},i.request=s);let u=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",c=s.body?s.body.length:null,h=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(h="0"),c!=null&&(h=WI(`${c}`)),h!=null&&s.headersList.append("content-length",h,!0),c!=null&&s.keepalive,mD.is.URL(s.referrer)&&s.headersList.append("referer",WI(s.referrer.href),!0),pNe(s),bNe(s),s.headersList.contains("user-agent",!0)||s.headersList.append("user-agent",eMe,!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)||(vNe(Ii(s))?s.headersList.append("accept-encoding","br, gzip, deflate",!0):s.headersList.append("accept-encoding","gzip, deflate",!0)),s.headersList.delete("host",!0),u&&!s.headersList.contains("authorization",!0)){let y=null;if(!(xNe(s)&&(s.useURLCredentials===void 0||!xj(Ii(s))))){if(xj(Ii(s))&&t){let{username:b,password:S}=Ii(s);y=`Basic ${Buffer.from(`${b}:${S}`).toString("base64")}`}}y!==null&&s.headersList.append("Authorization",y,!1)}if(a==null&&(s.cache="no-store"),s.cache!=="no-store"&&s.cache,o==null){if(s.cache==="only-if-cached")return xt("only if cached");let y=await sMe(i,u,r);!FNe.has(s.method)&&y.status>=200&&y.status<=399,f&&y.status,o==null&&(o=y)}if(o.urlList=[...s.urlList],s.headersList.contains("range",!0)&&(o.rangeRequested=!0),o.requestIncludesCredentials=u,o.status===401&&s.responseTainting!=="cors"&&u&&kNe(n.traversableForUserPrompts)){if(n.body!=null){if(n.body.source==null)return xt("expected non-null body source");n.body=jI(n.body.source)[0]}if(n.useURLCredentials===void 0||t)return yu(e)?$p(e):o;e.controller.connection.destroy(),o=await yD(e,!0)}if(o.status===407)return n.window==="no-window"?xt():yu(e)?$p(e):xt("proxy authentication required");if(o.status===421&&!r&&(n.body==null||n.body.source!=null)){if(yu(e))return $p(e);e.controller.connection.destroy(),o=await yD(e,t,!0)}return o}async function sMe(e,t=!1,r=!1){Zc(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(S,v=!0){this.destroyed||(this.destroyed=!0,v&&this.abort?.(S??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 f=null;if(n.body==null&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(n.body!=null){let S=async function*(U){yu(e)||(yield U,e.processRequestBodyChunkLength?.(U.byteLength))},v=()=>{yu(e)||e.processRequestEndOfBody&&e.processRequestEndOfBody()},L=U=>{yu(e)||(U.name==="AbortError"?e.controller.abort():e.controller.terminate(U))};f=(async function*(){try{for await(let U of n.body.stream)yield*S(U);v()}catch(U){L(U)}})()}try{let{body:S,status:v,statusText:L,headersList:U,socket:P}=await b({body:f});if(P)i=GI({status:v,statusText:L,headersList:U,socket:P});else{let Y=S[Symbol.asyncIterator]();e.controller.next=()=>Y.next(),i=GI({status:v,statusText:L,headersList:U})}}catch(S){return S.name==="AbortError"?(e.controller.connection.destroy(),$p(e,S)):xt(S)}let u=()=>e.controller.resume(),c=S=>{yu(e)||e.controller.abort(S)},h=new ReadableStream({start(S){e.controller.controller=S},pull:u,cancel:c,type:"bytes"});i.body={stream:h,source:null,length:null},e.controller.resume||e.controller.on("terminated",y),e.controller.resume=async()=>{for(;;){let S,v;try{let{done:U,value:P}=await e.controller.next();if(Mj(e))break;S=U?void 0:P}catch(U){e.controller.ended&&!s.encodedBodySize?S=void 0:(S=U,v=!0)}if(S===void 0){SNe(e.controller.controller),nMe(e,i);return}if(s.decodedBodySize+=S?.byteLength??0,v){e.controller.terminate(S);return}let L=new Uint8Array(S);if(L.byteLength&&e.controller.controller.enqueue(L),GNe(h)){e.controller.terminate();return}if(e.controller.controller.desiredSize<=0)return}};function y(S){Mj(e)?(i.aborted=!0,YI(h)&&e.controller.controller.error(e.controller.serializedAbortReason)):YI(h)&&e.controller.controller.error(new TypeError("terminated",{cause:_Ne(S)?S:void 0})),e.controller.connection.destroy()}return i;function b({body:S}){let v=Ii(n),L=e.controller.dispatcher,U=v.pathname+v.search,P=v.search.length===0&&v.href[v.href.length-v.hash.length-1]==="?";return new Promise((Y,V)=>L.dispatch({path:P?`${U}?`:U,origin:v.origin,method:n.method,body:L.isMockActive?n.body&&(n.body.source||n.body.stream):S,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(X){let{connection:j}=e.controller;s.finalConnectionTimingInfo=RNe(void 0,s.postRedirectStartTime,e.crossOriginIsolatedCapability),j.destroyed?X(new DOMException("The operation was aborted.","AbortError")):(e.controller.on("terminated",X),this.abort=j.abort=X),s.finalNetworkRequestStartTime=Zp(e.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=Zp(e.crossOriginIsolatedCapability)},onHeaders(X,j,re,ie){if(X<200)return!1;let oe=new lD;for(let l=0;l<j.length;l+=2)oe.append(Fj(j[l]),j[l+1].toString("latin1"),!0);let O=oe.get("location",!0);this.body=new ONe({read:re});let E=O&&n.redirect==="follow"&&Pj.has(X),R=[];if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!Oj.includes(X)&&!E){let l=oe.get("content-encoding",!0),p=l?l.toLowerCase().split(","):[],Q=5;if(p.length>Q)return V(new Error(`too many content-encodings in response: ${p.length}, maximum allowed is ${Q}`)),!0;for(let D=p.length-1;D>=0;--D){let _=p[D].trim();if(_==="x-gzip"||_==="gzip")R.push(Vs.createGunzip({flush:Vs.constants.Z_SYNC_FLUSH,finishFlush:Vs.constants.Z_SYNC_FLUSH}));else if(_==="deflate")R.push(NNe({flush:Vs.constants.Z_SYNC_FLUSH,finishFlush:Vs.constants.Z_SYNC_FLUSH}));else if(_==="br")R.push(Vs.createBrotliDecompress({flush:Vs.constants.BROTLI_OPERATION_FLUSH,finishFlush:Vs.constants.BROTLI_OPERATION_FLUSH}));else if(_==="zstd"&&$Ne)R.push(Vs.createZstdDecompress({flush:Vs.constants.ZSTD_e_continue,finishFlush:Vs.constants.ZSTD_e_end}));else{R.length=0;break}}}let B=this.onError.bind(this);return Y({status:X,statusText:ie,headersList:oe,body:R.length?HNe(this.body,...R,l=>{l&&this.onError(l)}).on("error",B):this.body.on("error",B)}),!0},onData(X){if(e.controller.dump)return;let j=X;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(X){this.abort&&e.controller.off("terminated",this.abort),this.body?.destroy(X),e.controller.terminate(X),V(X)},onRequestUpgrade(X,j,re,ie){if(ie.session!=null&&j!==200||ie.session==null&&j!==101)return!1;let oe=new lD;for(let[O,E]of Object.entries(re)){if(E==null)continue;let R=O.toLowerCase();if(Array.isArray(E))for(let B of E)oe.append(R,String(B),!0);else oe.append(R,String(E),!0)}return Y({status:j,statusText:Uj[j],headersList:oe,socket:ie}),!0},onUpgrade(X,j,re){if(re.session!=null&&X!==200||re.session==null&&X!==101)return!1;let ie=new lD;for(let oe=0;oe<j.length;oe+=2)ie.append(Fj(j[oe]),j[oe+1].toString("latin1"),!0);return Y({status:X,statusText:Uj[X],headersList:ie,socket:re}),!0}}))}}Vj.exports={fetch:rMe,Fetch:VI,fetching:Gj,finalizeAndReportTiming:Hj}});var zj=x((T7e,jj)=>{"use strict";function eA(){if(!globalThis._httpsModule)throw new Error("node:https bridge module is not available");return globalThis._httpsModule}var zI=class{},bD=class{},ID=class{},BD=class{},CD=class{},oMe=["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"];jj.exports={Agent:zI,ClientRequest:bD,IncomingMessage:ID,METHODS:oMe,STATUS_CODES:{},Server:BD,ServerResponse:CD,_checkInvalidHeaderChar(e){return eA()._checkInvalidHeaderChar(e)},_checkIsHttpToken(e){return eA()._checkIsHttpToken(e)},createServer(...e){return eA().createServer(...e)},get(...e){return eA().get(...e)},globalAgent:new zI,maxHeaderSize:65535,request(...e){return eA().request(...e)},validateHeaderName(e,t){return eA().validateHeaderName(e,t)},validateHeaderValue(e,t){return eA().validateHeaderValue(e,t)}}});var $a=x((N7e,$j)=>{"use strict";var Kj=["nodebuffer","arraybuffer","fragments"],Xj=typeof Blob<"u";Xj&&Kj.push("blob");$j.exports={BINARY_TYPES:Kj,CLOSE_TIMEOUT:3e4,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:Xj,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}});var Zj={};Ny(Zj,{default:()=>aMe});var aMe,ez=f_(()=>{aMe=null});var tz=x(Kr=>{Kr.endianness=function(){return"LE"};Kr.hostname=function(){return typeof location<"u"?location.hostname:""};Kr.loadavg=function(){return[]};Kr.uptime=function(){return 0};Kr.freemem=function(){return Number.MAX_VALUE};Kr.totalmem=function(){return Number.MAX_VALUE};Kr.cpus=function(){return[]};Kr.type=function(){return"Browser"};Kr.release=function(){return typeof navigator<"u"?navigator.appVersion:""};Kr.networkInterfaces=Kr.getNetworkInterfaces=function(){return{}};Kr.arch=function(){return"javascript"};Kr.platform=function(){return"browser"};Kr.tmpdir=Kr.tmpDir=function(){return"/tmp"};Kr.EOL=`
`;Kr.homedir=function(){return"/"}});var yz=x((x7e,pz)=>{var sz=(ez(),Lr(Zj)),Za=I_(),oz=tz(),az=typeof __webpack_require__=="function"?__non_webpack_require__:Nd,fMe=process.config&&process.config.variables||{},uMe=!!process.env.PREBUILDS_ONLY,rz=process.versions.modules,_D=lMe()?"electron":AMe()?"node-webkit":"node",wD=process.env.npm_config_arch||oz.arch(),SD=process.env.npm_config_platform||oz.platform(),fz=process.env.LIBC||(hMe(SD)?"musl":"glibc"),QD=process.env.ARM_VERSION||(wD==="arm64"?"8":fMe.arm_version)||"",uz=(process.versions.uv||"").split(".")[0];pz.exports=jo;function jo(e){return az(jo.resolve(e))}jo.resolve=jo.path=function(e){e=Za.resolve(e||".");try{var t=az(Za.join(e,"package.json")).name.toUpperCase().replace(/-/g,"_");process.env[t+"_PREBUILD"]&&(e=process.env[t+"_PREBUILD"])}catch{}if(!uMe){var r=nz(Za.join(e,"build/Release"),iz);if(r)return r;var n=nz(Za.join(e,"build/Debug"),iz);if(n)return n}var i=a(e);if(i)return i;var s=a(Za.dirname(process.execPath));if(s)return s;var o=["platform="+SD,"arch="+wD,"runtime="+_D,"abi="+rz,"uv="+uz,QD?"armv="+QD:"","libc="+fz,"node="+process.versions.node,process.versions.electron?"electron="+process.versions.electron:"",typeof __webpack_require__=="function"?"webpack=true":""].filter(Boolean).join(" ");throw new Error("No native build was found for "+o+`
loaded from: `+e+`
`);function a(f){var u=vD(Za.join(f,"prebuilds")).map(cz),c=u.filter(Az(SD,wD)).sort(lz)[0];if(c){var h=Za.join(f,"prebuilds",c.name),y=vD(h).map(hz),b=y.filter(dz(_D,rz)),S=b.sort(gz(_D))[0];if(S)return Za.join(h,S.file)}}};function vD(e){try{return sz.readdirSync(e)}catch{return[]}}function nz(e,t){var r=vD(e).filter(t);return r[0]&&Za.join(e,r[0])}function iz(e){return/\.node$/.test(e)}function cz(e){var t=e.split("-");if(t.length===2){var r=t[0],n=t[1].split("+");if(r&&n.length&&n.every(Boolean))return{name:e,platform:r,architectures:n}}}function Az(e,t){return function(r){return r==null||r.platform!==e?!1:r.architectures.includes(t)}}function lz(e,t){return e.architectures.length-t.architectures.length}function hz(e){var t=e.split("."),r=t.pop(),n={file:e,specificity:0};if(r==="node"){for(var i=0;i<t.length;i++){var s=t[i];if(s==="node"||s==="electron"||s==="node-webkit")n.runtime=s;else if(s==="napi")n.napi=!0;else if(s.slice(0,3)==="abi")n.abi=s.slice(3);else if(s.slice(0,2)==="uv")n.uv=s.slice(2);else if(s.slice(0,4)==="armv")n.armv=s.slice(4);else if(s==="glibc"||s==="musl")n.libc=s;else continue;n.specificity++}return n}}function dz(e,t){return function(r){return!(r==null||r.runtime&&r.runtime!==e&&!cMe(r)||r.abi&&r.abi!==t&&!r.napi||r.uv&&r.uv!==uz||r.armv&&r.armv!==QD||r.libc&&r.libc!==fz)}}function cMe(e){return e.runtime==="node"&&e.napi}function gz(e){return function(t,r){return t.runtime!==r.runtime?t.runtime===e?-1:1:t.abi!==r.abi?t.abi?-1:1:t.specificity!==r.specificity?t.specificity>r.specificity?-1:1:0}}function AMe(){return!!(process.versions&&process.versions.nw)}function lMe(){return process.versions&&process.versions.electron||process.env.ELECTRON_RUN_AS_NODE?!0:typeof window<"u"&&window.process&&window.process.type==="renderer"}function hMe(e){return e==="linux"&&sz.existsSync("/etc/alpine-release")}jo.parseTags=hz;jo.matchTags=dz;jo.compareTags=gz;jo.parseTuple=cz;jo.matchTuple=Az;jo.compareTuples=lz});var Ez=x((F7e,DD)=>{var RD=typeof __webpack_require__=="function"?__non_webpack_require__:Nd;typeof RD.addon=="function"?DD.exports=RD.addon.bind(RD):DD.exports=yz()});var bz=x((L7e,mz)=>{"use strict";var dMe=(e,t,r,n,i)=>{for(var s=0;s<i;s++)r[n+s]=e[s]^t[s&3]},gMe=(e,t)=>{let r=e.length;for(var n=0;n<r;n++)e[n]^=t[n&3]};mz.exports={mask:dMe,unmask:gMe}});var Iz=x((P7e,TD)=>{"use strict";try{TD.exports=Ez()(__dirname)}catch{TD.exports=bz()}});var e0=x((O7e,KI)=>{"use strict";var{EMPTY_BUFFER:pMe}=$a(),ND=Buffer[Symbol.species];function yMe(e,t){if(e.length===0)return pMe;if(e.length===1)return e[0];let r=Buffer.allocUnsafe(t),n=0;for(let i=0;i<e.length;i++){let s=e[i];r.set(s,n),n+=s.length}return n<t?new ND(r.buffer,r.byteOffset,n):r}function Bz(e,t,r,n,i){for(let s=0;s<i;s++)r[n+s]=e[s]^t[s&3]}function Cz(e,t){for(let r=0;r<e.length;r++)e[r]^=t[r&3]}function EMe(e){return e.length===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.length)}function MD(e){if(MD.readOnly=!0,Buffer.isBuffer(e))return e;let t;return e instanceof ArrayBuffer?t=new ND(e):ArrayBuffer.isView(e)?t=new ND(e.buffer,e.byteOffset,e.byteLength):(t=Buffer.from(e),MD.readOnly=!1),t}KI.exports={concat:yMe,mask:Bz,toArrayBuffer:EMe,toBuffer:MD,unmask:Cz};if(!process.env.WS_NO_BUFFER_UTIL)try{let e=Iz();KI.exports.mask=function(t,r,n,i,s){s<48?Bz(t,r,n,i,s):e.mask(t,r,n,i,s)},KI.exports.unmask=function(t,r){t.length<32?Cz(t,r):e.unmask(t,r)}}catch{}});var Sz=x((H7e,wz)=>{"use strict";var _z=Symbol("kDone"),xD=Symbol("kRun"),kD=class{constructor(t){this[_z]=()=>{this.pending--,this[xD]()},this.concurrency=t||1/0,this.jobs=[],this.pending=0}add(t){this.jobs.push(t),this[xD]()}[xD](){if(this.pending!==this.concurrency&&this.jobs.length){let t=this.jobs.shift();this.pending++,t(this[_z])}}};wz.exports=kD});var Lh=x((q7e,Dz)=>{"use strict";var t0=Og(),Qz=e0(),mMe=Sz(),{kStatusCode:vz}=$a(),bMe=Buffer[Symbol.species],IMe=Buffer.from([0,0,255,255]),$I=Symbol("permessage-deflate"),ef=Symbol("total-length"),Fh=Symbol("callback"),Eu=Symbol("buffers"),Uh=Symbol("error"),XI,FD=class{constructor(t){if(this._options=t||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._maxPayload=this._options.maxPayload|0,this._isServer=!!this._options.isServer,this._deflate=null,this._inflate=null,this.params=null,!XI){let r=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;XI=new mMe(r)}}static get extensionName(){return"permessage-deflate"}offer(){let t={};return this._options.serverNoContextTakeover&&(t.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(t.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(t.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?t.client_max_window_bits=this._options.clientMaxWindowBits:this._options.clientMaxWindowBits==null&&(t.client_max_window_bits=!0),t}accept(t){return t=this.normalizeParams(t),this.params=this._isServer?this.acceptAsServer(t):this.acceptAsClient(t),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let t=this._deflate[Fh];this._deflate.close(),this._deflate=null,t&&t(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(t){let r=this._options,n=t.find(i=>!(r.serverNoContextTakeover===!1&&i.server_no_context_takeover||i.server_max_window_bits&&(r.serverMaxWindowBits===!1||typeof r.serverMaxWindowBits=="number"&&r.serverMaxWindowBits>i.server_max_window_bits)||typeof r.clientMaxWindowBits=="number"&&!i.client_max_window_bits));if(!n)throw new Error("None of the extension offers can be accepted");return r.serverNoContextTakeover&&(n.server_no_context_takeover=!0),r.clientNoContextTakeover&&(n.client_no_context_takeover=!0),typeof r.serverMaxWindowBits=="number"&&(n.server_max_window_bits=r.serverMaxWindowBits),typeof r.clientMaxWindowBits=="number"?n.client_max_window_bits=r.clientMaxWindowBits:(n.client_max_window_bits===!0||r.clientMaxWindowBits===!1)&&delete n.client_max_window_bits,n}acceptAsClient(t){let r=t[0];if(this._options.clientNoContextTakeover===!1&&r.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(!r.client_max_window_bits)typeof this._options.clientMaxWindowBits=="number"&&(r.client_max_window_bits=this._options.clientMaxWindowBits);else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits=="number"&&r.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"');return r}normalizeParams(t){return t.forEach(r=>{Object.keys(r).forEach(n=>{let i=r[n];if(i.length>1)throw new Error(`Parameter "${n}" must have only a single value`);if(i=i[0],n==="client_max_window_bits"){if(i!==!0){let s=+i;if(!Number.isInteger(s)||s<8||s>15)throw new TypeError(`Invalid value for parameter "${n}": ${i}`);i=s}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${n}": ${i}`)}else if(n==="server_max_window_bits"){let s=+i;if(!Number.isInteger(s)||s<8||s>15)throw new TypeError(`Invalid value for parameter "${n}": ${i}`);i=s}else if(n==="client_no_context_takeover"||n==="server_no_context_takeover"){if(i!==!0)throw new TypeError(`Invalid value for parameter "${n}": ${i}`)}else throw new Error(`Unknown parameter "${n}"`);r[n]=i})}),t}decompress(t,r,n){XI.add(i=>{this._decompress(t,r,(s,o)=>{i(),n(s,o)})})}compress(t,r,n){XI.add(i=>{this._compress(t,r,(s,o)=>{i(),n(s,o)})})}_decompress(t,r,n){let i=this._isServer?"client":"server";if(!this._inflate){let s=`${i}_max_window_bits`,o=typeof this.params[s]!="number"?t0.Z_DEFAULT_WINDOWBITS:this.params[s];this._inflate=t0.createInflateRaw({...this._options.zlibInflateOptions,windowBits:o}),this._inflate[$I]=this,this._inflate[ef]=0,this._inflate[Eu]=[],this._inflate.on("error",CMe),this._inflate.on("data",Rz)}this._inflate[Fh]=n,this._inflate.write(t),r&&this._inflate.write(IMe),this._inflate.flush(()=>{let s=this._inflate[Uh];if(s){this._inflate.close(),this._inflate=null,n(s);return}let o=Qz.concat(this._inflate[Eu],this._inflate[ef]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[ef]=0,this._inflate[Eu]=[],r&&this.params[`${i}_no_context_takeover`]&&this._inflate.reset()),n(null,o)})}_compress(t,r,n){let i=this._isServer?"server":"client";if(!this._deflate){let s=`${i}_max_window_bits`,o=typeof this.params[s]!="number"?t0.Z_DEFAULT_WINDOWBITS:this.params[s];this._deflate=t0.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:o}),this._deflate[ef]=0,this._deflate[Eu]=[],this._deflate.on("data",BMe)}this._deflate[Fh]=n,this._deflate.write(t),this._deflate.flush(t0.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let s=Qz.concat(this._deflate[Eu],this._deflate[ef]);r&&(s=new bMe(s.buffer,s.byteOffset,s.length-4)),this._deflate[Fh]=null,this._deflate[ef]=0,this._deflate[Eu]=[],r&&this.params[`${i}_no_context_takeover`]&&this._deflate.reset(),n(null,s)})}};Dz.exports=FD;function BMe(e){this[Eu].push(e),this[ef]+=e.length}function Rz(e){if(this[ef]+=e.length,this[$I]._maxPayload<1||this[ef]<=this[$I]._maxPayload){this[Eu].push(e);return}this[Uh]=new RangeError("Max payload size exceeded"),this[Uh].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[Uh][vz]=1009,this.removeListener("data",Rz),this.reset()}function CMe(e){if(this[$I]._inflate=null,this[Uh]){this[Fh](this[Uh]);return}e[vz]=1007,this[Fh](e)}});var Ph=x((G7e,ZI)=>{"use strict";var{isUtf8:Tz}=ur(),{hasBlob:_Me}=$a(),wMe=[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];function SMe(e){return e>=1e3&&e<=1014&&e!==1004&&e!==1005&&e!==1006||e>=3e3&&e<=4999}function UD(e){let t=e.length,r=0;for(;r<t;)if((e[r]&128)===0)r++;else if((e[r]&224)===192){if(r+1===t||(e[r+1]&192)!==128||(e[r]&254)===192)return!1;r+=2}else if((e[r]&240)===224){if(r+2>=t||(e[r+1]&192)!==128||(e[r+2]&192)!==128||e[r]===224&&(e[r+1]&224)===128||e[r]===237&&(e[r+1]&224)===160)return!1;r+=3}else if((e[r]&248)===240){if(r+3>=t||(e[r+1]&192)!==128||(e[r+2]&192)!==128||(e[r+3]&192)!==128||e[r]===240&&(e[r+1]&240)===128||e[r]===244&&e[r+1]>143||e[r]>244)return!1;r+=4}else return!1;return!0}function QMe(e){return _Me&&typeof e=="object"&&typeof e.arrayBuffer=="function"&&typeof e.type=="string"&&typeof e.stream=="function"&&(e[Symbol.toStringTag]==="Blob"||e[Symbol.toStringTag]==="File")}ZI.exports={isBlob:QMe,isValidStatusCode:SMe,isValidUTF8:UD,tokenChars:wMe};if(Tz)ZI.exports.isValidUTF8=function(e){return e.length<24?UD(e):Tz(e)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let e=Nd("utf-8-validate");ZI.exports.isValidUTF8=function(t){return t.length<32?UD(t):e(t)}}catch{}});var qD=x((Y7e,Lz)=>{"use strict";var{Writable:vMe}=(Or(),Lr(dt)),Nz=Lh(),{BINARY_TYPES:RMe,EMPTY_BUFFER:Mz,kStatusCode:DMe,kWebSocket:TMe}=$a(),{concat:LD,toArrayBuffer:NMe,unmask:MMe}=e0(),{isValidStatusCode:xMe,isValidUTF8:xz}=Ph(),eB=Buffer[Symbol.species],ts=0,kz=1,Fz=2,Uz=3,PD=4,OD=5,tB=6,HD=class extends vMe{constructor(t={}){super(),this._allowSynchronousEvents=t.allowSynchronousEvents!==void 0?t.allowSynchronousEvents:!0,this._binaryType=t.binaryType||RMe[0],this._extensions=t.extensions||{},this._isServer=!!t.isServer,this._maxBufferedChunks=t.maxBufferedChunks|0,this._maxFragments=t.maxFragments|0,this._maxPayload=t.maxPayload|0,this._skipUTF8Validation=!!t.skipUTF8Validation,this[TMe]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=ts}_write(t,r,n){if(this._opcode===8&&this._state==ts)return n();if(this._maxBufferedChunks>0&&this._buffers.length>=this._maxBufferedChunks){n(this.createError(RangeError,"Too many buffered chunks",!1,1008,"WS_ERR_TOO_MANY_BUFFERED_PARTS"));return}this._bufferedBytes+=t.length,this._buffers.push(t),this.startLoop(n)}consume(t){if(this._bufferedBytes-=t,t===this._buffers[0].length)return this._buffers.shift();if(t<this._buffers[0].length){let n=this._buffers[0];return this._buffers[0]=new eB(n.buffer,n.byteOffset+t,n.length-t),new eB(n.buffer,n.byteOffset,t)}let r=Buffer.allocUnsafe(t);do{let n=this._buffers[0],i=r.length-t;t>=n.length?r.set(this._buffers.shift(),i):(r.set(new Uint8Array(n.buffer,n.byteOffset,t),i),this._buffers[0]=new eB(n.buffer,n.byteOffset+t,n.length-t)),t-=n.length}while(t>0);return r}startLoop(t){this._loop=!0;do switch(this._state){case ts:this.getInfo(t);break;case kz:this.getPayloadLength16(t);break;case Fz:this.getPayloadLength64(t);break;case Uz:this.getMask();break;case PD:this.getData(t);break;case OD:case tB:this._loop=!1;return}while(this._loop);this._errored||t()}getInfo(t){if(this._bufferedBytes<2){this._loop=!1;return}let r=this.consume(2);if((r[0]&48)!==0){let i=this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");t(i);return}let n=(r[0]&64)===64;if(n&&!this._extensions[Nz.extensionName]){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");t(i);return}if(this._fin=(r[0]&128)===128,this._opcode=r[0]&15,this._payloadLength=r[1]&127,this._opcode===0){if(n){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");t(i);return}if(!this._fragmented){let i=this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");t(i);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){let i=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");t(i);return}this._compressed=n}else if(this._opcode>7&&this._opcode<11){if(!this._fin){let i=this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");t(i);return}if(n){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");t(i);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){let i=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");t(i);return}}else{let i=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");t(i);return}if(!this._fin&&!this._fragmented&&(this._fragmented=this._opcode),this._masked=(r[1]&128)===128,this._isServer){if(!this._masked){let i=this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK");t(i);return}}else if(this._masked){let i=this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");t(i);return}this._payloadLength===126?this._state=kz:this._payloadLength===127?this._state=Fz:this.haveLength(t)}getPayloadLength16(t){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(t)}getPayloadLength64(t){if(this._bufferedBytes<8){this._loop=!1;return}let r=this.consume(8),n=r.readUInt32BE(0);if(n>Math.pow(2,21)-1){let i=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");t(i);return}this._payloadLength=n*Math.pow(2,32)+r.readUInt32BE(4),this.haveLength(t)}haveLength(t){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0)){let r=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");t(r);return}this._masked?this._state=Uz:this._state=PD}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=PD}getData(t){let r=Mz;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}r=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!==0&&MMe(r,this._mask)}if(this._opcode>7){this.controlMessage(r,t);return}if(this._compressed){this._state=OD,this.decompress(r,t);return}if(r.length){if(this._maxFragments>0&&this._fragments.length>=this._maxFragments){let n=this.createError(RangeError,"Too many message fragments",!1,1008,"WS_ERR_TOO_MANY_BUFFERED_PARTS");t(n);return}this._messageLength=this._totalPayloadLength,this._fragments.push(r)}this.dataMessage(t)}decompress(t,r){this._extensions[Nz.extensionName].decompress(t,this._fin,(i,s)=>{if(i)return r(i);if(s.length){if(this._messageLength+=s.length,this._messageLength>this._maxPayload&&this._maxPayload>0){let o=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");r(o);return}if(this._maxFragments>0&&this._fragments.length>=this._maxFragments){let o=this.createError(RangeError,"Too many message fragments",!1,1008,"WS_ERR_TOO_MANY_BUFFERED_PARTS");r(o);return}this._fragments.push(s)}this.dataMessage(r),this._state===ts&&this.startLoop(r)})}dataMessage(t){if(!this._fin){this._state=ts;return}let r=this._messageLength,n=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],this._opcode===2){let i;this._binaryType==="nodebuffer"?i=LD(n,r):this._binaryType==="arraybuffer"?i=NMe(LD(n,r)):this._binaryType==="blob"?i=new Blob(n):i=n,this._allowSynchronousEvents?(this.emit("message",i,!0),this._state=ts):(this._state=tB,setImmediate(()=>{this.emit("message",i,!0),this._state=ts,this.startLoop(t)}))}else{let i=LD(n,r);if(!this._skipUTF8Validation&&!xz(i)){let s=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");t(s);return}this._state===OD||this._allowSynchronousEvents?(this.emit("message",i,!1),this._state=ts):(this._state=tB,setImmediate(()=>{this.emit("message",i,!1),this._state=ts,this.startLoop(t)}))}}controlMessage(t,r){if(this._opcode===8){if(t.length===0)this._loop=!1,this.emit("conclude",1005,Mz),this.end();else{let n=t.readUInt16BE(0);if(!xMe(n)){let s=this.createError(RangeError,`invalid status code ${n}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");r(s);return}let i=new eB(t.buffer,t.byteOffset+2,t.length-2);if(!this._skipUTF8Validation&&!xz(i)){let s=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");r(s);return}this._loop=!1,this.emit("conclude",n,i),this.end()}this._state=ts;return}this._allowSynchronousEvents?(this.emit(this._opcode===9?"ping":"pong",t),this._state=ts):(this._state=tB,setImmediate(()=>{this.emit(this._opcode===9?"ping":"pong",t),this._state=ts,this.startLoop(r)}))}createError(t,r,n,i,s){this._loop=!1,this._errored=!0;let o=new t(n?`Invalid WebSocket frame: ${r}`:r);return Error.captureStackTrace(o,this.createError),o.code=s,o[DMe]=i,o}};Lz.exports=HD});var WD=x((V7e,Hz)=>{"use strict";var{Duplex:W7e}=(Or(),Lr(dt)),{randomFillSync:kMe}=eu(),{types:{isUint8Array:FMe}}=yn(),Pz=Lh(),{EMPTY_BUFFER:UMe,kWebSocket:LMe,NOOP:PMe}=$a(),{isBlob:Oh,isValidStatusCode:OMe}=Ph(),{mask:Oz,toBuffer:tA}=e0(),rs=Symbol("kByteLength"),HMe=Buffer.alloc(4),rB=8*1024,rA,Hh=rB,Js=0,qMe=1,GMe=2,GD=class e{constructor(t,r,n){this._extensions=r||{},n&&(this._generateMask=n,this._maskBuffer=Buffer.alloc(4)),this._socket=t,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=Js,this.onerror=PMe,this[LMe]=void 0}static frame(t,r){let n,i=!1,s=2,o=!1;r.mask&&(n=r.maskBuffer||HMe,r.generateMask?r.generateMask(n):(Hh===rB&&(rA===void 0&&(rA=Buffer.alloc(rB)),kMe(rA,0,rB),Hh=0),n[0]=rA[Hh++],n[1]=rA[Hh++],n[2]=rA[Hh++],n[3]=rA[Hh++]),o=(n[0]|n[1]|n[2]|n[3])===0,s=6);let a;typeof t=="string"?(!r.mask||o)&&r[rs]!==void 0?a=r[rs]:(t=Buffer.from(t),a=t.length):(a=t.length,i=r.mask&&r.readOnly&&!o);let f=a;a>=65536?(s+=8,f=127):a>125&&(s+=2,f=126);let u=Buffer.allocUnsafe(i?a+s:s);return u[0]=r.fin?r.opcode|128:r.opcode,r.rsv1&&(u[0]|=64),u[1]=f,f===126?u.writeUInt16BE(a,2):f===127&&(u[2]=u[3]=0,u.writeUIntBE(a,4,6)),r.mask?(u[1]|=128,u[s-4]=n[0],u[s-3]=n[1],u[s-2]=n[2],u[s-1]=n[3],o?[u,t]:i?(Oz(t,n,u,s,a),[u]):(Oz(t,n,t,0,a),[u,t])):[u,t]}close(t,r,n,i){let s;if(t===void 0)s=UMe;else{if(typeof t!="number"||!OMe(t))throw new TypeError("First argument must be a valid error code number");if(r===void 0||!r.length)s=Buffer.allocUnsafe(2),s.writeUInt16BE(t,0);else{let a=Buffer.byteLength(r);if(a>123)throw new RangeError("The message must not be greater than 123 bytes");if(s=Buffer.allocUnsafe(2+a),s.writeUInt16BE(t,0),typeof r=="string")s.write(r,2);else if(FMe(r))s.set(r,2);else throw new TypeError("Second argument must be a string or a Uint8Array")}}let o={[rs]:s.length,fin:!0,generateMask:this._generateMask,mask:n,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};this._state!==Js?this.enqueue([this.dispatch,s,!1,o,i]):this.sendFrame(e.frame(s,o),i)}ping(t,r,n){let i,s;if(typeof t=="string"?(i=Buffer.byteLength(t),s=!1):Oh(t)?(i=t.size,s=!1):(t=tA(t),i=t.length,s=tA.readOnly),i>125)throw new RangeError("The data size must not be greater than 125 bytes");let o={[rs]:i,fin:!0,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:9,readOnly:s,rsv1:!1};Oh(t)?this._state!==Js?this.enqueue([this.getBlobData,t,!1,o,n]):this.getBlobData(t,!1,o,n):this._state!==Js?this.enqueue([this.dispatch,t,!1,o,n]):this.sendFrame(e.frame(t,o),n)}pong(t,r,n){let i,s;if(typeof t=="string"?(i=Buffer.byteLength(t),s=!1):Oh(t)?(i=t.size,s=!1):(t=tA(t),i=t.length,s=tA.readOnly),i>125)throw new RangeError("The data size must not be greater than 125 bytes");let o={[rs]:i,fin:!0,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:10,readOnly:s,rsv1:!1};Oh(t)?this._state!==Js?this.enqueue([this.getBlobData,t,!1,o,n]):this.getBlobData(t,!1,o,n):this._state!==Js?this.enqueue([this.dispatch,t,!1,o,n]):this.sendFrame(e.frame(t,o),n)}send(t,r,n){let i=this._extensions[Pz.extensionName],s=r.binary?2:1,o=r.compress,a,f;typeof t=="string"?(a=Buffer.byteLength(t),f=!1):Oh(t)?(a=t.size,f=!1):(t=tA(t),a=t.length,f=tA.readOnly),this._firstFragment?(this._firstFragment=!1,o&&i&&i.params[i._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(o=a>=i._threshold),this._compress=o):(o=!1,s=0),r.fin&&(this._firstFragment=!0);let u={[rs]:a,fin:r.fin,generateMask:this._generateMask,mask:r.mask,maskBuffer:this._maskBuffer,opcode:s,readOnly:f,rsv1:o};Oh(t)?this._state!==Js?this.enqueue([this.getBlobData,t,this._compress,u,n]):this.getBlobData(t,this._compress,u,n):this._state!==Js?this.enqueue([this.dispatch,t,this._compress,u,n]):this.dispatch(t,this._compress,u,n)}getBlobData(t,r,n,i){this._bufferedBytes+=n[rs],this._state=GMe,t.arrayBuffer().then(s=>{if(this._socket.destroyed){let a=new Error("The socket was closed while the blob was being read");process.nextTick(YD,this,a,i);return}this._bufferedBytes-=n[rs];let o=tA(s);r?this.dispatch(o,r,n,i):(this._state=Js,this.sendFrame(e.frame(o,n),i),this.dequeue())}).catch(s=>{process.nextTick(YMe,this,s,i)})}dispatch(t,r,n,i){if(!r){this.sendFrame(e.frame(t,n),i);return}let s=this._extensions[Pz.extensionName];this._bufferedBytes+=n[rs],this._state=qMe,s.compress(t,n.fin,(o,a)=>{if(this._socket.destroyed){let f=new Error("The socket was closed while data was being compressed");YD(this,f,i);return}this._bufferedBytes-=n[rs],this._state=Js,n.readOnly=!1,this.sendFrame(e.frame(a,n),i),this.dequeue()})}dequeue(){for(;this._state===Js&&this._queue.length;){let t=this._queue.shift();this._bufferedBytes-=t[3][rs],Reflect.apply(t[0],this,t.slice(1))}}enqueue(t){this._bufferedBytes+=t[3][rs],this._queue.push(t)}sendFrame(t,r){t.length===2?(this._socket.cork(),this._socket.write(t[0]),this._socket.write(t[1],r),this._socket.uncork()):this._socket.write(t[0],r)}};Hz.exports=GD;function YD(e,t,r){typeof r=="function"&&r(t);for(let n=0;n<e._queue.length;n++){let i=e._queue[n],s=i[i.length-1];typeof s=="function"&&s(t)}}function YMe(e,t,r){YD(e,t,r),e.onerror(t)}});var Kz=x((J7e,zz)=>{"use strict";var{kForOnEventAttribute:r0,kListener:VD}=$a(),qz=Symbol("kCode"),Gz=Symbol("kData"),Yz=Symbol("kError"),Wz=Symbol("kMessage"),Vz=Symbol("kReason"),qh=Symbol("kTarget"),Jz=Symbol("kType"),jz=Symbol("kWasClean"),tf=class{constructor(t){this[qh]=null,this[Jz]=t}get target(){return this[qh]}get type(){return this[Jz]}};Object.defineProperty(tf.prototype,"target",{enumerable:!0});Object.defineProperty(tf.prototype,"type",{enumerable:!0});var nA=class extends tf{constructor(t,r={}){super(t),this[qz]=r.code===void 0?0:r.code,this[Vz]=r.reason===void 0?"":r.reason,this[jz]=r.wasClean===void 0?!1:r.wasClean}get code(){return this[qz]}get reason(){return this[Vz]}get wasClean(){return this[jz]}};Object.defineProperty(nA.prototype,"code",{enumerable:!0});Object.defineProperty(nA.prototype,"reason",{enumerable:!0});Object.defineProperty(nA.prototype,"wasClean",{enumerable:!0});var Gh=class extends tf{constructor(t,r={}){super(t),this[Yz]=r.error===void 0?null:r.error,this[Wz]=r.message===void 0?"":r.message}get error(){return this[Yz]}get message(){return this[Wz]}};Object.defineProperty(Gh.prototype,"error",{enumerable:!0});Object.defineProperty(Gh.prototype,"message",{enumerable:!0});var n0=class extends tf{constructor(t,r={}){super(t),this[Gz]=r.data===void 0?null:r.data}get data(){return this[Gz]}};Object.defineProperty(n0.prototype,"data",{enumerable:!0});var WMe={addEventListener(e,t,r={}){for(let i of this.listeners(e))if(!r[r0]&&i[VD]===t&&!i[r0])return;let n;if(e==="message")n=function(s,o){let a=new n0("message",{data:o?s:s.toString()});a[qh]=this,nB(t,this,a)};else if(e==="close")n=function(s,o){let a=new nA("close",{code:s,reason:o.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});a[qh]=this,nB(t,this,a)};else if(e==="error")n=function(s){let o=new Gh("error",{error:s,message:s.message});o[qh]=this,nB(t,this,o)};else if(e==="open")n=function(){let s=new tf("open");s[qh]=this,nB(t,this,s)};else return;n[r0]=!!r[r0],n[VD]=t,r.once?this.once(e,n):this.on(e,n)},removeEventListener(e,t){for(let r of this.listeners(e))if(r[VD]===t&&!r[r0]){this.removeListener(e,r);break}}};zz.exports={CloseEvent:nA,ErrorEvent:Gh,Event:tf,EventTarget:WMe,MessageEvent:n0};function nB(e,t,r){typeof e=="object"&&e.handleEvent?e.handleEvent.call(e,r):e.call(t,r)}});var iB=x((j7e,Xz)=>{"use strict";var{tokenChars:i0}=Ph();function zo(e,t,r){e[t]===void 0?e[t]=[r]:e[t].push(r)}function VMe(e){let t=Object.create(null),r=Object.create(null),n=!1,i=!1,s=!1,o,a,f=-1,u=-1,c=-1,h=0;for(;h<e.length;h++)if(u=e.charCodeAt(h),o===void 0)if(c===-1&&i0[u]===1)f===-1&&(f=h);else if(h!==0&&(u===32||u===9))c===-1&&f!==-1&&(c=h);else if(u===59||u===44){if(f===-1)throw new SyntaxError(`Unexpected character at index ${h}`);c===-1&&(c=h);let b=e.slice(f,c);u===44?(zo(t,b,r),r=Object.create(null)):o=b,f=c=-1}else throw new SyntaxError(`Unexpected character at index ${h}`);else if(a===void 0)if(c===-1&&i0[u]===1)f===-1&&(f=h);else if(u===32||u===9)c===-1&&f!==-1&&(c=h);else if(u===59||u===44){if(f===-1)throw new SyntaxError(`Unexpected character at index ${h}`);c===-1&&(c=h),zo(r,e.slice(f,c),!0),u===44&&(zo(t,o,r),r=Object.create(null),o=void 0),f=c=-1}else if(u===61&&f!==-1&&c===-1)a=e.slice(f,h),f=c=-1;else throw new SyntaxError(`Unexpected character at index ${h}`);else if(i){if(i0[u]!==1)throw new SyntaxError(`Unexpected character at index ${h}`);f===-1?f=h:n||(n=!0),i=!1}else if(s)if(i0[u]===1)f===-1&&(f=h);else if(u===34&&f!==-1)s=!1,c=h;else if(u===92)i=!0;else throw new SyntaxError(`Unexpected character at index ${h}`);else if(u===34&&e.charCodeAt(h-1)===61)s=!0;else if(c===-1&&i0[u]===1)f===-1&&(f=h);else if(f!==-1&&(u===32||u===9))c===-1&&(c=h);else if(u===59||u===44){if(f===-1)throw new SyntaxError(`Unexpected character at index ${h}`);c===-1&&(c=h);let b=e.slice(f,c);n&&(b=b.replace(/\\/g,""),n=!1),zo(r,a,b),u===44&&(zo(t,o,r),r=Object.create(null),o=void 0),a=void 0,f=c=-1}else throw new SyntaxError(`Unexpected character at index ${h}`);if(f===-1||s||u===32||u===9)throw new SyntaxError("Unexpected end of input");c===-1&&(c=h);let y=e.slice(f,c);return o===void 0?zo(t,y,r):(a===void 0?zo(r,y,!0):n?zo(r,a,y.replace(/\\/g,"")):zo(r,a,y),zo(t,o,r)),t}function JMe(e){return Object.keys(e).map(t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map(n=>[t].concat(Object.keys(n).map(i=>{let s=n[i];return Array.isArray(s)||(s=[s]),s.map(o=>o===!0?i:`${i}=${o}`).join("; ")})).join("; ")).join(", ")}).join(", ")}Xz.exports={format:JMe,parse:VMe}});var fB=x((X7e,uK)=>{"use strict";var jMe=Yn(),zMe=zj(),KMe=xl(),eK=Qg(),XMe=Lv(),{randomBytes:$Me,createHash:ZMe}=eu(),{Duplex:z7e,Readable:K7e}=(Or(),Lr(dt)),{URL:JD}=IS(),mu=Lh(),exe=qD(),txe=WD(),{isBlob:rxe}=Ph(),{BINARY_TYPES:$z,CLOSE_TIMEOUT:nxe,EMPTY_BUFFER:sB,GUID:ixe,kForOnEventAttribute:jD,kListener:sxe,kStatusCode:oxe,kWebSocket:Xr,NOOP:tK}=$a(),{EventTarget:{addEventListener:axe,removeEventListener:fxe}}=Kz(),{format:uxe,parse:cxe}=iB(),{toBuffer:Axe}=e0(),rK=Symbol("kAborted"),zD=[8,13],rf=["CONNECTING","OPEN","CLOSING","CLOSED"],lxe=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/,ar=class e extends jMe{constructor(t,r,n){super(),this._binaryType=$z[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=sB,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=e.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,t!==null?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,r===void 0?r=[]:Array.isArray(r)||(typeof r=="object"&&r!==null?(n=r,r=[]):r=[r]),nK(this,t,r,n)):(this._autoPong=n.autoPong,this._closeTimeout=n.closeTimeout,this._isServer=!0)}get binaryType(){return this._binaryType}set binaryType(t){$z.includes(t)&&(this._binaryType=t,this._receiver&&(this._receiver._binaryType=t))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(t,r,n){let i=new exe({allowSynchronousEvents:n.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxBufferedChunks:n.maxBufferedChunks,maxFragments:n.maxFragments,maxPayload:n.maxPayload,skipUTF8Validation:n.skipUTF8Validation}),s=new txe(t,this._extensions,n.generateMask);this._receiver=i,this._sender=s,this._socket=t,i[Xr]=this,s[Xr]=this,t[Xr]=this,i.on("conclude",gxe),i.on("drain",pxe),i.on("error",yxe),i.on("message",Exe),i.on("ping",mxe),i.on("pong",bxe),s.onerror=Ixe,t.setTimeout&&t.setTimeout(0),t.setNoDelay&&t.setNoDelay(),r.length>0&&t.unshift(r),t.on("close",oK),t.on("data",aB),t.on("end",aK),t.on("error",fK),this._readyState=e.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=e.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[mu.extensionName]&&this._extensions[mu.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=e.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(t,r){if(this.readyState!==e.CLOSED){if(this.readyState===e.CONNECTING){Bi(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===e.CLOSING){this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();return}this._readyState=e.CLOSING,this._sender.close(t,r,!this._isServer,n=>{n||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),sK(this)}}pause(){this.readyState===e.CONNECTING||this.readyState===e.CLOSED||(this._paused=!0,this._socket.pause())}ping(t,r,n){if(this.readyState===e.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof t=="function"?(n=t,t=r=void 0):typeof r=="function"&&(n=r,r=void 0),typeof t=="number"&&(t=t.toString()),this.readyState!==e.OPEN){KD(this,t,n);return}r===void 0&&(r=!this._isServer),this._sender.ping(t||sB,r,n)}pong(t,r,n){if(this.readyState===e.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof t=="function"?(n=t,t=r=void 0):typeof r=="function"&&(n=r,r=void 0),typeof t=="number"&&(t=t.toString()),this.readyState!==e.OPEN){KD(this,t,n);return}r===void 0&&(r=!this._isServer),this._sender.pong(t||sB,r,n)}resume(){this.readyState===e.CONNECTING||this.readyState===e.CLOSED||(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(t,r,n){if(this.readyState===e.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof r=="function"&&(n=r,r={}),typeof t=="number"&&(t=t.toString()),this.readyState!==e.OPEN){KD(this,t,n);return}let i={binary:typeof t!="string",mask:!this._isServer,compress:!0,fin:!0,...r};this._extensions[mu.extensionName]||(i.compress=!1),this._sender.send(t||sB,i,n)}terminate(){if(this.readyState!==e.CLOSED){if(this.readyState===e.CONNECTING){Bi(this,this._req,"WebSocket was closed before the connection was established");return}this._socket&&(this._readyState=e.CLOSING,this._socket.destroy())}}};Object.defineProperty(ar,"CONNECTING",{enumerable:!0,value:rf.indexOf("CONNECTING")});Object.defineProperty(ar.prototype,"CONNECTING",{enumerable:!0,value:rf.indexOf("CONNECTING")});Object.defineProperty(ar,"OPEN",{enumerable:!0,value:rf.indexOf("OPEN")});Object.defineProperty(ar.prototype,"OPEN",{enumerable:!0,value:rf.indexOf("OPEN")});Object.defineProperty(ar,"CLOSING",{enumerable:!0,value:rf.indexOf("CLOSING")});Object.defineProperty(ar.prototype,"CLOSING",{enumerable:!0,value:rf.indexOf("CLOSING")});Object.defineProperty(ar,"CLOSED",{enumerable:!0,value:rf.indexOf("CLOSED")});Object.defineProperty(ar.prototype,"CLOSED",{enumerable:!0,value:rf.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach(e=>{Object.defineProperty(ar.prototype,e,{enumerable:!0})});["open","error","close","message"].forEach(e=>{Object.defineProperty(ar.prototype,`on${e}`,{enumerable:!0,get(){for(let t of this.listeners(e))if(t[jD])return t[sxe];return null},set(t){for(let r of this.listeners(e))if(r[jD]){this.removeListener(e,r);break}typeof t=="function"&&this.addEventListener(e,t,{[jD]:!0})}})});ar.prototype.addEventListener=axe;ar.prototype.removeEventListener=fxe;uK.exports=ar;function nK(e,t,r,n){let i={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:nxe,protocolVersion:zD[1],maxBufferedChunks:1048576,maxFragments:131072,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...n,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(e._autoPong=i.autoPong,e._closeTimeout=i.closeTimeout,!zD.includes(i.protocolVersion))throw new RangeError(`Unsupported protocol version: ${i.protocolVersion} (supported versions: ${zD.join(", ")})`);let s;if(t instanceof JD)s=t;else try{s=new JD(t)}catch{throw new SyntaxError(`Invalid URL: ${t}`)}s.protocol==="http:"?s.protocol="ws:":s.protocol==="https:"&&(s.protocol="wss:"),e._url=s.href;let o=s.protocol==="wss:",a=s.protocol==="ws+unix:",f;if(s.protocol!=="ws:"&&!o&&!a?f=`The URL's protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"`:a&&!s.pathname?f="The URL's pathname is empty":s.hash&&(f="The URL contains a fragment identifier"),f){let v=new SyntaxError(f);if(e._redirects===0)throw v;oB(e,v);return}let u=o?443:80,c=$Me(16).toString("base64"),h=o?zMe.request:KMe.request,y=new Set,b;if(i.createConnection=i.createConnection||(o?dxe:hxe),i.defaultPort=i.defaultPort||u,i.port=s.port||u,i.host=s.hostname.startsWith("[")?s.hostname.slice(1,-1):s.hostname,i.headers={...i.headers,"Sec-WebSocket-Version":i.protocolVersion,"Sec-WebSocket-Key":c,Connection:"Upgrade",Upgrade:"websocket"},i.path=s.pathname+s.search,i.timeout=i.handshakeTimeout,i.perMessageDeflate&&(b=new mu({...i.perMessageDeflate,isServer:!1,maxPayload:i.maxPayload}),i.headers["Sec-WebSocket-Extensions"]=uxe({[mu.extensionName]:b.offer()})),r.length){for(let v of r){if(typeof v!="string"||!lxe.test(v)||y.has(v))throw new SyntaxError("An invalid or duplicated subprotocol was specified");y.add(v)}i.headers["Sec-WebSocket-Protocol"]=r.join(",")}if(i.origin&&(i.protocolVersion<13?i.headers["Sec-WebSocket-Origin"]=i.origin:i.headers.Origin=i.origin),(s.username||s.password)&&(i.auth=`${s.username}:${s.password}`),a){let v=i.path.split(":");i.socketPath=v[0],i.path=v[1]}let S;if(i.followRedirects){if(e._redirects===0){e._originalIpc=a,e._originalSecure=o,e._originalHostOrSocketPath=a?i.socketPath:s.host;let v=n&&n.headers;if(n={...n,headers:{}},v)for(let[L,U]of Object.entries(v))n.headers[L.toLowerCase()]=U}else if(e.listenerCount("redirect")===0){let v=a?e._originalIpc?i.socketPath===e._originalHostOrSocketPath:!1:e._originalIpc?!1:s.host===e._originalHostOrSocketPath;(!v||e._originalSecure&&!o)&&(delete i.headers.authorization,delete i.headers.cookie,v||delete i.headers.host,i.auth=void 0)}i.auth&&!n.headers.authorization&&(n.headers.authorization="Basic "+Buffer.from(i.auth).toString("base64")),S=e._req=h(i),e._redirects&&e.emit("redirect",e.url,S)}else S=e._req=h(i);i.timeout&&S.on("timeout",()=>{Bi(e,S,"Opening handshake has timed out")}),S.on("error",v=>{S===null||S[rK]||(S=e._req=null,oB(e,v))}),S.on("response",v=>{let L=v.headers.location,U=v.statusCode;if(L&&i.followRedirects&&U>=300&&U<400){if(++e._redirects>i.maxRedirects){Bi(e,S,"Maximum redirects exceeded");return}S.abort();let P;try{P=new JD(L,t)}catch{let V=new SyntaxError(`Invalid URL: ${L}`);oB(e,V);return}nK(e,P,r,n)}else e.emit("unexpected-response",S,v)||Bi(e,S,`Unexpected server response: ${v.statusCode}`)}),S.on("upgrade",(v,L,U)=>{if(e.emit("upgrade",v),e.readyState!==ar.CONNECTING)return;S=e._req=null;let P=v.headers.upgrade;if(P===void 0||P.toLowerCase()!=="websocket"){Bi(e,L,"Invalid Upgrade header");return}let Y=ZMe("sha1").update(c+ixe).digest("base64");if(v.headers["sec-websocket-accept"]!==Y){Bi(e,L,"Invalid Sec-WebSocket-Accept header");return}let V=v.headers["sec-websocket-protocol"],X;if(V!==void 0?y.size?y.has(V)||(X="Server sent an invalid subprotocol"):X="Server sent a subprotocol but none was requested":y.size&&(X="Server sent no subprotocol"),X){Bi(e,L,X);return}V&&(e._protocol=V);let j=v.headers["sec-websocket-extensions"];if(j!==void 0){if(!b){Bi(e,L,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}let re;try{re=cxe(j)}catch{Bi(e,L,"Invalid Sec-WebSocket-Extensions header");return}let ie=Object.keys(re);if(ie.length!==1||ie[0]!==mu.extensionName){Bi(e,L,"Server indicated an extension that was not requested");return}try{b.accept(re[mu.extensionName])}catch{Bi(e,L,"Invalid Sec-WebSocket-Extensions header");return}e._extensions[mu.extensionName]=b}e.setSocket(L,U,{allowSynchronousEvents:i.allowSynchronousEvents,generateMask:i.generateMask,maxBufferedChunks:i.maxBufferedChunks,maxFragments:i.maxFragments,maxPayload:i.maxPayload,skipUTF8Validation:i.skipUTF8Validation})}),i.finishRequest?i.finishRequest(S,e):S.end()}function oB(e,t){e._readyState=ar.CLOSING,e._errorEmitted=!0,e.emit("error",t),e.emitClose()}function hxe(e){return e.path=e.socketPath,eK.connect(e)}function dxe(e){return e.path=void 0,!e.servername&&e.servername!==""&&(e.servername=eK.isIP(e.host)?"":e.host),XMe.connect(e)}function Bi(e,t,r){e._readyState=ar.CLOSING;let n=new Error(r);Error.captureStackTrace(n,Bi),t.setHeader?(t[rK]=!0,t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),process.nextTick(oB,e,n)):(t.destroy(n),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function KD(e,t,r){if(t){let n=rxe(t)?t.size:Axe(t).length;e._socket?e._sender._bufferedBytes+=n:e._bufferedAmount+=n}if(r){let n=new Error(`WebSocket is not open: readyState ${e.readyState} (${rf[e.readyState]})`);process.nextTick(r,n)}}function gxe(e,t){let r=this[Xr];r._closeFrameReceived=!0,r._closeMessage=t,r._closeCode=e,r._socket[Xr]!==void 0&&(r._socket.removeListener("data",aB),process.nextTick(iK,r._socket),e===1005?r.close():r.close(e,t))}function pxe(){let e=this[Xr];e.isPaused||e._socket.resume()}function yxe(e){let t=this[Xr];t._socket[Xr]!==void 0&&(t._socket.removeListener("data",aB),process.nextTick(iK,t._socket),t.close(e[oxe])),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e))}function Zz(){this[Xr].emitClose()}function Exe(e,t){this[Xr].emit("message",e,t)}function mxe(e){let t=this[Xr];t._autoPong&&t.pong(e,!this._isServer,tK),t.emit("ping",e)}function bxe(e){this[Xr].emit("pong",e)}function iK(e){e.resume()}function Ixe(e){let t=this[Xr];t.readyState!==ar.CLOSED&&(t.readyState===ar.OPEN&&(t._readyState=ar.CLOSING,sK(t)),this._socket.end(),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e)))}function sK(e){e._closeTimer=setTimeout(e._socket.destroy.bind(e._socket),e._closeTimeout)}function oK(){let e=this[Xr];if(this.removeListener("close",oK),this.removeListener("data",aB),this.removeListener("end",aK),e._readyState=ar.CLOSING,!this._readableState.endEmitted&&!e._closeFrameReceived&&!e._receiver._writableState.errorEmitted&&this._readableState.length!==0){let t=this.read(this._readableState.length);e._receiver.write(t)}e._receiver.end(),this[Xr]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",Zz),e._receiver.on("finish",Zz))}function aB(e){this[Xr]._receiver.write(e)||this.pause()}function aK(){let e=this[Xr];e._readyState=ar.CLOSING,e._receiver.end(),this.end()}function fK(){let e=this[Xr];this.removeListener("error",fK),this.on("error",tK),e&&(e._readyState=ar.CLOSING,this.destroy())}});var hK=x((Z7e,lK)=>{"use strict";var $7e=fB(),{Duplex:Bxe}=(Or(),Lr(dt));function cK(e){e.emit("close")}function Cxe(){!this.destroyed&&this._writableState.finished&&this.destroy()}function AK(e){this.removeListener("error",AK),this.destroy(),this.listenerCount("error")===0&&this.emit("error",e)}function _xe(e,t){let r=!0,n=new Bxe({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",function(s,o){let a=!o&&n._readableState.objectMode?s.toString():s;n.push(a)||e.pause()}),e.once("error",function(s){n.destroyed||(r=!1,n.destroy(s))}),e.once("close",function(){n.destroyed||n.push(null)}),n._destroy=function(i,s){if(e.readyState===e.CLOSED){s(i),process.nextTick(cK,n);return}let o=!1;e.once("error",function(f){o=!0,s(f)}),e.once("close",function(){o||s(i),process.nextTick(cK,n)}),r&&e.terminate()},n._final=function(i){if(e.readyState===e.CONNECTING){e.once("open",function(){n._final(i)});return}e._socket!==null&&(e._socket._writableState.finished?(i(),n._readableState.endEmitted&&n.destroy()):(e._socket.once("finish",function(){i()}),e.close()))},n._read=function(){e.isPaused&&e.resume()},n._write=function(i,s,o){if(e.readyState===e.CONNECTING){e.once("open",function(){n._write(i,s,o)});return}e.send(i,o)},n.on("end",Cxe),n.on("error",AK),n}lK.exports=_xe});var XD=x((eqe,dK)=>{"use strict";var{tokenChars:wxe}=Ph();function Sxe(e){let t=new Set,r=-1,n=-1,i=0;for(i;i<e.length;i++){let o=e.charCodeAt(i);if(n===-1&&wxe[o]===1)r===-1&&(r=i);else if(i!==0&&(o===32||o===9))n===-1&&r!==-1&&(n=i);else if(o===44){if(r===-1)throw new SyntaxError(`Unexpected character at index ${i}`);n===-1&&(n=i);let a=e.slice(r,n);if(t.has(a))throw new SyntaxError(`The "${a}" subprotocol is duplicated`);t.add(a),r=n=-1}else throw new SyntaxError(`Unexpected character at index ${i}`)}if(r===-1||n!==-1)throw new SyntaxError("Unexpected end of input");let s=e.slice(r,i);if(t.has(s))throw new SyntaxError(`The "${s}" subprotocol is duplicated`);return t.add(s),t}dK.exports={parse:Sxe}});var IK=x((rqe,bK)=>{"use strict";var Qxe=Yn(),uB=xl(),{Duplex:tqe}=(Or(),Lr(dt)),{createHash:vxe}=eu(),gK=iB(),iA=Lh(),Rxe=XD(),Dxe=fB(),{CLOSE_TIMEOUT:Txe,GUID:Nxe,kWebSocket:Mxe}=$a(),xxe=/^[+/0-9A-Za-z]{22}==$/,pK=0,yK=1,mK=2,$D=class extends Qxe{constructor(t,r){if(super(),t={allowSynchronousEvents:!0,autoPong:!0,maxBufferedChunks:1024*1024,maxFragments:128*1024,maxPayload:100*1024*1024,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:Txe,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:Dxe,...t},t.port==null&&!t.server&&!t.noServer||t.port!=null&&(t.server||t.noServer)||t.server&&t.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(t.port!=null?(this._server=uB.createServer((n,i)=>{let s=uB.STATUS_CODES[426];i.writeHead(426,{"Content-Length":s.length,"Content-Type":"text/plain"}),i.end(s)}),this._server.listen(t.port,t.host,t.backlog,r)):t.server&&(this._server=t.server),this._server){let n=this.emit.bind(this,"connection");this._removeListeners=kxe(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(i,s,o)=>{this.handleUpgrade(i,s,o,n)}})}t.perMessageDeflate===!0&&(t.perMessageDeflate={}),t.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=t,this._state=pK}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(t){if(this._state===mK){t&&this.once("close",()=>{t(new Error("The server is not running"))}),process.nextTick(s0,this);return}if(t&&this.once("close",t),this._state!==yK)if(this._state=yK,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients?this.clients.size?this._shouldEmitClose=!0:process.nextTick(s0,this):process.nextTick(s0,this);else{let r=this._server;this._removeListeners(),this._removeListeners=this._server=null,r.close(()=>{s0(this)})}}shouldHandle(t){if(this.options.path){let r=t.url.indexOf("?");if((r!==-1?t.url.slice(0,r):t.url)!==this.options.path)return!1}return!0}handleUpgrade(t,r,n,i){r.on("error",EK);let s=t.headers["sec-websocket-key"],o=t.headers.upgrade,a=+t.headers["sec-websocket-version"];if(t.method!=="GET"){sA(this,t,r,405,"Invalid HTTP method");return}if(o===void 0||o.toLowerCase()!=="websocket"){sA(this,t,r,400,"Invalid Upgrade header");return}if(s===void 0||!xxe.test(s)){sA(this,t,r,400,"Missing or invalid Sec-WebSocket-Key header");return}if(a!==13&&a!==8){sA(this,t,r,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});return}if(!this.shouldHandle(t)){o0(r,400);return}let f=t.headers["sec-websocket-protocol"],u=new Set;if(f!==void 0)try{u=Rxe.parse(f)}catch{sA(this,t,r,400,"Invalid Sec-WebSocket-Protocol header");return}let c=t.headers["sec-websocket-extensions"],h={};if(this.options.perMessageDeflate&&c!==void 0){let y=new iA({...this.options.perMessageDeflate,isServer:!0,maxPayload:this.options.maxPayload});try{let b=gK.parse(c);b[iA.extensionName]&&(y.accept(b[iA.extensionName]),h[iA.extensionName]=y)}catch{sA(this,t,r,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let y={origin:t.headers[`${a===8?"sec-websocket-origin":"origin"}`],secure:!!(t.socket.authorized||t.socket.encrypted),req:t};if(this.options.verifyClient.length===2){this.options.verifyClient(y,(b,S,v,L)=>{if(!b)return o0(r,S||401,v,L);this.completeUpgrade(h,s,u,t,r,n,i)});return}if(!this.options.verifyClient(y))return o0(r,401)}this.completeUpgrade(h,s,u,t,r,n,i)}completeUpgrade(t,r,n,i,s,o,a){if(!s.readable||!s.writable)return s.destroy();if(s[Mxe])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>pK)return o0(s,503);let u=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${vxe("sha1").update(r+Nxe).digest("base64")}`],c=new this.options.WebSocket(null,void 0,this.options);if(n.size){let h=this.options.handleProtocols?this.options.handleProtocols(n,i):n.values().next().value;h&&(u.push(`Sec-WebSocket-Protocol: ${h}`),c._protocol=h)}if(t[iA.extensionName]){let h=t[iA.extensionName].params,y=gK.format({[iA.extensionName]:[h]});u.push(`Sec-WebSocket-Extensions: ${y}`),c._extensions=t}this.emit("headers",u,i),s.write(u.concat(`\r
`).join(`\r
`)),s.removeListener("error",EK),c.setSocket(s,o,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxBufferedChunks:this.options.maxBufferedChunks,maxFragments:this.options.maxFragments,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(c),c.on("close",()=>{this.clients.delete(c),this._shouldEmitClose&&!this.clients.size&&process.nextTick(s0,this)})),a(c,i)}};bK.exports=$D;function kxe(e,t){for(let r of Object.keys(t))e.on(r,t[r]);return function(){for(let n of Object.keys(t))e.removeListener(n,t[n])}}function s0(e){e._state=mK,e.emit("close")}function EK(){this.destroy()}function o0(e,t,r,n){r=r||uB.STATUS_CODES[t],n={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(r),...n},e.once("finish",e.destroy),e.end(`HTTP/1.1 ${t} ${uB.STATUS_CODES[t]}\r
`+Object.keys(n).map(i=>`${i}: ${n[i]}`).join(`\r
`)+`\r
\r
`+r)}function sA(e,t,r,n,i,s){if(e.listenerCount("wsClientError")){let o=new Error(i);Error.captureStackTrace(o,sA),e.emit("wsClientError",o,r,t)}else o0(r,n,i,s)}});var _K=x((nqe,CK)=>{"use strict";var Fxe=hK(),Uxe=iB(),Lxe=Lh(),Pxe=qD(),Oxe=WD(),Hxe=XD(),js=fB(),BK=IK();js.createWebSocketStream=Fxe;js.extension=Uxe;js.PerMessageDeflate=Lxe;js.Receiver=Pxe;js.Sender=Oxe;js.Server=BK;js.subprotocol=Hxe;js.WebSocket=js;js.WebSocketServer=BK;CK.exports=js});var SK=x((iqe,wK)=>{"use strict";var ZD;wK.exports=function(){return ZD===void 0&&(ZD=_K()),ZD}});var fd=fr(ur());var m_={};Ny(m_,{DH_CHECK_P_NOT_PRIME:()=>Roe,DH_CHECK_P_NOT_SAFE_PRIME:()=>voe,DH_NOT_SUITABLE_GENERATOR:()=>Toe,DH_UNABLE_TO_CHECK_GENERATOR:()=>Doe,E2BIG:()=>kne,EACCES:()=>Fne,EADDRINUSE:()=>Une,EADDRNOTAVAIL:()=>Lne,EAFNOSUPPORT:()=>Pne,EAGAIN:()=>One,EALREADY:()=>Hne,EBADF:()=>qne,EBADMSG:()=>Gne,EBUSY:()=>Yne,ECANCELED:()=>Wne,ECHILD:()=>Vne,ECONNABORTED:()=>Jne,ECONNREFUSED:()=>jne,ECONNRESET:()=>zne,EDEADLK:()=>Kne,EDESTADDRREQ:()=>Xne,EDOM:()=>$ne,EDQUOT:()=>Zne,EEXIST:()=>eie,EFAULT:()=>tie,EFBIG:()=>rie,EHOSTUNREACH:()=>nie,EIDRM:()=>iie,EILSEQ:()=>sie,EINPROGRESS:()=>oie,EINTR:()=>aie,EINVAL:()=>fie,EIO:()=>uie,EISCONN:()=>cie,EISDIR:()=>Aie,ELOOP:()=>lie,EMFILE:()=>hie,EMLINK:()=>die,EMSGSIZE:()=>gie,EMULTIHOP:()=>pie,ENAMETOOLONG:()=>yie,ENETDOWN:()=>Eie,ENETRESET:()=>mie,ENETUNREACH:()=>bie,ENFILE:()=>Iie,ENGINE_METHOD_ALL:()=>Soe,ENGINE_METHOD_CIPHERS:()=>Ioe,ENGINE_METHOD_DH:()=>yoe,ENGINE_METHOD_DIGESTS:()=>Boe,ENGINE_METHOD_DSA:()=>poe,ENGINE_METHOD_ECDH:()=>moe,ENGINE_METHOD_ECDSA:()=>boe,ENGINE_METHOD_NONE:()=>Qoe,ENGINE_METHOD_PKEY_ASN1_METHS:()=>woe,ENGINE_METHOD_PKEY_METHS:()=>_oe,ENGINE_METHOD_RAND:()=>Eoe,ENGINE_METHOD_STORE:()=>Coe,ENOBUFS:()=>Bie,ENODATA:()=>Cie,ENODEV:()=>_ie,ENOENT:()=>wie,ENOEXEC:()=>Sie,ENOLCK:()=>Qie,ENOLINK:()=>vie,ENOMEM:()=>Rie,ENOMSG:()=>Die,ENOPROTOOPT:()=>Tie,ENOSPC:()=>Nie,ENOSR:()=>Mie,ENOSTR:()=>xie,ENOSYS:()=>kie,ENOTCONN:()=>Fie,ENOTDIR:()=>Uie,ENOTEMPTY:()=>Lie,ENOTSOCK:()=>Pie,ENOTSUP:()=>Oie,ENOTTY:()=>Hie,ENXIO:()=>qie,EOPNOTSUPP:()=>Gie,EOVERFLOW:()=>Yie,EPERM:()=>Wie,EPIPE:()=>Vie,EPROTO:()=>Jie,EPROTONOSUPPORT:()=>jie,EPROTOTYPE:()=>zie,ERANGE:()=>Kie,EROFS:()=>Xie,ESPIPE:()=>$ie,ESRCH:()=>Zie,ESTALE:()=>ese,ETIME:()=>tse,ETIMEDOUT:()=>rse,ETXTBSY:()=>nse,EWOULDBLOCK:()=>ise,EXDEV:()=>sse,F_OK:()=>qoe,NPN_ENABLED:()=>Noe,O_APPEND:()=>yne,O_CREAT:()=>hne,O_DIRECTORY:()=>Ene,O_EXCL:()=>dne,O_NOCTTY:()=>gne,O_NOFOLLOW:()=>mne,O_NONBLOCK:()=>Bne,O_RDONLY:()=>rne,O_RDWR:()=>ine,O_SYMLINK:()=>Ine,O_SYNC:()=>bne,O_TRUNC:()=>pne,O_WRONLY:()=>nne,POINT_CONVERSION_COMPRESSED:()=>Poe,POINT_CONVERSION_HYBRID:()=>Hoe,POINT_CONVERSION_UNCOMPRESSED:()=>Ooe,RSA_NO_PADDING:()=>koe,RSA_PKCS1_OAEP_PADDING:()=>Foe,RSA_PKCS1_PADDING:()=>Moe,RSA_PKCS1_PSS_PADDING:()=>Loe,RSA_SSLV23_PADDING:()=>xoe,RSA_X931_PADDING:()=>Uoe,R_OK:()=>Goe,SIGABRT:()=>Ase,SIGALRM:()=>bse,SIGBUS:()=>hse,SIGCHLD:()=>Bse,SIGCONT:()=>Cse,SIGFPE:()=>dse,SIGHUP:()=>ose,SIGILL:()=>use,SIGINT:()=>ase,SIGIO:()=>xse,SIGIOT:()=>lse,SIGKILL:()=>gse,SIGPIPE:()=>mse,SIGPROF:()=>Nse,SIGQUIT:()=>fse,SIGSEGV:()=>yse,SIGSTOP:()=>_se,SIGSYS:()=>kse,SIGTERM:()=>Ise,SIGTRAP:()=>cse,SIGTSTP:()=>wse,SIGTTIN:()=>Sse,SIGTTOU:()=>Qse,SIGURG:()=>vse,SIGUSR1:()=>pse,SIGUSR2:()=>Ese,SIGVTALRM:()=>Tse,SIGWINCH:()=>Mse,SIGXCPU:()=>Rse,SIGXFSZ:()=>Dse,SSL_OP_ALL:()=>Fse,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:()=>Use,SSL_OP_CIPHER_SERVER_PREFERENCE:()=>Lse,SSL_OP_CISCO_ANYCONNECT:()=>Pse,SSL_OP_COOKIE_EXCHANGE:()=>Ose,SSL_OP_CRYPTOPRO_TLSEXT_BUG:()=>Hse,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:()=>qse,SSL_OP_EPHEMERAL_RSA:()=>Gse,SSL_OP_LEGACY_SERVER_CONNECT:()=>Yse,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:()=>Wse,SSL_OP_MICROSOFT_SESS_ID_BUG:()=>Vse,SSL_OP_MSIE_SSLV2_RSA_PADDING:()=>Jse,SSL_OP_NETSCAPE_CA_DN_BUG:()=>jse,SSL_OP_NETSCAPE_CHALLENGE_BUG:()=>zse,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:()=>Kse,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:()=>Xse,SSL_OP_NO_COMPRESSION:()=>$se,SSL_OP_NO_QUERY_MTU:()=>Zse,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:()=>eoe,SSL_OP_NO_SSLv2:()=>toe,SSL_OP_NO_SSLv3:()=>roe,SSL_OP_NO_TICKET:()=>noe,SSL_OP_NO_TLSv1:()=>ioe,SSL_OP_NO_TLSv1_1:()=>soe,SSL_OP_NO_TLSv1_2:()=>ooe,SSL_OP_PKCS1_CHECK_1:()=>aoe,SSL_OP_PKCS1_CHECK_2:()=>foe,SSL_OP_SINGLE_DH_USE:()=>uoe,SSL_OP_SINGLE_ECDH_USE:()=>coe,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:()=>Aoe,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:()=>loe,SSL_OP_TLS_BLOCK_PADDING_BUG:()=>hoe,SSL_OP_TLS_D5_BUG:()=>doe,SSL_OP_TLS_ROLLBACK_BUG:()=>goe,S_IFBLK:()=>une,S_IFCHR:()=>fne,S_IFDIR:()=>ane,S_IFIFO:()=>cne,S_IFLNK:()=>Ane,S_IFMT:()=>sne,S_IFREG:()=>one,S_IFSOCK:()=>lne,S_IRGRP:()=>vne,S_IROTH:()=>Nne,S_IRUSR:()=>_ne,S_IRWXG:()=>Qne,S_IRWXO:()=>Tne,S_IRWXU:()=>Cne,S_IWGRP:()=>Rne,S_IWOTH:()=>Mne,S_IWUSR:()=>wne,S_IXGRP:()=>Dne,S_IXOTH:()=>xne,S_IXUSR:()=>Sne,UV_UDP_REUSEADDR:()=>Voe,W_OK:()=>Yoe,X_OK:()=>Woe,default:()=>Joe});var rne=0,nne=1,ine=2,sne=61440,one=32768,ane=16384,fne=8192,une=24576,cne=4096,Ane=40960,lne=49152,hne=512,dne=2048,gne=131072,pne=1024,yne=8,Ene=1048576,mne=256,bne=128,Ine=2097152,Bne=4,Cne=448,_ne=256,wne=128,Sne=64,Qne=56,vne=32,Rne=16,Dne=8,Tne=7,Nne=4,Mne=2,xne=1,kne=7,Fne=13,Une=48,Lne=49,Pne=47,One=35,Hne=37,qne=9,Gne=94,Yne=16,Wne=89,Vne=10,Jne=53,jne=61,zne=54,Kne=11,Xne=39,$ne=33,Zne=69,eie=17,tie=14,rie=27,nie=65,iie=90,sie=92,oie=36,aie=4,fie=22,uie=5,cie=56,Aie=21,lie=62,hie=24,die=31,gie=40,pie=95,yie=63,Eie=50,mie=52,bie=51,Iie=23,Bie=55,Cie=96,_ie=19,wie=2,Sie=8,Qie=77,vie=97,Rie=12,Die=91,Tie=42,Nie=28,Mie=98,xie=99,kie=78,Fie=57,Uie=20,Lie=66,Pie=38,Oie=45,Hie=25,qie=6,Gie=102,Yie=84,Wie=1,Vie=32,Jie=100,jie=43,zie=41,Kie=34,Xie=30,$ie=29,Zie=3,ese=70,tse=101,rse=60,nse=26,ise=35,sse=18,ose=1,ase=2,fse=3,use=4,cse=5,Ase=6,lse=6,hse=10,dse=8,gse=9,pse=30,yse=11,Ese=31,mse=13,bse=14,Ise=15,Bse=20,Cse=19,_se=17,wse=18,Sse=21,Qse=22,vse=16,Rse=24,Dse=25,Tse=26,Nse=27,Mse=28,xse=23,kse=12,Fse=2147486719,Use=262144,Lse=4194304,Pse=32768,Ose=8192,Hse=2147483648,qse=2048,Gse=0,Yse=4,Wse=32,Vse=1,Jse=0,jse=536870912,zse=2,Kse=1073741824,Xse=8,$se=131072,Zse=4096,eoe=65536,toe=16777216,roe=33554432,noe=16384,ioe=67108864,soe=268435456,ooe=134217728,aoe=0,foe=0,uoe=1048576,coe=524288,Aoe=128,loe=0,hoe=512,doe=256,goe=8388608,poe=2,yoe=4,Eoe=8,moe=16,boe=32,Ioe=64,Boe=128,Coe=256,_oe=512,woe=1024,Soe=65535,Qoe=0,voe=2,Roe=1,Doe=4,Toe=8,Noe=1,Moe=1,xoe=2,koe=3,Foe=4,Uoe=5,Loe=6,Poe=2,Ooe=4,Hoe=6,qoe=0,Goe=4,Yoe=2,Woe=1,Voe=4,Joe={O_RDONLY:rne,O_WRONLY:nne,O_RDWR:ine,S_IFMT:sne,S_IFREG:one,S_IFDIR:ane,S_IFCHR:fne,S_IFBLK:une,S_IFIFO:cne,S_IFLNK:Ane,S_IFSOCK:lne,O_CREAT:hne,O_EXCL:dne,O_NOCTTY:gne,O_TRUNC:pne,O_APPEND:yne,O_DIRECTORY:Ene,O_NOFOLLOW:mne,O_SYNC:bne,O_SYMLINK:Ine,O_NONBLOCK:Bne,S_IRWXU:Cne,S_IRUSR:_ne,S_IWUSR:wne,S_IXUSR:Sne,S_IRWXG:Qne,S_IRGRP:vne,S_IWGRP:Rne,S_IXGRP:Dne,S_IRWXO:Tne,S_IROTH:Nne,S_IWOTH:Mne,S_IXOTH:xne,E2BIG:kne,EACCES:Fne,EADDRINUSE:Une,EADDRNOTAVAIL:Lne,EAFNOSUPPORT:Pne,EAGAIN:One,EALREADY:Hne,EBADF:qne,EBADMSG:Gne,EBUSY:Yne,ECANCELED:Wne,ECHILD:Vne,ECONNABORTED:Jne,ECONNREFUSED:jne,ECONNRESET:zne,EDEADLK:Kne,EDESTADDRREQ:Xne,EDOM:$ne,EDQUOT:Zne,EEXIST:eie,EFAULT:tie,EFBIG:rie,EHOSTUNREACH:nie,EIDRM:iie,EILSEQ:sie,EINPROGRESS:oie,EINTR:aie,EINVAL:fie,EIO:uie,EISCONN:cie,EISDIR:Aie,ELOOP:lie,EMFILE:hie,EMLINK:die,EMSGSIZE:gie,EMULTIHOP:pie,ENAMETOOLONG:yie,ENETDOWN:Eie,ENETRESET:mie,ENETUNREACH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SOFT_BIG_SSLV3_BUFFER:Wse,SSL_OP_MICROSOFT_SESS_ID_BUG:Vse,SSL_OP_MSIE_SSLV2_RSA_PADDING:Jse,SSL_OP_NETSCAPE_CA_DN_BUG:jse,SSL_OP_NETSCAPE_CHALLENGE_BUG:zse,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:Kse,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:Xse,SSL_OP_NO_COMPRESSION:$se,SSL_OP_NO_QUERY_MTU:Zse,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:eoe,SSL_OP_NO_SSLv2:toe,SSL_OP_NO_SSLv3:roe,SSL_OP_NO_TICKET:noe,SSL_OP_NO_TLSv1:ioe,SSL_OP_NO_TLSv1_1:soe,SSL_OP_NO_TLSv1_2:ooe,SSL_OP_PKCS1_CHECK_1:aoe,SSL_OP_PKCS1_CHECK_2:foe,SSL_OP_SINGLE_DH_USE:uoe,SSL_OP_SINGLE_ECDH_USE:coe,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:Aoe,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:loe,SSL_OP_TLS_BLOCK_PADDING_BUG:hoe,SSL_OP_TLS_D5_BUG:doe,SSL_OP_TLS_ROLLBACK_BUG:goe,ENGINE_METHOD_DSA:poe,ENGINE_METHOD_DH:yoe,ENGINE_METHOD_RAND:Eoe,ENGINE_METHOD_ECDH:moe,ENGINE_METHOD_ECDSA:boe,ENGINE_METHOD_CIPHERS:Ioe,ENGINE_METHOD_DIGESTS:Boe,ENGINE_METHOD_STORE:Coe,ENGINE_METHOD_PKEY_METHS:_oe,ENGINE_METHOD_PKEY_ASN1_METHS:woe,ENGINE_METHOD_ALL:Soe,ENGINE_METHOD_NONE:Qoe,DH_CHECK_P_NOT_SAFE_PRIME:voe,DH_CHECK_P_NOT_PRIME:Roe,DH_UNABLE_TO_CHECK_GENERATOR:Doe,DH_NOT_SUITABLE_GENERATOR:Toe,NPN_ENABLED:Noe,RSA_PKCS1_PADDING:Moe,RSA_SSLV23_PADDING:xoe,RSA_NO_PADDING:koe,RSA_PKCS1_OAEP_PADDING:Foe,RSA_X931_PADDING:Uoe,RSA_PKCS1_PSS_PADDING:Loe,POINT_CONVERSION_COMPRESSED:Poe,POINT_CONVERSION_UNCOMPRESSED:Ooe,POINT_CONVERSION_HYBRID:Hoe,F_OK:qoe,R_OK:Goe,W_OK:Yoe,X_OK:Woe,UV_UDP_REUSEADDR:Voe};var qxe=fr(Yn()),MT=fr(I_()),Gxe=fr(B_());__();Or();var Yxe=fr(ol()),vA=fr(IS()),IC=fr(yn());var sn=fr(D6()),JS=class{constructor(){let t=new globalThis.TextEncoder,r=new sn.TransformStream({transform(n,i){i.enqueue(t.encode(n))}});this.encoding="utf-8",this.readable=r.readable,this.writable=r.writable}},jS=class{constructor(t="utf-8",r=void 0){let n=new globalThis.TextDecoder(t,r),i=new sn.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}},sm=typeof globalThis.TextEncoderStream=="function"?globalThis.TextEncoderStream:JS,om=typeof globalThis.TextDecoderStream=="function"?globalThis.TextDecoderStream:jS;typeof globalThis.ReadableStream>"u"&&(globalThis.ReadableStream=sn.ReadableStream);typeof globalThis.WritableStream>"u"&&(globalThis.WritableStream=sn.WritableStream);typeof globalThis.TransformStream>"u"&&(globalThis.TransformStream=sn.TransformStream);typeof globalThis.TextEncoderStream>"u"&&(globalThis.TextEncoderStream=sm);typeof globalThis.TextDecoderStream>"u"&&(globalThis.TextDecoderStream=om);var h0=fr(uO()),xT=fr(Z2()),kT=fr(QI()),_B=fr(Jj()),NN=fr(fD()),CA=fr(Kp()),_A=fr(aD()),wA=fr(iD()),FT=fr(Ho()),g$=fr(SK());var h$=e=>{throw TypeError(e)},d$=(e,t,r)=>t.has(e)||h$("Cannot "+r),Kt=(e,t,r)=>(d$(e,t,"read from private field"),r?r.call(e):t.get(e)),QK=(e,t,r)=>t.has(e)?h$("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),vK=(e,t,r,n)=>(d$(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),RK=globalThis.AbortController,DK=globalThis.AbortSignal,R0=fd.Buffer??fd.default?.Buffer??fd.default;typeof R0=="function"&&delete R0.TYPED_ARRAY_SUPPORT;function cB(e){return typeof e=="string"&&e.toLowerCase()==="base64url"?"base64":e}function Wxe(e){return String(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,"")}function Vxe(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,...f){return r(o,cB(a),...f)}),n&&(e.prototype.toString=function(o,...a){return typeof o=="string"&&o.toLowerCase()==="base64url"?Wxe(n.call(this,"base64",...a)):n.call(this,o,...a)}),i&&(e.prototype.write=function(o,a,f,u){return typeof a=="string"?a=cB(a):typeof f=="string"?f=cB(f):typeof u=="string"&&(u=cB(u)),i.call(this,o,a,f,u)}),e.__agentOSBase64UrlPatched=!0}Vxe(R0);typeof R0=="function"&&(globalThis.Buffer=R0);var Yh=IC.types??IC.default?.types,Jxe=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 TK(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 jxe(e){let t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}function Iu(e,t){if(e===null)return e;let r=typeof e;if(r==="function"||r==="symbol")throw TK();if(r!=="object")return e;let n=t.get(e);if(n!==void 0)return n;let i=Object.prototype.toString.call(e),s=Jxe.get(i);if(s){let o=Iu(e.buffer,t),a=new s(o,e.byteOffset,e.length);return t.set(e,a),a}if(i==="[object ArrayBuffer]"){let o=jxe(e);return t.set(e,o),o}if(i==="[object DataView]"){let o=Iu(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,f]of e.entries())o.set(Iu(a,t),Iu(f,t));return o}if(i==="[object Set]"){let o=new Set;t.set(e,o);for(let a of e.values())o.add(Iu(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]=Iu(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]=Iu(e[a],t);return o}throw TK()}function zxe(e,t=void 0){return t!=null&&typeof t=="object"&&"transfer"in t&&t.transfer,Iu(e,new Map)}if(Yh&&typeof Yh.isProxy!="function")Yh.isProxy=()=>!1;else if(Yh)try{Yh.isProxy({})}catch{Yh.isProxy=()=>!1}function Kxe(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 Xxe(e){return typeof e=="boolean"?e:e==null?!1:!!Object(e).capture}function $xe(e){return typeof e=="object"&&e!==null&&"aborted"in e&&typeof e.addEventListener=="function"&&typeof e.removeEventListener=="function"}var zh,p$=(zh=class{constructor(e,t){m(this,"type");m(this,"bubbles");m(this,"cancelable");m(this,"composed");m(this,"detail",null);m(this,"defaultPrevented",!1);m(this,"target",null);m(this,"currentTarget",null);m(this,"eventPhase",0);m(this,"returnValue",!0);m(this,"cancelBubble",!1);m(this,"timeStamp",Date.now());m(this,"isTrusted",!1);m(this,"srcElement",null);m(this,"inPassiveListener",!1);m(this,"propagationStopped",!1);m(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}},m(zh,"NONE",0),m(zh,"CAPTURING_PHASE",1),m(zh,"AT_TARGET",2),m(zh,"BUBBLING_PHASE",3),zh),Zxe=class extends p${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"}},eke=class{constructor(){m(this,"listeners",new Map)}addEventListener(e,t,r){let n=Kxe(r);if(n.signal!==void 0&&!$xe(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=Xxe(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}},RA=p$,MN=Zxe,BC=eke,fa=typeof DK=="function"?DK:class extends BC{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"))}},xA=typeof RK=="function"?RK:class{constructor(){this.signal=new fa}abort(e){this.signal.aborted||(this.signal.aborted=!0,this.signal.reason=e,this.signal.dispatchEvent(new RA("abort")))}};function xN(e,t){if(typeof e=="function")try{e.name!==t&&Object.defineProperty(e,"name",{configurable:!0,value:t})}catch{}}xN(fa,"AbortSignal");xN(xA,"AbortController");try{let e=Object.getPrototypeOf(new xA().signal)?.constructor;xN(e,"AbortSignal")}catch{}try{globalThis.AbortSignal=fa}catch{}try{globalThis.AbortController=xA}catch{}function y$(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 tke(e){let t=new xA;return t.abort(y$(e)),t.signal}function rke(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 fa.abort!="function"&&Object.defineProperty(fa,"abort",{configurable:!0,writable:!0,value(e=void 0){return tke(e)}});typeof fa.timeout!="function"&&Object.defineProperty(fa,"timeout",{configurable:!0,writable:!0,value(e){let t=rke(e),r=new xA,n=setTimeout(()=>{r.abort(y$())},t);return typeof n?.unref=="function"&&n.unref(),r.signal.addEventListener("abort",()=>{clearTimeout(n)},{once:!0}),r.signal}});typeof fa.any!="function"&&Object.defineProperty(fa,"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 xA;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 nke=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(){}}}},ike=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 kN(e,t){return e.code=t,e}function ske(e){return kN(new RangeError(`The "${e}" encoding is not supported`),"ERR_ENCODING_NOT_SUPPORTED")}function fs(e){return kN(new TypeError(`The encoded data was not valid for encoding ${e}`),"ERR_ENCODING_INVALID_ENCODED_DATA")}function oke(){return kN(new TypeError('The "input" argument must be an instance of ArrayBuffer, SharedArrayBuffer, or ArrayBufferView.'),"ERR_INVALID_ARG_TYPE")}function ake(e){return e.replace(/^[\t\n\f\r ]+|[\t\n\f\r ]+$/g,"")}function fke(e){let t=ake(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 ske(t)}}function uke(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 oke()}function AB(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 NK(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);AB(a,r),n=s;continue}}AB(65533,r);continue}if(i>=56320&&i<=57343){AB(65533,r);continue}AB(i,r)}return new Uint8Array(r)}function E$(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 eT(e){return e>=128&&e<=191}function cke(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,f=0;if(o>=194&&o<=223)a=1,f=o&31;else if(o>=224&&o<=239)a=2,f=o&15;else if(o>=240&&o<=244)a=3,f=o&7;else{if(t)throw fs(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 fs(n);i.push("\uFFFD");break}let u=e[s+1];if(!eT(u)){if(t)throw fs(n);i.push("\uFFFD"),s+=1;continue}if(o===224&&u<160||o===237&&u>159||o===240&&u<144||o===244&&u>143){if(t)throw fs(n);i.push("\uFFFD"),s+=1;continue}if(f=f<<6|u&63,a>=2){let c=e[s+2];if(!eT(c)){if(t)throw fs(n);i.push("\uFFFD"),s+=1;continue}f=f<<6|c&63}if(a===3){let c=e[s+3];if(!eT(c)){if(t)throw fs(n);i.push("\uFFFD"),s+=1;continue}f=f<<6|c&63}if(f>=55296&&f<=57343){if(t)throw fs(n);i.push("\uFFFD"),s+=a+1;continue}E$(i,f),s+=a+1}return{text:i.join(""),pending:[]}}function Ake(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 fs(t);s.push("\uFFFD");break}let f=e[a],u=e[a+1],c=o==="le"?f|u<<8:f<<8|u;if(a+=2,c>=55296&&c<=56319){if(a+1>=e.length){if(n)return{text:s.join(""),pending:Array.from(e.slice(a-2))};if(r)throw fs(t);s.push("\uFFFD");continue}let h=e[a],y=e[a+1],b=o==="le"?h|y<<8:h<<8|y;if(b>=56320&&b<=57343){let S=65536+(c-55296<<10)+(b-56320);E$(s,S),a+=2;continue}if(r)throw fs(t);s.push("\uFFFD");continue}if(c>=56320&&c<=57343){if(r)throw fs(t);s.push("\uFFFD");continue}s.push(String.fromCharCode(c))}return{text:s.join(""),pending:[]}}var lke=class{encode(e=""){return NK(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 u=r.charCodeAt(s+1);u>=56320&&u<=57343&&(a=r.slice(s,s+2))}a===""&&(a=r[s]??"");let f=NK(a);if(i+f.length>t.length)break;t.set(f,i),i+=f.length,n+=a.length,a.length===2&&(s+=1)}return{read:n,written:i}}get encoding(){return"utf-8"}get[Symbol.toStringTag](){return"TextEncoder"}},hke=class{constructor(e,t){m(this,"normalizedEncoding");m(this,"fatalFlag");m(this,"ignoreBOMFlag");m(this,"pendingBytes",[]);m(this,"bomSeen",!1);let r=t==null?{}:Object(t);this.normalizedEncoding=fke(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=uke(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"?cke(s,this.fatalFlag,n,this.normalizedEncoding):Ake(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 f=this.pendingBytes;if(this.pendingBytes=[],this.fatalFlag)throw fs(this.normalizedEncoding);return a+"\uFFFD".repeat(Math.ceil(f.length/2))}return a}},FN=lke,kA=hke;function Qn(e,t){globalThis[e]=t}typeof globalThis.global>"u"&&Qn("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(f,u){let c=f instanceof e&&u===void 0?f.source:String(f),h=u===void 0?f instanceof e?f.flags:"":String(u);try{return new e(f,u)}catch(y){if(c===t&&h==="v")return new e(i,"u");throw y}};Object.setPrototypeOf(o,e),o.prototype=e.prototype,Object.defineProperty(o.prototype,"constructor",{value:o,writable:!0,configurable:!0}),Qn("RegExp",Object.assign(o,{__secureExecRgiEmojiCompat:!0}))}}}Qn("TextEncoder",FN);Qn("TextDecoder",kA);Qn("Event",RA);Qn("CustomEvent",MN);Qn("EventTarget",BC);Qn("AbortSignal",fa);Qn("AbortController",xA);Qn("structuredClone",zxe);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)});Qn("ReadableStream",typeof sn.ReadableStream=="function"?sn.ReadableStream:ike);Qn("WritableStream",typeof sn.WritableStream=="function"?sn.WritableStream:nke);typeof sn.TransformStream=="function"&&Qn("TransformStream",sn.TransformStream);typeof sm=="function"&&Qn("TextEncoderStream",sm);typeof om=="function"&&Qn("TextDecoderStream",om);var EA=FT.default?.webidl??FT.default;EA?.is&&(EA.is.ReadableStream=e=>e!=null&&(e instanceof globalThis.ReadableStream||typeof e.getReader=="function"),EA.is.AbortSignal=e=>e!=null&&(e instanceof globalThis.AbortSignal||typeof e.aborted=="boolean"&&typeof e.addEventListener=="function"));EA?.converters?.AbortSignal&&(EA.converters.AbortSignal=(e,...t)=>e!=null&&(e instanceof globalThis.AbortSignal||typeof e.aborted=="boolean"&&typeof e.addEventListener=="function")?e:EA.interfaceConverter(EA.is.AbortSignal,"AbortSignal")(e,...t));var m$=[{name:"_processConfig",c:"h"},{name:"__secureExecHrNowUs",c:"h"},{name:"__secureExecRequireEsmSync",c:"h"},{name:"process.cpuUsage",c:"h"},{name:"process.memoryUsage",c:"h"},{name:"process.resourceUsage",c:"h"},{name:"process.umask",c:"h"},{name:"process.flock",c:"h"},{name:"process.fcntlLock",c:"h"},{name:"process.getuid",c:"h"},{name:"process.getgid",c:"h"},{name:"process.geteuid",c:"h"},{name:"process.getegid",c:"h"},{name:"process.getresuid",c:"h"},{name:"process.getresgid",c:"h"},{name:"process.getgroups",c:"h"},{name:"process.getpwuid",c:"h"},{name:"process.getpwnam",c:"h"},{name:"process.getpwent",c:"h"},{name:"process.getgrgid",c:"h"},{name:"process.getgrnam",c:"h"},{name:"process.getgrent",c:"h"},{name:"process.setuid",c:"h"},{name:"process.seteuid",c:"h"},{name:"process.setreuid",c:"h"},{name:"process.setresuid",c:"h"},{name:"process.setgid",c:"h"},{name:"process.setegid",c:"h"},{name:"process.setregid",c:"h"},{name:"process.setresgid",c:"h"},{name:"process.setgroups",c:"h"},{name:"_fsAccess",c:"h"},{name:"_fsRenameAt2",c:"h"},{name:"_fsLchown",c:"h"},{name:"_fsGetxattr",c:"h"},{name:"_fsListxattr",c:"h"},{name:"_fsSetxattr",c:"h"},{name:"_fsRemovexattr",c:"h"},{name:"_fsTruncateForProcess",c:"h"},{name:"_fsFallocate",c:"h"},{name:"_fsInsertRange",c:"h"},{name:"_fsCollapseRange",c:"h"},{name:"_fsPunchHole",c:"h"},{name:"_fsZeroRange",c:"h"},{name:"_fsFiemap",c:"h"},{name:"_fsNamedFifoPeerReady",c:"h"},{name:"_fsBlockingIoTimeoutMs",c:"h"},{name:"_fsMknod",c:"h"},{name:"_fsOpenTmpfile",c:"h"},{name:"_fsLinkFd",c:"h"},{name:"_fsRemount",c:"h"},{name:"_fsStatfs",c:"h"},{name:"_fsChmodForProcess",c:"h"},{name:"_kernelDescendantStdinWaitingRaw",c:"h"},{name:"process.versions",c:"h"},{name:"_processKill",c:"h"},{name:"_processExec",c:"h"},{name:"_processExecFdImageCommit",c:"h"},{name:"_processSignalState",c:"h"},{name:"_processTakeSignal",c:"h"},{name:"_processWasmSyncRpc",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:"_agentOSReadyDispatch",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:"_cryptoHashCreate",c:"h"},{name:"_cryptoHashUpdate",c:"h"},{name:"_cryptoHashFinal",c:"h"},{name:"_cryptoHashDestroy",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._getPathSync",c:"h"},{name:"fs.readSync",c:"h"},{name:"_fsReadRaw",c:"h"},{name:"_fsReadFileRangeRaw",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:"_childProcessPtyResize",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:"_netSocketWaitConnectSyncRaw",c:"h"},{name:"_netSocketReadRaw",c:"h"},{name:"_netSocketSetReadInterestRaw",c:"h"},{name:"_netSocketSetNoDelayRaw",c:"h"},{name:"_netSocketSetKeepAliveRaw",c:"h"},{name:"_netSocketWriteRaw",c:"h"},{name:"_netSocketWriteSyncRaw",c:"h"},{name:"_netSocketEndRaw",c:"h"},{name:"_netSocketDestroyRaw",c:"h"},{name:"_netSocketUpgradeTlsRaw",c:"h"},{name:"_netSocketUpgradeTlsAsyncRaw",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:"_netBindUnixRaw",c:"h"},{name:"_netBindConnectedUnixRaw",c:"h"},{name:"_netServerAcceptRaw",c:"h"},{name:"_netServerCloseRaw",c:"h"},{name:"_netServerCloseSyncRaw",c:"h"},{name:"_dgramSocketCreateRaw",c:"h"},{name:"_dgramSocketBindRaw",c:"h"},{name:"_dgramSocketRecvRaw",c:"h"},{name:"_dgramSocketSendRaw",c:"h"},{name:"_dgramSocketConnectRaw",c:"h"},{name:"_dgramSocketDisconnectRaw",c:"h"},{name:"_dgramSocketRemoteAddressRaw",c:"h"},{name:"_dgramSocketCloseRaw",c:"h"},{name:"_dgramSocketAddressRaw",c:"h"},{name:"_dgramSocketSetOptionRaw",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:"_kernelPoll",c:"h"},{name:"_kernelIsattyRaw",c:"h"},{name:"_kernelFlockRaw",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"}],oqe=m$.filter(e=>e.c==="h").map(e=>e.name),aqe=m$.filter(e=>e.c==="m").map(e=>e.name);function b$(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 ot(e,t){b$(globalThis,e,t)}function FA(e,t){Object.defineProperty(globalThis,e,{get:()=>t,set:()=>{},configurable:!0,enumerable:!0})}function UA(e,t){b$(globalThis,e,t,{mutable:!0})}var UN=new Map;function LN(e,t){return`${String(e)}:${String(t)}`}function X0(e,t){return e?.capabilityId===void 0||e.capabilityGeneration===void 0?!1:(UN.set(LN(e.capabilityId,e.capabilityGeneration),t),!0)}function $0(e){e?.capabilityId===void 0||e.capabilityGeneration===void 0||UN.delete(LN(e.capabilityId,e.capabilityGeneration))}function dke(e,t,r){let n=UN.get(LN(e,t));return n?(n(r),!0):!1}ot("_agentOSReadyDispatch",dke);function gke(e){return JSON.stringify(e,(t,r)=>r===void 0?{__secureExecDispatchType:"undefined"}:r)}function pke(e,t){return`__bd:${e}:${gke(t)}`}function yke(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 Eke(){if(!_loadPolyfill)throw new Error("_loadPolyfill is not available in sandbox");return _loadPolyfill}function Z0(e,...t){let r=Eke();return yke(r.applySyncPromise(void 0,[pke(e,t)]))}var mke=Object.create,PN=Object.defineProperty,bke=Object.getOwnPropertyDescriptor,I$=Object.getOwnPropertyNames,Ike=Object.getPrototypeOf,Bke=Object.prototype.hasOwnProperty,ON=(e,t)=>function(){return t||(0,e[I$(e)[0]])((t={exports:{}}).exports,t),t.exports},HN=(e,t)=>{for(var r in t)PN(e,r,{get:t[r],enumerable:!0})},Cke=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of I$(t))!Bke.call(e,i)&&i!==r&&PN(e,i,{get:()=>t[i],enumerable:!(n=bke(t,i))||n.enumerable});return e},qN=(e,t,r)=>(r=e!=null?mke(Ike(e)):{},Cke(t||!e||!e.__esModule?PN(r,"default",{value:e,enumerable:!0}):r,e));var B$=ON({"../../../tmp/buffer-build/node_modules/base64-js/index.js"(e){"use strict";e.byteLength=f,e.toByteArray=c,e.fromByteArray=b;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(S){var v=S.length;if(v%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var L=S.indexOf("=");L===-1&&(L=v);var U=L===v?0:4-L%4;return[L,U]}function f(S){var v=a(S),L=v[0],U=v[1];return(L+U)*3/4-U}function u(S,v,L){return(v+L)*3/4-L}function c(S){var v,L=a(S),U=L[0],P=L[1],Y=new n(u(S,U,P)),V=0,X=P>0?U-4:U,j;for(j=0;j<X;j+=4)v=r[S.charCodeAt(j)]<<18|r[S.charCodeAt(j+1)]<<12|r[S.charCodeAt(j+2)]<<6|r[S.charCodeAt(j+3)],Y[V++]=v>>16&255,Y[V++]=v>>8&255,Y[V++]=v&255;return P===2&&(v=r[S.charCodeAt(j)]<<2|r[S.charCodeAt(j+1)]>>4,Y[V++]=v&255),P===1&&(v=r[S.charCodeAt(j)]<<10|r[S.charCodeAt(j+1)]<<4|r[S.charCodeAt(j+2)]>>2,Y[V++]=v>>8&255,Y[V++]=v&255),Y}function h(S){return t[S>>18&63]+t[S>>12&63]+t[S>>6&63]+t[S&63]}function y(S,v,L){for(var U,P=[],Y=v;Y<L;Y+=3)U=(S[Y]<<16&16711680)+(S[Y+1]<<8&65280)+(S[Y+2]&255),P.push(h(U));return P.join("")}function b(S){for(var v,L=S.length,U=L%3,P=[],Y=16383,V=0,X=L-U;V<X;V+=Y)P.push(y(S,V,V+Y>X?X:V+Y));return U===1?(v=S[L-1],P.push(t[v>>2]+t[v<<4&63]+"==")):U===2&&(v=(S[L-2]<<8)+S[L-1],P.push(t[v>>10]+t[v>>4&63]+t[v<<2&63]+"=")),P.join("")}}}),_ke=ON({"../../../tmp/buffer-build/node_modules/ieee754/index.js"(e){e.read=function(t,r,n,i,s){var o,a,f=s*8-i-1,u=(1<<f)-1,c=u>>1,h=-7,y=n?s-1:0,b=n?-1:1,S=t[r+y];for(y+=b,o=S&(1<<-h)-1,S>>=-h,h+=f;h>0;o=o*256+t[r+y],y+=b,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=i;h>0;a=a*256+t[r+y],y+=b,h-=8);if(o===0)o=1-c;else{if(o===u)return a?NaN:(S?-1:1)*(1/0);a=a+Math.pow(2,i),o=o-c}return(S?-1:1)*a*Math.pow(2,o-i)},e.write=function(t,r,n,i,s,o){var a,f,u,c=o*8-s-1,h=(1<<c)-1,y=h>>1,b=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,S=i?0:o-1,v=i?1:-1,L=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,a=h):(a=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+y>=1?r+=b/u:r+=b*Math.pow(2,1-y),r*u>=2&&(a++,u/=2),a+y>=h?(f=0,a=h):a+y>=1?(f=(r*u-1)*Math.pow(2,s),a=a+y):(f=r*Math.pow(2,y-1)*Math.pow(2,s),a=0));s>=8;t[n+S]=f&255,S+=v,f/=256,s-=8);for(a=a<<s|f,c+=s;c>0;t[n+S]=a&255,S+=v,a/=256,c-=8);t[n+S-v]|=L*128}}}),GN=ON({"../../../tmp/buffer-build/node_modules/buffer/index.js"(e){"use strict";var t=B$(),r=_ke(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=P,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 k=new Uint8Array(1),I={foo:function(){return 42}};return Object.setPrototypeOf(I,Uint8Array.prototype),Object.setPrototypeOf(k,I),k.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(k){if(k>i)throw new RangeError('The value "'+k+'" is invalid for option "size"');let I=new Uint8Array(k);return Object.setPrototypeOf(I,a.prototype),I}function a(k,I,w){if(typeof k=="number"){if(typeof I=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return h(k)}return f(k,I,w)}a.poolSize=8192;function f(k,I,w){if(typeof k=="string")return y(k,I);if(ArrayBuffer.isView(k))return S(k);if(k==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k);if(Re(k,ArrayBuffer)||k&&Re(k.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Re(k,SharedArrayBuffer)||k&&Re(k.buffer,SharedArrayBuffer)))return v(k,I,w);if(typeof k=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let H=k.valueOf&&k.valueOf();if(H!=null&&H!==k)return a.from(H,I,w);let W=L(k);if(W)return W;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof k[Symbol.toPrimitive]=="function")return a.from(k[Symbol.toPrimitive]("string"),I,w);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k)}a.from=function(k,I,w){return f(k,I,w)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function u(k){if(typeof k!="number")throw new TypeError('"size" argument must be of type number');if(k<0)throw new RangeError('The value "'+k+'" is invalid for option "size"')}function c(k,I,w){return u(k),k<=0?o(k):I!==void 0?typeof w=="string"?o(k).fill(I,w):o(k).fill(I):o(k)}a.alloc=function(k,I,w){return c(k,I,w)};function h(k){return u(k),o(k<0?0:U(k)|0)}a.allocUnsafe=function(k){return h(k)},a.allocUnsafeSlow=function(k){return h(k)};function y(k,I){if((typeof I!="string"||I==="")&&(I="utf8"),!a.isEncoding(I))throw new TypeError("Unknown encoding: "+I);let w=Y(k,I)|0,H=o(w),W=H.write(k,I);return W!==w&&(H=H.slice(0,W)),H}function b(k){let I=k.length<0?0:U(k.length)|0,w=o(I);for(let H=0;H<I;H+=1)w[H]=k[H]&255;return w}function S(k){if(Re(k,Uint8Array)){let I=new Uint8Array(k);return v(I.buffer,I.byteOffset,I.byteLength)}return b(k)}function v(k,I,w){if(I<0||k.byteLength<I)throw new RangeError('"offset" is outside of buffer bounds');if(k.byteLength<I+(w||0))throw new RangeError('"length" is outside of buffer bounds');let H;return I===void 0&&w===void 0?H=new Uint8Array(k):w===void 0?H=new Uint8Array(k,I):H=new Uint8Array(k,I,w),Object.setPrototypeOf(H,a.prototype),H}function L(k){if(a.isBuffer(k)){let I=U(k.length)|0,w=o(I);return w.length===0||k.copy(w,0,0,I),w}if(k.length!==void 0)return typeof k.length!="number"||He(k.length)?o(0):b(k);if(k.type==="Buffer"&&Array.isArray(k.data))return b(k.data)}function U(k){if(k>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return k|0}function P(k){return+k!=k&&(k=0),a.alloc(+k)}a.isBuffer=function(I){return I!=null&&I._isBuffer===!0&&I!==a.prototype},a.compare=function(I,w){if(Re(I,Uint8Array)&&(I=a.from(I,I.offset,I.byteLength)),Re(w,Uint8Array)&&(w=a.from(w,w.offset,w.byteLength)),!a.isBuffer(I)||!a.isBuffer(w))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(I===w)return 0;let H=I.length,W=w.length;for(let K=0,fe=Math.min(H,W);K<fe;++K)if(I[K]!==w[K]){H=I[K],W=w[K];break}return H<W?-1:W<H?1:0},a.isEncoding=function(I){switch(String(I).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(I,w){if(!Array.isArray(I))throw new TypeError('"list" argument must be an Array of Buffers');if(I.length===0)return a.alloc(0);let H;if(w===void 0)for(w=0,H=0;H<I.length;++H)w+=I[H].length;let W=a.alloc(w),K=0;for(H=0;H<I.length;++H){let fe=I[H];if(!Re(fe,Uint8Array))throw new TypeError('"list" argument must be an Array of Buffers');if(a.isBuffer(fe)||(fe=a.from(fe)),K>=W.length)break;let le=W.length-K,Ee=fe.length>le?le:fe.length;Uint8Array.prototype.set.call(W,fe.subarray(0,Ee),K),K+=Ee}return W};function Y(k,I){if(a.isBuffer(k))return k.length;if(ArrayBuffer.isView(k)||Re(k,ArrayBuffer))return k.byteLength;if(typeof k!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof k);let w=k.length,H=arguments.length>2&&arguments[2]===!0;if(!H&&w===0)return 0;let W=!1;for(;;)switch(I){case"ascii":case"latin1":case"binary":return w;case"utf8":case"utf-8":return Fe(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w*2;case"hex":return w>>>1;case"base64":case"base64url":return De(k).length;default:if(W)return H?-1:Fe(k).length;I=(""+I).toLowerCase(),W=!0}}a.byteLength=Y;function V(k,I,w){let H=!1;if((I===void 0||I<0)&&(I=0),I>this.length||((w===void 0||w>this.length)&&(w=this.length),w<=0)||(w>>>=0,I>>>=0,w<=I))return"";for(k||(k="utf8");;)switch(k){case"hex":return T(this,I,w);case"utf8":case"utf-8":return p(this,I,w);case"ascii":return _(this,I,w);case"latin1":case"binary":return d(this,I,w);case"base64":return B(this,I,w);case"base64url":return l(this,I,w);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,I,w);default:if(H)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),H=!0}}a.prototype._isBuffer=!0;function X(k,I,w){let H=k[I];k[I]=k[w],k[w]=H}a.prototype.swap16=function(){let I=this.length;if(I%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let w=0;w<I;w+=2)X(this,w,w+1);return this},a.prototype.swap32=function(){let I=this.length;if(I%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let w=0;w<I;w+=4)X(this,w,w+3),X(this,w+1,w+2);return this},a.prototype.swap64=function(){let I=this.length;if(I%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let w=0;w<I;w+=8)X(this,w,w+7),X(this,w+1,w+6),X(this,w+2,w+5),X(this,w+3,w+4);return this},a.prototype.toString=function(){let I=this.length;return I===0?"":arguments.length===0?p(this,0,I):V.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(I){if(!a.isBuffer(I))throw new TypeError("Argument must be a Buffer");return this===I?!0:a.compare(this,I)===0},a.prototype.inspect=function(){let I="",w=e.INSPECT_MAX_BYTES;return I=this.toString("hex",0,w).replace(/(.{2})/g,"$1 ").trim(),this.length>w&&(I+=" ... "),"<Buffer "+I+">"},n&&(a.prototype[n]=a.prototype.inspect),a.prototype.compare=function(I,w,H,W,K){if(Re(I,Uint8Array)&&(I=a.from(I,I.offset,I.byteLength)),!a.isBuffer(I))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof I);if(w===void 0&&(w=0),H===void 0&&(H=I?I.length:0),W===void 0&&(W=0),K===void 0&&(K=this.length),w<0||H>I.length||W<0||K>this.length)throw new RangeError("out of range index");if(W>=K&&w>=H)return 0;if(W>=K)return-1;if(w>=H)return 1;if(w>>>=0,H>>>=0,W>>>=0,K>>>=0,this===I)return 0;let fe=K-W,le=H-w,Ee=Math.min(fe,le),St=this.slice(W,K),ye=I.slice(w,H);for(let ge=0;ge<Ee;++ge)if(St[ge]!==ye[ge]){fe=St[ge],le=ye[ge];break}return fe<le?-1:le<fe?1:0};function j(k,I,w,H,W){if(k.length===0)return-1;if(typeof w=="string"?(H=w,w=0):w>2147483647?w=2147483647:w<-2147483648&&(w=-2147483648),w=+w,He(w)&&(w=W?0:k.length-1),w<0&&(w=k.length+w),w>=k.length){if(W)return-1;w=k.length-1}else if(w<0)if(W)w=0;else return-1;if(typeof I=="string"&&(I=a.from(I,H)),a.isBuffer(I))return I.length===0?-1:re(k,I,w,H,W);if(typeof I=="number")return I=I&255,typeof Uint8Array.prototype.indexOf=="function"?W?Uint8Array.prototype.indexOf.call(k,I,w):Uint8Array.prototype.lastIndexOf.call(k,I,w):re(k,[I],w,H,W);throw new TypeError("val must be string, number or Buffer")}function re(k,I,w,H,W){let K=1,fe=k.length,le=I.length;if(H!==void 0&&(H=String(H).toLowerCase(),H==="ucs2"||H==="ucs-2"||H==="utf16le"||H==="utf-16le")){if(k.length<2||I.length<2)return-1;K=2,fe/=2,le/=2,w/=2}function Ee(ye,ge){return K===1?ye[ge]:ye.readUInt16BE(ge*K)}let St;if(W){let ye=-1;for(St=w;St<fe;St++)if(Ee(k,St)===Ee(I,ye===-1?0:St-ye)){if(ye===-1&&(ye=St),St-ye+1===le)return ye*K}else ye!==-1&&(St-=St-ye),ye=-1}else for(w+le>fe&&(w=fe-le),St=w;St>=0;St--){let ye=!0;for(let ge=0;ge<le;ge++)if(Ee(k,St+ge)!==Ee(I,ge)){ye=!1;break}if(ye)return St}return-1}a.prototype.includes=function(I,w,H){return this.indexOf(I,w,H)!==-1},a.prototype.indexOf=function(I,w,H){return j(this,I,w,H,!0)},a.prototype.lastIndexOf=function(I,w,H){return j(this,I,w,H,!1)};function ie(k,I,w,H){w=Number(w)||0;let W=k.length-w;H?(H=Number(H),H>W&&(H=W)):H=W;let K=I.length;H>K/2&&(H=K/2);let fe;for(fe=0;fe<H;++fe){let le=parseInt(I.substr(fe*2,2),16);if(He(le))return fe;k[w+fe]=le}return fe}function oe(k,I,w,H){return hn(Fe(I,k.length-w),k,w,H)}function O(k,I,w,H){return hn(to(I),k,w,H)}function E(k,I,w,H){return hn(De(I),k,w,H)}function R(k,I,w,H){return hn(Te(I,k.length-w),k,w,H)}a.prototype.write=function(I,w,H,W){if(w===void 0)W="utf8",H=this.length,w=0;else if(H===void 0&&typeof w=="string")W=w,H=this.length,w=0;else if(isFinite(w))w=w>>>0,isFinite(H)?(H=H>>>0,W===void 0&&(W="utf8")):(W=H,H=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let K=this.length-w;if((H===void 0||H>K)&&(H=K),I.length>0&&(H<0||w<0)||w>this.length)throw new RangeError("Attempt to write outside buffer bounds");W||(W="utf8");let fe=!1;for(;;)switch(W){case"hex":return ie(this,I,w,H);case"utf8":case"utf-8":return oe(this,I,w,H);case"ascii":case"latin1":case"binary":return O(this,I,w,H);case"base64":case"base64url":return E(this,I,w,H);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,I,w,H);default:if(fe)throw new TypeError("Unknown encoding: "+W);W=(""+W).toLowerCase(),fe=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function B(k,I,w){return I===0&&w===k.length?t.fromByteArray(k):t.fromByteArray(k.slice(I,w))}function l(k,I,w){return B(k,I,w).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,"")}function p(k,I,w){w=Math.min(k.length,w);let H=[],W=I;for(;W<w;){let K=k[W],fe=null,le=K>239?4:K>223?3:K>191?2:1;if(W+le<=w){let Ee,St,ye,ge;switch(le){case 1:K<128&&(fe=K);break;case 2:Ee=k[W+1],(Ee&192)===128&&(ge=(K&31)<<6|Ee&63,ge>127&&(fe=ge));break;case 3:Ee=k[W+1],St=k[W+2],(Ee&192)===128&&(St&192)===128&&(ge=(K&15)<<12|(Ee&63)<<6|St&63,ge>2047&&(ge<55296||ge>57343)&&(fe=ge));break;case 4:Ee=k[W+1],St=k[W+2],ye=k[W+3],(Ee&192)===128&&(St&192)===128&&(ye&192)===128&&(ge=(K&15)<<18|(Ee&63)<<12|(St&63)<<6|ye&63,ge>65535&&ge<1114112&&(fe=ge))}}fe===null?(fe=65533,le=1):fe>65535&&(fe-=65536,H.push(fe>>>10&1023|55296),fe=56320|fe&1023),H.push(fe),W+=le}return D(H)}var Q=4096;function D(k){let I=k.length;if(I<=Q)return String.fromCharCode.apply(String,k);let w="",H=0;for(;H<I;)w+=String.fromCharCode.apply(String,k.slice(H,H+=Q));return w}function _(k,I,w){let H="";w=Math.min(k.length,w);for(let W=I;W<w;++W)H+=String.fromCharCode(k[W]&127);return H}function d(k,I,w){let H="";w=Math.min(k.length,w);for(let W=I;W<w;++W)H+=String.fromCharCode(k[W]);return H}function T(k,I,w){let H=k.length;(!I||I<0)&&(I=0),(!w||w<0||w>H)&&(w=H);let W="";for(let K=I;K<w;++K)W+=wi[k[K]];return W}function M(k,I,w){let H=k.slice(I,w),W="";for(let K=0;K<H.length-1;K+=2)W+=String.fromCharCode(H[K]+H[K+1]*256);return W}a.prototype.slice=function(I,w){let H=this.length;I=~~I,w=w===void 0?H:~~w,I<0?(I+=H,I<0&&(I=0)):I>H&&(I=H),w<0?(w+=H,w<0&&(w=0)):w>H&&(w=H),w<I&&(w=I);let W=this.subarray(I,w);return Object.setPrototypeOf(W,a.prototype),W};function C(k,I,w){if(k%1!==0||k<0)throw new RangeError("offset is not uint");if(k+I>w)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(I,w,H){I=I>>>0,w=w>>>0,H||C(I,w,this.length);let W=this[I],K=1,fe=0;for(;++fe<w&&(K*=256);)W+=this[I+fe]*K;return W},a.prototype.readUintBE=a.prototype.readUIntBE=function(I,w,H){I=I>>>0,w=w>>>0,H||C(I,w,this.length);let W=this[I+--w],K=1;for(;w>0&&(K*=256);)W+=this[I+--w]*K;return W},a.prototype.readUint8=a.prototype.readUInt8=function(I,w){return I=I>>>0,w||C(I,1,this.length),this[I]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(I,w){return I=I>>>0,w||C(I,2,this.length),this[I]|this[I+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(I,w){return I=I>>>0,w||C(I,2,this.length),this[I]<<8|this[I+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(I,w){return I=I>>>0,w||C(I,4,this.length),(this[I]|this[I+1]<<8|this[I+2]<<16)+this[I+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(I,w){return I=I>>>0,w||C(I,4,this.length),this[I]*16777216+(this[I+1]<<16|this[I+2]<<8|this[I+3])},a.prototype.readBigUInt64LE=Ne(function(I){I=I>>>0,Se(I,"offset");let w=this[I],H=this[I+7];(w===void 0||H===void 0)&&ve(I,this.length-8);let W=w+this[++I]*2**8+this[++I]*2**16+this[++I]*2**24,K=this[++I]+this[++I]*2**8+this[++I]*2**16+H*2**24;return BigInt(W)+(BigInt(K)<<BigInt(32))}),a.prototype.readBigUInt64BE=Ne(function(I){I=I>>>0,Se(I,"offset");let w=this[I],H=this[I+7];(w===void 0||H===void 0)&&ve(I,this.length-8);let W=w*2**24+this[++I]*2**16+this[++I]*2**8+this[++I],K=this[++I]*2**24+this[++I]*2**16+this[++I]*2**8+H;return(BigInt(W)<<BigInt(32))+BigInt(K)}),a.prototype.readIntLE=function(I,w,H){I=I>>>0,w=w>>>0,H||C(I,w,this.length);let W=this[I],K=1,fe=0;for(;++fe<w&&(K*=256);)W+=this[I+fe]*K;return K*=128,W>=K&&(W-=Math.pow(2,8*w)),W},a.prototype.readIntBE=function(I,w,H){I=I>>>0,w=w>>>0,H||C(I,w,this.length);let W=w,K=1,fe=this[I+--W];for(;W>0&&(K*=256);)fe+=this[I+--W]*K;return K*=128,fe>=K&&(fe-=Math.pow(2,8*w)),fe},a.prototype.readInt8=function(I,w){return I=I>>>0,w||C(I,1,this.length),this[I]&128?(255-this[I]+1)*-1:this[I]},a.prototype.readInt16LE=function(I,w){I=I>>>0,w||C(I,2,this.length);let H=this[I]|this[I+1]<<8;return H&32768?H|4294901760:H},a.prototype.readInt16BE=function(I,w){I=I>>>0,w||C(I,2,this.length);let H=this[I+1]|this[I]<<8;return H&32768?H|4294901760:H},a.prototype.readInt32LE=function(I,w){return I=I>>>0,w||C(I,4,this.length),this[I]|this[I+1]<<8|this[I+2]<<16|this[I+3]<<24},a.prototype.readInt32BE=function(I,w){return I=I>>>0,w||C(I,4,this.length),this[I]<<24|this[I+1]<<16|this[I+2]<<8|this[I+3]},a.prototype.readBigInt64LE=Ne(function(I){I=I>>>0,Se(I,"offset");let w=this[I],H=this[I+7];(w===void 0||H===void 0)&&ve(I,this.length-8);let W=this[I+4]+this[I+5]*2**8+this[I+6]*2**16+(H<<24);return(BigInt(W)<<BigInt(32))+BigInt(w+this[++I]*2**8+this[++I]*2**16+this[++I]*2**24)}),a.prototype.readBigInt64BE=Ne(function(I){I=I>>>0,Se(I,"offset");let w=this[I],H=this[I+7];(w===void 0||H===void 0)&&ve(I,this.length-8);let W=(w<<24)+this[++I]*2**16+this[++I]*2**8+this[++I];return(BigInt(W)<<BigInt(32))+BigInt(this[++I]*2**24+this[++I]*2**16+this[++I]*2**8+H)}),a.prototype.readFloatLE=function(I,w){return I=I>>>0,w||C(I,4,this.length),r.read(this,I,!0,23,4)},a.prototype.readFloatBE=function(I,w){return I=I>>>0,w||C(I,4,this.length),r.read(this,I,!1,23,4)},a.prototype.readDoubleLE=function(I,w){return I=I>>>0,w||C(I,8,this.length),r.read(this,I,!0,52,8)},a.prototype.readDoubleBE=function(I,w){return I=I>>>0,w||C(I,8,this.length),r.read(this,I,!1,52,8)};function F(k,I,w,H,W,K){if(!a.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(I>W||I<K)throw new RangeError('"value" argument is out of bounds');if(w+H>k.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(I,w,H,W){if(I=+I,w=w>>>0,H=H>>>0,!W){let le=Math.pow(2,8*H)-1;F(this,I,w,H,le,0)}let K=1,fe=0;for(this[w]=I&255;++fe<H&&(K*=256);)this[w+fe]=I/K&255;return w+H},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(I,w,H,W){if(I=+I,w=w>>>0,H=H>>>0,!W){let le=Math.pow(2,8*H)-1;F(this,I,w,H,le,0)}let K=H-1,fe=1;for(this[w+K]=I&255;--K>=0&&(fe*=256);)this[w+K]=I/fe&255;return w+H},a.prototype.writeUint8=a.prototype.writeUInt8=function(I,w,H){return I=+I,w=w>>>0,H||F(this,I,w,1,255,0),this[w]=I&255,w+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(I,w,H){return I=+I,w=w>>>0,H||F(this,I,w,2,65535,0),this[w]=I&255,this[w+1]=I>>>8,w+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(I,w,H){return I=+I,w=w>>>0,H||F(this,I,w,2,65535,0),this[w]=I>>>8,this[w+1]=I&255,w+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(I,w,H){return I=+I,w=w>>>0,H||F(this,I,w,4,4294967295,0),this[w+3]=I>>>24,this[w+2]=I>>>16,this[w+1]=I>>>8,this[w]=I&255,w+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(I,w,H){return I=+I,w=w>>>0,H||F(this,I,w,4,4294967295,0),this[w]=I>>>24,this[w+1]=I>>>16,this[w+2]=I>>>8,this[w+3]=I&255,w+4};function se(k,I,w,H,W){_r(I,H,W,k,w,7);let K=Number(I&BigInt(4294967295));k[w++]=K,K=K>>8,k[w++]=K,K=K>>8,k[w++]=K,K=K>>8,k[w++]=K;let fe=Number(I>>BigInt(32)&BigInt(4294967295));return k[w++]=fe,fe=fe>>8,k[w++]=fe,fe=fe>>8,k[w++]=fe,fe=fe>>8,k[w++]=fe,w}function ue(k,I,w,H,W){_r(I,H,W,k,w,7);let K=Number(I&BigInt(4294967295));k[w+7]=K,K=K>>8,k[w+6]=K,K=K>>8,k[w+5]=K,K=K>>8,k[w+4]=K;let fe=Number(I>>BigInt(32)&BigInt(4294967295));return k[w+3]=fe,fe=fe>>8,k[w+2]=fe,fe=fe>>8,k[w+1]=fe,fe=fe>>8,k[w]=fe,w+8}a.prototype.writeBigUInt64LE=Ne(function(I,w=0){return se(this,I,w,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=Ne(function(I,w=0){return ue(this,I,w,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(I,w,H,W){if(I=+I,w=w>>>0,!W){let Ee=Math.pow(2,8*H-1);F(this,I,w,H,Ee-1,-Ee)}let K=0,fe=1,le=0;for(this[w]=I&255;++K<H&&(fe*=256);)I<0&&le===0&&this[w+K-1]!==0&&(le=1),this[w+K]=(I/fe>>0)-le&255;return w+H},a.prototype.writeIntBE=function(I,w,H,W){if(I=+I,w=w>>>0,!W){let Ee=Math.pow(2,8*H-1);F(this,I,w,H,Ee-1,-Ee)}let K=H-1,fe=1,le=0;for(this[w+K]=I&255;--K>=0&&(fe*=256);)I<0&&le===0&&this[w+K+1]!==0&&(le=1),this[w+K]=(I/fe>>0)-le&255;return w+H},a.prototype.writeInt8=function(I,w,H){return I=+I,w=w>>>0,H||F(this,I,w,1,127,-128),I<0&&(I=255+I+1),this[w]=I&255,w+1},a.prototype.writeInt16LE=function(I,w,H){return I=+I,w=w>>>0,H||F(this,I,w,2,32767,-32768),this[w]=I&255,this[w+1]=I>>>8,w+2},a.prototype.writeInt16BE=function(I,w,H){return I=+I,w=w>>>0,H||F(this,I,w,2,32767,-32768),this[w]=I>>>8,this[w+1]=I&255,w+2},a.prototype.writeInt32LE=function(I,w,H){return I=+I,w=w>>>0,H||F(this,I,w,4,2147483647,-2147483648),this[w]=I&255,this[w+1]=I>>>8,this[w+2]=I>>>16,this[w+3]=I>>>24,w+4},a.prototype.writeInt32BE=function(I,w,H){return I=+I,w=w>>>0,H||F(this,I,w,4,2147483647,-2147483648),I<0&&(I=4294967295+I+1),this[w]=I>>>24,this[w+1]=I>>>16,this[w+2]=I>>>8,this[w+3]=I&255,w+4},a.prototype.writeBigInt64LE=Ne(function(I,w=0){return se(this,I,w,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=Ne(function(I,w=0){return ue(this,I,w,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ae(k,I,w,H,W,K){if(w+H>k.length)throw new RangeError("Index out of range");if(w<0)throw new RangeError("Index out of range")}function pe(k,I,w,H,W){return I=+I,w=w>>>0,W||Ae(k,I,w,4,34028234663852886e22,-34028234663852886e22),r.write(k,I,w,H,23,4),w+4}a.prototype.writeFloatLE=function(I,w,H){return pe(this,I,w,!0,H)},a.prototype.writeFloatBE=function(I,w,H){return pe(this,I,w,!1,H)};function he(k,I,w,H,W){return I=+I,w=w>>>0,W||Ae(k,I,w,8,17976931348623157e292,-17976931348623157e292),r.write(k,I,w,H,52,8),w+8}a.prototype.writeDoubleLE=function(I,w,H){return he(this,I,w,!0,H)},a.prototype.writeDoubleBE=function(I,w,H){return he(this,I,w,!1,H)},a.prototype.copy=function(I,w,H,W){if(!a.isBuffer(I))throw new TypeError("argument should be a Buffer");if(H||(H=0),!W&&W!==0&&(W=this.length),w>=I.length&&(w=I.length),w||(w=0),W>0&&W<H&&(W=H),W===H||I.length===0||this.length===0)return 0;if(w<0)throw new RangeError("targetStart out of bounds");if(H<0||H>=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),I.length-w<W-H&&(W=I.length-w+H);let K=W-H;return this===I&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(w,H,W):Uint8Array.prototype.set.call(I,this.subarray(H,W),w),K},a.prototype.fill=function(I,w,H,W){if(typeof I=="string"){if(typeof w=="string"?(W=w,w=0,H=this.length):typeof H=="string"&&(W=H,H=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(I.length===1){let fe=I.charCodeAt(0);(W==="utf8"&&fe<128||W==="latin1")&&(I=fe)}}else typeof I=="number"?I=I&255:typeof I=="boolean"&&(I=Number(I));if(w<0||this.length<w||this.length<H)throw new RangeError("Out of range index");if(H<=w)return this;w=w>>>0,H=H===void 0?this.length:H>>>0,I||(I=0);let K;if(typeof I=="number")for(K=w;K<H;++K)this[K]=I;else{let fe=a.isBuffer(I)?I:a.from(I,W),le=fe.length;if(le===0)throw new TypeError('The value "'+I+'" is invalid for argument "value"');for(K=0;K<H-w;++K)this[K+w]=fe[K%le]}return this};var de={};function Qt(k,I,w){de[k]=class extends w{constructor(){super(),Object.defineProperty(this,"message",{value:I.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${k}]`,this.stack,delete this.name}get code(){return k}set code(W){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:W,writable:!0})}toString(){return`${this.name} [${k}]: ${this.message}`}}}Qt("ERR_BUFFER_OUT_OF_BOUNDS",function(k){return k?`${k} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Qt("ERR_INVALID_ARG_TYPE",function(k,I){return`The "${k}" argument must be of type number. Received type ${typeof I}`},TypeError),Qt("ERR_OUT_OF_RANGE",function(k,I,w){let H=`The value of "${k}" is out of range.`,W=w;return Number.isInteger(w)&&Math.abs(w)>2**32?W=Ie(String(w)):typeof w=="bigint"&&(W=String(w),(w>BigInt(2)**BigInt(32)||w<-(BigInt(2)**BigInt(32)))&&(W=Ie(W)),W+="n"),H+=` It must be ${I}. Received ${W}`,H},RangeError);function Ie(k){let I="",w=k.length,H=k[0]==="-"?1:0;for(;w>=H+4;w-=3)I=`_${k.slice(w-3,w)}${I}`;return`${k.slice(0,w)}${I}`}function _e(k,I,w){Se(I,"offset"),(k[I]===void 0||k[I+w]===void 0)&&ve(I,k.length-(w+1))}function _r(k,I,w,H,W,K){if(k>w||k<I){let fe=typeof I=="bigint"?"n":"",le;throw K>3?I===0||I===BigInt(0)?le=`>= 0${fe} and < 2${fe} ** ${(K+1)*8}${fe}`:le=`>= -(2${fe} ** ${(K+1)*8-1}${fe}) and < 2 ** ${(K+1)*8-1}${fe}`:le=`>= ${I}${fe} and <= ${w}${fe}`,new de.ERR_OUT_OF_RANGE("value",le,k)}_e(H,W,K)}function Se(k,I){if(typeof k!="number")throw new de.ERR_INVALID_ARG_TYPE(I,"number",k)}function ve(k,I,w){throw Math.floor(k)!==k?(Se(k,w),new de.ERR_OUT_OF_RANGE(w||"offset","an integer",k)):I<0?new de.ERR_BUFFER_OUT_OF_BOUNDS:new de.ERR_OUT_OF_RANGE(w||"offset",`>= ${w?1:0} and <= ${I}`,k)}var eo=/[^+/0-9A-Za-z-_]/g;function Ge(k){if(k=k.split("=")[0],k=k.trim().replace(eo,""),k.length<2)return"";for(;k.length%4!==0;)k=k+"=";return k}function Fe(k,I){I=I||1/0;let w,H=k.length,W=null,K=[];for(let fe=0;fe<H;++fe){if(w=k.charCodeAt(fe),w>55295&&w<57344){if(!W){if(w>56319){(I-=3)>-1&&K.push(239,191,189);continue}else if(fe+1===H){(I-=3)>-1&&K.push(239,191,189);continue}W=w;continue}if(w<56320){(I-=3)>-1&&K.push(239,191,189),W=w;continue}w=(W-55296<<10|w-56320)+65536}else W&&(I-=3)>-1&&K.push(239,191,189);if(W=null,w<128){if((I-=1)<0)break;K.push(w)}else if(w<2048){if((I-=2)<0)break;K.push(w>>6|192,w&63|128)}else if(w<65536){if((I-=3)<0)break;K.push(w>>12|224,w>>6&63|128,w&63|128)}else if(w<1114112){if((I-=4)<0)break;K.push(w>>18|240,w>>12&63|128,w>>6&63|128,w&63|128)}else throw new Error("Invalid code point")}return K}function to(k){let I=[];for(let w=0;w<k.length;++w)I.push(k.charCodeAt(w)&255);return I}function Te(k,I){let w,H,W,K=[];for(let fe=0;fe<k.length&&!((I-=2)<0);++fe)w=k.charCodeAt(fe),H=w>>8,W=w%256,K.push(W),K.push(H);return K}function De(k){return t.toByteArray(Ge(k))}function hn(k,I,w,H){let W;for(W=0;W<H&&!(W+w>=I.length||W>=k.length);++W)I[W+w]=k[W];return W}function Re(k,I){return k instanceof I||k!=null&&k.constructor!=null&&k.constructor.name!=null&&k.constructor.name===I.name}function He(k){return k!==k}var wi=(function(){let k="0123456789abcdef",I=new Array(256);for(let w=0;w<16;++w){let H=w*16;for(let W=0;W<16;++W)I[H+W]=k[w]+k[W]}return I})();function Ne(k){return typeof BigInt>"u"?We:k}function We(){throw new Error("BigInt not supported")}}}),WB=qN(GN(),1),Ed=typeof WB.Buffer.kMaxLength=="number"?WB.Buffer.kMaxLength:2147483647,ey=typeof WB.Buffer.kStringMaxLength=="number"?WB.Buffer.kStringMaxLength:536870888,C$=Object.freeze({MAX_LENGTH:Ed,MAX_STRING_LENGTH:ey}),we=qN(GN(),1),Du=we.Buffer;delete Du.TYPED_ARRAY_SUPPORT;typeof Du.kMaxLength!="number"&&(Du.kMaxLength=Ed);typeof Du.kStringMaxLength!="number"&&(Du.kStringMaxLength=ey);(typeof Du.constants!="object"||Du.constants===null)&&(Du.constants={MAX_LENGTH:Ed,MAX_STRING_LENGTH:ey});var a0=we.Buffer.prototype;if(typeof a0.utf8Slice!="function"){let e=["utf8","latin1","ascii","hex","base64","ucs2","utf16le"];for(let t of e)typeof a0[t+"Slice"]!="function"&&(a0[t+"Slice"]=function(r,n){return this.toString(t,r,n)}),typeof a0[t+"Write"]!="function"&&(a0[t+"Write"]=function(r,n,i){return this.write(r,n??0,i??this.length-(n??0),t)})}typeof Uint8Array.prototype.utf8Slice!="function"&&Object.defineProperty(Uint8Array.prototype,"utf8Slice",{configurable:!0,writable:!0,value(e,t){return we.Buffer.from(this.buffer,this.byteOffset,this.byteLength).toString("utf8",e,t)}});var f0=we.Buffer;if(typeof f0.allocUnsafe=="function"&&!f0.allocUnsafe._secureExecPatched){let e=f0.allocUnsafe;f0.allocUnsafe=function(r){try{return e.call(this,r)}catch(n){throw n instanceof RangeError&&typeof r=="number"&&r>Ed?new Error("Array buffer allocation failed"):n}},f0.allocUnsafe._secureExecPatched=!0}var VB=we.Buffer;function wke(){try{if(typeof Uint8Array.fromBase64!="function"||typeof Uint8Array.prototype.toBase64!="function")return!1;let e=new Uint8Array([251,255]).toBase64({alphabet:"base64url",omitPadding:!0}),t=Uint8Array.fromBase64("-_8",{alphabet:"base64url"});return e==="-_8"&&t.length===2&&t[0]===251&&t[1]===255}catch{return!1}}wke()||(Object.defineProperty(Uint8Array,"fromBase64",{configurable:!0,writable:!0,value(e,t={}){let r=t?.alphabet??"base64",n=String(e);if(r==="base64url")n=n.replace(/-/g,"+").replace(/_/g,"/");else if(r!=="base64")throw new TypeError(`Unknown alphabet: ${r}`);return Uint8Array.from(VB.from(n,"base64"))}}),Object.defineProperty(Uint8Array.prototype,"toBase64",{configurable:!0,writable:!0,value(e={}){let t=e?.alphabet??"base64",r=VB.from(this.buffer,this.byteOffset,this.byteLength).toString("base64");if(t==="base64url")r=r.replace(/\+/g,"-").replace(/\//g,"_");else if(t!=="base64")throw new TypeError(`Unknown alphabet: ${t}`);return e?.omitPadding?r.replace(/=+$/g,""):r}}));var wB={scheduler:{wait(e=0,t=void 0){return wB.setTimeout(e,void 0,t)},yield(){return wB.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 wB.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})})}},_$=new Set;function Cf(){return Array.from(_$,e=>({storage:e,hasStore:e._hasStore===!0,store:e._store}))}function MK(e){for(let t of e)t.storage._hasStore=t.hasStore,t.storage._store=t.store}function CC(e,t,r,n){if(typeof t!="function")return t;let i=Cf();MK(e);try{return t.apply(r,n)}finally{MK(i)}}function ud(e,t){return typeof e!="function"?e:function(...r){try{return CC(t,e,this,r)}catch(n){throw PC(n),n}}}var w$={AsyncLocalStorage:class{constructor(){this._hasStore=!1,this._store=void 0,_$.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=Cf()}emitBefore(){}emitAfter(){}emitDestroy(){}asyncId(){return 0}triggerAsyncId(){return 0}runInAsyncScope(e,t,...r){return CC(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=Cf(),i=typeof r=="function"?s=>{if(PC(s))throw s;return r(s)}:r;return e.call(this,ud(t,n),ud(i,n))},Object.defineProperty(Promise.prototype,"__agentOSAsyncLocalStoragePatched",{value:!0,configurable:!0})}var YN={create:"kernelTimerCreate",arm:"kernelTimerArm",clear:"kernelTimerClear"};ot("_asyncHooksModule",w$);var hf=typeof queueMicrotask=="function"?queueMicrotask:function(e){Promise.resolve().then(e)};function S$(e){let t=Number(e??0);return!Number.isFinite(t)||t<=0?0:Math.floor(t)}function Q$(e){if(e&&typeof e=="object"&&e._id!==void 0)return e._id;if(typeof e=="number")return e}function v$(e,t){try{return Z0(YN.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 _C(e){Z0(YN.arm,e)}var WN=class{constructor(e){m(this,"_id");m(this,"_destroyed");m(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&&bf.has(this._id)&&_C(this._id),this}[Symbol.toPrimitive](){return this._id}},bf=new Map,SA=new Map,Ske=-1,SB=[];function Qke(){if(typeof Zs<"u"&&Zs)return 0;let e=0;for(let t of bf.values())t.handle?.hasRef?.()!==!1&&(e+=1);return e}function R$(){return typeof Zs<"u"&&Zs?0:SA.size}function VN(){return Qke()+R$()}function DA(){if(VN()===0&&SB.length>0){let e=SB;SB=[],e.forEach(t=>t())}}function vke(){return VN()}function Rke(){return R$()}function Dke(){return VN()===0?Promise.resolve():new Promise(e=>{SB.push(e),DA()})}var QB=[],UT=!1;function Tke(){for(UT=!1;QB.length>0;){let e=QB.shift();if(!e)break;try{e.callback(...e.args)}catch(t){let r=Bd(t);!r.handled&&r.rethrow!==null&&(QB.length=0,Uee(r.rethrow));return}}}function Nke(){if(UT)return;UT=!0;let e=Cf();hf(()=>CC(e,Tke,globalThis,[]))}function Mke(e,t){let r=typeof t=="number"?t:Number(t?.timerId);if(!Number.isFinite(r))return;let n=bf.get(r);if(n){n.repeat||(n.handle._destroyed=!0,bf.delete(r));try{n.callback(...n.args)}catch(i){let s=Bd(i);if(!s.handled&&s.rethrow!==null)throw s.rethrow;return}if(typeof Zs<"u"&&Zs){DA();return}n.repeat&&bf.has(r)&&_C(r),DA()}}function wC(e,t,...r){let n=Math.max(1,S$(t)),i=v$(n,!1),s=new WN(i),o=Cf();return bf.set(i,{handle:s,callback:ud(e,o),args:r,repeat:!1}),_C(i),s}function ty(e){let t=Q$(e);if(t===void 0)return;let r=bf.get(t);r&&(r.handle._destroyed=!0,bf.delete(t)),Z0(YN.clear,t),DA()}function D$(e,t,...r){let n=Math.max(1,S$(t)),i=v$(n,!0),s=new WN(i),o=Cf();return bf.set(i,{handle:s,callback:ud(e,o),args:r,repeat:!0}),_C(i),s}function T$(e){ty(e)}ot("_timerDispatch",Mke);function xke(){let e=Array.from(SA.entries());for(let[t,r]of e)if(SA.get(t)===r){r.handle._destroyed=!0,SA.delete(t);try{r.callback(...r.args)}catch(n){let i=Bd(n);if(!i.handled&&i.rethrow!==null)throw i.rethrow;return}if(typeof Zs<"u"&&Zs){DA();return}}DA()}ot("_getPendingTimerCount",vke);ot("_drainImmediates",xke);ot("_getPendingImmediateCount",Rke);ot("_waitForTimerDrain",Dke);function JB(e,...t){let r=Ske--,n=new WN(r),i=Cf();return SA.set(r,{handle:n,callback:ud(e,i),args:t,repeat:!1}),n}function N$(e){let t=Q$(e);if(t===void 0)return;let r=SA.get(t);if(r){r.handle._destroyed=!0,SA.delete(t),DA();return}t<0||ty(e)}var kke={stdinIsTTY:!1,stdoutIsTTY:!1,stderrIsTTY:!1,cols:80,rows:24},nf=null;function tT(e){if(typeof _kernelIsattyRaw>"u")throw new Error("_kernelIsattyRaw is unavailable");return _kernelIsattyRaw.applySync(void 0,[e])===!0}function Fke(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 D0(){if(typeof __runtimeTtyConfig<"u")return nf=__runtimeTtyConfig,nf;if(!nf)try{nf={stdinIsTTY:tT(0),stdoutIsTTY:tT(1),stderrIsTTY:tT(2),cols:80,rows:24}}catch{return kke}let e=nf.stdoutIsTTY?1:nf.stdinIsTTY?0:void 0;if(e!==void 0){let t=Fke(e);nf.cols=t.cols,nf.rows=t.rows}return nf}function Uke(){return D0().stdoutIsTTY}function Lke(){return D0().stderrIsTTY}function Pke(e,t){if(typeof e=="function")return e;if(typeof t=="function")return t}function lB(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 M$(e){let t={},r={},n=10,i=(o,a)=>{if(t[o]){let f=t[o].indexOf(a);f!==-1&&t[o].splice(f,1)}if(r[o]){let f=r[o].indexOf(a);f!==-1&&r[o].splice(f,1)}},s={write(o,a,f){o instanceof Uint8Array||typeof we.Buffer<"u"&&we.Buffer.isBuffer(o)?e.write(o):e.write(String(o));let u=Pke(a,f);return u&&hf(()=>u(null)),!0},end(o,a,f){return typeof o=="function"?(f=o,o=void 0):typeof a=="function"&&(f=a),o!=null&&s.write(o),s.writableEnded=!0,typeof f=="function"&&hf(()=>f()),hf(()=>lB(t,r,"finish",[])),s},destroyed:!1,destroy(o){return s.destroyed||(s.destroyed=!0,o&&hf(()=>lB(t,r,"error",[o])),hf(()=>lB(t,r,"close",[]))),s},cork(){},uncork(){},setDefaultEncoding(){return s},on(o,a){return t[o]||(t[o]=[]),t[o].push(a),s},once(o,a){return r[o]||(r[o]=[]),r[o].push(a),s},off(o,a){return i(o,a),s},removeListener(o,a){return i(o,a),s},addListener(o,a){return s.on(o,a)},prependListener(o,a){return t[o]||(t[o]=[]),t[o].unshift(a),s},prependOnceListener(o,a){return r[o]||(r[o]=[]),r[o].unshift(a),s},removeAllListeners(o){if(o===void 0){for(let a of Object.keys(t))delete t[a];for(let a of Object.keys(r))delete r[a]}else delete t[o],delete r[o];return s},listeners(o){return[...t[o]||[],...r[o]||[]]},listenerCount(o){return(t[o]?.length||0)+(r[o]?.length||0)},setMaxListeners(o){if(typeof o!="number"||!Number.isFinite(o)||o<0){let a=new RangeError(`The value of "n" is out of range. It must be a non-negative number. Received ${o}.`);throw a.code="ERR_OUT_OF_RANGE",a}return n=o,s},getMaxListeners(){return n},eventNames(){return[...new Set([...Object.keys(t),...Object.keys(r)])]},emit(o,...a){return lB(t,r,o,a)},writable:!0,get isTTY(){return e.isTTY()},get columns(){return D0().cols},get rows(){return D0().rows},getColorDepth(){return e.isTTY()?8:1},hasColors(o=16){if(!e.isTTY())return!1;let a=Number(o);return Number.isFinite(a)&&a<=2**8}};return s}var JN=M$({write(e){typeof _log<"u"&&_log.applySync(void 0,[e])},isTTY:Uke}),jN=M$({write(e){typeof _error<"u"&&_error.applySync(void 0,[e])},isTTY:Lke});function Oke(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 LT(e){let t=b0(globalThis.__secureExecBuiltinUtilModule);return typeof t<"u"&&typeof t?.formatWithOptions=="function"?t.formatWithOptions({colors:!1},...e):e.map(r=>Oke(r)).join(" ")}function Wh(e){return`${LT(e)}
`}var zN=class{constructor(e=JN,t=jN){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(Wh(e))}info(...e){this._stdout.write(Wh(e))}debug(...e){this._stdout.write(Wh(e))}warn(...e){this._stderr.write(Wh(e))}error(...e){this._stderr.write(Wh(e))}dir(e){this._stdout.write(Wh([e]))}dirxml(...e){this.log(...e)}trace(...e){let t=LT(e),r=new Error(t);this._stderr.write(`${r.stack||t}
`)}assert(e,...t){if(!e){let r=t.length>0?LT(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 zN;globalThis.console=ht;function Hke(){return{run(e,...t){return typeof e=="function"?e(...t):void 0}}}function qke(e=JN,t=jN){return new zN(e,t)}var Gke={Console:zN,assert:ht.assert.bind(ht),clear:ht.clear.bind(ht),context:qke,count:ht.count.bind(ht),countReset:ht.countReset.bind(ht),createTask:Hke,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 b0(e){if(!e)return e;typeof e.aborted!="function"&&(e.aborted=function(n){if(!n||typeof n.addEventListener!="function"){let i=new TypeError('The "signal" argument must be an AbortSignal');throw i.code="ERR_INVALID_ARG_TYPE",i}return n.aborted?Promise.resolve():new Promise(i=>{n.addEventListener("abort",i,{once:!0})})});let t=Symbol.for("nodejs.util.promisify.custom");if(typeof e.promisify=="function"&&e.promisify.custom!==t){let r=e.promisify,n=function(s){let o=s?.[t];if(o!==void 0){if(typeof o!="function")throw new TypeError('The "util.promisify.custom" property must be of type Function');return o}return r(s)};n.custom=t,e.promisify=n}if(typeof e.styleText!="function"){let r={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],blink:[5,25],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],grey:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]};e.styleText=function(i,s){let o=String(s),a=Array.isArray(i)?i:[i];for(let f of a)if(!Object.prototype.hasOwnProperty.call(r,f))throw new TypeError(`Unknown style format: ${f}`);return process?.env?.NO_COLOR||process?.env?.FORCE_COLOR==="0"?o:a.reduceRight((f,u)=>{let[c,h]=r[u];return`\x1B[${c}m${f}\x1B[${h}m`},o)}}if(typeof e.stripVTControlCharacters!="function"){let r=/(?:\u001B\][\s\S]*?(?:\u0007|\u001B\u005C|\u009C))|(?:[\u001B\u009B][[\]()#;?]*(?:(?:(?:[a-zA-Z\d]*(?:;[-a-zA-Z\d/#&.:=?%@~_]+)*)?\u0007)|(?:(?:\d{1,4}(?:[;:]\d{0,4})*)?[\dA-PR-TZcf-nq-uy=><~])))/g;e.stripVTControlCharacters=function(i){if(typeof i!="string"){let s=new TypeError(`The "str" argument must be of type string. Received ${i===null?"null":typeof i}`);throw s.code="ERR_INVALID_ARG_TYPE",s}return i.replace(r,"")}}if(typeof e.parseEnv!="function"){let r=/(?:^|\n)\s*(?:export\s+)?([\w.-]+)\s*=\s*(?:'((?:\\'|[^'])*)'|"((?:\\"|[^\"])*)"|`((?:\\`|[^`])*)`|([^#\r\n]*?))\s*(?:#[^\r\n]*)?(?=\r?\n|$)/g;e.parseEnv=function(i){if(typeof i!="string"){let o=i===null?"null":`type ${typeof i} (${String(i)})`,a=new TypeError(`The "content" argument must be of type string. Received ${o}`);throw a.code="ERR_INVALID_ARG_TYPE",a}let s={};r.lastIndex=0;for(let o;(o=r.exec(i))!==null;){let a;o[2]!==void 0?a=o[2]:o[3]!==void 0?a=o[3].replace(/\\n/g,`
`).replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/\\"/g,'"'):o[4]!==void 0?a=o[4]:a=(o[5]??"").trim(),s[o[1]]=a}return s}}return typeof e.formatWithOptions=="function"||(e.formatWithOptions=function(n,i,...s){let o=c=>{if(typeof e.inspect=="function")return e.inspect(c,n);try{return JSON.stringify(c)}catch{return String(c)}},a=c=>typeof c=="string"?c:o(c);if(typeof i!="string")return[i,...s].map(a).join(" ");let f=0,u=i.replace(/%[sdifjoO%]/g,c=>{if(c==="%%")return"%";if(f>=s.length)return c;let h=s[f++];switch(c){case"%s":return String(h);case"%d":return Number(h).toString();case"%i":return Number.parseInt(h,10).toString();case"%f":return Number.parseFloat(h).toString();case"%j":try{return JSON.stringify(h)}catch{return"[Circular]"}case"%o":case"%O":return o(h);default:return c}});return f>=s.length?u:[u,...s.slice(f).map(a)].join(" ")}),e}var x$=Symbol("events.errorMonitor"),Nu=10;function ry(e,t,r){return t==="newListener"&&r[0]==="newListener"||t==="removeListener"&&r[0]==="removeListener"?!1:PT(e,t,r)}function ny(e,t){xu(e);let r=e._events[t];return Array.isArray(r)?r.slice():[]}function iy(e,t,r,n=!1){xu(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 f=o[a];if(!(f.listener!==r&&f.rawListener!==r)&&!(n&&!f.once)){s=f,o.splice(a,1);break}}return s===null||(o.length===0?delete e._events[t]:e._events[t]=o,ry(e,"removeListener",[t,s.listener])),e}function xK(e,t){let r=String(t),n=ny(e,r);for(let i=n.length-1;i>=0;i-=1)iy(e,r,n[i].listener);return e}function PT(e,t,r){let n=ny(e,t);if(n.length===0)return!1;for(let i of n){i.once&&iy(e,t,i.listener,!0);try{i.listener.apply(e,r)}catch(s){let o=Bd(s);if(!o.handled&&o.rethrow!==null)throw o.rethrow;return!0}}return!0}function KN(e,t){return ny(e,t).length}function XN(e,t){return ny(e,t).map(r=>r.listener)}function Yke(e,t){return ny(e,t).map(r=>r.rawListener??r.listener)}function k$(e,t,r){function n(...i){return iy(e,t,n,!0),r.apply(e,i)}return Object.defineProperty(n,"listener",{value:r,configurable:!0,enumerable:!1,writable:!1}),n}function F$(e){return e&&typeof e.getMaxListeners=="function"?e.getMaxListeners():Nu}function U$(e,...t){for(let r of t)r&&typeof r.setMaxListeners=="function"&&r.setMaxListeners(e)}function Wke(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 L$(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 P$(e){e._events=Object.create(null),e._maxListeners=Nu,e._maxListenersWarned=new Set}function xu(e){if(!(!e||typeof e!="object"&&typeof e!="function")){if(typeof e._events>"u"){P$(e);return}e._maxListenersWarned instanceof Set||(e._maxListenersWarned=new Set),typeof e._maxListeners!="number"&&(e._maxListeners=Nu)}}function Vke(e,t,r){let n=Number.isFinite(e._maxListeners)?e._maxListeners:Nu,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 Jke(e,t,r){if(xu(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=Vke(e,t,r);if(Be&&typeof Be.emitWarning=="function"){Be.emitWarning(n);return}typeof _error<"u"&&_error.applySync(void 0,[`${n.name}: ${n.message}`])}function SC(e,t,r,n=!1){xu(e);let i=e._events[t]??[];n?i.unshift(r):i.push(r),e._events[t]=i,Jke(e,t,i.length)}function Wt(){if(!this||typeof this!="object"&&typeof this!="function")return new Wt;P$(this)}Wt.prototype.addListener=function(e,t){return this.on(e,t)};Wt.prototype.on=function(e,t){if(typeof t!="function")throw new TypeError("listener must be a function");let r=String(e);return ry(this,"newListener",[r,t]),SC(this,r,{listener:t,once:!1}),this};Wt.prototype.once=function(e,t){if(typeof t!="function")throw new TypeError("listener must be a function");let r=String(e);return ry(this,"newListener",[r,t]),SC(this,r,{listener:t,rawListener:k$(this,r,t),once:!0}),this};Wt.prototype.prependListener=function(e,t){if(typeof t!="function")throw new TypeError("listener must be a function");let r=String(e);return ry(this,"newListener",[r,t]),SC(this,r,{listener:t,once:!1},!0),this};Wt.prototype.prependOnceListener=function(e,t){if(typeof t!="function")throw new TypeError("listener must be a function");let r=String(e);return ry(this,"newListener",[r,t]),SC(this,r,{listener:t,rawListener:k$(this,r,t),once:!0},!0),this};Wt.prototype.removeListener=function(e,t){return iy(this,String(e),t)};Wt.prototype.off=function(e,t){return iy(this,String(e),t)};Wt.prototype.removeAllListeners=function(e){if(xu(this),typeof e>"u"){for(let t of Object.keys(this._events))t!=="removeListener"&&xK(this,t);delete this._events.removeListener}else xK(this,String(e));return this};Wt.prototype.emit=function(e,...t){let r=String(e);if(r==="error"&&KN(this,r)===0)throw t[0]instanceof Error?t[0]:new Error(String(t[0]??"Unhandled error event"));let n=PT(this,r,t);return r==="error"&&(n=PT(this,String(x$),t)||n),n};Wt.prototype.listeners=function(e){return XN(this,String(e))};Wt.prototype.rawListeners=function(e){return Yke(this,String(e))};Wt.prototype.listenerCount=function(e){return KN(this,String(e))};Wt.prototype.eventNames=function(){return xu(this),Object.keys(this._events)};Wt.prototype.setMaxListeners=function(e){return xu(this),this._maxListeners=Number(e),this};Wt.prototype.getMaxListeners=function(){return xu(this),Number.isFinite(this._maxListeners)?this._maxListeners:Nu};Wt.once=L$;Wt.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=(v,L)=>(t.off??t.removeListener).call(t,v,L),o=[],a=[],f=null,u=!1,c=()=>{s(r,y),s("error",b),i&&i.removeEventListener&&i.removeEventListener("abort",S)},h={next(){let v=o.shift();if(v!==void 0)return Promise.resolve({value:v,done:!1});if(f){let L=f;return f=null,c(),Promise.reject(L)}return u?Promise.resolve({value:void 0,done:!0}):new Promise((L,U)=>a.push({resolve:L,reject:U}))},return(){u=!0,c();for(let v of a)v.resolve({value:void 0,done:!0});return a.length=0,Promise.resolve({value:void 0,done:!0})},throw(v){return f=v,c(),Promise.reject(v)},[Symbol.asyncIterator](){return this}};function y(...v){let L=a.shift();L?L.resolve({value:v,done:!1}):o.push(v)}function b(v){let L=a.shift();L?(c(),L.reject(v)):f=v}function S(){h.return()}return t.on(r,y),t.on("error",b),i&&i.addEventListener&&i.addEventListener("abort",S,{once:!0}),h};Wt.addAbortListener=function(t,r){return t&&t.aborted?queueMicrotask(()=>r(typeof RA=="function"?new RA("abort"):{type:"abort"})):t&&t.addEventListener&&t.addEventListener("abort",r,{once:!0}),{[Symbol.dispose](){t&&t.removeEventListener&&t.removeEventListener("abort",r)}}};Wt.getEventListeners=XN;Wt.getMaxListeners=F$;Wt.setMaxListeners=U$;Object.defineProperty(Wt,"defaultMaxListeners",{get(){return Nu},set(e){Nu=Number(e)}});var Xh={addAbortListener:Wke,defaultMaxListeners:Nu,errorMonitor:x$,EventEmitter:Wt,getEventListeners:XN,getMaxListeners:F$,listenerCount:KN,once:L$,setMaxListeners:U$};ot("_eventsModule",Xh);function OT(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 HT=class extends Wt{postMessage(){}start(){}close(){this.emit("close")}unref(){return this}ref(){return this}},jke=class{constructor(){this.port1=new HT,this.port2=new HT}},zke=class extends Wt{constructor(){throw super(),OT("Worker")}},Kke={BroadcastChannel:globalThis.BroadcastChannel,MessageChannel:globalThis.MessageChannel??jke,MessagePort:globalThis.MessagePort??HT,SHARE_ENV:Symbol.for("secure-exec.worker_threads.SHARE_ENV"),Worker:zke,getEnvironmentData(){},isMainThread:!0,markAsUncloneable(){},markAsUntransferable(){},moveMessagePortToContext(){throw OT("moveMessagePortToContext")},parentPort:null,postMessageToThread(){throw OT("postMessageToThread")},receiveMessageOnPort(){},resourceLimits:{},setEnvironmentData(){},threadId:0,workerData:null};function Xke(e){return e===0?!!Be.stdin?.isTTY:e===1?!!Be.stdout?.isTTY:e===2?!!Be.stderr?.isTTY:!1}function $ke(e){return e===0?Be.stdin:void 0}function Zke(e){if(e===1)return Be.stdout;if(e===2)return Be.stderr}var eFe={ReadStream:class{constructor(t){return $ke(t)}},WriteStream:class{constructor(t){return Zke(t)}getColorDepth(){return this?.isTTY?8:1}hasColors(t=16){return!!this?.isTTY&&Number(t)<=2**8}},isatty:Xke};async function kK(e){let t=O$(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 tFe(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 vB={async arrayBuffer(e){let t=await kK(e),r=Buffer.concat(t);return r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)},async blob(e){return tFe(await vB.buffer(e))},async buffer(e){return Buffer.concat(await kK(e))},async json(e){return JSON.parse(await vB.text(e))},async text(e){return(await vB.buffer(e)).toString("utf8")}};function O$(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}},f=(y,b)=>{e.on(y,b),s.push(()=>o?.(y,b))},u=y=>{t.push(y),a()},c=()=>{n=!0,a()},h=y=>{i=y,n=!0,a()};f("data",u),f("end",c),f("close",c),f("error",h),e.resume?.();try{for(;;){if(i)throw i;if(t.length>0){yield t.shift();continue}if(n)return;let y=await new Promise(b=>{r.push(b)});if(y.done)return;yield y.value}}finally{for(;s.length>0;)s.pop()?.()}}}}var H$={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=O$(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=H$.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 $h(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 q$=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)}},FK=new Map;function df(e=""){let t=String(e),r=FK.get(t);return r||(r=new q$(t),FK.set(t,r)),r}function rFe(e=""){let t=String(e),r={start:df(`tracing:${t}:start`),end:df(`tracing:${t}:end`),asyncStart:df(`tracing:${t}:asyncStart`),asyncEnd:df(`tracing:${t}:asyncEnd`),error:df(`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 nFe={Channel:q$,channel:df,hasSubscribers(e=""){return df(e).hasSubscribers},subscribe(e="",t){return df(e).subscribe(t)},tracingChannel:rFe,unsubscribe(e="",t){return df(e).unsubscribe(t)}},iFe=class extends Wt{connect(){}connectToMainThread(){}disconnect(){}post(e,t,r){let n=typeof t=="function"?t:r;typeof n=="function"&&queueMicrotask(()=>n(null,{}))}},sFe={Session:iFe,close(){},console,open(){},url(){},waitForDebugger(){}};function Vh(e,t=2){return String(Math.trunc(e)).padStart(t,"0")}function oFe(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 aFe(e,t={}){let r=oFe(e),n=t&&typeof t=="object"?t:{},i=Vh(r.getUTCFullYear(),4),s=Vh(r.getUTCMonth()+1),o=Vh(r.getUTCDate()),a=Vh(r.getUTCHours()),f=Vh(r.getUTCMinutes()),u=Vh(r.getUTCSeconds()),c=`${i}-${s}-${o}`,h=`${a}:${f}:${u}`,y=n.dateStyle||n.year||n.month||n.day||!n.timeStyle&&!n.hour&&!n.minute&&!n.second,b=n.timeStyle||n.hour||n.minute||n.second;return y&&b?`${c}, ${h}`:b?h:c}var $N=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 aFe(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 T0(e="en-US",t={}){return new $N(e,t)}T0.prototype=$N.prototype;Object.defineProperty(T0.prototype,"constructor",{value:T0,configurable:!0,writable:!0});T0.supportedLocalesOf=$N.supportedLocalesOf;function hB(e,t){let r=Number(e);return Number.isFinite(r)?Math.min(20,Math.max(0,Math.trunc(r))):t}function fFe(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 ZN=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=hB(this.options.minimumFractionDigits,0),n=Math.max(r,hB(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:fFe(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:hB(this.options.minimumFractionDigits,0),maximumFractionDigits:hB(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]:[]}},uFe=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=Array.from(e??[],n=>String(n));if(t.length<2)return t[0]??"";let r=this.options.type==="disjunction"?"or":"and";return t.length===2?`${t[0]} ${r} ${t[1]}`:`${t.slice(0,-1).join(", ")}, ${r} ${t.at(-1)}`}formatToParts(e){return[{type:"element",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",style:this.options.style??"long",type:this.options.type??"conjunction"}}static supportedLocalesOf(e){return Array.isArray(e)?e.filter(t=>typeof t=="string"):typeof e=="string"?[e]:[]}};function N0(e="en-US",t={}){return new ZN(e,t)}N0.prototype=ZN.prototype;Object.defineProperty(N0.prototype,"constructor",{value:N0,configurable:!0,writable:!0});N0.supportedLocalesOf=ZN.supportedLocalesOf;function cFe(e){let t=e.Intl&&typeof e.Intl=="object"?e.Intl:{};t.DateTimeFormat=T0,t.NumberFormat=N0,t.ListFormat=uFe,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 rT(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 G$(e){return{name:String(e?.name??""),entryType:String(e?.entryType??""),startTime:Number(e?.startTime??0),duration:Number(e?.duration??0)}}function Y$(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 AFe(){let e=[];return{percentile(t){let r=Number(t);if(!Number.isFinite(r)||r<=0||r>100)throw rT("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 rT("val","an integer",t);if(r<1||r>Number.MAX_SAFE_INTEGER)throw rT("val",`>= 1 && <= ${Number.MAX_SAFE_INTEGER}`,t);e.push(r)}}}var dB=(()=>{let e=new Map,t=[],r=new Set,n=typeof performance<"u"&&performance&&typeof performance.now=="function"?performance:{now(){return pd()},timeOrigin:Date.now()-pd()};typeof n.mark!="function"&&(n.mark=function(f){let u={name:String(f??""),entryType:"mark",startTime:n.now(),duration:0},c=e.get(u.name)??[];return c.push(u),e.set(u.name,c),u}),typeof n.measure!="function"&&(n.measure=function(f,u,c){let h=String(f??""),y=0,b=n.now();if(typeof u=="string"){let v=e.get(u);if(v?.length&&(y=v[v.length-1].startTime),typeof c=="string"){let L=e.get(c);L?.length&&(b=L[L.length-1].startTime)}}else if(u&&typeof u=="object"){if(typeof u.start=="number")y=u.start;else if(typeof u.startMark=="string"){let v=e.get(u.startMark);v?.length&&(y=v[v.length-1].startTime)}if(typeof u.end=="number")b=u.end;else if(typeof u.endMark=="string"){let v=e.get(u.endMark);v?.length&&(b=v[v.length-1].startTime)}}let S={name:h,entryType:"measure",startTime:y,duration:Math.max(0,b-y)};return t.push(S),S}),typeof n.getEntriesByName!="function"&&(n.getEntriesByName=function(f,u=void 0){let c=String(f??""),y=[...e.get(c)??[],...t.filter(b=>b.name===c)];return typeof u=="string"?y.filter(b=>b.entryType===u):y}),typeof n.getEntries!="function"&&(n.getEntries=function(){return[...e.values()].flatMap(f=>[...f]).concat(t)}),typeof n.getEntriesByType!="function"&&(n.getEntriesByType=function(f){let u=String(f??"");return n.getEntries().filter(c=>c.entryType===u)}),typeof n.clearMarks!="function"&&(n.clearMarks=function(f=void 0){if(typeof f>"u"){e.clear();return}e.delete(String(f))}),typeof n.clearMeasures!="function"&&(n.clearMeasures=function(f=void 0){if(typeof f>"u"){t.length=0;return}let u=String(f);for(let c=t.length-1;c>=0;c-=1)t[c]?.name===u&&t.splice(c,1)});let i=f=>{f._deliveryQueued||(f._deliveryQueued=!0,hf(()=>{if(f._deliveryQueued=!1,!f._connected)return;let u=f.takeRecords();f._callback(Y$(u),f)}))},s=f=>{let u=G$(f);for(let c of r)c._entryTypes.has(u.entryType)&&(c._records.push(u),i(c))},o=n.mark.bind(n);n.mark=function(...f){let u=o(...f);return s(u),u};let a=n.measure.bind(n);return n.measure=function(...f){let u=a(...f);return s(u),u},n.__agentOSObservers=r,n})(),lFe={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,dB.__agentOSObservers.add(this),e?.buffered){for(let r of this._entryTypes)for(let n of dB.getEntriesByType(r))this._records.push(G$(n));this._records.length>0&&(this._deliveryQueued=!0,hf(()=>{if(this._deliveryQueued=!1,!this._connected)return;let r=this.takeRecords();this._callback(Y$(r),this)}))}}disconnect(){this._connected=!1,dB.__agentOSObservers.delete(this)}takeRecords(){let e=this._records.slice();return this._records.length=0,e}},constants:{},createHistogram(){return AFe()},performance:dB};function W$(e){let t=JSON.stringify(e??null);return Buffer.from(t,"utf8")}function V$(e){let t=Buffer.isBuffer(e)?e:Buffer.from(e??[]);return JSON.parse(t.toString("utf8"))}var UK=class{constructor(){this._value=null}writeHeader(){}writeValue(e){this._value=e}releaseBuffer(){return W$(this._value)}transferArrayBuffer(){}},LK=class{constructor(e){this._buffer=e}readHeader(){}readValue(){return V$(this._buffer)}transferArrayBuffer(){}};function hFe(){let e=Number(globalThis.__agentOSV8HeapLimitBytes);return Number.isFinite(e)&&e>0?e:128*1024*1024}function dFe(){let e=hFe();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 gFe(){return[]}function pFe(){return{code_and_metadata_size:0,bytecode_and_metadata_size:0,external_script_source_size:0,cpu_profiler_metadata_size:0}}function yFe(){return{committed_size_bytes:0,resident_size_bytes:0,used_size_bytes:0,space_statistics:[]}}function EFe(){return Readable.fromWeb(new ReadableStream({start(e){e.enqueue(Buffer.from("{}")),e.close()}}))}var mFe={cachedDataVersionTag(){return 0},DefaultDeserializer:LK,DefaultSerializer:UK,Deserializer:LK,GCProfiler:class{start(){}stop(){return[]}},Serializer:UK,deserialize:V$,getCppHeapStatistics:yFe,getHeapCodeStatistics:pFe,getHeapSnapshot:EFe,getHeapSpaceStatistics:gFe,getHeapStatistics:dFe,isStringOneByteRepresentation(e){return typeof e=="string"&&!/[^\x00-\xff]/.test(e)},promiseHooks:{},queryObjects(){return[]},serialize:W$,setFlagsFromString(){},setHeapSnapshotNearHeapLimit(){return[]},startCpuProfile(){return{stop(){return{}}}},startupSnapshot:{},stopCoverage(){return[]},takeCoverage(){return[]},writeHeapSnapshot(){return""}},qT=typeof Symbol=="function"?Symbol.for("secure-exec.vm.context"):"__secure_exec_vm_context__",jB=typeof Symbol=="function"?Symbol.for("secure-exec.vm.context.id"):"__secure_exec_vm_context_id__";function PK(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 eM(e){return e!==null&&(typeof e=="object"||typeof e=="function")}function M0(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 nT(e,t){let r=M0(e),n=M0(t);return{...r,...n}}function J$(e={}){if(!eM(e))throw new TypeError('The "object" argument must be of type object.');if(e[qT]===!0&&Number.isInteger(e[jB]))return e;let t=_vmCreateContext(e);return Object.defineProperty(e,qT,{value:!0,configurable:!0,enumerable:!1,writable:!1}),Object.defineProperty(e,jB,{value:t,configurable:!1,enumerable:!1,writable:!1}),e}function j$(e){return eM(e)&&e[qT]===!0&&Number.isInteger(e[jB])}function bFe(e){if(!j$(e))throw new TypeError('The "contextifiedObject" argument must be a vm context.');return e}function z$(e,t=void 0){return _vmRunInThisContext(String(e),M0(t))}function tM(e,t,r=void 0){let n=bFe(t);return _vmRunInContext(n[jB],String(e),M0(r),n)}function K$(e,t={},r=void 0){let n=eM(t),i=n?t:{},s=n?r:t;return tM(e,J$(i),s)}var IFe=class{constructor(e,t=void 0){this.code=String(e),this.options=M0(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 z$(this.code,nT(this.options,e))}runInContext(e,t=void 0){return tM(this.code,e,nT(this.options,t))}runInNewContext(e={},t=void 0){return K$(this.code,e,nT(this.options,t))}},BFe={Script:IFe,compileFunction(){throw PK("compileFunction")},createContext:J$,isContext:j$,measureMemory(){throw PK("measureMemory")},runInContext:tM,runInNewContext:K$,runInThisContext:z$},X$=xT.default?.default??xT.default,OK=kT.default?.default??kT.default,$$=h0.default?.request??h0.default?.default?.request??h0.default?.default??h0.default,HK=_B.default?.fetch??_B.default?.default??_B.default,CFe=CA.default?.Headers??CA.default?.default??CA.default,_Fe=_A.default?.Request??_A.default?.default??_A.default,wFe=wA.default?.Response??wA.default?.default??wA.default,qK=NN.default?.setGlobalDispatcher,GK=NN.default?.getGlobalDispatcher,iT=null;function SFe(){return new X$({connections:6,connect(t,r){try{let n=t?.protocol==="https:"||t?.protocol==="https"?"https:":"http:",i=t?.hostname||t?.host||t?.servername||"localhost",s=t?.port;if(t?.origin){let y=new URL(String(t.origin));n=y.protocol==="https:"?"https:":"http:",i=y.hostname||i,s=y.port||s}typeof i=="string"&&i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1));let o=vC({protocol:n,hostname:i,host:i,port:s?Number(s):n==="https:"?443:80,servername:t?.servername||i,rejectUnauthorized:t?.rejectUnauthorized}),a=cM(n),f=!1,u=()=>{o.off?.(a,c),o.removeListener?.(a,c),o.off?.("error",h),o.removeListener?.("error",h)},c=()=>{f||(f=!0,u(),r(null,o))},h=y=>{f||(f=!0,u(),r(y instanceof Error?y:new Error(String(y))))};return o.once(a,c),o.once("error",h),o}catch(n){return r(n instanceof Error?n:new Error(String(n))),null}}})}function GT(){return iT||(iT=SFe()),iT}typeof qK=="function"&&typeof X$=="function"&&(typeof GK=="function"?GK():null)==null&&qK(GT());var Z$=dt.Duplex??qw?.Duplex;if(typeof Z$!="function")throw new Error("node:stream did not provide the canonical Duplex constructor");var rM="__secureExecNetSocket:",QFe="net-server:",vFe=0,cd=new Map,zB=new Map,KB=new Map,x0=new Map;function sT(e){return globalThis[`${rM}${e}`]}function YK(e,t){globalThis[`${rM}${e}`]=t,cd.set(e,t),X0(t,()=>{Z("readEventWakeups"),k0(t)})}function RFe(e){$0(cd.get(e)),delete globalThis[`${rM}${e}`],cd.delete(e)}function cA(e){return!!e&&e._socketId!==0&&cd.get(e._socketId)===e}function Zh(e,t){if(!e._applicationReadDemand||e._bridgeReadPumpQueued){Z("readPumpQueueCoalesced");return}e._bridgeReadPumpQueued=!0,queueMicrotask(()=>{e._bridgeReadPumpQueued=!1,!e.destroyed&&!e._bridgeReleased&&!e._closeEmitted&&e._applicationReadDemand&&cA(e)&&e._socketId!==0&&(e._nextReadPumpOrigin=t,e._pumpBridgeReads())})}function eZ(e){let t=e?._address;if(typeof t=="string")return t;let r=t?.path;return typeof r=="string"?r:void 0}function DFe(e){e?._serverId&&x0.set(e._serverId,e);let t=e?._address?.port;typeof t=="number"&&zB.set(t,e);let r=eZ(e);typeof r=="string"&&KB.set(r,e),X0(e,()=>Ad(e))}function TFe(e){$0(e),e?._serverId&&x0.get(e._serverId)===e&&x0.delete(e._serverId);let t=e?._address?.port;typeof t=="number"&&zB.get(t)===e&&zB.delete(t);let r=eZ(e);typeof r=="string"&&KB.get(r)===e&&KB.delete(r)}function k0(e){if(Z("readWakeAttempts"),!e||e.destroyed||e._bridgeReleased||e._closeEmitted||e._socketId===0||e._loopbackServer||e._loopbackHttpTarget){Z("readWakeInvalidTargets");return}e._pendingBridgeWake=!0,e._pendingBridgeWakeRetries=0,e._bridgeReadLoopRunning&&Z("readWakeAlreadyRunning");{Z("readWakeCoalesced"),e._connected&&Z("readWakeNoTimerConnected"),e.connecting&&Z("readWakeNoTimerConnecting"),Z(e._refed?"readWakeNoTimerRefed":"readWakeNoTimerUnrefed");let t=e.listenerCount("data")>0,r=e.listenerCount("readable")>0;if(t&&Z("readWakeNoTimerHasDataListener"),r&&Z("readWakeNoTimerHasReadableListener"),e._bridgeWriteFlushScheduled&&(Z("readWakeNoTimerPendingWriteFlush"),Z("readWakeNoTimerPendingWriteBytes",e._pendingBridgeWriteBytes)),!e._bridgeReadPumpStarted&&e._firstReadNoTimerWakeAtUs===0&&Yt()&&(e._firstReadNoTimerWakeAtUs=_t()),!e._bridgeReadPumpStarted&&e._connected&&(t||r))if(Yt()&&Z("readFirstPumpScheduleCandidates"),e._bridgeReadFirstPumpBenchmarkScheduled)Yt()&&Z("readFirstPumpScheduleAlreadyScheduled");else{Yt()&&Z("readFirstPumpScheduleQueued"),e._bridgeReadFirstPumpBenchmarkScheduled=!0;let n=_t();queueMicrotask(()=>{Yt()&&Z("readFirstPumpScheduleRuns");let i=_t(),s=Math.max(0,i-n);if(Yt()&&(Z("readFirstPumpScheduleQueuedToRunUs",s),cn("readFirstPumpScheduleQueuedToRunMaxUs",s)),e._bridgeReadFirstPumpBenchmarkScheduled=!1,e.destroyed){Yt()&&Z("readFirstPumpScheduleSkipDestroyed");return}if(e._tlsUpgrading){Yt()&&Z("readFirstPumpScheduleSkipTlsUpgrading");return}if(e._bridgeReadPumpStarted){Yt()&&Z("readFirstPumpScheduleSkipPumpStarted");return}if(e._bridgeReadLoopRunning){Yt()&&Z("readFirstPumpScheduleSkipLoopRunning");return}if(e._socketId===0){Yt()&&Z("readFirstPumpScheduleSkipSocketClosed");return}Yt()&&Z("readFirstPumpSchedulePumpCalls"),e._nextReadPumpOrigin="eventWake",e._readFirstPumpScheduleActive=!0,e._readFirstPumpScheduleQueuedAtUs=n,e._pumpBridgeReads()})}!e._bridgeReadLoopRunning&&e._connected&&e._applicationReadDemand&&Zh(e,"eventWake");return}}function RB(e){if(Z("peerWakeScans"),!e||e._socketId===0){Z("peerWakeInvalidTargets");return}if(typeof e.remotePort=="number"&&typeof e.localPort=="number"){for(let i of cd.values())if(!(i===e||i.destroyed)&&i.localPort===e.remotePort&&i.remotePort===e.localPort){Z("peerWakeFound"),k0(i);return}Z("peerWakeMiss");return}let t=typeof e._localUnixPath=="string"?e._localUnixPath:void 0,r=typeof e._remoteUnixPath=="string"?e._remoteUnixPath:void 0;if(t===void 0&&r===void 0){Z("peerWakeInvalidTargets");return}let n=!1;for(let i of cd.values()){if(i===e||i.destroyed)continue;let s=typeof i._localUnixPath=="string"?i._localUnixPath:void 0,o=typeof i._remoteUnixPath=="string"?i._remoteUnixPath: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,Z("peerWakeUnixFound"),k0(i))}n||Z("peerWakeUnixMiss")}function Ad(e){if(Z("acceptWakeAttempts"),!e?.listening||e._serverId===0){Z("acceptWakeInvalidTargets");return}if(e._pendingAcceptWake=!0,e._acceptLoopRunning){Z("acceptWakeAlreadyRunning");return}if(e._acceptPumpQueued){Z("acceptWakeAlreadyQueued");return}e._acceptPumpQueued=!0,Z("acceptEventWakeups"),queueMicrotask(()=>{if(e._acceptPumpQueued&&(e._acceptPumpQueued=!1,e.listening&&e._serverId!==0))return e._pendingAcceptWake=!1,e._nextAcceptPumpOrigin="eventWake",e._pumpAccepts()})}function NFe(e){Z("acceptWakeSocketScans");let t=e?.remotePort;if(typeof t=="number"){let i=zB.get(t);return Z(i?"acceptWakeSocketFound":"acceptWakeSocketMiss"),Ad(i)}let r=e?._remoteUnixPath;if(typeof r!="string"){Z("acceptWakeSocketInvalidTargets");return}let n=KB.get(r);return n?(Z("acceptWakeSocketFound"),Z("acceptWakeSocketUnixFound")):(Z("acceptWakeSocketMiss"),Z("acceptWakeSocketUnixMiss")),Ad(n)}function WK(e){return e===void 0?!0:!!e}function XB(e){return typeof e!="number"||!Number.isFinite(e)?0:Math.max(0,Math.floor(e/1e3))}function MFe(e,t){return Er(`The "${e}" argument must be of type number. Received ${oi(t)}`,"ERR_INVALID_ARG_TYPE")}function Tu(e,t){return Er(`The "${e}" argument must be of type function. Received ${oi(t)}`,"ERR_INVALID_ARG_TYPE")}function xFe(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 ed(e){return Er(e,"ERR_INVALID_ARG_VALUE")}function YT(e){let t=new RangeError(`options.port should be >= 0 and < 65536. Received ${oi(e)}.`);return t.code="ERR_SOCKET_BAD_PORT",t}function WT(e){return Number.isInteger(e)&&e>=0&&e<65536}function tZ(e){return/^[0-9]+$/.test(e)}function VK(e){if(e==null)return 0;if(typeof e=="string"&&e.length>0){let t=Number(e);if(WT(t))return t;throw YT(e)}if(typeof e=="number"){if(WT(e))return e;throw YT(e)}throw ed(`The argument 'options' is invalid. Received ${String(e)}`)}function rZ(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.hasOwn(s,"port"),a=Object.hasOwn(s,"path");if(!o&&!a)throw ed(`The argument 'options' must have the property "port" or "path". Received ${String(e)}`);if(o&&a)throw ed(`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 ed(`The argument 'options' is invalid. Received ${String(e)}`);if(a){if(typeof s.path!="string"||s.path.length===0)throw ed(`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:VK(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 ed(`The argument 'options' is invalid. Received ${String(e)}`);return typeof e=="string"&&e.length>0&&!tZ(e)?{path:e,backlog:i.backlog,readableAll:!1,writableAll:!1,callback:typeof t=="function"?t:typeof r=="function"?r:n}:{port:VK(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 kFe(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"&&!tZ(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 nZ(e){return e.charCodeAt(0)===0?{abstractPathHex:Buffer.from(e.slice(1),"utf8").toString("hex")}:{path:e}}function FFe(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 sy(e){let t=e.split(".");return t.length===4&&t.every(r=>FFe(r))}function UFe(e){return e.length>0&&/^[0-9A-Za-z_.-]+$/.test(e)}function oT(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]||!sy(n))return null;r+=2;continue}if(!/^[0-9A-Fa-f]{1,4}$/.test(n))return null;r+=1}return r}function QC(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(!UFe(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=oT(s),f=oT(o);return a===null||f===null?!1:a+f<8}return oT(t)===8}function LFe(e){return e==null?"":String(e)}function sd(e){let t=LFe(e);return sy(t)?4:QC(t)?6:0}function td(e,t){if(t==="ipv4"||t===4)return"ipv4";if(t==="ipv6"||t===6)return"ipv6";let r=sd(e);if(r===4)return"ipv4";if(r===6)return"ipv6";throw new TypeError(`Invalid IP address: ${e}`)}function iZ(e){return e.split(".").reduce((t,r)=>(t<<8n)+BigInt(Number(r)),0n)}function PFe(e){let t=String(e),r=t.indexOf("%");if(r!==-1&&(t=t.slice(0,r)),t.includes(".")){let c=t.lastIndexOf(":"),h=t.slice(c+1),y=iZ(h),b=Number(y>>16n&65535n).toString(16),S=Number(y&65535n).toString(16);t=`${t.slice(0,c)}:${b}:${S}`}let n=t.includes("::"),[i,s]=n?t.split("::"):[t,""],o=i.length>0?i.split(":"):[],a=s.length>0?s.split(":"):[],f=n?Math.max(0,8-(o.length+a.length)):0,u=[...o,...new Array(f).fill("0"),...a];if(u.length!==8)throw new TypeError(`Invalid IPv6 address: ${e}`);return u.map(c=>c.length===0?"0":c)}function OFe(e){return PFe(e).reduce((t,r)=>(t<<16n)+BigInt(parseInt(r,16)),0n)}function u0(e,t){return t==="ipv4"?iZ(e):OFe(e)}function HFe(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 qFe=class{constructor(){m(this,"_rules",[])}addAddress(e,t){let r=td(e,t);return this._rules.push({type:"address",family:r,address:String(e)}),this}addRange(e,t,r){let n=td(e,r);if(td(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=td(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=td(e,t),n=u0(String(e),r);for(let i of this._rules)if(i.family===r){if(i.type==="address"&&n===u0(i.address,r))return!0;if(i.type==="range"){let s=u0(i.start,r),o=u0(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,f=o===0n?0n:(1n<<s)-1n^(1n<<a)-1n,u=u0(i.network,r);if((n&f)===(u&f))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=>HFe(e))}},JK=!0,jK=250,GFe=class d0{constructor(t={}){let r=String(t.address??""),n=td(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 d0}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 d0({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(sd(i)!==0&&Number.isInteger(s))return new d0({address:i,port:s})}if(sd(r)!==0)return new d0({address:r})}};function sZ(e){if(typeof e!="number")throw MFe("timeout",e);if(!Number.isFinite(e)||e<0)throw xFe(e);return e}function oZ(e){if(!e)return null;try{let t=JSON.parse(e);return t&&typeof t=="object"?t:null}catch{return null}}function YFe(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 DB(e){if(e!=null){if(Array.isArray(e)){let t=e.map(r=>DB(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 VT(e){return!!e&&typeof e=="object"&&"__secureExecTlsContext"in e}function md(e,t){let n={...(VT(e?.secureContext)?e.secureContext.__secureExecTlsContext:void 0)??{},...t},i=DB(e?.key),s=DB(e?.cert),o=DB(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),typeof e?.host=="string"&&e.host.length>0&&(n.host=e.host),(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(f=>typeof f=="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 WFe(e){if(!e)return null;try{return JSON.parse(e)}catch{return null}}function VFe(e){if(!e)return null;try{return JSON.parse(e)}catch{return null}}function JFe(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 JT(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=>JT(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]=JT(i,t);return r}function uf(e,t,r){if(typeof _netSocketTlsQueryRaw>"u")return;let n=_netSocketTlsQueryRaw.applySync(void 0,r===void 0?[e,t]:[e,t,r]);return JT(JSON.parse(n))}function TB(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=uf(e._socketId,"getProtocol");(typeof n=="string"||n===null)&&(e._tlsProtocol=n);let i=uf(e._socketId,"getCipher");i!==void 0&&(e._tlsCipher=i);let s=uf(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 zK(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,XB(r)]),this},ref(){return this},unref(){return this}}}function jFe(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,XB(n)]),this},ref(){return this},unref(){return this}}}var nM="__agentos_net_timeout__";function zFe(){return(typeof process<"u"?process.env:globalThis.__agentOSProcessConfigEnv)?.AGENTOS_NET_BRIDGE_TRACE==="1"}function aZ(){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,readPumpSkippedNoDemand:0,readPumpSkippedLoopRunning:0,readPumpSkippedRpcInFlight:0,readPumpSkippedRemoteEnded:0,readPumpSkippedReleased:0,readPumpSkippedCloseEmitted:0,readPumpSkippedRawMissing:0,readPumpSkippedUnregistered: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,serverCloseCalls:0,serverCloseConnectionsAtCall:0,serverCloseConnectionsAtCallMax:0,serverCloseCallsWithConnections:0,serverCloseConnectionDrainEvents:0,serverCloseEmits: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 jT=!1,ld=aZ();function Yt(){return jT||zFe()}function _t(){return typeof __secureExecHrNowUs=="function"?Math.round(__secureExecHrNowUs()):typeof performance<"u"&&typeof performance.now=="function"?Math.round(performance.now()*1e3):Date.now()*1e3}function Z(e,t=1){Yt()&&(ld[e]=(ld[e]??0)+t)}function cn(e,t){if(!Yt())return;let r=Number(t);Number.isFinite(r)&&(ld[e]=Math.max(ld[e]??0,r))}function KFe(e){switch(e){case"connectWait":Z("readFirstPumpOriginConnectWait");break;case"acceptedHandle":Z("readFirstPumpOriginAcceptedHandle");break;case"eventWake":Z("readFirstPumpOriginEventWake");break;case"timer":Z("readFirstPumpOriginTimer");break;case"ref":Z("readFirstPumpOriginRef");break;case"tls":Z("readFirstPumpOriginTls");break;default:Z("readFirstPumpOriginUnknown");break}}function XFe(e){switch(e){case"listen":Z("acceptFirstPumpOriginListen");break;case"eventWake":Z("acceptFirstPumpOriginEventWake");break;case"timer":Z("acceptFirstPumpOriginTimer");break;case"ref":Z("acceptFirstPumpOriginRef");break;default:Z("acceptFirstPumpOriginUnknown");break}}ot("__agentOSNetBridgeMetrics",{get enabled(){return Yt()},enable(){jT=!0},disable(){jT=!1},reset(){ld=aZ(),typeof _benchNetTcpMetricsResetRaw<"u"&&_benchNetTcpMetricsResetRaw.applySync(void 0,[])},snapshot(){let e;return typeof _benchNetTcpMetricsSnapshotRaw<"u"&&(e=_benchNetTcpMetricsSnapshotRaw.applySync(void 0,[])),{...ld,...e?{sidecarNetTrace:e}:{}}}});function $Fe(){return new Promise(e=>{typeof JB=="function"?JB(e):setTimeout(e,0)})}function ZFe(e,t,r){if(e==="net_socket"&&t&&typeof t=="object"){let i=t;if(i.event==="accept"){let o=x0.get(i.serverId);o&&Ad(o);return}if(i.event==="dgram"){globalThis._dgramSocketDispatch?.(i);return}if(i.event==="http2"){globalThis._http2RetainDispatch?.(i);return}let s=sT(i.socketId);s&&(Z("readEventWakeups"),k0(s));return}if(e&&typeof e=="object"){let i=e;if(i.event==="accept"){let o=x0.get(i.serverId);o&&Ad(o);return}if(i.event==="dgram"){globalThis._dgramSocketDispatch?.(i);return}if(i.event==="http2"){globalThis._http2RetainDispatch?.(i);return}let s=sT(i.socketId);s&&(Z("readEventWakeups"),k0(s));return}if(e===0&&t.startsWith("http2:")){sr("http2 dispatch via netSocket",t);try{let i=r?JSON.parse(r):{};oM(t.slice(6),Number(i.id??0),i.data,i.extra,i.extraNumber,i.extraHeaders,i.flags)}catch{}return}let n=sT(e);if(n)switch(t){case"connect":{n._applySocketInfo(oZ(r)),n._connected=!0,n.connecting=!1,n._touchTimeout(),n._emitNet("connect"),n._emitNet("ready");break}case"secureConnect":case"secure":{let i=WFe(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),TB(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",JFe(r));break;case"close":n._remoteEnded?n._maybeEmitSocketClose():n._emitSocketClose(!1);break}}ot("_netSocketDispatch",ZFe);var gB=256*1024,hs=class fZ extends Z${constructor(r){super({allowHalfOpen:r?.allowHalfOpen===!0,autoDestroy:!1,emitClose:!1,readableHighWaterMark:r?.readableHighWaterMark??16*1024,writableHighWaterMark:r?.writableHighWaterMark??16*1024});m(this,"_livenessId",`net-socket:${++vFe}`);m(this,"_handleRefId",null);m(this,"_socketId",0);m(this,"capabilityId");m(this,"capabilityGeneration");m(this,"_loopbackServer",null);m(this,"_loopbackBuffer",Buffer.alloc(0));m(this,"_loopbackDispatchRunning",!1);m(this,"_loopbackDispatchPending",!1);m(this,"_loopbackReadableEnded",!1);m(this,"_loopbackUpgradeSocket",null);m(this,"_loopbackEventQueue",Promise.resolve());m(this,"_noDelayState",!1);m(this,"_keepAliveState",!1);m(this,"_keepAliveDelaySeconds",0);m(this,"_refed",!0);m(this,"_bridgeReadLoopRunning",!1);m(this,"_bridgeReadRpcInFlight",!1);m(this,"_bridgeReadPumpQueued",!1);m(this,"_pendingBridgeWake",!1);m(this,"_pendingBridgeWakeRetries",0);m(this,"_bridgeReadPumpStarted",!1);m(this,"_applicationReadDemand",!1);m(this,"_bridgeReadFirstPumpBenchmarkScheduled",!1);m(this,"_readFirstPumpScheduleActive",!1);m(this,"_readFirstPumpScheduleQueuedAtUs",0);m(this,"_nextReadPumpOrigin",null);m(this,"_firstReadNoTimerWakeAtUs",0);m(this,"_timeoutMs",0);m(this,"_timeoutTimer",null);m(this,"_pendingBridgeWriteChunks",null);m(this,"_pendingBridgeWriteCallbacks",null);m(this,"_pendingBridgeWriteBytes",0);m(this,"_bridgeWriteFlushScheduled",!1);m(this,"_bridgeWriteTail",Promise.resolve());m(this,"_bridgeWriteFlushQueuedAtUs",0);m(this,"_lastReadDeliveryEndUs",0);m(this,"_currentDataEmitStartUs",0);m(this,"_emittingData",!1);m(this,"_wroteDuringDataEmit",!1);m(this,"_lastDataEmitEndUs",0);m(this,"_readWakeQueuedAtUs",0);m(this,"_tlsUpgrading",!1);m(this,"_remoteEnded",!1);m(this,"_closeEmitted",!1);m(this,"_bridgeReleased",!1);m(this,"_connected",!1);m(this,"connecting",!1);m(this,"readyState","open");m(this,"remoteAddress");m(this,"remotePort");m(this,"remoteFamily");m(this,"localAddress","0.0.0.0");m(this,"localPort",0);m(this,"localFamily","IPv4");m(this,"_localUnixPath");m(this,"_remoteUnixPath");m(this,"bytesRead",0);m(this,"bytesWritten",0);m(this,"pending",!0);m(this,"encrypted",!1);m(this,"authorized",!1);m(this,"authorizationError");m(this,"servername");m(this,"alpnProtocol",!1);m(this,"server");m(this,"_tlsCipher",null);m(this,"_tlsProtocol",null);m(this,"_tlsSession",null);m(this,"_tlsSessionReused",!1);m(this,"_handle",null);this.once("end",()=>{this._releaseDeferredBridgeSocket(),this._maybeEmitSocketClose()}),this.once("finish",()=>this._maybeEmitSocketClose()),r?.handle&&(this._handle=r.handle)}connect(r,n,i){if(typeof _netSocketConnectRaw>"u")throw new Error("net.Socket is not supported in sandbox (bridge not available)");let{host:s="127.0.0.1",port:o=0,path:a,localAddress:f,localPort:u,keepAlive:c,keepAliveInitialDelay:h,callback:y}=kFe(r,n,i);y&&this.once("connect",y),this.connecting=!0,a?(delete this.remoteAddress,delete this.remotePort,delete this.remoteFamily,delete this.localAddress,delete this.localPort,delete this.localFamily,delete this.localPath,delete this.remotePath):(this.remoteAddress=s,this.remotePort=o,this.localAddress??(this.localAddress="0.0.0.0"),this.localPort??(this.localPort=0),this.localFamily??(this.localFamily="IPv4")),this._remoteUnixPath=a,this.pending=!1;let b;try{b=YFe(_netSocketConnectRaw.applySync(void 0,[a?nZ(a):{host:s,port:o,localAddress:f,localPort:u}]))}catch(S){return this.connecting=!1,this.pending=!1,queueMicrotask(()=>{this.destroyed||(this._emitNet("error",S),this.destroy())}),this}return b.loopbackHttpTarget?(this._loopbackHttpTarget=b.loopbackHttpTarget,this._applySocketInfo(b),this._connected=!0,this.connecting=!1,this._syncHandleRef(),queueMicrotask(()=>{this.destroyed||this._closeEmitted||!this._connected||(this._touchTimeout(),this._emitNet("connect"),this._emitNet("ready"))}),this):(sr("socket connect",b.socketId,s,o,a??null),this._socketId=b.socketId,this.capabilityId=b.capabilityId,this.capabilityGeneration=b.capabilityGeneration,this._handle=zK(this._socketId),this._applicationReadDemand=!0,this._applySocketInfo(b),YK(this._socketId,this),this._syncHandleRef(),this._waitForConnect(),c&&this.once("connect",()=>{this.setKeepAlive(!0,h)}),this)}_read(){this.destroyed||this._remoteEnded||this._bridgeReleased||this._closeEmitted||(this._applicationReadDemand=!0,typeof _netSocketSetReadInterestRaw<"u"&&this._socketId&&_netSocketSetReadInterestRaw.applySync(void 0,[this._socketId,!0]),this._connected&&!this._tlsUpgrading&&cA(this)&&(this._nextReadPumpOrigin="duplexRead",Zh(this,"duplexRead")))}_write(r,n,i){let s=Buffer.isBuffer(r)?r:Buffer.from(r,n);if(this._loopbackServer||this._loopbackHttpTarget){if(sr("socket write loopback",this._socketId,s.length),this.bytesWritten+=s.length,this._loopbackUpgradeSocket){this._touchTimeout(),this._loopbackUpgradeSocket._pushData(s),i();return}this._loopbackBuffer=Buffer.concat([this._loopbackBuffer,s]),this._touchTimeout(),this._dispatchLoopbackHttpRequest(),i();return}if(typeof _netSocketWriteRaw>"u"||this.destroyed||!this._socketId){i(Object.assign(new Error("socket is not writable"),{code:"ERR_SOCKET_CLOSED"}));return}if(Z("userWriteCalls"),Z("userWriteBytes",s.length),this._emittingData&&(this._wroteDuringDataEmit=!0),Yt()){let o=_t();this._emittingData&&this._currentDataEmitStartUs>0?(Z("userWriteDuringDataEmitCalls"),Z("dataEmitStartToUserWriteUs",o-this._currentDataEmitStartUs)):this._lastDataEmitEndUs>0&&Z("dataEmitEndToUserWriteUs",o-this._lastDataEmitEndUs)}this.bytesWritten+=s.length,this._queueBridgeWrite(s,i,!1)}_writev(r,n){if(r.length===0){n();return}let i=r.length,s=null;for(let o of r)this._write(o.chunk,o.encoding,a=>{s??(s=a??null),i-=1,i===0&&n(s)})}_final(r){if(this._loopbackServer||this._loopbackHttpTarget){this._loopbackUpgradeSocket?queueMicrotask(()=>{this._loopbackUpgradeSocket?._pushEnd()}):this._loopbackReadableEnded||queueMicrotask(()=>{this._closeLoopbackReadable()}),r();return}if(typeof _netSocketEndRaw<"u"&&this._socketId&&!this.destroyed){if(this.readableLength===0){if(this._applicationReadDemand=!0,typeof _netSocketSetReadInterestRaw<"u")try{_netSocketSetReadInterestRaw.applySync(void 0,[this._socketId,!0])}catch(i){r(i);return}Zh(this,"localEnd")}let n=this._flushBridgeWrites();sr("socket end",this._socketId),Promise.resolve(n).then(()=>_netSocketEndRaw(this._socketId)).then(()=>{Z("peerWakeOnShutdown"),RB(this),this._touchTimeout(),r(),this._maybeEmitSocketClose()},i=>r(i));return}r(),this._maybeEmitSocketClose()}_destroy(r,n){if(sr("socket destroy",this._socketId,r?.message??null),this._applicationReadDemand=!1,this._syncHandleRef(),typeof _netSocketSetReadInterestRaw<"u"&&this._socketId)try{_netSocketSetReadInterestRaw.applySync(void 0,[this._socketId,!1])}catch{}this._readableState.endEmitted=!0,this._readableState.ended=!0,this._clearTimeoutTimer(),this._loopbackServer||this._loopbackHttpTarget?(this._loopbackUpgradeSocket?.destroy(r),this._loopbackUpgradeSocket=null,this._loopbackServer=null,this._loopbackHttpTarget=null):this._releaseBridgeSocket(),n(r),queueMicrotask(()=>this._emitSocketClose(!!r))}_queueBridgeWrite(r,n,i=!1){this._pendingBridgeWriteChunks||(this._pendingBridgeWriteChunks=[],this._pendingBridgeWriteCallbacks=[]);let s=i?r:Buffer.from(r);this._pendingBridgeWriteChunks.push(s),this._pendingBridgeWriteBytes+=s.length,Z("queuedWriteChunks"),Z("queuedWriteBytes",s.length),i?(Z("queuedWriteRetainedChunks"),Z("queuedWriteRetainedBytes",s.length)):(Z("queuedWriteCopiedChunks"),Z("queuedWriteCopiedBytes",s.length)),cn("writeBufferedBytesMax",this._pendingBridgeWriteBytes),cn("writeBufferedChunksMax",this._pendingBridgeWriteChunks.length),n&&this._pendingBridgeWriteCallbacks.push(n),this._emittingData?(Z("writeFlushInlineDuringDataEmit"),this._flushBridgeWrites()):this._bridgeWriteFlushScheduled||(this._bridgeWriteFlushScheduled=!0,Yt()&&(this._bridgeWriteFlushQueuedAtUs=_t()),queueMicrotask(()=>{this._flushBridgeWrites()}))}_flushBridgeWrites(){let r=this._pendingBridgeWriteChunks;if(!r||r.length===0)return this._bridgeWriteFlushScheduled=!1,this._bridgeWriteFlushQueuedAtUs=0,this._bridgeWriteTail;let n=this._pendingBridgeWriteCallbacks??[],i=this._pendingBridgeWriteBytes;if(this._pendingBridgeWriteChunks=null,this._pendingBridgeWriteCallbacks=null,this._pendingBridgeWriteBytes=0,this._bridgeWriteFlushScheduled=!1,this.destroyed||!this._socketId||typeof _netSocketWriteRaw>"u"){let b=Object.assign(new Error("socket is not writable"),{code:"ERR_SOCKET_CLOSED"});for(let S of n)S(b);return Promise.resolve()}let s=Yt();if(s&&this._bridgeWriteFlushQueuedAtUs>0){let b=Math.max(0,_t()-this._bridgeWriteFlushQueuedAtUs);Z("writeQueuedToFlushStartUs",b),cn("writeQueuedToFlushStartMaxUs",b),Z("writeFlushQueuedToRawUs",b),cn("writeFlushQueuedToRawMaxUs",b),this._bridgeWriteFlushQueuedAtUs=0}sr("socket write",this._socketId,i,r.length),Z("flushCalls"),Z("flushChunks",r.length),Z("flushBytes",i);let o=s?_t():0,a=[],f=[],u=0,c=()=>{if(u===0)return;let b=f.length===1?f[0]:Buffer.concat(f,u);Z("writeRawCalls"),Z("writeRawBytes",b.length),a.push(b),f=[],u=0};for(let b of r)for(let S=0;S<b.length;S+=gB){let v=b.subarray(S,S+gB);u>0&&u+v.length>gB&&c(),f.push(v),u+=v.length,u>=gB&&c()}c();let h=this._socketId,y=this._bridgeWriteTail;for(let b of a)y=y.then(()=>_netSocketWriteRaw(h,b));return this._bridgeWriteTail=y,y.then(()=>{s&&Z("writeRawElapsedUs",_t()-o),RB(this),this._touchTimeout();for(let b of n)b(null)},b=>{let S=b instanceof Error?b:new Error(String(b));for(let v of n)v(S)}),y}_emitSocketClose(r=!1){this._closeEmitted||(this._closeEmitted=!0,this._connected=!1,this.connecting=!1,this.pending=!1,this.readable=!1,this.writable=!1,this._syncHandleRef(),this._clearTimeoutTimer(),this._socketId&&RFe(this._socketId),this._deferBridgeReleaseUntilReadDrained=!1,this._releaseBridgeSocket(),this._emitNet("close",r))}_releaseDeferredBridgeSocket(){!this._deferBridgeReleaseUntilReadDrained||this.readableLength>0||!this._readableState.endEmitted||(this._deferBridgeReleaseUntilReadDrained=!1,this._maybeEmitSocketClose())}_releaseBridgeSocket(){if(!(this._bridgeReleased||!this._socketId||typeof _netSocketDestroyRaw>"u")){this._bridgeReleased=!0;try{_netSocketDestroyRaw.applySync(void 0,[this._socketId])}catch{}Z("peerWakeOnDestroy"),RB(this)}}_maybeEmitSocketClose(){this.destroyed||this._closeEmitted||!this._remoteEnded||!this._readableState.endEmitted||!this.writableFinished||queueMicrotask(()=>{!this.destroyed&&!this._closeEmitted&&this._remoteEnded&&this._readableState.endEmitted&&this.writableFinished&&this._emitSocketClose(!1)})}_handleRemoteReadableEnd(){this.destroyed||this._remoteEnded||(sr("socket remote end",this._socketId),this._remoteEnded=!0,this._applicationReadDemand=!1,this.push(null),this.read(0),this._readableState.endEmitted||(this._deferBridgeReleaseUntilReadDrained=!0),this._maybeEmitSocketClose())}_applySocketInfo(r){if(r){if(r.localPath!==void 0||r.remotePath!==void 0){this._localUnixPath=r.localPath,this._remoteUnixPath=r.remotePath??this._remoteUnixPath,delete this.localAddress,delete this.localPort,delete this.localFamily,delete this.remoteAddress,delete this.remotePort,delete this.remoteFamily,delete this.localPath,delete this.remotePath;return}this.localAddress=r.localAddress,this.localPort=r.localPort,this.localFamily=r.localFamily,this.remoteAddress=r.remoteAddress??this.remoteAddress,this.remotePort=r.remotePort??this.remotePort,this.remoteFamily=r.remoteFamily??this.remoteFamily}}_applyAcceptedKeepAlive(r){this._keepAliveState=!0,this._keepAliveDelaySeconds=XB(r)}static fromAcceptedHandle(r,n){let i=new fZ({allowHalfOpen:n?.allowHalfOpen});return i._socketId=r.socketId,i.capabilityId=r.info?.capabilityId,i.capabilityGeneration=r.info?.capabilityGeneration,i._handle=zK(r.socketId),i._applySocketInfo(r.info),i._applicationReadDemand=!0,i._connected=!0,i.connecting=!1,i.pending=!1,YK(r.socketId,i),i._syncHandleRef(),i.read(0),queueMicrotask(()=>{!i.destroyed&&!i._tlsUpgrading&&(i._nextReadPumpOrigin="acceptedHandle",i._pumpBridgeReads())}),i}setKeepAlive(r,n){let i=WK(r),s=XB(n);return i===this._keepAliveState&&(!i||s===this._keepAliveDelaySeconds)?this:(this._keepAliveState=i,this._keepAliveDelaySeconds=i?s:0,sr("socket setKeepAlive",this._socketId,i,s),this._handle?.setKeepAlive?.(i,s),this)}setNoDelay(r){let n=WK(r);return n===this._noDelayState?this:(this._noDelayState=n,sr("socket setNoDelay",this._socketId,n),this._handle?.setNoDelay?.(n),this)}setTimeout(r,n){let i=sZ(r);if(n!==void 0&&typeof n!="function")throw Tu("callback",n);return n&&this.once("timeout",n),this._timeoutMs=i,i===0?(this._clearTimeoutTimer(),this):(this._touchTimeout(),this)}ref(){return this._refed=!0,this._handle?.ref?.(),this._syncHandleRef(),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._syncHandleRef(),this._timeoutTimer&&typeof this._timeoutTimer.unref=="function"&&this._timeoutTimer.unref(),this}_syncHandleRef(){if(!(this._refed&&!this.destroyed&&!this._closeEmitted&&(this.connecting||this._connected||this._socketId!==0||this._loopbackHttpTarget))){this._handleRefId&&typeof _unregisterHandle=="function"&&_unregisterHandle(this._handleRefId),this._handleRefId=null;return}this._handleRefId!==this._livenessId&&(this._handleRefId&&typeof _unregisterHandle=="function"&&_unregisterHandle(this._handleRefId),this._handleRefId=this._livenessId,typeof _registerHandle=="function"&&_registerHandle(this._handleRefId,"net socket"))}address(){return this._localUnixPath!==void 0||this._remoteUnixPath!==void 0?{}:{port:this.localPort,family:this.localFamily,address:this.localAddress}}getCipher(){return uf(this._socketId,"getCipher")??this._tlsCipher}getSession(){let r=uf(this._socketId,"getSession");return Buffer.isBuffer(r)?(this._tlsSession=Buffer.from(r),Buffer.from(r)):this._tlsSession?Buffer.from(this._tlsSession):null}isSessionReused(){let r=uf(this._socketId,"isSessionReused");return typeof r=="boolean"?r:this._tlsSessionReused}getPeerCertificate(r){let n=uf(this._socketId,"getPeerCertificate",r===!0);return n&&typeof n=="object"?n:{}}getCertificate(){let r=uf(this._socketId,"getCertificate");return r&&typeof r=="object"?r:{}}getProtocol(){let r=uf(this._socketId,"getProtocol");return typeof r=="string"?r:this._tlsProtocol}emit(r,...n){return this._emitNet(r,...n)}_emitNet(r,...n){let i=Yt()&&(r==="readable"||r==="data"),s=i?_t():0;r==="data"&&(this._emittingData=!0,this._currentDataEmitStartUs=s),r==="readable"?Z("socketReadableEmits"):r==="data"?Z("socketDataEmits"):r==="end"?Z("socketEndEmits"):r==="close"?Z("socketCloseEmits"):r==="connect"&&Z("socketConnectEmits");let o=!1;try{o=super.emit(r,...n)}finally{if(r==="data"&&(this._emittingData=!1),i){let a=_t()-s;r==="readable"?(Z("socketReadableEmitUs",a),cn("socketReadableEmitMaxUs",a)):r==="data"&&(Z("socketDataEmitUs",a),cn("socketDataEmitMaxUs",a),this._lastDataEmitEndUs=_t())}r==="data"&&(this._currentDataEmitStartUs=0)}return o}_queueReadablePayload(r){if(!r||r.length===0)return;let n=Yt(),i=n?_t():0;try{Z("queueReadablePayloads"),Z("queueReadableBytes",r.length);let s=this.push(r);return cn("queueReadableBytesMax",this.readableLength),s||(this._applicationReadDemand=!1,typeof _netSocketSetReadInterestRaw<"u"&&this._socketId&&!this.destroyed&&!this._bridgeReleased&&cA(this)&&_netSocketSetReadInterestRaw.applySync(void 0,[this._socketId,!1]),Z("readBackpressureStops")),s}finally{if(n){let s=_t()-i;Z("queueReadablePayloadElapsedUs",s),cn("queueReadablePayloadMaxUs",s)}}}async _waitForConnect(){if(!(typeof _netSocketWaitConnectRaw>"u"||this._socketId===0))try{let r=await _netSocketWaitConnectRaw.apply(void 0,[this._socketId],{result:{promise:!0}});if(this.destroyed)return;this._applySocketInfo(oZ(r)),await NFe(this),this._connected=!0,this.connecting=!1,this._applicationReadDemand&&typeof _netSocketSetReadInterestRaw<"u"&&_netSocketSetReadInterestRaw.applySync(void 0,[this._socketId,!0]),sr("socket connected",this._socketId,this.localAddress,this.localPort,this.remoteAddress,this.remotePort),this._touchTimeout(),sr("socket emit connect",this._socketId,this.listenerCount("connect")),this._emitNet("connect"),sr("socket emit ready",this._socketId,this.listenerCount("ready")),this._emitNet("ready"),this._tlsUpgrading||(this.read(0),this._nextReadPumpOrigin="connectWait",await this._pumpBridgeReads())}catch(r){if(this.destroyed)return;let n=r instanceof Error?r:new Error(String(r));sr("socket connect error",this._socketId,n.message,n.stack??null),this._emitNet("error",n),this.destroy()}}async _pumpBridgeReads(){if(!this._applicationReadDemand){Z("readPumpSkippedNoDemand");return}if(this._bridgeReadLoopRunning){Z("readPumpSkippedLoopRunning");return}if(this._bridgeReadRpcInFlight){Z("readPumpSkippedRpcInFlight");return}if(this._remoteEnded){Z("readPumpSkippedRemoteEnded");return}if(this._bridgeReleased){Z("readPumpSkippedReleased");return}if(this._closeEmitted){Z("readPumpSkippedCloseEmitted");return}if(typeof _netSocketReadRaw>"u"){Z("readPumpSkippedRawMissing");return}if(!cA(this)){Z("readPumpSkippedUnregistered");return}Z("readPumpRuns");let r=!this._bridgeReadPumpStarted,n=this._readFirstPumpScheduleActive===!0;if(r){if(KFe(this._nextReadPumpOrigin),this._firstReadNoTimerWakeAtUs>0&&Yt()){let a=Math.max(0,_t()-this._firstReadNoTimerWakeAtUs);Z("readFirstPumpAfterNoTimerWakeCalls"),Z("readFirstPumpAfterNoTimerWakeUs",a),cn("readFirstPumpAfterNoTimerWakeMaxUs",a)}if(n&&this._readFirstPumpScheduleQueuedAtUs>0&&Yt()){let a=Math.max(0,_t()-this._readFirstPumpScheduleQueuedAtUs);Z("readFirstPumpScheduleQueuedToPumpStartUs",a),cn("readFirstPumpScheduleQueuedToPumpStartMaxUs",a)}}this._readFirstPumpScheduleActive=!1,this._readFirstPumpScheduleQueuedAtUs=0,this._nextReadPumpOrigin=null,this._bridgeReadPumpStarted=!0;let i=!1,s=!1;if(Yt()&&this._readWakeQueuedAtUs>0){let a=Math.max(0,_t()-this._readWakeQueuedAtUs);Z("readWakeQueuedToPumpStartUs",a),cn("readWakeQueuedToPumpStartMaxUs",a),this._readWakeQueuedAtUs=0}this._bridgeReadLoopRunning=!0;let o=0;try{for(;this._applicationReadDemand&&!this._remoteEnded&&!this.destroyed&&!this._bridgeReleased&&!this._closeEmitted&&cA(this);){let a=Yt(),f=a&&this._lastReadDeliveryEndUs>0?_t():0;if(f>0&&(Z("readPostDeliveryProbeCalls"),Z("readPostDeliveryNextRawCalls"),Z("readPostDeliveryToProbeStartUs",f-this._lastReadDeliveryEndUs),this._bridgeWriteFlushScheduled&&(Z("readPostDeliveryPendingWriteFlushes"),Z("readPostDeliveryPendingWriteBytes",this._pendingBridgeWriteBytes)),this._lastReadDeliveryEndUs=0),!cA(this)||this._bridgeReadRpcInFlight)return;Z("readRawCalls");let u=a?_t():0;this._bridgeReadRpcInFlight=!0;let c;try{c=_netSocketReadRaw.applySync(void 0,[this._socketId])}finally{this._bridgeReadRpcInFlight=!1}if(this._remoteEnded)return;if(a){let y=_t()-u;Z("readRawElapsedUs",y),f>0&&(Z("readPostDeliveryProbeElapsedUs",y),cn("readPostDeliveryProbeMaxUs",y))}if(this.destroyed)return;if(c===nM){if(r&&!i&&(i=!0,Z("readFirstPumpResultTimeout")),n&&!s&&(s=!0,Z("readFirstPumpScheduleResultTimeout")),Z("readTimeoutSentinels"),f>0&&(Z("readPostDeliveryProbeTimeoutSentinels"),Z("readPostDeliveryNextRawTimeoutSentinels")),this._pendingBridgeWake){this._pendingBridgeWake=!1,this._pendingBridgeWakeRetries=0,Z("readPendingWakeImmediateRetries"),this._nextReadPumpOrigin="eventWake",await Promise.resolve();continue}Z("readWaitsForWake");return}if(c===null){r&&!i&&(i=!0,Z("readFirstPumpResultEnd")),n&&!s&&(s=!0,Z("readFirstPumpScheduleResultEnd")),Z("readEndEvents"),this._pendingBridgeWake=!1,this._pendingBridgeWakeRetries=0,this._handleRemoteReadableEnd();return}f>0&&(Z("readPostDeliveryProbeDataEvents"),Z("readPostDeliveryNextRawDataEvents")),r&&!i&&(i=!0,Z("readFirstPumpResultData")),n&&!s&&(s=!0,Z("readFirstPumpScheduleResultData"));let h;if(typeof c=="string"){let y=a?_t():0;h=Buffer.from(c,"base64"),a&&(Z("readBase64DecodeCalls"),Z("readBase64DecodeBytes",h.length),Z("readBase64DecodeChars",c.length),Z("readBase64DecodeUs",_t()-y))}else{let y=a?_t():0;h=Buffer.from(c),a&&(Z("readPayloadMaterializeCalls"),Z("readPayloadMaterializeBytes",h.length),Z("readPayloadMaterializeUs",_t()-y))}if(sr("socket data",this._socketId,h.length),Z("readDataEvents"),Z("readBytes",h.length),this.bytesRead+=h.length,this._touchTimeout(),o>0){Z("readMacrotaskYields");let y=a?_t():0;if(await $Fe(),a){let b=_t()-y;Z("readMacrotaskYieldElapsedUs",b),cn("readMacrotaskYieldMaxUs",b)}if(this.destroyed)return}else Z("readFirstPayloadImmediateDeliveries");if(this._pendingBridgeWake=!1,this._pendingBridgeWakeRetries=0,o++,!this._queueReadablePayload(h))return;if(this._wroteDuringDataEmit){this._wroteDuringDataEmit=!1,Z("readPumpYieldAfterInlineDataWrite"),Zh(this,"postDeliveryInlineWrite");return}if(this._bridgeWriteFlushScheduled){Z("readPumpYieldToPendingWriteFlush"),Zh(this,"postDeliveryWriteFlush");return}a&&(this._lastReadDeliveryEndUs=_t())}}finally{this._bridgeReadLoopRunning=!1,this._applicationReadDemand&&this._pendingBridgeWake&&!this.destroyed&&cA(this)&&Zh(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 r=!1;for(;(this._loopbackServer||this._loopbackHttpTarget)&&!this.destroyed;){let n=this._loopbackServer??{listenerCount:()=>0},i=TZ(this._loopbackBuffer,n);if(i.kind==="incomplete"){r&&this._closeLoopbackReadable();return}if(i.kind==="bad-request"){this._pushLoopbackData(sN()),i.closeConnection&&this._closeLoopbackReadable(),this._loopbackBuffer=Buffer.alloc(0);return}if(this._loopbackBuffer=this._loopbackBuffer.subarray(i.bytesConsumed),i.upgradeHead){this._dispatchLoopbackUpgrade(i.request,i.upgradeHead);return}let s;if(this._loopbackHttpTarget){if(typeof _networkHttpServerRequestRaw>"u")throw new Error("HTTP loopback bridge is not available");s=_networkHttpServerRequestRaw.applySync(void 0,[{...this._loopbackHttpTarget,request:JSON.stringify(i.request)}])}else({responseJson:s}=await a4e(this._loopbackServer,i.request));let o=JSON.parse(s),a=nC(o,i.request,i.closeConnection);if(!r&&a.payload.length>0&&this._pushLoopbackData(a.payload),a.closeConnection&&(r=!0,this._loopbackBuffer.length===0)){this._closeLoopbackReadable();return}}}_pushLoopbackData(r){if(r.length===0||this._loopbackReadableEnded)return;let n=Buffer.from(r);this._queueLoopbackEvent(()=>{this.destroyed||(this.bytesRead+=n.length,this._touchTimeout(),this._queueReadablePayload(n))})}_closeLoopbackReadable(){this._loopbackReadableEnded||(this._loopbackReadableEnded=!0,this._remoteEnded=!0,this._applicationReadDemand=!1,this._clearTimeoutTimer(),this._queueLoopbackEvent(()=>{this.push(null),this._readableState.endEmitted||(this._deferBridgeReleaseUntilReadDrained=!0),this._maybeEmitSocketClose()}))}_queueLoopbackEvent(r){this._loopbackEventQueue=this._loopbackEventQueue.then(()=>new Promise(n=>{queueMicrotask(()=>{try{r()}finally{n()}})}))}_dispatchLoopbackUpgrade(r,n){if(this._loopbackServer)try{let i=new OUe({host:this.remoteAddress,port:this.remotePort});i._attachPeer({_pushData:s=>this._pushLoopbackData(s),_pushEnd:()=>this._closeLoopbackReadable()}),this._loopbackUpgradeSocket=i,this._loopbackServer._emit("upgrade",new PA(r),i,n)}catch(i){let s=i instanceof Error?i:new Error(String(i)),o=!1,a=null;if(typeof process<"u"&&typeof process.emit=="function"){let f=process;try{o=f.emit("uncaughtException",s,"uncaughtException")}catch(u){if(u&&typeof u=="object"&&u.name==="ProcessExitError"){o=!0;let c=Number(u.code);a=Number.isFinite(c)?c:0}else throw u}}if(o){a!==null&&(process.exitCode=a),this._loopbackServer?.close(),this.destroy();return}throw s}}_upgradeTls(r){if(typeof _netSocketUpgradeTlsAsyncRaw>"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||TB(this)});return}let n=()=>{this.destroyed||TB(this)},i=o=>{if(this.destroyed)return;this._tlsUpgrading=!1;let a=o instanceof Error?o:new Error(String(o));this._emitNet("error",a),this.destroy()},s;try{s=_netSocketUpgradeTlsAsyncRaw(this._socketId,JSON.stringify(r??{}))}catch(o){i(o);return}Promise.resolve(s).then(()=>{r?.isServer?queueMicrotask(n):setTimeout(()=>{this.destroyed||TB(this,"secureConnect",!1)},0)},i)}_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 zT(e,t,r){let n=new hs;return n.connect(e,t,r),n}var F0=class{constructor(e,t){m(this,"_listeners",{});m(this,"_onceListeners",{});m(this,"_serverId",0);m(this,"capabilityId");m(this,"capabilityGeneration");m(this,"_address",null);m(this,"_acceptLoopActive",!1);m(this,"_acceptLoopRunning",!1);m(this,"_acceptPumpQueued",!1);m(this,"_pendingAcceptWake",!1);m(this,"_acceptPumpStarted",!1);m(this,"_nextAcceptPumpOrigin",null);m(this,"_firstAcceptNoTimerWakeAtUs",0);m(this,"_acceptWakeQueuedAtUs",0);m(this,"_handleRefId",null);m(this,"_connections",new Set);m(this,"_closePending",!1);m(this,"_closeQueued",!1);m(this,"_pendingTransportCloses",0);m(this,"_pendingRelisten",null);m(this,"_refed",!0);m(this,"listening",!1);m(this,"keepAlive",!1);m(this,"keepAliveInitialDelay",0);m(this,"allowHalfOpen",!1);m(this,"maxConnections");m(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]),Z("peerWakeOnDestroy"),RB({_socketId:n.socketId,localPort:n.info.localPort,remotePort:n.info.remotePort,_localUnixPath:n.info.localPath,_remoteUnixPath:n.info.remotePath});return}this.keepAlive&&n.setKeepAlive?.(!0,this.keepAliveInitialDelay);let i=hs.fromAcceptedHandle(n,{allowHalfOpen:this.allowHalfOpen});i.server=this,this._connections.add(i),i.once("close",()=>{this._connections.delete(i),this._closePending&&Z("serverCloseConnectionDrainEvents"),this._emitCloseIfDrained()}),this.keepAlive&&i._applyAcceptedKeepAlive(this.keepAliveInitialDelay),Z("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");if(this._pendingTransportCloses>0){if(this._pendingRelisten){let h=new Error("Listen method has been called more than once without closing.");throw h.code="ERR_SERVER_ALREADY_LISTEN",h}return this._pendingRelisten=()=>{this.listen(e,t,r,n)},this}let{port:i,host:s,path:o,backlog:a,readableAll:f,writableAll:u,callback:c}=rZ(e,t,r,n);c&&this.once("listening",c);try{let h=_netServerListenRaw.applySyncPromise(void 0,[{port:i,host:s,...o?nZ(o):{},backlog:a,readableAll:f,writableAll:u}]),y=typeof h=="string"?JSON.parse(h):h,b=y.address??y;this._serverId=y.serverId,this.capabilityId=y.capabilityId,this.capabilityGeneration=y.capabilityGeneration,this._address=b.localPath?b.localPath:{address:b.localAddress,family:b.localFamily??b.family,port:b.localPort},this.listening=!0,DFe(this),this._syncHandleRef(),this._acceptLoopActive=!0,queueMicrotask(()=>{!this.listening||this._serverId===0||(this._emit("listening"),this._nextAcceptPumpOrigin="listen",this._pumpAccepts())})}catch(h){queueMicrotask(()=>{this._emit("error",h)})}return this}close(e){if(Z("serverCloseCalls"),Z("serverCloseConnectionsAtCall",this._connections.size),cn("serverCloseConnectionsAtCallMax",this._connections.size),this._connections.size>0&&Z("serverCloseCallsWithConnections"),e&&this.once("close",e),!this.listening||typeof _netServerCloseRaw>"u")return this._closePending=!0,this._emitCloseIfDrained(),this;this._closePending=!0,this.listening=!1,this._acceptLoopActive=!1,this._pendingAcceptWake=!1,this._acceptPumpQueued=!1,TFe(this),this._syncHandleRef();let t=this._serverId,r=typeof this._address=="string"&&!this._address.startsWith("\0");this._serverId=0,this._address=null,this._pendingTransportCloses+=1;let n=i=>{if(this._pendingTransportCloses<=0)throw new Error("ERR_AGENTOS_NET_CLOSE_ACCOUNTING: listener transport close completed without a pending operation");if(this._pendingTransportCloses-=1,this._emitCloseIfDrained(),this._pendingTransportCloses===0&&this._pendingRelisten){let s=this._pendingRelisten;this._pendingRelisten=null,s()}if(i!==void 0){let s=i instanceof Error?i:new Error(String(i));this._emit("error",s)||queueMicrotask(()=>{throw s})}};try{Promise.resolve(_netServerCloseRaw(t,r)).then(()=>n(),n)}catch(i){n(i)}return this}_emitCloseIfDrained(){!this._closePending||this._closeQueued||this.listening||this._pendingTransportCloses!==0||this._connections.size!==0||(this._closeQueued=!0,queueMicrotask(()=>{this._closePending&&(this._closeQueued=!1,this._closePending=!1,Z("serverCloseEmits"),this._emit("close"))}))}address(){return this._address}getConnections(e){if(typeof e!="function")throw Tu("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._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=`${QFe}${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&&Z("acceptLoopAlreadyRunning");return}this._acceptPumpQueued=!1,Z("acceptPumpRuns");let e=!this._acceptPumpStarted;if(e&&(XFe(this._nextAcceptPumpOrigin),this._firstAcceptNoTimerWakeAtUs>0&&Yt())){let r=Math.max(0,_t()-this._firstAcceptNoTimerWakeAtUs);Z("acceptFirstPumpAfterNoTimerWakeCalls"),Z("acceptFirstPumpAfterNoTimerWakeUs",r),cn("acceptFirstPumpAfterNoTimerWakeMaxUs",r)}this._nextAcceptPumpOrigin=null,this._acceptPumpStarted=!0;let t=!1;if(Yt()&&this._acceptWakeQueuedAtUs>0){let r=Math.max(0,_t()-this._acceptWakeQueuedAtUs);Z("acceptWakeQueuedToPumpStartUs",r),cn("acceptWakeQueuedToPumpStartMaxUs",r),this._acceptWakeQueuedAtUs=0}this._acceptLoopRunning=!0;try{for(;this._acceptLoopActive&&this._serverId!==0;){Z("acceptRawCalls");let r=Yt(),n=r?_t():0,i=_netServerAcceptRaw.applySync(void 0,[this._serverId]);if(r&&Z("acceptRawElapsedUs",_t()-n),i===nM){if(e&&!t&&(t=!0,Z("acceptFirstPumpResultTimeout")),Z("acceptTimeoutSentinels"),this._pendingAcceptWake){this._pendingAcceptWake=!1,this._nextAcceptPumpOrigin="eventWake";continue}Z("acceptWaitsForWake");return}if(!i){e&&!t&&(t=!0,Z("acceptFirstPumpResultEmpty"));return}try{let s=r?_t():0,o=JSON.parse(i);r&&Z("acceptJsonParseUs",_t()-s),Z("acceptConnections"),e&&!t&&(t=!0,Z("acceptFirstPumpResultConnection"));let a=jFe(o.socketId,o.info),f=r?_t():0;this._handle.onconnection(null,a),r&&Z("acceptOnConnectionUs",_t()-f)}catch(s){this._emit("error",s)}}}finally{this._acceptLoopRunning=!1,this._pendingAcceptWake&&this.listening&&this._serverId!==0&&Ad(this)}}};function eUe(e,t){return new F0(e,t)}var uZ={BlockList:qFe,Socket:hs,SocketAddress:GFe,Server:eUe,Stream:hs,connect:zT,createConnection:zT,createServer(e,t){return new F0(e,t)},getDefaultAutoSelectFamily(){return JK},getDefaultAutoSelectFamilyAttemptTimeout(){return jK},isIP(e){return sd(e)},isIPv4(e){return sd(e)===4},isIPv6(e){return sd(e)===6},setDefaultAutoSelectFamily(e){JK=e!==!1},setDefaultAutoSelectFamilyAttemptTimeout(e){let t=Number(e);if(!Number.isFinite(t)||t<0)throw new RangeError(`Invalid auto-select family attempt timeout: ${e}`);jK=Math.trunc(t)}},tUe=Symbol.for("secure-exec.http2.kSocket"),KK=Symbol("options"),Xo=new Map,Ci=new Map,Un=new Map,$B=new Map,aT=new Set,KT=[],XT=new Map,fT=!1,Su=new Map,rUe=1,LA=class{constructor(){m(this,"_listeners",{});m(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}},$T=class extends LA{constructor(t,r){super();m(this,"allowHalfOpen",!1);m(this,"encrypted",!1);m(this,"localAddress","127.0.0.1");m(this,"localPort",0);m(this,"localFamily","IPv4");m(this,"remoteAddress","127.0.0.1");m(this,"remotePort",0);m(this,"remoteFamily","IPv4");m(this,"servername");m(this,"alpnProtocol",!1);m(this,"readable",!0);m(this,"writable",!0);m(this,"destroyed",!1);m(this,"_bridgeReadPollTimer",null);m(this,"_loopbackServer",null);m(this,"_onDestroy");m(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 hd(e,t,r){return Er(`The "${e}" argument must be of type ${t}. Received ${oi(r)}`,"ERR_INVALID_ARG_TYPE")}function $o(e,t){return TA(t,e)}function g0(e,t){let r=new RangeError(`Invalid value for setting "${e}": ${String(t)}`);return r.code="ERR_HTTP2_INVALID_SETTING_VALUE",r}function nUe(e,t){let r=new TypeError(`Invalid value for setting "${e}": ${String(t)}`);return r.code="ERR_HTTP2_INVALID_SETTING_VALUE",r}var ta={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},iUe={[ta.NGHTTP2_ERR_DEFERRED]:"Data deferred",[ta.NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE]:"Stream ID is not available",[ta.NGHTTP2_ERR_STREAM_CLOSED]:"Stream was already closed or invalid",[ta.NGHTTP2_ERR_INVALID_ARGUMENT]:"Invalid argument",[ta.NGHTTP2_ERR_FRAME_SIZE_ERROR]:"Frame size error",[ta.NGHTTP2_ERR_NOMEM]:"Out of memory"},cZ=class extends Error{constructor(t){super(t);m(this,"code","ERR_HTTP2_ERROR");this.name="Error"}};function AZ(e){return iUe[e]??`HTTP/2 error (${String(e)})`}function uT(e,t){return Er(`The property 'options.${e}' is invalid. Received ${sUe(t)}`,"ERR_INVALID_ARG_VALUE")}function sUe(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 oUe(e){return $o("ERR_HTTP2_PAYLOAD_FORBIDDEN",`Responses with ${String(e)} status must not have a payload`)}var aUe=61440,fUe=16384,uUe=32768,cUe=4096,AUe=49152,lUe=40960;function hUe(e){let t=e.atimeMs??0,r=e.mtimeMs??t,n=e.ctimeMs??r,i=e.birthtimeMs??n,s=e.mode&aUe;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===uUe,isDirectory:()=>s===fUe,isFIFO:()=>s===cUe,isSocket:()=>s===AUe,isSymbolicLink:()=>s===lUe}}function dUe(e){let t=e??{},r=t.offset;if(r!==void 0&&(typeof r!="number"||!Number.isFinite(r)))throw uT("offset",r);let n=t.length;if(n!==void 0&&(typeof n!="number"||!Number.isFinite(n)))throw uT("length",n);let i=t.statCheck;if(i!==void 0&&typeof i!="function")throw uT("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 gUe(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 lZ=class{constructor(e){m(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,iM(e)]),0}},ZT={headerTableSize:4096,enablePush:!0,initialWindowSize:65535,maxFrameSize:16384,maxConcurrentStreams:4294967295,maxHeaderListSize:65535,maxHeaderSize:65535,enableConnectProtocol:!1},hZ={effectiveLocalWindowSize:65535,localWindowSize:65535,remoteWindowSize:65535,nextStreamID:1,outboundQueueSize:1,deflateDynamicTableSize:0,inflateDynamicTableSize:0};function ls(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 XK(e){return{...hZ,...e??{}}}function pUe(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 dZ(e,t="settings"){if(!e||typeof e!="object"||Array.isArray(e))throw hd(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 nUe(s,o);n[s]=o;continue}if(s==="customSettings"){if(!o||typeof o!="object"||Array.isArray(o))throw g0(s,o);let a={};for(let[f,u]of Object.entries(o)){let c=Number(f);if(!Number.isInteger(c)||c<0||c>65535||typeof u!="number"||!Number.isInteger(u)||u<0||u>4294967295)throw g0(s,o);a[c]=u}n.customSettings=a;continue}if(s in i){let[a,f]=i[s];if(typeof o!="number"||!Number.isInteger(o)||o<a||o>f)throw g0(s,o);n[s]=o;continue}n[s]=o}return n}function iM(e){return JSON.stringify(e??{})}function Qu(e){if(!e)return{};try{let t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function I0(e){if(!e)return null;try{let t=JSON.parse(e);return t&&typeof t=="object"?t:null}catch{return null}}function $K(e){if(!e)return null;try{let t=JSON.parse(e);return t&&typeof t=="object"?t:null}catch{return null}}function ZB(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 gZ(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 yUe(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 hd(r,"boolean",i);if(n==="number"&&typeof i!="number")throw hd(r,"number",i)}}function EUe(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 g0("maxFrameSize",r)}}function sM(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=ls(t.localSettings)),t.remoteSettings&&typeof t.remoteSettings=="object"&&(e.remoteSettings=ls(t.remoteSettings)),t.state&&typeof t.state=="object"&&e._applyRuntimeState(pUe(t.state)),e.socket._applyState(t.socket))}function mUe(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 bUe(e,t,r){let n=typeof t=="function"?t:typeof r=="function"?r:void 0,i=typeof t=="function"?{}:t??{};return{authority:mUe(e,i),options:i,listener:n}}function IUe(e){if(!e||typeof e!="object")return;let t=e._socketId;return typeof t=="number"&&Number.isFinite(t)?t:void 0}var pZ=class extends LA{constructor(t,r,n=!1){super();m(this,"_streamId");m(this,"_encoding");m(this,"_utf8Remainder");m(this,"_isPushStream");m(this,"_session");m(this,"_receivedResponse",!1);m(this,"_needsDrain",!1);m(this,"_pendingWritableBytes",0);m(this,"_drainScheduled",!1);m(this,"_writableHighWaterMark",16*1024);m(this,"rstCode",0);m(this,"readable",!0);m(this,"writable",!0);m(this,"writableEnded",!1);m(this,"writableFinished",!1);m(this,"destroyed",!1);m(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=BUe(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 BUe(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 CUe=class yZ extends LA{constructor(r,n,i,s=!1){super();m(this,"_streamId");m(this,"_binding");m(this,"_responded",!1);m(this,"_endQueued",!1);m(this,"_pendingSyntheticErrorSuppressions",0);m(this,"_requestHeaders");m(this,"_isPushStream");m(this,"session");m(this,"rstCode",0);m(this,"readable",!0);m(this,"writable",!0);m(this,"destroyed",!1);m(this,"_readableState");m(this,"_writableState");this._streamId=r,this._binding=new lZ(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 cZ(AZ(r));this._pendingSyntheticErrorSuppressions+=1,this._markSyntheticClose(),this.emit("error",n),this._closeWithCode(ta.NGHTTP2_INTERNAL_ERROR)}_emitInternalStreamError(){let r=$o("ERR_HTTP2_STREAM_ERROR","Stream closed with error code NGHTTP2_INTERNAL_ERROR");this._pendingSyntheticErrorSuppressions+=1,this._markSyntheticClose(),this.emit("error",r),this._closeWithCode(ta.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 $o("ERR_HTTP2_INVALID_STREAM","The stream has been destroyed");if(this._responded)throw $o("ERR_HTTP2_HEADERS_SENT","Response has already been initiated.");this._submitResponse(r)}pushStream(r,n,i){if(this._isPushStream)throw $o("ERR_HTTP2_NESTED_PUSH","A push stream cannot initiate another push stream.");let s=typeof n=="function"?n:i;if(typeof s!="function")throw hd("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,iM(gZ(r)),JSON.stringify(o??{})]),f=JSON.parse(a);if(f.error){s(ZB(f.error));return}let u=new yZ(Number(f.streamId),this.session,Qu(f.headers),!0);Un.set(Number(f.streamId),u),s(null,u,Qu(f.headers))}write(r){if(this._writableState.ended)return queueMicrotask(()=>{this.emit("error",$o("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 $o("ERR_HTTP2_INVALID_STREAM","The stream has been destroyed");if(this._responded)throw $o("ERR_HTTP2_HEADERS_SENT","Response has already been initiated.");let s=dUe(i),o={...n??{}},a=o[":status"];if(a===204||a===205||a===304)throw oUe(Number(a));try{let f=Xt.stat.applySyncPromise(void 0,[r]),u=Xt.readFileBinary.applySyncPromise(void 0,[r]),c=hUe(mf(f)),h={offset:s.offset,length:s.length??Math.max(0,c.size-s.offset)};s.statCheck?.(c,o,h);let y=Buffer.from(u,"base64"),b=gUe(y,s.offset,s.length);if(o["content-length"]===void 0&&(o["content-length"]=b.byteLength),!this._submitResponse({":status":200,...o}))return;this.end(b);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)?V0.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(ta.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")}},EZ=class extends LA{constructor(t,r,n){super();m(this,"headers");m(this,"method");m(this,"url");m(this,"connection");m(this,"socket");m(this,"stream");m(this,"destroyed",!1);m(this,"readable",!0);m(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}},mZ=class extends LA{constructor(t){super();m(this,"_stream");m(this,"_headers",{});m(this,"_statusCode",200);m(this,"headersSent",!1);m(this,"writable",!0);m(this,"writableEnded",!1);m(this,"writableFinished",!1);m(this,"socket");m(this,"connection");m(this,"stream");m(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}},bZ=class extends LA{constructor(t,r,n){super();m(this,"encrypted",!1);m(this,"alpnProtocol",!1);m(this,"originSet");m(this,"localSettings",ls(ZT));m(this,"remoteSettings",ls(ZT));m(this,"pendingSettingsAck",!1);m(this,"socket");m(this,"state",XK(hZ));m(this,"_sessionId");m(this,"capabilityId");m(this,"capabilityGeneration");m(this,"_waitStarted",!1);m(this,"_pendingSettingsAckCount",0);m(this,"_awaitingInitialSettingsAck",!1);m(this,"_settingsCallbacks",[]);this._sessionId=t,this.capabilityId=n?.capabilityId,this.capabilityGeneration=n?.capabilityGeneration,this.socket=new $T(r,()=>{setTimeout(()=>{this.destroy()},0)}),this[tUe]=this.socket}_retain(){this._waitStarted||typeof _networkHttp2SessionPollRaw>"u"||(this._waitStarted=!0,X0(this,()=>eC("session",this._sessionId)),IZ("session",this._sessionId,()=>this._waitStarted&&Ci.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,Su.delete(`session:${this._sessionId}`),$0(this)}_beginInitialSettingsAck(){this._awaitingInitialSettingsAck=!0,this._pendingSettingsAckCount+=1,this.pendingSettingsAck=!0}_applyLocalSettings(t){this.localSettings=ls(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=ls(t),this.emit("remoteSettings",this.remoteSettings)}_applyRuntimeState(t){this.state=XK(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");yUe(r);let n=_networkHttp2SessionRequestRaw.applySync(void 0,[this._sessionId,iM(gZ(t)),JSON.stringify(r??{})]),i=new pZ(n,this);return Un.set(n,i),i}settings(t,r){if(r!==void 0&&typeof r!="function")throw hd("callback","function",r);if(typeof _networkHttp2SessionSettingsRaw>"u")throw new Error("http2 session settings bridge is not available");let n=dZ(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 hd("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(I0(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(Un.entries()).filter(([,r])=>typeof r._belongsTo=="function"&&r._belongsTo(this)&&!r._hasReceivedResponse());if(t.length>0){let r=$o("ERR_HTTP2_GOAWAY_SESSION","The HTTP/2 session is closing before the stream could be established.");if(queueMicrotask(()=>{for(let[n,i]of t)Un.get(n)===i&&(i.emit("error",r),i.emit("close"),Un.delete(n))}),typeof _networkHttp2SessionDestroyRaw<"u"){_networkHttp2SessionDestroyRaw.applySync(void 0,[this._sessionId]);return}}if(typeof _networkHttp2SessionCloseRaw>"u")throw new Error("http2 session close bridge is not available");_networkHttp2SessionCloseRaw.applySync(void 0,[this._sessionId])}destroy(){if(typeof _networkHttp2SessionDestroyRaw<"u"){_networkHttp2SessionDestroyRaw.applySync(void 0,[this._sessionId]);return}this.close()}},_Ue=class extends LA{constructor(t,r,n){super();m(this,"allowHalfOpen");m(this,"allowHTTP1");m(this,"encrypted");m(this,"_serverId");m(this,"capabilityId");m(this,"capabilityGeneration");m(this,"listening",!1);m(this,"_address",null);m(this,"_options");m(this,"_timeoutMs",0);m(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)?ls(t.settings):{};this._options={...t??{},settings:i},this._serverId=rUe++,this[KK]={settings:ls(i),unknownProtocolTimeout:1e4,...n?{ALPNProtocols:["h2"]}:{}},r&&this.on("request",r),Xo.set(this._serverId,this)}address(){return this._address}_retain(){this._waitStarted||typeof _networkHttp2ServerPollRaw>"u"||(this._waitStarted=!0,X0(this,()=>eC("server",this._serverId)),IZ("server",this._serverId,()=>this._waitStarted&&Xo.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,Su.delete(`server:${this._serverId}`),$0(this)}setTimeout(t,r){return this._timeoutMs=sZ(t),r&&this.on("timeout",r),this}updateSettings(t){let r=dZ(t),n={...ls(this._options.settings),...ls(r)};this._options={...this._options,settings:n};let i=this[KK];return i.settings=ls(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=rZ(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?md({...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.capabilityId=a.capabilityId,this.capabilityGeneration=a.capabilityGeneration,this.listening=!0,this._retain(),_registerHandle?.(`http2:server:${this._serverId}`,"http2 server"),this.emit("listening"),this}close(t){if(t&&this.once("close",t),!this.listening)return this._release(),queueMicrotask(()=>this.emit("close")),this;if(typeof _networkHttp2ServerCloseRaw>"u")throw new Error("http2 server close bridge is not available");return _networkHttp2ServerCloseRaw.applySyncPromise(void 0,[this._serverId]),eC("server",this._serverId),this}};function ZK(e,t,r){let n=typeof t=="function"?t:r,i=t&&typeof t=="object"&&!Array.isArray(t)?t:void 0;return new _Ue(i,n,e)}function wUe(e,t,r){if(typeof _networkHttp2SessionConnectRaw>"u")throw new Error("http2.connect is not supported in sandbox");let{authority:n,options:i,listener:s}=bUe(e,t,r);if(n.protocol!=="http:"&&n.protocol!=="https:")throw $o("ERR_HTTP2_UNSUPPORTED_PROTOCOL",`protocol "${n.protocol}" is unsupported.`);EUe(i);let o=i.createConnection?IUe(i.createConnection()):void 0,a=i.port??n.port,f=a===""||a===void 0||a===null?void 0:Number(a),u=JSON.parse(_networkHttp2SessionConnectRaw.applySyncPromise(void 0,[JSON.stringify({authority:n.toString(),protocol:n.protocol,host:i.host??i.hostname??n.hostname,port:f,localAddress:i.localAddress,family:i.family,socketId:o,settings:i.settings,remoteCustomSettings:i.remoteCustomSettings,tls:n.protocol==="https:"?md(i,{servername:typeof i.servername=="string"?i.servername:n.hostname}):void 0})])),c=I0(u.state),h=new bZ(u.sessionId,c?.socket??void 0,u);return sM(h,c),h._beginInitialSettingsAck(),h._retain(),s&&h.once("connect",()=>s(h)),Ci.set(u.sessionId,h),_registerHandle?.(`http2:session:${u.sessionId}`,"http2 session"),n.protocol==="https:"&&h.socket.once("secureConnect",()=>{}),h}function eX(e,t){let r=Ci.get(e);return r||(r=new bZ(e,t?.socket??void 0,t),Ci.set(e,r)),sM(r,t),r}function Jh(e,t){let r=$B.get(e)??[];r.push(t),$B.set(e,r)}function oA(e){if(aT.has(e))return;aT.add(e);let t=()=>{aT.delete(e),SUe(e)},r=globalThis.setImmediate;if(typeof r=="function"){r(t);return}setTimeout(t,0)}function SUe(e){let t=Un.get(e);if(!t||typeof t._emitResponseHeaders!="function")return;let r=$B.get(e);if(!(!r||r.length===0)){$B.delete(e);for(let n of r){if(n.kind==="push"){t._emitPush(Qu(n.data),n.extraNumber);continue}if(n.kind==="responseHeaders"){t._emitResponseHeaders(Qu(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",ZB(n.data));continue}typeof t._emitClose=="function"?t._emitClose(n.extraNumber):t.emit("close"),Un.delete(e)}}}function oM(e,t,r,n,i,s,o){if(e==="sessionConnect"){let a=Ci.get(t);if(!a)return;let f=I0(r);sM(a,f),a.encrypted&&a.socket.emit("secureConnect"),a.emit("connect");return}if(e==="sessionClose"){let a=Ci.get(t);if(!a)return;a._release(),a.emit("close"),Ci.delete(t),_unregisterHandle?.(`http2:session:${t}`);return}if(e==="sessionError"){let a=Ci.get(t);if(!a)return;a.emit("error",ZB(r));return}if(e==="sessionLocalSettings"){let a=Ci.get(t);if(!a)return;a._applyLocalSettings(Qu(r));return}if(e==="sessionRemoteSettings"){let a=Ci.get(t);if(!a)return;a._applyRemoteSettings(Qu(r));return}if(e==="sessionSettingsAck"){let a=Ci.get(t);if(!a)return;a._ackSettings();return}if(e==="sessionGoaway"){let a=Ci.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=Ci.get(t);if(!a)return;let f=Number(r),u=new pZ(f,a,!0);Un.set(f,u),a.emit("stream",u,Qu(s),Number(o??0)),oA(f);return}if(e==="clientPushHeaders"){Jh(t,{kind:"push",data:r,extraNumber:Number(i??0)}),oA(t);return}if(e==="clientResponseHeaders"){Jh(t,{kind:"responseHeaders",data:r}),oA(t);return}if(e==="clientData"){Jh(t,{kind:"data",data:r}),oA(t);return}if(e==="clientEnd"){Jh(t,{kind:"end"}),oA(t);return}if(e==="clientClose"){Jh(t,{kind:"close",extraNumber:Number(i??0)}),oA(t);return}if(e==="clientError"){Jh(t,{kind:"error",data:r}),oA(t);return}if(e==="serverStream"){let a=Xo.get(t);if(!a)return;let f=I0(n),u=Number(i),c=eX(u,f),h=Number(r),y=Qu(s),b=Number(o??0),S=new CUe(h,c,y);if(Un.set(h,S),a.emit("stream",S,y,b),a.listenerCount("request")>0){let v=new EZ(y,c.socket,S),L=new mZ(S);S.on("data",U=>{v._emitData(U)}),S.on("end",()=>{v._emitEnd()}),S.on("error",U=>{v._emitError(U)}),S.on("drain",()=>{L.emit("drain")}),a.emit("request",v,L)}return}if(e==="serverStreamData"){let a=Un.get(t);if(!a||typeof a._emitData!="function")return;a._emitData(r);return}if(e==="serverStreamEnd"){let a=Un.get(t);if(!a||typeof a._emitEnd!="function")return;a._emitEnd();return}if(e==="serverStreamDrain"){let a=Un.get(t);if(!a||typeof a._emitDrain!="function")return;a._emitDrain();return}if(e==="serverStreamError"){let a=Un.get(t);if(!a||typeof a._shouldSuppressHostError=="function"&&a._shouldSuppressHostError())return;a.emit("error",ZB(r));return}if(e==="serverStreamClose"){let a=Un.get(t);if(!a||typeof a._emitClose!="function")return;a._emitClose(Number(i??0)),Un.delete(t);return}if(e==="serverSession"){let a=Xo.get(t);if(!a)return;let f=Number(i),u=eX(f,I0(r));a.emit("session",u);return}if(e==="serverTimeout"){Xo.get(t)?.emit("timeout");return}if(e==="serverConnection"){Xo.get(t)?.emit("connection",new $T($K(r)??void 0));return}if(e==="serverSecureConnection"){Xo.get(t)?.emit("secureConnection",new $T($K(r)??void 0));return}if(e==="serverClose"){let a=Xo.get(t);if(!a)return;a.listening=!1,a._release(),a.emit("close"),Xo.delete(t),_unregisterHandle?.(`http2:server:${t}`);return}e==="serverCompatRequest"&&(XT.set(Number(i),{serverId:t,requestJson:r??"{}"}),o4e(t,Number(i)))}function QUe(e,t){if(typeof e=="string"&&(e=JSON.parse(e)),!e||typeof e!="object"||typeof e.kind!="string")return!1;let r=Number(e.id);return Number.isFinite(r)?(oM(e.kind,r,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===t):!1}function IZ(e,t,r,n,i){let s=`${e}:${t}`,o=e==="server"?"serverClose":"sessionClose",a={active:!0,running:!1,pendingWake:!1,poll:n,tick:null},f=()=>{queueMicrotask(()=>{Su.get(s)===a&&a.active&&a.tick?.()})},u=()=>{if(!r()){a.active=!1,Su.delete(s);return}if(a.running){a.pendingWake=!0;return}a.running=!0;try{let c=!1,h=!1;do{a.pendingWake=!1,h=!1;let y=0;for(;y<64&&r();y++){let b;try{b=n()}catch(S){i(S);return}if(!b||(c=QUe(b,o),c))break}h=y===64}while(!c&&a.pendingWake&&r());!c&&h&&r()?f():c&&(a.active=!1,Su.delete(s))}finally{a.running=!1,a.pendingWake&&a.active&&r()&&f()}};a.tick=u,Su.set(s,a),f()}function eC(e,t){let r=Su.get(`${e}:${t}`);!r||!r.active||(r.pendingWake=!0,!r.running&&queueMicrotask(()=>{Su.get(`${e}:${t}`)===r&&r.tick?.()}))}function vUe(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)||eC(t,r)}function RUe(){if(fT)return;fT=!0,queueMicrotask(()=>{for(fT=!1;KT.length>0;){let t=KT.shift();t&&oM(t.kind,t.id,t.data,t.extra,t.extraNumber,t.extraHeaders,t.flags)}})}function DUe(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,f=typeof r.extraHeaders=="string"?r.extraHeaders:void 0,u=typeof r.flags=="string"||typeof r.flags=="number"?r.flags:void 0;KT.push({kind:n,id:i,data:s,extra:o,extraNumber:a,extraHeaders:f,flags:u}),RUe()}ot("_http2RetainDispatch",vUe);var aM={Http2ServerRequest:EZ,Http2ServerResponse:mZ,Http2Stream:lZ,NghttpError:cZ,nghttp2ErrorString:AZ,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",...ta,DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE:65535},getDefaultSettings(){return ls(ZT)},connect:wUe,createServer:ZK.bind(void 0,!1),createSecureServer:ZK.bind(void 0,!0)};function TUe(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 NB(e){let t=new Error(`${e} is not supported by the secure-exec dns polyfill`);return t.code="ERR_NOT_IMPLEMENTED",t}function NUe(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 NB(`${e}(${o})`);return{callback:s,options:{hostname:String(t),rrtype:o}}}function MUe(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 xUe(e){let t=e;return typeof t=="string"&&(t=JSON.parse(t)),t}function tX(e){let t=new TypeError(`${e} expects an array of non-empty server strings`);return t.code="ERR_INVALID_ARG_TYPE",t}function BZ(e,t){if(!Array.isArray(t))throw tX(e);return t.map(r=>{if(typeof r!="string"||r.length===0)throw tX(e);return r})}function tC(e,t,r){let n=TUe(e,t,r);return _networkDnsLookupRaw.apply(void 0,[n.options],{result:{promise:!0}}).then(i=>{let s=MUe(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=NUe(e,t,r,n);return _networkDnsResolveRaw.apply(void 0,[i.options],{result:{promise:!0}}).then(s=>{let o=xUe(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 kUe=class{constructor(){this._servers=[]}cancel(){}getServers(){return this._servers.slice()}lookup(e,t,r){return tC(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=BZ("dns.Resolver.setServers",e)}},FUe=class{constructor(){this._servers=[]}cancel(){}getServers(){return this._servers.slice()}lookup(e,t){return tC(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=BZ("dns.promises.Resolver.setServers",e)}},fM={ADDRCONFIG:32,ALL:16,V4MAPPED:8,lookup(e,t,r){tC(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:FUe,lookup(e,t){return tC(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:kUe,getServers(){return[]},lookupService(){throw NB("dns.lookupService")},reverse(){throw NB("dns.reverse")},setServers(){throw NB("dns.setServers")}};ot("_http2Module",aM);function eN(e){return{__secureExecTlsContext:md(e),context:{}}}function UUe(e,t){if(!(e instanceof hs))throw new TypeError("tls.TLSSocket requires a net.Socket instance");let r=t&&typeof t=="object"?{...t}:{};Object.setPrototypeOf(e,uM.prototype);let n=md(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 uM=class extends hs{constructor(e,t){if(e instanceof hs){super({allowHalfOpen:e.allowHalfOpen===!0});let r=UUe(e,t);return r._handle??(r._handle={_parentWrap:{constructor:hs}}),r}super(e&&typeof e=="object"?e:t),this._handle??(this._handle={_parentWrap:{constructor:hs}})}};function CZ(...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 hs,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 hs,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=md(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 tN(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 _Z=class{constructor(e,t){m(this,"_listeners",{});m(this,"_onceListeners",{});m(this,"_server");m(this,"_tlsOptions");m(this,"_sniCallback");m(this,"_alpnCallback");m(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=md(r,{isServer:!0}),this._sniCallback=r?.SNICallback,this._alpnCallback=r?.ALPNCallback,this._server=new F0(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=VT(t)?t:eN(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:VFe(_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,f)=>{if(a){o(a);return}if(f==null){s(null);return}if(VT(f)){s(f);return}if(f&&typeof f=="object"&&Object.keys(f).length>0){s(eN(f));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(tN(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 LUe(e,t){return new _Z(e,t)}function PUe(e,t){let r=String(e),n=String(t?.subjectaltname??"").split(",").map(a=>a.trim()).filter(Boolean),i=n.some(a=>{let f=a.indexOf(":");if(f<0)return!1;let u=a.slice(0,f).trim().toUpperCase(),c=a.slice(f+1).trim();return u==="DNS"?tN(c,r):u==="IP ADDRESS"&&c===r}),s=t?.subject?.CN;if(i||n.length===0&&typeof s=="string"&&tN(s,r))return;let o=new Error(`Hostname/IP does not match certificate's altnames: Host: ${r}`);return o.code="ERR_TLS_CERT_ALTNAME_INVALID",o.reason="Host does not match certificate subject or alternative names",o.host=r,o.cert=t,o}var wZ={connect:CZ,TLSSocket:uM,Server:LUe,createServer(e,t){return new _Z(e,t)},createSecureContext(e){return eN(e)},checkServerIdentity:PUe,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",rootCertificates:Object.freeze([])};ot("_netModule",uZ);function Ef(e="socket hang up"){let t=new Error(e);return t.code="ECONNRESET",t}function rX(){let e=new Error("The operation was aborted");return e.name="AbortError",e.code="ABORT_ERR",e}var mA=class{constructor(e){m(this,"headers");m(this,"rawHeaders");m(this,"trailers");m(this,"rawTrailers");m(this,"httpVersion");m(this,"httpVersionMajor");m(this,"httpVersionMinor");m(this,"method");m(this,"url");m(this,"statusCode");m(this,"statusMessage");m(this,"_body");m(this,"_isBinary");m(this,"_listeners");m(this,"complete");m(this,"aborted");m(this,"socket");m(this,"_bodyConsumed");m(this,"_ended");m(this,"_flowing");m(this,"readable");m(this,"readableEnded");m(this,"readableFlowing");m(this,"destroyed");m(this,"_encoding");m(this,"_closeEmitted");m(this,"_readableScheduled");let t={};if(Array.isArray(e?.headers)?e.headers.forEach(([i,s])=>{sa(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&&sa(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,this._readableScheduled=!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&&this._flowing){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())}),e==="readable"&&!this._bodyConsumed&&!this._readableScheduled&&(this._flowing=!1,this.readableFlowing=!1,this._readableScheduled=!0,queueMicrotask(()=>{this._readableScheduled=!1,!this._bodyConsumed&&!this.destroyed&&this.emit("readable")})),this}addListener(e,t){return this.on(e,t)}prependListener(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].unshift(t),this}once(e,t){let r=(...n)=>{this.off(e,r),t(...n)};return r._originalListener=t,r.listener=t,this.on(e,r)}prependOnceListener(e,t){let r=(...n)=>{this.off(e,r),t(...n)};return r._originalListener=t,r.listener=t,this.prependListener(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}listeners(e){return(this._listeners[e]||[]).map(t=>t.listener||t)}listenerCount(e){return this._listeners[e]?.length||0}emit(e,...t){return Cd(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,this.listenerCount("data")>0&&this.emit("data",t),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=Ef("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})}}}},B0=class{constructor(e,t){m(this,"_options");m(this,"_callback");m(this,"_listeners",{});m(this,"_headers",{});m(this,"_rawHeaderNames",new Map);m(this,"_body","");m(this,"_bodyBytes",0);m(this,"_ended",!1);m(this,"_agent");m(this,"_hostKey");m(this,"_socketEndListener",null);m(this,"_socketCloseListener",null);m(this,"_loopbackAbort");m(this,"_response",null);m(this,"_closeEmitted",!1);m(this,"_abortEmitted",!1);m(this,"_signalAbortHandler");m(this,"_skipExecute",!1);m(this,"_destroyError");m(this,"_errorEmitted",!1);m(this,"socket");m(this,"finished",!1);m(this,"writable",!0);m(this,"writableEnded",!1);m(this,"writableFinished",!1);m(this,"headersSent",!1);m(this,"aborted",!1);m(this,"destroyed",!1);m(this,"path");m(this,"method");m(this,"reusedSocket",!1);m(this,"timeoutCb");let r=VUe(e.method);this._options={...e,method:r,path:JUe(e.path)},this._callback=t,this._validateTimeoutOption(),this._setOutgoingHeaders(e.headers),this._headers.host||this._setHeaderValue("Host",jUe(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 rC?this._agent=n:this._options._agentOSDefaultAgent instanceof rC?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){this.headersSent=!0;try{let t=zUe(this._options.headers),r=String(this._options.method||"GET").toUpperCase();e instanceof hs||typeof e?._socketId=="string"&&e._socketId.length>0||typeof e?._socketId=="number"&&e._socketId>0||e?._loopbackServer||KUe(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 iX(e,this._options.protocol||"http:");let r=ZUe(e,this._options),n=this._body?Buffer.from(this._body):Buffer.alloc(0),i=sX(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((f,u)=>{try{$$.call(r,{path:this._options.path||"/",method:t,headers:e4e(i),body:n.length>0?n:null,signal:this._options.signal,responseHeaders:"raw"},(c,h)=>{if(c){u(c);return}f(h)})}catch(c){u(c)}}),o=await r4e(s?.body);await new Promise(f=>{queueMicrotask(f)}),this.finished=!0,this._clearTimeout();let a=new mA({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 iX(e,n);let i=this._body?Buffer.from(this._body):Buffer.alloc(0),s=sX(this._headers,this._rawHeaderNames);i.length>0&&!r["content-length"]&&!r["transfer-encoding"]&&s.push(["Content-Length",String(i.length)]);let o=t4e(t,this._options.path||"/",s,i),a=typeof this._options.timeout=="number"&&this._options.timeout>0?this._options.timeout:3e4,f=i4e(e,t,a);e.write(o);let u=await f;if(this.finished=!0,this._clearTimeout(),u.status===101){let h=new mA({status:u.status,statusText:u.statusText,headers:u.headers,rawHeaders:u.rawHeaders,body:"",bodyEncoding:"base64",url:this._buildUrl()});this._response=h,h.socket=e;let y=u.head??Buffer.alloc(0);if(this._listenerCount("upgrade")===0){e.destroy();return}this._emit("upgrade",h,e,y);return}if(t==="CONNECT"){let h=new mA({status:u.status,statusText:u.statusText,headers:u.headers,rawHeaders:u.rawHeaders,body:"",bodyEncoding:"base64",url:this._buildUrl()});this._response=h,h.socket=e;let y=u.head??Buffer.alloc(0);this._emit("connect",h,e,y);return}let c=new mA({status:u.status,statusText:u.statusText,headers:u.headers,rawHeaders:u.rawHeaders,body:u.body&&u.body.length>0?u.body.toString("base64"):"",bodyEncoding:"base64",url:this._buildUrl()});this._response=c,c.socket=e,c.once("end",()=>{process.nextTick(()=>{this._finalizeSocket(e,this._agent?.keepAlive===!0&&!this.aborted)})}),this._callback&&this._callback(c),this._emit("response",c),!this._callback&&this._listenerCount("response")===0&&queueMicrotask(()=>{c.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(vC(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)}prependListener(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].unshift(t),this}once(e,t){let r=(...n)=>{this.off(e,r),t(...n)};return r.listener=t,this.on(e,r)}prependOnceListener(e,t){let r=(...n)=>{this.off(e,r),t(...n)};return r.listener=t,this.prependListener(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)}listeners(e){return(this._listeners[e]||[]).map(t=>t.listener||t)}listenerCount(e){return this._listenerCount(e)}emit(e,...t){let r=this._listenerCount(e)>0;return this._emit(e,...t),r}getHeader(e){if(typeof e!="string")throw Er(`The "name" argument must be of type string. Received ${oi(e)}`,"ERR_INVALID_ARG_TYPE");return this._headers[e.toLowerCase()]}setHeader(e,t){if(this.headersSent)throw TA("Cannot set headers after they are sent to the client","ERR_HTTP_HEADERS_SENT");return this._setHeaderValue(e,t),this}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 Er(`The "name" argument must be of type string. Received ${oi(e)}`,"ERR_INVALID_ARG_TYPE");return Object.prototype.hasOwnProperty.call(this._headers,e.toLowerCase())}removeHeader(e){if(typeof e!="string")throw Er(`The "name" argument must be of type string. Received ${oi(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){Cd(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=cs(e).toLowerCase();As(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,t,r){typeof t=="function"&&(r=t);let n=typeof Buffer<"u"?Buffer.byteLength(e):e.length;if(this._bodyBytes+n>vu)throw new Error("ERR_HTTP_BODY_TOO_LARGE: request body exceeds "+vu+" byte limit");return this._body+=e,this._bodyBytes+=n,typeof r=="function"&&queueMicrotask(r),!0}end(e,t,r){return typeof e=="function"?(r=e,e=void 0):typeof t=="function"&&(r=t,t=void 0),e!=null&&this.write(e,t),typeof r=="function"&&this.once("finish",r),this._ended=!0,this.writable=!1,this.writableEnded=!0,this.writableFinished=!0,queueMicrotask(()=>this._emit("finish")),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?Ef():void 0);return this._destroyError=r,this._response&&!this._response.complete&&!this._response.aborted&&this._response._abort(r??Ef("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(rX())},e.aborted){this.destroyed=!0,this._skipExecute=!0,queueMicrotask(()=>{this._emit("error",rX()),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?.()})}_unbindAbortSignal(){let e=this._options.signal;if(!e||!this._signalAbortHandler)return;if(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}_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 OUe=class{constructor(e){m(this,"remoteAddress");m(this,"remotePort");m(this,"localAddress","127.0.0.1");m(this,"localPort",0);m(this,"connecting",!1);m(this,"destroyed",!1);m(this,"writable",!0);m(this,"readable",!0);m(this,"readyState","open");m(this,"bytesWritten",0);m(this,"_listeners",{});m(this,"_encoding");m(this,"_peer",null);m(this,"_readableState",{endEmitted:!1,ended:!1});m(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 Cd(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=HUe(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 HUe(e){return typeof Buffer<"u"&&Buffer.isBuffer(e)?e:e instanceof Uint8Array?Buffer.from(e):Buffer.from(String(e))}var BA,rC=(BA=class{constructor(t){m(this,"options");m(this,"maxSockets");m(this,"maxTotalSockets");m(this,"maxFreeSockets");m(this,"keepAlive");m(this,"keepAliveMsecs");m(this,"timeout");m(this,"requests");m(this,"sockets");m(this,"freeSockets");m(this,"totalSocketCount");m(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??BA.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 Cd(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??(()=>{})):vC(t,r)}createSocket(t,r,n){let i=!1,s=(a,f)=>{i||(i=!0,n?.(a,f))},o=this.createConnection(r,s);return o&&s(null,o),o}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,f)=>{if(!i){if(i=!0,a||!f){r._handleSocketError(a??new Error("Failed to create socket")),this._processPendingRequests();return}if(r.destroyed){this.totalSocketCount+=1,this._activateSocket(t,f),f.once("close",()=>{this._removeSocketCompletely(t,f)}),r._assignSocket(f,!1);return}this.totalSocketCount+=1,this._activateSocket(t,f),f.once("close",()=>{this._removeSocketCompletely(t,f)}),r._assignSocket(f,!1)}},o={...n,keepAlive:this.keepAlive,keepAliveInitialDelay:this.keepAliveMsecs};try{let a=this.createSocket(r,o,(f,u)=>{s(f,u)});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}},m(BA,"defaultMaxSockets",1/0),BA);function sr(...e){process.env.AGENTOS_DEBUG_HTTP_BRIDGE==="1"&&console.error("[secure-exec bridge network]",...e)}var qUe=1,U0=new Map,GUe=["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"],YUe=/[^\u0021-\u00ff]/,WUe=new Set(["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"]);function Er(e,t){let r=new TypeError(e);return r.code=t,r}function TA(e,t){let r=new Error(e);return r.code=t,r}function oi(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 rN(e,t,r){return Er(`The "${e}" property must be of type ${t}. Received ${oi(r)}`,"ERR_INVALID_ARG_TYPE")}function SZ(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)&&!WUe.has(r))return!1}return!0}function QZ(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 cs(e,t="Header name"){let r=String(e);if(!SZ(r))throw Er(`${t} must be a valid HTTP token [${JSON.stringify(r)}]`,"ERR_INVALID_HTTP_TOKEN");return r}function As(e,t){if(t===void 0)throw Er(`Invalid value "undefined" for header "${e}"`,"ERR_HTTP_INVALID_HEADER_VALUE");if(Array.isArray(t)){for(let r of t)As(e,r);return}if(QZ(String(t)))throw Er(`Invalid character in header content [${JSON.stringify(e)}]`,"ERR_INVALID_CHAR")}function aA(e){return Array.isArray(e)?e.map(t=>String(t)):String(e)}function NA(e){return Array.isArray(e)?e.join(", "):e}function nX(e){return Array.isArray(e)?[...e]:e}function sa(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:`${NA(n)}, ${r}`}function VUe(e){if(!(e==null||e==="")){if(typeof e!="string")throw rN("options.method","string",e);return cs(e,"Method")}}function JUe(e){let t=e==null||e===""?"/":String(e);if(YUe.test(t))throw Er("Request path contains unescaped characters","ERR_UNESCAPED_CHARACTERS");return t}function jUe(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 nN(e){return Array.isArray(e)&&(e.length===0||typeof e[0]=="string")}function zUe(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=cs(i).toLowerCase();As(o,s),sa(r,o,String(s))}}return r}let t={};return Object.entries(e).forEach(([r,n])=>{if(n===void 0)return;let i=cs(r).toLowerCase();if(As(i,n),Array.isArray(n)){n.forEach(s=>sa(t,i,String(s)));return}sa(t,i,String(n))}),t}function vZ(e){return NA(e.connection||"").toLowerCase().includes("upgrade")&&!!e.upgrade}function KUe(e,t){return String(e||"GET").toUpperCase()==="CONNECT"?!0:vZ(t)}function cM(e){return e==="https:"?"secureConnect":"connect"}function XUe(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 iX(e,t){return XUe(e,t)?Promise.resolve():new Promise((r,n)=>{let i=cM(t),s=()=>{f(),r()},o=u=>{f(),n(u instanceof Error?u:new Error(String(u)))},a=()=>{f(),n(Ef("socket closed before request was ready"))},f=()=>{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 $Ue(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 ZUe(e,t){if(typeof OK!="function"||typeof $$!="function")throw new Error("Undici request transport is not available");let r=$Ue(t);if(e._agentOSUndiciClient&&e._agentOSUndiciOrigin===r&&e._agentOSUndiciClient.destroyed!==!0)return e._agentOSUndiciClient;let n=new OK(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 vC(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:"?CZ({host:n,localAddress:e?.localAddress,localPort:e?.localPort,port:i,servername:e?.servername||n,rejectUnauthorized:e?.rejectUnauthorized,socket:e?.socket}):zT({host:n,localAddress:e?.localAddress,localPort:e?.localPort,port:i,path:e?.socketPath,keepAlive:e?.keepAlive,keepAliveInitialDelay:e?.keepAliveInitialDelay});if(t){let o=cM(r),a=()=>{u(),t(null,s)},f=c=>{u(),t(c instanceof Error?c:new Error(String(c)))},u=()=>{s.off?.(o,a),s.removeListener?.(o,a),s.off?.("error",f),s.removeListener?.("error",f)};s.once(o,a),s.once("error",f)}return s}function e4e(e){let t=[];for(let[r,n]of e)t.push(r,n);return t}function sX(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 t4e(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 r4e(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 n4e(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=[],f=null;for(let u of n){if(!u)continue;if((u.startsWith(" ")||u.startsWith(" "))&&a.length>=2&&f){let b=u.trim();a[a.length-1]+=` ${b}`,o[f]=NA(o[f])+` ${b}`;continue}let c=u.indexOf(":");if(c===-1)throw new Error(`Invalid HTTP response header line: ${u}`);let h=u.slice(0,c),y=u.slice(c+1).trim();f=h.toLowerCase(),a.push(h,y),sa(o,f,y)}return{status:Number(s[3]),statusText:s[4]||"",headers:o,rawHeaders:a,head:e.subarray(t+4)}}function i4e(e,t,r){return new Promise((n,i)=>{let s=null,o=Buffer.alloc(0),a=null,f=!1,u=!1,c=!1,h=(V,X)=>{if(!c){if(c=!0,y(),V){i(V);return}n(X)}},y=()=>{clearTimeout(Y),e.off?.("data",v),e.removeListener?.("data",v),e.off?.("error",L),e.removeListener?.("error",L),e.off?.("end",U),e.removeListener?.("end",U),e.off?.("close",P),e.removeListener?.("close",P)},b=()=>{if(!s)return!1;if(!iN(s.status,t))return h(null,{...s,body:Buffer.alloc(0)}),!0;if(f){let V=DZ(o);return V===null?(h(new Error("Invalid chunked HTTP response body")),!0):V.complete?(h(null,{...s,body:V.body}),!0):!1}return a!==null?o.length<a?!1:(h(null,{...s,body:o.subarray(0,a)}),!0):!1},S=()=>{if(!s||!iN(s.status,t))return;let V=s.headers["transfer-encoding"],X=s.headers["content-length"];if(V!==void 0){let j=AM(NA(V)),re=j.filter(O=>O==="chunked").length,ie=re>0,oe=ie&&j[j.length-1]==="chunked";if(!ie||re!==1||!oe||X!==void 0)throw new Error("Unsupported transfer-encoding in HTTP response");f=!0;return}if(X!==void 0){let j=RZ(X);if(j===null)throw new Error("Invalid content-length in HTTP response");a=j;return}u=!0},v=V=>{let X=Buffer.isBuffer(V)?V:Buffer.from(V);if(!s){o=Buffer.concat([o,X]);try{let j=n4e(o);if(!j)return;s=j,o=Buffer.from(j.head),S(),b()}catch(j){h(j instanceof Error?j:new Error(String(j)))}return}o=Buffer.concat([o,X]);try{b()}catch(j){h(j instanceof Error?j:new Error(String(j)))}},L=V=>{h(V instanceof Error?V:new Error(String(V)))},U=()=>{if(!s){h(Ef("socket ended before receiving HTTP response head"));return}if(u){h(null,{...s,body:o});return}b()||h(Ef("socket ended before receiving complete HTTP response body"))},P=()=>{if(!s){h(Ef("socket closed before receiving HTTP response head"));return}if(u){h(null,{...s,body:o});return}b()||h(Ef("socket closed before receiving complete HTTP response body"))},Y=setTimeout(()=>{h(new Error(`Timed out waiting for HTTP response after ${r}ms`))},r);e.on("data",v),e.once("error",L),e.once("end",U),e.once("close",P)})}function iN(e,t){return!(t==="HEAD"||e>=100&&e<200||e===204||e===304)}function AM(e){return e.split(",").map(t=>t.trim().toLowerCase()).filter(t=>t.length>0)}function RZ(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 DZ(e,t=vu){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,f]=o.split(";",2);if(!/^[0-9A-Fa-f]+$/.test(a)||f!==void 0&&/[\r\n]/.test(f))return null;let u=Number.parseInt(a,16);if(!Number.isSafeInteger(u)||u<0||n+u>t)return null;let c=s+2;if(u===0){let b=c;if(b===e.length)return{complete:!1};if(e[b]===13&&e[b+1]===10)return{complete:!0,bytesConsumed:b+2,body:i.length>0?Buffer.concat(i):Buffer.alloc(0)};let S=e.indexOf(`\r
\r
`,b);if(S===-1)return{complete:!1};let v=e.subarray(b,S).toString("latin1");if(v.length>0){for(let L of v.split(`\r
`))if(L.length!==0&&(L.startsWith(" ")||L.startsWith(" ")||L.indexOf(":")===-1))return null}return{complete:!0,bytesConsumed:S+4,body:i.length>0?Buffer.concat(i):Buffer.alloc(0)}}let h=c+u,y=h+2;if(y>e.length)return{complete:!1};if(e[h]!==13||e[h+1]!==10)return null;n+=u,i.push(e.subarray(c,h)),r=y}}function TZ(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>aX?{kind:"bad-request",closeConnection:!0}:{kind:"incomplete"};if(n-r>aX)return{kind:"bad-request",closeConnection:!0};let i=e.subarray(r,n).toString("latin1"),[s,...o]=i.split(`\r
`);if(o.length>g4e)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 f={},u=[],c=null;try{for(let V of o){if(V.length===0)continue;if(V.startsWith(" ")||V.startsWith(" "))return{kind:"bad-request",closeConnection:!0};let X=V.indexOf(":");if(X===-1)return{kind:"bad-request",closeConnection:!0};let j=V.slice(0,X).trim(),re=V.slice(X+1).trim(),ie=cs(j).toLowerCase();As(ie,re),sa(f,ie,re),u.push(j,re),c=ie}}catch{return{kind:"bad-request",closeConnection:!0}}let h=a[1],y=a[2],b=Number(a[4]),S=NA(f.connection||"").toLowerCase(),v=b===0?!S.includes("keep-alive"):S.includes("close");if(vZ(f)&&t.listenerCount("upgrade")>0)return{kind:"request",bytesConsumed:e.length,closeConnection:!1,request:{method:h,url:y,headers:f,rawHeaders:u,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 L=f["transfer-encoding"],U=f["content-length"],P=Buffer.alloc(0),Y=n+4;if(L!==void 0){let V=AM(NA(L)),X=V.filter(oe=>oe==="chunked").length,j=X>0,re=j&&V[V.length-1]==="chunked";if(!j||X!==1||!re||U!==void 0)return{kind:"bad-request",closeConnection:!0};let ie=DZ(e.subarray(n+4));if(ie===null)return{kind:"bad-request",closeConnection:!0};if(!ie.complete)return{kind:"incomplete"};P=ie.body,Y=n+4+ie.bytesConsumed}else if(U!==void 0){let V=RZ(U);if(V===null||V>vu)return{kind:"bad-request",closeConnection:!0};let X=n+4+V;if(X>e.length)return{kind:"incomplete"};P=e.subarray(n+4,X),Y=X}return{kind:"request",bytesConsumed:Y,closeConnection:v,request:{method:h,url:y,headers:f,rawHeaders:u,bodyBase64:P.length>0?P.toString("base64"):void 0}}}function c0(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 f=o.toLowerCase();sa(r,f,a),n.has(f)||(n.set(f,o),i.push(f))}return{headers:r,rawNameMap:n,order:i}}if(Array.isArray(t))for(let[s,o]of t){let a=s.toLowerCase();sa(r,a,o),n.has(a)||(n.set(a,s),i.push(a))}return{headers:r,rawNameMap:n,order:i}}function cT(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,f=Array.isArray(o)?s==="set-cookie"?o:[o.join(", ")]:[o];for(let u of f)n.push([a,u]);i.add(s)}for(let[s,o]of Object.entries(e)){if(i.has(s))continue;let a=t.get(s)||s,f=Array.isArray(o)?s==="set-cookie"?o:[o.join(", ")]:[o];for(let u of f)n.push([a,u])}return n}function sN(){return Buffer.from(`HTTP/1.1 400 Bad Request\r
Connection: close\r
\r
`,"latin1")}function nC(e,t,r){let n=e.status||200,i=L0[n]||"OK",{headers:s,rawNameMap:o,order:a}=c0(e.rawHeaders,e.headers),f=c0(e.rawTrailers,e.trailers),u=e.body==null?Buffer.alloc(0):e.bodyEncoding==="base64"?Buffer.from(e.body,"base64"):Buffer.from(e.body,"utf8"),c=iN(n,t.method),y=(s["transfer-encoding"]?AM(NA(s["transfer-encoding"])):[]).includes("chunked"),b=s["content-length"]!==void 0,S=r||e.connectionEnded===!0||e.connectionReset===!0;c?!y&&!b&&(e.streamed===!0?(s["transfer-encoding"]="chunked",o.set("transfer-encoding","Transfer-Encoding"),a.push("transfer-encoding"),y=!0):(s["content-length"]=String(u.length),o.set("content-length","Content-Length"),a.push("content-length"))):(y&&(S=!0),delete s["content-length"]),S?s.connection===void 0&&(s.connection="close",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 v=[];for(let P of e.informational??[]){let V=cT(c0(P.rawHeaders,P.headers).headers,c0(P.rawHeaders,P.headers).rawNameMap,c0(P.rawHeaders,P.headers).order).map(([X,j])=>`${X}: ${j}\r
`).join("");v.push(Buffer.from(`HTTP/1.1 ${P.status} ${P.statusText||L0[P.status]||""}\r
${V}\r
`,"latin1"))}let U=cT(s,o,a).map(([P,Y])=>`${P}: ${Y}\r
`).join("");if(v.push(Buffer.from(`HTTP/1.1 ${n} ${i}\r
${U}\r
`,"latin1")),c)if(y){if(u.length>0&&(v.push(Buffer.from(u.length.toString(16)+`\r
`,"latin1")),v.push(u),v.push(Buffer.from(`\r
`,"latin1"))),v.push(Buffer.from(`0\r
`,"latin1")),Object.keys(f.headers).length>0){let P=cT(f.headers,f.rawNameMap,f.order);for(let[Y,V]of P)v.push(Buffer.from(`${Y}: ${V}\r
`,"latin1"))}v.push(Buffer.from(`\r
`,"latin1"))}else u.length>0&&v.push(u);return{payload:v.length===1?v[0]:Buffer.concat(v),closeConnection:S}}var L0={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 PA=class{constructor(e){m(this,"headers");m(this,"rawHeaders");m(this,"method");m(this,"url");m(this,"socket");m(this,"connection");m(this,"rawBody");m(this,"destroyed",!1);m(this,"errored");m(this,"readable",!0);m(this,"httpVersion","1.1");m(this,"httpVersionMajor",1);m(this,"httpVersionMinor",1);m(this,"complete",!0);m(this,"aborted",!1);m(this,"_readableState",{flowing:null,length:0,ended:!1,objectMode:!1});m(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 Cd(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=Ef("aborted");this.emit("aborted"),this.emit("error",e),this.emit("close")}},oy=class{constructor(){m(this,"statusCode",200);m(this,"statusMessage","OK");m(this,"headersSent",!1);m(this,"writable",!0);m(this,"writableFinished",!1);m(this,"outputSize",0);m(this,"_headers",new Map);m(this,"_trailers",new Map);m(this,"_chunks",[]);m(this,"_chunksBytes",0);m(this,"_streamed",!1);m(this,"_listeners",{});m(this,"_closedPromise");m(this,"_resolveClosed",null);m(this,"_connectionEnded",!1);m(this,"_connectionReset",!1);m(this,"_rawHeaderNames",new Map);m(this,"_rawTrailerNames",new Map);m(this,"_informational",[]);m(this,"_pendingRawInfoBuffer","");m(this,"_streamSocket",null);m(this,"_streamRequest",null);m(this,"_streamedDirectly",!1);m(this,"_streamHeadSent",!1);m(this,"_streamUsesChunked",!1);m(this,"_streamCloseConnection",!1);m(this,"_writableState",{length:0,ended:!1,finished:!1,objectMode:!1,corked:0});m(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)});m(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(nN(t))for(let o=0;o<t.length;o+=2){let a=t[o],f=t[o+1];if(a===void 0||f===void 0)continue;let u=cs(a).toLowerCase();As(u,f),r.set(u,String(f)),n.has(u)||n.set(u,a)}else Array.isArray(t)?t.forEach(([o,a])=>{let f=cs(o).toLowerCase();As(f,a),r.set(f,String(a)),n.has(f)||n.set(f,o)}):Object.entries(t).forEach(([o,a])=>{let f=cs(o).toLowerCase();As(f,a),r.set(f,String(a)),n.has(f)||n.set(f,o)});let i=Array.from(r.entries()).flatMap(([o,a])=>{let f=aA(a);return Array.isArray(f)?f.map(u=>[o,u]):[[o,f]]}),s=Array.from(r.entries()).flatMap(([o,a])=>{let f=n.get(o)||o,u=aA(a);return Array.isArray(u)?u.flatMap(c=>[f,c]):[f,u]});return this._informational.push({status:e,statusText:L0[e],headers:i,rawHeaders:s}),this}if(this.statusCode=e,t)if(nN(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 TA("Cannot set headers after they are sent to the client","ERR_HTTP_HEADERS_SENT");let r=cs(e).toLowerCase();As(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 TA("Cannot set headers after they are sent to the client","ERR_HTTP_HEADERS_SENT");if(!(e instanceof Mu)&&!(e instanceof Map))throw Er(`The "headers" argument must be an instance of Headers or Map. Received ${oi(e)}`,"ERR_INVALID_ARG_TYPE");if(e instanceof Mu){let t=Object.create(null);return e.forEach((r,n)=>{sa(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 Er(`The "name" argument must be of type string. Received ${oi(e)}`,"ERR_INVALID_ARG_TYPE");let t=this._headers.get(e.toLowerCase());return t===void 0?void 0:nX(t)}hasHeader(e){if(typeof e!="string")throw Er(`The "name" argument must be of type string. Received ${oi(e)}`,"ERR_INVALID_ARG_TYPE");return this._headers.has(e.toLowerCase())}removeHeader(e){if(typeof e!="string")throw Er(`The "name" argument must be of type string. Received ${oi(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>vu)throw new Error("ERR_HTTP_BODY_TOO_LARGE: response body exceeds "+vu+" 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){if(this._streamSocket&&!this.writableFinished){let i=typeof e=="string"?Buffer.from(e,typeof t=="string"?t:void 0):Buffer.from(e);if(this._chunksBytes+i.byteLength>vu)throw new Error("ERR_HTTP_BODY_TOO_LARGE: response body exceeds "+vu+" byte limit");this._chunksBytes+=i.byteLength,this._streamed=!0,this.headersSent=!0,this.outputSize+=i.byteLength,this._streamWriteHead(),!this._streamSocket.destroyed&&i.length>0&&(this._streamUsesChunked?(this._streamSocket.write(Buffer.from(i.length.toString(16)+`\r
`,"latin1")),this._streamSocket.write(i),this._streamSocket.write(Buffer.from(`\r
`,"latin1"))):this._streamSocket.write(i));let s=typeof t=="function"?t:r;return typeof s=="function"&&queueMicrotask(s),!0}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&&!this._streamHeadSent){let s=typeof t=="string"?t:void 0;return this._streamEndBody(n,s),typeof i=="function"&&queueMicrotask(i),this}if(this._streamSocket&&this._streamHeadSent&&!this.writableFinished){if(n!=null&&this.write(n,typeof t=="string"?t:void 0),this._streamUsesChunked&&!this._streamSocket.destroyed){let s=[];for(let[o,a]of this._trailers){let f=this._rawTrailerNames.get(o)||o,u=aA(a);for(let c of Array.isArray(u)?u:[u])s.push(`${f}: ${c}\r
`)}this._streamSocket.write(Buffer.from(`0\r
${s.join("")}\r
`,"latin1"))}return this._streamedDirectly=!0,this._finalize(),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=nC(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()}_streamWriteHead(){if(this._streamHeadSent||!this._streamSocket||this._streamSocket.destroyed)return;let e=this._headers.has("content-length"),t=this._headers.get("transfer-encoding");this._streamUsesChunked=!e&&(t==null||String(t).toLowerCase().includes("chunked")),this._streamUsesChunked&&t==null&&(this._headers.set("transfer-encoding","chunked"),this._rawHeaderNames.set("transfer-encoding","Transfer-Encoding")),this._streamHeadSent=!0;let r=nC(this.serialize(),this._streamRequest,!0);this._streamCloseConnection=r.closeConnection;let n=r.payload;this._streamUsesChunked&&n.length>=5&&n.subarray(n.length-5).toString("latin1")===`0\r
\r
`&&(n=n.subarray(0,n.length-5)),n.length>0&&this._streamSocket.write(n)}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]=nX(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=cs(r).toLowerCase();As(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=cs(t).toLowerCase();As(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,this._streamWriteHead()}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=aA(o);return Array.isArray(a)?s==="set-cookie"?a.map(f=>[s,f]):[[s,a.join(", ")]]:[[s,a]]}),r=Array.from(this._headers.entries()).flatMap(([s,o])=>{let a=this._rawHeaderNames.get(s)||s,f=aA(o);return Array.isArray(f)?s==="set-cookie"?f.flatMap(u=>[a,u]):[a,f.join(", ")]:[a,f]}),n=Array.from(this._trailers.entries()).flatMap(([s,o])=>{let a=aA(o);return Array.isArray(a)?a.map(f=>[s,f]):[[s,a]]}),i=Array.from(this._trailers.entries()).flatMap(([s,o])=>{let a=this._rawTrailerNames.get(s)||s,f=aA(o);return Array.isArray(f)?f.flatMap(u=>[a,u]):[a,f]});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 f of n){let u=f.indexOf(":");if(u===-1)continue;let c=f.slice(0,u).trim(),h=f.slice(u+1).trim();o.push([c.toLowerCase(),h]),a.push(c,h)}this._informational.push({status:s,statusText:i[2]||L0[s]||void 0,headers:o,rawHeaders:a})}e=this._pendingRawInfoBuffer.indexOf(`\r
\r
`)}}},lM=class{constructor(e,t=null){m(this,"listening",!1);m(this,"_listeners",{});m(this,"_serverId");m(this,"_netServer",null);m(this,"_listenPromise",null);m(this,"_address",null);m(this,"_handleId",null);m(this,"_hostCloseWaitStarted",!1);m(this,"_activeRequestDispatches",0);m(this,"_closePending",!1);m(this,"_closeRunning",!1);m(this,"_closeCallbacks",[]);m(this,"_tlsOptions",null);m(this,"_requestListener");m(this,"keepAliveTimeout",5e3);m(this,"requestTimeout",3e5);m(this,"headersTimeout",6e4);m(this,"timeout",0);m(this,"maxRequestsPerSocket",0);this._serverId=qUe++,this._requestListener=(...r)=>{let n=this._listeners.request;if(!n||n.length===0)return;let i=n.slice().map(s=>s.call(this,...r));return i.length===1?i[0]:Promise.all(i)},e&&this.on("request",e),this._tlsOptions=t,U0.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}`,sr("server listening",this._serverId,this._address),typeof _registerHandle=="function"&&_registerHandle(this._handleId,"http server"),this._startHostCloseWait()}_completeClose(){this.listening=!1,this._address=null,U0.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 F0>"u")throw new Error("http.createServer requires kernel-backed network bridge support");sr("server listen start",this._serverId,e,t);let r=new F0({allowHalfOpen:!0});this._netServer=r,r.on("connection",n=>{if(this._tlsOptions){let i=new uM(n,{...this._tlsOptions,isServer:!0});i.server=this,i.once("secure",()=>{this._emit("secureConnection",i),this._emit("connection",i),oX(this,i)}),i.on("error",s=>{this._emit("tlsClientError",s,i)});return}this._emit("connection",n),oX(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",f)},a=()=>{s||(s=!0,o(),n())},f=u=>{s||(s=!0,o(),i(u instanceof Error?u:new Error(String(u))))};r.once("listening",a),r.once("error",f),r.listen(e??0,t)}),this._address=r.address(),this.listening=!0,this._startHostCloseWait(),sr("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 sr("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&&(sr("server close net server",this._serverId),await new Promise((n,i)=>{t.close(s=>{s?i(s):n()})})),this._netServer=null,this._completeClose(),sr("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));sr("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}listeners(e){return[...this._listeners[e]||[]]}emit(e,...t){return this._emit(e,...t),this.listenerCount(e)>0}setTimeout(e,t){return typeof e=="number"&&(this.timeout=e),this}ref(){return this}unref(){return this}};function NZ(e){return new lM(e)}NZ.prototype=lM.prototype;async function s4e(e,t){let r=U0.get(e);if(!r)throw new Error(`Unknown HTTP server: ${e}`);let n=r._requestListener;r._beginRequestDispatch();let i=JSON.parse(t),s=new PA(i),o=new oy;s.socket=o.socket,s.connection=o.socket;let a=[],f=[],u=new Map,c=0,h=0;try{try{let y=globalThis.setImmediate,b=globalThis.setTimeout,S=globalThis.clearTimeout;typeof y=="function"&&(globalThis.setImmediate=((v,...L)=>{let U=new Promise(P=>{queueMicrotask(()=>{try{v(...L)}finally{P()}})});return a.push(U),0})),typeof b=="function"&&(globalThis.setTimeout=((v,L,...U)=>{if(typeof v!="function")return b(v,L,...U);let P=typeof L=="number"&&Number.isFinite(L)?Math.max(0,L):0;if(P>1e3)return b(v,P,...U);let Y,V=new Promise(j=>{Y=j}),X;return X=b(()=>{u.delete(X);try{v(...U)}finally{Y()}},P),u.set(X,Y),f.push(V),X})),typeof S=="function"&&(globalThis.clearTimeout=(v=>{if(v!=null){let L=u.get(v);L&&(u.delete(v),L())}return S(v)}));try{let v=n(s,o);for(s.rawBody&&s.rawBody.length>0&&s.emit("data",s.rawBody),s.emit("end"),await Promise.resolve(v);c<f.length||h<a.length;){let L=[...f.slice(c),...a.slice(h)];c=f.length,h=a.length,await Promise.allSettled(L)}}finally{typeof y=="function"&&(globalThis.setImmediate=y),typeof b=="function"&&(globalThis.setTimeout=b),typeof S=="function"&&(globalThis.clearTimeout=S)}}catch(y){o.statusCode=500;try{o.end(y instanceof Error?`Error: ${y.message}`:"Error")}catch{o.writableFinished||o.end()}}return o.writableFinished||o.end(),await o.waitForClose(),await Promise.allSettled([...f,...a]),JSON.stringify(o.serialize())}finally{r._endRequestDispatch()}}async function o4e(e,t){let r=XT.get(t);if(!r||r.serverId!==e||typeof _networkHttp2ServerRespondRaw>"u")return;XT.delete(t);let n=Xo.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 PA(i),o=new oy;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 f=a instanceof Error?a.message:String(a);_networkHttp2ServerRespondRaw.applySync(void 0,[e,t,JSON.stringify({status:500,headers:[["content-type","text/plain"]],body:`Error: ${f}`,bodyEncoding:"utf8"})])}}async function a4e(e,t){let r=typeof e=="number"?U0.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 PA(n),s=new oy;i.socket=s.socket,i.connection=s.socket;let o=[],a=[],f=new Map,u=0,c=0;r._beginRequestDispatch();try{try{let y=globalThis.setImmediate,b=globalThis.setTimeout,S=globalThis.clearTimeout;typeof y=="function"&&(globalThis.setImmediate=((v,...L)=>{let U=new Promise(P=>{queueMicrotask(()=>{try{v(...L)}finally{P()}})});return o.push(U),0})),typeof b=="function"&&(globalThis.setTimeout=((v,L,...U)=>{if(typeof v!="function")return b(v,L,...U);let P=typeof L=="number"&&Number.isFinite(L)?Math.max(0,L):0;if(P>1e3)return b(v,P,...U);let Y,V=new Promise(j=>{Y=j}),X;return X=b(()=>{f.delete(X);try{v(...U)}finally{Y()}},P),f.set(X,Y),a.push(V),X})),typeof S=="function"&&(globalThis.clearTimeout=(v=>{if(v!=null){let L=f.get(v);L&&(f.delete(v),L())}return S(v)}));try{let v=r._requestListener(i,s);for(i.rawBody&&i.rawBody.length>0&&i.emit("data",i.rawBody),i.emit("end"),await Promise.resolve(v);u<a.length||c<o.length;){let L=[...a.slice(u),...o.slice(c)];u=a.length,c=o.length,await Promise.allSettled(L)}}finally{typeof y=="function"&&(globalThis.setImmediate=y),typeof b=="function"&&(globalThis.setTimeout=b),typeof S=="function"&&(globalThis.clearTimeout=S)}}catch(y){s.statusCode=500;try{s.end(y instanceof Error?`Error: ${y.message}`:"Error")}catch{s.writableFinished||s.end()}}s.writableFinished||s.end(),await s.waitForClose(),await Promise.allSettled([...a,...o]);let h=!1;return{responseJson:JSON.stringify(s.serialize()),abortRequest:()=>{h||(h=!0,i._abort())}}}finally{r._endRequestDispatch()}}async function f4e(e,t,r){let n=typeof t=="string"?JSON.parse(t):t,i=new PA(n),s=new oy;i.socket=s.socket,i.connection=s.socket,r&&(s._streamSocket=r,s._streamRequest=n),e._beginRequestDispatch();try{try{let f=e._requestListener(i,s);i.rawBody&&i.rawBody.length>0&&i.emit("data",i.rawBody),i.emit("end"),await Promise.resolve(f)}catch(f){s.statusCode=500;try{s.end(f instanceof Error?`Error: ${f.message}`:"Error")}catch{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 oX(e,t){let r=Buffer.alloc(0),n=!1,i=!1,s=!1,o=!1,a=()=>{o||(o=!0,t.off?.("data",c),t.removeListener?.("data",c),t.off?.("end",h),t.removeListener?.("end",h),t.off?.("close",y),t.removeListener?.("close",y),t.off?.("error",b),t.removeListener?.("error",b))},f=()=>{if(n){i=!0;return}n=!0,S().finally(()=>{n=!1,i&&!o?(i=!1,f()):i=!1})},u=()=>{a(),!t.destroyed&&!t._writableEnded&&t.end()},c=v=>{let L=Buffer.isBuffer(v)?v:Buffer.from(v);r=r.length===0?L:Buffer.concat([r,L]),f()},h=()=>{if(s=!0,r.length===0){a();return}f()},y=()=>{a()},b=()=>{a()};async function S(){let v=!1;for(;!o&&!t.destroyed;){let L=TZ(r,e);if(L.kind==="incomplete"){s&&r.length>0&&(t.write(sN()),u());return}if(L.kind==="bad-request"){t.write(sN()),u(),r=Buffer.alloc(0);return}if(r=r.subarray(L.bytesConsumed),L.upgradeHead){a();let Y=new PA(L.request);Y.socket=t,Y.connection=t;try{e._emit("upgrade",Y,t,L.upgradeHead)}catch(V){queueMicrotask(()=>{throw V})}return}let U=await f4e(e,L.request,t);if(o||t.destroyed)return;let P;if(U.streamedDirectly)P=U.closeConnection;else{let Y=JSON.parse(U.responseJson),V=nC(Y,L.request,!0);!v&&V.payload.length>0&&t.write(V.payload),P=V.closeConnection}if(P&&(v=!0,r.length===0)){u();return}}}t.on("data",c),t.once("end",h),t.once("close",y),t.once("error",b)}function MZ(e,t,r,n,i){let s=U0.get(t);if(!s)throw new Error(`Unknown HTTP server for ${e}: ${t}`);let o=JSON.parse(r),a=new PA(o),f=typeof Buffer<"u"?Buffer.from(n,"base64"):new Uint8Array(0),u=a.headers.host,c=new u4e(i,{host:(Array.isArray(u)?u[0]:u)?.split(":")[0]||"127.0.0.1"});P0.set(i,c),s._emit(e,a,c,f)}var P0=new Map,u4e=class{constructor(e,t){m(this,"remoteAddress");m(this,"remotePort");m(this,"localAddress","127.0.0.1");m(this,"localPort",0);m(this,"connecting",!1);m(this,"destroyed",!1);m(this,"writable",!0);m(this,"readable",!0);m(this,"readyState","open");m(this,"bytesWritten",0);m(this,"_listeners",{});m(this,"_socketId");m(this,"_readableState",{endEmitted:!1,ended:!1});m(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 Cd(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]),P0.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),P0.delete(this._socketId)}};function c4e(e,t,r,n){MZ("upgrade",e,t,r,n)}function A4e(e,t,r,n){MZ("connect",e,t,r,n)}function l4e(e,t){let r=P0.get(e);if(r){let n=typeof Buffer<"u"?Buffer.from(t,"base64"):new Uint8Array(0);r._pushData(n)}}function h4e(e){let t=P0.get(e);t&&t._pushEnd()}function oN(){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}oN.prototype=Object.create(oy.prototype,{constructor:{value:oN,writable:!0,configurable:!0}});function xZ(e){let t=e==="https"?"https:":"http:",r=new rC({keepAlive:!1,createConnection(s,o){return vC({...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 f,u=typeof o=="function"?o:a;if(typeof s=="string"){let c=new URL(s);f={protocol:c.protocol,hostname:c.hostname,port:c.port,path:c.pathname+c.search,...typeof o=="object"&&o?o:{}}}else s instanceof URL?f={protocol:s.protocol,hostname:s.hostname,port:s.port,path:s.pathname+s.search,...typeof o=="object"&&o?o:{}}:f={...s,...typeof o=="object"&&o?o:{}};return new B0(i(n(f)),u)},get(s,o,a){let f,u=typeof o=="function"?o:a;if(typeof s=="string"){let h=new URL(s);f={protocol:h.protocol,hostname:h.hostname,port:h.port,path:h.pathname+h.search,method:"GET",...typeof o=="object"&&o?o:{}}}else s instanceof URL?f={protocol:s.protocol,hostname:s.hostname,port:s.port,path:s.pathname+s.search,method:"GET",...typeof o=="object"&&o?o:{}}:f={...s,...typeof o=="object"&&o?o:{},method:"GET"};let c=new B0(i(n(f)),u);return c.end(),c},createServer(s,o){let a=typeof s=="function"?s:o,f=typeof s=="function"?null:s;return new lM(a,e==="https"?f:null)},Agent:rC,globalAgent:r,Server:NZ,ServerResponse:oN,IncomingMessage:mA,ClientRequest:B0,validateHeaderName:cs,validateHeaderValue:As,_checkIsHttpToken:SZ,_checkInvalidHeaderChar:QZ,maxHeaderSize:65535,METHODS:[...GUe],STATUS_CODES:L0}}var hM=xZ("http");ot("_httpModule",hM);ot("_dnsModule",fM);function d4e(e,t){if(sr("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"){sr("http stream missing respond bridge");return}s4e(t.serverId,t.request).then(r=>{sr("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);sr("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"})])})}}ot("_httpServerDispatch",d4e);ot("_httpServerUpgradeDispatch",c4e);ot("_httpServerConnectDispatch",A4e);ot("_http2Dispatch",DUe);ot("_upgradeSocketData",l4e);var dM=xZ("https");ot("_httpsModule",dM);var vu=50*1024*1024,aX=64*1024,g4e=2e3,p4e=0,aN=CA.default?.Headers??CA.default?.default??CA.default,fN=_A.default?.Request??_A.default?.default??_A.default,y4e=wA.default?.Response??wA.default?.default??wA.default;function RC(e){if(!e)return{};if(e instanceof Mu||typeof aN=="function"&&e instanceof aN)return Object.fromEntries(e.entries());if(nN(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 Mu(e).entries())}function E4e(e){return new Mu(RC(e))}function m4e(e={}){let t={...e};return Object.prototype.hasOwnProperty.call(t,"agent")&&delete t.agent,Object.prototype.hasOwnProperty.call(t,"headers")&&(t.headers=RC(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 b4e(e){let t=RC(e?.headers);return Object.keys(t).some(n=>n.toLowerCase()==="accept-encoding")||(t["accept-encoding"]="gzip, deflate"),{...e||{},headers:t}}async function DC(e,t={}){if(typeof HK!="function")throw new Error("fetch requires undici to be configured");let r=e,n=t;(e instanceof gM||typeof fN=="function"&&e instanceof fN)&&(r=e.url,n={method:e.method,headers:RC(e.headers),body:e.body,...t}),n=m4e(n),n=b4e(n);let i=typeof r=="string"?r:r?.url?String(r.url):String(r),s=typeof _registerHandle=="function"?`fetch:${++p4e}`:null;s&&_registerHandle?.(s,`fetch ${i}`);let o=n.dispatcher==null&&typeof GT=="function"?GT():null;try{return await HK(r,o?{...n,dispatcher:o}:n)}finally{s&&_unregisterHandle?.(s)}}var Mu=class kZ{constructor(t){m(this,"_headers",{});t&&t!==null&&(t instanceof kZ?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))}},gM=class FZ{constructor(t,r={}){m(this,"url");m(this,"method");m(this,"headers");m(this,"body");m(this,"mode");m(this,"credentials");m(this,"cache");m(this,"redirect");m(this,"referrer");m(this,"integrity");this.url=typeof t=="string"?t:t.url,this.method=r.method||(typeof t!="string"?t.method:void 0)||"GET",this.headers=E4e(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 FZ(this.url,this)}},UZ=class MB{constructor(t,r={}){m(this,"_body");m(this,"status");m(this,"statusText");m(this,"headers");m(this,"ok");m(this,"type");m(this,"url");m(this,"redirected");this._body=t||null,this.status=r.status||200,this.statusText=r.statusText||"OK",this.headers=new Mu(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 MB(this._body,{status:this.status,statusText:this.statusText})}static error(){return new MB(null,{status:0,statusText:""})}static redirect(t,r=302){return new MB(null,{status:r,headers:{Location:t}})}};ot("_upgradeSocketEnd",h4e);FA("fetch",DC);FA("Headers",aN);FA("Request",fN);FA("Response",y4e);var dd=globalThis.Blob;typeof dd>"u"&&(dd=class{});FA("Blob",dd);var uN=globalThis.File;typeof uN>"u"&&(uN=class extends dd{constructor(r=[],n="",i={}){super(r,i);m(this,"name");m(this,"lastModified");m(this,"webkitRelativePath");this.name=String(n),this.lastModified=typeof i.lastModified=="number"?i.lastModified:Date.now(),this.webkitRelativePath=""}});FA("File",uN);var cN=globalThis.FormData;typeof cN>"u"&&(cN=class{constructor(){m(this,"_entries",[])}append(t,r){this._entries.push([t,r])}get(t){let r=this._entries.find(([n])=>n===t);return r?r[1]:null}getAll(t){return this._entries.filter(([r])=>r===t).map(([,r])=>r)}has(t){return this._entries.some(([r])=>r===t)}delete(t){this._entries=this._entries.filter(([r])=>r!==t)}entries(){return this._entries[Symbol.iterator]()}[Symbol.iterator](){return this.entries()}});FA("FormData",cN);var I4e="dgram-socket:",O0=new Map,iC=new Map;function fX(e){e?._socketId&&iC.set(e._socketId,e);let t=e?._localPort;if(typeof t!="number")return;let r=O0.get(t);r||(r=new Set,O0.set(t,r)),r.add(e),X0(e,()=>pM(e))}function B4e(e){$0(e),e?._socketId&&iC.get(e._socketId)===e&&iC.delete(e._socketId);let t=e?._localPort;if(typeof t!="number")return;let r=O0.get(t);r&&(r.delete(e),r.size===0&&O0.delete(t))}function C4e(e){return e==="127.0.0.1"||e==="::1"||e==="localhost"}function pM(e){if(Z("dgramWakeAttempts"),!e||e._closed||!e._bound){Z("dgramWakeInvalidTargets");return}if(e._receiveLoopRunning){Z("dgramWakeAlreadyRunning"),e._pendingReceiveWake=!0;return}if(e._pendingReceiveWake){Z("dgramWakeAlreadyPending");return}e._pendingReceiveWake=!0,Z("dgramEventWakeups"),queueMicrotask(()=>{!e._closed&&e._bound&&e._pendingReceiveWake&&!e._receiveLoopRunning&&(e._pendingReceiveWake=!1,e._pumpMessages())})}function LZ(){return Er("Bad socket type specified. Valid types are: udp4, udp6","ERR_SOCKET_BAD_TYPE")}function _4e(){let e=new Error("Socket is already bound");return e.code="ERR_SOCKET_ALREADY_BOUND",e}function uX(){return new Error("getsockname EBADF")}function Fn(e,t,r){return Er(`The "${e}" argument must be of type ${t}. Received ${oi(r)}`,"ERR_INVALID_ARG_TYPE")}function cX(e){return Er(`The "${e}" argument must be specified`,"ERR_MISSING_ARGS")}function fA(){return TA("Not running","ERR_SOCKET_DGRAM_NOT_RUNNING")}function PZ(){return TA("Already connected","ERR_SOCKET_DGRAM_IS_CONNECTED")}function AT(){return TA("Not connected","ERR_SOCKET_DGRAM_NOT_CONNECTED")}function w4e(e){switch(e){case"EBADF":return-9;case"EINVAL":return-22;case"EADDRNOTAVAIL":return-99;case"ENOPROTOOPT":return-92}}function _u(e,t){let r=new Error(`${e} ${t}`);return r.code=t,r.errno=w4e(t),r.syscall=e,r}function S4e(e){return Er(`The "ttl" argument must be of type number. Received ${oi(e)}`,"ERR_INVALID_ARG_TYPE")}function Q4e(){return Er("Buffer size must be a positive integer","ERR_SOCKET_BAD_BUFFER_SIZE")}function lT(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 AX(e){return e<=0?e:process.platform==="linux"?e*2:e}function lX(e,t){if(typeof e!="number")throw S4e(e);if(!Number.isInteger(e)||e<=0||e>=256)throw _u(t,"EINVAL");return e}function OZ(e){if(!sy(e))return!1;let t=Number(e.split(".")[0]);return t>=224&&t<=239}function HZ(e){return sy(e)&&!OZ(e)&&e!=="255.255.255.255"}function qZ(e){let t=e.indexOf("%"),r=t===-1?e:e.slice(0,t);return QC(e)&&r.toLowerCase().startsWith("ff")}function pB(e,t,r){if(typeof r!="string")throw Fn(t==="addSourceSpecificMembership"||t==="dropSourceSpecificMembership"?"groupAddress":"multicastAddress","string",r);if(!(e==="udp6"?qZ(r):OZ(r)))throw _u(t,"EINVAL");return r}function hX(e,t,r){if(typeof r!="string")throw Fn("sourceAddress","string",r);if(!(e==="udp6"?QC(r)&&!qZ(r):HZ(r)))throw _u(t,"EINVAL");return r}function dX(e){if(e==="udp4"||e==="udp6")return e;throw LZ()}function v4e(e){if(typeof e=="string")return{type:dX(e)};if(!e||typeof e!="object"||Array.isArray(e))throw LZ();let t=e,r={type:dX(t.type)};if(t.recvBufferSize!==void 0){if(typeof t.recvBufferSize!="number")throw rN("options.recvBufferSize","number",t.recvBufferSize);r.recvBufferSize=t.recvBufferSize}if(t.sendBufferSize!==void 0){if(typeof t.sendBufferSize!="number")throw rN("options.sendBufferSize","number",t.sendBufferSize);r.sendBufferSize=t.sendBufferSize}return r}function sC(e,t,r){if(e==null||e==="")return r;if(typeof e!="string")throw Fn("address","string",e);return e==="localhost"?t==="udp6"?"::1":"127.0.0.1":e}function oC(e){if(typeof e!="number")throw Fn("port","number",e);if(!WT(e))throw YT(e);return e}function aC(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 Fn("msg","string or Buffer or Uint8Array or DataView",e)}function gX(e){return Array.isArray(e)?Buffer.concat(e.map(t=>aC(t))):aC(e)}function bu(e){if(typeof e!="string")return e;try{return JSON.parse(e)}catch{return e}}function R4e(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 D4e(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 Tu("callback",i);return{port:r===void 0?0:oC(r),address:sC(n,t,t==="udp6"?"::":"0.0.0.0"),callback:i}}function T4e(e,t,r){if(e.length===0)throw Fn("msg","string or Buffer or Uint8Array or DataView",void 0);let n=e[0];if(r){if(typeof e[1]=="number"&&typeof e[2]=="number"){let a=aC(n),f=e[3];if(f!==void 0&&typeof f!="function")throw Tu("callback",f);return{data:Buffer.from(a.subarray(e[1],e[1]+e[2])),port:void 0,address:void 0,callback:f}}let o=e[1];if(o!==void 0&&typeof o!="function")throw PZ();return{data:gX(n),port:void 0,address:void 0,callback:o}}if(typeof e[1]=="number"&&typeof e[2]=="number"&&e.length>=4){let o=aC(n),a=e[1],f=e[2],u=typeof e[4]=="function"?e[4]:e[5];if(u!==void 0&&typeof u!="function")throw Tu("callback",u);return{data:Buffer.from(o.subarray(a,a+f)),port:oC(e[3]),address:sC(typeof e[4]=="function"?void 0:e[4],t,t==="udp6"?"::1":"127.0.0.1"),callback:u}}let s=typeof e[2]=="function"?e[2]:e[3];if(s!==void 0&&typeof s!="function")throw Tu("callback",s);return{data:gX(n),port:oC(e[1]),address:sC(typeof e[2]=="function"?void 0:e[2],t,t==="udp6"?"::1":"127.0.0.1"),callback:s}}var pX=class{constructor(e,t){m(this,"_type");m(this,"_socketId");m(this,"capabilityId");m(this,"capabilityGeneration");m(this,"_listeners",{});m(this,"_onceListeners",{});m(this,"_bindPromise",null);m(this,"_connectPromise",null);m(this,"_receiveLoopRunning",!1);m(this,"_pendingReceiveWake",!1);m(this,"_refed",!0);m(this,"_closed",!1);m(this,"_bound",!1);m(this,"_connected",!1);m(this,"_handleRefId",null);m(this,"_localAddress");m(this,"_localPort");m(this,"_localFamily");m(this,"_remoteAddress");m(this,"_remotePort");m(this,"_remoteFamily");m(this,"_recvBufferSize");m(this,"_sendBufferSize");m(this,"_memberships",new Set);m(this,"_multicastInterface");m(this,"_broadcast",!1);m(this,"_multicastLoopback",1);m(this,"_multicastTtl",1);m(this,"_ttl",64);if(typeof _dgramSocketCreateRaw>"u")throw new Error("dgram.createSocket is not supported in sandbox");let r=v4e(e);this._type=r.type;let n=bu(_dgramSocketCreateRaw.applySync(void 0,[{type:this._type}]));this._socketId=String(n?.socketId??n),this.capabilityId=n?.capabilityId,this.capabilityGeneration=n?.capabilityGeneration,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}=D4e(e,this._type);return this._bindInternal(t,r,n),this}send(...e){let{data:t,port:r,address:n,callback:i}=T4e(e,this._type,this._connected||this._connectPromise!==null);this._sendInternal(t,r,n,i)}sendto(...e){this.send(...e)}connect(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r!==void 0&&typeof r!="function")throw Tu("callback",r);if(this._connected||this._connectPromise)throw PZ();let n=oC(e),i=sC(t,this._type,this._type==="udp6"?"::1":"127.0.0.1");return this._connectInternal(n,i,r),this}disconnect(){if(!this._connected||this._closed||typeof _dgramSocketDisconnectRaw>"u")throw AT();return _dgramSocketDisconnectRaw.applySyncPromise(void 0,[this._socketId]),this._connected=!1,this._remoteAddress=void 0,this._remotePort=void 0,this._remoteFamily=void 0,this}remoteAddress(){if(!this._connected||this._closed)throw AT();return typeof _dgramSocketRemoteAddressRaw>"u"?{address:this._remoteAddress,port:this._remotePort,family:this._remoteFamily}:bu(_dgramSocketRemoteAddressRaw.applySyncPromise(void 0,[this._socketId]))}address(){if(typeof _dgramSocketAddressRaw>"u")throw uX();try{return bu(_dgramSocketAddressRaw.applySync(void 0,[this._socketId]))}catch{throw uX()}}close(e){if(e!==void 0&&typeof e!="function")throw Tu("callback",e);if(e&&this.once("close",e),this._closed)return this;if(this._closed=!0,this._connected=!1,B4e(this),this._bound=!1,this._clearReceiveWake(),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._bound&&!this._closed&&!this._receiveLoopRunning&&this._pumpMessages(),this}unref(){return this._refed=!1,this._syncHandleRef(),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");let t=!!e;this._setOption("broadcast",{enabled:t}),this._broadcast=t}setTTL(e){this._ensureBoundForSocketOption("setTTL");let t=lX(e,"setTTL");return this._setOption("ttl",{ttl:t}),this._ttl=t,this._ttl}setMulticastTTL(e){this._ensureBoundForSocketOption("setMulticastTTL");let t=lX(e,"setMulticastTTL");return this._setOption("multicastTtl",{ttl:t}),this._multicastTtl=t,this._multicastTtl}setMulticastLoopback(e){this._ensureBoundForSocketOption("setMulticastLoopback");let t=!!e;return this._setOption("multicastLoopback",{enabled:t}),this._multicastLoopback=Number(t),this._multicastLoopback}addMembership(e,t){if(e===void 0)throw cX("multicastAddress");if(this._closed)throw fA();let r=pB(this._type,"addMembership",e);if(t!==void 0&&typeof t!="string")throw Fn("multicastInterface","string",t);this._setOption("membership",{group:r,interface:t,join:!0}),this._memberships.add(`${r}|${t??""}`)}dropMembership(e,t){if(e===void 0)throw cX("multicastAddress");if(this._closed||!this._bound)throw fA();let r=pB(this._type,"dropMembership",e);if(t!==void 0&&typeof t!="string")throw Fn("multicastInterface","string",t);let n=`${r}|${t??""}`;this._setOption("membership",{group:r,interface:t,join:!1}),this._memberships.delete(n)}addSourceSpecificMembership(e,t,r){if(this._closed)throw fA();if(typeof e!="string")throw Fn("sourceAddress","string",e);if(typeof t!="string")throw Fn("groupAddress","string",t);let n=hX(this._type,"addSourceSpecificMembership",e),i=pB(this._type,"addSourceSpecificMembership",t);if(r!==void 0&&typeof r!="string")throw Fn("multicastInterface","string",r);this._setOption("sourceMembership",{source:n,group:i,interface:r,join:!0}),this._memberships.add(`${n}>${i}|${r??""}`)}dropSourceSpecificMembership(e,t,r){if(this._closed||!this._bound)throw fA();if(typeof e!="string")throw Fn("sourceAddress","string",e);if(typeof t!="string")throw Fn("groupAddress","string",t);let n=hX(this._type,"dropSourceSpecificMembership",e),i=pB(this._type,"dropSourceSpecificMembership",t);if(r!==void 0&&typeof r!="string")throw Fn("multicastInterface","string",r);let s=`${n}>${i}|${r??""}`;this._setOption("sourceMembership",{source:n,group:i,interface:r,join:!1}),this._memberships.delete(s)}setMulticastInterface(e){if(typeof e!="string")throw Fn("interfaceAddress","string",e);if(this._closed)throw fA();if(this._ensureBoundForSocketOption("setMulticastInterface"),this._type==="udp4"){if(e==="0.0.0.0"){this._setOption("multicastInterface",{interface:e}),this._multicastInterface=e;return}if(!sy(e))throw _u("setMulticastInterface","ENOPROTOOPT");if(!HZ(e))throw _u("setMulticastInterface","EADDRNOTAVAIL");this._setOption("multicastInterface",{interface:e}),this._multicastInterface=e;return}if(e===""||e==="undefined"||!QC(e))throw _u("setMulticastInterface","EINVAL");this._setOption("multicastInterface",{interface:e}),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 _4e();if(typeof _dgramSocketBindRaw>"u")throw new Error("dgram.bind is not supported in sandbox");return this._bindPromise=(async()=>{try{let n=bu(_dgramSocketBindRaw.applySyncPromise(void 0,[this._socketId,{port:e,address:t}]));this._applyBoundAddress(n),this._bound=!0,fX(this),this._applyInitialBufferSizes(),this._syncHandleRef(),queueMicrotask(()=>{this._closed||(this._emit("listening"),r?.call(this),this._pumpMessages())})}catch(n){throw queueMicrotask(()=>{this._emit("error",n)}),n}finally{this._bindPromise=null}})(),this._bindPromise}}async _connectInternal(e,t,r){if(!this._closed){if(typeof _dgramSocketConnectRaw>"u")throw new Error("dgram.connect is not supported in sandbox");return this._connectPromise=(async()=>{try{await this._ensureBound();let n=bu(_dgramSocketConnectRaw.applySyncPromise(void 0,[this._socketId,{port:e,address:t}]));this._applyBoundAddress(n),this._remoteAddress=n?.remoteAddress??t,this._remotePort=n?.remotePort??e,this._remoteFamily=n?.remoteFamily??socketFamilyForAddress(this._remoteAddress),this._connected=!0,queueMicrotask(()=>{this._closed||!this._connected||(this._emit("connect"),r?.call(this))})}catch(n){throw queueMicrotask(()=>{this._emit("error",n)}),n}finally{this._connectPromise=null}})(),this._connectPromise}}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(this._connectPromise?await this._connectPromise:await this._ensureBound(),this._closed||typeof _dgramSocketSendRaw>"u")return;let i=bu(_dgramSocketSendRaw.applySyncPromise(void 0,[this._socketId,e,{port:t,address:r}]));if(this._applyBoundAddress(i),typeof t=="number"&&typeof r=="string"&&C4e(r)){let s=O0.get(t);if(s){Z("dgramWakeLoopbackHits");for(let o of s)pM(o)}else Z("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")){this._receiveLoopRunning=!0;try{for(;!this._closed&&this._bound;){let e=bu(_dgramSocketRecvRaw.applySync(void 0,[this._socketId,0]));if(e===nM||!e){if(this._pendingReceiveWake){this._pendingReceiveWake=!1;continue}return}if(e.type==="message"){let t=R4e(e.data);this._emit("message",t,{address:e.remoteAddress,family:e.remoteFamily??socketFamilyForAddress(e.remoteAddress),port:e.remotePort,size:t.length});continue}if(e.type==="error"){let t=new Error(typeof e.message=="string"?e.message:"secure-exec dgram socket error");typeof e.code=="string"&&e.code.length>0&&(t.code=e.code),this._emit("error",t)}}}catch(e){this._emit("error",e)}finally{this._receiveLoopRunning=!1,this._pendingReceiveWake&&!this._closed&&this._bound&&(this._pendingReceiveWake=!1,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)}_setOption(e,t){if(typeof _dgramSocketSetOptionRaw>"u")throw _u(e,"ENOPROTOOPT");let r=bu(_dgramSocketSetOptionRaw.applySyncPromise(void 0,[this._socketId,e,t]));return!this._bound&&typeof r?.localPort=="number"&&(this._applyBoundAddress(r),this._bound=!0,fX(this),this._applyInitialBufferSizes(),this._syncHandleRef(),queueMicrotask(()=>{this._closed||!this._bound||(this._emit("listening"),this._pumpMessages())})),r?.value??r}_clearReceiveWake(){this._pendingReceiveWake=!1}_ensureBoundForSocketOption(e){if(!this._bound||this._closed)throw _u(e,"EBADF")}_setBufferSize(e,t,r=!0){if(!Number.isInteger(t)||t<=0||!Number.isFinite(t))throw Q4e();if(t>2147483647)throw lT(e,"EINVAL");if(r&&(!this._bound||this._closed))throw lT(e,"EBADF");if(typeof _dgramSocketSetBufferSizeRaw<"u"&&this._bound&&!this._closed&&_dgramSocketSetBufferSizeRaw.applySyncPromise(void 0,[this._socketId,e,t]),e==="recv"){this._recvBufferSize=t;return}this._sendBufferSize=t}_getBufferSize(e){if(!this._bound||this._closed)throw lT(e,"EBADF");let t=e==="recv"?this._recvBufferSize??0:this._sendBufferSize??0;if(typeof _dgramSocketGetBufferSizeRaw>"u")return AX(t);let r=_dgramSocketGetBufferSizeRaw.applySyncPromise(void 0,[this._socketId,e]);return AX(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=`${I4e}${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}},GZ={Socket:pX,createSocket(e,t){return new pX(e,t)}};ot("_tlsModule",wZ);ot("_dgramSocketDispatch",e=>{let t=iC.get(e?.socketId);t&&pM(t)});function N4e(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 fC(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=>fC(t)):e&&typeof e=="object"?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,fC(r)])):null}function C0(e){return e==null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"?e??null:Array.isArray(e)?e.map(t=>C0(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,C0(r)])):e}function xB(e){return!Array.isArray(e)||e.length===0?null:e.length===1&&N4e(e[0])?fC(e[0]):e.map(t=>fC(t))}function Rr(e,t,r){if(typeof e=="function")return C0(e(...t));if(!e)throw new Error(`sqlite bridge is not available for ${r}`);if(typeof e.applySync=="function")return C0(e.applySync(void 0,t));if(typeof e.applySyncPromise=="function")return C0(e.applySyncPromise(void 0,t));throw new Error(`sqlite bridge is not available for ${r}`)}var M4e=Ce("_sqliteConstantsRaw"),x4e=Ce("_sqliteDatabaseOpenRaw"),k4e=Ce("_sqliteDatabaseCloseRaw"),F4e=Ce("_sqliteDatabaseExecRaw"),U4e=Ce("_sqliteDatabaseQueryRaw"),YZ=Ce("_sqliteDatabasePrepareRaw"),L4e=Ce("_sqliteDatabaseLocationRaw"),P4e=Ce("_sqliteDatabaseCheckpointRaw"),O4e=Ce("_sqliteStatementRunRaw"),H4e=Ce("_sqliteStatementGetRaw"),q4e=Ce("_sqliteStatementAllRaw"),G4e=Ce("_sqliteStatementColumnsRaw"),yX=Ce("_sqliteStatementSetReturnArraysRaw"),EX=Ce("_sqliteStatementSetReadBigIntsRaw"),mX=Ce("_sqliteStatementSetAllowBareNamedParametersRaw"),bX=Ce("_sqliteStatementSetAllowUnknownNamedParametersRaw"),WZ=Ce("_sqliteStatementFinalizeRaw"),hT=typeof FinalizationRegistry=="function"?new FinalizationRegistry(e=>{try{Rr(WZ,[e],"statement garbage collection")}catch{}}):null,uC=class{constructor(e,t,r){this._database=e,this._sql=t,this._statementId=r,this._finalized=!1,this._returnArrays=!1,this._readBigInts=!1,this._allowBareNamedParameters=!1,this._allowUnknownNamedParameters=!1,hT?.register(this,r,this)}_assertOpen(){if(this._database._assertOpen(),this._finalized)throw new Error("SQLite statement is already finalized")}_ensureStatement(){if(this._assertOpen(),this._statementId!==null)return this._statementId;let e=Rr(YZ,[this._database._databaseId,this._sql],"database.prepare");return this._statementId=e,hT?.register(this,e,this),this._returnArrays&&Rr(yX,[e,!0],"statement.setReturnArrays"),this._readBigInts&&Rr(EX,[e,!0],"statement.setReadBigInts"),this._allowBareNamedParameters&&Rr(mX,[e,!0],"statement.setAllowBareNamedParameters"),this._allowUnknownNamedParameters&&Rr(bX,[e,!0],"statement.setAllowUnknownNamedParameters"),e}_releaseStatement(e=!1){if(this._statementId===null)return;let t=this._statementId;this._statementId=null,hT?.unregister(this);try{Rr(WZ,[t],"statement.finalize")}catch(r){if(!e)throw r}}_execute(e,t,r){let n=this._ensureStatement(),i=!1;try{return Rr(e,[n,...t],r)}catch(s){throw i=!0,s}finally{this._releaseStatement(i)}}run(...e){return this._execute(O4e,[xB(e)],"statement.run")}get(...e){return this._execute(H4e,[xB(e)],"statement.get")}all(...e){return this._execute(q4e,[xB(e)],"statement.all")}iterate(...e){return this.all(...e)[Symbol.iterator]()}columns(){return this._execute(G4e,[],"statement.columns")}setReturnArrays(e){this._assertOpen(),this._returnArrays=!!e,this._statementId!==null&&Rr(yX,[this._statementId,this._returnArrays],"statement.setReturnArrays")}setReadBigInts(e){this._assertOpen(),this._readBigInts=!!e,this._statementId!==null&&Rr(EX,[this._statementId,this._readBigInts],"statement.setReadBigInts")}setAllowBareNamedParameters(e){this._assertOpen(),this._allowBareNamedParameters=!!e,this._statementId!==null&&Rr(mX,[this._statementId,this._allowBareNamedParameters],"statement.setAllowBareNamedParameters")}setAllowUnknownNamedParameters(e){this._assertOpen(),this._allowUnknownNamedParameters=!!e,this._statementId!==null&&Rr(bX,[this._statementId,this._allowUnknownNamedParameters],"statement.setAllowUnknownNamedParameters")}finalize(){return this._finalized||(this._database._assertOpen(),this._releaseStatement(),this._finalized=!0),null}},AN=class{constructor(e=":memory:",t=void 0){this._closed=!1,this._databaseId=Rr(x4e,[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||(Rr(k4e,[this._databaseId],"database.close"),this._closed=!0),null}exec(e){return this._assertOpen(),Rr(F4e,[this._databaseId,String(e??"")],"database.exec")}query(e,t=null,r=null){this._assertOpen();let n=t===null?null:xB(Array.isArray(t)?t:[t]);return Rr(U4e,[this._databaseId,String(e??""),n,r??null],"database.query")}prepare(e){this._assertOpen();let t=String(e??""),r=Rr(YZ,[this._databaseId,t],"database.prepare");return new uC(this,t,r)}location(){return this._assertOpen(),Rr(L4e,[this._databaseId],"database.location")}checkpoint(){return this._assertOpen(),Rr(P4e,[this._databaseId],"database.checkpoint")}};AN.prototype[Symbol.dispose]=AN.prototype.close;uC.prototype[Symbol.dispose]=uC.prototype.finalize;var dT;function Y4e(){return dT===void 0&&(dT=Object.freeze(Rr(M4e,[],"constants")??{})),dT}var W4e={DatabaseSync:AN,StatementSync:uC,get constants(){return Y4e()}};ot("_dgramModule",GZ);ot("_sqliteModule",W4e);var VZ={};HN(VZ,{ClientRequest:()=>B0,Headers:()=>Mu,IncomingMessage:()=>mA,Request:()=>gM,Response:()=>UZ,default:()=>V4e,dns:()=>fM,fetch:()=>DC,http:()=>hM,http2:()=>aM,https:()=>dM});var V4e={fetch:DC,Headers:Mu,Request:gM,Response:UZ,dns:fM,http:hM,https:dM,http2:aM,IncomingMessage:mA,ClientRequest:B0,net:uZ,tls:wZ,dgram:GZ},Gt,A0,sf,ua=Symbol.for("nodejs.util.inspect.custom"),If=Symbol.toStringTag,yM="ERR_INVALID_THIS",J4e="ERR_MISSING_ARGS",j4e="ERR_INVALID_URL",z4e="ERR_ARG_NOT_ITERABLE",K4e="ERR_INVALID_TUPLE",X4e="URLSearchParams",cC=Symbol("secureExecLinkedURLSearchParams"),IX=Symbol.for("secureExec.blobUrlStore"),gT=Symbol.for("secureExec.blobUrlCounter"),$4e=["append","delete","get","getAll","has"],Z4e=["append","set"],eLe={"http:":0,"https:":2,"ws:":4,"wss:":5,"file:":6,"ftp:":8},JZ=new WeakSet,lN=new WeakMap,jZ=new WeakSet,pT=new WeakMap;function ku(e,t){let r=new TypeError(e);return r.code=t,r}function tLe(){let e=new TypeError("Invalid URL");return e.code=j4e,e}function yB(){return new TypeError("Receiver must be an instance of class URL")}function cf(e){return ku(e,J4e)}function rLe(){return ku("Query pairs must be iterable",z4e)}function yT(){return ku("Each query pair must be an iterable [name, value] tuple",K4e)}function nLe(){return new TypeError("Cannot convert a Symbol value to a string")}function iLe(e){if(typeof e=="symbol")throw nLe();return String(e)}function sLe(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 $t(e){return sLe(iLe(e))}function xn(e){if(!JZ.has(e))throw ku('Value of "this" must be of type URLSearchParams',yM)}function kB(e){if(!jZ.has(e))throw ku('Value of "this" must be of type URLSearchParamsIterator',yM)}function ri(e){let t=lN.get(e);if(!t)throw ku('Value of "this" must be of type URLSearchParams',yM);return t.getImpl()}function oLe(e){let t=0;for(let r of e)t++;return t}function BX(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function CX(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e-87}function aLe(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 _X(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),f=t.charCodeAt(o+2);if(!BX(a)||!BX(f))break;s.push((CX(a)<<4)+CX(f)),o+=3}if(s.length>0){r+=new kA().decode(Uint8Array.from(s)),n=o-1;continue}}let i=t.codePointAt(n);r+=String.fromCodePoint(i),i>65535&&(n+=1)}return r}function wX(e){let t=String(e),r=[];for(let i=0;i<t.length;i+=1){let s=t.codePointAt(i);aLe(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 fLe(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 uLe(e){if(e&&typeof e=="object"&&cC in e)return e;if(e!=null){if(typeof e=="string")return $t(e);if(typeof e=="object"||typeof e=="function"){let t=e[Symbol.iterator];if(t!==void 0){if(typeof t!="function")throw rLe();let n=[];for(let i of e){if(i==null||typeof i[Symbol.iterator]!="function")throw yT();let o=Array.from(i);if(o.length!==2)throw yT();n.push([$t(o[0]),$t(o[1])])}return n}let r=[];for(let n of Reflect.ownKeys(e))Object.prototype.propertyIsEnumerable.call(e,n)&&r.push([$t(n),$t(e[n])]);return r}return $t(e)}}var ET=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([_X(i),_X(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,f]of this._pairs){if(a!==n){s.push([a,f]);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=fLe(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])=>`${wX(t)}=${wX(r)}`).join("&")}};function cLe(e){return typeof e=="string"?new ET(e):e===void 0?new ET:new ET(e)}function zZ(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 ALe(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,f=n===-1?r+2:n,u=i===-1?t.length:i-(e.port.length>0?e.port.length+1:0),c=e.port.length>0?Number(e.port):null;return{href:t,protocol_end:r,username_end:a,host_start:f,host_end:u,pathname_start:i===-1?t.length:i,search_start:s===-1?t.length:s,hash_start:o===-1?t.length:o,port:c,scheme_type:eLe[e.protocol]??1,hasPort:e.port.length>0,hasSearch:e.search.length>0,hasHash:e.hash.length>0}}function lLe(e,t,r){let n=ALe(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 SX(){let e=globalThis,t=e[IX];if(t instanceof Map)return t;let r=new Map;return e[IX]=r,r}function hLe(){let e=globalThis,t=typeof e[gT]=="number"?e[gT]:1;return e[gT]=t+1,t}var Ru=class KZ{constructor(t){jZ.add(this),pT.set(this,{values:t,index:0})}next(){kB(this);let t=pT.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}}[ua](t,r,n){if(kB(this),t<0)return"[Object]";let i=pT.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 ${zZ(o,r,"{ }")}`}get[If](){return this!==KZ.prototype&&kB(this),"URLSearchParams Iterator"}};Object.defineProperties(Ru.prototype,{next:{value:Ru.prototype.next,writable:!0,configurable:!0,enumerable:!0},[Symbol.iterator]:{value:function(){return kB(this),this},writable:!0,configurable:!0,enumerable:!1},[ua]:{value:Ru.prototype[ua],writable:!0,configurable:!0,enumerable:!1},[If]:{get:Object.getOwnPropertyDescriptor(Ru.prototype,If)?.get,configurable:!0,enumerable:!1}});Object.defineProperty(Object.getOwnPropertyDescriptor(Ru.prototype,Symbol.iterator)?.value,"name",{value:"entries",configurable:!0});var en=class XZ{constructor(t){JZ.add(this);let r=uLe(t);if(r&&typeof r=="object"&&cC in r){lN.set(this,{getImpl:r[cC]});return}let n=cLe(r);lN.set(this,{getImpl:()=>n})}append(t,r){if(xn(this),arguments.length<2)throw cf('The "name" and "value" arguments must be specified');ri(this).append($t(t),$t(r))}delete(t){if(xn(this),arguments.length<1)throw cf('The "name" argument must be specified');ri(this).delete($t(t))}get(t){if(xn(this),arguments.length<1)throw cf('The "name" argument must be specified');return ri(this).get($t(t))}getAll(t){if(xn(this),arguments.length<1)throw cf('The "name" argument must be specified');return ri(this).getAll($t(t))}has(t){if(xn(this),arguments.length<1)throw cf('The "name" argument must be specified');return ri(this).has($t(t))}set(t,r){if(xn(this),arguments.length<2)throw cf('The "name" and "value" arguments must be specified');ri(this).set($t(t),$t(r))}sort(){xn(this),ri(this).sort()}entries(){return xn(this),new Ru(Array.from(ri(this)))}keys(){return xn(this),new Ru(Array.from(ri(this).keys()))}values(){return xn(this),new Ru(Array.from(ri(this).values()))}forEach(t,r){if(xn(this),typeof t!="function")throw ku('The "callback" argument must be of type function. Received '+(t===void 0?"undefined":typeof t),"ERR_INVALID_ARG_TYPE");for(let[n,i]of ri(this))t.call(r,i,n,this)}toString(){return xn(this),ri(this).toString()}get size(){return xn(this),oLe(ri(this))}[ua](t,r,n){if(xn(this),t<0)return"[Object]";let i=typeof n=="function"?o=>n(o,r):o=>JSON.stringify(o),s=Array.from(ri(this)).map(([o,a])=>`${i(o)} => ${i(a)}`);return`URLSearchParams ${zZ(s,r,"{}")}`}get[If](){return this!==XZ.prototype&&xn(this),X4e}};for(let e of $4e)Object.defineProperty(en.prototype,e,{value:en.prototype[e],writable:!0,configurable:!0,enumerable:!0});for(let e of Z4e)Object.defineProperty(en.prototype,e,{value:en.prototype[e],writable:!0,configurable:!0,enumerable:!0});for(let e of["sort","entries","forEach","keys","values","toString"])Object.defineProperty(en.prototype,e,{value:en.prototype[e],writable:!0,configurable:!0,enumerable:!0});Object.defineProperties(en.prototype,{size:{get:Object.getOwnPropertyDescriptor(en.prototype,"size")?.get,configurable:!0,enumerable:!0},[Symbol.iterator]:{value:en.prototype.entries,writable:!0,configurable:!0,enumerable:!1},[ua]:{value:en.prototype[ua],writable:!0,configurable:!0,enumerable:!1},[If]:{get:Object.getOwnPropertyDescriptor(en.prototype,If)?.get,configurable:!0,enumerable:!1}});function dLe(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 gLe(e){return e.endsWith("/")?e:`${e}/`}function pLe(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 f=a.pathname||"/";f.startsWith("/")||(f=`/${f}`);let u=f.endsWith("/")?f:Dr.posix.dirname(f),c=Dr.posix.resolve(u,i);return{input:`file://${i==="."||i===".."||i.endsWith("/")?gLe(c):c}${s}`,base:void 0}}catch{return{input:r,base:t}}}var QX=typeof vA?.URL=="function"?vA.URL:typeof vA?.default?.URL=="function"?vA.default.URL:globalThis.URL,vX=dLe(QX)?QX:class $Z{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 v=new $Z(r);if(v.protocol==="file:"){let L=n.indexOf("?"),U=n.indexOf("#"),P=L===-1?n.length:L,Y=U===-1?n.length:U,V=Math.min(P,Y),X=n.slice(0,V),j=n.slice(V),re=v.pathname||"/";re.startsWith("/")||(re=`/${re}`);let ie=re.endsWith("/")?re:Dr.posix.dirname(re),oe=Dr.posix.resolve(ie,X);(X.endsWith("/")||/(^|\/)\.\.?$/.test(X))&&!oe.endsWith("/")&&(oe+="/"),s=`file://${oe}${j}`}else s=String(v.href).replace(/\/[^/]*$/,"/")+n}let o=s.indexOf("?"),a=s.indexOf("#"),f=o===-1?s.length:o,u=a===-1?s.length:a,c=Math.min(f,u),h=o===-1?"":s.slice(o,u),y=a===-1?"":s.slice(a);if(s.startsWith("file:")){let v=s.slice(5,c);v.startsWith("//")&&(v=/^\/\/[^/]*(.*)$/.exec(v)?.[1]||"/"),v.startsWith("/")||(v=`/${v}`),this.protocol="file:",this.hostname="",this.port="",this.pathname=v||"/",this.search=h,this.hash=y,this.host="",this.href=`file://${this.pathname}${this.search}${this.hash}`,this.origin="null",this.searchParams=new en(this.search);let L=()=>{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 P=this.searchParams[U]?.bind(this.searchParams);P&&(this.searchParams[U]=(...Y)=>{let V=P(...Y);return L(),V})}return}let b=s.match(/^(\w+:)\/\/([^/:?#]+)(:\d+)?(.*)$/);this.protocol=b?.[1]||"",this.hostname=b?.[2]||"",this.port=(b?.[3]||"").slice(1),this.pathname=(b?.[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 en(this.search);let S=()=>{let v=this.searchParams.toString();this.search=v?`?${v}`:"",this.href=this.protocol+"//"+this.host+this.pathname+this.search+this.hash};for(let v of["append","delete","set","sort"]){let L=this.searchParams[v]?.bind(this.searchParams);L&&(this.searchParams[v]=(...U)=>{let P=L(...U);return S(),P})}}toString(){return this.href}},Pn=(sf=class{constructor(e,t){if(QK(this,Gt),QK(this,A0),arguments.length<1)throw cf('The "url" argument must be specified');let r=pLe($t(e),arguments.length>=2?$t(t):void 0);try{vK(this,Gt,r.base!==void 0?new vX(r.input,r.base):new vX(r.input))}catch{throw tLe()}}static canParse(e,t){if(arguments.length<1)throw cf('The "url" argument must be specified');try{return arguments.length>=2?new sf(e,t):new sf(e),!0}catch{return!1}}static createObjectURL(e){if(typeof dd>"u"||!(e instanceof dd))throw ku('The "obj" argument must be an instance of Blob. Received '+(e===null?"null":typeof e),"ERR_INVALID_ARG_TYPE");let t=`blob:nodedata:${hLe()}`;return SX().set(t,e),t}static revokeObjectURL(e){if(arguments.length<1)throw cf('The "url" argument must be specified');typeof e=="string"&&SX().delete(e)}get href(){if(!(this instanceof sf))throw yB();return Kt(this,Gt).href}set href(e){Kt(this,Gt).href=$t(e)}get origin(){return Kt(this,Gt).origin}get protocol(){return Kt(this,Gt).protocol}set protocol(e){Kt(this,Gt).protocol=$t(e)}get username(){return Kt(this,Gt).username}set username(e){Kt(this,Gt).username=$t(e)}get password(){return Kt(this,Gt).password}set password(e){Kt(this,Gt).password=$t(e)}get host(){return Kt(this,Gt).host}set host(e){Kt(this,Gt).host=$t(e)}get hostname(){return Kt(this,Gt).hostname}set hostname(e){Kt(this,Gt).hostname=$t(e)}get port(){return Kt(this,Gt).port}set port(e){Kt(this,Gt).port=$t(e)}get pathname(){return Kt(this,Gt).pathname}set pathname(e){Kt(this,Gt).pathname=$t(e)}get search(){if(!(this instanceof sf))throw yB();return Kt(this,Gt).search}set search(e){Kt(this,Gt).search=$t(e)}get searchParams(){return Kt(this,A0)||vK(this,A0,new en({[cC]:()=>Kt(this,Gt).searchParams})),Kt(this,A0)}get hash(){return Kt(this,Gt).hash}set hash(e){Kt(this,Gt).hash=$t(e)}toString(){if(!(this instanceof sf))throw yB();return Kt(this,Gt).href}toJSON(){if(!(this instanceof sf))throw yB();return Kt(this,Gt).href}[ua](e,t,r){let n=this.constructor===sf?"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[ua](e-1,void 0,r)},`,` hash: ${i(this.hash)}`];return t?.showHidden&&(s[s.length-1]+=",",s.push(` [Symbol(context)]: ${lLe(this,r,t)}`)),s.push("}"),s.join(`
`)}get[If](){return"URL"}},Gt=new WeakMap,A0=new WeakMap,sf);for(let e of["toString","toJSON"])Object.defineProperty(Pn.prototype,e,{value:Pn.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(Pn.prototype,e);t&&(t.enumerable=!0,Object.defineProperty(Pn.prototype,e,t))}Object.defineProperties(Pn.prototype,{[ua]:{value:Pn.prototype[ua],writable:!0,configurable:!0,enumerable:!1},[If]:{get:Object.getOwnPropertyDescriptor(Pn.prototype,If)?.get,configurable:!0,enumerable:!1}});for(let e of["canParse","createObjectURL","revokeObjectURL"])Object.defineProperty(Pn,e,{value:Pn[e],writable:!0,configurable:!0,enumerable:!0});function yLe(e=globalThis){Object.defineProperty(e,"URL",{value:Pn,writable:!0,configurable:!0,enumerable:!1}),Object.defineProperty(e,"URLSearchParams",{value:en,writable:!0,configurable:!0,enumerable:!1})}var NT,ELe=(NT=class{},m(NT,"builtinModules",["assert","assert/strict","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"]),NT),mLe=ELe.builtinModules,bLe={clearImmediate:globalThis.clearImmediate??(()=>{}),clearInterval:globalThis.clearInterval??(()=>{}),clearTimeout:globalThis.clearTimeout??(()=>{}),setImmediate:globalThis.setImmediate??((e,...t)=>globalThis.setTimeout?.(()=>e(...t),0)),setInterval:globalThis.setInterval??((e,t,...r)=>globalThis.setTimeout?.(()=>e(...r),t??0)),setTimeout:globalThis.setTimeout??(()=>{})};function ILe(e){return e&&typeof e=="object"&&e.default!=null?e.default:e}function ca(e){let t=ILe(e);return t==null||typeof t=="function"?t:typeof t=="object"?{...t}:t}function tn(e,t,r){e!=null&&typeof e[t]>"u"&&(e[t]=r)}function EM(e,t,r){e!=null&&Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r})}function ZZ(e){if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e)&&!(e instanceof DataView))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);let t=new TypeError('The "input" argument must be an instance of ArrayBuffer, Buffer, or TypedArray');throw t.code="ERR_INVALID_ARG_TYPE",t}function BLe(e){let t=ZZ(e);for(let r=0;r<t.length;r+=1)if(t[r]>127)return!1;return!0}function CLe(e){let t=ZZ(e),r=0;for(;r<t.length;){let n=t[r];if(n<=127){r+=1;continue}let i,s,o;if(n>=194&&n<=223)i=1,s=128,o=n&31;else if(n>=224&&n<=239)i=2,s=2048,o=n&15;else if(n>=240&&n<=244)i=3,s=65536,o=n&7;else return!1;if(r+i>=t.length)return!1;for(let a=1;a<=i;a+=1){let f=t[r+a];if((f&192)!==128)return!1;o=o<<6|f&63}if(o<s||o>1114111||o>=55296&&o<=57343)return!1;r+=i+1}return!0}function _Le(e){return typeof e=="string"&&e.length>1&&e.endsWith("/")?e.slice(0,-1):e}var oa=ca(fd);tn(oa,"constants",C$);tn(oa,"kMaxLength",Ed);tn(oa,"kStringMaxLength",ey);tn(oa,"Blob",globalThis.Blob);tn(oa,"File",globalThis.File);tn(oa,"isAscii",BLe);tn(oa,"isUtf8",CLe);var eee=ca(m_),zs=ca(qxe),mT=null,RX=!1;function wLe(){return RX||(RX=!0,mT=typeof zs=="function"?zs:zs?.EventEmitter,typeof mT=="function"?(Object.assign(mT.prototype,Xh.EventEmitter.prototype),Object.assign(Xh.EventEmitter,zs,Xh),zs=Xh.EventEmitter,zs.EventEmitter=zs):zs={...zs,...Xh}),zs}var Dr=ca(MT);Dr.posix=Dr;Dr?.win32||(Dr.win32=ca(MT?.win32??MT?.default?.win32)??Dr);if(Dr?.normalize){let e=Dr.normalize.bind(Dr);Dr.normalize=t=>_Le(e(t))}tn(Dr,"toNamespacedPath",e=>String(e));tn(Dr.posix,"toNamespacedPath",Dr.toNamespacedPath);var SLe=ca(Gxe),QLe=ca(Ly),Ft=ca(dt);typeof Ft?.Stream=="function"&&(Object.assign(Ft.Stream,Ft),Ft=Ft.Stream,Ft.Stream=Ft,Object.defineProperty(Ft,Symbol.hasInstance,{configurable:!0,value:t=>{if(!t||typeof t!="object"&&typeof t!="function")return!1;let r=n=>typeof n=="function"&&Function.prototype[Symbol.hasInstance].call(n,t);return r(Ft.Readable)||r(Ft.Writable)||r(Ft.Duplex)||r(Ft.Transform)||r(Ft.PassThrough)}}));function TC(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=c=>{r.push(c),o()},f=()=>{i=!0,o()},u=c=>{s=c,i=!0,o()};return t.on?.("data",a),t.on?.("end",f),t.on?.("close",f),t.on?.("error",u),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(c=>{n.push(c)})},return(){return i=!0,t.off?.("data",a),t.off?.("end",f),t.off?.("close",f),t.off?.("error",u),o(),Promise.resolve({done:!0,value:void 0})},[Symbol.asyncIterator](){return this}}}})}TC(Ft?.Readable?.prototype);TC(Ft?.PassThrough?.prototype);TC(Ft?.Transform?.prototype);TC(Ft?.Duplex?.prototype);var tee=64*1024,ree=16;tn(Ft,"getDefaultHighWaterMark",e=>e?ree:tee);tn(Ft,"setDefaultHighWaterMark",(e,t)=>{if(!Number.isInteger(t)||t<0){let r=new RangeError(`The value of "value" is out of range. It must be a non-negative integer. Received ${t}.`);throw r.code="ERR_OUT_OF_RANGE",r}e?ree=t:tee=t});EM(Ft?.Readable,"toWeb",e=>new ReadableStream({start(t){e.on("data",r=>t.enqueue(r)),e.once("end",()=>t.close()),e.once("error",r=>t.error(r)),e.resume?.()},cancel(t){e.destroy?.(t instanceof Error?t:void 0)}}));EM(Ft?.Writable,"toWeb",e=>new WritableStream({write(t){return new Promise((r,n)=>{e.write(t,i=>i?n(i):r())})},close(){return new Promise((t,r)=>{e.once?.("error",r),e.end(t)})},abort(t){e.destroy?.(t instanceof Error?t:void 0)}}));EM(Ft?.Duplex,"toWeb",e=>({readable:Ft.Readable.toWeb(e),writable:Ft.Writable.toWeb(e)}));tn(Ft,"isReadable",e=>!!e&&e.readable!==!1&&e.destroyed!==!0);tn(Ft,"isWritable",e=>!!e&&e.writable!==!1&&e.destroyed!==!0);tn(Ft,"isErrored",e=>e?.errored!=null);tn(Ft,"isDisturbed",e=>!!(e?.locked||e?.disturbed===!0||e?.readableDidRead===!0));var vLe=ca(Yxe),ns=ca(vA),DX=!1;function RLe(){return DX||(DX=!0,ns.URL=Pn,ns.URLSearchParams=en,ns.fileURLToPath=c$,ns.pathToFileURL=u$,ns?.default&&typeof ns.default=="object"&&(ns.default.URL=Pn,ns.default.URLSearchParams=en,ns.default.fileURLToPath=c$,ns.default.pathToFileURL=u$)),ns}function DLe(e){return String(e).replace(/^node:/,"")}var nee=null;function iee(e){let t=DLe(e),r=nee;if(Array.isArray(r)){let n=String(t??e).replace(/^node:/,"").split("/")[0];if(!r.includes(n))throw $h(e)}return t}ot("__agentOSInitJsRuntime",e=>{nee=Array.isArray(e)?e.map(t=>String(t).replace(/^node:/,"").split("/")[0]):null});function see(e){switch(iee(e)){case"assert":case"assert/strict":return globalThis.__secureExecBuiltinAssertModule;case"async_hooks":return w$;case"buffer":return tn(oa,"Blob",globalThis.Blob),tn(oa,"File",globalThis.File),oa;case"cluster":throw $h(e);case"crypto":return gf;case"diagnostics_channel":return nFe;case"domain":throw $h(e);case"http":return _httpModule;case"http2":return _http2Module;case"events":return wLe();case"fs":return _fsModule;case"fs/promises":return _fsModule.promises;case"os":return _osModule;case"path":return Dr;case"path/posix":return Dr.posix;case"path/win32":return Dr.win32;case"perf_hooks":return lFe;case"process":return xM;case"punycode":return SLe;case"querystring":return QLe;case"readline":return{createInterface(r={}){let n=r.input??null,i=r.output??null,s=new Map,o=!1,a=!1,f="",u=[],c=null,h=[],y=new kA,b=(j,...re)=>{let ie=s.get(j)??[];for(let oe of[...ie])oe(...re)},S=j=>{if(h.length>0){h.shift()(j);return}if(c){let re=c;c=null,re({done:!1,value:j});return}u.push(j)},v=j=>{b("line",j),S(j)},L=()=>{let j=f.indexOf(`
`);for(;j!==-1;){let re=f.slice(0,j);re.endsWith("\r")&&(re=re.slice(0,-1)),f=f.slice(j+1),v(re),j=f.indexOf(`
`)}},U=()=>{!n||typeof n.off!="function"||(n.off("data",P),n.off("end",Y))},P=j=>{o||(typeof j=="string"?f+=j:j instanceof Uint8Array?f+=y.decode(j,{stream:!0}):j!=null&&(f+=String(j)),L())},Y=()=>{if(a)return;a=!0;let j=y.decode();j&&(f+=j),L(),f.length>0&&(v(f),f=""),X.close()};n&&typeof n.on=="function"&&(n.on("data",P),n.on("end",Y),typeof n.resume=="function"&&n.resume());let V={next(){return u.length>0?Promise.resolve({done:!1,value:u.shift()}):o||a?Promise.resolve({done:!0,value:void 0}):new Promise(j=>{c=j})},return(){return X.close(),Promise.resolve({done:!0,value:void 0})},[Symbol.asyncIterator](){return this}},X={addListener(j,re){return this.on(j,re)},on(j,re){let ie=s.get(j)??[];return ie.push(re),s.set(j,ie),this},once(j,re){let ie=(...oe)=>{this.off(j,ie),re(...oe)};return this.on(j,ie)},off(j,re){let ie=s.get(j)??[];return s.set(j,ie.filter(oe=>oe!==re)),this},removeListener(j,re){return this.off(j,re)},close(){if(!o){for(o=!0,U();h.length>0;)h.shift()("");if(c){let j=c;c=null,j({done:!0,value:void 0})}b("close")}},question(j,re){i&&typeof i.write=="function"&&j&&i.write(String(j));let ie=()=>u.length>0?Promise.resolve(u.shift()):o||a?Promise.resolve(""):new Promise(oe=>{h.push(oe)});if(typeof re=="function"){ie().then(oe=>{re(oe)});return}return ie()},[Symbol.asyncIterator](){return V}};return X}};case"repl":throw $h(e);case"stream":return Ft;case"stream/consumers":return vB;case"stream/promises":return H$;case"string_decoder":return vLe;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 bLe;case"timers/promises":return wB;case"trace_events":throw $h(e);case"url":return RLe();case"sys":return b0(globalThis.__secureExecBuiltinUtilModule);case"util":return b0(globalThis.__secureExecBuiltinUtilModule);case"util/types":return b0(globalThis.__secureExecBuiltinUtilModule).types;case"child_process":return _childProcessModule;case"console":return Gke;case"constants":return eee;case"dns":return _dnsModule;case"dns/promises":return _dnsModule.promises;case"net":return _netModule;case"tls":return _tlsModule;case"tty":return eFe;case"dgram":return _dgramModule;case"sqlite":return _sqliteModule;case"https":return _httpsModule;case"inspector":return sFe;case"module":return _moduleModule;case"wasi":throw $h(e);case"zlib":return globalThis.__secureExecBuiltinZlibModule;case"v8":return mFe;case"vm":return BFe;case"worker_threads":return Kke;default:{let r=new Error(`Cannot find module '${e}'`);throw r.code="MODULE_NOT_FOUND",r}}}tn(xM,"getBuiltinModule",see);function mM(e){let t=new Error(`${e} is not supported in sandbox`);return t.code="ERR_NOT_IMPLEMENTED",t}function bA(e){throw mM(`crypto.${e}`)}var _0=Symbol("secureExecCryptoKey"),bM=Symbol("secureExecCrypto"),IM=Symbol("secureExecSubtle"),oee="ERR_INVALID_THIS",NC="ERR_ILLEGAL_CONSTRUCTOR";function bd(e,t){let r=new TypeError(e);return r.code=t,r}var TLe=class extends Error{constructor(e="",t="Error"){super(e),this.name=String(t),this.code=0}};function TX(e,t,r){let n=new Error(r);return n.name=e,n.code=t,n}function bT(e){if(!(e instanceof CM)||e._token!==bM)throw bd('Value of "this" must be of type Crypto',oee)}function is(e){if(!(e instanceof BM)||e._token!==IM)throw bd('Value of "this" must be of type SubtleCrypto',oee)}function NLe(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||we.Buffer.isBuffer(e)}function ii(e){return typeof e=="string"?we.Buffer.from(e).toString("base64"):e instanceof ArrayBuffer?we.Buffer.from(new Uint8Array(e)).toString("base64"):ArrayBuffer.isView(e)?we.Buffer.from(new Uint8Array(e.buffer,e.byteOffset,e.byteLength)).toString("base64"):we.Buffer.from(e).toString("base64")}function uA(e){let t=we.Buffer.from(e,"base64");return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}function hN(e){return typeof e=="string"?{name:e}:e??{}}function ss(e){let t={...hN(e)},r=t.hash,n=t.publicExponent,i=t.iv,s=t.additionalData,o=t.salt,a=t.info,f=t.context,u=t.label,c=t.public;return r&&(t.hash=hN(r)),n&&ArrayBuffer.isView(n)&&(t.publicExponent=we.Buffer.from(new Uint8Array(n.buffer,n.byteOffset,n.byteLength)).toString("base64")),i&&(t.iv=ii(i)),s&&(t.additionalData=ii(s)),o&&(t.salt=ii(o)),a&&(t.info=ii(a)),f&&(t.context=ii(f)),u&&(t.label=ii(u)),c&&typeof c=="object"&&"_keyData"in c&&(t.public=c._keyData),t}var A$,H0=(A$=_0,class{constructor(e,t){m(this,"type");m(this,"extractable");m(this,"algorithm");m(this,"usages");m(this,"_keyData");m(this,"_pem");m(this,"_jwk");m(this,"_raw");m(this,"_sourceKeyObjectData");m(this,A$);if(t!==_0||!e)throw bd("Illegal constructor",NC);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[_0]=!0}});Object.defineProperty(H0.prototype,Symbol.toStringTag,{value:"CryptoKey",configurable:!0});Object.defineProperty(H0,Symbol.hasInstance,{value(e){return!!(e&&typeof e=="object"&&(e[_0]===!0||"_keyData"in e&&e[Symbol.toStringTag]==="CryptoKey"))},configurable:!0});function jh(e){let t=globalThis.CryptoKey;if(typeof t=="function"&&t.prototype&&t.prototype!==H0.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 H0(e,_0)}function os(e){if(typeof _cryptoSubtle>"u")throw new Error("crypto.subtle is not supported in sandbox");return _cryptoSubtle.applySync(void 0,[JSON.stringify(e)])}var BM=class{constructor(e){m(this,"_token");if(e!==IM)throw bd("Illegal constructor",NC);this._token=e}digest(e,t){return is(this),Promise.resolve().then(()=>{let r=JSON.parse(os({op:"digest",algorithm:hN(e).name,data:ii(t)}));return uA(r.data)})}generateKey(e,t,r){return is(this),Promise.resolve().then(()=>{let n=JSON.parse(os({op:"generateKey",algorithm:ss(e),extractable:t,usages:Array.from(r)}));return"publicKey"in n&&"privateKey"in n?{publicKey:jh(n.publicKey),privateKey:jh(n.privateKey)}:jh(n.key)})}importKey(e,t,r,n,i){return is(this),Promise.resolve().then(()=>{let s=JSON.parse(os({op:"importKey",format:e,keyData:e==="jwk"?t:ii(t),algorithm:ss(r),extractable:n,usages:Array.from(i)}));return jh(s.key)})}exportKey(e,t){return is(this),Promise.resolve().then(()=>{let r=JSON.parse(os({op:"exportKey",format:e,key:t._keyData}));return e==="jwk"?r.jwk:uA(r.data??"")})}encrypt(e,t,r){return is(this),Promise.resolve().then(()=>{let n=JSON.parse(os({op:"encrypt",algorithm:ss(e),key:t._keyData,data:ii(r)}));return uA(n.data)})}decrypt(e,t,r){return is(this),Promise.resolve().then(()=>{let n=JSON.parse(os({op:"decrypt",algorithm:ss(e),key:t._keyData,data:ii(r)}));return uA(n.data)})}sign(e,t,r){return is(this),Promise.resolve().then(()=>{let n=JSON.parse(os({op:"sign",algorithm:ss(e),key:t._keyData,data:ii(r)}));return uA(n.data)})}verify(e,t,r,n){return is(this),Promise.resolve().then(()=>JSON.parse(os({op:"verify",algorithm:ss(e),key:t._keyData,signature:ii(r),data:ii(n)})).result)}deriveBits(e,t,r){return is(this),Promise.resolve().then(()=>{let n=JSON.parse(os({op:"deriveBits",algorithm:ss(e),baseKey:t._keyData,length:r}));return uA(n.data)})}deriveKey(e,t,r,n,i){return is(this),Promise.resolve().then(()=>{let s=JSON.parse(os({op:"deriveKey",algorithm:ss(e),baseKey:t._keyData,derivedKeyAlgorithm:ss(r),extractable:n,usages:Array.from(i)}));return jh(s.key)})}wrapKey(e,t,r,n){return is(this),Promise.resolve().then(()=>{let i=JSON.parse(os({op:"wrapKey",format:e,key:t._keyData,wrappingKey:r._keyData,wrapAlgorithm:ss(n)}));return uA(i.data)})}unwrapKey(e,t,r,n,i,s,o){return is(this),Promise.resolve().then(()=>{let a=JSON.parse(os({op:"unwrapKey",format:e,wrappedKey:ii(t),unwrappingKey:r._keyData,unwrapAlgorithm:ss(n),unwrappedKeyAlgorithm:ss(i),extractable:s,usages:Array.from(o)}));return jh(a.key)})}},aee=new BM(IM),CM=class{constructor(e){m(this,"_token");if(e!==bM)throw bd("Illegal constructor",NC);this._token=e}get subtle(){return bT(this),aee}getRandomValues(e){if(bT(this),!NLe(e))throw TX("TypeMismatchError",17,"The data argument must be an integer-type TypedArray");if(typeof _cryptoRandomFill>"u"&&bA("getRandomValues"),e.byteLength>65536)throw TX("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=we.Buffer.from(r,"base64");if(n.byteLength!==t.byteLength)throw new Error("invalid host entropy size");return t.set(n),e}catch{bA("getRandomValues")}}randomUUID(){bT(this),typeof _cryptoRandomUUID>"u"&&bA("randomUUID");try{let e=_cryptoRandomUUID.applySync(void 0,[]);if(typeof e!="string")throw new Error("invalid host uuid");return e}catch{bA("randomUUID")}}},MLe=new CM(bM),rd=MLe,NX=1024*1024;function xLe(e){let t=[];return{update(r,n){let i=typeof r=="string"?we.Buffer.from(r,n||"utf8"):we.Buffer.from(r);return t.push(i),this},digest(r){typeof _cryptoHashDigest>"u"&&bA("createHash");let n=t.length===1?t[0]:we.Buffer.concat(t);if(typeof _cryptoHashCreate<"u"&&typeof _cryptoHashUpdate<"u"&&typeof _cryptoHashFinal<"u"){let o=_cryptoHashCreate.applySync(void 0,[String(e)]);try{for(let u=0;u<n.length;u+=NX)_cryptoHashUpdate.applySync(void 0,[o,n.subarray(u,u+NX)]);let a=_cryptoHashFinal.applySync(void 0,[o]),f=we.Buffer.from(String(a||""),"base64");return r?f.toString(r):f}catch(a){if(typeof _cryptoHashDestroy<"u")try{_cryptoHashDestroy.applySync(void 0,[o])}catch(f){a&&typeof a=="object"&&!("cause"in a)&&(a.cause=f)}throw a}}let i=_cryptoHashDigest.applySync(void 0,[String(e),n.toString("base64")]),s=we.Buffer.from(String(i||""),"base64");return r?s.toString(r):s}}}function fee(e){if(Id(e)){if(e.type!=="secret")throw new TypeError("Symmetric crypto operations require a secret KeyObject");return we.Buffer.from(String(e._serialized.raw||""),"base64")}return e&&typeof e=="object"&&e[Symbol.toStringTag]==="CryptoKey"&&typeof e._raw=="string"?we.Buffer.from(String(e._raw||""),"base64"):typeof e=="string"?we.Buffer.from(e):Nt(e)}function kLe(e,t){let r=[],n=fee(t);return{update(i,s){let o=typeof i=="string"?we.Buffer.from(i,s||"utf8"):we.Buffer.from(i);return r.push(o),this},digest(i){typeof _cryptoHmacDigest>"u"&&bA("createHmac");let s=r.length===1?r[0]:we.Buffer.concat(r),o=_cryptoHmacDigest.applySync(void 0,[String(e),n.toString("base64"),s.toString("base64")]),a=we.Buffer.from(String(o||""),"base64");return i?a.toString(i):a}}}var w0=Symbol("secureExecBuiltinKeyObject");function dN(e){return we.Buffer.isBuffer(e)||e instanceof ArrayBuffer||ArrayBuffer.isView(e)}function Nt(e,t=void 0){return we.Buffer.isBuffer(e)?we.Buffer.from(e):typeof e=="string"?we.Buffer.from(e,t||"utf8"):e instanceof ArrayBuffer?we.Buffer.from(new Uint8Array(e)):ArrayBuffer.isView(e)?we.Buffer.from(new Uint8Array(e.buffer,e.byteOffset,e.byteLength)):we.Buffer.from(e??[])}function Af(e,t=void 0){return t?e.toString(t):e}function Id(e){return!!(e&&typeof e=="object"&&(e[w0]===!0||e[Symbol.toStringTag]==="KeyObject"&&"_serialized"in e))}function $s(e){if(Id(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(dN(e))return{__type:"buffer",value:Nt(e).toString("base64")};if(Array.isArray(e))return e.map(t=>$s(t));if(e&&typeof e=="object"){let t={};for(let[r,n]of Object.entries(e))n!==void 0&&(t[r]=$s(n));return t}return e}function q0(e){if(Array.isArray(e))return e.map(r=>q0(r));if(!e||typeof e!="object")return e;if(e.__type==="buffer")return we.Buffer.from(String(e.value||""),"base64");if(e.__type==="bigint")return BigInt(String(e.value||"0"));if(e.__type==="keyObject")return id(e.value);let t={};for(let[r,n]of Object.entries(e))t[r]=q0(n);return t}function uee(e){if(Id(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=uee(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,$s(s)]))}:{...Object.fromEntries(Object.entries(r).map(([i,s])=>[i,$s(s)])),key:$s(t)}}return $s(e)}function Cu(e){return JSON.stringify(uee(e))}function IT(e){return JSON.stringify({hasOptions:e!==void 0,options:e===void 0?null:$s(e)})}function cee(e){return e==null?null:typeof e=="string"?e:typeof e=="object"&&e&&typeof e.name=="string"?e.name:String(e)}function Br(e,t,r){return typeof e>"u"&&bA(t),e.applySync(void 0,r)}function MX(e){return e&&typeof e=="object"&&e.kind==="buffer"?we.Buffer.from(String(e.value||""),"base64"):e&&typeof e=="object"&&e.kind==="string"?String(e.value||""):id(e)}var l$,MC=(l$=w0,class{constructor(e,t){m(this,"type");m(this,"asymmetricKeyType");m(this,"asymmetricKeyDetails");m(this,"symmetricKeySize");m(this,"_serialized");m(this,l$);if(t!==w0||!e||typeof e!="object")throw bd("Illegal constructor",NC);this.type=e.type,this.asymmetricKeyType=e.asymmetricKeyType,this.asymmetricKeyDetails=e.asymmetricKeyDetails,this.symmetricKeySize=e.raw?we.Buffer.from(String(e.raw),"base64").length:void 0,this._serialized=e,this[w0]=!0}export(e=void 0){if(this.type==="secret")return e&&e.format==="jwk"&&this._serialized.jwk?{...this._serialized.jwk}:we.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 mM(`crypto.KeyObject.export(${e.format})`);return String(this._serialized.pem||"")}equals(e){return Id(e)&&JSON.stringify(this._serialized)===JSON.stringify(e._serialized)}});Object.defineProperty(MC.prototype,Symbol.toStringTag,{value:"KeyObject",configurable:!0});Object.defineProperty(MC,Symbol.hasInstance,{value(e){return Id(e)},configurable:!0});function id(e){return Id(e)?e:new MC(e,w0)}function FLe(e){if(!e||typeof e!="object")return{};let t={};return"aad"in e&&e.aad!=null&&(t.aad=Nt(e.aad).toString("base64")),"authTag"in e&&e.authTag!=null&&(t.authTag=Nt(e.authTag).toString("base64")),"authTagLength"in e&&e.authTagLength!=null&&(t.authTagLength=Number(e.authTagLength)),"autoPadding"in e&&(t.autoPadding=!!e.autoPadding),t}var xX=class{constructor(e,t,r,n,i=void 0){m(this,"_mode");m(this,"_algorithm");m(this,"_key");m(this,"_iv");m(this,"_options");m(this,"_sessionId");m(this,"_authTag");this._mode=e,this._algorithm=String(t),this._key=fee(r),this._iv=n==null?null:Nt(n),this._options=FLe(i),this._sessionId=null,this._authTag=null}_ensureSession(){return this._sessionId!=null?this._sessionId:(this._sessionId=Number(Br(_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 mM(`crypto.${e} after update()`)}update(e,t=void 0,r=void 0){let n=Nt(e,t),i=Br(_cryptoCipherivUpdate,this._mode==="cipher"?"createCipheriv":"createDecipheriv",[this._ensureSession(),n.toString("base64")]);return Af(we.Buffer.from(String(i||""),"base64"),r)}final(e=void 0){let t=JSON.parse(String(Br(_cryptoCipherivFinal,this._mode==="cipher"?"createCipheriv":"createDecipheriv",[this._ensureSession()])||"{}"));return t.authTag&&(this._authTag=we.Buffer.from(String(t.authTag),"base64")),Af(we.Buffer.from(String(t.data||""),"base64"),e)}setAAD(e,t=void 0){return this._assertMutable(this._mode==="cipher"?"createCipheriv":"createDecipheriv"),this._options.aad=Nt(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=Nt(e),this._options.authTag=this._authTag.toString("base64"),this}getAuthTag(){if(!this._authTag)throw new Error("Invalid state for operation getAuthTag");return we.Buffer.from(this._authTag)}setAutoPadding(e=!0){return this._assertMutable(this._mode==="cipher"?"createCipheriv":"createDecipheriv"),this._options.autoPadding=!!e,this}},gN=class{constructor(e){m(this,"_algorithm");m(this,"_chunks");this._algorithm=e,this._chunks=[]}update(e,t=void 0){return this._chunks.push(Nt(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?we.Buffer.alloc(0):this._chunks.length===1?this._chunks[0]:we.Buffer.concat(this._chunks)}sign(e,t=void 0){let r=Br(_cryptoSign,"sign",[cee(this._algorithm),this._inputBuffer().toString("base64"),Cu(e)]);return Af(we.Buffer.from(String(r||""),"base64"),t)}},kX=class extends gN{verify(e,t,r=void 0){let n=Nt(t,r);return!!Br(_cryptoVerify,"verify",[cee(this._algorithm),this._inputBuffer().toString("base64"),Cu(e),n.toString("base64")])}};function ULe(e,t=void 0,r=void 0,n=void 0){let i=[];return typeof e=="string"?(i.push(Nt(e,typeof t=="string"?t:void 0)),r!==void 0?i.push(typeof r=="string"?Nt(r,typeof n=="string"?n:void 0):r):(typeof t=="number"||dN(t))&&i.push(t),i):(i.push(e),r!==void 0?i.push(r):(typeof t=="number"||dN(t))&&i.push(t),i)}var FX=typeof FinalizationRegistry=="function"?new FinalizationRegistry(e=>{try{Br(_cryptoDiffieHellmanSessionDestroy,"createDiffieHellman",[e])}catch{}}):null,l0=class{constructor(e){m(this,"_sessionId");this._sessionId=Number(Br(_cryptoDiffieHellmanSessionCreate,"createDiffieHellman",[JSON.stringify({type:e.type,name:e.name,args:(e.args||[]).map(t=>$s(t))})])),FX?.register(this,this._sessionId,this)}_destroySession(){if(this._sessionId==null)return;let e=this._sessionId;this._sessionId=null,FX?.unregister(this),Br(_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(Br(_cryptoDiffieHellmanSessionCall,"createDiffieHellman",[this._sessionId,JSON.stringify({method:e,args:t.map(n=>$s(n))})])||"{}"));return r.hasResult?q0(r.result):void 0}get verifyError(){let e=this._call("verifyError");return e==null?0:Number(e)}generateKeys(e=void 0){return Af(Nt(this._call("generateKeys")),e)}computeSecret(e,t=void 0,r=void 0){let n=this._call("computeSecret",[Nt(e,t)]);return Af(Nt(n),r)}getPrime(e=void 0){return Af(Nt(this._call("getPrime")),e)}getGenerator(e=void 0){return Af(Nt(this._call("getGenerator")),e)}getPublicKey(e=void 0){return Af(Nt(this._call("getPublicKey")),e)}getPrivateKey(e=void 0){return Af(Nt(this._call("getPrivateKey")),e)}setPrivateKey(e,t=void 0){this._call("setPrivateKey",[Nt(e,t)])}setPublicKey(e,t=void 0){this._call("setPublicKey",[Nt(e,t)])}},gf={KeyObject:MC,DiffieHellman:l0,ECDH:l0,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 rd.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=gf.randomFillSync(e,i,s);queueMicrotask(()=>o(null,a))}catch(a){queueMicrotask(()=>o(a))}},createHash(e){return xLe(e)},createHmac(e,t){return kLe(e,t)},createCipheriv(e,t,r,n=void 0){return new xX("cipher",e,t,r,n)},createDecipheriv(e,t,r,n=void 0){return new xX("decipher",e,t,r,n)},createSign(e){return new gN(e)},createVerify(e){return new kX(e)},sign(e,t,r){let n=new gN(e);return n.update(t),n.sign(r)},verify(e,t,r,n){let i=new kX(e);return i.update(t),i.verify(r,n)},createPrivateKey(e){let t=Br(_cryptoCreateKeyObject,"createPrivateKey",["createPrivateKey",Cu(e)]);return id(JSON.parse(String(t||"{}")))},createPublicKey(e){let t=Br(_cryptoCreateKeyObject,"createPublicKey",["createPublicKey",Cu(e)]);return id(JSON.parse(String(t||"{}")))},createSecretKey(e){return id({type:"secret",raw:Nt(e).toString("base64")})},publicEncrypt(e,t){let r=Br(_cryptoAsymmetricOp,"publicEncrypt",["publicEncrypt",Cu(e),Nt(t).toString("base64")]);return we.Buffer.from(String(r||""),"base64")},publicDecrypt(e,t){let r=Br(_cryptoAsymmetricOp,"publicDecrypt",["publicDecrypt",Cu(e),Nt(t).toString("base64")]);return we.Buffer.from(String(r||""),"base64")},privateEncrypt(e,t){let r=Br(_cryptoAsymmetricOp,"privateEncrypt",["privateEncrypt",Cu(e),Nt(t).toString("base64")]);return we.Buffer.from(String(r||""),"base64")},privateDecrypt(e,t){let r=Br(_cryptoAsymmetricOp,"privateDecrypt",["privateDecrypt",Cu(e),Nt(t).toString("base64")]);return we.Buffer.from(String(r||""),"base64")},pbkdf2Sync(e,t,r,n,i){let s=Br(_cryptoPbkdf2,"pbkdf2Sync",[Nt(e).toString("base64"),Nt(t).toString("base64"),Number(r),Number(n),String(i)]);return we.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,gf.pbkdf2Sync(e,t,r,n,o))}catch(f){a(f)}})},scryptSync(e,t,r,n=void 0){let i=Br(_cryptoScrypt,"scryptSync",[Nt(e).toString("base64"),Nt(t).toString("base64"),Number(r),JSON.stringify($s(n||{}))]);return we.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,gf.scryptSync(e,t,r,s))}catch(a){o(a)}})},generateKeyPairSync(e,t=void 0){let r=JSON.parse(String(Br(_cryptoGenerateKeyPairSync,"generateKeyPairSync",[String(e),IT(t)])||"{}"));return{publicKey:MX(r.publicKey),privateKey:MX(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=gf.generateKeyPairSync(e,n);i(null,s.publicKey,s.privateKey)}catch(s){i(s)}})},generateKeySync(e,t=void 0){let r=JSON.parse(String(Br(_cryptoGenerateKeySync,"generateKeySync",[String(e),IT(t)])||"{}"));return id(r)},generatePrimeSync(e,t=void 0){let r=JSON.parse(String(Br(_cryptoGeneratePrimeSync,"generatePrimeSync",[Number(e),IT(t)])||"null"));return q0(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,gf.generatePrimeSync(e,n))}catch(s){i(s)}})},diffieHellman(e){let t=JSON.parse(String(Br(_cryptoDiffieHellman,"diffieHellman",[JSON.stringify($s(e))])||"null"));return Nt(q0(t))},getDiffieHellman(e){return new l0({type:"group",name:String(e)})},createDiffieHellman(e,t=void 0,r=void 0,n=void 0){return new l0({type:"dh",args:ULe(e,t,r,n)})},createECDH(e){return new l0({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 rd.getRandomValues(e)},randomBytes(e){let t=Math.max(0,Number(e)||0),r=new Uint8Array(t);return rd.getRandomValues(r),we.Buffer.from(r)},randomUUID(){return rd.randomUUID()},get constants(){return eee},subtle:aee,webcrypto:rd},wt=qN(GN(),1),pN=0,AA=1,of=2,ni=64,af=128,lA=512,hA=1024,LLe=1,IA=class{constructor(e){m(this,"dev");m(this,"ino");m(this,"mode");m(this,"nlink");m(this,"uid");m(this,"gid");m(this,"rdev");m(this,"size");m(this,"blksize");m(this,"blocks");m(this,"atimeMs");m(this,"mtimeMs");m(this,"ctimeMs");m(this,"birthtimeMs");m(this,"atime");m(this,"mtime");m(this,"ctime");m(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(this.mode&61440)===24576}isCharacterDevice(){return(this.mode&61440)===8192}isFIFO(){return(this.mode&61440)===4096}isSocket(){return(this.mode&61440)===49152}},G0=class{constructor(e,t,r=""){m(this,"name");m(this,"parentPath");m(this,"path");m(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}},UX=class{constructor(e){m(this,"path");m(this,"_entries",null);m(this,"_index",0);m(this,"_closed",!1);this.path=e}_load(){return this._entries===null&&(this._entries=ee.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}},yN=64*1024,EN=16*1024,mN=2**31-1,LX=8*1024*1024;function Aee(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 bN(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 p0(e){if(e?.aborted)throw Aee(e.reason)}function EB(){return new Promise(e=>process.nextTick(e))}function PLe(e){let t=new Error(e);return t.code="ERR_INTERNAL_ASSERTION",t}function aa(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 lee(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 Ct(e,t,r){let n=new TypeError(`The "${e}" argument must be ${t}. ${lee(r)}`);return n.code="ERR_INVALID_ARG_TYPE",n}function hee(e,t){let r=new TypeError(`The argument '${e}' ${t}`);return r.code="ERR_INVALID_ARG_VALUE",r}function OLe(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 FB(e,t){if(typeof e=="string")return wt.Buffer.from(e,t??"utf8");if(wt.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 Ct("data","a string, Buffer, TypedArray, or DataView",e)}async function*HLe(e,t){if(typeof e=="string"||ArrayBuffer.isView(e)){yield FB(e,t);return}if(e&&typeof e[Symbol.asyncIterator]=="function"){for await(let r of e)yield FB(r,t);return}if(e&&typeof e[Symbol.iterator]=="function"){for(let r of e)yield FB(r,t);return}throw Ct("data","a string, Buffer, TypedArray, DataView, or Iterable",e)}var ia=class kn{constructor(t){m(this,"_fd");m(this,"_closing",!1);m(this,"_closed",!1);m(this,"_listeners",new Map);this._fd=t}static _assertHandle(t){if(!(t instanceof kn))throw PLe("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:V0.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=kn._assertHandle(this);if((t._closing||t._closed)&&t._fd<0)throw $e("EBADF","EBADF: bad file descriptor, close","close");t._closing=!0;try{ee.closeSync(t._fd),t._emitCloseOnce()}finally{t._closing=!1}}async[Symbol.asyncDispose](){this._closed||await this.close()}async stat(){let t=kn._assertHandle(this);return ee.fstatSync(t.fd)}async sync(){let t=kn._assertHandle(this);ee.fsyncSync(t.fd)}async datasync(){return this.sync()}async truncate(t){let r=kn._assertHandle(this);ee.ftruncateSync(r.fd,t)}async chmod(t){let n=kn._assertHandle(this)._resolvePath();if(!n)throw $e("EBADF","EBADF: bad file descriptor","chmod");ee.chmodSync(n,t)}async chown(t,r){let i=kn._assertHandle(this)._resolvePath();if(!i)throw $e("EBADF","EBADF: bad file descriptor","chown");ee.chownSync(i,t,r)}async utimes(t,r){let n=kn._assertHandle(this);ee.futimesSync(n.fd,t,r)}async read(t,r,n,i){let s=kn._assertHandle(this),o=t,a=r,f=n,u=i;if(o!==null&&typeof o=="object"&&!ArrayBuffer.isView(o)&&(a=o.offset,f=o.length,u=o.position,o=o.buffer??null),o===null&&(o=wt.Buffer.alloc(EN)),!ArrayBuffer.isView(o))throw Ct("buffer","an instance of ArrayBufferView",o);let c=a??0,h=f??o.byteLength-c;return{bytesRead:ee.readSync(s.fd,o,c,h,u??null),buffer:o}}async write(t,r,n,i){let s=kn._assertHandle(this);if(typeof t=="string"){let u=typeof n=="string"?n:"utf8";if(u==="hex"&&t.length%2!==0)throw hee("encoding",`is invalid for data of length ${t.length}`);return{bytesWritten:ee.writeSync(s.fd,wt.Buffer.from(t,u),0,void 0,r??null),buffer:t}}if(!ArrayBuffer.isView(t))throw Ct("buffer","a string, Buffer, TypedArray, or DataView",t);let o=r??0,a=typeof n=="number"?n:void 0;return{bytesWritten:ee.writeSync(s.fd,t,o,a,i??null),buffer:t}}async readFile(t){let r=kn._assertHandle(this),n=typeof t=="string"?{encoding:t}:t??void 0,i=bN(n?.signal),s=n?.encoding??void 0;if((await r.stat()).size>mN){let c=new RangeError("File size is greater than 2 GiB");throw c.code="ERR_FS_FILE_TOO_LARGE",c}await EB(),p0(i);let a=[],f=0;for(;;){p0(i);let c=wt.Buffer.alloc(yN),{bytesRead:h}=await r.read(c,0,c.byteLength,null);if(h===0)break;if(a.push(c.subarray(0,h)),f+=h,f>mN){let y=new RangeError("File size is greater than 2 GiB");throw y.code="ERR_FS_FILE_TOO_LARGE",y}await EB()}let u=wt.Buffer.concat(a,f);return s?u.toString(s):u}async writeFile(t,r){let n=kn._assertHandle(this),i=typeof r=="string"?{encoding:r}:r??void 0,s=bN(i?.signal),o=i?.encoding??void 0;await EB(),p0(s);for await(let a of HLe(t,o))p0(s),await n.write(a,0,a.byteLength,void 0),await EB()}async appendFile(t,r){return this.writeFile(t,r)}createReadStream(t){return kn._assertHandle(this),new kC(null,{...t??{},fd:this})}createWriteStream(t){return kn._assertHandle(this),new FC(null,{...t??{},fd:this})}};function xC(e){return ArrayBuffer.isView(e)}function qLe(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 Ko(e,t="cb"){if(typeof e!="function")throw Ct(t,"of type function",e)}function IN(e){if(e!=null&&(typeof e!="string"||!wt.Buffer.isEncoding(e)))throw OLe(e)}function dr(e){if(typeof e=="string"){IN(e);return}e&&typeof e=="object"&&"encoding"in e&&IN(e.encoding)}function me(e,t="path"){if(typeof e=="string")return e;if(wt.Buffer.isBuffer(e))return e.toString("utf8");if(e instanceof URL){if(e.protocol==="file:")return e.pathname;throw Ct(t,"of type string or an instance of Buffer or URL",e)}throw Ct(t,"of type string or an instance of Buffer or URL",e)}function ff(e){let t=me(e);return t.startsWith("/")?t:`${(typeof globalThis.process?.cwd=="function"?globalThis.process.cwd():typeof _processConfig<"u"&&typeof _processConfig.cwd=="string"?_processConfig.cwd:"/").replace(/\/$/,"")}/${t}`}function PX(e){try{return me(e)}catch{return null}}function An(e,t,r={}){let{min:n=0,max:i=2147483647,allowNegativeOne:s=!1}=r;if(typeof t!="number")throw Ct(e,"of type number",t);if(!Number.isFinite(t)||!Number.isInteger(t))throw aa(e,"an integer",t);if(s&&t===-1||t>=n&&t<=i)return t;throw aa(e,`>= ${n} && <= ${i}`,t)}function lf(e,t="mode"){if(typeof e=="string"){if(!/^[0-7]+$/.test(e))throw hee(t,"must be a 32-bit unsigned integer or an octal string. Received '"+e+"'");return parseInt(e,8)}return An(t,e,{min:0,max:4294967295})}function OX(e){if(e!=null)return lf(e)}function BT(e){return e&-512|e&511&~(GB&511)}function dee(e){if(e?.start!==void 0){if(typeof e.start!="number")throw Ct("start","of type number",e.start);if(!Number.isFinite(e.start)||!Number.isInteger(e.start)||e.start<0)throw aa("start",">= 0",e.start)}}function AC(e,t){if(t!==void 0){if(typeof t!="boolean")throw Ct(e,"of type boolean",t);return t}}function GLe(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. ${lee(t)}`);throw r.code="ERR_INVALID_ARG_TYPE",r}return t}}function YLe(e,t){let r;if(e==null)r={};else if(typeof e=="string"){if(!t)throw Ct("options","of type object",e);IN(e),r={encoding:e}}else if(typeof e=="object")r=e;else throw Ct("options",t?"one of type string or object":"of type object",e);AC("options.persistent",r.persistent),AC("options.recursive",r.recursive),dr(r);let n=GLe("options.signal",r.signal);return{persistent:r.persistent,recursive:r.recursive,encoding:r.encoding,signal:n}}function WLe(e,t,r){let n=me(e),i=t,s=r;if(typeof t=="function"&&(i=void 0,s=t),s!==void 0&&typeof s!="function")throw Ct("listener","of type function",s);return{path:n,listener:s,options:YLe(i,!0)}}function VLe(e,t,r){let n=me(e),i={},s=r;if(typeof t=="function")s=t;else if(t==null)i={};else if(typeof t=="object")i=t;else throw Ct("listener","of type function",t);if(typeof s!="function")throw Ct("listener","of type function",s);if(AC("persistent",i.persistent),AC("bigint",i.bigint),i.interval!==void 0&&typeof i.interval!="number")throw Ct("interval","of type number",i.interval);return{path:n,listener:s,options:{persistent:i.persistent,bigint:i.bigint,interval:i.interval}}}function JLe(){return new IA({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 HX(e){try{let t=ee.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:JLe(),signature:"missing"};throw t}}function jLe(e,t){let r=e==="/"?"":e.split("/").filter(Boolean).pop()??"";return t==="buffer"?wt.Buffer.from(r):r}function zLe(e,t){return e.exists!==t.exists?"rename":"change"}var KLe=50,XLe=1e3,$Le=5007,Y0=new Map,gee=class{constructor(e,t){m(this,"_path");m(this,"_intervalMs");m(this,"_maxIntervalMs");m(this,"_nextIntervalMs");m(this,"_onChange");m(this,"_onClose");m(this,"_listeners");m(this,"_timer");m(this,"_closed");m(this,"_persistent");m(this,"_signal");m(this,"_handleAbort");m(this,"_snapshot");m(this,"_schedulePoll");m(this,"_poll");this._path=e,this._intervalMs=t.interval,this._maxIntervalMs=Math.max(t.interval,t.maxInterval??t.interval),this._nextIntervalMs=this._intervalMs,this._onChange=t.onChange,this._onClose=t.onClose,this._listeners=new Map,this._closed=!1,this._persistent=t.persistent!==!1,this._signal=t.signal,this._snapshot=HX(e),this._schedulePoll=()=>{this._closed||(this._timer=wC(this._poll,this._nextIntervalMs),this._persistent||this._timer?.unref?.())},this._poll=()=>{if(this._closed)return;let r;try{r=HX(this._path)}catch(i){this._nextIntervalMs=Math.min(this._nextIntervalMs*2,this._maxIntervalMs),this._schedulePoll(),this.emit("error",i);return}if(r.signature===this._snapshot.signature){this._nextIntervalMs=Math.min(this._nextIntervalMs*2,this._maxIntervalMs),this._schedulePoll();return}let n=this._snapshot;this._snapshot=r,this._nextIntervalMs=this._intervalMs,this._schedulePoll(),this._onChange(r,n)},this._handleAbort=()=>{this.close()},this._schedulePoll(),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._persistent=!0,this._timer?.ref?.(),this}unref(){return this._persistent=!1,this._timer?.unref?.(),this}close(){this._closed||(this._closed=!0,this._timer!==void 0&&(ty(this._timer),this._timer=void 0),this._signal&&this._signal.removeEventListener("abort",this._handleAbort),this._onClose?.(),this.emit("close"))}};function ZLe(e,t){let r=Y0.get(e)??new Set;r.add(t),Y0.set(e,r)}function e3e(e,t){let r=Y0.get(e);r&&(r.delete(t),r.size===0&&Y0.delete(e))}function t3e(e,t){let r=jLe(e,t.encoding),n=new gee(e,{interval:KLe,maxInterval:XLe,persistent:t.persistent,signal:t.signal,onChange(i,s){n.emit("change",zLe(s,i),r)}});return n}function r3e(e,t,r){let n=new gee(e,{interval:t.interval??$Le,persistent:t.persistent,onChange(i,s){n.emit("change",i.stats,s.stats)},onClose(){e3e(e,n)}});return n.on("change",r),ZLe(e,n),n}async function*n3e(e,t){let r=[],n=null,i=!1,s=null,o=ee.watch(e,t,(a,f)=>{r.push({eventType:a,filename:f}),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 BN(e){return e==null||typeof e=="object"&&!Array.isArray(e)}function Xs(e){if(e==null||e===-1)return null;if(typeof e=="bigint")return Number(e);if(typeof e!="number"||!Number.isInteger(e))throw Ct("position","an integer",e);return e}function lC(e,t,r){let n=t??0;if(typeof n!="number"||!Number.isInteger(n))throw Ct("offset","an integer",n);if(n<0||n>e)throw aa("offset",`>= 0 && <= ${e}`,n);let i=e-n,s=r??i;if(typeof s!="number"||!Number.isInteger(s))throw Ct("length","an integer",s);if(s<0||s>2147483647)throw aa("length",">= 0 && <= 2147483647",s);if(n+s>e)throw aa("length",`>= 0 && <= ${e-n}`,s);return{offset:n,length:s}}function i3e(e,t,r,n){if(!xC(e))throw Ct("buffer","an instance of Buffer, TypedArray, or DataView",e);if(r===void 0&&n===void 0&&BN(t)){let o=t??{},{offset:a,length:f}=lC(e.byteLength,o.offset,o.length);return{buffer:e,offset:a,length:f,position:Xs(o.position)}}let{offset:i,length:s}=lC(e.byteLength,t,r);return{buffer:e,offset:i,length:s,position:Xs(n)}}function qX(e,t,r,n){if(typeof e=="string"){if(r===void 0&&n===void 0&&BN(t)){let o=t??{},a=typeof o.encoding=="string"?o.encoding:void 0;return{buffer:e,offset:0,length:wt.Buffer.byteLength(e,a),position:Xs(o.position),encoding:a}}if(t!=null&&typeof t!="number")throw Ct("position","an integer",t);return{buffer:e,offset:0,length:wt.Buffer.byteLength(e,typeof r=="string"?r:void 0),position:Xs(t),encoding:typeof r=="string"?r:void 0}}if(!xC(e))throw Ct("buffer","a string, Buffer, TypedArray, or DataView",e);if(r===void 0&&n===void 0&&BN(t)){let o=t??{},{offset:a,length:f}=lC(e.byteLength,o.offset,o.length);return{buffer:e,offset:a,length:f,position:Xs(o.position)}}let{offset:i,length:s}=lC(e.byteLength,t,typeof r=="number"?r:void 0);return{buffer:e,offset:i,length:s,position:Xs(n)}}function hr(e){return An("fd",e)}function mB(e){if(!Array.isArray(e))throw Ct("buffers","an ArrayBufferView[]",e);for(let t of e)if(!xC(t))throw Ct("buffers","an ArrayBufferView[]",e);return e}function CN(e,t){if(e===void 0)return;if(e===null||typeof e!="object")throw Ct("options.fs","an object",e);let r=e;for(let n of t)if(typeof r[n]!="function")throw qLe(`options.fs.${String(n)}`,r[n]);return r}function hC(e){if(e!==void 0)return e instanceof ia?e:An("fd",e)}function GX(e,t){if(e===null){if(t===void 0)throw Ct("path","of type string or an instance of Buffer or URL",e);return null}if(typeof e=="string"||wt.Buffer.isBuffer(e))return e;if(e instanceof URL){if(e.protocol==="file:")return e.pathname;throw Ct("path","of type string or an instance of Buffer or URL",e)}throw Ct("path","of type string or an instance of Buffer or URL",e)}function s3e(e){let t=e?.start,r=e?.end;if(t!==void 0&&typeof t!="number")throw Ct("start","of type number",t);if(r!==void 0&&typeof r!="number")throw Ct("end","of type number",r);let n=t,i=r;if(n!==void 0&&(!Number.isFinite(n)||n<0))throw aa("start",">= 0",t);if(i!==void 0&&(!Number.isFinite(i)||i<0))throw aa("end",">= 0",r);if(n!==void 0&&i!==void 0&&n>i)throw aa("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 kC=class{constructor(e,t){m(this,"_options");m(this,"bytesRead",0);m(this,"path");m(this,"pending",!0);m(this,"readable",!0);m(this,"readableAborted",!1);m(this,"readableDidRead",!1);m(this,"readableEncoding",null);m(this,"readableEnded",!1);m(this,"readableFlowing",null);m(this,"readableHighWaterMark",65536);m(this,"readableLength",0);m(this,"readableObjectMode",!1);m(this,"destroyed",!1);m(this,"closed",!1);m(this,"errored",null);m(this,"fd",null);m(this,"autoClose",!0);m(this,"start");m(this,"end");m(this,"_listeners",new Map);m(this,"_started",!1);m(this,"_reading",!1);m(this,"_readScheduled",!1);m(this,"_opening",!1);m(this,"_remaining",null);m(this,"_position",null);m(this,"_fileHandle",null);m(this,"_streamFs");m(this,"_signal");m(this,"_handleCloseListener");this._options=t;let r=hC(t?.fd),i=s3e(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=bN(t?.signal),r instanceof ia){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=CN(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 wt.Buffer?this.path.toString():null;if(!e){this._handleStreamError($e("EBADF","EBADF: bad file descriptor","read"));return}this._opening=!0,(this._streamFs?.open??ee.open).bind(this._streamFs??ee)(e,"r",438,(r,n)=>{if(this._opening=!1,r||typeof n!="number"){this._handleStreamError(r??$e("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??ee.close).bind(this._streamFs??ee);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(p0(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=wt.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):wt.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??ee.read).bind(this._streamFs??ee)(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=Aee(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?yN:Math.min(yN,this._remaining),i=wt.Buffer.alloc(n),s=0;if(this._fileHandle?s=(await this._fileHandle.read(i,0,n,this._position)).bytesRead:s=ee.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,wt.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}},YX=16*1024*1024,FC=class{constructor(e,t){m(this,"_options");m(this,"bytesWritten",0);m(this,"path");m(this,"pending",!1);m(this,"writable",!0);m(this,"writableAborted",!1);m(this,"writableEnded",!1);m(this,"writableFinished",!1);m(this,"writableHighWaterMark",16384);m(this,"writableLength",0);m(this,"writableObjectMode",!1);m(this,"writableCorked",0);m(this,"destroyed",!1);m(this,"closed",!1);m(this,"errored",null);m(this,"writableNeedDrain",!1);m(this,"fd",null);m(this,"autoClose",!0);m(this,"_chunks",[]);m(this,"_listeners",new Map);m(this,"_fileHandle",null);m(this,"_streamFs");m(this,"_position",null);this._options=t;let r=hC(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=CN(t?.fs,["open","close","write"]),t?.fs!==void 0&&CN(t?.fs,["writev"]),r instanceof ia){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 wt.Buffer?this.path.toString():null;if(!o)throw $e("EBADF","EBADF: bad file descriptor","write");this.fd=ee.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??ee.close).bind(this._streamFs??ee);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=wt.Buffer.from(e,typeof t=="string"?t:"utf8");else if(xC(e))n=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);else throw Ct("chunk","a string, Buffer, TypedArray, or DataView",e);if(this.writableLength+n.length>YX){let s=new Error(`WriteStream buffer exceeded ${YX} 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 wt.Buffer?this.path.toString():null;if(this.fd!==null&&this.fd>=0){let s=ee.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=>wt.Buffer.from(o));if(typeof this._position=="number"){let o=ee.readFileSync(i),a=Math.max(o.length,this._position+s.reduce((c,h)=>c+h.length,0)),f=wt.Buffer.alloc(a);o.copy(f);let u=this._position;for(let c of s)c.copy(f,u),u+=c.length;ee.writeFileSync(i,f)}else ee.writeFileSync(i,wt.Buffer.concat(s));this.autoClose&&this.fd!==null&&this.fd>=0&&await this._closeUnderlying()}else throw $e("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()}},o3e=kC,a3e=FC,pee=function(t,r){return dr(r),new o3e(t,r)};pee.prototype=kC.prototype;var yee=function(t,r){return dr(r),dee(r??{}),new a3e(t,r)};yee.prototype=FC.prototype;function f3e(e){if(typeof e=="number")return e;let t={r:pN,"r+":of,rs:pN,"rs+":of,w:AA|ni|lA,"w+":of|ni|lA,a:AA|hA|ni,"a+":of|hA|ni,wx:AA|ni|lA|af,xw:AA|ni|lA|af,"wx+":of|ni|lA|af,"xw+":of|ni|lA|af,ax:AA|hA|ni|af,xa:AA|hA|ni|af,"ax+":of|hA|ni|af,"xa+":of|hA|ni|af};if(e in t)return t[e];throw new Error("Unknown file flag: "+e)}var WX={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 u3e(e){return Object.prototype.hasOwnProperty.call(WX,e)?-WX[e]:-1}function $e(e,t,r,n){let i=new Error(t);return i.code=e,i.errno=u3e(e),i.syscall=r,n&&(i.path=n),i}function c3e(e){return String(e?.message??e??"")}function Ks(e){let t=c3e(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("ENXIO")||t.includes("no such device or address")?"ENXIO":t.includes("EXDEV")||t.includes("cross-device link")?"EXDEV":typeof e?.code=="string"&&e.code.length>0?e.code:null}function as(e,t,r){try{return e()}catch(n){let i=Ks(n);throw i==="ENOENT"?$e("ENOENT",`ENOENT: no such file or directory, ${t} '${r}'`,t,r):i==="EACCES"?$e("EACCES",`EACCES: permission denied, ${t} '${r}'`,t,r):i==="EEXIST"?$e("EEXIST",`EEXIST: file already exists, ${t} '${r}'`,t,r):i==="EINVAL"?$e("EINVAL",`EINVAL: invalid argument, ${t} '${r}'`,t,r):i==="EXDEV"?$e("EXDEV",`EXDEV: cross-device link not permitted, ${t} '${r}'`,t,r):n}}function Eee(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 A3e(e){let t=e.startsWith("/"),r=e.split("/"),n=[];for(let i of r){if(/[*?{}\[\]]/.test(i))break;n.push(i)}return n.join("/")||(t?"/":".")}var l3e=100;function VX(e,t){return!t||t==="."?e:!e||e==="."?t:e==="/"?`/${t}`:`${e.replace(/\/$/,"")}/${t}`}function JX(e,t,r){if(typeof r.exclude=="function"){let s=r.exclude(r.withFileTypes?t:e)===!0;return{excluded:s,prune:s}}let n=!1,i=!1;for(let s of r.excludeRegexes)n||(n=s.test(e)),i||(i=n||s.test(`${e}/`));return{excluded:n,prune:i}}function h3e(e,t,r){let n=Eee(e),i=e.startsWith("/"),s=A3e(e),o=i?s:VX(t.cwd,s),a=s==="."?"":s,f=(c,h)=>{r.has(c)||r.set(c,h)};if(!/[*?{}\[\]]/.test(e)){try{let c=_N(o),h=s.split("/").filter(Boolean).pop()??s,y=o.lastIndexOf("/"),b=y<0?".":y===0?"/":o.slice(0,y),S=new G0(h,c.isDirectory(),b);JX(s,S,t).excluded||f(s,t.withFileTypes?S:s)}catch{}return}let u=(c,h,y)=>{if(y>l3e)return;let b;try{b=mee(c)}catch{return}for(let S of b){let v=typeof S=="string"?S:S.name,L=VX(c,v),U=h?`${h}/${v}`:v,P=i?L:U,Y=JX(P,S,t);!Y.excluded&&n.test(P)&&f(P,t.withFileTypes?S:P);let V=typeof S!="string"&&S?.isDirectory?.()===!0;if(typeof S=="string")try{V=_N(L).isDirectory()}catch{}V&&!Y.prune&&u(L,U,y+1)}};try{u(o,a,0)}catch{}}var mee,_N;function CT(e){return me(e)}function W0(e){return typeof globalThis<"u"?globalThis[e]:void 0}function Ce(e){return{applySync(t,r){let n=W0(e);if(typeof n=="function")return n(...r||[]);if(n&&typeof n.applySync=="function")return n.applySync(t,r)},applySyncPromise(t,r){let n=W0(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 y0(e){let t=W0(e);return typeof t=="function"||!!(t&&(typeof t.applySync=="function"||typeof t.applySyncPromise=="function"))}function d3e(e){let t=W0(e);return typeof t=="function"||!!(t&&typeof t.apply=="function")}function Ir(e){return{apply(t,r){let n=W0(e);return typeof n=="function"?n(...r||[]):n&&typeof n.apply=="function"?n.apply(t,r):Promise.resolve(void 0)}}}var Xt={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")},Ur={readFile:Ir("_fsReadFileAsync"),writeFile:Ir("_fsWriteFileAsync"),readFileBinary:Ir("_fsReadFileBinaryAsync"),writeFileBinary:Ir("_fsWriteFileBinaryAsync"),readDir:Ir("_fsReadDirAsync"),mkdir:Ir("_fsMkdirAsync"),rmdir:Ir("_fsRmdirAsync"),stat:Ir("_fsStatAsync"),unlink:Ir("_fsUnlinkAsync"),rename:Ir("_fsRenameAsync"),chmod:Ir("_fsChmodAsync"),chown:Ir("_fsChownAsync"),link:Ir("_fsLinkAsync"),symlink:Ir("_fsSymlinkAsync"),readlink:Ir("_fsReadlinkAsync"),lstat:Ir("_fsLstatAsync"),truncate:Ir("_fsTruncateAsync"),utimes:Ir("_fsUtimesAsync"),lutimes:Ir("_fsLutimesAsync"),access:Ir("_fsAccessAsync")},g3e=Ce("fs.openSync"),bee=Ce("fs.closeSync"),p3e=Ce("fs.readSync"),y3e=Ce("_fsReadRaw"),E3e=Ce("_fsReadFileRangeRaw"),m3e=Ce("fs.writeSync"),b3e=Ce("_fsWriteRaw"),I3e=Ce("_fsWritevRaw"),B3e=Ce("fs.fstatSync"),C3e=Ce("fs.ftruncateSync"),jX=Ce("fs.fsyncSync"),_3e=Ce("fs.futimesSync"),V0=Ce("fs._getPathSync"),w3e=Ce("process.umask"),S3e=Ce("process.memoryUsage"),Q3e=Ce("process.cpuUsage"),v3e=Ce("process.resourceUsage"),R3e=Ce("process.versions"),pqe=Ce("_kernelPollRaw"),D3e=Ir("_kernelPoll"),yqe=Ce("_kernelIsattyRaw"),Eqe=Ce("_kernelTtySizeRaw");function mf(e){return typeof e=="string"?JSON.parse(e):e}function J0(e){return{__agentOSType:"bytes",base64:wt.Buffer.from(e).toString("base64")}}function UB(e,t,r){let n=Ks(e);if(n==="ENOENT")throw $e("ENOENT",`ENOENT: no such file or directory, ${t} '${r}'`,t,r);if(n==="EROFS")throw $e("EROFS",`EROFS: read-only file system, ${t} '${r}'`,t,r);if(n==="ERR_ACCESS_DENIED"){let i=$e("ERR_ACCESS_DENIED",`ERR_ACCESS_DENIED: permission denied, ${t} '${r}'`,t,r);throw i.code="ERR_ACCESS_DENIED",i}throw n==="EACCES"?$e("EACCES",`EACCES: permission denied, ${t} '${r}'`,t,r):e}function T3e(e,t){return e==="/"?`/${t}`:e.endsWith("/")?`${e}${t}`:`${e}/${t}`}function _M(e,t,r){return Array.isArray(e)?r?e.map(n=>{if(typeof n=="string"){let i=ee.statSync(T3e(t,n));return new G0(n,i.isDirectory(),t)}return new G0(n.name,n.isDirectory,t)}):e.map(n=>typeof n=="string"?n:n?.name):[]}function N3e(e,t,r){if(!(e instanceof Uint8Array))return _M(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=wt.Buffer.from(e.buffer,e.byteOffset+i,o).toString("utf8");i+=o,n.push(r?new G0(a,s===1,t):a)}return n}async function bB(e,t){if(dr(t),typeof e=="number")return new ia(hr(e)).readFile(t);let r=me(e),n=new ia(ee.openSync(r,"r"));try{return await n.readFile(t)}finally{n.closed||await n.close()}}async function _T(e,t,r){if(dr(r),typeof e=="number")return new ia(hr(e)).writeFile(t,r);let n=me(e),i=ff(e);try{if(typeof t=="string")return await Ur.writeFile.apply(void 0,[i,t]);if(ArrayBuffer.isView(t)){let s=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);return y0("_fsWriteFileBinaryRaw")?Xt.writeFileBinaryRaw.applySyncPromise(void 0,[i,s]):await Ur.writeFileBinary.apply(void 0,[i,J0(s)])}return await Ur.writeFile.apply(void 0,[i,String(t)])}catch(s){UB(s,"write",n)}}async function M3e(e,t){dr(t);let r=me(e);try{let n=await Ur.readDir.apply(void 0,[r]);return _M(mf(n),r,t?.withFileTypes)}catch(n){throw Ks(n)==="ENOENT"?$e("ENOENT",`ENOENT: no such file or directory, scandir '${r}'`,"scandir",r):n}}async function x3e(e,t){let r=me(e),n=typeof t=="object"?t?.recursive??!1:!1;return await Ur.mkdir.apply(void 0,[r,n]),n?r:void 0}async function k3e(e){let t=me(e);await Ur.rmdir.apply(void 0,[t])}async function F3e(e){let t=me(e);try{let r=await Ur.stat.apply(void 0,[t]);return new IA(mf(r))}catch(r){throw Ks(r)==="ENOENT"?$e("ENOENT",`ENOENT: no such file or directory, stat '${t}'`,"stat",t):r}}async function U3e(e){let t=me(e),r=await Ur.lstat.apply(void 0,[t]);return new IA(mf(r))}async function L3e(e){let t=me(e);await Ur.unlink.apply(void 0,[t])}async function P3e(e,t){let r=me(e,"oldPath"),n=me(t,"newPath");await Ur.rename.apply(void 0,[r,n])}async function O3e(e){let t=me(e);try{await Ur.access.apply(void 0,[t])}catch(r){throw Ks(r)==="ENOENT"?$e("ENOENT",`ENOENT: no such file or directory, access '${t}'`,"access",t):r}}async function H3e(e,t){let r=me(e),n=lf(t,"mode");await Ur.chmod.apply(void 0,[r,n])}async function q3e(e,t,r){let n=me(e),i=An("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),s=An("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0});await Ur.chown.apply(void 0,[n,i,s])}async function G3e(e,t){let r=me(e,"existingPath"),n=me(t,"newPath");await Ur.link.apply(void 0,[r,n])}async function Y3e(e,t){let r=me(e,"target"),n=me(t);await Ur.symlink.apply(void 0,[r,n])}async function W3e(e){let t=me(e);return await Ur.readlink.apply(void 0,[t])}async function V3e(e,t){let r=me(e);await Ur.truncate.apply(void 0,[r,t??0])}function ra(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===ee.constants.UTIME_NOW||e.nsec==="UTIME_NOW")return{kind:"now"};if(e.nsec===ee.constants.UTIME_OMIT||e.nsec==="UTIME_OMIT")return{kind:"omit"}}let a=Number(e.sec),f=Number(e.nsec??0);if(!Number.isInteger(a))throw Ct(t,"an integer sec field",e);if(!Number.isInteger(f)||f<0||f>=1e9)throw createRangeError(`${t}.nsec must be an integer between 0 and 999999999`);return{sec:a,nsec:f}}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 J3e(e,t,r){let n=me(e);await Ur.utimes.apply(void 0,[n,ra(t,"atime"),ra(r,"mtime")])}async function j3e(e,t,r){let n=me(e);await Ur.lutimes.apply(void 0,[n,ra(t,"atime"),ra(r,"mtime")])}function z3e(e){let t=4;for(let s of e){if(s.byteLength>4294967295)throw aa("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 ee={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:pN,O_WRONLY:AA,O_RDWR:of,O_CREAT:ni,O_EXCL:af,O_NOCTTY:256,O_TRUNC:lA,O_APPEND:hA,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:IA,Dirent:G0,Dir:UX,readFileSync(e,t){dr(t);let r=typeof t=="string"?t:t?.encoding,n=typeof e=="number",i=n?null:me(e),s=n?null:ff(e),o=n?hr(e):null;try{let a=[],f=0,u=0;for(;;){let h,y;if(n)h=wt.Buffer.allocUnsafe(LX),y=ee.readSync(o,h,0,h.byteLength,null);else{let b=E3e.applySyncPromise(void 0,[s,u,LX]);h=b instanceof Uint8Array?b:wt.Buffer.from(b),y=h.byteLength}if(y===0)break;if(a.push(h.subarray(0,y)),f+=y,u+=y,f>mN){let b=new RangeError("File size is greater than 2 GiB");throw b.code="ERR_FS_FILE_TOO_LARGE",b}}let c=wt.Buffer.concat(a,f);return r?c.toString(r):c}catch(a){throw Ks(a)==="ENOENT"?$e("ENOENT",`ENOENT: no such file or directory, open '${i}'`,"open",i):Ks(a)==="EACCES"?$e("EACCES",`EACCES: permission denied, open '${i}'`,"open",i):a}},writeFileSync(e,t,r){if(dr(r),typeof e=="number"){let s=hr(e),o=typeof r=="string"?r:r?.encoding,a=FB(t,o),f=0;for(;f<a.byteLength;)f+=ee.writeSync(s,a,f,a.byteLength-f,null);return}let n=me(e),i=ff(e);try{if(typeof t=="string")return Xt.writeFile.applySyncPromise(void 0,[i,t]);if(ArrayBuffer.isView(t)){let s=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);return y0("_fsWriteFileBinaryRaw")?Xt.writeFileBinaryRaw.applySyncPromise(void 0,[i,s]):Xt.writeFileBinary.applySyncPromise(void 0,[i,J0(s)])}else return Xt.writeFile.applySyncPromise(void 0,[i,String(t)])}catch(s){UB(s,"write",n)}},appendFileSync(e,t,r){dr(r);let n=me(e),i="";try{i=ee.existsSync(e)?ee.readFileSync(e,"utf8"):""}catch(o){UB(o,"open",n)}let s=typeof t=="string"?t:String(t);try{ee.writeFileSync(e,i+s,r)}catch(o){if(!o?.code)throw $e("EACCES",`EACCES: permission denied, write '${n}'`,"write",n);UB(o,"write",n)}},readdirSync(e,t){dr(t);let r=me(e),n=ff(e),i;try{i=Xt.readDir.applySyncPromise(void 0,[n])}catch(s){throw Ks(s)==="ENOENT"?$e("ENOENT",`ENOENT: no such file or directory, scandir '${r}'`,"scandir",r):s}return i instanceof Uint8Array?N3e(i,r,t?.withFileTypes):_M(mf(i),r,t?.withFileTypes)},mkdirSync(e,t){let r=me(e),n=r,i=typeof t=="object"?t?.recursive??!1:!1,s=typeof t=="object"?t?.mode:t,o=s===void 0?void 0:lf(s);return Xt.mkdir.applySyncPromise(void 0,[n,{recursive:i,mode:BT(o??511)}]),i?r:void 0},rmdirSync(e,t){let r=me(e);Xt.rmdir.applySyncPromise(void 0,[r])},rmSync(e,t){let r=CT(e),n=t||{};try{if(ee.statSync(r).isDirectory())if(n.recursive){let s=ee.readdirSync(r);for(let o of s){let a=r.endsWith("/")?r+o:r+"/"+o;ee.statSync(a).isDirectory()?ee.rmSync(a,{recursive:!0}):ee.unlinkSync(a)}ee.rmdirSync(r)}else ee.rmdirSync(r);else ee.unlinkSync(r)}catch(i){if(n.force&&i.code==="ENOENT")return;throw i}},existsSync(e){let t=PX(e);if(!t)return!1;let r=ff(t);if(r==="/dev/null"||r==="/dev/zero"||r==="/dev/urandom"||r==="/dev/stdin"||r==="/dev/stdout"||r==="/dev/stderr")return!0;try{return!!Xt.exists.applySyncPromise(void 0,[r])}catch{return!1}},statSync(e,t){let r=me(e),n=ff(e),i;try{i=Xt.stat.applySyncPromise(void 0,[n])}catch(o){throw Ks(o)==="ENOENT"?$e("ENOENT",`ENOENT: no such file or directory, stat '${r}'`,"stat",r):o}let s=mf(i);return new IA(s)},lstatSync(e,t){let r=me(e),n=as(()=>Xt.lstat.applySyncPromise(void 0,[r]),"lstat",r),i=mf(n);return new IA(i)},unlinkSync(e){let t=me(e);Xt.unlink.applySyncPromise(void 0,[t])},renameSync(e,t){let r=ff(me(e,"oldPath")),n=ff(me(t,"newPath"));Xt.rename.applySyncPromise(void 0,[r,n])},copyFileSync(e,t,r){let n=ee.readFileSync(e);ee.writeFileSync(t,n)},cpSync(e,t,r){let n=CT(e),i=CT(t),s=r||{};if(ee.statSync(n).isDirectory()){if(!s.recursive)throw $e("ERR_FS_EISDIR",`Path is a directory: cp '${n}'`,"cp",n);try{ee.mkdirSync(i,{recursive:!0})}catch{}let a=ee.readdirSync(n);for(let f of a){let u=n.endsWith("/")?n+f:n+"/"+f,c=i.endsWith("/")?i+f:i+"/"+f;ee.cpSync(u,c,s)}}else{if(s.errorOnExist&&ee.existsSync(i))throw $e("EEXIST",`EEXIST: file already exists, cp '${n}' -> '${i}'`,"cp",i);if(!s.force&&s.force!==void 0&&ee.existsSync(i))return;ee.copyFileSync(n,i)}},mkdtempSync(e,t){dr(t);let r=me(e,"prefix"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let i=0;i<10;i+=1){let s=gf.randomBytes(6),o="";for(let f of s)o+=n[f%n.length];let a=r+o;try{return as(()=>Xt.mkdir.applySyncPromise(void 0,[a,{recursive:!1,mode:BT(511)}]),"mkdir",a),a}catch(f){if(i<9&&(f?.code==="EEXIST"||Ks(f)==="EEXIST"))continue;throw f}}throw $e("EEXIST",`EEXIST: file already exists, mkdtemp '${r}'`,"mkdtemp",r)},opendirSync(e,t){let r=me(e);if(!ee.statSync(r).isDirectory())throw $e("ENOTDIR",`ENOTDIR: not a directory, opendir '${r}'`,"opendir",r);return new UX(r)},openSync(e,t,r){let n=ff(e),i=f3e(t??"r"),s=OX(r),o=i&ni?BT(s??438):s;try{return g3e.applySyncPromise(void 0,[n,i,o])}catch(a){let f=a?.message??String(a);throw f.includes("ENOENT")?$e("ENOENT",f,"open",n):f.includes("EMFILE")?$e("EMFILE",f,"open",n):Ks(a)==="ENXIO"?$e("ENXIO",f,"open",n):a}},closeSync(e){if(hr(e),!u6e(e))try{bee.applySyncPromise(void 0,[e])}catch(t){throw(t?.message??String(t)).includes("EBADF")?$e("EBADF","EBADF: bad file descriptor, close","close"):t}},readSync(e,t,r,n,i){let s=i3e(t,r,n,i),o;try{if(y0("_fsReadRaw")){let u=y3e.applySyncPromise(void 0,[e,s.length,s.position??null]);o=u instanceof Uint8Array?u:wt.Buffer.from(u)}else{let u=p3e.applySyncPromise(void 0,[e,s.length,s.position??null]);o=wt.Buffer.from(u,"base64")}}catch(u){let c=u?.message??String(u);throw c.includes("EBADF")?$e("EBADF",c,"read"):u}let a=new Uint8Array(s.buffer.buffer,s.buffer.byteOffset,s.buffer.byteLength),f=Math.min(o.length,s.length);return a.set(o.subarray(0,f),s.offset),f},writeSync(e,t,r,n,i){let s=qX(t,r,n,i),o;typeof s.buffer=="string"?o=wt.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 y0("_fsWriteRaw")?b3e.applySyncPromise(void 0,[e,o,a]):m3e.applySyncPromise(void 0,[e,J0(o),a])}catch(f){let u=f?.message??String(f);throw u.includes("EBADF")?$e("EBADF",u,"write"):f}},fstatSync(e){hr(e);let t;try{t=B3e.applySyncPromise(void 0,[e])}catch(r){throw(r?.message??String(r)).includes("EBADF")?$e("EBADF","EBADF: bad file descriptor, fstat","fstat"):r}return new IA(mf(t))},ftruncateSync(e,t){hr(e);try{C3e.applySyncPromise(void 0,[e,t])}catch(r){throw(r?.message??String(r)).includes("EBADF")?$e("EBADF","EBADF: bad file descriptor, ftruncate","ftruncate"):r}},fsyncSync(e){hr(e);try{jX.applySyncPromise(void 0,[e])}catch(t){throw(t?.message??String(t)).includes("EBADF")?$e("EBADF","EBADF: bad file descriptor, fsync","fsync"):t}},fdatasyncSync(e){hr(e);try{jX.applySyncPromise(void 0,[e])}catch(t){throw(t?.message??String(t)).includes("EBADF")?$e("EBADF","EBADF: bad file descriptor, fdatasync","fdatasync"):t}},readvSync(e,t,r){let n=hr(e),i=mB(t),s=0,a=Xs(r);for(let f of i){let u=f instanceof Uint8Array?f:new Uint8Array(f.buffer,f.byteOffset,f.byteLength),c=ee.readSync(n,u,0,u.byteLength,a);if(s+=c,a!==null&&(a+=c),c<u.byteLength)break}return s},statfsSync(e,t){let r=me(e);if(!ee.existsSync(r))throw $e("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=t&&typeof t=="object"?t:{},i=me(n.cwd??globalThis.process?.cwd?.()??".","options.cwd"),s=n.exclude;if(s!==void 0&&typeof s!="function"&&!Array.isArray(s))throw Ct("options.exclude","of type function or an Array",s);let o={cwd:i,exclude:s,excludeRegexes:Array.isArray(s)?s.map(f=>Eee(me(f,"options.exclude"))):[],withFileTypes:n.withFileTypes===!0},a=new Map;for(let f of r)h3e(me(f,"pattern"),o,a);return[...a.entries()].sort(([f],[u])=>f.localeCompare(u)).map(([,f])=>f)},chmodSync(e,t){let r=me(e),n=lf(t);as(()=>Xt.chmod.applySyncPromise(void 0,[r,n]),"chmod",r)},chownSync(e,t,r){let n=me(e),i=An("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),s=An("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0});as(()=>Xt.chown.applySyncPromise(void 0,[n,i,s]),"chown",n)},fchmodSync(e,t){let r=hr(e),n=V0.applySync(void 0,[r]);if(!n)throw $e("EBADF","EBADF: bad file descriptor","chmod");ee.chmodSync(n,lf(t))},fchownSync(e,t,r){let n=hr(e),i=V0.applySync(void 0,[n]);if(!i)throw $e("EBADF","EBADF: bad file descriptor","chown");ee.chownSync(i,t,r)},lchownSync(e,t,r){let n=me(e),i=An("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),s=An("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0});as(()=>Xt.chown.applySyncPromise(void 0,[n,i,s]),"chown",n)},linkSync(e,t){let r=me(e,"existingPath"),n=me(t,"newPath");as(()=>Xt.link.applySyncPromise(void 0,[r,n]),"link",n)},symlinkSync(e,t,r){let n=me(e,"target"),i=me(t);as(()=>Xt.symlink.applySyncPromise(void 0,[n,i]),"symlink",i)},readlinkSync(e,t){dr(t);let r=me(e);return as(()=>Xt.readlink.applySyncPromise(void 0,[r]),"readlink",r)},truncateSync(e,t){let r=me(e);as(()=>Xt.truncate.applySyncPromise(void 0,[r,t??0]),"truncate",r)},utimesSync(e,t,r){let n=me(e);as(()=>Xt.utimes.applySyncPromise(void 0,[n,ra(t,"atime"),ra(r,"mtime")]),"utimes",n)},lutimesSync(e,t,r){let n=me(e);as(()=>Xt.lutimes.applySyncPromise(void 0,[n,ra(t,"atime"),ra(r,"mtime")]),"lutimes",n)},futimesSync(e,t,r){let n=hr(e);as(()=>_3e.applySyncPromise(void 0,[n,ra(t,"atime"),ra(r,"mtime")]),"futimes")},readFile(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r)Ko(r),bB(e,t).then(n=>r(null,n),n=>r(n));else return Promise.resolve(ee.readFileSync(e,t))},writeFile(e,t,r,n){if(typeof r=="function"&&(n=r,r=void 0),n){me(e),dr(r);try{ee.writeFileSync(e,t,r),n(null)}catch(i){n(i)}}else return Promise.resolve(ee.writeFileSync(e,t,r))},appendFile(e,t,r,n){if(typeof r=="function"&&(n=r,r=void 0),n){me(e),dr(r);try{ee.appendFileSync(e,t,r),n(null)}catch(i){n(i)}}else return Promise.resolve(ee.appendFileSync(e,t,r))},readdir(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r){me(e),dr(t);try{r(null,ee.readdirSync(e,t))}catch(n){r(n)}}else return Promise.resolve(ee.readdirSync(e,t))},mkdir(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r){me(e);try{ee.mkdirSync(e,t),r(null)}catch(n){r(n)}}else return ee.mkdirSync(e,t),Promise.resolve()},rmdir(e,t){if(t){me(e);let r=t;try{ee.rmdirSync(e),queueMicrotask(()=>r(null))}catch(n){queueMicrotask(()=>r(n))}}else return Promise.resolve(ee.rmdirSync(e))},rm(e,t,r){let n={},i;typeof t=="function"?i=t:(t&&(n=t),i=r);let s=()=>{try{if(ee.statSync(e).isDirectory())if(n.recursive){let a=ee.readdirSync(e);for(let f of a){let u=e.endsWith("/")?e+f:e+"/"+f;ee.statSync(u).isDirectory()?ee.rmSync(u,{recursive:!0}):ee.unlinkSync(u)}ee.rmdirSync(e)}else ee.rmdirSync(e);else ee.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(Ko(t,"cb"),e===void 0)throw Ct("path","of type string or an instance of Buffer or URL",e);queueMicrotask(()=>t(!!(PX(e)&&ee.existsSync(e))))},stat(e,t){Ko(t,"cb"),me(e);let r=t;try{let n=ee.statSync(e);queueMicrotask(()=>r(null,n))}catch(n){queueMicrotask(()=>r(n))}},lstat(e,t){if(t){let r=t;try{let n=ee.lstatSync(e);queueMicrotask(()=>r(null,n))}catch(n){queueMicrotask(()=>r(n))}}else return Promise.resolve(ee.lstatSync(e))},unlink(e,t){if(t){me(e);let r=t;try{ee.unlinkSync(e),queueMicrotask(()=>r(null))}catch(n){queueMicrotask(()=>r(n))}}else return Promise.resolve(ee.unlinkSync(e))},rename(e,t,r){if(r){me(e,"oldPath"),me(t,"newPath");let n=r;try{ee.renameSync(e,t),queueMicrotask(()=>n(null))}catch(i){queueMicrotask(()=>n(i))}}else return Promise.resolve(ee.renameSync(e,t))},copyFile(e,t,r){if(r)try{ee.copyFileSync(e,t),r(null)}catch(n){r(n)}else return Promise.resolve(ee.copyFileSync(e,t))},cp(e,t,r,n){if(typeof r=="function"&&(n=r,r=void 0),n)try{ee.cpSync(e,t,r),n(null)}catch(i){n(i)}else return Promise.resolve(ee.cpSync(e,t,r))},mkdtemp(e,t,r){typeof t=="function"&&(r=t,t=void 0),Ko(r,"cb"),dr(t);try{r(null,ee.mkdtempSync(e,t))}catch(n){r(n)}},opendir(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r)try{r(null,ee.opendirSync(e,t))}catch(n){r(n)}else return Promise.resolve(ee.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),Ko(n,"cb"),me(e),OX(s);let o=n;try{let a=ee.openSync(e,i,s);queueMicrotask(()=>o(null,a))}catch(a){queueMicrotask(()=>o(a))}},close(e,t){hr(e),Ko(t,"cb");let r=t;try{ee.closeSync(e),queueMicrotask(()=>r(null))}catch(n){queueMicrotask(()=>r(n))}},read(e,t,r,n,i,s){if(typeof t=="function")s=t,t=wt.Buffer.alloc(EN),r=0,n=t.byteLength,i=null;else if(t!==null&&typeof t=="object"&&!ArrayBuffer.isView(t)){let o=t;s=typeof r=="function"?r:s,t=o.buffer??wt.Buffer.alloc(EN),r=o.offset??0,n=o.length??t.byteLength-r,i=o.position??null}if(s){Ko(s);let o=s;if(e===0&&i==null&&typeof _kernelStdinRead<"u"){let f=new Uint8Array(t.buffer,t.byteOffset+r,n);_kernelStdinRead.apply(void 0,[n,null],{result:{promise:!0}}).then(u=>{if(u==null){queueMicrotask(()=>o($e("EAGAIN","EAGAIN: stdin readiness wait returned without data","read")));return}if(u?.done){queueMicrotask(()=>o(null,0,t));return}let c=String(u?.dataBase64??"");if(!c){queueMicrotask(()=>o($e("EAGAIN","EAGAIN: stdin readiness wait returned an empty payload","read")));return}let h=wt.Buffer.from(c,"base64"),y=Math.min(n,h.length);f.set(h.subarray(0,y),0),queueMicrotask(()=>o(null,y,t))},u=>{queueMicrotask(()=>o(u))});return}let a=()=>{try{let f=ee.readSync(e,t,r,n,i);queueMicrotask(()=>o(null,f,t))}catch(f){if((f?.message??String(f)).includes("EAGAIN")&&d3e("_kernelPoll")){D3e.apply(void 0,[[{fd:e,events:LLe}],null]).then(()=>a(),c=>queueMicrotask(()=>o(c)));return}queueMicrotask(()=>o(f))}};a()}else return Promise.resolve(ee.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=qX(t,r,n,i),a=s;try{let f=ee.writeSync(e,t,r,n,i);queueMicrotask(()=>a(null,f))}catch(f){queueMicrotask(()=>a(f))}}else return Promise.resolve(ee.writeSync(e,t,r,n,i))},writev(e,t,r,n){typeof r=="function"&&(n=r,r=null);let i=hr(e),s=mB(t),o=Xs(r);if(n)try{let a=ee.writevSync(i,s,o);queueMicrotask(()=>n(null,a,s))}catch(a){queueMicrotask(()=>n(a))}else return Promise.resolve(ee.writevSync(i,s,o))},writevSync(e,t,r){let n=hr(e),i=mB(t);if(y0("_fsWritevRaw")){let a=Xs(r),f=z3e(i);return I3e.applySyncPromise(void 0,[n,f,a])}let s=Xs(r),o=0;for(let a of i){let f=a instanceof Uint8Array?a:new Uint8Array(a.buffer,a.byteOffset,a.byteLength);o+=ee.writeSync(n,f,0,f.length,s),s!==null&&(s+=f.length)}return o},fstat(e,t){if(t)try{t(null,ee.fstatSync(e))}catch(r){t(r)}else return Promise.resolve(ee.fstatSync(e))},fsync(e,t){hr(e),Ko(t,"cb");try{ee.fsyncSync(e),t(null)}catch(r){t(r)}},fdatasync(e,t){hr(e),Ko(t,"cb");try{ee.fdatasyncSync(e),t(null)}catch(r){t(r)}},readv(e,t,r,n){typeof r=="function"&&(n=r,r=null);let i=hr(e),s=mB(t),o=Xs(r);if(n)try{let a=ee.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,ee.statfsSync(e,t))}catch(n){r(n)}else return Promise.resolve(ee.statfsSync(e,t))},glob(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r)try{r(null,ee.globSync(e,t))}catch(n){r(n)}},promises:{async readFile(e,t){return e instanceof ia?e.readFile(t):bB(e,t)},async writeFile(e,t,r){return e instanceof ia?e.writeFile(t,r):_T(e,t,r)},async appendFile(e,t,r){if(e instanceof ia)return e.appendFile(t,r);let n=await bB(e,"utf8").catch(s=>s?.code==="ENOENT"?"":Promise.reject(s)),i=typeof t=="string"?t:String(t);await _T(e,n+i,r)},async readdir(e,t){return M3e(e,t)},async mkdir(e,t){return x3e(e,t)},async rmdir(e){return k3e(e)},async stat(e){return F3e(e)},async lstat(e){return U3e(e)},async unlink(e){return L3e(e)},async rename(e,t){return P3e(e,t)},async copyFile(e,t){let r=await bB(e);await _T(t,r)},async cp(e,t,r){return ee.cpSync(e,t,r)},async mkdtemp(e,t){return ee.mkdtempSync(e,t)},async opendir(e,t){return ee.opendirSync(e,t)},async open(e,t,r){return new ia(ee.openSync(e,t??"r",r))},async statfs(e,t){return ee.statfsSync(e,t)},async glob(e,t){return ee.globSync(e,t)},async access(e){return O3e(e)},async rm(e,t){return ee.rmSync(e,t)},async chmod(e,t){return H3e(e,t)},async chown(e,t,r){return q3e(e,t,r)},async lchown(e,t,r){return ee.lchownSync(e,t,r)},async lutimes(e,t,r){return j3e(e,t,r)},async link(e,t){return G3e(e,t)},async symlink(e,t){return Y3e(e,t)},async readlink(e){return W3e(e)},async realpath(e,t){return ee.realpathSync(e,t)},async truncate(e,t){return V3e(e,t)},async utimes(e,t,r){return J3e(e,t,r)},watch(e,t){return n3e(e,t)}},accessSync(e){if(!ee.existsSync(e))throw $e("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{ee.accessSync(e),r(null)}catch(n){r(n)}else return ee.promises.access(e)},realpathSync:Object.assign(function(t,r){dr(r);let n=40,i=0,s=me(t),o=[];for(let f of s.split("/"))!f||f==="."||(f===".."?o.length>0&&o.pop():o.push(f));let a=[];for(;o.length>0;){let f=o.shift();if(f===".")continue;if(f===".."){a.length>0&&a.pop();continue}a.push(f);let u="/"+a.join("/");try{if(ee.lstatSync(u).isSymbolicLink()){if(++i>n){let b=new Error(`ELOOP: too many levels of symbolic links, realpath '${s}'`);throw b.code="ELOOP",b.syscall="realpath",b.path=s,b}let h=ee.readlinkSync(u),y=h.split("/").filter(Boolean);h.startsWith("/")?a.length=0:a.pop(),o.unshift(...y)}}catch(c){let h=c;if(h.code==="ELOOP")throw c;if(h.code==="ENOENT"||h.code==="ENOTDIR"){let y=new Error(`ENOENT: no such file or directory, realpath '${s}'`);throw y.code="ENOENT",y.syscall="realpath",y.path=s,y}break}}return"/"+a.join("/")||"/"},{native(e,t){return dr(t),ee.realpathSync(e)}}),realpath:Object.assign(function(t,r,n){let i;if(typeof r=="function"?n=r:i=r,n)dr(i),n(null,ee.realpathSync(t,i));else return Promise.resolve(ee.realpathSync(t,i))},{native(e,t,r){let n;if(typeof t=="function"?r=t:n=t,r)dr(n),r(null,ee.realpathSync.native(e,n));else return Promise.resolve(ee.realpathSync.native(e,n))}}),ReadStream:pee,WriteStream:yee,createReadStream:function(t,r){let n=typeof r=="string"?{encoding:r}:r;dr(n);let i=hC(n?.fd),s=GX(t,i);return new kC(s,n)},createWriteStream:function(t,r){let n=typeof r=="string"?{encoding:r}:r;dr(n),dee(n??{});let i=hC(n?.fd),s=GX(t,i);return new FC(s,n)},watch(...e){let{path:t,listener:r,options:n}=WLe(e[0],e[1],e[2]),i=t3e(t,n);return r&&i.on("change",r),i},watchFile(...e){let{path:t,listener:r,options:n}=VLe(e[0],e[1],e[2]);return r3e(t,n,r)},unwatchFile(...e){let t=me(e[0]),r=e[1];if(r!==void 0&&typeof r!="function")throw Ct("listener","of type function",r);let n=Y0.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){me(e),lf(t);try{ee.chmodSync(e,t),r(null)}catch(n){r(n)}}else return Promise.resolve(ee.chmodSync(e,t))},chown(e,t,r,n){if(n){me(e),An("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),An("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0});try{ee.chownSync(e,t,r),n(null)}catch(i){n(i)}}else return Promise.resolve(ee.chownSync(e,t,r))},fchmod(e,t,r){if(r){hr(e),lf(t);try{ee.fchmodSync(e,t),r(null)}catch(n){r(n)}}else return hr(e),lf(t),Promise.resolve(ee.fchmodSync(e,t))},fchown(e,t,r,n){if(n){hr(e),An("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),An("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0});try{ee.fchownSync(e,t,r),n(null)}catch(i){n(i)}}else return hr(e),An("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),An("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0}),Promise.resolve(ee.fchownSync(e,t,r))},lchown(e,t,r,n){if(arguments.length>=4){Ko(n,"cb"),me(e),An("uid",t,{min:-1,max:4294967295,allowNegativeOne:!0}),An("gid",r,{min:-1,max:4294967295,allowNegativeOne:!0});try{ee.lchownSync(e,t,r),n(null)}catch(i){n(i)}}else return Promise.resolve(ee.lchownSync(e,t,r))},link(e,t,r){if(r){me(e,"existingPath"),me(t,"newPath");try{ee.linkSync(e,t),r(null)}catch(n){r(n)}}else return Promise.resolve(ee.linkSync(e,t))},symlink(e,t,r,n){if(typeof r=="function"&&(n=r),n)try{ee.symlinkSync(e,t),n(null)}catch(i){n(i)}else return Promise.resolve(ee.symlinkSync(e,t))},readlink(e,t,r){if(typeof t=="function"&&(r=t,t=void 0),r){me(e),dr(t);try{r(null,ee.readlinkSync(e,t))}catch(n){r(n)}}else return Promise.resolve(ee.readlinkSync(e,t))},truncate(e,t,r){if(typeof t=="function"&&(r=t,t=0),r)try{ee.truncateSync(e,t),r(null)}catch(n){r(n)}else return Promise.resolve(ee.truncateSync(e,t))},utimes(e,t,r,n){if(n)try{ee.utimesSync(e,t,r),n(null)}catch(i){n(i)}else return Promise.resolve(ee.utimesSync(e,t,r))},lutimes(e,t,r,n){if(n)try{ee.lutimesSync(e,t,r),n(null)}catch(i){n(i)}else return Promise.resolve(ee.lutimesSync(e,t,r))},futimes(e,t,r,n){if(n)try{ee.futimesSync(e,t,r),n(null)}catch(i){n(i)}else return Promise.resolve(ee.futimesSync(e,t,r))}};mee=e=>ee.readdirSync(e,{withFileTypes:!0});_N=e=>ee.statSync(e);var wM=ee;ot("_fsModule",wM);var Zo={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 K3e(){return globalThis.process?.env?.HOME||us("homedir",Zo.homedir)}function X3e(){return globalThis.process?.env?.TMPDIR||us("tmpdir",Zo.tmpdir)}function $3e(){return us("homedir",Zo.homedir)}function Z3e(){return us("user",globalThis.process?.env?.USER||globalThis.process?.env?.LOGNAME||"user")}function e6e(){return us("shell",globalThis.process?.env?.SHELL||"/bin/sh")}function wN(){let e=globalThis.process?.uid;return Number.isFinite(e)?e:0}function LB(){let e=globalThis.process?.gid;return Number.isFinite(e)?e:0}function Iee(){return globalThis.__agentOSVirtualOs||{}}function us(e,t){let r=Iee()[e];return typeof r=="string"&&r.length>0?r:t}function SM(e,t){let r=Number(Iee()[e]);return Number.isSafeInteger(r)&&r>0?r:t}function zX(){return SM("cpuCount",1)}function Bee(){return SM("totalmem",1073741824)}function t6e(){return Math.min(SM("freemem",536870912),Bee())}var Cee={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},KX={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 UC(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=KX[e];if(t)return{bridgeSignal:t,signalCode:t};throw new Error("Unknown signal: "+e)}if(typeof e=="string"){let t=Cee[e];if(t!==void 0){let r=KX[t]??e;return{bridgeSignal:r,signalCode:r}}}throw new Error("Unknown signal: "+e)}var r6e={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},n6e={PRIORITY_LOW:19,PRIORITY_BELOW_NORMAL:10,PRIORITY_NORMAL:0,PRIORITY_ABOVE_NORMAL:-7,PRIORITY_HIGH:-14,PRIORITY_HIGHEST:-20},_ee={platform(){return us("platform",Zo.platform)},arch(){return us("arch",Zo.arch)},type(){return us("type",Zo.type)},release(){return us("release",Zo.release)},version(){return us("version",Zo.version)},homedir(){return K3e()},tmpdir(){return X3e()},hostname(){return us("hostname",Zo.hostname)},userInfo(e){return{username:Z3e(),uid:wN(),gid:LB(),shell:e6e(),homedir:$3e()}},cpus(){return Array.from({length:zX()},()=>({model:"Virtual CPU",speed:2e3,times:{user:1e5,nice:0,sys:5e4,idle:8e5,irq:0}}))},totalmem(){return Bee()},freemem(){return t6e()},loadavg(){return[.1,.1,.1]},uptime(){return 3600},networkInterfaces(){return{}},endianness(){return"LE"},EOL:`
`,devNull:"/dev/null",machine(){return us("machine",Zo.machine)},constants:{signals:Cee,errno:r6e,priority:n6e,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 zX()}};ot("_osModule",_ee);var i6e=_ee,wee={};HN(wee,{ChildProcess:()=>vM,default:()=>y6e,exec:()=>Qee,execFile:()=>EC,execFileSync:()=>Ree,execSync:()=>vee,fork:()=>Dee,spawn:()=>ay,spawnSync:()=>RM});var SN=new Map,dA=new Map,s6e=64,o6e=256,wT=1e3,XX=Symbol.for("agentos.childProcessEventRoutes"),a6e=(()=>{let e=globalThis[XX];if(e instanceof Map)return e;let t=new Map;return Object.defineProperty(globalThis,XX,{value:t,configurable:!1,enumerable:!1,writable:!1}),t})();function $X(e,t){let r=a6e.get(t?.sessionId);if(typeof r=="function")try{r(e,t)}catch(n){queueMicrotask(()=>{throw n})}}var j0=new Map;function f6e(e,t=!1){if(typeof e!="number")return;let r=j0.get(e);r?(r.holders+=1,r.closePending||(r.closePending=t)):j0.set(e,{holders:1,closePending:t})}function u6e(e){let t=j0.get(e);return t?(t.closePending=!0,!0):!1}function c6e(e){let t=j0.get(e);if(t&&(t.holders-=1,!(t.holders>0)&&(j0.delete(e),t.closePending)))try{bee.applySyncPromise(void 0,[e])}catch{}}function ZX(e){if(typeof e!="number")return null;try{let t=V0.applySyncPromise(void 0,[e]);return typeof t=="string"&&t.startsWith("/")?t:null}catch{return null}}function A6e(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 l6e(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 QN="AGENTOS_IPC:",dC=65536,gC=512;function pC(e){let t=new Error(`ERR_RESOURCE_BUDGET_EXCEEDED: advanced child_process IPC message exceeds ${e}`);return t.code="ERR_RESOURCE_BUDGET_EXCEEDED",t}function h6e(e){let t=new Map,r=[];function n(i,s){if(s>gC)throw pC(`maximum graph depth ${gC}`);if(i===null||typeof i=="string"||typeof i=="boolean")return i;if(typeof i=="number")return Number.isNaN(i)?{$t:"nan"}:i===1/0?{$t:"+inf"}:i===-1/0?{$t:"-inf"}:Object.is(i,-0)?{$t:"-0"}:i;if(typeof i>"u")return{$t:"undefined"};if(typeof i=="bigint")return{$t:"bigint",value:String(i)};if(typeof i=="function"||typeof i=="symbol"){let u=new TypeError(`${typeof i} could not be cloned by advanced child_process IPC`);throw u.code="ERR_IPC_MESSAGE_SERIALIZATION",u}let o=t.get(i);if(o!==void 0)return{$r:o};if(r.length>=dC)throw pC(`maximum graph nodes ${dC}`);let a=r.length;t.set(i,a),r.push(null);let f;if(Array.isArray(i))f={type:"array",values:i.map(u=>n(u,s+1))};else if(i instanceof Date)f={type:"date",value:i.toISOString()};else if(i instanceof RegExp)f={type:"regexp",source:i.source,flags:i.flags,lastIndex:i.lastIndex};else if(typeof Buffer<"u"&&Buffer.isBuffer(i))f={type:"buffer",value:i.toString("base64")};else if(i instanceof ArrayBuffer){let u=new Uint8Array(i);f={type:"arraybuffer",value:typeof Buffer<"u"?Buffer.from(u).toString("base64"):btoa(String.fromCharCode(...u))}}else if(ArrayBuffer.isView(i)){let u=new Uint8Array(i.buffer,i.byteOffset,i.byteLength);f={type:"typedarray",name:i.constructor?.name||"Uint8Array",value:typeof Buffer<"u"?Buffer.from(u).toString("base64"):btoa(String.fromCharCode(...u))}}else i instanceof Map?f={type:"map",values:Array.from(i,([u,c])=>[n(u,s+1),n(c,s+1)])}:i instanceof Set?f={type:"set",values:Array.from(i,u=>n(u,s+1))}:i instanceof Error?f={type:"error",name:i.name,message:i.message,stack:i.stack,values:Object.keys(i).map(u=>[u,n(i[u],s+1)])}:f={type:"object",values:Object.keys(i).map(u=>[u,n(i[u],s+1)])};return r[a]=f,{$r:a}}return JSON.stringify({__agentOSAdvancedIpc:1,root:n(e,0),nodes:r})}function d6e(e){if(!Array.isArray(e.nodes)||e.nodes.length>dC)throw pC(`maximum graph nodes ${dC}`);let t=e.nodes.map(n=>{switch(n?.type){case"array":return[];case"date":return new Date(n.value);case"regexp":{let i=new RegExp(n.source,n.flags);return i.lastIndex=n.lastIndex||0,i}case"buffer":return typeof Buffer<"u"?Buffer.from(n.value,"base64"):Uint8Array.from(atob(n.value),i=>i.charCodeAt(0));case"arraybuffer":{let i=typeof Buffer<"u"?Buffer.from(n.value,"base64"):Uint8Array.from(atob(n.value),s=>s.charCodeAt(0));return Uint8Array.from(i).buffer}case"typedarray":{let i=typeof Buffer<"u"?Buffer.from(n.value,"base64"):Uint8Array.from(atob(n.value),a=>a.charCodeAt(0)),s=globalThis[n.name],o=Uint8Array.from(i).buffer;return typeof s=="function"&&s.BYTES_PER_ELEMENT?new s(o):new Uint8Array(o)}case"map":return new Map;case"set":return new Set;case"error":{let i=new Error(n.message);return i.name=n.name||"Error",n.stack!==void 0&&(i.stack=n.stack),i}default:return{}}});function r(n,i){if(i>gC)throw pC(`maximum graph depth ${gC}`);if(n===null||typeof n!="object")return n;if(Object.prototype.hasOwnProperty.call(n,"$r")){if(!Number.isInteger(n.$r)||n.$r<0||n.$r>=t.length)throw new TypeError("invalid advanced child_process IPC reference");return t[n.$r]}switch(n.$t){case"undefined":return;case"nan":return NaN;case"+inf":return 1/0;case"-inf":return-1/0;case"-0":return-0;case"bigint":return BigInt(n.value);default:return n}}for(let n=0;n<e.nodes.length;n+=1){let i=e.nodes[n],s=t[n];if(i.type==="array")for(let o of i.values)s.push(r(o,1));else if(i.type==="object"||i.type==="error")for(let[o,a]of i.values||[])s[o]=r(a,1);else if(i.type==="map")for(let[o,a]of i.values)s.set(r(o,1),r(a,1));else if(i.type==="set")for(let o of i.values)s.add(r(o,1))}return r(e.root,0)}function QM(e,t){let n=(t??globalThis.__agentOSProcessConfigEnv?.AGENTOS_NODE_IPC_SERIALIZATION)==="advanced"?h6e(e):JSON.stringify(e),i=typeof Buffer<"u"?Buffer.from(n,"utf8").toString("base64"):btoa(n);return`${QN}${i}
`}function g6e(e){let t=typeof Buffer<"u"?Buffer.from(e,"base64").toString("utf8"):atob(e),r=JSON.parse(t);return r?.__agentOSAdvancedIpc===1?d6e(r):r}function See(e,t){let r=`${e}${typeof Buffer<"u"?Buffer.from(t).toString("utf8"):String(t)}`,n=[],i=[],s=0;for(;;){let o=r.indexOf(QN,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+QN.length,f=r.indexOf(`
`,a);if(f===-1)return{buffer:r.slice(o),messages:n,output:i.join("")};try{n.push(g6e(r.slice(a,f)))}catch{i.push(r.slice(o,f+1))}s=f+1}}function ST(e,t,r=null){let n=typeof Buffer<"u"&&Buffer.isBuffer(t)?t:typeof Buffer<"u"?Buffer.from(t):t;if(typeof r=="string")try{return ee.appendFileSync(r,n),!0}catch{}if(typeof e!="number")return!1;try{ee.writeSync(e,n,0,n.length,null)}catch{return!1}return!0}function yC(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;ee.writeSync(e,r,0,r.length,null)}catch{}return!0}function PB(e,t,r){let n=SN.get(e);if(!n){let i=dA.get(e);i||(dA.size>=s6e&&dA.delete(dA.keys().next().value),i=[],dA.set(e,i)),i.length<o6e&&i.push({type:t,data:r});return}if(t==="stdout"){let i=typeof Buffer<"u"?Buffer.from(r):r;if(n._ipcEnabled){let s=See(n._ipcStdoutBuffer,i);n._ipcStdoutBuffer=s.buffer;for(let a of s.messages){if(a?.__agentOSControl==="ipc-ready"){n._ipcReady=!0,n._flushIpcOutboundQueue();continue}n._emitOrQueueIpcMessage(a)}if(s.output.length===0)return;let o=typeof Buffer<"u"?Buffer.from(s.output,"utf8"):s.output;if(ST(n._stdoutFd,o,n._stdoutPath))return;n.stdout.emit("data",o);return}if(ST(n._stdoutFd,i,n._stdoutPath))return;n.stdout.emit("data",i)}else if(t==="stderr"){let i=typeof Buffer<"u"?Buffer.from(r):r;if(ST(n._stderrFd,i,n._stderrPath))return;n.stderr.emit("data",i)}else if(t==="exit"){let i=r&&typeof r=="object"?r.signal??null:null,s=r&&typeof r=="object"?r.code:r;if(n._exitScheduled)return;n._exitScheduled=!0;let o=Date.now()+wT,a=()=>{let f=[n.stdout,n.stderr].some(h=>h._bufferedChunks.length>0&&na(h,"readable"));if(f&&Date.now()<o){si(n.stdout),si(n.stderr),setTimeout(a,0);return}f&&typeof console<"u"&&console.error(`ERR_AGENTOS_CHILD_STDIO_DRAIN_TIMEOUT: child ${e} output was not consumed within ${wT}ms`);let u=n.connected;if(n.connected=!1,n._pendingSignalCode=null,n.signalCode=i,n.exitCode=i==null?s:null,n.stdin.writable=!1,n.stdin.destroyed=!0,u&&n.emit("disconnect"),Array.isArray(n._inheritedFds)){for(let h of n._inheritedFds)c6e(h);n._inheritedFds=[]}n.stdout.emit("end"),n.stderr.emit("end");let c=()=>{let h=[n.stdout,n.stderr].some(y=>y._bufferedChunks.length>0&&na(y,"readable"));if(h&&Date.now()<o){si(n.stdout),si(n.stderr),setTimeout(c,0);return}h&&typeof console<"u"&&console.error(`ERR_AGENTOS_CHILD_STDIO_DRAIN_TIMEOUT: child ${e} output was not consumed within ${wT}ms`),n.emit("exit",n.exitCode,n.signalCode),n.emit("close",n.exitCode,n.signalCode),SN.delete(e),typeof _unregisterHandle=="function"&&_unregisterHandle(`child:${e}`)};setTimeout(c,0)};setTimeout(a,0)}}var p6e=(e,t,r)=>{if(typeof e=="number"){PB(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=A6e(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(f=>f.charCodeAt(0)))}PB(i,e==="child_stdout"?"stdout":"stderr",o),$X(e,{sessionId:i,data: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;PB(i,"exit",{code:s,signal:o}),$X(e,{sessionId:i,code:s,signal:o})}}};ot("_childProcessDispatch",p6e);function na(e,t){return(e._listeners[t]?.length??0)>0||(e._onceListeners[t]?.length??0)>0}function e$(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 si(e){e._flushScheduled||(e._flushScheduled=!0,queueMicrotask(()=>{if(e._flushScheduled=!1,e._bufferedChunks.length>0&&na(e,"data")){let t=e._bufferedChunks.splice(0,e._bufferedChunks.length);for(let r of t)e.emit("data",r)}else e._bufferedChunks.length>0&&na(e,"readable")&&e.emit("readable");e._ended&&!e._endEmitted&&e._bufferedChunks.length===0&&e.emit("end")}))}function t$(e,t){let r=e._bufferedChunks.shift();if(r===void 0)return null;if(Number.isInteger(t)&&t>0&&r.length>t){let n=typeof r=="string"?r.slice(0,t):r.subarray(0,t),i=typeof r=="string"?r.slice(t):r.subarray(t);return e._bufferedChunks.unshift(i),n}return e._ended&&e._bufferedChunks.length===0&&si(e),r}function IB(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 r$(e){let t=[],r=[],n=[],i=!1,s=()=>{for(;n.length>0;){let u=n.shift();if(r.length>0){u(Promise.reject(r.shift()));continue}if(t.length>0){u(Promise.resolve({done:!1,value:t.shift()}));continue}if(i){u(Promise.resolve({done:!0,value:void 0}));continue}n.unshift(u);break}},o=u=>{t.push(u),s()},a=()=>{i=!0,s()},f=u=>{r.push(u),i=!0,s()};return e.on("data",o),e.on("end",a),e.on("close",a),e.on("error",f),si(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(u=>{n.push(u)})},return(){return e.off("data",o),e.off("end",a),e.off("close",a),e.off("error",f),i=!0,s(),Promise.resolve({done:!0,value:void 0})},[Symbol.asyncIterator](){return this}}}var nd=1e3,vM=class{constructor(){m(this,"_listeners",{});m(this,"_onceListeners",{});m(this,"_maxListeners",10);m(this,"_maxListenersWarned",new Set);m(this,"pid",nd++);m(this,"killed",!1);m(this,"exitCode",null);m(this,"signalCode",null);m(this,"_pendingSignalCode",null);m(this,"connected",!1);m(this,"_sessionId",null);m(this,"_handleId",null);m(this,"_handleDescription","");m(this,"_handleRefed",!1);m(this,"_ipcEnabled",!1);m(this,"_ipcSerialization","json");m(this,"_ipcReady",!1);m(this,"_ipcStdoutBuffer","");m(this,"_ipcQueuedMessages",[]);m(this,"_ipcOutboundQueue",[]);m(this,"_ipcOutboundBytes",0);m(this,"spawnfile","");m(this,"spawnargs",[]);m(this,"stdin");m(this,"stdout");m(this,"stderr");m(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},addListener(e,t){return this.on(e,t)},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,readableEnded:!1,isTTY:!1,destroyed:!1,_listeners:{},_onceListeners:{},_bufferedChunks:[],_ended:!1,_endEmitted:!1,_flushScheduled:!1,_maxListeners:10,_maxListenersWarned:new Set,_pipeListeners:new Map,on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),IB(this,e),(e==="data"||e==="readable"||e==="end")&&si(this),this},addListener(e,t){return this.on(e,t)},once(e,t){return this._onceListeners[e]||(this._onceListeners[e]=[]),this._onceListeners[e].push(t),IB(this,e),(e==="data"||e==="readable"||e==="end")&&si(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){if(e==="data"&&(t[0]=e$(this,t[0]),!na(this,"data")))return this._bufferedChunks.push(t[0]),na(this,"readable")&&si(this),!1;if(e==="end"){if(this._ended=!0,this._bufferedChunks.length>0)return si(this),!1;if(this._endEmitted||(this._endEmitted=!0,this.readableEnded=!0,this.readable=!1,!na(this,"end")))return!1}return 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(e){return t$(this,e)},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){if(!this._pipeListeners.has(e)){let t=r=>e?.write?.(r);this._pipeListeners.set(e,t),this.on("data",t)}return e},unpipe(e){if(e===void 0){for(let[r,n]of this._pipeListeners)this.off("data",n),r?.emit?.("unpipe",this);return this._pipeListeners.clear(),this}let t=this._pipeListeners.get(e);return t&&(this.off("data",t),this._pipeListeners.delete(e),e?.emit?.("unpipe",this)),this},pause(){return this},resume(){return this},destroy(){return this.readable=!1,this._ended=!0,this.destroyed=!0,this.emit("close"),this},[Symbol.asyncIterator](){return r$(this)}},this.stderr={readable:!0,readableEnded:!1,isTTY:!1,destroyed:!1,_listeners:{},_onceListeners:{},_bufferedChunks:[],_ended:!1,_endEmitted:!1,_flushScheduled:!1,_maxListeners:10,_maxListenersWarned:new Set,_pipeListeners:new Map,on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),IB(this,e),(e==="data"||e==="readable"||e==="end")&&si(this),this},addListener(e,t){return this.on(e,t)},once(e,t){return this._onceListeners[e]||(this._onceListeners[e]=[]),this._onceListeners[e].push(t),IB(this,e),(e==="data"||e==="readable"||e==="end")&&si(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){if(e==="data"&&(t[0]=e$(this,t[0]),!na(this,"data")))return this._bufferedChunks.push(t[0]),na(this,"readable")&&si(this),!1;if(e==="end"){if(this._ended=!0,this._bufferedChunks.length>0)return si(this),!1;if(this._endEmitted||(this._endEmitted=!0,this.readableEnded=!0,this.readable=!1,!na(this,"end")))return!1}return 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(e){return t$(this,e)},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){if(!this._pipeListeners.has(e)){let t=r=>e?.write?.(r);this._pipeListeners.set(e,t),this.on("data",t)}return e},unpipe(e){if(e===void 0){for(let[r,n]of this._pipeListeners)this.off("data",n),r?.emit?.("unpipe",this);return this._pipeListeners.clear(),this}let t=this._pipeListeners.get(e);return t&&(this.off("data",t),this._pipeListeners.delete(e),e?.emit?.("unpipe",this)),this},pause(){return this},resume(){return this},destroy(){return this.readable=!1,this._ended=!0,this.destroyed=!0,this.emit("close"),this},[Symbol.asyncIterator](){return r$(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}addListener(e,t){return this.on(e,t)}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)})}_flushIpcOutboundQueue(){for(;this._ipcReady&&this._ipcOutboundQueue.length>0;){let e=this._ipcOutboundQueue.shift();this._ipcOutboundBytes-=e.frame.length,this.stdin.write(e.frame,"utf8",e.callback)}}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=UC(e);return this.killed=!0,this._pendingSignalCode=t.signalCode,!0}ref(){return!this._handleRefed&&this._handleId&&typeof _registerHandle=="function"&&(_registerHandle(this._handleId,this._handleDescription),this._handleRefed=!0),this}unref(){return 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=QM(e,this._ipcSerialization);if(!this._ipcReady){if(this._ipcOutboundQueue.length>=1024||this._ipcOutboundBytes+s.length>8*1024*1024){let o=new Error("ERR_RESOURCE_BUDGET_EXCEEDED: pre-ready child_process IPC queue exceeds 1024 messages or 8388608 bytes; wait for the child spawn/IPC channel before sending more data");return o.code="ERR_RESOURCE_BUDGET_EXCEEDED",queueMicrotask(i?()=>i(o):()=>this.emit("error",o)),!1}return this._ipcOutboundQueue.push({frame:s,callback:i}),this._ipcOutboundBytes+=s.length,!0}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.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.emit("exit",this.exitCode,this.signalCode),this.stdout.emit("end"),this.stderr.emit("end"),queueMicrotask(()=>this.emit("close",this.exitCode,this.signalCode))}};function Qee(e,t,r){typeof t=="function"&&(r=t,t={});let n=ay(e,[],{...t,shell:!0});n.spawnargs=[e],n.spawnfile=e;let i=t?.maxBuffer??1024*1024,s="",o="",a=0,f=0,u=!1,c=!1,h=null,y=b=>{!r||c||(c=!0,r(b,s,o))};return n.stdout.on("data",b=>{if(u)return;let S=String(b);s+=S,a+=S.length,a>i&&(u=!0,n.kill("SIGTERM"))}),n.stderr.on("data",b=>{if(u)return;let S=String(b);o+=S,f+=S.length,f>i&&(u=!0,n.kill("SIGTERM"))}),n.on("close",(...b)=>{let S=b[0];if(r)if(u){let v=new Error("stdout maxBuffer length exceeded");v.code="ERR_CHILD_PROCESS_STDIO_MAXBUFFER",v.killed=!0,v.cmd=e,v.stdout=s,v.stderr=o,y(v)}else if(S!==0&&h==null){let v=new Error("Command failed: "+e);v.code=S,v.killed=!1,v.signal=null,v.cmd=e,v.stdout=s,v.stderr=o,y(v)}else y(null)}),n.on("error",b=>{if(r){let S=b instanceof Error?b:new Error(String(b));h=S,S.cmd=e,S.stdout=s,S.stderr=o,y(S)}}),n}function vee(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,argv0:r.argv0==null?void 0:String(r.argv0),input:r.input==null?null:J0(r.input),maxBuffer:i,shell:!0,timeout:Number.isInteger(r.timeout)&&r.timeout>0?r.timeout:null,killSignal:UC(r.killSignal).signalCode??"SIGTERM"})]),o=typeof s=="string"?JSON.parse(s):s,a=Array.isArray(r.stdio)?r.stdio:r.stdio==="inherit"?["inherit","inherit","inherit"]:[];if(yC(a[1],o.stdout)&&(o.stdout=typeof o.stdout=="string"?"":Buffer.from("")),yC(a[2],o.stderr),o.timedOut){let f=new Error(`spawnSync ${e} ETIMEDOUT`);throw f.code="ETIMEDOUT",f.status=o.signal==null&&typeof o.code=="number"?o.code:null,f.signal=o.signal??null,f.stdout=o.stdout,f.stderr=o.stderr,f.output=[null,o.stdout,o.stderr],f}if(o.maxBufferExceeded){let f=new Error("stdout maxBuffer length exceeded");throw f.code="ERR_CHILD_PROCESS_STDIO_MAXBUFFER",f.stdout=o.stdout,f.stderr=o.stderr,f}if(o.code!==0||o.signal!=null){let f=new Error("Command failed: "+e);throw f.status=o.signal==null?o.code:null,f.signal=o.signal??null,f.stdout=o.stdout,f.stderr=o.stderr,f.output=[null,o.stdout,o.stderr],f}return(r.encoding==="buffer"||!r.encoding)&&typeof Buffer<"u"?Buffer.from(o.stdout):o.stdout}function ay(e,t,r){let n=[],i={};Array.isArray(t)?(n=t,i=r||{}):i=t||{};let s=new vM;i.__agentOSForkIpc===!0&&(s._ipcEnabled=!0,s.connected=!0),s.spawnfile=e,s.spawnargs=[e,...n],s.detached=i.detached===!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._stdoutPath=ZX(s._stdoutFd),s._stderrPath=ZX(s._stderrFd),s._inheritedFds=[];for(let f of[s._stdoutFd,s._stderrFd])typeof f=="number"&&(f6e(f),s._inheritedFds.push(f));if(typeof _childProcessSpawnStart<"u"){let f;try{let c=i.cwd??(typeof process<"u"?process.cwd():"/");f=l6e(_childProcessSpawnStart.applySync(void 0,[e,JSON.stringify(n),JSON.stringify({cwd:c,env:i.env,argv0:i.argv0==null?void 0:String(i.argv0),shell:i.shell===!0||typeof i.shell=="string",detached:i.detached===!0,pty:i.agentosPty&&typeof i.agentosPty=="object"?{cols:Number.isInteger(i.agentosPty.cols)&&i.agentosPty.cols>0?i.agentosPty.cols:80,rows:Number.isInteger(i.agentosPty.rows)&&i.agentosPty.rows>0?i.agentosPty.rows:24}:i.agentosPty===!0?{cols:80,rows:24}:null})]))}catch(c){let h=c instanceof Error?c:new Error(String(c));return h.code==null&&/command not found:/i.test(String(h.message||""))?h.code="ENOENT":h.code==null&&/ERR_NATIVE_BINARY_NOT_SUPPORTED\b/i.test(String(h.message||""))&&(h.code="ERR_NATIVE_BINARY_NOT_SUPPORTED"),queueMicrotask(()=>{s.emit("error",h)}),s}let u=typeof f=="object"&&f!==null?f.childId:f;return SN.set(u,s),s._sessionId=u,typeof _registerHandle=="function"&&(s._handleId=`child:${u}`,s._handleDescription=`child_process: ${e} ${n.join(" ")}`,_registerHandle(s._handleId,s._handleDescription),s._handleRefed=!0),queueMicrotask(()=>{let c=dA.get(u);if(c){dA.delete(u);for(let h of c)PB(u,h.type,h.data)}}),s.stdin.write=(c,h,y)=>{let b=typeof h=="function"?h:y;if(!s.stdin.writable||s.stdin.destroyed){let v=new Error("Cannot call write after a stream was destroyed");return v.code="ERR_STREAM_DESTROYED",queueMicrotask(()=>{b?b(v):s.stdin.emit("error",v)}),!1}if(typeof _childProcessStdinWrite>"u")return!1;let S=typeof c=="string"?new TextEncoder().encode(c):c;try{_childProcessStdinWrite.applySync(void 0,[u,S])}catch(v){return b?(queueMicrotask(()=>b(v)),!1):(s.stdin.emit("error",v),!1)}return b&&queueMicrotask(()=>b(null)),!0},s.stdin.end=(c,h,y)=>{let b=typeof c=="function"?c:typeof h=="function"?h:y;if(c!=null&&typeof c!="function"&&s.stdin.write(c,typeof h=="string"?h:void 0),typeof _childProcessStdinClose<"u")try{_childProcessStdinClose.applySync(void 0,[u])}catch(S){if(b){queueMicrotask(()=>b(S));return}s.stdin.emit("error",S);return}s.stdin.writable=!1,b&&queueMicrotask(()=>b())},s.stdin.destroy=()=>(s.stdin.end(),s.stdin.destroyed=!0,s.stdin.emit("close"),s.stdin),s.kill=c=>{if(typeof _childProcessKill>"u")return!1;let h=UC(c);return _childProcessKill.applySync(void 0,[u,h.bridgeSignal]),s.killed=!0,s._pendingSignalCode=h.signalCode,!0},s.resizePty=(c,h)=>{if(typeof _childProcessPtyResize>"u")throw new Error("child_process PTY resize bridge is unavailable");return _childProcessPtyResize.applySync(void 0,[u,c,h]),s},s.pid=typeof f=="object"&&f!==null?Number(f.pid)||-1:Number(u)||-1,(o[1]==="inherit"||o[1]===1)&&s.stdout.on("data",c=>process.stdout.write(c)),(o[2]==="inherit"||o[2]===2)&&s.stderr.on("data",c=>process.stderr.write(c)),setTimeout(()=>s.emit("spawn"),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 RM(e,t,r){let n=[],i={};if(Array.isArray(t)?(n=t,i=r||{}):i=t||{},typeof _childProcessSpawnSync>"u")return{pid:nd++,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",f=Number.isInteger(i.timeout)&&i.timeout>0?i.timeout:null,u=UC(i.killSignal).signalCode??"SIGTERM",c=_childProcessSpawnSync.applySyncPromise(void 0,[e,JSON.stringify(n),JSON.stringify({cwd:s,env:i.env,argv0:i.argv0==null?void 0:String(i.argv0),input:i.input==null?null:J0(i.input),maxBuffer:o,shell:i.shell===!0||typeof i.shell=="string",timeout:f,killSignal:u})]),h=typeof c=="string"?JSON.parse(c):c,y=Array.isArray(i.stdio)?i.stdio:i.stdio==="inherit"?["inherit","inherit","inherit"]:[],b=a&&typeof Buffer<"u"?Buffer.from(h.stdout):h.stdout,S=a&&typeof Buffer<"u"?Buffer.from(h.stderr):h.stderr;if(yC(y[1],b)&&(b=a&&typeof Buffer<"u"?Buffer.from(""):""),yC(y[2],S)&&(S=a&&typeof Buffer<"u"?Buffer.from(""):""),h.timedOut){let v=new Error(`spawnSync ${e} ETIMEDOUT`);return v.code="ETIMEDOUT",{pid:nd++,output:[null,b,S],stdout:b,stderr:S,status:typeof h.code=="number"&&h.signal==null?h.code:null,signal:h.signal??null,error:v}}if(h.maxBufferExceeded){let v=new Error("stdout maxBuffer length exceeded");return v.code="ERR_CHILD_PROCESS_STDIO_MAXBUFFER",{pid:nd++,output:[null,b,S],stdout:b,stderr:S,status:typeof h.code=="number"&&h.signal==null?h.code:null,signal:h.signal??null,error:v}}return{pid:nd++,output:[null,b,S],stdout:b,stderr:S,status:typeof h.code=="number"&&h.signal==null?h.code:null,signal:h.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",f=a&&typeof Buffer<"u"?Buffer.from(""):"",u=a&&typeof Buffer<"u"?Buffer.from(o):o;return{pid:nd++,output:[null,f,u],stdout:f,stderr:u,status:1,signal:null,error:s instanceof Error?s:new Error(String(s))}}}function EC(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,f=ay(e,i,s),u="",c="",h=0,y=0,b=!1;return f.stdout.on("data",S=>{let v=String(S);u+=v,h+=v.length,h>a&&!b&&(b=!0,f.kill("SIGTERM"))}),f.stderr.on("data",S=>{let v=String(S);c+=v,y+=v.length,y>a&&!b&&(b=!0,f.kill("SIGTERM"))}),f.on("close",(...S)=>{let v=S[0];if(o)if(b){let L=new Error("stdout maxBuffer length exceeded");L.code="ERR_CHILD_PROCESS_STDIO_MAXBUFFER",L.killed=!0,L.stdout=u,L.stderr=c,o(L,u,c)}else if(v!==0){let L=new Error("Command failed: "+e);L.code=v,L.stdout=u,L.stderr=c,o(L,u,c)}else o(null,u,c)}),f.on("error",S=>{o&&o(S,u,c)}),f}Object.defineProperty(EC,Symbol.for("nodejs.util.promisify.custom"),{configurable:!0,value(e,t,r){return new Promise((n,i)=>{EC(e,t,r,(s,o,a)=>{if(s){i(s);return}n({stdout:o,stderr:a})})})}});function Ree(e,t,r){let n=[],i={};Array.isArray(t)?(n=t,i=r||{}):i=t||{};let s=i.maxBuffer??1024*1024,o=RM(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 Dee(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=[];for(let c=0;c<o.length;c+=1){let h=String(o[c]);h==="--require"||h==="-r"?c+1<o.length&&a.push(String(o[++c])):h.startsWith("--require=")&&a.push(h.slice(10))}let f={...typeof process<"u"?process.env:{},...i.env||{},AGENTOS_NODE_IPC:"1",AGENTOS_NODE_IPC_SERIALIZATION:i.serialization==="advanced"?"advanced":"json",AGENTOS_NODE_EXEC_ARGV:JSON.stringify(o.map(String)),AGENTOS_NODE_PRELOAD_MODULES:JSON.stringify(a)},u=ay(i.execPath||(typeof process<"u"?process.execPath:"node"),[e,...n],{...i,__agentOSForkIpc:!0,cwd:s,env:f,shell:!1});return u._ipcEnabled=!0,u._ipcSerialization=i.serialization==="advanced"?"advanced":"json",u.connected=!0,u}var Tee={ChildProcess:vM,exec:Qee,execSync:vee,spawn:ay,spawnSync:RM,execFile:EC,execFileSync:Ree,fork:Dee};ot("_childProcessModule",Tee);var y6e=Tee,_i={},Ln={},vN=new kA,n$="process.stdin",Zr="",RN=!1,BB=!1,OB=!1,HB=!1;UA("_stdinData",typeof _processConfig<"u"&&_processConfig.stdin||"");UA("_stdinPosition",0);UA("_stdinEnded",!1);UA("_stdinFlowMode",!1);function pf(){return globalThis._stdinData}function E6e(e){globalThis._stdinData=e}function gA(){return globalThis._stdinPosition}function DM(e){globalThis._stdinPosition=e}function Bf(){return globalThis._stdinEnded}function TM(e){globalThis._stdinEnded=e}function mC(){return globalThis._stdinFlowMode}function E0(e){globalThis._stdinFlowMode=e}function m6e(e){Zr="",RN=!1,vN=e,OB=!1,HB=!1}function QT(){if(!(Bf()||!pf())&&mC()&&gA()<pf().length){let e=pf().slice(gA());DM(pf().length);let t=[..._i.data||[],...Ln.data||[]];Ln.data=[];for(let i of t)i(e);TM(!0);let r=[..._i.end||[],...Ln.end||[]];Ln.end=[];for(let i of r)i();let n=[..._i.close||[],...Ln.close||[]];Ln.close=[];for(let i of n)i()}}function z0(e,t){let r=[..._i[e]||[],...Ln[e]||[]];Ln[e]=[];for(let n of r)try{n(t)}catch(i){let s=Bd(i);if(!s.handled&&s.rethrow!==null){if(PC(s.rethrow))return Uee(s.rethrow),!0;throw s.rethrow}return!0}return r.length>0}function gd(e){if(e){if(!BB&&typeof _registerHandle=="function")try{_registerHandle(n$,"process.stdin"),BB=!0}catch{}return}if(BB&&typeof _unregisterHandle=="function"){try{_unregisterHandle(n$)}catch{}BB=!1}}function b6e(e,t=!1){globalThis.__runtimeStreamStdin=!!e,gd(!!e&&!!t&&!Bf())}ot("__runtimeConfigureStreamStdin",b6e);function LC(){if(!mC()||Zr.length===0)return;let e=Zr;Zr="";let t=wu.encoding?e:we.Buffer.from(e);z0("data",t),QA()}function QA(){!Bf()||HB||Zr.length>0||OB||(OB=!0,queueMicrotask(()=>{OB=!1,!(!Bf()||HB||Zr.length>0)&&(HB=!0,z0("end"),z0("close"),gd(!1))}))}function Nee(){Bf()||(TM(!0),LC(),QA())}function pA(){return typeof __runtimeStreamStdin<"u"&&!!__runtimeStreamStdin}function yA(){return typeof __runtimeKernelStdin<"u"&&!!__runtimeKernelStdin}function vT(){RN||!Bu()&&!pA()&&!yA()||(RN=!0,gd(!wu.paused),!(pA()&&!yA())&&(typeof _kernelStdinRead>"u"||(async()=>{try{for(;!Bf()&&!(typeof _kernelStdinRead>"u");){let e=await _kernelStdinRead.apply(void 0,[65536,null],{result:{promise:!0}});if(e?.done)break;let t=String(e?.dataBase64??"");t&&(Zr+=vN.decode(we.Buffer.from(t,"base64"),{stream:!0}),LC())}}catch{}Zr+=vN.decode(),Nee()})()))}function I6e(e,t){if(e==="stdin_end"){Nee();return}if(e!=="stdin"||Bf())return;let r,n=!1;if(t&&typeof t=="object"&&typeof t.dataBase64=="string"){let i=we.Buffer.from(t.dataBase64,"base64");if(i.length===0)return;if(!wu.encoding&&mC()){z0("data",i),QA();return}r=wu.encoding?i.toString(wu.encoding):i.toString("latin1"),n=!wu.encoding}else r=typeof t=="string"?t:t==null?"":we.Buffer.from(t).toString("utf8");if(r){if(Zr+=r,n&&!wu.encoding&&mC()){let i=Zr;Zr="",z0("data",we.Buffer.from(i,"latin1")),QA();return}LC()}}var wu={readable:!0,paused:!0,encoding:null,isRaw:!1,read(e){if(Zr.length>0){if(!e||e>=Zr.length){let n=Zr;return Zr="",n}let r=Zr.slice(0,e);return Zr=Zr.slice(e),r}if(gA()>=pf().length)return null;let t=e?pf().slice(gA(),gA()+e):pf().slice(gA());return DM(gA()+t.length),t},on(e,t){return _i[e]||(_i[e]=[]),_i[e].push(t),(Bu()||pA()||yA())&&(e==="data"||e==="end"||e==="close")&&vT(),e==="data"&&this.paused&&this.resume(),(e==="end"||e==="close")&&(Bu()||pA()||yA())&&QA(),e==="end"&&pf()&&!Bf()&&(E0(!0),QT()),this},once(e,t){return Ln[e]||(Ln[e]=[]),Ln[e].push(t),(Bu()||pA()||yA())&&(e==="data"||e==="end"||e==="close")&&vT(),e==="data"&&this.paused&&this.resume(),(e==="end"||e==="close")&&(Bu()||pA()||yA())&&QA(),e==="end"&&pf()&&!Bf()&&(E0(!0),QT()),this},off(e,t){if(_i[e]){let r=_i[e].indexOf(t);r!==-1&&_i[e].splice(r,1)}return this},removeListener(e,t){return this.off(e,t)},emit(e,...t){let r=[..._i[e]||[],...Ln[e]||[]];Ln[e]=[];for(let n of r)n(t[0]);return r.length>0},pause(){return this.paused=!0,E0(!1),gd(!1),this},resume(){return(Bu()||pA()||yA())&&(vT(),gd(!0)),this.paused=!1,E0(!0),LC(),QT(),QA(),this},setEncoding(e){return this.encoding=e,this},setRawMode(e){if(!Bu())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 Bu()},[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=u=>{t.push(u),s()},a=()=>{n=!0,s()},f=u=>{i=u,n=!0,s()};return e.on("end",a),e.on("close",a),e.on("error",f),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(u=>{r.push(u)})},return(){return n=!0,e.off?.("data",o),e.off?.("end",a),e.off?.("close",a),e.off?.("error",f),s(),Promise.resolve({done:!0,value:void 0})},[Symbol.asyncIterator](){return this}}}};function Mee(){let e=typeof _processConfig<"u"&&_processConfig.env||{},t=[];try{let r=JSON.parse(e.AGENTOS_NODE_EXEC_ARGV||"[]");Array.isArray(r)&&(t=r.map(String))}catch{}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:e,execArgv:t,argv:typeof _processConfig<"u"&&_processConfig.argv||["node","script.js"],argv0:typeof _processConfig<"u"&&typeof _processConfig.argv0=="string"?_processConfig.argv0:"node",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 Cr=Mee(),B6e=typeof performance<"u"&&performance&&typeof performance.now=="function"?performance.now.bind(performance):Date.now,C6e=()=>typeof __secureExecHrNowUs=="function"?__secureExecHrNowUs()/1e3:B6e();function pd(){return Cr.timingMitigation==="freeze"&&typeof Cr.frozenTimeMs=="number"?Cr.frozenTimeMs:C6e()}var _6e=pd(),CB=void 0,Zs=!1,i$=!1,NM=class extends Error{constructor(t){super("process.exit("+t+")");m(this,"code");m(this,"_isProcessExit");this.name="ProcessExitError",this.code=t,this._isProcessExit=!0}};ot("ProcessExitError",NM);var MM={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},xee=Object.fromEntries(Object.entries(MM).map(([e,t])=>[t,e])),w6e=new Set(["SIGWINCH","SIGCHLD","SIGCONT","SIGURG"]),kee=new Set(["SIGHUP","SIGINT","SIGUSR1","SIGALRM","SIGTERM","SIGCHLD","SIGCONT","SIGWINCH"]);function Fee(e){if(e==null)return 15;if(typeof e=="number")return e;let t=MM[e];if(t!==void 0)return t;throw new Error("Unknown signal: "+e)}function S6e(e){return typeof e=="string"&&kee.has(e)}var s$={ESRCH:3,EPERM:1,EINVAL:22};function Q6e(e){let t=String(e&&e.message||e||""),r=null;if(e&&typeof e.code=="string"&&Object.prototype.hasOwnProperty.call(s$,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=-s$[r],n.syscall="kill",n}var Sn={},ln={},S0=10,o$=new Set,od=[],bC=0,qB=!1,a$=1024,f$=8*1024*1024;function MA(e){return(Sn[e]||[]).length+(ln[e]||[]).length}function yd(){if(!Be._agentOSIpcInstalled||typeof _registerHandle!="function"||typeof _unregisterHandle!="function")return;let e=Be.connected&&(MA("message")>0||MA("disconnect")>0);e&&!Be._agentOSIpcHandleId?(Be._agentOSIpcHandleId=`process-ipc:${Be.pid}`,_registerHandle(Be._agentOSIpcHandleId,"child_process IPC channel")):!e&&Be._agentOSIpcHandleId&&(_unregisterHandle(Be._agentOSIpcHandleId),Be._agentOSIpcHandleId=null)}function v6e(){qB||od.length===0||MA("message")===0||(qB=!0,queueMicrotask(()=>{for(qB=!1;od.length>0&&MA("message")>0;){let e=od.shift();bC-=e.bytes,yf("message",e.message,void 0)}}))}function R6e(e){if(MA("message")>0){yf("message",e,void 0);return}let t=JSON.stringify(e).length;if(od.length>=a$||bC+t>f$){let r=new Error(`ERR_RESOURCE_BUDGET_EXCEEDED: pre-listener child_process IPC queue exceeds ${a$} messages or ${f$} bytes; install a process message listener before sending more IPC data`);throw r.code="ERR_RESOURCE_BUDGET_EXCEEDED",r}od.push({message:e,bytes:t}),bC+=t}function ad(e){if(!S6e(e)||typeof _processSignalState>"u")return;let t=MM[e];if(typeof t!="number")return;let r=MA(e)>0?"user":"default";try{_processSignalState.applySyncPromise(void 0,[t,r,JSON.stringify([]),0])}catch{}}function D6e(){for(let e of kee)ad(e)}function DN(e,t="default"){let r=Fee(e);if(r===0)return!0;let n=xee[r]??`SIG${r}`;return t==="ignore"||yf(n,n)||w6e.has(n)?!0:Be.exit(128+r)}function T6e(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";DN(r,n)}function RT(e,t,r=!1){let n=r?ln:Sn;if(n[e]||(n[e]=[]),n[e].push(t),S0>0&&!o$.has(e)){let i=(Sn[e]?.length??0)+(ln[e]?.length??0);if(i>S0){o$.add(e);let s=`MaxListenersExceededWarning: Possible EventEmitter memory leak detected. ${i} ${e} listeners added to [process]. MaxListeners is ${S0}. Use emitter.setMaxListeners() to increase limit`;typeof _error<"u"&&_error.applySync(void 0,[s])}}return ad(e),(e==="message"||e==="disconnect")&&yd(),e==="message"&&v6e(),Be}function N6e(e,t){if(Sn[e]){let r=Sn[e].indexOf(t);r!==-1&&Sn[e].splice(r,1)}if(ln[e]){let r=ln[e].indexOf(t);r!==-1&&ln[e].splice(r,1)}return ad(e),(e==="message"||e==="disconnect")&&yd(),Be}function yf(e,...t){let r=!1;if(Sn[e])for(let n of Sn[e])n.call(Be,...t),r=!0;if(ln[e]){let n=ln[e].slice();ln[e]=[];for(let i of n)i.call(Be,...t),r=!0}return(e==="message"||e==="disconnect")&&yd(),r}function PC(e){return!!(e&&typeof e=="object"&&(e._isProcessExit===!0||e.name==="ProcessExitError"))}function M6e(e){return e instanceof Error?e:new Error(String(e))}function Bd(e){if(PC(e))return{handled:!1,rethrow:e};let t=M6e(e);try{if(yf("uncaughtException",t,"uncaughtException"))return{handled:!0,rethrow:null}}catch(r){return{handled:!1,rethrow:r}}return{handled:!1,rethrow:t}}function Uee(e){wC(()=>{throw e},0)}function Cd(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=Bd(i);if(!s.handled&&s.rethrow!==null)throw s.rethrow;return!0}return!0}function Bu(){return D0().stdinIsTTY}ot("_stdinDispatch",I6e);ot("_signalDispatch",T6e);function Lee(e){let t=pd(),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]}Lee.bigint=function(){let e=pd();return BigInt(Math.floor(e*1e6))};var TN=Cr.cwd,GB=18,m0={node:Cr.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 x6e(){return{rss:50*1024*1024,heapTotal:20*1024*1024,heapUsed:10*1024*1024,external:1*1024*1024,arrayBuffers:500*1024}}function Pee(){let e=x6e(),t=S3e.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 k6e(e){let t=Q3e.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 F6e(){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 U6e(){let e=F6e(),t=v3e.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 L6e(){m0.node=Cr.version.replace(/^v/,"");let e=R3e.applySyncPromise(void 0,[]);return e&&typeof e=="object"&&(Object.assign(m0,e),m0.node=Cr.version.replace(/^v/,"")),m0}var Be={platform:Cr.platform,arch:Cr.arch,version:Cr.version,get versions(){return L6e()},pid:Cr.pid,ppid:Cr.ppid,execPath:Cr.execPath,execArgv:Cr.execArgv,argv:Cr.argv,argv0:Cr.argv0,title:"node",env:Cr.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 TN},chdir(e){let t;try{t=Xt.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(!mf(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}TN=e},get exitCode(){return CB},set exitCode(e){CB=e??void 0},exit(e){let t=e!==void 0?e:CB??0;CB=t,Zs=!0;try{yf("exit",t)}catch{}throw new NM(t)},abort(){return Be.kill(Be.pid,"SIGABRT")},nextTick(e,...t){let r=Cf();QB.push({callback:ud(e,r),args:t}),Nke()},hrtime:Lee,getuid(){return wN()},getgid(){return LB()},geteuid(){let e=globalThis.process?.euid;return Number.isFinite(e)?e:wN()},getegid(){let e=globalThis.process?.egid;return Number.isFinite(e)?e:LB()},getgroups(){return Array.isArray(globalThis.process?.groups)&&globalThis.process.groups.length>0?[...globalThis.process.groups]:[LB()]},setuid(){},setgid(){},seteuid(){},setegid(){},setgroups(){},umask(e){let t=e===void 0?void 0:lf(e,"mask"),r=Number(w3e.applySyncPromise(void 0,[t??null]));if(Number.isFinite(r))return GB=t??r,r;let n=GB;return t!==void 0&&(GB=t),n},uptime(){return(pd()-_6e)/1e3},memoryUsage(){return Pee()},cpuUsage(e){return k6e(e)},resourceUsage(){return U6e()},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=Fee(t),n=xee[r]??`SIG${r}`;if(typeof _processKill<"u"){let i;try{i=_processKill.applySyncPromise(void 0,[e,n])}catch(o){throw Q6e(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 DN(r,o)}return!0}if(e!==Be.pid){let i=new Error("Operation not permitted");throw i.code="EPERM",i.errno=-1,i.syscall="kill",i}return DN(r,"default")},on(e,t){return RT(e,t)},once(e,t){return RT(e,t,!0)},removeListener(e,t){return N6e(e,t)},off:null,removeAllListeners(e){return e?(delete Sn[e],delete ln[e],ad(e),(e==="message"||e==="disconnect")&&yd()):(Object.keys(Sn).forEach(t=>delete Sn[t]),Object.keys(ln).forEach(t=>delete ln[t]),D6e(),yd()),Be},addListener(e,t){return RT(e,t)},emit(e,...t){return yf(e,...t)},listeners(e){return[...Sn[e]||[],...ln[e]||[]]},listenerCount(e){return MA(e)},prependListener(e,t){return Sn[e]||(Sn[e]=[]),Sn[e].unshift(t),ad(e),Be},prependOnceListener(e,t){return ln[e]||(ln[e]=[]),ln[e].unshift(t),ad(e),Be},eventNames(){return[...new Set([...Object.keys(Sn),...Object.keys(ln)])]},setMaxListeners(e){return S0=e,Be},getMaxListeners(){return S0},rawListeners(e){return Be.listeners(e)},stdout:JN,stderr:jN,stdin:wu,connected:Cr.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"),yf("warning",e);return}yf("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(){},get sourceMapsEnabled(){return i$},setSourceMapsEnabled(e){i$=!!e},send(e,t,r,n){let i=typeof t=="function"?t:typeof r=="function"?r:n;if(!Be.connected)return!1;try{let s=QM(e);return Be.stdout.write(s),i&&queueMicrotask(()=>i(null)),!0}catch(s){if(i)return queueMicrotask(()=>i(s)),!1;throw s}},disconnect(){Be.connected&&(Be.connected=!1,Be._agentOSIpcHandleId&&typeof _unregisterHandle=="function"&&(_unregisterHandle(Be._agentOSIpcHandleId),Be._agentOSIpcHandleId=null),yf("disconnect"))},report:{directory:"",filename:"",compact:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1,getReport(){return{}},writeReport(){return""}},debugPort:9229,_cwd:Cr.cwd,_umask:18};function Oee(){if(!(Cr.env?.AGENTOS_NODE_IPC==="1"||globalThis.__agentOSProcessConfigEnv?.AGENTOS_NODE_IPC==="1")||Be._agentOSIpcInstalled)return;Be._agentOSIpcInstalled=!0,Be.connected=!0,yd();let t="";Be.stdin.on("data",r=>{let n=See(t,r);t=n.buffer;for(let i of n.messages)R6e(i)}),Be.stdout.write(QM({__agentOSControl:"ipc-ready",version:1}))}function P6e(e){gd(!1),m6e(new kA);for(let t of Object.keys(_i))_i[t]=[];for(let t of Object.keys(Ln))Ln[t]=[];E6e(e.stdin??""),DM(0),TM(!1),E0(!1),od=[],bC=0,qB=!1,Cr=e,TN=e.cwd,Be.platform=e.platform,Be.arch=e.arch,Be.version=e.version,Be.pid=e.pid,Be.ppid=e.ppid,Be.execPath=e.execPath,Be.execArgv=e.execArgv,Be.argv=e.argv,Be.argv0=e.argv0,Be.env=e.env,Be.connected=e.env?.AGENTOS_NODE_IPC==="1",Be.mainModule=void 0,Be._cwd=e.cwd,Be.stdin.paused=!0,Be.stdin.encoding=null,Be.stdin.isRaw=!1,m0.node=e.version.replace(/^v/,"")}ot("__runtimeRefreshProcessConfig",()=>{P6e(Mee())});Be.off=Be.removeListener;ot("__runtimeInstallProcessIpcBridge",Oee);Oee();Be.memoryUsage.rss=function(){return Pee().rss};Object.defineProperty(Be,Symbol.toStringTag,{value:"process",writable:!1,configurable:!0,enumerable:!1});var xM=Be;function O6e(e){return encodeURI(String(e)).replace(/#/g,"%23").replace(/\?/g,"%3F")}function u$(e){let t=Dr.posix.resolve(String(e||"/")),r=O6e(t);return new Pn(`file://${r.startsWith("/")?r:`/${r}`}`)}function c$(e){let t=e instanceof Pn?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}var Kh,H6e=(Kh=class{constructor(e,t){this.url=String(e),this.protocol="",this.extensions="",this.onopen=null,this.onmessage=null,this.onerror=null,this.onclose=null,this._binaryType="blob",this._listeners=new Map;let r=(0,g$.default)().WebSocket;this._socket=t===void 0?new r(e):new r(e,t),this._socket.on("open",()=>{this.protocol=this._socket.protocol||"",this.extensions=this._socket.extensions||"",this._dispatch("open")}),this._socket.on("message",(n,i)=>{let s;i?this._binaryType==="arraybuffer"?s=n.buffer.slice(n.byteOffset,n.byteOffset+n.byteLength):s=new Blob([n]):s=n.toString(),this._dispatch("message",{data:s})}),this._socket.on("error",n=>{this._dispatch("error",{error:n,message:n?.message||"WebSocket error"})}),this._socket.on("close",(n,i)=>{this._dispatch("close",{code:Number(n),reason:i?.toString?.()||"",wasClean:Number(n)===1e3})})}_dispatch(e,t={}){let r=new RA(e);for(let[i,s]of Object.entries(t))Object.defineProperty(r,i,{configurable:!0,enumerable:!0,value:s});for(let i of[...this._listeners.get(e)||[]]){let s=i.listener;typeof s=="function"?s.call(this,r):s?.handleEvent?.(r),i.once&&this.removeEventListener(e,s)}let n=this[`on${e}`];typeof n=="function"&&n.call(this,r)}addEventListener(e,t,r={}){if(t==null)return;let n=this._listeners.get(e)||[];n.some(i=>i.listener===t)||(n.push({listener:t,once:r===!0||r?.once===!0}),this._listeners.set(e,n))}removeEventListener(e,t){let r=this._listeners.get(e);r&&this._listeners.set(e,r.filter(n=>n.listener!==t))}send(e){this._socket.send(e)}close(e,t){this._socket.close(e,t)}get binaryType(){return this._binaryType}set binaryType(e){(e==="blob"||e==="arraybuffer")&&(this._binaryType=e)}get bufferedAmount(){return this._socket.bufferedAmount||0}get readyState(){return this._socket.readyState}},m(Kh,"CONNECTING",0),m(Kh,"OPEN",1),m(Kh,"CLOSING",2),m(Kh,"CLOSED",3),Kh);function Hee(){let e=globalThis;e.process=Be,e.setTimeout=wC,e.clearTimeout=ty,e.setInterval=D$,e.clearInterval=T$,e.setImmediate=JB,e.clearImmediate=N$;let t=typeof e.queueMicrotask=="function"?e.queueMicrotask.bind(e):hf;e.queueMicrotask=i=>{let s=Cf();return t(()=>CC(s,i,e,[]))},yLe(e),e.TextEncoder=FN,e.TextDecoder=kA,e.Event=RA,e.CustomEvent=MN,e.EventTarget=BC,typeof e.Buffer>"u"&&(e.Buffer=VB);let r=e.Buffer;typeof r.kMaxLength!="number"&&(r.kMaxLength=Ed),typeof r.kStringMaxLength!="number"&&(r.kStringMaxLength=ey),(typeof r.constants!="object"||r.constants===null)&&(r.constants=C$);let n=globalThis.__secureExecBuiltinUtilModule;if(n?.types&&(n.types.isProxy=()=>!1),b0(n),typeof e.atob>"u"||typeof e.btoa>"u"){let i=B$();typeof e.atob>"u"&&(e.atob=s=>{let o=i.toByteArray(String(s)),a="";for(let f of o)a+=String.fromCharCode(f);return a}),typeof e.btoa>"u"&&(e.btoa=s=>{let o=String(s),a=new Uint8Array(o.length);for(let f=0;f<o.length;f+=1){let u=o.charCodeAt(f);if(u>255)throw new TypeError("Invalid character");a[f]=u}return i.fromByteArray(a)})}if(typeof e.Crypto>"u"&&(e.Crypto=CM),typeof e.SubtleCrypto>"u"&&(e.SubtleCrypto=BM),typeof e.CryptoKey>"u"&&(e.CryptoKey=H0),typeof e.DOMException>"u"&&(e.DOMException=TLe),typeof e.crypto>"u")e.crypto=gf;else{let i=e.crypto;for(let[s,o]of Object.entries(gf))typeof i[s]>"u"&&(i[s]=o)}e.fetch=DC,e.Headers=CFe,e.Request=_Fe,e.Response=wFe,typeof e.WebSocket>"u"&&(e.WebSocket=H6e),cFe(e)}var qee={register:"kernelHandleRegister",unregister:"kernelHandleUnregister",list:"kernelHandleList"},K0=new Map,Q0=[],DT=!1;function q6e(){if(DT)return;DT=!0,(typeof globalThis.setImmediate=="function"?globalThis.setImmediate:queueMicrotask)(()=>{if(DT=!1,K0.size!==0||Q0.length===0)return;let t=Q0;Q0=[];for(let r of t)r()})}function Gee(e,t){try{Z0(qee.register,e,t)}catch(r){throw r instanceof Error&&r.message.includes("EAGAIN")?new Error("ERR_RESOURCE_BUDGET_EXCEEDED: maximum active handles exceeded"):r}K0.set(e,t)}function Yee(e){K0.delete(e);let t=K0.size;try{Z0(qee.unregister,e)}catch{}t===0&&Q0.length>0&&q6e()}function kM(){if(typeof Zs<"u"&&Zs)return Promise.resolve();let e=globalThis._getPendingTimerCount,t=globalThis._waitForTimerDrain,r=v0().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())};Q0.push(a),v0().length===0&&a()})),n&&typeof t=="function"&&i.push(t()),Promise.all(i).then(()=>{let s=typeof e=="function"&&e()>0;if(v0().length>0||s)return kM()})}function v0(){return Array.from(K0.values())}ot("_registerHandle",Gee);ot("_unregisterHandle",Yee);ot("_waitForActiveHandles",kM);ot("_getActiveHandles",v0);var G6e={},Y6e={},W6e={id:"/<entry>.js",filename:"/<entry>.js",dirname:"/",exports:{},loaded:!1};UA("_moduleCache",G6e);UA("_pendingModules",Y6e);UA("_currentModule",W6e);function YB(e){let t=e.lastIndexOf("/");return t===-1?".":t===0?"/":e.slice(0,t)}function V6e(e){if(e.startsWith("file://")){let t=e.slice(7);return t.startsWith("/")?t:"/"+t}return e}function J6e(e,t){return $r.isBuiltin(t)?null:t.startsWith("./")||t.startsWith("../")||t.startsWith("/")?[e]:$r._nodeModulePaths(e)}function Wee(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 J6e(e,r)},t}var Vee={".js":function(e,t){},".json":function(e,t){},".node":function(e,t){throw new Error(".node extensions are not supported in sandbox")}};function Jee(e){return e.cache=_moduleCache,e.main=globalThis.process?.mainModule,e.extensions=Vee,e}function jee(e){let t=new Error(`require() of ES Module ${e} is not supported.`);return t.code="ERR_REQUIRE_ESM",t}function j6e(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 zee(e){if(typeof _moduleFormat>"u"||typeof _moduleFormat.applySyncPromise!="function")throw j6e(e);return _moduleFormat.applySyncPromise(void 0,[e])}function z6e(e){if(zee(e)==="module")throw jee(e)}function K6e(e,t){if(typeof globalThis.__secureExecRequireEsmSync!="function")throw jee(e);let r=globalThis.__secureExecRequireEsmSync(e,t);if(r!=null&&(typeof r=="object"||typeof r=="function")&&Object.prototype.hasOwnProperty.call(r,"default")&&r.__esModule!==!0){let n=Object.create(null);for(let i of Reflect.ownKeys(r))Object.defineProperty(n,i,{configurable:!1,enumerable:Object.prototype.propertyIsEnumerable.call(r,i),get:()=>r[i]});return Object.defineProperty(n,"__esModule",{configurable:!1,enumerable:!0,value:!0}),n}return r}function OC(e){if(typeof e!="string"&&!(e instanceof URL))throw new TypeError("filename must be a string or URL");let t=V6e(String(e)),r=YB(t),n=Wee(r),i=function(o){},s=function(o){return i(o),_requireFrom(o,r)};return s.resolve=n,Jee(s)}Qn("__secureExecGuestCreateRequire",OC);var ea,$r=(ea=class{constructor(t,r){m(this,"id");m(this,"path");m(this,"exports");m(this,"filename");m(this,"loaded");m(this,"children");m(this,"paths");m(this,"parent");m(this,"isPreloading");this.id=t,this.path=YB(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=YB(n);this.paths.push("/node_modules")}require(t){return _requireFrom(t,this.path)}_compile(t,r){let n=String(t);if(n.startsWith("#!")){let f=n.indexOf(`
`);n=f===-1?"":`
`+n.slice(f+1)}let i=n+`
//# sourceURL=`+String(r),s=new Function("exports","require","module","__filename","__dirname",i),o=f=>(iee(f),_requireFrom(f,this.path));o.resolve=Wee(this.path),Jee(o);let a=globalThis._currentModule;globalThis._currentModule=this;try{return s(this.exports,o,this,r,this.path),this.loaded=!0,this.exports}finally{globalThis._currentModule=a}}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 ea.builtinModules.includes(r)}static syncBuiltinESMExports(){}static findSourceMap(t){}static _nodeModulePaths(t){let r=[],n=t;for(;n!=="/"&&(r.push(n+"/node_modules"),n=YB(n),n!=="."););return r.push("/node_modules"),r}static _load(t,r,n){let i=r&&r.path?r.path:"/";return _requireFrom(t,i,n===!0)}static runMain(){}},m(ea,"_extensions",{...Vee,".js":function(t,r){z6e(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)}}),m(ea,"_cache",typeof _moduleCache<"u"?_moduleCache:{}),m(ea,"builtinModules",mLe),m(ea,"createRequire",OC),ea),Kee=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")}},Xee=Object.assign($r,{Module:$r,createRequire:OC,_extensions:$r._extensions,_cache:$r._cache,builtinModules:$r.builtinModules,isBuiltin:$r.isBuiltin,_resolveFilename:$r._resolveFilename,wrap:$r.wrap,syncBuiltinESMExports:$r.syncBuiltinESMExports,findSourceMap:$r.findSourceMap,SourceMap:Kee});ot("_moduleModule",Xee);function TT(e){e.id=".",e.parent=null,globalThis.process&&(globalThis.process.mainModule=e)}function X6e(e,t,r=!1){let n=typeof t=="string"?t:"/";if($r.isBuiltin(e))try{return see(e)}catch(o){if(o?.code!=="MODULE_NOT_FOUND")throw o}let i=_resolveModule.applySyncPromise(void 0,[e,n,"require"]);if(i===null){let o=new Error(`Cannot find module '${e}'`);throw o.code="MODULE_NOT_FOUND",o}if(Object.prototype.hasOwnProperty.call(_moduleCache,i))return r&&TT(_moduleCache[i]),_moduleCache[i].exports;if(zee(i)==="module"){let o=new $r(i,r?null:{path:n});r&&TT(o),_moduleCache[i]=o;try{return o.exports=K6e(i,n),o.loaded=!0,o.exports}catch(a){throw delete _moduleCache[i],a}}let s=new $r(i,r?null:{path:n});r&&TT(s),_moduleCache[i]=s;try{let o=i.endsWith(".json")?".json":i.endsWith(".node")?".node":".js";return($r._extensions[o]??$r._extensions[".js"])(s,i),s.loaded=!0,s.exports}catch(o){throw delete _moduleCache[i],o}}ot("_requireFrom",X6e);var $6e=Xee,Z6e={};HN(Z6e,{Buffer:()=>VB,CustomEvent:()=>MN,Event:()=>RA,EventTarget:()=>BC,Module:()=>$r,ProcessExitError:()=>NM,SourceMap:()=>Kee,TextDecoder:()=>kA,TextEncoder:()=>FN,URL:()=>Pn,URLSearchParams:()=>en,_getActiveHandles:()=>v0,_registerHandle:()=>Gee,_unregisterHandle:()=>Yee,_waitForActiveHandles:()=>kM,childProcess:()=>wee,clearImmediate:()=>N$,clearInterval:()=>T$,clearTimeout:()=>ty,createRequire:()=>OC,cryptoPolyfill:()=>rd,default:()=>e8e,fs:()=>wM,module:()=>$6e,network:()=>VZ,os:()=>i6e,process:()=>xM,setImmediate:()=>JB,setInterval:()=>D$,setTimeout:()=>wC,setupGlobals:()=>Hee});var e8e=wM;Hee();})();
/*! 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> *)
*/