@stacksjs/actions 0.70.44 → 0.70.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/{chunk-6x1m5rkr.js → chunk-4fz2qb8b.js} +1 -1
  2. package/dist/{chunk-wv5yb5wb.js → chunk-4p0rjazd.js} +2 -2
  3. package/dist/{chunk-tc935b45.js → chunk-77pta9ww.js} +1 -1
  4. package/dist/{chunk-aw6d8zr3.js → chunk-cqedfbaf.js} +1 -1
  5. package/dist/{chunk-h93n2j40.js → chunk-d5yxdz7e.js} +1 -1
  6. package/dist/{chunk-60qjz7zb.js → chunk-h0hfqr1p.js} +1 -1
  7. package/dist/{chunk-67y94dzt.js → chunk-h5rff0v9.js} +1 -1
  8. package/dist/chunk-jbvvb45k.js +3 -0
  9. package/dist/chunk-kr2k0h74.js +16 -0
  10. package/dist/chunk-s03z9zn3.js +920 -0
  11. package/dist/{chunk-n1y0gpv6.js → chunk-sxp97zys.js} +1 -1
  12. package/dist/{chunk-7bpdkc40.js → chunk-tzx3h4r8.js} +1 -1
  13. package/dist/{chunk-n2x7v39b.js → chunk-vek18p55.js} +1 -1
  14. package/dist/{chunk-wnrgcx3d.js → chunk-yh15ydty.js} +1 -1
  15. package/dist/{chunk-x471rxrn.js → chunk-yvva7qsg.js} +1 -1
  16. package/dist/{chunk-rdajkt2s.js → chunk-zaw01rqz.js} +1 -1
  17. package/dist/{chunk-schcaf73.js → chunk-zbhjh5sz.js} +1 -1
  18. package/dist/src/action.js +1 -1
  19. package/dist/src/actions.js +1 -1
  20. package/dist/src/add.js +1 -1
  21. package/dist/src/ai/request-model-access.js +1 -1
  22. package/dist/src/build.js +1 -1
  23. package/dist/src/commit.js +1 -1
  24. package/dist/src/deploy/index.js +2 -2
  25. package/dist/src/dev/api.js +1 -1
  26. package/dist/src/dev/dashboard-globals.js +1 -1
  27. package/dist/src/dev/dashboard-utils.js +1 -1
  28. package/dist/src/dev/dashboard.js +4 -4
  29. package/dist/src/dev/index.js +1 -1
  30. package/dist/src/dev/views.js +1 -1
  31. package/dist/src/discover-packages.js +1 -1
  32. package/dist/src/examples.js +1 -1
  33. package/dist/src/generate/component-meta.js +1 -1
  34. package/dist/src/generate/env-files.js +1 -1
  35. package/dist/src/generate/ide-helpers.js +1 -1
  36. package/dist/src/generate/index.js +1 -1
  37. package/dist/src/generate/lib-entries.js +1 -1
  38. package/dist/src/generate/vscode-custom-data.js +1 -1
  39. package/dist/src/helpers/component-meta.js +1 -1
  40. package/dist/src/helpers/index.js +1 -1
  41. package/dist/src/helpers/lib-entries.js +1 -1
  42. package/dist/src/helpers/package-json.js +1 -1
  43. package/dist/src/helpers/utils.js +1 -1
  44. package/dist/src/helpers/vscode-custom-data.js +1 -1
  45. package/dist/src/index.js +1 -1
  46. package/dist/src/make-command.js +1 -1
  47. package/dist/src/make-job.js +1 -1
  48. package/dist/src/make-policy.js +1 -1
  49. package/dist/src/make-resource.js +1 -1
  50. package/dist/src/make.js +1 -1
  51. package/dist/src/orm/base.js +1 -1
  52. package/dist/src/release.js +1 -1
  53. package/dist/src/run-action.js +1 -1
  54. package/dist/src/scaffold-crud.js +1 -1
  55. package/dist/src/setup/index.js +1 -1
  56. package/dist/src/setup/ssl.js +1 -1
  57. package/dist/src/stacks.js +1 -1
  58. package/dist/src/templates.js +1 -1
  59. package/dist/src/types.js +1 -1
  60. package/dist/src/upgrade/dependencies.js +1 -1
  61. package/dist/src/upgrade/framework-utils.js +1 -1
  62. package/dist/src/upgrade/framework.js +1 -1
  63. package/dist/src/upgrade/index.js +1 -1
  64. package/dist/src/upgrade.js +1 -1
  65. package/package.json +16 -16
  66. package/dist/chunk-96b7fcmd.js +0 -3
@@ -0,0 +1,16 @@
1
+ // @bun
2
+ import{gb as N,ib as f}from"./chunk-jbvvb45k.js";var fX=N((XS,gX)=>{var UB=typeof process==="object"&&process&&process.platform==="win32";gX.exports=UB?{sep:"\\"}:{sep:"/"}});var R4=N((QS,dX)=>{dX.exports=bX;function bX(X,Q,J){if(X instanceof RegExp)X=uX(X,J);if(Q instanceof RegExp)Q=uX(Q,J);var K=mX(X,Q,J);return K&&{start:K[0],end:K[1],pre:J.slice(0,K[0]),body:J.slice(K[0]+X.length,K[1]),post:J.slice(K[1]+Q.length)}}function uX(X,Q){var J=Q.match(X);return J?J[0]:null}bX.range=mX;function mX(X,Q,J){var K,H,Y,Z,q,V=J.indexOf(X),G=J.indexOf(Q,V+1),W=V;if(V>=0&&G>0){if(X===Q)return[V,G];K=[],Y=J.length;while(W>=0&&!q){if(W==V)K.push(W),V=J.indexOf(X,W+1);else if(K.length==1)q=[K.pop(),G];else{if(H=K.pop(),H<Y)Y=H,Z=G;G=J.indexOf(Q,W+1)}W=V<G&&V>=0?V:G}if(K.length)q=[Y,Z]}return q}});var sX=N((JS,rX)=>{var cX=R4();rX.exports=zB;var pX="\x00SLASH"+Math.random()+"\x00",lX="\x00OPEN"+Math.random()+"\x00",S4="\x00CLOSE"+Math.random()+"\x00",nX="\x00COMMA"+Math.random()+"\x00",iX="\x00PERIOD"+Math.random()+"\x00";function E4(X){return parseInt(X,10)==X?parseInt(X,10):X.charCodeAt(0)}function WB(X){return X.split("\\\\").join(pX).split("\\{").join(lX).split("\\}").join(S4).split("\\,").join(nX).split("\\.").join(iX)}function GB(X){return X.split(pX).join("\\").split(lX).join("{").split(S4).join("}").split(nX).join(",").split(iX).join(".")}function oX(X){if(!X)return[""];var Q=[],J=cX("{","}",X);if(!J)return X.split(",");var{pre:K,body:H,post:Y}=J,Z=K.split(",");Z[Z.length-1]+="{"+H+"}";var q=oX(Y);if(Y.length)Z[Z.length-1]+=q.shift(),Z.push.apply(Z,q);return Q.push.apply(Q,Z),Q}function zB(X,Q){if(!X)return[];Q=Q||{};var J=Q.max==null?1/0:Q.max;if(X.substr(0,2)==="{}")X="\\{\\}"+X.substr(2);return z8(WB(X),J,!0).map(GB)}function BB(X){return"{"+X+"}"}function $B(X){return/^-?0\d/.test(X)}function MB(X,Q){return X<=Q}function FB(X,Q){return X>=Q}function z8(X,Q,J){var K=[],H=cX("{","}",X);if(!H)return[X];var Y=H.pre,Z=H.post.length?z8(H.post,Q,!1):[""];if(/\$$/.test(H.pre))for(var q=0;q<Z.length&&q<Q;q++){var V=Y+"{"+H.body+"}"+Z[q];K.push(V)}else{var G=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(H.body),W=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(H.body),B=G||W,F=H.body.indexOf(",")>=0;if(!B&&!F){if(H.post.match(/,(?!,).*\}/))return X=H.pre+"{"+H.body+S4+H.post,z8(X,Q,!0);return[X]}var M;if(B)M=H.body.split(/\.\./);else if(M=oX(H.body),M.length===1){if(M=z8(M[0],Q,!1).map(BB),M.length===1)return Z.map(function(y){return H.pre+M[0]+y})}var C;if(B){var j=E4(M[0]),P=E4(M[1]),L=Math.max(M[0].length,M[1].length),x=M.length==3?Math.max(Math.abs(E4(M[2])),1):1,v=MB,h=P<j;if(h)x*=-1,v=FB;var n=M.some($B);C=[];for(var k=j;v(k,P);k+=x){var D;if(W){if(D=String.fromCharCode(k),D==="\\")D=""}else if(D=String(k),n){var m=L-D.length;if(m>0){var T=Array(m+1).join("0");if(k<0)D="-"+T+D.slice(1);else D=T+D}}C.push(D)}}else{C=[];for(var S=0;S<M.length;S++)C.push.apply(C,z8(M[S],Q,!1))}for(var S=0;S<C.length;S++)for(var q=0;q<Z.length&&K.length<Q;q++){var V=Y+C[S]+Z[q];if(!J||B||V)K.push(V)}}return K}});var JQ=N((KS,h4)=>{var i0=h4.exports=(X,Q,J={})=>{if(y3(Q),!J.nocomment&&Q.charAt(0)==="#")return!1;return new B8(Q,J).match(X)};h4.exports=i0;var y4=fX();i0.sep=y4.sep;var b0=Symbol("globstar **");i0.GLOBSTAR=b0;var NB=sX(),aX={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},k4="[^/]",x4=k4+"*?",LB="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",IB="(?:(?!(?:\\/|^)\\.).)*?",XQ=(X)=>X.split("").reduce((Q,J)=>{return Q[J]=!0,Q},{}),tX=XQ("().*{}+?[]^$\\!"),CB=XQ("[.("),eX=/\/+/;i0.filter=(X,Q={})=>(J,K,H)=>i0(J,X,Q);var v1=(X,Q={})=>{let J={};return Object.keys(X).forEach((K)=>J[K]=X[K]),Object.keys(Q).forEach((K)=>J[K]=Q[K]),J};i0.defaults=(X)=>{if(!X||typeof X!=="object"||!Object.keys(X).length)return i0;let Q=i0,J=(K,H,Y)=>Q(K,H,v1(X,Y));return J.Minimatch=class extends Q.Minimatch{constructor(H,Y){super(H,v1(X,Y))}},J.Minimatch.defaults=(K)=>Q.defaults(v1(X,K)).Minimatch,J.filter=(K,H)=>Q.filter(K,v1(X,H)),J.defaults=(K)=>Q.defaults(v1(X,K)),J.makeRe=(K,H)=>Q.makeRe(K,v1(X,H)),J.braceExpand=(K,H)=>Q.braceExpand(K,v1(X,H)),J.match=(K,H,Y)=>Q.match(K,H,v1(X,Y)),J};i0.braceExpand=(X,Q)=>QQ(X,Q);var QQ=(X,Q={})=>{if(y3(X),Q.nobrace||!/\{(?:(?!\{).)*\}/.test(X))return[X];return NB(X)},PB=65536,y3=(X)=>{if(typeof X!=="string")throw TypeError("invalid pattern");if(X.length>PB)throw TypeError("pattern is too long")},v4=Symbol("subparse");i0.makeRe=(X,Q)=>new B8(X,Q||{}).makeRe();i0.match=(X,Q,J={})=>{let K=new B8(Q,J);if(X=X.filter((H)=>K.match(H)),K.options.nonull&&!X.length)X.push(Q);return X};var jB=(X)=>X.replace(/\\(.)/g,"$1"),OB=(X)=>X.replace(/\\([^-\]])/g,"$1"),wB=(X)=>X.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),DB=(X)=>X.replace(/[[\]\\]/g,"\\$&");class B8{constructor(X,Q){if(y3(X),!Q)Q={};if(this.options=Q,this.maxGlobstarRecursion=Q.maxGlobstarRecursion!==void 0?Q.maxGlobstarRecursion:200,this.set=[],this.pattern=X,this.windowsPathsNoEscape=!!Q.windowsPathsNoEscape||Q.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!Q.partial,this.make()}debug(){}make(){let X=this.pattern,Q=this.options;if(!Q.nocomment&&X.charAt(0)==="#"){this.comment=!0;return}if(!X){this.empty=!0;return}this.parseNegate();let J=this.globSet=this.braceExpand();if(Q.debug)this.debug=(...K)=>console.error(...K);this.debug(this.pattern,J),J=this.globParts=J.map((K)=>K.split(eX)),this.debug(this.pattern,J),J=J.map((K,H,Y)=>K.map(this.parse,this)),this.debug(this.pattern,J),J=J.filter((K)=>K.indexOf(!1)===-1),this.debug(this.pattern,J),this.set=J}parseNegate(){if(this.options.nonegate)return;let X=this.pattern,Q=!1,J=0;for(let K=0;K<X.length&&X.charAt(K)==="!";K++)Q=!Q,J++;if(J)this.pattern=X.slice(J);this.negate=Q}matchOne(X,Q,J){if(Q.indexOf(b0)!==-1)return this._matchGlobstar(X,Q,J,0,0);return this._matchOne(X,Q,J,0,0)}_matchGlobstar(X,Q,J,K,H){let Y=-1;for(let L=H;L<Q.length;L++)if(Q[L]===b0){Y=L;break}let Z=-1;for(let L=Q.length-1;L>=0;L--)if(Q[L]===b0){Z=L;break}let q=Q.slice(H,Y),V=J?Q.slice(Y+1):Q.slice(Y+1,Z),G=J?[]:Q.slice(Z+1);if(q.length){let L=X.slice(K,K+q.length);if(!this._matchOne(L,q,J,0,0))return!1;K+=q.length}let W=0;if(G.length){if(G.length+K>X.length)return!1;let L=X.length-G.length;if(this._matchOne(X,G,J,L,0))W=G.length;else{if(X[X.length-1]!==""||K+G.length===X.length)return!1;if(!this._matchOne(X,G,J,L-1,0))return!1;W=G.length+1}}if(!V.length){let L=!!W;for(let x=K;x<X.length-W;x++){let v=String(X[x]);if(L=!0,v==="."||v===".."||!this.options.dot&&v.charAt(0)===".")return!1}return J||L}let B=[[[],0]],F=B[0],M=0,C=[0];for(let L of V)if(L===b0)C.push(M),F=[[],0],B.push(F);else F[0].push(L),M++;let j=B.length-1,P=X.length-W;for(let L of B)L[1]=P-(C[j--]+L[0].length);return!!this._matchGlobStarBodySections(X,B,K,0,J,0,!!W)}_matchGlobStarBodySections(X,Q,J,K,H,Y,Z){let q=Q[K];if(!q){for(let W=J;W<X.length;W++){Z=!0;let B=X[W];if(B==="."||B===".."||!this.options.dot&&B.charAt(0)===".")return!1}return Z}let[V,G]=q;while(J<=G){if(this._matchOne(X.slice(0,J+V.length),V,H,J,0)&&Y<this.maxGlobstarRecursion){let F=this._matchGlobStarBodySections(X,Q,J+V.length,K+1,H,Y+1,Z);if(F!==!1)return F}let B=X[J];if(B==="."||B===".."||!this.options.dot&&B.charAt(0)===".")return!1;J++}return H||null}_matchOne(X,Q,J,K,H){let Y,Z,q,V;for(Y=K,Z=H,q=X.length,V=Q.length;Y<q&&Z<V;Y++,Z++){this.debug("matchOne loop");let G=Q[Z],W=X[Y];if(this.debug(Q,G,W),G===!1||G===b0)return!1;let B;if(typeof G==="string")B=W===G,this.debug("string match",G,W,B);else B=W.match(G),this.debug("pattern match",G,W,B);if(!B)return!1}if(Y===q&&Z===V)return!0;else if(Y===q)return J;else if(Z===V)return Y===q-1&&X[Y]==="";throw Error("wtf?")}braceExpand(){return QQ(this.pattern,this.options)}parse(X,Q){y3(X);let J=this.options;if(X==="**")if(!J.noglobstar)return b0;else X="*";if(X==="")return"";let K="",H=!1,Y=!1,Z=[],q=[],V,G=!1,W=-1,B=-1,F,M,C,j=X.charAt(0)===".",P=J.dot||j,L=()=>j?"":P?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",x=(k)=>k.charAt(0)==="."?"":J.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",v=()=>{if(V){switch(V){case"*":K+=x4,H=!0;break;case"?":K+=k4,H=!0;break;default:K+="\\"+V;break}this.debug("clearStateChar %j %j",V,K),V=!1}};for(let k=0,D;k<X.length&&(D=X.charAt(k));k++){if(this.debug("%s\t%s %s %j",X,k,K,D),Y){if(D==="/")return!1;if(tX[D])K+="\\";K+=D,Y=!1;continue}switch(D){case"/":return!1;case"\\":if(G&&X.charAt(k+1)==="-"){K+=D;continue}v(),Y=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",X,k,K,D),G){if(this.debug(" in class"),D==="!"&&k===B+1)D="^";K+=D;continue}if(D==="*"&&V==="*")continue;if(this.debug("call clearStateChar %j",V),v(),V=D,J.noext)v();continue;case"(":{if(G){K+="(";continue}if(!V){K+="\\(";continue}let m={type:V,start:k-1,reStart:K.length,open:aX[V].open,close:aX[V].close};if(this.debug(this.pattern,"\t",m),Z.push(m),K+=m.open,m.start===0&&m.type!=="!")j=!0,K+=x(X.slice(k+1));this.debug("plType %j %j",V,K),V=!1;continue}case")":{let m=Z[Z.length-1];if(G||!m){K+="\\)";continue}if(Z.pop(),v(),H=!0,M=m,K+=M.close,M.type==="!")q.push(Object.assign(M,{reEnd:K.length}));continue}case"|":{let m=Z[Z.length-1];if(G||!m){K+="\\|";continue}if(v(),K+="|",m.start===0&&m.type!=="!")j=!0,K+=x(X.slice(k+1));continue}case"[":if(v(),G){K+="\\"+D;continue}G=!0,B=k,W=K.length,K+=D;continue;case"]":if(k===B+1||!G){K+="\\"+D;continue}F=X.substring(B+1,k);try{RegExp("["+DB(OB(F))+"]"),K+=D}catch(m){K=K.substring(0,W)+"(?:$.)"}H=!0,G=!1;continue;default:if(v(),tX[D]&&!(D==="^"&&G))K+="\\";K+=D;break}}if(G)F=X.slice(B+1),C=this.parse(F,v4),K=K.substring(0,W)+"\\["+C[0],H=H||C[1];for(M=Z.pop();M;M=Z.pop()){let k;k=K.slice(M.reStart+M.open.length),this.debug("setting tail",K,M),k=k.replace(/((?:\\{2}){0,64})(\\?)\|/g,(m,T,S)=>{if(!S)S="\\";return T+T+S+"|"}),this.debug(`tail=%j
3
+ %s`,k,k,M,K);let D=M.type==="*"?x4:M.type==="?"?k4:"\\"+M.type;H=!0,K=K.slice(0,M.reStart)+D+"\\("+k}if(v(),Y)K+="\\\\";let h=CB[K.charAt(0)];for(let k=q.length-1;k>-1;k--){let D=q[k],m=K.slice(0,D.reStart),T=K.slice(D.reStart,D.reEnd-8),S=K.slice(D.reEnd),y=K.slice(D.reEnd-8,D.reEnd)+S,l=m.split(")").length,t=m.split("(").length-l,X0=S;for(let H0=0;H0<t;H0++)X0=X0.replace(/\)[+*?]?/,"");S=X0;let z0=S===""&&Q!==v4?"(?:$|\\/)":"";K=m+T+S+z0+y}if(K!==""&&H)K="(?=.)"+K;if(h)K=L()+K;if(Q===v4)return[K,H];if(J.nocase&&!H)H=X.toUpperCase()!==X.toLowerCase();if(!H)return jB(X);let n=J.nocase?"i":"";try{return Object.assign(new RegExp("^"+K+"$",n),{_glob:X,_src:K})}catch(k){return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let X=this.set;if(!X.length)return this.regexp=!1,this.regexp;let Q=this.options,J=Q.noglobstar?x4:Q.dot?LB:IB,K=Q.nocase?"i":"",H=X.map((Y)=>{return Y=Y.map((Z)=>typeof Z==="string"?wB(Z):Z===b0?b0:Z._src).reduce((Z,q)=>{if(!(Z[Z.length-1]===b0&&q===b0))Z.push(q);return Z},[]),Y.forEach((Z,q)=>{if(Z!==b0||Y[q-1]===b0)return;if(q===0)if(Y.length>1)Y[q+1]="(?:\\/|"+J+"\\/)?"+Y[q+1];else Y[q]=J;else if(q===Y.length-1)Y[q-1]+="(?:\\/|"+J+")?";else Y[q-1]+="(?:\\/|\\/"+J+"\\/)"+Y[q+1],Y[q+1]=b0}),Y.filter((Z)=>Z!==b0).join("/")}).join("|");if(H="^(?:"+H+")$",this.negate)H="^(?!"+H+").*$";try{this.regexp=new RegExp(H,K)}catch(Y){this.regexp=!1}return this.regexp}match(X,Q=this.partial){if(this.debug("match",X,this.pattern),this.comment)return!1;if(this.empty)return X==="";if(X==="/"&&Q)return!0;let J=this.options;if(y4.sep!=="/")X=X.split(y4.sep).join("/");X=X.split(eX),this.debug(this.pattern,"split",X);let K=this.set;this.debug(this.pattern,"set",K);let H;for(let Y=X.length-1;Y>=0;Y--)if(H=X[Y],H)break;for(let Y=0;Y<K.length;Y++){let Z=K[Y],q=X;if(J.matchBase&&Z.length===1)q=[H];if(this.matchOne(q,Z,Q)){if(J.flipNegate)return!0;return!this.negate}}if(J.flipNegate)return!1;return this.negate}static defaults(X){return i0.defaults(X).Minimatch}}i0.Minimatch=B8});var qQ=N((HS,ZQ)=>{ZQ.exports=YQ;var f4=f("fs"),{EventEmitter:TB}=f("events"),{Minimatch:g4}=JQ(),{resolve:_B}=f("path");function AB(X,Q){return new Promise((J,K)=>{f4.readdir(X,{withFileTypes:!0},(H,Y)=>{if(H)switch(H.code){case"ENOTDIR":if(Q)K(H);else J([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":J([]);break;case"ELOOP":default:K(H);break}else J(Y)})})}function KQ(X,Q){return new Promise((J,K)=>{(Q?f4.stat:f4.lstat)(X,(Y,Z)=>{if(Y)switch(Y.code){case"ENOENT":if(Q)J(KQ(X,!1));else J(null);break;default:J(null);break}else J(Z)})})}async function*HQ(X,Q,J,K,H,Y){let Z=await AB(Q+X,Y);for(let q of Z){let V=q.name;if(V===void 0)V=q,K=!0;let G=X+"/"+V,W=G.slice(1),B=Q+"/"+W,F=null;if(K||J)F=await KQ(B,J);if(!F&&q.name!==void 0)F=q;if(F===null)F={isDirectory:()=>!1};if(F.isDirectory()){if(!H(W))yield{relative:W,absolute:B,stats:F},yield*HQ(G,Q,J,K,H,!1)}else yield{relative:W,absolute:B,stats:F}}}async function*RB(X,Q,J,K){yield*HQ("",X,Q,J,K,!0)}function EB(X){return{pattern:X.pattern,dot:!!X.dot,noglobstar:!!X.noglobstar,matchBase:!!X.matchBase,nocase:!!X.nocase,ignore:X.ignore,skip:X.skip,follow:!!X.follow,stat:!!X.stat,nodir:!!X.nodir,mark:!!X.mark,silent:!!X.silent,absolute:!!X.absolute}}class u4 extends TB{constructor(X,Q,J){super();if(typeof Q==="function")J=Q,Q=null;if(this.options=EB(Q||{}),this.matchers=[],this.options.pattern){let K=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=K.map((H)=>new g4(H,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let K=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=K.map((H)=>new g4(H,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let K=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=K.map((H)=>new g4(H,{dot:!0}))}if(this.iterator=RB(_B(X||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,J)this._matches=[],this.on("match",(K)=>this._matches.push(this.options.absolute?K.absolute:K.relative)),this.on("error",(K)=>J(K)),this.on("end",()=>J(null,this._matches));setTimeout(()=>this._next(),0)}_shouldSkipDirectory(X){return this.skipMatchers.some((Q)=>Q.match(X))}_fileMatches(X,Q){let J=X+(Q?"/":"");return(this.matchers.length===0||this.matchers.some((K)=>K.match(J)))&&!this.ignoreMatchers.some((K)=>K.match(J))&&(!this.options.nodir||!Q)}_next(){if(!this.paused&&!this.aborted)this.iterator.next().then((X)=>{if(!X.done){let Q=X.value.stats.isDirectory();if(this._fileMatches(X.value.relative,Q)){let J=X.value.relative,K=X.value.absolute;if(this.options.mark&&Q)J+="/",K+="/";if(this.options.stat)this.emit("match",{relative:J,absolute:K,stat:X.value.stats});else this.emit("match",{relative:J,absolute:K})}this._next(this.iterator)}else this.emit("end")}).catch((X)=>{if(this.abort(),this.emit("error",X),!X.code&&!this.options.silent)console.error(X)});else this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){if(this.paused=!1,this.inactive)this.inactive=!1,this._next()}}function YQ(X,Q,J){return new u4(X,Q,J)}YQ.ReaddirGlob=u4});var UQ=N((k3,VQ)=>{(function(X,Q){typeof k3==="object"&&typeof VQ<"u"?Q(k3):typeof define==="function"&&define.amd?define(["exports"],Q):(X=typeof globalThis<"u"?globalThis:X||self,Q(X.async={}))})(k3,function(X){function Q(U,...z){return(...$)=>U(...z,...$)}function J(U){return function(...z){var $=z.pop();return U.call(this,z,$)}}var K=typeof queueMicrotask==="function"&&queueMicrotask,H=typeof setImmediate==="function"&&setImmediate,Y=typeof process==="object"&&typeof process.nextTick==="function";function Z(U){setTimeout(U,0)}function q(U){return(z,...$)=>U(()=>z(...$))}var V;if(K)V=queueMicrotask;else if(H)V=setImmediate;else if(Y)V=process.nextTick;else V=Z;var G=q(V);function W(U){if(M(U))return function(...z){let $=z.pop(),I=U.apply(this,z);return B(I,$)};return J(function(z,$){var I;try{I=U.apply(this,z)}catch(O){return $(O)}if(I&&typeof I.then==="function")return B(I,$);else $(null,I)})}function B(U,z){return U.then(($)=>{F(z,null,$)},($)=>{F(z,$&&($ instanceof Error||$.message)?$:Error($))})}function F(U,z,$){try{U(z,$)}catch(I){G((O)=>{throw O},I)}}function M(U){return U[Symbol.toStringTag]==="AsyncFunction"}function C(U){return U[Symbol.toStringTag]==="AsyncGenerator"}function j(U){return typeof U[Symbol.asyncIterator]==="function"}function P(U){if(typeof U!=="function")throw Error("expected a function");return M(U)?W(U):U}function L(U,z){if(!z)z=U.length;if(!z)throw Error("arity is undefined");function $(...I){if(typeof I[z-1]==="function")return U.apply(this,I);return new Promise((O,w)=>{I[z-1]=(A,...R)=>{if(A)return w(A);O(R.length>1?R:R[0])},U.apply(this,I)})}return $}function x(U){return function($,...I){return L(function(w){var A=this;return U($,(R,E)=>{P(R).apply(A,I.concat(E))},w)})}}function v(U,z,$,I){z=z||[];var O=[],w=0,A=P($);return U(z,(R,E,b)=>{var e=w++;A(R,(Y0,Q0)=>{O[e]=Q0,b(Y0)})},(R)=>{I(R,O)})}function h(U){return U&&typeof U.length==="number"&&U.length>=0&&U.length%1===0}let n={};function k(U){function z(...$){if(U===null)return;var I=U;U=null,I.apply(this,$)}return Object.assign(z,U),z}function D(U){return U[Symbol.iterator]&&U[Symbol.iterator]()}function m(U){var z=-1,$=U.length;return function(){return++z<$?{value:U[z],key:z}:null}}function T(U){var z=-1;return function(){var I=U.next();if(I.done)return null;return z++,{value:I.value,key:z}}}function S(U){var z=U?Object.keys(U):[],$=-1,I=z.length;return function O(){var w=z[++$];if(w==="__proto__")return O();return $<I?{value:U[w],key:w}:null}}function y(U){if(h(U))return m(U);var z=D(U);return z?T(z):S(U)}function l(U){return function(...z){if(U===null)throw Error("Callback was already called.");var $=U;U=null,$.apply(this,z)}}function t(U,z,$,I){let O=!1,w=!1,A=!1,R=0,E=0;function b(){if(R>=z||A||O)return;A=!0,U.next().then(({value:Q0,done:a0})=>{if(w||O)return;if(A=!1,a0){if(O=!0,R<=0)I(null);return}R++,$(Q0,E,e),E++,b()}).catch(Y0)}function e(Q0,a0){if(R-=1,w)return;if(Q0)return Y0(Q0);if(Q0===!1){O=!0,w=!0;return}if(a0===n||O&&R<=0)return O=!0,I(null);b()}function Y0(Q0){if(w)return;A=!1,O=!0,I(Q0)}b()}var X0=(U)=>{return(z,$,I)=>{if(I=k(I),U<=0)throw RangeError("concurrency limit cannot be less than 1");if(!z)return I(null);if(C(z))return t(z,U,$,I);if(j(z))return t(z[Symbol.asyncIterator](),U,$,I);var O=y(z),w=!1,A=!1,R=0,E=!1;function b(Y0,Q0){if(A)return;if(R-=1,Y0)w=!0,I(Y0);else if(Y0===!1)w=!0,A=!0;else if(Q0===n||w&&R<=0)return w=!0,I(null);else if(!E)e()}function e(){E=!0;while(R<U&&!w){var Y0=O();if(Y0===null){if(w=!0,R<=0)I(null);return}R+=1,$(Y0.value,Y0.key,l(b))}E=!1}e()}};function z0(U,z,$,I){return X0(z)(U,P($),I)}var H0=L(z0,4);function W0(U,z,$){$=k($);var I=0,O=0,{length:w}=U,A=!1;if(w===0)$(null);function R(E,b){if(E===!1)A=!0;if(A===!0)return;if(E)$(E);else if(++O===w||b===n)$(null)}for(;I<w;I++)z(U[I],I,l(R))}function w0(U,z,$){return H0(U,1/0,z,$)}function B0(U,z,$){var I=h(U)?W0:w0;return I(U,P(z),$)}var l0=L(B0,3);function Fz(U,z,$){return v(l0,U,z,$)}var W3=L(Fz,3),i2=x(W3);function Nz(U,z,$){return H0(U,1,z,$)}var Y1=L(Nz,3);function Lz(U,z,$){return v(Y1,U,z,$)}var I4=L(Lz,3),o2=x(I4);let F6=Symbol("promiseCallback");function N6(){let U,z;function $(I,...O){if(I)return z(I);U(O.length>1?O:O[0])}return $[F6]=new Promise((I,O)=>{U=I,z=O}),$}function C4(U,z,$){if(typeof z!=="number")$=z,z=null;$=k($||N6());var I=Object.keys(U).length;if(!I)return $(null);if(!z)z=I;var O={},w=0,A=!1,R=!1,E=Object.create(null),b=[],e=[],Y0={};Object.keys(U).forEach((u)=>{var c=U[u];if(!Array.isArray(c)){Q0(u,[c]),e.push(u);return}var J0=c.slice(0,c.length-1),N0=J0.length;if(N0===0){Q0(u,c),e.push(u);return}Y0[u]=N0,J0.forEach((_0)=>{if(!U[_0])throw Error("async.auto task `"+u+"` has a non-existent dependency `"+_0+"` in "+J0.join(", "));I6(_0,()=>{if(N0--,N0===0)Q0(u,c)})})}),Z0(),a0();function Q0(u,c){b.push(()=>W8(u,c))}function a0(){if(A)return;if(b.length===0&&w===0)return $(null,O);while(b.length&&w<z){var u=b.shift();u()}}function I6(u,c){var J0=E[u];if(!J0)J0=E[u]=[];J0.push(c)}function n1(u){var c=E[u]||[];c.forEach((J0)=>J0()),a0()}function W8(u,c){if(R)return;var J0=l((_0,...t0)=>{if(w--,_0===!1){A=!0;return}if(t0.length<2)[t0]=t0;if(_0){var C6={};if(Object.keys(O).forEach((i1)=>{C6[i1]=O[i1]}),C6[u]=t0,R=!0,E=Object.create(null),A)return;$(_0,C6)}else O[u]=t0,n1(u)});w++;var N0=P(c[c.length-1]);if(c.length>1)N0(O,J0);else N0(J0)}function Z0(){var u,c=0;while(e.length)u=e.pop(),c++,d(u).forEach((J0)=>{if(--Y0[J0]===0)e.push(J0)});if(c!==I)throw Error("async.auto cannot execute tasks due to a recursive dependency")}function d(u){var c=[];return Object.keys(U).forEach((J0)=>{let N0=U[J0];if(Array.isArray(N0)&&N0.indexOf(u)>=0)c.push(J0)}),c}return $[F6]}var Iz=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,Cz=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,Pz=/,/,jz=/(=.+)?(\s*)$/;function Oz(U){let z="",$=0,I=U.indexOf("*/");while($<U.length)if(U[$]==="/"&&U[$+1]==="/"){let O=U.indexOf(`
4
+ `,$);$=O===-1?U.length:O}else if(I!==-1&&U[$]==="/"&&U[$+1]==="*"){let O=U.indexOf("*/",$);if(O!==-1)$=O+2,I=U.indexOf("*/",$);else z+=U[$],$++}else z+=U[$],$++;return z}function wz(U){let z=Oz(U.toString()),$=z.match(Iz);if(!$)$=z.match(Cz);if(!$)throw Error(`could not parse args in autoInject
5
+ Source:
6
+ `+z);let[,I]=$;return I.replace(/\s/g,"").split(Pz).map((O)=>O.replace(jz,"").trim())}function r2(U,z){var $={};return Object.keys(U).forEach((I)=>{var O=U[I],w,A=M(O),R=!A&&O.length===1||A&&O.length===0;if(Array.isArray(O))w=[...O],O=w.pop(),$[I]=w.concat(w.length>0?E:O);else if(R)$[I]=O;else{if(w=wz(O),O.length===0&&!A&&w.length===0)throw Error("autoInject task functions require explicit parameters.");if(!A)w.pop();$[I]=w.concat(E)}function E(b,e){var Y0=w.map((Q0)=>b[Q0]);Y0.push(e),P(O)(...Y0)}}),C4($,z)}class s2{constructor(){this.head=this.tail=null,this.length=0}removeLink(U){if(U.prev)U.prev.next=U.next;else this.head=U.next;if(U.next)U.next.prev=U.prev;else this.tail=U.prev;return U.prev=U.next=null,this.length-=1,U}empty(){while(this.head)this.shift();return this}insertAfter(U,z){if(z.prev=U,z.next=U.next,U.next)U.next.prev=z;else this.tail=z;U.next=z,this.length+=1}insertBefore(U,z){if(z.prev=U.prev,z.next=U,U.prev)U.prev.next=z;else this.head=z;U.prev=z,this.length+=1}unshift(U){if(this.head)this.insertBefore(this.head,U);else a2(this,U)}push(U){if(this.tail)this.insertAfter(this.tail,U);else a2(this,U)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var U=this.head;while(U)yield U.data,U=U.next}remove(U){var z=this.head;while(z){var{next:$}=z;if(U(z))this.removeLink(z);z=$}return this}}function a2(U,z){U.length=1,U.head=U.tail=z}function P4(U,z,$){if(z==null)z=1;else if(z===0)throw RangeError("Concurrency must not be zero");var I=P(U),O=0,w=[];let A={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function R(d,u){A[d].push(u)}function E(d,u){let c=(...J0)=>{b(d,c),u(...J0)};A[d].push(c)}function b(d,u){if(!d)return Object.keys(A).forEach((c)=>A[c]=[]);if(!u)return A[d]=[];A[d]=A[d].filter((c)=>c!==u)}function e(d,...u){A[d].forEach((c)=>c(...u))}var Y0=!1;function Q0(d,u,c,J0){if(J0!=null&&typeof J0!=="function")throw Error("task callback must be a function");Z0.started=!0;var N0,_0;function t0(i1,...G8){if(i1)return c?_0(i1):N0();if(G8.length<=1)return N0(G8[0]);N0(G8)}var C6=Z0._createTaskItem(d,c?t0:J0||t0);if(u)Z0._tasks.unshift(C6);else Z0._tasks.push(C6);if(!Y0)Y0=!0,G(()=>{Y0=!1,Z0.process()});if(c||!J0)return new Promise((i1,G8)=>{N0=i1,_0=G8})}function a0(d){return function(u,...c){O-=1;for(var J0=0,N0=d.length;J0<N0;J0++){var _0=d[J0],t0=w.indexOf(_0);if(t0===0)w.shift();else if(t0>0)w.splice(t0,1);if(_0.callback(u,...c),u!=null)e("error",u,_0.data)}if(O<=Z0.concurrency-Z0.buffer)e("unsaturated");if(Z0.idle())e("drain");Z0.process()}}function I6(d){if(d.length===0&&Z0.idle())return G(()=>e("drain")),!0;return!1}let n1=(d)=>(u)=>{if(!u)return new Promise((c,J0)=>{E(d,(N0,_0)=>{if(N0)return J0(N0);c(_0)})});b(d),R(d,u)};var W8=!1,Z0={_tasks:new s2,_createTaskItem(d,u){return{data:d,callback:u}},*[Symbol.iterator](){yield*Z0._tasks[Symbol.iterator]()},concurrency:z,payload:$,buffer:z/4,started:!1,paused:!1,push(d,u){if(Array.isArray(d)){if(I6(d))return;return d.map((c)=>Q0(c,!1,!1,u))}return Q0(d,!1,!1,u)},pushAsync(d,u){if(Array.isArray(d)){if(I6(d))return;return d.map((c)=>Q0(c,!1,!0,u))}return Q0(d,!1,!0,u)},kill(){b(),Z0._tasks.empty()},unshift(d,u){if(Array.isArray(d)){if(I6(d))return;return d.map((c)=>Q0(c,!0,!1,u))}return Q0(d,!0,!1,u)},unshiftAsync(d,u){if(Array.isArray(d)){if(I6(d))return;return d.map((c)=>Q0(c,!0,!0,u))}return Q0(d,!0,!0,u)},remove(d){Z0._tasks.remove(d)},process(){if(W8)return;W8=!0;while(!Z0.paused&&O<Z0.concurrency&&Z0._tasks.length){var d=[],u=[],c=Z0._tasks.length;if(Z0.payload)c=Math.min(c,Z0.payload);for(var J0=0;J0<c;J0++){var N0=Z0._tasks.shift();d.push(N0),w.push(N0),u.push(N0.data)}if(O+=1,Z0._tasks.length===0)e("empty");if(O===Z0.concurrency)e("saturated");var _0=l(a0(d));I(u,_0)}W8=!1},length(){return Z0._tasks.length},running(){return O},workersList(){return w},idle(){return Z0._tasks.length+O===0},pause(){Z0.paused=!0},resume(){if(Z0.paused===!1)return;Z0.paused=!1,G(Z0.process)}};return Object.defineProperties(Z0,{saturated:{writable:!1,value:n1("saturated")},unsaturated:{writable:!1,value:n1("unsaturated")},empty:{writable:!1,value:n1("empty")},drain:{writable:!1,value:n1("drain")},error:{writable:!1,value:n1("error")}}),Z0}function t2(U,z){return P4(U,1,z)}function e2(U,z,$){return P4(U,z,$)}function Dz(U,z,$,I){I=k(I);var O=P($);return Y1(U,(w,A,R)=>{O(z,w,(E,b)=>{z=b,R(E)})},(w)=>I(w,z))}var x1=L(Dz,4);function j4(...U){var z=U.map(P);return function(...$){var I=this,O=$[$.length-1];if(typeof O=="function")$.pop();else O=N6();return x1(z,$,(w,A,R)=>{A.apply(I,w.concat((E,...b)=>{R(E,b)}))},(w,A)=>O(w,...A)),O[F6]}}function XX(...U){return j4(...U.reverse())}function Tz(U,z,$,I){return v(X0(z),U,$,I)}var Y8=L(Tz,4);function _z(U,z,$,I){var O=P($);return Y8(U,z,(w,A)=>{O(w,(R,...E)=>{if(R)return A(R);return A(R,E)})},(w,A)=>{var R=[];for(var E=0;E<A.length;E++)if(A[E])R=R.concat(...A[E]);return I(w,R)})}var L6=L(_z,4);function Az(U,z,$){return L6(U,1/0,z,$)}var G3=L(Az,3);function Rz(U,z,$){return L6(U,1,z,$)}var z3=L(Rz,3);function QX(...U){return function(...z){var $=z.pop();return $(null,...U)}}function P1(U,z){return($,I,O,w)=>{var A=!1,R;let E=P(O);$(I,(b,e,Y0)=>{E(b,(Q0,a0)=>{if(Q0||Q0===!1)return Y0(Q0);if(U(a0)&&!R)return A=!0,R=z(!0,b),Y0(null,n);Y0()})},(b)=>{if(b)return w(b);w(null,A?R:z(!1))})}}function Ez(U,z,$){return P1((I)=>I,(I,O)=>O)(l0,U,z,$)}var B3=L(Ez,3);function Sz(U,z,$,I){return P1((O)=>O,(O,w)=>w)(X0(z),U,$,I)}var $3=L(Sz,4);function xz(U,z,$){return P1((I)=>I,(I,O)=>O)(X0(1),U,z,$)}var M3=L(xz,3);function JX(U){return(z,...$)=>P(z)(...$,(I,...O)=>{if(typeof console==="object"){if(I){if(console.error)console.error(I)}else if(console[U])O.forEach((w)=>console[U](w))}})}var KX=JX("dir");function vz(U,z,$){$=l($);var I=P(U),O=P(z),w;function A(E,...b){if(E)return $(E);if(E===!1)return;w=b,O(...b,R)}function R(E,b){if(E)return $(E);if(E===!1)return;if(!b)return $(null,...w);I(A)}return R(null,!0)}var Z8=L(vz,3);function HX(U,z,$){let I=P(z);return Z8(U,(...O)=>{let w=O.pop();I(...O,(A,R)=>w(A,!R))},$)}function YX(U){return(z,$,I)=>U(z,I)}function yz(U,z,$){return l0(U,YX(P(z)),$)}var F3=L(yz,3);function kz(U,z,$,I){return X0(z)(U,YX(P($)),I)}var q8=L(kz,4);function hz(U,z,$){return q8(U,1,z,$)}var V8=L(hz,3);function O4(U){if(M(U))return U;return function(...z){var $=z.pop(),I=!0;z.push((...O)=>{if(I)G(()=>$(...O));else $(...O)}),U.apply(this,z),I=!1}}function gz(U,z,$){return P1((I)=>!I,(I)=>!I)(l0,U,z,$)}var N3=L(gz,3);function fz(U,z,$,I){return P1((O)=>!O,(O)=>!O)(X0(z),U,$,I)}var L3=L(fz,4);function uz(U,z,$){return P1((I)=>!I,(I)=>!I)(Y1,U,z,$)}var I3=L(uz,3);function bz(U,z,$,I){var O=Array(z.length);U(z,(w,A,R)=>{$(w,(E,b)=>{O[A]=!!b,R(E)})},(w)=>{if(w)return I(w);var A=[];for(var R=0;R<z.length;R++)if(O[R])A.push(z[R]);I(null,A)})}function mz(U,z,$,I){var O=[];U(z,(w,A,R)=>{$(w,(E,b)=>{if(E)return R(E);if(b)O.push({index:A,value:w});R(E)})},(w)=>{if(w)return I(w);I(null,O.sort((A,R)=>A.index-R.index).map((A)=>A.value))})}function C3(U,z,$,I){var O=h(z)?bz:mz;return O(U,z,P($),I)}function dz(U,z,$){return C3(l0,U,z,$)}var P3=L(dz,3);function cz(U,z,$,I){return C3(X0(z),U,$,I)}var j3=L(cz,4);function pz(U,z,$){return C3(Y1,U,z,$)}var O3=L(pz,3);function lz(U,z){var $=l(z),I=P(O4(U));function O(w){if(w)return $(w);if(w===!1)return;I(O)}return O()}var ZX=L(lz,2);function nz(U,z,$,I){var O=P($);return Y8(U,z,(w,A)=>{O(w,(R,E)=>{if(R)return A(R);return A(R,{key:E,val:w})})},(w,A)=>{var R={},{hasOwnProperty:E}=Object.prototype;for(var b=0;b<A.length;b++)if(A[b]){var{key:e}=A[b],{val:Y0}=A[b];if(E.call(R,e))R[e].push(Y0);else R[e]=[Y0]}return I(w,R)})}var w3=L(nz,4);function qX(U,z,$){return w3(U,1/0,z,$)}function VX(U,z,$){return w3(U,1,z,$)}var UX=JX("log");function iz(U,z,$,I){I=k(I);var O={},w=P($);return X0(z)(U,(A,R,E)=>{w(A,R,(b,e)=>{if(b)return E(b);O[R]=e,E(b)})},(A)=>I(A,O))}var D3=L(iz,4);function WX(U,z,$){return D3(U,1/0,z,$)}function GX(U,z,$){return D3(U,1,z,$)}function zX(U,z=($)=>$){var $=Object.create(null),I=Object.create(null),O=P(U),w=J((A,R)=>{var E=z(...A);if(E in $)G(()=>R(null,...$[E]));else if(E in I)I[E].push(R);else I[E]=[R],O(...A,(b,...e)=>{if(!b)$[E]=e;var Y0=I[E];delete I[E];for(var Q0=0,a0=Y0.length;Q0<a0;Q0++)Y0[Q0](b,...e)})});return w.memo=$,w.unmemoized=U,w}var T3;if(Y)T3=process.nextTick;else if(H)T3=setImmediate;else T3=Z;var BX=q(T3),w4=L((U,z,$)=>{var I=h(z)?[]:{};U(z,(O,w,A)=>{P(O)((R,...E)=>{if(E.length<2)[E]=E;I[w]=E,A(R)})},(O)=>$(O,I))},3);function $X(U,z){return w4(l0,U,z)}function MX(U,z,$){return w4(X0(z),U,$)}function D4(U,z){var $=P(U);return P4((I,O)=>{$(I[0],O)},z,1)}class FX{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(U){let z;while(U>0&&T4(this.heap[U],this.heap[z=NX(U)])){let $=this.heap[U];this.heap[U]=this.heap[z],this.heap[z]=$,U=z}}percDown(U){let z;while((z=oz(U))<this.heap.length){if(z+1<this.heap.length&&T4(this.heap[z+1],this.heap[z]))z=z+1;if(T4(this.heap[U],this.heap[z]))break;let $=this.heap[U];this.heap[U]=this.heap[z],this.heap[z]=$,U=z}}push(U){U.pushCount=++this.pushCount,this.heap.push(U),this.percUp(this.heap.length-1)}unshift(U){return this.heap.push(U)}shift(){let[U]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),U}toArray(){return[...this]}*[Symbol.iterator](){for(let U=0;U<this.heap.length;U++)yield this.heap[U].data}remove(U){let z=0;for(let $=0;$<this.heap.length;$++)if(!U(this.heap[$]))this.heap[z]=this.heap[$],z++;this.heap.splice(z);for(let $=NX(this.heap.length-1);$>=0;$--)this.percDown($);return this}}function oz(U){return(U<<1)+1}function NX(U){return(U+1>>1)-1}function T4(U,z){if(U.priority!==z.priority)return U.priority<z.priority;else return U.pushCount<z.pushCount}function LX(U,z){var $=D4(U,z),{push:I,pushAsync:O}=$;$._tasks=new FX,$._createTaskItem=({data:A,priority:R},E)=>{return{data:A,priority:R,callback:E}};function w(A,R){if(!Array.isArray(A))return{data:A,priority:R};return A.map((E)=>{return{data:E,priority:R}})}return $.push=function(A,R=0,E){return I(w(A,R),E)},$.pushAsync=function(A,R=0,E){return O(w(A,R),E)},delete $.unshift,delete $.unshiftAsync,$}function rz(U,z){if(z=k(z),!Array.isArray(U))return z(TypeError("First argument to race must be an array of functions"));if(!U.length)return z();for(var $=0,I=U.length;$<I;$++)P(U[$])(z)}var IX=L(rz,2);function _3(U,z,$,I){var O=[...U].reverse();return x1(O,z,$,I)}function A3(U){var z=P(U);return J(function(I,O){return I.push((w,...A)=>{let R={};if(w)R.error=w;if(A.length>0){var E=A;if(A.length<=1)[E]=A;R.value=E}O(null,R)}),z.apply(this,I)})}function CX(U){var z;if(Array.isArray(U))z=U.map(A3);else z={},Object.keys(U).forEach(($)=>{z[$]=A3.call(this,U[$])});return z}function _4(U,z,$,I){let O=P($);return C3(U,z,(w,A)=>{O(w,(R,E)=>{A(R,!E)})},I)}function sz(U,z,$){return _4(l0,U,z,$)}var PX=L(sz,3);function az(U,z,$,I){return _4(X0(z),U,$,I)}var jX=L(az,4);function tz(U,z,$){return _4(Y1,U,z,$)}var OX=L(tz,3);function wX(U){return function(){return U}}let A4=5,DX=0;function R3(U,z,$){var I={times:A4,intervalFunc:wX(DX)};if(arguments.length<3&&typeof U==="function")$=z||N6(),z=U;else ez(I,U),$=$||N6();if(typeof z!=="function")throw Error("Invalid arguments for async.retry");var O=P(z),w=1;function A(){O((R,...E)=>{if(R===!1)return;if(R&&w++<I.times&&(typeof I.errorFilter!="function"||I.errorFilter(R)))setTimeout(A,I.intervalFunc(w-1));else $(R,...E)})}return A(),$[F6]}function ez(U,z){if(typeof z==="object")U.times=+z.times||A4,U.intervalFunc=typeof z.interval==="function"?z.interval:wX(+z.interval||DX),U.errorFilter=z.errorFilter;else if(typeof z==="number"||typeof z==="string")U.times=+z||A4;else throw Error("Invalid arguments for async.retry")}function TX(U,z){if(!z)z=U,U=null;let $=U&&U.arity||z.length;if(M(z))$+=1;var I=P(z);return J((O,w)=>{if(O.length<$-1||w==null)O.push(w),w=N6();function A(R){I(...O,R)}if(U)R3(U,A,w);else R3(A,w);return w[F6]})}function _X(U,z){return w4(Y1,U,z)}function XB(U,z,$){return P1(Boolean,(I)=>I)(l0,U,z,$)}var E3=L(XB,3);function QB(U,z,$,I){return P1(Boolean,(O)=>O)(X0(z),U,$,I)}var S3=L(QB,4);function JB(U,z,$){return P1(Boolean,(I)=>I)(Y1,U,z,$)}var x3=L(JB,3);function KB(U,z,$){var I=P(z);return W3(U,(w,A)=>{I(w,(R,E)=>{if(R)return A(R);A(R,{value:w,criteria:E})})},(w,A)=>{if(w)return $(w);$(null,A.sort(O).map((R)=>R.value))});function O(w,A){var R=w.criteria,E=A.criteria;return R<E?-1:R>E?1:0}}var AX=L(KB,3);function RX(U,z,$){var I=P(U);return J((O,w)=>{var A=!1,R;function E(){var b=U.name||"anonymous",e=Error('Callback function "'+b+'" timed out.');if(e.code="ETIMEDOUT",$)e.info=$;A=!0,w(e)}O.push((...b)=>{if(!A)w(...b),clearTimeout(R)}),R=setTimeout(E,z),I(...O)})}function HB(U){var z=Array(U);while(U--)z[U]=U;return z}function v3(U,z,$,I){var O=P($);return Y8(HB(U),z,O,I)}function EX(U,z,$){return v3(U,1/0,z,$)}function SX(U,z,$){return v3(U,1,z,$)}function xX(U,z,$,I){if(arguments.length<=3&&typeof z==="function")I=$,$=z,z=Array.isArray(U)?[]:{};I=k(I||N6());var O=P($);return l0(U,(w,A,R)=>{O(z,w,A,R)},(w)=>I(w,z)),I[F6]}function YB(U,z){var $=null,I;return V8(U,(O,w)=>{P(O)((A,...R)=>{if(A===!1)return w(A);if(R.length<2)[I]=R;else I=R;$=A,w(A?null:{})})},()=>z($,I))}var vX=L(YB);function yX(U){return(...z)=>{return(U.unmemoized||U)(...z)}}function ZB(U,z,$){$=l($);var I=P(z),O=P(U),w=[];function A(E,...b){if(E)return $(E);if(w=b,E===!1)return;O(R)}function R(E,b){if(E)return $(E);if(E===!1)return;if(!b)return $(null,...w);I(A)}return O(R)}var U8=L(ZB,3);function kX(U,z,$){let I=P(U);return U8((O)=>I((w,A)=>O(w,!A)),z,$)}function qB(U,z){if(z=k(z),!Array.isArray(U))return z(Error("First argument to waterfall must be an array of functions"));if(!U.length)return z();var $=0;function I(w){var A=P(U[$++]);A(...w,l(O))}function O(w,...A){if(w===!1)return;if(w||$===U.length)return z(w,...A);I(A)}I([])}var hX=L(qB),VB={apply:Q,applyEach:i2,applyEachSeries:o2,asyncify:W,auto:C4,autoInject:r2,cargo:t2,cargoQueue:e2,compose:XX,concat:G3,concatLimit:L6,concatSeries:z3,constant:QX,detect:B3,detectLimit:$3,detectSeries:M3,dir:KX,doUntil:HX,doWhilst:Z8,each:F3,eachLimit:q8,eachOf:l0,eachOfLimit:H0,eachOfSeries:Y1,eachSeries:V8,ensureAsync:O4,every:N3,everyLimit:L3,everySeries:I3,filter:P3,filterLimit:j3,filterSeries:O3,forever:ZX,groupBy:qX,groupByLimit:w3,groupBySeries:VX,log:UX,map:W3,mapLimit:Y8,mapSeries:I4,mapValues:WX,mapValuesLimit:D3,mapValuesSeries:GX,memoize:zX,nextTick:BX,parallel:$X,parallelLimit:MX,priorityQueue:LX,queue:D4,race:IX,reduce:x1,reduceRight:_3,reflect:A3,reflectAll:CX,reject:PX,rejectLimit:jX,rejectSeries:OX,retry:R3,retryable:TX,seq:j4,series:_X,setImmediate:G,some:E3,someLimit:S3,someSeries:x3,sortBy:AX,timeout:RX,times:EX,timesLimit:v3,timesSeries:SX,transform:xX,tryEach:vX,unmemoize:yX,until:kX,waterfall:hX,whilst:U8,all:N3,allLimit:L3,allSeries:I3,any:E3,anyLimit:S3,anySeries:x3,find:B3,findLimit:$3,findSeries:M3,flatMap:G3,flatMapLimit:L6,flatMapSeries:z3,forEach:F3,forEachSeries:V8,forEachLimit:q8,forEachOf:l0,forEachOfSeries:Y1,forEachOfLimit:H0,inject:x1,foldl:x1,foldr:_3,select:P3,selectLimit:j3,selectSeries:O3,wrapSync:W,during:U8,doDuring:Z8};X.all=N3,X.allLimit=L3,X.allSeries=I3,X.any=E3,X.anyLimit=S3,X.anySeries=x3,X.apply=Q,X.applyEach=i2,X.applyEachSeries=o2,X.asyncify=W,X.auto=C4,X.autoInject=r2,X.cargo=t2,X.cargoQueue=e2,X.compose=XX,X.concat=G3,X.concatLimit=L6,X.concatSeries=z3,X.constant=QX,X.default=VB,X.detect=B3,X.detectLimit=$3,X.detectSeries=M3,X.dir=KX,X.doDuring=Z8,X.doUntil=HX,X.doWhilst=Z8,X.during=U8,X.each=F3,X.eachLimit=q8,X.eachOf=l0,X.eachOfLimit=H0,X.eachOfSeries=Y1,X.eachSeries=V8,X.ensureAsync=O4,X.every=N3,X.everyLimit=L3,X.everySeries=I3,X.filter=P3,X.filterLimit=j3,X.filterSeries=O3,X.find=B3,X.findLimit=$3,X.findSeries=M3,X.flatMap=G3,X.flatMapLimit=L6,X.flatMapSeries=z3,X.foldl=x1,X.foldr=_3,X.forEach=F3,X.forEachLimit=q8,X.forEachOf=l0,X.forEachOfLimit=H0,X.forEachOfSeries=Y1,X.forEachSeries=V8,X.forever=ZX,X.groupBy=qX,X.groupByLimit=w3,X.groupBySeries=VX,X.inject=x1,X.log=UX,X.map=W3,X.mapLimit=Y8,X.mapSeries=I4,X.mapValues=WX,X.mapValuesLimit=D3,X.mapValuesSeries=GX,X.memoize=zX,X.nextTick=BX,X.parallel=$X,X.parallelLimit=MX,X.priorityQueue=LX,X.queue=D4,X.race=IX,X.reduce=x1,X.reduceRight=_3,X.reflect=A3,X.reflectAll=CX,X.reject=PX,X.rejectLimit=jX,X.rejectSeries=OX,X.retry=R3,X.retryable=TX,X.select=P3,X.selectLimit=j3,X.selectSeries=O3,X.seq=j4,X.series=_X,X.setImmediate=G,X.some=E3,X.someLimit=S3,X.someSeries=x3,X.sortBy=AX,X.timeout=RX,X.times=EX,X.timesLimit=v3,X.timesSeries=SX,X.transform=xX,X.tryEach=vX,X.unmemoize=yX,X.until=kX,X.waterfall=hX,X.whilst=U8,X.wrapSync=W,Object.defineProperty(X,"__esModule",{value:!0})})});var GQ=N((YS,WQ)=>{var y1=f("constants"),SB=process.cwd,h3=null,xB=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!h3)h3=SB.call(process);return h3};try{process.cwd()}catch(X){}if(typeof process.chdir==="function"){if(g3=process.chdir,process.chdir=function(X){h3=null,g3.call(process,X)},Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,g3)}var g3;WQ.exports=vB;function vB(X){if(y1.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./))Q(X);if(!X.lutimes)J(X);if(X.chown=Y(X.chown),X.fchown=Y(X.fchown),X.lchown=Y(X.lchown),X.chmod=K(X.chmod),X.fchmod=K(X.fchmod),X.lchmod=K(X.lchmod),X.chownSync=Z(X.chownSync),X.fchownSync=Z(X.fchownSync),X.lchownSync=Z(X.lchownSync),X.chmodSync=H(X.chmodSync),X.fchmodSync=H(X.fchmodSync),X.lchmodSync=H(X.lchmodSync),X.stat=q(X.stat),X.fstat=q(X.fstat),X.lstat=q(X.lstat),X.statSync=V(X.statSync),X.fstatSync=V(X.fstatSync),X.lstatSync=V(X.lstatSync),X.chmod&&!X.lchmod)X.lchmod=function(W,B,F){if(F)process.nextTick(F)},X.lchmodSync=function(){};if(X.chown&&!X.lchown)X.lchown=function(W,B,F,M){if(M)process.nextTick(M)},X.lchownSync=function(){};if(xB==="win32")X.rename=typeof X.rename!=="function"?X.rename:function(W){function B(F,M,C){var j=Date.now(),P=0;W(F,M,function L(x){if(x&&(x.code==="EACCES"||x.code==="EPERM"||x.code==="EBUSY")&&Date.now()-j<60000){if(setTimeout(function(){X.stat(M,function(v,h){if(v&&v.code==="ENOENT")W(F,M,L);else C(x)})},P),P<100)P+=10;return}if(C)C(x)})}if(Object.setPrototypeOf)Object.setPrototypeOf(B,W);return B}(X.rename);X.read=typeof X.read!=="function"?X.read:function(W){function B(F,M,C,j,P,L){var x;if(L&&typeof L==="function"){var v=0;x=function(h,n,k){if(h&&h.code==="EAGAIN"&&v<10)return v++,W.call(X,F,M,C,j,P,x);L.apply(this,arguments)}}return W.call(X,F,M,C,j,P,x)}if(Object.setPrototypeOf)Object.setPrototypeOf(B,W);return B}(X.read),X.readSync=typeof X.readSync!=="function"?X.readSync:function(W){return function(B,F,M,C,j){var P=0;while(!0)try{return W.call(X,B,F,M,C,j)}catch(L){if(L.code==="EAGAIN"&&P<10){P++;continue}throw L}}}(X.readSync);function Q(W){W.lchmod=function(B,F,M){W.open(B,y1.O_WRONLY|y1.O_SYMLINK,F,function(C,j){if(C){if(M)M(C);return}W.fchmod(j,F,function(P){W.close(j,function(L){if(M)M(P||L)})})})},W.lchmodSync=function(B,F){var M=W.openSync(B,y1.O_WRONLY|y1.O_SYMLINK,F),C=!0,j;try{j=W.fchmodSync(M,F),C=!1}finally{if(C)try{W.closeSync(M)}catch(P){}else W.closeSync(M)}return j}}function J(W){if(y1.hasOwnProperty("O_SYMLINK")&&W.futimes)W.lutimes=function(B,F,M,C){W.open(B,y1.O_SYMLINK,function(j,P){if(j){if(C)C(j);return}W.futimes(P,F,M,function(L){W.close(P,function(x){if(C)C(L||x)})})})},W.lutimesSync=function(B,F,M){var C=W.openSync(B,y1.O_SYMLINK),j,P=!0;try{j=W.futimesSync(C,F,M),P=!1}finally{if(P)try{W.closeSync(C)}catch(L){}else W.closeSync(C)}return j};else if(W.futimes)W.lutimes=function(B,F,M,C){if(C)process.nextTick(C)},W.lutimesSync=function(){}}function K(W){if(!W)return W;return function(B,F,M){return W.call(X,B,F,function(C){if(G(C))C=null;if(M)M.apply(this,arguments)})}}function H(W){if(!W)return W;return function(B,F){try{return W.call(X,B,F)}catch(M){if(!G(M))throw M}}}function Y(W){if(!W)return W;return function(B,F,M,C){return W.call(X,B,F,M,function(j){if(G(j))j=null;if(C)C.apply(this,arguments)})}}function Z(W){if(!W)return W;return function(B,F,M){try{return W.call(X,B,F,M)}catch(C){if(!G(C))throw C}}}function q(W){if(!W)return W;return function(B,F,M){if(typeof F==="function")M=F,F=null;function C(j,P){if(P){if(P.uid<0)P.uid+=4294967296;if(P.gid<0)P.gid+=4294967296}if(M)M.apply(this,arguments)}return F?W.call(X,B,F,C):W.call(X,B,C)}}function V(W){if(!W)return W;return function(B,F){var M=F?W.call(X,B,F):W.call(X,B);if(M){if(M.uid<0)M.uid+=4294967296;if(M.gid<0)M.gid+=4294967296}return M}}function G(W){if(!W)return!0;if(W.code==="ENOSYS")return!0;var B=!process.getuid||process.getuid()!==0;if(B){if(W.code==="EINVAL"||W.code==="EPERM")return!0}return!1}}});var $Q=N((ZS,BQ)=>{var zQ=f("stream").Stream;BQ.exports=yB;function yB(X){return{ReadStream:Q,WriteStream:J};function Q(K,H){if(!(this instanceof Q))return new Q(K,H);zQ.call(this);var Y=this;this.path=K,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,H=H||{};var Z=Object.keys(H);for(var q=0,V=Z.length;q<V;q++){var G=Z[q];this[G]=H[G]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==void 0){if(typeof this.start!=="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!=="number")throw TypeError("end must be a Number");if(this.start>this.end)throw Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){Y._read()});return}X.open(this.path,this.flags,this.mode,function(W,B){if(W){Y.emit("error",W),Y.readable=!1;return}Y.fd=B,Y.emit("open",B),Y._read()})}function J(K,H){if(!(this instanceof J))return new J(K,H);zQ.call(this),this.path=K,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,H=H||{};var Y=Object.keys(H);for(var Z=0,q=Y.length;Z<q;Z++){var V=Y[Z];this[V]=H[V]}if(this.start!==void 0){if(typeof this.start!=="number")throw TypeError("start must be a Number");if(this.start<0)throw Error("start must be >= zero");this.pos=this.start}if(this.busy=!1,this._queue=[],this.fd===null)this._open=X.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush()}}});var FQ=N((qS,MQ)=>{MQ.exports=hB;var kB=Object.getPrototypeOf||function(X){return X.__proto__};function hB(X){if(X===null||typeof X!=="object")return X;if(X instanceof Object)var Q={__proto__:kB(X)};else var Q=Object.create(null);return Object.getOwnPropertyNames(X).forEach(function(J){Object.defineProperty(Q,J,Object.getOwnPropertyDescriptor(X,J))}),Q}});var p4=N((VS,c4)=>{var I0=f("fs"),gB=GQ(),fB=$Q(),uB=FQ(),f3=f("util"),x0,b3;if(typeof Symbol==="function"&&typeof Symbol.for==="function")x0=Symbol.for("graceful-fs.queue"),b3=Symbol.for("graceful-fs.previous");else x0="___graceful-fs.queue",b3="___graceful-fs.previous";function bB(){}function LQ(X,Q){Object.defineProperty(X,x0,{get:function(){return Q}})}var o1=bB;if(f3.debuglog)o1=f3.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))o1=function(){var X=f3.format.apply(f3,arguments);X="GFS4: "+X.split(/\n/).join(`
7
+ GFS4: `),console.error(X)};if(!I0[x0]){if(b4=global[x0]||[],LQ(I0,b4),I0.close=function(X){function Q(J,K){return X.call(I0,J,function(H){if(!H)NQ();if(typeof K==="function")K.apply(this,arguments)})}return Object.defineProperty(Q,b3,{value:X}),Q}(I0.close),I0.closeSync=function(X){function Q(J){X.apply(I0,arguments),NQ()}return Object.defineProperty(Q,b3,{value:X}),Q}(I0.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))process.on("exit",function(){o1(I0[x0]),f("assert").equal(I0[x0].length,0)})}var b4;if(!global[x0])LQ(global,I0[x0]);c4.exports=m4(uB(I0));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!I0.__patched)c4.exports=m4(I0),I0.__patched=!0;function m4(X){gB(X),X.gracefulify=m4,X.createReadStream=n,X.createWriteStream=k;var Q=X.readFile;X.readFile=J;function J(T,S,y){if(typeof S==="function")y=S,S=null;return l(T,S,y);function l(t,X0,z0,H0){return Q(t,X0,function(W0){if(W0&&(W0.code==="EMFILE"||W0.code==="ENFILE"))P6([l,[t,X0,z0],W0,H0||Date.now(),Date.now()]);else if(typeof z0==="function")z0.apply(this,arguments)})}}var K=X.writeFile;X.writeFile=H;function H(T,S,y,l){if(typeof y==="function")l=y,y=null;return t(T,S,y,l);function t(X0,z0,H0,W0,w0){return K(X0,z0,H0,function(B0){if(B0&&(B0.code==="EMFILE"||B0.code==="ENFILE"))P6([t,[X0,z0,H0,W0],B0,w0||Date.now(),Date.now()]);else if(typeof W0==="function")W0.apply(this,arguments)})}}var Y=X.appendFile;if(Y)X.appendFile=Z;function Z(T,S,y,l){if(typeof y==="function")l=y,y=null;return t(T,S,y,l);function t(X0,z0,H0,W0,w0){return Y(X0,z0,H0,function(B0){if(B0&&(B0.code==="EMFILE"||B0.code==="ENFILE"))P6([t,[X0,z0,H0,W0],B0,w0||Date.now(),Date.now()]);else if(typeof W0==="function")W0.apply(this,arguments)})}}var q=X.copyFile;if(q)X.copyFile=V;function V(T,S,y,l){if(typeof y==="function")l=y,y=0;return t(T,S,y,l);function t(X0,z0,H0,W0,w0){return q(X0,z0,H0,function(B0){if(B0&&(B0.code==="EMFILE"||B0.code==="ENFILE"))P6([t,[X0,z0,H0,W0],B0,w0||Date.now(),Date.now()]);else if(typeof W0==="function")W0.apply(this,arguments)})}}var G=X.readdir;X.readdir=B;var W=/^v[0-5]\./;function B(T,S,y){if(typeof S==="function")y=S,S=null;var l=W.test(process.version)?function(z0,H0,W0,w0){return G(z0,t(z0,H0,W0,w0))}:function(z0,H0,W0,w0){return G(z0,H0,t(z0,H0,W0,w0))};return l(T,S,y);function t(X0,z0,H0,W0){return function(w0,B0){if(w0&&(w0.code==="EMFILE"||w0.code==="ENFILE"))P6([l,[X0,z0,H0],w0,W0||Date.now(),Date.now()]);else{if(B0&&B0.sort)B0.sort();if(typeof H0==="function")H0.call(this,w0,B0)}}}}if(process.version.substr(0,4)==="v0.8"){var F=fB(X);L=F.ReadStream,v=F.WriteStream}var M=X.ReadStream;if(M)L.prototype=Object.create(M.prototype),L.prototype.open=x;var C=X.WriteStream;if(C)v.prototype=Object.create(C.prototype),v.prototype.open=h;Object.defineProperty(X,"ReadStream",{get:function(){return L},set:function(T){L=T},enumerable:!0,configurable:!0}),Object.defineProperty(X,"WriteStream",{get:function(){return v},set:function(T){v=T},enumerable:!0,configurable:!0});var j=L;Object.defineProperty(X,"FileReadStream",{get:function(){return j},set:function(T){j=T},enumerable:!0,configurable:!0});var P=v;Object.defineProperty(X,"FileWriteStream",{get:function(){return P},set:function(T){P=T},enumerable:!0,configurable:!0});function L(T,S){if(this instanceof L)return M.apply(this,arguments),this;else return L.apply(Object.create(L.prototype),arguments)}function x(){var T=this;m(T.path,T.flags,T.mode,function(S,y){if(S){if(T.autoClose)T.destroy();T.emit("error",S)}else T.fd=y,T.emit("open",y),T.read()})}function v(T,S){if(this instanceof v)return C.apply(this,arguments),this;else return v.apply(Object.create(v.prototype),arguments)}function h(){var T=this;m(T.path,T.flags,T.mode,function(S,y){if(S)T.destroy(),T.emit("error",S);else T.fd=y,T.emit("open",y)})}function n(T,S){return new X.ReadStream(T,S)}function k(T,S){return new X.WriteStream(T,S)}var D=X.open;X.open=m;function m(T,S,y,l){if(typeof y==="function")l=y,y=null;return t(T,S,y,l);function t(X0,z0,H0,W0,w0){return D(X0,z0,H0,function(B0,l0){if(B0&&(B0.code==="EMFILE"||B0.code==="ENFILE"))P6([t,[X0,z0,H0,W0],B0,w0||Date.now(),Date.now()]);else if(typeof W0==="function")W0.apply(this,arguments)})}}return X}function P6(X){o1("ENQUEUE",X[0].name,X[1]),I0[x0].push(X),d4()}var u3;function NQ(){var X=Date.now();for(var Q=0;Q<I0[x0].length;++Q)if(I0[x0][Q].length>2)I0[x0][Q][3]=X,I0[x0][Q][4]=X;d4()}function d4(){if(clearTimeout(u3),u3=void 0,I0[x0].length===0)return;var X=I0[x0].shift(),Q=X[0],J=X[1],K=X[2],H=X[3],Y=X[4];if(H===void 0)o1("RETRY",Q.name,J),Q.apply(null,J);else if(Date.now()-H>=60000){o1("TIMEOUT",Q.name,J);var Z=J.pop();if(typeof Z==="function")Z.call(null,K)}else{var q=Date.now()-Y,V=Math.max(Y-H,1),G=Math.min(V*1.2,100);if(q>=G)o1("RETRY",Q.name,J),Q.apply(null,J.concat([H]));else I0[x0].push(X)}if(u3===void 0)u3=setTimeout(d4,0)}});var m3=N((US,IQ)=>{var W1=(X)=>X!==null&&typeof X==="object"&&typeof X.pipe==="function";W1.writable=(X)=>W1(X)&&X.writable!==!1&&typeof X._write==="function"&&typeof X._writableState==="object";W1.readable=(X)=>W1(X)&&X.readable!==!1&&typeof X._read==="function"&&typeof X._readableState==="object";W1.duplex=(X)=>W1.writable(X)&&W1.readable(X);W1.transform=(X)=>W1.duplex(X)&&typeof X._transform==="function";IQ.exports=W1});var $8=N((WS,l4)=>{if(typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0)l4.exports={nextTick:mB};else l4.exports=process;function mB(X,Q,J,K){if(typeof X!=="function")throw TypeError('"callback" argument must be a function');var H=arguments.length,Y,Z;switch(H){case 0:case 1:return process.nextTick(X);case 2:return process.nextTick(function(){X.call(null,Q)});case 3:return process.nextTick(function(){X.call(null,Q,J)});case 4:return process.nextTick(function(){X.call(null,Q,J,K)});default:Y=Array(H-1),Z=0;while(Z<Y.length)Y[Z++]=arguments[Z];return process.nextTick(function(){X.apply(null,Y)})}}});var PQ=N((GS,CQ)=>{var dB={}.toString;CQ.exports=Array.isArray||function(X){return dB.call(X)=="[object Array]"}});var M8=N((n4,OQ)=>{var d3=f("buffer"),j1=d3.Buffer;function jQ(X,Q){for(var J in X)Q[J]=X[J]}if(j1.from&&j1.alloc&&j1.allocUnsafe&&j1.allocUnsafeSlow)OQ.exports=d3;else jQ(d3,n4),n4.Buffer=j6;function j6(X,Q,J){return j1(X,Q,J)}jQ(j1,j6);j6.from=function(X,Q,J){if(typeof X==="number")throw TypeError("Argument must not be a number");return j1(X,Q,J)};j6.alloc=function(X,Q,J){if(typeof X!=="number")throw TypeError("Argument must be a number");var K=j1(X);if(Q!==void 0)if(typeof J==="string")K.fill(Q,J);else K.fill(Q);else K.fill(0);return K};j6.allocUnsafe=function(X){if(typeof X!=="number")throw TypeError("Argument must be a number");return j1(X)};j6.allocUnsafeSlow=function(X){if(typeof X!=="number")throw TypeError("Argument must be a number");return d3.SlowBuffer(X)}});var O6=N((K$)=>{function cB(X){if(Array.isArray)return Array.isArray(X);return c3(X)==="[object Array]"}K$.isArray=cB;function pB(X){return typeof X==="boolean"}K$.isBoolean=pB;function lB(X){return X===null}K$.isNull=lB;function nB(X){return X==null}K$.isNullOrUndefined=nB;function iB(X){return typeof X==="number"}K$.isNumber=iB;function oB(X){return typeof X==="string"}K$.isString=oB;function rB(X){return typeof X==="symbol"}K$.isSymbol=rB;function sB(X){return X===void 0}K$.isUndefined=sB;function aB(X){return c3(X)==="[object RegExp]"}K$.isRegExp=aB;function tB(X){return typeof X==="object"&&X!==null}K$.isObject=tB;function eB(X){return c3(X)==="[object Date]"}K$.isDate=eB;function X$(X){return c3(X)==="[object Error]"||X instanceof Error}K$.isError=X$;function Q$(X){return typeof X==="function"}K$.isFunction=Q$;function J$(X){return X===null||typeof X==="boolean"||typeof X==="number"||typeof X==="string"||typeof X==="symbol"||typeof X>"u"}K$.isPrimitive=J$;K$.isBuffer=f("buffer").Buffer.isBuffer;function c3(X){return Object.prototype.toString.call(X)}});var wQ=N((BS,i4)=>{if(typeof Object.create==="function")i4.exports=function(Q,J){if(J)Q.super_=J,Q.prototype=Object.create(J.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}})};else i4.exports=function(Q,J){if(J){Q.super_=J;var K=function(){};K.prototype=J.prototype,Q.prototype=new K,Q.prototype.constructor=Q}}});var w6=N(($S,o4)=>{try{if(p3=f("util"),typeof p3.inherits!=="function")throw"";o4.exports=p3.inherits}catch(X){o4.exports=wQ()}var p3});var TQ=N((MS,r4)=>{function I$(X,Q){if(!(X instanceof Q))throw TypeError("Cannot call a class as a function")}var DQ=M8().Buffer,F8=f("util");function C$(X,Q,J){X.copy(Q,J)}r4.exports=function(){function X(){I$(this,X),this.head=null,this.tail=null,this.length=0}return X.prototype.push=function(J){var K={data:J,next:null};if(this.length>0)this.tail.next=K;else this.head=K;this.tail=K,++this.length},X.prototype.unshift=function(J){var K={data:J,next:this.head};if(this.length===0)this.tail=K;this.head=K,++this.length},X.prototype.shift=function(){if(this.length===0)return;var J=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,J},X.prototype.clear=function(){this.head=this.tail=null,this.length=0},X.prototype.join=function(J){if(this.length===0)return"";var K=this.head,H=""+K.data;while(K=K.next)H+=J+K.data;return H},X.prototype.concat=function(J){if(this.length===0)return DQ.alloc(0);var K=DQ.allocUnsafe(J>>>0),H=this.head,Y=0;while(H)C$(H.data,K,Y),Y+=H.data.length,H=H.next;return K},X}();if(F8&&F8.inspect&&F8.inspect.custom)r4.exports.prototype[F8.inspect.custom]=function(){var X=F8.inspect({length:this.length});return this.constructor.name+" "+X}});var s4=N((FS,_Q)=>{var l3=$8();function P$(X,Q){var J=this,K=this._readableState&&this._readableState.destroyed,H=this._writableState&&this._writableState.destroyed;if(K||H){if(Q)Q(X);else if(X){if(!this._writableState)l3.nextTick(n3,this,X);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,l3.nextTick(n3,this,X)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy(X||null,function(Y){if(!Q&&Y){if(!J._writableState)l3.nextTick(n3,J,Y);else if(!J._writableState.errorEmitted)J._writableState.errorEmitted=!0,l3.nextTick(n3,J,Y)}else if(Q)Q(Y)}),this}function j$(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(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 n3(X,Q){X.emit("error",Q)}_Q.exports={destroy:P$,undestroy:j$}});var RQ=N((NS,AQ)=>{AQ.exports=f("util").deprecate});var t4=N((LS,gQ)=>{var r1=$8();gQ.exports=O0;function SQ(X){var Q=this;this.next=null,this.entry=null,this.finish=function(){b$(Q,X)}}var O$=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:r1.nextTick,D6;O0.WritableState=L8;var xQ=Object.create(O6());xQ.inherits=w6();var w$={deprecate:RQ()},vQ=f("stream"),o3=M8().Buffer,D$=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function T$(X){return o3.from(X)}function _$(X){return o3.isBuffer(X)||X instanceof D$}var yQ=s4();xQ.inherits(O0,vQ);function A$(){}function L8(X,Q){D6=D6||s1(),X=X||{};var J=Q instanceof D6;if(this.objectMode=!!X.objectMode,J)this.objectMode=this.objectMode||!!X.writableObjectMode;var{highWaterMark:K,writableHighWaterMark:H}=X,Y=this.objectMode?16:16384;if(K||K===0)this.highWaterMark=K;else if(J&&(H||H===0))this.highWaterMark=H;else this.highWaterMark=Y;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 Z=X.decodeStrings===!1;this.decodeStrings=!Z,this.defaultEncoding=X.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){k$(Q,q)},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 SQ(this)}L8.prototype.getBuffer=function(){var Q=this.bufferedRequest,J=[];while(Q)J.push(Q),Q=Q.next;return J};(function(){try{Object.defineProperty(L8.prototype,"buffer",{get:w$.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(X){}})();var i3;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")i3=Function.prototype[Symbol.hasInstance],Object.defineProperty(O0,Symbol.hasInstance,{value:function(X){if(i3.call(this,X))return!0;if(this!==O0)return!1;return X&&X._writableState instanceof L8}});else i3=function(X){return X instanceof this};function O0(X){if(D6=D6||s1(),!i3.call(O0,this)&&!(this instanceof D6))return new O0(X);if(this._writableState=new L8(X,this),this.writable=!0,X){if(typeof X.write==="function")this._write=X.write;if(typeof X.writev==="function")this._writev=X.writev;if(typeof X.destroy==="function")this._destroy=X.destroy;if(typeof X.final==="function")this._final=X.final}vQ.call(this)}O0.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function R$(X,Q){var J=Error("write after end");X.emit("error",J),r1.nextTick(Q,J)}function E$(X,Q,J,K){var H=!0,Y=!1;if(J===null)Y=TypeError("May not write null values to stream");else if(typeof J!=="string"&&J!==void 0&&!Q.objectMode)Y=TypeError("Invalid non-string/buffer chunk");if(Y)X.emit("error",Y),r1.nextTick(K,Y),H=!1;return H}O0.prototype.write=function(X,Q,J){var K=this._writableState,H=!1,Y=!K.objectMode&&_$(X);if(Y&&!o3.isBuffer(X))X=T$(X);if(typeof Q==="function")J=Q,Q=null;if(Y)Q="buffer";else if(!Q)Q=K.defaultEncoding;if(typeof J!=="function")J=A$;if(K.ended)R$(this,J);else if(Y||E$(this,K,X,J))K.pendingcb++,H=x$(this,K,Y,X,Q,J);return H};O0.prototype.cork=function(){var X=this._writableState;X.corked++};O0.prototype.uncork=function(){var X=this._writableState;if(X.corked){if(X.corked--,!X.writing&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest)kQ(this,X)}};O0.prototype.setDefaultEncoding=function(Q){if(typeof Q==="string")Q=Q.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Q+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Q);return this._writableState.defaultEncoding=Q,this};function S$(X,Q,J){if(!X.objectMode&&X.decodeStrings!==!1&&typeof Q==="string")Q=o3.from(Q,J);return Q}Object.defineProperty(O0.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function x$(X,Q,J,K,H,Y){if(!J){var Z=S$(Q,K,H);if(K!==Z)J=!0,H="buffer",K=Z}var q=Q.objectMode?1:K.length;Q.length+=q;var V=Q.length<Q.highWaterMark;if(!V)Q.needDrain=!0;if(Q.writing||Q.corked){var G=Q.lastBufferedRequest;if(Q.lastBufferedRequest={chunk:K,encoding:H,isBuf:J,callback:Y,next:null},G)G.next=Q.lastBufferedRequest;else Q.bufferedRequest=Q.lastBufferedRequest;Q.bufferedRequestCount+=1}else a4(X,Q,!1,q,K,H,Y);return V}function a4(X,Q,J,K,H,Y,Z){if(Q.writelen=K,Q.writecb=Z,Q.writing=!0,Q.sync=!0,J)X._writev(H,Q.onwrite);else X._write(H,Y,Q.onwrite);Q.sync=!1}function v$(X,Q,J,K,H){if(--Q.pendingcb,J)r1.nextTick(H,K),r1.nextTick(N8,X,Q),X._writableState.errorEmitted=!0,X.emit("error",K);else H(K),X._writableState.errorEmitted=!0,X.emit("error",K),N8(X,Q)}function y$(X){X.writing=!1,X.writecb=null,X.length-=X.writelen,X.writelen=0}function k$(X,Q){var J=X._writableState,K=J.sync,H=J.writecb;if(y$(J),Q)v$(X,J,K,Q,H);else{var Y=hQ(J);if(!Y&&!J.corked&&!J.bufferProcessing&&J.bufferedRequest)kQ(X,J);if(K)O$(EQ,X,J,Y,H);else EQ(X,J,Y,H)}}function EQ(X,Q,J,K){if(!J)h$(X,Q);Q.pendingcb--,K(),N8(X,Q)}function h$(X,Q){if(Q.length===0&&Q.needDrain)Q.needDrain=!1,X.emit("drain")}function kQ(X,Q){Q.bufferProcessing=!0;var J=Q.bufferedRequest;if(X._writev&&J&&J.next){var K=Q.bufferedRequestCount,H=Array(K),Y=Q.corkedRequestsFree;Y.entry=J;var Z=0,q=!0;while(J){if(H[Z]=J,!J.isBuf)q=!1;J=J.next,Z+=1}if(H.allBuffers=q,a4(X,Q,!0,Q.length,H,"",Y.finish),Q.pendingcb++,Q.lastBufferedRequest=null,Y.next)Q.corkedRequestsFree=Y.next,Y.next=null;else Q.corkedRequestsFree=new SQ(Q);Q.bufferedRequestCount=0}else{while(J){var{chunk:V,encoding:G,callback:W}=J,B=Q.objectMode?1:V.length;if(a4(X,Q,!1,B,V,G,W),J=J.next,Q.bufferedRequestCount--,Q.writing)break}if(J===null)Q.lastBufferedRequest=null}Q.bufferedRequest=J,Q.bufferProcessing=!1}O0.prototype._write=function(X,Q,J){J(Error("_write() is not implemented"))};O0.prototype._writev=null;O0.prototype.end=function(X,Q,J){var K=this._writableState;if(typeof X==="function")J=X,X=null,Q=null;else if(typeof Q==="function")J=Q,Q=null;if(X!==null&&X!==void 0)this.write(X,Q);if(K.corked)K.corked=1,this.uncork();if(!K.ending)u$(this,K,J)};function hQ(X){return X.ending&&X.length===0&&X.bufferedRequest===null&&!X.finished&&!X.writing}function g$(X,Q){X._final(function(J){if(Q.pendingcb--,J)X.emit("error",J);Q.prefinished=!0,X.emit("prefinish"),N8(X,Q)})}function f$(X,Q){if(!Q.prefinished&&!Q.finalCalled)if(typeof X._final==="function")Q.pendingcb++,Q.finalCalled=!0,r1.nextTick(g$,X,Q);else Q.prefinished=!0,X.emit("prefinish")}function N8(X,Q){var J=hQ(Q);if(J){if(f$(X,Q),Q.pendingcb===0)Q.finished=!0,X.emit("finish")}return J}function u$(X,Q,J){if(Q.ending=!0,N8(X,Q),J)if(Q.finished)r1.nextTick(J);else X.once("finish",J);Q.ended=!0,X.writable=!1}function b$(X,Q,J){var K=X.entry;X.entry=null;while(K){var H=K.callback;Q.pendingcb--,H(J),K=K.next}Q.corkedRequestsFree.next=X}Object.defineProperty(O0.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function(X){if(!this._writableState)return;this._writableState.destroyed=X}});O0.prototype.destroy=yQ.destroy;O0.prototype._undestroy=yQ.undestroy;O0.prototype._destroy=function(X,Q){this.end(),Q(X)}});var s1=N((IS,mQ)=>{var fQ=$8(),m$=Object.keys||function(X){var Q=[];for(var J in X)Q.push(J);return Q};mQ.exports=O1;var uQ=Object.create(O6());uQ.inherits=w6();var bQ=X5(),e4=t4();uQ.inherits(O1,bQ);{r3=m$(e4.prototype);for(I8=0;I8<r3.length;I8++)if(C8=r3[I8],!O1.prototype[C8])O1.prototype[C8]=e4.prototype[C8]}var r3,C8,I8;function O1(X){if(!(this instanceof O1))return new O1(X);if(bQ.call(this,X),e4.call(this,X),X&&X.readable===!1)this.readable=!1;if(X&&X.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,X&&X.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",d$)}Object.defineProperty(O1.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function d$(){if(this.allowHalfOpen||this._writableState.ended)return;fQ.nextTick(c$,this)}function c$(X){X.end()}Object.defineProperty(O1.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function(X){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=X,this._writableState.destroyed=X}});O1.prototype._destroy=function(X,Q){this.push(null),this.end(),fQ.nextTick(Q,X)}});var K5=N((KM)=>{var J5=M8().Buffer,dQ=J5.isEncoding||function(X){switch(X=""+X,X&&X.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 p$(X){if(!X)return"utf8";var Q;while(!0)switch(X){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 X;default:if(Q)return;X=(""+X).toLowerCase(),Q=!0}}function l$(X){var Q=p$(X);if(typeof Q!=="string"&&(J5.isEncoding===dQ||!dQ(X)))throw Error("Unknown encoding: "+X);return Q||X}KM.StringDecoder=P8;function P8(X){this.encoding=l$(X);var Q;switch(this.encoding){case"utf16le":this.text=a$,this.end=t$,Q=4;break;case"utf8":this.fillLast=o$,Q=4;break;case"base64":this.text=e$,this.end=XM,Q=3;break;default:this.write=QM,this.end=JM;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=J5.allocUnsafe(Q)}P8.prototype.write=function(X){if(X.length===0)return"";var Q,J;if(this.lastNeed){if(Q=this.fillLast(X),Q===void 0)return"";J=this.lastNeed,this.lastNeed=0}else J=0;if(J<X.length)return Q?Q+this.text(X,J):this.text(X,J);return Q||""};P8.prototype.end=s$;P8.prototype.text=r$;P8.prototype.fillLast=function(X){if(this.lastNeed<=X.length)return X.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);X.copy(this.lastChar,this.lastTotal-this.lastNeed,0,X.length),this.lastNeed-=X.length};function Q5(X){if(X<=127)return 0;else if(X>>5===6)return 2;else if(X>>4===14)return 3;else if(X>>3===30)return 4;return X>>6===2?-1:-2}function n$(X,Q,J){var K=Q.length-1;if(K<J)return 0;var H=Q5(Q[K]);if(H>=0){if(H>0)X.lastNeed=H-1;return H}if(--K<J||H===-2)return 0;if(H=Q5(Q[K]),H>=0){if(H>0)X.lastNeed=H-2;return H}if(--K<J||H===-2)return 0;if(H=Q5(Q[K]),H>=0){if(H>0)if(H===2)H=0;else X.lastNeed=H-3;return H}return 0}function i$(X,Q,J){if((Q[0]&192)!==128)return X.lastNeed=0,"\uFFFD";if(X.lastNeed>1&&Q.length>1){if((Q[1]&192)!==128)return X.lastNeed=1,"\uFFFD";if(X.lastNeed>2&&Q.length>2){if((Q[2]&192)!==128)return X.lastNeed=2,"\uFFFD"}}}function o$(X){var Q=this.lastTotal-this.lastNeed,J=i$(this,X,Q);if(J!==void 0)return J;if(this.lastNeed<=X.length)return X.copy(this.lastChar,Q,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);X.copy(this.lastChar,Q,0,X.length),this.lastNeed-=X.length}function r$(X,Q){var J=n$(this,X,Q);if(!this.lastNeed)return X.toString("utf8",Q);this.lastTotal=J;var K=X.length-(J-this.lastNeed);return X.copy(this.lastChar,0,K),X.toString("utf8",Q,K)}function s$(X){var Q=X&&X.length?this.write(X):"";if(this.lastNeed)return Q+"\uFFFD";return Q}function a$(X,Q){if((X.length-Q)%2===0){var J=X.toString("utf16le",Q);if(J){var K=J.charCodeAt(J.length-1);if(K>=55296&&K<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=X[X.length-2],this.lastChar[1]=X[X.length-1],J.slice(0,-1)}return J}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=X[X.length-1],X.toString("utf16le",Q,X.length-1)}function t$(X){var Q=X&&X.length?this.write(X):"";if(this.lastNeed){var J=this.lastTotal-this.lastNeed;return Q+this.lastChar.toString("utf16le",0,J)}return Q}function e$(X,Q){var J=(X.length-Q)%3;if(J===0)return X.toString("base64",Q);if(this.lastNeed=3-J,this.lastTotal=3,J===1)this.lastChar[0]=X[X.length-1];else this.lastChar[0]=X[X.length-2],this.lastChar[1]=X[X.length-1];return X.toString("base64",Q,X.length-J)}function XM(X){var Q=X&&X.length?this.write(X):"";if(this.lastNeed)return Q+this.lastChar.toString("base64",0,3-this.lastNeed);return Q}function QM(X){return X.toString(this.encoding)}function JM(X){return X&&X.length?this.write(X):""}});var X5=N((jS,XJ)=>{var _6=$8();XJ.exports=$0;var YM=PQ(),j8;$0.ReadableState=rQ;var PS=f("events").EventEmitter,nQ=function(X,Q){return X.listeners(Q).length},V5=f("stream"),O8=M8().Buffer,ZM=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function qM(X){return O8.from(X)}function VM(X){return O8.isBuffer(X)||X instanceof ZM}var iQ=Object.create(O6());iQ.inherits=w6();var H5=f("util"),V0=void 0;if(H5&&H5.debuglog)V0=H5.debuglog("stream");else V0=function(){};var UM=TQ(),oQ=s4(),T6;iQ.inherits($0,V5);var Y5=["error","close","destroy","pause","resume"];function WM(X,Q,J){if(typeof X.prependListener==="function")return X.prependListener(Q,J);if(!X._events||!X._events[Q])X.on(Q,J);else if(YM(X._events[Q]))X._events[Q].unshift(J);else X._events[Q]=[J,X._events[Q]]}function rQ(X,Q){j8=j8||s1(),X=X||{};var J=Q instanceof j8;if(this.objectMode=!!X.objectMode,J)this.objectMode=this.objectMode||!!X.readableObjectMode;var{highWaterMark:K,readableHighWaterMark:H}=X,Y=this.objectMode?16:16384;if(K||K===0)this.highWaterMark=K;else if(J&&(H||H===0))this.highWaterMark=H;else this.highWaterMark=Y;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new UM,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=X.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,X.encoding){if(!T6)T6=K5().StringDecoder;this.decoder=new T6(X.encoding),this.encoding=X.encoding}}function $0(X){if(j8=j8||s1(),!(this instanceof $0))return new $0(X);if(this._readableState=new rQ(X,this),this.readable=!0,X){if(typeof X.read==="function")this._read=X.read;if(typeof X.destroy==="function")this._destroy=X.destroy}V5.call(this)}Object.defineProperty($0.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(X){if(!this._readableState)return;this._readableState.destroyed=X}});$0.prototype.destroy=oQ.destroy;$0.prototype._undestroy=oQ.undestroy;$0.prototype._destroy=function(X,Q){this.push(null),Q(X)};$0.prototype.push=function(X,Q){var J=this._readableState,K;if(!J.objectMode){if(typeof X==="string"){if(Q=Q||J.defaultEncoding,Q!==J.encoding)X=O8.from(X,Q),Q="";K=!0}}else K=!0;return sQ(this,X,Q,!1,K)};$0.prototype.unshift=function(X){return sQ(this,X,null,!0,!1)};function sQ(X,Q,J,K,H){var Y=X._readableState;if(Q===null)Y.reading=!1,$M(X,Y);else{var Z;if(!H)Z=GM(Y,Q);if(Z)X.emit("error",Z);else if(Y.objectMode||Q&&Q.length>0){if(typeof Q!=="string"&&!Y.objectMode&&Object.getPrototypeOf(Q)!==O8.prototype)Q=qM(Q);if(K)if(Y.endEmitted)X.emit("error",Error("stream.unshift() after end event"));else Z5(X,Y,Q,!0);else if(Y.ended)X.emit("error",Error("stream.push() after EOF"));else if(Y.reading=!1,Y.decoder&&!J)if(Q=Y.decoder.write(Q),Y.objectMode||Q.length!==0)Z5(X,Y,Q,!1);else aQ(X,Y);else Z5(X,Y,Q,!1)}else if(!K)Y.reading=!1}return zM(Y)}function Z5(X,Q,J,K){if(Q.flowing&&Q.length===0&&!Q.sync)X.emit("data",J),X.read(0);else{if(Q.length+=Q.objectMode?1:J.length,K)Q.buffer.unshift(J);else Q.buffer.push(J);if(Q.needReadable)s3(X)}aQ(X,Q)}function GM(X,Q){var J;if(!VM(Q)&&typeof Q!=="string"&&Q!==void 0&&!X.objectMode)J=TypeError("Invalid non-string/buffer chunk");return J}function zM(X){return!X.ended&&(X.needReadable||X.length<X.highWaterMark||X.length===0)}$0.prototype.isPaused=function(){return this._readableState.flowing===!1};$0.prototype.setEncoding=function(X){if(!T6)T6=K5().StringDecoder;return this._readableState.decoder=new T6(X),this._readableState.encoding=X,this};var cQ=8388608;function BM(X){if(X>=cQ)X=cQ;else X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++;return X}function pQ(X,Q){if(X<=0||Q.length===0&&Q.ended)return 0;if(Q.objectMode)return 1;if(X!==X)if(Q.flowing&&Q.length)return Q.buffer.head.data.length;else return Q.length;if(X>Q.highWaterMark)Q.highWaterMark=BM(X);if(X<=Q.length)return X;if(!Q.ended)return Q.needReadable=!0,0;return Q.length}$0.prototype.read=function(X){V0("read",X),X=parseInt(X,10);var Q=this._readableState,J=X;if(X!==0)Q.emittedReadable=!1;if(X===0&&Q.needReadable&&(Q.length>=Q.highWaterMark||Q.ended)){if(V0("read: emitReadable",Q.length,Q.ended),Q.length===0&&Q.ended)q5(this);else s3(this);return null}if(X=pQ(X,Q),X===0&&Q.ended){if(Q.length===0)q5(this);return null}var K=Q.needReadable;if(V0("need readable",K),Q.length===0||Q.length-X<Q.highWaterMark)K=!0,V0("length less than watermark",K);if(Q.ended||Q.reading)K=!1,V0("reading or ended",K);else if(K){if(V0("do read"),Q.reading=!0,Q.sync=!0,Q.length===0)Q.needReadable=!0;if(this._read(Q.highWaterMark),Q.sync=!1,!Q.reading)X=pQ(J,Q)}var H;if(X>0)H=tQ(X,Q);else H=null;if(H===null)Q.needReadable=!0,X=0;else Q.length-=X;if(Q.length===0){if(!Q.ended)Q.needReadable=!0;if(J!==X&&Q.ended)q5(this)}if(H!==null)this.emit("data",H);return H};function $M(X,Q){if(Q.ended)return;if(Q.decoder){var J=Q.decoder.end();if(J&&J.length)Q.buffer.push(J),Q.length+=Q.objectMode?1:J.length}Q.ended=!0,s3(X)}function s3(X){var Q=X._readableState;if(Q.needReadable=!1,!Q.emittedReadable)if(V0("emitReadable",Q.flowing),Q.emittedReadable=!0,Q.sync)_6.nextTick(lQ,X);else lQ(X)}function lQ(X){V0("emit readable"),X.emit("readable"),U5(X)}function aQ(X,Q){if(!Q.readingMore)Q.readingMore=!0,_6.nextTick(MM,X,Q)}function MM(X,Q){var J=Q.length;while(!Q.reading&&!Q.flowing&&!Q.ended&&Q.length<Q.highWaterMark)if(V0("maybeReadMore read 0"),X.read(0),J===Q.length)break;else J=Q.length;Q.readingMore=!1}$0.prototype._read=function(X){this.emit("error",Error("_read() is not implemented"))};$0.prototype.pipe=function(X,Q){var J=this,K=this._readableState;switch(K.pipesCount){case 0:K.pipes=X;break;case 1:K.pipes=[K.pipes,X];break;default:K.pipes.push(X);break}K.pipesCount+=1,V0("pipe count=%d opts=%j",K.pipesCount,Q);var H=(!Q||Q.end!==!1)&&X!==process.stdout&&X!==process.stderr,Y=H?q:P;if(K.endEmitted)_6.nextTick(Y);else J.once("end",Y);X.on("unpipe",Z);function Z(L,x){if(V0("onunpipe"),L===J){if(x&&x.hasUnpiped===!1)x.hasUnpiped=!0,W()}}function q(){V0("onend"),X.end()}var V=FM(J);X.on("drain",V);var G=!1;function W(){if(V0("cleanup"),X.removeListener("close",C),X.removeListener("finish",j),X.removeListener("drain",V),X.removeListener("error",M),X.removeListener("unpipe",Z),J.removeListener("end",q),J.removeListener("end",P),J.removeListener("data",F),G=!0,K.awaitDrain&&(!X._writableState||X._writableState.needDrain))V()}var B=!1;J.on("data",F);function F(L){V0("ondata"),B=!1;var x=X.write(L);if(x===!1&&!B){if((K.pipesCount===1&&K.pipes===X||K.pipesCount>1&&eQ(K.pipes,X)!==-1)&&!G)V0("false write response, pause",K.awaitDrain),K.awaitDrain++,B=!0;J.pause()}}function M(L){if(V0("onerror",L),P(),X.removeListener("error",M),nQ(X,"error")===0)X.emit("error",L)}WM(X,"error",M);function C(){X.removeListener("finish",j),P()}X.once("close",C);function j(){V0("onfinish"),X.removeListener("close",C),P()}X.once("finish",j);function P(){V0("unpipe"),J.unpipe(X)}if(X.emit("pipe",J),!K.flowing)V0("pipe resume"),J.resume();return X};function FM(X){return function(){var Q=X._readableState;if(V0("pipeOnDrain",Q.awaitDrain),Q.awaitDrain)Q.awaitDrain--;if(Q.awaitDrain===0&&nQ(X,"data"))Q.flowing=!0,U5(X)}}$0.prototype.unpipe=function(X){var Q=this._readableState,J={hasUnpiped:!1};if(Q.pipesCount===0)return this;if(Q.pipesCount===1){if(X&&X!==Q.pipes)return this;if(!X)X=Q.pipes;if(Q.pipes=null,Q.pipesCount=0,Q.flowing=!1,X)X.emit("unpipe",this,J);return this}if(!X){var{pipes:K,pipesCount:H}=Q;Q.pipes=null,Q.pipesCount=0,Q.flowing=!1;for(var Y=0;Y<H;Y++)K[Y].emit("unpipe",this,{hasUnpiped:!1});return this}var Z=eQ(Q.pipes,X);if(Z===-1)return this;if(Q.pipes.splice(Z,1),Q.pipesCount-=1,Q.pipesCount===1)Q.pipes=Q.pipes[0];return X.emit("unpipe",this,J),this};$0.prototype.on=function(X,Q){var J=V5.prototype.on.call(this,X,Q);if(X==="data"){if(this._readableState.flowing!==!1)this.resume()}else if(X==="readable"){var K=this._readableState;if(!K.endEmitted&&!K.readableListening){if(K.readableListening=K.needReadable=!0,K.emittedReadable=!1,!K.reading)_6.nextTick(NM,this);else if(K.length)s3(this)}}return J};$0.prototype.addListener=$0.prototype.on;function NM(X){V0("readable nexttick read 0"),X.read(0)}$0.prototype.resume=function(){var X=this._readableState;if(!X.flowing)V0("resume"),X.flowing=!0,LM(this,X);return this};function LM(X,Q){if(!Q.resumeScheduled)Q.resumeScheduled=!0,_6.nextTick(IM,X,Q)}function IM(X,Q){if(!Q.reading)V0("resume read 0"),X.read(0);if(Q.resumeScheduled=!1,Q.awaitDrain=0,X.emit("resume"),U5(X),Q.flowing&&!Q.reading)X.read(0)}$0.prototype.pause=function(){if(V0("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)V0("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function U5(X){var Q=X._readableState;V0("flow",Q.flowing);while(Q.flowing&&X.read()!==null);}$0.prototype.wrap=function(X){var Q=this,J=this._readableState,K=!1;X.on("end",function(){if(V0("wrapped end"),J.decoder&&!J.ended){var Z=J.decoder.end();if(Z&&Z.length)Q.push(Z)}Q.push(null)}),X.on("data",function(Z){if(V0("wrapped data"),J.decoder)Z=J.decoder.write(Z);if(J.objectMode&&(Z===null||Z===void 0))return;else if(!J.objectMode&&(!Z||!Z.length))return;var q=Q.push(Z);if(!q)K=!0,X.pause()});for(var H in X)if(this[H]===void 0&&typeof X[H]==="function")this[H]=function(Z){return function(){return X[Z].apply(X,arguments)}}(H);for(var Y=0;Y<Y5.length;Y++)X.on(Y5[Y],this.emit.bind(this,Y5[Y]));return this._read=function(Z){if(V0("wrapped _read",Z),K)K=!1,X.resume()},this};Object.defineProperty($0.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});$0._fromList=tQ;function tQ(X,Q){if(Q.length===0)return null;var J;if(Q.objectMode)J=Q.buffer.shift();else if(!X||X>=Q.length){if(Q.decoder)J=Q.buffer.join("");else if(Q.buffer.length===1)J=Q.buffer.head.data;else J=Q.buffer.concat(Q.length);Q.buffer.clear()}else J=CM(X,Q.buffer,Q.decoder);return J}function CM(X,Q,J){var K;if(X<Q.head.data.length)K=Q.head.data.slice(0,X),Q.head.data=Q.head.data.slice(X);else if(X===Q.head.data.length)K=Q.shift();else K=J?PM(X,Q):jM(X,Q);return K}function PM(X,Q){var J=Q.head,K=1,H=J.data;X-=H.length;while(J=J.next){var Y=J.data,Z=X>Y.length?Y.length:X;if(Z===Y.length)H+=Y;else H+=Y.slice(0,X);if(X-=Z,X===0){if(Z===Y.length)if(++K,J.next)Q.head=J.next;else Q.head=Q.tail=null;else Q.head=J,J.data=Y.slice(Z);break}++K}return Q.length-=K,H}function jM(X,Q){var J=O8.allocUnsafe(X),K=Q.head,H=1;K.data.copy(J),X-=K.data.length;while(K=K.next){var Y=K.data,Z=X>Y.length?Y.length:X;if(Y.copy(J,J.length-X,0,Z),X-=Z,X===0){if(Z===Y.length)if(++H,K.next)Q.head=K.next;else Q.head=Q.tail=null;else Q.head=K,K.data=Y.slice(Z);break}++H}return Q.length-=H,J}function q5(X){var Q=X._readableState;if(Q.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Q.endEmitted)Q.ended=!0,_6.nextTick(OM,Q,X)}function OM(X,Q){if(!X.endEmitted&&X.length===0)X.endEmitted=!0,Q.readable=!1,Q.emit("end")}function eQ(X,Q){for(var J=0,K=X.length;J<K;J++)if(X[J]===Q)return J;return-1}});var W5=N((OS,KJ)=>{KJ.exports=w1;var a3=s1(),JJ=Object.create(O6());JJ.inherits=w6();JJ.inherits(w1,a3);function wM(X,Q){var J=this._transformState;J.transforming=!1;var K=J.writecb;if(!K)return this.emit("error",Error("write callback called multiple times"));if(J.writechunk=null,J.writecb=null,Q!=null)this.push(Q);K(X);var H=this._readableState;if(H.reading=!1,H.needReadable||H.length<H.highWaterMark)this._read(H.highWaterMark)}function w1(X){if(!(this instanceof w1))return new w1(X);if(a3.call(this,X),this._transformState={afterTransform:wM.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,X){if(typeof X.transform==="function")this._transform=X.transform;if(typeof X.flush==="function")this._flush=X.flush}this.on("prefinish",DM)}function DM(){var X=this;if(typeof this._flush==="function")this._flush(function(Q,J){QJ(X,Q,J)});else QJ(this,null,null)}w1.prototype.push=function(X,Q){return this._transformState.needTransform=!1,a3.prototype.push.call(this,X,Q)};w1.prototype._transform=function(X,Q,J){throw Error("_transform() is not implemented")};w1.prototype._write=function(X,Q,J){var K=this._transformState;if(K.writecb=J,K.writechunk=X,K.writeencoding=Q,!K.transforming){var H=this._readableState;if(K.needTransform||H.needReadable||H.length<H.highWaterMark)this._read(H.highWaterMark)}};w1.prototype._read=function(X){var Q=this._transformState;if(Q.writechunk!==null&&Q.writecb&&!Q.transforming)Q.transforming=!0,this._transform(Q.writechunk,Q.writeencoding,Q.afterTransform);else Q.needTransform=!0};w1.prototype._destroy=function(X,Q){var J=this;a3.prototype._destroy.call(this,X,function(K){Q(K),J.emit("close")})};function QJ(X,Q,J){if(Q)return X.emit("error",Q);if(J!=null)X.push(J);if(X._writableState.length)throw Error("Calling transform done when ws.length != 0");if(X._transformState.transforming)throw Error("Calling transform done when still transforming");return X.push(null)}});var qJ=N((wS,ZJ)=>{ZJ.exports=w8;var HJ=W5(),YJ=Object.create(O6());YJ.inherits=w6();YJ.inherits(w8,HJ);function w8(X){if(!(this instanceof w8))return new w8(X);HJ.call(this,X)}w8.prototype._transform=function(X,Q,J){J(null,X)}});var VJ=N((v0,t3)=>{var G1=f("stream");if(process.env.READABLE_STREAM==="disable"&&G1)t3.exports=G1,v0=t3.exports=G1.Readable,v0.Readable=G1.Readable,v0.Writable=G1.Writable,v0.Duplex=G1.Duplex,v0.Transform=G1.Transform,v0.PassThrough=G1.PassThrough,v0.Stream=G1;else v0=t3.exports=X5(),v0.Stream=G1||v0,v0.Readable=v0,v0.Writable=t4(),v0.Duplex=s1(),v0.Transform=W5(),v0.PassThrough=qJ()});var WJ=N((DS,UJ)=>{UJ.exports=VJ().PassThrough});var $J=N((TS,BJ)=>{var GJ=f("util"),Q7=WJ();BJ.exports={Readable:e3,Writable:X7};GJ.inherits(e3,Q7);GJ.inherits(X7,Q7);function zJ(X,Q,J){X[Q]=function(){return delete X[Q],J.apply(this,arguments),this[Q].apply(this,arguments)}}function e3(X,Q){if(!(this instanceof e3))return new e3(X,Q);Q7.call(this,Q),zJ(this,"_read",function(){var J=X.call(this,Q),K=this.emit.bind(this,"error");J.on("error",K),J.pipe(this)}),this.emit("readable")}function X7(X,Q){if(!(this instanceof X7))return new X7(X,Q);Q7.call(this,Q),zJ(this,"_write",function(){var J=X.call(this,Q),K=this.emit.bind(this,"error");J.on("error",K),this.pipe(J)}),this.emit("writable")}});var G5=N((_S,MJ)=>{/*!
8
+ * normalize-path <https://github.com/jonschlinkert/normalize-path>
9
+ *
10
+ * Copyright (c) 2014-2018, Jon Schlinkert.
11
+ * Released under the MIT License.
12
+ */MJ.exports=function(X,Q){if(typeof X!=="string")throw TypeError("expected path to be a string");if(X==="\\"||X==="/")return"/";var J=X.length;if(J<=1)return X;var K="";if(J>4&&X[3]==="\\"){var H=X[2];if((H==="?"||H===".")&&X.slice(0,2)==="\\\\")X=X.slice(2),K="//"}var Y=X.split(/[/\\]+/);if(Q!==!1&&Y[Y.length-1]==="")Y.pop();return K+Y.join("/")}});var z5=N((AS,FJ)=>{function TM(X){return X}FJ.exports=TM});var LJ=N((RS,NJ)=>{function _M(X,Q,J){switch(J.length){case 0:return X.call(Q);case 1:return X.call(Q,J[0]);case 2:return X.call(Q,J[0],J[1]);case 3:return X.call(Q,J[0],J[1],J[2])}return X.apply(Q,J)}NJ.exports=_M});var PJ=N((ES,CJ)=>{var AM=LJ(),IJ=Math.max;function RM(X,Q,J){return Q=IJ(Q===void 0?X.length-1:Q,0),function(){var K=arguments,H=-1,Y=IJ(K.length-Q,0),Z=Array(Y);while(++H<Y)Z[H]=K[Q+H];H=-1;var q=Array(Q+1);while(++H<Q)q[H]=K[H];return q[Q]=J(Z),AM(X,this,q)}}CJ.exports=RM});var OJ=N((SS,jJ)=>{function EM(X){return function(){return X}}jJ.exports=EM});var B5=N((xS,wJ)=>{var SM=typeof global=="object"&&global&&global.Object===Object&&global;wJ.exports=SM});var A6=N((vS,DJ)=>{var xM=B5(),vM=typeof self=="object"&&self&&self.Object===Object&&self,yM=xM||vM||Function("return this")();DJ.exports=yM});var J7=N((yS,TJ)=>{var kM=A6(),hM=kM.Symbol;TJ.exports=hM});var EJ=N((kS,RJ)=>{var _J=J7(),AJ=Object.prototype,gM=AJ.hasOwnProperty,fM=AJ.toString,D8=_J?_J.toStringTag:void 0;function uM(X){var Q=gM.call(X,D8),J=X[D8];try{X[D8]=void 0;var K=!0}catch(Y){}var H=fM.call(X);if(K)if(Q)X[D8]=J;else delete X[D8];return H}RJ.exports=uM});var xJ=N((hS,SJ)=>{var bM=Object.prototype,mM=bM.toString;function dM(X){return mM.call(X)}SJ.exports=dM});var T8=N((gS,kJ)=>{var vJ=J7(),cM=EJ(),pM=xJ(),lM="[object Null]",nM="[object Undefined]",yJ=vJ?vJ.toStringTag:void 0;function iM(X){if(X==null)return X===void 0?nM:lM;return yJ&&yJ in Object(X)?cM(X):pM(X)}kJ.exports=iM});var _8=N((fS,hJ)=>{function oM(X){var Q=typeof X;return X!=null&&(Q=="object"||Q=="function")}hJ.exports=oM});var $5=N((uS,gJ)=>{var rM=T8(),sM=_8(),aM="[object AsyncFunction]",tM="[object Function]",eM="[object GeneratorFunction]",XF="[object Proxy]";function QF(X){if(!sM(X))return!1;var Q=rM(X);return Q==tM||Q==eM||Q==aM||Q==XF}gJ.exports=QF});var uJ=N((bS,fJ)=>{var JF=A6(),KF=JF["__core-js_shared__"];fJ.exports=KF});var dJ=N((mS,mJ)=>{var M5=uJ(),bJ=function(){var X=/[^.]+$/.exec(M5&&M5.keys&&M5.keys.IE_PROTO||"");return X?"Symbol(src)_1."+X:""}();function HF(X){return!!bJ&&bJ in X}mJ.exports=HF});var pJ=N((dS,cJ)=>{var YF=Function.prototype,ZF=YF.toString;function qF(X){if(X!=null){try{return ZF.call(X)}catch(Q){}try{return X+""}catch(Q){}}return""}cJ.exports=qF});var nJ=N((cS,lJ)=>{var VF=$5(),UF=dJ(),WF=_8(),GF=pJ(),zF=/[\\^$.*+?()[\]{}|]/g,BF=/^\[object .+?Constructor\]$/,$F=Function.prototype,MF=Object.prototype,FF=$F.toString,NF=MF.hasOwnProperty,LF=RegExp("^"+FF.call(NF).replace(zF,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function IF(X){if(!WF(X)||UF(X))return!1;var Q=VF(X)?LF:BF;return Q.test(GF(X))}lJ.exports=IF});var oJ=N((pS,iJ)=>{function CF(X,Q){return X==null?void 0:X[Q]}iJ.exports=CF});var A8=N((lS,rJ)=>{var PF=nJ(),jF=oJ();function OF(X,Q){var J=jF(X,Q);return PF(J)?J:void 0}rJ.exports=OF});var aJ=N((nS,sJ)=>{var wF=A8(),DF=function(){try{var X=wF(Object,"defineProperty");return X({},"",{}),X}catch(Q){}}();sJ.exports=DF});var XK=N((iS,eJ)=>{var TF=OJ(),tJ=aJ(),_F=z5(),AF=!tJ?_F:function(X,Q){return tJ(X,"toString",{configurable:!0,enumerable:!1,value:TF(Q),writable:!0})};eJ.exports=AF});var JK=N((oS,QK)=>{var RF=800,EF=16,SF=Date.now;function xF(X){var Q=0,J=0;return function(){var K=SF(),H=EF-(K-J);if(J=K,H>0){if(++Q>=RF)return arguments[0]}else Q=0;return X.apply(void 0,arguments)}}QK.exports=xF});var HK=N((rS,KK)=>{var vF=XK(),yF=JK(),kF=yF(vF);KK.exports=kF});var K7=N((sS,YK)=>{var hF=z5(),gF=PJ(),fF=HK();function uF(X,Q){return fF(gF(X,Q,hF),X+"")}YK.exports=uF});var H7=N((aS,ZK)=>{function bF(X,Q){return X===Q||X!==X&&Q!==Q}ZK.exports=bF});var F5=N((tS,qK)=>{var mF=9007199254740991;function dF(X){return typeof X=="number"&&X>-1&&X%1==0&&X<=mF}qK.exports=dF});var Y7=N((eS,VK)=>{var cF=$5(),pF=F5();function lF(X){return X!=null&&pF(X.length)&&!cF(X)}VK.exports=lF});var N5=N((Xx,UK)=>{var nF=9007199254740991,iF=/^(?:0|[1-9]\d*)$/;function oF(X,Q){var J=typeof X;return Q=Q==null?nF:Q,!!Q&&(J=="number"||J!="symbol"&&iF.test(X))&&(X>-1&&X%1==0&&X<Q)}UK.exports=oF});var GK=N((Qx,WK)=>{var rF=H7(),sF=Y7(),aF=N5(),tF=_8();function eF(X,Q,J){if(!tF(J))return!1;var K=typeof Q;if(K=="number"?sF(J)&&aF(Q,J.length):K=="string"&&(Q in J))return rF(J[Q],X);return!1}WK.exports=eF});var BK=N((Jx,zK)=>{function XN(X,Q){var J=-1,K=Array(X);while(++J<X)K[J]=Q(J);return K}zK.exports=XN});var R6=N((Kx,$K)=>{function QN(X){return X!=null&&typeof X=="object"}$K.exports=QN});var FK=N((Hx,MK)=>{var JN=T8(),KN=R6(),HN="[object Arguments]";function YN(X){return KN(X)&&JN(X)==HN}MK.exports=YN});var L5=N((Yx,IK)=>{var NK=FK(),ZN=R6(),LK=Object.prototype,qN=LK.hasOwnProperty,VN=LK.propertyIsEnumerable,UN=NK(function(){return arguments}())?NK:function(X){return ZN(X)&&qN.call(X,"callee")&&!VN.call(X,"callee")};IK.exports=UN});var I5=N((Zx,CK)=>{var WN=Array.isArray;CK.exports=WN});var jK=N((qx,PK)=>{function GN(){return!1}PK.exports=GN});var TK=N((Z7,E6)=>{var zN=A6(),BN=jK(),DK=typeof Z7=="object"&&Z7&&!Z7.nodeType&&Z7,OK=DK&&typeof E6=="object"&&E6&&!E6.nodeType&&E6,$N=OK&&OK.exports===DK,wK=$N?zN.Buffer:void 0,MN=wK?wK.isBuffer:void 0,FN=MN||BN;E6.exports=FN});var AK=N((Ux,_K)=>{var NN=T8(),LN=F5(),IN=R6(),CN="[object Arguments]",PN="[object Array]",jN="[object Boolean]",ON="[object Date]",wN="[object Error]",DN="[object Function]",TN="[object Map]",_N="[object Number]",AN="[object Object]",RN="[object RegExp]",EN="[object Set]",SN="[object String]",xN="[object WeakMap]",vN="[object ArrayBuffer]",yN="[object DataView]",kN="[object Float32Array]",hN="[object Float64Array]",gN="[object Int8Array]",fN="[object Int16Array]",uN="[object Int32Array]",bN="[object Uint8Array]",mN="[object Uint8ClampedArray]",dN="[object Uint16Array]",cN="[object Uint32Array]",M0={};M0[kN]=M0[hN]=M0[gN]=M0[fN]=M0[uN]=M0[bN]=M0[mN]=M0[dN]=M0[cN]=!0;M0[CN]=M0[PN]=M0[vN]=M0[jN]=M0[yN]=M0[ON]=M0[wN]=M0[DN]=M0[TN]=M0[_N]=M0[AN]=M0[RN]=M0[EN]=M0[SN]=M0[xN]=!1;function pN(X){return IN(X)&&LN(X.length)&&!!M0[NN(X)]}_K.exports=pN});var C5=N((Wx,RK)=>{function lN(X){return function(Q){return X(Q)}}RK.exports=lN});var SK=N((q7,S6)=>{var nN=B5(),EK=typeof q7=="object"&&q7&&!q7.nodeType&&q7,R8=EK&&typeof S6=="object"&&S6&&!S6.nodeType&&S6,iN=R8&&R8.exports===EK,P5=iN&&nN.process,oN=function(){try{var X=R8&&R8.require&&R8.require("util").types;if(X)return X;return P5&&P5.binding&&P5.binding("util")}catch(Q){}}();S6.exports=oN});var kK=N((zx,yK)=>{var rN=AK(),sN=C5(),xK=SK(),vK=xK&&xK.isTypedArray,aN=vK?sN(vK):rN;yK.exports=aN});var gK=N((Bx,hK)=>{var tN=BK(),eN=L5(),XL=I5(),QL=TK(),JL=N5(),KL=kK(),HL=Object.prototype,YL=HL.hasOwnProperty;function ZL(X,Q){var J=XL(X),K=!J&&eN(X),H=!J&&!K&&QL(X),Y=!J&&!K&&!H&&KL(X),Z=J||K||H||Y,q=Z?tN(X.length,String):[],V=q.length;for(var G in X)if((Q||YL.call(X,G))&&!(Z&&(G=="length"||H&&(G=="offset"||G=="parent")||Y&&(G=="buffer"||G=="byteLength"||G=="byteOffset")||JL(G,V))))q.push(G);return q}hK.exports=ZL});var uK=N(($x,fK)=>{var qL=Object.prototype;function VL(X){var Q=X&&X.constructor,J=typeof Q=="function"&&Q.prototype||qL;return X===J}fK.exports=VL});var mK=N((Mx,bK)=>{function UL(X){var Q=[];if(X!=null)for(var J in Object(X))Q.push(J);return Q}bK.exports=UL});var cK=N((Fx,dK)=>{var WL=_8(),GL=uK(),zL=mK(),BL=Object.prototype,$L=BL.hasOwnProperty;function ML(X){if(!WL(X))return zL(X);var Q=GL(X),J=[];for(var K in X)if(!(K=="constructor"&&(Q||!$L.call(X,K))))J.push(K);return J}dK.exports=ML});var lK=N((Nx,pK)=>{var FL=gK(),NL=cK(),LL=Y7();function IL(X){return LL(X)?FL(X,!0):NL(X)}pK.exports=IL});var oK=N((Lx,iK)=>{var CL=K7(),PL=H7(),jL=GK(),OL=lK(),nK=Object.prototype,wL=nK.hasOwnProperty,DL=CL(function(X,Q){X=Object(X);var J=-1,K=Q.length,H=K>2?Q[2]:void 0;if(H&&jL(Q[0],Q[1],H))K=1;while(++J<K){var Y=Q[J],Z=OL(Y),q=-1,V=Z.length;while(++q<V){var G=Z[q],W=X[G];if(W===void 0||PL(W,nK[G])&&!wL.call(X,G))X[G]=Y[G]}}return X});iK.exports=DL});var L0=N((Ix,sK)=>{class rK extends Error{constructor(X){if(!Array.isArray(X))throw TypeError(`Expected input to be an Array, got ${typeof X}`);let Q="";for(let J=0;J<X.length;J++)Q+=` ${X[J].stack}
13
+ `;super(Q);this.name="AggregateError",this.errors=X}}sK.exports={AggregateError:rK,ArrayIsArray(X){return Array.isArray(X)},ArrayPrototypeIncludes(X,Q){return X.includes(Q)},ArrayPrototypeIndexOf(X,Q){return X.indexOf(Q)},ArrayPrototypeJoin(X,Q){return X.join(Q)},ArrayPrototypeMap(X,Q){return X.map(Q)},ArrayPrototypePop(X,Q){return X.pop(Q)},ArrayPrototypePush(X,Q){return X.push(Q)},ArrayPrototypeSlice(X,Q,J){return X.slice(Q,J)},Error,FunctionPrototypeCall(X,Q,...J){return X.call(Q,...J)},FunctionPrototypeSymbolHasInstance(X,Q){return Function.prototype[Symbol.hasInstance].call(X,Q)},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(X,Q){return Object.defineProperties(X,Q)},ObjectDefineProperty(X,Q,J){return Object.defineProperty(X,Q,J)},ObjectGetOwnPropertyDescriptor(X,Q){return Object.getOwnPropertyDescriptor(X,Q)},ObjectKeys(X){return Object.keys(X)},ObjectSetPrototypeOf(X,Q){return Object.setPrototypeOf(X,Q)},Promise,PromisePrototypeCatch(X,Q){return X.catch(Q)},PromisePrototypeThen(X,Q,J){return X.then(Q,J)},PromiseReject(X){return Promise.reject(X)},PromiseResolve(X){return Promise.resolve(X)},ReflectApply:Reflect.apply,RegExpPrototypeTest(X,Q){return X.test(Q)},SafeSet:Set,String,StringPrototypeSlice(X,Q,J){return X.slice(Q,J)},StringPrototypeToLowerCase(X){return X.toLowerCase()},StringPrototypeToUpperCase(X){return X.toUpperCase()},StringPrototypeTrim(X){return X.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(X,Q,J){return X.set(Q,J)},Boolean,Uint8Array}});var j5=N((Cx,aK)=>{aK.exports={format(X,...Q){return X.replace(/%([sdifj])/g,function(...[J,K]){let H=Q.shift();if(K==="f")return H.toFixed(6);else if(K==="j")return JSON.stringify(H);else if(K==="s"&&typeof H==="object")return`${H.constructor!==Object?H.constructor.name:""} {}`.trim();else return H.toString()})},inspect(X){switch(typeof X){case"string":if(X.includes("'")){if(!X.includes('"'))return`"${X}"`;else if(!X.includes("`")&&!X.includes("${"))return`\`${X}\``}return`'${X}'`;case"number":if(isNaN(X))return"NaN";else if(Object.is(X,-0))return String(X);return X;case"bigint":return`${String(X)}n`;case"boolean":case"undefined":return String(X);case"object":return"{}"}}}});var h0=N((Px,QH)=>{var{format:TL,inspect:V7}=j5(),{AggregateError:_L}=L0(),AL=globalThis.AggregateError||_L,RL=Symbol("kIsNodeError"),EL=["string","function","number","object","Function","Object","boolean","bigint","symbol"],SL=/^([A-Z][a-z0-9]*)+$/,U7={};function a1(X,Q){if(!X)throw new U7.ERR_INTERNAL_ASSERTION(Q)}function tK(X){let Q="",J=X.length,K=X[0]==="-"?1:0;for(;J>=K+4;J-=3)Q=`_${X.slice(J-3,J)}${Q}`;return`${X.slice(0,J)}${Q}`}function xL(X,Q,J){if(typeof Q==="function")return a1(Q.length<=J.length,`Code: ${X}; The provided arguments length (${J.length}) does not match the required ones (${Q.length}).`),Q(...J);let K=(Q.match(/%[dfijoOs]/g)||[]).length;if(a1(K===J.length,`Code: ${X}; The provided arguments length (${J.length}) does not match the required ones (${K}).`),J.length===0)return Q;return TL(Q,...J)}function y0(X,Q,J){if(!J)J=Error;class K extends J{constructor(...H){super(xL(X,Q,H))}toString(){return`${this.name} [${X}]: ${this.message}`}}Object.defineProperties(K.prototype,{name:{value:J.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${X}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),K.prototype.code=X,K.prototype[RL]=!0,U7[X]=K}function eK(X){let Q="__node_internal_"+X.name;return Object.defineProperty(X,"name",{value:Q}),X}function vL(X,Q){if(X&&Q&&X!==Q){if(Array.isArray(Q.errors))return Q.errors.push(X),Q;let J=new AL([Q,X],Q.message);return J.code=Q.code,J}return X||Q}class XH extends Error{constructor(X="The operation was aborted",Q=void 0){if(Q!==void 0&&typeof Q!=="object")throw new U7.ERR_INVALID_ARG_TYPE("options","Object",Q);super(X,Q);this.code="ABORT_ERR",this.name="AbortError"}}y0("ERR_ASSERTION","%s",Error);y0("ERR_INVALID_ARG_TYPE",(X,Q,J)=>{if(a1(typeof X==="string","'name' must be a string"),!Array.isArray(Q))Q=[Q];let K="The ";if(X.endsWith(" argument"))K+=`${X} `;else K+=`"${X}" ${X.includes(".")?"property":"argument"} `;K+="must be ";let H=[],Y=[],Z=[];for(let V of Q)if(a1(typeof V==="string","All expected entries have to be of type string"),EL.includes(V))H.push(V.toLowerCase());else if(SL.test(V))Y.push(V);else a1(V!=="object",'The value "object" should be written as "Object"'),Z.push(V);if(Y.length>0){let V=H.indexOf("object");if(V!==-1)H.splice(H,V,1),Y.push("Object")}if(H.length>0){switch(H.length){case 1:K+=`of type ${H[0]}`;break;case 2:K+=`one of type ${H[0]} or ${H[1]}`;break;default:{let V=H.pop();K+=`one of type ${H.join(", ")}, or ${V}`}}if(Y.length>0||Z.length>0)K+=" or "}if(Y.length>0){switch(Y.length){case 1:K+=`an instance of ${Y[0]}`;break;case 2:K+=`an instance of ${Y[0]} or ${Y[1]}`;break;default:{let V=Y.pop();K+=`an instance of ${Y.join(", ")}, or ${V}`}}if(Z.length>0)K+=" or "}switch(Z.length){case 0:break;case 1:if(Z[0].toLowerCase()!==Z[0])K+="an ";K+=`${Z[0]}`;break;case 2:K+=`one of ${Z[0]} or ${Z[1]}`;break;default:{let V=Z.pop();K+=`one of ${Z.join(", ")}, or ${V}`}}if(J==null)K+=`. Received ${J}`;else if(typeof J==="function"&&J.name)K+=`. Received function ${J.name}`;else if(typeof J==="object"){var q;if((q=J.constructor)!==null&&q!==void 0&&q.name)K+=`. Received an instance of ${J.constructor.name}`;else{let V=V7(J,{depth:-1});K+=`. Received ${V}`}}else{let V=V7(J,{colors:!1});if(V.length>25)V=`${V.slice(0,25)}...`;K+=`. Received type ${typeof J} (${V})`}return K},TypeError);y0("ERR_INVALID_ARG_VALUE",(X,Q,J="is invalid")=>{let K=V7(Q);if(K.length>128)K=K.slice(0,128)+"...";return`The ${X.includes(".")?"property":"argument"} '${X}' ${J}. Received ${K}`},TypeError);y0("ERR_INVALID_RETURN_VALUE",(X,Q,J)=>{var K;let H=J!==null&&J!==void 0&&(K=J.constructor)!==null&&K!==void 0&&K.name?`instance of ${J.constructor.name}`:`type ${typeof J}`;return`Expected ${X} to be returned from the "${Q}" function but got ${H}.`},TypeError);y0("ERR_MISSING_ARGS",(...X)=>{a1(X.length>0,"At least one arg needs to be specified");let Q,J=X.length;switch(X=(Array.isArray(X)?X:[X]).map((K)=>`"${K}"`).join(" or "),J){case 1:Q+=`The ${X[0]} argument`;break;case 2:Q+=`The ${X[0]} and ${X[1]} arguments`;break;default:{let K=X.pop();Q+=`The ${X.join(", ")}, and ${K} arguments`}break}return`${Q} must be specified`},TypeError);y0("ERR_OUT_OF_RANGE",(X,Q,J)=>{a1(Q,'Missing "range" argument');let K;if(Number.isInteger(J)&&Math.abs(J)>4294967296)K=tK(String(J));else if(typeof J==="bigint"){K=String(J);let H=BigInt(2)**BigInt(32);if(J>H||J<-H)K=tK(K);K+="n"}else K=V7(J);return`The value of "${X}" is out of range. It must be ${Q}. Received ${K}`},RangeError);y0("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);y0("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);y0("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);y0("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);y0("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);y0("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);y0("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);y0("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);y0("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);y0("ERR_STREAM_WRITE_AFTER_END","write after end",Error);y0("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);QH.exports={AbortError:XH,aggregateTwoErrors:eK(vL),hideStackFrames:eK,codes:U7}});var m0=N((jx,w5)=>{var yL=f("buffer"),{format:kL,inspect:hL}=j5(),{codes:{ERR_INVALID_ARG_TYPE:O5}}=h0(),{kResistStopPropagation:gL,AggregateError:fL,SymbolDispose:uL}=L0(),bL=globalThis.AbortSignal||f("abort-controller").AbortSignal,mL=globalThis.AbortController||f("abort-controller").AbortController,dL=Object.getPrototypeOf(async function(){}).constructor,JH=globalThis.Blob||yL.Blob,cL=typeof JH<"u"?function(Q){return Q instanceof JH}:function(Q){return!1},KH=(X,Q)=>{if(X!==void 0&&(X===null||typeof X!=="object"||!("aborted"in X)))throw new O5(Q,"AbortSignal",X)},pL=(X,Q)=>{if(typeof X!=="function")throw new O5(Q,"Function",X)};w5.exports={AggregateError:fL,kEmptyObject:Object.freeze({}),once(X){let Q=!1;return function(...J){if(Q)return;Q=!0,X.apply(this,J)}},createDeferredPromise:function(){let X,Q;return{promise:new Promise((K,H)=>{X=K,Q=H}),resolve:X,reject:Q}},promisify(X){return new Promise((Q,J)=>{X((K,...H)=>{if(K)return J(K);return Q(...H)})})},debuglog(){return function(){}},format:kL,inspect:hL,types:{isAsyncFunction(X){return X instanceof dL},isArrayBufferView(X){return ArrayBuffer.isView(X)}},isBlob:cL,deprecate(X,Q){return X},addAbortListener:f("events").addAbortListener||function(Q,J){if(Q===void 0)throw new O5("signal","AbortSignal",Q);KH(Q,"signal"),pL(J,"listener");let K;if(Q.aborted)queueMicrotask(()=>J());else Q.addEventListener("abort",J,{__proto__:null,once:!0,[gL]:!0}),K=()=>{Q.removeEventListener("abort",J)};return{__proto__:null,[uL](){var H;(H=K)===null||H===void 0||H()}}},AbortSignalAny:bL.any||function(Q){if(Q.length===1)return Q[0];let J=new mL,K=()=>J.abort();return Q.forEach((H)=>{KH(H,"signals"),H.addEventListener("abort",K,{once:!0})}),J.signal.addEventListener("abort",()=>{Q.forEach((H)=>H.removeEventListener("abort",K))},{once:!0}),J.signal}};w5.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")});var v6=N((Ox,BH)=>{var{ArrayIsArray:T5,ArrayPrototypeIncludes:qH,ArrayPrototypeJoin:VH,ArrayPrototypeMap:lL,NumberIsInteger:_5,NumberIsNaN:nL,NumberMAX_SAFE_INTEGER:iL,NumberMIN_SAFE_INTEGER:oL,NumberParseInt:rL,ObjectPrototypeHasOwnProperty:sL,RegExpPrototypeExec:UH,String:aL,StringPrototypeToUpperCase:tL,StringPrototypeTrim:eL}=L0(),{hideStackFrames:e0,codes:{ERR_SOCKET_BAD_PORT:XI,ERR_INVALID_ARG_TYPE:g0,ERR_INVALID_ARG_VALUE:x6,ERR_OUT_OF_RANGE:t1,ERR_UNKNOWN_SIGNAL:HH}}=h0(),{normalizeEncoding:QI}=m0(),{isAsyncFunction:JI,isArrayBufferView:KI}=m0().types,YH={};function HI(X){return X===(X|0)}function YI(X){return X===X>>>0}var ZI=/^[0-7]+$/,qI="must be a 32-bit unsigned integer or an octal string";function VI(X,Q,J){if(typeof X>"u")X=J;if(typeof X==="string"){if(UH(ZI,X)===null)throw new x6(Q,X,qI);X=rL(X,8)}return WH(X,Q),X}var UI=e0((X,Q,J=oL,K=iL)=>{if(typeof X!=="number")throw new g0(Q,"number",X);if(!_5(X))throw new t1(Q,"an integer",X);if(X<J||X>K)throw new t1(Q,`>= ${J} && <= ${K}`,X)}),WI=e0((X,Q,J=-2147483648,K=2147483647)=>{if(typeof X!=="number")throw new g0(Q,"number",X);if(!_5(X))throw new t1(Q,"an integer",X);if(X<J||X>K)throw new t1(Q,`>= ${J} && <= ${K}`,X)}),WH=e0((X,Q,J=!1)=>{if(typeof X!=="number")throw new g0(Q,"number",X);if(!_5(X))throw new t1(Q,"an integer",X);let K=J?1:0,H=4294967295;if(X<K||X>H)throw new t1(Q,`>= ${K} && <= ${H}`,X)});function A5(X,Q){if(typeof X!=="string")throw new g0(Q,"string",X)}function GI(X,Q,J=void 0,K){if(typeof X!=="number")throw new g0(Q,"number",X);if(J!=null&&X<J||K!=null&&X>K||(J!=null||K!=null)&&nL(X))throw new t1(Q,`${J!=null?`>= ${J}`:""}${J!=null&&K!=null?" && ":""}${K!=null?`<= ${K}`:""}`,X)}var zI=e0((X,Q,J)=>{if(!qH(J,X)){let H="must be one of: "+VH(lL(J,(Y)=>typeof Y==="string"?`'${Y}'`:aL(Y)),", ");throw new x6(Q,X,H)}});function GH(X,Q){if(typeof X!=="boolean")throw new g0(Q,"boolean",X)}function D5(X,Q,J){return X==null||!sL(X,Q)?J:X[Q]}var BI=e0((X,Q,J=null)=>{let K=D5(J,"allowArray",!1),H=D5(J,"allowFunction",!1);if(!D5(J,"nullable",!1)&&X===null||!K&&T5(X)||typeof X!=="object"&&(!H||typeof X!=="function"))throw new g0(Q,"Object",X)}),$I=e0((X,Q)=>{if(X!=null&&typeof X!=="object"&&typeof X!=="function")throw new g0(Q,"a dictionary",X)}),W7=e0((X,Q,J=0)=>{if(!T5(X))throw new g0(Q,"Array",X);if(X.length<J){let K=`must be longer than ${J}`;throw new x6(Q,X,K)}});function MI(X,Q){W7(X,Q);for(let J=0;J<X.length;J++)A5(X[J],`${Q}[${J}]`)}function FI(X,Q){W7(X,Q);for(let J=0;J<X.length;J++)GH(X[J],`${Q}[${J}]`)}function NI(X,Q){W7(X,Q);for(let J=0;J<X.length;J++){let K=X[J],H=`${Q}[${J}]`;if(K==null)throw new g0(H,"AbortSignal",K);zH(K,H)}}function LI(X,Q="signal"){if(A5(X,Q),YH[X]===void 0){if(YH[tL(X)]!==void 0)throw new HH(X+" (signals must use all capital letters)");throw new HH(X)}}var II=e0((X,Q="buffer")=>{if(!KI(X))throw new g0(Q,["Buffer","TypedArray","DataView"],X)});function CI(X,Q){let J=QI(Q),K=X.length;if(J==="hex"&&K%2!==0)throw new x6("encoding",Q,`is invalid for data of length ${K}`)}function PI(X,Q="Port",J=!0){if(typeof X!=="number"&&typeof X!=="string"||typeof X==="string"&&eL(X).length===0||+X!==+X>>>0||X>65535||X===0&&!J)throw new XI(Q,X,J);return X|0}var zH=e0((X,Q)=>{if(X!==void 0&&(X===null||typeof X!=="object"||!("aborted"in X)))throw new g0(Q,"AbortSignal",X)}),jI=e0((X,Q)=>{if(typeof X!=="function")throw new g0(Q,"Function",X)}),OI=e0((X,Q)=>{if(typeof X!=="function"||JI(X))throw new g0(Q,"Function",X)}),wI=e0((X,Q)=>{if(X!==void 0)throw new g0(Q,"undefined",X)});function DI(X,Q,J){if(!qH(J,X))throw new g0(Q,`('${VH(J,"|")}')`,X)}var TI=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function ZH(X,Q){if(typeof X>"u"||!UH(TI,X))throw new x6(Q,X,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function _I(X){if(typeof X==="string")return ZH(X,"hints"),X;else if(T5(X)){let Q=X.length,J="";if(Q===0)return J;for(let K=0;K<Q;K++){let H=X[K];if(ZH(H,"hints"),J+=H,K!==Q-1)J+=", "}return J}throw new x6("hints",X,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}BH.exports={isInt32:HI,isUint32:YI,parseFileMode:VI,validateArray:W7,validateStringArray:MI,validateBooleanArray:FI,validateAbortSignalArray:NI,validateBoolean:GH,validateBuffer:II,validateDictionary:$I,validateEncoding:CI,validateFunction:jI,validateInt32:WI,validateInteger:UI,validateNumber:GI,validateObject:BI,validateOneOf:zI,validatePlainFunction:OI,validatePort:PI,validateSignalName:LI,validateString:A5,validateUint32:WH,validateUndefined:wI,validateUnion:DI,validateAbortSignal:zH,validateLinkHeaderValue:_I}});var k1=N((wx,$H)=>{$H.exports=global.process});var B1=N((Dx,RH)=>{var{SymbolAsyncIterator:MH,SymbolIterator:FH,SymbolFor:e1}=L0(),NH=e1("nodejs.stream.destroyed"),LH=e1("nodejs.stream.errored"),R5=e1("nodejs.stream.readable"),E5=e1("nodejs.stream.writable"),IH=e1("nodejs.stream.disturbed"),AI=e1("nodejs.webstream.isClosedPromise"),RI=e1("nodejs.webstream.controllerErrorFunction");function G7(X,Q=!1){var J;return!!(X&&typeof X.pipe==="function"&&typeof X.on==="function"&&(!Q||typeof X.pause==="function"&&typeof X.resume==="function")&&(!X._writableState||((J=X._readableState)===null||J===void 0?void 0:J.readable)!==!1)&&(!X._writableState||X._readableState))}function z7(X){var Q;return!!(X&&typeof X.write==="function"&&typeof X.on==="function"&&(!X._readableState||((Q=X._writableState)===null||Q===void 0?void 0:Q.writable)!==!1))}function EI(X){return!!(X&&typeof X.pipe==="function"&&X._readableState&&typeof X.on==="function"&&typeof X.write==="function")}function z1(X){return X&&(X._readableState||X._writableState||typeof X.write==="function"&&typeof X.on==="function"||typeof X.pipe==="function"&&typeof X.on==="function")}function CH(X){return!!(X&&!z1(X)&&typeof X.pipeThrough==="function"&&typeof X.getReader==="function"&&typeof X.cancel==="function")}function PH(X){return!!(X&&!z1(X)&&typeof X.getWriter==="function"&&typeof X.abort==="function")}function jH(X){return!!(X&&!z1(X)&&typeof X.readable==="object"&&typeof X.writable==="object")}function SI(X){return CH(X)||PH(X)||jH(X)}function xI(X,Q){if(X==null)return!1;if(Q===!0)return typeof X[MH]==="function";if(Q===!1)return typeof X[FH]==="function";return typeof X[MH]==="function"||typeof X[FH]==="function"}function B7(X){if(!z1(X))return null;let{_writableState:Q,_readableState:J}=X,K=Q||J;return!!(X.destroyed||X[NH]||K!==null&&K!==void 0&&K.destroyed)}function OH(X){if(!z7(X))return null;if(X.writableEnded===!0)return!0;let Q=X._writableState;if(Q!==null&&Q!==void 0&&Q.errored)return!1;if(typeof(Q===null||Q===void 0?void 0:Q.ended)!=="boolean")return null;return Q.ended}function vI(X,Q){if(!z7(X))return null;if(X.writableFinished===!0)return!0;let J=X._writableState;if(J!==null&&J!==void 0&&J.errored)return!1;if(typeof(J===null||J===void 0?void 0:J.finished)!=="boolean")return null;return!!(J.finished||Q===!1&&J.ended===!0&&J.length===0)}function yI(X){if(!G7(X))return null;if(X.readableEnded===!0)return!0;let Q=X._readableState;if(!Q||Q.errored)return!1;if(typeof(Q===null||Q===void 0?void 0:Q.ended)!=="boolean")return null;return Q.ended}function wH(X,Q){if(!G7(X))return null;let J=X._readableState;if(J!==null&&J!==void 0&&J.errored)return!1;if(typeof(J===null||J===void 0?void 0:J.endEmitted)!=="boolean")return null;return!!(J.endEmitted||Q===!1&&J.ended===!0&&J.length===0)}function DH(X){if(X&&X[R5]!=null)return X[R5];if(typeof(X===null||X===void 0?void 0:X.readable)!=="boolean")return null;if(B7(X))return!1;return G7(X)&&X.readable&&!wH(X)}function TH(X){if(X&&X[E5]!=null)return X[E5];if(typeof(X===null||X===void 0?void 0:X.writable)!=="boolean")return null;if(B7(X))return!1;return z7(X)&&X.writable&&!OH(X)}function kI(X,Q){if(!z1(X))return null;if(B7(X))return!0;if((Q===null||Q===void 0?void 0:Q.readable)!==!1&&DH(X))return!1;if((Q===null||Q===void 0?void 0:Q.writable)!==!1&&TH(X))return!1;return!0}function hI(X){var Q,J;if(!z1(X))return null;if(X.writableErrored)return X.writableErrored;return(Q=(J=X._writableState)===null||J===void 0?void 0:J.errored)!==null&&Q!==void 0?Q:null}function gI(X){var Q,J;if(!z1(X))return null;if(X.readableErrored)return X.readableErrored;return(Q=(J=X._readableState)===null||J===void 0?void 0:J.errored)!==null&&Q!==void 0?Q:null}function fI(X){if(!z1(X))return null;if(typeof X.closed==="boolean")return X.closed;let{_writableState:Q,_readableState:J}=X;if(typeof(Q===null||Q===void 0?void 0:Q.closed)==="boolean"||typeof(J===null||J===void 0?void 0:J.closed)==="boolean")return(Q===null||Q===void 0?void 0:Q.closed)||(J===null||J===void 0?void 0:J.closed);if(typeof X._closed==="boolean"&&_H(X))return X._closed;return null}function _H(X){return typeof X._closed==="boolean"&&typeof X._defaultKeepAlive==="boolean"&&typeof X._removedConnection==="boolean"&&typeof X._removedContLen==="boolean"}function AH(X){return typeof X._sent100==="boolean"&&_H(X)}function uI(X){var Q;return typeof X._consuming==="boolean"&&typeof X._dumped==="boolean"&&((Q=X.req)===null||Q===void 0?void 0:Q.upgradeOrConnect)===void 0}function bI(X){if(!z1(X))return null;let{_writableState:Q,_readableState:J}=X,K=Q||J;return!K&&AH(X)||!!(K&&K.autoDestroy&&K.emitClose&&K.closed===!1)}function mI(X){var Q;return!!(X&&((Q=X[IH])!==null&&Q!==void 0?Q:X.readableDidRead||X.readableAborted))}function dI(X){var Q,J,K,H,Y,Z,q,V,G,W;return!!(X&&((Q=(J=(K=(H=(Y=(Z=X[LH])!==null&&Z!==void 0?Z:X.readableErrored)!==null&&Y!==void 0?Y:X.writableErrored)!==null&&H!==void 0?H:(q=X._readableState)===null||q===void 0?void 0:q.errorEmitted)!==null&&K!==void 0?K:(V=X._writableState)===null||V===void 0?void 0:V.errorEmitted)!==null&&J!==void 0?J:(G=X._readableState)===null||G===void 0?void 0:G.errored)!==null&&Q!==void 0?Q:(W=X._writableState)===null||W===void 0?void 0:W.errored))}RH.exports={isDestroyed:B7,kIsDestroyed:NH,isDisturbed:mI,kIsDisturbed:IH,isErrored:dI,kIsErrored:LH,isReadable:DH,kIsReadable:R5,kIsClosedPromise:AI,kControllerErrorFunction:RI,kIsWritable:E5,isClosed:fI,isDuplexNodeStream:EI,isFinished:kI,isIterable:xI,isReadableNodeStream:G7,isReadableStream:CH,isReadableEnded:yI,isReadableFinished:wH,isReadableErrored:gI,isNodeStream:z1,isWebStream:SI,isWritable:TH,isWritableNodeStream:z7,isWritableStream:PH,isWritableEnded:OH,isWritableFinished:vI,isWritableErrored:hI,isServerRequest:uI,isServerResponse:AH,willEmitClose:bI,isTransformStream:jH}});var D1=N((Tx,k5)=>{var h1=k1(),{AbortError:fH,codes:cI}=h0(),{ERR_INVALID_ARG_TYPE:pI,ERR_STREAM_PREMATURE_CLOSE:EH}=cI,{kEmptyObject:x5,once:v5}=m0(),{validateAbortSignal:lI,validateFunction:nI,validateObject:iI,validateBoolean:oI}=v6(),{Promise:rI,PromisePrototypeThen:sI,SymbolDispose:uH}=L0(),{isClosed:aI,isReadable:SH,isReadableNodeStream:S5,isReadableStream:tI,isReadableFinished:xH,isReadableErrored:vH,isWritable:yH,isWritableNodeStream:kH,isWritableStream:eI,isWritableFinished:hH,isWritableErrored:gH,isNodeStream:XC,willEmitClose:QC,kIsClosedPromise:JC}=B1(),y6;function KC(X){return X.setHeader&&typeof X.abort==="function"}var y5=()=>{};function bH(X,Q,J){var K,H;if(arguments.length===2)J=Q,Q=x5;else if(Q==null)Q=x5;else iI(Q,"options");if(nI(J,"callback"),lI(Q.signal,"options.signal"),J=v5(J),tI(X)||eI(X))return HC(X,Q,J);if(!XC(X))throw new pI("stream",["ReadableStream","WritableStream","Stream"],X);let Y=(K=Q.readable)!==null&&K!==void 0?K:S5(X),Z=(H=Q.writable)!==null&&H!==void 0?H:kH(X),q=X._writableState,V=X._readableState,G=()=>{if(!X.writable)F()},W=QC(X)&&S5(X)===Y&&kH(X)===Z,B=hH(X,!1),F=()=>{if(B=!0,X.destroyed)W=!1;if(W&&(!X.readable||Y))return;if(!Y||M)J.call(X)},M=xH(X,!1),C=()=>{if(M=!0,X.destroyed)W=!1;if(W&&(!X.writable||Z))return;if(!Z||B)J.call(X)},j=(n)=>{J.call(X,n)},P=aI(X),L=()=>{P=!0;let n=gH(X)||vH(X);if(n&&typeof n!=="boolean")return J.call(X,n);if(Y&&!M&&S5(X,!0)){if(!xH(X,!1))return J.call(X,new EH)}if(Z&&!B){if(!hH(X,!1))return J.call(X,new EH)}J.call(X)},x=()=>{P=!0;let n=gH(X)||vH(X);if(n&&typeof n!=="boolean")return J.call(X,n);J.call(X)},v=()=>{X.req.on("finish",F)};if(KC(X)){if(X.on("complete",F),!W)X.on("abort",L);if(X.req)v();else X.on("request",v)}else if(Z&&!q)X.on("end",G),X.on("close",G);if(!W&&typeof X.aborted==="boolean")X.on("aborted",L);if(X.on("end",C),X.on("finish",F),Q.error!==!1)X.on("error",j);if(X.on("close",L),P)h1.nextTick(L);else if(q!==null&&q!==void 0&&q.errorEmitted||V!==null&&V!==void 0&&V.errorEmitted){if(!W)h1.nextTick(x)}else if(!Y&&(!W||SH(X))&&(B||yH(X)===!1))h1.nextTick(x);else if(!Z&&(!W||yH(X))&&(M||SH(X)===!1))h1.nextTick(x);else if(V&&X.req&&X.aborted)h1.nextTick(x);let h=()=>{if(J=y5,X.removeListener("aborted",L),X.removeListener("complete",F),X.removeListener("abort",L),X.removeListener("request",v),X.req)X.req.removeListener("finish",F);X.removeListener("end",G),X.removeListener("close",G),X.removeListener("finish",F),X.removeListener("end",C),X.removeListener("error",j),X.removeListener("close",L)};if(Q.signal&&!P){let n=()=>{let k=J;h(),k.call(X,new fH(void 0,{cause:Q.signal.reason}))};if(Q.signal.aborted)h1.nextTick(n);else{y6=y6||m0().addAbortListener;let k=y6(Q.signal,n),D=J;J=v5((...m)=>{k[uH](),D.apply(X,m)})}}return h}function HC(X,Q,J){let K=!1,H=y5;if(Q.signal)if(H=()=>{K=!0,J.call(X,new fH(void 0,{cause:Q.signal.reason}))},Q.signal.aborted)h1.nextTick(H);else{y6=y6||m0().addAbortListener;let Z=y6(Q.signal,H),q=J;J=v5((...V)=>{Z[uH](),q.apply(X,V)})}let Y=(...Z)=>{if(!K)h1.nextTick(()=>J.apply(X,Z))};return sI(X[JC].promise,Y,Y),y5}function YC(X,Q){var J;let K=!1;if(Q===null)Q=x5;if((J=Q)!==null&&J!==void 0&&J.cleanup)oI(Q.cleanup,"cleanup"),K=Q.cleanup;return new rI((H,Y)=>{let Z=bH(X,Q,(q)=>{if(K)Z();if(q)Y(q);else H()})})}k5.exports=bH;k5.exports.finished=YC});var X6=N((_x,oH)=>{var $1=k1(),{aggregateTwoErrors:ZC,codes:{ERR_MULTIPLE_CALLBACK:qC},AbortError:VC}=h0(),{Symbol:cH}=L0(),{kIsDestroyed:UC,isDestroyed:WC,isFinished:GC,isServerRequest:zC}=B1(),pH=cH("kDestroy"),h5=cH("kConstruct");function lH(X,Q,J){if(X){if(X.stack,Q&&!Q.errored)Q.errored=X;if(J&&!J.errored)J.errored=X}}function BC(X,Q){let J=this._readableState,K=this._writableState,H=K||J;if(K!==null&&K!==void 0&&K.destroyed||J!==null&&J!==void 0&&J.destroyed){if(typeof Q==="function")Q();return this}if(lH(X,K,J),K)K.destroyed=!0;if(J)J.destroyed=!0;if(!H.constructed)this.once(pH,function(Y){mH(this,ZC(Y,X),Q)});else mH(this,X,Q);return this}function mH(X,Q,J){let K=!1;function H(Y){if(K)return;K=!0;let{_readableState:Z,_writableState:q}=X;if(lH(Y,q,Z),q)q.closed=!0;if(Z)Z.closed=!0;if(typeof J==="function")J(Y);if(Y)$1.nextTick($C,X,Y);else $1.nextTick(nH,X)}try{X._destroy(Q||null,H)}catch(Y){H(Y)}}function $C(X,Q){g5(X,Q),nH(X)}function nH(X){let{_readableState:Q,_writableState:J}=X;if(J)J.closeEmitted=!0;if(Q)Q.closeEmitted=!0;if(J!==null&&J!==void 0&&J.emitClose||Q!==null&&Q!==void 0&&Q.emitClose)X.emit("close")}function g5(X,Q){let{_readableState:J,_writableState:K}=X;if(K!==null&&K!==void 0&&K.errorEmitted||J!==null&&J!==void 0&&J.errorEmitted)return;if(K)K.errorEmitted=!0;if(J)J.errorEmitted=!0;X.emit("error",Q)}function MC(){let X=this._readableState,Q=this._writableState;if(X)X.constructed=!0,X.closed=!1,X.closeEmitted=!1,X.destroyed=!1,X.errored=null,X.errorEmitted=!1,X.reading=!1,X.ended=X.readable===!1,X.endEmitted=X.readable===!1;if(Q)Q.constructed=!0,Q.destroyed=!1,Q.closed=!1,Q.closeEmitted=!1,Q.errored=null,Q.errorEmitted=!1,Q.finalCalled=!1,Q.prefinished=!1,Q.ended=Q.writable===!1,Q.ending=Q.writable===!1,Q.finished=Q.writable===!1}function f5(X,Q,J){let{_readableState:K,_writableState:H}=X;if(H!==null&&H!==void 0&&H.destroyed||K!==null&&K!==void 0&&K.destroyed)return this;if(K!==null&&K!==void 0&&K.autoDestroy||H!==null&&H!==void 0&&H.autoDestroy)X.destroy(Q);else if(Q){if(Q.stack,H&&!H.errored)H.errored=Q;if(K&&!K.errored)K.errored=Q;if(J)$1.nextTick(g5,X,Q);else g5(X,Q)}}function FC(X,Q){if(typeof X._construct!=="function")return;let{_readableState:J,_writableState:K}=X;if(J)J.constructed=!1;if(K)K.constructed=!1;if(X.once(h5,Q),X.listenerCount(h5)>1)return;$1.nextTick(NC,X)}function NC(X){let Q=!1;function J(K){if(Q){f5(X,K!==null&&K!==void 0?K:new qC);return}Q=!0;let{_readableState:H,_writableState:Y}=X,Z=Y||H;if(H)H.constructed=!0;if(Y)Y.constructed=!0;if(Z.destroyed)X.emit(pH,K);else if(K)f5(X,K,!0);else $1.nextTick(LC,X)}try{X._construct((K)=>{$1.nextTick(J,K)})}catch(K){$1.nextTick(J,K)}}function LC(X){X.emit(h5)}function dH(X){return(X===null||X===void 0?void 0:X.setHeader)&&typeof X.abort==="function"}function iH(X){X.emit("close")}function IC(X,Q){X.emit("error",Q),$1.nextTick(iH,X)}function CC(X,Q){if(!X||WC(X))return;if(!Q&&!GC(X))Q=new VC;if(zC(X))X.socket=null,X.destroy(Q);else if(dH(X))X.abort();else if(dH(X.req))X.req.abort();else if(typeof X.destroy==="function")X.destroy(Q);else if(typeof X.close==="function")X.close();else if(Q)$1.nextTick(IC,X,Q);else $1.nextTick(iH,X);if(!X.destroyed)X[UC]=!0}oH.exports={construct:FC,destroyer:CC,destroy:BC,undestroy:MC,errorOrDestroy:f5}});var F7=N((Ax,sH)=>{var{ArrayIsArray:PC,ObjectSetPrototypeOf:rH}=L0(),{EventEmitter:$7}=f("events");function M7(X){$7.call(this,X)}rH(M7.prototype,$7.prototype);rH(M7,$7);M7.prototype.pipe=function(X,Q){let J=this;function K(W){if(X.writable&&X.write(W)===!1&&J.pause)J.pause()}J.on("data",K);function H(){if(J.readable&&J.resume)J.resume()}if(X.on("drain",H),!X._isStdio&&(!Q||Q.end!==!1))J.on("end",Z),J.on("close",q);let Y=!1;function Z(){if(Y)return;Y=!0,X.end()}function q(){if(Y)return;if(Y=!0,typeof X.destroy==="function")X.destroy()}function V(W){if(G(),$7.listenerCount(this,"error")===0)this.emit("error",W)}u5(J,"error",V),u5(X,"error",V);function G(){J.removeListener("data",K),X.removeListener("drain",H),J.removeListener("end",Z),J.removeListener("close",q),J.removeListener("error",V),X.removeListener("error",V),J.removeListener("end",G),J.removeListener("close",G),X.removeListener("close",G)}return J.on("end",G),J.on("close",G),X.on("close",G),X.emit("pipe",J),X};function u5(X,Q,J){if(typeof X.prependListener==="function")return X.prependListener(Q,J);if(!X._events||!X._events[Q])X.on(Q,J);else if(PC(X._events[Q]))X._events[Q].unshift(J);else X._events[Q]=[J,X._events[Q]]}sH.exports={Stream:M7,prependListener:u5}});var E8=N((AC,N7)=>{var{SymbolDispose:jC}=L0(),{AbortError:aH,codes:OC}=h0(),{isNodeStream:tH,isWebStream:wC,kControllerErrorFunction:DC}=B1(),TC=D1(),{ERR_INVALID_ARG_TYPE:eH}=OC,b5,_C=(X,Q)=>{if(typeof X!=="object"||!("aborted"in X))throw new eH(Q,"AbortSignal",X)};AC.addAbortSignal=function(Q,J){if(_C(Q,"signal"),!tH(J)&&!wC(J))throw new eH("stream",["ReadableStream","WritableStream","Stream"],J);return AC.addAbortSignalNoValidate(Q,J)};AC.addAbortSignalNoValidate=function(X,Q){if(typeof X!=="object"||!("aborted"in X))return Q;let J=tH(Q)?()=>{Q.destroy(new aH(void 0,{cause:X.reason}))}:()=>{Q[DC](new aH(void 0,{cause:X.reason}))};if(X.aborted)J();else{b5=b5||m0().addAbortListener;let K=b5(X,J);TC(Q,K[jC])}return Q}});var JY=N((Rx,QY)=>{var{StringPrototypeSlice:XY,SymbolIterator:SC,TypedArrayPrototypeSet:L7,Uint8Array:xC}=L0(),{Buffer:m5}=f("buffer"),{inspect:vC}=m0();QY.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(Q){let J={data:Q,next:null};if(this.length>0)this.tail.next=J;else this.head=J;this.tail=J,++this.length}unshift(Q){let J={data:Q,next:this.head};if(this.length===0)this.tail=J;this.head=J,++this.length}shift(){if(this.length===0)return;let Q=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,Q}clear(){this.head=this.tail=null,this.length=0}join(Q){if(this.length===0)return"";let J=this.head,K=""+J.data;while((J=J.next)!==null)K+=Q+J.data;return K}concat(Q){if(this.length===0)return m5.alloc(0);let J=m5.allocUnsafe(Q>>>0),K=this.head,H=0;while(K)L7(J,K.data,H),H+=K.data.length,K=K.next;return J}consume(Q,J){let K=this.head.data;if(Q<K.length){let H=K.slice(0,Q);return this.head.data=K.slice(Q),H}if(Q===K.length)return this.shift();return J?this._getString(Q):this._getBuffer(Q)}first(){return this.head.data}*[SC](){for(let Q=this.head;Q;Q=Q.next)yield Q.data}_getString(Q){let J="",K=this.head,H=0;do{let Y=K.data;if(Q>Y.length)J+=Y,Q-=Y.length;else{if(Q===Y.length)if(J+=Y,++H,K.next)this.head=K.next;else this.head=this.tail=null;else J+=XY(Y,0,Q),this.head=K,K.data=XY(Y,Q);break}++H}while((K=K.next)!==null);return this.length-=H,J}_getBuffer(Q){let J=m5.allocUnsafe(Q),K=Q,H=this.head,Y=0;do{let Z=H.data;if(Q>Z.length)L7(J,Z,K-Q),Q-=Z.length;else{if(Q===Z.length)if(L7(J,Z,K-Q),++Y,H.next)this.head=H.next;else this.head=this.tail=null;else L7(J,new xC(Z.buffer,Z.byteOffset,Q),K-Q),this.head=H,H.data=Z.slice(Q);break}++Y}while((H=H.next)!==null);return this.length-=Y,J}[Symbol.for("nodejs.util.inspect.custom")](Q,J){return vC(this,{...J,depth:0,customInspect:!1})}}});var S8=N((Ex,ZY)=>{var{MathFloor:yC,NumberIsInteger:kC}=L0(),{validateInteger:hC}=v6(),{ERR_INVALID_ARG_VALUE:gC}=h0().codes,KY=16384,HY=16;function fC(X,Q,J){return X.highWaterMark!=null?X.highWaterMark:Q?X[J]:null}function YY(X){return X?HY:KY}function uC(X,Q){if(hC(Q,"value",0),X)HY=Q;else KY=Q}function bC(X,Q,J,K){let H=fC(Q,K,J);if(H!=null){if(!kC(H)||H<0){let Y=K?`options.${J}`:"options.highWaterMark";throw new gC(Y,H)}return yC(H)}return YY(X.objectMode)}ZY.exports={getHighWaterMark:bC,getDefaultHighWaterMark:YY,setDefaultHighWaterMark:uC}});var UY=N((d5,VY)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var I7=f("buffer"),M1=I7.Buffer;function qY(X,Q){for(var J in X)Q[J]=X[J]}if(M1.from&&M1.alloc&&M1.allocUnsafe&&M1.allocUnsafeSlow)VY.exports=I7;else qY(I7,d5),d5.Buffer=Q6;function Q6(X,Q,J){return M1(X,Q,J)}Q6.prototype=Object.create(M1.prototype);qY(M1,Q6);Q6.from=function(X,Q,J){if(typeof X==="number")throw TypeError("Argument must not be a number");return M1(X,Q,J)};Q6.alloc=function(X,Q,J){if(typeof X!=="number")throw TypeError("Argument must be a number");var K=M1(X);if(Q!==void 0)if(typeof J==="string")K.fill(Q,J);else K.fill(Q);else K.fill(0);return K};Q6.allocUnsafe=function(X){if(typeof X!=="number")throw TypeError("Argument must be a number");return M1(X)};Q6.allocUnsafeSlow=function(X){if(typeof X!=="number")throw TypeError("Argument must be a number");return I7.SlowBuffer(X)}});var GY=N((XP)=>{var p5=UY().Buffer,WY=p5.isEncoding||function(X){switch(X=""+X,X&&X.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 mC(X){if(!X)return"utf8";var Q;while(!0)switch(X){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 X;default:if(Q)return;X=(""+X).toLowerCase(),Q=!0}}function dC(X){var Q=mC(X);if(typeof Q!=="string"&&(p5.isEncoding===WY||!WY(X)))throw Error("Unknown encoding: "+X);return Q||X}XP.StringDecoder=x8;function x8(X){this.encoding=dC(X);var Q;switch(this.encoding){case"utf16le":this.text=oC,this.end=rC,Q=4;break;case"utf8":this.fillLast=lC,Q=4;break;case"base64":this.text=sC,this.end=aC,Q=3;break;default:this.write=tC,this.end=eC;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=p5.allocUnsafe(Q)}x8.prototype.write=function(X){if(X.length===0)return"";var Q,J;if(this.lastNeed){if(Q=this.fillLast(X),Q===void 0)return"";J=this.lastNeed,this.lastNeed=0}else J=0;if(J<X.length)return Q?Q+this.text(X,J):this.text(X,J);return Q||""};x8.prototype.end=iC;x8.prototype.text=nC;x8.prototype.fillLast=function(X){if(this.lastNeed<=X.length)return X.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);X.copy(this.lastChar,this.lastTotal-this.lastNeed,0,X.length),this.lastNeed-=X.length};function c5(X){if(X<=127)return 0;else if(X>>5===6)return 2;else if(X>>4===14)return 3;else if(X>>3===30)return 4;return X>>6===2?-1:-2}function cC(X,Q,J){var K=Q.length-1;if(K<J)return 0;var H=c5(Q[K]);if(H>=0){if(H>0)X.lastNeed=H-1;return H}if(--K<J||H===-2)return 0;if(H=c5(Q[K]),H>=0){if(H>0)X.lastNeed=H-2;return H}if(--K<J||H===-2)return 0;if(H=c5(Q[K]),H>=0){if(H>0)if(H===2)H=0;else X.lastNeed=H-3;return H}return 0}function pC(X,Q,J){if((Q[0]&192)!==128)return X.lastNeed=0,"\uFFFD";if(X.lastNeed>1&&Q.length>1){if((Q[1]&192)!==128)return X.lastNeed=1,"\uFFFD";if(X.lastNeed>2&&Q.length>2){if((Q[2]&192)!==128)return X.lastNeed=2,"\uFFFD"}}}function lC(X){var Q=this.lastTotal-this.lastNeed,J=pC(this,X,Q);if(J!==void 0)return J;if(this.lastNeed<=X.length)return X.copy(this.lastChar,Q,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);X.copy(this.lastChar,Q,0,X.length),this.lastNeed-=X.length}function nC(X,Q){var J=cC(this,X,Q);if(!this.lastNeed)return X.toString("utf8",Q);this.lastTotal=J;var K=X.length-(J-this.lastNeed);return X.copy(this.lastChar,0,K),X.toString("utf8",Q,K)}function iC(X){var Q=X&&X.length?this.write(X):"";if(this.lastNeed)return Q+"\uFFFD";return Q}function oC(X,Q){if((X.length-Q)%2===0){var J=X.toString("utf16le",Q);if(J){var K=J.charCodeAt(J.length-1);if(K>=55296&&K<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=X[X.length-2],this.lastChar[1]=X[X.length-1],J.slice(0,-1)}return J}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=X[X.length-1],X.toString("utf16le",Q,X.length-1)}function rC(X){var Q=X&&X.length?this.write(X):"";if(this.lastNeed){var J=this.lastTotal-this.lastNeed;return Q+this.lastChar.toString("utf16le",0,J)}return Q}function sC(X,Q){var J=(X.length-Q)%3;if(J===0)return X.toString("base64",Q);if(this.lastNeed=3-J,this.lastTotal=3,J===1)this.lastChar[0]=X[X.length-1];else this.lastChar[0]=X[X.length-2],this.lastChar[1]=X[X.length-1];return X.toString("base64",Q,X.length-J)}function aC(X){var Q=X&&X.length?this.write(X):"";if(this.lastNeed)return Q+this.lastChar.toString("base64",0,3-this.lastNeed);return Q}function tC(X){return X.toString(this.encoding)}function eC(X){return X&&X.length?this.write(X):""}});var l5=N((xx,MY)=>{var zY=k1(),{PromisePrototypeThen:JP,SymbolAsyncIterator:BY,SymbolIterator:$Y}=L0(),{Buffer:KP}=f("buffer"),{ERR_INVALID_ARG_TYPE:HP,ERR_STREAM_NULL_VALUES:YP}=h0().codes;function ZP(X,Q,J){let K;if(typeof Q==="string"||Q instanceof KP)return new X({objectMode:!0,...J,read(){this.push(Q),this.push(null)}});let H;if(Q&&Q[BY])H=!0,K=Q[BY]();else if(Q&&Q[$Y])H=!1,K=Q[$Y]();else throw new HP("iterable",["Iterable"],Q);let Y=new X({objectMode:!0,highWaterMark:1,...J}),Z=!1;Y._read=function(){if(!Z)Z=!0,V()},Y._destroy=function(G,W){JP(q(G),()=>zY.nextTick(W,G),(B)=>zY.nextTick(W,B||G))};async function q(G){let W=G!==void 0&&G!==null,B=typeof K.throw==="function";if(W&&B){let{value:F,done:M}=await K.throw(G);if(await F,M)return}if(typeof K.return==="function"){let{value:F}=await K.return();await F}}async function V(){for(;;){try{let{value:G,done:W}=H?await K.next():K.next();if(W)Y.push(null);else{let B=G&&typeof G.then==="function"?await G:G;if(B===null)throw Z=!1,new YP;else if(Y.push(B))continue;else Z=!1}}catch(G){Y.destroy(G)}break}}return Y}MY.exports=ZP});var y8=N((vx,vY)=>{var Z1=k1(),{ArrayPrototypeIndexOf:qP,NumberIsInteger:VP,NumberIsNaN:UP,NumberParseInt:WP,ObjectDefineProperties:e5,ObjectKeys:GP,ObjectSetPrototypeOf:LY,Promise:IY,SafeSet:zP,SymbolAsyncDispose:BP,SymbolAsyncIterator:$P,Symbol:MP}=L0();vY.exports=o;o.ReadableState=O7;var{EventEmitter:FP}=f("events"),{Stream:g1,prependListener:NP}=F7(),{Buffer:n5}=f("buffer"),{addAbortSignal:LP}=E8(),CY=D1(),a=m0().debuglog("stream",(X)=>{a=X}),IP=JY(),g6=X6(),{getHighWaterMark:CP,getDefaultHighWaterMark:PP}=S8(),{aggregateTwoErrors:FY,codes:{ERR_INVALID_ARG_TYPE:jP,ERR_METHOD_NOT_IMPLEMENTED:OP,ERR_OUT_OF_RANGE:wP,ERR_STREAM_PUSH_AFTER_EOF:DP,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:TP},AbortError:_P}=h0(),{validateObject:AP}=v6(),J6=MP("kPaused"),{StringDecoder:PY}=GY(),RP=l5();LY(o.prototype,g1.prototype);LY(o,g1);var i5=()=>{},{errorOrDestroy:k6}=g6,h6=1,EP=2,jY=4,v8=8,OY=16,C7=32,P7=64,wY=128,SP=256,xP=512,vP=1024,a5=2048,t5=4096,yP=8192,kP=16384,hP=32768,DY=65536,gP=131072,fP=262144;function D0(X){return{enumerable:!1,get(){return(this.state&X)!==0},set(Q){if(Q)this.state|=X;else this.state&=~X}}}e5(O7.prototype,{objectMode:D0(h6),ended:D0(EP),endEmitted:D0(jY),reading:D0(v8),constructed:D0(OY),sync:D0(C7),needReadable:D0(P7),emittedReadable:D0(wY),readableListening:D0(SP),resumeScheduled:D0(xP),errorEmitted:D0(vP),emitClose:D0(a5),autoDestroy:D0(t5),destroyed:D0(yP),closed:D0(kP),closeEmitted:D0(hP),multiAwaitDrain:D0(DY),readingMore:D0(gP),dataEmitted:D0(fP)});function O7(X,Q,J){if(typeof J!=="boolean")J=Q instanceof F1();if(this.state=a5|t5|OY|C7,X&&X.objectMode)this.state|=h6;if(J&&X&&X.readableObjectMode)this.state|=h6;if(this.highWaterMark=X?CP(this,X,"readableHighWaterMark",J):PP(!1),this.buffer=new IP,this.length=0,this.pipes=[],this.flowing=null,this[J6]=null,X&&X.emitClose===!1)this.state&=~a5;if(X&&X.autoDestroy===!1)this.state&=~t5;if(this.errored=null,this.defaultEncoding=X&&X.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,X&&X.encoding)this.decoder=new PY(X.encoding),this.encoding=X.encoding}function o(X){if(!(this instanceof o))return new o(X);let Q=this instanceof F1();if(this._readableState=new O7(X,this,Q),X){if(typeof X.read==="function")this._read=X.read;if(typeof X.destroy==="function")this._destroy=X.destroy;if(typeof X.construct==="function")this._construct=X.construct;if(X.signal&&!Q)LP(X.signal,this)}g1.call(this,X),g6.construct(this,()=>{if(this._readableState.needReadable)j7(this,this._readableState)})}o.prototype.destroy=g6.destroy;o.prototype._undestroy=g6.undestroy;o.prototype._destroy=function(X,Q){Q(X)};o.prototype[FP.captureRejectionSymbol]=function(X){this.destroy(X)};o.prototype[BP]=function(){let X;if(!this.destroyed)X=this.readableEnded?null:new _P,this.destroy(X);return new IY((Q,J)=>CY(this,(K)=>K&&K!==X?J(K):Q(null)))};o.prototype.push=function(X,Q){return TY(this,X,Q,!1)};o.prototype.unshift=function(X,Q){return TY(this,X,Q,!0)};function TY(X,Q,J,K){a("readableAddChunk",Q);let H=X._readableState,Y;if((H.state&h6)===0){if(typeof Q==="string"){if(J=J||H.defaultEncoding,H.encoding!==J)if(K&&H.encoding)Q=n5.from(Q,J).toString(H.encoding);else Q=n5.from(Q,J),J=""}else if(Q instanceof n5)J="";else if(g1._isUint8Array(Q))Q=g1._uint8ArrayToBuffer(Q),J="";else if(Q!=null)Y=new jP("chunk",["string","Buffer","Uint8Array"],Q)}if(Y)k6(X,Y);else if(Q===null)H.state&=~v8,mP(X,H);else if((H.state&h6)!==0||Q&&Q.length>0)if(K)if((H.state&jY)!==0)k6(X,new TP);else if(H.destroyed||H.errored)return!1;else o5(X,H,Q,!0);else if(H.ended)k6(X,new DP);else if(H.destroyed||H.errored)return!1;else if(H.state&=~v8,H.decoder&&!J)if(Q=H.decoder.write(Q),H.objectMode||Q.length!==0)o5(X,H,Q,!1);else j7(X,H);else o5(X,H,Q,!1);else if(!K)H.state&=~v8,j7(X,H);return!H.ended&&(H.length<H.highWaterMark||H.length===0)}function o5(X,Q,J,K){if(Q.flowing&&Q.length===0&&!Q.sync&&X.listenerCount("data")>0){if((Q.state&DY)!==0)Q.awaitDrainWriters.clear();else Q.awaitDrainWriters=null;Q.dataEmitted=!0,X.emit("data",J)}else{if(Q.length+=Q.objectMode?1:J.length,K)Q.buffer.unshift(J);else Q.buffer.push(J);if((Q.state&P7)!==0)w7(X)}j7(X,Q)}o.prototype.isPaused=function(){let X=this._readableState;return X[J6]===!0||X.flowing===!1};o.prototype.setEncoding=function(X){let Q=new PY(X);this._readableState.decoder=Q,this._readableState.encoding=this._readableState.decoder.encoding;let J=this._readableState.buffer,K="";for(let H of J)K+=Q.write(H);if(J.clear(),K!=="")J.push(K);return this._readableState.length=K.length,this};var uP=1073741824;function bP(X){if(X>uP)throw new wP("size","<= 1GiB",X);else X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++;return X}function NY(X,Q){if(X<=0||Q.length===0&&Q.ended)return 0;if((Q.state&h6)!==0)return 1;if(UP(X)){if(Q.flowing&&Q.length)return Q.buffer.first().length;return Q.length}if(X<=Q.length)return X;return Q.ended?Q.length:0}o.prototype.read=function(X){if(a("read",X),X===void 0)X=NaN;else if(!VP(X))X=WP(X,10);let Q=this._readableState,J=X;if(X>Q.highWaterMark)Q.highWaterMark=bP(X);if(X!==0)Q.state&=~wY;if(X===0&&Q.needReadable&&((Q.highWaterMark!==0?Q.length>=Q.highWaterMark:Q.length>0)||Q.ended)){if(a("read: emitReadable",Q.length,Q.ended),Q.length===0&&Q.ended)r5(this);else w7(this);return null}if(X=NY(X,Q),X===0&&Q.ended){if(Q.length===0)r5(this);return null}let K=(Q.state&P7)!==0;if(a("need readable",K),Q.length===0||Q.length-X<Q.highWaterMark)K=!0,a("length less than watermark",K);if(Q.ended||Q.reading||Q.destroyed||Q.errored||!Q.constructed)K=!1,a("reading, ended or constructing",K);else if(K){if(a("do read"),Q.state|=v8|C7,Q.length===0)Q.state|=P7;try{this._read(Q.highWaterMark)}catch(Y){k6(this,Y)}if(Q.state&=~C7,!Q.reading)X=NY(J,Q)}let H;if(X>0)H=SY(X,Q);else H=null;if(H===null)Q.needReadable=Q.length<=Q.highWaterMark,X=0;else if(Q.length-=X,Q.multiAwaitDrain)Q.awaitDrainWriters.clear();else Q.awaitDrainWriters=null;if(Q.length===0){if(!Q.ended)Q.needReadable=!0;if(J!==X&&Q.ended)r5(this)}if(H!==null&&!Q.errorEmitted&&!Q.closeEmitted)Q.dataEmitted=!0,this.emit("data",H);return H};function mP(X,Q){if(a("onEofChunk"),Q.ended)return;if(Q.decoder){let J=Q.decoder.end();if(J&&J.length)Q.buffer.push(J),Q.length+=Q.objectMode?1:J.length}if(Q.ended=!0,Q.sync)w7(X);else Q.needReadable=!1,Q.emittedReadable=!0,_Y(X)}function w7(X){let Q=X._readableState;if(a("emitReadable",Q.needReadable,Q.emittedReadable),Q.needReadable=!1,!Q.emittedReadable)a("emitReadable",Q.flowing),Q.emittedReadable=!0,Z1.nextTick(_Y,X)}function _Y(X){let Q=X._readableState;if(a("emitReadable_",Q.destroyed,Q.length,Q.ended),!Q.destroyed&&!Q.errored&&(Q.length||Q.ended))X.emit("readable"),Q.emittedReadable=!1;Q.needReadable=!Q.flowing&&!Q.ended&&Q.length<=Q.highWaterMark,RY(X)}function j7(X,Q){if(!Q.readingMore&&Q.constructed)Q.readingMore=!0,Z1.nextTick(dP,X,Q)}function dP(X,Q){while(!Q.reading&&!Q.ended&&(Q.length<Q.highWaterMark||Q.flowing&&Q.length===0)){let J=Q.length;if(a("maybeReadMore read 0"),X.read(0),J===Q.length)break}Q.readingMore=!1}o.prototype._read=function(X){throw new OP("_read()")};o.prototype.pipe=function(X,Q){let J=this,K=this._readableState;if(K.pipes.length===1){if(!K.multiAwaitDrain)K.multiAwaitDrain=!0,K.awaitDrainWriters=new zP(K.awaitDrainWriters?[K.awaitDrainWriters]:[])}K.pipes.push(X),a("pipe count=%d opts=%j",K.pipes.length,Q);let Y=(!Q||Q.end!==!1)&&X!==Z1.stdout&&X!==Z1.stderr?q:P;if(K.endEmitted)Z1.nextTick(Y);else J.once("end",Y);X.on("unpipe",Z);function Z(L,x){if(a("onunpipe"),L===J){if(x&&x.hasUnpiped===!1)x.hasUnpiped=!0,W()}}function q(){a("onend"),X.end()}let V,G=!1;function W(){if(a("cleanup"),X.removeListener("close",C),X.removeListener("finish",j),V)X.removeListener("drain",V);if(X.removeListener("error",M),X.removeListener("unpipe",Z),J.removeListener("end",q),J.removeListener("end",P),J.removeListener("data",F),G=!0,V&&K.awaitDrainWriters&&(!X._writableState||X._writableState.needDrain))V()}function B(){if(!G){if(K.pipes.length===1&&K.pipes[0]===X)a("false write response, pause",0),K.awaitDrainWriters=X,K.multiAwaitDrain=!1;else if(K.pipes.length>1&&K.pipes.includes(X))a("false write response, pause",K.awaitDrainWriters.size),K.awaitDrainWriters.add(X);J.pause()}if(!V)V=cP(J,X),X.on("drain",V)}J.on("data",F);function F(L){a("ondata");let x=X.write(L);if(a("dest.write",x),x===!1)B()}function M(L){if(a("onerror",L),P(),X.removeListener("error",M),X.listenerCount("error")===0){let x=X._writableState||X._readableState;if(x&&!x.errorEmitted)k6(X,L);else X.emit("error",L)}}NP(X,"error",M);function C(){X.removeListener("finish",j),P()}X.once("close",C);function j(){a("onfinish"),X.removeListener("close",C),P()}X.once("finish",j);function P(){a("unpipe"),J.unpipe(X)}if(X.emit("pipe",J),X.writableNeedDrain===!0)B();else if(!K.flowing)a("pipe resume"),J.resume();return X};function cP(X,Q){return function(){let K=X._readableState;if(K.awaitDrainWriters===Q)a("pipeOnDrain",1),K.awaitDrainWriters=null;else if(K.multiAwaitDrain)a("pipeOnDrain",K.awaitDrainWriters.size),K.awaitDrainWriters.delete(Q);if((!K.awaitDrainWriters||K.awaitDrainWriters.size===0)&&X.listenerCount("data"))X.resume()}}o.prototype.unpipe=function(X){let Q=this._readableState,J={hasUnpiped:!1};if(Q.pipes.length===0)return this;if(!X){let H=Q.pipes;Q.pipes=[],this.pause();for(let Y=0;Y<H.length;Y++)H[Y].emit("unpipe",this,{hasUnpiped:!1});return this}let K=qP(Q.pipes,X);if(K===-1)return this;if(Q.pipes.splice(K,1),Q.pipes.length===0)this.pause();return X.emit("unpipe",this,J),this};o.prototype.on=function(X,Q){let J=g1.prototype.on.call(this,X,Q),K=this._readableState;if(X==="data"){if(K.readableListening=this.listenerCount("readable")>0,K.flowing!==!1)this.resume()}else if(X==="readable"){if(!K.endEmitted&&!K.readableListening){if(K.readableListening=K.needReadable=!0,K.flowing=!1,K.emittedReadable=!1,a("on readable",K.length,K.reading),K.length)w7(this);else if(!K.reading)Z1.nextTick(pP,this)}}return J};o.prototype.addListener=o.prototype.on;o.prototype.removeListener=function(X,Q){let J=g1.prototype.removeListener.call(this,X,Q);if(X==="readable")Z1.nextTick(AY,this);return J};o.prototype.off=o.prototype.removeListener;o.prototype.removeAllListeners=function(X){let Q=g1.prototype.removeAllListeners.apply(this,arguments);if(X==="readable"||X===void 0)Z1.nextTick(AY,this);return Q};function AY(X){let Q=X._readableState;if(Q.readableListening=X.listenerCount("readable")>0,Q.resumeScheduled&&Q[J6]===!1)Q.flowing=!0;else if(X.listenerCount("data")>0)X.resume();else if(!Q.readableListening)Q.flowing=null}function pP(X){a("readable nexttick read 0"),X.read(0)}o.prototype.resume=function(){let X=this._readableState;if(!X.flowing)a("resume"),X.flowing=!X.readableListening,lP(this,X);return X[J6]=!1,this};function lP(X,Q){if(!Q.resumeScheduled)Q.resumeScheduled=!0,Z1.nextTick(nP,X,Q)}function nP(X,Q){if(a("resume",Q.reading),!Q.reading)X.read(0);if(Q.resumeScheduled=!1,X.emit("resume"),RY(X),Q.flowing&&!Q.reading)X.read(0)}o.prototype.pause=function(){if(a("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)a("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState[J6]=!0,this};function RY(X){let Q=X._readableState;a("flow",Q.flowing);while(Q.flowing&&X.read()!==null);}o.prototype.wrap=function(X){let Q=!1;X.on("data",(K)=>{if(!this.push(K)&&X.pause)Q=!0,X.pause()}),X.on("end",()=>{this.push(null)}),X.on("error",(K)=>{k6(this,K)}),X.on("close",()=>{this.destroy()}),X.on("destroy",()=>{this.destroy()}),this._read=()=>{if(Q&&X.resume)Q=!1,X.resume()};let J=GP(X);for(let K=1;K<J.length;K++){let H=J[K];if(this[H]===void 0&&typeof X[H]==="function")this[H]=X[H].bind(X)}return this};o.prototype[$P]=function(){return EY(this)};o.prototype.iterator=function(X){if(X!==void 0)AP(X,"options");return EY(this,X)};function EY(X,Q){if(typeof X.read!=="function")X=o.wrap(X,{objectMode:!0});let J=iP(X,Q);return J.stream=X,J}async function*iP(X,Q){let J=i5;function K(Z){if(this===X)J(),J=i5;else J=Z}X.on("readable",K);let H,Y=CY(X,{writable:!1},(Z)=>{H=Z?FY(H,Z):null,J(),J=i5});try{while(!0){let Z=X.destroyed?null:X.read();if(Z!==null)yield Z;else if(H)throw H;else if(H===null)return;else await new IY(K)}}catch(Z){throw H=FY(H,Z),H}finally{if((H||(Q===null||Q===void 0?void 0:Q.destroyOnReturn)!==!1)&&(H===void 0||X._readableState.autoDestroy))g6.destroyer(X,null);else X.off("readable",K),Y()}}e5(o.prototype,{readable:{__proto__:null,get(){let X=this._readableState;return!!X&&X.readable!==!1&&!X.destroyed&&!X.errorEmitted&&!X.endEmitted},set(X){if(this._readableState)this._readableState.readable=!!X}},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(X){if(this._readableState)this._readableState.flowing=X}},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(X){if(!this._readableState)return;this._readableState.destroyed=X}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}});e5(O7.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[J6]!==!1},set(X){this[J6]=!!X}}});o._fromList=SY;function SY(X,Q){if(Q.length===0)return null;let J;if(Q.objectMode)J=Q.buffer.shift();else if(!X||X>=Q.length){if(Q.decoder)J=Q.buffer.join("");else if(Q.buffer.length===1)J=Q.buffer.first();else J=Q.buffer.concat(Q.length);Q.buffer.clear()}else J=Q.buffer.consume(X,Q.decoder);return J}function r5(X){let Q=X._readableState;if(a("endReadable",Q.endEmitted),!Q.endEmitted)Q.ended=!0,Z1.nextTick(oP,Q,X)}function oP(X,Q){if(a("endReadableNT",X.endEmitted,X.length),!X.errored&&!X.closeEmitted&&!X.endEmitted&&X.length===0){if(X.endEmitted=!0,Q.emit("end"),Q.writable&&Q.allowHalfOpen===!1)Z1.nextTick(rP,Q);else if(X.autoDestroy){let J=Q._writableState;if(!J||J.autoDestroy&&(J.finished||J.writable===!1))Q.destroy()}}}function rP(X){if(X.writable&&!X.writableEnded&&!X.destroyed)X.end()}o.from=function(X,Q){return RP(o,X,Q)};var s5;function xY(){if(s5===void 0)s5={};return s5}o.fromWeb=function(X,Q){return xY().newStreamReadableFromReadableStream(X,Q)};o.toWeb=function(X,Q){return xY().newReadableStreamFromStreamReadable(X,Q)};o.wrap=function(X,Q){var J,K;return new o({objectMode:(J=(K=X.readableObjectMode)!==null&&K!==void 0?K:X.objectMode)!==null&&J!==void 0?J:!0,...Q,destroy(H,Y){g6.destroyer(X,H),Y(H)}}).wrap(X)}});var R7=N((yx,lY)=>{var K6=k1(),{ArrayPrototypeSlice:hY,Error:sP,FunctionPrototypeSymbolHasInstance:gY,ObjectDefineProperty:fY,ObjectDefineProperties:aP,ObjectSetPrototypeOf:uY,StringPrototypeToLowerCase:tP,Symbol:eP,SymbolHasInstance:Xj}=L0();lY.exports=C0;C0.WritableState=g8;var{EventEmitter:Qj}=f("events"),k8=F7().Stream,{Buffer:D7}=f("buffer"),A7=X6(),{addAbortSignal:Jj}=E8(),{getHighWaterMark:Kj,getDefaultHighWaterMark:Hj}=S8(),{ERR_INVALID_ARG_TYPE:Yj,ERR_METHOD_NOT_IMPLEMENTED:Zj,ERR_MULTIPLE_CALLBACK:bY,ERR_STREAM_CANNOT_PIPE:qj,ERR_STREAM_DESTROYED:h8,ERR_STREAM_ALREADY_FINISHED:Vj,ERR_STREAM_NULL_VALUES:Uj,ERR_STREAM_WRITE_AFTER_END:Wj,ERR_UNKNOWN_ENCODING:mY}=h0().codes,{errorOrDestroy:f6}=A7;uY(C0.prototype,k8.prototype);uY(C0,k8);function J9(){}var u6=eP("kOnFinished");function g8(X,Q,J){if(typeof J!=="boolean")J=Q instanceof F1();if(this.objectMode=!!(X&&X.objectMode),J)this.objectMode=this.objectMode||!!(X&&X.writableObjectMode);this.highWaterMark=X?Kj(this,X,"writableHighWaterMark",J):Hj(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let K=!!(X&&X.decodeStrings===!1);this.decodeStrings=!K,this.defaultEncoding=X&&X.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=zj.bind(void 0,Q),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,_7(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!X||X.emitClose!==!1,this.autoDestroy=!X||X.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[u6]=[]}function _7(X){X.buffered=[],X.bufferedIndex=0,X.allBuffers=!0,X.allNoop=!0}g8.prototype.getBuffer=function(){return hY(this.buffered,this.bufferedIndex)};fY(g8.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function C0(X){let Q=this instanceof F1();if(!Q&&!gY(C0,this))return new C0(X);if(this._writableState=new g8(X,this,Q),X){if(typeof X.write==="function")this._write=X.write;if(typeof X.writev==="function")this._writev=X.writev;if(typeof X.destroy==="function")this._destroy=X.destroy;if(typeof X.final==="function")this._final=X.final;if(typeof X.construct==="function")this._construct=X.construct;if(X.signal)Jj(X.signal,this)}k8.call(this,X),A7.construct(this,()=>{let J=this._writableState;if(!J.writing)H9(this,J);Y9(this,J)})}fY(C0,Xj,{__proto__:null,value:function(X){if(gY(this,X))return!0;if(this!==C0)return!1;return X&&X._writableState instanceof g8}});C0.prototype.pipe=function(){f6(this,new qj)};function dY(X,Q,J,K){let H=X._writableState;if(typeof J==="function")K=J,J=H.defaultEncoding;else{if(!J)J=H.defaultEncoding;else if(J!=="buffer"&&!D7.isEncoding(J))throw new mY(J);if(typeof K!=="function")K=J9}if(Q===null)throw new Uj;else if(!H.objectMode)if(typeof Q==="string"){if(H.decodeStrings!==!1)Q=D7.from(Q,J),J="buffer"}else if(Q instanceof D7)J="buffer";else if(k8._isUint8Array(Q))Q=k8._uint8ArrayToBuffer(Q),J="buffer";else throw new Yj("chunk",["string","Buffer","Uint8Array"],Q);let Y;if(H.ending)Y=new Wj;else if(H.destroyed)Y=new h8("write");if(Y)return K6.nextTick(K,Y),f6(X,Y,!0),Y;return H.pendingcb++,Gj(X,H,Q,J,K)}C0.prototype.write=function(X,Q,J){return dY(this,X,Q,J)===!0};C0.prototype.cork=function(){this._writableState.corked++};C0.prototype.uncork=function(){let X=this._writableState;if(X.corked){if(X.corked--,!X.writing)H9(this,X)}};C0.prototype.setDefaultEncoding=function(Q){if(typeof Q==="string")Q=tP(Q);if(!D7.isEncoding(Q))throw new mY(Q);return this._writableState.defaultEncoding=Q,this};function Gj(X,Q,J,K,H){let Y=Q.objectMode?1:J.length;Q.length+=Y;let Z=Q.length<Q.highWaterMark;if(!Z)Q.needDrain=!0;if(Q.writing||Q.corked||Q.errored||!Q.constructed){if(Q.buffered.push({chunk:J,encoding:K,callback:H}),Q.allBuffers&&K!=="buffer")Q.allBuffers=!1;if(Q.allNoop&&H!==J9)Q.allNoop=!1}else Q.writelen=Y,Q.writecb=H,Q.writing=!0,Q.sync=!0,X._write(J,K,Q.onwrite),Q.sync=!1;return Z&&!Q.errored&&!Q.destroyed}function yY(X,Q,J,K,H,Y,Z){if(Q.writelen=K,Q.writecb=Z,Q.writing=!0,Q.sync=!0,Q.destroyed)Q.onwrite(new h8("write"));else if(J)X._writev(H,Q.onwrite);else X._write(H,Y,Q.onwrite);Q.sync=!1}function kY(X,Q,J,K){--Q.pendingcb,K(J),K9(Q),f6(X,J)}function zj(X,Q){let J=X._writableState,K=J.sync,H=J.writecb;if(typeof H!=="function"){f6(X,new bY);return}if(J.writing=!1,J.writecb=null,J.length-=J.writelen,J.writelen=0,Q){if(Q.stack,!J.errored)J.errored=Q;if(X._readableState&&!X._readableState.errored)X._readableState.errored=Q;if(K)K6.nextTick(kY,X,J,Q,H);else kY(X,J,Q,H)}else{if(J.buffered.length>J.bufferedIndex)H9(X,J);if(K)if(J.afterWriteTickInfo!==null&&J.afterWriteTickInfo.cb===H)J.afterWriteTickInfo.count++;else J.afterWriteTickInfo={count:1,cb:H,stream:X,state:J},K6.nextTick(Bj,J.afterWriteTickInfo);else cY(X,J,1,H)}}function Bj({stream:X,state:Q,count:J,cb:K}){return Q.afterWriteTickInfo=null,cY(X,Q,J,K)}function cY(X,Q,J,K){if(!Q.ending&&!X.destroyed&&Q.length===0&&Q.needDrain)Q.needDrain=!1,X.emit("drain");while(J-- >0)Q.pendingcb--,K();if(Q.destroyed)K9(Q);Y9(X,Q)}function K9(X){if(X.writing)return;for(let H=X.bufferedIndex;H<X.buffered.length;++H){var Q;let{chunk:Y,callback:Z}=X.buffered[H],q=X.objectMode?1:Y.length;X.length-=q,Z((Q=X.errored)!==null&&Q!==void 0?Q:new h8("write"))}let J=X[u6].splice(0);for(let H=0;H<J.length;H++){var K;J[H]((K=X.errored)!==null&&K!==void 0?K:new h8("end"))}_7(X)}function H9(X,Q){if(Q.corked||Q.bufferProcessing||Q.destroyed||!Q.constructed)return;let{buffered:J,bufferedIndex:K,objectMode:H}=Q,Y=J.length-K;if(!Y)return;let Z=K;if(Q.bufferProcessing=!0,Y>1&&X._writev){Q.pendingcb-=Y-1;let q=Q.allNoop?J9:(G)=>{for(let W=Z;W<J.length;++W)J[W].callback(G)},V=Q.allNoop&&Z===0?J:hY(J,Z);V.allBuffers=Q.allBuffers,yY(X,Q,!0,Q.length,V,"",q),_7(Q)}else{do{let{chunk:q,encoding:V,callback:G}=J[Z];J[Z++]=null;let W=H?1:q.length;yY(X,Q,!1,W,q,V,G)}while(Z<J.length&&!Q.writing);if(Z===J.length)_7(Q);else if(Z>256)J.splice(0,Z),Q.bufferedIndex=0;else Q.bufferedIndex=Z}Q.bufferProcessing=!1}C0.prototype._write=function(X,Q,J){if(this._writev)this._writev([{chunk:X,encoding:Q}],J);else throw new Zj("_write()")};C0.prototype._writev=null;C0.prototype.end=function(X,Q,J){let K=this._writableState;if(typeof X==="function")J=X,X=null,Q=null;else if(typeof Q==="function")J=Q,Q=null;let H;if(X!==null&&X!==void 0){let Y=dY(this,X,Q);if(Y instanceof sP)H=Y}if(K.corked)K.corked=1,this.uncork();if(H);else if(!K.errored&&!K.ending)K.ending=!0,Y9(this,K,!0),K.ended=!0;else if(K.finished)H=new Vj("end");else if(K.destroyed)H=new h8("end");if(typeof J==="function")if(H||K.finished)K6.nextTick(J,H);else K[u6].push(J);return this};function T7(X){return X.ending&&!X.destroyed&&X.constructed&&X.length===0&&!X.errored&&X.buffered.length===0&&!X.finished&&!X.writing&&!X.errorEmitted&&!X.closeEmitted}function $j(X,Q){let J=!1;function K(H){if(J){f6(X,H!==null&&H!==void 0?H:bY());return}if(J=!0,Q.pendingcb--,H){let Y=Q[u6].splice(0);for(let Z=0;Z<Y.length;Z++)Y[Z](H);f6(X,H,Q.sync)}else if(T7(Q))Q.prefinished=!0,X.emit("prefinish"),Q.pendingcb++,K6.nextTick(Q9,X,Q)}Q.sync=!0,Q.pendingcb++;try{X._final(K)}catch(H){K(H)}Q.sync=!1}function Mj(X,Q){if(!Q.prefinished&&!Q.finalCalled)if(typeof X._final==="function"&&!Q.destroyed)Q.finalCalled=!0,$j(X,Q);else Q.prefinished=!0,X.emit("prefinish")}function Y9(X,Q,J){if(T7(Q)){if(Mj(X,Q),Q.pendingcb===0){if(J)Q.pendingcb++,K6.nextTick((K,H)=>{if(T7(H))Q9(K,H);else H.pendingcb--},X,Q);else if(T7(Q))Q.pendingcb++,Q9(X,Q)}}}function Q9(X,Q){Q.pendingcb--,Q.finished=!0;let J=Q[u6].splice(0);for(let K=0;K<J.length;K++)J[K]();if(X.emit("finish"),Q.autoDestroy){let K=X._readableState;if(!K||K.autoDestroy&&(K.endEmitted||K.readable===!1))X.destroy()}}aP(C0.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:!1}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:!1},set(X){if(this._writableState)this._writableState.destroyed=X}},writable:{__proto__:null,get(){let X=this._writableState;return!!X&&X.writable!==!1&&!X.destroyed&&!X.errored&&!X.ending&&!X.ended},set(X){if(this._writableState)this._writableState.writable=!!X}},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 X=this._writableState;if(!X)return!1;return!X.destroyed&&!X.ending&&X.needDrain}},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 Fj=A7.destroy;C0.prototype.destroy=function(X,Q){let J=this._writableState;if(!J.destroyed&&(J.bufferedIndex<J.buffered.length||J[u6].length))K6.nextTick(K9,J);return Fj.call(this,X,Q),this};C0.prototype._undestroy=A7.undestroy;C0.prototype._destroy=function(X,Q){Q(X)};C0.prototype[Qj.captureRejectionSymbol]=function(X){this.destroy(X)};var X9;function pY(){if(X9===void 0)X9={};return X9}C0.fromWeb=function(X,Q){return pY().newStreamWritableFromWritableStream(X,Q)};C0.toWeb=function(X){return pY().newWritableStreamFromStreamWritable(X)}});var ZZ=N((kx,YZ)=>{var Z9=k1(),Nj=f("buffer"),{isReadable:Lj,isWritable:Ij,isIterable:nY,isNodeStream:Cj,isReadableNodeStream:iY,isWritableNodeStream:oY,isDuplexNodeStream:Pj,isReadableStream:rY,isWritableStream:sY}=B1(),aY=D1(),{AbortError:KZ,codes:{ERR_INVALID_ARG_TYPE:jj,ERR_INVALID_RETURN_VALUE:tY}}=h0(),{destroyer:m6}=X6(),Oj=F1(),HZ=y8(),wj=R7(),{createDeferredPromise:eY}=m0(),XZ=l5(),QZ=globalThis.Blob||Nj.Blob,Dj=typeof QZ<"u"?function(Q){return Q instanceof QZ}:function(Q){return!1},Tj=globalThis.AbortController||f("abort-controller").AbortController,{FunctionPrototypeCall:JZ}=L0();class H6 extends Oj{constructor(X){super(X);if((X===null||X===void 0?void 0:X.readable)===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if((X===null||X===void 0?void 0:X.writable)===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}}YZ.exports=function X(Q,J){if(Pj(Q))return Q;if(iY(Q))return b6({readable:Q});if(oY(Q))return b6({writable:Q});if(Cj(Q))return b6({writable:!1,readable:!1});if(rY(Q))return b6({readable:HZ.fromWeb(Q)});if(sY(Q))return b6({writable:wj.fromWeb(Q)});if(typeof Q==="function"){let{value:H,write:Y,final:Z,destroy:q}=_j(Q);if(nY(H))return XZ(H6,H,{objectMode:!0,write:Y,final:Z,destroy:q});let V=H===null||H===void 0?void 0:H.then;if(typeof V==="function"){let G,W=JZ(V,H,(B)=>{if(B!=null)throw new tY("nully","body",B)},(B)=>{m6(G,B)});return G=new H6({objectMode:!0,readable:!1,write:Y,final(B){Z(async()=>{try{await W,Z9.nextTick(B,null)}catch(F){Z9.nextTick(B,F)}})},destroy:q})}throw new tY("Iterable, AsyncIterable or AsyncFunction",J,H)}if(Dj(Q))return X(Q.arrayBuffer());if(nY(Q))return XZ(H6,Q,{objectMode:!0,writable:!1});if(rY(Q===null||Q===void 0?void 0:Q.readable)&&sY(Q===null||Q===void 0?void 0:Q.writable))return H6.fromWeb(Q);if(typeof(Q===null||Q===void 0?void 0:Q.writable)==="object"||typeof(Q===null||Q===void 0?void 0:Q.readable)==="object"){let H=Q!==null&&Q!==void 0&&Q.readable?iY(Q===null||Q===void 0?void 0:Q.readable)?Q===null||Q===void 0?void 0:Q.readable:X(Q.readable):void 0,Y=Q!==null&&Q!==void 0&&Q.writable?oY(Q===null||Q===void 0?void 0:Q.writable)?Q===null||Q===void 0?void 0:Q.writable:X(Q.writable):void 0;return b6({readable:H,writable:Y})}let K=Q===null||Q===void 0?void 0:Q.then;if(typeof K==="function"){let H;return JZ(K,Q,(Y)=>{if(Y!=null)H.push(Y);H.push(null)},(Y)=>{m6(H,Y)}),H=new H6({objectMode:!0,writable:!1,read(){}})}throw new jj(J,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],Q)};function _j(X){let{promise:Q,resolve:J}=eY(),K=new Tj,H=K.signal;return{value:X(async function*(){while(!0){let Z=Q;Q=null;let{chunk:q,done:V,cb:G}=await Z;if(Z9.nextTick(G),V)return;if(H.aborted)throw new KZ(void 0,{cause:H.reason});({promise:Q,resolve:J}=eY()),yield q}}(),{signal:H}),write(Z,q,V){let G=J;J=null,G({chunk:Z,done:!1,cb:V})},final(Z){let q=J;J=null,q({done:!0,cb:Z})},destroy(Z,q){K.abort(),q(Z)}}}function b6(X){let Q=X.readable&&typeof X.readable.read!=="function"?HZ.wrap(X.readable):X.readable,J=X.writable,K=!!Lj(Q),H=!!Ij(J),Y,Z,q,V,G;function W(B){let F=V;if(V=null,F)F(B);else if(B)G.destroy(B)}if(G=new H6({readableObjectMode:!!(Q!==null&&Q!==void 0&&Q.readableObjectMode),writableObjectMode:!!(J!==null&&J!==void 0&&J.writableObjectMode),readable:K,writable:H}),H)aY(J,(B)=>{if(H=!1,B)m6(Q,B);W(B)}),G._write=function(B,F,M){if(J.write(B,F))M();else Y=M},G._final=function(B){J.end(),Z=B},J.on("drain",function(){if(Y){let B=Y;Y=null,B()}}),J.on("finish",function(){if(Z){let B=Z;Z=null,B()}});if(K)aY(Q,(B)=>{if(K=!1,B)m6(Q,B);W(B)}),Q.on("readable",function(){if(q){let B=q;q=null,B()}}),Q.on("end",function(){G.push(null)}),G._read=function(){while(!0){let B=Q.read();if(B===null){q=G._read;return}if(!G.push(B))return}};return G._destroy=function(B,F){if(!B&&V!==null)B=new KZ;if(q=null,Y=null,Z=null,V===null)F(B);else V=F,m6(J,B),m6(Q,B)},G}});var F1=N((hx,UZ)=>{var{ObjectDefineProperties:Aj,ObjectGetOwnPropertyDescriptor:T1,ObjectKeys:Rj,ObjectSetPrototypeOf:qZ}=L0();UZ.exports=q1;var U9=y8(),X1=R7();qZ(q1.prototype,U9.prototype);qZ(q1,U9);{let X=Rj(X1.prototype);for(let Q=0;Q<X.length;Q++){let J=X[Q];if(!q1.prototype[J])q1.prototype[J]=X1.prototype[J]}}function q1(X){if(!(this instanceof q1))return new q1(X);if(U9.call(this,X),X1.call(this,X),X){if(this.allowHalfOpen=X.allowHalfOpen!==!1,X.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(X.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}Aj(q1.prototype,{writable:{__proto__:null,...T1(X1.prototype,"writable")},writableHighWaterMark:{__proto__:null,...T1(X1.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...T1(X1.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...T1(X1.prototype,"writableBuffer")},writableLength:{__proto__:null,...T1(X1.prototype,"writableLength")},writableFinished:{__proto__:null,...T1(X1.prototype,"writableFinished")},writableCorked:{__proto__:null,...T1(X1.prototype,"writableCorked")},writableEnded:{__proto__:null,...T1(X1.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...T1(X1.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set(X){if(this._readableState&&this._writableState)this._readableState.destroyed=X,this._writableState.destroyed=X}}});var q9;function VZ(){if(q9===void 0)q9={};return q9}q1.fromWeb=function(X,Q){return VZ().newStreamDuplexFromReadableWritablePair(X,Q)};q1.toWeb=function(X){return VZ().newReadableWritablePairFromDuplex(X)};var V9;q1.from=function(X){if(!V9)V9=ZZ();return V9(X,"body")}});var z9=N((gx,GZ)=>{var{ObjectSetPrototypeOf:WZ,Symbol:Ej}=L0();GZ.exports=_1;var{ERR_METHOD_NOT_IMPLEMENTED:Sj}=h0().codes,G9=F1(),{getHighWaterMark:xj}=S8();WZ(_1.prototype,G9.prototype);WZ(_1,G9);var f8=Ej("kCallback");function _1(X){if(!(this instanceof _1))return new _1(X);let Q=X?xj(this,X,"readableHighWaterMark",!0):null;if(Q===0)X={...X,highWaterMark:null,readableHighWaterMark:Q,writableHighWaterMark:X.writableHighWaterMark||0};if(G9.call(this,X),this._readableState.sync=!1,this[f8]=null,X){if(typeof X.transform==="function")this._transform=X.transform;if(typeof X.flush==="function")this._flush=X.flush}this.on("prefinish",vj)}function W9(X){if(typeof this._flush==="function"&&!this.destroyed)this._flush((Q,J)=>{if(Q){if(X)X(Q);else this.destroy(Q);return}if(J!=null)this.push(J);if(this.push(null),X)X()});else if(this.push(null),X)X()}function vj(){if(this._final!==W9)W9.call(this)}_1.prototype._final=W9;_1.prototype._transform=function(X,Q,J){throw new Sj("_transform()")};_1.prototype._write=function(X,Q,J){let K=this._readableState,H=this._writableState,Y=K.length;this._transform(X,Q,(Z,q)=>{if(Z){J(Z);return}if(q!=null)this.push(q);if(H.ended||Y===K.length||K.length<K.highWaterMark)J();else this[f8]=J})};_1.prototype._read=function(){if(this[f8]){let X=this[f8];this[f8]=null,X()}}});var $9=N((fx,BZ)=>{var{ObjectSetPrototypeOf:zZ}=L0();BZ.exports=d6;var B9=z9();zZ(d6.prototype,B9.prototype);zZ(d6,B9);function d6(X){if(!(this instanceof d6))return new d6(X);B9.call(this,X)}d6.prototype._transform=function(X,Q,J){J(null,X)}});var v7=N((ux,LZ)=>{var u8=k1(),{ArrayIsArray:yj,Promise:kj,SymbolAsyncIterator:hj,SymbolDispose:gj}=L0(),x7=D1(),{once:fj}=m0(),uj=X6(),$Z=F1(),{aggregateTwoErrors:bj,codes:{ERR_INVALID_ARG_TYPE:O9,ERR_INVALID_RETURN_VALUE:M9,ERR_MISSING_ARGS:mj,ERR_STREAM_DESTROYED:dj,ERR_STREAM_PREMATURE_CLOSE:cj},AbortError:pj}=h0(),{validateFunction:lj,validateAbortSignal:nj}=v6(),{isIterable:Y6,isReadable:F9,isReadableNodeStream:S7,isNodeStream:MZ,isTransformStream:c6,isWebStream:ij,isReadableStream:N9,isReadableFinished:oj}=B1(),rj=globalThis.AbortController||f("abort-controller").AbortController,L9,I9,C9;function FZ(X,Q,J){let K=!1;X.on("close",()=>{K=!0});let H=x7(X,{readable:Q,writable:J},(Y)=>{K=!Y});return{destroy:(Y)=>{if(K)return;K=!0,uj.destroyer(X,Y||new dj("pipe"))},cleanup:H}}function sj(X){return lj(X[X.length-1],"streams[stream.length - 1]"),X.pop()}function P9(X){if(Y6(X))return X;else if(S7(X))return aj(X);throw new O9("val",["Readable","Iterable","AsyncIterable"],X)}async function*aj(X){if(!I9)I9=y8();yield*I9.prototype[hj].call(X)}async function E7(X,Q,J,{end:K}){let H,Y=null,Z=(G)=>{if(G)H=G;if(Y){let W=Y;Y=null,W()}},q=()=>new kj((G,W)=>{if(H)W(H);else Y=()=>{if(H)W(H);else G()}});Q.on("drain",Z);let V=x7(Q,{readable:!1},Z);try{if(Q.writableNeedDrain)await q();for await(let G of X)if(!Q.write(G))await q();if(K)Q.end(),await q();J()}catch(G){J(H!==G?bj(H,G):G)}finally{V(),Q.off("drain",Z)}}async function j9(X,Q,J,{end:K}){if(c6(Q))Q=Q.writable;let H=Q.getWriter();try{for await(let Y of X)await H.ready,H.write(Y).catch(()=>{});if(await H.ready,K)await H.close();J()}catch(Y){try{await H.abort(Y),J(Y)}catch(Z){J(Z)}}}function tj(...X){return NZ(X,fj(sj(X)))}function NZ(X,Q,J){if(X.length===1&&yj(X[0]))X=X[0];if(X.length<2)throw new mj("streams");let K=new rj,H=K.signal,Y=J===null||J===void 0?void 0:J.signal,Z=[];nj(Y,"options.signal");function q(){C(new pj)}C9=C9||m0().addAbortListener;let V;if(Y)V=C9(Y,q);let G,W,B=[],F=0;function M(v){C(v,--F===0)}function C(v,h){var n;if(v&&(!G||G.code==="ERR_STREAM_PREMATURE_CLOSE"))G=v;if(!G&&!h)return;while(B.length)B.shift()(G);if((n=V)===null||n===void 0||n[gj](),K.abort(),h){if(!G)Z.forEach((k)=>k());u8.nextTick(Q,G,W)}}let j;for(let v=0;v<X.length;v++){let h=X[v],n=v<X.length-1,k=v>0,D=n||(J===null||J===void 0?void 0:J.end)!==!1,m=v===X.length-1;if(MZ(h)){let T=function(S){if(S&&S.name!=="AbortError"&&S.code!=="ERR_STREAM_PREMATURE_CLOSE")M(S)};var x=T;if(D){let{destroy:S,cleanup:y}=FZ(h,n,k);if(B.push(S),F9(h)&&m)Z.push(y)}if(h.on("error",T),F9(h)&&m)Z.push(()=>{h.removeListener("error",T)})}if(v===0)if(typeof h==="function"){if(j=h({signal:H}),!Y6(j))throw new M9("Iterable, AsyncIterable or Stream","source",j)}else if(Y6(h)||S7(h)||c6(h))j=h;else j=$Z.from(h);else if(typeof h==="function"){if(c6(j)){var P;j=P9((P=j)===null||P===void 0?void 0:P.readable)}else j=P9(j);if(j=h(j,{signal:H}),n){if(!Y6(j,!0))throw new M9("AsyncIterable",`transform[${v-1}]`,j)}else{var L;if(!L9)L9=$9();let T=new L9({objectMode:!0}),S=(L=j)===null||L===void 0?void 0:L.then;if(typeof S==="function")F++,S.call(j,(t)=>{if(W=t,t!=null)T.write(t);if(D)T.end();u8.nextTick(M)},(t)=>{T.destroy(t),u8.nextTick(M,t)});else if(Y6(j,!0))F++,E7(j,T,M,{end:D});else if(N9(j)||c6(j)){let t=j.readable||j;F++,E7(t,T,M,{end:D})}else throw new M9("AsyncIterable or Promise","destination",j);j=T;let{destroy:y,cleanup:l}=FZ(j,!1,!0);if(B.push(y),m)Z.push(l)}}else if(MZ(h)){if(S7(j)){F+=2;let T=ej(j,h,M,{end:D});if(F9(h)&&m)Z.push(T)}else if(c6(j)||N9(j)){let T=j.readable||j;F++,E7(T,h,M,{end:D})}else if(Y6(j))F++,E7(j,h,M,{end:D});else throw new O9("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],j);j=h}else if(ij(h)){if(S7(j))F++,j9(P9(j),h,M,{end:D});else if(N9(j)||Y6(j))F++,j9(j,h,M,{end:D});else if(c6(j))F++,j9(j.readable,h,M,{end:D});else throw new O9("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],j);j=h}else j=$Z.from(h)}if(H!==null&&H!==void 0&&H.aborted||Y!==null&&Y!==void 0&&Y.aborted)u8.nextTick(q);return j}function ej(X,Q,J,{end:K}){let H=!1;if(Q.on("close",()=>{if(!H)J(new cj)}),X.pipe(Q,{end:!1}),K){let Z=function(){H=!0,Q.end()};var Y=Z;if(oj(X))u8.nextTick(Z);else X.once("end",Z)}else J();return x7(X,{readable:!0,writable:!1},(Z)=>{let q=X._readableState;if(Z&&Z.code==="ERR_STREAM_PREMATURE_CLOSE"&&q&&q.ended&&!q.errored&&!q.errorEmitted)X.once("end",J).once("error",J);else J(Z)}),x7(Q,{readable:!1,writable:!0},J)}LZ.exports={pipelineImpl:NZ,pipeline:tj}});var D9=N((bx,wZ)=>{var{pipeline:XO}=v7(),y7=F1(),{destroyer:QO}=X6(),{isNodeStream:k7,isReadable:IZ,isWritable:CZ,isWebStream:w9,isTransformStream:Z6,isWritableStream:PZ,isReadableStream:jZ}=B1(),{AbortError:JO,codes:{ERR_INVALID_ARG_VALUE:OZ,ERR_MISSING_ARGS:KO}}=h0(),HO=D1();wZ.exports=function(...Q){if(Q.length===0)throw new KO("streams");if(Q.length===1)return y7.from(Q[0]);let J=[...Q];if(typeof Q[0]==="function")Q[0]=y7.from(Q[0]);if(typeof Q[Q.length-1]==="function"){let M=Q.length-1;Q[M]=y7.from(Q[M])}for(let M=0;M<Q.length;++M){if(!k7(Q[M])&&!w9(Q[M]))continue;if(M<Q.length-1&&!(IZ(Q[M])||jZ(Q[M])||Z6(Q[M])))throw new OZ(`streams[${M}]`,J[M],"must be readable");if(M>0&&!(CZ(Q[M])||PZ(Q[M])||Z6(Q[M])))throw new OZ(`streams[${M}]`,J[M],"must be writable")}let K,H,Y,Z,q;function V(M){let C=Z;if(Z=null,C)C(M);else if(M)q.destroy(M);else if(!F&&!B)q.destroy()}let G=Q[0],W=XO(Q,V),B=!!(CZ(G)||PZ(G)||Z6(G)),F=!!(IZ(W)||jZ(W)||Z6(W));if(q=new y7({writableObjectMode:!!(G!==null&&G!==void 0&&G.writableObjectMode),readableObjectMode:!!(W!==null&&W!==void 0&&W.readableObjectMode),writable:B,readable:F}),B){if(k7(G))q._write=function(C,j,P){if(G.write(C,j))P();else K=P},q._final=function(C){G.end(),H=C},G.on("drain",function(){if(K){let C=K;K=null,C()}});else if(w9(G)){let j=(Z6(G)?G.writable:G).getWriter();q._write=async function(P,L,x){try{await j.ready,j.write(P).catch(()=>{}),x()}catch(v){x(v)}},q._final=async function(P){try{await j.ready,j.close().catch(()=>{}),H=P}catch(L){P(L)}}}let M=Z6(W)?W.readable:W;HO(M,()=>{if(H){let C=H;H=null,C()}})}if(F){if(k7(W))W.on("readable",function(){if(Y){let M=Y;Y=null,M()}}),W.on("end",function(){q.push(null)}),q._read=function(){while(!0){let M=W.read();if(M===null){Y=q._read;return}if(!q.push(M))return}};else if(w9(W)){let C=(Z6(W)?W.readable:W).getReader();q._read=async function(){while(!0)try{let{value:j,done:P}=await C.read();if(!q.push(j))return;if(P){q.push(null);return}}catch{return}}}}return q._destroy=function(M,C){if(!M&&Z!==null)M=new JO;if(Y=null,K=null,H=null,Z===null)C(M);else if(Z=C,k7(W))QO(W,M)},q}});var kZ=N((xO,_9)=>{var YO=globalThis.AbortController||f("abort-controller").AbortController,{codes:{ERR_INVALID_ARG_VALUE:ZO,ERR_INVALID_ARG_TYPE:b8,ERR_MISSING_ARGS:qO,ERR_OUT_OF_RANGE:VO},AbortError:N1}=h0(),{validateAbortSignal:q6,validateInteger:DZ,validateObject:V6}=v6(),UO=L0().Symbol("kWeak"),WO=L0().Symbol("kResistStopPropagation"),{finished:GO}=D1(),zO=D9(),{addAbortSignalNoValidate:BO}=E8(),{isWritable:$O,isNodeStream:MO}=B1(),{deprecate:FO}=m0(),{ArrayPrototypePush:NO,Boolean:LO,MathFloor:TZ,Number:IO,NumberIsNaN:CO,Promise:_Z,PromiseReject:AZ,PromiseResolve:PO,PromisePrototypeThen:RZ,Symbol:SZ}=L0(),h7=SZ("kEmpty"),EZ=SZ("kEof");function jO(X,Q){if(Q!=null)V6(Q,"options");if((Q===null||Q===void 0?void 0:Q.signal)!=null)q6(Q.signal,"options.signal");if(MO(X)&&!$O(X))throw new ZO("stream",X,"must be writable");let J=zO(this,X);if(Q!==null&&Q!==void 0&&Q.signal)BO(Q.signal,J);return J}function g7(X,Q){if(typeof X!=="function")throw new b8("fn",["Function","AsyncFunction"],X);if(Q!=null)V6(Q,"options");if((Q===null||Q===void 0?void 0:Q.signal)!=null)q6(Q.signal,"options.signal");let J=1;if((Q===null||Q===void 0?void 0:Q.concurrency)!=null)J=TZ(Q.concurrency);let K=J-1;if((Q===null||Q===void 0?void 0:Q.highWaterMark)!=null)K=TZ(Q.highWaterMark);return DZ(J,"options.concurrency",1),DZ(K,"options.highWaterMark",0),K+=J,async function*(){let Y=m0().AbortSignalAny([Q===null||Q===void 0?void 0:Q.signal].filter(LO)),Z=this,q=[],V={signal:Y},G,W,B=!1,F=0;function M(){B=!0,C()}function C(){F-=1,j()}function j(){if(W&&!B&&F<J&&q.length<K)W(),W=null}async function P(){try{for await(let L of Z){if(B)return;if(Y.aborted)throw new N1;try{if(L=X(L,V),L===h7)continue;L=PO(L)}catch(x){L=AZ(x)}if(F+=1,RZ(L,C,M),q.push(L),G)G(),G=null;if(!B&&(q.length>=K||F>=J))await new _Z((x)=>{W=x})}q.push(EZ)}catch(L){let x=AZ(L);RZ(x,C,M),q.push(x)}finally{if(B=!0,G)G(),G=null}}P();try{while(!0){while(q.length>0){let L=await q[0];if(L===EZ)return;if(Y.aborted)throw new N1;if(L!==h7)yield L;q.shift(),j()}await new _Z((L)=>{G=L})}}finally{if(B=!0,W)W(),W=null}}.call(this)}function OO(X=void 0){if(X!=null)V6(X,"options");if((X===null||X===void 0?void 0:X.signal)!=null)q6(X.signal,"options.signal");return async function*(){let J=0;for await(let H of this){var K;if(X!==null&&X!==void 0&&(K=X.signal)!==null&&K!==void 0&&K.aborted)throw new N1({cause:X.signal.reason});yield[J++,H]}}.call(this)}async function xZ(X,Q=void 0){for await(let J of T9.call(this,X,Q))return!0;return!1}async function wO(X,Q=void 0){if(typeof X!=="function")throw new b8("fn",["Function","AsyncFunction"],X);return!await xZ.call(this,async(...J)=>{return!await X(...J)},Q)}async function DO(X,Q){for await(let J of T9.call(this,X,Q))return J;return}async function TO(X,Q){if(typeof X!=="function")throw new b8("fn",["Function","AsyncFunction"],X);async function J(K,H){return await X(K,H),h7}for await(let K of g7.call(this,J,Q));}function T9(X,Q){if(typeof X!=="function")throw new b8("fn",["Function","AsyncFunction"],X);async function J(K,H){if(await X(K,H))return K;return h7}return g7.call(this,J,Q)}class vZ extends qO{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function _O(X,Q,J){var K;if(typeof X!=="function")throw new b8("reducer",["Function","AsyncFunction"],X);if(J!=null)V6(J,"options");if((J===null||J===void 0?void 0:J.signal)!=null)q6(J.signal,"options.signal");let H=arguments.length>1;if(J!==null&&J!==void 0&&(K=J.signal)!==null&&K!==void 0&&K.aborted){let G=new N1(void 0,{cause:J.signal.reason});throw this.once("error",()=>{}),await GO(this.destroy(G)),G}let Y=new YO,Z=Y.signal;if(J!==null&&J!==void 0&&J.signal){let G={once:!0,[UO]:this,[WO]:!0};J.signal.addEventListener("abort",()=>Y.abort(),G)}let q=!1;try{for await(let G of this){var V;if(q=!0,J!==null&&J!==void 0&&(V=J.signal)!==null&&V!==void 0&&V.aborted)throw new N1;if(!H)Q=G,H=!0;else Q=await X(Q,G,{signal:Z})}if(!q&&!H)throw new vZ}finally{Y.abort()}return Q}async function AO(X){if(X!=null)V6(X,"options");if((X===null||X===void 0?void 0:X.signal)!=null)q6(X.signal,"options.signal");let Q=[];for await(let K of this){var J;if(X!==null&&X!==void 0&&(J=X.signal)!==null&&J!==void 0&&J.aborted)throw new N1(void 0,{cause:X.signal.reason});NO(Q,K)}return Q}function RO(X,Q){let J=g7.call(this,X,Q);return async function*(){for await(let H of J)yield*H}.call(this)}function yZ(X){if(X=IO(X),CO(X))return 0;if(X<0)throw new VO("number",">= 0",X);return X}function EO(X,Q=void 0){if(Q!=null)V6(Q,"options");if((Q===null||Q===void 0?void 0:Q.signal)!=null)q6(Q.signal,"options.signal");return X=yZ(X),async function*(){var K;if(Q!==null&&Q!==void 0&&(K=Q.signal)!==null&&K!==void 0&&K.aborted)throw new N1;for await(let Y of this){var H;if(Q!==null&&Q!==void 0&&(H=Q.signal)!==null&&H!==void 0&&H.aborted)throw new N1;if(X--<=0)yield Y}}.call(this)}function SO(X,Q=void 0){if(Q!=null)V6(Q,"options");if((Q===null||Q===void 0?void 0:Q.signal)!=null)q6(Q.signal,"options.signal");return X=yZ(X),async function*(){var K;if(Q!==null&&Q!==void 0&&(K=Q.signal)!==null&&K!==void 0&&K.aborted)throw new N1;for await(let Y of this){var H;if(Q!==null&&Q!==void 0&&(H=Q.signal)!==null&&H!==void 0&&H.aborted)throw new N1;if(X-- >0)yield Y;if(X<=0)return}}.call(this)}xO.streamReturningOperators={asIndexedPairs:FO(OO,"readable.asIndexedPairs will be removed in a future version."),drop:EO,filter:T9,flatMap:RO,map:g7,take:SO,compose:jO};xO.promiseReturningOperators={every:wO,forEach:TO,reduce:_O,toArray:AO,some:xZ,find:DO}});var A9=N((mx,hZ)=>{var{ArrayPrototypePop:kO,Promise:hO}=L0(),{isIterable:gO,isNodeStream:fO,isWebStream:uO}=B1(),{pipelineImpl:bO}=v7(),{finished:mO}=D1();R9();function dO(...X){return new hO((Q,J)=>{let K,H,Y=X[X.length-1];if(Y&&typeof Y==="object"&&!fO(Y)&&!gO(Y)&&!uO(Y)){let Z=kO(X);K=Z.signal,H=Z.end}bO(X,(Z,q)=>{if(Z)J(Z);else Q(q)},{signal:K,end:H})})}hZ.exports={finished:mO,pipeline:dO}});var R9=N((dx,lZ)=>{var{Buffer:cO}=f("buffer"),{ObjectDefineProperty:A1,ObjectKeys:uZ,ReflectApply:bZ}=L0(),{promisify:{custom:mZ}}=m0(),{streamReturningOperators:gZ,promiseReturningOperators:fZ}=kZ(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:dZ}}=h0(),pO=D9(),{setDefaultHighWaterMark:lO,getDefaultHighWaterMark:nO}=S8(),{pipeline:cZ}=v7(),{destroyer:iO}=X6(),pZ=D1(),E9=A9(),m8=B1(),F0=lZ.exports=F7().Stream;F0.isDestroyed=m8.isDestroyed;F0.isDisturbed=m8.isDisturbed;F0.isErrored=m8.isErrored;F0.isReadable=m8.isReadable;F0.isWritable=m8.isWritable;F0.Readable=y8();for(let X of uZ(gZ)){let J=function(...K){if(new.target)throw dZ();return F0.Readable.from(bZ(Q,this,K))},Q=gZ[X];A1(J,"name",{__proto__:null,value:Q.name}),A1(J,"length",{__proto__:null,value:Q.length}),A1(F0.Readable.prototype,X,{__proto__:null,value:J,enumerable:!1,configurable:!0,writable:!0})}for(let X of uZ(fZ)){let J=function(...K){if(new.target)throw dZ();return bZ(Q,this,K)},Q=fZ[X];A1(J,"name",{__proto__:null,value:Q.name}),A1(J,"length",{__proto__:null,value:Q.length}),A1(F0.Readable.prototype,X,{__proto__:null,value:J,enumerable:!1,configurable:!0,writable:!0})}F0.Writable=R7();F0.Duplex=F1();F0.Transform=z9();F0.PassThrough=$9();F0.pipeline=cZ;var{addAbortSignal:oO}=E8();F0.addAbortSignal=oO;F0.finished=pZ;F0.destroy=iO;F0.compose=pO;F0.setDefaultHighWaterMark=lO;F0.getDefaultHighWaterMark=nO;A1(F0,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return E9}});A1(cZ,mZ,{__proto__:null,enumerable:!0,get(){return E9.pipeline}});A1(pZ,mZ,{__proto__:null,enumerable:!0,get(){return E9.finished}});F0.Stream=F0;F0._isUint8Array=function(Q){return Q instanceof Uint8Array};F0._uint8ArrayToBuffer=function(Q){return cO.from(Q.buffer,Q.byteOffset,Q.byteLength)}});var U6=N((cx,s)=>{var T0=f("stream");if(T0&&process.env.READABLE_STREAM==="disable"){let X=T0.promises;s.exports._uint8ArrayToBuffer=T0._uint8ArrayToBuffer,s.exports._isUint8Array=T0._isUint8Array,s.exports.isDisturbed=T0.isDisturbed,s.exports.isErrored=T0.isErrored,s.exports.isReadable=T0.isReadable,s.exports.Readable=T0.Readable,s.exports.Writable=T0.Writable,s.exports.Duplex=T0.Duplex,s.exports.Transform=T0.Transform,s.exports.PassThrough=T0.PassThrough,s.exports.addAbortSignal=T0.addAbortSignal,s.exports.finished=T0.finished,s.exports.destroy=T0.destroy,s.exports.pipeline=T0.pipeline,s.exports.compose=T0.compose,Object.defineProperty(T0,"promises",{configurable:!0,enumerable:!0,get(){return X}}),s.exports.Stream=T0.Stream}else{let X=R9(),Q=A9(),J=X.Readable.destroy;s.exports=X.Readable,s.exports._uint8ArrayToBuffer=X._uint8ArrayToBuffer,s.exports._isUint8Array=X._isUint8Array,s.exports.isDisturbed=X.isDisturbed,s.exports.isErrored=X.isErrored,s.exports.isReadable=X.isReadable,s.exports.Readable=X.Readable,s.exports.Writable=X.Writable,s.exports.Duplex=X.Duplex,s.exports.Transform=X.Transform,s.exports.PassThrough=X.PassThrough,s.exports.addAbortSignal=X.addAbortSignal,s.exports.finished=X.finished,s.exports.destroy=X.destroy,s.exports.destroy=J,s.exports.pipeline=X.pipeline,s.exports.compose=X.compose,Object.defineProperty(X,"promises",{configurable:!0,enumerable:!0,get(){return Q}}),s.exports.Stream=X.Stream}s.exports.default=s.exports});var iZ=N((Zv,nZ)=>{function rO(X,Q){var J=-1,K=Q.length,H=X.length;while(++J<K)X[H+J]=Q[J];return X}nZ.exports=rO});var aZ=N((qv,sZ)=>{var oZ=J7(),sO=L5(),aO=I5(),rZ=oZ?oZ.isConcatSpreadable:void 0;function tO(X){return aO(X)||sO(X)||!!(rZ&&X&&X[rZ])}sZ.exports=tO});var f7=N((Vv,eZ)=>{var eO=iZ(),Xw=aZ();function tZ(X,Q,J,K,H){var Y=-1,Z=X.length;J||(J=Xw),H||(H=[]);while(++Y<Z){var q=X[Y];if(Q>0&&J(q))if(Q>1)tZ(q,Q-1,J,K,H);else eO(H,q);else if(!K)H[H.length]=q}return H}eZ.exports=tZ});var Qq=N((Uv,Xq)=>{var Qw=f7();function Jw(X){var Q=X==null?0:X.length;return Q?Qw(X,1):[]}Xq.exports=Jw});var d8=N((Wv,Jq)=>{var Kw=A8(),Hw=Kw(Object,"create");Jq.exports=Hw});var Yq=N((Gv,Hq)=>{var Kq=d8();function Yw(){this.__data__=Kq?Kq(null):{},this.size=0}Hq.exports=Yw});var qq=N((zv,Zq)=>{function Zw(X){var Q=this.has(X)&&delete this.__data__[X];return this.size-=Q?1:0,Q}Zq.exports=Zw});var Uq=N((Bv,Vq)=>{var qw=d8(),Vw="__lodash_hash_undefined__",Uw=Object.prototype,Ww=Uw.hasOwnProperty;function Gw(X){var Q=this.__data__;if(qw){var J=Q[X];return J===Vw?void 0:J}return Ww.call(Q,X)?Q[X]:void 0}Vq.exports=Gw});var Gq=N(($v,Wq)=>{var zw=d8(),Bw=Object.prototype,$w=Bw.hasOwnProperty;function Mw(X){var Q=this.__data__;return zw?Q[X]!==void 0:$w.call(Q,X)}Wq.exports=Mw});var Bq=N((Mv,zq)=>{var Fw=d8(),Nw="__lodash_hash_undefined__";function Lw(X,Q){var J=this.__data__;return this.size+=this.has(X)?0:1,J[X]=Fw&&Q===void 0?Nw:Q,this}zq.exports=Lw});var Mq=N((Fv,$q)=>{var Iw=Yq(),Cw=qq(),Pw=Uq(),jw=Gq(),Ow=Bq();function p6(X){var Q=-1,J=X==null?0:X.length;this.clear();while(++Q<J){var K=X[Q];this.set(K[0],K[1])}}p6.prototype.clear=Iw;p6.prototype.delete=Cw;p6.prototype.get=Pw;p6.prototype.has=jw;p6.prototype.set=Ow;$q.exports=p6});var Nq=N((Nv,Fq)=>{function ww(){this.__data__=[],this.size=0}Fq.exports=ww});var c8=N((Lv,Lq)=>{var Dw=H7();function Tw(X,Q){var J=X.length;while(J--)if(Dw(X[J][0],Q))return J;return-1}Lq.exports=Tw});var Cq=N((Iv,Iq)=>{var _w=c8(),Aw=Array.prototype,Rw=Aw.splice;function Ew(X){var Q=this.__data__,J=_w(Q,X);if(J<0)return!1;var K=Q.length-1;if(J==K)Q.pop();else Rw.call(Q,J,1);return--this.size,!0}Iq.exports=Ew});var jq=N((Cv,Pq)=>{var Sw=c8();function xw(X){var Q=this.__data__,J=Sw(Q,X);return J<0?void 0:Q[J][1]}Pq.exports=xw});var wq=N((Pv,Oq)=>{var vw=c8();function yw(X){return vw(this.__data__,X)>-1}Oq.exports=yw});var Tq=N((jv,Dq)=>{var kw=c8();function hw(X,Q){var J=this.__data__,K=kw(J,X);if(K<0)++this.size,J.push([X,Q]);else J[K][1]=Q;return this}Dq.exports=hw});var Aq=N((Ov,_q)=>{var gw=Nq(),fw=Cq(),uw=jq(),bw=wq(),mw=Tq();function l6(X){var Q=-1,J=X==null?0:X.length;this.clear();while(++Q<J){var K=X[Q];this.set(K[0],K[1])}}l6.prototype.clear=gw;l6.prototype.delete=fw;l6.prototype.get=uw;l6.prototype.has=bw;l6.prototype.set=mw;_q.exports=l6});var Eq=N((wv,Rq)=>{var dw=A8(),cw=A6(),pw=dw(cw,"Map");Rq.exports=pw});var vq=N((Dv,xq)=>{var Sq=Mq(),lw=Aq(),nw=Eq();function iw(){this.size=0,this.__data__={hash:new Sq,map:new(nw||lw),string:new Sq}}xq.exports=iw});var kq=N((Tv,yq)=>{function ow(X){var Q=typeof X;return Q=="string"||Q=="number"||Q=="symbol"||Q=="boolean"?X!=="__proto__":X===null}yq.exports=ow});var p8=N((_v,hq)=>{var rw=kq();function sw(X,Q){var J=X.__data__;return rw(Q)?J[typeof Q=="string"?"string":"hash"]:J.map}hq.exports=sw});var fq=N((Av,gq)=>{var aw=p8();function tw(X){var Q=aw(this,X).delete(X);return this.size-=Q?1:0,Q}gq.exports=tw});var bq=N((Rv,uq)=>{var ew=p8();function XD(X){return ew(this,X).get(X)}uq.exports=XD});var dq=N((Ev,mq)=>{var QD=p8();function JD(X){return QD(this,X).has(X)}mq.exports=JD});var pq=N((Sv,cq)=>{var KD=p8();function HD(X,Q){var J=KD(this,X),K=J.size;return J.set(X,Q),this.size+=J.size==K?0:1,this}cq.exports=HD});var nq=N((xv,lq)=>{var YD=vq(),ZD=fq(),qD=bq(),VD=dq(),UD=pq();function n6(X){var Q=-1,J=X==null?0:X.length;this.clear();while(++Q<J){var K=X[Q];this.set(K[0],K[1])}}n6.prototype.clear=YD;n6.prototype.delete=ZD;n6.prototype.get=qD;n6.prototype.has=VD;n6.prototype.set=UD;lq.exports=n6});var oq=N((vv,iq)=>{var WD="__lodash_hash_undefined__";function GD(X){return this.__data__.set(X,WD),this}iq.exports=GD});var sq=N((yv,rq)=>{function zD(X){return this.__data__.has(X)}rq.exports=zD});var S9=N((kv,aq)=>{var BD=nq(),$D=oq(),MD=sq();function u7(X){var Q=-1,J=X==null?0:X.length;this.__data__=new BD;while(++Q<J)this.add(X[Q])}u7.prototype.add=u7.prototype.push=$D;u7.prototype.has=MD;aq.exports=u7});var eq=N((hv,tq)=>{function FD(X,Q,J,K){var H=X.length,Y=J+(K?1:-1);while(K?Y--:++Y<H)if(Q(X[Y],Y,X))return Y;return-1}tq.exports=FD});var QV=N((gv,XV)=>{function ND(X){return X!==X}XV.exports=ND});var KV=N((fv,JV)=>{function LD(X,Q,J){var K=J-1,H=X.length;while(++K<H)if(X[K]===Q)return K;return-1}JV.exports=LD});var YV=N((uv,HV)=>{var ID=eq(),CD=QV(),PD=KV();function jD(X,Q,J){return Q===Q?PD(X,Q,J):ID(X,CD,J)}HV.exports=jD});var x9=N((bv,ZV)=>{var OD=YV();function wD(X,Q){var J=X==null?0:X.length;return!!J&&OD(X,Q,0)>-1}ZV.exports=wD});var v9=N((mv,qV)=>{function DD(X,Q,J){var K=-1,H=X==null?0:X.length;while(++K<H)if(J(Q,X[K]))return!0;return!1}qV.exports=DD});var UV=N((dv,VV)=>{function TD(X,Q){var J=-1,K=X==null?0:X.length,H=Array(K);while(++J<K)H[J]=Q(X[J],J,X);return H}VV.exports=TD});var y9=N((cv,WV)=>{function _D(X,Q){return X.has(Q)}WV.exports=_D});var zV=N((pv,GV)=>{var AD=S9(),RD=x9(),ED=v9(),SD=UV(),xD=C5(),vD=y9(),yD=200;function kD(X,Q,J,K){var H=-1,Y=RD,Z=!0,q=X.length,V=[],G=Q.length;if(!q)return V;if(J)Q=SD(Q,xD(J));if(K)Y=ED,Z=!1;else if(Q.length>=yD)Y=vD,Z=!1,Q=new AD(Q);X:while(++H<q){var W=X[H],B=J==null?W:J(W);if(W=K||W!==0?W:0,Z&&B===B){var F=G;while(F--)if(Q[F]===B)continue X;V.push(W)}else if(!Y(Q,B,K))V.push(W)}return V}GV.exports=kD});var k9=N((lv,BV)=>{var hD=Y7(),gD=R6();function fD(X){return gD(X)&&hD(X)}BV.exports=fD});var FV=N((nv,MV)=>{var uD=zV(),bD=f7(),mD=K7(),$V=k9(),dD=mD(function(X,Q){return $V(X)?uD(X,bD(Q,1,$V,!0)):[]});MV.exports=dD});var LV=N((iv,NV)=>{var cD=A8(),pD=A6(),lD=cD(pD,"Set");NV.exports=lD});var CV=N((ov,IV)=>{function nD(){}IV.exports=nD});var h9=N((rv,PV)=>{function iD(X){var Q=-1,J=Array(X.size);return X.forEach(function(K){J[++Q]=K}),J}PV.exports=iD});var OV=N((sv,jV)=>{var g9=LV(),oD=CV(),rD=h9(),sD=1/0,aD=!(g9&&1/rD(new g9([,-0]))[1]==sD)?oD:function(X){return new g9(X)};jV.exports=aD});var DV=N((av,wV)=>{var tD=S9(),eD=x9(),XT=v9(),QT=y9(),JT=OV(),KT=h9(),HT=200;function YT(X,Q,J){var K=-1,H=eD,Y=X.length,Z=!0,q=[],V=q;if(J)Z=!1,H=XT;else if(Y>=HT){var G=Q?null:JT(X);if(G)return KT(G);Z=!1,H=QT,V=new tD}else V=Q?[]:q;X:while(++K<Y){var W=X[K],B=Q?Q(W):W;if(W=J||W!==0?W:0,Z&&B===B){var F=V.length;while(F--)if(V[F]===B)continue X;if(Q)V.push(B);q.push(W)}else if(!H(V,B,J)){if(V!==q)V.push(B);q.push(W)}}return q}wV.exports=YT});var _V=N((tv,TV)=>{var ZT=f7(),qT=K7(),VT=DV(),UT=k9(),WT=qT(function(X){return VT(ZT(X,1,UT,!0))});TV.exports=WT});var RV=N((ev,AV)=>{function GT(X,Q){return function(J){return X(Q(J))}}AV.exports=GT});var SV=N((Xy,EV)=>{var zT=RV(),BT=zT(Object.getPrototypeOf,Object);EV.exports=BT});var yV=N((Qy,vV)=>{var $T=T8(),MT=SV(),FT=R6(),NT="[object Object]",LT=Function.prototype,IT=Object.prototype,xV=LT.toString,CT=IT.hasOwnProperty,PT=xV.call(Object);function jT(X){if(!FT(X)||$T(X)!=NT)return!1;var Q=MT(X);if(Q===null)return!0;var J=CT.call(Q,"constructor")&&Q.constructor;return typeof J=="function"&&J instanceof J&&xV.call(J)==PT}vV.exports=jT});var dV=N((Jy,mV)=>{var kV=R4();mV.exports=DT;var hV="\x00SLASH"+Math.random()+"\x00",gV="\x00OPEN"+Math.random()+"\x00",u9="\x00CLOSE"+Math.random()+"\x00",fV="\x00COMMA"+Math.random()+"\x00",uV="\x00PERIOD"+Math.random()+"\x00";function f9(X){return parseInt(X,10)==X?parseInt(X,10):X.charCodeAt(0)}function OT(X){return X.split("\\\\").join(hV).split("\\{").join(gV).split("\\}").join(u9).split("\\,").join(fV).split("\\.").join(uV)}function wT(X){return X.split(hV).join("\\").split(gV).join("{").split(u9).join("}").split(fV).join(",").split(uV).join(".")}function bV(X){if(!X)return[""];var Q=[],J=kV("{","}",X);if(!J)return X.split(",");var{pre:K,body:H,post:Y}=J,Z=K.split(",");Z[Z.length-1]+="{"+H+"}";var q=bV(Y);if(Y.length)Z[Z.length-1]+=q.shift(),Z.push.apply(Z,q);return Q.push.apply(Q,Z),Q}function DT(X,Q){if(!X)return[];Q=Q||{};var J=Q.max==null?1/0:Q.max;if(X.substr(0,2)==="{}")X="\\{\\}"+X.substr(2);return l8(OT(X),J,!0).map(wT)}function TT(X){return"{"+X+"}"}function _T(X){return/^-?0\d/.test(X)}function AT(X,Q){return X<=Q}function RT(X,Q){return X>=Q}function l8(X,Q,J){var K=[],H=kV("{","}",X);if(!H)return[X];var Y=H.pre,Z=H.post.length?l8(H.post,Q,!1):[""];if(/\$$/.test(H.pre))for(var q=0;q<Z.length&&q<Q;q++){var V=Y+"{"+H.body+"}"+Z[q];K.push(V)}else{var G=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(H.body),W=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(H.body),B=G||W,F=H.body.indexOf(",")>=0;if(!B&&!F){if(H.post.match(/,(?!,).*\}/))return X=H.pre+"{"+H.body+u9+H.post,l8(X,Q,!0);return[X]}var M;if(B)M=H.body.split(/\.\./);else if(M=bV(H.body),M.length===1){if(M=l8(M[0],Q,!1).map(TT),M.length===1)return Z.map(function(y){return H.pre+M[0]+y})}var C;if(B){var j=f9(M[0]),P=f9(M[1]),L=Math.max(M[0].length,M[1].length),x=M.length==3?Math.max(Math.abs(f9(M[2])),1):1,v=AT,h=P<j;if(h)x*=-1,v=RT;var n=M.some(_T);C=[];for(var k=j;v(k,P);k+=x){var D;if(W){if(D=String.fromCharCode(k),D==="\\")D=""}else if(D=String(k),n){var m=L-D.length;if(m>0){var T=Array(m+1).join("0");if(k<0)D="-"+T+D.slice(1);else D=T+D}}C.push(D)}}else{C=[];for(var S=0;S<M.length;S++)C.push.apply(C,l8(M[S],Q,!1))}for(var S=0;S<C.length;S++)for(var q=0;q<Z.length&&K.length<Q;q++){var V=Y+C[S]+Z[q];if(!J||B||V)K.push(V)}}return K}});var lV=N((cV)=>{Object.defineProperty(cV,"__esModule",{value:!0});cV.assertValidPattern=void 0;var ET=65536,ST=(X)=>{if(typeof X!=="string")throw TypeError("invalid pattern");if(X.length>ET)throw TypeError("pattern is too long")};cV.assertValidPattern=ST});var rV=N((iV)=>{Object.defineProperty(iV,"__esModule",{value:!0});iV.parseClass=void 0;var xT={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},n8=(X)=>X.replace(/[[\]\\-]/g,"\\$&"),vT=(X)=>X.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),nV=(X)=>X.join(""),yT=(X,Q)=>{let J=Q;if(X.charAt(J)!=="[")throw Error("not in a brace expression");let K=[],H=[],Y=J+1,Z=!1,q=!1,V=!1,G=!1,W=J,B="";X:while(Y<X.length){let j=X.charAt(Y);if((j==="!"||j==="^")&&Y===J+1){G=!0,Y++;continue}if(j==="]"&&Z&&!V){W=Y+1;break}if(Z=!0,j==="\\"){if(!V){V=!0,Y++;continue}}if(j==="["&&!V){for(let[P,[L,x,v]]of Object.entries(xT))if(X.startsWith(P,Y)){if(B)return["$.",!1,X.length-J,!0];if(Y+=P.length,v)H.push(L);else K.push(L);q=q||x;continue X}}if(V=!1,B){if(j>B)K.push(n8(B)+"-"+n8(j));else if(j===B)K.push(n8(j));B="",Y++;continue}if(X.startsWith("-]",Y+1)){K.push(n8(j+"-")),Y+=2;continue}if(X.startsWith("-",Y+1)){B=j,Y+=2;continue}K.push(n8(j)),Y++}if(W<Y)return["",!1,0,!1];if(!K.length&&!H.length)return["$.",!1,X.length-J,!0];if(H.length===0&&K.length===1&&/^\\?.$/.test(K[0])&&!G){let j=K[0].length===2?K[0].slice(-1):K[0];return[vT(j),!1,W-J,!1]}let F="["+(G?"^":"")+nV(K)+"]",M="["+(G?"":"^")+nV(H)+"]";return[K.length&&H.length?"("+F+"|"+M+")":K.length?F:M,q,W-J,!0]};iV.parseClass=yT});var b7=N((sV)=>{Object.defineProperty(sV,"__esModule",{value:!0});sV.unescape=void 0;var kT=(X,{windowsPathsNoEscape:Q=!1}={})=>{return Q?X.replace(/\[([^\/\\])\]/g,"$1"):X.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")};sV.unescape=kT});var c9=N((JU)=>{var n0;Object.defineProperty(JU,"__esModule",{value:!0});JU.AST=void 0;var hT=rV(),m7=b7(),gT=new Set(["!","?","+","*","@"]),b9=(X)=>gT.has(X),tV=(X)=>b9(X.type),fT=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),uT=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),bT=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),eV=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),mT="(?!(?:^|/)\\.\\.?(?:$|/))",d7="(?!\\.)",dT=new Set(["[","."]),cT=new Set(["..","."]),pT=new Set("().*{}+?[]^$\\!"),lT=(X)=>X.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),m9="[^/]",XU=m9+"*?",QU=m9+"+?";class d9{type;#X;#J;#H=!1;#Q=[];#Z;#P;#U;#G=!1;#V;#q;#Y=!1;constructor(X,Q,J={}){if(this.type=X,X)this.#J=!0;if(this.#Z=Q,this.#X=this.#Z?this.#Z.#X:this,this.#V=this.#X===this?J:this.#X.#V,this.#U=this.#X===this?[]:this.#X.#U,X==="!"&&!this.#X.#G)this.#U.push(this);this.#P=this.#Z?this.#Z.#Q.length:0}get hasMagic(){if(this.#J!==void 0)return this.#J;for(let X of this.#Q){if(typeof X==="string")continue;if(X.type||X.hasMagic)return this.#J=!0}return this.#J}toString(){if(this.#q!==void 0)return this.#q;if(!this.type)return this.#q=this.#Q.map((X)=>String(X)).join("");else return this.#q=this.type+"("+this.#Q.map((X)=>String(X)).join("|")+")"}#N(){if(this!==this.#X)throw Error("should only call on root");if(this.#G)return this;this.toString(),this.#G=!0;let X;while(X=this.#U.pop()){if(X.type!=="!")continue;let Q=X,J=Q.#Z;while(J){for(let K=Q.#P+1;!J.type&&K<J.#Q.length;K++)for(let H of X.#Q){if(typeof H==="string")throw Error("string part in extglob AST??");H.copyIn(J.#Q[K])}Q=J,J=Q.#Z}}return this}push(...X){for(let Q of X){if(Q==="")continue;if(typeof Q!=="string"&&!(Q instanceof n0&&Q.#Z===this))throw Error("invalid part: "+Q);this.#Q.push(Q)}}toJSON(){let X=this.type===null?this.#Q.slice().map((Q)=>typeof Q==="string"?Q:Q.toJSON()):[this.type,...this.#Q.map((Q)=>Q.toJSON())];if(this.isStart()&&!this.type)X.unshift([]);if(this.isEnd()&&(this===this.#X||this.#X.#G&&this.#Z?.type==="!"))X.push({});return X}isStart(){if(this.#X===this)return!0;if(!this.#Z?.isStart())return!1;if(this.#P===0)return!0;let X=this.#Z;for(let Q=0;Q<this.#P;Q++){let J=X.#Q[Q];if(!(J instanceof n0&&J.type==="!"))return!1}return!0}isEnd(){if(this.#X===this)return!0;if(this.#Z?.type==="!")return!0;if(!this.#Z?.isEnd())return!1;if(!this.type)return this.#Z?.isEnd();let X=this.#Z?this.#Z.#Q.length:0;return this.#P===X-1}copyIn(X){if(typeof X==="string")this.push(X);else this.push(X.clone(this))}clone(X){let Q=new n0(this.type,X);for(let J of this.#Q)Q.copyIn(J);return Q}static#L(X,Q,J,K,H){let Y=K.maxExtglobRecursion??2,Z=!1,q=!1,V=-1,G=!1;if(Q.type===null){let C=J,j="";while(C<X.length){let P=X.charAt(C++);if(Z||P==="\\"){Z=!Z,j+=P;continue}if(q){if(C===V+1){if(P==="^"||P==="!")G=!0}else if(P==="]"&&!(C===V+2&&G))q=!1;j+=P;continue}else if(P==="["){q=!0,V=C,G=!1,j+=P;continue}if(!K.noext&&b9(P)&&X.charAt(C)==="("&&H<=Y){Q.push(j),j="";let x=new n0(P,Q);C=n0.#L(X,x,C,K,H+1),Q.push(x);continue}j+=P}return Q.push(j),C}let W=J+1,B=new n0(null,Q),F=[],M="";while(W<X.length){let C=X.charAt(W++);if(Z||C==="\\"){Z=!Z,M+=C;continue}if(q){if(W===V+1){if(C==="^"||C==="!")G=!0}else if(C==="]"&&!(W===V+2&&G))q=!1;M+=C;continue}else if(C==="["){q=!0,V=W,G=!1,M+=C;continue}if(b9(C)&&X.charAt(W)==="("&&(H<=Y||Q&&Q.#j(C))){let P=Q&&Q.#j(C)?0:1;B.push(M),M="";let L=new n0(C,B);B.push(L),W=n0.#L(X,L,W,K,H+P);continue}if(C==="|"){B.push(M),M="",F.push(B),B=new n0(null,Q);continue}if(C===")"){if(M===""&&Q.#Q.length===0)Q.#Y=!0;return B.push(M),M="",Q.push(...F,B),W}M+=C}return Q.type=null,Q.#J=void 0,Q.#Q=[X.substring(J-1)],W}#M(X){return this.#B(X,uT)}#B(X,Q=fT){if(!X||typeof X!=="object"||X.type!==null||X.#Q.length!==1||this.type===null)return!1;let J=X.#Q[0];if(!J||typeof J!=="object"||J.type===null)return!1;return this.#j(J.type,Q)}#j(X,Q=bT){return!!Q.get(this.type)?.includes(X)}#$(X,Q){let J=X.#Q[0],K=new n0(null,J,this.options);K.#Q.push(""),J.push(K),this.#w(X,Q)}#w(X,Q){let J=X.#Q[0];this.#Q.splice(Q,1,...J.#Q);for(let K of J.#Q)if(typeof K==="object")K.#Z=this;this.#q=void 0}#D(X){return!!eV.get(this.type)?.has(X)}#F(X){if(!X||typeof X!=="object"||X.type!==null||X.#Q.length!==1||this.type===null||this.#Q.length!==1)return!1;let Q=X.#Q[0];if(!Q||typeof Q!=="object"||Q.type===null)return!1;return this.#D(Q.type)}#O(X){let Q=eV.get(this.type),J=X.#Q[0],K=Q?.get(J.type);if(!K)return!1;this.#Q=J.#Q;for(let H of this.#Q)if(typeof H==="object")H.#Z=this;this.type=K,this.#q=void 0,this.#Y=!1}#I(){if(!tV(this)){for(let X of this.#Q)if(typeof X==="object")X.#I()}else{let X=0,Q=!1;do{Q=!0;for(let J=0;J<this.#Q.length;J++){let K=this.#Q[J];if(typeof K==="object"){if(K.#I(),this.#B(K))Q=!1,this.#w(K,J);else if(this.#M(K))Q=!1,this.#$(K,J);else if(this.#F(K))Q=!1,this.#O(K)}}}while(!Q&&++X<10)}this.#q=void 0}static fromGlob(X,Q={}){let J=new n0(null,void 0,Q);return n0.#L(X,J,0,Q,0),J}toMMPattern(){if(this!==this.#X)return this.#X.toMMPattern();let X=this.toString(),[Q,J,K,H]=this.toRegExpSource();if(!(K||this.#J||this.#V.nocase&&!this.#V.nocaseMagicOnly&&X.toUpperCase()!==X.toLowerCase()))return J;let Z=(this.#V.nocase?"i":"")+(H?"u":"");return Object.assign(new RegExp(`^${Q}$`,Z),{_src:Q,_glob:X})}get options(){return this.#V}toRegExpSource(X){let Q=X??!!this.#V.dot;if(this.#X===this)this.#I(),this.#N();if(!tV(this)){let q=this.isStart()&&this.isEnd(),V=this.#Q.map((F)=>{let[M,C,j,P]=typeof F==="string"?n0.#T(F,this.#J,q):F.toRegExpSource(X);return this.#J=this.#J||j,this.#H=this.#H||P,M}).join(""),G="";if(this.isStart()){if(typeof this.#Q[0]==="string"){if(!(this.#Q.length===1&&cT.has(this.#Q[0]))){let M=dT,C=Q&&M.has(V.charAt(0))||V.startsWith("\\.")&&M.has(V.charAt(2))||V.startsWith("\\.\\.")&&M.has(V.charAt(4)),j=!Q&&!X&&M.has(V.charAt(0));G=C?mT:j?d7:""}}}let W="";if(this.isEnd()&&this.#X.#G&&this.#Z?.type==="!")W="(?:$|\\/)";return[G+V+W,(0,m7.unescape)(V),this.#J=!!this.#J,this.#H]}let J=this.type==="*"||this.type==="+",K=this.type==="!"?"(?:(?!(?:":"(?:",H=this.#z(Q);if(this.isStart()&&this.isEnd()&&!H&&this.type!=="!"){let q=this.toString(),V=this;return V.#Q=[q],V.type=null,V.#J=void 0,[q,(0,m7.unescape)(this.toString()),!1,!1]}let Y=!J||X||Q||!d7?"":this.#z(!0);if(Y===H)Y="";if(Y)H=`(?:${H})(?:${Y})*?`;let Z="";if(this.type==="!"&&this.#Y)Z=(this.isStart()&&!Q?d7:"")+QU;else{let q=this.type==="!"?"))"+(this.isStart()&&!Q&&!X?d7:"")+XU+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&Y?")":this.type==="*"&&Y?")?":`)${this.type}`;Z=K+H+q}return[Z,(0,m7.unescape)(H),this.#J=!!this.#J,this.#H]}#z(X){return this.#Q.map((Q)=>{if(typeof Q==="string")throw Error("string type in extglob ast??");let[J,K,H,Y]=Q.toRegExpSource(X);return this.#H=this.#H||Y,J}).filter((Q)=>!(this.isStart()&&this.isEnd())||!!Q).join("|")}static#T(X,Q,J=!1){let K=!1,H="",Y=!1,Z=!1;for(let q=0;q<X.length;q++){let V=X.charAt(q);if(K){K=!1,H+=(pT.has(V)?"\\":"")+V,Z=!1;continue}if(V==="\\"){if(q===X.length-1)H+="\\\\";else K=!0;continue}if(V==="["){let[G,W,B,F]=(0,hT.parseClass)(X,q);if(B){H+=G,Y=Y||W,q+=B-1,Q=Q||F,Z=!1;continue}}if(V==="*"){if(Z)continue;Z=!0,H+=J&&/^[*]+$/.test(X)?QU:XU,Q=!0;continue}else Z=!1;if(V==="?"){H+=m9,Q=!0;continue}H+=lT(V)}return[H,(0,m7.unescape)(X),!!Q,Y]}}JU.AST=d9;n0=d9});var p9=N((HU)=>{Object.defineProperty(HU,"__esModule",{value:!0});HU.escape=void 0;var nT=(X,{windowsPathsNoEscape:Q=!1}={})=>{return Q?X.replace(/[?*()[\]]/g,"[$&]"):X.replace(/[?*()[\]\\]/g,"\\$&")};HU.escape=nT});var f1=N((g)=>{var iT=g&&g.__importDefault||function(X){return X&&X.__esModule?X:{default:X}};Object.defineProperty(g,"__esModule",{value:!0});g.unescape=g.escape=g.AST=g.Minimatch=g.match=g.makeRe=g.braceExpand=g.defaults=g.filter=g.GLOBSTAR=g.sep=g.minimatch=void 0;var oT=iT(dV()),c7=lV(),VU=c9(),rT=p9(),sT=b7(),aT=(X,Q,J={})=>{if((0,c7.assertValidPattern)(Q),!J.nocomment&&Q.charAt(0)==="#")return!1;return new i6(Q,J).match(X)};g.minimatch=aT;var tT=/^\*+([^+@!?\*\[\(]*)$/,eT=(X)=>(Q)=>!Q.startsWith(".")&&Q.endsWith(X),X_=(X)=>(Q)=>Q.endsWith(X),Q_=(X)=>{return X=X.toLowerCase(),(Q)=>!Q.startsWith(".")&&Q.toLowerCase().endsWith(X)},J_=(X)=>{return X=X.toLowerCase(),(Q)=>Q.toLowerCase().endsWith(X)},K_=/^\*+\.\*+$/,H_=(X)=>!X.startsWith(".")&&X.includes("."),Y_=(X)=>X!=="."&&X!==".."&&X.includes("."),Z_=/^\.\*+$/,q_=(X)=>X!=="."&&X!==".."&&X.startsWith("."),V_=/^\*+$/,U_=(X)=>X.length!==0&&!X.startsWith("."),W_=(X)=>X.length!==0&&X!=="."&&X!=="..",G_=/^\?+([^+@!?\*\[\(]*)?$/,z_=([X,Q=""])=>{let J=UU([X]);if(!Q)return J;return Q=Q.toLowerCase(),(K)=>J(K)&&K.toLowerCase().endsWith(Q)},B_=([X,Q=""])=>{let J=WU([X]);if(!Q)return J;return Q=Q.toLowerCase(),(K)=>J(K)&&K.toLowerCase().endsWith(Q)},$_=([X,Q=""])=>{let J=WU([X]);return!Q?J:(K)=>J(K)&&K.endsWith(Q)},M_=([X,Q=""])=>{let J=UU([X]);return!Q?J:(K)=>J(K)&&K.endsWith(Q)},UU=([X])=>{let Q=X.length;return(J)=>J.length===Q&&!J.startsWith(".")},WU=([X])=>{let Q=X.length;return(J)=>J.length===Q&&J!=="."&&J!==".."},GU=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",ZU={win32:{sep:"\\"},posix:{sep:"/"}};g.sep=GU==="win32"?ZU.win32.sep:ZU.posix.sep;g.minimatch.sep=g.sep;g.GLOBSTAR=Symbol("globstar **");g.minimatch.GLOBSTAR=g.GLOBSTAR;var F_="[^/]",N_=F_+"*?",L_="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",I_="(?:(?!(?:\\/|^)\\.).)*?",C_=(X,Q={})=>(J)=>(0,g.minimatch)(J,X,Q);g.filter=C_;g.minimatch.filter=g.filter;var Q1=(X,Q={})=>Object.assign({},X,Q),P_=(X)=>{if(!X||typeof X!=="object"||!Object.keys(X).length)return g.minimatch;let Q=g.minimatch;return Object.assign((K,H,Y={})=>Q(K,H,Q1(X,Y)),{Minimatch:class extends Q.Minimatch{constructor(H,Y={}){super(H,Q1(X,Y))}static defaults(H){return Q.defaults(Q1(X,H)).Minimatch}},AST:class extends Q.AST{constructor(H,Y,Z={}){super(H,Y,Q1(X,Z))}static fromGlob(H,Y={}){return Q.AST.fromGlob(H,Q1(X,Y))}},unescape:(K,H={})=>Q.unescape(K,Q1(X,H)),escape:(K,H={})=>Q.escape(K,Q1(X,H)),filter:(K,H={})=>Q.filter(K,Q1(X,H)),defaults:(K)=>Q.defaults(Q1(X,K)),makeRe:(K,H={})=>Q.makeRe(K,Q1(X,H)),braceExpand:(K,H={})=>Q.braceExpand(K,Q1(X,H)),match:(K,H,Y={})=>Q.match(K,H,Q1(X,Y)),sep:Q.sep,GLOBSTAR:g.GLOBSTAR})};g.defaults=P_;g.minimatch.defaults=g.defaults;var j_=(X,Q={})=>{if((0,c7.assertValidPattern)(X),Q.nobrace||!/\{(?:(?!\{).)*\}/.test(X))return[X];return(0,oT.default)(X)};g.braceExpand=j_;g.minimatch.braceExpand=g.braceExpand;var O_=(X,Q={})=>new i6(X,Q).makeRe();g.makeRe=O_;g.minimatch.makeRe=g.makeRe;var w_=(X,Q,J={})=>{let K=new i6(Q,J);if(X=X.filter((H)=>K.match(H)),K.options.nonull&&!X.length)X.push(Q);return X};g.match=w_;g.minimatch.match=g.match;var qU=/[?*]|[+@!]\(.*?\)|\[|\]/,D_=(X)=>X.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class i6{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(X,Q={}){if((0,c7.assertValidPattern)(X),Q=Q||{},this.options=Q,this.maxGlobstarRecursion=Q.maxGlobstarRecursion??200,this.pattern=X,this.platform=Q.platform||GU,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!Q.windowsPathsNoEscape||Q.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.preserveMultipleSlashes=!!Q.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!Q.nonegate,this.comment=!1,this.empty=!1,this.partial=!!Q.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=Q.windowsNoMagicRoot!==void 0?Q.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let X of this.set)for(let Q of X)if(typeof Q!=="string")return!0;return!1}debug(...X){}make(){let X=this.pattern,Q=this.options;if(!Q.nocomment&&X.charAt(0)==="#"){this.comment=!0;return}if(!X){this.empty=!0;return}if(this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],Q.debug)this.debug=(...H)=>console.error(...H);this.debug(this.pattern,this.globSet);let J=this.globSet.map((H)=>this.slashSplit(H));this.globParts=this.preprocess(J),this.debug(this.pattern,this.globParts);let K=this.globParts.map((H,Y,Z)=>{if(this.isWindows&&this.windowsNoMagicRoot){let q=H[0]===""&&H[1]===""&&(H[2]==="?"||!qU.test(H[2]))&&!qU.test(H[3]),V=/^[a-z]:/i.test(H[0]);if(q)return[...H.slice(0,4),...H.slice(4).map((G)=>this.parse(G))];else if(V)return[H[0],...H.slice(1).map((G)=>this.parse(G))]}return H.map((q)=>this.parse(q))});if(this.debug(this.pattern,K),this.set=K.filter((H)=>H.indexOf(!1)===-1),this.isWindows)for(let H=0;H<this.set.length;H++){let Y=this.set[H];if(Y[0]===""&&Y[1]===""&&this.globParts[H][2]==="?"&&typeof Y[3]==="string"&&/^[a-z]:$/i.test(Y[3]))Y[2]="?"}this.debug(this.pattern,this.set)}preprocess(X){if(this.options.noglobstar){for(let J=0;J<X.length;J++)for(let K=0;K<X[J].length;K++)if(X[J][K]==="**")X[J][K]="*"}let{optimizationLevel:Q=1}=this.options;if(Q>=2)X=this.firstPhasePreProcess(X),X=this.secondPhasePreProcess(X);else if(Q>=1)X=this.levelOneOptimize(X);else X=this.adjascentGlobstarOptimize(X);return X}adjascentGlobstarOptimize(X){return X.map((Q)=>{let J=-1;while((J=Q.indexOf("**",J+1))!==-1){let K=J;while(Q[K+1]==="**")K++;if(K!==J)Q.splice(J,K-J)}return Q})}levelOneOptimize(X){return X.map((Q)=>{return Q=Q.reduce((J,K)=>{let H=J[J.length-1];if(K==="**"&&H==="**")return J;if(K===".."){if(H&&H!==".."&&H!=="."&&H!=="**")return J.pop(),J}return J.push(K),J},[]),Q.length===0?[""]:Q})}levelTwoFileOptimize(X){if(!Array.isArray(X))X=this.slashSplit(X);let Q=!1;do{if(Q=!1,!this.preserveMultipleSlashes){for(let K=1;K<X.length-1;K++){let H=X[K];if(K===1&&H===""&&X[0]==="")continue;if(H==="."||H==="")Q=!0,X.splice(K,1),K--}if(X[0]==="."&&X.length===2&&(X[1]==="."||X[1]===""))Q=!0,X.pop()}let J=0;while((J=X.indexOf("..",J+1))!==-1){let K=X[J-1];if(K&&K!=="."&&K!==".."&&K!=="**")Q=!0,X.splice(J-1,2),J-=2}}while(Q);return X.length===0?[""]:X}firstPhasePreProcess(X){let Q=!1;do{Q=!1;for(let J of X){let K=-1;while((K=J.indexOf("**",K+1))!==-1){let Y=K;while(J[Y+1]==="**")Y++;if(Y>K)J.splice(K+1,Y-K);let Z=J[K+1],q=J[K+2],V=J[K+3];if(Z!=="..")continue;if(!q||q==="."||q===".."||!V||V==="."||V==="..")continue;Q=!0,J.splice(K,1);let G=J.slice(0);G[K]="**",X.push(G),K--}if(!this.preserveMultipleSlashes){for(let Y=1;Y<J.length-1;Y++){let Z=J[Y];if(Y===1&&Z===""&&J[0]==="")continue;if(Z==="."||Z==="")Q=!0,J.splice(Y,1),Y--}if(J[0]==="."&&J.length===2&&(J[1]==="."||J[1]===""))Q=!0,J.pop()}let H=0;while((H=J.indexOf("..",H+1))!==-1){let Y=J[H-1];if(Y&&Y!=="."&&Y!==".."&&Y!=="**"){Q=!0;let q=H===1&&J[H+1]==="**"?["."]:[];if(J.splice(H-1,2,...q),J.length===0)J.push("");H-=2}}}}while(Q);return X}secondPhasePreProcess(X){for(let Q=0;Q<X.length-1;Q++)for(let J=Q+1;J<X.length;J++){let K=this.partsMatch(X[Q],X[J],!this.preserveMultipleSlashes);if(K){X[Q]=[],X[J]=K;break}}return X.filter((Q)=>Q.length)}partsMatch(X,Q,J=!1){let K=0,H=0,Y=[],Z="";while(K<X.length&&H<Q.length)if(X[K]===Q[H])Y.push(Z==="b"?Q[H]:X[K]),K++,H++;else if(J&&X[K]==="**"&&Q[H]===X[K+1])Y.push(X[K]),K++;else if(J&&Q[H]==="**"&&X[K]===Q[H+1])Y.push(Q[H]),H++;else if(X[K]==="*"&&Q[H]&&(this.options.dot||!Q[H].startsWith("."))&&Q[H]!=="**"){if(Z==="b")return!1;Z="a",Y.push(X[K]),K++,H++}else if(Q[H]==="*"&&X[K]&&(this.options.dot||!X[K].startsWith("."))&&X[K]!=="**"){if(Z==="a")return!1;Z="b",Y.push(Q[H]),K++,H++}else return!1;return X.length===Q.length&&Y}parseNegate(){if(this.nonegate)return;let X=this.pattern,Q=!1,J=0;for(let K=0;K<X.length&&X.charAt(K)==="!";K++)Q=!Q,J++;if(J)this.pattern=X.slice(J);this.negate=Q}matchOne(X,Q,J=!1){let K=0,H=0;if(this.isWindows){let Z=typeof X[0]==="string"&&/^[a-z]:$/i.test(X[0]),q=!Z&&X[0]===""&&X[1]===""&&X[2]==="?"&&/^[a-z]:$/i.test(X[3]),V=typeof Q[0]==="string"&&/^[a-z]:$/i.test(Q[0]),G=!V&&Q[0]===""&&Q[1]===""&&Q[2]==="?"&&typeof Q[3]==="string"&&/^[a-z]:$/i.test(Q[3]),W=q?3:Z?0:void 0,B=G?3:V?0:void 0;if(typeof W==="number"&&typeof B==="number"){let[F,M]=[X[W],Q[B]];if(F.toLowerCase()===M.toLowerCase())Q[B]=F,H=B,K=W}}let{optimizationLevel:Y=1}=this.options;if(Y>=2)X=this.levelTwoFileOptimize(X);if(Q.includes(g.GLOBSTAR))return this.#X(X,Q,J,K,H);return this.#H(X,Q,J,K,H)}#X(X,Q,J,K,H){let Y=Q.indexOf(g.GLOBSTAR,H),Z=Q.lastIndexOf(g.GLOBSTAR),[q,V,G]=J?[Q.slice(H,Y),Q.slice(Y+1),[]]:[Q.slice(H,Y),Q.slice(Y+1,Z),Q.slice(Z+1)];if(q.length){let L=X.slice(K,K+q.length);if(!this.#H(L,q,J,0,0))return!1;K+=q.length}let W=0;if(G.length){if(G.length+K>X.length)return!1;let L=X.length-G.length;if(this.#H(X,G,J,L,0))W=G.length;else{if(X[X.length-1]!==""||K+G.length===X.length)return!1;if(L--,!this.#H(X,G,J,L,0))return!1;W=G.length+1}}if(!V.length){let L=!!W;for(let x=K;x<X.length-W;x++){let v=String(X[x]);if(L=!0,v==="."||v===".."||!this.options.dot&&v.startsWith("."))return!1}return J||L}let B=[[[],0]],F=B[0],M=0,C=[0];for(let L of V)if(L===g.GLOBSTAR)C.push(M),F=[[],0],B.push(F);else F[0].push(L),M++;let j=B.length-1,P=X.length-W;for(let L of B)L[1]=P-(C[j--]+L[0].length);return!!this.#J(X,B,K,0,J,0,!!W)}#J(X,Q,J,K,H,Y,Z){let q=Q[K];if(!q){for(let W=J;W<X.length;W++){Z=!0;let B=X[W];if(B==="."||B===".."||!this.options.dot&&B.startsWith("."))return!1}return Z}let[V,G]=q;while(J<=G){if(this.#H(X.slice(0,J+V.length),V,H,J,0)&&Y<this.maxGlobstarRecursion){let F=this.#J(X,Q,J+V.length,K+1,H,Y+1,Z);if(F!==!1)return F}let B=X[J];if(B==="."||B===".."||!this.options.dot&&B.startsWith("."))return!1;J++}return H||null}#H(X,Q,J,K,H){let Y,Z,q,V;for(Y=K,Z=H,V=X.length,q=Q.length;Y<V&&Z<q;Y++,Z++){this.debug("matchOne loop");let G=Q[Z],W=X[Y];if(this.debug(Q,G,W),G===!1||G===g.GLOBSTAR)return!1;let B;if(typeof G==="string")B=W===G,this.debug("string match",G,W,B);else B=G.test(W),this.debug("pattern match",G,W,B);if(!B)return!1}if(Y===V&&Z===q)return!0;else if(Y===V)return J;else if(Z===q)return Y===V-1&&X[Y]==="";else throw Error("wtf?")}braceExpand(){return(0,g.braceExpand)(this.pattern,this.options)}parse(X){(0,c7.assertValidPattern)(X);let Q=this.options;if(X==="**")return g.GLOBSTAR;if(X==="")return"";let J,K=null;if(J=X.match(V_))K=Q.dot?W_:U_;else if(J=X.match(tT))K=(Q.nocase?Q.dot?J_:Q_:Q.dot?X_:eT)(J[1]);else if(J=X.match(G_))K=(Q.nocase?Q.dot?B_:z_:Q.dot?$_:M_)(J);else if(J=X.match(K_))K=Q.dot?Y_:H_;else if(J=X.match(Z_))K=q_;let H=VU.AST.fromGlob(X,this.options).toMMPattern();if(K&&typeof H==="object")Reflect.defineProperty(H,"test",{value:K});return H}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let X=this.set;if(!X.length)return this.regexp=!1,this.regexp;let Q=this.options,J=Q.noglobstar?N_:Q.dot?L_:I_,K=new Set(Q.nocase?["i"]:[]),H=X.map((q)=>{let V=q.map((G)=>{if(G instanceof RegExp)for(let W of G.flags.split(""))K.add(W);return typeof G==="string"?D_(G):G===g.GLOBSTAR?g.GLOBSTAR:G._src});return V.forEach((G,W)=>{let B=V[W+1],F=V[W-1];if(G!==g.GLOBSTAR||F===g.GLOBSTAR)return;if(F===void 0)if(B!==void 0&&B!==g.GLOBSTAR)V[W+1]="(?:\\/|"+J+"\\/)?"+B;else V[W]=J;else if(B===void 0)V[W-1]=F+"(?:\\/|"+J+")?";else if(B!==g.GLOBSTAR)V[W-1]=F+"(?:\\/|\\/"+J+"\\/)"+B,V[W+1]=g.GLOBSTAR}),V.filter((G)=>G!==g.GLOBSTAR).join("/")}).join("|"),[Y,Z]=X.length>1?["(?:",")"]:["",""];if(H="^"+Y+H+Z+"$",this.negate)H="^(?!"+H+").+$";try{this.regexp=new RegExp(H,[...K].join(""))}catch(q){this.regexp=!1}return this.regexp}slashSplit(X){if(this.preserveMultipleSlashes)return X.split("/");else if(this.isWindows&&/^\/\/[^\/]+/.test(X))return["",...X.split(/\/+/)];else return X.split(/\/+/)}match(X,Q=this.partial){if(this.debug("match",X,this.pattern),this.comment)return!1;if(this.empty)return X==="";if(X==="/"&&Q)return!0;let J=this.options;if(this.isWindows)X=X.split("\\").join("/");let K=this.slashSplit(X);this.debug(this.pattern,"split",K);let H=this.set;this.debug(this.pattern,"set",H);let Y=K[K.length-1];if(!Y)for(let Z=K.length-2;!Y&&Z>=0;Z--)Y=K[Z];for(let Z=0;Z<H.length;Z++){let q=H[Z],V=K;if(J.matchBase&&q.length===1)V=[Y];if(this.matchOne(V,q,Q)){if(J.flipNegate)return!0;return!this.negate}}if(J.flipNegate)return!1;return this.negate}static defaults(X){return g.minimatch.defaults(X).Minimatch}}g.Minimatch=i6;var T_=c9();Object.defineProperty(g,"AST",{enumerable:!0,get:function(){return T_.AST}});var __=p9();Object.defineProperty(g,"escape",{enumerable:!0,get:function(){return __.escape}});var A_=b7();Object.defineProperty(g,"unescape",{enumerable:!0,get:function(){return A_.unescape}});g.minimatch.AST=VU.AST;g.minimatch.Minimatch=i6;g.minimatch.escape=rT.escape;g.minimatch.unescape=sT.unescape});var LU=N((FU)=>{Object.defineProperty(FU,"__esModule",{value:!0});FU.LRUCache=void 0;var o6=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date,BU=new Set,l9=typeof process==="object"&&!!process?process:{},$U=(X,Q,J,K)=>{typeof l9.emitWarning==="function"?l9.emitWarning(X,Q,J,K):console.error(`[${J}] ${Q}: ${X}`)},p7=globalThis.AbortController,zU=globalThis.AbortSignal;if(typeof p7>"u"){zU=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(K,H){this._onabort.push(H)}},p7=class{constructor(){Q()}signal=new zU;abort(K){if(this.signal.aborted)return;this.signal.reason=K,this.signal.aborted=!0;for(let H of this.signal._onabort)H(K);this.signal.onabort?.(K)}};let X=l9.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",Q=()=>{if(!X)return;X=!1,$U("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",Q)}}var R_=(X)=>!BU.has(X),Uy=Symbol("type"),u1=(X)=>X&&X===Math.floor(X)&&X>0&&isFinite(X),MU=(X)=>!u1(X)?null:X<=Math.pow(2,8)?Uint8Array:X<=Math.pow(2,16)?Uint16Array:X<=Math.pow(2,32)?Uint32Array:X<=Number.MAX_SAFE_INTEGER?i8:null;class i8 extends Array{constructor(X){super(X);this.fill(0)}}class r6{heap;length;static#X=!1;static create(X){let Q=MU(X);if(!Q)return[];r6.#X=!0;let J=new r6(X,Q);return r6.#X=!1,J}constructor(X,Q){if(!r6.#X)throw TypeError("instantiate Stack using Stack.create(n)");this.heap=new Q(X),this.length=0}push(X){this.heap[this.length++]=X}pop(){return this.heap[--this.length]}}class n9{#X;#J;#H;#Q;#Z;#P;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#U;#G;#V;#q;#Y;#N;#L;#M;#B;#j;#$;#w;#D;#F;#O;#I;#z;static unsafeExposeInternals(X){return{starts:X.#D,ttls:X.#F,sizes:X.#w,keyMap:X.#V,keyList:X.#q,valList:X.#Y,next:X.#N,prev:X.#L,get head(){return X.#M},get tail(){return X.#B},free:X.#j,isBackgroundFetch:(Q)=>X.#W(Q),backgroundFetch:(Q,J,K,H)=>X.#f(Q,J,K,H),moveToTail:(Q)=>X.#b(Q),indexes:(Q)=>X.#A(Q),rindexes:(Q)=>X.#R(Q),isStale:(Q)=>X.#C(Q)}}get max(){return this.#X}get maxSize(){return this.#J}get calculatedSize(){return this.#G}get size(){return this.#U}get fetchMethod(){return this.#Z}get memoMethod(){return this.#P}get dispose(){return this.#H}get disposeAfter(){return this.#Q}constructor(X){let{max:Q=0,ttl:J,ttlResolution:K=1,ttlAutopurge:H,updateAgeOnGet:Y,updateAgeOnHas:Z,allowStale:q,dispose:V,disposeAfter:G,noDisposeOnSet:W,noUpdateTTL:B,maxSize:F=0,maxEntrySize:M=0,sizeCalculation:C,fetchMethod:j,memoMethod:P,noDeleteOnFetchRejection:L,noDeleteOnStaleGet:x,allowStaleOnFetchRejection:v,allowStaleOnFetchAbort:h,ignoreFetchAbort:n}=X;if(Q!==0&&!u1(Q))throw TypeError("max option must be a nonnegative integer");let k=Q?MU(Q):Array;if(!k)throw Error("invalid max value: "+Q);if(this.#X=Q,this.#J=F,this.maxEntrySize=M||this.#J,this.sizeCalculation=C,this.sizeCalculation){if(!this.#J&&!this.maxEntrySize)throw TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!=="function")throw TypeError("sizeCalculation set to non-function")}if(P!==void 0&&typeof P!=="function")throw TypeError("memoMethod must be a function if defined");if(this.#P=P,j!==void 0&&typeof j!=="function")throw TypeError("fetchMethod must be a function if specified");if(this.#Z=j,this.#I=!!j,this.#V=new Map,this.#q=Array(Q).fill(void 0),this.#Y=Array(Q).fill(void 0),this.#N=new k(Q),this.#L=new k(Q),this.#M=0,this.#B=0,this.#j=r6.create(Q),this.#U=0,this.#G=0,typeof V==="function")this.#H=V;if(typeof G==="function")this.#Q=G,this.#$=[];else this.#Q=void 0,this.#$=void 0;if(this.#O=!!this.#H,this.#z=!!this.#Q,this.noDisposeOnSet=!!W,this.noUpdateTTL=!!B,this.noDeleteOnFetchRejection=!!L,this.allowStaleOnFetchRejection=!!v,this.allowStaleOnFetchAbort=!!h,this.ignoreFetchAbort=!!n,this.maxEntrySize!==0){if(this.#J!==0){if(!u1(this.#J))throw TypeError("maxSize must be a positive integer if specified")}if(!u1(this.maxEntrySize))throw TypeError("maxEntrySize must be a positive integer if specified");this.#E()}if(this.allowStale=!!q,this.noDeleteOnStaleGet=!!x,this.updateAgeOnGet=!!Y,this.updateAgeOnHas=!!Z,this.ttlResolution=u1(K)||K===0?K:1,this.ttlAutopurge=!!H,this.ttl=J||0,this.ttl){if(!u1(this.ttl))throw TypeError("ttl must be a positive integer if specified");this.#T()}if(this.#X===0&&this.ttl===0&&this.#J===0)throw TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#X&&!this.#J){if(R_("LRU_CACHE_UNBOUNDED"))BU.add("LRU_CACHE_UNBOUNDED"),$U("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning","LRU_CACHE_UNBOUNDED",n9)}}getRemainingTTL(X){return this.#V.has(X)?1/0:0}#T(){let X=new i8(this.#X),Q=new i8(this.#X);this.#F=X,this.#D=Q,this.#x=(H,Y,Z=o6.now())=>{if(Q[H]=Y!==0?Z:0,X[H]=Y,Y!==0&&this.ttlAutopurge){let q=setTimeout(()=>{if(this.#C(H))this.#S(this.#q[H],"expire")},Y+1);if(q.unref)q.unref()}},this.#_=(H)=>{Q[H]=X[H]!==0?o6.now():0},this.#K=(H,Y)=>{if(X[Y]){let Z=X[Y],q=Q[Y];if(!Z||!q)return;H.ttl=Z,H.start=q,H.now=J||K();let V=H.now-q;H.remainingTTL=Z-V}};let J=0,K=()=>{let H=o6.now();if(this.ttlResolution>0){J=H;let Y=setTimeout(()=>J=0,this.ttlResolution);if(Y.unref)Y.unref()}return H};this.getRemainingTTL=(H)=>{let Y=this.#V.get(H);if(Y===void 0)return 0;let Z=X[Y],q=Q[Y];if(!Z||!q)return 1/0;let V=(J||K())-q;return Z-V},this.#C=(H)=>{let Y=Q[H],Z=X[H];return!!Z&&!!Y&&(J||K())-Y>Z}}#_=()=>{};#K=()=>{};#x=()=>{};#C=()=>!1;#E(){let X=new i8(this.#X);this.#G=0,this.#w=X,this.#v=(Q)=>{this.#G-=X[Q],X[Q]=0},this.#k=(Q,J,K,H)=>{if(this.#W(J))return 0;if(!u1(K))if(H){if(typeof H!=="function")throw TypeError("sizeCalculation must be a function");if(K=H(J,Q),!u1(K))throw TypeError("sizeCalculation return invalid (expect positive integer)")}else throw TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return K},this.#y=(Q,J,K)=>{if(X[Q]=J,this.#J){let H=this.#J-X[Q];while(this.#G>H)this.#g(!0)}if(this.#G+=X[Q],K)K.entrySize=J,K.totalCalculatedSize=this.#G}}#v=(X)=>{};#y=(X,Q,J)=>{};#k=(X,Q,J,K)=>{if(J||K)throw TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#A({allowStale:X=this.allowStale}={}){if(this.#U)for(let Q=this.#B;;){if(!this.#h(Q))break;if(X||!this.#C(Q))yield Q;if(Q===this.#M)break;else Q=this.#L[Q]}}*#R({allowStale:X=this.allowStale}={}){if(this.#U)for(let Q=this.#M;;){if(!this.#h(Q))break;if(X||!this.#C(Q))yield Q;if(Q===this.#B)break;else Q=this.#N[Q]}}#h(X){return X!==void 0&&this.#V.get(this.#q[X])===X}*entries(){for(let X of this.#A())if(this.#Y[X]!==void 0&&this.#q[X]!==void 0&&!this.#W(this.#Y[X]))yield[this.#q[X],this.#Y[X]]}*rentries(){for(let X of this.#R())if(this.#Y[X]!==void 0&&this.#q[X]!==void 0&&!this.#W(this.#Y[X]))yield[this.#q[X],this.#Y[X]]}*keys(){for(let X of this.#A()){let Q=this.#q[X];if(Q!==void 0&&!this.#W(this.#Y[X]))yield Q}}*rkeys(){for(let X of this.#R()){let Q=this.#q[X];if(Q!==void 0&&!this.#W(this.#Y[X]))yield Q}}*values(){for(let X of this.#A())if(this.#Y[X]!==void 0&&!this.#W(this.#Y[X]))yield this.#Y[X]}*rvalues(){for(let X of this.#R())if(this.#Y[X]!==void 0&&!this.#W(this.#Y[X]))yield this.#Y[X]}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(X,Q={}){for(let J of this.#A()){let K=this.#Y[J],H=this.#W(K)?K.__staleWhileFetching:K;if(H===void 0)continue;if(X(H,this.#q[J],this))return this.get(this.#q[J],Q)}}forEach(X,Q=this){for(let J of this.#A()){let K=this.#Y[J],H=this.#W(K)?K.__staleWhileFetching:K;if(H===void 0)continue;X.call(Q,H,this.#q[J],this)}}rforEach(X,Q=this){for(let J of this.#R()){let K=this.#Y[J],H=this.#W(K)?K.__staleWhileFetching:K;if(H===void 0)continue;X.call(Q,H,this.#q[J],this)}}purgeStale(){let X=!1;for(let Q of this.#R({allowStale:!0}))if(this.#C(Q))this.#S(this.#q[Q],"expire"),X=!0;return X}info(X){let Q=this.#V.get(X);if(Q===void 0)return;let J=this.#Y[Q],K=this.#W(J)?J.__staleWhileFetching:J;if(K===void 0)return;let H={value:K};if(this.#F&&this.#D){let Y=this.#F[Q],Z=this.#D[Q];if(Y&&Z){let q=Y-(o6.now()-Z);H.ttl=q,H.start=Date.now()}}if(this.#w)H.size=this.#w[Q];return H}dump(){let X=[];for(let Q of this.#A({allowStale:!0})){let J=this.#q[Q],K=this.#Y[Q],H=this.#W(K)?K.__staleWhileFetching:K;if(H===void 0||J===void 0)continue;let Y={value:H};if(this.#F&&this.#D){Y.ttl=this.#F[Q];let Z=o6.now()-this.#D[Q];Y.start=Math.floor(Date.now()-Z)}if(this.#w)Y.size=this.#w[Q];X.unshift([J,Y])}return X}load(X){this.clear();for(let[Q,J]of X){if(J.start){let K=Date.now()-J.start;J.start=o6.now()-K}this.set(Q,J.value,J)}}set(X,Q,J={}){if(Q===void 0)return this.delete(X),this;let{ttl:K=this.ttl,start:H,noDisposeOnSet:Y=this.noDisposeOnSet,sizeCalculation:Z=this.sizeCalculation,status:q}=J,{noUpdateTTL:V=this.noUpdateTTL}=J,G=this.#k(X,Q,J.size||0,Z);if(this.maxEntrySize&&G>this.maxEntrySize){if(q)q.set="miss",q.maxEntrySizeExceeded=!0;return this.#S(X,"set"),this}let W=this.#U===0?void 0:this.#V.get(X);if(W===void 0){if(W=this.#U===0?this.#B:this.#j.length!==0?this.#j.pop():this.#U===this.#X?this.#g(!1):this.#U,this.#q[W]=X,this.#Y[W]=Q,this.#V.set(X,W),this.#N[this.#B]=W,this.#L[W]=this.#B,this.#B=W,this.#U++,this.#y(W,G,q),q)q.set="add";V=!1}else{this.#b(W);let B=this.#Y[W];if(Q!==B){if(this.#I&&this.#W(B)){B.__abortController.abort(Error("replaced"));let{__staleWhileFetching:F}=B;if(F!==void 0&&!Y){if(this.#O)this.#H?.(F,X,"set");if(this.#z)this.#$?.push([F,X,"set"])}}else if(!Y){if(this.#O)this.#H?.(B,X,"set");if(this.#z)this.#$?.push([B,X,"set"])}if(this.#v(W),this.#y(W,G,q),this.#Y[W]=Q,q){q.set="replace";let F=B&&this.#W(B)?B.__staleWhileFetching:B;if(F!==void 0)q.oldValue=F}}else if(q)q.set="update"}if(K!==0&&!this.#F)this.#T();if(this.#F){if(!V)this.#x(W,K,H);if(q)this.#K(q,W)}if(!Y&&this.#z&&this.#$){let B=this.#$,F;while(F=B?.shift())this.#Q?.(...F)}return this}pop(){try{while(this.#U){let X=this.#Y[this.#M];if(this.#g(!0),this.#W(X)){if(X.__staleWhileFetching)return X.__staleWhileFetching}else if(X!==void 0)return X}}finally{if(this.#z&&this.#$){let X=this.#$,Q;while(Q=X?.shift())this.#Q?.(...Q)}}}#g(X){let Q=this.#M,J=this.#q[Q],K=this.#Y[Q];if(this.#I&&this.#W(K))K.__abortController.abort(Error("evicted"));else if(this.#O||this.#z){if(this.#O)this.#H?.(K,J,"evict");if(this.#z)this.#$?.push([K,J,"evict"])}if(this.#v(Q),X)this.#q[Q]=void 0,this.#Y[Q]=void 0,this.#j.push(Q);if(this.#U===1)this.#M=this.#B=0,this.#j.length=0;else this.#M=this.#N[Q];return this.#V.delete(J),this.#U--,Q}has(X,Q={}){let{updateAgeOnHas:J=this.updateAgeOnHas,status:K}=Q,H=this.#V.get(X);if(H!==void 0){let Y=this.#Y[H];if(this.#W(Y)&&Y.__staleWhileFetching===void 0)return!1;if(!this.#C(H)){if(J)this.#_(H);if(K)K.has="hit",this.#K(K,H);return!0}else if(K)K.has="stale",this.#K(K,H)}else if(K)K.has="miss";return!1}peek(X,Q={}){let{allowStale:J=this.allowStale}=Q,K=this.#V.get(X);if(K===void 0||!J&&this.#C(K))return;let H=this.#Y[K];return this.#W(H)?H.__staleWhileFetching:H}#f(X,Q,J,K){let H=Q===void 0?void 0:this.#Y[Q];if(this.#W(H))return H;let Y=new p7,{signal:Z}=J;Z?.addEventListener("abort",()=>Y.abort(Z.reason),{signal:Y.signal});let q={signal:Y.signal,options:J,context:K},V=(C,j=!1)=>{let{aborted:P}=Y.signal,L=J.ignoreFetchAbort&&C!==void 0;if(J.status)if(P&&!j){if(J.status.fetchAborted=!0,J.status.fetchError=Y.signal.reason,L)J.status.fetchAbortIgnored=!0}else J.status.fetchResolved=!0;if(P&&!L&&!j)return W(Y.signal.reason);let x=F;if(this.#Y[Q]===F)if(C===void 0)if(x.__staleWhileFetching)this.#Y[Q]=x.__staleWhileFetching;else this.#S(X,"fetch");else{if(J.status)J.status.fetchUpdated=!0;this.set(X,C,q.options)}return C},G=(C)=>{if(J.status)J.status.fetchRejected=!0,J.status.fetchError=C;return W(C)},W=(C)=>{let{aborted:j}=Y.signal,P=j&&J.allowStaleOnFetchAbort,L=P||J.allowStaleOnFetchRejection,x=L||J.noDeleteOnFetchRejection,v=F;if(this.#Y[Q]===F){if(!x||v.__staleWhileFetching===void 0)this.#S(X,"fetch");else if(!P)this.#Y[Q]=v.__staleWhileFetching}if(L){if(J.status&&v.__staleWhileFetching!==void 0)J.status.returnedStale=!0;return v.__staleWhileFetching}else if(v.__returned===v)throw C},B=(C,j)=>{let P=this.#Z?.(X,H,q);if(P&&P instanceof Promise)P.then((L)=>C(L===void 0?void 0:L),j);Y.signal.addEventListener("abort",()=>{if(!J.ignoreFetchAbort||J.allowStaleOnFetchAbort){if(C(void 0),J.allowStaleOnFetchAbort)C=(L)=>V(L,!0)}})};if(J.status)J.status.fetchDispatched=!0;let F=new Promise(B).then(V,G),M=Object.assign(F,{__abortController:Y,__staleWhileFetching:H,__returned:void 0});if(Q===void 0)this.set(X,M,{...q.options,status:void 0}),Q=this.#V.get(X);else this.#Y[Q]=M;return M}#W(X){if(!this.#I)return!1;let Q=X;return!!Q&&Q instanceof Promise&&Q.hasOwnProperty("__staleWhileFetching")&&Q.__abortController instanceof p7}async fetch(X,Q={}){let{allowStale:J=this.allowStale,updateAgeOnGet:K=this.updateAgeOnGet,noDeleteOnStaleGet:H=this.noDeleteOnStaleGet,ttl:Y=this.ttl,noDisposeOnSet:Z=this.noDisposeOnSet,size:q=0,sizeCalculation:V=this.sizeCalculation,noUpdateTTL:G=this.noUpdateTTL,noDeleteOnFetchRejection:W=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:B=this.allowStaleOnFetchRejection,ignoreFetchAbort:F=this.ignoreFetchAbort,allowStaleOnFetchAbort:M=this.allowStaleOnFetchAbort,context:C,forceRefresh:j=!1,status:P,signal:L}=Q;if(!this.#I){if(P)P.fetch="get";return this.get(X,{allowStale:J,updateAgeOnGet:K,noDeleteOnStaleGet:H,status:P})}let x={allowStale:J,updateAgeOnGet:K,noDeleteOnStaleGet:H,ttl:Y,noDisposeOnSet:Z,size:q,sizeCalculation:V,noUpdateTTL:G,noDeleteOnFetchRejection:W,allowStaleOnFetchRejection:B,allowStaleOnFetchAbort:M,ignoreFetchAbort:F,status:P,signal:L},v=this.#V.get(X);if(v===void 0){if(P)P.fetch="miss";let h=this.#f(X,v,x,C);return h.__returned=h}else{let h=this.#Y[v];if(this.#W(h)){let T=J&&h.__staleWhileFetching!==void 0;if(P){if(P.fetch="inflight",T)P.returnedStale=!0}return T?h.__staleWhileFetching:h.__returned=h}let n=this.#C(v);if(!j&&!n){if(P)P.fetch="hit";if(this.#b(v),K)this.#_(v);if(P)this.#K(P,v);return h}let k=this.#f(X,v,x,C),m=k.__staleWhileFetching!==void 0&&J;if(P){if(P.fetch=n?"stale":"refresh",m&&n)P.returnedStale=!0}return m?k.__staleWhileFetching:k.__returned=k}}async forceFetch(X,Q={}){let J=await this.fetch(X,Q);if(J===void 0)throw Error("fetch() returned undefined");return J}memo(X,Q={}){let J=this.#P;if(!J)throw Error("no memoMethod provided to constructor");let{context:K,forceRefresh:H,...Y}=Q,Z=this.get(X,Y);if(!H&&Z!==void 0)return Z;let q=J(X,Z,{options:Y,context:K});return this.set(X,q,Y),q}get(X,Q={}){let{allowStale:J=this.allowStale,updateAgeOnGet:K=this.updateAgeOnGet,noDeleteOnStaleGet:H=this.noDeleteOnStaleGet,status:Y}=Q,Z=this.#V.get(X);if(Z!==void 0){let q=this.#Y[Z],V=this.#W(q);if(Y)this.#K(Y,Z);if(this.#C(Z)){if(Y)Y.get="stale";if(!V){if(!H)this.#S(X,"expire");if(Y&&J)Y.returnedStale=!0;return J?q:void 0}else{if(Y&&J&&q.__staleWhileFetching!==void 0)Y.returnedStale=!0;return J?q.__staleWhileFetching:void 0}}else{if(Y)Y.get="hit";if(V)return q.__staleWhileFetching;if(this.#b(Z),K)this.#_(Z);return q}}else if(Y)Y.get="miss"}#u(X,Q){this.#L[Q]=X,this.#N[X]=Q}#b(X){if(X!==this.#B){if(X===this.#M)this.#M=this.#N[X];else this.#u(this.#L[X],this.#N[X]);this.#u(this.#B,X),this.#B=X}}delete(X){return this.#S(X,"delete")}#S(X,Q){let J=!1;if(this.#U!==0){let K=this.#V.get(X);if(K!==void 0)if(J=!0,this.#U===1)this.#m(Q);else{this.#v(K);let H=this.#Y[K];if(this.#W(H))H.__abortController.abort(Error("deleted"));else if(this.#O||this.#z){if(this.#O)this.#H?.(H,X,Q);if(this.#z)this.#$?.push([H,X,Q])}if(this.#V.delete(X),this.#q[K]=void 0,this.#Y[K]=void 0,K===this.#B)this.#B=this.#L[K];else if(K===this.#M)this.#M=this.#N[K];else{let Y=this.#L[K];this.#N[Y]=this.#N[K];let Z=this.#N[K];this.#L[Z]=this.#L[K]}this.#U--,this.#j.push(K)}}if(this.#z&&this.#$?.length){let K=this.#$,H;while(H=K?.shift())this.#Q?.(...H)}return J}clear(){return this.#m("delete")}#m(X){for(let Q of this.#R({allowStale:!0})){let J=this.#Y[Q];if(this.#W(J))J.__abortController.abort(Error("deleted"));else{let K=this.#q[Q];if(this.#O)this.#H?.(J,K,X);if(this.#z)this.#$?.push([J,K,X])}}if(this.#V.clear(),this.#Y.fill(void 0),this.#q.fill(void 0),this.#F&&this.#D)this.#F.fill(0),this.#D.fill(0);if(this.#w)this.#w.fill(0);if(this.#M=0,this.#B=0,this.#j.length=0,this.#G=0,this.#U=0,this.#z&&this.#$){let Q=this.#$,J;while(J=Q?.shift())this.#Q?.(...J)}}}FU.LRUCache=n9});var Q2=N((c0)=>{var E_=c0&&c0.__importDefault||function(X){return X&&X.__esModule?X:{default:X}};Object.defineProperty(c0,"__esModule",{value:!0});c0.Minipass=c0.isWritable=c0.isReadable=c0.isStream=void 0;var IU=typeof process==="object"&&process?process:{stdout:null,stderr:null},t9=f("events"),OU=E_(f("stream")),S_=f("string_decoder"),x_=(X)=>!!X&&typeof X==="object"&&(X instanceof X2||X instanceof OU.default||(0,c0.isReadable)(X)||(0,c0.isWritable)(X));c0.isStream=x_;var v_=(X)=>!!X&&typeof X==="object"&&X instanceof t9.EventEmitter&&typeof X.pipe==="function"&&X.pipe!==OU.default.Writable.prototype.pipe;c0.isReadable=v_;var y_=(X)=>!!X&&typeof X==="object"&&X instanceof t9.EventEmitter&&typeof X.write==="function"&&typeof X.end==="function";c0.isWritable=y_;var R1=Symbol("EOF"),E1=Symbol("maybeEmitEnd"),b1=Symbol("emittedEnd"),l7=Symbol("emittingEnd"),o8=Symbol("emittedError"),n7=Symbol("closed"),CU=Symbol("read"),i7=Symbol("flush"),PU=Symbol("flushChunk"),V1=Symbol("encoding"),s6=Symbol("decoder"),A0=Symbol("flowing"),r8=Symbol("paused"),a6=Symbol("resume"),R0=Symbol("buffer"),d0=Symbol("pipes"),E0=Symbol("bufferLength"),i9=Symbol("bufferPush"),o7=Symbol("bufferShift"),f0=Symbol("objectMode"),j0=Symbol("destroyed"),o9=Symbol("error"),r9=Symbol("emitData"),jU=Symbol("emitEnd"),s9=Symbol("emitEnd2"),L1=Symbol("async"),a9=Symbol("abort"),r7=Symbol("aborted"),s8=Symbol("signal"),W6=Symbol("dataListeners"),o0=Symbol("discarded"),a8=(X)=>Promise.resolve().then(X),k_=(X)=>X(),h_=(X)=>X==="end"||X==="finish"||X==="prefinish",g_=(X)=>X instanceof ArrayBuffer||!!X&&typeof X==="object"&&X.constructor&&X.constructor.name==="ArrayBuffer"&&X.byteLength>=0,f_=(X)=>!Buffer.isBuffer(X)&&ArrayBuffer.isView(X);class e9{src;dest;opts;ondrain;constructor(X,Q,J){this.src=X,this.dest=Q,this.opts=J,this.ondrain=()=>X[a6](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(X){}end(){if(this.unpipe(),this.opts.end)this.dest.end()}}class wU extends e9{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(X,Q,J){super(X,Q,J);this.proxyErrors=(K)=>this.dest.emit("error",K),X.on("error",this.proxyErrors)}}var u_=(X)=>!!X.objectMode,b_=(X)=>!X.objectMode&&!!X.encoding&&X.encoding!=="buffer";class X2 extends t9.EventEmitter{[A0]=!1;[r8]=!1;[d0]=[];[R0]=[];[f0];[V1];[L1];[s6];[R1]=!1;[b1]=!1;[l7]=!1;[n7]=!1;[o8]=null;[E0]=0;[j0]=!1;[s8];[r7]=!1;[W6]=0;[o0]=!1;writable=!0;readable=!0;constructor(...X){let Q=X[0]||{};super();if(Q.objectMode&&typeof Q.encoding==="string")throw TypeError("Encoding and objectMode may not be used together");if(u_(Q))this[f0]=!0,this[V1]=null;else if(b_(Q))this[V1]=Q.encoding,this[f0]=!1;else this[f0]=!1,this[V1]=null;if(this[L1]=!!Q.async,this[s6]=this[V1]?new S_.StringDecoder(this[V1]):null,Q&&Q.debugExposeBuffer===!0)Object.defineProperty(this,"buffer",{get:()=>this[R0]});if(Q&&Q.debugExposePipes===!0)Object.defineProperty(this,"pipes",{get:()=>this[d0]});let{signal:J}=Q;if(J)if(this[s8]=J,J.aborted)this[a9]();else J.addEventListener("abort",()=>this[a9]())}get bufferLength(){return this[E0]}get encoding(){return this[V1]}set encoding(X){throw Error("Encoding must be set at instantiation time")}setEncoding(X){throw Error("Encoding must be set at instantiation time")}get objectMode(){return this[f0]}set objectMode(X){throw Error("objectMode must be set at instantiation time")}get["async"](){return this[L1]}set["async"](X){this[L1]=this[L1]||!!X}[a9](){this[r7]=!0,this.emit("abort",this[s8]?.reason),this.destroy(this[s8]?.reason)}get aborted(){return this[r7]}set aborted(X){}write(X,Q,J){if(this[r7])return!1;if(this[R1])throw Error("write after end");if(this[j0])return this.emit("error",Object.assign(Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;if(typeof Q==="function")J=Q,Q="utf8";if(!Q)Q="utf8";let K=this[L1]?a8:k_;if(!this[f0]&&!Buffer.isBuffer(X)){if(f_(X))X=Buffer.from(X.buffer,X.byteOffset,X.byteLength);else if(g_(X))X=Buffer.from(X);else if(typeof X!=="string")throw Error("Non-contiguous data written to non-objectMode stream")}if(this[f0]){if(this[A0]&&this[E0]!==0)this[i7](!0);if(this[A0])this.emit("data",X);else this[i9](X);if(this[E0]!==0)this.emit("readable");if(J)K(J);return this[A0]}if(!X.length){if(this[E0]!==0)this.emit("readable");if(J)K(J);return this[A0]}if(typeof X==="string"&&!(Q===this[V1]&&!this[s6]?.lastNeed))X=Buffer.from(X,Q);if(Buffer.isBuffer(X)&&this[V1])X=this[s6].write(X);if(this[A0]&&this[E0]!==0)this[i7](!0);if(this[A0])this.emit("data",X);else this[i9](X);if(this[E0]!==0)this.emit("readable");if(J)K(J);return this[A0]}read(X){if(this[j0])return null;if(this[o0]=!1,this[E0]===0||X===0||X&&X>this[E0])return this[E1](),null;if(this[f0])X=null;if(this[R0].length>1&&!this[f0])this[R0]=[this[V1]?this[R0].join(""):Buffer.concat(this[R0],this[E0])];let Q=this[CU](X||null,this[R0][0]);return this[E1](),Q}[CU](X,Q){if(this[f0])this[o7]();else{let J=Q;if(X===J.length||X===null)this[o7]();else if(typeof J==="string")this[R0][0]=J.slice(X),Q=J.slice(0,X),this[E0]-=X;else this[R0][0]=J.subarray(X),Q=J.subarray(0,X),this[E0]-=X}if(this.emit("data",Q),!this[R0].length&&!this[R1])this.emit("drain");return Q}end(X,Q,J){if(typeof X==="function")J=X,X=void 0;if(typeof Q==="function")J=Q,Q="utf8";if(X!==void 0)this.write(X,Q);if(J)this.once("end",J);if(this[R1]=!0,this.writable=!1,this[A0]||!this[r8])this[E1]();return this}[a6](){if(this[j0])return;if(!this[W6]&&!this[d0].length)this[o0]=!0;if(this[r8]=!1,this[A0]=!0,this.emit("resume"),this[R0].length)this[i7]();else if(this[R1])this[E1]();else this.emit("drain")}resume(){return this[a6]()}pause(){this[A0]=!1,this[r8]=!0,this[o0]=!1}get destroyed(){return this[j0]}get flowing(){return this[A0]}get paused(){return this[r8]}[i9](X){if(this[f0])this[E0]+=1;else this[E0]+=X.length;this[R0].push(X)}[o7](){if(this[f0])this[E0]-=1;else this[E0]-=this[R0][0].length;return this[R0].shift()}[i7](X=!1){do;while(this[PU](this[o7]())&&this[R0].length);if(!X&&!this[R0].length&&!this[R1])this.emit("drain")}[PU](X){return this.emit("data",X),this[A0]}pipe(X,Q){if(this[j0])return X;this[o0]=!1;let J=this[b1];if(Q=Q||{},X===IU.stdout||X===IU.stderr)Q.end=!1;else Q.end=Q.end!==!1;if(Q.proxyErrors=!!Q.proxyErrors,J){if(Q.end)X.end()}else if(this[d0].push(!Q.proxyErrors?new e9(this,X,Q):new wU(this,X,Q)),this[L1])a8(()=>this[a6]());else this[a6]();return X}unpipe(X){let Q=this[d0].find((J)=>J.dest===X);if(Q){if(this[d0].length===1){if(this[A0]&&this[W6]===0)this[A0]=!1;this[d0]=[]}else this[d0].splice(this[d0].indexOf(Q),1);Q.unpipe()}}addListener(X,Q){return this.on(X,Q)}on(X,Q){let J=super.on(X,Q);if(X==="data"){if(this[o0]=!1,this[W6]++,!this[d0].length&&!this[A0])this[a6]()}else if(X==="readable"&&this[E0]!==0)super.emit("readable");else if(h_(X)&&this[b1])super.emit(X),this.removeAllListeners(X);else if(X==="error"&&this[o8]){let K=Q;if(this[L1])a8(()=>K.call(this,this[o8]));else K.call(this,this[o8])}return J}removeListener(X,Q){return this.off(X,Q)}off(X,Q){let J=super.off(X,Q);if(X==="data"){if(this[W6]=this.listeners("data").length,this[W6]===0&&!this[o0]&&!this[d0].length)this[A0]=!1}return J}removeAllListeners(X){let Q=super.removeAllListeners(X);if(X==="data"||X===void 0){if(this[W6]=0,!this[o0]&&!this[d0].length)this[A0]=!1}return Q}get emittedEnd(){return this[b1]}[E1](){if(!this[l7]&&!this[b1]&&!this[j0]&&this[R0].length===0&&this[R1]){if(this[l7]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[n7])this.emit("close");this[l7]=!1}}emit(X,...Q){let J=Q[0];if(X!=="error"&&X!=="close"&&X!==j0&&this[j0])return!1;else if(X==="data")return!this[f0]&&!J?!1:this[L1]?(a8(()=>this[r9](J)),!0):this[r9](J);else if(X==="end")return this[jU]();else if(X==="close"){if(this[n7]=!0,!this[b1]&&!this[j0])return!1;let H=super.emit("close");return this.removeAllListeners("close"),H}else if(X==="error"){this[o8]=J,super.emit(o9,J);let H=!this[s8]||this.listeners("error").length?super.emit("error",J):!1;return this[E1](),H}else if(X==="resume"){let H=super.emit("resume");return this[E1](),H}else if(X==="finish"||X==="prefinish"){let H=super.emit(X);return this.removeAllListeners(X),H}let K=super.emit(X,...Q);return this[E1](),K}[r9](X){for(let J of this[d0])if(J.dest.write(X)===!1)this.pause();let Q=this[o0]?!1:super.emit("data",X);return this[E1](),Q}[jU](){if(this[b1])return!1;return this[b1]=!0,this.readable=!1,this[L1]?(a8(()=>this[s9]()),!0):this[s9]()}[s9](){if(this[s6]){let Q=this[s6].end();if(Q){for(let J of this[d0])J.dest.write(Q);if(!this[o0])super.emit("data",Q)}}for(let Q of this[d0])Q.end();let X=super.emit("end");return this.removeAllListeners("end"),X}async collect(){let X=Object.assign([],{dataLength:0});if(!this[f0])X.dataLength=0;let Q=this.promise();return this.on("data",(J)=>{if(X.push(J),!this[f0])X.dataLength+=J.length}),await Q,X}async concat(){if(this[f0])throw Error("cannot concat in objectMode");let X=await this.collect();return this[V1]?X.join(""):Buffer.concat(X,X.dataLength)}async promise(){return new Promise((X,Q)=>{this.on(j0,()=>Q(Error("stream destroyed"))),this.on("error",(J)=>Q(J)),this.on("end",()=>X())})}[Symbol.asyncIterator](){this[o0]=!1;let X=!1,Q=async()=>{return this.pause(),X=!0,{value:void 0,done:!0}};return{next:()=>{if(X)return Q();let K=this.read();if(K!==null)return Promise.resolve({done:!1,value:K});if(this[R1])return Q();let H,Y,Z=(W)=>{this.off("data",q),this.off("end",V),this.off(j0,G),Q(),Y(W)},q=(W)=>{this.off("error",Z),this.off("end",V),this.off(j0,G),this.pause(),H({value:W,done:!!this[R1]})},V=()=>{this.off("error",Z),this.off("data",q),this.off(j0,G),Q(),H({done:!0,value:void 0})},G=()=>Z(Error("stream destroyed"));return new Promise((W,B)=>{Y=B,H=W,this.once(j0,G),this.once("error",Z),this.once("end",V),this.once("data",q)})},throw:Q,return:Q,[Symbol.asyncIterator](){return this},[Symbol.asyncDispose]:async()=>{}}}[Symbol.iterator](){this[o0]=!1;let X=!1,Q=()=>{return this.pause(),this.off(o9,Q),this.off(j0,Q),this.off("end",Q),X=!0,{done:!0,value:void 0}},J=()=>{if(X)return Q();let K=this.read();return K===null?Q():{done:!1,value:K}};return this.once("end",Q),this.once(o9,Q),this.once(j0,Q),{next:J,throw:Q,return:Q,[Symbol.iterator](){return this},[Symbol.dispose]:()=>{}}}destroy(X){if(this[j0]){if(X)this.emit("error",X);else this.emit(j0);return this}this[j0]=!0,this[o0]=!0,this[R0].length=0,this[E0]=0;let Q=this;if(typeof Q.close==="function"&&!this[n7])Q.close();if(X)this.emit("error",X);else this.emit(j0);return this}static get isStream(){return c0.isStream}}c0.Minipass=X2});var uU=N((U0)=>{var m_=U0&&U0.__createBinding||(Object.create?function(X,Q,J,K){if(K===void 0)K=J;var H=Object.getOwnPropertyDescriptor(Q,J);if(!H||("get"in H?!Q.__esModule:H.writable||H.configurable))H={enumerable:!0,get:function(){return Q[J]}};Object.defineProperty(X,K,H)}:function(X,Q,J,K){if(K===void 0)K=J;X[K]=Q[J]}),d_=U0&&U0.__setModuleDefault||(Object.create?function(X,Q){Object.defineProperty(X,"default",{enumerable:!0,value:Q})}:function(X,Q){X.default=Q}),c_=U0&&U0.__importStar||function(X){if(X&&X.__esModule)return X;var Q={};if(X!=null){for(var J in X)if(J!=="default"&&Object.prototype.hasOwnProperty.call(X,J))m_(Q,X,J)}return d_(Q,X),Q};Object.defineProperty(U0,"__esModule",{value:!0});U0.PathScurry=U0.Path=U0.PathScurryDarwin=U0.PathScurryPosix=U0.PathScurryWin32=U0.PathScurryBase=U0.PathPosix=U0.PathWin32=U0.PathBase=U0.ChildrenCache=U0.ResolveCache=void 0;var EU=LU(),X4=f("path"),p_=f("url"),e8=f("fs"),l_=c_(f("fs")),n_=e8.realpathSync.native,s7=f("fs/promises"),DU=Q2(),X3={lstatSync:e8.lstatSync,readdir:e8.readdir,readdirSync:e8.readdirSync,readlinkSync:e8.readlinkSync,realpathSync:n_,promises:{lstat:s7.lstat,readdir:s7.readdir,readlink:s7.readlink,realpath:s7.realpath}},SU=(X)=>!X||X===X3||X===l_?X3:{...X3,...X,promises:{...X3.promises,...X.promises||{}}},xU=/^\\\\\?\\([a-z]:)\\?$/i,i_=(X)=>X.replace(/\//g,"\\").replace(xU,"$1\\"),o_=/[\\\/]/,K1=0,vU=1,yU=2,I1=4,kU=6,hU=8,G6=10,gU=12,J1=15,t8=~J1,J2=16,TU=32,Q3=64,U1=128,a7=256,e7=512,_U=Q3|U1|e7,r_=1023,K2=(X)=>X.isFile()?hU:X.isDirectory()?I1:X.isSymbolicLink()?G6:X.isCharacterDevice()?yU:X.isBlockDevice()?kU:X.isSocket()?gU:X.isFIFO()?vU:K1,AU=new Map,J3=(X)=>{let Q=AU.get(X);if(Q)return Q;let J=X.normalize("NFKD");return AU.set(X,J),J},RU=new Map,t7=(X)=>{let Q=RU.get(X);if(Q)return Q;let J=J3(X.toLowerCase());return RU.set(X,J),J};class Q4 extends EU.LRUCache{constructor(){super({max:256})}}U0.ResolveCache=Q4;class H2 extends EU.LRUCache{constructor(X=16384){super({maxSize:X,sizeCalculation:(Q)=>Q.length+1})}}U0.ChildrenCache=H2;var fU=Symbol("PathScurry setAsCwd");class u0{name;root;roots;parent;nocase;isCWD=!1;#X;#J;get dev(){return this.#J}#H;get mode(){return this.#H}#Q;get nlink(){return this.#Q}#Z;get uid(){return this.#Z}#P;get gid(){return this.#P}#U;get rdev(){return this.#U}#G;get blksize(){return this.#G}#V;get ino(){return this.#V}#q;get size(){return this.#q}#Y;get blocks(){return this.#Y}#N;get atimeMs(){return this.#N}#L;get mtimeMs(){return this.#L}#M;get ctimeMs(){return this.#M}#B;get birthtimeMs(){return this.#B}#j;get atime(){return this.#j}#$;get mtime(){return this.#$}#w;get ctime(){return this.#w}#D;get birthtime(){return this.#D}#F;#O;#I;#z;#T;#_;#K;#x;#C;#E;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(X,Q=K1,J,K,H,Y,Z){if(this.name=X,this.#F=H?t7(X):J3(X),this.#K=Q&r_,this.nocase=H,this.roots=K,this.root=J||this,this.#x=Y,this.#I=Z.fullpath,this.#T=Z.relative,this.#_=Z.relativePosix,this.parent=Z.parent,this.parent)this.#X=this.parent.#X;else this.#X=SU(Z.fs)}depth(){if(this.#O!==void 0)return this.#O;if(!this.parent)return this.#O=0;return this.#O=this.parent.depth()+1}childrenCache(){return this.#x}resolve(X){if(!X)return this;let Q=this.getRootString(X),K=X.substring(Q.length).split(this.splitSep);return Q?this.getRoot(Q).#v(K):this.#v(K)}#v(X){let Q=this;for(let J of X)Q=Q.child(J);return Q}children(){let X=this.#x.get(this);if(X)return X;let Q=Object.assign([],{provisional:0});return this.#x.set(this,Q),this.#K&=~J2,Q}child(X,Q){if(X===""||X===".")return this;if(X==="..")return this.parent||this;let J=this.children(),K=this.nocase?t7(X):J3(X);for(let q of J)if(q.#F===K)return q;let H=this.parent?this.sep:"",Y=this.#I?this.#I+H+X:void 0,Z=this.newChild(X,K1,{...Q,parent:this,fullpath:Y});if(!this.canReaddir())Z.#K|=U1;return J.push(Z),Z}relative(){if(this.isCWD)return"";if(this.#T!==void 0)return this.#T;let X=this.name,Q=this.parent;if(!Q)return this.#T=this.name;let J=Q.relative();return J+(!J||!Q.parent?"":this.sep)+X}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#_!==void 0)return this.#_;let X=this.name,Q=this.parent;if(!Q)return this.#_=this.fullpathPosix();let J=Q.relativePosix();return J+(!J||!Q.parent?"":"/")+X}fullpath(){if(this.#I!==void 0)return this.#I;let X=this.name,Q=this.parent;if(!Q)return this.#I=this.name;let K=Q.fullpath()+(!Q.parent?"":this.sep)+X;return this.#I=K}fullpathPosix(){if(this.#z!==void 0)return this.#z;if(this.sep==="/")return this.#z=this.fullpath();if(!this.parent){let K=this.fullpath().replace(/\\/g,"/");if(/^[a-z]:\//i.test(K))return this.#z=`//?/${K}`;else return this.#z=K}let X=this.parent,Q=X.fullpathPosix(),J=Q+(!Q||!X.parent?"":"/")+this.name;return this.#z=J}isUnknown(){return(this.#K&J1)===K1}isType(X){return this[`is${X}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#K&J1)===hU}isDirectory(){return(this.#K&J1)===I1}isCharacterDevice(){return(this.#K&J1)===yU}isBlockDevice(){return(this.#K&J1)===kU}isFIFO(){return(this.#K&J1)===vU}isSocket(){return(this.#K&J1)===gU}isSymbolicLink(){return(this.#K&G6)===G6}lstatCached(){return this.#K&TU?this:void 0}readlinkCached(){return this.#C}realpathCached(){return this.#E}readdirCached(){let X=this.children();return X.slice(0,X.provisional)}canReadlink(){if(this.#C)return!0;if(!this.parent)return!1;let X=this.#K&J1;return!(X!==K1&&X!==G6||this.#K&a7||this.#K&U1)}calledReaddir(){return!!(this.#K&J2)}isENOENT(){return!!(this.#K&U1)}isNamed(X){return!this.nocase?this.#F===J3(X):this.#F===t7(X)}async readlink(){let X=this.#C;if(X)return X;if(!this.canReadlink())return;if(!this.parent)return;try{let Q=await this.#X.promises.readlink(this.fullpath()),J=(await this.parent.realpath())?.resolve(Q);if(J)return this.#C=J}catch(Q){this.#W(Q.code);return}}readlinkSync(){let X=this.#C;if(X)return X;if(!this.canReadlink())return;if(!this.parent)return;try{let Q=this.#X.readlinkSync(this.fullpath()),J=this.parent.realpathSync()?.resolve(Q);if(J)return this.#C=J}catch(Q){this.#W(Q.code);return}}#y(X){this.#K|=J2;for(let Q=X.provisional;Q<X.length;Q++){let J=X[Q];if(J)J.#k()}}#k(){if(this.#K&U1)return;this.#K=(this.#K|U1)&t8,this.#A()}#A(){let X=this.children();X.provisional=0;for(let Q of X)Q.#k()}#R(){this.#K|=e7,this.#h()}#h(){if(this.#K&Q3)return;let X=this.#K;if((X&J1)===I1)X&=t8;this.#K=X|Q3,this.#A()}#g(X=""){if(X==="ENOTDIR"||X==="EPERM")this.#h();else if(X==="ENOENT")this.#k();else this.children().provisional=0}#f(X=""){if(X==="ENOTDIR")this.parent.#h();else if(X==="ENOENT")this.#k()}#W(X=""){let Q=this.#K;if(Q|=a7,X==="ENOENT")Q|=U1;if(X==="EINVAL"||X==="UNKNOWN")Q&=t8;if(this.#K=Q,X==="ENOTDIR"&&this.parent)this.parent.#h()}#u(X,Q){return this.#S(X,Q)||this.#b(X,Q)}#b(X,Q){let J=K2(X),K=this.newChild(X.name,J,{parent:this}),H=K.#K&J1;if(H!==I1&&H!==G6&&H!==K1)K.#K|=Q3;return Q.unshift(K),Q.provisional++,K}#S(X,Q){for(let J=Q.provisional;J<Q.length;J++){let K=Q[J];if((this.nocase?t7(X.name):J3(X.name))!==K.#F)continue;return this.#m(X,K,J,Q)}}#m(X,Q,J,K){let H=Q.name;if(Q.#K=Q.#K&t8|K2(X),H!==X.name)Q.name=X.name;if(J!==K.provisional){if(J===K.length-1)K.pop();else K.splice(J,1);K.unshift(Q)}return K.provisional++,Q}async lstat(){if((this.#K&U1)===0)try{return this.#l(await this.#X.promises.lstat(this.fullpath())),this}catch(X){this.#f(X.code)}}lstatSync(){if((this.#K&U1)===0)try{return this.#l(this.#X.lstatSync(this.fullpath())),this}catch(X){this.#f(X.code)}}#l(X){let{atime:Q,atimeMs:J,birthtime:K,birthtimeMs:H,blksize:Y,blocks:Z,ctime:q,ctimeMs:V,dev:G,gid:W,ino:B,mode:F,mtime:M,mtimeMs:C,nlink:j,rdev:P,size:L,uid:x}=X;this.#j=Q,this.#N=J,this.#D=K,this.#B=H,this.#G=Y,this.#Y=Z,this.#w=q,this.#M=V,this.#J=G,this.#P=W,this.#V=B,this.#H=F,this.#$=M,this.#L=C,this.#Q=j,this.#U=P,this.#q=L,this.#Z=x;let v=K2(X);if(this.#K=this.#K&t8|v|TU,v!==K1&&v!==I1&&v!==G6)this.#K|=Q3}#c=[];#p=!1;#n(X){this.#p=!1;let Q=this.#c.slice();this.#c.length=0,Q.forEach((J)=>J(null,X))}readdirCB(X,Q=!1){if(!this.canReaddir()){if(Q)X(null,[]);else queueMicrotask(()=>X(null,[]));return}let J=this.children();if(this.calledReaddir()){let H=J.slice(0,J.provisional);if(Q)X(null,H);else queueMicrotask(()=>X(null,H));return}if(this.#c.push(X),this.#p)return;this.#p=!0;let K=this.fullpath();this.#X.readdir(K,{withFileTypes:!0},(H,Y)=>{if(H)this.#g(H.code),J.provisional=0;else{for(let Z of Y)this.#u(Z,J);this.#y(J)}this.#n(J.slice(0,J.provisional));return})}#d;async readdir(){if(!this.canReaddir())return[];let X=this.children();if(this.calledReaddir())return X.slice(0,X.provisional);let Q=this.fullpath();if(this.#d)await this.#d;else{let J=()=>{};this.#d=new Promise((K)=>J=K);try{for(let K of await this.#X.promises.readdir(Q,{withFileTypes:!0}))this.#u(K,X);this.#y(X)}catch(K){this.#g(K.code),X.provisional=0}this.#d=void 0,J()}return X.slice(0,X.provisional)}readdirSync(){if(!this.canReaddir())return[];let X=this.children();if(this.calledReaddir())return X.slice(0,X.provisional);let Q=this.fullpath();try{for(let J of this.#X.readdirSync(Q,{withFileTypes:!0}))this.#u(J,X);this.#y(X)}catch(J){this.#g(J.code),X.provisional=0}return X.slice(0,X.provisional)}canReaddir(){if(this.#K&_U)return!1;let X=J1&this.#K;if(!(X===K1||X===I1||X===G6))return!1;return!0}shouldWalk(X,Q){return(this.#K&I1)===I1&&!(this.#K&_U)&&!X.has(this)&&(!Q||Q(this))}async realpath(){if(this.#E)return this.#E;if((e7|a7|U1)&this.#K)return;try{let X=await this.#X.promises.realpath(this.fullpath());return this.#E=this.resolve(X)}catch(X){this.#R()}}realpathSync(){if(this.#E)return this.#E;if((e7|a7|U1)&this.#K)return;try{let X=this.#X.realpathSync(this.fullpath());return this.#E=this.resolve(X)}catch(X){this.#R()}}[fU](X){if(X===this)return;X.isCWD=!1,this.isCWD=!0;let Q=new Set([]),J=[],K=this;while(K&&K.parent)Q.add(K),K.#T=J.join(this.sep),K.#_=J.join("/"),K=K.parent,J.push("..");K=X;while(K&&K.parent&&!Q.has(K))K.#T=void 0,K.#_=void 0,K=K.parent}}U0.PathBase=u0;class K3 extends u0{sep="\\";splitSep=o_;constructor(X,Q=K1,J,K,H,Y,Z){super(X,Q,J,K,H,Y,Z)}newChild(X,Q=K1,J={}){return new K3(X,Q,this.root,this.roots,this.nocase,this.childrenCache(),J)}getRootString(X){return X4.win32.parse(X).root}getRoot(X){if(X=i_(X.toUpperCase()),X===this.root.name)return this.root;for(let[Q,J]of Object.entries(this.roots))if(this.sameRoot(X,Q))return this.roots[X]=J;return this.roots[X]=new K4(X,this).root}sameRoot(X,Q=this.root.name){return X=X.toUpperCase().replace(/\//g,"\\").replace(xU,"$1\\"),X===Q}}U0.PathWin32=K3;class H3 extends u0{splitSep="/";sep="/";constructor(X,Q=K1,J,K,H,Y,Z){super(X,Q,J,K,H,Y,Z)}getRootString(X){return X.startsWith("/")?"/":""}getRoot(X){return this.root}newChild(X,Q=K1,J={}){return new H3(X,Q,this.root,this.roots,this.nocase,this.childrenCache(),J)}}U0.PathPosix=H3;class J4{root;rootPath;roots;cwd;#X;#J;#H;nocase;#Q;constructor(X=process.cwd(),Q,J,{nocase:K,childrenCacheSize:H=16384,fs:Y=X3}={}){if(this.#Q=SU(Y),X instanceof URL||X.startsWith("file://"))X=(0,p_.fileURLToPath)(X);let Z=Q.resolve(X);this.roots=Object.create(null),this.rootPath=this.parseRootPath(Z),this.#X=new Q4,this.#J=new Q4,this.#H=new H2(H);let q=Z.substring(this.rootPath.length).split(J);if(q.length===1&&!q[0])q.pop();if(K===void 0)throw TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=K,this.root=this.newRoot(this.#Q),this.roots[this.rootPath]=this.root;let V=this.root,G=q.length-1,W=Q.sep,B=this.rootPath,F=!1;for(let M of q){let C=G--;V=V.child(M,{relative:Array(C).fill("..").join(W),relativePosix:Array(C).fill("..").join("/"),fullpath:B+=(F?"":W)+M}),F=!0}this.cwd=V}depth(X=this.cwd){if(typeof X==="string")X=this.cwd.resolve(X);return X.depth()}childrenCache(){return this.#H}resolve(...X){let Q="";for(let H=X.length-1;H>=0;H--){let Y=X[H];if(!Y||Y===".")continue;if(Q=Q?`${Y}/${Q}`:Y,this.isAbsolute(Y))break}let J=this.#X.get(Q);if(J!==void 0)return J;let K=this.cwd.resolve(Q).fullpath();return this.#X.set(Q,K),K}resolvePosix(...X){let Q="";for(let H=X.length-1;H>=0;H--){let Y=X[H];if(!Y||Y===".")continue;if(Q=Q?`${Y}/${Q}`:Y,this.isAbsolute(Y))break}let J=this.#J.get(Q);if(J!==void 0)return J;let K=this.cwd.resolve(Q).fullpathPosix();return this.#J.set(Q,K),K}relative(X=this.cwd){if(typeof X==="string")X=this.cwd.resolve(X);return X.relative()}relativePosix(X=this.cwd){if(typeof X==="string")X=this.cwd.resolve(X);return X.relativePosix()}basename(X=this.cwd){if(typeof X==="string")X=this.cwd.resolve(X);return X.name}dirname(X=this.cwd){if(typeof X==="string")X=this.cwd.resolve(X);return(X.parent||X).fullpath()}async readdir(X=this.cwd,Q={withFileTypes:!0}){if(typeof X==="string")X=this.cwd.resolve(X);else if(!(X instanceof u0))Q=X,X=this.cwd;let{withFileTypes:J}=Q;if(!X.canReaddir())return[];else{let K=await X.readdir();return J?K:K.map((H)=>H.name)}}readdirSync(X=this.cwd,Q={withFileTypes:!0}){if(typeof X==="string")X=this.cwd.resolve(X);else if(!(X instanceof u0))Q=X,X=this.cwd;let{withFileTypes:J=!0}=Q;if(!X.canReaddir())return[];else if(J)return X.readdirSync();else return X.readdirSync().map((K)=>K.name)}async lstat(X=this.cwd){if(typeof X==="string")X=this.cwd.resolve(X);return X.lstat()}lstatSync(X=this.cwd){if(typeof X==="string")X=this.cwd.resolve(X);return X.lstatSync()}async readlink(X=this.cwd,{withFileTypes:Q}={withFileTypes:!1}){if(typeof X==="string")X=this.cwd.resolve(X);else if(!(X instanceof u0))Q=X.withFileTypes,X=this.cwd;let J=await X.readlink();return Q?J:J?.fullpath()}readlinkSync(X=this.cwd,{withFileTypes:Q}={withFileTypes:!1}){if(typeof X==="string")X=this.cwd.resolve(X);else if(!(X instanceof u0))Q=X.withFileTypes,X=this.cwd;let J=X.readlinkSync();return Q?J:J?.fullpath()}async realpath(X=this.cwd,{withFileTypes:Q}={withFileTypes:!1}){if(typeof X==="string")X=this.cwd.resolve(X);else if(!(X instanceof u0))Q=X.withFileTypes,X=this.cwd;let J=await X.realpath();return Q?J:J?.fullpath()}realpathSync(X=this.cwd,{withFileTypes:Q}={withFileTypes:!1}){if(typeof X==="string")X=this.cwd.resolve(X);else if(!(X instanceof u0))Q=X.withFileTypes,X=this.cwd;let J=X.realpathSync();return Q?J:J?.fullpath()}async walk(X=this.cwd,Q={}){if(typeof X==="string")X=this.cwd.resolve(X);else if(!(X instanceof u0))Q=X,X=this.cwd;let{withFileTypes:J=!0,follow:K=!1,filter:H,walkFilter:Y}=Q,Z=[];if(!H||H(X))Z.push(J?X:X.fullpath());let q=new Set,V=(W,B)=>{q.add(W),W.readdirCB((F,M)=>{if(F)return B(F);let C=M.length;if(!C)return B();let j=()=>{if(--C===0)B()};for(let P of M){if(!H||H(P))Z.push(J?P:P.fullpath());if(K&&P.isSymbolicLink())P.realpath().then((L)=>L?.isUnknown()?L.lstat():L).then((L)=>L?.shouldWalk(q,Y)?V(L,j):j());else if(P.shouldWalk(q,Y))V(P,j);else j()}},!0)},G=X;return new Promise((W,B)=>{V(G,(F)=>{if(F)return B(F);W(Z)})})}walkSync(X=this.cwd,Q={}){if(typeof X==="string")X=this.cwd.resolve(X);else if(!(X instanceof u0))Q=X,X=this.cwd;let{withFileTypes:J=!0,follow:K=!1,filter:H,walkFilter:Y}=Q,Z=[];if(!H||H(X))Z.push(J?X:X.fullpath());let q=new Set([X]);for(let V of q){let G=V.readdirSync();for(let W of G){if(!H||H(W))Z.push(J?W:W.fullpath());let B=W;if(W.isSymbolicLink()){if(!(K&&(B=W.realpathSync())))continue;if(B.isUnknown())B.lstatSync()}if(B.shouldWalk(q,Y))q.add(B)}}return Z}[Symbol.asyncIterator](){return this.iterate()}iterate(X=this.cwd,Q={}){if(typeof X==="string")X=this.cwd.resolve(X);else if(!(X instanceof u0))Q=X,X=this.cwd;return this.stream(X,Q)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(X=this.cwd,Q={}){if(typeof X==="string")X=this.cwd.resolve(X);else if(!(X instanceof u0))Q=X,X=this.cwd;let{withFileTypes:J=!0,follow:K=!1,filter:H,walkFilter:Y}=Q;if(!H||H(X))yield J?X:X.fullpath();let Z=new Set([X]);for(let q of Z){let V=q.readdirSync();for(let G of V){if(!H||H(G))yield J?G:G.fullpath();let W=G;if(G.isSymbolicLink()){if(!(K&&(W=G.realpathSync())))continue;if(W.isUnknown())W.lstatSync()}if(W.shouldWalk(Z,Y))Z.add(W)}}}stream(X=this.cwd,Q={}){if(typeof X==="string")X=this.cwd.resolve(X);else if(!(X instanceof u0))Q=X,X=this.cwd;let{withFileTypes:J=!0,follow:K=!1,filter:H,walkFilter:Y}=Q,Z=new DU.Minipass({objectMode:!0});if(!H||H(X))Z.write(J?X:X.fullpath());let q=new Set,V=[X],G=0,W=()=>{let B=!1;while(!B){let F=V.shift();if(!F){if(G===0)Z.end();return}G++,q.add(F);let M=(j,P,L=!1)=>{if(j)return Z.emit("error",j);if(K&&!L){let x=[];for(let v of P)if(v.isSymbolicLink())x.push(v.realpath().then((h)=>h?.isUnknown()?h.lstat():h));if(x.length){Promise.all(x).then(()=>M(null,P,!0));return}}for(let x of P)if(x&&(!H||H(x))){if(!Z.write(J?x:x.fullpath()))B=!0}G--;for(let x of P){let v=x.realpathCached()||x;if(v.shouldWalk(q,Y))V.push(v)}if(B&&!Z.flowing)Z.once("drain",W);else if(!C)W()},C=!0;F.readdirCB(M,!0),C=!1}};return W(),Z}streamSync(X=this.cwd,Q={}){if(typeof X==="string")X=this.cwd.resolve(X);else if(!(X instanceof u0))Q=X,X=this.cwd;let{withFileTypes:J=!0,follow:K=!1,filter:H,walkFilter:Y}=Q,Z=new DU.Minipass({objectMode:!0}),q=new Set;if(!H||H(X))Z.write(J?X:X.fullpath());let V=[X],G=0,W=()=>{let B=!1;while(!B){let F=V.shift();if(!F){if(G===0)Z.end();return}G++,q.add(F);let M=F.readdirSync();for(let C of M)if(!H||H(C)){if(!Z.write(J?C:C.fullpath()))B=!0}G--;for(let C of M){let j=C;if(C.isSymbolicLink()){if(!(K&&(j=C.realpathSync())))continue;if(j.isUnknown())j.lstatSync()}if(j.shouldWalk(q,Y))V.push(j)}}if(B&&!Z.flowing)Z.once("drain",W)};return W(),Z}chdir(X=this.cwd){let Q=this.cwd;this.cwd=typeof X==="string"?this.cwd.resolve(X):X,this.cwd[fU](Q)}}U0.PathScurryBase=J4;class K4 extends J4{sep="\\";constructor(X=process.cwd(),Q={}){let{nocase:J=!0}=Q;super(X,X4.win32,"\\",{...Q,nocase:J});this.nocase=J;for(let K=this.cwd;K;K=K.parent)K.nocase=this.nocase}parseRootPath(X){return X4.win32.parse(X).root.toUpperCase()}newRoot(X){return new K3(this.rootPath,I1,void 0,this.roots,this.nocase,this.childrenCache(),{fs:X})}isAbsolute(X){return X.startsWith("/")||X.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(X)}}U0.PathScurryWin32=K4;class H4 extends J4{sep="/";constructor(X=process.cwd(),Q={}){let{nocase:J=!1}=Q;super(X,X4.posix,"/",{...Q,nocase:J});this.nocase=J}parseRootPath(X){return"/"}newRoot(X){return new H3(this.rootPath,I1,void 0,this.roots,this.nocase,this.childrenCache(),{fs:X})}isAbsolute(X){return X.startsWith("/")}}U0.PathScurryPosix=H4;class Y2 extends H4{constructor(X=process.cwd(),Q={}){let{nocase:J=!0}=Q;super(X,{...Q,nocase:J})}}U0.PathScurryDarwin=Y2;U0.Path=process.platform==="win32"?K3:H3;U0.PathScurry=process.platform==="win32"?K4:process.platform==="darwin"?Y2:H4});var q2=N((bU)=>{Object.defineProperty(bU,"__esModule",{value:!0});bU.Pattern=void 0;var s_=f1(),a_=(X)=>X.length>=1,t_=(X)=>X.length>=1;class Z2{#X;#J;#H;length;#Q;#Z;#P;#U;#G;#V;#q=!0;constructor(X,Q,J,K){if(!a_(X))throw TypeError("empty pattern list");if(!t_(Q))throw TypeError("empty glob list");if(Q.length!==X.length)throw TypeError("mismatched pattern list and glob list lengths");if(this.length=X.length,J<0||J>=this.length)throw TypeError("index out of range");if(this.#X=X,this.#J=Q,this.#H=J,this.#Q=K,this.#H===0){if(this.isUNC()){let[H,Y,Z,q,...V]=this.#X,[G,W,B,F,...M]=this.#J;if(V[0]==="")V.shift(),M.shift();let C=[H,Y,Z,q,""].join("/"),j=[G,W,B,F,""].join("/");this.#X=[C,...V],this.#J=[j,...M],this.length=this.#X.length}else if(this.isDrive()||this.isAbsolute()){let[H,...Y]=this.#X,[Z,...q]=this.#J;if(Y[0]==="")Y.shift(),q.shift();let V=H+"/",G=Z+"/";this.#X=[V,...Y],this.#J=[G,...q],this.length=this.#X.length}}}pattern(){return this.#X[this.#H]}isString(){return typeof this.#X[this.#H]==="string"}isGlobstar(){return this.#X[this.#H]===s_.GLOBSTAR}isRegExp(){return this.#X[this.#H]instanceof RegExp}globString(){return this.#P=this.#P||(this.#H===0?this.isAbsolute()?this.#J[0]+this.#J.slice(1).join("/"):this.#J.join("/"):this.#J.slice(this.#H).join("/"))}hasMore(){return this.length>this.#H+1}rest(){if(this.#Z!==void 0)return this.#Z;if(!this.hasMore())return this.#Z=null;return this.#Z=new Z2(this.#X,this.#J,this.#H+1,this.#Q),this.#Z.#V=this.#V,this.#Z.#G=this.#G,this.#Z.#U=this.#U,this.#Z}isUNC(){let X=this.#X;return this.#G!==void 0?this.#G:this.#G=this.#Q==="win32"&&this.#H===0&&X[0]===""&&X[1]===""&&typeof X[2]==="string"&&!!X[2]&&typeof X[3]==="string"&&!!X[3]}isDrive(){let X=this.#X;return this.#U!==void 0?this.#U:this.#U=this.#Q==="win32"&&this.#H===0&&this.length>1&&typeof X[0]==="string"&&/^[a-z]:$/i.test(X[0])}isAbsolute(){let X=this.#X;return this.#V!==void 0?this.#V:this.#V=X[0]===""&&X.length>1||this.isDrive()||this.isUNC()}root(){let X=this.#X[0];return typeof X==="string"&&this.isAbsolute()&&this.#H===0?X:""}checkFollowGlobstar(){return!(this.#H===0||!this.isGlobstar()||!this.#q)}markFollowGlobstar(){if(this.#H===0||!this.isGlobstar()||!this.#q)return!1;return this.#q=!1,!0}}bU.Pattern=Z2});var V2=N((pU)=>{Object.defineProperty(pU,"__esModule",{value:!0});pU.Ignore=void 0;var dU=f1(),e_=q2(),XA=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class cU{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(X,{nobrace:Q,nocase:J,noext:K,noglobstar:H,platform:Y=XA}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=Y,this.mmopts={dot:!0,nobrace:Q,nocase:J,noext:K,noglobstar:H,optimizationLevel:2,platform:Y,nocomment:!0,nonegate:!0};for(let Z of X)this.add(Z)}add(X){let Q=new dU.Minimatch(X,this.mmopts);for(let J=0;J<Q.set.length;J++){let K=Q.set[J],H=Q.globParts[J];if(!K||!H)throw Error("invalid pattern object");while(K[0]==="."&&H[0]===".")K.shift(),H.shift();let Y=new e_.Pattern(K,H,0,this.platform),Z=new dU.Minimatch(Y.globString(),this.mmopts),q=H[H.length-1]==="**",V=Y.isAbsolute();if(V)this.absolute.push(Z);else this.relative.push(Z);if(q)if(V)this.absoluteChildren.push(Z);else this.relativeChildren.push(Z)}}ignored(X){let Q=X.fullpath(),J=`${Q}/`,K=X.relative()||".",H=`${K}/`;for(let Y of this.relative)if(Y.match(K)||Y.match(H))return!0;for(let Y of this.absolute)if(Y.match(Q)||Y.match(J))return!0;return!1}childrenIgnored(X){let Q=X.fullpath()+"/",J=(X.relative()||".")+"/";for(let K of this.relativeChildren)if(K.match(J))return!0;for(let K of this.absoluteChildren)if(K.match(Q))return!0;return!1}}pU.Ignore=cU});var rU=N((iU)=>{Object.defineProperty(iU,"__esModule",{value:!0});iU.Processor=iU.SubWalks=iU.MatchRecord=iU.HasWalkedCache=void 0;var nU=f1();class Y4{store;constructor(X=new Map){this.store=X}copy(){return new Y4(new Map(this.store))}hasWalked(X,Q){return this.store.get(X.fullpath())?.has(Q.globString())}storeWalked(X,Q){let J=X.fullpath(),K=this.store.get(J);if(K)K.add(Q.globString());else this.store.set(J,new Set([Q.globString()]))}}iU.HasWalkedCache=Y4;class U2{store=new Map;add(X,Q,J){let K=(Q?2:0)|(J?1:0),H=this.store.get(X);this.store.set(X,H===void 0?K:K&H)}entries(){return[...this.store.entries()].map(([X,Q])=>[X,!!(Q&2),!!(Q&1)])}}iU.MatchRecord=U2;class W2{store=new Map;add(X,Q){if(!X.canReaddir())return;let J=this.store.get(X);if(J){if(!J.find((K)=>K.globString()===Q.globString()))J.push(Q)}else this.store.set(X,[Q])}get(X){let Q=this.store.get(X);if(!Q)throw Error("attempting to walk unknown path");return Q}entries(){return this.keys().map((X)=>[X,this.store.get(X)])}keys(){return[...this.store.keys()].filter((X)=>X.canReaddir())}}iU.SubWalks=W2;class G2{hasWalkedCache;matches=new U2;subwalks=new W2;patterns;follow;dot;opts;constructor(X,Q){this.opts=X,this.follow=!!X.follow,this.dot=!!X.dot,this.hasWalkedCache=Q?Q.copy():new Y4}processPatterns(X,Q){this.patterns=Q;let J=Q.map((K)=>[X,K]);for(let[K,H]of J){this.hasWalkedCache.storeWalked(K,H);let Y=H.root(),Z=H.isAbsolute()&&this.opts.absolute!==!1;if(Y){K=K.resolve(Y==="/"&&this.opts.root!==void 0?this.opts.root:Y);let W=H.rest();if(!W){this.matches.add(K,!0,!1);continue}else H=W}if(K.isENOENT())continue;let q,V,G=!1;while(typeof(q=H.pattern())==="string"&&(V=H.rest()))K=K.resolve(q),H=V,G=!0;if(q=H.pattern(),V=H.rest(),G){if(this.hasWalkedCache.hasWalked(K,H))continue;this.hasWalkedCache.storeWalked(K,H)}if(typeof q==="string"){let W=q===".."||q===""||q===".";this.matches.add(K.resolve(q),Z,W);continue}else if(q===nU.GLOBSTAR){if(!K.isSymbolicLink()||this.follow||H.checkFollowGlobstar())this.subwalks.add(K,H);let W=V?.pattern(),B=V?.rest();if(!V||(W===""||W===".")&&!B)this.matches.add(K,Z,W===""||W===".");else if(W===".."){let F=K.parent||K;if(!B)this.matches.add(F,Z,!0);else if(!this.hasWalkedCache.hasWalked(F,B))this.subwalks.add(F,B)}}else if(q instanceof RegExp)this.subwalks.add(K,H)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new G2(this.opts,this.hasWalkedCache)}filterEntries(X,Q){let J=this.subwalks.get(X),K=this.child();for(let H of Q)for(let Y of J){let Z=Y.isAbsolute(),q=Y.pattern(),V=Y.rest();if(q===nU.GLOBSTAR)K.testGlobstar(H,Y,V,Z);else if(q instanceof RegExp)K.testRegExp(H,q,V,Z);else K.testString(H,q,V,Z)}return K}testGlobstar(X,Q,J,K){if(this.dot||!X.name.startsWith(".")){if(!Q.hasMore())this.matches.add(X,K,!1);if(X.canReaddir()){if(this.follow||!X.isSymbolicLink())this.subwalks.add(X,Q);else if(X.isSymbolicLink()){if(J&&Q.checkFollowGlobstar())this.subwalks.add(X,J);else if(Q.markFollowGlobstar())this.subwalks.add(X,Q)}}}if(J){let H=J.pattern();if(typeof H==="string"&&H!==".."&&H!==""&&H!==".")this.testString(X,H,J.rest(),K);else if(H===".."){let Y=X.parent||X;this.subwalks.add(Y,J)}else if(H instanceof RegExp)this.testRegExp(X,H,J.rest(),K)}}testRegExp(X,Q,J,K){if(!Q.test(X.name))return;if(!J)this.matches.add(X,K,!1);else this.subwalks.add(X,J)}testString(X,Q,J,K){if(!X.isNamed(Q))return;if(!J)this.matches.add(X,K,!1);else this.subwalks.add(X,J)}}iU.Processor=G2});var JW=N((XW)=>{Object.defineProperty(XW,"__esModule",{value:!0});XW.GlobStream=XW.GlobWalker=XW.GlobUtil=void 0;var HA=Q2(),sU=V2(),aU=rU(),YA=(X,Q)=>typeof X==="string"?new sU.Ignore([X],Q):Array.isArray(X)?new sU.Ignore(X,Q):X;class Z4{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#X=[];#J;#H;signal;maxDepth;includeChildMatches;constructor(X,Q,J){if(this.patterns=X,this.path=Q,this.opts=J,this.#H=!J.posix&&J.platform==="win32"?"\\":"/",this.includeChildMatches=J.includeChildMatches!==!1,J.ignore||!this.includeChildMatches){if(this.#J=YA(J.ignore??[],J),!this.includeChildMatches&&typeof this.#J.add!=="function")throw Error("cannot ignore child matches, ignore lacks add() method.")}if(this.maxDepth=J.maxDepth||1/0,J.signal)this.signal=J.signal,this.signal.addEventListener("abort",()=>{this.#X.length=0})}#Q(X){return this.seen.has(X)||!!this.#J?.ignored?.(X)}#Z(X){return!!this.#J?.childrenIgnored?.(X)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let X=void 0;while(!this.paused&&(X=this.#X.shift()))X()}onResume(X){if(this.signal?.aborted)return;if(!this.paused)X();else this.#X.push(X)}async matchCheck(X,Q){if(Q&&this.opts.nodir)return;let J;if(this.opts.realpath){if(J=X.realpathCached()||await X.realpath(),!J)return;X=J}let H=X.isUnknown()||this.opts.stat?await X.lstat():X;if(this.opts.follow&&this.opts.nodir&&H?.isSymbolicLink()){let Y=await H.realpath();if(Y&&(Y.isUnknown()||this.opts.stat))await Y.lstat()}return this.matchCheckTest(H,Q)}matchCheckTest(X,Q){return X&&(this.maxDepth===1/0||X.depth()<=this.maxDepth)&&(!Q||X.canReaddir())&&(!this.opts.nodir||!X.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!X.isSymbolicLink()||!X.realpathCached()?.isDirectory())&&!this.#Q(X)?X:void 0}matchCheckSync(X,Q){if(Q&&this.opts.nodir)return;let J;if(this.opts.realpath){if(J=X.realpathCached()||X.realpathSync(),!J)return;X=J}let H=X.isUnknown()||this.opts.stat?X.lstatSync():X;if(this.opts.follow&&this.opts.nodir&&H?.isSymbolicLink()){let Y=H.realpathSync();if(Y&&(Y?.isUnknown()||this.opts.stat))Y.lstatSync()}return this.matchCheckTest(H,Q)}matchFinish(X,Q){if(this.#Q(X))return;if(!this.includeChildMatches&&this.#J?.add){let H=`${X.relativePosix()}/**`;this.#J.add(H)}let J=this.opts.absolute===void 0?Q:this.opts.absolute;this.seen.add(X);let K=this.opts.mark&&X.isDirectory()?this.#H:"";if(this.opts.withFileTypes)this.matchEmit(X);else if(J){let H=this.opts.posix?X.fullpathPosix():X.fullpath();this.matchEmit(H+K)}else{let H=this.opts.posix?X.relativePosix():X.relative(),Y=this.opts.dotRelative&&!H.startsWith(".."+this.#H)?"."+this.#H:"";this.matchEmit(!H?"."+K:Y+H+K)}}async match(X,Q,J){let K=await this.matchCheck(X,J);if(K)this.matchFinish(K,Q)}matchSync(X,Q,J){let K=this.matchCheckSync(X,J);if(K)this.matchFinish(K,Q)}walkCB(X,Q,J){if(this.signal?.aborted)J();this.walkCB2(X,Q,new aU.Processor(this.opts),J)}walkCB2(X,Q,J,K){if(this.#Z(X))return K();if(this.signal?.aborted)K();if(this.paused){this.onResume(()=>this.walkCB2(X,Q,J,K));return}J.processPatterns(X,Q);let H=1,Y=()=>{if(--H===0)K()};for(let[Z,q,V]of J.matches.entries()){if(this.#Q(Z))continue;H++,this.match(Z,q,V).then(()=>Y())}for(let Z of J.subwalkTargets()){if(this.maxDepth!==1/0&&Z.depth()>=this.maxDepth)continue;H++;let q=Z.readdirCached();if(Z.calledReaddir())this.walkCB3(Z,q,J,Y);else Z.readdirCB((V,G)=>this.walkCB3(Z,G,J,Y),!0)}Y()}walkCB3(X,Q,J,K){J=J.filterEntries(X,Q);let H=1,Y=()=>{if(--H===0)K()};for(let[Z,q,V]of J.matches.entries()){if(this.#Q(Z))continue;H++,this.match(Z,q,V).then(()=>Y())}for(let[Z,q]of J.subwalks.entries())H++,this.walkCB2(Z,q,J.child(),Y);Y()}walkCBSync(X,Q,J){if(this.signal?.aborted)J();this.walkCB2Sync(X,Q,new aU.Processor(this.opts),J)}walkCB2Sync(X,Q,J,K){if(this.#Z(X))return K();if(this.signal?.aborted)K();if(this.paused){this.onResume(()=>this.walkCB2Sync(X,Q,J,K));return}J.processPatterns(X,Q);let H=1,Y=()=>{if(--H===0)K()};for(let[Z,q,V]of J.matches.entries()){if(this.#Q(Z))continue;this.matchSync(Z,q,V)}for(let Z of J.subwalkTargets()){if(this.maxDepth!==1/0&&Z.depth()>=this.maxDepth)continue;H++;let q=Z.readdirSync();this.walkCB3Sync(Z,q,J,Y)}Y()}walkCB3Sync(X,Q,J,K){J=J.filterEntries(X,Q);let H=1,Y=()=>{if(--H===0)K()};for(let[Z,q,V]of J.matches.entries()){if(this.#Q(Z))continue;this.matchSync(Z,q,V)}for(let[Z,q]of J.subwalks.entries())H++,this.walkCB2Sync(Z,q,J.child(),Y);Y()}}XW.GlobUtil=Z4;class tU extends Z4{matches=new Set;constructor(X,Q,J){super(X,Q,J)}matchEmit(X){this.matches.add(X)}async walk(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown())await this.path.lstat();return await new Promise((X,Q)=>{this.walkCB(this.path,this.patterns,()=>{if(this.signal?.aborted)Q(this.signal.reason);else X(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown())this.path.lstatSync();return this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}}XW.GlobWalker=tU;class eU extends Z4{results;constructor(X,Q,J){super(X,Q,J);this.results=new HA.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(X){if(this.results.write(X),!this.results.flowing)this.pause()}stream(){let X=this.path;if(X.isUnknown())X.lstat().then(()=>{this.walkCB(X,this.patterns,()=>this.results.end())});else this.walkCB(X,this.patterns,()=>this.results.end());return this.results}streamSync(){if(this.path.isUnknown())this.path.lstatSync();return this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}}XW.GlobStream=eU});var z2=N((HW)=>{Object.defineProperty(HW,"__esModule",{value:!0});HW.Glob=void 0;var VA=f1(),UA=f("url"),q4=uU(),WA=q2(),V4=JW(),GA=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class KW{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(X,Q){if(!Q)throw TypeError("glob options required");if(this.withFileTypes=!!Q.withFileTypes,this.signal=Q.signal,this.follow=!!Q.follow,this.dot=!!Q.dot,this.dotRelative=!!Q.dotRelative,this.nodir=!!Q.nodir,this.mark=!!Q.mark,!Q.cwd)this.cwd="";else if(Q.cwd instanceof URL||Q.cwd.startsWith("file://"))Q.cwd=(0,UA.fileURLToPath)(Q.cwd);if(this.cwd=Q.cwd||"",this.root=Q.root,this.magicalBraces=!!Q.magicalBraces,this.nobrace=!!Q.nobrace,this.noext=!!Q.noext,this.realpath=!!Q.realpath,this.absolute=Q.absolute,this.includeChildMatches=Q.includeChildMatches!==!1,this.noglobstar=!!Q.noglobstar,this.matchBase=!!Q.matchBase,this.maxDepth=typeof Q.maxDepth==="number"?Q.maxDepth:1/0,this.stat=!!Q.stat,this.ignore=Q.ignore,this.withFileTypes&&this.absolute!==void 0)throw Error("cannot set absolute and withFileTypes:true");if(typeof X==="string")X=[X];if(this.windowsPathsNoEscape=!!Q.windowsPathsNoEscape||Q.allowWindowsEscape===!1,this.windowsPathsNoEscape)X=X.map((q)=>q.replace(/\\/g,"/"));if(this.matchBase){if(Q.noglobstar)throw TypeError("base matching requires globstar");X=X.map((q)=>q.includes("/")?q:`./**/${q}`)}if(this.pattern=X,this.platform=Q.platform||GA,this.opts={...Q,platform:this.platform},Q.scurry){if(this.scurry=Q.scurry,Q.nocase!==void 0&&Q.nocase!==Q.scurry.nocase)throw Error("nocase option contradicts provided scurry option")}else{let q=Q.platform==="win32"?q4.PathScurryWin32:Q.platform==="darwin"?q4.PathScurryDarwin:Q.platform?q4.PathScurryPosix:q4.PathScurry;this.scurry=new q(this.cwd,{nocase:Q.nocase,fs:Q.fs})}this.nocase=this.scurry.nocase;let J=this.platform==="darwin"||this.platform==="win32",K={...Q,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:J,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},H=this.pattern.map((q)=>new VA.Minimatch(q,K)),[Y,Z]=H.reduce((q,V)=>{return q[0].push(...V.set),q[1].push(...V.globParts),q},[[],[]]);this.patterns=Y.map((q,V)=>{let G=Z[V];if(!G)throw Error("invalid pattern object");return new WA.Pattern(q,G,0,this.platform)})}async walk(){return[...await new V4.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new V4.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new V4.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new V4.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}HW.Glob=KW});var B2=N((ZW)=>{Object.defineProperty(ZW,"__esModule",{value:!0});ZW.hasMagic=void 0;var zA=f1(),BA=(X,Q={})=>{if(!Array.isArray(X))X=[X];for(let J of X)if(new zA.Minimatch(J,Q).hasMagic())return!0;return!1};ZW.hasMagic=BA});var FW=N((B6)=>{Object.defineProperty(B6,"__esModule",{value:!0});B6.glob=B6.sync=B6.iterate=B6.iterateSync=B6.stream=B6.streamSync=B6.Ignore=B6.hasMagic=B6.Glob=B6.unescape=B6.escape=void 0;B6.globStreamSync=Y3;B6.globStream=$2;B6.globSync=M2;B6.globIterateSync=Z3;B6.globIterate=F2;var VW=f1(),z6=z2(),$A=B2(),WW=f1();Object.defineProperty(B6,"escape",{enumerable:!0,get:function(){return WW.escape}});Object.defineProperty(B6,"unescape",{enumerable:!0,get:function(){return WW.unescape}});var MA=z2();Object.defineProperty(B6,"Glob",{enumerable:!0,get:function(){return MA.Glob}});var FA=B2();Object.defineProperty(B6,"hasMagic",{enumerable:!0,get:function(){return FA.hasMagic}});var NA=V2();Object.defineProperty(B6,"Ignore",{enumerable:!0,get:function(){return NA.Ignore}});function Y3(X,Q={}){return new z6.Glob(X,Q).streamSync()}function $2(X,Q={}){return new z6.Glob(X,Q).stream()}function M2(X,Q={}){return new z6.Glob(X,Q).walkSync()}async function UW(X,Q={}){return new z6.Glob(X,Q).walk()}function Z3(X,Q={}){return new z6.Glob(X,Q).iterateSync()}function F2(X,Q={}){return new z6.Glob(X,Q).iterate()}B6.streamSync=Y3;B6.stream=Object.assign($2,{sync:Y3});B6.iterateSync=Z3;B6.iterate=Object.assign(F2,{sync:Z3});B6.sync=Object.assign(M2,{stream:Y3,iterate:Z3});B6.glob=Object.assign(UW,{glob:UW,globSync:M2,sync:B6.sync,globStream:$2,stream:B6.stream,globStreamSync:Y3,streamSync:B6.streamSync,globIterate:F2,iterate:B6.iterate,globIterateSync:Z3,iterateSync:B6.iterateSync,Glob:z6.Glob,hasMagic:$A.hasMagic,escape:VW.escape,unescape:VW.unescape});B6.glob.glob=B6.glob});var CW=N((Dy,IW)=>{var LW=p4(),t6=f("path"),N2=Qq(),OA=FV(),wA=_V(),DA=yV(),TA=FW(),$6=IW.exports={},NW=/[\/\\]/g,_A=function(X,Q){var J=[];return N2(X).forEach(function(K){var H=K.indexOf("!")===0;if(H)K=K.slice(1);var Y=Q(K);if(H)J=OA(J,Y);else J=wA(J,Y)}),J};$6.exists=function(){var X=t6.join.apply(t6,arguments);return LW.existsSync(X)};$6.expand=function(...X){var Q=DA(X[0])?X.shift():{},J=Array.isArray(X[0])?X[0]:X;if(J.length===0)return[];var K=_A(J,function(H){return TA.sync(H,Q)});if(Q.filter)K=K.filter(function(H){H=t6.join(Q.cwd||"",H);try{if(typeof Q.filter==="function")return Q.filter(H);else return LW.statSync(H)[Q.filter]()}catch(Y){return!1}});return K};$6.expandMapping=function(X,Q,J){J=Object.assign({rename:function(Y,Z){return t6.join(Y||"",Z)}},J);var K=[],H={};return $6.expand(J,X).forEach(function(Y){var Z=Y;if(J.flatten)Z=t6.basename(Z);if(J.ext)Z=Z.replace(/(\.[^\/]*)?$/,J.ext);var q=J.rename(Q,Z,J);if(J.cwd)Y=t6.join(J.cwd,Y);if(q=q.replace(NW,"/"),Y=Y.replace(NW,"/"),H[q])H[q].src.push(Y);else K.push({src:[Y],dest:q}),H[q]=K[K.length-1]}),K};$6.normalizeFilesArray=function(X){var Q=[];if(X.forEach(function(J){var K;if("src"in J||"dest"in J)Q.push(J)}),Q.length===0)return[];return Q=_(Q).chain().forEach(function(J){if(!("src"in J)||!J.src)return;if(Array.isArray(J.src))J.src=N2(J.src);else J.src=[J.src]}).map(function(J){var K=Object.assign({},J);if(delete K.src,delete K.dest,J.expand)return $6.expandMapping(J.src,J.dest,K).map(function(Y){var Z=Object.assign({},J);return Z.orig=Object.assign({},J),Z.src=Y.src,Z.dest=Y.dest,["expand","cwd","flatten","rename","ext"].forEach(function(q){delete Z[q]}),Z});var H=Object.assign({},J);if(H.orig=Object.assign({},J),"src"in H)Object.defineProperty(H,"src",{enumerable:!0,get:function Y(){var Z;if(!("result"in Y))Z=J.src,Z=Array.isArray(Z)?N2(Z):[Z],Y.result=$6.expand(K,Z);return Y.result}});if("dest"in H)H.dest=J.dest;return H}).flatten().value(),Q}});var e6=N((_y,OW)=>{var L2=p4(),PW=f("path"),AA=m3(),RA=$J(),jW=G5(),EA=oK(),Ty=f("stream").Stream,SA=U6().PassThrough,r0=OW.exports={};r0.file=CW();r0.collectStream=function(X,Q){var J=[],K=0;X.on("error",Q),X.on("data",function(H){J.push(H),K+=H.length}),X.on("end",function(){var H=Buffer.alloc(K),Y=0;J.forEach(function(Z){Z.copy(H,Y),Y+=Z.length}),Q(null,H)})};r0.dateify=function(X){if(X=X||new Date,X instanceof Date)X=X;else if(typeof X==="string")X=new Date(X);else X=new Date;return X};r0.defaults=function(X,Q,J){var K=arguments;return K[0]=K[0]||{},EA(...K)};r0.isStream=function(X){return AA(X)};r0.lazyReadStream=function(X){return new RA.Readable(function(){return L2.createReadStream(X)})};r0.normalizeInputSource=function(X){if(X===null)return Buffer.alloc(0);else if(typeof X==="string")return Buffer.from(X);else if(r0.isStream(X))return X.pipe(new SA);return X};r0.sanitizePath=function(X){return jW(X,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};r0.trailingSlashIt=function(X){return X.slice(-1)!=="/"?X+"/":X};r0.unixifyPath=function(X){return jW(X,!1).replace(/^\w+:/,"")};r0.walkdir=function(X,Q,J){var K=[];if(typeof Q==="function")J=Q,Q=X;L2.readdir(X,function(H,Y){var Z=0,q,V;if(H)return J(H);(function G(){if(q=Y[Z++],!q)return J(null,K);V=PW.join(X,q),L2.stat(V,function(W,B){if(K.push({path:V,relative:PW.relative(Q,V).replace(/\\/g,"/"),stats:B}),B&&B.isDirectory())r0.walkdir(V,Q,function(F,M){if(F)return J(F);M.forEach(function(C){K.push(C)}),G()});else G()})})()})}});var _W=N((DW,TW)=>{var xA=f("util"),vA={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function wW(X,Q){Error.captureStackTrace(this,this.constructor),this.message=vA[X]||X,this.code=X,this.data=Q}xA.inherits(wW,Error);DW=TW.exports=wW});var xW=N((Ay,SW)=>{var P2=f("fs"),RW=qQ(),AW=UQ(),I2=f("path"),C1=e6(),yA=f("util").inherits,P0=_W(),EW=U6().Transform,C2=process.platform==="win32",q0=function(X,Q){if(!(this instanceof q0))return new q0(X,Q);if(typeof X!=="string")Q=X,X="zip";Q=this.options=C1.defaults(Q,{highWaterMark:1048576,statConcurrency:4}),EW.call(this,Q),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=AW.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=AW.queue(this._onStatQueueTask.bind(this),Q.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]};yA(q0,EW);q0.prototype._abort=function(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()};q0.prototype._append=function(X,Q){Q=Q||{};var J={source:null,filepath:X};if(!Q.name)Q.name=X;if(Q.sourcePath=X,J.data=Q,this._entriesCount++,Q.stats&&Q.stats instanceof P2.Stats){if(J=this._updateQueueTaskWithStats(J,Q.stats),J){if(Q.stats.size)this._fsEntriesTotalBytes+=Q.stats.size;this._queue.push(J)}}else this._statQueue.push(J)};q0.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0};q0.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return!1;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())return this._finalize(),!0;return!1};q0.prototype._moduleAppend=function(X,Q,J){if(this._state.aborted){J();return}this._module.append(X,Q,function(K){if(this._task=null,this._state.aborted){this._shutdown();return}if(K){this.emit("error",K),setImmediate(J);return}if(this.emit("entry",Q),this._entriesProcessedCount++,Q.stats&&Q.stats.size)this._fsEntriesProcessedBytes+=Q.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(J)}.bind(this))};q0.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function")this._module.finalize();else if(typeof this._module.end==="function")this._module.end();else this.emit("error",new P0("NOENDMETHOD"))};q0.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};q0.prototype._moduleSupports=function(X){if(!this._module.supports||!this._module.supports[X])return!1;return this._module.supports[X]};q0.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};q0.prototype._normalizeEntryData=function(X,Q){if(X=C1.defaults(X,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),Q&&X.stats===!1)X.stats=Q;var J=X.type==="directory";if(X.name){if(typeof X.prefix==="string"&&X.prefix!=="")X.name=X.prefix+"/"+X.name,X.prefix=null;if(X.name=C1.sanitizePath(X.name),X.type!=="symlink"&&X.name.slice(-1)==="/")J=!0,X.type="directory";else if(J)X.name+="/"}if(typeof X.mode==="number")if(C2)X.mode&=511;else X.mode&=4095;else if(X.stats&&X.mode===null){if(C2)X.mode=X.stats.mode&511;else X.mode=X.stats.mode&4095;if(C2&&J)X.mode=493}else if(X.mode===null)X.mode=J?493:420;if(X.stats&&X.date===null)X.date=X.stats.mtime;else X.date=C1.dateify(X.date);return X};q0.prototype._onModuleError=function(X){this.emit("error",X)};q0.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize()};q0.prototype._onQueueTask=function(X,Q){var J=()=>{if(X.data.callback)X.data.callback();Q()};if(this._state.finalizing||this._state.finalized||this._state.aborted){J();return}this._task=X,this._moduleAppend(X.source,X.data,J)};q0.prototype._onStatQueueTask=function(X,Q){if(this._state.finalizing||this._state.finalized||this._state.aborted){Q();return}P2.lstat(X.filepath,function(J,K){if(this._state.aborted){setImmediate(Q);return}if(J){this._entriesCount--,this.emit("warning",J),setImmediate(Q);return}if(X=this._updateQueueTaskWithStats(X,K),X){if(K.size)this._fsEntriesTotalBytes+=K.size;this._queue.push(X)}setImmediate(Q)}.bind(this))};q0.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};q0.prototype._transform=function(X,Q,J){if(X)this._pointer+=X.length;J(null,X)};q0.prototype._updateQueueTaskWithStats=function(X,Q){if(Q.isFile())X.data.type="file",X.data.sourceType="stream",X.source=C1.lazyReadStream(X.filepath);else if(Q.isDirectory()&&this._moduleSupports("directory"))X.data.name=C1.trailingSlashIt(X.data.name),X.data.type="directory",X.data.sourcePath=C1.trailingSlashIt(X.filepath),X.data.sourceType="buffer",X.source=Buffer.concat([]);else if(Q.isSymbolicLink()&&this._moduleSupports("symlink")){var J=P2.readlinkSync(X.filepath),K=I2.dirname(X.filepath);X.data.type="symlink",X.data.linkname=I2.relative(K,I2.resolve(K,J)),X.data.sourceType="buffer",X.source=Buffer.concat([])}else{if(Q.isDirectory())this.emit("warning",new P0("DIRECTORYNOTSUPPORTED",X.data));else if(Q.isSymbolicLink())this.emit("warning",new P0("SYMLINKNOTSUPPORTED",X.data));else this.emit("warning",new P0("ENTRYNOTSUPPORTED",X.data));return null}return X.data=this._normalizeEntryData(X.data,Q),X};q0.prototype.abort=function(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this};q0.prototype.append=function(X,Q){if(this._state.finalize||this._state.aborted)return this.emit("error",new P0("QUEUECLOSED")),this;if(Q=this._normalizeEntryData(Q),typeof Q.name!=="string"||Q.name.length===0)return this.emit("error",new P0("ENTRYNAMEREQUIRED")),this;if(Q.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new P0("DIRECTORYNOTSUPPORTED",{name:Q.name})),this;if(X=C1.normalizeInputSource(X),Buffer.isBuffer(X))Q.sourceType="buffer";else if(C1.isStream(X))Q.sourceType="stream";else return this.emit("error",new P0("INPUTSTEAMBUFFERREQUIRED",{name:Q.name})),this;return this._entriesCount++,this._queue.push({data:Q,source:X}),this};q0.prototype.directory=function(X,Q,J){if(this._state.finalize||this._state.aborted)return this.emit("error",new P0("QUEUECLOSED")),this;if(typeof X!=="string"||X.length===0)return this.emit("error",new P0("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,Q===!1)Q="";else if(typeof Q!=="string")Q=X;var K=!1;if(typeof J==="function")K=J,J={};else if(typeof J!=="object")J={};var H={stat:!0,dot:!0};function Y(){this._pending--,this._maybeFinalize()}function Z(G){this.emit("error",G)}function q(G){V.pause();var W=!1,B=Object.assign({},J);B.name=G.relative,B.prefix=Q,B.stats=G.stat,B.callback=V.resume.bind(V);try{if(K){if(B=K(B),B===!1)W=!0;else if(typeof B!=="object")throw new P0("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:X})}}catch(F){this.emit("error",F);return}if(W){V.resume();return}this._append(G.absolute,B)}var V=RW(X,H);return V.on("error",Z.bind(this)),V.on("match",q.bind(this)),V.on("end",Y.bind(this)),this};q0.prototype.file=function(X,Q){if(this._state.finalize||this._state.aborted)return this.emit("error",new P0("QUEUECLOSED")),this;if(typeof X!=="string"||X.length===0)return this.emit("error",new P0("FILEFILEPATHREQUIRED")),this;return this._append(X,Q),this};q0.prototype.glob=function(X,Q,J){this._pending++,Q=C1.defaults(Q,{stat:!0,pattern:X});function K(){this._pending--,this._maybeFinalize()}function H(q){this.emit("error",q)}function Y(q){Z.pause();var V=Object.assign({},J);V.callback=Z.resume.bind(Z),V.stats=q.stat,V.name=q.relative,this._append(q.absolute,V)}var Z=RW(Q.cwd||".",Q);return Z.on("error",H.bind(this)),Z.on("match",Y.bind(this)),Z.on("end",K.bind(this)),this};q0.prototype.finalize=function(){if(this._state.aborted){var X=new P0("ABORTED");return this.emit("error",X),Promise.reject(X)}if(this._state.finalize){var Q=new P0("FINALIZING");return this.emit("error",Q),Promise.reject(Q)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var J=this;return new Promise(function(K,H){var Y;J._module.on("end",function(){if(!Y)K()}),J._module.on("error",function(Z){Y=!0,H(Z)})})};q0.prototype.setFormat=function(X){if(this._format)return this.emit("error",new P0("FORMATSET")),this;return this._format=X,this};q0.prototype.setModule=function(X){if(this._state.aborted)return this.emit("error",new P0("ABORTED")),this;if(this._state.module)return this.emit("error",new P0("MODULESET")),this;return this._module=X,this._modulePipe(),this};q0.prototype.symlink=function(X,Q,J){if(this._state.finalize||this._state.aborted)return this.emit("error",new P0("QUEUECLOSED")),this;if(typeof X!=="string"||X.length===0)return this.emit("error",new P0("SYMLINKFILEPATHREQUIRED")),this;if(typeof Q!=="string"||Q.length===0)return this.emit("error",new P0("SYMLINKTARGETREQUIRED",{filepath:X})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new P0("SYMLINKNOTSUPPORTED",{filepath:X})),this;var K={};if(K.type="symlink",K.name=X.replace(/\\/g,"/"),K.linkname=Q.replace(/\\/g,"/"),K.sourceType="buffer",typeof J==="number")K.mode=J;return this._entriesCount++,this._queue.push({data:K,source:Buffer.concat([])}),this};q0.prototype.pointer=function(){return this._pointer};q0.prototype.use=function(X){return this._streams.push(X),this};SW.exports=q0});var G4=N((Ry,vW)=>{var W4=vW.exports=function(){};W4.prototype.getName=function(){};W4.prototype.getSize=function(){};W4.prototype.getLastModifiedDate=function(){};W4.prototype.isDirectory=function(){}});var z4=N((Ey,yW)=>{var H1=yW.exports={};H1.dateToDos=function(X,Q){Q=Q||!1;var J=Q?X.getFullYear():X.getUTCFullYear();if(J<1980)return 2162688;else if(J>=2044)return 2141175677;var K={year:J,month:Q?X.getMonth():X.getUTCMonth(),date:Q?X.getDate():X.getUTCDate(),hours:Q?X.getHours():X.getUTCHours(),minutes:Q?X.getMinutes():X.getUTCMinutes(),seconds:Q?X.getSeconds():X.getUTCSeconds()};return K.year-1980<<25|K.month+1<<21|K.date<<16|K.hours<<11|K.minutes<<5|K.seconds/2};H1.dosToDate=function(X){return new Date((X>>25&127)+1980,(X>>21&15)-1,X>>16&31,X>>11&31,X>>5&63,(X&31)<<1)};H1.fromDosTime=function(X){return H1.dosToDate(X.readUInt32LE(0))};H1.getEightBytes=function(X){var Q=Buffer.alloc(8);return Q.writeUInt32LE(X%4294967296,0),Q.writeUInt32LE(X/4294967296|0,4),Q};H1.getShortBytes=function(X){var Q=Buffer.alloc(2);return Q.writeUInt16LE((X&65535)>>>0,0),Q};H1.getShortBytesValue=function(X,Q){return X.readUInt16LE(Q)};H1.getLongBytes=function(X){var Q=Buffer.alloc(4);return Q.writeUInt32LE((X&4294967295)>>>0,0),Q};H1.getLongBytesValue=function(X,Q){return X.readUInt32LE(Q)};H1.toDosTime=function(X){return H1.getLongBytes(H1.dateToDos(X))}});var j2=N((Sy,bW)=>{var kW=z4(),hW=8,gW=1,kA=4,hA=2,fW=64,uW=2048,k0=bW.exports=function(){if(!(this instanceof k0))return new k0;return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this};k0.prototype.encode=function(){return kW.getShortBytes((this.descriptor?hW:0)|(this.utf8?uW:0)|(this.encryption?gW:0)|(this.strongEncryption?fW:0))};k0.prototype.parse=function(X,Q){var J=kW.getShortBytesValue(X,Q),K=new k0;return K.useDataDescriptor((J&hW)!==0),K.useUTF8ForNames((J&uW)!==0),K.useStrongEncryption((J&fW)!==0),K.useEncryption((J&gW)!==0),K.setSlidingDictionarySize((J&hA)!==0?8192:4096),K.setNumberOfShannonFanoTrees((J&kA)!==0?3:2),K};k0.prototype.setNumberOfShannonFanoTrees=function(X){this.numberOfShannonFanoTrees=X};k0.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};k0.prototype.setSlidingDictionarySize=function(X){this.slidingDictionarySize=X};k0.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};k0.prototype.useDataDescriptor=function(X){this.descriptor=X};k0.prototype.usesDataDescriptor=function(){return this.descriptor};k0.prototype.useEncryption=function(X){this.encryption=X};k0.prototype.usesEncryption=function(){return this.encryption};k0.prototype.useStrongEncryption=function(X){this.strongEncryption=X};k0.prototype.usesStrongEncryption=function(){return this.strongEncryption};k0.prototype.useUTF8ForNames=function(X){this.utf8=X};k0.prototype.usesUTF8ForNames=function(){return this.utf8}});var dW=N((xy,mW)=>{mW.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var O2=N((vy,cW)=>{cW.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var w2=N((yy,oW)=>{var gA=f("util").inherits,fA=G5(),lW=G4(),nW=j2(),pW=dW(),p0=O2(),iW=z4(),r=oW.exports=function(X){if(!(this instanceof r))return new r(X);if(lW.call(this),this.platform=p0.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new nW,this.crc=0,this.time=-1,this.minver=p0.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,X)this.setName(X)};gA(r,lW);r.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};r.prototype.getComment=function(){return this.comment!==null?this.comment:""};r.prototype.getCompressedSize=function(){return this.csize};r.prototype.getCrc=function(){return this.crc};r.prototype.getExternalAttributes=function(){return this.exattr};r.prototype.getExtra=function(){return this.extra!==null?this.extra:p0.EMPTY};r.prototype.getGeneralPurposeBit=function(){return this.gpb};r.prototype.getInternalAttributes=function(){return this.inattr};r.prototype.getLastModifiedDate=function(){return this.getTime()};r.prototype.getLocalFileDataExtra=function(){return this.getExtra()};r.prototype.getMethod=function(){return this.method};r.prototype.getName=function(){return this.name};r.prototype.getPlatform=function(){return this.platform};r.prototype.getSize=function(){return this.size};r.prototype.getTime=function(){return this.time!==-1?iW.dosToDate(this.time):-1};r.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};r.prototype.getUnixMode=function(){return this.platform!==p0.PLATFORM_UNIX?0:this.getExternalAttributes()>>p0.SHORT_SHIFT&p0.SHORT_MASK};r.prototype.getVersionNeededToExtract=function(){return this.minver};r.prototype.setComment=function(X){if(Buffer.byteLength(X)!==X.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=X};r.prototype.setCompressedSize=function(X){if(X<0)throw Error("invalid entry compressed size");this.csize=X};r.prototype.setCrc=function(X){if(X<0)throw Error("invalid entry crc32");this.crc=X};r.prototype.setExternalAttributes=function(X){this.exattr=X>>>0};r.prototype.setExtra=function(X){this.extra=X};r.prototype.setGeneralPurposeBit=function(X){if(!(X instanceof nW))throw Error("invalid entry GeneralPurposeBit");this.gpb=X};r.prototype.setInternalAttributes=function(X){this.inattr=X};r.prototype.setMethod=function(X){if(X<0)throw Error("invalid entry compression method");this.method=X};r.prototype.setName=function(X,Q=!1){if(X=fA(X,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),Q)X=`/${X}`;if(Buffer.byteLength(X)!==X.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=X};r.prototype.setPlatform=function(X){this.platform=X};r.prototype.setSize=function(X){if(X<0)throw Error("invalid entry size");this.size=X};r.prototype.setTime=function(X,Q){if(!(X instanceof Date))throw Error("invalid entry time");this.time=iW.dateToDos(X,Q)};r.prototype.setUnixMode=function(X){X|=this.isDirectory()?p0.S_IFDIR:p0.S_IFREG;var Q=0;Q|=X<<p0.SHORT_SHIFT|(this.isDirectory()?p0.S_DOS_D:p0.S_DOS_A),this.setExternalAttributes(Q),this.mode=X&p0.MODE_MASK,this.platform=p0.PLATFORM_UNIX};r.prototype.setVersionNeededToExtract=function(X){this.minver=X};r.prototype.isDirectory=function(){return this.getName().slice(-1)==="/"};r.prototype.isUnixSymlink=function(){return(this.getUnixMode()&pW.FILE_TYPE_FLAG)===pW.LINK_FLAG};r.prototype.isZip64=function(){return this.csize>p0.ZIP64_MAGIC||this.size>p0.ZIP64_MAGIC}});var D2=N((hy,rW)=>{var ky=f("stream").Stream,uA=U6().PassThrough,bA=m3(),mA=rW.exports={};mA.normalizeInputSource=function(X){if(X===null)return Buffer.alloc(0);else if(typeof X==="string")return Buffer.from(X);else if(bA(X)&&!X._readableState){var Q=new uA;return X.pipe(Q),Q}return X}});var _2=N((gy,sW)=>{var dA=f("util").inherits,cA=m3(),T2=U6().Transform,pA=G4(),lA=D2(),s0=sW.exports=function(X){if(!(this instanceof s0))return new s0(X);T2.call(this,X),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};dA(s0,T2);s0.prototype._appendBuffer=function(X,Q,J){};s0.prototype._appendStream=function(X,Q,J){};s0.prototype._emitErrorCallback=function(X){if(X)this.emit("error",X)};s0.prototype._finish=function(X){};s0.prototype._normalizeEntry=function(X){};s0.prototype._transform=function(X,Q,J){J(null,X)};s0.prototype.entry=function(X,Q,J){if(Q=Q||null,typeof J!=="function")J=this._emitErrorCallback.bind(this);if(!(X instanceof pA)){J(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){J(Error("unacceptable entry after finish"));return}if(this._archive.processing){J(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry(X),this._entry=X,Q=lA.normalizeInputSource(Q),Buffer.isBuffer(Q))this._appendBuffer(X,Q,J);else if(cA(Q))this._appendStream(X,Q,J);else{this._archive.processing=!1,J(Error("input source must be valid Stream or Buffer instance"));return}return this};s0.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};s0.prototype.getBytesWritten=function(){return this.offset};s0.prototype.write=function(X,Q){if(X)this.offset+=X.length;return T2.prototype.write.call(this,X,Q)}});var B4=N((A2)=>{/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */var aW;(function(X){if(typeof DO_NOT_EXPORT_CRC>"u")if(typeof A2==="object")X(A2);else if(typeof define==="function"&&define.amd)define(function(){var Q={};return X(Q),Q});else X(aW={});else X(aW={})})(function(X){X.version="1.2.2";function Q(){var D=0,m=Array(256);for(var T=0;T!=256;++T)D=T,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,m[T]=D;return typeof Int32Array<"u"?new Int32Array(m):m}var J=Q();function K(D){var m=0,T=0,S=0,y=typeof Int32Array<"u"?new Int32Array(4096):Array(4096);for(S=0;S!=256;++S)y[S]=D[S];for(S=0;S!=256;++S){T=D[S];for(m=256+S;m<4096;m+=256)T=y[m]=T>>>8^D[T&255]}var l=[];for(S=1;S!=16;++S)l[S-1]=typeof Int32Array<"u"?y.subarray(S*256,S*256+256):y.slice(S*256,S*256+256);return l}var H=K(J),Y=H[0],Z=H[1],q=H[2],V=H[3],G=H[4],W=H[5],B=H[6],F=H[7],M=H[8],C=H[9],j=H[10],P=H[11],L=H[12],x=H[13],v=H[14];function h(D,m){var T=m^-1;for(var S=0,y=D.length;S<y;)T=T>>>8^J[(T^D.charCodeAt(S++))&255];return~T}function n(D,m){var T=m^-1,S=D.length-15,y=0;for(;y<S;)T=v[D[y++]^T&255]^x[D[y++]^T>>8&255]^L[D[y++]^T>>16&255]^P[D[y++]^T>>>24]^j[D[y++]]^C[D[y++]]^M[D[y++]]^F[D[y++]]^B[D[y++]]^W[D[y++]]^G[D[y++]]^V[D[y++]]^q[D[y++]]^Z[D[y++]]^Y[D[y++]]^J[D[y++]];S+=15;while(y<S)T=T>>>8^J[(T^D[y++])&255];return~T}function k(D,m){var T=m^-1;for(var S=0,y=D.length,l=0,t=0;S<y;)if(l=D.charCodeAt(S++),l<128)T=T>>>8^J[(T^l)&255];else if(l<2048)T=T>>>8^J[(T^(192|l>>6&31))&255],T=T>>>8^J[(T^(128|l&63))&255];else if(l>=55296&&l<57344)l=(l&1023)+64,t=D.charCodeAt(S++)&1023,T=T>>>8^J[(T^(240|l>>8&7))&255],T=T>>>8^J[(T^(128|l>>2&63))&255],T=T>>>8^J[(T^(128|t>>6&15|(l&3)<<4))&255],T=T>>>8^J[(T^(128|t&63))&255];else T=T>>>8^J[(T^(224|l>>12&15))&255],T=T>>>8^J[(T^(128|l>>6&63))&255],T=T>>>8^J[(T^(128|l&63))&255];return~T}X.table=J,X.bstr=h,X.buf=n,X.str=k})});var XG=N((uy,eW)=>{var{Transform:nA}=U6(),iA=B4();class tW extends nA{constructor(X){super(X);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform(X,Q,J){if(X)this.checksum=iA.buf(X,this.checksum)>>>0,this.rawSize+=X.length;J(null,X)}digest(X){let Q=Buffer.allocUnsafe(4);return Q.writeUInt32BE(this.checksum>>>0,0),X?Q.toString(X):Q}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}eW.exports=tW});var KG=N((by,JG)=>{var{DeflateRaw:oA}=f("zlib"),rA=B4();class QG extends oA{constructor(X){super(X);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push(X,Q){if(X)this.compressedSize+=X.length;return super.push(X,Q)}_transform(X,Q,J){if(X)this.checksum=rA.buf(X,this.checksum)>>>0,this.rawSize+=X.length;super._transform(X,Q,J)}digest(X){let Q=Buffer.allocUnsafe(4);return Q.writeUInt32BE(this.checksum>>>0,0),X?Q.toString(X):Q}hex(){return this.digest("hex").toUpperCase()}size(X=!1){if(X)return this.compressedSize;else return this.rawSize}}JG.exports=QG});var R2=N((my,HG)=>{HG.exports={CRC32Stream:XG(),DeflateCRC32Stream:KG()}});var qG=N((ly,ZG)=>{var sA=f("util").inherits,aA=B4(),{CRC32Stream:tA}=R2(),{DeflateCRC32Stream:eA}=R2(),YG=_2(),dy=w2(),cy=j2(),i=O2(),py=D2(),p=z4(),S0=ZG.exports=function(X){if(!(this instanceof S0))return new S0(X);X=this.options=this._defaults(X),YG.call(this,X),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:X.forceZip64,forceLocalTime:X.forceLocalTime}};sA(S0,YG);S0.prototype._afterAppend=function(X){if(this._entries.push(X),X.getGeneralPurposeBit().usesDataDescriptor())this._writeDataDescriptor(X);if(this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished)this._finish()};S0.prototype._appendBuffer=function(X,Q,J){if(Q.length===0)X.setMethod(i.METHOD_STORED);var K=X.getMethod();if(K===i.METHOD_STORED)X.setSize(Q.length),X.setCompressedSize(Q.length),X.setCrc(aA.buf(Q)>>>0);if(this._writeLocalFileHeader(X),K===i.METHOD_STORED){this.write(Q),this._afterAppend(X),J(null,X);return}else if(K===i.METHOD_DEFLATED){this._smartStream(X,J).end(Q);return}else{J(Error("compression method "+K+" not implemented"));return}};S0.prototype._appendStream=function(X,Q,J){X.getGeneralPurposeBit().useDataDescriptor(!0),X.setVersionNeededToExtract(i.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader(X);var K=this._smartStream(X,J);Q.once("error",function(H){K.emit("error",H),K.end()}),Q.pipe(K)};S0.prototype._defaults=function(X){if(typeof X!=="object")X={};if(typeof X.zlib!=="object")X.zlib={};if(typeof X.zlib.level!=="number")X.zlib.level=i.ZLIB_BEST_SPEED;return X.forceZip64=!!X.forceZip64,X.forceLocalTime=!!X.forceLocalTime,X};S0.prototype._finish=function(){if(this._archive.centralOffset=this.offset,this._entries.forEach(function(X){this._writeCentralFileHeader(X)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64())this._writeCentralDirectoryZip64();this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};S0.prototype._normalizeEntry=function(X){if(X.getMethod()===-1)X.setMethod(i.METHOD_DEFLATED);if(X.getMethod()===i.METHOD_DEFLATED)X.getGeneralPurposeBit().useDataDescriptor(!0),X.setVersionNeededToExtract(i.MIN_VERSION_DATA_DESCRIPTOR);if(X.getTime()===-1)X.setTime(new Date,this._archive.forceLocalTime);X._offsets={file:0,data:0,contents:0}};S0.prototype._smartStream=function(X,Q){var J=X.getMethod()===i.METHOD_DEFLATED,K=J?new eA(this.options.zlib):new tA,H=null;function Y(){var Z=K.digest().readUInt32BE(0);X.setCrc(Z),X.setSize(K.size()),X.setCompressedSize(K.size(!0)),this._afterAppend(X),Q(H,X)}return K.once("end",Y.bind(this)),K.once("error",function(Z){H=Z}),K.pipe(this,{end:!1}),K};S0.prototype._writeCentralDirectoryEnd=function(){var X=this._entries.length,Q=this._archive.centralLength,J=this._archive.centralOffset;if(this.isZip64())X=i.ZIP64_MAGIC_SHORT,Q=i.ZIP64_MAGIC,J=i.ZIP64_MAGIC;this.write(p.getLongBytes(i.SIG_EOCD)),this.write(i.SHORT_ZERO),this.write(i.SHORT_ZERO),this.write(p.getShortBytes(X)),this.write(p.getShortBytes(X)),this.write(p.getLongBytes(Q)),this.write(p.getLongBytes(J));var K=this.getComment(),H=Buffer.byteLength(K);this.write(p.getShortBytes(H)),this.write(K)};S0.prototype._writeCentralDirectoryZip64=function(){this.write(p.getLongBytes(i.SIG_ZIP64_EOCD)),this.write(p.getEightBytes(44)),this.write(p.getShortBytes(i.MIN_VERSION_ZIP64)),this.write(p.getShortBytes(i.MIN_VERSION_ZIP64)),this.write(i.LONG_ZERO),this.write(i.LONG_ZERO),this.write(p.getEightBytes(this._entries.length)),this.write(p.getEightBytes(this._entries.length)),this.write(p.getEightBytes(this._archive.centralLength)),this.write(p.getEightBytes(this._archive.centralOffset)),this.write(p.getLongBytes(i.SIG_ZIP64_EOCD_LOC)),this.write(i.LONG_ZERO),this.write(p.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(p.getLongBytes(1))};S0.prototype._writeCentralFileHeader=function(X){var Q=X.getGeneralPurposeBit(),J=X.getMethod(),K=X._offsets.file,H=X.getSize(),Y=X.getCompressedSize();if(X.isZip64()||K>i.ZIP64_MAGIC){H=i.ZIP64_MAGIC,Y=i.ZIP64_MAGIC,K=i.ZIP64_MAGIC,X.setVersionNeededToExtract(i.MIN_VERSION_ZIP64);var Z=Buffer.concat([p.getShortBytes(i.ZIP64_EXTRA_ID),p.getShortBytes(24),p.getEightBytes(X.getSize()),p.getEightBytes(X.getCompressedSize()),p.getEightBytes(X._offsets.file)],28);X.setExtra(Z)}this.write(p.getLongBytes(i.SIG_CFH)),this.write(p.getShortBytes(X.getPlatform()<<8|i.VERSION_MADEBY)),this.write(p.getShortBytes(X.getVersionNeededToExtract())),this.write(Q.encode()),this.write(p.getShortBytes(J)),this.write(p.getLongBytes(X.getTimeDos())),this.write(p.getLongBytes(X.getCrc())),this.write(p.getLongBytes(Y)),this.write(p.getLongBytes(H));var q=X.getName(),V=X.getComment(),G=X.getCentralDirectoryExtra();if(Q.usesUTF8ForNames())q=Buffer.from(q),V=Buffer.from(V);this.write(p.getShortBytes(q.length)),this.write(p.getShortBytes(G.length)),this.write(p.getShortBytes(V.length)),this.write(i.SHORT_ZERO),this.write(p.getShortBytes(X.getInternalAttributes())),this.write(p.getLongBytes(X.getExternalAttributes())),this.write(p.getLongBytes(K)),this.write(q),this.write(G),this.write(V)};S0.prototype._writeDataDescriptor=function(X){if(this.write(p.getLongBytes(i.SIG_DD)),this.write(p.getLongBytes(X.getCrc())),X.isZip64())this.write(p.getEightBytes(X.getCompressedSize())),this.write(p.getEightBytes(X.getSize()));else this.write(p.getLongBytes(X.getCompressedSize())),this.write(p.getLongBytes(X.getSize()))};S0.prototype._writeLocalFileHeader=function(X){var Q=X.getGeneralPurposeBit(),J=X.getMethod(),K=X.getName(),H=X.getLocalFileDataExtra();if(X.isZip64())Q.useDataDescriptor(!0),X.setVersionNeededToExtract(i.MIN_VERSION_ZIP64);if(Q.usesUTF8ForNames())K=Buffer.from(K);if(X._offsets.file=this.offset,this.write(p.getLongBytes(i.SIG_LFH)),this.write(p.getShortBytes(X.getVersionNeededToExtract())),this.write(Q.encode()),this.write(p.getShortBytes(J)),this.write(p.getLongBytes(X.getTimeDos())),X._offsets.data=this.offset,Q.usesDataDescriptor())this.write(i.LONG_ZERO),this.write(i.LONG_ZERO),this.write(i.LONG_ZERO);else this.write(p.getLongBytes(X.getCrc())),this.write(p.getLongBytes(X.getCompressedSize())),this.write(p.getLongBytes(X.getSize()));this.write(p.getShortBytes(K.length)),this.write(p.getShortBytes(H.length)),this.write(K),this.write(H),X._offsets.contents=this.offset};S0.prototype.getComment=function(X){return this._archive.comment!==null?this._archive.comment:""};S0.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>i.ZIP64_MAGIC_SHORT||this._archive.centralLength>i.ZIP64_MAGIC||this._archive.centralOffset>i.ZIP64_MAGIC};S0.prototype.setComment=function(X){this._archive.comment=X}});var E2=N((ny,VG)=>{VG.exports={ArchiveEntry:G4(),ZipArchiveEntry:w2(),ArchiveOutputStream:_2(),ZipArchiveOutputStream:qG()}});var WG=N((iy,UG)=>{var XR=f("util").inherits,x2=E2().ZipArchiveOutputStream,QR=E2().ZipArchiveEntry,S2=e6(),X8=UG.exports=function(X){if(!(this instanceof X8))return new X8(X);if(X=this.options=X||{},X.zlib=X.zlib||{},x2.call(this,X),typeof X.level==="number"&&X.level>=0)X.zlib.level=X.level,delete X.level;if(!X.forceZip64&&typeof X.zlib.level==="number"&&X.zlib.level===0)X.store=!0;if(X.namePrependSlash=X.namePrependSlash||!1,X.comment&&X.comment.length>0)this.setComment(X.comment)};XR(X8,x2);X8.prototype._normalizeFileData=function(X){X=S2.defaults(X,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var Q=X.type==="directory",J=X.type==="symlink";if(X.name){if(X.name=S2.sanitizePath(X.name),!J&&X.name.slice(-1)==="/")Q=!0,X.type="directory";else if(Q)X.name+="/"}if(Q||J)X.store=!0;return X.date=S2.dateify(X.date),X};X8.prototype.entry=function(X,Q,J){if(typeof J!=="function")J=this._emitErrorCallback.bind(this);if(Q=this._normalizeFileData(Q),Q.type!=="file"&&Q.type!=="directory"&&Q.type!=="symlink"){J(Error(Q.type+" entries not currently supported"));return}if(typeof Q.name!=="string"||Q.name.length===0){J(Error("entry name must be a non-empty string value"));return}if(Q.type==="symlink"&&typeof Q.linkname!=="string"){J(Error("entry linkname must be a non-empty string value when type equals symlink"));return}var K=new QR(Q.name);if(K.setTime(Q.date,this.options.forceLocalTime),Q.namePrependSlash)K.setName(Q.name,!0);if(Q.store)K.setMethod(0);if(Q.comment.length>0)K.setComment(Q.comment);if(Q.type==="symlink"&&typeof Q.mode!=="number")Q.mode=40960;if(typeof Q.mode==="number"){if(Q.type==="symlink")Q.mode|=40960;K.setUnixMode(Q.mode)}if(Q.type==="symlink"&&typeof Q.linkname==="string")X=Buffer.from(Q.linkname);return x2.prototype.entry.call(this,K,X,J)};X8.prototype.finalize=function(){this.finish()}});var zG=N((oy,GG)=>{var JR=WG(),KR=e6(),m1=function(X){if(!(this instanceof m1))return new m1(X);X=this.options=KR.defaults(X,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new JR(X)};m1.prototype.append=function(X,Q,J){this.engine.entry(X,Q,J)};m1.prototype.finalize=function(){this.engine.finalize()};m1.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};m1.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};m1.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};GG.exports=m1});var $G=N((ry,BG)=>{BG.exports=class{constructor(Q){if(!(Q>0)||(Q-1&Q)!==0)throw Error("Max size for a FixedFIFO should be a power of two");this.buffer=Array(Q),this.mask=Q-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(Q){if(this.buffer[this.top]!==void 0)return!1;return this.buffer[this.top]=Q,this.top=this.top+1&this.mask,!0}shift(){let Q=this.buffer[this.btm];if(Q===void 0)return;return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,Q}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===void 0}}});var v2=N((sy,FG)=>{var MG=$G();FG.exports=class{constructor(Q){this.hwm=Q||16,this.head=new MG(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(Q){if(this.length++,!this.head.push(Q)){let J=this.head;this.head=J.next=new MG(2*this.head.buffer.length),this.head.push(Q)}}shift(){if(this.length!==0)this.length--;let Q=this.tail.shift();if(Q===void 0&&this.tail.next){let J=this.tail.next;return this.tail.next=null,this.tail=J,this.tail.shift()}return Q}peek(){let Q=this.tail.peek();if(Q===void 0&&this.tail.next)return this.tail.next.peek();return Q}isEmpty(){return this.length===0}}});var Q8=N((ay,NG)=>{function HR(X){return Buffer.isBuffer(X)||X instanceof Uint8Array}function YR(X){return Buffer.isEncoding(X)}function ZR(X,Q,J){return Buffer.alloc(X,Q,J)}function qR(X){return Buffer.allocUnsafe(X)}function VR(X){return Buffer.allocUnsafeSlow(X)}function UR(X,Q){return Buffer.byteLength(X,Q)}function WR(X,Q){return Buffer.compare(X,Q)}function GR(X,Q){return Buffer.concat(X,Q)}function zR(X,Q,J,K,H){return G0(X).copy(Q,J,K,H)}function BR(X,Q){return G0(X).equals(Q)}function $R(X,Q,J,K,H){return G0(X).fill(Q,J,K,H)}function MR(X,Q,J){return Buffer.from(X,Q,J)}function FR(X,Q,J,K){return G0(X).includes(Q,J,K)}function NR(X,Q,J,K){return G0(X).indexOf(Q,J,K)}function LR(X,Q,J,K){return G0(X).lastIndexOf(Q,J,K)}function IR(X){return G0(X).swap16()}function CR(X){return G0(X).swap32()}function PR(X){return G0(X).swap64()}function G0(X){if(Buffer.isBuffer(X))return X;return Buffer.from(X.buffer,X.byteOffset,X.byteLength)}function jR(X,Q,J,K){return G0(X).toString(Q,J,K)}function OR(X,Q,J,K,H){return G0(X).write(Q,J,K,H)}function wR(X,Q){return G0(X).readDoubleBE(Q)}function DR(X,Q){return G0(X).readDoubleLE(Q)}function TR(X,Q){return G0(X).readFloatBE(Q)}function _R(X,Q){return G0(X).readFloatLE(Q)}function AR(X,Q){return G0(X).readInt32BE(Q)}function RR(X,Q){return G0(X).readInt32LE(Q)}function ER(X,Q){return G0(X).readUInt32BE(Q)}function SR(X,Q){return G0(X).readUInt32LE(Q)}function xR(X,Q,J){return G0(X).writeDoubleBE(Q,J)}function vR(X,Q,J){return G0(X).writeDoubleLE(Q,J)}function yR(X,Q,J){return G0(X).writeFloatBE(Q,J)}function kR(X,Q,J){return G0(X).writeFloatLE(Q,J)}function hR(X,Q,J){return G0(X).writeInt32BE(Q,J)}function gR(X,Q,J){return G0(X).writeInt32LE(Q,J)}function fR(X,Q,J){return G0(X).writeUInt32BE(Q,J)}function uR(X,Q,J){return G0(X).writeUInt32LE(Q,J)}NG.exports={isBuffer:HR,isEncoding:YR,alloc:ZR,allocUnsafe:qR,allocUnsafeSlow:VR,byteLength:UR,compare:WR,concat:GR,copy:zR,equals:BR,fill:$R,from:MR,includes:FR,indexOf:NR,lastIndexOf:LR,swap16:IR,swap32:CR,swap64:PR,toBuffer:G0,toString:jR,write:OR,readDoubleBE:wR,readDoubleLE:DR,readFloatBE:TR,readFloatLE:_R,readInt32BE:AR,readInt32LE:RR,readUInt32BE:ER,readUInt32LE:SR,writeDoubleBE:xR,writeDoubleLE:vR,writeFloatBE:yR,writeFloatLE:kR,writeInt32BE:hR,writeInt32LE:gR,writeUInt32BE:fR,writeUInt32LE:uR}});var IG=N((ty,LG)=>{var bR=Q8();LG.exports=class{constructor(Q){this.encoding=Q}get remaining(){return 0}decode(Q){return bR.toString(Q,this.encoding)}flush(){return""}}});var OG=N((ey,jG)=>{var CG=Q8();jG.exports=class{constructor(){this._reset()}get remaining(){return this.bytesSeen}decode(Q){if(Q.byteLength===0)return"";if(this.bytesNeeded===0&&PG(Q,0)===0)return this.bytesSeen=mR(Q),CG.toString(Q,"utf8");let J="",K=0;if(this.bytesNeeded>0){while(K<Q.byteLength){let Z=Q[K];if(Z<this.lowerBoundary||Z>this.upperBoundary){J+="\uFFFD",this._reset();break}if(this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|Z&63,this.bytesSeen++,K++,this.bytesSeen===this.bytesNeeded){J+=String.fromCodePoint(this.codePoint),this._reset();break}}if(this.bytesNeeded>0)return J}let H=PG(Q,K),Y=Q.byteLength-H;if(Y>K)J+=CG.toString(Q,"utf8",K,Y);for(let Z=Y;Z<Q.byteLength;Z++){let q=Q[Z];if(this.bytesNeeded===0){if(q<=127)this.bytesSeen=0,J+=String.fromCharCode(q);else if(q>=194&&q<=223)this.bytesNeeded=2,this.bytesSeen=1,this.codePoint=q&31;else if(q>=224&&q<=239){if(q===224)this.lowerBoundary=160;else if(q===237)this.upperBoundary=159;this.bytesNeeded=3,this.bytesSeen=1,this.codePoint=q&15}else if(q>=240&&q<=244){if(q===240)this.lowerBoundary=144;else if(q===244)this.upperBoundary=143;this.bytesNeeded=4,this.bytesSeen=1,this.codePoint=q&7}else this.bytesSeen=1,J+="\uFFFD";continue}if(q<this.lowerBoundary||q>this.upperBoundary){J+="\uFFFD",Z--,this._reset();continue}if(this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|q&63,this.bytesSeen++,this.bytesSeen===this.bytesNeeded)J+=String.fromCodePoint(this.codePoint),this._reset()}return J}flush(){let Q=this.bytesNeeded>0?"\uFFFD":"";return this._reset(),Q}_reset(){this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0,this.lowerBoundary=128,this.upperBoundary=191}};function PG(X,Q){let J=X.byteLength;if(J<=Q)return 0;let K=Math.max(Q,J-4),H=J-1;while(H>K&&(X[H]&192)===128)H--;if(H<Q)return 0;let Y=X[H],Z;if(Y<=127)return 0;if(Y>=194&&Y<=223)Z=2;else if(Y>=224&&Y<=239)Z=3;else if(Y>=240&&Y<=244)Z=4;else return 0;let q=J-H;return q<Z?q:0}function mR(X){let Q=X.byteLength;if(Q===0)return 0;let J=X[Q-1];if(J<=127)return 0;if((J&192)!==128)return 1;let K=Math.max(0,Q-4),H=Q-2;while(H>=K&&(X[H]&192)===128)H--;if(H<0)return 1;let Y=X[H],Z;if(Y>=194&&Y<=223)Z=2;else if(Y>=224&&Y<=239)Z=3;else if(Y>=240&&Y<=244)Z=4;else return 1;if(Q-H!==Z)return 1;if(Z>=3){let q=X[H+1];if(Y===224&&q<160)return 1;if(Y===237&&q>159)return 1;if(Y===240&&q<144)return 1;if(Y===244&&q>143)return 1}return 0}});var DG=N((Xk,wG)=>{var dR=IG(),cR=OG();wG.exports=class{constructor(Q="utf8"){switch(this.encoding=pR(Q),this.encoding){case"utf8":this.decoder=new cR;break;case"utf16le":case"base64":throw Error("Unsupported encoding: "+this.encoding);default:this.decoder=new dR(this.encoding)}}get remaining(){return this.decoder.remaining}push(Q){if(typeof Q==="string")return Q;return this.decoder.decode(Q)}write(Q){return this.push(Q)}end(Q){let J="";if(Q)J=this.push(Q);return J+=this.decoder.flush(),J}};function pR(X){switch(X=X.toLowerCase(),X){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 X;default:throw Error("Unknown encoding: "+X)}}});var u2=N((Qk,gG)=>{var{EventEmitter:lR}=f("events"),M4=Error("Stream was destroyed"),y2=Error("Premature close"),_G=v2(),nR=DG(),k2=typeof queueMicrotask>"u"?(X)=>global.process.nextTick(X):queueMicrotask,$4=Symbol.asyncIterator||Symbol("asyncIterator");class h2{constructor(X,{highWaterMark:Q=16384,map:J=null,mapWritable:K,byteLength:H,byteLengthWritable:Y}={}){this.stream=X,this.queue=new _G,this.highWaterMark=Q,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=Y||H||hG,this.map=K||J,this.afterWrite=rR.bind(this),this.afterUpdateNextTick=tR.bind(this)}get ending(){return(this.stream._duplexState&134217728)!==0}get ended(){return(this.stream._duplexState&8388608)!==0}push(X){if((this.stream._duplexState&142606350)!==0)return!1;if(this.map!==null)X=this.map(X);if(this.buffered+=this.byteLength(X),this.queue.push(X),this.buffered<this.highWaterMark)return this.stream._duplexState|=2097152,!0;return this.stream._duplexState|=6291456,!1}shift(){let X=this.queue.shift();if(this.buffered-=this.byteLength(X),this.buffered===0)this.stream._duplexState&=534773759;return X}end(X){if(typeof X==="function")this.stream.once("finish",X);else if(X!==void 0&&X!==null)this.push(X);this.stream._duplexState=(this.stream._duplexState|134217728)&535822335}autoBatch(X,Q){let J=[],K=this.stream;J.push(X);while((K._duplexState&270794767)===2359296)J.push(K._writableState.shift());if((K._duplexState&15)!==0)return Q(null);K._writev(J,Q)}update(){let X=this.stream;X._duplexState|=524288;do{while((X._duplexState&270794767)===2097152){let Q=this.shift();X._duplexState|=67371008,X._write(Q,this.afterWrite)}if((X._duplexState&1310720)===0)this.updateNonPrimary()}while(this.continueUpdate()===!0);X._duplexState&=536346623}updateNonPrimary(){let X=this.stream;if((X._duplexState&144965647)===134217728){X._duplexState=X._duplexState|262144,X._final(oR.bind(this));return}if((X._duplexState&14)===4){if((X._duplexState&33587200)===0)X._duplexState|=262160,X._destroy(SG.bind(this));return}if((X._duplexState&33587215)===1)X._duplexState=(X._duplexState|262160)&536870910,X._open(xG.bind(this))}continueUpdate(){if((this.stream._duplexState&33554432)===0)return!1;return this.stream._duplexState&=503316479,!0}updateCallback(){if((this.stream._duplexState&35127311)===1048576)this.update();else this.updateNextTick()}updateNextTick(){if((this.stream._duplexState&33554432)!==0)return;if(this.stream._duplexState|=33554432,(this.stream._duplexState&524288)===0)k2(this.afterUpdateNextTick)}}class AG{constructor(X,{highWaterMark:Q=16384,map:J=null,mapReadable:K,byteLength:H,byteLengthReadable:Y}={}){this.stream=X,this.queue=new _G,this.highWaterMark=Q===0?1:Q,this.buffered=0,this.readAhead=Q>0,this.error=null,this.pipeline=null,this.byteLength=Y||H||hG,this.map=K||J,this.pipeTo=null,this.afterRead=sR.bind(this),this.afterUpdateNextTick=aR.bind(this)}get ending(){return(this.stream._duplexState&1024)!==0}get ended(){return(this.stream._duplexState&16384)!==0}pipe(X,Q){if(this.pipeTo!==null)throw Error("Can only pipe to one destination");if(typeof Q!=="function")Q=null;if(this.stream._duplexState|=512,this.pipeTo=X,this.pipeline=new EG(this.stream,X,Q),Q)this.stream.on("error",TG);if(V3(X)){if(X._writableState.pipeline=this.pipeline,Q)X.on("error",TG);X.on("finish",this.pipeline.finished.bind(this.pipeline))}else{let J=this.pipeline.done.bind(this.pipeline,X),K=this.pipeline.done.bind(this.pipeline,X,null);X.on("error",J),X.on("close",K),X.on("finish",this.pipeline.finished.bind(this.pipeline))}X.on("drain",iR.bind(this)),this.stream.emit("piping",X),X.emit("pipe",this.stream)}push(X){let Q=this.stream;if(X===null)return this.highWaterMark=0,Q._duplexState=(Q._duplexState|1024)&536805311,!1;if(this.map!==null){if(X=this.map(X),X===null)return Q._duplexState&=536805375,this.buffered<this.highWaterMark}return this.buffered+=this.byteLength(X),this.queue.push(X),Q._duplexState=(Q._duplexState|128)&536805375,this.buffered<this.highWaterMark}shift(){let X=this.queue.shift();if(this.buffered-=this.byteLength(X),this.buffered===0)this.stream._duplexState&=536862591;return X}unshift(X){let Q=[this.map!==null?this.map(X):X];while(this.buffered>0)Q.push(this.shift());for(let J=0;J<Q.length-1;J++){let K=Q[J];this.buffered+=this.byteLength(K),this.queue.push(K)}this.push(Q[Q.length-1])}read(){let X=this.stream;if((X._duplexState&16527)===128){let Q=this.shift();if(this.pipeTo!==null&&this.pipeTo.write(Q)===!1)X._duplexState&=536870143;if((X._duplexState&2048)!==0)X.emit("data",Q);return Q}if(this.readAhead===!1)X._duplexState|=131072,this.updateNextTick();return null}drain(){let X=this.stream;while((X._duplexState&16527)===128&&(X._duplexState&768)!==0){let Q=this.shift();if(this.pipeTo!==null&&this.pipeTo.write(Q)===!1)X._duplexState&=536870143;if((X._duplexState&2048)!==0)X.emit("data",Q)}}update(){let X=this.stream;X._duplexState|=32;do{this.drain();while(this.buffered<this.highWaterMark&&(X._duplexState&214047)===131072)X._duplexState|=65552,X._read(this.afterRead),this.drain();if((X._duplexState&12431)===4224)X._duplexState|=8192,X.emit("readable");if((X._duplexState&80)===0)this.updateNonPrimary()}while(this.continueUpdate()===!0);X._duplexState&=536870879}updateNonPrimary(){let X=this.stream;if((X._duplexState&1167)===1024){if(X._duplexState=(X._duplexState|16384)&536869887,X.emit("end"),(X._duplexState&8405006)===8404992)X._duplexState|=4;if(this.pipeTo!==null)this.pipeTo.end()}if((X._duplexState&14)===4){if((X._duplexState&33587200)===0)X._duplexState|=262160,X._destroy(SG.bind(this));return}if((X._duplexState&33587215)===1)X._duplexState=(X._duplexState|262160)&536870910,X._open(xG.bind(this))}continueUpdate(){if((this.stream._duplexState&32768)===0)return!1;return this.stream._duplexState&=536838143,!0}updateCallback(){if((this.stream._duplexState&32879)===64)this.update();else this.updateNextTick()}updateNextTickIfOpen(){if((this.stream._duplexState&32769)!==0)return;if(this.stream._duplexState|=32768,(this.stream._duplexState&32)===0)k2(this.afterUpdateNextTick)}updateNextTick(){if((this.stream._duplexState&32768)!==0)return;if(this.stream._duplexState|=32768,(this.stream._duplexState&32)===0)k2(this.afterUpdateNextTick)}}class RG{constructor(X){this.data=null,this.afterTransform=XE.bind(X),this.afterFinal=null}}class EG{constructor(X,Q,J){this.from=X,this.to=Q,this.afterPipe=J,this.error=null,this.pipeToFinished=!1}finished(){this.pipeToFinished=!0}done(X,Q){if(Q)this.error=Q;if(X===this.to){if(this.to=null,this.from!==null){if((this.from._duplexState&16384)===0||!this.pipeToFinished)this.from.destroy(this.error||Error("Writable stream closed prematurely"));return}}if(X===this.from){if(this.from=null,this.to!==null){if((X._duplexState&16384)===0)this.to.destroy(this.error||Error("Readable stream closed before ending"));return}}if(this.afterPipe!==null)this.afterPipe(this.error);this.to=this.from=this.afterPipe=null}}function iR(){this.stream._duplexState|=512,this.updateCallback()}function oR(X){let Q=this.stream;if(X)Q.destroy(X);if((Q._duplexState&14)===0)Q._duplexState|=8388608,Q.emit("finish");if((Q._duplexState&8405006)===8404992)Q._duplexState|=4;if(Q._duplexState&=402391039,(Q._duplexState&524288)===0)this.update();else this.updateNextTick()}function SG(X){let Q=this.stream;if(!X&&this.error!==M4)X=this.error;if(X)Q.emit("error",X);Q._duplexState|=8,Q.emit("close");let{_readableState:J,_writableState:K}=Q;if(J!==null&&J.pipeline!==null)J.pipeline.done(Q,X);if(K!==null){while(K.drains!==null&&K.drains.length>0)K.drains.shift().resolve(!1);if(K.pipeline!==null)K.pipeline.done(Q,X)}}function rR(X){let Q=this.stream;if(X)Q.destroy(X);if(Q._duplexState&=469499903,this.drains!==null)eR(this.drains);if((Q._duplexState&6553615)===4194304){if(Q._duplexState&=532676607,(Q._duplexState&16777216)===16777216)Q.emit("drain")}this.updateCallback()}function sR(X){if(X)this.stream.destroy(X);if(this.stream._duplexState&=536870895,this.readAhead===!1&&(this.stream._duplexState&256)===0)this.stream._duplexState&=536739839;this.updateCallback()}function aR(){if((this.stream._duplexState&32)===0)this.stream._duplexState&=536838143,this.update()}function tR(){if((this.stream._duplexState&524288)===0)this.stream._duplexState&=503316479,this.update()}function eR(X){for(let Q=0;Q<X.length;Q++)if(--X[Q].writes===0)X.shift().resolve(!0),Q--}function xG(X){let Q=this.stream;if(X)Q.destroy(X);if((Q._duplexState&4)===0){if((Q._duplexState&17423)===0)Q._duplexState|=64;if((Q._duplexState&142606351)===0)Q._duplexState|=1048576;Q.emit("open")}if(Q._duplexState&=536608751,Q._writableState!==null)Q._writableState.updateCallback();if(Q._readableState!==null)Q._readableState.updateCallback()}function XE(X,Q){if(Q!==void 0&&Q!==null)this.push(Q);this._writableState.afterWrite(X)}function QE(X){if(this._readableState!==null){if(X==="data")this._duplexState|=133376,this._readableState.updateNextTick();if(X==="readable")this._duplexState|=4096,this._readableState.updateNextTick()}if(this._writableState!==null){if(X==="drain")this._duplexState|=16777216,this._writableState.updateNextTick()}}class F4 extends lR{constructor(X){super();if(this._duplexState=0,this._readableState=null,this._writableState=null,X){if(X.open)this._open=X.open;if(X.destroy)this._destroy=X.destroy;if(X.predestroy)this._predestroy=X.predestroy;if(X.signal)X.signal.addEventListener("abort",BE.bind(this))}this.on("newListener",QE)}_open(X){X(null)}_destroy(X){X(null)}_predestroy(){}get readable(){return this._readableState!==null?!0:void 0}get writable(){return this._writableState!==null?!0:void 0}get destroyed(){return(this._duplexState&8)!==0}get destroying(){return(this._duplexState&14)!==0}destroy(X){if((this._duplexState&14)===0){if(!X)X=M4;if(this._duplexState=(this._duplexState|4)&535822271,this._readableState!==null)this._readableState.highWaterMark=0,this._readableState.error=X;if(this._writableState!==null)this._writableState.highWaterMark=0,this._writableState.error=X;if(this._duplexState|=2,this._predestroy(),this._duplexState&=536870909,this._readableState!==null)this._readableState.updateNextTick();if(this._writableState!==null)this._writableState.updateNextTick()}}}class q3 extends F4{constructor(X){super(X);if(this._duplexState|=8519681,this._readableState=new AG(this,X),X){if(this._readableState.readAhead===!1)this._duplexState&=536739839;if(X.read)this._read=X.read;if(X.eagerOpen)this._readableState.updateNextTick();if(X.encoding)this.setEncoding(X.encoding)}}setEncoding(X){let Q=new nR(X),J=this._readableState.map||HE;return this._readableState.map=K,this;function K(H){let Y=Q.push(H);return Y===""&&(H.byteLength!==0||Q.remaining>0)?null:J(Y)}}_read(X){X(null)}pipe(X,Q){return this._readableState.updateNextTick(),this._readableState.pipe(X,Q),X}read(){return this._readableState.updateNextTick(),this._readableState.read()}push(X){return this._readableState.updateNextTickIfOpen(),this._readableState.push(X)}unshift(X){return this._readableState.updateNextTickIfOpen(),this._readableState.unshift(X)}resume(){return this._duplexState|=131328,this._readableState.updateNextTick(),this}pause(){return this._duplexState&=this._readableState.readAhead===!1?536739583:536870655,this}static _fromAsyncIterator(X,Q){let J,K=new q3({...Q,read(Y){X.next().then(H).then(Y.bind(null,null)).catch(Y)},predestroy(){J=X.return()},destroy(Y){if(!J)return Y(null);J.then(Y.bind(null,null)).catch(Y)}});return K;function H(Y){if(Y.done)K.push(null);else K.push(Y.value)}}static from(X,Q){if(WE(X))return X;if(X[$4])return this._fromAsyncIterator(X[$4](),Q);if(!Array.isArray(X))X=X===void 0?[]:[X];let J=0;return new q3({...Q,read(K){this.push(J===X.length?null:X[J++]),K(null)}})}static isBackpressured(X){return(X._duplexState&17422)!==0||X._readableState.buffered>=X._readableState.highWaterMark}static isPaused(X){return(X._duplexState&256)===0}[$4](){let X=this,Q=null,J=null,K=null;return this.on("error",(V)=>{Q=V}),this.on("readable",H),this.on("close",Y),{[$4](){return this},next(){return new Promise(function(V,G){J=V,K=G;let W=X.read();if(W!==null)Z(W);else if((X._duplexState&8)!==0)Z(null)})},return(){return q(null)},throw(V){return q(V)}};function H(){if(J!==null)Z(X.read())}function Y(){if(J!==null)Z(null)}function Z(V){if(K===null)return;if(Q)K(Q);else if(V===null&&(X._duplexState&16384)===0)K(M4);else J({value:V,done:V===null});K=J=null}function q(V){return X.destroy(V),new Promise((G,W)=>{if(X._duplexState&8)return G({value:void 0,done:!0});X.once("close",function(){if(V)W(V);else G({value:void 0,done:!0})})})}}}class g2 extends F4{constructor(X){super(X);if(this._duplexState|=16385,this._writableState=new h2(this,X),X){if(X.writev)this._writev=X.writev;if(X.write)this._write=X.write;if(X.final)this._final=X.final;if(X.eagerOpen)this._writableState.updateNextTick()}}cork(){this._duplexState|=268435456}uncork(){this._duplexState&=268435455,this._writableState.updateNextTick()}_writev(X,Q){Q(null)}_write(X,Q){this._writableState.autoBatch(X,Q)}_final(X){X(null)}static isBackpressured(X){return(X._duplexState&146800654)!==0}static drained(X){if(X.destroyed)return Promise.resolve(!1);let Q=X._writableState,K=($E(X)?Math.min(1,Q.queue.length):Q.queue.length)+(X._duplexState&67108864?1:0);if(K===0)return Promise.resolve(!0);if(Q.drains===null)Q.drains=[];return new Promise((H)=>{Q.drains.push({writes:K,resolve:H})})}write(X){return this._writableState.updateNextTick(),this._writableState.push(X)}end(X){return this._writableState.updateNextTick(),this._writableState.end(X),this}}class N4 extends q3{constructor(X){super(X);if(this._duplexState=1|this._duplexState&131072,this._writableState=new h2(this,X),X){if(X.writev)this._writev=X.writev;if(X.write)this._write=X.write;if(X.final)this._final=X.final}}cork(){this._duplexState|=268435456}uncork(){this._duplexState&=268435455,this._writableState.updateNextTick()}_writev(X,Q){Q(null)}_write(X,Q){this._writableState.autoBatch(X,Q)}_final(X){X(null)}write(X){return this._writableState.updateNextTick(),this._writableState.push(X)}end(X){return this._writableState.updateNextTick(),this._writableState.end(X),this}}class f2 extends N4{constructor(X){super(X);if(this._transformState=new RG(this),X){if(X.transform)this._transform=X.transform;if(X.flush)this._flush=X.flush}}_write(X,Q){if(this._readableState.buffered>=this._readableState.highWaterMark)this._transformState.data=X;else this._transform(X,this._transformState.afterTransform)}_read(X){if(this._transformState.data!==null){let Q=this._transformState.data;this._transformState.data=null,X(null),this._transform(Q,this._transformState.afterTransform)}else X(null)}destroy(X){if(super.destroy(X),this._transformState.data!==null)this._transformState.data=null,this._transformState.afterTransform()}_transform(X,Q){Q(null,X)}_flush(X){X(null)}_final(X){this._transformState.afterFinal=X,this._flush(JE.bind(this))}}class vG extends f2{}function JE(X,Q){let J=this._transformState.afterFinal;if(X)return J(X);if(Q!==null&&Q!==void 0)this.push(Q);this.push(null),J(null)}function KE(...X){return new Promise((Q,J)=>{return yG(...X,(K)=>{if(K)return J(K);Q()})})}function yG(X,...Q){let J=Array.isArray(X)?[...X,...Q]:[X,...Q],K=J.length&&typeof J[J.length-1]==="function"?J.pop():null;if(J.length<2)throw Error("Pipeline requires at least 2 streams");let H=J[0],Y=null,Z=null;for(let G=1;G<J.length;G++){if(Y=J[G],V3(H))H.pipe(Y,V);else q(H,!0,G>1,V),H.pipe(Y);H=Y}if(K){let G=!1,W=V3(Y)||!!(Y._writableState&&Y._writableState.autoDestroy);if(Y.on("error",(B)=>{if(Z===null)Z=B}),Y.on("finish",()=>{if(G=!0,!W)K(Z)}),W)Y.on("close",()=>K(Z||(G?null:y2)))}return Y;function q(G,W,B,F){G.on("error",F),G.on("close",M);function M(){if(W&&G._readableState&&!G._readableState.ended)return F(y2);if(B&&G._writableState&&!G._writableState.ended)return F(y2)}}function V(G){if(!G||Z)return;Z=G;for(let W of J)W.destroy(G)}}function HE(X){return X}function kG(X){return!!X._readableState||!!X._writableState}function V3(X){return typeof X._duplexState==="number"&&kG(X)}function YE(X){return!!X._readableState&&X._readableState.ending}function ZE(X){return!!X._readableState&&X._readableState.ended}function qE(X){return!!X._writableState&&X._writableState.ending}function VE(X){return!!X._writableState&&X._writableState.ended}function UE(X,Q={}){let J=X._readableState&&X._readableState.error||X._writableState&&X._writableState.error;return!Q.all&&J===M4?null:J}function WE(X){return V3(X)&&X.readable}function GE(X){return(X._duplexState&1)!==1||(X._duplexState&4)===4||(X._duplexState&33587200)!==0}function zE(X){return typeof X==="object"&&X!==null&&typeof X.byteLength==="number"}function hG(X){return zE(X)?X.byteLength:1024}function TG(){}function BE(){this.destroy(Error("Stream aborted."))}function $E(X){return X._writev!==g2.prototype._writev&&X._writev!==N4.prototype._writev}gG.exports={pipeline:yG,pipelinePromise:KE,isStream:kG,isStreamx:V3,isEnding:YE,isEnded:ZE,isFinishing:qE,isFinished:VE,isDisturbed:GE,getStreamError:UE,Stream:F4,Writable:g2,Readable:q3,Duplex:N4,Transform:f2,PassThrough:vG}});var m2=N((TE)=>{var K0=Q8(),fG=K0.from([117,115,116,97,114,0]),ME=K0.from([48,48]),FE=K0.from([117,115,116,97,114,32]),NE=K0.from([32,0]);TE.decodeLongPath=function(Q,J){return J8(Q,0,Q.length,J)};TE.encodePax=function(Q){let J="";if(Q.name)J+=b2(" path="+Q.name+`
14
+ `);if(Q.linkname)J+=b2(" linkpath="+Q.linkname+`
15
+ `);let K=Q.pax;if(K)for(let H in K)J+=b2(" "+H+"="+K[H]+`
16
+ `);return K0.from(J)};TE.decodePax=function(Q){let J={};while(Q.length){let K=0;while(K<Q.length&&Q[K]!==32)K++;let H=parseInt(K0.toString(Q.subarray(0,K)),10);if(!H)return J;let Y=K0.toString(Q.subarray(K+1,H-1)),Z=Y.indexOf("=");if(Z===-1)return J;J[Y.slice(0,Z)]=Y.slice(Z+1),Q=Q.subarray(H)}return J};TE.encode=function(Q){let J=K0.alloc(512),K=Q.name,H="";if(Q.typeflag===5&&K[K.length-1]!=="/")K+="/";if(K0.byteLength(K)!==K.length)return null;while(K0.byteLength(K)>100){let Y=K.indexOf("/");if(Y===-1)return null;H+=H?"/"+K.slice(0,Y):K.slice(0,Y),K=K.slice(Y+1)}if(K0.byteLength(K)>100||K0.byteLength(H)>155)return null;if(Q.linkname&&K0.byteLength(Q.linkname)>100)return null;if(K0.write(J,K),K0.write(J,c1(Q.mode&4095,6),100),K0.write(J,c1(Q.uid,6),108),K0.write(J,c1(Q.gid,6),116),wE(Q.size,J,124),K0.write(J,c1(Q.mtime.getTime()/1000|0,11),136),J[156]=48+jE(Q.type),Q.linkname)K0.write(J,Q.linkname,157);if(K0.copy(fG,J,257),K0.copy(ME,J,263),Q.uname)K0.write(J,Q.uname,265);if(Q.gname)K0.write(J,Q.gname,297);if(K0.write(J,c1(Q.devmajor||0,6),329),K0.write(J,c1(Q.devminor||0,6),337),H)K0.write(J,H,345);return K0.write(J,c1(bG(J),6),148),J};TE.decode=function(Q,J,K){let H=Q[156]===0?0:Q[156]-48,Y=J8(Q,0,100,J),Z=d1(Q,100,8),q=d1(Q,108,8),V=d1(Q,116,8),G=d1(Q,124,12),W=d1(Q,136,12),B=PE(H),F=Q[157]===0?null:J8(Q,157,100,J),M=J8(Q,265,32),C=J8(Q,297,32),j=d1(Q,329,8),P=d1(Q,337,8),L=bG(Q);if(L===256)return null;if(L!==d1(Q,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(LE(Q)){if(Q[345])Y=J8(Q,345,155,J)+"/"+Y}else if(IE(Q));else if(!K)throw Error("Invalid tar header: unknown format.");if(H===0&&Y&&Y[Y.length-1]==="/")H=5;return{name:Y,mode:Z,uid:q,gid:V,size:G,byteOffset:0,mtime:new Date(1000*W),type:B,linkname:F,uname:M,gname:C,devmajor:j,devminor:P,pax:null}};function LE(X){return K0.equals(fG,X.subarray(257,263))}function IE(X){return K0.equals(FE,X.subarray(257,263))&&K0.equals(NE,X.subarray(263,265))}function CE(X,Q,J){if(typeof X!=="number")return J;if(X=~~X,X>=Q)return Q;if(X>=0)return X;if(X+=Q,X>=0)return X;return 0}function PE(X){switch(X){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}function jE(X){switch(X){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}function uG(X,Q,J,K){for(;J<K;J++)if(X[J]===Q)return J;return K}function bG(X){let Q=256;for(let J=0;J<148;J++)Q+=X[J];for(let J=156;J<512;J++)Q+=X[J];return Q}function c1(X,Q){if(X=X.toString(8),X.length>Q)return"7777777777777777777".slice(0,Q)+" ";return"0000000000000000000".slice(0,Q-X.length)+X+" "}function OE(X,Q,J){Q[J]=128;for(let K=11;K>0;K--)Q[J+K]=X&255,X=Math.floor(X/256)}function wE(X,Q,J){if(X.toString(8).length>11)OE(X,Q,J);else K0.write(Q,c1(X,11),J)}function DE(X){let Q;if(X[0]===128)Q=!0;else if(X[0]===255)Q=!1;else return null;let J=[],K;for(K=X.length-1;K>0;K--){let Z=X[K];if(Q)J.push(Z);else J.push(255-Z)}let H=0,Y=J.length;for(K=0;K<Y;K++)H+=J[K]*Math.pow(256,K);return Q?H:-1*H}function d1(X,Q,J){if(X=X.subarray(Q,Q+J),Q=0,X[Q]&128)return DE(X);else{while(Q<X.length&&X[Q]===32)Q++;let K=CE(uG(X,32,Q,X.length),X.length,X.length);while(Q<K&&X[Q]===0)Q++;if(K===Q)return 0;return parseInt(K0.toString(X.subarray(Q,K)),8)}}function J8(X,Q,J,K){return K0.toString(X.subarray(Q,uG(X,0,Q,Q+J)),K)}function b2(X){let Q=K0.byteLength(X),J=Math.floor(Math.log(Q)/Math.log(10))+1;if(Q+J>=Math.pow(10,J))J++;return Q+J+X}});var oG=N((Kk,iG)=>{var{Writable:xE,Readable:vE,getStreamError:mG}=u2(),yE=v2(),dG=Q8(),K8=m2(),kE=dG.alloc(0);class cG{constructor(){this.buffered=0,this.shifted=0,this.queue=new yE,this._offset=0}push(X){this.buffered+=X.byteLength,this.queue.push(X)}shiftFirst(X){return this.buffered===0?null:this._next(X)}shift(X){if(X>this.buffered)return null;if(X===0)return kE;let Q=this._next(X);if(X===Q.byteLength)return Q;let J=[Q];while((X-=Q.byteLength)>0)Q=this._next(X),J.push(Q);return dG.concat(J)}_next(X){let Q=this.queue.peek(),J=Q.byteLength-this._offset;if(X>=J){let K=this._offset?Q.subarray(this._offset,Q.byteLength):Q;return this.queue.shift(),this._offset=0,this.buffered-=J,this.shifted+=J,K}return this.buffered-=X,this.shifted+=X,Q.subarray(this._offset,this._offset+=X)}}class pG extends vE{constructor(X,Q,J){super();this.header=Q,this.offset=J,this._parent=X}_read(X){if(this.header.size===0)this.push(null);if(this._parent._stream===this)this._parent._update();X(null)}_predestroy(){this._parent.destroy(mG(this))}_detach(){if(this._parent._stream===this)this._parent._stream=null,this._parent._missing=nG(this.header.size),this._parent._update()}_destroy(X){this._detach(),X(null)}}class lG extends xE{constructor(X){super(X);if(!X)X={};this._buffer=new cG,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=d2,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=X.filenameEncoding||"utf-8",this._allowUnknownFormat=!!X.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock(X){if(this._locked=!1,X){this.destroy(X),this._continueWrite(X);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=K8.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(X){return this._continueWrite(X),!1}if(!this._header)return!0;switch(this._header.byteOffset=this._buffer.shifted,this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":if(this._longHeader=!0,this._missing=this._header.size,this._missing>4194304)return this._continueWrite(Error("Header exceeds max size")),!1;return!0}if(this._locked=!0,this._applyLongHeaders(),!(this._header.size>=0))return this._continueWrite(Error("Invalid header")),!1;if(this._header.size===0||this._header.type==="directory")return this.emit("entry",this._header,this._createStream(),this._unlockBound),!0;return this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound),!0}_applyLongHeaders(){if(this._gnuLongPath)this._header.name=this._gnuLongPath,this._gnuLongPath=null;if(this._gnuLongLinkPath)this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null;if(this._pax){if(this._pax.path)this._header.name=this._pax.path;if(this._pax.linkpath)this._header.linkname=this._pax.linkpath;if(this._pax.size)this._header.size=parseInt(this._pax.size,10);this._header.pax=this._pax,this._pax=null}}_decodeLongHeader(X){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=K8.decodeLongPath(X,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=K8.decodeLongPath(X,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=K8.decodePax(X);break;case"pax-header":this._pax=this._paxGlobal===null?K8.decodePax(X):Object.assign({},this._paxGlobal,K8.decodePax(X));break}}_consumeLongHeader(){this._longHeader=!1,this._missing=nG(this._header.size);let X=this._buffer.shift(this._header.size);try{this._decodeLongHeader(X)}catch(Q){return this._continueWrite(Q),!1}return!0}_consumeStream(){let X=this._buffer.shiftFirst(this._missing);if(X===null)return!1;this._missing-=X.byteLength;let Q=this._stream.push(X);if(this._missing===0){if(this._stream.push(null),Q)this._stream._detach();return Q&&this._locked===!1}return Q}_createStream(){return new pG(this,this._header,this._offset)}_update(){while(this._buffer.buffered>0&&!this.destroying){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===!1)return;continue}if(this._longHeader===!0){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===!1)return!1;continue}let X=this._buffer.shiftFirst(this._missing);if(X!==null)this._missing-=X.byteLength;continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===!1)return}this._continueWrite(null)}_continueWrite(X){let Q=this._callback;this._callback=d2,Q(X)}_write(X,Q){this._callback=Q,this._buffer.push(X),this._update()}_final(X){this._finished=this._missing===0&&this._buffer.buffered===0,X(this._finished?null:Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(X){if(this._stream)this._stream.destroy(mG(this));X(null)}[Symbol.asyncIterator](){let X=null,Q=null,J=null,K=null,H=null,Y=this;return this.on("entry",V),this.on("error",(B)=>{X=B}),this.on("close",G),{[Symbol.asyncIterator](){return this},next(){return new Promise(q)},return(){return W(null)},throw(B){return W(B)}};function Z(B){if(!H)return;let F=H;H=null,F(B)}function q(B,F){if(X)return F(X);if(K){B({value:K,done:!1}),K=null;return}if(Q=B,J=F,Z(null),Y._finished&&Q)Q({value:void 0,done:!0}),Q=J=null}function V(B,F,M){if(H=M,F.on("error",d2),Q)Q({value:F,done:!1}),Q=J=null;else K=F}function G(){if(Z(X),!Q)return;if(X)J(X);else Q({value:void 0,done:!0});Q=J=null}function W(B){return Y.destroy(B),Z(B),new Promise((F,M)=>{if(Y.destroyed)return F({value:void 0,done:!0});Y.once("close",function(){if(B)M(B);else F({value:void 0,done:!0})})})}}}iG.exports=function(Q){return new lG(Q)};function d2(){}function nG(X){return X&=511,X&&512-X}});var sG=N((Hk,c2)=>{var rG={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{c2.exports=f("fs").constants||rG}catch{c2.exports=rG}});var Kz=N((Yk,Jz)=>{var{Readable:hE,Writable:gE,getStreamError:aG}=u2(),M6=Q8(),H8=sG(),L4=m2(),tG=M6.alloc(1024);class eG extends gE{constructor(X,Q,J){super({mapWritable:uE,eagerOpen:!0});if(this.written=0,this.header=Q,this._callback=J,this._linkname=null,this._isLinkname=Q.type==="symlink"&&!Q.linkname,this._isVoid=Q.type!=="file"&&Q.type!=="contiguous-file",this._finished=!1,this._pack=X,this._openCallback=null,this._pack._stream===null)this._pack._stream=this;else this._pack._pending.push(this)}_open(X){if(this._openCallback=X,this._pack._stream===this)this._continueOpen()}_continuePack(X){if(this._callback===null)return;let Q=this._callback;this._callback=null,Q(X)}_continueOpen(){if(this._pack._stream===null)this._pack._stream=this;let X=this._openCallback;if(this._openCallback=null,X===null)return;if(this._pack.destroying)return X(Error("pack stream destroyed"));if(this._pack._finalized)return X(Error("pack stream is already finalized"));if(this._pack._stream=this,!this._isLinkname)this._pack._encode(this.header);if(this._isVoid)this._finish(),this._continuePack(null);X(null)}_write(X,Q){if(this._isLinkname)return this._linkname=this._linkname?M6.concat([this._linkname,X]):X,Q(null);if(this._isVoid){if(X.byteLength>0)return Q(Error("No body allowed for this entry"));return Q()}if(this.written+=X.byteLength,this._pack.push(X))return Q();this._pack._drain=Q}_finish(){if(this._finished)return;if(this._finished=!0,this._isLinkname)this.header.linkname=this._linkname?M6.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header);Qz(this._pack,this.header.size),this._pack._done(this)}_final(X){if(this.written!==this.header.size)return X(Error("Size mismatch"));this._finish(),X(null)}_getError(){return aG(this)||Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(X){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),X()}}class Xz extends hE{constructor(X){super(X);this._drain=p2,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry(X,Q,J){if(this._finalized||this.destroying)throw Error("already finalized or destroyed");if(typeof Q==="function")J=Q,Q=null;if(!J)J=p2;if(!X.size||X.type==="symlink")X.size=0;if(!X.type)X.type=fE(X.mode);if(!X.mode)X.mode=X.type==="directory"?493:420;if(!X.uid)X.uid=0;if(!X.gid)X.gid=0;if(!X.mtime)X.mtime=new Date;if(typeof Q==="string")Q=M6.from(Q);let K=new eG(this,X,J);if(M6.isBuffer(Q))return X.size=Q.byteLength,K.write(Q),K.end(),K;if(K._isVoid)return K;return K}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}if(this._finalized)return;this._finalized=!0,this.push(tG),this.push(null)}_done(X){if(X!==this._stream)return;if(this._stream=null,this._finalizing)this.finalize();if(this._pending.length)this._pending.shift()._continueOpen()}_encode(X){if(!X.pax){let Q=L4.encode(X);if(Q){this.push(Q);return}}this._encodePax(X)}_encodePax(X){let Q=L4.encodePax({name:X.name,linkname:X.linkname,pax:X.pax}),J={name:"PaxHeader",mode:X.mode,uid:X.uid,gid:X.gid,size:Q.byteLength,mtime:X.mtime,type:"pax-header",linkname:X.linkname&&"PaxHeader",uname:X.uname,gname:X.gname,devmajor:X.devmajor,devminor:X.devminor};this.push(L4.encode(J)),this.push(Q),Qz(this,Q.byteLength),J.size=X.size,J.type=X.type,this.push(L4.encode(J))}_doDrain(){let X=this._drain;this._drain=p2,X()}_predestroy(){let X=aG(this);if(this._stream)this._stream.destroy(X);while(this._pending.length){let Q=this._pending.shift();Q.destroy(X),Q._continueOpen()}this._doDrain()}_read(X){this._doDrain(),X()}}Jz.exports=function(Q){return new Xz(Q)};function fE(X){switch(X&H8.S_IFMT){case H8.S_IFBLK:return"block-device";case H8.S_IFCHR:return"character-device";case H8.S_IFDIR:return"directory";case H8.S_IFIFO:return"fifo";case H8.S_IFLNK:return"symlink"}return"file"}function p2(){}function Qz(X,Q){if(Q&=511,Q)X.push(tG.subarray(0,512-Q))}function uE(X){return M6.isBuffer(X)?X:M6.from(X)}});var Hz=N((bE)=>{bE.extract=oG();bE.pack=Kz()});var qz=N((qk,Zz)=>{var cE=f("zlib"),pE=Hz(),Yz=e6(),S1=function(X){if(!(this instanceof S1))return new S1(X);if(X=this.options=Yz.defaults(X,{gzip:!1}),typeof X.gzipOptions!=="object")X.gzipOptions={};if(this.supports={directory:!0,symlink:!0},this.engine=pE.pack(X),this.compressor=!1,X.gzip)this.compressor=cE.createGzip(X.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this))};S1.prototype._onCompressorError=function(X){this.engine.emit("error",X)};S1.prototype.append=function(X,Q,J){var K=this;Q.mtime=Q.date;function H(Z,q){if(Z){J(Z);return}K.engine.entry(Q,q,function(V){J(V,Q)})}if(Q.sourceType==="buffer")H(null,X);else if(Q.sourceType==="stream"&&Q.stats){Q.size=Q.stats.size;var Y=K.engine.entry(Q,function(Z){J(Z,Q)});X.pipe(Y)}else if(Q.sourceType==="stream")Yz.collectStream(X,H)};S1.prototype.finalize=function(){this.engine.finalize()};S1.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};S1.prototype.pipe=function(X,Q){if(this.compressor)return this.engine.pipe.apply(this.engine,[this.compressor]).pipe(X,Q);else return this.engine.pipe.apply(this.engine,arguments)};S1.prototype.unpipe=function(){if(this.compressor)return this.compressor.unpipe.apply(this.compressor,arguments);else return this.engine.unpipe.apply(this.engine,arguments)};Zz.exports=S1});var Wz=N((Vk,Uz)=>{function lE(X){return X&&X.__esModule&&Object.prototype.hasOwnProperty.call(X,"default")?X.default:X}var nE=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function Vz(X){if(Buffer.isBuffer(X))return X;if(typeof X==="number")return Buffer.alloc(X);else if(typeof X==="string")return Buffer.from(X);else throw Error("input must be buffer, number, or string, received "+typeof X)}function iE(X){let Q=Vz(4);return Q.writeInt32BE(X,0),Q}function l2(X,Q){if(X=Vz(X),Buffer.isBuffer(Q))Q=Q.readUInt32BE(0);let J=~~Q^-1;for(var K=0;K<X.length;K++)J=nE[(J^X[K])&255]^J>>>8;return J^-1}function n2(){return iE(l2.apply(null,arguments))}n2.signed=function(){return l2.apply(null,arguments)};n2.unsigned=function(){return l2.apply(null,arguments)>>>0};var oE=n2,rE=lE(oE);Uz.exports=rE});var $z=N((Uk,Bz)=>{var sE=f("util").inherits,Gz=U6().Transform,aE=Wz(),zz=e6(),p1=function(X){if(!(this instanceof p1))return new p1(X);X=this.options=zz.defaults(X,{}),Gz.call(this,X),this.supports={directory:!0,symlink:!0},this.files=[]};sE(p1,Gz);p1.prototype._transform=function(X,Q,J){J(null,X)};p1.prototype._writeStringified=function(){var X=JSON.stringify(this.files);this.write(X)};p1.prototype.append=function(X,Q,J){var K=this;Q.crc32=0;function H(Y,Z){if(Y){J(Y);return}Q.size=Z.length||0,Q.crc32=aE.unsigned(Z),K.files.push(Q),J(null,Q)}if(Q.sourceType==="buffer")H(null,X);else if(Q.sourceType==="stream")zz.collectStream(X,H)};p1.prototype.finalize=function(){this._writeStringified(),this.end()};Bz.exports=p1});var eE=N((Wk,Mz)=>{var tE=xW(),U3={},l1=function(X,Q){return l1.create(X,Q)};l1.create=function(X,Q){if(U3[X]){var J=new tE(X,Q);return J.setFormat(X),J.setModule(new U3[X](Q)),J}else throw Error("create("+X+"): format not registered")};l1.registerFormat=function(X,Q){if(U3[X])throw Error("register("+X+"): format already registered");if(typeof Q!=="function")throw Error("register("+X+"): format module invalid");if(typeof Q.prototype.append!=="function"||typeof Q.prototype.finalize!=="function")throw Error("register("+X+"): format module missing methods");U3[X]=Q};l1.isRegisteredFormat=function(X){if(U3[X])return!0;return!1};l1.registerFormat("zip",zG());l1.registerFormat("tar",qz());l1.registerFormat("json",$z());Mz.exports=l1});export default eE();