import J1 from"node:util";var V1=function(){throw new Error("CallTracker is not supported yet")},{Bun:Y1}=globalThis[Symbol.for("Bun.lazy")]("primordials"),t=Y1.deepEquals,X1=(i,L)=>function(){return L||(0,i[Object.keys(i)[0]])((L={exports:{}}).exports,L),L.exports},W1=X1({"assert/build/internal/errors.js"(i,L){function P(Y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(X){return typeof X}:P=function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},P(Y)}function p(Y,X){if(!(Y instanceof X))throw new TypeError("Cannot call a class as a function")}function l(Y,X){return X&&(P(X)==="object"||typeof X=="function")?X:b(Y)}function b(Y){if(Y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y}function x(Y){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(X){return X.__proto__||Object.getPrototypeOf(X)},x(Y)}function A(Y,X){if(typeof X!="function"&&X!==null)throw new TypeError("Super expression must either be null or a function");Y.prototype=Object.create(X&&X.prototype,{constructor:{value:Y,writable:!0,configurable:!0}}),X&&m(Y,X)}function m(Y,X){return m=Object.setPrototypeOf||function(D,q){return D.__proto__=q,D},m(Y,X)}var u={},N,C;function j(Y,X,D){D||(D=Error);function q(T,G,f){return typeof X=="string"?X:X(T,G,f)}var M=function(T){A(G,T);function G(f,w,S){var y;return p(this,G),y=l(this,x(G).call(this,q(f,w,S))),y.code=Y,y}return G}(D);u[Y]=M}function n(Y,X){if(Array.isArray(Y)){var D=Y.length;return Y=Y.map(function(q){return String(q)}),D>2?"one of ".concat(X," ").concat(Y.slice(0,D-1).join(", "),", or ")+Y[D-1]:D===2?"one of ".concat(X," ").concat(Y[0]," or ").concat(Y[1]):"of ".concat(X," ").concat(Y[0])}else return"of ".concat(X," ").concat(String(Y))}function h(Y,X,D){return Y.substr(!D||D<0?0:+D,X.length)===X}function R(Y,X,D){return(D===void 0||D>Y.length)&&(D=Y.length),Y.substring(D-X.length,D)===X}function I(Y,X,D){return typeof D!="number"&&(D=0),D+X.length>Y.length?!1:Y.indexOf(X,D)!==-1}j("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),j("ERR_INVALID_ARG_TYPE",function(Y,X,D){N===void 0&&(N=z1()),N(typeof Y=="string","'name' must be a string");var q;typeof X=="string"&&h(X,"not ")?(q="must not be",X=X.replace(/^not /,"")):q="must be";var M;if(R(Y," argument"))M="The ".concat(Y," ").concat(q," ").concat(n(X,"type"));else{var T=I(Y,".")?"property":"argument";M='The "'.concat(Y,'" ').concat(T," ").concat(q," ").concat(n(X,"type"))}return M+=". Received type ".concat(P(D)),M},TypeError),j("ERR_INVALID_ARG_VALUE",function(Y,X){var D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid",q=C.inspect(X);return q.length>128&&(q="".concat(q.slice(0,128),"...")),"The argument '".concat(Y,"' ").concat(D,". Received ").concat(q)},TypeError,RangeError),j("ERR_INVALID_RETURN_VALUE",function(Y,X,D){var q;return D&&D.constructor&&D.constructor.name?q="instance of ".concat(D.constructor.name):q="type ".concat(P(D)),"Expected ".concat(Y,' to be returned from the "').concat(X,'"')+" function but got ".concat(q,".")},TypeError),j("ERR_MISSING_ARGS",function(){for(var Y=arguments.length,X=new Array(Y),D=0;D0,"At least one arg needs to be specified");var q="The ",M=X.length;switch(X=X.map(function(T){return'"'.concat(T,'"')}),M){case 1:q+="".concat(X[0]," argument");break;case 2:q+="".concat(X[0]," and ").concat(X[1]," arguments");break;default:q+=X.slice(0,M-1).join(", "),q+=", and ".concat(X[M-1]," arguments");break}return"".concat(q," must be specified")},TypeError),L.exports.codes=u}}),B1=X1({"assert/build/internal/assert/assertion_error.js"(i,L){function P(U){for(var J=1;JU.length)&&(W=U.length),U.substring(W-J.length,W)===J}function M(U,J){if(J=Math.floor(J),U.length==0||J==0)return"";var W=U.length*J;for(J=Math.floor(Math.log(J)/Math.log(2));J;)U+=U,J--;return U+=U.substring(0,W-U.length),U}var T="",G="",f="",w="",S={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:"},y=10;function c(U){var J=Object.keys(U),W=Object.create(Object.getPrototypeOf(U));return J.forEach(function(V){W[V]=U[V]}),Object.defineProperty(W,"message",{value:U.message}),W}function g(U){return Y(U,{compact:!1,customInspect:!1,depth:1000,maxArrayLength:Infinity,showHidden:!1,breakLength:Infinity,showProxy:!1,sorted:!0,getters:!0})}function r(U,J,W){var V="",v="",Z=0,H="",Q=!1,z=g(U),$=z.split(` `),K=g(J).split(` `),B=0,O="";if(W==="strictEqual"&&I(U)==="object"&&I(J)==="object"&&U!==null&&J!==null&&(W="strictEqualObject"),$.length===1&&K.length===1&&$[0]!==K[0]){var F=$[0].length+K[0].length;if(F<=y){if((I(U)!=="object"||U===null)&&(I(J)!=="object"||J===null)&&(U!==0||J!==0))return"".concat(S[W],` `)+"".concat($[0]," !== ").concat(K[0],` `)}else if(W!=="strictEqualObject"){var d=process.stderr&&process.stderr.isTTY?process.stderr.columns:80;if(F2&&(O=` `.concat(M(" ",B),"^"),B=0)}}}for(var e=$[$.length-1],U1=K[K.length-1];e===U1&&(B++<2?H=` `.concat(e).concat(H):V=e,$.pop(),K.pop(),!($.length===0||K.length===0));)e=$[$.length-1],U1=K[K.length-1];var Q1=Math.max($.length,K.length);if(Q1===0){var o=z.split(` `);if(o.length>30)for(o[26]="".concat(T,"...").concat(w);o.length>27;)o.pop();return"".concat(S.notIdentical,` `).concat(o.join(` `),` `)}B>3&&(H=` `.concat(T,"...").concat(w).concat(H),Q=!0),V!==""&&(H=` `.concat(V).concat(H),V="");var E=0,$1=S[W]+` `.concat(G,"+ actual").concat(w," ").concat(f,"- expected").concat(w),K1=" ".concat(T,"...").concat(w," Lines skipped");for(B=0;B1&&B>2&&(k>4?(v+=` `.concat(T,"...").concat(w),Q=!0):k>3&&(v+=` `.concat(K[B-2]),E++),v+=` `.concat(K[B-1]),E++),Z=B,V+=` `.concat(f,"-").concat(w," ").concat(K[B]),E++;else if(K.length1&&B>2&&(k>4?(v+=` `.concat(T,"...").concat(w),Q=!0):k>3&&(v+=` `.concat($[B-2]),E++),v+=` `.concat($[B-1]),E++),Z=B,v+=` `.concat(G,"+").concat(w," ").concat($[B]),E++;else{var a=K[B],_=$[B],Z1=_!==a&&(!q(_,",")||_.slice(0,-1)!==a);Z1&&q(a,",")&&a.slice(0,-1)===_&&(Z1=!1,_+=","),Z1?(k>1&&B>2&&(k>4?(v+=` `.concat(T,"...").concat(w),Q=!0):k>3&&(v+=` `.concat($[B-2]),E++),v+=` `.concat($[B-1]),E++),Z=B,v+=` `.concat(G,"+").concat(w," ").concat(_),V+=` `.concat(f,"-").concat(w," ").concat(a),E+=2):(v+=V,V="",(k===1||B===0)&&(v+=` `.concat(_),E++))}if(E>20&&B30)for(B[26]="".concat(T,"...").concat(w);B.length>27;)B.pop();B.length===1?V=A(this,R(J).call(this,"".concat(K," ").concat(B[0]))):V=A(this,R(J).call(this,"".concat(K,` `).concat(B.join(` `),` `)))}else{var O=g(Q),F="",d=S[Z];Z==="notDeepEqual"||Z==="notEqual"?(O="".concat(S[Z],` `).concat(O),O.length>1024&&(O="".concat(O.slice(0,1021),"..."))):(F="".concat(g(z)),O.length>512&&(O="".concat(O.slice(0,509),"...")),F.length>512&&(F="".concat(F.slice(0,509),"...")),Z==="deepEqual"||Z==="equal"?O="".concat(d,` `).concat(O,` should equal `):F=" ".concat(Z," ").concat(F)),V=A(this,R(J).call(this,"".concat(O).concat(F)))}return Error.stackTraceLimit=$,V.generatedMessage=!v,Object.defineProperty(m(V),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),V.code="ERR_ASSERTION",V.actual=Q,V.expected=z,V.operator=Z,Error.captureStackTrace&&Error.captureStackTrace(m(V),H),V.stack,V.name="AssertionError",A(V)}return x(J,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:Y.custom,value:function(W,V){return Y(this,P({},V,{customInspect:!1,depth:0}))}}]),J}(N(Error));L.exports=s}}),z1=X1({"assert/build/assert.js"(i,L){function P(Z){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(H){return typeof H}:P=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},P(Z)}function p(Z,H){if(!(Z instanceof H))throw new TypeError("Cannot call a class as a function")}var l=W1(),b=l.codes,x=b.ERR_AMBIGUOUS_ARGUMENT,A=b.ERR_INVALID_ARG_TYPE,m=b.ERR_INVALID_ARG_VALUE,u=b.ERR_INVALID_RETURN_VALUE,N=b.ERR_MISSING_ARGS,C=B1(),j=J1,n=j.inspect,h=J1.types,R=h.isPromise,I=h.isRegExp,Y=Object.assign,X=Object.is,D=new Map,q=!1,M=L.exports=S,T={};function G(Z){throw Z.message instanceof Error?Z.message:new C(Z)}function f(Z,H,Q,z,$){var K=arguments.length,B;if(K===0)B="Failed";else if(K===1)Q=Z,Z=void 0;else{if(q===!1){q=!0;var O=process.emitWarning?process.emitWarning:console.warn.bind(console);O("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}K===2&&(z="!=")}if(Q instanceof Error)throw Q;var F={actual:Z,expected:H,operator:z===void 0?"fail":z,stackStartFn:$||f};Q!==void 0&&(F.message=Q);var d=new C(F);throw B&&(d.message=B,d.generatedMessage=!0),d}M.fail=f,M.AssertionError=C;function w(Z,H,Q,z){if(!Q){var $=!1;if(H===0)$=!0,z="No value argument passed to `assert.ok()`";else if(z instanceof Error)throw z;var K=new C({actual:Q,expected:!0,message:z,operator:"==",stackStartFn:Z});throw K.generatedMessage=$,K}}function S(){for(var Z=arguments.length,H=new Array(Z),Q=0;Q1?Q-1:0),$=1;$1?Q-1:0),$=1;$1?Q-1:0),$=1;$1?Q-1:0),$=1;$