@turbo/codemod 1.10.16 → 1.10.17-canary.1
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.
- package/dist/cli.js +49 -215
- package/dist/transforms/add-package-manager.js +45 -211
- package/dist/transforms/clean-globs.js +100 -112
- package/dist/transforms/create-turbo-config.js +87 -99
- package/dist/transforms/migrate-env-var-dependencies.js +100 -112
- package/dist/transforms/set-default-outputs.js +100 -112
- package/dist/transforms/stabilize-env-mode.js +100 -112
- package/dist/transforms/transform-env-literals-to-wildcards.js +100 -112
- package/package.json +5 -5
@@ -1,118 +1,106 @@
|
|
1
|
-
"use strict";var js=Object.create;var Je=Object.defineProperty;var Ms=Object.getOwnPropertyDescriptor;var $s=Object.getOwnPropertyNames;var Hs=Object.getPrototypeOf,Us=Object.prototype.hasOwnProperty;var qs=(t,l)=>{for(var n in l)Je(t,n,{get:l[n],enumerable:!0})},An=(t,l,n,s)=>{if(l&&typeof l=="object"||typeof l=="function")for(let i of $s(l))!Us.call(t,i)&&i!==n&&Je(t,i,{get:()=>l[i],enumerable:!(s=Ms(l,i))||s.enumerable});return t};var Yt=(t,l,n)=>(n=t!=null?js(Hs(t)):{},An(l||!t||!t.__esModule?Je(n,"default",{value:t,enumerable:!0}):n,t)),Gs=t=>An(Je({},"__esModule",{value:!0}),t);var Lp={};qs(Lp,{default:()=>Pp,hasLegacyEnvVarDependencies:()=>wn,migrateConfig:()=>Dn,migrateDependencies:()=>Sn,migrateGlobal:()=>Ls,migratePipeline:()=>Ps,transformer:()=>Is});module.exports=Gs(Lp);var _n=Yt(require("path")),Ve=require("fs-extra");var zs=Object.create,_r=Object.defineProperty,Ws=Object.getOwnPropertyDescriptor,Vs=Object.getOwnPropertyNames,Ks=Object.getPrototypeOf,Ys=Object.prototype.hasOwnProperty,Z=(t=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(t,{get:(l,n)=>(typeof require!="undefined"?require:l)[n]}):t)(function(t){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+t+'" is not supported')}),Js=(t,l)=>()=>(t&&(l=t(t=0)),l),N=(t,l)=>()=>(l||t((l={exports:{}}).exports,l),l.exports),Cn=(t,l)=>{for(var n in l)_r(t,n,{get:l[n],enumerable:!0})},Zs=(t,l,n,s)=>{if(l&&typeof l=="object"||typeof l=="function")for(let i of Vs(l))!Ys.call(t,i)&&i!==n&&_r(t,i,{get:()=>l[i],enumerable:!(s=Ws(l,i))||s.enumerable});return t},Ot=(t,l,n)=>(n=t!=null?zs(Ks(t)):{},Zs(l||!t||!t.__esModule?_r(n,"default",{value:t,enumerable:!0}):n,t)),B=Js(()=>{});var Xs=N((t,l)=>{"use strict";B();var n=(s,i)=>{for(let p of Reflect.ownKeys(i))Object.defineProperty(s,p,Object.getOwnPropertyDescriptor(i,p));return s};l.exports=n,l.exports.default=n}),Ze=N((t,l)=>{"use strict";B();var n=Xs(),s=new WeakMap,i=(p,u={})=>{if(typeof p!="function")throw new TypeError("Expected a function");let r,e=0,f=p.displayName||p.name||"<anonymous>",a=function(...c){if(s.set(a,++e),e===1)r=p.apply(this,c),p=null;else if(u.throw===!0)throw new Error(`Function \`${f}\` can only be called once`);return r};return n(a,p),s.set(a,e),a};l.exports=i,l.exports.default=i,l.exports.callCount=p=>{if(!s.has(p))throw new Error(`The given function \`${p.name}\` is not wrapped by the \`onetime\` package`);return s.get(p)}}),Qs=N((t,l)=>{B(),l.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],process.platform!=="win32"&&l.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),process.platform==="linux"&&l.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}),Xe=N((t,l)=>{B();var n=global.process,s=function(g){return g&&typeof g=="object"&&typeof g.removeListener=="function"&&typeof g.emit=="function"&&typeof g.reallyExit=="function"&&typeof g.listeners=="function"&&typeof g.kill=="function"&&typeof g.pid=="number"&&typeof g.on=="function"};s(n)?(i=Z("assert"),p=Qs(),u=/^win/i.test(n.platform),r=Z("events"),typeof r!="function"&&(r=r.EventEmitter),n.__signal_exit_emitter__?e=n.__signal_exit_emitter__:(e=n.__signal_exit_emitter__=new r,e.count=0,e.emitted={}),e.infinite||(e.setMaxListeners(1/0),e.infinite=!0),l.exports=function(g,D){if(!s(global.process))return function(){};i.equal(typeof g,"function","a callback must be provided for exit handler"),o===!1&&d();var w="exit";D&&D.alwaysLast&&(w="afterexit");var v=function(){e.removeListener(w,g),e.listeners("exit").length===0&&e.listeners("afterexit").length===0&&f()};return e.on(w,g),v},f=function(){!o||!s(global.process)||(o=!1,p.forEach(function(g){try{n.removeListener(g,c[g])}catch{}}),n.emit=b,n.reallyExit=h,e.count-=1)},l.exports.unload=f,a=function(g,D,w){e.emitted[g]||(e.emitted[g]=!0,e.emit(g,D,w))},c={},p.forEach(function(g){c[g]=function(){if(s(global.process)){var D=n.listeners(g);D.length===e.count&&(f(),a("exit",null,g),a("afterexit",null,g),u&&g==="SIGHUP"&&(g="SIGINT"),n.kill(n.pid,g))}}}),l.exports.signals=function(){return p},o=!1,d=function(){o||!s(global.process)||(o=!0,e.count+=1,p=p.filter(function(g){try{return n.on(g,c[g]),!0}catch{return!1}}),n.emit=E,n.reallyExit=y)},l.exports.load=d,h=n.reallyExit,y=function(g){!s(global.process)||(n.exitCode=g||0,a("exit",n.exitCode,null),a("afterexit",n.exitCode,null),h.call(n,n.exitCode))},b=n.emit,E=function(g,D){if(g==="exit"&&s(global.process)){D!==void 0&&(n.exitCode=D);var w=b.apply(this,arguments);return a("exit",n.exitCode,null),a("afterexit",n.exitCode,null),w}else return b.apply(this,arguments)}):l.exports=function(){return function(){}};var i,p,u,r,e,f,a,c,o,d,h,y,b,E});var to=N((t,l)=>{B(),l.exports=p,p.sync=u;var n=Z("fs");function s(r,e){var f=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!f||(f=f.split(";"),f.indexOf("")!==-1))return!0;for(var a=0;a<f.length;a++){var c=f[a].toLowerCase();if(c&&r.substr(-c.length).toLowerCase()===c)return!0}return!1}function i(r,e,f){return!r.isSymbolicLink()&&!r.isFile()?!1:s(e,f)}function p(r,e,f){n.stat(r,function(a,c){f(a,a?!1:i(c,r,e))})}function u(r,e){return i(n.statSync(r),r,e)}}),eo=N((t,l)=>{B(),l.exports=s,s.sync=i;var n=Z("fs");function s(r,e,f){n.stat(r,function(a,c){f(a,a?!1:p(c,e))})}function i(r,e){return p(n.statSync(r),e)}function p(r,e){return r.isFile()&&u(r,e)}function u(r,e){var f=r.mode,a=r.uid,c=r.gid,o=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),d=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),h=parseInt("100",8),y=parseInt("010",8),b=parseInt("001",8),E=h|y,g=f&b||f&y&&c===d||f&h&&a===o||f&E&&o===0;return g}}),ro=N((t,l)=>{B();var n=Z("fs"),s;process.platform==="win32"||global.TESTING_WINDOWS?s=to():s=eo(),l.exports=i,i.sync=p;function i(u,r,e){if(typeof r=="function"&&(e=r,r={}),!e){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(f,a){i(u,r||{},function(c,o){c?a(c):f(o)})})}s(u,r||{},function(f,a){f&&(f.code==="EACCES"||r&&r.ignoreErrors)&&(f=null,a=!1),e(f,a)})}function p(u,r){try{return s.sync(u,r||{})}catch(e){if(r&&r.ignoreErrors||e.code==="EACCES")return!1;throw e}}}),no=N((t,l)=>{B();var n=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",s=Z("path"),i=n?";":":",p=ro(),u=a=>Object.assign(new Error(`not found: ${a}`),{code:"ENOENT"}),r=(a,c)=>{let o=c.colon||i,d=a.match(/\//)||n&&a.match(/\\/)?[""]:[...n?[process.cwd()]:[],...(c.path||process.env.PATH||"").split(o)],h=n?c.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",y=n?h.split(o):[""];return n&&a.indexOf(".")!==-1&&y[0]!==""&&y.unshift(""),{pathEnv:d,pathExt:y,pathExtExe:h}},e=(a,c,o)=>{typeof c=="function"&&(o=c,c={}),c||(c={});let{pathEnv:d,pathExt:h,pathExtExe:y}=r(a,c),b=[],E=D=>new Promise((w,v)=>{if(D===d.length)return c.all&&b.length?w(b):v(u(a));let m=d[D],_=/^".*"$/.test(m)?m.slice(1,-1):m,S=s.join(_,a),A=!_&&/^\.[\\\/]/.test(a)?a.slice(0,2)+S:S;w(g(A,D,0))}),g=(D,w,v)=>new Promise((m,_)=>{if(v===h.length)return m(E(w+1));let S=h[v];p(D+S,{pathExt:y},(A,x)=>{if(!A&&x)if(c.all)b.push(D+S);else return m(D+S);return m(g(D,w,v+1))})});return o?E(0).then(D=>o(null,D),o):E(0)},f=(a,c)=>{c=c||{};let{pathEnv:o,pathExt:d,pathExtExe:h}=r(a,c),y=[];for(let b=0;b<o.length;b++){let E=o[b],g=/^".*"$/.test(E)?E.slice(1,-1):E,D=s.join(g,a),w=!g&&/^\.[\\\/]/.test(a)?a.slice(0,2)+D:D;for(let v=0;v<d.length;v++){let m=w+d[v];try{if(p.sync(m,{pathExt:h}))if(c.all)y.push(m);else return m}catch{}}}if(c.all&&y.length)return y;if(c.nothrow)return null;throw u(a)};l.exports=e,e.sync=f}),xn=N((t,l)=>{"use strict";B();var n=(s={})=>{let i=s.env||process.env;return(s.platform||process.platform)!=="win32"?"PATH":Object.keys(i).reverse().find(p=>p.toUpperCase()==="PATH")||"Path"};l.exports=n,l.exports.default=n}),io=N((t,l)=>{"use strict";B();var n=Z("path"),s=no(),i=xn();function p(r,e){let f=r.options.env||process.env,a=process.cwd(),c=r.options.cwd!=null,o=c&&process.chdir!==void 0&&!process.chdir.disabled;if(o)try{process.chdir(r.options.cwd)}catch{}let d;try{d=s.sync(r.command,{path:f[i({env:f})],pathExt:e?n.delimiter:void 0})}catch{}finally{o&&process.chdir(a)}return d&&(d=n.resolve(c?r.options.cwd:"",d)),d}function u(r){return p(r)||p(r,!0)}l.exports=u}),so=N((t,l)=>{"use strict";B();var n=/([()\][%!^"`<>&|;, *?])/g;function s(p){return p=p.replace(n,"^$1"),p}function i(p,u){return p=`${p}`,p=p.replace(/(\\*)"/g,'$1$1\\"'),p=p.replace(/(\\*)$/,"$1$1"),p=`"${p}"`,p=p.replace(n,"^$1"),u&&(p=p.replace(n,"^$1")),p}l.exports.command=s,l.exports.argument=i}),oo=N((t,l)=>{"use strict";B(),l.exports=/^#!(.*)/}),uo=N((t,l)=>{"use strict";B();var n=oo();l.exports=(s="")=>{let i=s.match(n);if(!i)return null;let[p,u]=i[0].replace(/#! ?/,"").split(" "),r=p.split("/").pop();return r==="env"?u:u?`${r} ${u}`:r}}),ao=N((t,l)=>{"use strict";B();var n=Z("fs"),s=uo();function i(p){let u=Buffer.alloc(150),r;try{r=n.openSync(p,"r"),n.readSync(r,u,0,150,0),n.closeSync(r)}catch{}return s(u.toString())}l.exports=i}),lo=N((t,l)=>{"use strict";B();var n=Z("path"),s=io(),i=so(),p=ao(),u=process.platform==="win32",r=/\.(?:com|exe)$/i,e=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function f(o){o.file=s(o);let d=o.file&&p(o.file);return d?(o.args.unshift(o.file),o.command=d,s(o)):o.file}function a(o){if(!u)return o;let d=f(o),h=!r.test(d);if(o.options.forceShell||h){let y=e.test(d);o.command=n.normalize(o.command),o.command=i.command(o.command),o.args=o.args.map(E=>i.argument(E,y));let b=[o.command].concat(o.args).join(" ");o.args=["/d","/s","/c",`"${b}"`],o.command=process.env.comspec||"cmd.exe",o.options.windowsVerbatimArguments=!0}return o}function c(o,d,h){d&&!Array.isArray(d)&&(h=d,d=null),d=d?d.slice(0):[],h=Object.assign({},h);let y={command:o,args:d,options:h,file:void 0,original:{command:o,args:d}};return h.shell?y:a(y)}l.exports=c}),co=N((t,l)=>{"use strict";B();var n=process.platform==="win32";function s(r,e){return Object.assign(new Error(`${e} ${r.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${r.command}`,path:r.command,spawnargs:r.args})}function i(r,e){if(!n)return;let f=r.emit;r.emit=function(a,c){if(a==="exit"){let o=p(c,e,"spawn");if(o)return f.call(r,"error",o)}return f.apply(r,arguments)}}function p(r,e){return n&&r===1&&!e.file?s(e.original,"spawn"):null}function u(r,e){return n&&r===1&&!e.file?s(e.original,"spawnSync"):null}l.exports={hookChildProcess:i,verifyENOENT:p,verifyENOENTSync:u,notFoundError:s}}),ho=N((t,l)=>{"use strict";B();var n=Z("child_process"),s=lo(),i=co();function p(r,e,f){let a=s(r,e,f),c=n.spawn(a.command,a.args,a.options);return i.hookChildProcess(c,a),c}function u(r,e,f){let a=s(r,e,f),c=n.spawnSync(a.command,a.args,a.options);return c.error=c.error||i.verifyENOENTSync(c.status,a),c}l.exports=p,l.exports.spawn=p,l.exports.sync=u,l.exports._parse=s,l.exports._enoent=i}),fo=N((t,l)=>{"use strict";B(),l.exports=n=>{let s=typeof n=="string"?`
|
1
|
+
"use strict";var Dy=Object.create;var bn=Object.defineProperty;var yy=Object.getOwnPropertyDescriptor;var Ay=Object.getOwnPropertyNames;var _y=Object.getPrototypeOf,Sy=Object.prototype.hasOwnProperty;var E=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),cf=(t,e)=>{for(var r in e)bn(t,r,{get:e[r],enumerable:!0})},lf=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Ay(e))!Sy.call(t,n)&&n!==r&&bn(t,n,{get:()=>e[n],enumerable:!(i=yy(e,n))||i.enumerable});return t};var Y=(t,e,r)=>(r=t!=null?Dy(_y(t)):{},lf(e||!t||!t.__esModule?bn(r,"default",{value:t,enumerable:!0}):r,t)),Cy=t=>lf(bn({},"__esModule",{value:!0}),t);var ff=E((AT,Et)=>{function No(t){return Et.exports=No=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Et.exports.__esModule=!0,Et.exports.default=Et.exports,No(t)}Et.exports=No,Et.exports.__esModule=!0,Et.exports.default=Et.exports});var pf=E((_T,Dt)=>{var by=ff().default;function hf(){"use strict";Dt.exports=hf=function(){return t},Dt.exports.__esModule=!0,Dt.exports.default=Dt.exports;var t={},e=Object.prototype,r=e.hasOwnProperty,i=Object.defineProperty||function(b,_,F){b[_]=F.value},n=typeof Symbol=="function"?Symbol:{},s=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",u=n.toStringTag||"@@toStringTag";function a(b,_,F){return Object.defineProperty(b,_,{value:F,enumerable:!0,configurable:!0,writable:!0}),b[_]}try{a({},"")}catch{a=function(F,p,d){return F[p]=d}}function c(b,_,F,p){var d=_&&_.prototype instanceof h?_:h,R=Object.create(d.prototype),B=new j(p||[]);return i(R,"_invoke",{value:T(b,F,B)}),R}function l(b,_,F){try{return{type:"normal",arg:b.call(_,F)}}catch(p){return{type:"throw",arg:p}}}t.wrap=c;var f={};function h(){}function D(){}function m(){}var g={};a(g,s,function(){return this});var A=Object.getPrototypeOf,y=A&&A(A(se([])));y&&y!==e&&r.call(y,s)&&(g=y);var w=m.prototype=h.prototype=Object.create(g);function P(b){["next","throw","return"].forEach(function(_){a(b,_,function(F){return this._invoke(_,F)})})}function M(b,_){function F(d,R,B,V){var Z=l(b[d],b,R);if(Z.type!=="throw"){var oe=Z.arg,Ne=oe.value;return Ne&&by(Ne)=="object"&&r.call(Ne,"__await")?_.resolve(Ne.__await).then(function(gt){F("next",gt,B,V)},function(gt){F("throw",gt,B,V)}):_.resolve(Ne).then(function(gt){oe.value=gt,B(oe)},function(gt){return F("throw",gt,B,V)})}V(Z.arg)}var p;i(this,"_invoke",{value:function(R,B){function V(){return new _(function(Z,oe){F(R,B,Z,oe)})}return p=p?p.then(V,V):V()}})}function T(b,_,F){var p="suspendedStart";return function(d,R){if(p==="executing")throw new Error("Generator is already running");if(p==="completed"){if(d==="throw")throw R;return C()}for(F.method=d,F.arg=R;;){var B=F.delegate;if(B){var V=$(B,F);if(V){if(V===f)continue;return V}}if(F.method==="next")F.sent=F._sent=F.arg;else if(F.method==="throw"){if(p==="suspendedStart")throw p="completed",F.arg;F.dispatchException(F.arg)}else F.method==="return"&&F.abrupt("return",F.arg);p="executing";var Z=l(b,_,F);if(Z.type==="normal"){if(p=F.done?"completed":"suspendedYield",Z.arg===f)continue;return{value:Z.arg,done:F.done}}Z.type==="throw"&&(p="completed",F.method="throw",F.arg=Z.arg)}}}function $(b,_){var F=_.method,p=b.iterator[F];if(p===void 0)return _.delegate=null,F==="throw"&&b.iterator.return&&(_.method="return",_.arg=void 0,$(b,_),_.method==="throw")||F!=="return"&&(_.method="throw",_.arg=new TypeError("The iterator does not provide a '"+F+"' method")),f;var d=l(p,b.iterator,_.arg);if(d.type==="throw")return _.method="throw",_.arg=d.arg,_.delegate=null,f;var R=d.arg;return R?R.done?(_[b.resultName]=R.value,_.next=b.nextLoc,_.method!=="return"&&(_.method="next",_.arg=void 0),_.delegate=null,f):R:(_.method="throw",_.arg=new TypeError("iterator result is not an object"),_.delegate=null,f)}function N(b){var _={tryLoc:b[0]};1 in b&&(_.catchLoc=b[1]),2 in b&&(_.finallyLoc=b[2],_.afterLoc=b[3]),this.tryEntries.push(_)}function L(b){var _=b.completion||{};_.type="normal",delete _.arg,b.completion=_}function j(b){this.tryEntries=[{tryLoc:"root"}],b.forEach(N,this),this.reset(!0)}function se(b){if(b){var _=b[s];if(_)return _.call(b);if(typeof b.next=="function")return b;if(!isNaN(b.length)){var F=-1,p=function d(){for(;++F<b.length;)if(r.call(b,F))return d.value=b[F],d.done=!1,d;return d.value=void 0,d.done=!0,d};return p.next=p}}return{next:C}}function C(){return{value:void 0,done:!0}}return D.prototype=m,i(w,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:D,configurable:!0}),D.displayName=a(m,u,"GeneratorFunction"),t.isGeneratorFunction=function(b){var _=typeof b=="function"&&b.constructor;return!!_&&(_===D||(_.displayName||_.name)==="GeneratorFunction")},t.mark=function(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,m):(b.__proto__=m,a(b,u,"GeneratorFunction")),b.prototype=Object.create(w),b},t.awrap=function(b){return{__await:b}},P(M.prototype),a(M.prototype,o,function(){return this}),t.AsyncIterator=M,t.async=function(b,_,F,p,d){d===void 0&&(d=Promise);var R=new M(c(b,_,F,p),d);return t.isGeneratorFunction(_)?R:R.next().then(function(B){return B.done?B.value:R.next()})},P(w),a(w,u,"Generator"),a(w,s,function(){return this}),a(w,"toString",function(){return"[object Generator]"}),t.keys=function(b){var _=Object(b),F=[];for(var p in _)F.push(p);return F.reverse(),function d(){for(;F.length;){var R=F.pop();if(R in _)return d.value=R,d.done=!1,d}return d.done=!0,d}},t.values=se,j.prototype={constructor:j,reset:function(_){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!_)for(var F in this)F.charAt(0)==="t"&&r.call(this,F)&&!isNaN(+F.slice(1))&&(this[F]=void 0)},stop:function(){this.done=!0;var _=this.tryEntries[0].completion;if(_.type==="throw")throw _.arg;return this.rval},dispatchException:function(_){if(this.done)throw _;var F=this;function p(oe,Ne){return B.type="throw",B.arg=_,F.next=oe,Ne&&(F.method="next",F.arg=void 0),!!Ne}for(var d=this.tryEntries.length-1;d>=0;--d){var R=this.tryEntries[d],B=R.completion;if(R.tryLoc==="root")return p("end");if(R.tryLoc<=this.prev){var V=r.call(R,"catchLoc"),Z=r.call(R,"finallyLoc");if(V&&Z){if(this.prev<R.catchLoc)return p(R.catchLoc,!0);if(this.prev<R.finallyLoc)return p(R.finallyLoc)}else if(V){if(this.prev<R.catchLoc)return p(R.catchLoc,!0)}else{if(!Z)throw new Error("try statement without catch or finally");if(this.prev<R.finallyLoc)return p(R.finallyLoc)}}}},abrupt:function(_,F){for(var p=this.tryEntries.length-1;p>=0;--p){var d=this.tryEntries[p];if(d.tryLoc<=this.prev&&r.call(d,"finallyLoc")&&this.prev<d.finallyLoc){var R=d;break}}R&&(_==="break"||_==="continue")&&R.tryLoc<=F&&F<=R.finallyLoc&&(R=null);var B=R?R.completion:{};return B.type=_,B.arg=F,R?(this.method="next",this.next=R.finallyLoc,f):this.complete(B)},complete:function(_,F){if(_.type==="throw")throw _.arg;return _.type==="break"||_.type==="continue"?this.next=_.arg:_.type==="return"?(this.rval=this.arg=_.arg,this.method="return",this.next="end"):_.type==="normal"&&F&&(this.next=F),f},finish:function(_){for(var F=this.tryEntries.length-1;F>=0;--F){var p=this.tryEntries[F];if(p.finallyLoc===_)return this.complete(p.completion,p.afterLoc),L(p),f}},catch:function(_){for(var F=this.tryEntries.length-1;F>=0;--F){var p=this.tryEntries[F];if(p.tryLoc===_){var d=p.completion;if(d.type==="throw"){var R=d.arg;L(p)}return R}}throw new Error("illegal catch attempt")},delegateYield:function(_,F,p){return this.delegate={iterator:se(_),resultName:F,nextLoc:p},this.method==="next"&&(this.arg=void 0),f}},t}Dt.exports=hf,Dt.exports.__esModule=!0,Dt.exports.default=Dt.exports});var mf=E((ST,df)=>{var wn=pf()();df.exports=wn;try{regeneratorRuntime=wn}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=wn:Function("r","regeneratorRuntime = r")(wn)}});var Ch=E($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.splitWhen=$r.flatten=void 0;function cS(t){return t.reduce((e,r)=>[].concat(e,r),[])}$r.flatten=cS;function lS(t,e){let r=[[]],i=0;for(let n of t)e(n)?(i++,r[i]=[]):r[i].push(n);return r}$r.splitWhen=lS});var bh=E(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.isEnoentCodeError=void 0;function fS(t){return t.code==="ENOENT"}Mn.isEnoentCodeError=fS});var wh=E(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.createDirentFromStats=void 0;var du=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function hS(t,e){return new du(t,e)}qn.createDirentFromStats=hS});var Fh=E(it=>{"use strict";Object.defineProperty(it,"__esModule",{value:!0});it.removeLeadingDotSegment=it.escape=it.makeAbsolute=it.unixify=void 0;var pS=require("path"),dS=2,mS=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function gS(t){return t.replace(/\\/g,"/")}it.unixify=gS;function ES(t,e){return pS.resolve(t,e)}it.makeAbsolute=ES;function DS(t){return t.replace(mS,"\\$2")}it.escape=DS;function yS(t){if(t.charAt(0)==="."){let e=t.charAt(1);if(e==="/"||e==="\\")return t.slice(dS)}return t}it.removeLeadingDotSegment=yS});var vh=E((cO,xh)=>{xh.exports=function(e){if(typeof e!="string"||e==="")return!1;for(var r;r=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(r[2])return!0;e=e.slice(r.index+r[0].length)}return!1}});var Oh=E((lO,Th)=>{var AS=vh(),Rh={"{":"}","(":")","[":"]"},_S=function(t){if(t[0]==="!")return!0;for(var e=0,r=-2,i=-2,n=-2,s=-2,o=-2;e<t.length;){if(t[e]==="*"||t[e+1]==="?"&&/[\].+)]/.test(t[e])||i!==-1&&t[e]==="["&&t[e+1]!=="]"&&(i<e&&(i=t.indexOf("]",e)),i>e&&(o===-1||o>i||(o=t.indexOf("\\",e),o===-1||o>i)))||n!==-1&&t[e]==="{"&&t[e+1]!=="}"&&(n=t.indexOf("}",e),n>e&&(o=t.indexOf("\\",e),o===-1||o>n))||s!==-1&&t[e]==="("&&t[e+1]==="?"&&/[:!=]/.test(t[e+2])&&t[e+3]!==")"&&(s=t.indexOf(")",e),s>e&&(o=t.indexOf("\\",e),o===-1||o>s))||r!==-1&&t[e]==="("&&t[e+1]!=="|"&&(r<e&&(r=t.indexOf("|",e)),r!==-1&&t[r+1]!==")"&&(s=t.indexOf(")",r),s>r&&(o=t.indexOf("\\",r),o===-1||o>s))))return!0;if(t[e]==="\\"){var u=t[e+1];e+=2;var a=Rh[u];if(a){var c=t.indexOf(a,e);c!==-1&&(e=c+1)}if(t[e]==="!")return!0}else e++}return!1},SS=function(t){if(t[0]==="!")return!0;for(var e=0;e<t.length;){if(/[*?{}()[\]]/.test(t[e]))return!0;if(t[e]==="\\"){var r=t[e+1];e+=2;var i=Rh[r];if(i){var n=t.indexOf(i,e);n!==-1&&(e=n+1)}if(t[e]==="!")return!0}else e++}return!1};Th.exports=function(e,r){if(typeof e!="string"||e==="")return!1;if(AS(e))return!0;var i=_S;return r&&r.strict===!1&&(i=SS),i(e)}});var Ph=E((fO,Bh)=>{"use strict";var CS=Oh(),bS=require("path").posix.dirname,wS=require("os").platform()==="win32",mu="/",FS=/\\/g,xS=/[\{\[].*[\}\]]$/,vS=/(^|[^\\])([\{\[]|\([^\)]+$)/,RS=/\\([\!\*\?\|\[\]\(\)\{\}])/g;Bh.exports=function(e,r){var i=Object.assign({flipBackslashes:!0},r);i.flipBackslashes&&wS&&e.indexOf(mu)<0&&(e=e.replace(FS,mu)),xS.test(e)&&(e+=mu),e+="a";do e=bS(e);while(CS(e)||vS.test(e));return e.replace(RS,"$1")}});var Hn=E(Ge=>{"use strict";Ge.isInteger=t=>typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""?Number.isInteger(Number(t)):!1;Ge.find=(t,e)=>t.nodes.find(r=>r.type===e);Ge.exceedsLimit=(t,e,r=1,i)=>i===!1||!Ge.isInteger(t)||!Ge.isInteger(e)?!1:(Number(e)-Number(t))/Number(r)>=i;Ge.escapeNode=(t,e=0,r)=>{let i=t.nodes[e];i&&(r&&i.type===r||i.type==="open"||i.type==="close")&&i.escaped!==!0&&(i.value="\\"+i.value,i.escaped=!0)};Ge.encloseBrace=t=>t.type!=="brace"||t.commas>>0+t.ranges>>0?!1:(t.invalid=!0,!0);Ge.isInvalidBrace=t=>t.type!=="brace"?!1:t.invalid===!0||t.dollar?!0:!(t.commas>>0+t.ranges>>0)||t.open!==!0||t.close!==!0?(t.invalid=!0,!0):!1;Ge.isOpenOrClose=t=>t.type==="open"||t.type==="close"?!0:t.open===!0||t.close===!0;Ge.reduce=t=>t.reduce((e,r)=>(r.type==="text"&&e.push(r.value),r.type==="range"&&(r.type="text"),e),[]);Ge.flatten=(...t)=>{let e=[],r=i=>{for(let n=0;n<i.length;n++){let s=i[n];Array.isArray(s)?r(s,e):s!==void 0&&e.push(s)}return e};return r(t),e}});var $n=E((pO,Ih)=>{"use strict";var Lh=Hn();Ih.exports=(t,e={})=>{let r=(i,n={})=>{let s=e.escapeInvalid&&Lh.isInvalidBrace(n),o=i.invalid===!0&&e.escapeInvalid===!0,u="";if(i.value)return(s||o)&&Lh.isOpenOrClose(i)?"\\"+i.value:i.value;if(i.value)return i.value;if(i.nodes)for(let a of i.nodes)u+=r(a);return u};return r(t)}});var kh=E((dO,Nh)=>{"use strict";Nh.exports=function(t){return typeof t=="number"?t-t===0:typeof t=="string"&&t.trim()!==""?Number.isFinite?Number.isFinite(+t):isFinite(+t):!1}});var zh=E((mO,Wh)=>{"use strict";var Mh=kh(),mr=(t,e,r)=>{if(Mh(t)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(e===void 0||t===e)return String(t);if(Mh(e)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...r};typeof i.strictZeros=="boolean"&&(i.relaxZeros=i.strictZeros===!1);let n=String(i.relaxZeros),s=String(i.shorthand),o=String(i.capture),u=String(i.wrap),a=t+":"+e+"="+n+s+o+u;if(mr.cache.hasOwnProperty(a))return mr.cache[a].result;let c=Math.min(t,e),l=Math.max(t,e);if(Math.abs(c-l)===1){let g=t+"|"+e;return i.capture?`(${g})`:i.wrap===!1?g:`(?:${g})`}let f=jh(t)||jh(e),h={min:t,max:e,a:c,b:l},D=[],m=[];if(f&&(h.isPadded=f,h.maxLen=String(h.max).length),c<0){let g=l<0?Math.abs(l):1;m=qh(g,Math.abs(c),h,i),c=h.a=0}return l>=0&&(D=qh(c,l,h,i)),h.negatives=m,h.positives=D,h.result=TS(m,D,i),i.capture===!0?h.result=`(${h.result})`:i.wrap!==!1&&D.length+m.length>1&&(h.result=`(?:${h.result})`),mr.cache[a]=h,h.result};function TS(t,e,r){let i=gu(t,e,"-",!1,r)||[],n=gu(e,t,"",!1,r)||[],s=gu(t,e,"-?",!0,r)||[];return i.concat(s).concat(n).join("|")}function OS(t,e){let r=1,i=1,n=$h(t,r),s=new Set([e]);for(;t<=n&&n<=e;)s.add(n),r+=1,n=$h(t,r);for(n=Uh(e+1,i)-1;t<n&&n<=e;)s.add(n),i+=1,n=Uh(e+1,i)-1;return s=[...s],s.sort(LS),s}function BS(t,e,r){if(t===e)return{pattern:t,count:[],digits:0};let i=PS(t,e),n=i.length,s="",o=0;for(let u=0;u<n;u++){let[a,c]=i[u];a===c?s+=a:a!=="0"||c!=="9"?s+=IS(a,c,r):o++}return o&&(s+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[o],digits:n}}function qh(t,e,r,i){let n=OS(t,e),s=[],o=t,u;for(let a=0;a<n.length;a++){let c=n[a],l=BS(String(o),String(c),i),f="";if(!r.isPadded&&u&&u.pattern===l.pattern){u.count.length>1&&u.count.pop(),u.count.push(l.count[0]),u.string=u.pattern+Gh(u.count),o=c+1;continue}r.isPadded&&(f=NS(c,r,i)),l.string=f+l.pattern+Gh(l.count),s.push(l),o=c+1,u=l}return s}function gu(t,e,r,i,n){let s=[];for(let o of t){let{string:u}=o;!i&&!Hh(e,"string",u)&&s.push(r+u),i&&Hh(e,"string",u)&&s.push(r+u)}return s}function PS(t,e){let r=[];for(let i=0;i<t.length;i++)r.push([t[i],e[i]]);return r}function LS(t,e){return t>e?1:e>t?-1:0}function Hh(t,e,r){return t.some(i=>i[e]===r)}function $h(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}function Uh(t,e){return t-t%Math.pow(10,e)}function Gh(t){let[e=0,r=""]=t;return r||e>1?`{${e+(r?","+r:"")}}`:""}function IS(t,e,r){return`[${t}${e-t===1?"":"-"}${e}]`}function jh(t){return/^-?(0+)\d/.test(t)}function NS(t,e,r){if(!e.isPadded)return t;let i=Math.abs(e.maxLen-String(t).length),n=r.relaxZeros!==!1;switch(i){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:return n?`0{0,${i}}`:`0{${i}}`}}mr.cache={};mr.clearCache=()=>mr.cache={};Wh.exports=mr});var yu=E((gO,ep)=>{"use strict";var kS=require("util"),Vh=zh(),Yh=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),MS=t=>e=>t===!0?Number(e):String(e),Eu=t=>typeof t=="number"||typeof t=="string"&&t!=="",Ui=t=>Number.isInteger(+t),Du=t=>{let e=`${t}`,r=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return!1;for(;e[++r]==="0";);return r>0},qS=(t,e,r)=>typeof t=="string"||typeof e=="string"?!0:r.stringify===!0,HS=(t,e,r)=>{if(e>0){let i=t[0]==="-"?"-":"";i&&(t=t.slice(1)),t=i+t.padStart(i?e-1:e,"0")}return r===!1?String(t):t},Kh=(t,e)=>{let r=t[0]==="-"?"-":"";for(r&&(t=t.slice(1),e--);t.length<e;)t="0"+t;return r?"-"+t:t},$S=(t,e)=>{t.negatives.sort((o,u)=>o<u?-1:o>u?1:0),t.positives.sort((o,u)=>o<u?-1:o>u?1:0);let r=e.capture?"":"?:",i="",n="",s;return t.positives.length&&(i=t.positives.join("|")),t.negatives.length&&(n=`-(${r}${t.negatives.join("|")})`),i&&n?s=`${i}|${n}`:s=i||n,e.wrap?`(${r}${s})`:s},Xh=(t,e,r,i)=>{if(r)return Vh(t,e,{wrap:!1,...i});let n=String.fromCharCode(t);if(t===e)return n;let s=String.fromCharCode(e);return`[${n}-${s}]`},Zh=(t,e,r)=>{if(Array.isArray(t)){let i=r.wrap===!0,n=r.capture?"":"?:";return i?`(${n}${t.join("|")})`:t.join("|")}return Vh(t,e,r)},Jh=(...t)=>new RangeError("Invalid range arguments: "+kS.inspect(...t)),Qh=(t,e,r)=>{if(r.strictRanges===!0)throw Jh([t,e]);return[]},US=(t,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${t}" to be a number`);return[]},GS=(t,e,r=1,i={})=>{let n=Number(t),s=Number(e);if(!Number.isInteger(n)||!Number.isInteger(s)){if(i.strictRanges===!0)throw Jh([t,e]);return[]}n===0&&(n=0),s===0&&(s=0);let o=n>s,u=String(t),a=String(e),c=String(r);r=Math.max(Math.abs(r),1);let l=Du(u)||Du(a)||Du(c),f=l?Math.max(u.length,a.length,c.length):0,h=l===!1&&qS(t,e,i)===!1,D=i.transform||MS(h);if(i.toRegex&&r===1)return Xh(Kh(t,f),Kh(e,f),!0,i);let m={negatives:[],positives:[]},g=w=>m[w<0?"negatives":"positives"].push(Math.abs(w)),A=[],y=0;for(;o?n>=s:n<=s;)i.toRegex===!0&&r>1?g(n):A.push(HS(D(n,y),f,h)),n=o?n-r:n+r,y++;return i.toRegex===!0?r>1?$S(m,i):Zh(A,null,{wrap:!1,...i}):A},jS=(t,e,r=1,i={})=>{if(!Ui(t)&&t.length>1||!Ui(e)&&e.length>1)return Qh(t,e,i);let n=i.transform||(h=>String.fromCharCode(h)),s=`${t}`.charCodeAt(0),o=`${e}`.charCodeAt(0),u=s>o,a=Math.min(s,o),c=Math.max(s,o);if(i.toRegex&&r===1)return Xh(a,c,!1,i);let l=[],f=0;for(;u?s>=o:s<=o;)l.push(n(s,f)),s=u?s-r:s+r,f++;return i.toRegex===!0?Zh(l,null,{wrap:!1,options:i}):l},Un=(t,e,r,i={})=>{if(e==null&&Eu(t))return[t];if(!Eu(t)||!Eu(e))return Qh(t,e,i);if(typeof r=="function")return Un(t,e,1,{transform:r});if(Yh(r))return Un(t,e,0,r);let n={...i};return n.capture===!0&&(n.wrap=!0),r=r||n.step||1,Ui(r)?Ui(t)&&Ui(e)?GS(t,e,r,n):jS(t,e,Math.max(Math.abs(r),1),n):r!=null&&!Yh(r)?US(r,n):Un(t,e,1,r)};ep.exports=Un});var ip=E((EO,rp)=>{"use strict";var WS=yu(),tp=Hn(),zS=(t,e={})=>{let r=(i,n={})=>{let s=tp.isInvalidBrace(n),o=i.invalid===!0&&e.escapeInvalid===!0,u=s===!0||o===!0,a=e.escapeInvalid===!0?"\\":"",c="";if(i.isOpen===!0||i.isClose===!0)return a+i.value;if(i.type==="open")return u?a+i.value:"(";if(i.type==="close")return u?a+i.value:")";if(i.type==="comma")return i.prev.type==="comma"?"":u?i.value:"|";if(i.value)return i.value;if(i.nodes&&i.ranges>0){let l=tp.reduce(i.nodes),f=WS(...l,{...e,wrap:!1,toRegex:!0});if(f.length!==0)return l.length>1&&f.length>1?`(${f})`:f}if(i.nodes)for(let l of i.nodes)c+=r(l,i);return c};return r(t)};rp.exports=zS});var op=E((DO,sp)=>{"use strict";var YS=yu(),np=$n(),Ur=Hn(),gr=(t="",e="",r=!1)=>{let i=[];if(t=[].concat(t),e=[].concat(e),!e.length)return t;if(!t.length)return r?Ur.flatten(e).map(n=>`{${n}}`):e;for(let n of t)if(Array.isArray(n))for(let s of n)i.push(gr(s,e,r));else for(let s of e)r===!0&&typeof s=="string"&&(s=`{${s}}`),i.push(Array.isArray(s)?gr(n,s,r):n+s);return Ur.flatten(i)},KS=(t,e={})=>{let r=e.rangeLimit===void 0?1e3:e.rangeLimit,i=(n,s={})=>{n.queue=[];let o=s,u=s.queue;for(;o.type!=="brace"&&o.type!=="root"&&o.parent;)o=o.parent,u=o.queue;if(n.invalid||n.dollar){u.push(gr(u.pop(),np(n,e)));return}if(n.type==="brace"&&n.invalid!==!0&&n.nodes.length===2){u.push(gr(u.pop(),["{}"]));return}if(n.nodes&&n.ranges>0){let f=Ur.reduce(n.nodes);if(Ur.exceedsLimit(...f,e.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let h=YS(...f,e);h.length===0&&(h=np(n,e)),u.push(gr(u.pop(),h)),n.nodes=[];return}let a=Ur.encloseBrace(n),c=n.queue,l=n;for(;l.type!=="brace"&&l.type!=="root"&&l.parent;)l=l.parent,c=l.queue;for(let f=0;f<n.nodes.length;f++){let h=n.nodes[f];if(h.type==="comma"&&n.type==="brace"){f===1&&c.push(""),c.push("");continue}if(h.type==="close"){u.push(gr(u.pop(),c,a));continue}if(h.value&&h.type!=="open"){c.push(gr(c.pop(),h.value));continue}h.nodes&&i(h,n)}return c};return Ur.flatten(i(t))};sp.exports=KS});var ap=E((yO,up)=>{"use strict";up.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
|
2
|
+
`,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var pp=E((AO,hp)=>{"use strict";var VS=$n(),{MAX_LENGTH:cp,CHAR_BACKSLASH:Au,CHAR_BACKTICK:XS,CHAR_COMMA:ZS,CHAR_DOT:JS,CHAR_LEFT_PARENTHESES:QS,CHAR_RIGHT_PARENTHESES:eC,CHAR_LEFT_CURLY_BRACE:tC,CHAR_RIGHT_CURLY_BRACE:rC,CHAR_LEFT_SQUARE_BRACKET:lp,CHAR_RIGHT_SQUARE_BRACKET:fp,CHAR_DOUBLE_QUOTE:iC,CHAR_SINGLE_QUOTE:nC,CHAR_NO_BREAK_SPACE:sC,CHAR_ZERO_WIDTH_NOBREAK_SPACE:oC}=ap(),uC=(t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let r=e||{},i=typeof r.maxLength=="number"?Math.min(cp,r.maxLength):cp;if(t.length>i)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${i})`);let n={type:"root",input:t,nodes:[]},s=[n],o=n,u=n,a=0,c=t.length,l=0,f=0,h,D={},m=()=>t[l++],g=A=>{if(A.type==="text"&&u.type==="dot"&&(u.type="text"),u&&u.type==="text"&&A.type==="text"){u.value+=A.value;return}return o.nodes.push(A),A.parent=o,A.prev=u,u=A,A};for(g({type:"bos"});l<c;)if(o=s[s.length-1],h=m(),!(h===oC||h===sC)){if(h===Au){g({type:"text",value:(e.keepEscaping?h:"")+m()});continue}if(h===fp){g({type:"text",value:"\\"+h});continue}if(h===lp){a++;let A=!0,y;for(;l<c&&(y=m());){if(h+=y,y===lp){a++;continue}if(y===Au){h+=m();continue}if(y===fp&&(a--,a===0))break}g({type:"text",value:h});continue}if(h===QS){o=g({type:"paren",nodes:[]}),s.push(o),g({type:"text",value:h});continue}if(h===eC){if(o.type!=="paren"){g({type:"text",value:h});continue}o=s.pop(),g({type:"text",value:h}),o=s[s.length-1];continue}if(h===iC||h===nC||h===XS){let A=h,y;for(e.keepQuotes!==!0&&(h="");l<c&&(y=m());){if(y===Au){h+=y+m();continue}if(y===A){e.keepQuotes===!0&&(h+=y);break}h+=y}g({type:"text",value:h});continue}if(h===tC){f++;let y={type:"brace",open:!0,close:!1,dollar:u.value&&u.value.slice(-1)==="$"||o.dollar===!0,depth:f,commas:0,ranges:0,nodes:[]};o=g(y),s.push(o),g({type:"open",value:h});continue}if(h===rC){if(o.type!=="brace"){g({type:"text",value:h});continue}let A="close";o=s.pop(),o.close=!0,g({type:A,value:h}),f--,o=s[s.length-1];continue}if(h===ZS&&f>0){if(o.ranges>0){o.ranges=0;let A=o.nodes.shift();o.nodes=[A,{type:"text",value:VS(o)}]}g({type:"comma",value:h}),o.commas++;continue}if(h===JS&&f>0&&o.commas===0){let A=o.nodes;if(f===0||A.length===0){g({type:"text",value:h});continue}if(u.type==="dot"){if(o.range=[],u.value+=h,u.type="range",o.nodes.length!==3&&o.nodes.length!==5){o.invalid=!0,o.ranges=0,u.type="text";continue}o.ranges++,o.args=[];continue}if(u.type==="range"){A.pop();let y=A[A.length-1];y.value+=u.value+h,u=y,o.ranges--;continue}g({type:"dot",value:h});continue}g({type:"text",value:h})}do if(o=s.pop(),o.type!=="root"){o.nodes.forEach(w=>{w.nodes||(w.type==="open"&&(w.isOpen=!0),w.type==="close"&&(w.isClose=!0),w.nodes||(w.type="text"),w.invalid=!0)});let A=s[s.length-1],y=A.nodes.indexOf(o);A.nodes.splice(y,1,...o.nodes)}while(s.length>0);return g({type:"eos"}),n};hp.exports=uC});var gp=E((_O,mp)=>{"use strict";var dp=$n(),aC=ip(),cC=op(),lC=pp(),ke=(t,e={})=>{let r=[];if(Array.isArray(t))for(let i of t){let n=ke.create(i,e);Array.isArray(n)?r.push(...n):r.push(n)}else r=[].concat(ke.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(r=[...new Set(r)]),r};ke.parse=(t,e={})=>lC(t,e);ke.stringify=(t,e={})=>dp(typeof t=="string"?ke.parse(t,e):t,e);ke.compile=(t,e={})=>(typeof t=="string"&&(t=ke.parse(t,e)),aC(t,e));ke.expand=(t,e={})=>{typeof t=="string"&&(t=ke.parse(t,e));let r=cC(t,e);return e.noempty===!0&&(r=r.filter(Boolean)),e.nodupes===!0&&(r=[...new Set(r)]),r};ke.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?ke.compile(t,e):ke.expand(t,e);mp.exports=ke});var Gi=E((SO,_p)=>{"use strict";var fC=require("path"),nt="\\\\/",Ep=`[^${nt}]`,bt="\\.",hC="\\+",pC="\\?",Gn="\\/",dC="(?=.)",Dp="[^/]",_u=`(?:${Gn}|$)`,yp=`(?:^|${Gn})`,Su=`${bt}{1,2}${_u}`,mC=`(?!${bt})`,gC=`(?!${yp}${Su})`,EC=`(?!${bt}{0,1}${_u})`,DC=`(?!${Su})`,yC=`[^.${Gn}]`,AC=`${Dp}*?`,Ap={DOT_LITERAL:bt,PLUS_LITERAL:hC,QMARK_LITERAL:pC,SLASH_LITERAL:Gn,ONE_CHAR:dC,QMARK:Dp,END_ANCHOR:_u,DOTS_SLASH:Su,NO_DOT:mC,NO_DOTS:gC,NO_DOT_SLASH:EC,NO_DOTS_SLASH:DC,QMARK_NO_DOT:yC,STAR:AC,START_ANCHOR:yp},_C={...Ap,SLASH_LITERAL:`[${nt}]`,QMARK:Ep,STAR:`${Ep}*?`,DOTS_SLASH:`${bt}{1,2}(?:[${nt}]|$)`,NO_DOT:`(?!${bt})`,NO_DOTS:`(?!(?:^|[${nt}])${bt}{1,2}(?:[${nt}]|$))`,NO_DOT_SLASH:`(?!${bt}{0,1}(?:[${nt}]|$))`,NO_DOTS_SLASH:`(?!${bt}{1,2}(?:[${nt}]|$))`,QMARK_NO_DOT:`[^.${nt}]`,START_ANCHOR:`(?:^|[${nt}])`,END_ANCHOR:`(?:[${nt}]|$)`},SC={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};_p.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:SC,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:fC.sep,extglobChars(t){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(t){return t===!0?_C:Ap}}});var ji=E(Oe=>{"use strict";var CC=require("path"),bC=process.platform==="win32",{REGEX_BACKSLASH:wC,REGEX_REMOVE_BACKSLASH:FC,REGEX_SPECIAL_CHARS:xC,REGEX_SPECIAL_CHARS_GLOBAL:vC}=Gi();Oe.isObject=t=>t!==null&&typeof t=="object"&&!Array.isArray(t);Oe.hasRegexChars=t=>xC.test(t);Oe.isRegexChar=t=>t.length===1&&Oe.hasRegexChars(t);Oe.escapeRegex=t=>t.replace(vC,"\\$1");Oe.toPosixSlashes=t=>t.replace(wC,"/");Oe.removeBackslashes=t=>t.replace(FC,e=>e==="\\"?"":e);Oe.supportsLookbehinds=()=>{let t=process.version.slice(1).split(".").map(Number);return t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10};Oe.isWindows=t=>t&&typeof t.windows=="boolean"?t.windows:bC===!0||CC.sep==="\\";Oe.escapeLast=(t,e,r)=>{let i=t.lastIndexOf(e,r);return i===-1?t:t[i-1]==="\\"?Oe.escapeLast(t,e,i-1):`${t.slice(0,i)}\\${t.slice(i)}`};Oe.removePrefix=(t,e={})=>{let r=t;return r.startsWith("./")&&(r=r.slice(2),e.prefix="./"),r};Oe.wrapOutput=(t,e={},r={})=>{let i=r.contains?"":"^",n=r.contains?"":"$",s=`${i}(?:${t})${n}`;return e.negated===!0&&(s=`(?:^(?!${s}).*$)`),s}});var Rp=E((bO,vp)=>{"use strict";var Sp=ji(),{CHAR_ASTERISK:Cu,CHAR_AT:RC,CHAR_BACKWARD_SLASH:Wi,CHAR_COMMA:TC,CHAR_DOT:bu,CHAR_EXCLAMATION_MARK:wu,CHAR_FORWARD_SLASH:xp,CHAR_LEFT_CURLY_BRACE:Fu,CHAR_LEFT_PARENTHESES:xu,CHAR_LEFT_SQUARE_BRACKET:OC,CHAR_PLUS:BC,CHAR_QUESTION_MARK:Cp,CHAR_RIGHT_CURLY_BRACE:PC,CHAR_RIGHT_PARENTHESES:bp,CHAR_RIGHT_SQUARE_BRACKET:LC}=Gi(),wp=t=>t===xp||t===Wi,Fp=t=>{t.isPrefix!==!0&&(t.depth=t.isGlobstar?1/0:1)},IC=(t,e)=>{let r=e||{},i=t.length-1,n=r.parts===!0||r.scanToEnd===!0,s=[],o=[],u=[],a=t,c=-1,l=0,f=0,h=!1,D=!1,m=!1,g=!1,A=!1,y=!1,w=!1,P=!1,M=!1,T=!1,$=0,N,L,j={value:"",depth:0,isGlob:!1},se=()=>c>=i,C=()=>a.charCodeAt(c+1),b=()=>(N=L,a.charCodeAt(++c));for(;c<i;){L=b();let R;if(L===Wi){w=j.backslashes=!0,L=b(),L===Fu&&(y=!0);continue}if(y===!0||L===Fu){for($++;se()!==!0&&(L=b());){if(L===Wi){w=j.backslashes=!0,b();continue}if(L===Fu){$++;continue}if(y!==!0&&L===bu&&(L=b())===bu){if(h=j.isBrace=!0,m=j.isGlob=!0,T=!0,n===!0)continue;break}if(y!==!0&&L===TC){if(h=j.isBrace=!0,m=j.isGlob=!0,T=!0,n===!0)continue;break}if(L===PC&&($--,$===0)){y=!1,h=j.isBrace=!0,T=!0;break}}if(n===!0)continue;break}if(L===xp){if(s.push(c),o.push(j),j={value:"",depth:0,isGlob:!1},T===!0)continue;if(N===bu&&c===l+1){l+=2;continue}f=c+1;continue}if(r.noext!==!0&&(L===BC||L===RC||L===Cu||L===Cp||L===wu)===!0&&C()===xu){if(m=j.isGlob=!0,g=j.isExtglob=!0,T=!0,L===wu&&c===l&&(M=!0),n===!0){for(;se()!==!0&&(L=b());){if(L===Wi){w=j.backslashes=!0,L=b();continue}if(L===bp){m=j.isGlob=!0,T=!0;break}}continue}break}if(L===Cu){if(N===Cu&&(A=j.isGlobstar=!0),m=j.isGlob=!0,T=!0,n===!0)continue;break}if(L===Cp){if(m=j.isGlob=!0,T=!0,n===!0)continue;break}if(L===OC){for(;se()!==!0&&(R=b());){if(R===Wi){w=j.backslashes=!0,b();continue}if(R===LC){D=j.isBracket=!0,m=j.isGlob=!0,T=!0;break}}if(n===!0)continue;break}if(r.nonegate!==!0&&L===wu&&c===l){P=j.negated=!0,l++;continue}if(r.noparen!==!0&&L===xu){if(m=j.isGlob=!0,n===!0){for(;se()!==!0&&(L=b());){if(L===xu){w=j.backslashes=!0,L=b();continue}if(L===bp){T=!0;break}}continue}break}if(m===!0){if(T=!0,n===!0)continue;break}}r.noext===!0&&(g=!1,m=!1);let _=a,F="",p="";l>0&&(F=a.slice(0,l),a=a.slice(l),f-=l),_&&m===!0&&f>0?(_=a.slice(0,f),p=a.slice(f)):m===!0?(_="",p=a):_=a,_&&_!==""&&_!=="/"&&_!==a&&wp(_.charCodeAt(_.length-1))&&(_=_.slice(0,-1)),r.unescape===!0&&(p&&(p=Sp.removeBackslashes(p)),_&&w===!0&&(_=Sp.removeBackslashes(_)));let d={prefix:F,input:t,start:l,base:_,glob:p,isBrace:h,isBracket:D,isGlob:m,isExtglob:g,isGlobstar:A,negated:P,negatedExtglob:M};if(r.tokens===!0&&(d.maxDepth=0,wp(L)||o.push(j),d.tokens=o),r.parts===!0||r.tokens===!0){let R;for(let B=0;B<s.length;B++){let V=R?R+1:l,Z=s[B],oe=t.slice(V,Z);r.tokens&&(B===0&&l!==0?(o[B].isPrefix=!0,o[B].value=F):o[B].value=oe,Fp(o[B]),d.maxDepth+=o[B].depth),(B!==0||oe!=="")&&u.push(oe),R=Z}if(R&&R+1<t.length){let B=t.slice(R+1);u.push(B),r.tokens&&(o[o.length-1].value=B,Fp(o[o.length-1]),d.maxDepth+=o[o.length-1].depth)}d.slashes=s,d.parts=u}return d};vp.exports=IC});var Bp=E((wO,Op)=>{"use strict";var jn=Gi(),Me=ji(),{MAX_LENGTH:Wn,POSIX_REGEX_SOURCE:NC,REGEX_NON_SPECIAL_CHARS:kC,REGEX_SPECIAL_CHARS_BACKREF:MC,REPLACEMENTS:Tp}=jn,qC=(t,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...t,e);t.sort();let r=`[${t.join("-")}]`;try{new RegExp(r)}catch{return t.map(n=>Me.escapeRegex(n)).join("..")}return r},Gr=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,vu=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");t=Tp[t]||t;let r={...e},i=typeof r.maxLength=="number"?Math.min(Wn,r.maxLength):Wn,n=t.length;if(n>i)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${i}`);let s={type:"bos",value:"",output:r.prepend||""},o=[s],u=r.capture?"":"?:",a=Me.isWindows(e),c=jn.globChars(a),l=jn.extglobChars(c),{DOT_LITERAL:f,PLUS_LITERAL:h,SLASH_LITERAL:D,ONE_CHAR:m,DOTS_SLASH:g,NO_DOT:A,NO_DOT_SLASH:y,NO_DOTS_SLASH:w,QMARK:P,QMARK_NO_DOT:M,STAR:T,START_ANCHOR:$}=c,N=v=>`(${u}(?:(?!${$}${v.dot?g:f}).)*?)`,L=r.dot?"":A,j=r.dot?P:M,se=r.bash===!0?N(r):T;r.capture&&(se=`(${se})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let C={input:t,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:o};t=Me.removePrefix(t,C),n=t.length;let b=[],_=[],F=[],p=s,d,R=()=>C.index===n-1,B=C.peek=(v=1)=>t[C.index+v],V=C.advance=()=>t[++C.index]||"",Z=()=>t.slice(C.index+1),oe=(v="",J=0)=>{C.consumed+=v,C.index+=J},Ne=v=>{C.output+=v.output!=null?v.output:v.value,oe(v.value)},gt=()=>{let v=1;for(;B()==="!"&&(B(2)!=="("||B(3)==="?");)V(),C.start++,v++;return v%2===0?!1:(C.negated=!0,C.start++,!0)},_n=v=>{C[v]++,F.push(v)},cr=v=>{C[v]--,F.pop()},U=v=>{if(p.type==="globstar"){let J=C.braces>0&&(v.type==="comma"||v.type==="brace"),x=v.extglob===!0||b.length&&(v.type==="pipe"||v.type==="paren");v.type!=="slash"&&v.type!=="paren"&&!J&&!x&&(C.output=C.output.slice(0,-p.output.length),p.type="star",p.value="*",p.output=se,C.output+=p.output)}if(b.length&&v.type!=="paren"&&(b[b.length-1].inner+=v.value),(v.value||v.output)&&Ne(v),p&&p.type==="text"&&v.type==="text"){p.value+=v.value,p.output=(p.output||"")+v.value;return}v.prev=p,o.push(v),p=v},Sn=(v,J)=>{let x={...l[J],conditions:1,inner:""};x.prev=p,x.parens=C.parens,x.output=C.output;let H=(r.capture?"(":"")+x.open;_n("parens"),U({type:v,value:J,output:C.output?"":m}),U({type:"paren",extglob:!0,value:V(),output:H}),b.push(x)},Ey=v=>{let J=v.close+(r.capture?")":""),x;if(v.type==="negate"){let H=se;if(v.inner&&v.inner.length>1&&v.inner.includes("/")&&(H=N(r)),(H!==se||R()||/^\)+$/.test(Z()))&&(J=v.close=`)$))${H}`),v.inner.includes("*")&&(x=Z())&&/^\.[^\\/.]+$/.test(x)){let ne=vu(x,{...e,fastpaths:!1}).output;J=v.close=`)${ne})${H})`}v.prev.type==="bos"&&(C.negatedExtglob=!0)}U({type:"paren",extglob:!0,value:d,output:J}),cr("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let v=!1,J=t.replace(MC,(x,H,ne,xe,fe,Io)=>xe==="\\"?(v=!0,x):xe==="?"?H?H+xe+(fe?P.repeat(fe.length):""):Io===0?j+(fe?P.repeat(fe.length):""):P.repeat(ne.length):xe==="."?f.repeat(ne.length):xe==="*"?H?H+xe+(fe?se:""):se:H?x:`\\${x}`);return v===!0&&(r.unescape===!0?J=J.replace(/\\/g,""):J=J.replace(/\\+/g,x=>x.length%2===0?"\\\\":x?"\\":"")),J===t&&r.contains===!0?(C.output=t,C):(C.output=Me.wrapOutput(J,C,e),C)}for(;!R();){if(d=V(),d==="\0")continue;if(d==="\\"){let x=B();if(x==="/"&&r.bash!==!0||x==="."||x===";")continue;if(!x){d+="\\",U({type:"text",value:d});continue}let H=/^\\+/.exec(Z()),ne=0;if(H&&H[0].length>2&&(ne=H[0].length,C.index+=ne,ne%2!==0&&(d+="\\")),r.unescape===!0?d=V():d+=V(),C.brackets===0){U({type:"text",value:d});continue}}if(C.brackets>0&&(d!=="]"||p.value==="["||p.value==="[^")){if(r.posix!==!1&&d===":"){let x=p.value.slice(1);if(x.includes("[")&&(p.posix=!0,x.includes(":"))){let H=p.value.lastIndexOf("["),ne=p.value.slice(0,H),xe=p.value.slice(H+2),fe=NC[xe];if(fe){p.value=ne+fe,C.backtrack=!0,V(),!s.output&&o.indexOf(p)===1&&(s.output=m);continue}}}(d==="["&&B()!==":"||d==="-"&&B()==="]")&&(d=`\\${d}`),d==="]"&&(p.value==="["||p.value==="[^")&&(d=`\\${d}`),r.posix===!0&&d==="!"&&p.value==="["&&(d="^"),p.value+=d,Ne({value:d});continue}if(C.quotes===1&&d!=='"'){d=Me.escapeRegex(d),p.value+=d,Ne({value:d});continue}if(d==='"'){C.quotes=C.quotes===1?0:1,r.keepQuotes===!0&&U({type:"text",value:d});continue}if(d==="("){_n("parens"),U({type:"paren",value:d});continue}if(d===")"){if(C.parens===0&&r.strictBrackets===!0)throw new SyntaxError(Gr("opening","("));let x=b[b.length-1];if(x&&C.parens===x.parens+1){Ey(b.pop());continue}U({type:"paren",value:d,output:C.parens?")":"\\)"}),cr("parens");continue}if(d==="["){if(r.nobracket===!0||!Z().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(Gr("closing","]"));d=`\\${d}`}else _n("brackets");U({type:"bracket",value:d});continue}if(d==="]"){if(r.nobracket===!0||p&&p.type==="bracket"&&p.value.length===1){U({type:"text",value:d,output:`\\${d}`});continue}if(C.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(Gr("opening","["));U({type:"text",value:d,output:`\\${d}`});continue}cr("brackets");let x=p.value.slice(1);if(p.posix!==!0&&x[0]==="^"&&!x.includes("/")&&(d=`/${d}`),p.value+=d,Ne({value:d}),r.literalBrackets===!1||Me.hasRegexChars(x))continue;let H=Me.escapeRegex(p.value);if(C.output=C.output.slice(0,-p.value.length),r.literalBrackets===!0){C.output+=H,p.value=H;continue}p.value=`(${u}${H}|${p.value})`,C.output+=p.value;continue}if(d==="{"&&r.nobrace!==!0){_n("braces");let x={type:"brace",value:d,output:"(",outputIndex:C.output.length,tokensIndex:C.tokens.length};_.push(x),U(x);continue}if(d==="}"){let x=_[_.length-1];if(r.nobrace===!0||!x){U({type:"text",value:d,output:d});continue}let H=")";if(x.dots===!0){let ne=o.slice(),xe=[];for(let fe=ne.length-1;fe>=0&&(o.pop(),ne[fe].type!=="brace");fe--)ne[fe].type!=="dots"&&xe.unshift(ne[fe].value);H=qC(xe,r),C.backtrack=!0}if(x.comma!==!0&&x.dots!==!0){let ne=C.output.slice(0,x.outputIndex),xe=C.tokens.slice(x.tokensIndex);x.value=x.output="\\{",d=H="\\}",C.output=ne;for(let fe of xe)C.output+=fe.output||fe.value}U({type:"brace",value:d,output:H}),cr("braces"),_.pop();continue}if(d==="|"){b.length>0&&b[b.length-1].conditions++,U({type:"text",value:d});continue}if(d===","){let x=d,H=_[_.length-1];H&&F[F.length-1]==="braces"&&(H.comma=!0,x="|"),U({type:"comma",value:d,output:x});continue}if(d==="/"){if(p.type==="dot"&&C.index===C.start+1){C.start=C.index+1,C.consumed="",C.output="",o.pop(),p=s;continue}U({type:"slash",value:d,output:D});continue}if(d==="."){if(C.braces>0&&p.type==="dot"){p.value==="."&&(p.output=f);let x=_[_.length-1];p.type="dots",p.output+=d,p.value+=d,x.dots=!0;continue}if(C.braces+C.parens===0&&p.type!=="bos"&&p.type!=="slash"){U({type:"text",value:d,output:f});continue}U({type:"dot",value:d,output:f});continue}if(d==="?"){if(!(p&&p.value==="(")&&r.noextglob!==!0&&B()==="("&&B(2)!=="?"){Sn("qmark",d);continue}if(p&&p.type==="paren"){let H=B(),ne=d;if(H==="<"&&!Me.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(p.value==="("&&!/[!=<:]/.test(H)||H==="<"&&!/<([!=]|\w+>)/.test(Z()))&&(ne=`\\${d}`),U({type:"text",value:d,output:ne});continue}if(r.dot!==!0&&(p.type==="slash"||p.type==="bos")){U({type:"qmark",value:d,output:M});continue}U({type:"qmark",value:d,output:P});continue}if(d==="!"){if(r.noextglob!==!0&&B()==="("&&(B(2)!=="?"||!/[!=<:]/.test(B(3)))){Sn("negate",d);continue}if(r.nonegate!==!0&&C.index===0){gt();continue}}if(d==="+"){if(r.noextglob!==!0&&B()==="("&&B(2)!=="?"){Sn("plus",d);continue}if(p&&p.value==="("||r.regex===!1){U({type:"plus",value:d,output:h});continue}if(p&&(p.type==="bracket"||p.type==="paren"||p.type==="brace")||C.parens>0){U({type:"plus",value:d});continue}U({type:"plus",value:h});continue}if(d==="@"){if(r.noextglob!==!0&&B()==="("&&B(2)!=="?"){U({type:"at",extglob:!0,value:d,output:""});continue}U({type:"text",value:d});continue}if(d!=="*"){(d==="$"||d==="^")&&(d=`\\${d}`);let x=kC.exec(Z());x&&(d+=x[0],C.index+=x[0].length),U({type:"text",value:d});continue}if(p&&(p.type==="globstar"||p.star===!0)){p.type="star",p.star=!0,p.value+=d,p.output=se,C.backtrack=!0,C.globstar=!0,oe(d);continue}let v=Z();if(r.noextglob!==!0&&/^\([^?]/.test(v)){Sn("star",d);continue}if(p.type==="star"){if(r.noglobstar===!0){oe(d);continue}let x=p.prev,H=x.prev,ne=x.type==="slash"||x.type==="bos",xe=H&&(H.type==="star"||H.type==="globstar");if(r.bash===!0&&(!ne||v[0]&&v[0]!=="/")){U({type:"star",value:d,output:""});continue}let fe=C.braces>0&&(x.type==="comma"||x.type==="brace"),Io=b.length&&(x.type==="pipe"||x.type==="paren");if(!ne&&x.type!=="paren"&&!fe&&!Io){U({type:"star",value:d,output:""});continue}for(;v.slice(0,3)==="/**";){let Cn=t[C.index+4];if(Cn&&Cn!=="/")break;v=v.slice(3),oe("/**",3)}if(x.type==="bos"&&R()){p.type="globstar",p.value+=d,p.output=N(r),C.output=p.output,C.globstar=!0,oe(d);continue}if(x.type==="slash"&&x.prev.type!=="bos"&&!xe&&R()){C.output=C.output.slice(0,-(x.output+p.output).length),x.output=`(?:${x.output}`,p.type="globstar",p.output=N(r)+(r.strictSlashes?")":"|$)"),p.value+=d,C.globstar=!0,C.output+=x.output+p.output,oe(d);continue}if(x.type==="slash"&&x.prev.type!=="bos"&&v[0]==="/"){let Cn=v[1]!==void 0?"|$":"";C.output=C.output.slice(0,-(x.output+p.output).length),x.output=`(?:${x.output}`,p.type="globstar",p.output=`${N(r)}${D}|${D}${Cn})`,p.value+=d,C.output+=x.output+p.output,C.globstar=!0,oe(d+V()),U({type:"slash",value:"/",output:""});continue}if(x.type==="bos"&&v[0]==="/"){p.type="globstar",p.value+=d,p.output=`(?:^|${D}|${N(r)}${D})`,C.output=p.output,C.globstar=!0,oe(d+V()),U({type:"slash",value:"/",output:""});continue}C.output=C.output.slice(0,-p.output.length),p.type="globstar",p.output=N(r),p.value+=d,C.output+=p.output,C.globstar=!0,oe(d);continue}let J={type:"star",value:d,output:se};if(r.bash===!0){J.output=".*?",(p.type==="bos"||p.type==="slash")&&(J.output=L+J.output),U(J);continue}if(p&&(p.type==="bracket"||p.type==="paren")&&r.regex===!0){J.output=d,U(J);continue}(C.index===C.start||p.type==="slash"||p.type==="dot")&&(p.type==="dot"?(C.output+=y,p.output+=y):r.dot===!0?(C.output+=w,p.output+=w):(C.output+=L,p.output+=L),B()!=="*"&&(C.output+=m,p.output+=m)),U(J)}for(;C.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(Gr("closing","]"));C.output=Me.escapeLast(C.output,"["),cr("brackets")}for(;C.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(Gr("closing",")"));C.output=Me.escapeLast(C.output,"("),cr("parens")}for(;C.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(Gr("closing","}"));C.output=Me.escapeLast(C.output,"{"),cr("braces")}if(r.strictSlashes!==!0&&(p.type==="star"||p.type==="bracket")&&U({type:"maybe_slash",value:"",output:`${D}?`}),C.backtrack===!0){C.output="";for(let v of C.tokens)C.output+=v.output!=null?v.output:v.value,v.suffix&&(C.output+=v.suffix)}return C};vu.fastpaths=(t,e)=>{let r={...e},i=typeof r.maxLength=="number"?Math.min(Wn,r.maxLength):Wn,n=t.length;if(n>i)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${i}`);t=Tp[t]||t;let s=Me.isWindows(e),{DOT_LITERAL:o,SLASH_LITERAL:u,ONE_CHAR:a,DOTS_SLASH:c,NO_DOT:l,NO_DOTS:f,NO_DOTS_SLASH:h,STAR:D,START_ANCHOR:m}=jn.globChars(s),g=r.dot?f:l,A=r.dot?h:l,y=r.capture?"":"?:",w={negated:!1,prefix:""},P=r.bash===!0?".*?":D;r.capture&&(P=`(${P})`);let M=L=>L.noglobstar===!0?P:`(${y}(?:(?!${m}${L.dot?c:o}).)*?)`,T=L=>{switch(L){case"*":return`${g}${a}${P}`;case".*":return`${o}${a}${P}`;case"*.*":return`${g}${P}${o}${a}${P}`;case"*/*":return`${g}${P}${u}${a}${A}${P}`;case"**":return g+M(r);case"**/*":return`(?:${g}${M(r)}${u})?${A}${a}${P}`;case"**/*.*":return`(?:${g}${M(r)}${u})?${A}${P}${o}${a}${P}`;case"**/.*":return`(?:${g}${M(r)}${u})?${o}${a}${P}`;default:{let j=/^(.*?)\.(\w+)$/.exec(L);if(!j)return;let se=T(j[1]);return se?se+o+j[2]:void 0}}},$=Me.removePrefix(t,w),N=T($);return N&&r.strictSlashes!==!0&&(N+=`${u}?`),N};Op.exports=vu});var Lp=E((FO,Pp)=>{"use strict";var HC=require("path"),$C=Rp(),Ru=Bp(),Tu=ji(),UC=Gi(),GC=t=>t&&typeof t=="object"&&!Array.isArray(t),ae=(t,e,r=!1)=>{if(Array.isArray(t)){let l=t.map(h=>ae(h,e,r));return h=>{for(let D of l){let m=D(h);if(m)return m}return!1}}let i=GC(t)&&t.tokens&&t.input;if(t===""||typeof t!="string"&&!i)throw new TypeError("Expected pattern to be a non-empty string");let n=e||{},s=Tu.isWindows(e),o=i?ae.compileRe(t,e):ae.makeRe(t,e,!1,!0),u=o.state;delete o.state;let a=()=>!1;if(n.ignore){let l={...e,ignore:null,onMatch:null,onResult:null};a=ae(n.ignore,l,r)}let c=(l,f=!1)=>{let{isMatch:h,match:D,output:m}=ae.test(l,o,e,{glob:t,posix:s}),g={glob:t,state:u,regex:o,posix:s,input:l,output:m,match:D,isMatch:h};return typeof n.onResult=="function"&&n.onResult(g),h===!1?(g.isMatch=!1,f?g:!1):a(l)?(typeof n.onIgnore=="function"&&n.onIgnore(g),g.isMatch=!1,f?g:!1):(typeof n.onMatch=="function"&&n.onMatch(g),f?g:!0)};return r&&(c.state=u),c};ae.test=(t,e,r,{glob:i,posix:n}={})=>{if(typeof t!="string")throw new TypeError("Expected input to be a string");if(t==="")return{isMatch:!1,output:""};let s=r||{},o=s.format||(n?Tu.toPosixSlashes:null),u=t===i,a=u&&o?o(t):t;return u===!1&&(a=o?o(t):t,u=a===i),(u===!1||s.capture===!0)&&(s.matchBase===!0||s.basename===!0?u=ae.matchBase(t,e,r,n):u=e.exec(a)),{isMatch:!!u,match:u,output:a}};ae.matchBase=(t,e,r,i=Tu.isWindows(r))=>(e instanceof RegExp?e:ae.makeRe(e,r)).test(HC.basename(t));ae.isMatch=(t,e,r)=>ae(e,r)(t);ae.parse=(t,e)=>Array.isArray(t)?t.map(r=>ae.parse(r,e)):Ru(t,{...e,fastpaths:!1});ae.scan=(t,e)=>$C(t,e);ae.compileRe=(t,e,r=!1,i=!1)=>{if(r===!0)return t.output;let n=e||{},s=n.contains?"":"^",o=n.contains?"":"$",u=`${s}(?:${t.output})${o}`;t&&t.negated===!0&&(u=`^(?!${u}).*$`);let a=ae.toRegex(u,e);return i===!0&&(a.state=t),a};ae.makeRe=(t,e={},r=!1,i=!1)=>{if(!t||typeof t!="string")throw new TypeError("Expected a non-empty string");let n={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(t[0]==="."||t[0]==="*")&&(n.output=Ru.fastpaths(t,e)),n.output||(n=Ru(t,e)),ae.compileRe(n,e,r,i)};ae.toRegex=(t,e)=>{try{let r=e||{};return new RegExp(t,r.flags||(r.nocase?"i":""))}catch(r){if(e&&e.debug===!0)throw r;return/$^/}};ae.constants=UC;Pp.exports=ae});var Np=E((xO,Ip)=>{"use strict";Ip.exports=Lp()});var $p=E((vO,Hp)=>{"use strict";var Mp=require("util"),qp=gp(),st=Np(),Ou=ji(),kp=t=>t===""||t==="./",re=(t,e,r)=>{e=[].concat(e),t=[].concat(t);let i=new Set,n=new Set,s=new Set,o=0,u=l=>{s.add(l.output),r&&r.onResult&&r.onResult(l)};for(let l=0;l<e.length;l++){let f=st(String(e[l]),{...r,onResult:u},!0),h=f.state.negated||f.state.negatedExtglob;h&&o++;for(let D of t){let m=f(D,!0);(h?!m.isMatch:m.isMatch)&&(h?i.add(m.output):(i.delete(m.output),n.add(m.output)))}}let c=(o===e.length?[...s]:[...n]).filter(l=>!i.has(l));if(r&&c.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${e.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?e.map(l=>l.replace(/\\/g,"")):e}return c};re.match=re;re.matcher=(t,e)=>st(t,e);re.isMatch=(t,e,r)=>st(e,r)(t);re.any=re.isMatch;re.not=(t,e,r={})=>{e=[].concat(e).map(String);let i=new Set,n=[],s=u=>{r.onResult&&r.onResult(u),n.push(u.output)},o=new Set(re(t,e,{...r,onResult:s}));for(let u of n)o.has(u)||i.add(u);return[...i]};re.contains=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${Mp.inspect(t)}"`);if(Array.isArray(e))return e.some(i=>re.contains(t,i,r));if(typeof e=="string"){if(kp(t)||kp(e))return!1;if(t.includes(e)||t.startsWith("./")&&t.slice(2).includes(e))return!0}return re.isMatch(t,e,{...r,contains:!0})};re.matchKeys=(t,e,r)=>{if(!Ou.isObject(t))throw new TypeError("Expected the first argument to be an object");let i=re(Object.keys(t),e,r),n={};for(let s of i)n[s]=t[s];return n};re.some=(t,e,r)=>{let i=[].concat(t);for(let n of[].concat(e)){let s=st(String(n),r);if(i.some(o=>s(o)))return!0}return!1};re.every=(t,e,r)=>{let i=[].concat(t);for(let n of[].concat(e)){let s=st(String(n),r);if(!i.every(o=>s(o)))return!1}return!0};re.all=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${Mp.inspect(t)}"`);return[].concat(e).every(i=>st(i,r)(t))};re.capture=(t,e,r)=>{let i=Ou.isWindows(r),s=st.makeRe(String(t),{...r,capture:!0}).exec(i?Ou.toPosixSlashes(e):e);if(s)return s.slice(1).map(o=>o===void 0?"":o)};re.makeRe=(...t)=>st.makeRe(...t);re.scan=(...t)=>st.scan(...t);re.parse=(t,e)=>{let r=[];for(let i of[].concat(t||[]))for(let n of qp(String(i),e))r.push(st.parse(n,e));return r};re.braces=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return e&&e.nobrace===!0||!/\{.*\}/.test(t)?[t]:qp(t,e)};re.braceExpand=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return re.braces(t,{...e,expand:!0})};Hp.exports=re});var Vp=E(I=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});I.matchAny=I.convertPatternsToRe=I.makeRe=I.getPatternParts=I.expandBraceExpansion=I.expandPatternsWithBraceExpansion=I.isAffectDepthOfReadingPattern=I.endsWithSlashGlobStar=I.hasGlobStar=I.getBaseDirectory=I.isPatternRelatedToParentDirectory=I.getPatternsOutsideCurrentDirectory=I.getPatternsInsideCurrentDirectory=I.getPositivePatterns=I.getNegativePatterns=I.isPositivePattern=I.isNegativePattern=I.convertToNegativePattern=I.convertToPositivePattern=I.isDynamicPattern=I.isStaticPattern=void 0;var jC=require("path"),WC=Ph(),Bu=$p(),Up="**",zC="\\",YC=/[*?]|^!/,KC=/\[[^[]*]/,VC=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,XC=/[!*+?@]\([^(]*\)/,ZC=/,|\.\./;function Gp(t,e={}){return!jp(t,e)}I.isStaticPattern=Gp;function jp(t,e={}){return t===""?!1:!!(e.caseSensitiveMatch===!1||t.includes(zC)||YC.test(t)||KC.test(t)||VC.test(t)||e.extglob!==!1&&XC.test(t)||e.braceExpansion!==!1&&JC(t))}I.isDynamicPattern=jp;function JC(t){let e=t.indexOf("{");if(e===-1)return!1;let r=t.indexOf("}",e+1);if(r===-1)return!1;let i=t.slice(e,r);return ZC.test(i)}function QC(t){return zn(t)?t.slice(1):t}I.convertToPositivePattern=QC;function eb(t){return"!"+t}I.convertToNegativePattern=eb;function zn(t){return t.startsWith("!")&&t[1]!=="("}I.isNegativePattern=zn;function Wp(t){return!zn(t)}I.isPositivePattern=Wp;function tb(t){return t.filter(zn)}I.getNegativePatterns=tb;function rb(t){return t.filter(Wp)}I.getPositivePatterns=rb;function ib(t){return t.filter(e=>!Pu(e))}I.getPatternsInsideCurrentDirectory=ib;function nb(t){return t.filter(Pu)}I.getPatternsOutsideCurrentDirectory=nb;function Pu(t){return t.startsWith("..")||t.startsWith("./..")}I.isPatternRelatedToParentDirectory=Pu;function sb(t){return WC(t,{flipBackslashes:!1})}I.getBaseDirectory=sb;function ob(t){return t.includes(Up)}I.hasGlobStar=ob;function zp(t){return t.endsWith("/"+Up)}I.endsWithSlashGlobStar=zp;function ub(t){let e=jC.basename(t);return zp(t)||Gp(e)}I.isAffectDepthOfReadingPattern=ub;function ab(t){return t.reduce((e,r)=>e.concat(Yp(r)),[])}I.expandPatternsWithBraceExpansion=ab;function Yp(t){return Bu.braces(t,{expand:!0,nodupes:!0})}I.expandBraceExpansion=Yp;function cb(t,e){let{parts:r}=Bu.scan(t,Object.assign(Object.assign({},e),{parts:!0}));return r.length===0&&(r=[t]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}I.getPatternParts=cb;function Kp(t,e){return Bu.makeRe(t,e)}I.makeRe=Kp;function lb(t,e){return t.map(r=>Kp(r,e))}I.convertPatternsToRe=lb;function fb(t,e){return e.some(r=>r.test(t))}I.matchAny=fb});var Qp=E((TO,Jp)=>{"use strict";var hb=require("stream"),Xp=hb.PassThrough,pb=Array.prototype.slice;Jp.exports=db;function db(){let t=[],e=pb.call(arguments),r=!1,i=e[e.length-1];i&&!Array.isArray(i)&&i.pipe==null?e.pop():i={};let n=i.end!==!1,s=i.pipeError===!0;i.objectMode==null&&(i.objectMode=!0),i.highWaterMark==null&&(i.highWaterMark=64*1024);let o=Xp(i);function u(){for(let l=0,f=arguments.length;l<f;l++)t.push(Zp(arguments[l],i));return a(),this}function a(){if(r)return;r=!0;let l=t.shift();if(!l){process.nextTick(c);return}Array.isArray(l)||(l=[l]);let f=l.length+1;function h(){--f>0||(r=!1,a())}function D(m){function g(){m.removeListener("merge2UnpipeEnd",g),m.removeListener("end",g),s&&m.removeListener("error",A),h()}function A(y){o.emit("error",y)}if(m._readableState.endEmitted)return h();m.on("merge2UnpipeEnd",g),m.on("end",g),s&&m.on("error",A),m.pipe(o,{end:!1}),m.resume()}for(let m=0;m<l.length;m++)D(l[m]);h()}function c(){r=!1,o.emit("queueDrain"),n&&o.end()}return o.setMaxListeners(0),o.add=u,o.on("unpipe",function(l){l.emit("merge2UnpipeEnd")}),e.length&&u.apply(null,e),o}function Zp(t,e){if(Array.isArray(t))for(let r=0,i=t.length;r<i;r++)t[r]=Zp(t[r],e);else{if(!t._readableState&&t.pipe&&(t=t.pipe(Xp(e))),!t._readableState||!t.pause||!t.pipe)throw new Error("Only readable stream can be merged.");t.pause()}return t}});var td=E(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.merge=void 0;var mb=Qp();function gb(t){let e=mb(t);return t.forEach(r=>{r.once("error",i=>e.emit("error",i))}),e.once("close",()=>ed(t)),e.once("end",()=>ed(t)),e}Yn.merge=gb;function ed(t){t.forEach(e=>e.emit("close"))}});var rd=E(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});jr.isEmpty=jr.isString=void 0;function Eb(t){return typeof t=="string"}jr.isString=Eb;function Db(t){return t===""}jr.isEmpty=Db});var wt=E(Ae=>{"use strict";Object.defineProperty(Ae,"__esModule",{value:!0});Ae.string=Ae.stream=Ae.pattern=Ae.path=Ae.fs=Ae.errno=Ae.array=void 0;var yb=Ch();Ae.array=yb;var Ab=bh();Ae.errno=Ab;var _b=wh();Ae.fs=_b;var Sb=Fh();Ae.path=Sb;var Cb=Vp();Ae.pattern=Cb;var bb=td();Ae.stream=bb;var wb=rd();Ae.string=wb});var sd=E(_e=>{"use strict";Object.defineProperty(_e,"__esModule",{value:!0});_e.convertPatternGroupToTask=_e.convertPatternGroupsToTasks=_e.groupPatternsByBaseDirectory=_e.getNegativePatternsAsPositive=_e.getPositivePatterns=_e.convertPatternsToTasks=_e.generate=void 0;var Ft=wt();function Fb(t,e){let r=id(t),i=nd(t,e.ignore),n=r.filter(a=>Ft.pattern.isStaticPattern(a,e)),s=r.filter(a=>Ft.pattern.isDynamicPattern(a,e)),o=Lu(n,i,!1),u=Lu(s,i,!0);return o.concat(u)}_e.generate=Fb;function Lu(t,e,r){let i=[],n=Ft.pattern.getPatternsOutsideCurrentDirectory(t),s=Ft.pattern.getPatternsInsideCurrentDirectory(t),o=Iu(n),u=Iu(s);return i.push(...Nu(o,e,r)),"."in u?i.push(ku(".",s,e,r)):i.push(...Nu(u,e,r)),i}_e.convertPatternsToTasks=Lu;function id(t){return Ft.pattern.getPositivePatterns(t)}_e.getPositivePatterns=id;function nd(t,e){return Ft.pattern.getNegativePatterns(t).concat(e).map(Ft.pattern.convertToPositivePattern)}_e.getNegativePatternsAsPositive=nd;function Iu(t){let e={};return t.reduce((r,i)=>{let n=Ft.pattern.getBaseDirectory(i);return n in r?r[n].push(i):r[n]=[i],r},e)}_e.groupPatternsByBaseDirectory=Iu;function Nu(t,e,r){return Object.keys(t).map(i=>ku(i,t[i],e,r))}_e.convertPatternGroupsToTasks=Nu;function ku(t,e,r,i){return{dynamic:i,positive:e,negative:r,base:t,patterns:[].concat(e,r.map(Ft.pattern.convertToNegativePattern))}}_e.convertPatternGroupToTask=ku});var ud=E(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.removeDuplicateSlashes=Wr.transform=void 0;var xb=/(?!^)\/{2,}/g;function vb(t){return t.map(e=>od(e))}Wr.transform=vb;function od(t){return t.replace(xb,"/")}Wr.removeDuplicateSlashes=od});var cd=E(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.read=void 0;function Rb(t,e,r){e.fs.lstat(t,(i,n)=>{if(i!==null){ad(r,i);return}if(!n.isSymbolicLink()||!e.followSymbolicLink){Mu(r,n);return}e.fs.stat(t,(s,o)=>{if(s!==null){if(e.throwErrorOnBrokenSymbolicLink){ad(r,s);return}Mu(r,n);return}e.markSymbolicLink&&(o.isSymbolicLink=()=>!0),Mu(r,o)})})}Kn.read=Rb;function ad(t,e){t(e)}function Mu(t,e){t(null,e)}});var ld=E(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.read=void 0;function Tb(t,e){let r=e.fs.lstatSync(t);if(!r.isSymbolicLink()||!e.followSymbolicLink)return r;try{let i=e.fs.statSync(t);return e.markSymbolicLink&&(i.isSymbolicLink=()=>!0),i}catch(i){if(!e.throwErrorOnBrokenSymbolicLink)return r;throw i}}Vn.read=Tb});var fd=E(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.createFileSystemAdapter=Gt.FILE_SYSTEM_ADAPTER=void 0;var Xn=require("fs");Gt.FILE_SYSTEM_ADAPTER={lstat:Xn.lstat,stat:Xn.stat,lstatSync:Xn.lstatSync,statSync:Xn.statSync};function Ob(t){return t===void 0?Gt.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Gt.FILE_SYSTEM_ADAPTER),t)}Gt.createFileSystemAdapter=Ob});var hd=E(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});var Bb=fd(),qu=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Bb.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,r){return e!=null?e:r}};Hu.default=qu});var Er=E(jt=>{"use strict";Object.defineProperty(jt,"__esModule",{value:!0});jt.statSync=jt.stat=jt.Settings=void 0;var pd=cd(),Pb=ld(),$u=hd();jt.Settings=$u.default;function Lb(t,e,r){if(typeof e=="function"){pd.read(t,Uu(),e);return}pd.read(t,Uu(e),r)}jt.stat=Lb;function Ib(t,e){let r=Uu(e);return Pb.read(t,r)}jt.statSync=Ib;function Uu(t={}){return t instanceof $u.default?t:new $u.default(t)}});var gd=E(($O,md)=>{var dd;md.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window!="undefined"?window:global):t=>(dd||(dd=Promise.resolve())).then(t).catch(e=>setTimeout(()=>{throw e},0))});var Dd=E((UO,Ed)=>{Ed.exports=kb;var Nb=gd();function kb(t,e){let r,i,n,s=!0;Array.isArray(t)?(r=[],i=t.length):(n=Object.keys(t),r={},i=n.length);function o(a){function c(){e&&e(a,r),e=null}s?Nb(c):c()}function u(a,c,l){r[a]=l,(--i===0||c)&&o(c)}i?n?n.forEach(function(a){t[a](function(c,l){u(a,c,l)})}):t.forEach(function(a,c){a(function(l,f){u(c,l,f)})}):o(null),s=!1}});var Gu=E(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var Zn=process.versions.node.split(".");if(Zn[0]===void 0||Zn[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var yd=Number.parseInt(Zn[0],10),Mb=Number.parseInt(Zn[1],10),Ad=10,qb=10,Hb=yd>Ad,$b=yd===Ad&&Mb>=qb;Jn.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Hb||$b});var _d=E(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.createDirentFromStats=void 0;var ju=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function Ub(t,e){return new ju(t,e)}Qn.createDirentFromStats=Ub});var Wu=E(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});es.fs=void 0;var Gb=_d();es.fs=Gb});var zu=E(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.joinPathSegments=void 0;function jb(t,e,r){return t.endsWith(r)?t+e:t+r+e}ts.joinPathSegments=jb});var xd=E(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.readdir=Wt.readdirWithFileTypes=Wt.read=void 0;var Wb=Er(),Sd=Dd(),zb=Gu(),Cd=Wu(),bd=zu();function Yb(t,e,r){if(!e.stats&&zb.IS_SUPPORT_READDIR_WITH_FILE_TYPES){wd(t,e,r);return}Fd(t,e,r)}Wt.read=Yb;function wd(t,e,r){e.fs.readdir(t,{withFileTypes:!0},(i,n)=>{if(i!==null){rs(r,i);return}let s=n.map(u=>({dirent:u,name:u.name,path:bd.joinPathSegments(t,u.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){Yu(r,s);return}let o=s.map(u=>Kb(u,e));Sd(o,(u,a)=>{if(u!==null){rs(r,u);return}Yu(r,a)})})}Wt.readdirWithFileTypes=wd;function Kb(t,e){return r=>{if(!t.dirent.isSymbolicLink()){r(null,t);return}e.fs.stat(t.path,(i,n)=>{if(i!==null){if(e.throwErrorOnBrokenSymbolicLink){r(i);return}r(null,t);return}t.dirent=Cd.fs.createDirentFromStats(t.name,n),r(null,t)})}}function Fd(t,e,r){e.fs.readdir(t,(i,n)=>{if(i!==null){rs(r,i);return}let s=n.map(o=>{let u=bd.joinPathSegments(t,o,e.pathSegmentSeparator);return a=>{Wb.stat(u,e.fsStatSettings,(c,l)=>{if(c!==null){a(c);return}let f={name:o,path:u,dirent:Cd.fs.createDirentFromStats(o,l)};e.stats&&(f.stats=l),a(null,f)})}});Sd(s,(o,u)=>{if(o!==null){rs(r,o);return}Yu(r,u)})})}Wt.readdir=Fd;function rs(t,e){t(e)}function Yu(t,e){t(null,e)}});var Bd=E(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.readdir=zt.readdirWithFileTypes=zt.read=void 0;var Vb=Er(),Xb=Gu(),vd=Wu(),Rd=zu();function Zb(t,e){return!e.stats&&Xb.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Td(t,e):Od(t,e)}zt.read=Zb;function Td(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(i=>{let n={dirent:i,name:i.name,path:Rd.joinPathSegments(t,i.name,e.pathSegmentSeparator)};if(n.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{let s=e.fs.statSync(n.path);n.dirent=vd.fs.createDirentFromStats(n.name,s)}catch(s){if(e.throwErrorOnBrokenSymbolicLink)throw s}return n})}zt.readdirWithFileTypes=Td;function Od(t,e){return e.fs.readdirSync(t).map(i=>{let n=Rd.joinPathSegments(t,i,e.pathSegmentSeparator),s=Vb.statSync(n,e.fsStatSettings),o={name:i,path:n,dirent:vd.fs.createDirentFromStats(i,s)};return e.stats&&(o.stats=s),o})}zt.readdir=Od});var Pd=E(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.createFileSystemAdapter=Yt.FILE_SYSTEM_ADAPTER=void 0;var zr=require("fs");Yt.FILE_SYSTEM_ADAPTER={lstat:zr.lstat,stat:zr.stat,lstatSync:zr.lstatSync,statSync:zr.statSync,readdir:zr.readdir,readdirSync:zr.readdirSync};function Jb(t){return t===void 0?Yt.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Yt.FILE_SYSTEM_ADAPTER),t)}Yt.createFileSystemAdapter=Jb});var Ld=E(Vu=>{"use strict";Object.defineProperty(Vu,"__esModule",{value:!0});var Qb=require("path"),e1=Er(),t1=Pd(),Ku=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=t1.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Qb.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new e1.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e!=null?e:r}};Vu.default=Ku});var is=E(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.Settings=Kt.scandirSync=Kt.scandir=void 0;var Id=xd(),r1=Bd(),Xu=Ld();Kt.Settings=Xu.default;function i1(t,e,r){if(typeof e=="function"){Id.read(t,Zu(),e);return}Id.read(t,Zu(e),r)}Kt.scandir=i1;function n1(t,e){let r=Zu(e);return r1.read(t,r)}Kt.scandirSync=n1;function Zu(t={}){return t instanceof Xu.default?t:new Xu.default(t)}});var kd=E((JO,Nd)=>{"use strict";function s1(t){var e=new t,r=e;function i(){var s=e;return s.next?e=s.next:(e=new t,r=e),s.next=null,s}function n(s){r.next=s,r=s}return{get:i,release:n}}Nd.exports=s1});var qd=E((QO,Ju)=>{"use strict";var o1=kd();function Md(t,e,r){if(typeof t=="function"&&(r=e,e=t,t=null),r<1)throw new Error("fastqueue concurrency must be greater than 1");var i=o1(u1),n=null,s=null,o=0,u=null,a={push:g,drain:je,saturated:je,pause:l,paused:!1,concurrency:r,running:c,resume:D,idle:m,length:f,getQueue:h,unshift:A,empty:je,kill:w,killAndDrain:P,error:M};return a;function c(){return o}function l(){a.paused=!0}function f(){for(var T=n,$=0;T;)T=T.next,$++;return $}function h(){for(var T=n,$=[];T;)$.push(T.value),T=T.next;return $}function D(){if(a.paused){a.paused=!1;for(var T=0;T<a.concurrency;T++)o++,y()}}function m(){return o===0&&a.length()===0}function g(T,$){var N=i.get();N.context=t,N.release=y,N.value=T,N.callback=$||je,N.errorHandler=u,o===a.concurrency||a.paused?s?(s.next=N,s=N):(n=N,s=N,a.saturated()):(o++,e.call(t,N.value,N.worked))}function A(T,$){var N=i.get();N.context=t,N.release=y,N.value=T,N.callback=$||je,o===a.concurrency||a.paused?n?(N.next=n,n=N):(n=N,s=N,a.saturated()):(o++,e.call(t,N.value,N.worked))}function y(T){T&&i.release(T);var $=n;$?a.paused?o--:(s===n&&(s=null),n=$.next,$.next=null,e.call(t,$.value,$.worked),s===null&&a.empty()):--o===0&&a.drain()}function w(){n=null,s=null,a.drain=je}function P(){n=null,s=null,a.drain(),a.drain=je}function M(T){u=T}}function je(){}function u1(){this.value=null,this.callback=je,this.next=null,this.release=je,this.context=null,this.errorHandler=null;var t=this;this.worked=function(r,i){var n=t.callback,s=t.errorHandler,o=t.value;t.value=null,t.callback=je,t.errorHandler&&s(r,o),n.call(t.context,r,i),t.release(t)}}function a1(t,e,r){typeof t=="function"&&(r=e,e=t,t=null);function i(l,f){e.call(this,l).then(function(h){f(null,h)},f)}var n=Md(t,i,r),s=n.push,o=n.unshift;return n.push=u,n.unshift=a,n.drained=c,n;function u(l){var f=new Promise(function(h,D){s(l,function(m,g){if(m){D(m);return}h(g)})});return f.catch(je),f}function a(l){var f=new Promise(function(h,D){o(l,function(m,g){if(m){D(m);return}h(g)})});return f.catch(je),f}function c(){var l=n.drain,f=new Promise(function(h){n.drain=function(){l(),h()}});return f}}Ju.exports=Md;Ju.exports.promise=a1});var ns=E(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});ot.joinPathSegments=ot.replacePathSegmentSeparator=ot.isAppliedFilter=ot.isFatalError=void 0;function c1(t,e){return t.errorFilter===null?!0:!t.errorFilter(e)}ot.isFatalError=c1;function l1(t,e){return t===null||t(e)}ot.isAppliedFilter=l1;function f1(t,e){return t.split(/[/\\]/).join(e)}ot.replacePathSegmentSeparator=f1;function h1(t,e,r){return t===""?e:t.endsWith(r)?t+e:t+r+e}ot.joinPathSegments=h1});var ta=E(ea=>{"use strict";Object.defineProperty(ea,"__esModule",{value:!0});var p1=ns(),Qu=class{constructor(e,r){this._root=e,this._settings=r,this._root=p1.replacePathSegmentSeparator(e,r.pathSegmentSeparator)}};ea.default=Qu});var na=E(ia=>{"use strict";Object.defineProperty(ia,"__esModule",{value:!0});var d1=require("events"),m1=is(),g1=qd(),ss=ns(),E1=ta(),ra=class extends E1.default{constructor(e,r){super(e,r),this._settings=r,this._scandir=m1.scandir,this._emitter=new d1.EventEmitter,this._queue=g1(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,r){let i={directory:e,base:r};this._queue.push(i,n=>{n!==null&&this._handleError(n)})}_worker(e,r){this._scandir(e.directory,this._settings.fsScandirSettings,(i,n)=>{if(i!==null){r(i,void 0);return}for(let s of n)this._handleEntry(s,e.base);r(null,void 0)})}_handleError(e){this._isDestroyed||!ss.isFatalError(this._settings,e)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,r){if(this._isDestroyed||this._isFatalError)return;let i=e.path;r!==void 0&&(e.path=ss.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),ss.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&ss.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(i,r===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}};ia.default=ra});var Hd=E(oa=>{"use strict";Object.defineProperty(oa,"__esModule",{value:!0});var D1=na(),sa=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new D1.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(r=>{y1(e,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{A1(e,this._storage)}),this._reader.read()}};oa.default=sa;function y1(t,e){t(e)}function A1(t,e){t(null,e)}});var $d=E(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});var _1=require("stream"),S1=na(),ua=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new S1.default(this._root,this._settings),this._stream=new _1.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};aa.default=ua});var Ud=E(la=>{"use strict";Object.defineProperty(la,"__esModule",{value:!0});var C1=is(),os=ns(),b1=ta(),ca=class extends b1.default{constructor(){super(...arguments),this._scandir=C1.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,r){this._queue.add({directory:e,base:r})}_handleQueue(){for(let e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,r){try{let i=this._scandir(e,this._settings.fsScandirSettings);for(let n of i)this._handleEntry(n,r)}catch(i){this._handleError(i)}}_handleError(e){if(os.isFatalError(this._settings,e))throw e}_handleEntry(e,r){let i=e.path;r!==void 0&&(e.path=os.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),os.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&os.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(i,r===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}};la.default=ca});var Gd=E(ha=>{"use strict";Object.defineProperty(ha,"__esModule",{value:!0});var w1=Ud(),fa=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new w1.default(this._root,this._settings)}read(){return this._reader.read()}};ha.default=fa});var jd=E(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});var F1=require("path"),x1=is(),pa=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,F1.sep),this.fsScandirSettings=new x1.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e!=null?e:r}};da.default=pa});var as=E(ut=>{"use strict";Object.defineProperty(ut,"__esModule",{value:!0});ut.Settings=ut.walkStream=ut.walkSync=ut.walk=void 0;var Wd=Hd(),v1=$d(),R1=Gd(),ma=jd();ut.Settings=ma.default;function T1(t,e,r){if(typeof e=="function"){new Wd.default(t,us()).read(e);return}new Wd.default(t,us(e)).read(r)}ut.walk=T1;function O1(t,e){let r=us(e);return new R1.default(t,r).read()}ut.walkSync=O1;function B1(t,e){let r=us(e);return new v1.default(t,r).read()}ut.walkStream=B1;function us(t={}){return t instanceof ma.default?t:new ma.default(t)}});var cs=E(Ea=>{"use strict";Object.defineProperty(Ea,"__esModule",{value:!0});var P1=require("path"),L1=Er(),zd=wt(),ga=class{constructor(e){this._settings=e,this._fsStatSettings=new L1.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return P1.resolve(this._settings.cwd,e)}_makeEntry(e,r){let i={name:r,path:r,dirent:zd.fs.createDirentFromStats(r,e)};return this._settings.stats&&(i.stats=e),i}_isFatalError(e){return!zd.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};Ea.default=ga});var Aa=E(ya=>{"use strict";Object.defineProperty(ya,"__esModule",{value:!0});var I1=require("stream"),N1=Er(),k1=as(),M1=cs(),Da=class extends M1.default{constructor(){super(...arguments),this._walkStream=k1.walkStream,this._stat=N1.stat}dynamic(e,r){return this._walkStream(e,r)}static(e,r){let i=e.map(this._getFullEntryPath,this),n=new I1.PassThrough({objectMode:!0});n._write=(s,o,u)=>this._getEntry(i[s],e[s],r).then(a=>{a!==null&&r.entryFilter(a)&&n.push(a),s===i.length-1&&n.end(),u()}).catch(u);for(let s=0;s<i.length;s++)n.write(s);return n}_getEntry(e,r,i){return this._getStat(e).then(n=>this._makeEntry(n,r)).catch(n=>{if(i.errorFilter(n))return null;throw n})}_getStat(e){return new Promise((r,i)=>{this._stat(e,this._fsStatSettings,(n,s)=>n===null?r(s):i(n))})}};ya.default=Da});var Yd=E(Sa=>{"use strict";Object.defineProperty(Sa,"__esModule",{value:!0});var q1=as(),H1=cs(),$1=Aa(),_a=class extends H1.default{constructor(){super(...arguments),this._walkAsync=q1.walk,this._readerStream=new $1.default(this._settings)}dynamic(e,r){return new Promise((i,n)=>{this._walkAsync(e,r,(s,o)=>{s===null?i(o):n(s)})})}async static(e,r){let i=[],n=this._readerStream.static(e,r);return new Promise((s,o)=>{n.once("error",o),n.on("data",u=>i.push(u)),n.once("end",()=>s(i))})}};Sa.default=_a});var Kd=E(ba=>{"use strict";Object.defineProperty(ba,"__esModule",{value:!0});var Yr=wt(),Ca=class{constructor(e,r,i){this._patterns=e,this._settings=r,this._micromatchOptions=i,this._storage=[],this._fillStorage()}_fillStorage(){let e=Yr.pattern.expandPatternsWithBraceExpansion(this._patterns);for(let r of e){let i=this._getPatternSegments(r),n=this._splitSegmentsIntoSections(i);this._storage.push({complete:n.length<=1,pattern:r,segments:i,sections:n})}}_getPatternSegments(e){return Yr.pattern.getPatternParts(e,this._micromatchOptions).map(i=>Yr.pattern.isDynamicPattern(i,this._settings)?{dynamic:!0,pattern:i,patternRe:Yr.pattern.makeRe(i,this._micromatchOptions)}:{dynamic:!1,pattern:i})}_splitSegmentsIntoSections(e){return Yr.array.splitWhen(e,r=>r.dynamic&&Yr.pattern.hasGlobStar(r.pattern))}};ba.default=Ca});var Vd=E(Fa=>{"use strict";Object.defineProperty(Fa,"__esModule",{value:!0});var U1=Kd(),wa=class extends U1.default{match(e){let r=e.split("/"),i=r.length,n=this._storage.filter(s=>!s.complete||s.segments.length>i);for(let s of n){let o=s.sections[0];if(!s.complete&&i>o.length||r.every((a,c)=>{let l=s.segments[c];return!!(l.dynamic&&l.patternRe.test(a)||!l.dynamic&&l.pattern===a)}))return!0}return!1}};Fa.default=wa});var Xd=E(va=>{"use strict";Object.defineProperty(va,"__esModule",{value:!0});var ls=wt(),G1=Vd(),xa=class{constructor(e,r){this._settings=e,this._micromatchOptions=r}getFilter(e,r,i){let n=this._getMatcher(r),s=this._getNegativePatternsRe(i);return o=>this._filter(e,o,n,s)}_getMatcher(e){return new G1.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let r=e.filter(ls.pattern.isAffectDepthOfReadingPattern);return ls.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(e,r,i,n){if(this._isSkippedByDeep(e,r.path)||this._isSkippedSymbolicLink(r))return!1;let s=ls.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(s,i)?!1:this._isSkippedByNegativePatterns(s,n)}_isSkippedByDeep(e,r){return this._settings.deep===1/0?!1:this._getEntryLevel(e,r)>=this._settings.deep}_getEntryLevel(e,r){let i=r.split("/").length;if(e==="")return i;let n=e.split("/").length;return i-n}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,r){return!this._settings.baseNameMatch&&!r.match(e)}_isSkippedByNegativePatterns(e,r){return!ls.pattern.matchAny(e,r)}};va.default=xa});var Zd=E(Ta=>{"use strict";Object.defineProperty(Ta,"__esModule",{value:!0});var Dr=wt(),Ra=class{constructor(e,r){this._settings=e,this._micromatchOptions=r,this.index=new Map}getFilter(e,r){let i=Dr.pattern.convertPatternsToRe(e,this._micromatchOptions),n=Dr.pattern.convertPatternsToRe(r,this._micromatchOptions);return s=>this._filter(s,i,n)}_filter(e,r,i){if(this._settings.unique&&this._isDuplicateEntry(e)||this._onlyFileFilter(e)||this._onlyDirectoryFilter(e)||this._isSkippedByAbsoluteNegativePatterns(e.path,i))return!1;let n=this._settings.baseNameMatch?e.name:e.path,s=e.dirent.isDirectory(),o=this._isMatchToPatterns(n,r,s)&&!this._isMatchToPatterns(e.path,i,s);return this._settings.unique&&o&&this._createIndexRecord(e),o}_isDuplicateEntry(e){return this.index.has(e.path)}_createIndexRecord(e){this.index.set(e.path,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,r){if(!this._settings.absolute)return!1;let i=Dr.path.makeAbsolute(this._settings.cwd,e);return Dr.pattern.matchAny(i,r)}_isMatchToPatterns(e,r,i){let n=Dr.path.removeLeadingDotSegment(e),s=Dr.pattern.matchAny(n,r);return!s&&i?Dr.pattern.matchAny(n+"/",r):s}};Ta.default=Ra});var Jd=E(Ba=>{"use strict";Object.defineProperty(Ba,"__esModule",{value:!0});var j1=wt(),Oa=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return j1.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};Ba.default=Oa});var em=E(La=>{"use strict";Object.defineProperty(La,"__esModule",{value:!0});var Qd=wt(),Pa=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let r=e.path;return this._settings.absolute&&(r=Qd.path.makeAbsolute(this._settings.cwd,r),r=Qd.path.unixify(r)),this._settings.markDirectories&&e.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:r}):r}};La.default=Pa});var fs=E(Na=>{"use strict";Object.defineProperty(Na,"__esModule",{value:!0});var W1=require("path"),z1=Xd(),Y1=Zd(),K1=Jd(),V1=em(),Ia=class{constructor(e){this._settings=e,this.errorFilter=new K1.default(this._settings),this.entryFilter=new Y1.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new z1.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new V1.default(this._settings)}_getRootDirectory(e){return W1.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){let r=e.base==="."?"":e.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};Na.default=Ia});var tm=E(Ma=>{"use strict";Object.defineProperty(Ma,"__esModule",{value:!0});var X1=Yd(),Z1=fs(),ka=class extends Z1.default{constructor(){super(...arguments),this._reader=new X1.default(this._settings)}async read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e);return(await this.api(r,e,i)).map(s=>i.transform(s))}api(e,r,i){return r.dynamic?this._reader.dynamic(e,i):this._reader.static(r.patterns,i)}};Ma.default=ka});var rm=E(Ha=>{"use strict";Object.defineProperty(Ha,"__esModule",{value:!0});var J1=require("stream"),Q1=Aa(),ew=fs(),qa=class extends ew.default{constructor(){super(...arguments),this._reader=new Q1.default(this._settings)}read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e),n=this.api(r,e,i),s=new J1.Readable({objectMode:!0,read:()=>{}});return n.once("error",o=>s.emit("error",o)).on("data",o=>s.emit("data",i.transform(o))).once("end",()=>s.emit("end")),s.once("close",()=>n.destroy()),s}api(e,r,i){return r.dynamic?this._reader.dynamic(e,i):this._reader.static(r.patterns,i)}};Ha.default=qa});var im=E(Ua=>{"use strict";Object.defineProperty(Ua,"__esModule",{value:!0});var tw=Er(),rw=as(),iw=cs(),$a=class extends iw.default{constructor(){super(...arguments),this._walkSync=rw.walkSync,this._statSync=tw.statSync}dynamic(e,r){return this._walkSync(e,r)}static(e,r){let i=[];for(let n of e){let s=this._getFullEntryPath(n),o=this._getEntry(s,n,r);o===null||!r.entryFilter(o)||i.push(o)}return i}_getEntry(e,r,i){try{let n=this._getStat(e);return this._makeEntry(n,r)}catch(n){if(i.errorFilter(n))return null;throw n}}_getStat(e){return this._statSync(e,this._fsStatSettings)}};Ua.default=$a});var nm=E(ja=>{"use strict";Object.defineProperty(ja,"__esModule",{value:!0});var nw=im(),sw=fs(),Ga=class extends sw.default{constructor(){super(...arguments),this._reader=new nw.default(this._settings)}read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e);return this.api(r,e,i).map(i.transform)}api(e,r,i){return r.dynamic?this._reader.dynamic(e,i):this._reader.static(r.patterns,i)}};ja.default=Ga});var sm=E(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var Kr=require("fs"),ow=require("os"),uw=Math.max(ow.cpus().length,1);Vr.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:Kr.lstat,lstatSync:Kr.lstatSync,stat:Kr.stat,statSync:Kr.statSync,readdir:Kr.readdir,readdirSync:Kr.readdirSync};var Wa=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,uw),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(e,r){return e===void 0?r:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},Vr.DEFAULT_FILE_SYSTEM_ADAPTER),e)}};Vr.default=Wa});var cm=E((bB,am)=>{"use strict";var om=sd(),um=ud(),aw=tm(),cw=rm(),lw=nm(),za=sm(),yr=wt();async function Ya(t,e){Xr(t);let r=Ka(t,aw.default,e),i=await Promise.all(r);return yr.array.flatten(i)}(function(t){function e(o,u){Xr(o);let a=Ka(o,lw.default,u);return yr.array.flatten(a)}t.sync=e;function r(o,u){Xr(o);let a=Ka(o,cw.default,u);return yr.stream.merge(a)}t.stream=r;function i(o,u){Xr(o);let a=um.transform([].concat(o)),c=new za.default(u);return om.generate(a,c)}t.generateTasks=i;function n(o,u){Xr(o);let a=new za.default(u);return yr.pattern.isDynamicPattern(o,a)}t.isDynamicPattern=n;function s(o){return Xr(o),yr.path.escape(o)}t.escapePath=s})(Ya||(Ya={}));function Ka(t,e,r){let i=um.transform([].concat(t)),n=new za.default(r),s=om.generate(i,n),o=new e(n);return s.map(o.read,o)}function Xr(t){if(![].concat(t).every(i=>yr.string.isString(i)&&!yr.string.isEmpty(i)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}am.exports=Ya});var Cm=E((RB,Sm)=>{Sm.exports=_m;_m.sync=Aw;var ym=require("fs");function yw(t,e){var r=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!r||(r=r.split(";"),r.indexOf("")!==-1))return!0;for(var i=0;i<r.length;i++){var n=r[i].toLowerCase();if(n&&t.substr(-n.length).toLowerCase()===n)return!0}return!1}function Am(t,e,r){return!t.isSymbolicLink()&&!t.isFile()?!1:yw(e,r)}function _m(t,e,r){ym.stat(t,function(i,n){r(i,i?!1:Am(n,t,e))})}function Aw(t,e){return Am(ym.statSync(t),t,e)}});var vm=E((TB,xm)=>{xm.exports=wm;wm.sync=_w;var bm=require("fs");function wm(t,e,r){bm.stat(t,function(i,n){r(i,i?!1:Fm(n,e))})}function _w(t,e){return Fm(bm.statSync(t),e)}function Fm(t,e){return t.isFile()&&Sw(t,e)}function Sw(t,e){var r=t.mode,i=t.uid,n=t.gid,s=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),o=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),u=parseInt("100",8),a=parseInt("010",8),c=parseInt("001",8),l=u|a,f=r&c||r&a&&n===o||r&u&&i===s||r&l&&s===0;return f}});var Tm=E((BB,Rm)=>{var OB=require("fs"),hs;process.platform==="win32"||global.TESTING_WINDOWS?hs=Cm():hs=vm();Rm.exports=Ja;Ja.sync=Cw;function Ja(t,e,r){if(typeof e=="function"&&(r=e,e={}),!r){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(i,n){Ja(t,e||{},function(s,o){s?n(s):i(o)})})}hs(t,e||{},function(i,n){i&&(i.code==="EACCES"||e&&e.ignoreErrors)&&(i=null,n=!1),r(i,n)})}function Cw(t,e){try{return hs.sync(t,e||{})}catch(r){if(e&&e.ignoreErrors||r.code==="EACCES")return!1;throw r}}});var km=E((PB,Nm)=>{var ei=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Om=require("path"),bw=ei?";":":",Bm=Tm(),Pm=t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"}),Lm=(t,e)=>{let r=e.colon||bw,i=t.match(/\//)||ei&&t.match(/\\/)?[""]:[...ei?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(r)],n=ei?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=ei?n.split(r):[""];return ei&&t.indexOf(".")!==-1&&s[0]!==""&&s.unshift(""),{pathEnv:i,pathExt:s,pathExtExe:n}},Im=(t,e,r)=>{typeof e=="function"&&(r=e,e={}),e||(e={});let{pathEnv:i,pathExt:n,pathExtExe:s}=Lm(t,e),o=[],u=c=>new Promise((l,f)=>{if(c===i.length)return e.all&&o.length?l(o):f(Pm(t));let h=i[c],D=/^".*"$/.test(h)?h.slice(1,-1):h,m=Om.join(D,t),g=!D&&/^\.[\\\/]/.test(t)?t.slice(0,2)+m:m;l(a(g,c,0))}),a=(c,l,f)=>new Promise((h,D)=>{if(f===n.length)return h(u(l+1));let m=n[f];Bm(c+m,{pathExt:s},(g,A)=>{if(!g&&A)if(e.all)o.push(c+m);else return h(c+m);return h(a(c,l,f+1))})});return r?u(0).then(c=>r(null,c),r):u(0)},ww=(t,e)=>{e=e||{};let{pathEnv:r,pathExt:i,pathExtExe:n}=Lm(t,e),s=[];for(let o=0;o<r.length;o++){let u=r[o],a=/^".*"$/.test(u)?u.slice(1,-1):u,c=Om.join(a,t),l=!a&&/^\.[\\\/]/.test(t)?t.slice(0,2)+c:c;for(let f=0;f<i.length;f++){let h=l+i[f];try{if(Bm.sync(h,{pathExt:n}))if(e.all)s.push(h);else return h}catch{}}}if(e.all&&s.length)return s;if(e.nothrow)return null;throw Pm(t)};Nm.exports=Im;Im.sync=ww});var ec=E((LB,Qa)=>{"use strict";var Mm=(t={})=>{let e=t.env||process.env;return(t.platform||process.platform)!=="win32"?"PATH":Object.keys(e).reverse().find(i=>i.toUpperCase()==="PATH")||"Path"};Qa.exports=Mm;Qa.exports.default=Mm});var Um=E((IB,$m)=>{"use strict";var qm=require("path"),Fw=km(),xw=ec();function Hm(t,e){let r=t.options.env||process.env,i=process.cwd(),n=t.options.cwd!=null,s=n&&process.chdir!==void 0&&!process.chdir.disabled;if(s)try{process.chdir(t.options.cwd)}catch{}let o;try{o=Fw.sync(t.command,{path:r[xw({env:r})],pathExt:e?qm.delimiter:void 0})}catch{}finally{s&&process.chdir(i)}return o&&(o=qm.resolve(n?t.options.cwd:"",o)),o}function vw(t){return Hm(t)||Hm(t,!0)}$m.exports=vw});var Gm=E((NB,rc)=>{"use strict";var tc=/([()\][%!^"`<>&|;, *?])/g;function Rw(t){return t=t.replace(tc,"^$1"),t}function Tw(t,e){return t=`${t}`,t=t.replace(/(\\*)"/g,'$1$1\\"'),t=t.replace(/(\\*)$/,"$1$1"),t=`"${t}"`,t=t.replace(tc,"^$1"),e&&(t=t.replace(tc,"^$1")),t}rc.exports.command=Rw;rc.exports.argument=Tw});var Wm=E((kB,jm)=>{"use strict";jm.exports=/^#!(.*)/});var Ym=E((MB,zm)=>{"use strict";var Ow=Wm();zm.exports=(t="")=>{let e=t.match(Ow);if(!e)return null;let[r,i]=e[0].replace(/#! ?/,"").split(" "),n=r.split("/").pop();return n==="env"?i:i?`${n} ${i}`:n}});var Vm=E((qB,Km)=>{"use strict";var ic=require("fs"),Bw=Ym();function Pw(t){let r=Buffer.alloc(150),i;try{i=ic.openSync(t,"r"),ic.readSync(i,r,0,150,0),ic.closeSync(i)}catch{}return Bw(r.toString())}Km.exports=Pw});var Qm=E((HB,Jm)=>{"use strict";var Lw=require("path"),Xm=Um(),Zm=Gm(),Iw=Vm(),Nw=process.platform==="win32",kw=/\.(?:com|exe)$/i,Mw=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function qw(t){t.file=Xm(t);let e=t.file&&Iw(t.file);return e?(t.args.unshift(t.file),t.command=e,Xm(t)):t.file}function Hw(t){if(!Nw)return t;let e=qw(t),r=!kw.test(e);if(t.options.forceShell||r){let i=Mw.test(e);t.command=Lw.normalize(t.command),t.command=Zm.command(t.command),t.args=t.args.map(s=>Zm.argument(s,i));let n=[t.command].concat(t.args).join(" ");t.args=["/d","/s","/c",`"${n}"`],t.command=process.env.comspec||"cmd.exe",t.options.windowsVerbatimArguments=!0}return t}function $w(t,e,r){e&&!Array.isArray(e)&&(r=e,e=null),e=e?e.slice(0):[],r=Object.assign({},r);let i={command:t,args:e,options:r,file:void 0,original:{command:t,args:e}};return r.shell?i:Hw(i)}Jm.exports=$w});var r0=E(($B,t0)=>{"use strict";var nc=process.platform==="win32";function sc(t,e){return Object.assign(new Error(`${e} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${t.command}`,path:t.command,spawnargs:t.args})}function Uw(t,e){if(!nc)return;let r=t.emit;t.emit=function(i,n){if(i==="exit"){let s=e0(n,e,"spawn");if(s)return r.call(t,"error",s)}return r.apply(t,arguments)}}function e0(t,e){return nc&&t===1&&!e.file?sc(e.original,"spawn"):null}function Gw(t,e){return nc&&t===1&&!e.file?sc(e.original,"spawnSync"):null}t0.exports={hookChildProcess:Uw,verifyENOENT:e0,verifyENOENTSync:Gw,notFoundError:sc}});var s0=E((UB,ti)=>{"use strict";var i0=require("child_process"),oc=Qm(),uc=r0();function n0(t,e,r){let i=oc(t,e,r),n=i0.spawn(i.command,i.args,i.options);return uc.hookChildProcess(n,i),n}function jw(t,e,r){let i=oc(t,e,r),n=i0.spawnSync(i.command,i.args,i.options);return n.error=n.error||uc.verifyENOENTSync(n.status,i),n}ti.exports=n0;ti.exports.spawn=n0;ti.exports.sync=jw;ti.exports._parse=oc;ti.exports._enoent=uc});var u0=E((GB,o0)=>{"use strict";o0.exports=t=>{let e=typeof t=="string"?`
|
2
3
|
`:`
|
3
|
-
`.charCodeAt(),
|
4
|
-
${
|
5
|
-
`);return w?(e.originalMessage=e.message,e.message=m):e=new Error(m),e.shortMessage=v,e.command=c,e.escapedCommand=o,e.exitCode=a,e.signal=f,e.signalDescription=E,e.stdout=p,e.stderr=u,r!==void 0&&(e.all=r),"bufferedData"in e&&delete e.bufferedData,e.failed=!0,e.timedOut=!!d,e.isCanceled=h,e.killed=y&&!d,e};l.exports=i}),vo=N((t,l)=>{"use strict";B();var n=["stdin","stdout","stderr"],s=p=>n.some(u=>p[u]!==void 0),i=p=>{if(!p)return;let{stdio:u}=p;if(u===void 0)return n.map(e=>p[e]);if(s(p))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${n.map(e=>`\`${e}\``).join(", ")}`);if(typeof u=="string")return u;if(!Array.isArray(u))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof u}\``);let r=Math.max(u.length,n.length);return Array.from({length:r},(e,f)=>u[f])};l.exports=i,l.exports.node=p=>{let u=i(p);return u==="ipc"?"ipc":u===void 0||typeof u=="string"?[u,u,u,"ipc"]:u.includes("ipc")?u:[...u,"ipc"]}}),Eo=N((t,l)=>{"use strict";B();var n=Z("os"),s=Xe(),i=1e3*5,p=(y,b="SIGTERM",E={})=>{let g=y(b);return u(y,b,E,g),g},u=(y,b,E,g)=>{if(!r(b,E,g))return;let D=f(E),w=setTimeout(()=>{y("SIGKILL")},D);w.unref&&w.unref()},r=(y,{forceKillAfterTimeout:b},E)=>e(y)&&b!==!1&&E,e=y=>y===n.constants.signals.SIGTERM||typeof y=="string"&&y.toUpperCase()==="SIGTERM",f=({forceKillAfterTimeout:y=!0})=>{if(y===!0)return i;if(!Number.isFinite(y)||y<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${y}\` (${typeof y})`);return y},a=(y,b)=>{y.kill()&&(b.isCanceled=!0)},c=(y,b,E)=>{y.kill(b),E(Object.assign(new Error("Timed out"),{timedOut:!0,signal:b}))},o=(y,{timeout:b,killSignal:E="SIGTERM"},g)=>{if(b===0||b===void 0)return g;let D,w=new Promise((m,_)=>{D=setTimeout(()=>{c(y,E,_)},b)}),v=g.finally(()=>{clearTimeout(D)});return Promise.race([w,v])},d=({timeout:y})=>{if(y!==void 0&&(!Number.isFinite(y)||y<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${y}\` (${typeof y})`)},h=async(y,{cleanup:b,detached:E},g)=>{if(!b||E)return g;let D=s(()=>{y.kill()});return g.finally(()=>{D()})};l.exports={spawnedKill:p,spawnedCancel:a,setupTimeout:o,validateTimeout:d,setExitHandler:h}}),_o=N((t,l)=>{"use strict";B();var n=s=>s!==null&&typeof s=="object"&&typeof s.pipe=="function";n.writable=s=>n(s)&&s.writable!==!1&&typeof s._write=="function"&&typeof s._writableState=="object",n.readable=s=>n(s)&&s.readable!==!1&&typeof s._read=="function"&&typeof s._readableState=="object",n.duplex=s=>n.writable(s)&&n.readable(s),n.transform=s=>n.duplex(s)&&typeof s._transform=="function",l.exports=n}),wo=N((t,l)=>{"use strict";B();var{PassThrough:n}=Z("stream");l.exports=s=>{s={...s};let{array:i}=s,{encoding:p}=s,u=p==="buffer",r=!1;i?r=!(p||u):p=p||"utf8",u&&(p=null);let e=new n({objectMode:r});p&&e.setEncoding(p);let f=0,a=[];return e.on("data",c=>{a.push(c),r?f=a.length:f+=c.length}),e.getBufferedValue=()=>i?a:u?Buffer.concat(a,f):a.join(""),e.getBufferedLength=()=>f,e}}),Do=N((t,l)=>{"use strict";B();var{constants:n}=Z("buffer"),s=Z("stream"),{promisify:i}=Z("util"),p=wo(),u=i(s.pipeline),r=class extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}};async function e(f,a){if(!f)throw new Error("Expected a stream");a={maxBuffer:1/0,...a};let{maxBuffer:c}=a,o=p(a);return await new Promise((d,h)=>{let y=b=>{b&&o.getBufferedLength()<=n.MAX_LENGTH&&(b.bufferedData=o.getBufferedValue()),h(b)};(async()=>{try{await u(f,o),d()}catch(b){y(b)}})(),o.on("data",()=>{o.getBufferedLength()>c&&y(new r)})}),o.getBufferedValue()}l.exports=e,l.exports.buffer=(f,a)=>e(f,{...a,encoding:"buffer"}),l.exports.array=(f,a)=>e(f,{...a,array:!0}),l.exports.MaxBufferError=r}),So=N((t,l)=>{"use strict";B();var{PassThrough:n}=Z("stream");l.exports=function(){var s=[],i=new n({objectMode:!0});return i.setMaxListeners(0),i.add=p,i.isEmpty=u,i.on("unpipe",r),Array.prototype.slice.call(arguments).forEach(p),i;function p(e){return Array.isArray(e)?(e.forEach(p),this):(s.push(e),e.once("end",r.bind(null,e)),e.once("error",i.emit.bind(i,"error")),e.pipe(i,{end:!1}),this)}function u(){return s.length==0}function r(e){s=s.filter(function(f){return f!==e}),!s.length&&i.readable&&i.end()}}}),Ao=N((t,l)=>{"use strict";B();var n=_o(),s=Do(),i=So(),p=(c,o)=>{o===void 0||c.stdin===void 0||(n(o)?o.pipe(c.stdin):c.stdin.end(o))},u=(c,{all:o})=>{if(!o||!c.stdout&&!c.stderr)return;let d=i();return c.stdout&&d.add(c.stdout),c.stderr&&d.add(c.stderr),d},r=async(c,o)=>{if(c){c.destroy();try{return await o}catch(d){return d.bufferedData}}},e=(c,{encoding:o,buffer:d,maxBuffer:h})=>{if(!(!c||!d))return o?s(c,{encoding:o,maxBuffer:h}):s.buffer(c,{maxBuffer:h})},f=async({stdout:c,stderr:o,all:d},{encoding:h,buffer:y,maxBuffer:b},E)=>{let g=e(c,{encoding:h,buffer:y,maxBuffer:b}),D=e(o,{encoding:h,buffer:y,maxBuffer:b}),w=e(d,{encoding:h,buffer:y,maxBuffer:b*2});try{return await Promise.all([E,g,D,w])}catch(v){return Promise.all([{error:v,signal:v.signal,timedOut:v.timedOut},r(c,g),r(o,D),r(d,w)])}},a=({input:c})=>{if(n(c))throw new TypeError("The `input` option cannot be a stream in sync mode")};l.exports={handleInput:p,makeAllStream:u,getSpawnedResult:f,validateInputSync:a}}),Co=N((t,l)=>{"use strict";B();var n=(async()=>{})().constructor.prototype,s=["then","catch","finally"].map(u=>[u,Reflect.getOwnPropertyDescriptor(n,u)]),i=(u,r)=>{for(let[e,f]of s){let a=typeof r=="function"?(...c)=>Reflect.apply(f.value,r(),c):f.value.bind(r);Reflect.defineProperty(u,e,{...f,value:a})}return u},p=u=>new Promise((r,e)=>{u.on("exit",(f,a)=>{r({exitCode:f,signal:a})}),u.on("error",f=>{e(f)}),u.stdin&&u.stdin.on("error",f=>{e(f)})});l.exports={mergePromise:i,getSpawnedPromise:p}}),xo=N((t,l)=>{"use strict";B();var n=(a,c=[])=>Array.isArray(c)?[a,...c]:[a],s=/^[\w.-]+$/,i=/"/g,p=a=>typeof a!="string"||s.test(a)?a:`"${a.replace(i,'\\"')}"`,u=(a,c)=>n(a,c).join(" "),r=(a,c)=>n(a,c).map(o=>p(o)).join(" "),e=/ +/g,f=a=>{let c=[];for(let o of a.trim().split(e)){let d=c[c.length-1];d&&d.endsWith("\\")?c[c.length-1]=`${d.slice(0,-1)} ${o}`:c.push(o)}return c};l.exports={joinCommand:u,getEscapedCommand:r,parseCommand:f}}),Fo=N((t,l)=>{"use strict";B();var n=Z("path"),s=Z("child_process"),i=ho(),p=fo(),u=po(),r=Ze(),e=bo(),f=vo(),{spawnedKill:a,spawnedCancel:c,setupTimeout:o,validateTimeout:d,setExitHandler:h}=Eo(),{handleInput:y,getSpawnedResult:b,makeAllStream:E,validateInputSync:g}=Ao(),{mergePromise:D,getSpawnedPromise:w}=Co(),{joinCommand:v,parseCommand:m,getEscapedCommand:_}=xo(),S=1e3*1e3*100,A=({env:F,extendEnv:O,preferLocal:I,localDir:$,execPath:R})=>{let q=O?{...process.env,...F}:F;return I?u.env({env:q,cwd:$,execPath:R}):q},x=(F,O,I={})=>{let $=i._parse(F,O,I);return F=$.command,O=$.args,I=$.options,I={maxBuffer:S,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:I.cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,...I},I.env=A(I),I.stdio=f(I),process.platform==="win32"&&n.basename(F,".exe")==="cmd"&&O.unshift("/q"),{file:F,args:O,options:I,parsed:$}},L=(F,O,I)=>typeof O!="string"&&!Buffer.isBuffer(O)?I===void 0?void 0:"":F.stripFinalNewline?p(O):O,T=(F,O,I)=>{let $=x(F,O,I),R=v(F,O),q=_(F,O);d($.options);let W;try{W=s.spawn($.file,$.args,$.options)}catch(G){let tt=new s.ChildProcess,M=Promise.reject(e({error:G,stdout:"",stderr:"",all:"",command:R,escapedCommand:q,parsed:$,timedOut:!1,isCanceled:!1,killed:!1}));return D(tt,M)}let Q=w(W),P=o(W,$.options,Q),j=h(W,$.options,P),k={isCanceled:!1};W.kill=a.bind(null,W.kill.bind(W)),W.cancel=c.bind(null,W,k);let J=r(async()=>{let[{error:G,exitCode:tt,signal:M,timedOut:K},et,ot,ct]=await b(W,$.options,j),gt=L($.options,et),mt=L($.options,ot),H=L($.options,ct);if(G||tt!==0||M!==null){let V=e({error:G,exitCode:tt,signal:M,stdout:gt,stderr:mt,all:H,command:R,escapedCommand:q,parsed:$,timedOut:K,isCanceled:k.isCanceled,killed:W.killed});if(!$.options.reject)return V;throw V}return{command:R,escapedCommand:q,exitCode:0,stdout:gt,stderr:mt,all:H,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}});return y(W,$.options.input),W.all=E(W,$.options),D(W,J)};l.exports=T,l.exports.sync=(F,O,I)=>{let $=x(F,O,I),R=v(F,O),q=_(F,O);g($.options);let W;try{W=s.spawnSync($.file,$.args,$.options)}catch(j){throw e({error:j,stdout:"",stderr:"",all:"",command:R,escapedCommand:q,parsed:$,timedOut:!1,isCanceled:!1,killed:!1})}let Q=L($.options,W.stdout,W.error),P=L($.options,W.stderr,W.error);if(W.error||W.status!==0||W.signal!==null){let j=e({stdout:Q,stderr:P,error:W.error,signal:W.signal,exitCode:W.status,command:R,escapedCommand:q,parsed:$,timedOut:W.error&&W.error.code==="ETIMEDOUT",isCanceled:!1,killed:W.signal!==null});if(!$.options.reject)return j;throw j}return{command:R,escapedCommand:q,exitCode:0,stdout:Q,stderr:P,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}},l.exports.command=(F,O)=>{let[I,...$]=m(F);return T(I,$,O)},l.exports.commandSync=(F,O)=>{let[I,...$]=m(F);return T.sync(I,$,O)},l.exports.node=(F,O,I={})=>{O&&!Array.isArray(O)&&typeof O=="object"&&(I=O,O=[]);let $=f.node(I),R=process.execArgv.filter(Q=>!Q.startsWith("--inspect")),{nodePath:q=process.execPath,nodeOptions:W=R}=I;return T(q,[...W,F,...Array.isArray(O)?O:[]],{...I,stdin:void 0,stdout:void 0,stderr:void 0,stdio:$,shell:!1})}});B();var Up=Ot(Fo());B();var ko=N((t,l)=>{"use strict";B();var n=/[|\\{}()[\]^$+*?.]/g;l.exports=function(s){if(typeof s!="string")throw new TypeError("Expected a string");return s.replace(n,"\\$&")}}),Oo=N((t,l)=>{"use strict";B(),l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}),kn=N((t,l)=>{B();var n=Oo(),s={};for(i in n)n.hasOwnProperty(i)&&(s[n[i]]=i);var i,p=l.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(e in p)if(p.hasOwnProperty(e)){if(!("channels"in p[e]))throw new Error("missing channels property: "+e);if(!("labels"in p[e]))throw new Error("missing channel labels property: "+e);if(p[e].labels.length!==p[e].channels)throw new Error("channel and label counts mismatch: "+e);u=p[e].channels,r=p[e].labels,delete p[e].channels,delete p[e].labels,Object.defineProperty(p[e],"channels",{value:u}),Object.defineProperty(p[e],"labels",{value:r})}var u,r,e;p.rgb.hsl=function(a){var c=a[0]/255,o=a[1]/255,d=a[2]/255,h=Math.min(c,o,d),y=Math.max(c,o,d),b=y-h,E,g,D;return y===h?E=0:c===y?E=(o-d)/b:o===y?E=2+(d-c)/b:d===y&&(E=4+(c-o)/b),E=Math.min(E*60,360),E<0&&(E+=360),D=(h+y)/2,y===h?g=0:D<=.5?g=b/(y+h):g=b/(2-y-h),[E,g*100,D*100]},p.rgb.hsv=function(a){var c,o,d,h,y,b=a[0]/255,E=a[1]/255,g=a[2]/255,D=Math.max(b,E,g),w=D-Math.min(b,E,g),v=function(m){return(D-m)/6/w+1/2};return w===0?h=y=0:(y=w/D,c=v(b),o=v(E),d=v(g),b===D?h=d-o:E===D?h=1/3+c-d:g===D&&(h=2/3+o-c),h<0?h+=1:h>1&&(h-=1)),[h*360,y*100,D*100]},p.rgb.hwb=function(a){var c=a[0],o=a[1],d=a[2],h=p.rgb.hsl(a)[0],y=1/255*Math.min(c,Math.min(o,d));return d=1-1/255*Math.max(c,Math.max(o,d)),[h,y*100,d*100]},p.rgb.cmyk=function(a){var c=a[0]/255,o=a[1]/255,d=a[2]/255,h,y,b,E;return E=Math.min(1-c,1-o,1-d),h=(1-c-E)/(1-E)||0,y=(1-o-E)/(1-E)||0,b=(1-d-E)/(1-E)||0,[h*100,y*100,b*100,E*100]};function f(a,c){return Math.pow(a[0]-c[0],2)+Math.pow(a[1]-c[1],2)+Math.pow(a[2]-c[2],2)}p.rgb.keyword=function(a){var c=s[a];if(c)return c;var o=1/0,d;for(var h in n)if(n.hasOwnProperty(h)){var y=n[h],b=f(a,y);b<o&&(o=b,d=h)}return d},p.keyword.rgb=function(a){return n[a]},p.rgb.xyz=function(a){var c=a[0]/255,o=a[1]/255,d=a[2]/255;c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92,o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92,d=d>.04045?Math.pow((d+.055)/1.055,2.4):d/12.92;var h=c*.4124+o*.3576+d*.1805,y=c*.2126+o*.7152+d*.0722,b=c*.0193+o*.1192+d*.9505;return[h*100,y*100,b*100]},p.rgb.lab=function(a){var c=p.rgb.xyz(a),o=c[0],d=c[1],h=c[2],y,b,E;return o/=95.047,d/=100,h/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,d=d>.008856?Math.pow(d,1/3):7.787*d+16/116,h=h>.008856?Math.pow(h,1/3):7.787*h+16/116,y=116*d-16,b=500*(o-d),E=200*(d-h),[y,b,E]},p.hsl.rgb=function(a){var c=a[0]/360,o=a[1]/100,d=a[2]/100,h,y,b,E,g;if(o===0)return g=d*255,[g,g,g];d<.5?y=d*(1+o):y=d+o-d*o,h=2*d-y,E=[0,0,0];for(var D=0;D<3;D++)b=c+1/3*-(D-1),b<0&&b++,b>1&&b--,6*b<1?g=h+(y-h)*6*b:2*b<1?g=y:3*b<2?g=h+(y-h)*(2/3-b)*6:g=h,E[D]=g*255;return E},p.hsl.hsv=function(a){var c=a[0],o=a[1]/100,d=a[2]/100,h=o,y=Math.max(d,.01),b,E;return d*=2,o*=d<=1?d:2-d,h*=y<=1?y:2-y,E=(d+o)/2,b=d===0?2*h/(y+h):2*o/(d+o),[c,b*100,E*100]},p.hsv.rgb=function(a){var c=a[0]/60,o=a[1]/100,d=a[2]/100,h=Math.floor(c)%6,y=c-Math.floor(c),b=255*d*(1-o),E=255*d*(1-o*y),g=255*d*(1-o*(1-y));switch(d*=255,h){case 0:return[d,g,b];case 1:return[E,d,b];case 2:return[b,d,g];case 3:return[b,E,d];case 4:return[g,b,d];case 5:return[d,b,E]}},p.hsv.hsl=function(a){var c=a[0],o=a[1]/100,d=a[2]/100,h=Math.max(d,.01),y,b,E;return E=(2-o)*d,y=(2-o)*h,b=o*h,b/=y<=1?y:2-y,b=b||0,E/=2,[c,b*100,E*100]},p.hwb.rgb=function(a){var c=a[0]/360,o=a[1]/100,d=a[2]/100,h=o+d,y,b,E,g;h>1&&(o/=h,d/=h),y=Math.floor(6*c),b=1-d,E=6*c-y,y&1&&(E=1-E),g=o+E*(b-o);var D,w,v;switch(y){default:case 6:case 0:D=b,w=g,v=o;break;case 1:D=g,w=b,v=o;break;case 2:D=o,w=b,v=g;break;case 3:D=o,w=g,v=b;break;case 4:D=g,w=o,v=b;break;case 5:D=b,w=o,v=g;break}return[D*255,w*255,v*255]},p.cmyk.rgb=function(a){var c=a[0]/100,o=a[1]/100,d=a[2]/100,h=a[3]/100,y,b,E;return y=1-Math.min(1,c*(1-h)+h),b=1-Math.min(1,o*(1-h)+h),E=1-Math.min(1,d*(1-h)+h),[y*255,b*255,E*255]},p.xyz.rgb=function(a){var c=a[0]/100,o=a[1]/100,d=a[2]/100,h,y,b;return h=c*3.2406+o*-1.5372+d*-.4986,y=c*-.9689+o*1.8758+d*.0415,b=c*.0557+o*-.204+d*1.057,h=h>.0031308?1.055*Math.pow(h,1/2.4)-.055:h*12.92,y=y>.0031308?1.055*Math.pow(y,1/2.4)-.055:y*12.92,b=b>.0031308?1.055*Math.pow(b,1/2.4)-.055:b*12.92,h=Math.min(Math.max(0,h),1),y=Math.min(Math.max(0,y),1),b=Math.min(Math.max(0,b),1),[h*255,y*255,b*255]},p.xyz.lab=function(a){var c=a[0],o=a[1],d=a[2],h,y,b;return c/=95.047,o/=100,d/=108.883,c=c>.008856?Math.pow(c,1/3):7.787*c+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,d=d>.008856?Math.pow(d,1/3):7.787*d+16/116,h=116*o-16,y=500*(c-o),b=200*(o-d),[h,y,b]},p.lab.xyz=function(a){var c=a[0],o=a[1],d=a[2],h,y,b;y=(c+16)/116,h=o/500+y,b=y-d/200;var E=Math.pow(y,3),g=Math.pow(h,3),D=Math.pow(b,3);return y=E>.008856?E:(y-16/116)/7.787,h=g>.008856?g:(h-16/116)/7.787,b=D>.008856?D:(b-16/116)/7.787,h*=95.047,y*=100,b*=108.883,[h,y,b]},p.lab.lch=function(a){var c=a[0],o=a[1],d=a[2],h,y,b;return h=Math.atan2(d,o),y=h*360/2/Math.PI,y<0&&(y+=360),b=Math.sqrt(o*o+d*d),[c,b,y]},p.lch.lab=function(a){var c=a[0],o=a[1],d=a[2],h,y,b;return b=d/360*2*Math.PI,h=o*Math.cos(b),y=o*Math.sin(b),[c,h,y]},p.rgb.ansi16=function(a){var c=a[0],o=a[1],d=a[2],h=1 in arguments?arguments[1]:p.rgb.hsv(a)[2];if(h=Math.round(h/50),h===0)return 30;var y=30+(Math.round(d/255)<<2|Math.round(o/255)<<1|Math.round(c/255));return h===2&&(y+=60),y},p.hsv.ansi16=function(a){return p.rgb.ansi16(p.hsv.rgb(a),a[2])},p.rgb.ansi256=function(a){var c=a[0],o=a[1],d=a[2];if(c===o&&o===d)return c<8?16:c>248?231:Math.round((c-8)/247*24)+232;var h=16+36*Math.round(c/255*5)+6*Math.round(o/255*5)+Math.round(d/255*5);return h},p.ansi16.rgb=function(a){var c=a%10;if(c===0||c===7)return a>50&&(c+=3.5),c=c/10.5*255,[c,c,c];var o=(~~(a>50)+1)*.5,d=(c&1)*o*255,h=(c>>1&1)*o*255,y=(c>>2&1)*o*255;return[d,h,y]},p.ansi256.rgb=function(a){if(a>=232){var c=(a-232)*10+8;return[c,c,c]}a-=16;var o,d=Math.floor(a/36)/5*255,h=Math.floor((o=a%36)/6)/5*255,y=o%6/5*255;return[d,h,y]},p.rgb.hex=function(a){var c=((Math.round(a[0])&255)<<16)+((Math.round(a[1])&255)<<8)+(Math.round(a[2])&255),o=c.toString(16).toUpperCase();return"000000".substring(o.length)+o},p.hex.rgb=function(a){var c=a.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!c)return[0,0,0];var o=c[0];c[0].length===3&&(o=o.split("").map(function(E){return E+E}).join(""));var d=parseInt(o,16),h=d>>16&255,y=d>>8&255,b=d&255;return[h,y,b]},p.rgb.hcg=function(a){var c=a[0]/255,o=a[1]/255,d=a[2]/255,h=Math.max(Math.max(c,o),d),y=Math.min(Math.min(c,o),d),b=h-y,E,g;return b<1?E=y/(1-b):E=0,b<=0?g=0:h===c?g=(o-d)/b%6:h===o?g=2+(d-c)/b:g=4+(c-o)/b+4,g/=6,g%=1,[g*360,b*100,E*100]},p.hsl.hcg=function(a){var c=a[1]/100,o=a[2]/100,d=1,h=0;return o<.5?d=2*c*o:d=2*c*(1-o),d<1&&(h=(o-.5*d)/(1-d)),[a[0],d*100,h*100]},p.hsv.hcg=function(a){var c=a[1]/100,o=a[2]/100,d=c*o,h=0;return d<1&&(h=(o-d)/(1-d)),[a[0],d*100,h*100]},p.hcg.rgb=function(a){var c=a[0]/360,o=a[1]/100,d=a[2]/100;if(o===0)return[d*255,d*255,d*255];var h=[0,0,0],y=c%1*6,b=y%1,E=1-b,g=0;switch(Math.floor(y)){case 0:h[0]=1,h[1]=b,h[2]=0;break;case 1:h[0]=E,h[1]=1,h[2]=0;break;case 2:h[0]=0,h[1]=1,h[2]=b;break;case 3:h[0]=0,h[1]=E,h[2]=1;break;case 4:h[0]=b,h[1]=0,h[2]=1;break;default:h[0]=1,h[1]=0,h[2]=E}return g=(1-o)*d,[(o*h[0]+g)*255,(o*h[1]+g)*255,(o*h[2]+g)*255]},p.hcg.hsv=function(a){var c=a[1]/100,o=a[2]/100,d=c+o*(1-c),h=0;return d>0&&(h=c/d),[a[0],h*100,d*100]},p.hcg.hsl=function(a){var c=a[1]/100,o=a[2]/100,d=o*(1-c)+.5*c,h=0;return d>0&&d<.5?h=c/(2*d):d>=.5&&d<1&&(h=c/(2*(1-d))),[a[0],h*100,d*100]},p.hcg.hwb=function(a){var c=a[1]/100,o=a[2]/100,d=c+o*(1-c);return[a[0],(d-c)*100,(1-d)*100]},p.hwb.hcg=function(a){var c=a[1]/100,o=a[2]/100,d=1-o,h=d-c,y=0;return h<1&&(y=(d-h)/(1-h)),[a[0],h*100,y*100]},p.apple.rgb=function(a){return[a[0]/65535*255,a[1]/65535*255,a[2]/65535*255]},p.rgb.apple=function(a){return[a[0]/255*65535,a[1]/255*65535,a[2]/255*65535]},p.gray.rgb=function(a){return[a[0]/100*255,a[0]/100*255,a[0]/100*255]},p.gray.hsl=p.gray.hsv=function(a){return[0,0,a[0]]},p.gray.hwb=function(a){return[0,100,a[0]]},p.gray.cmyk=function(a){return[0,0,0,a[0]]},p.gray.lab=function(a){return[a[0],0,0]},p.gray.hex=function(a){var c=Math.round(a[0]/100*255)&255,o=(c<<16)+(c<<8)+c,d=o.toString(16).toUpperCase();return"000000".substring(d.length)+d},p.rgb.gray=function(a){var c=(a[0]+a[1]+a[2])/3;return[c/255*100]}}),Ro=N((t,l)=>{B();var n=kn();function s(){for(var r={},e=Object.keys(n),f=e.length,a=0;a<f;a++)r[e[a]]={distance:-1,parent:null};return r}function i(r){var e=s(),f=[r];for(e[r].distance=0;f.length;)for(var a=f.pop(),c=Object.keys(n[a]),o=c.length,d=0;d<o;d++){var h=c[d],y=e[h];y.distance===-1&&(y.distance=e[a].distance+1,y.parent=a,f.unshift(h))}return e}function p(r,e){return function(f){return e(r(f))}}function u(r,e){for(var f=[e[r].parent,r],a=n[e[r].parent][r],c=e[r].parent;e[c].parent;)f.unshift(e[c].parent),a=p(n[e[c].parent][c],a),c=e[c].parent;return a.conversion=f,a}l.exports=function(r){for(var e=i(r),f={},a=Object.keys(e),c=a.length,o=0;o<c;o++){var d=a[o],h=e[d];h.parent!==null&&(f[d]=u(d,e))}return f}}),To=N((t,l)=>{B();var n=kn(),s=Ro(),i={},p=Object.keys(n);function u(e){var f=function(a){return a==null?a:(arguments.length>1&&(a=Array.prototype.slice.call(arguments)),e(a))};return"conversion"in e&&(f.conversion=e.conversion),f}function r(e){var f=function(a){if(a==null)return a;arguments.length>1&&(a=Array.prototype.slice.call(arguments));var c=e(a);if(typeof c=="object")for(var o=c.length,d=0;d<o;d++)c[d]=Math.round(c[d]);return c};return"conversion"in e&&(f.conversion=e.conversion),f}p.forEach(function(e){i[e]={},Object.defineProperty(i[e],"channels",{value:n[e].channels}),Object.defineProperty(i[e],"labels",{value:n[e].labels});var f=s(e),a=Object.keys(f);a.forEach(function(c){var o=f[c];i[e][c]=r(o),i[e][c].raw=u(o)})}),l.exports=i}),Bo=N((t,l)=>{"use strict";B();var n=To(),s=(r,e)=>function(){return`\x1B[${r.apply(n,arguments)+e}m`},i=(r,e)=>function(){let f=r.apply(n,arguments);return`\x1B[${38+e};5;${f}m`},p=(r,e)=>function(){let f=r.apply(n,arguments);return`\x1B[${38+e};2;${f[0]};${f[1]};${f[2]}m`};function u(){let r=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.grey=e.color.gray;for(let c of Object.keys(e)){let o=e[c];for(let d of Object.keys(o)){let h=o[d];e[d]={open:`\x1B[${h[0]}m`,close:`\x1B[${h[1]}m`},o[d]=e[d],r.set(h[0],h[1])}Object.defineProperty(e,c,{value:o,enumerable:!1}),Object.defineProperty(e,"codes",{value:r,enumerable:!1})}let f=c=>c,a=(c,o,d)=>[c,o,d];e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",e.color.ansi={ansi:s(f,0)},e.color.ansi256={ansi256:i(f,0)},e.color.ansi16m={rgb:p(a,0)},e.bgColor.ansi={ansi:s(f,10)},e.bgColor.ansi256={ansi256:i(f,10)},e.bgColor.ansi16m={rgb:p(a,10)};for(let c of Object.keys(n)){if(typeof n[c]!="object")continue;let o=n[c];c==="ansi16"&&(c="ansi"),"ansi16"in o&&(e.color.ansi[c]=s(o.ansi16,0),e.bgColor.ansi[c]=s(o.ansi16,10)),"ansi256"in o&&(e.color.ansi256[c]=i(o.ansi256,0),e.bgColor.ansi256[c]=i(o.ansi256,10)),"rgb"in o&&(e.color.ansi16m[c]=p(o.rgb,0),e.bgColor.ansi16m[c]=p(o.rgb,10))}return e}Object.defineProperty(l,"exports",{enumerable:!0,get:u})}),Po=N((t,l)=>{"use strict";B(),l.exports=(n,s)=>{s=s||process.argv;let i=n.startsWith("-")?"":n.length===1?"-":"--",p=s.indexOf(i+n),u=s.indexOf("--");return p!==-1&&(u===-1?!0:p<u)}}),Lo=N((t,l)=>{"use strict";B();var n=Z("os"),s=Po(),i=process.env,p;s("no-color")||s("no-colors")||s("color=false")?p=!1:(s("color")||s("colors")||s("color=true")||s("color=always"))&&(p=!0),"FORCE_COLOR"in i&&(p=i.FORCE_COLOR.length===0||parseInt(i.FORCE_COLOR,10)!==0);function u(f){return f===0?!1:{level:f,hasBasic:!0,has256:f>=2,has16m:f>=3}}function r(f){if(p===!1)return 0;if(s("color=16m")||s("color=full")||s("color=truecolor"))return 3;if(s("color=256"))return 2;if(f&&!f.isTTY&&p!==!0)return 0;let a=p?1:0;if(process.platform==="win32"){let c=n.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(c[0])>=10&&Number(c[2])>=10586?Number(c[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(c=>c in i)||i.CI_NAME==="codeship"?1:a;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if(i.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in i){let c=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return c>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:(i.TERM,a)}function e(f){let a=r(f);return u(a)}l.exports={supportsColor:e,stdout:e(process.stdout),stderr:e(process.stderr)}}),Io=N((t,l)=>{"use strict";B();var n=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,s=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,p=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,u=new Map([["n",`
|
6
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function r(c){return c[0]==="u"&&c.length===5||c[0]==="x"&&c.length===3?String.fromCharCode(parseInt(c.slice(1),16)):u.get(c)||c}function e(c,o){let d=[],h=o.trim().split(/\s*,\s*/g),y;for(let b of h)if(!isNaN(b))d.push(Number(b));else if(y=b.match(i))d.push(y[2].replace(p,(E,g,D)=>g?r(g):D));else throw new Error(`Invalid Chalk template style argument: ${b} (in style '${c}')`);return d}function f(c){s.lastIndex=0;let o=[],d;for(;(d=s.exec(c))!==null;){let h=d[1];if(d[2]){let y=e(h,d[2]);o.push([h].concat(y))}else o.push([h])}return o}function a(c,o){let d={};for(let y of o)for(let b of y.styles)d[b[0]]=y.inverse?null:b.slice(1);let h=c;for(let y of Object.keys(d))if(Array.isArray(d[y])){if(!(y in h))throw new Error(`Unknown Chalk style: ${y}`);d[y].length>0?h=h[y].apply(h,d[y]):h=h[y]}return h}l.exports=(c,o)=>{let d=[],h=[],y=[];if(o.replace(n,(b,E,g,D,w,v)=>{if(E)y.push(r(E));else if(D){let m=y.join("");y=[],h.push(d.length===0?m:a(c,d)(m)),d.push({inverse:g,styles:f(D)})}else if(w){if(d.length===0)throw new Error("Found extraneous } in Chalk template literal");h.push(a(c,d)(y.join(""))),y=[],d.pop()}else y.push(v)}),h.push(y.join("")),d.length>0){let b=`Chalk template literal is missing ${d.length} closing bracket${d.length===1?"":"s"} (\`}\`)`;throw new Error(b)}return h.join("")}}),pe=N((t,l)=>{"use strict";B();var n=ko(),s=Bo(),i=Lo().stdout,p=Io(),u=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],e=new Set(["gray"]),f=Object.create(null);function a(b,E){E=E||{};let g=i?i.level:0;b.level=E.level===void 0?g:E.level,b.enabled="enabled"in E?E.enabled:b.level>0}function c(b){if(!this||!(this instanceof c)||this.template){let E={};return a(E,b),E.template=function(){let g=[].slice.call(arguments);return y.apply(null,[E.template].concat(g))},Object.setPrototypeOf(E,c.prototype),Object.setPrototypeOf(E.template,E),E.template.constructor=c,E.template}a(this,b)}u&&(s.blue.open="\x1B[94m");for(let b of Object.keys(s))s[b].closeRe=new RegExp(n(s[b].close),"g"),f[b]={get(){let E=s[b];return d.call(this,this._styles?this._styles.concat(E):[E],this._empty,b)}};f.visible={get(){return d.call(this,this._styles||[],!0,"visible")}},s.color.closeRe=new RegExp(n(s.color.close),"g");for(let b of Object.keys(s.color.ansi))e.has(b)||(f[b]={get(){let E=this.level;return function(){let g={open:s.color[r[E]][b].apply(null,arguments),close:s.color.close,closeRe:s.color.closeRe};return d.call(this,this._styles?this._styles.concat(g):[g],this._empty,b)}}});s.bgColor.closeRe=new RegExp(n(s.bgColor.close),"g");for(let b of Object.keys(s.bgColor.ansi)){if(e.has(b))continue;let E="bg"+b[0].toUpperCase()+b.slice(1);f[E]={get(){let g=this.level;return function(){let D={open:s.bgColor[r[g]][b].apply(null,arguments),close:s.bgColor.close,closeRe:s.bgColor.closeRe};return d.call(this,this._styles?this._styles.concat(D):[D],this._empty,b)}}}}var o=Object.defineProperties(()=>{},f);function d(b,E,g){let D=function(){return h.apply(D,arguments)};D._styles=b,D._empty=E;let w=this;return Object.defineProperty(D,"level",{enumerable:!0,get(){return w.level},set(v){w.level=v}}),Object.defineProperty(D,"enabled",{enumerable:!0,get(){return w.enabled},set(v){w.enabled=v}}),D.hasGrey=this.hasGrey||g==="gray"||g==="grey",D.__proto__=o,D}function h(){let b=arguments,E=b.length,g=String(arguments[0]);if(E===0)return"";if(E>1)for(let w=1;w<E;w++)g+=" "+b[w];if(!this.enabled||this.level<=0||!g)return this._empty?"":g;let D=s.dim.open;u&&this.hasGrey&&(s.dim.open="");for(let w of this._styles.slice().reverse())g=w.open+g.replace(w.closeRe,w.open)+w.close,g=g.replace(/\r?\n/g,`${w.close}$&${w.open}`);return s.dim.open=D,g}function y(b,E){if(!Array.isArray(E))return[].slice.call(arguments,1).join(" ");let g=[].slice.call(arguments,2),D=[E.raw[0]];for(let w=1;w<E.length;w++)D.push(String(g[w-1]).replace(/[{}\\]/g,"\\$&")),D.push(String(E.raw[w]));return p(b,D.join(""))}Object.defineProperties(c.prototype,f),l.exports=c(),l.exports.supportsColor=i,l.exports.default=l.exports});var No=N((t,l)=>{B();var n=Z("constants"),s=process.cwd,i=null,p=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return i||(i=s.call(process)),i};try{process.cwd()}catch{}typeof process.chdir=="function"&&(u=process.chdir,process.chdir=function(e){i=null,u.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,u));var u;l.exports=r;function r(e){n.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&f(e),e.lutimes||a(e),e.chown=d(e.chown),e.fchown=d(e.fchown),e.lchown=d(e.lchown),e.chmod=c(e.chmod),e.fchmod=c(e.fchmod),e.lchmod=c(e.lchmod),e.chownSync=h(e.chownSync),e.fchownSync=h(e.fchownSync),e.lchownSync=h(e.lchownSync),e.chmodSync=o(e.chmodSync),e.fchmodSync=o(e.fchmodSync),e.lchmodSync=o(e.lchmodSync),e.stat=y(e.stat),e.fstat=y(e.fstat),e.lstat=y(e.lstat),e.statSync=b(e.statSync),e.fstatSync=b(e.fstatSync),e.lstatSync=b(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(g,D,w){w&&process.nextTick(w)},e.lchmodSync=function(){}),e.chown&&!e.lchown&&(e.lchown=function(g,D,w,v){v&&process.nextTick(v)},e.lchownSync=function(){}),p==="win32"&&(e.rename=typeof e.rename!="function"?e.rename:function(g){function D(w,v,m){var _=Date.now(),S=0;g(w,v,function A(x){if(x&&(x.code==="EACCES"||x.code==="EPERM"||x.code==="EBUSY")&&Date.now()-_<6e4){setTimeout(function(){e.stat(v,function(L,T){L&&L.code==="ENOENT"?g(w,v,A):m(x)})},S),S<100&&(S+=10);return}m&&m(x)})}return Object.setPrototypeOf&&Object.setPrototypeOf(D,g),D}(e.rename)),e.read=typeof e.read!="function"?e.read:function(g){function D(w,v,m,_,S,A){var x;if(A&&typeof A=="function"){var L=0;x=function(T,F,O){if(T&&T.code==="EAGAIN"&&L<10)return L++,g.call(e,w,v,m,_,S,x);A.apply(this,arguments)}}return g.call(e,w,v,m,_,S,x)}return Object.setPrototypeOf&&Object.setPrototypeOf(D,g),D}(e.read),e.readSync=typeof e.readSync!="function"?e.readSync:function(g){return function(D,w,v,m,_){for(var S=0;;)try{return g.call(e,D,w,v,m,_)}catch(A){if(A.code==="EAGAIN"&&S<10){S++;continue}throw A}}}(e.readSync);function f(g){g.lchmod=function(D,w,v){g.open(D,n.O_WRONLY|n.O_SYMLINK,w,function(m,_){if(m){v&&v(m);return}g.fchmod(_,w,function(S){g.close(_,function(A){v&&v(S||A)})})})},g.lchmodSync=function(D,w){var v=g.openSync(D,n.O_WRONLY|n.O_SYMLINK,w),m=!0,_;try{_=g.fchmodSync(v,w),m=!1}finally{if(m)try{g.closeSync(v)}catch{}else g.closeSync(v)}return _}}function a(g){n.hasOwnProperty("O_SYMLINK")&&g.futimes?(g.lutimes=function(D,w,v,m){g.open(D,n.O_SYMLINK,function(_,S){if(_){m&&m(_);return}g.futimes(S,w,v,function(A){g.close(S,function(x){m&&m(A||x)})})})},g.lutimesSync=function(D,w,v){var m=g.openSync(D,n.O_SYMLINK),_,S=!0;try{_=g.futimesSync(m,w,v),S=!1}finally{if(S)try{g.closeSync(m)}catch{}else g.closeSync(m)}return _}):g.futimes&&(g.lutimes=function(D,w,v,m){m&&process.nextTick(m)},g.lutimesSync=function(){})}function c(g){return g&&function(D,w,v){return g.call(e,D,w,function(m){E(m)&&(m=null),v&&v.apply(this,arguments)})}}function o(g){return g&&function(D,w){try{return g.call(e,D,w)}catch(v){if(!E(v))throw v}}}function d(g){return g&&function(D,w,v,m){return g.call(e,D,w,v,function(_){E(_)&&(_=null),m&&m.apply(this,arguments)})}}function h(g){return g&&function(D,w,v){try{return g.call(e,D,w,v)}catch(m){if(!E(m))throw m}}}function y(g){return g&&function(D,w,v){typeof w=="function"&&(v=w,w=null);function m(_,S){S&&(S.uid<0&&(S.uid+=4294967296),S.gid<0&&(S.gid+=4294967296)),v&&v.apply(this,arguments)}return w?g.call(e,D,w,m):g.call(e,D,m)}}function b(g){return g&&function(D,w){var v=w?g.call(e,D,w):g.call(e,D);return v&&(v.uid<0&&(v.uid+=4294967296),v.gid<0&&(v.gid+=4294967296)),v}}function E(g){if(!g||g.code==="ENOSYS")return!0;var D=!process.getuid||process.getuid()!==0;return!!(D&&(g.code==="EINVAL"||g.code==="EPERM"))}}}),jo=N((t,l)=>{B();var n=Z("stream").Stream;l.exports=s;function s(i){return{ReadStream:p,WriteStream:u};function p(r,e){if(!(this instanceof p))return new p(r,e);n.call(this);var f=this;this.path=r,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,e=e||{};for(var a=Object.keys(e),c=0,o=a.length;c<o;c++){var d=a[c];this[d]=e[d]}if(this.encoding&&this.setEncoding(this.encoding),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 new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){f._read()});return}i.open(this.path,this.flags,this.mode,function(h,y){if(h){f.emit("error",h),f.readable=!1;return}f.fd=y,f.emit("open",y),f._read()})}function u(r,e){if(!(this instanceof u))return new u(r,e);n.call(this),this.path=r,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,e=e||{};for(var f=Object.keys(e),a=0,c=f.length;a<c;a++){var o=f[a];this[o]=e[o]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=i.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}}),Mo=N((t,l)=>{"use strict";B(),l.exports=s;var n=Object.getPrototypeOf||function(i){return i.__proto__};function s(i){if(i===null||typeof i!="object")return i;if(i instanceof Object)var p={__proto__:n(i)};else var p=Object.create(null);return Object.getOwnPropertyNames(i).forEach(function(u){Object.defineProperty(p,u,Object.getOwnPropertyDescriptor(i,u))}),p}}),Ct=N((t,l)=>{B();var n=Z("fs"),s=No(),i=jo(),p=Mo(),u=Z("util"),r,e;typeof Symbol=="function"&&typeof Symbol.for=="function"?(r=Symbol.for("graceful-fs.queue"),e=Symbol.for("graceful-fs.previous")):(r="___graceful-fs.queue",e="___graceful-fs.previous");function f(){}function a(g,D){Object.defineProperty(g,r,{get:function(){return D}})}var c=f;u.debuglog?c=u.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(c=function(){var g=u.format.apply(u,arguments);g="GFS4: "+g.split(/\n/).join(`
|
7
|
-
GFS4: `),console.error(g)}),n[r]||(o=global[r]||[],a(n,o),n.close=function(g){function D(w,v){return g.call(n,w,function(m){m||b(),typeof v=="function"&&v.apply(this,arguments)})}return Object.defineProperty(D,e,{value:g}),D}(n.close),n.closeSync=function(g){function D(w){g.apply(n,arguments),b()}return Object.defineProperty(D,e,{value:g}),D}(n.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){c(n[r]),Z("assert").equal(n[r].length,0)}));var o;global[r]||a(global,n[r]),l.exports=d(p(n)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!n.__patched&&(l.exports=d(n),n.__patched=!0);function d(g){s(g),g.gracefulify=d,g.createReadStream=k,g.createWriteStream=J;var D=g.readFile;g.readFile=w;function w(M,K,et){return typeof K=="function"&&(et=K,K=null),ot(M,K,et);function ot(ct,gt,mt,H){return D(ct,gt,function(V){V&&(V.code==="EMFILE"||V.code==="ENFILE")?h([ot,[ct,gt,mt],V,H||Date.now(),Date.now()]):typeof mt=="function"&&mt.apply(this,arguments)})}}var v=g.writeFile;g.writeFile=m;function m(M,K,et,ot){return typeof et=="function"&&(ot=et,et=null),ct(M,K,et,ot);function ct(gt,mt,H,V,C){return v(gt,mt,H,function(z){z&&(z.code==="EMFILE"||z.code==="ENFILE")?h([ct,[gt,mt,H,V],z,C||Date.now(),Date.now()]):typeof V=="function"&&V.apply(this,arguments)})}}var _=g.appendFile;_&&(g.appendFile=S);function S(M,K,et,ot){return typeof et=="function"&&(ot=et,et=null),ct(M,K,et,ot);function ct(gt,mt,H,V,C){return _(gt,mt,H,function(z){z&&(z.code==="EMFILE"||z.code==="ENFILE")?h([ct,[gt,mt,H,V],z,C||Date.now(),Date.now()]):typeof V=="function"&&V.apply(this,arguments)})}}var A=g.copyFile;A&&(g.copyFile=x);function x(M,K,et,ot){return typeof et=="function"&&(ot=et,et=0),ct(M,K,et,ot);function ct(gt,mt,H,V,C){return A(gt,mt,H,function(z){z&&(z.code==="EMFILE"||z.code==="ENFILE")?h([ct,[gt,mt,H,V],z,C||Date.now(),Date.now()]):typeof V=="function"&&V.apply(this,arguments)})}}var L=g.readdir;g.readdir=F;var T=/^v[0-5]\./;function F(M,K,et){typeof K=="function"&&(et=K,K=null);var ot=T.test(process.version)?function(gt,mt,H,V){return L(gt,ct(gt,mt,H,V))}:function(gt,mt,H,V){return L(gt,mt,ct(gt,mt,H,V))};return ot(M,K,et);function ct(gt,mt,H,V){return function(C,z){C&&(C.code==="EMFILE"||C.code==="ENFILE")?h([ot,[gt,mt,H],C,V||Date.now(),Date.now()]):(z&&z.sort&&z.sort(),typeof H=="function"&&H.call(this,C,z))}}}if(process.version.substr(0,4)==="v0.8"){var O=i(g);W=O.ReadStream,P=O.WriteStream}var I=g.ReadStream;I&&(W.prototype=Object.create(I.prototype),W.prototype.open=Q);var $=g.WriteStream;$&&(P.prototype=Object.create($.prototype),P.prototype.open=j),Object.defineProperty(g,"ReadStream",{get:function(){return W},set:function(M){W=M},enumerable:!0,configurable:!0}),Object.defineProperty(g,"WriteStream",{get:function(){return P},set:function(M){P=M},enumerable:!0,configurable:!0});var R=W;Object.defineProperty(g,"FileReadStream",{get:function(){return R},set:function(M){R=M},enumerable:!0,configurable:!0});var q=P;Object.defineProperty(g,"FileWriteStream",{get:function(){return q},set:function(M){q=M},enumerable:!0,configurable:!0});function W(M,K){return this instanceof W?(I.apply(this,arguments),this):W.apply(Object.create(W.prototype),arguments)}function Q(){var M=this;tt(M.path,M.flags,M.mode,function(K,et){K?(M.autoClose&&M.destroy(),M.emit("error",K)):(M.fd=et,M.emit("open",et),M.read())})}function P(M,K){return this instanceof P?($.apply(this,arguments),this):P.apply(Object.create(P.prototype),arguments)}function j(){var M=this;tt(M.path,M.flags,M.mode,function(K,et){K?(M.destroy(),M.emit("error",K)):(M.fd=et,M.emit("open",et))})}function k(M,K){return new g.ReadStream(M,K)}function J(M,K){return new g.WriteStream(M,K)}var G=g.open;g.open=tt;function tt(M,K,et,ot){return typeof et=="function"&&(ot=et,et=null),ct(M,K,et,ot);function ct(gt,mt,H,V,C){return G(gt,mt,H,function(z,X){z&&(z.code==="EMFILE"||z.code==="ENFILE")?h([ct,[gt,mt,H,V],z,C||Date.now(),Date.now()]):typeof V=="function"&&V.apply(this,arguments)})}}return g}function h(g){c("ENQUEUE",g[0].name,g[1]),n[r].push(g),E()}var y;function b(){for(var g=Date.now(),D=0;D<n[r].length;++D)n[r][D].length>2&&(n[r][D][3]=g,n[r][D][4]=g);E()}function E(){if(clearTimeout(y),y=void 0,n[r].length!==0){var g=n[r].shift(),D=g[0],w=g[1],v=g[2],m=g[3],_=g[4];if(m===void 0)c("RETRY",D.name,w),D.apply(null,w);else if(Date.now()-m>=6e4){c("TIMEOUT",D.name,w);var S=w.pop();typeof S=="function"&&S.call(null,v)}else{var A=Date.now()-_,x=Math.max(_-m,1),L=Math.min(x*1.2,100);A>=L?(c("RETRY",D.name,w),D.apply(null,w.concat([m]))):n[r].push(g)}y===void 0&&(y=setTimeout(E,0))}}});var Wt=N(t=>{"use strict";B(),t.fromCallback=function(l){return Object.defineProperty(function(...n){if(typeof n[n.length-1]=="function")l.apply(this,n);else return new Promise((s,i)=>{l.call(this,...n,(p,u)=>p!=null?i(p):s(u))})},"name",{value:l.name})},t.fromPromise=function(l){return Object.defineProperty(function(...n){let s=n[n.length-1];if(typeof s!="function")return l.apply(this,n);l.apply(this,n.slice(0,-1)).then(i=>s(null,i),s)},"name",{value:l.name})}}),Ee=N(t=>{"use strict";B();var l=Wt().fromCallback,n=Ct(),s=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(i=>typeof n[i]=="function");Object.assign(t,n),s.forEach(i=>{t[i]=l(n[i])}),t.exists=function(i,p){return typeof p=="function"?n.exists(i,p):new Promise(u=>n.exists(i,u))},t.read=function(i,p,u,r,e,f){return typeof f=="function"?n.read(i,p,u,r,e,f):new Promise((a,c)=>{n.read(i,p,u,r,e,(o,d,h)=>{if(o)return c(o);a({bytesRead:d,buffer:h})})})},t.write=function(i,p,...u){return typeof u[u.length-1]=="function"?n.write(i,p,...u):new Promise((r,e)=>{n.write(i,p,...u,(f,a,c)=>{if(f)return e(f);r({bytesWritten:a,buffer:c})})})},t.readv=function(i,p,...u){return typeof u[u.length-1]=="function"?n.readv(i,p,...u):new Promise((r,e)=>{n.readv(i,p,...u,(f,a,c)=>{if(f)return e(f);r({bytesRead:a,buffers:c})})})},t.writev=function(i,p,...u){return typeof u[u.length-1]=="function"?n.writev(i,p,...u):new Promise((r,e)=>{n.writev(i,p,...u,(f,a,c)=>{if(f)return e(f);r({bytesWritten:a,buffers:c})})})},typeof n.realpath.native=="function"?t.realpath.native=l(n.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")}),$o=N((t,l)=>{"use strict";B();var n=Z("path");l.exports.checkPath=function(s){if(process.platform==="win32"&&/[<>:"|?*]/.test(s.replace(n.parse(s).root,""))){let i=new Error(`Path contains invalid characters: ${s}`);throw i.code="EINVAL",i}}}),Ho=N((t,l)=>{"use strict";B();var n=Ee(),{checkPath:s}=$o(),i=p=>typeof p=="number"?p:{...{mode:511},...p}.mode;l.exports.makeDir=async(p,u)=>(s(p),n.mkdir(p,{mode:i(u),recursive:!0})),l.exports.makeDirSync=(p,u)=>(s(p),n.mkdirSync(p,{mode:i(u),recursive:!0}))}),Xt=N((t,l)=>{"use strict";B();var n=Wt().fromPromise,{makeDir:s,makeDirSync:i}=Ho(),p=n(s);l.exports={mkdirs:p,mkdirsSync:i,mkdirp:p,mkdirpSync:i,ensureDir:p,ensureDirSync:i}}),de=N((t,l)=>{"use strict";B();var n=Wt().fromPromise,s=Ee();function i(p){return s.access(p).then(()=>!0).catch(()=>!1)}l.exports={pathExists:n(i),pathExistsSync:s.existsSync}}),On=N((t,l)=>{"use strict";B();var n=Ct();function s(p,u,r,e){n.open(p,"r+",(f,a)=>{if(f)return e(f);n.futimes(a,u,r,c=>{n.close(a,o=>{e&&e(c||o)})})})}function i(p,u,r){let e=n.openSync(p,"r+");return n.futimesSync(e,u,r),n.closeSync(e)}l.exports={utimesMillis:s,utimesMillisSync:i}}),_e=N((t,l)=>{"use strict";B();var n=Ee(),s=Z("path"),i=Z("util");function p(h,y,b){let E=b.dereference?g=>n.stat(g,{bigint:!0}):g=>n.lstat(g,{bigint:!0});return Promise.all([E(h),E(y).catch(g=>{if(g.code==="ENOENT")return null;throw g})]).then(([g,D])=>({srcStat:g,destStat:D}))}function u(h,y,b){let E,g=b.dereference?w=>n.statSync(w,{bigint:!0}):w=>n.lstatSync(w,{bigint:!0}),D=g(h);try{E=g(y)}catch(w){if(w.code==="ENOENT")return{srcStat:D,destStat:null};throw w}return{srcStat:D,destStat:E}}function r(h,y,b,E,g){i.callbackify(p)(h,y,E,(D,w)=>{if(D)return g(D);let{srcStat:v,destStat:m}=w;if(m){if(c(v,m)){let _=s.basename(h),S=s.basename(y);return b==="move"&&_!==S&&_.toLowerCase()===S.toLowerCase()?g(null,{srcStat:v,destStat:m,isChangingCase:!0}):g(new Error("Source and destination must not be the same."))}if(v.isDirectory()&&!m.isDirectory())return g(new Error(`Cannot overwrite non-directory '${y}' with directory '${h}'.`));if(!v.isDirectory()&&m.isDirectory())return g(new Error(`Cannot overwrite directory '${y}' with non-directory '${h}'.`))}return v.isDirectory()&&o(h,y)?g(new Error(d(h,y,b))):g(null,{srcStat:v,destStat:m})})}function e(h,y,b,E){let{srcStat:g,destStat:D}=u(h,y,E);if(D){if(c(g,D)){let w=s.basename(h),v=s.basename(y);if(b==="move"&&w!==v&&w.toLowerCase()===v.toLowerCase())return{srcStat:g,destStat:D,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(g.isDirectory()&&!D.isDirectory())throw new Error(`Cannot overwrite non-directory '${y}' with directory '${h}'.`);if(!g.isDirectory()&&D.isDirectory())throw new Error(`Cannot overwrite directory '${y}' with non-directory '${h}'.`)}if(g.isDirectory()&&o(h,y))throw new Error(d(h,y,b));return{srcStat:g,destStat:D}}function f(h,y,b,E,g){let D=s.resolve(s.dirname(h)),w=s.resolve(s.dirname(b));if(w===D||w===s.parse(w).root)return g();n.stat(w,{bigint:!0},(v,m)=>v?v.code==="ENOENT"?g():g(v):c(y,m)?g(new Error(d(h,b,E))):f(h,y,w,E,g))}function a(h,y,b,E){let g=s.resolve(s.dirname(h)),D=s.resolve(s.dirname(b));if(D===g||D===s.parse(D).root)return;let w;try{w=n.statSync(D,{bigint:!0})}catch(v){if(v.code==="ENOENT")return;throw v}if(c(y,w))throw new Error(d(h,b,E));return a(h,y,D,E)}function c(h,y){return y.ino&&y.dev&&y.ino===h.ino&&y.dev===h.dev}function o(h,y){let b=s.resolve(h).split(s.sep).filter(g=>g),E=s.resolve(y).split(s.sep).filter(g=>g);return b.reduce((g,D,w)=>g&&E[w]===D,!0)}function d(h,y,b){return`Cannot ${b} '${h}' to a subdirectory of itself, '${y}'.`}l.exports={checkPaths:r,checkPathsSync:e,checkParentPaths:f,checkParentPathsSync:a,isSrcSubdir:o,areIdentical:c}}),Uo=N((t,l)=>{"use strict";B();var n=Ct(),s=Z("path"),i=Xt().mkdirs,p=de().pathExists,u=On().utimesMillis,r=_e();function e(T,F,O,I){typeof O=="function"&&!I?(I=O,O={}):typeof O=="function"&&(O={filter:O}),I=I||function(){},O=O||{},O.clobber="clobber"in O?!!O.clobber:!0,O.overwrite="overwrite"in O?!!O.overwrite:O.clobber,O.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended;
|
4
|
+
`.charCodeAt(),r=typeof t=="string"?"\r":"\r".charCodeAt();return t[t.length-1]===e&&(t=t.slice(0,t.length-1)),t[t.length-1]===r&&(t=t.slice(0,t.length-1)),t}});var l0=E((jB,Ki)=>{"use strict";var Yi=require("path"),a0=ec(),c0=t=>{t={cwd:process.cwd(),path:process.env[a0()],execPath:process.execPath,...t};let e,r=Yi.resolve(t.cwd),i=[];for(;e!==r;)i.push(Yi.join(r,"node_modules/.bin")),e=r,r=Yi.resolve(r,"..");let n=Yi.resolve(t.cwd,t.execPath,"..");return i.push(n),i.concat(t.path).join(Yi.delimiter)};Ki.exports=c0;Ki.exports.default=c0;Ki.exports.env=t=>{t={env:process.env,...t};let e={...t.env},r=a0({env:e});return t.path=e[r],e[r]=Ki.exports(t),e}});var h0=E((WB,ac)=>{"use strict";var f0=(t,e)=>{for(let r of Reflect.ownKeys(e))Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r));return t};ac.exports=f0;ac.exports.default=f0});var d0=E((zB,ds)=>{"use strict";var Ww=h0(),ps=new WeakMap,p0=(t,e={})=>{if(typeof t!="function")throw new TypeError("Expected a function");let r,i=0,n=t.displayName||t.name||"<anonymous>",s=function(...o){if(ps.set(s,++i),i===1)r=t.apply(this,o),t=null;else if(e.throw===!0)throw new Error(`Function \`${n}\` can only be called once`);return r};return Ww(s,t),ps.set(s,i),s};ds.exports=p0;ds.exports.default=p0;ds.exports.callCount=t=>{if(!ps.has(t))throw new Error(`The given function \`${t.name}\` is not wrapped by the \`onetime\` package`);return ps.get(t)}});var m0=E(ms=>{"use strict";Object.defineProperty(ms,"__esModule",{value:!0});ms.SIGNALS=void 0;var zw=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}];ms.SIGNALS=zw});var cc=E(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.SIGRTMAX=ri.getRealtimeSignals=void 0;var Yw=function(){let t=E0-g0+1;return Array.from({length:t},Kw)};ri.getRealtimeSignals=Yw;var Kw=function(t,e){return{name:`SIGRT${e+1}`,number:g0+e,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}},g0=34,E0=64;ri.SIGRTMAX=E0});var D0=E(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});gs.getSignals=void 0;var Vw=require("os"),Xw=m0(),Zw=cc(),Jw=function(){let t=(0,Zw.getRealtimeSignals)();return[...Xw.SIGNALS,...t].map(Qw)};gs.getSignals=Jw;var Qw=function({name:t,number:e,description:r,action:i,forced:n=!1,standard:s}){let{signals:{[t]:o}}=Vw.constants,u=o!==void 0;return{name:t,number:u?o:e,description:r,supported:u,action:i,forced:n,standard:s}}});var A0=E(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.signalsByNumber=ii.signalsByName=void 0;var eF=require("os"),y0=D0(),tF=cc(),rF=function(){return(0,y0.getSignals)().reduce(iF,{})},iF=function(t,{name:e,number:r,description:i,supported:n,action:s,forced:o,standard:u}){return{...t,[e]:{name:e,number:r,description:i,supported:n,action:s,forced:o,standard:u}}},nF=rF();ii.signalsByName=nF;var sF=function(){let t=(0,y0.getSignals)(),e=tF.SIGRTMAX+1,r=Array.from({length:e},(i,n)=>oF(n,t));return Object.assign({},...r)},oF=function(t,e){let r=uF(t,e);if(r===void 0)return{};let{name:i,description:n,supported:s,action:o,forced:u,standard:a}=r;return{[t]:{name:i,number:t,description:n,supported:s,action:o,forced:u,standard:a}}},uF=function(t,e){let r=e.find(({name:i})=>eF.constants.signals[i]===t);return r!==void 0?r:e.find(i=>i.number===t)},aF=sF();ii.signalsByNumber=aF});var S0=E((ZB,_0)=>{"use strict";var{signalsByName:cF}=A0(),lF=({timedOut:t,timeout:e,errorCode:r,signal:i,signalDescription:n,exitCode:s,isCanceled:o})=>t?`timed out after ${e} milliseconds`:o?"was canceled":r!==void 0?`failed with ${r}`:i!==void 0?`was killed with ${i} (${n})`:s!==void 0?`failed with exit code ${s}`:"failed",fF=({stdout:t,stderr:e,all:r,error:i,signal:n,exitCode:s,command:o,escapedCommand:u,timedOut:a,isCanceled:c,killed:l,parsed:{options:{timeout:f}}})=>{s=s===null?void 0:s,n=n===null?void 0:n;let h=n===void 0?void 0:cF[n].description,D=i&&i.code,g=`Command ${lF({timedOut:a,timeout:f,errorCode:D,signal:n,signalDescription:h,exitCode:s,isCanceled:c})}: ${o}`,A=Object.prototype.toString.call(i)==="[object Error]",y=A?`${g}
|
5
|
+
${i.message}`:g,w=[y,e,t].filter(Boolean).join(`
|
6
|
+
`);return A?(i.originalMessage=i.message,i.message=w):i=new Error(w),i.shortMessage=y,i.command=o,i.escapedCommand=u,i.exitCode=s,i.signal=n,i.signalDescription=h,i.stdout=t,i.stderr=e,r!==void 0&&(i.all=r),"bufferedData"in i&&delete i.bufferedData,i.failed=!0,i.timedOut=!!a,i.isCanceled=c,i.killed=l&&!a,i};_0.exports=fF});var b0=E((JB,lc)=>{"use strict";var Es=["stdin","stdout","stderr"],hF=t=>Es.some(e=>t[e]!==void 0),C0=t=>{if(!t)return;let{stdio:e}=t;if(e===void 0)return Es.map(i=>t[i]);if(hF(t))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${Es.map(i=>`\`${i}\``).join(", ")}`);if(typeof e=="string")return e;if(!Array.isArray(e))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof e}\``);let r=Math.max(e.length,Es.length);return Array.from({length:r},(i,n)=>e[n])};lc.exports=C0;lc.exports.node=t=>{let e=C0(t);return e==="ipc"?"ipc":e===void 0||typeof e=="string"?[e,e,e,"ipc"]:e.includes("ipc")?e:[...e,"ipc"]}});var w0=E((QB,Ds)=>{Ds.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Ds.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Ds.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var T0=E((e2,oi)=>{var ie=global.process,_r=function(t){return t&&typeof t=="object"&&typeof t.removeListener=="function"&&typeof t.emit=="function"&&typeof t.reallyExit=="function"&&typeof t.listeners=="function"&&typeof t.kill=="function"&&typeof t.pid=="number"&&typeof t.on=="function"};_r(ie)?(F0=require("assert"),ni=w0(),x0=/^win/i.test(ie.platform),Vi=require("events"),typeof Vi!="function"&&(Vi=Vi.EventEmitter),ie.__signal_exit_emitter__?me=ie.__signal_exit_emitter__:(me=ie.__signal_exit_emitter__=new Vi,me.count=0,me.emitted={}),me.infinite||(me.setMaxListeners(1/0),me.infinite=!0),oi.exports=function(t,e){if(!_r(global.process))return function(){};F0.equal(typeof t,"function","a callback must be provided for exit handler"),si===!1&&fc();var r="exit";e&&e.alwaysLast&&(r="afterexit");var i=function(){me.removeListener(r,t),me.listeners("exit").length===0&&me.listeners("afterexit").length===0&&ys()};return me.on(r,t),i},ys=function(){!si||!_r(global.process)||(si=!1,ni.forEach(function(e){try{ie.removeListener(e,As[e])}catch{}}),ie.emit=_s,ie.reallyExit=hc,me.count-=1)},oi.exports.unload=ys,Sr=function(e,r,i){me.emitted[e]||(me.emitted[e]=!0,me.emit(e,r,i))},As={},ni.forEach(function(t){As[t]=function(){if(_r(global.process)){var r=ie.listeners(t);r.length===me.count&&(ys(),Sr("exit",null,t),Sr("afterexit",null,t),x0&&t==="SIGHUP"&&(t="SIGINT"),ie.kill(ie.pid,t))}}}),oi.exports.signals=function(){return ni},si=!1,fc=function(){si||!_r(global.process)||(si=!0,me.count+=1,ni=ni.filter(function(e){try{return ie.on(e,As[e]),!0}catch{return!1}}),ie.emit=R0,ie.reallyExit=v0)},oi.exports.load=fc,hc=ie.reallyExit,v0=function(e){_r(global.process)&&(ie.exitCode=e||0,Sr("exit",ie.exitCode,null),Sr("afterexit",ie.exitCode,null),hc.call(ie,ie.exitCode))},_s=ie.emit,R0=function(e,r){if(e==="exit"&&_r(global.process)){r!==void 0&&(ie.exitCode=r);var i=_s.apply(this,arguments);return Sr("exit",ie.exitCode,null),Sr("afterexit",ie.exitCode,null),i}else return _s.apply(this,arguments)}):oi.exports=function(){return function(){}};var F0,ni,x0,Vi,me,ys,Sr,As,si,fc,hc,v0,_s,R0});var B0=E((t2,O0)=>{"use strict";var pF=require("os"),dF=T0(),mF=1e3*5,gF=(t,e="SIGTERM",r={})=>{let i=t(e);return EF(t,e,r,i),i},EF=(t,e,r,i)=>{if(!DF(e,r,i))return;let n=AF(r),s=setTimeout(()=>{t("SIGKILL")},n);s.unref&&s.unref()},DF=(t,{forceKillAfterTimeout:e},r)=>yF(t)&&e!==!1&&r,yF=t=>t===pF.constants.signals.SIGTERM||typeof t=="string"&&t.toUpperCase()==="SIGTERM",AF=({forceKillAfterTimeout:t=!0})=>{if(t===!0)return mF;if(!Number.isFinite(t)||t<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${t}\` (${typeof t})`);return t},_F=(t,e)=>{t.kill()&&(e.isCanceled=!0)},SF=(t,e,r)=>{t.kill(e),r(Object.assign(new Error("Timed out"),{timedOut:!0,signal:e}))},CF=(t,{timeout:e,killSignal:r="SIGTERM"},i)=>{if(e===0||e===void 0)return i;let n,s=new Promise((u,a)=>{n=setTimeout(()=>{SF(t,r,a)},e)}),o=i.finally(()=>{clearTimeout(n)});return Promise.race([s,o])},bF=({timeout:t})=>{if(t!==void 0&&(!Number.isFinite(t)||t<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${t}\` (${typeof t})`)},wF=async(t,{cleanup:e,detached:r},i)=>{if(!e||r)return i;let n=dF(()=>{t.kill()});return i.finally(()=>{n()})};O0.exports={spawnedKill:gF,spawnedCancel:_F,setupTimeout:CF,validateTimeout:bF,setExitHandler:wF}});var L0=E((r2,P0)=>{"use strict";var at=t=>t!==null&&typeof t=="object"&&typeof t.pipe=="function";at.writable=t=>at(t)&&t.writable!==!1&&typeof t._write=="function"&&typeof t._writableState=="object";at.readable=t=>at(t)&&t.readable!==!1&&typeof t._read=="function"&&typeof t._readableState=="object";at.duplex=t=>at.writable(t)&&at.readable(t);at.transform=t=>at.duplex(t)&&typeof t._transform=="function";P0.exports=at});var N0=E((i2,I0)=>{"use strict";var{PassThrough:FF}=require("stream");I0.exports=t=>{t={...t};let{array:e}=t,{encoding:r}=t,i=r==="buffer",n=!1;e?n=!(r||i):r=r||"utf8",i&&(r=null);let s=new FF({objectMode:n});r&&s.setEncoding(r);let o=0,u=[];return s.on("data",a=>{u.push(a),n?o=u.length:o+=a.length}),s.getBufferedValue=()=>e?u:i?Buffer.concat(u,o):u.join(""),s.getBufferedLength=()=>o,s}});var k0=E((n2,Xi)=>{"use strict";var{constants:xF}=require("buffer"),vF=require("stream"),{promisify:RF}=require("util"),TF=N0(),OF=RF(vF.pipeline),Ss=class extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}};async function pc(t,e){if(!t)throw new Error("Expected a stream");e={maxBuffer:1/0,...e};let{maxBuffer:r}=e,i=TF(e);return await new Promise((n,s)=>{let o=u=>{u&&i.getBufferedLength()<=xF.MAX_LENGTH&&(u.bufferedData=i.getBufferedValue()),s(u)};(async()=>{try{await OF(t,i),n()}catch(u){o(u)}})(),i.on("data",()=>{i.getBufferedLength()>r&&o(new Ss)})}),i.getBufferedValue()}Xi.exports=pc;Xi.exports.buffer=(t,e)=>pc(t,{...e,encoding:"buffer"});Xi.exports.array=(t,e)=>pc(t,{...e,array:!0});Xi.exports.MaxBufferError=Ss});var q0=E((s2,M0)=>{"use strict";var{PassThrough:BF}=require("stream");M0.exports=function(){var t=[],e=new BF({objectMode:!0});return e.setMaxListeners(0),e.add=r,e.isEmpty=i,e.on("unpipe",n),Array.prototype.slice.call(arguments).forEach(r),e;function r(s){return Array.isArray(s)?(s.forEach(r),this):(t.push(s),s.once("end",n.bind(null,s)),s.once("error",e.emit.bind(e,"error")),s.pipe(e,{end:!1}),this)}function i(){return t.length==0}function n(s){t=t.filter(function(o){return o!==s}),!t.length&&e.readable&&e.end()}}});var G0=E((o2,U0)=>{"use strict";var $0=L0(),H0=k0(),PF=q0(),LF=(t,e)=>{e===void 0||t.stdin===void 0||($0(e)?e.pipe(t.stdin):t.stdin.end(e))},IF=(t,{all:e})=>{if(!e||!t.stdout&&!t.stderr)return;let r=PF();return t.stdout&&r.add(t.stdout),t.stderr&&r.add(t.stderr),r},dc=async(t,e)=>{if(t){t.destroy();try{return await e}catch(r){return r.bufferedData}}},mc=(t,{encoding:e,buffer:r,maxBuffer:i})=>{if(!(!t||!r))return e?H0(t,{encoding:e,maxBuffer:i}):H0.buffer(t,{maxBuffer:i})},NF=async({stdout:t,stderr:e,all:r},{encoding:i,buffer:n,maxBuffer:s},o)=>{let u=mc(t,{encoding:i,buffer:n,maxBuffer:s}),a=mc(e,{encoding:i,buffer:n,maxBuffer:s}),c=mc(r,{encoding:i,buffer:n,maxBuffer:s*2});try{return await Promise.all([o,u,a,c])}catch(l){return Promise.all([{error:l,signal:l.signal,timedOut:l.timedOut},dc(t,u),dc(e,a),dc(r,c)])}},kF=({input:t})=>{if($0(t))throw new TypeError("The `input` option cannot be a stream in sync mode")};U0.exports={handleInput:LF,makeAllStream:IF,getSpawnedResult:NF,validateInputSync:kF}});var W0=E((u2,j0)=>{"use strict";var MF=(async()=>{})().constructor.prototype,qF=["then","catch","finally"].map(t=>[t,Reflect.getOwnPropertyDescriptor(MF,t)]),HF=(t,e)=>{for(let[r,i]of qF){let n=typeof e=="function"?(...s)=>Reflect.apply(i.value,e(),s):i.value.bind(e);Reflect.defineProperty(t,r,{...i,value:n})}return t},$F=t=>new Promise((e,r)=>{t.on("exit",(i,n)=>{e({exitCode:i,signal:n})}),t.on("error",i=>{r(i)}),t.stdin&&t.stdin.on("error",i=>{r(i)})});j0.exports={mergePromise:HF,getSpawnedPromise:$F}});var K0=E((a2,Y0)=>{"use strict";var z0=(t,e=[])=>Array.isArray(e)?[t,...e]:[t],UF=/^[\w.-]+$/,GF=/"/g,jF=t=>typeof t!="string"||UF.test(t)?t:`"${t.replace(GF,'\\"')}"`,WF=(t,e)=>z0(t,e).join(" "),zF=(t,e)=>z0(t,e).map(r=>jF(r)).join(" "),YF=/ +/g,KF=t=>{let e=[];for(let r of t.trim().split(YF)){let i=e[e.length-1];i&&i.endsWith("\\")?e[e.length-1]=`${i.slice(0,-1)} ${r}`:e.push(r)}return e};Y0.exports={joinCommand:WF,getEscapedCommand:zF,parseCommand:KF}});var tg=E((c2,ui)=>{"use strict";var VF=require("path"),gc=require("child_process"),XF=s0(),ZF=u0(),JF=l0(),QF=d0(),Cs=S0(),X0=b0(),{spawnedKill:ex,spawnedCancel:tx,setupTimeout:rx,validateTimeout:ix,setExitHandler:nx}=B0(),{handleInput:sx,getSpawnedResult:ox,makeAllStream:ux,validateInputSync:ax}=G0(),{mergePromise:V0,getSpawnedPromise:cx}=W0(),{joinCommand:Z0,parseCommand:J0,getEscapedCommand:Q0}=K0(),lx=1e3*1e3*100,fx=({env:t,extendEnv:e,preferLocal:r,localDir:i,execPath:n})=>{let s=e?{...process.env,...t}:t;return r?JF.env({env:s,cwd:i,execPath:n}):s},eg=(t,e,r={})=>{let i=XF._parse(t,e,r);return t=i.command,e=i.args,r=i.options,r={maxBuffer:lx,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:r.cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,...r},r.env=fx(r),r.stdio=X0(r),process.platform==="win32"&&VF.basename(t,".exe")==="cmd"&&e.unshift("/q"),{file:t,args:e,options:r,parsed:i}},Zi=(t,e,r)=>typeof e!="string"&&!Buffer.isBuffer(e)?r===void 0?void 0:"":t.stripFinalNewline?ZF(e):e,bs=(t,e,r)=>{let i=eg(t,e,r),n=Z0(t,e),s=Q0(t,e);ix(i.options);let o;try{o=gc.spawn(i.file,i.args,i.options)}catch(D){let m=new gc.ChildProcess,g=Promise.reject(Cs({error:D,stdout:"",stderr:"",all:"",command:n,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return V0(m,g)}let u=cx(o),a=rx(o,i.options,u),c=nx(o,i.options,a),l={isCanceled:!1};o.kill=ex.bind(null,o.kill.bind(o)),o.cancel=tx.bind(null,o,l);let h=QF(async()=>{let[{error:D,exitCode:m,signal:g,timedOut:A},y,w,P]=await ox(o,i.options,c),M=Zi(i.options,y),T=Zi(i.options,w),$=Zi(i.options,P);if(D||m!==0||g!==null){let N=Cs({error:D,exitCode:m,signal:g,stdout:M,stderr:T,all:$,command:n,escapedCommand:s,parsed:i,timedOut:A,isCanceled:l.isCanceled,killed:o.killed});if(!i.options.reject)return N;throw N}return{command:n,escapedCommand:s,exitCode:0,stdout:M,stderr:T,all:$,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}});return sx(o,i.options.input),o.all=ux(o,i.options),V0(o,h)};ui.exports=bs;ui.exports.sync=(t,e,r)=>{let i=eg(t,e,r),n=Z0(t,e),s=Q0(t,e);ax(i.options);let o;try{o=gc.spawnSync(i.file,i.args,i.options)}catch(c){throw Cs({error:c,stdout:"",stderr:"",all:"",command:n,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1})}let u=Zi(i.options,o.stdout,o.error),a=Zi(i.options,o.stderr,o.error);if(o.error||o.status!==0||o.signal!==null){let c=Cs({stdout:u,stderr:a,error:o.error,signal:o.signal,exitCode:o.status,command:n,escapedCommand:s,parsed:i,timedOut:o.error&&o.error.code==="ETIMEDOUT",isCanceled:!1,killed:o.signal!==null});if(!i.options.reject)return c;throw c}return{command:n,escapedCommand:s,exitCode:0,stdout:u,stderr:a,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}};ui.exports.command=(t,e)=>{let[r,...i]=J0(t);return bs(r,i,e)};ui.exports.commandSync=(t,e)=>{let[r,...i]=J0(t);return bs.sync(r,i,e)};ui.exports.node=(t,e,r={})=>{e&&!Array.isArray(e)&&typeof e=="object"&&(r=e,e=[]);let i=X0.node(r),n=process.execArgv.filter(u=>!u.startsWith("--inspect")),{nodePath:s=process.execPath,nodeOptions:o=n}=r;return bs(s,[...o,t,...Array.isArray(e)?e:[]],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:i,shell:!1})}});var ai=E((d2,ng)=>{"use strict";var ig=new Map([["C","cwd"],["f","file"],["z","gzip"],["P","preservePaths"],["U","unlink"],["strip-components","strip"],["stripComponents","strip"],["keep-newer","newer"],["keepNewer","newer"],["keep-newer-files","newer"],["keepNewerFiles","newer"],["k","keep"],["keep-existing","keep"],["keepExisting","keep"],["m","noMtime"],["no-mtime","noMtime"],["p","preserveOwner"],["L","follow"],["h","follow"]]);ng.exports=t=>t?Object.keys(t).map(e=>[ig.has(e)?ig.get(e):e,t[e]]).reduce((e,r)=>(e[r[0]]=r[1],e),Object.create(null)):{}});var Ts=E((m2,pg)=>{"use strict";var sg=typeof process=="object"&&process?process:{stdout:null,stderr:null},Dx=require("events"),og=require("stream"),ug=require("string_decoder").StringDecoder,xt=Symbol("EOF"),vt=Symbol("maybeEmitEnd"),Vt=Symbol("emittedEnd"),ws=Symbol("emittingEnd"),Ji=Symbol("emittedError"),Fs=Symbol("closed"),ag=Symbol("read"),xs=Symbol("flush"),cg=Symbol("flushChunk"),Be=Symbol("encoding"),Rt=Symbol("decoder"),vs=Symbol("flowing"),Qi=Symbol("paused"),ci=Symbol("resume"),ce=Symbol("buffer"),ct=Symbol("pipes"),ge=Symbol("bufferLength"),Ec=Symbol("bufferPush"),Dc=Symbol("bufferShift"),Se=Symbol("objectMode"),Ce=Symbol("destroyed"),yc=Symbol("emitData"),lg=Symbol("emitEnd"),Ac=Symbol("emitEnd2"),Tt=Symbol("async"),en=t=>Promise.resolve().then(t),fg=global._MP_NO_ITERATOR_SYMBOLS_!=="1",yx=fg&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),Ax=fg&&Symbol.iterator||Symbol("iterator not implemented"),_x=t=>t==="end"||t==="finish"||t==="prefinish",Sx=t=>t instanceof ArrayBuffer||typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,Cx=t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),Rs=class{constructor(e,r,i){this.src=e,this.dest=r,this.opts=i,this.ondrain=()=>e[ci](),r.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},_c=class extends Rs{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,r,i){super(e,r,i),this.proxyErrors=n=>r.emit("error",n),e.on("error",this.proxyErrors)}};pg.exports=class hg extends og{constructor(e){super(),this[vs]=!1,this[Qi]=!1,this[ct]=[],this[ce]=[],this[Se]=e&&e.objectMode||!1,this[Se]?this[Be]=null:this[Be]=e&&e.encoding||null,this[Be]==="buffer"&&(this[Be]=null),this[Tt]=e&&!!e.async||!1,this[Rt]=this[Be]?new ug(this[Be]):null,this[xt]=!1,this[Vt]=!1,this[ws]=!1,this[Fs]=!1,this[Ji]=null,this.writable=!0,this.readable=!0,this[ge]=0,this[Ce]=!1,e&&e.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[ce]}),e&&e.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[ct]})}get bufferLength(){return this[ge]}get encoding(){return this[Be]}set encoding(e){if(this[Se])throw new Error("cannot set encoding in objectMode");if(this[Be]&&e!==this[Be]&&(this[Rt]&&this[Rt].lastNeed||this[ge]))throw new Error("cannot change encoding");this[Be]!==e&&(this[Rt]=e?new ug(e):null,this[ce].length&&(this[ce]=this[ce].map(r=>this[Rt].write(r)))),this[Be]=e}setEncoding(e){this.encoding=e}get objectMode(){return this[Se]}set objectMode(e){this[Se]=this[Se]||!!e}get async(){return this[Tt]}set async(e){this[Tt]=this[Tt]||!!e}write(e,r,i){if(this[xt])throw new Error("write after end");if(this[Ce])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(i=r,r="utf8"),r||(r="utf8");let n=this[Tt]?en:s=>s();return!this[Se]&&!Buffer.isBuffer(e)&&(Cx(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):Sx(e)?e=Buffer.from(e):typeof e!="string"&&(this.objectMode=!0)),this[Se]?(this.flowing&&this[ge]!==0&&this[xs](!0),this.flowing?this.emit("data",e):this[Ec](e),this[ge]!==0&&this.emit("readable"),i&&n(i),this.flowing):e.length?(typeof e=="string"&&!(r===this[Be]&&!this[Rt].lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[Be]&&(e=this[Rt].write(e)),this.flowing&&this[ge]!==0&&this[xs](!0),this.flowing?this.emit("data",e):this[Ec](e),this[ge]!==0&&this.emit("readable"),i&&n(i),this.flowing):(this[ge]!==0&&this.emit("readable"),i&&n(i),this.flowing)}read(e){if(this[Ce])return null;if(this[ge]===0||e===0||e>this[ge])return this[vt](),null;this[Se]&&(e=null),this[ce].length>1&&!this[Se]&&(this.encoding?this[ce]=[this[ce].join("")]:this[ce]=[Buffer.concat(this[ce],this[ge])]);let r=this[ag](e||null,this[ce][0]);return this[vt](),r}[ag](e,r){return e===r.length||e===null?this[Dc]():(this[ce][0]=r.slice(e),r=r.slice(0,e),this[ge]-=e),this.emit("data",r),!this[ce].length&&!this[xt]&&this.emit("drain"),r}end(e,r,i){return typeof e=="function"&&(i=e,e=null),typeof r=="function"&&(i=r,r="utf8"),e&&this.write(e,r),i&&this.once("end",i),this[xt]=!0,this.writable=!1,(this.flowing||!this[Qi])&&this[vt](),this}[ci](){this[Ce]||(this[Qi]=!1,this[vs]=!0,this.emit("resume"),this[ce].length?this[xs]():this[xt]?this[vt]():this.emit("drain"))}resume(){return this[ci]()}pause(){this[vs]=!1,this[Qi]=!0}get destroyed(){return this[Ce]}get flowing(){return this[vs]}get paused(){return this[Qi]}[Ec](e){this[Se]?this[ge]+=1:this[ge]+=e.length,this[ce].push(e)}[Dc](){return this[ce].length&&(this[Se]?this[ge]-=1:this[ge]-=this[ce][0].length),this[ce].shift()}[xs](e){do;while(this[cg](this[Dc]()));!e&&!this[ce].length&&!this[xt]&&this.emit("drain")}[cg](e){return e?(this.emit("data",e),this.flowing):!1}pipe(e,r){if(this[Ce])return;let i=this[Vt];return r=r||{},e===sg.stdout||e===sg.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,i?r.end&&e.end():(this[ct].push(r.proxyErrors?new _c(this,e,r):new Rs(this,e,r)),this[Tt]?en(()=>this[ci]()):this[ci]()),e}unpipe(e){let r=this[ct].find(i=>i.dest===e);r&&(this[ct].splice(this[ct].indexOf(r),1),r.unpipe())}addListener(e,r){return this.on(e,r)}on(e,r){let i=super.on(e,r);return e==="data"&&!this[ct].length&&!this.flowing?this[ci]():e==="readable"&&this[ge]!==0?super.emit("readable"):_x(e)&&this[Vt]?(super.emit(e),this.removeAllListeners(e)):e==="error"&&this[Ji]&&(this[Tt]?en(()=>r.call(this,this[Ji])):r.call(this,this[Ji])),i}get emittedEnd(){return this[Vt]}[vt](){!this[ws]&&!this[Vt]&&!this[Ce]&&this[ce].length===0&&this[xt]&&(this[ws]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Fs]&&this.emit("close"),this[ws]=!1)}emit(e,r,...i){if(e!=="error"&&e!=="close"&&e!==Ce&&this[Ce])return;if(e==="data")return r?this[Tt]?en(()=>this[yc](r)):this[yc](r):!1;if(e==="end")return this[lg]();if(e==="close"){if(this[Fs]=!0,!this[Vt]&&!this[Ce])return;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[Ji]=r;let s=super.emit("error",r);return this[vt](),s}else if(e==="resume"){let s=super.emit("resume");return this[vt](),s}else if(e==="finish"||e==="prefinish"){let s=super.emit(e);return this.removeAllListeners(e),s}let n=super.emit(e,r,...i);return this[vt](),n}[yc](e){for(let i of this[ct])i.dest.write(e)===!1&&this.pause();let r=super.emit("data",e);return this[vt](),r}[lg](){this[Vt]||(this[Vt]=!0,this.readable=!1,this[Tt]?en(()=>this[Ac]()):this[Ac]())}[Ac](){if(this[Rt]){let r=this[Rt].end();if(r){for(let i of this[ct])i.dest.write(r);super.emit("data",r)}}for(let r of this[ct])r.end();let e=super.emit("end");return this.removeAllListeners("end"),e}collect(){let e=[];this[Se]||(e.dataLength=0);let r=this.promise();return this.on("data",i=>{e.push(i),this[Se]||(e.dataLength+=i.length)}),r.then(()=>e)}concat(){return this[Se]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(e=>this[Se]?Promise.reject(new Error("cannot concat in objectMode")):this[Be]?e.join(""):Buffer.concat(e,e.dataLength))}promise(){return new Promise((e,r)=>{this.on(Ce,()=>r(new Error("stream destroyed"))),this.on("error",i=>r(i)),this.on("end",()=>e())})}[yx](){return{next:()=>{let r=this.read();if(r!==null)return Promise.resolve({done:!1,value:r});if(this[xt])return Promise.resolve({done:!0});let i=null,n=null,s=c=>{this.removeListener("data",o),this.removeListener("end",u),n(c)},o=c=>{this.removeListener("error",s),this.removeListener("end",u),this.pause(),i({value:c,done:!!this[xt]})},u=()=>{this.removeListener("error",s),this.removeListener("data",o),i({done:!0})},a=()=>s(new Error("stream destroyed"));return new Promise((c,l)=>{n=l,i=c,this.once(Ce,a),this.once("error",s),this.once("end",u),this.once("data",o)})}}}[Ax](){return{next:()=>{let r=this.read();return{value:r,done:r===null}}}}destroy(e){return this[Ce]?(e?this.emit("error",e):this.emit(Ce),this):(this[Ce]=!0,this[ce].length=0,this[ge]=0,typeof this.close=="function"&&!this[Fs]&&this.close(),e?this.emit("error",e):this.emit(Ce),this)}static isStream(e){return!!e&&(e instanceof hg||e instanceof og||e instanceof Dx&&(typeof e.pipe=="function"||typeof e.write=="function"&&typeof e.end=="function"))}}});var mg=E((g2,dg)=>{var bx=require("zlib").constants||{ZLIB_VERNUM:4736};dg.exports=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_VERSION_ERROR:-6,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:1/0,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},bx))});var xc=E((E2,bg)=>{"use strict";var gg=typeof process=="object"&&process?process:{stdout:null,stderr:null},wx=require("events"),Eg=require("stream"),Dg=require("string_decoder").StringDecoder,Ot=Symbol("EOF"),Bt=Symbol("maybeEmitEnd"),Xt=Symbol("emittedEnd"),Os=Symbol("emittingEnd"),tn=Symbol("emittedError"),Bs=Symbol("closed"),yg=Symbol("read"),Ps=Symbol("flush"),Ag=Symbol("flushChunk"),Pe=Symbol("encoding"),Pt=Symbol("decoder"),Ls=Symbol("flowing"),rn=Symbol("paused"),li=Symbol("resume"),Ee=Symbol("bufferLength"),Sc=Symbol("bufferPush"),Cc=Symbol("bufferShift"),be=Symbol("objectMode"),we=Symbol("destroyed"),bc=Symbol("emitData"),_g=Symbol("emitEnd"),wc=Symbol("emitEnd2"),Lt=Symbol("async"),nn=t=>Promise.resolve().then(t),Sg=global._MP_NO_ITERATOR_SYMBOLS_!=="1",Fx=Sg&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),xx=Sg&&Symbol.iterator||Symbol("iterator not implemented"),vx=t=>t==="end"||t==="finish"||t==="prefinish",Rx=t=>t instanceof ArrayBuffer||typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,Tx=t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),Is=class{constructor(e,r,i){this.src=e,this.dest=r,this.opts=i,this.ondrain=()=>e[li](),r.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},Fc=class extends Is{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,r,i){super(e,r,i),this.proxyErrors=n=>r.emit("error",n),e.on("error",this.proxyErrors)}};bg.exports=class Cg extends Eg{constructor(e){super(),this[Ls]=!1,this[rn]=!1,this.pipes=[],this.buffer=[],this[be]=e&&e.objectMode||!1,this[be]?this[Pe]=null:this[Pe]=e&&e.encoding||null,this[Pe]==="buffer"&&(this[Pe]=null),this[Lt]=e&&!!e.async||!1,this[Pt]=this[Pe]?new Dg(this[Pe]):null,this[Ot]=!1,this[Xt]=!1,this[Os]=!1,this[Bs]=!1,this[tn]=null,this.writable=!0,this.readable=!0,this[Ee]=0,this[we]=!1}get bufferLength(){return this[Ee]}get encoding(){return this[Pe]}set encoding(e){if(this[be])throw new Error("cannot set encoding in objectMode");if(this[Pe]&&e!==this[Pe]&&(this[Pt]&&this[Pt].lastNeed||this[Ee]))throw new Error("cannot change encoding");this[Pe]!==e&&(this[Pt]=e?new Dg(e):null,this.buffer.length&&(this.buffer=this.buffer.map(r=>this[Pt].write(r)))),this[Pe]=e}setEncoding(e){this.encoding=e}get objectMode(){return this[be]}set objectMode(e){this[be]=this[be]||!!e}get async(){return this[Lt]}set async(e){this[Lt]=this[Lt]||!!e}write(e,r,i){if(this[Ot])throw new Error("write after end");if(this[we])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(i=r,r="utf8"),r||(r="utf8");let n=this[Lt]?nn:s=>s();return!this[be]&&!Buffer.isBuffer(e)&&(Tx(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):Rx(e)?e=Buffer.from(e):typeof e!="string"&&(this.objectMode=!0)),this[be]?(this.flowing&&this[Ee]!==0&&this[Ps](!0),this.flowing?this.emit("data",e):this[Sc](e),this[Ee]!==0&&this.emit("readable"),i&&n(i),this.flowing):e.length?(typeof e=="string"&&!(r===this[Pe]&&!this[Pt].lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[Pe]&&(e=this[Pt].write(e)),this.flowing&&this[Ee]!==0&&this[Ps](!0),this.flowing?this.emit("data",e):this[Sc](e),this[Ee]!==0&&this.emit("readable"),i&&n(i),this.flowing):(this[Ee]!==0&&this.emit("readable"),i&&n(i),this.flowing)}read(e){if(this[we])return null;if(this[Ee]===0||e===0||e>this[Ee])return this[Bt](),null;this[be]&&(e=null),this.buffer.length>1&&!this[be]&&(this.encoding?this.buffer=[this.buffer.join("")]:this.buffer=[Buffer.concat(this.buffer,this[Ee])]);let r=this[yg](e||null,this.buffer[0]);return this[Bt](),r}[yg](e,r){return e===r.length||e===null?this[Cc]():(this.buffer[0]=r.slice(e),r=r.slice(0,e),this[Ee]-=e),this.emit("data",r),!this.buffer.length&&!this[Ot]&&this.emit("drain"),r}end(e,r,i){return typeof e=="function"&&(i=e,e=null),typeof r=="function"&&(i=r,r="utf8"),e&&this.write(e,r),i&&this.once("end",i),this[Ot]=!0,this.writable=!1,(this.flowing||!this[rn])&&this[Bt](),this}[li](){this[we]||(this[rn]=!1,this[Ls]=!0,this.emit("resume"),this.buffer.length?this[Ps]():this[Ot]?this[Bt]():this.emit("drain"))}resume(){return this[li]()}pause(){this[Ls]=!1,this[rn]=!0}get destroyed(){return this[we]}get flowing(){return this[Ls]}get paused(){return this[rn]}[Sc](e){this[be]?this[Ee]+=1:this[Ee]+=e.length,this.buffer.push(e)}[Cc](){return this.buffer.length&&(this[be]?this[Ee]-=1:this[Ee]-=this.buffer[0].length),this.buffer.shift()}[Ps](e){do;while(this[Ag](this[Cc]()));!e&&!this.buffer.length&&!this[Ot]&&this.emit("drain")}[Ag](e){return e?(this.emit("data",e),this.flowing):!1}pipe(e,r){if(this[we])return;let i=this[Xt];return r=r||{},e===gg.stdout||e===gg.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,i?r.end&&e.end():(this.pipes.push(r.proxyErrors?new Fc(this,e,r):new Is(this,e,r)),this[Lt]?nn(()=>this[li]()):this[li]()),e}unpipe(e){let r=this.pipes.find(i=>i.dest===e);r&&(this.pipes.splice(this.pipes.indexOf(r),1),r.unpipe())}addListener(e,r){return this.on(e,r)}on(e,r){let i=super.on(e,r);return e==="data"&&!this.pipes.length&&!this.flowing?this[li]():e==="readable"&&this[Ee]!==0?super.emit("readable"):vx(e)&&this[Xt]?(super.emit(e),this.removeAllListeners(e)):e==="error"&&this[tn]&&(this[Lt]?nn(()=>r.call(this,this[tn])):r.call(this,this[tn])),i}get emittedEnd(){return this[Xt]}[Bt](){!this[Os]&&!this[Xt]&&!this[we]&&this.buffer.length===0&&this[Ot]&&(this[Os]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Bs]&&this.emit("close"),this[Os]=!1)}emit(e,r,...i){if(e!=="error"&&e!=="close"&&e!==we&&this[we])return;if(e==="data")return r?this[Lt]?nn(()=>this[bc](r)):this[bc](r):!1;if(e==="end")return this[_g]();if(e==="close"){if(this[Bs]=!0,!this[Xt]&&!this[we])return;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[tn]=r;let s=super.emit("error",r);return this[Bt](),s}else if(e==="resume"){let s=super.emit("resume");return this[Bt](),s}else if(e==="finish"||e==="prefinish"){let s=super.emit(e);return this.removeAllListeners(e),s}let n=super.emit(e,r,...i);return this[Bt](),n}[bc](e){for(let i of this.pipes)i.dest.write(e)===!1&&this.pause();let r=super.emit("data",e);return this[Bt](),r}[_g](){this[Xt]||(this[Xt]=!0,this.readable=!1,this[Lt]?nn(()=>this[wc]()):this[wc]())}[wc](){if(this[Pt]){let r=this[Pt].end();if(r){for(let i of this.pipes)i.dest.write(r);super.emit("data",r)}}for(let r of this.pipes)r.end();let e=super.emit("end");return this.removeAllListeners("end"),e}collect(){let e=[];this[be]||(e.dataLength=0);let r=this.promise();return this.on("data",i=>{e.push(i),this[be]||(e.dataLength+=i.length)}),r.then(()=>e)}concat(){return this[be]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(e=>this[be]?Promise.reject(new Error("cannot concat in objectMode")):this[Pe]?e.join(""):Buffer.concat(e,e.dataLength))}promise(){return new Promise((e,r)=>{this.on(we,()=>r(new Error("stream destroyed"))),this.on("error",i=>r(i)),this.on("end",()=>e())})}[Fx](){return{next:()=>{let r=this.read();if(r!==null)return Promise.resolve({done:!1,value:r});if(this[Ot])return Promise.resolve({done:!0});let i=null,n=null,s=c=>{this.removeListener("data",o),this.removeListener("end",u),n(c)},o=c=>{this.removeListener("error",s),this.removeListener("end",u),this.pause(),i({value:c,done:!!this[Ot]})},u=()=>{this.removeListener("error",s),this.removeListener("data",o),i({done:!0})},a=()=>s(new Error("stream destroyed"));return new Promise((c,l)=>{n=l,i=c,this.once(we,a),this.once("error",s),this.once("end",u),this.once("data",o)})}}}[xx](){return{next:()=>{let r=this.read();return{value:r,done:r===null}}}}destroy(e){return this[we]?(e?this.emit("error",e):this.emit(we),this):(this[we]=!0,this.buffer.length=0,this[Ee]=0,typeof this.close=="function"&&!this[Bs]&&this.close(),e?this.emit("error",e):this.emit(we),this)}static isStream(e){return!!e&&(e instanceof Cg||e instanceof Eg||e instanceof wx&&(typeof e.pipe=="function"||typeof e.write=="function"&&typeof e.end=="function"))}}});var Gc=E(qe=>{"use strict";var Bc=require("assert"),Zt=require("buffer").Buffer,xg=require("zlib"),Cr=qe.constants=mg(),Ox=xc(),wg=Zt.concat,br=Symbol("_superWrite"),hi=class extends Error{constructor(e){super("zlib: "+e.message),this.code=e.code,this.errno=e.errno,this.code||(this.code="ZLIB_ERROR"),this.message="zlib: "+e.message,Error.captureStackTrace(this,this.constructor)}get name(){return"ZlibError"}},Bx=Symbol("opts"),sn=Symbol("flushFlag"),Fg=Symbol("finishFlushFlag"),Uc=Symbol("fullFlushFlag"),X=Symbol("handle"),Ns=Symbol("onError"),fi=Symbol("sawError"),vc=Symbol("level"),Rc=Symbol("strategy"),Tc=Symbol("ended"),D2=Symbol("_defaultFullFlush"),ks=class extends Ox{constructor(e,r){if(!e||typeof e!="object")throw new TypeError("invalid options for ZlibBase constructor");super(e),this[fi]=!1,this[Tc]=!1,this[Bx]=e,this[sn]=e.flush,this[Fg]=e.finishFlush;try{this[X]=new xg[r](e)}catch(i){throw new hi(i)}this[Ns]=i=>{this[fi]||(this[fi]=!0,this.close(),this.emit("error",i))},this[X].on("error",i=>this[Ns](new hi(i))),this.once("end",()=>this.close)}close(){this[X]&&(this[X].close(),this[X]=null,this.emit("close"))}reset(){if(!this[fi])return Bc(this[X],"zlib binding closed"),this[X].reset()}flush(e){this.ended||(typeof e!="number"&&(e=this[Uc]),this.write(Object.assign(Zt.alloc(0),{[sn]:e})))}end(e,r,i){return e&&this.write(e,r),this.flush(this[Fg]),this[Tc]=!0,super.end(null,null,i)}get ended(){return this[Tc]}write(e,r,i){if(typeof r=="function"&&(i=r,r="utf8"),typeof e=="string"&&(e=Zt.from(e,r)),this[fi])return;Bc(this[X],"zlib binding closed");let n=this[X]._handle,s=n.close;n.close=()=>{};let o=this[X].close;this[X].close=()=>{},Zt.concat=c=>c;let u;try{let c=typeof e[sn]=="number"?e[sn]:this[sn];u=this[X]._processChunk(e,c),Zt.concat=wg}catch(c){Zt.concat=wg,this[Ns](new hi(c))}finally{this[X]&&(this[X]._handle=n,n.close=s,this[X].close=o,this[X].removeAllListeners("error"))}this[X]&&this[X].on("error",c=>this[Ns](new hi(c)));let a;if(u)if(Array.isArray(u)&&u.length>0){a=this[br](Zt.from(u[0]));for(let c=1;c<u.length;c++)a=this[br](u[c])}else a=this[br](Zt.from(u));return i&&i(),a}[br](e){return super.write(e)}},It=class extends ks{constructor(e,r){e=e||{},e.flush=e.flush||Cr.Z_NO_FLUSH,e.finishFlush=e.finishFlush||Cr.Z_FINISH,super(e,r),this[Uc]=Cr.Z_FULL_FLUSH,this[vc]=e.level,this[Rc]=e.strategy}params(e,r){if(!this[fi]){if(!this[X])throw new Error("cannot switch params when binding is closed");if(!this[X].params)throw new Error("not supported in this implementation");if(this[vc]!==e||this[Rc]!==r){this.flush(Cr.Z_SYNC_FLUSH),Bc(this[X],"zlib binding closed");let i=this[X].flush;this[X].flush=(n,s)=>{this.flush(n),s()};try{this[X].params(e,r)}finally{this[X].flush=i}this[X]&&(this[vc]=e,this[Rc]=r)}}}},Pc=class extends It{constructor(e){super(e,"Deflate")}},Lc=class extends It{constructor(e){super(e,"Inflate")}},Oc=Symbol("_portable"),Ic=class extends It{constructor(e){super(e,"Gzip"),this[Oc]=e&&!!e.portable}[br](e){return this[Oc]?(this[Oc]=!1,e[9]=255,super[br](e)):super[br](e)}},Nc=class extends It{constructor(e){super(e,"Gunzip")}},kc=class extends It{constructor(e){super(e,"DeflateRaw")}},Mc=class extends It{constructor(e){super(e,"InflateRaw")}},qc=class extends It{constructor(e){super(e,"Unzip")}},Ms=class extends ks{constructor(e,r){e=e||{},e.flush=e.flush||Cr.BROTLI_OPERATION_PROCESS,e.finishFlush=e.finishFlush||Cr.BROTLI_OPERATION_FINISH,super(e,r),this[Uc]=Cr.BROTLI_OPERATION_FLUSH}},Hc=class extends Ms{constructor(e){super(e,"BrotliCompress")}},$c=class extends Ms{constructor(e){super(e,"BrotliDecompress")}};qe.Deflate=Pc;qe.Inflate=Lc;qe.Gzip=Ic;qe.Gunzip=Nc;qe.DeflateRaw=kc;qe.InflateRaw=Mc;qe.Unzip=qc;typeof xg.BrotliCompress=="function"?(qe.BrotliCompress=Hc,qe.BrotliDecompress=$c):qe.BrotliCompress=qe.BrotliDecompress=class{constructor(){throw new Error("Brotli is not supported in this version of Node.js")}}});var pi=E((_2,vg)=>{var Px=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform;vg.exports=Px!=="win32"?t=>t:t=>t&&t.replace(/\\/g,"/")});var qs=E((C2,Rg)=>{"use strict";var Lx=Ts(),jc=pi(),Wc=Symbol("slurp");Rg.exports=class extends Lx{constructor(e,r,i){switch(super(),this.pause(),this.extended=r,this.globalExtended=i,this.header=e,this.startBlockSize=512*Math.ceil(e.size/512),this.blockRemain=this.startBlockSize,this.remain=e.size,this.type=e.type,this.meta=!1,this.ignore=!1,this.type){case"File":case"OldFile":case"Link":case"SymbolicLink":case"CharacterDevice":case"BlockDevice":case"Directory":case"FIFO":case"ContiguousFile":case"GNUDumpDir":break;case"NextFileHasLongLinkpath":case"NextFileHasLongPath":case"OldGnuLongPath":case"GlobalExtendedHeader":case"ExtendedHeader":case"OldExtendedHeader":this.meta=!0;break;default:this.ignore=!0}this.path=jc(e.path),this.mode=e.mode,this.mode&&(this.mode=this.mode&4095),this.uid=e.uid,this.gid=e.gid,this.uname=e.uname,this.gname=e.gname,this.size=e.size,this.mtime=e.mtime,this.atime=e.atime,this.ctime=e.ctime,this.linkpath=jc(e.linkpath),this.uname=e.uname,this.gname=e.gname,r&&this[Wc](r),i&&this[Wc](i,!0)}write(e){let r=e.length;if(r>this.blockRemain)throw new Error("writing more to entry than is appropriate");let i=this.remain,n=this.blockRemain;return this.remain=Math.max(0,i-r),this.blockRemain=Math.max(0,n-r),this.ignore?!0:i>=r?super.write(e):super.write(e.slice(0,i))}[Wc](e,r){for(let i in e)e[i]!==null&&e[i]!==void 0&&!(r&&i==="path")&&(this[i]=i==="path"||i==="linkpath"?jc(e[i]):e[i])}}});var zc=E(Hs=>{"use strict";Hs.name=new Map([["0","File"],["","OldFile"],["1","Link"],["2","SymbolicLink"],["3","CharacterDevice"],["4","BlockDevice"],["5","Directory"],["6","FIFO"],["7","ContiguousFile"],["g","GlobalExtendedHeader"],["x","ExtendedHeader"],["A","SolarisACL"],["D","GNUDumpDir"],["I","Inode"],["K","NextFileHasLongLinkpath"],["L","NextFileHasLongPath"],["M","ContinuationFile"],["N","OldGnuLongPath"],["S","SparseFile"],["V","TapeVolumeHeader"],["X","OldExtendedHeader"]]);Hs.code=new Map(Array.from(Hs.name).map(t=>[t[1],t[0]]))});var Pg=E((w2,Bg)=>{"use strict";var Ix=(t,e)=>{if(Number.isSafeInteger(t))t<0?kx(t,e):Nx(t,e);else throw Error("cannot encode number outside of javascript safe integer range");return e},Nx=(t,e)=>{e[0]=128;for(var r=e.length;r>1;r--)e[r-1]=t&255,t=Math.floor(t/256)},kx=(t,e)=>{e[0]=255;var r=!1;t=t*-1;for(var i=e.length;i>1;i--){var n=t&255;t=Math.floor(t/256),r?e[i-1]=Tg(n):n===0?e[i-1]=0:(r=!0,e[i-1]=Og(n))}},Mx=t=>{let e=t[0],r=e===128?Hx(t.slice(1,t.length)):e===255?qx(t):null;if(r===null)throw Error("invalid base256 encoding");if(!Number.isSafeInteger(r))throw Error("parsed number outside of javascript safe integer range");return r},qx=t=>{for(var e=t.length,r=0,i=!1,n=e-1;n>-1;n--){var s=t[n],o;i?o=Tg(s):s===0?o=s:(i=!0,o=Og(s)),o!==0&&(r-=o*Math.pow(256,e-n-1))}return r},Hx=t=>{for(var e=t.length,r=0,i=e-1;i>-1;i--){var n=t[i];n!==0&&(r+=n*Math.pow(256,e-i-1))}return r},Tg=t=>(255^t)&255,Og=t=>(255^t)+1&255;Bg.exports={encode:Ix,parse:Mx}});var mi=E((F2,Ig)=>{"use strict";var Yc=zc(),di=require("path").posix,Lg=Pg(),Kc=Symbol("slurp"),He=Symbol("type"),Zc=class{constructor(e,r,i,n){this.cksumValid=!1,this.needPax=!1,this.nullBlock=!1,this.block=null,this.path=null,this.mode=null,this.uid=null,this.gid=null,this.size=null,this.mtime=null,this.cksum=null,this[He]="0",this.linkpath=null,this.uname=null,this.gname=null,this.devmaj=0,this.devmin=0,this.atime=null,this.ctime=null,Buffer.isBuffer(e)?this.decode(e,r||0,i,n):e&&this.set(e)}decode(e,r,i,n){if(r||(r=0),!e||!(e.length>=r+512))throw new Error("need 512 bytes for header");if(this.path=wr(e,r,100),this.mode=Jt(e,r+100,8),this.uid=Jt(e,r+108,8),this.gid=Jt(e,r+116,8),this.size=Jt(e,r+124,12),this.mtime=Vc(e,r+136,12),this.cksum=Jt(e,r+148,12),this[Kc](i),this[Kc](n,!0),this[He]=wr(e,r+156,1),this[He]===""&&(this[He]="0"),this[He]==="0"&&this.path.slice(-1)==="/"&&(this[He]="5"),this[He]==="5"&&(this.size=0),this.linkpath=wr(e,r+157,100),e.slice(r+257,r+265).toString()==="ustar\x0000")if(this.uname=wr(e,r+265,32),this.gname=wr(e,r+297,32),this.devmaj=Jt(e,r+329,8),this.devmin=Jt(e,r+337,8),e[r+475]!==0){let o=wr(e,r+345,155);this.path=o+"/"+this.path}else{let o=wr(e,r+345,130);o&&(this.path=o+"/"+this.path),this.atime=Vc(e,r+476,12),this.ctime=Vc(e,r+488,12)}let s=8*32;for(let o=r;o<r+148;o++)s+=e[o];for(let o=r+156;o<r+512;o++)s+=e[o];this.cksumValid=s===this.cksum,this.cksum===null&&s===8*32&&(this.nullBlock=!0)}[Kc](e,r){for(let i in e)e[i]!==null&&e[i]!==void 0&&!(r&&i==="path")&&(this[i]=e[i])}encode(e,r){if(e||(e=this.block=Buffer.alloc(512),r=0),r||(r=0),!(e.length>=r+512))throw new Error("need 512 bytes for header");let i=this.ctime||this.atime?130:155,n=$x(this.path||"",i),s=n[0],o=n[1];this.needPax=n[2],this.needPax=Fr(e,r,100,s)||this.needPax,this.needPax=Qt(e,r+100,8,this.mode)||this.needPax,this.needPax=Qt(e,r+108,8,this.uid)||this.needPax,this.needPax=Qt(e,r+116,8,this.gid)||this.needPax,this.needPax=Qt(e,r+124,12,this.size)||this.needPax,this.needPax=Xc(e,r+136,12,this.mtime)||this.needPax,e[r+156]=this[He].charCodeAt(0),this.needPax=Fr(e,r+157,100,this.linkpath)||this.needPax,e.write("ustar\x0000",r+257,8),this.needPax=Fr(e,r+265,32,this.uname)||this.needPax,this.needPax=Fr(e,r+297,32,this.gname)||this.needPax,this.needPax=Qt(e,r+329,8,this.devmaj)||this.needPax,this.needPax=Qt(e,r+337,8,this.devmin)||this.needPax,this.needPax=Fr(e,r+345,i,o)||this.needPax,e[r+475]!==0?this.needPax=Fr(e,r+345,155,o)||this.needPax:(this.needPax=Fr(e,r+345,130,o)||this.needPax,this.needPax=Xc(e,r+476,12,this.atime)||this.needPax,this.needPax=Xc(e,r+488,12,this.ctime)||this.needPax);let u=8*32;for(let a=r;a<r+148;a++)u+=e[a];for(let a=r+156;a<r+512;a++)u+=e[a];return this.cksum=u,Qt(e,r+148,8,this.cksum),this.cksumValid=!0,this.needPax}set(e){for(let r in e)e[r]!==null&&e[r]!==void 0&&(this[r]=e[r])}get type(){return Yc.name.get(this[He])||this[He]}get typeKey(){return this[He]}set type(e){Yc.code.has(e)?this[He]=Yc.code.get(e):this[He]=e}},$x=(t,e)=>{let i=t,n="",s,o=di.parse(t).root||".";if(Buffer.byteLength(i)<100)s=[i,n,!1];else{n=di.dirname(i),i=di.basename(i);do Buffer.byteLength(i)<=100&&Buffer.byteLength(n)<=e?s=[i,n,!1]:Buffer.byteLength(i)>100&&Buffer.byteLength(n)<=e?s=[i.slice(0,100-1),n,!0]:(i=di.join(di.basename(n),i),n=di.dirname(n));while(n!==o&&!s);s||(s=[t.slice(0,100-1),"",!0])}return s},wr=(t,e,r)=>t.slice(e,e+r).toString("utf8").replace(/\0.*/,""),Vc=(t,e,r)=>Ux(Jt(t,e,r)),Ux=t=>t===null?null:new Date(t*1e3),Jt=(t,e,r)=>t[e]&128?Lg.parse(t.slice(e,e+r)):jx(t,e,r),Gx=t=>isNaN(t)?null:t,jx=(t,e,r)=>Gx(parseInt(t.slice(e,e+r).toString("utf8").replace(/\0.*$/,"").trim(),8)),Wx={12:8589934591,8:2097151},Qt=(t,e,r,i)=>i===null?!1:i>Wx[r]||i<0?(Lg.encode(i,t.slice(e,e+r)),!0):(zx(t,e,r,i),!1),zx=(t,e,r,i)=>t.write(Yx(i,r),e,r,"ascii"),Yx=(t,e)=>Kx(Math.floor(t).toString(8),e),Kx=(t,e)=>(t.length===e-1?t:new Array(e-t.length-1).join("0")+t+" ")+"\0",Xc=(t,e,r,i)=>i===null?!1:Qt(t,e,r,i.getTime()/1e3),Vx=new Array(156).join("\0"),Fr=(t,e,r,i)=>i===null?!1:(t.write(i+Vx,e,r,"utf8"),i.length!==Buffer.byteLength(i)||i.length>r);Ig.exports=Zc});var $s=E((x2,Ng)=>{"use strict";var Xx=mi(),Zx=require("path"),on=class{constructor(e,r){this.atime=e.atime||null,this.charset=e.charset||null,this.comment=e.comment||null,this.ctime=e.ctime||null,this.gid=e.gid||null,this.gname=e.gname||null,this.linkpath=e.linkpath||null,this.mtime=e.mtime||null,this.path=e.path||null,this.size=e.size||null,this.uid=e.uid||null,this.uname=e.uname||null,this.dev=e.dev||null,this.ino=e.ino||null,this.nlink=e.nlink||null,this.global=r||!1}encode(){let e=this.encodeBody();if(e==="")return null;let r=Buffer.byteLength(e),i=512*Math.ceil(1+r/512),n=Buffer.allocUnsafe(i);for(let s=0;s<512;s++)n[s]=0;new Xx({path:("PaxHeader/"+Zx.basename(this.path)).slice(0,99),mode:this.mode||420,uid:this.uid||null,gid:this.gid||null,size:r,mtime:this.mtime||null,type:this.global?"GlobalExtendedHeader":"ExtendedHeader",linkpath:"",uname:this.uname||"",gname:this.gname||"",devmaj:0,devmin:0,atime:this.atime||null,ctime:this.ctime||null}).encode(n),n.write(e,512,r,"utf8");for(let s=r+512;s<n.length;s++)n[s]=0;return n}encodeBody(){return this.encodeField("path")+this.encodeField("ctime")+this.encodeField("atime")+this.encodeField("dev")+this.encodeField("ino")+this.encodeField("nlink")+this.encodeField("charset")+this.encodeField("comment")+this.encodeField("gid")+this.encodeField("gname")+this.encodeField("linkpath")+this.encodeField("mtime")+this.encodeField("size")+this.encodeField("uid")+this.encodeField("uname")}encodeField(e){if(this[e]===null||this[e]===void 0)return"";let r=this[e]instanceof Date?this[e].getTime()/1e3:this[e],i=" "+(e==="dev"||e==="ino"||e==="nlink"?"SCHILY.":"")+e+"="+r+`
|
7
|
+
`,n=Buffer.byteLength(i),s=Math.floor(Math.log(n)/Math.log(10))+1;return n+s>=Math.pow(10,s)&&(s+=1),s+n+i}};on.parse=(t,e,r)=>new on(Jx(Qx(t),e),r);var Jx=(t,e)=>e?Object.keys(t).reduce((r,i)=>(r[i]=t[i],r),e):t,Qx=t=>t.replace(/\n$/,"").split(`
|
8
|
+
`).reduce(ev,Object.create(null)),ev=(t,e)=>{let r=parseInt(e,10);if(r!==Buffer.byteLength(e)+1)return t;e=e.slice((r+" ").length);let i=e.split("="),n=i.shift().replace(/^SCHILY\.(dev|ino|nlink)/,"$1");if(!n)return t;let s=i.join("=");return t[n]=/^([A-Z]+\.)?([mac]|birth|creation)time$/.test(n)?new Date(s*1e3):/^[0-9]+$/.test(s)?+s:s,t};Ng.exports=on});var gi=E((v2,kg)=>{kg.exports=t=>{let e=t.length-1,r=-1;for(;e>-1&&t.charAt(e)==="/";)r=e,e--;return r===-1?t:t.slice(0,r)}});var Us=E((R2,Mg)=>{"use strict";Mg.exports=t=>class extends t{warn(e,r,i={}){this.file&&(i.file=this.file),this.cwd&&(i.cwd=this.cwd),i.code=r instanceof Error&&r.code||e,i.tarCode=e,!this.strict&&i.recoverable!==!1?(r instanceof Error&&(i=Object.assign(r,i),r=r.message),this.emit("warn",i.tarCode,r,i)):r instanceof Error?this.emit("error",Object.assign(r,i)):this.emit("error",Object.assign(new Error(`${e}: ${r}`),i))}}});var Qc=E((O2,qg)=>{"use strict";var Gs=["|","<",">","?",":"],Jc=Gs.map(t=>String.fromCharCode(61440+t.charCodeAt(0))),tv=new Map(Gs.map((t,e)=>[t,Jc[e]])),rv=new Map(Jc.map((t,e)=>[t,Gs[e]]));qg.exports={encode:t=>Gs.reduce((e,r)=>e.split(r).join(tv.get(r)),t),decode:t=>Jc.reduce((e,r)=>e.split(r).join(rv.get(r)),t)}});var el=E((B2,$g)=>{var{isAbsolute:iv,parse:Hg}=require("path").win32;$g.exports=t=>{let e="",r=Hg(t);for(;iv(t)||r.root;){let i=t.charAt(0)==="/"&&t.slice(0,4)!=="//?/"?"/":r.root;t=t.slice(i.length),e+=i,r=Hg(t)}return[e,t]}});var Gg=E((P2,Ug)=>{"use strict";Ug.exports=(t,e,r)=>(t&=4095,r&&(t=(t|384)&-19),e&&(t&256&&(t|=64),t&32&&(t|=8),t&4&&(t|=1)),t)});var ll=E((N2,iE)=>{"use strict";var Xg=Ts(),Zg=$s(),Jg=mi(),ft=require("fs"),jg=require("path"),lt=pi(),nv=gi(),Qg=(t,e)=>e?(t=lt(t).replace(/^\.(\/|$)/,""),nv(e)+"/"+t):lt(t),sv=16*1024*1024,Wg=Symbol("process"),zg=Symbol("file"),Yg=Symbol("directory"),rl=Symbol("symlink"),Kg=Symbol("hardlink"),un=Symbol("header"),js=Symbol("read"),il=Symbol("lstat"),Ws=Symbol("onlstat"),nl=Symbol("onread"),sl=Symbol("onreadlink"),ol=Symbol("openfile"),ul=Symbol("onopenfile"),er=Symbol("close"),zs=Symbol("mode"),al=Symbol("awaitDrain"),tl=Symbol("ondrain"),ht=Symbol("prefix"),Vg=Symbol("hadError"),eE=Us(),ov=Qc(),tE=el(),rE=Gg(),Ys=eE(class extends Xg{constructor(e,r){if(r=r||{},super(r),typeof e!="string")throw new TypeError("path is required");this.path=lt(e),this.portable=!!r.portable,this.myuid=process.getuid&&process.getuid()||0,this.myuser=process.env.USER||"",this.maxReadSize=r.maxReadSize||sv,this.linkCache=r.linkCache||new Map,this.statCache=r.statCache||new Map,this.preservePaths=!!r.preservePaths,this.cwd=lt(r.cwd||process.cwd()),this.strict=!!r.strict,this.noPax=!!r.noPax,this.noMtime=!!r.noMtime,this.mtime=r.mtime||null,this.prefix=r.prefix?lt(r.prefix):null,this.fd=null,this.blockLen=null,this.blockRemain=null,this.buf=null,this.offset=null,this.length=null,this.pos=null,this.remain=null,typeof r.onwarn=="function"&&this.on("warn",r.onwarn);let i=!1;if(!this.preservePaths){let[n,s]=tE(this.path);n&&(this.path=s,i=n)}this.win32=!!r.win32||process.platform==="win32",this.win32&&(this.path=ov.decode(this.path.replace(/\\/g,"/")),e=e.replace(/\\/g,"/")),this.absolute=lt(r.absolute||jg.resolve(this.cwd,e)),this.path===""&&(this.path="./"),i&&this.warn("TAR_ENTRY_INFO",`stripping ${i} from absolute path`,{entry:this,path:i+this.path}),this.statCache.has(this.absolute)?this[Ws](this.statCache.get(this.absolute)):this[il]()}emit(e,...r){return e==="error"&&(this[Vg]=!0),super.emit(e,...r)}[il](){ft.lstat(this.absolute,(e,r)=>{if(e)return this.emit("error",e);this[Ws](r)})}[Ws](e){this.statCache.set(this.absolute,e),this.stat=e,e.isFile()||(e.size=0),this.type=av(e),this.emit("stat",e),this[Wg]()}[Wg](){switch(this.type){case"File":return this[zg]();case"Directory":return this[Yg]();case"SymbolicLink":return this[rl]();default:return this.end()}}[zs](e){return rE(e,this.type==="Directory",this.portable)}[ht](e){return Qg(e,this.prefix)}[un](){this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.header=new Jg({path:this[ht](this.path),linkpath:this.type==="Link"?this[ht](this.linkpath):this.linkpath,mode:this[zs](this.stat.mode),uid:this.portable?null:this.stat.uid,gid:this.portable?null:this.stat.gid,size:this.stat.size,mtime:this.noMtime?null:this.mtime||this.stat.mtime,type:this.type,uname:this.portable?null:this.stat.uid===this.myuid?this.myuser:"",atime:this.portable?null:this.stat.atime,ctime:this.portable?null:this.stat.ctime}),this.header.encode()&&!this.noPax&&super.write(new Zg({atime:this.portable?null:this.header.atime,ctime:this.portable?null:this.header.ctime,gid:this.portable?null:this.header.gid,mtime:this.noMtime?null:this.mtime||this.header.mtime,path:this[ht](this.path),linkpath:this.type==="Link"?this[ht](this.linkpath):this.linkpath,size:this.header.size,uid:this.portable?null:this.header.uid,uname:this.portable?null:this.header.uname,dev:this.portable?null:this.stat.dev,ino:this.portable?null:this.stat.ino,nlink:this.portable?null:this.stat.nlink}).encode()),super.write(this.header.block)}[Yg](){this.path.slice(-1)!=="/"&&(this.path+="/"),this.stat.size=0,this[un](),this.end()}[rl](){ft.readlink(this.absolute,(e,r)=>{if(e)return this.emit("error",e);this[sl](r)})}[sl](e){this.linkpath=lt(e),this[un](),this.end()}[Kg](e){this.type="Link",this.linkpath=lt(jg.relative(this.cwd,e)),this.stat.size=0,this[un](),this.end()}[zg](){if(this.stat.nlink>1){let e=this.stat.dev+":"+this.stat.ino;if(this.linkCache.has(e)){let r=this.linkCache.get(e);if(r.indexOf(this.cwd)===0)return this[Kg](r)}this.linkCache.set(e,this.absolute)}if(this[un](),this.stat.size===0)return this.end();this[ol]()}[ol](){ft.open(this.absolute,"r",(e,r)=>{if(e)return this.emit("error",e);this[ul](r)})}[ul](e){if(this.fd=e,this[Vg])return this[er]();this.blockLen=512*Math.ceil(this.stat.size/512),this.blockRemain=this.blockLen;let r=Math.min(this.blockLen,this.maxReadSize);this.buf=Buffer.allocUnsafe(r),this.offset=0,this.pos=0,this.remain=this.stat.size,this.length=this.buf.length,this[js]()}[js](){let{fd:e,buf:r,offset:i,length:n,pos:s}=this;ft.read(e,r,i,n,s,(o,u)=>{if(o)return this[er](()=>this.emit("error",o));this[nl](u)})}[er](e){ft.close(this.fd,e)}[nl](e){if(e<=0&&this.remain>0){let n=new Error("encountered unexpected EOF");return n.path=this.absolute,n.syscall="read",n.code="EOF",this[er](()=>this.emit("error",n))}if(e>this.remain){let n=new Error("did not encounter expected EOF");return n.path=this.absolute,n.syscall="read",n.code="EOF",this[er](()=>this.emit("error",n))}if(e===this.remain)for(let n=e;n<this.length&&e<this.blockRemain;n++)this.buf[n+this.offset]=0,e++,this.remain++;let r=this.offset===0&&e===this.buf.length?this.buf:this.buf.slice(this.offset,this.offset+e);this.write(r)?this[tl]():this[al](()=>this[tl]())}[al](e){this.once("drain",e)}write(e){if(this.blockRemain<e.length){let r=new Error("writing more data than expected");return r.path=this.absolute,this.emit("error",r)}return this.remain-=e.length,this.blockRemain-=e.length,this.pos+=e.length,this.offset+=e.length,super.write(e)}[tl](){if(!this.remain)return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),this[er](e=>e?this.emit("error",e):this.end());this.offset>=this.length&&(this.buf=Buffer.allocUnsafe(Math.min(this.blockRemain,this.buf.length)),this.offset=0),this.length=this.buf.length-this.offset,this[js]()}}),cl=class extends Ys{[il](){this[Ws](ft.lstatSync(this.absolute))}[rl](){this[sl](ft.readlinkSync(this.absolute))}[ol](){this[ul](ft.openSync(this.absolute,"r"))}[js](){let e=!0;try{let{fd:r,buf:i,offset:n,length:s,pos:o}=this,u=ft.readSync(r,i,n,s,o);this[nl](u),e=!1}finally{if(e)try{this[er](()=>{})}catch{}}}[al](e){e()}[er](e){ft.closeSync(this.fd),e()}},uv=eE(class extends Xg{constructor(e,r){r=r||{},super(r),this.preservePaths=!!r.preservePaths,this.portable=!!r.portable,this.strict=!!r.strict,this.noPax=!!r.noPax,this.noMtime=!!r.noMtime,this.readEntry=e,this.type=e.type,this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.prefix=r.prefix||null,this.path=lt(e.path),this.mode=this[zs](e.mode),this.uid=this.portable?null:e.uid,this.gid=this.portable?null:e.gid,this.uname=this.portable?null:e.uname,this.gname=this.portable?null:e.gname,this.size=e.size,this.mtime=this.noMtime?null:r.mtime||e.mtime,this.atime=this.portable?null:e.atime,this.ctime=this.portable?null:e.ctime,this.linkpath=lt(e.linkpath),typeof r.onwarn=="function"&&this.on("warn",r.onwarn);let i=!1;if(!this.preservePaths){let[n,s]=tE(this.path);n&&(this.path=s,i=n)}this.remain=e.size,this.blockRemain=e.startBlockSize,this.header=new Jg({path:this[ht](this.path),linkpath:this.type==="Link"?this[ht](this.linkpath):this.linkpath,mode:this.mode,uid:this.portable?null:this.uid,gid:this.portable?null:this.gid,size:this.size,mtime:this.noMtime?null:this.mtime,type:this.type,uname:this.portable?null:this.uname,atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime}),i&&this.warn("TAR_ENTRY_INFO",`stripping ${i} from absolute path`,{entry:this,path:i+this.path}),this.header.encode()&&!this.noPax&&super.write(new Zg({atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime,gid:this.portable?null:this.gid,mtime:this.noMtime?null:this.mtime,path:this[ht](this.path),linkpath:this.type==="Link"?this[ht](this.linkpath):this.linkpath,size:this.size,uid:this.portable?null:this.uid,uname:this.portable?null:this.uname,dev:this.portable?null:this.readEntry.dev,ino:this.portable?null:this.readEntry.ino,nlink:this.portable?null:this.readEntry.nlink}).encode()),super.write(this.header.block),e.pipe(this)}[ht](e){return Qg(e,this.prefix)}[zs](e){return rE(e,this.type==="Directory",this.portable)}write(e){let r=e.length;if(r>this.blockRemain)throw new Error("writing more to entry than is appropriate");return this.blockRemain-=r,super.write(e)}end(){return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),super.end()}});Ys.Sync=cl;Ys.Tar=uv;var av=t=>t.isFile()?"File":t.isDirectory()?"Directory":t.isSymbolicLink()?"SymbolicLink":"Unsupported";iE.exports=Ys});var sE=E((k2,nE)=>{"use strict";nE.exports=function(t){t.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}});var fl=E((M2,oE)=>{"use strict";oE.exports=W;W.Node=xr;W.create=W;function W(t){var e=this;if(e instanceof W||(e=new W),e.tail=null,e.head=null,e.length=0,t&&typeof t.forEach=="function")t.forEach(function(n){e.push(n)});else if(arguments.length>0)for(var r=0,i=arguments.length;r<i;r++)e.push(arguments[r]);return e}W.prototype.removeNode=function(t){if(t.list!==this)throw new Error("removing node which does not belong to this list");var e=t.next,r=t.prev;return e&&(e.prev=r),r&&(r.next=e),t===this.head&&(this.head=e),t===this.tail&&(this.tail=r),t.list.length--,t.next=null,t.prev=null,t.list=null,e};W.prototype.unshiftNode=function(t){if(t!==this.head){t.list&&t.list.removeNode(t);var e=this.head;t.list=this,t.next=e,e&&(e.prev=t),this.head=t,this.tail||(this.tail=t),this.length++}};W.prototype.pushNode=function(t){if(t!==this.tail){t.list&&t.list.removeNode(t);var e=this.tail;t.list=this,t.prev=e,e&&(e.next=t),this.tail=t,this.head||(this.head=t),this.length++}};W.prototype.push=function(){for(var t=0,e=arguments.length;t<e;t++)lv(this,arguments[t]);return this.length};W.prototype.unshift=function(){for(var t=0,e=arguments.length;t<e;t++)fv(this,arguments[t]);return this.length};W.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}};W.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}};W.prototype.forEach=function(t,e){e=e||this;for(var r=this.head,i=0;r!==null;i++)t.call(e,r.value,i,this),r=r.next};W.prototype.forEachReverse=function(t,e){e=e||this;for(var r=this.tail,i=this.length-1;r!==null;i--)t.call(e,r.value,i,this),r=r.prev};W.prototype.get=function(t){for(var e=0,r=this.head;r!==null&&e<t;e++)r=r.next;if(e===t&&r!==null)return r.value};W.prototype.getReverse=function(t){for(var e=0,r=this.tail;r!==null&&e<t;e++)r=r.prev;if(e===t&&r!==null)return r.value};W.prototype.map=function(t,e){e=e||this;for(var r=new W,i=this.head;i!==null;)r.push(t.call(e,i.value,this)),i=i.next;return r};W.prototype.mapReverse=function(t,e){e=e||this;for(var r=new W,i=this.tail;i!==null;)r.push(t.call(e,i.value,this)),i=i.prev;return r};W.prototype.reduce=function(t,e){var r,i=this.head;if(arguments.length>1)r=e;else if(this.head)i=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=0;i!==null;n++)r=t(r,i.value,n),i=i.next;return r};W.prototype.reduceReverse=function(t,e){var r,i=this.tail;if(arguments.length>1)r=e;else if(this.tail)i=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=this.length-1;i!==null;n--)r=t(r,i.value,n),i=i.prev;return r};W.prototype.toArray=function(){for(var t=new Array(this.length),e=0,r=this.head;r!==null;e++)t[e]=r.value,r=r.next;return t};W.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,r=this.tail;r!==null;e++)t[e]=r.value,r=r.prev;return t};W.prototype.slice=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new W;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var i=0,n=this.head;n!==null&&i<t;i++)n=n.next;for(;n!==null&&i<e;i++,n=n.next)r.push(n.value);return r};W.prototype.sliceReverse=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new W;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var i=this.length,n=this.tail;n!==null&&i>e;i--)n=n.prev;for(;n!==null&&i>t;i--,n=n.prev)r.push(n.value);return r};W.prototype.splice=function(t,e,...r){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var i=0,n=this.head;n!==null&&i<t;i++)n=n.next;for(var s=[],i=0;n&&i<e;i++)s.push(n.value),n=this.removeNode(n);n===null&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev);for(var i=0;i<r.length;i++)n=cv(this,n,r[i]);return s};W.prototype.reverse=function(){for(var t=this.head,e=this.tail,r=t;r!==null;r=r.prev){var i=r.prev;r.prev=r.next,r.next=i}return this.head=e,this.tail=t,this};function cv(t,e,r){var i=e===t.head?new xr(r,null,e,t):new xr(r,e,e.next,t);return i.next===null&&(t.tail=i),i.prev===null&&(t.head=i),t.length++,i}function lv(t,e){t.tail=new xr(e,t.tail,null,t),t.head||(t.head=t.tail),t.length++}function fv(t,e){t.head=new xr(e,null,t.head,t),t.tail||(t.tail=t.head),t.length++}function xr(t,e,r,i){if(!(this instanceof xr))return new xr(t,e,r,i);this.list=i,this.value=t,e?(e.next=this,this.prev=e):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}try{sE()(W)}catch{}});var ro=E((H2,pE)=>{"use strict";var eo=class{constructor(e,r){this.path=e||"./",this.absolute=r,this.entry=null,this.stat=null,this.readdir=null,this.pending=!1,this.ignore=!1,this.piped=!1}},hv=Ts(),pv=Gc(),dv=qs(),Al=ll(),mv=Al.Sync,gv=Al.Tar,Ev=fl(),uE=Buffer.alloc(1024),Xs=Symbol("onStat"),Ks=Symbol("ended"),pt=Symbol("queue"),Ei=Symbol("current"),vr=Symbol("process"),Vs=Symbol("processing"),aE=Symbol("processJob"),dt=Symbol("jobs"),hl=Symbol("jobDone"),Zs=Symbol("addFSEntry"),cE=Symbol("addTarEntry"),gl=Symbol("stat"),El=Symbol("readdir"),Js=Symbol("onreaddir"),Qs=Symbol("pipe"),lE=Symbol("entry"),pl=Symbol("entryOpt"),Dl=Symbol("writeEntryClass"),hE=Symbol("write"),dl=Symbol("ondrain"),to=require("fs"),fE=require("path"),Dv=Us(),ml=pi(),_l=Dv(class extends hv{constructor(e){super(e),e=e||Object.create(null),this.opt=e,this.file=e.file||"",this.cwd=e.cwd||process.cwd(),this.maxReadSize=e.maxReadSize,this.preservePaths=!!e.preservePaths,this.strict=!!e.strict,this.noPax=!!e.noPax,this.prefix=ml(e.prefix||""),this.linkCache=e.linkCache||new Map,this.statCache=e.statCache||new Map,this.readdirCache=e.readdirCache||new Map,this[Dl]=Al,typeof e.onwarn=="function"&&this.on("warn",e.onwarn),this.portable=!!e.portable,this.zip=null,e.gzip?(typeof e.gzip!="object"&&(e.gzip={}),this.portable&&(e.gzip.portable=!0),this.zip=new pv.Gzip(e.gzip),this.zip.on("data",r=>super.write(r)),this.zip.on("end",r=>super.end()),this.zip.on("drain",r=>this[dl]()),this.on("resume",r=>this.zip.resume())):this.on("drain",this[dl]),this.noDirRecurse=!!e.noDirRecurse,this.follow=!!e.follow,this.noMtime=!!e.noMtime,this.mtime=e.mtime||null,this.filter=typeof e.filter=="function"?e.filter:r=>!0,this[pt]=new Ev,this[dt]=0,this.jobs=+e.jobs||4,this[Vs]=!1,this[Ks]=!1}[hE](e){return super.write(e)}add(e){return this.write(e),this}end(e){return e&&this.write(e),this[Ks]=!0,this[vr](),this}write(e){if(this[Ks])throw new Error("write after end");return e instanceof dv?this[cE](e):this[Zs](e),this.flowing}[cE](e){let r=ml(fE.resolve(this.cwd,e.path));if(!this.filter(e.path,e))e.resume();else{let i=new eo(e.path,r,!1);i.entry=new gv(e,this[pl](i)),i.entry.on("end",n=>this[hl](i)),this[dt]+=1,this[pt].push(i)}this[vr]()}[Zs](e){let r=ml(fE.resolve(this.cwd,e));this[pt].push(new eo(e,r)),this[vr]()}[gl](e){e.pending=!0,this[dt]+=1;let r=this.follow?"stat":"lstat";to[r](e.absolute,(i,n)=>{e.pending=!1,this[dt]-=1,i?this.emit("error",i):this[Xs](e,n)})}[Xs](e,r){this.statCache.set(e.absolute,r),e.stat=r,this.filter(e.path,r)||(e.ignore=!0),this[vr]()}[El](e){e.pending=!0,this[dt]+=1,to.readdir(e.absolute,(r,i)=>{if(e.pending=!1,this[dt]-=1,r)return this.emit("error",r);this[Js](e,i)})}[Js](e,r){this.readdirCache.set(e.absolute,r),e.readdir=r,this[vr]()}[vr](){if(!this[Vs]){this[Vs]=!0;for(let e=this[pt].head;e!==null&&this[dt]<this.jobs;e=e.next)if(this[aE](e.value),e.value.ignore){let r=e.next;this[pt].removeNode(e),e.next=r}this[Vs]=!1,this[Ks]&&!this[pt].length&&this[dt]===0&&(this.zip?this.zip.end(uE):(super.write(uE),super.end()))}}get[Ei](){return this[pt]&&this[pt].head&&this[pt].head.value}[hl](e){this[pt].shift(),this[dt]-=1,this[vr]()}[aE](e){if(!e.pending){if(e.entry){e===this[Ei]&&!e.piped&&this[Qs](e);return}if(e.stat||(this.statCache.has(e.absolute)?this[Xs](e,this.statCache.get(e.absolute)):this[gl](e)),!!e.stat&&!e.ignore&&!(!this.noDirRecurse&&e.stat.isDirectory()&&!e.readdir&&(this.readdirCache.has(e.absolute)?this[Js](e,this.readdirCache.get(e.absolute)):this[El](e),!e.readdir))){if(e.entry=this[lE](e),!e.entry){e.ignore=!0;return}e===this[Ei]&&!e.piped&&this[Qs](e)}}}[pl](e){return{onwarn:(r,i,n)=>this.warn(r,i,n),noPax:this.noPax,cwd:this.cwd,absolute:e.absolute,preservePaths:this.preservePaths,maxReadSize:this.maxReadSize,strict:this.strict,portable:this.portable,linkCache:this.linkCache,statCache:this.statCache,noMtime:this.noMtime,mtime:this.mtime,prefix:this.prefix}}[lE](e){this[dt]+=1;try{return new this[Dl](e.path,this[pl](e)).on("end",()=>this[hl](e)).on("error",r=>this.emit("error",r))}catch(r){this.emit("error",r)}}[dl](){this[Ei]&&this[Ei].entry&&this[Ei].entry.resume()}[Qs](e){e.piped=!0,e.readdir&&e.readdir.forEach(n=>{let s=e.path,o=s==="./"?"":s.replace(/\/*$/,"/");this[Zs](o+n)});let r=e.entry,i=this.zip;i?r.on("data",n=>{i.write(n)||r.pause()}):r.on("data",n=>{super.write(n)||r.pause()})}pause(){return this.zip&&this.zip.pause(),super.pause()}}),yl=class extends _l{constructor(e){super(e),this[Dl]=mv}pause(){}resume(){}[gl](e){let r=this.follow?"statSync":"lstatSync";this[Xs](e,to[r](e.absolute))}[El](e,r){this[Js](e,to.readdirSync(e.absolute))}[Qs](e){let r=e.entry,i=this.zip;e.readdir&&e.readdir.forEach(n=>{let s=e.path,o=s==="./"?"":s.replace(/\/*$/,"/");this[Zs](o+n)}),i?r.on("data",n=>{i.write(n)}):r.on("data",n=>{super[hE](n)})}};_l.Sync=yl;pE.exports=_l});var wi=E(cn=>{"use strict";var yv=xc(),Av=require("events").EventEmitter,Le=require("fs"),bl=Le.writev;if(!bl){let t=process.binding("fs"),e=t.FSReqWrap||t.FSReqCallback;bl=(r,i,n,s)=>{let o=(a,c)=>s(a,c,i),u=new e;u.oncomplete=o,t.writeBuffers(r,i,n,u)}}var Ci=Symbol("_autoClose"),Qe=Symbol("_close"),an=Symbol("_ended"),K=Symbol("_fd"),dE=Symbol("_finished"),rr=Symbol("_flags"),Sl=Symbol("_flush"),wl=Symbol("_handleChunk"),Fl=Symbol("_makeBuf"),uo=Symbol("_mode"),io=Symbol("_needDrain"),_i=Symbol("_onerror"),bi=Symbol("_onopen"),Cl=Symbol("_onread"),yi=Symbol("_onwrite"),ir=Symbol("_open"),Nt=Symbol("_path"),Rr=Symbol("_pos"),mt=Symbol("_queue"),Ai=Symbol("_read"),mE=Symbol("_readSize"),tr=Symbol("_reading"),no=Symbol("_remain"),gE=Symbol("_size"),so=Symbol("_write"),Di=Symbol("_writing"),oo=Symbol("_defaultFlag"),Si=Symbol("_errored"),ao=class extends yv{constructor(e,r){if(r=r||{},super(r),this.readable=!0,this.writable=!1,typeof e!="string")throw new TypeError("path must be a string");this[Si]=!1,this[K]=typeof r.fd=="number"?r.fd:null,this[Nt]=e,this[mE]=r.readSize||16*1024*1024,this[tr]=!1,this[gE]=typeof r.size=="number"?r.size:1/0,this[no]=this[gE],this[Ci]=typeof r.autoClose=="boolean"?r.autoClose:!0,typeof this[K]=="number"?this[Ai]():this[ir]()}get fd(){return this[K]}get path(){return this[Nt]}write(){throw new TypeError("this is a readable stream")}end(){throw new TypeError("this is a readable stream")}[ir](){Le.open(this[Nt],"r",(e,r)=>this[bi](e,r))}[bi](e,r){e?this[_i](e):(this[K]=r,this.emit("open",r),this[Ai]())}[Fl](){return Buffer.allocUnsafe(Math.min(this[mE],this[no]))}[Ai](){if(!this[tr]){this[tr]=!0;let e=this[Fl]();if(e.length===0)return process.nextTick(()=>this[Cl](null,0,e));Le.read(this[K],e,0,e.length,null,(r,i,n)=>this[Cl](r,i,n))}}[Cl](e,r,i){this[tr]=!1,e?this[_i](e):this[wl](r,i)&&this[Ai]()}[Qe](){if(this[Ci]&&typeof this[K]=="number"){let e=this[K];this[K]=null,Le.close(e,r=>r?this.emit("error",r):this.emit("close"))}}[_i](e){this[tr]=!0,this[Qe](),this.emit("error",e)}[wl](e,r){let i=!1;return this[no]-=e,e>0&&(i=super.write(e<r.length?r.slice(0,e):r)),(e===0||this[no]<=0)&&(i=!1,this[Qe](),super.end()),i}emit(e,r){switch(e){case"prefinish":case"finish":break;case"drain":typeof this[K]=="number"&&this[Ai]();break;case"error":return this[Si]?void 0:(this[Si]=!0,super.emit(e,r));default:return super.emit(e,r)}}},xl=class extends ao{[ir](){let e=!0;try{this[bi](null,Le.openSync(this[Nt],"r")),e=!1}finally{e&&this[Qe]()}}[Ai](){let e=!0;try{if(!this[tr]){this[tr]=!0;do{let r=this[Fl](),i=r.length===0?0:Le.readSync(this[K],r,0,r.length,null);if(!this[wl](i,r))break}while(!0);this[tr]=!1}e=!1}finally{e&&this[Qe]()}}[Qe](){if(this[Ci]&&typeof this[K]=="number"){let e=this[K];this[K]=null,Le.closeSync(e),this.emit("close")}}},co=class extends Av{constructor(e,r){r=r||{},super(r),this.readable=!1,this.writable=!0,this[Si]=!1,this[Di]=!1,this[an]=!1,this[io]=!1,this[mt]=[],this[Nt]=e,this[K]=typeof r.fd=="number"?r.fd:null,this[uo]=r.mode===void 0?438:r.mode,this[Rr]=typeof r.start=="number"?r.start:null,this[Ci]=typeof r.autoClose=="boolean"?r.autoClose:!0;let i=this[Rr]!==null?"r+":"w";this[oo]=r.flags===void 0,this[rr]=this[oo]?i:r.flags,this[K]===null&&this[ir]()}emit(e,r){if(e==="error"){if(this[Si])return;this[Si]=!0}return super.emit(e,r)}get fd(){return this[K]}get path(){return this[Nt]}[_i](e){this[Qe](),this[Di]=!0,this.emit("error",e)}[ir](){Le.open(this[Nt],this[rr],this[uo],(e,r)=>this[bi](e,r))}[bi](e,r){this[oo]&&this[rr]==="r+"&&e&&e.code==="ENOENT"?(this[rr]="w",this[ir]()):e?this[_i](e):(this[K]=r,this.emit("open",r),this[Sl]())}end(e,r){return e&&this.write(e,r),this[an]=!0,!this[Di]&&!this[mt].length&&typeof this[K]=="number"&&this[yi](null,0),this}write(e,r){return typeof e=="string"&&(e=Buffer.from(e,r)),this[an]?(this.emit("error",new Error("write() after end()")),!1):this[K]===null||this[Di]||this[mt].length?(this[mt].push(e),this[io]=!0,!1):(this[Di]=!0,this[so](e),!0)}[so](e){Le.write(this[K],e,0,e.length,this[Rr],(r,i)=>this[yi](r,i))}[yi](e,r){e?this[_i](e):(this[Rr]!==null&&(this[Rr]+=r),this[mt].length?this[Sl]():(this[Di]=!1,this[an]&&!this[dE]?(this[dE]=!0,this[Qe](),this.emit("finish")):this[io]&&(this[io]=!1,this.emit("drain"))))}[Sl](){if(this[mt].length===0)this[an]&&this[yi](null,0);else if(this[mt].length===1)this[so](this[mt].pop());else{let e=this[mt];this[mt]=[],bl(this[K],e,this[Rr],(r,i)=>this[yi](r,i))}}[Qe](){if(this[Ci]&&typeof this[K]=="number"){let e=this[K];this[K]=null,Le.close(e,r=>r?this.emit("error",r):this.emit("close"))}}},vl=class extends co{[ir](){let e;if(this[oo]&&this[rr]==="r+")try{e=Le.openSync(this[Nt],this[rr],this[uo])}catch(r){if(r.code==="ENOENT")return this[rr]="w",this[ir]();throw r}else e=Le.openSync(this[Nt],this[rr],this[uo]);this[bi](null,e)}[Qe](){if(this[Ci]&&typeof this[K]=="number"){let e=this[K];this[K]=null,Le.closeSync(e),this.emit("close")}}[so](e){let r=!0;try{this[yi](null,Le.writeSync(this[K],e,0,e.length,this[Rr])),r=!1}finally{if(r)try{this[Qe]()}catch{}}}};cn.ReadStream=ao;cn.ReadStreamSync=xl;cn.WriteStream=co;cn.WriteStreamSync=vl});var Eo=E((G2,bE)=>{"use strict";var _v=Us(),Sv=mi(),Cv=require("events"),bv=fl(),wv=1024*1024,Fv=qs(),EE=$s(),xv=Gc(),{nextTick:vv}=require("process"),Rl=Buffer.from([31,139]),ze=Symbol("state"),Tr=Symbol("writeEntry"),kt=Symbol("readEntry"),Tl=Symbol("nextEntry"),DE=Symbol("processEntry"),Ye=Symbol("extendedHeader"),ln=Symbol("globalExtendedHeader"),nr=Symbol("meta"),yE=Symbol("emitMeta"),te=Symbol("buffer"),Mt=Symbol("queue"),Or=Symbol("ended"),AE=Symbol("emittedEnd"),Br=Symbol("emit"),Ie=Symbol("unzip"),lo=Symbol("consumeChunk"),fo=Symbol("consumeChunkSub"),Ol=Symbol("consumeBody"),_E=Symbol("consumeMeta"),SE=Symbol("consumeHeader"),ho=Symbol("consuming"),Bl=Symbol("bufferConcat"),Pl=Symbol("maybeEnd"),fn=Symbol("writing"),sr=Symbol("aborted"),po=Symbol("onDone"),Pr=Symbol("sawValidEntry"),mo=Symbol("sawNullBlock"),go=Symbol("sawEOF"),CE=Symbol("closeStream"),Rv=t=>!0;bE.exports=_v(class extends Cv{constructor(e){e=e||{},super(e),this.file=e.file||"",this[Pr]=null,this.on(po,r=>{(this[ze]==="begin"||this[Pr]===!1)&&this.warn("TAR_BAD_ARCHIVE","Unrecognized archive format")}),e.ondone?this.on(po,e.ondone):this.on(po,r=>{this.emit("prefinish"),this.emit("finish"),this.emit("end")}),this.strict=!!e.strict,this.maxMetaEntrySize=e.maxMetaEntrySize||wv,this.filter=typeof e.filter=="function"?e.filter:Rv,this.writable=!0,this.readable=!1,this[Mt]=new bv,this[te]=null,this[kt]=null,this[Tr]=null,this[ze]="begin",this[nr]="",this[Ye]=null,this[ln]=null,this[Or]=!1,this[Ie]=null,this[sr]=!1,this[mo]=!1,this[go]=!1,this.on("end",()=>this[CE]()),typeof e.onwarn=="function"&&this.on("warn",e.onwarn),typeof e.onentry=="function"&&this.on("entry",e.onentry)}[SE](e,r){this[Pr]===null&&(this[Pr]=!1);let i;try{i=new Sv(e,r,this[Ye],this[ln])}catch(n){return this.warn("TAR_ENTRY_INVALID",n)}if(i.nullBlock)this[mo]?(this[go]=!0,this[ze]==="begin"&&(this[ze]="header"),this[Br]("eof")):(this[mo]=!0,this[Br]("nullBlock"));else if(this[mo]=!1,!i.cksumValid)this.warn("TAR_ENTRY_INVALID","checksum failure",{header:i});else if(!i.path)this.warn("TAR_ENTRY_INVALID","path is required",{header:i});else{let n=i.type;if(/^(Symbolic)?Link$/.test(n)&&!i.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath required",{header:i});else if(!/^(Symbolic)?Link$/.test(n)&&i.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath forbidden",{header:i});else{let s=this[Tr]=new Fv(i,this[Ye],this[ln]);if(!this[Pr])if(s.remain){let o=()=>{s.invalid||(this[Pr]=!0)};s.on("end",o)}else this[Pr]=!0;s.meta?s.size>this.maxMetaEntrySize?(s.ignore=!0,this[Br]("ignoredEntry",s),this[ze]="ignore",s.resume()):s.size>0&&(this[nr]="",s.on("data",o=>this[nr]+=o),this[ze]="meta"):(this[Ye]=null,s.ignore=s.ignore||!this.filter(s.path,s),s.ignore?(this[Br]("ignoredEntry",s),this[ze]=s.remain?"ignore":"header",s.resume()):(s.remain?this[ze]="body":(this[ze]="header",s.end()),this[kt]?this[Mt].push(s):(this[Mt].push(s),this[Tl]())))}}}[CE](){vv(()=>this.emit("close"))}[DE](e){let r=!0;return e?Array.isArray(e)?this.emit.apply(this,e):(this[kt]=e,this.emit("entry",e),e.emittedEnd||(e.on("end",i=>this[Tl]()),r=!1)):(this[kt]=null,r=!1),r}[Tl](){do;while(this[DE](this[Mt].shift()));if(!this[Mt].length){let e=this[kt];!e||e.flowing||e.size===e.remain?this[fn]||this.emit("drain"):e.once("drain",i=>this.emit("drain"))}}[Ol](e,r){let i=this[Tr],n=i.blockRemain,s=n>=e.length&&r===0?e:e.slice(r,r+n);return i.write(s),i.blockRemain||(this[ze]="header",this[Tr]=null,i.end()),s.length}[_E](e,r){let i=this[Tr],n=this[Ol](e,r);return this[Tr]||this[yE](i),n}[Br](e,r,i){!this[Mt].length&&!this[kt]?this.emit(e,r,i):this[Mt].push([e,r,i])}[yE](e){switch(this[Br]("meta",this[nr]),e.type){case"ExtendedHeader":case"OldExtendedHeader":this[Ye]=EE.parse(this[nr],this[Ye],!1);break;case"GlobalExtendedHeader":this[ln]=EE.parse(this[nr],this[ln],!0);break;case"NextFileHasLongPath":case"OldGnuLongPath":this[Ye]=this[Ye]||Object.create(null),this[Ye].path=this[nr].replace(/\0.*/,"");break;case"NextFileHasLongLinkpath":this[Ye]=this[Ye]||Object.create(null),this[Ye].linkpath=this[nr].replace(/\0.*/,"");break;default:throw new Error("unknown meta: "+e.type)}}abort(e){this[sr]=!0,this.emit("abort",e),this.warn("TAR_ABORT",e,{recoverable:!1})}write(e){if(this[sr])return;if(this[Ie]===null&&e){if(this[te]&&(e=Buffer.concat([this[te],e]),this[te]=null),e.length<Rl.length)return this[te]=e,!0;for(let i=0;this[Ie]===null&&i<Rl.length;i++)e[i]!==Rl[i]&&(this[Ie]=!1);if(this[Ie]===null){let i=this[Or];this[Or]=!1,this[Ie]=new xv.Unzip,this[Ie].on("data",s=>this[lo](s)),this[Ie].on("error",s=>this.abort(s)),this[Ie].on("end",s=>{this[Or]=!0,this[lo]()}),this[fn]=!0;let n=this[Ie][i?"end":"write"](e);return this[fn]=!1,n}}this[fn]=!0,this[Ie]?this[Ie].write(e):this[lo](e),this[fn]=!1;let r=this[Mt].length?!1:this[kt]?this[kt].flowing:!0;return!r&&!this[Mt].length&&this[kt].once("drain",i=>this.emit("drain")),r}[Bl](e){e&&!this[sr]&&(this[te]=this[te]?Buffer.concat([this[te],e]):e)}[Pl](){if(this[Or]&&!this[AE]&&!this[sr]&&!this[ho]){this[AE]=!0;let e=this[Tr];if(e&&e.blockRemain){let r=this[te]?this[te].length:0;this.warn("TAR_BAD_ARCHIVE",`Truncated input (needed ${e.blockRemain} more bytes, only ${r} available)`,{entry:e}),this[te]&&e.write(this[te]),e.end()}this[Br](po)}}[lo](e){if(this[ho])this[Bl](e);else if(!e&&!this[te])this[Pl]();else{if(this[ho]=!0,this[te]){this[Bl](e);let r=this[te];this[te]=null,this[fo](r)}else this[fo](e);for(;this[te]&&this[te].length>=512&&!this[sr]&&!this[go];){let r=this[te];this[te]=null,this[fo](r)}this[ho]=!1}(!this[te]||this[Or])&&this[Pl]()}[fo](e){let r=0,i=e.length;for(;r+512<=i&&!this[sr]&&!this[go];)switch(this[ze]){case"begin":case"header":this[SE](e,r),r+=512;break;case"ignore":case"body":r+=this[Ol](e,r);break;case"meta":r+=this[_E](e,r);break;default:throw new Error("invalid state: "+this[ze])}r<i&&(this[te]?this[te]=Buffer.concat([e.slice(r),this[te]]):this[te]=e.slice(r))}end(e){this[sr]||(this[Ie]?this[Ie].end(e):(this[Or]=!0,this.write(e)))}})});var Do=E((j2,vE)=>{"use strict";var Tv=ai(),FE=Eo(),Fi=require("fs"),Ov=wi(),wE=require("path"),Ll=gi();vE.exports=(t,e,r)=>{typeof t=="function"?(r=t,e=null,t={}):Array.isArray(t)&&(e=t,t={}),typeof e=="function"&&(r=e,e=null),e?e=Array.from(e):e=[];let i=Tv(t);if(i.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!i.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return e.length&&Pv(i,e),i.noResume||Bv(i),i.file&&i.sync?Lv(i):i.file?Iv(i,r):xE(i)};var Bv=t=>{let e=t.onentry;t.onentry=e?r=>{e(r),r.resume()}:r=>r.resume()},Pv=(t,e)=>{let r=new Map(e.map(s=>[Ll(s),!0])),i=t.filter,n=(s,o)=>{let u=o||wE.parse(s).root||".",a=s===u?!1:r.has(s)?r.get(s):n(wE.dirname(s),u);return r.set(s,a),a};t.filter=i?(s,o)=>i(s,o)&&n(Ll(s)):s=>n(Ll(s))},Lv=t=>{let e=xE(t),r=t.file,i=!0,n;try{let s=Fi.statSync(r),o=t.maxReadSize||16*1024*1024;if(s.size<o)e.end(Fi.readFileSync(r));else{let u=0,a=Buffer.allocUnsafe(o);for(n=Fi.openSync(r,"r");u<s.size;){let c=Fi.readSync(n,a,0,o,u);u+=c,e.write(a.slice(0,c))}e.end()}i=!1}finally{if(i&&n)try{Fi.closeSync(n)}catch{}}},Iv=(t,e)=>{let r=new FE(t),i=t.maxReadSize||16*1024*1024,n=t.file,s=new Promise((o,u)=>{r.on("error",u),r.on("end",o),Fi.stat(n,(a,c)=>{if(a)u(a);else{let l=new Ov.ReadStream(n,{readSize:i,size:c.size});l.on("error",u),l.pipe(r)}})});return e?s.then(e,e):s},xE=t=>new FE(t)});var LE=E((W2,PE)=>{"use strict";var Nv=ai(),yo=ro(),RE=wi(),TE=Do(),OE=require("path");PE.exports=(t,e,r)=>{if(typeof e=="function"&&(r=e),Array.isArray(t)&&(e=t,t={}),!e||!Array.isArray(e)||!e.length)throw new TypeError("no files or directories specified");e=Array.from(e);let i=Nv(t);if(i.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!i.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return i.file&&i.sync?kv(i,e):i.file?Mv(i,e,r):i.sync?qv(i,e):Hv(i,e)};var kv=(t,e)=>{let r=new yo.Sync(t),i=new RE.WriteStreamSync(t.file,{mode:t.mode||438});r.pipe(i),BE(r,e)},Mv=(t,e,r)=>{let i=new yo(t),n=new RE.WriteStream(t.file,{mode:t.mode||438});i.pipe(n);let s=new Promise((o,u)=>{n.on("error",u),n.on("close",o),i.on("error",u)});return Il(i,e),r?s.then(r,r):s},BE=(t,e)=>{e.forEach(r=>{r.charAt(0)==="@"?TE({file:OE.resolve(t.cwd,r.slice(1)),sync:!0,noResume:!0,onentry:i=>t.add(i)}):t.add(r)}),t.end()},Il=(t,e)=>{for(;e.length;){let r=e.shift();if(r.charAt(0)==="@")return TE({file:OE.resolve(t.cwd,r.slice(1)),noResume:!0,onentry:i=>t.add(i)}).then(i=>Il(t,e));t.add(r)}t.end()},qv=(t,e)=>{let r=new yo.Sync(t);return BE(r,e),r},Hv=(t,e)=>{let r=new yo(t);return Il(r,e),r}});var Nl=E((z2,$E)=>{"use strict";var $v=ai(),IE=ro(),$e=require("fs"),NE=wi(),kE=Do(),ME=require("path"),qE=mi();$E.exports=(t,e,r)=>{let i=$v(t);if(!i.file)throw new TypeError("file is required");if(i.gzip)throw new TypeError("cannot append to compressed archives");if(!e||!Array.isArray(e)||!e.length)throw new TypeError("no files or directories specified");return e=Array.from(e),i.sync?Uv(i,e):jv(i,e,r)};var Uv=(t,e)=>{let r=new IE.Sync(t),i=!0,n,s;try{try{n=$e.openSync(t.file,"r+")}catch(a){if(a.code==="ENOENT")n=$e.openSync(t.file,"w+");else throw a}let o=$e.fstatSync(n),u=Buffer.alloc(512);e:for(s=0;s<o.size;s+=512){for(let l=0,f=0;l<512;l+=f){if(f=$e.readSync(n,u,l,u.length-l,s+l),s===0&&u[0]===31&&u[1]===139)throw new Error("cannot append to compressed archives");if(!f)break e}let a=new qE(u);if(!a.cksumValid)break;let c=512*Math.ceil(a.size/512);if(s+c+512>o.size)break;s+=c,t.mtimeCache&&t.mtimeCache.set(a.path,a.mtime)}i=!1,Gv(t,r,s,n,e)}finally{if(i)try{$e.closeSync(n)}catch{}}},Gv=(t,e,r,i,n)=>{let s=new NE.WriteStreamSync(t.file,{fd:i,start:r});e.pipe(s),Wv(e,n)},jv=(t,e,r)=>{e=Array.from(e);let i=new IE(t),n=(o,u,a)=>{let c=(m,g)=>{m?$e.close(o,A=>a(m)):a(null,g)},l=0;if(u===0)return c(null,0);let f=0,h=Buffer.alloc(512),D=(m,g)=>{if(m)return c(m);if(f+=g,f<512&&g)return $e.read(o,h,f,h.length-f,l+f,D);if(l===0&&h[0]===31&&h[1]===139)return c(new Error("cannot append to compressed archives"));if(f<512)return c(null,l);let A=new qE(h);if(!A.cksumValid)return c(null,l);let y=512*Math.ceil(A.size/512);if(l+y+512>u||(l+=y+512,l>=u))return c(null,l);t.mtimeCache&&t.mtimeCache.set(A.path,A.mtime),f=0,$e.read(o,h,0,512,l,D)};$e.read(o,h,0,512,l,D)},s=new Promise((o,u)=>{i.on("error",u);let a="r+",c=(l,f)=>{if(l&&l.code==="ENOENT"&&a==="r+")return a="w+",$e.open(t.file,a,c);if(l)return u(l);$e.fstat(f,(h,D)=>{if(h)return $e.close(f,()=>u(h));n(f,D.size,(m,g)=>{if(m)return u(m);let A=new NE.WriteStream(t.file,{fd:f,start:g});i.pipe(A),A.on("error",u),A.on("close",o),HE(i,e)})})};$e.open(t.file,a,c)});return r?s.then(r,r):s},Wv=(t,e)=>{e.forEach(r=>{r.charAt(0)==="@"?kE({file:ME.resolve(t.cwd,r.slice(1)),sync:!0,noResume:!0,onentry:i=>t.add(i)}):t.add(r)}),t.end()},HE=(t,e)=>{for(;e.length;){let r=e.shift();if(r.charAt(0)==="@")return kE({file:ME.resolve(t.cwd,r.slice(1)),noResume:!0,onentry:i=>t.add(i)}).then(i=>HE(t,e));t.add(r)}t.end()}});var GE=E((Y2,UE)=>{"use strict";var zv=ai(),Yv=Nl();UE.exports=(t,e,r)=>{let i=zv(t);if(!i.file)throw new TypeError("file is required");if(i.gzip)throw new TypeError("cannot append to compressed archives");if(!e||!Array.isArray(e)||!e.length)throw new TypeError("no files or directories specified");return e=Array.from(e),Kv(i),Yv(i,e,r)};var Kv=t=>{let e=t.filter;t.mtimeCache||(t.mtimeCache=new Map),t.filter=e?(r,i)=>e(r,i)&&!(t.mtimeCache.get(r)>i.mtime):(r,i)=>!(t.mtimeCache.get(r)>i.mtime)}});var zE=E((K2,WE)=>{var{promisify:jE}=require("util"),or=require("fs"),Vv=t=>{if(!t)t={mode:511,fs:or};else if(typeof t=="object")t={mode:511,fs:or,...t};else if(typeof t=="number")t={mode:t,fs:or};else if(typeof t=="string")t={mode:parseInt(t,8),fs:or};else throw new TypeError("invalid options argument");return t.mkdir=t.mkdir||t.fs.mkdir||or.mkdir,t.mkdirAsync=jE(t.mkdir),t.stat=t.stat||t.fs.stat||or.stat,t.statAsync=jE(t.stat),t.statSync=t.statSync||t.fs.statSync||or.statSync,t.mkdirSync=t.mkdirSync||t.fs.mkdirSync||or.mkdirSync,t};WE.exports=Vv});var KE=E((V2,YE)=>{var Xv=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,{resolve:Zv,parse:Jv}=require("path"),Qv=t=>{if(/\0/.test(t))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:t,code:"ERR_INVALID_ARG_VALUE"});if(t=Zv(t),Xv==="win32"){let e=/[*|"<>?:]/,{root:r}=Jv(t);if(e.test(t.substr(r.length)))throw Object.assign(new Error("Illegal characters in path."),{path:t,code:"EINVAL"})}return t};YE.exports=Qv});var QE=E((X2,JE)=>{var{dirname:VE}=require("path"),XE=(t,e,r=void 0)=>r===e?Promise.resolve():t.statAsync(e).then(i=>i.isDirectory()?r:void 0,i=>i.code==="ENOENT"?XE(t,VE(e),e):void 0),ZE=(t,e,r=void 0)=>{if(r!==e)try{return t.statSync(e).isDirectory()?r:void 0}catch(i){return i.code==="ENOENT"?ZE(t,VE(e),e):void 0}};JE.exports={findMade:XE,findMadeSync:ZE}});var ql=E((Z2,tD)=>{var{dirname:eD}=require("path"),kl=(t,e,r)=>{e.recursive=!1;let i=eD(t);return i===t?e.mkdirAsync(t,e).catch(n=>{if(n.code!=="EISDIR")throw n}):e.mkdirAsync(t,e).then(()=>r||t,n=>{if(n.code==="ENOENT")return kl(i,e).then(s=>kl(t,e,s));if(n.code!=="EEXIST"&&n.code!=="EROFS")throw n;return e.statAsync(t).then(s=>{if(s.isDirectory())return r;throw n},()=>{throw n})})},Ml=(t,e,r)=>{let i=eD(t);if(e.recursive=!1,i===t)try{return e.mkdirSync(t,e)}catch(n){if(n.code!=="EISDIR")throw n;return}try{return e.mkdirSync(t,e),r||t}catch(n){if(n.code==="ENOENT")return Ml(t,e,Ml(i,e,r));if(n.code!=="EEXIST"&&n.code!=="EROFS")throw n;try{if(!e.statSync(t).isDirectory())throw n}catch{throw n}}};tD.exports={mkdirpManual:kl,mkdirpManualSync:Ml}});var nD=E((J2,iD)=>{var{dirname:rD}=require("path"),{findMade:eR,findMadeSync:tR}=QE(),{mkdirpManual:rR,mkdirpManualSync:iR}=ql(),nR=(t,e)=>(e.recursive=!0,rD(t)===t?e.mkdirAsync(t,e):eR(e,t).then(i=>e.mkdirAsync(t,e).then(()=>i).catch(n=>{if(n.code==="ENOENT")return rR(t,e);throw n}))),sR=(t,e)=>{if(e.recursive=!0,rD(t)===t)return e.mkdirSync(t,e);let i=tR(e,t);try{return e.mkdirSync(t,e),i}catch(n){if(n.code==="ENOENT")return iR(t,e);throw n}};iD.exports={mkdirpNative:nR,mkdirpNativeSync:sR}});var aD=E((Q2,uD)=>{var sD=require("fs"),oR=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,Hl=oR.replace(/^v/,"").split("."),oD=+Hl[0]>10||+Hl[0]==10&&+Hl[1]>=12,uR=oD?t=>t.mkdir===sD.mkdir:()=>!1,aR=oD?t=>t.mkdirSync===sD.mkdirSync:()=>!1;uD.exports={useNative:uR,useNativeSync:aR}});var dD=E((eP,pD)=>{var xi=zE(),vi=KE(),{mkdirpNative:cD,mkdirpNativeSync:lD}=nD(),{mkdirpManual:fD,mkdirpManualSync:hD}=ql(),{useNative:cR,useNativeSync:lR}=aD(),Ri=(t,e)=>(t=vi(t),e=xi(e),cR(e)?cD(t,e):fD(t,e)),fR=(t,e)=>(t=vi(t),e=xi(e),lR(e)?lD(t,e):hD(t,e));Ri.sync=fR;Ri.native=(t,e)=>cD(vi(t),xi(e));Ri.manual=(t,e)=>fD(vi(t),xi(e));Ri.nativeSync=(t,e)=>lD(vi(t),xi(e));Ri.manualSync=(t,e)=>hD(vi(t),xi(e));pD.exports=Ri});var _D=E((tP,AD)=>{"use strict";var Ke=require("fs"),Lr=require("path"),hR=Ke.lchown?"lchown":"chown",pR=Ke.lchownSync?"lchownSync":"chownSync",gD=Ke.lchown&&!process.version.match(/v1[1-9]+\./)&&!process.version.match(/v10\.[6-9]/),mD=(t,e,r)=>{try{return Ke[pR](t,e,r)}catch(i){if(i.code!=="ENOENT")throw i}},dR=(t,e,r)=>{try{return Ke.chownSync(t,e,r)}catch(i){if(i.code!=="ENOENT")throw i}},mR=gD?(t,e,r,i)=>n=>{!n||n.code!=="EISDIR"?i(n):Ke.chown(t,e,r,i)}:(t,e,r,i)=>i,$l=gD?(t,e,r)=>{try{return mD(t,e,r)}catch(i){if(i.code!=="EISDIR")throw i;dR(t,e,r)}}:(t,e,r)=>mD(t,e,r),gR=process.version,ED=(t,e,r)=>Ke.readdir(t,e,r),ER=(t,e)=>Ke.readdirSync(t,e);/^v4\./.test(gR)&&(ED=(t,e,r)=>Ke.readdir(t,r));var Ao=(t,e,r,i)=>{Ke[hR](t,e,r,mR(t,e,r,n=>{i(n&&n.code!=="ENOENT"?n:null)}))},DD=(t,e,r,i,n)=>{if(typeof e=="string")return Ke.lstat(Lr.resolve(t,e),(s,o)=>{if(s)return n(s.code!=="ENOENT"?s:null);o.name=e,DD(t,o,r,i,n)});if(e.isDirectory())Ul(Lr.resolve(t,e.name),r,i,s=>{if(s)return n(s);let o=Lr.resolve(t,e.name);Ao(o,r,i,n)});else{let s=Lr.resolve(t,e.name);Ao(s,r,i,n)}},Ul=(t,e,r,i)=>{ED(t,{withFileTypes:!0},(n,s)=>{if(n){if(n.code==="ENOENT")return i();if(n.code!=="ENOTDIR"&&n.code!=="ENOTSUP")return i(n)}if(n||!s.length)return Ao(t,e,r,i);let o=s.length,u=null,a=c=>{if(!u){if(c)return i(u=c);if(--o===0)return Ao(t,e,r,i)}};s.forEach(c=>DD(t,c,e,r,a))})},DR=(t,e,r,i)=>{if(typeof e=="string")try{let n=Ke.lstatSync(Lr.resolve(t,e));n.name=e,e=n}catch(n){if(n.code==="ENOENT")return;throw n}e.isDirectory()&&yD(Lr.resolve(t,e.name),r,i),$l(Lr.resolve(t,e.name),r,i)},yD=(t,e,r)=>{let i;try{i=ER(t,{withFileTypes:!0})}catch(n){if(n.code==="ENOENT")return;if(n.code==="ENOTDIR"||n.code==="ENOTSUP")return $l(t,e,r);throw n}return i&&i.length&&i.forEach(n=>DR(t,n,e,r)),$l(t,e,r)};AD.exports=Ul;Ul.sync=yD});var wD=E((rP,Gl)=>{"use strict";var SD=dD(),Ve=require("fs"),_o=require("path"),CD=_D(),et=pi(),So=class extends Error{constructor(e,r){super("Cannot extract through symbolic link"),this.path=r,this.symlink=e}get name(){return"SylinkError"}},Co=class extends Error{constructor(e,r){super(r+": Cannot cd into '"+e+"'"),this.path=e,this.code=r}get name(){return"CwdError"}},bo=(t,e)=>t.get(et(e)),hn=(t,e,r)=>t.set(et(e),r),yR=(t,e)=>{Ve.stat(t,(r,i)=>{(r||!i.isDirectory())&&(r=new Co(t,r&&r.code||"ENOTDIR")),e(r)})};Gl.exports=(t,e,r)=>{t=et(t);let i=e.umask,n=e.mode|448,s=(n&i)!==0,o=e.uid,u=e.gid,a=typeof o=="number"&&typeof u=="number"&&(o!==e.processUid||u!==e.processGid),c=e.preserve,l=e.unlink,f=e.cache,h=et(e.cwd),D=(A,y)=>{A?r(A):(hn(f,t,!0),y&&a?CD(y,o,u,w=>D(w)):s?Ve.chmod(t,n,r):r())};if(f&&bo(f,t)===!0)return D();if(t===h)return yR(t,D);if(c)return SD(t,{mode:n}).then(A=>D(null,A),D);let g=et(_o.relative(h,t)).split("/");wo(h,g,n,f,l,h,null,D)};var wo=(t,e,r,i,n,s,o,u)=>{if(!e.length)return u(null,o);let a=e.shift(),c=et(_o.resolve(t+"/"+a));if(bo(i,c))return wo(c,e,r,i,n,s,o,u);Ve.mkdir(c,r,bD(c,e,r,i,n,s,o,u))},bD=(t,e,r,i,n,s,o,u)=>a=>{a?Ve.lstat(t,(c,l)=>{if(c)c.path=c.path&&et(c.path),u(c);else if(l.isDirectory())wo(t,e,r,i,n,s,o,u);else if(n)Ve.unlink(t,f=>{if(f)return u(f);Ve.mkdir(t,r,bD(t,e,r,i,n,s,o,u))});else{if(l.isSymbolicLink())return u(new So(t,t+"/"+e.join("/")));u(a)}}):(o=o||t,wo(t,e,r,i,n,s,o,u))},AR=t=>{let e=!1,r="ENOTDIR";try{e=Ve.statSync(t).isDirectory()}catch(i){r=i.code}finally{if(!e)throw new Co(t,r)}};Gl.exports.sync=(t,e)=>{t=et(t);let r=e.umask,i=e.mode|448,n=(i&r)!==0,s=e.uid,o=e.gid,u=typeof s=="number"&&typeof o=="number"&&(s!==e.processUid||o!==e.processGid),a=e.preserve,c=e.unlink,l=e.cache,f=et(e.cwd),h=A=>{hn(l,t,!0),A&&u&&CD.sync(A,s,o),n&&Ve.chmodSync(t,i)};if(l&&bo(l,t)===!0)return h();if(t===f)return AR(f),h();if(a)return h(SD.sync(t,i));let m=et(_o.relative(f,t)).split("/"),g=null;for(let A=m.shift(),y=f;A&&(y+="/"+A);A=m.shift())if(y=et(_o.resolve(y)),!bo(l,y))try{Ve.mkdirSync(y,i),g=g||y,hn(l,y,!0)}catch{let P=Ve.lstatSync(y);if(P.isDirectory()){hn(l,y,!0);continue}else if(c){Ve.unlinkSync(y),Ve.mkdirSync(y,i),g=g||y,hn(l,y,!0);continue}else if(P.isSymbolicLink())return new So(y,y+"/"+m.join("/"))}return h(g)}});var Wl=E((iP,FD)=>{var jl=Object.create(null),{hasOwnProperty:_R}=Object.prototype;FD.exports=t=>(_R.call(jl,t)||(jl[t]=t.normalize("NFKD")),jl[t])});var TD=E((nP,RD)=>{var xD=require("assert"),SR=Wl(),CR=gi(),{join:vD}=require("path"),bR=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,wR=bR==="win32";RD.exports=()=>{let t=new Map,e=new Map,r=c=>c.split("/").slice(0,-1).reduce((f,h)=>(f.length&&(h=vD(f[f.length-1],h)),f.push(h||"/"),f),[]),i=new Set,n=c=>{let l=e.get(c);if(!l)throw new Error("function does not have any path reservations");return{paths:l.paths.map(f=>t.get(f)),dirs:[...l.dirs].map(f=>t.get(f))}},s=c=>{let{paths:l,dirs:f}=n(c);return l.every(h=>h[0]===c)&&f.every(h=>h[0]instanceof Set&&h[0].has(c))},o=c=>i.has(c)||!s(c)?!1:(i.add(c),c(()=>u(c)),!0),u=c=>{if(!i.has(c))return!1;let{paths:l,dirs:f}=e.get(c),h=new Set;return l.forEach(D=>{let m=t.get(D);xD.equal(m[0],c),m.length===1?t.delete(D):(m.shift(),typeof m[0]=="function"?h.add(m[0]):m[0].forEach(g=>h.add(g)))}),f.forEach(D=>{let m=t.get(D);xD(m[0]instanceof Set),m[0].size===1&&m.length===1?t.delete(D):m[0].size===1?(m.shift(),h.add(m[0])):m[0].delete(c)}),i.delete(c),h.forEach(D=>o(D)),!0};return{check:s,reserve:(c,l)=>{c=wR?["win32 parallelization disabled"]:c.map(h=>SR(CR(vD(h))).toLowerCase());let f=new Set(c.map(h=>r(h)).reduce((h,D)=>h.concat(D)));return e.set(l,{dirs:f,paths:c}),c.forEach(h=>{let D=t.get(h);D?D.push(l):t.set(h,[l])}),f.forEach(h=>{let D=t.get(h);D?D[D.length-1]instanceof Set?D[D.length-1].add(l):D.push(new Set([l])):t.set(h,[new Set([l])])}),o(l)}}}});var PD=E((sP,BD)=>{var FR=process.env.__FAKE_PLATFORM__||process.platform,xR=FR==="win32",vR=global.__FAKE_TESTING_FS__||require("fs"),{O_CREAT:RR,O_TRUNC:TR,O_WRONLY:OR,UV_FS_O_FILEMAP:OD=0}=vR.constants,BR=xR&&!!OD,PR=512*1024,LR=OD|TR|RR|OR;BD.exports=BR?t=>t<PR?LR:"w":()=>"w"});var ef=E((oP,YD)=>{"use strict";var IR=require("assert"),NR=Eo(),z=require("fs"),kR=wi(),qt=require("path"),jD=wD(),LD=Qc(),MR=TD(),qR=el(),Ue=pi(),HR=gi(),$R=Wl(),ID=Symbol("onEntry"),Kl=Symbol("checkFs"),ND=Symbol("checkFs2"),vo=Symbol("pruneCache"),Vl=Symbol("isReusable"),Xe=Symbol("makeFs"),Xl=Symbol("file"),Zl=Symbol("directory"),Ro=Symbol("link"),kD=Symbol("symlink"),MD=Symbol("hardlink"),qD=Symbol("unsupported"),HD=Symbol("checkPath"),ur=Symbol("mkdir"),Fe=Symbol("onError"),Fo=Symbol("pending"),$D=Symbol("pend"),Ti=Symbol("unpend"),zl=Symbol("ended"),Yl=Symbol("maybeClose"),Jl=Symbol("skip"),pn=Symbol("doChown"),dn=Symbol("uid"),mn=Symbol("gid"),gn=Symbol("checkedCwd"),WD=require("crypto"),zD=PD(),UR=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,En=UR==="win32",GR=(t,e)=>{if(!En)return z.unlink(t,e);let r=t+".DELETE."+WD.randomBytes(16).toString("hex");z.rename(t,r,i=>{if(i)return e(i);z.unlink(r,e)})},jR=t=>{if(!En)return z.unlinkSync(t);let e=t+".DELETE."+WD.randomBytes(16).toString("hex");z.renameSync(t,e),z.unlinkSync(e)},UD=(t,e,r)=>t===t>>>0?t:e===e>>>0?e:r,GD=t=>$R(HR(Ue(t))).toLowerCase(),WR=(t,e)=>{e=GD(e);for(let r of t.keys()){let i=GD(r);(i===e||i.indexOf(e+"/")===0)&&t.delete(r)}},zR=t=>{for(let e of t.keys())t.delete(e)},Dn=class extends NR{constructor(e){if(e||(e={}),e.ondone=r=>{this[zl]=!0,this[Yl]()},super(e),this[gn]=!1,this.reservations=MR(),this.transform=typeof e.transform=="function"?e.transform:null,this.writable=!0,this.readable=!1,this[Fo]=0,this[zl]=!1,this.dirCache=e.dirCache||new Map,typeof e.uid=="number"||typeof e.gid=="number"){if(typeof e.uid!="number"||typeof e.gid!="number")throw new TypeError("cannot set owner without number uid and gid");if(e.preserveOwner)throw new TypeError("cannot preserve owner in archive and also set owner explicitly");this.uid=e.uid,this.gid=e.gid,this.setOwner=!0}else this.uid=null,this.gid=null,this.setOwner=!1;e.preserveOwner===void 0&&typeof e.uid!="number"?this.preserveOwner=process.getuid&&process.getuid()===0:this.preserveOwner=!!e.preserveOwner,this.processUid=(this.preserveOwner||this.setOwner)&&process.getuid?process.getuid():null,this.processGid=(this.preserveOwner||this.setOwner)&&process.getgid?process.getgid():null,this.forceChown=e.forceChown===!0,this.win32=!!e.win32||En,this.newer=!!e.newer,this.keep=!!e.keep,this.noMtime=!!e.noMtime,this.preservePaths=!!e.preservePaths,this.unlink=!!e.unlink,this.cwd=Ue(qt.resolve(e.cwd||process.cwd())),this.strip=+e.strip||0,this.processUmask=e.noChmod?0:process.umask(),this.umask=typeof e.umask=="number"?e.umask:this.processUmask,this.dmode=e.dmode||511&~this.umask,this.fmode=e.fmode||438&~this.umask,this.on("entry",r=>this[ID](r))}warn(e,r,i={}){return(e==="TAR_BAD_ARCHIVE"||e==="TAR_ABORT")&&(i.recoverable=!1),super.warn(e,r,i)}[Yl](){this[zl]&&this[Fo]===0&&(this.emit("prefinish"),this.emit("finish"),this.emit("end"))}[HD](e){if(this.strip){let r=Ue(e.path).split("/");if(r.length<this.strip)return!1;if(e.path=r.slice(this.strip).join("/"),e.type==="Link"){let i=Ue(e.linkpath).split("/");if(i.length>=this.strip)e.linkpath=i.slice(this.strip).join("/");else return!1}}if(!this.preservePaths){let r=Ue(e.path),i=r.split("/");if(i.includes("..")||En&&/^[a-z]:\.\.$/i.test(i[0]))return this.warn("TAR_ENTRY_ERROR","path contains '..'",{entry:e,path:r}),!1;let[n,s]=qR(r);n&&(e.path=s,this.warn("TAR_ENTRY_INFO",`stripping ${n} from absolute path`,{entry:e,path:r}))}if(qt.isAbsolute(e.path)?e.absolute=Ue(qt.resolve(e.path)):e.absolute=Ue(qt.resolve(this.cwd,e.path)),!this.preservePaths&&e.absolute.indexOf(this.cwd+"/")!==0&&e.absolute!==this.cwd)return this.warn("TAR_ENTRY_ERROR","path escaped extraction target",{entry:e,path:Ue(e.path),resolvedPath:e.absolute,cwd:this.cwd}),!1;if(e.absolute===this.cwd&&e.type!=="Directory"&&e.type!=="GNUDumpDir")return!1;if(this.win32){let{root:r}=qt.win32.parse(e.absolute);e.absolute=r+LD.encode(e.absolute.slice(r.length));let{root:i}=qt.win32.parse(e.path);e.path=i+LD.encode(e.path.slice(i.length))}return!0}[ID](e){if(!this[HD](e))return e.resume();switch(IR.equal(typeof e.absolute,"string"),e.type){case"Directory":case"GNUDumpDir":e.mode&&(e.mode=e.mode|448);case"File":case"OldFile":case"ContiguousFile":case"Link":case"SymbolicLink":return this[Kl](e);case"CharacterDevice":case"BlockDevice":case"FIFO":default:return this[qD](e)}}[Fe](e,r){e.name==="CwdError"?this.emit("error",e):(this.warn("TAR_ENTRY_ERROR",e,{entry:r}),this[Ti](),r.resume())}[ur](e,r,i){jD(Ue(e),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:r,noChmod:this.noChmod},i)}[pn](e){return this.forceChown||this.preserveOwner&&(typeof e.uid=="number"&&e.uid!==this.processUid||typeof e.gid=="number"&&e.gid!==this.processGid)||typeof this.uid=="number"&&this.uid!==this.processUid||typeof this.gid=="number"&&this.gid!==this.processGid}[dn](e){return UD(this.uid,e.uid,this.processUid)}[mn](e){return UD(this.gid,e.gid,this.processGid)}[Xl](e,r){let i=e.mode&4095||this.fmode,n=new kR.WriteStream(e.absolute,{flags:zD(e.size),mode:i,autoClose:!1});n.on("error",a=>{n.fd&&z.close(n.fd,()=>{}),n.write=()=>!0,this[Fe](a,e),r()});let s=1,o=a=>{if(a){n.fd&&z.close(n.fd,()=>{}),this[Fe](a,e),r();return}--s===0&&z.close(n.fd,c=>{c?this[Fe](c,e):this[Ti](),r()})};n.on("finish",a=>{let c=e.absolute,l=n.fd;if(e.mtime&&!this.noMtime){s++;let f=e.atime||new Date,h=e.mtime;z.futimes(l,f,h,D=>D?z.utimes(c,f,h,m=>o(m&&D)):o())}if(this[pn](e)){s++;let f=this[dn](e),h=this[mn](e);z.fchown(l,f,h,D=>D?z.chown(c,f,h,m=>o(m&&D)):o())}o()});let u=this.transform&&this.transform(e)||e;u!==e&&(u.on("error",a=>{this[Fe](a,e),r()}),e.pipe(u)),u.pipe(n)}[Zl](e,r){let i=e.mode&4095||this.dmode;this[ur](e.absolute,i,n=>{if(n){this[Fe](n,e),r();return}let s=1,o=u=>{--s===0&&(r(),this[Ti](),e.resume())};e.mtime&&!this.noMtime&&(s++,z.utimes(e.absolute,e.atime||new Date,e.mtime,o)),this[pn](e)&&(s++,z.chown(e.absolute,this[dn](e),this[mn](e),o)),o()})}[qD](e){e.unsupported=!0,this.warn("TAR_ENTRY_UNSUPPORTED",`unsupported entry type: ${e.type}`,{entry:e}),e.resume()}[kD](e,r){this[Ro](e,e.linkpath,"symlink",r)}[MD](e,r){let i=Ue(qt.resolve(this.cwd,e.linkpath));this[Ro](e,i,"link",r)}[$D](){this[Fo]++}[Ti](){this[Fo]--,this[Yl]()}[Jl](e){this[Ti](),e.resume()}[Vl](e,r){return e.type==="File"&&!this.unlink&&r.isFile()&&r.nlink<=1&&!En}[Kl](e){this[$D]();let r=[e.path];e.linkpath&&r.push(e.linkpath),this.reservations.reserve(r,i=>this[ND](e,i))}[vo](e){e.type==="SymbolicLink"?zR(this.dirCache):e.type!=="Directory"&&WR(this.dirCache,e.absolute)}[ND](e,r){this[vo](e);let i=u=>{this[vo](e),r(u)},n=()=>{this[ur](this.cwd,this.dmode,u=>{if(u){this[Fe](u,e),i();return}this[gn]=!0,s()})},s=()=>{if(e.absolute!==this.cwd){let u=Ue(qt.dirname(e.absolute));if(u!==this.cwd)return this[ur](u,this.dmode,a=>{if(a){this[Fe](a,e),i();return}o()})}o()},o=()=>{z.lstat(e.absolute,(u,a)=>{if(a&&(this.keep||this.newer&&a.mtime>e.mtime)){this[Jl](e),i();return}if(u||this[Vl](e,a))return this[Xe](null,e,i);if(a.isDirectory()){if(e.type==="Directory"){let c=!this.noChmod&&e.mode&&(a.mode&4095)!==e.mode,l=f=>this[Xe](f,e,i);return c?z.chmod(e.absolute,e.mode,l):l()}if(e.absolute!==this.cwd)return z.rmdir(e.absolute,c=>this[Xe](c,e,i))}if(e.absolute===this.cwd)return this[Xe](null,e,i);GR(e.absolute,c=>this[Xe](c,e,i))})};this[gn]?s():n()}[Xe](e,r,i){if(e){this[Fe](e,r),i();return}switch(r.type){case"File":case"OldFile":case"ContiguousFile":return this[Xl](r,i);case"Link":return this[MD](r,i);case"SymbolicLink":return this[kD](r,i);case"Directory":case"GNUDumpDir":return this[Zl](r,i)}}[Ro](e,r,i,n){z[i](r,e.absolute,s=>{s?this[Fe](s,e):(this[Ti](),e.resume()),n()})}},xo=t=>{try{return[null,t()]}catch(e){return[e,null]}},Ql=class extends Dn{[Xe](e,r){return super[Xe](e,r,()=>{})}[Kl](e){if(this[vo](e),!this[gn]){let s=this[ur](this.cwd,this.dmode);if(s)return this[Fe](s,e);this[gn]=!0}if(e.absolute!==this.cwd){let s=Ue(qt.dirname(e.absolute));if(s!==this.cwd){let o=this[ur](s,this.dmode);if(o)return this[Fe](o,e)}}let[r,i]=xo(()=>z.lstatSync(e.absolute));if(i&&(this.keep||this.newer&&i.mtime>e.mtime))return this[Jl](e);if(r||this[Vl](e,i))return this[Xe](null,e);if(i.isDirectory()){if(e.type==="Directory"){let o=!this.noChmod&&e.mode&&(i.mode&4095)!==e.mode,[u]=o?xo(()=>{z.chmodSync(e.absolute,e.mode)}):[];return this[Xe](u,e)}let[s]=xo(()=>z.rmdirSync(e.absolute));this[Xe](s,e)}let[n]=e.absolute===this.cwd?[]:xo(()=>jR(e.absolute));this[Xe](n,e)}[Xl](e,r){let i=e.mode&4095||this.fmode,n=u=>{let a;try{z.closeSync(s)}catch(c){a=c}(u||a)&&this[Fe](u||a,e),r()},s;try{s=z.openSync(e.absolute,zD(e.size),i)}catch(u){return n(u)}let o=this.transform&&this.transform(e)||e;o!==e&&(o.on("error",u=>this[Fe](u,e)),e.pipe(o)),o.on("data",u=>{try{z.writeSync(s,u,0,u.length)}catch(a){n(a)}}),o.on("end",u=>{let a=null;if(e.mtime&&!this.noMtime){let c=e.atime||new Date,l=e.mtime;try{z.futimesSync(s,c,l)}catch(f){try{z.utimesSync(e.absolute,c,l)}catch{a=f}}}if(this[pn](e)){let c=this[dn](e),l=this[mn](e);try{z.fchownSync(s,c,l)}catch(f){try{z.chownSync(e.absolute,c,l)}catch{a=a||f}}}n(a)})}[Zl](e,r){let i=e.mode&4095||this.dmode,n=this[ur](e.absolute,i);if(n){this[Fe](n,e),r();return}if(e.mtime&&!this.noMtime)try{z.utimesSync(e.absolute,e.atime||new Date,e.mtime)}catch{}if(this[pn](e))try{z.chownSync(e.absolute,this[dn](e),this[mn](e))}catch{}r(),e.resume()}[ur](e,r){try{return jD.sync(Ue(e),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:r})}catch(i){return i}}[Ro](e,r,i,n){try{z[i+"Sync"](r,e.absolute),n(),e.resume()}catch(s){return this[Fe](s,e)}}};Dn.Sync=Ql;YD.exports=Dn});var JD=E((uP,ZD)=>{"use strict";var YR=ai(),To=ef(),VD=require("fs"),XD=wi(),KD=require("path"),tf=gi();ZD.exports=(t,e,r)=>{typeof t=="function"?(r=t,e=null,t={}):Array.isArray(t)&&(e=t,t={}),typeof e=="function"&&(r=e,e=null),e?e=Array.from(e):e=[];let i=YR(t);if(i.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!i.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return e.length&&KR(i,e),i.file&&i.sync?VR(i):i.file?XR(i,r):i.sync?ZR(i):JR(i)};var KR=(t,e)=>{let r=new Map(e.map(s=>[tf(s),!0])),i=t.filter,n=(s,o)=>{let u=o||KD.parse(s).root||".",a=s===u?!1:r.has(s)?r.get(s):n(KD.dirname(s),u);return r.set(s,a),a};t.filter=i?(s,o)=>i(s,o)&&n(tf(s)):s=>n(tf(s))},VR=t=>{let e=new To.Sync(t),r=t.file,i=VD.statSync(r),n=t.maxReadSize||16*1024*1024;new XD.ReadStreamSync(r,{readSize:n,size:i.size}).pipe(e)},XR=(t,e)=>{let r=new To(t),i=t.maxReadSize||16*1024*1024,n=t.file,s=new Promise((o,u)=>{r.on("error",u),r.on("close",o),VD.stat(n,(a,c)=>{if(a)u(a);else{let l=new XD.ReadStream(n,{readSize:i,size:c.size});l.on("error",u),l.pipe(r)}})});return e?s.then(e,e):s},ZR=t=>new To.Sync(t),JR=t=>new To(t)});var QD=E(pe=>{"use strict";pe.c=pe.create=LE();pe.r=pe.replace=Nl();pe.t=pe.list=Do();pe.u=pe.update=GE();pe.x=pe.extract=JD();pe.Pack=ro();pe.Unpack=ef();pe.Parse=Eo();pe.ReadEntry=qs();pe.WriteEntry=ll();pe.Header=mi();pe.Pax=$s();pe.types=zc()});var sy=E((hP,ny)=>{function Ze(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}ny.exports=Ze;Ze.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Ze.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Ze.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var i=this;return this._timer=setTimeout(function(){i._attempts++,i._operationTimeoutCb&&(i._timeout=setTimeout(function(){i._operationTimeoutCb(i._attempts)},i._operationTimeout),i._options.unref&&i._timeout.unref()),i._fn(i._attempts)},r),this._options.unref&&this._timer.unref(),!0};Ze.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};Ze.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};Ze.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};Ze.prototype.start=Ze.prototype.try;Ze.prototype.errors=function(){return this._errors};Ze.prototype.attempts=function(){return this._attempts};Ze.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,i=0;i<this._errors.length;i++){var n=this._errors[i],s=n.message,o=(t[s]||0)+1;t[s]=o,o>=r&&(e=n,r=o)}return e}});var oy=E(Ir=>{var rT=sy();Ir.operation=function(t){var e=Ir.timeouts(t);return new rT(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};Ir.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var i=[],n=0;n<e.retries;n++)i.push(this.createTimeout(n,e));return t&&t.forever&&!i.length&&i.push(this.createTimeout(n,e)),i.sort(function(s,o){return s-o}),i};Ir.createTimeout=function(t,e){var r=e.randomize?Math.random()+1:1,i=Math.round(r*Math.max(e.minTimeout,1)*Math.pow(e.factor,t));return i=Math.min(i,e.maxTimeout),i};Ir.wrap=function(t,e,r){if(e instanceof Array&&(r=e,e=null),!r){r=[];for(var i in t)typeof t[i]=="function"&&r.push(i)}for(var n=0;n<r.length;n++){var s=r[n],o=t[s];t[s]=function(a){var c=Ir.operation(e),l=Array.prototype.slice.call(arguments,1),f=l.pop();l.push(function(h){c.retry(h)||(h&&(arguments[0]=c.mainError()),f.apply(this,arguments))}),c.attempt(function(){a.apply(t,l)})}.bind(t,o),t[s].options=e}}});var ay=E((dP,uy)=>{uy.exports=oy()});var ly=E((mP,cy)=>{var iT=ay();function nT(t,e){function r(i,n){var s=e||{},o;"randomize"in s||(s.randomize=!0),o=iT.operation(s);function u(l){n(l||new Error("Aborted"))}function a(l,f){if(l.bail){u(l);return}o.retry(l)?s.onRetry&&s.onRetry(l,f):n(o.mainError())}function c(l){var f;try{f=t(u,l)}catch(h){a(h,l);return}Promise.resolve(f).then(i).catch(function(D){a(D,l)})}o.attempt(c)}return new Promise(r)}cy.exports=nT});var DT={};cf(DT,{default:()=>ET,hasLegacyEnvVarDependencies:()=>of,migrateConfig:()=>uf,migrateDependencies:()=>af,migrateGlobal:()=>my,migratePipeline:()=>dy,transformer:()=>gy});module.exports=Cy(DT);var sf=Y(require("path")),An=require("fs-extra");var wy=Y(mf());function ko(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bi(t){return Bi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bi(t)}function Mo(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qo(t,e){if(e&&(Bi(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mo(t)}function lr(t){return lr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},lr(t)}function yt(t,e){return yt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},yt(t,e)}function Ho(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&yt(t,e)}function $o(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uo(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Nr(t,e,r){return Uo()?Nr=Reflect.construct.bind():Nr=function(n,s,o){var u=[null];u.push.apply(u,s);var a=Function.bind.apply(n,u),c=new a;return o&&yt(c,o.prototype),c},Nr.apply(null,arguments)}function Pi(t){var e=typeof Map=="function"?new Map:void 0;return Pi=function(i){if(i===null||!$o(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,n)}function n(){return Nr(i,arguments,lr(this).constructor)}return n.prototype=Object.create(i.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),yt(n,i)},Pi(t)}var Go=Y(require("find-up")),Fn=Y(require("path")),xn=Y(require("fs-extra")),Fy=function(t){Ho(e,t);function e(r){var i;return ko(this,e),i=qo(this,lr(e).call(this,"No package.json could be found upwards from the directory ".concat(r))),i.directory=r,i}return e}(Pi(Error));function xy(t,e){try{var r=xn.default.readJsonSync(Fn.default.join(t,"package.json"));if(e.current===void 0&&(e.current=t),r.workspaces||r.bolt)return t}catch(i){if(i.code!=="ENOENT")throw i}}function vy(t){try{var e=xn.default.readJsonSync(Fn.default.join(t,"lerna.json"));if(e.useWorkspaces!==!0)return t}catch(r){if(r.code!=="ENOENT")throw r}}function Ry(t){var e=xn.default.existsSync(Fn.default.join(t,"pnpm-workspace.yaml"));if(e)return t}function gf(t){var e={current:void 0},r=(0,Go.sync)(function(i){return[vy(i),xy(i,e),Ry(i)].find(function(n){return n})},{cwd:t,type:"directory"});if(e.current===void 0)throw new Fy(t);return r===void 0?e.current:r}var Ty=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,Oy=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,By=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,jo={Space_Separator:Ty,ID_Start:Oy,ID_Continue:By},ue={isSpaceSeparator(t){return typeof t=="string"&&jo.Space_Separator.test(t)},isIdStartChar(t){return typeof t=="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t==="$"||t==="_"||jo.ID_Start.test(t))},isIdContinueChar(t){return typeof t=="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||t==="$"||t==="_"||t==="\u200C"||t==="\u200D"||jo.ID_Continue.test(t))},isDigit(t){return typeof t=="string"&&/[0-9]/.test(t)},isHexDigit(t){return typeof t=="string"&&/[0-9A-Fa-f]/.test(t)}},zo,ve,_t,Rn,Ht,Je,de,Vo,Ii,Py=function(e,r){zo=String(e),ve="start",_t=[],Rn=0,Ht=1,Je=0,de=void 0,Vo=void 0,Ii=void 0;do de=Ly(),ky[ve]();while(de.type!=="eof");return typeof r=="function"?Yo({"":Ii},"",r):Ii};function Yo(t,e,r){let i=t[e];if(i!=null&&typeof i=="object")if(Array.isArray(i))for(let n=0;n<i.length;n++){let s=String(n),o=Yo(i,s,r);o===void 0?delete i[s]:Object.defineProperty(i,s,{value:o,writable:!0,enumerable:!0,configurable:!0})}else for(let n in i){let s=Yo(i,n,r);s===void 0?delete i[n]:Object.defineProperty(i,n,{value:s,writable:!0,enumerable:!0,configurable:!0})}return r.call(t,e,i)}var q,k,Li,At,G;function Ly(){for(q="default",k="",Li=!1,At=1;;){G=St();let t=Df[q]();if(t)return t}}function St(){if(zo[Rn])return String.fromCodePoint(zo.codePointAt(Rn))}function S(){let t=St();return t===`
|
9
|
+
`?(Ht++,Je=0):t?Je+=t.length:Je++,t&&(Rn+=t.length),t}var Df={default(){switch(G){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
10
|
+
`:case"\r":case"\u2028":case"\u2029":S();return;case"/":S(),q="comment";return;case void 0:return S(),Q("eof")}if(ue.isSpaceSeparator(G)){S();return}return Df[ve]()},comment(){switch(G){case"*":S(),q="multiLineComment";return;case"/":S(),q="singleLineComment";return}throw ee(S())},multiLineComment(){switch(G){case"*":S(),q="multiLineCommentAsterisk";return;case void 0:throw ee(S())}S()},multiLineCommentAsterisk(){switch(G){case"*":S();return;case"/":S(),q="default";return;case void 0:throw ee(S())}S(),q="multiLineComment"},singleLineComment(){switch(G){case`
|
11
|
+
`:case"\r":case"\u2028":case"\u2029":S(),q="default";return;case void 0:return S(),Q("eof")}S()},value(){switch(G){case"{":case"[":return Q("punctuator",S());case"n":return S(),fr("ull"),Q("null",null);case"t":return S(),fr("rue"),Q("boolean",!0);case"f":return S(),fr("alse"),Q("boolean",!1);case"-":case"+":S()==="-"&&(At=-1),q="sign";return;case".":k=S(),q="decimalPointLeading";return;case"0":k=S(),q="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":k=S(),q="decimalInteger";return;case"I":return S(),fr("nfinity"),Q("numeric",1/0);case"N":return S(),fr("aN"),Q("numeric",NaN);case'"':case"'":Li=S()==='"',k="",q="string";return}throw ee(S())},identifierNameStartEscape(){if(G!=="u")throw ee(S());S();let t=Ko();switch(t){case"$":case"_":break;default:if(!ue.isIdStartChar(t))throw Ef();break}k+=t,q="identifierName"},identifierName(){switch(G){case"$":case"_":case"\u200C":case"\u200D":k+=S();return;case"\\":S(),q="identifierNameEscape";return}if(ue.isIdContinueChar(G)){k+=S();return}return Q("identifier",k)},identifierNameEscape(){if(G!=="u")throw ee(S());S();let t=Ko();switch(t){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!ue.isIdContinueChar(t))throw Ef();break}k+=t,q="identifierName"},sign(){switch(G){case".":k=S(),q="decimalPointLeading";return;case"0":k=S(),q="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":k=S(),q="decimalInteger";return;case"I":return S(),fr("nfinity"),Q("numeric",At*(1/0));case"N":return S(),fr("aN"),Q("numeric",NaN)}throw ee(S())},zero(){switch(G){case".":k+=S(),q="decimalPoint";return;case"e":case"E":k+=S(),q="decimalExponent";return;case"x":case"X":k+=S(),q="hexadecimal";return}return Q("numeric",At*0)},decimalInteger(){switch(G){case".":k+=S(),q="decimalPoint";return;case"e":case"E":k+=S(),q="decimalExponent";return}if(ue.isDigit(G)){k+=S();return}return Q("numeric",At*Number(k))},decimalPointLeading(){if(ue.isDigit(G)){k+=S(),q="decimalFraction";return}throw ee(S())},decimalPoint(){switch(G){case"e":case"E":k+=S(),q="decimalExponent";return}if(ue.isDigit(G)){k+=S(),q="decimalFraction";return}return Q("numeric",At*Number(k))},decimalFraction(){switch(G){case"e":case"E":k+=S(),q="decimalExponent";return}if(ue.isDigit(G)){k+=S();return}return Q("numeric",At*Number(k))},decimalExponent(){switch(G){case"+":case"-":k+=S(),q="decimalExponentSign";return}if(ue.isDigit(G)){k+=S(),q="decimalExponentInteger";return}throw ee(S())},decimalExponentSign(){if(ue.isDigit(G)){k+=S(),q="decimalExponentInteger";return}throw ee(S())},decimalExponentInteger(){if(ue.isDigit(G)){k+=S();return}return Q("numeric",At*Number(k))},hexadecimal(){if(ue.isHexDigit(G)){k+=S(),q="hexadecimalInteger";return}throw ee(S())},hexadecimalInteger(){if(ue.isHexDigit(G)){k+=S();return}return Q("numeric",At*Number(k))},string(){switch(G){case"\\":S(),k+=Iy();return;case'"':if(Li)return S(),Q("string",k);k+=S();return;case"'":if(!Li)return S(),Q("string",k);k+=S();return;case`
|
12
|
+
`:case"\r":throw ee(S());case"\u2028":case"\u2029":My(G);break;case void 0:throw ee(S())}k+=S()},start(){switch(G){case"{":case"[":return Q("punctuator",S())}q="value"},beforePropertyName(){switch(G){case"$":case"_":k=S(),q="identifierName";return;case"\\":S(),q="identifierNameStartEscape";return;case"}":return Q("punctuator",S());case'"':case"'":Li=S()==='"',q="string";return}if(ue.isIdStartChar(G)){k+=S(),q="identifierName";return}throw ee(S())},afterPropertyName(){if(G===":")return Q("punctuator",S());throw ee(S())},beforePropertyValue(){q="value"},afterPropertyValue(){switch(G){case",":case"}":return Q("punctuator",S())}throw ee(S())},beforeArrayValue(){if(G==="]")return Q("punctuator",S());q="value"},afterArrayValue(){switch(G){case",":case"]":return Q("punctuator",S())}throw ee(S())},end(){throw ee(S())}};function Q(t,e){return{type:t,value:e,line:Ht,column:Je}}function fr(t){for(let e of t){if(St()!==e)throw ee(S());S()}}function Iy(){switch(St()){case"b":return S(),"\b";case"f":return S(),"\f";case"n":return S(),`
|
13
|
+
`;case"r":return S(),"\r";case"t":return S()," ";case"v":return S(),"\v";case"0":if(S(),ue.isDigit(St()))throw ee(S());return"\0";case"x":return S(),Ny();case"u":return S(),Ko();case`
|
14
|
+
`:case"\u2028":case"\u2029":return S(),"";case"\r":return S(),St()===`
|
15
|
+
`&&S(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw ee(S());case void 0:throw ee(S())}return S()}function Ny(){let t="",e=St();if(!ue.isHexDigit(e)||(t+=S(),e=St(),!ue.isHexDigit(e)))throw ee(S());return t+=S(),String.fromCodePoint(parseInt(t,16))}function Ko(){let t="",e=4;for(;e-- >0;){let r=St();if(!ue.isHexDigit(r))throw ee(S());t+=S()}return String.fromCodePoint(parseInt(t,16))}var ky={start(){if(de.type==="eof")throw hr();Wo()},beforePropertyName(){switch(de.type){case"identifier":case"string":Vo=de.value,ve="afterPropertyName";return;case"punctuator":vn();return;case"eof":throw hr()}},afterPropertyName(){if(de.type==="eof")throw hr();ve="beforePropertyValue"},beforePropertyValue(){if(de.type==="eof")throw hr();Wo()},beforeArrayValue(){if(de.type==="eof")throw hr();if(de.type==="punctuator"&&de.value==="]"){vn();return}Wo()},afterPropertyValue(){if(de.type==="eof")throw hr();switch(de.value){case",":ve="beforePropertyName";return;case"}":vn()}},afterArrayValue(){if(de.type==="eof")throw hr();switch(de.value){case",":ve="beforeArrayValue";return;case"]":vn()}},end(){}};function Wo(){let t;switch(de.type){case"punctuator":switch(de.value){case"{":t={};break;case"[":t=[];break}break;case"null":case"boolean":case"numeric":case"string":t=de.value;break}if(Ii===void 0)Ii=t;else{let e=_t[_t.length-1];Array.isArray(e)?e.push(t):Object.defineProperty(e,Vo,{value:t,writable:!0,enumerable:!0,configurable:!0})}if(t!==null&&typeof t=="object")_t.push(t),Array.isArray(t)?ve="beforeArrayValue":ve="beforePropertyName";else{let e=_t[_t.length-1];e==null?ve="end":Array.isArray(e)?ve="afterArrayValue":ve="afterPropertyValue"}}function vn(){_t.pop();let t=_t[_t.length-1];t==null?ve="end":Array.isArray(t)?ve="afterArrayValue":ve="afterPropertyValue"}function ee(t){return Tn(t===void 0?`JSON5: invalid end of input at ${Ht}:${Je}`:`JSON5: invalid character '${yf(t)}' at ${Ht}:${Je}`)}function hr(){return Tn(`JSON5: invalid end of input at ${Ht}:${Je}`)}function Ef(){return Je-=5,Tn(`JSON5: invalid identifier character at ${Ht}:${Je}`)}function My(t){console.warn(`JSON5: '${yf(t)}' in strings is not valid ECMAScript; consider escaping`)}function yf(t){let e={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(e[t])return e[t];if(t<" "){let r=t.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return t}function Tn(t){let e=new SyntaxError(t);return e.lineNumber=Ht,e.columnNumber=Je,e}var qy=function(e,r,i){let n=[],s="",o,u,a="",c;if(r!=null&&typeof r=="object"&&!Array.isArray(r)&&(i=r.space,c=r.quote,r=r.replacer),typeof r=="function")u=r;else if(Array.isArray(r)){o=[];for(let g of r){let A;typeof g=="string"?A=g:(typeof g=="number"||g instanceof String||g instanceof Number)&&(A=String(g)),A!==void 0&&o.indexOf(A)<0&&o.push(A)}}return i instanceof Number?i=Number(i):i instanceof String&&(i=String(i)),typeof i=="number"?i>0&&(i=Math.min(10,Math.floor(i)),a=" ".substr(0,i)):typeof i=="string"&&(a=i.substr(0,10)),l("",{"":e});function l(g,A){let y=A[g];switch(y!=null&&(typeof y.toJSON5=="function"?y=y.toJSON5(g):typeof y.toJSON=="function"&&(y=y.toJSON(g))),u&&(y=u.call(A,g,y)),y instanceof Number?y=Number(y):y instanceof String?y=String(y):y instanceof Boolean&&(y=y.valueOf()),y){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof y=="string")return f(y,!1);if(typeof y=="number")return String(y);if(typeof y=="object")return Array.isArray(y)?m(y):h(y)}function f(g){let A={"'":.1,'"':.2},y={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},w="";for(let M=0;M<g.length;M++){let T=g[M];switch(T){case"'":case'"':A[T]++,w+=T;continue;case"\0":if(ue.isDigit(g[M+1])){w+="\\x00";continue}}if(y[T]){w+=y[T];continue}if(T<" "){let $=T.charCodeAt(0).toString(16);w+="\\x"+("00"+$).substring($.length);continue}w+=T}let P=c||Object.keys(A).reduce((M,T)=>A[M]<A[T]?M:T);return w=w.replace(new RegExp(P,"g"),y[P]),P+w+P}function h(g){if(n.indexOf(g)>=0)throw TypeError("Converting circular structure to JSON5");n.push(g);let A=s;s=s+a;let y=o||Object.keys(g),w=[];for(let M of y){let T=l(M,g);if(T!==void 0){let $=D(M)+":";a!==""&&($+=" "),$+=T,w.push($)}}let P;if(w.length===0)P="{}";else{let M;if(a==="")M=w.join(","),P="{"+M+"}";else{let T=`,
|
16
|
+
`+s;M=w.join(T),P=`{
|
17
|
+
`+s+M+`,
|
18
|
+
`+A+"}"}}return n.pop(),s=A,P}function D(g){if(g.length===0)return f(g,!0);let A=String.fromCodePoint(g.codePointAt(0));if(!ue.isIdStartChar(A))return f(g,!0);for(let y=A.length;y<g.length;y++)if(!ue.isIdContinueChar(String.fromCodePoint(g.codePointAt(y))))return f(g,!0);return g}function m(g){if(n.indexOf(g)>=0)throw TypeError("Converting circular structure to JSON5");n.push(g);let A=s;s=s+a;let y=[];for(let P=0;P<g.length;P++){let M=l(String(P),g);y.push(M!==void 0?M:"null")}let w;if(y.length===0)w="[]";else if(a==="")w="["+y.join(",")+"]";else{let P=`,
|
19
|
+
`+s,M=y.join(P);w=`[
|
20
|
+
`+s+M+`,
|
21
|
+
`+A+"]"}return n.pop(),s=A,w}},Hy={parse:Py,stringify:qy},$y=Hy,On=$y;var Xo=Y(require("fs")),Ni=Y(require("path"));function Zo({target:t,cwd:e,contentCheck:r}){let i=Ni.default.parse(e).root,n=!1,s=e;for(;!n&&s!==i;){if(r)try{let o=Xo.default.readFileSync(Ni.default.join(s,t)).toString();if(r(o)){n=!0;break}}catch{}else if(Xo.default.existsSync(Ni.default.join(s,t))){n=!0;break}s=Ni.default.dirname(s)}return n?s:null}function Uy(t){let e=On.parse(t);return!(e&&"extends"in e)}var Jo={};function Qo(t,e){var s;let r=(s=e==null?void 0:e.cache)!=null?s:!0,i=t||process.cwd();if(r&&Jo[i])return Jo[i];let n=Zo({target:"turbo.json",cwd:i,contentCheck:Uy});if(!n)try{if(n=gf(i),!n)return null}catch{return null}return r&&(Jo[i]=n),n}var zi=Y(require("fs")),Ar=Y(require("path"));function If(t){return typeof t=="undefined"||t===null}function Gy(t){return typeof t=="object"&&t!==null}function jy(t){return Array.isArray(t)?t:If(t)?[]:[t]}function Wy(t,e){var r,i,n,s;if(e)for(s=Object.keys(e),r=0,i=s.length;r<i;r+=1)n=s[r],t[n]=e[n];return t}function zy(t,e){var r="",i;for(i=0;i<e;i+=1)r+=t;return r}function Yy(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}var Ky=If,Vy=Gy,Xy=jy,Zy=zy,Jy=Yy,Qy=Wy,he={isNothing:Ky,isObject:Vy,toArray:Xy,repeat:Zy,isNegativeZero:Jy,extend:Qy};function Nf(t,e){var r="",i=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(r+='in "'+t.mark.name+'" '),r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(r+=`
|
8
22
|
|
9
|
-
|
23
|
+
`+t.mark.snippet),i+" "+r):i}function Mi(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=Nf(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Mi.prototype=Object.create(Error.prototype);Mi.prototype.constructor=Mi;Mi.prototype.toString=function(e){return this.name+": "+Nf(this,e)};var Re=Mi;function eu(t,e,r,i,n){var s="",o="",u=Math.floor(n/2)-1;return i-e>u&&(s=" ... ",e=i-u+s.length),r-i>u&&(o=" ...",r=i+u-o.length),{str:s+t.slice(e,r).replace(/\t/g,"\u2192")+o,pos:i-e+s.length}}function tu(t,e){return he.repeat(" ",e-t.length)+t}function eA(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var r=/\r?\n|\r|\0/g,i=[0],n=[],s,o=-1;s=r.exec(t.buffer);)n.push(s.index),i.push(s.index+s[0].length),t.position<=s.index&&o<0&&(o=i.length-2);o<0&&(o=i.length-1);var u="",a,c,l=Math.min(t.line+e.linesAfter,n.length).toString().length,f=e.maxLength-(e.indent+l+3);for(a=1;a<=e.linesBefore&&!(o-a<0);a++)c=eu(t.buffer,i[o-a],n[o-a],t.position-(i[o]-i[o-a]),f),u=he.repeat(" ",e.indent)+tu((t.line-a+1).toString(),l)+" | "+c.str+`
|
24
|
+
`+u;for(c=eu(t.buffer,i[o],n[o],t.position,f),u+=he.repeat(" ",e.indent)+tu((t.line+1).toString(),l)+" | "+c.str+`
|
25
|
+
`,u+=he.repeat("-",e.indent+l+3+c.pos)+`^
|
26
|
+
`,a=1;a<=e.linesAfter&&!(o+a>=n.length);a++)c=eu(t.buffer,i[o+a],n[o+a],t.position-(i[o]-i[o+a]),f),u+=he.repeat(" ",e.indent)+tu((t.line+a+1).toString(),l)+" | "+c.str+`
|
27
|
+
`;return u.replace(/\n$/,"")}var tA=eA,rA=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],iA=["scalar","sequence","mapping"];function nA(t){var e={};return t!==null&&Object.keys(t).forEach(function(r){t[r].forEach(function(i){e[String(i)]=r})}),e}function sA(t,e){if(e=e||{},Object.keys(e).forEach(function(r){if(rA.indexOf(r)===-1)throw new Re('Unknown option "'+r+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(r){return r},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=nA(e.styleAliases||null),iA.indexOf(this.kind)===-1)throw new Re('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var De=sA;function Af(t,e){var r=[];return t[e].forEach(function(i){var n=r.length;r.forEach(function(s,o){s.tag===i.tag&&s.kind===i.kind&&s.multi===i.multi&&(n=o)}),r[n]=i}),r}function oA(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,r;function i(n){n.multi?(t.multi[n.kind].push(n),t.multi.fallback.push(n)):t[n.kind][n.tag]=t.fallback[n.tag]=n}for(e=0,r=arguments.length;e<r;e+=1)arguments[e].forEach(i);return t}function iu(t){return this.extend(t)}iu.prototype.extend=function(e){var r=[],i=[];if(e instanceof De)i.push(e);else if(Array.isArray(e))i=i.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(r=r.concat(e.implicit)),e.explicit&&(i=i.concat(e.explicit));else throw new Re("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(s){if(!(s instanceof De))throw new Re("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(s.loadKind&&s.loadKind!=="scalar")throw new Re("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(s.multi)throw new Re("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),i.forEach(function(s){if(!(s instanceof De))throw new Re("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var n=Object.create(iu.prototype);return n.implicit=(this.implicit||[]).concat(r),n.explicit=(this.explicit||[]).concat(i),n.compiledImplicit=Af(n,"implicit"),n.compiledExplicit=Af(n,"explicit"),n.compiledTypeMap=oA(n.compiledImplicit,n.compiledExplicit),n};var kf=iu,Mf=new De("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}}),qf=new De("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}}),Hf=new De("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}}),$f=new kf({explicit:[Mf,qf,Hf]});function uA(t){if(t===null)return!0;var e=t.length;return e===1&&t==="~"||e===4&&(t==="null"||t==="Null"||t==="NULL")}function aA(){return null}function cA(t){return t===null}var Uf=new De("tag:yaml.org,2002:null",{kind:"scalar",resolve:uA,construct:aA,predicate:cA,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function lA(t){if(t===null)return!1;var e=t.length;return e===4&&(t==="true"||t==="True"||t==="TRUE")||e===5&&(t==="false"||t==="False"||t==="FALSE")}function fA(t){return t==="true"||t==="True"||t==="TRUE"}function hA(t){return Object.prototype.toString.call(t)==="[object Boolean]"}var Gf=new De("tag:yaml.org,2002:bool",{kind:"scalar",resolve:lA,construct:fA,predicate:hA,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function pA(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function dA(t){return 48<=t&&t<=55}function mA(t){return 48<=t&&t<=57}function gA(t){if(t===null)return!1;var e=t.length,r=0,i=!1,n;if(!e)return!1;if(n=t[r],(n==="-"||n==="+")&&(n=t[++r]),n==="0"){if(r+1===e)return!0;if(n=t[++r],n==="b"){for(r++;r<e;r++)if(n=t[r],n!=="_"){if(n!=="0"&&n!=="1")return!1;i=!0}return i&&n!=="_"}if(n==="x"){for(r++;r<e;r++)if(n=t[r],n!=="_"){if(!pA(t.charCodeAt(r)))return!1;i=!0}return i&&n!=="_"}if(n==="o"){for(r++;r<e;r++)if(n=t[r],n!=="_"){if(!dA(t.charCodeAt(r)))return!1;i=!0}return i&&n!=="_"}}if(n==="_")return!1;for(;r<e;r++)if(n=t[r],n!=="_"){if(!mA(t.charCodeAt(r)))return!1;i=!0}return!(!i||n==="_")}function EA(t){var e=t,r=1,i;if(e.indexOf("_")!==-1&&(e=e.replace(/_/g,"")),i=e[0],(i==="-"||i==="+")&&(i==="-"&&(r=-1),e=e.slice(1),i=e[0]),e==="0")return 0;if(i==="0"){if(e[1]==="b")return r*parseInt(e.slice(2),2);if(e[1]==="x")return r*parseInt(e.slice(2),16);if(e[1]==="o")return r*parseInt(e.slice(2),8)}return r*parseInt(e,10)}function DA(t){return Object.prototype.toString.call(t)==="[object Number]"&&t%1===0&&!he.isNegativeZero(t)}var jf=new De("tag:yaml.org,2002:int",{kind:"scalar",resolve:gA,construct:EA,predicate:DA,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),yA=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function AA(t){return!(t===null||!yA.test(t)||t[t.length-1]==="_")}function _A(t){var e,r;return e=t.replace(/_/g,"").toLowerCase(),r=e[0]==="-"?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:r*parseFloat(e,10)}var SA=/^[-+]?[0-9]+e/;function CA(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(he.isNegativeZero(t))return"-0.0";return r=t.toString(10),SA.test(r)?r.replace("e",".e"):r}function bA(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||he.isNegativeZero(t))}var Wf=new De("tag:yaml.org,2002:float",{kind:"scalar",resolve:AA,construct:_A,predicate:bA,represent:CA,defaultStyle:"lowercase"}),zf=$f.extend({implicit:[Uf,Gf,jf,Wf]}),Yf=zf,Kf=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Vf=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function wA(t){return t===null?!1:Kf.exec(t)!==null||Vf.exec(t)!==null}function FA(t){var e,r,i,n,s,o,u,a=0,c=null,l,f,h;if(e=Kf.exec(t),e===null&&(e=Vf.exec(t)),e===null)throw new Error("Date resolve error");if(r=+e[1],i=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(r,i,n));if(s=+e[4],o=+e[5],u=+e[6],e[7]){for(a=e[7].slice(0,3);a.length<3;)a+="0";a=+a}return e[9]&&(l=+e[10],f=+(e[11]||0),c=(l*60+f)*6e4,e[9]==="-"&&(c=-c)),h=new Date(Date.UTC(r,i,n,s,o,u,a)),c&&h.setTime(h.getTime()-c),h}function xA(t){return t.toISOString()}var Xf=new De("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:wA,construct:FA,instanceOf:Date,represent:xA});function vA(t){return t==="<<"||t===null}var Zf=new De("tag:yaml.org,2002:merge",{kind:"scalar",resolve:vA}),au=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
28
|
+
\r`;function RA(t){if(t===null)return!1;var e,r,i=0,n=t.length,s=au;for(r=0;r<n;r++)if(e=s.indexOf(t.charAt(r)),!(e>64)){if(e<0)return!1;i+=6}return i%8===0}function TA(t){var e,r,i=t.replace(/[\r\n=]/g,""),n=i.length,s=au,o=0,u=[];for(e=0;e<n;e++)e%4===0&&e&&(u.push(o>>16&255),u.push(o>>8&255),u.push(o&255)),o=o<<6|s.indexOf(i.charAt(e));return r=n%4*6,r===0?(u.push(o>>16&255),u.push(o>>8&255),u.push(o&255)):r===18?(u.push(o>>10&255),u.push(o>>2&255)):r===12&&u.push(o>>4&255),new Uint8Array(u)}function OA(t){var e="",r=0,i,n,s=t.length,o=au;for(i=0;i<s;i++)i%3===0&&i&&(e+=o[r>>18&63],e+=o[r>>12&63],e+=o[r>>6&63],e+=o[r&63]),r=(r<<8)+t[i];return n=s%3,n===0?(e+=o[r>>18&63],e+=o[r>>12&63],e+=o[r>>6&63],e+=o[r&63]):n===2?(e+=o[r>>10&63],e+=o[r>>4&63],e+=o[r<<2&63],e+=o[64]):n===1&&(e+=o[r>>2&63],e+=o[r<<4&63],e+=o[64],e+=o[64]),e}function BA(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}var Jf=new De("tag:yaml.org,2002:binary",{kind:"scalar",resolve:RA,construct:TA,predicate:BA,represent:OA}),PA=Object.prototype.hasOwnProperty,LA=Object.prototype.toString;function IA(t){if(t===null)return!0;var e=[],r,i,n,s,o,u=t;for(r=0,i=u.length;r<i;r+=1){if(n=u[r],o=!1,LA.call(n)!=="[object Object]")return!1;for(s in n)if(PA.call(n,s))if(!o)o=!0;else return!1;if(!o)return!1;if(e.indexOf(s)===-1)e.push(s);else return!1}return!0}function NA(t){return t!==null?t:[]}var Qf=new De("tag:yaml.org,2002:omap",{kind:"sequence",resolve:IA,construct:NA}),kA=Object.prototype.toString;function MA(t){if(t===null)return!0;var e,r,i,n,s,o=t;for(s=new Array(o.length),e=0,r=o.length;e<r;e+=1){if(i=o[e],kA.call(i)!=="[object Object]"||(n=Object.keys(i),n.length!==1))return!1;s[e]=[n[0],i[n[0]]]}return!0}function qA(t){if(t===null)return[];var e,r,i,n,s,o=t;for(s=new Array(o.length),e=0,r=o.length;e<r;e+=1)i=o[e],n=Object.keys(i),s[e]=[n[0],i[n[0]]];return s}var eh=new De("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:MA,construct:qA}),HA=Object.prototype.hasOwnProperty;function $A(t){if(t===null)return!0;var e,r=t;for(e in r)if(HA.call(r,e)&&r[e]!==null)return!1;return!0}function UA(t){return t!==null?t:{}}var th=new De("tag:yaml.org,2002:set",{kind:"mapping",resolve:$A,construct:UA}),cu=Yf.extend({implicit:[Xf,Zf],explicit:[Jf,Qf,eh,th]}),Ut=Object.prototype.hasOwnProperty,Bn=1,rh=2,ih=3,Pn=4,ru=1,GA=2,_f=3,jA=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,WA=/[\x85\u2028\u2029]/,zA=/[,\[\]\{\}]/,nh=/^(?:!|!!|![a-z\-]+!)$/i,sh=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Sf(t){return Object.prototype.toString.call(t)}function rt(t){return t===10||t===13}function dr(t){return t===9||t===32}function Te(t){return t===9||t===32||t===10||t===13}function Mr(t){return t===44||t===91||t===93||t===123||t===125}function YA(t){var e;return 48<=t&&t<=57?t-48:(e=t|32,97<=e&&e<=102?e-97+10:-1)}function KA(t){return t===120?2:t===117?4:t===85?8:0}function VA(t){return 48<=t&&t<=57?t-48:-1}function Cf(t){return t===48?"\0":t===97?"\x07":t===98?"\b":t===116||t===9?" ":t===110?`
|
29
|
+
`:t===118?"\v":t===102?"\f":t===114?"\r":t===101?"\x1B":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?"\x85":t===95?"\xA0":t===76?"\u2028":t===80?"\u2029":""}function XA(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}var oh=new Array(256),uh=new Array(256);for(pr=0;pr<256;pr++)oh[pr]=Cf(pr)?1:0,uh[pr]=Cf(pr);var pr;function ZA(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||cu,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function ah(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=tA(r),new Re(e,r)}function O(t,e){throw ah(t,e)}function Ln(t,e){t.onWarning&&t.onWarning.call(null,ah(t,e))}var bf={YAML:function(e,r,i){var n,s,o;e.version!==null&&O(e,"duplication of %YAML directive"),i.length!==1&&O(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(i[0]),n===null&&O(e,"ill-formed argument of the YAML directive"),s=parseInt(n[1],10),o=parseInt(n[2],10),s!==1&&O(e,"unacceptable YAML version of the document"),e.version=i[0],e.checkLineBreaks=o<2,o!==1&&o!==2&&Ln(e,"unsupported YAML version of the document")},TAG:function(e,r,i){var n,s;i.length!==2&&O(e,"TAG directive accepts exactly two arguments"),n=i[0],s=i[1],nh.test(n)||O(e,"ill-formed tag handle (first argument) of the TAG directive"),Ut.call(e.tagMap,n)&&O(e,'there is a previously declared suffix for "'+n+'" tag handle'),sh.test(s)||O(e,"ill-formed tag prefix (second argument) of the TAG directive");try{s=decodeURIComponent(s)}catch{O(e,"tag prefix is malformed: "+s)}e.tagMap[n]=s}};function $t(t,e,r,i){var n,s,o,u;if(e<r){if(u=t.input.slice(e,r),i)for(n=0,s=u.length;n<s;n+=1)o=u.charCodeAt(n),o===9||32<=o&&o<=1114111||O(t,"expected valid JSON character");else jA.test(u)&&O(t,"the stream contains non-printable characters");t.result+=u}}function wf(t,e,r,i){var n,s,o,u;for(he.isObject(r)||O(t,"cannot merge mappings; the provided source object is unacceptable"),n=Object.keys(r),o=0,u=n.length;o<u;o+=1)s=n[o],Ut.call(e,s)||(e[s]=r[s],i[s]=!0)}function qr(t,e,r,i,n,s,o,u,a){var c,l;if(Array.isArray(n))for(n=Array.prototype.slice.call(n),c=0,l=n.length;c<l;c+=1)Array.isArray(n[c])&&O(t,"nested arrays are not supported inside keys"),typeof n=="object"&&Sf(n[c])==="[object Object]"&&(n[c]="[object Object]");if(typeof n=="object"&&Sf(n)==="[object Object]"&&(n="[object Object]"),n=String(n),e===null&&(e={}),i==="tag:yaml.org,2002:merge")if(Array.isArray(s))for(c=0,l=s.length;c<l;c+=1)wf(t,e,s[c],r);else wf(t,e,s,r);else!t.json&&!Ut.call(r,n)&&Ut.call(e,n)&&(t.line=o||t.line,t.lineStart=u||t.lineStart,t.position=a||t.position,O(t,"duplicated mapping key")),n==="__proto__"?Object.defineProperty(e,n,{configurable:!0,enumerable:!0,writable:!0,value:s}):e[n]=s,delete r[n];return e}function lu(t){var e;e=t.input.charCodeAt(t.position),e===10?t.position++:e===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):O(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function le(t,e,r){for(var i=0,n=t.input.charCodeAt(t.position);n!==0;){for(;dr(n);)n===9&&t.firstTabInLine===-1&&(t.firstTabInLine=t.position),n=t.input.charCodeAt(++t.position);if(e&&n===35)do n=t.input.charCodeAt(++t.position);while(n!==10&&n!==13&&n!==0);if(rt(n))for(lu(t),n=t.input.charCodeAt(t.position),i++,t.lineIndent=0;n===32;)t.lineIndent++,n=t.input.charCodeAt(++t.position);else break}return r!==-1&&i!==0&&t.lineIndent<r&&Ln(t,"deficient indentation"),i}function kn(t){var e=t.position,r;return r=t.input.charCodeAt(e),!!((r===45||r===46)&&r===t.input.charCodeAt(e+1)&&r===t.input.charCodeAt(e+2)&&(e+=3,r=t.input.charCodeAt(e),r===0||Te(r)))}function fu(t,e){e===1?t.result+=" ":e>1&&(t.result+=he.repeat(`
|
30
|
+
`,e-1))}function JA(t,e,r){var i,n,s,o,u,a,c,l,f=t.kind,h=t.result,D;if(D=t.input.charCodeAt(t.position),Te(D)||Mr(D)||D===35||D===38||D===42||D===33||D===124||D===62||D===39||D===34||D===37||D===64||D===96||(D===63||D===45)&&(n=t.input.charCodeAt(t.position+1),Te(n)||r&&Mr(n)))return!1;for(t.kind="scalar",t.result="",s=o=t.position,u=!1;D!==0;){if(D===58){if(n=t.input.charCodeAt(t.position+1),Te(n)||r&&Mr(n))break}else if(D===35){if(i=t.input.charCodeAt(t.position-1),Te(i))break}else{if(t.position===t.lineStart&&kn(t)||r&&Mr(D))break;if(rt(D))if(a=t.line,c=t.lineStart,l=t.lineIndent,le(t,!1,-1),t.lineIndent>=e){u=!0,D=t.input.charCodeAt(t.position);continue}else{t.position=o,t.line=a,t.lineStart=c,t.lineIndent=l;break}}u&&($t(t,s,o,!1),fu(t,t.line-a),s=o=t.position,u=!1),dr(D)||(o=t.position+1),D=t.input.charCodeAt(++t.position)}return $t(t,s,o,!1),t.result?!0:(t.kind=f,t.result=h,!1)}function QA(t,e){var r,i,n;if(r=t.input.charCodeAt(t.position),r!==39)return!1;for(t.kind="scalar",t.result="",t.position++,i=n=t.position;(r=t.input.charCodeAt(t.position))!==0;)if(r===39)if($t(t,i,t.position,!0),r=t.input.charCodeAt(++t.position),r===39)i=t.position,t.position++,n=t.position;else return!0;else rt(r)?($t(t,i,n,!0),fu(t,le(t,!1,e)),i=n=t.position):t.position===t.lineStart&&kn(t)?O(t,"unexpected end of the document within a single quoted scalar"):(t.position++,n=t.position);O(t,"unexpected end of the stream within a single quoted scalar")}function e_(t,e){var r,i,n,s,o,u;if(u=t.input.charCodeAt(t.position),u!==34)return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;(u=t.input.charCodeAt(t.position))!==0;){if(u===34)return $t(t,r,t.position,!0),t.position++,!0;if(u===92){if($t(t,r,t.position,!0),u=t.input.charCodeAt(++t.position),rt(u))le(t,!1,e);else if(u<256&&oh[u])t.result+=uh[u],t.position++;else if((o=KA(u))>0){for(n=o,s=0;n>0;n--)u=t.input.charCodeAt(++t.position),(o=YA(u))>=0?s=(s<<4)+o:O(t,"expected hexadecimal character");t.result+=XA(s),t.position++}else O(t,"unknown escape sequence");r=i=t.position}else rt(u)?($t(t,r,i,!0),fu(t,le(t,!1,e)),r=i=t.position):t.position===t.lineStart&&kn(t)?O(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position)}O(t,"unexpected end of the stream within a double quoted scalar")}function t_(t,e){var r=!0,i,n,s,o=t.tag,u,a=t.anchor,c,l,f,h,D,m=Object.create(null),g,A,y,w;if(w=t.input.charCodeAt(t.position),w===91)l=93,D=!1,u=[];else if(w===123)l=125,D=!0,u={};else return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=u),w=t.input.charCodeAt(++t.position);w!==0;){if(le(t,!0,e),w=t.input.charCodeAt(t.position),w===l)return t.position++,t.tag=o,t.anchor=a,t.kind=D?"mapping":"sequence",t.result=u,!0;r?w===44&&O(t,"expected the node content, but found ','"):O(t,"missed comma between flow collection entries"),A=g=y=null,f=h=!1,w===63&&(c=t.input.charCodeAt(t.position+1),Te(c)&&(f=h=!0,t.position++,le(t,!0,e))),i=t.line,n=t.lineStart,s=t.position,Hr(t,e,Bn,!1,!0),A=t.tag,g=t.result,le(t,!0,e),w=t.input.charCodeAt(t.position),(h||t.line===i)&&w===58&&(f=!0,w=t.input.charCodeAt(++t.position),le(t,!0,e),Hr(t,e,Bn,!1,!0),y=t.result),D?qr(t,u,m,A,g,y,i,n,s):f?u.push(qr(t,null,m,A,g,y,i,n,s)):u.push(g),le(t,!0,e),w=t.input.charCodeAt(t.position),w===44?(r=!0,w=t.input.charCodeAt(++t.position)):r=!1}O(t,"unexpected end of the stream within a flow collection")}function r_(t,e){var r,i,n=ru,s=!1,o=!1,u=e,a=0,c=!1,l,f;if(f=t.input.charCodeAt(t.position),f===124)i=!1;else if(f===62)i=!0;else return!1;for(t.kind="scalar",t.result="";f!==0;)if(f=t.input.charCodeAt(++t.position),f===43||f===45)ru===n?n=f===43?_f:GA:O(t,"repeat of a chomping mode identifier");else if((l=VA(f))>=0)l===0?O(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?O(t,"repeat of an indentation width identifier"):(u=e+l-1,o=!0);else break;if(dr(f)){do f=t.input.charCodeAt(++t.position);while(dr(f));if(f===35)do f=t.input.charCodeAt(++t.position);while(!rt(f)&&f!==0)}for(;f!==0;){for(lu(t),t.lineIndent=0,f=t.input.charCodeAt(t.position);(!o||t.lineIndent<u)&&f===32;)t.lineIndent++,f=t.input.charCodeAt(++t.position);if(!o&&t.lineIndent>u&&(u=t.lineIndent),rt(f)){a++;continue}if(t.lineIndent<u){n===_f?t.result+=he.repeat(`
|
31
|
+
`,s?1+a:a):n===ru&&s&&(t.result+=`
|
32
|
+
`);break}for(i?dr(f)?(c=!0,t.result+=he.repeat(`
|
33
|
+
`,s?1+a:a)):c?(c=!1,t.result+=he.repeat(`
|
34
|
+
`,a+1)):a===0?s&&(t.result+=" "):t.result+=he.repeat(`
|
35
|
+
`,a):t.result+=he.repeat(`
|
36
|
+
`,s?1+a:a),s=!0,o=!0,a=0,r=t.position;!rt(f)&&f!==0;)f=t.input.charCodeAt(++t.position);$t(t,r,t.position,!1)}return!0}function Ff(t,e){var r,i=t.tag,n=t.anchor,s=[],o,u=!1,a;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=s),a=t.input.charCodeAt(t.position);a!==0&&(t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,O(t,"tab characters must not be used in indentation")),!(a!==45||(o=t.input.charCodeAt(t.position+1),!Te(o))));){if(u=!0,t.position++,le(t,!0,-1)&&t.lineIndent<=e){s.push(null),a=t.input.charCodeAt(t.position);continue}if(r=t.line,Hr(t,e,ih,!1,!0),s.push(t.result),le(t,!0,-1),a=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&a!==0)O(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}return u?(t.tag=i,t.anchor=n,t.kind="sequence",t.result=s,!0):!1}function i_(t,e,r){var i,n,s,o,u,a,c=t.tag,l=t.anchor,f={},h=Object.create(null),D=null,m=null,g=null,A=!1,y=!1,w;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=f),w=t.input.charCodeAt(t.position);w!==0;){if(!A&&t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,O(t,"tab characters must not be used in indentation")),i=t.input.charCodeAt(t.position+1),s=t.line,(w===63||w===58)&&Te(i))w===63?(A&&(qr(t,f,h,D,m,null,o,u,a),D=m=g=null),y=!0,A=!0,n=!0):A?(A=!1,n=!0):O(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,w=i;else{if(o=t.line,u=t.lineStart,a=t.position,!Hr(t,r,rh,!1,!0))break;if(t.line===s){for(w=t.input.charCodeAt(t.position);dr(w);)w=t.input.charCodeAt(++t.position);if(w===58)w=t.input.charCodeAt(++t.position),Te(w)||O(t,"a whitespace character is expected after the key-value separator within a block mapping"),A&&(qr(t,f,h,D,m,null,o,u,a),D=m=g=null),y=!0,A=!1,n=!1,D=t.tag,m=t.result;else if(y)O(t,"can not read an implicit mapping pair; a colon is missed");else return t.tag=c,t.anchor=l,!0}else if(y)O(t,"can not read a block mapping entry; a multiline key may not be an implicit key");else return t.tag=c,t.anchor=l,!0}if((t.line===s||t.lineIndent>e)&&(A&&(o=t.line,u=t.lineStart,a=t.position),Hr(t,e,Pn,!0,n)&&(A?m=t.result:g=t.result),A||(qr(t,f,h,D,m,g,o,u,a),D=m=g=null),le(t,!0,-1),w=t.input.charCodeAt(t.position)),(t.line===s||t.lineIndent>e)&&w!==0)O(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return A&&qr(t,f,h,D,m,null,o,u,a),y&&(t.tag=c,t.anchor=l,t.kind="mapping",t.result=f),y}function n_(t){var e,r=!1,i=!1,n,s,o;if(o=t.input.charCodeAt(t.position),o!==33)return!1;if(t.tag!==null&&O(t,"duplication of a tag property"),o=t.input.charCodeAt(++t.position),o===60?(r=!0,o=t.input.charCodeAt(++t.position)):o===33?(i=!0,n="!!",o=t.input.charCodeAt(++t.position)):n="!",e=t.position,r){do o=t.input.charCodeAt(++t.position);while(o!==0&&o!==62);t.position<t.length?(s=t.input.slice(e,t.position),o=t.input.charCodeAt(++t.position)):O(t,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!Te(o);)o===33&&(i?O(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),nh.test(n)||O(t,"named tag handle cannot contain such characters"),i=!0,e=t.position+1)),o=t.input.charCodeAt(++t.position);s=t.input.slice(e,t.position),zA.test(s)&&O(t,"tag suffix cannot contain flow indicator characters")}s&&!sh.test(s)&&O(t,"tag name cannot contain such characters: "+s);try{s=decodeURIComponent(s)}catch{O(t,"tag name is malformed: "+s)}return r?t.tag=s:Ut.call(t.tagMap,n)?t.tag=t.tagMap[n]+s:n==="!"?t.tag="!"+s:n==="!!"?t.tag="tag:yaml.org,2002:"+s:O(t,'undeclared tag handle "'+n+'"'),!0}function s_(t){var e,r;if(r=t.input.charCodeAt(t.position),r!==38)return!1;for(t.anchor!==null&&O(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;r!==0&&!Te(r)&&!Mr(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&O(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function o_(t){var e,r,i;if(i=t.input.charCodeAt(t.position),i!==42)return!1;for(i=t.input.charCodeAt(++t.position),e=t.position;i!==0&&!Te(i)&&!Mr(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&O(t,"name of an alias node must contain at least one character"),r=t.input.slice(e,t.position),Ut.call(t.anchorMap,r)||O(t,'unidentified alias "'+r+'"'),t.result=t.anchorMap[r],le(t,!0,-1),!0}function Hr(t,e,r,i,n){var s,o,u,a=1,c=!1,l=!1,f,h,D,m,g,A;if(t.listener!==null&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,s=o=u=Pn===r||ih===r,i&&le(t,!0,-1)&&(c=!0,t.lineIndent>e?a=1:t.lineIndent===e?a=0:t.lineIndent<e&&(a=-1)),a===1)for(;n_(t)||s_(t);)le(t,!0,-1)?(c=!0,u=s,t.lineIndent>e?a=1:t.lineIndent===e?a=0:t.lineIndent<e&&(a=-1)):u=!1;if(u&&(u=c||n),(a===1||Pn===r)&&(Bn===r||rh===r?g=e:g=e+1,A=t.position-t.lineStart,a===1?u&&(Ff(t,A)||i_(t,A,g))||t_(t,g)?l=!0:(o&&r_(t,g)||QA(t,g)||e_(t,g)?l=!0:o_(t)?(l=!0,(t.tag!==null||t.anchor!==null)&&O(t,"alias node should not have any properties")):JA(t,g,Bn===r)&&(l=!0,t.tag===null&&(t.tag="?")),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):a===0&&(l=u&&Ff(t,A))),t.tag===null)t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);else if(t.tag==="?"){for(t.result!==null&&t.kind!=="scalar"&&O(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),f=0,h=t.implicitTypes.length;f<h;f+=1)if(m=t.implicitTypes[f],m.resolve(t.result)){t.result=m.construct(t.result),t.tag=m.tag,t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);break}}else if(t.tag!=="!"){if(Ut.call(t.typeMap[t.kind||"fallback"],t.tag))m=t.typeMap[t.kind||"fallback"][t.tag];else for(m=null,D=t.typeMap.multi[t.kind||"fallback"],f=0,h=D.length;f<h;f+=1)if(t.tag.slice(0,D[f].tag.length)===D[f].tag){m=D[f];break}m||O(t,"unknown tag !<"+t.tag+">"),t.result!==null&&m.kind!==t.kind&&O(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+m.kind+'", not "'+t.kind+'"'),m.resolve(t.result,t.tag)?(t.result=m.construct(t.result,t.tag),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):O(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return t.listener!==null&&t.listener("close",t),t.tag!==null||t.anchor!==null||l}function u_(t){var e=t.position,r,i,n,s=!1,o;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);(o=t.input.charCodeAt(t.position))!==0&&(le(t,!0,-1),o=t.input.charCodeAt(t.position),!(t.lineIndent>0||o!==37));){for(s=!0,o=t.input.charCodeAt(++t.position),r=t.position;o!==0&&!Te(o);)o=t.input.charCodeAt(++t.position);for(i=t.input.slice(r,t.position),n=[],i.length<1&&O(t,"directive name must not be less than one character in length");o!==0;){for(;dr(o);)o=t.input.charCodeAt(++t.position);if(o===35){do o=t.input.charCodeAt(++t.position);while(o!==0&&!rt(o));break}if(rt(o))break;for(r=t.position;o!==0&&!Te(o);)o=t.input.charCodeAt(++t.position);n.push(t.input.slice(r,t.position))}o!==0&&lu(t),Ut.call(bf,i)?bf[i](t,i,n):Ln(t,'unknown document directive "'+i+'"')}if(le(t,!0,-1),t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45?(t.position+=3,le(t,!0,-1)):s&&O(t,"directives end mark is expected"),Hr(t,t.lineIndent-1,Pn,!1,!0),le(t,!0,-1),t.checkLineBreaks&&WA.test(t.input.slice(e,t.position))&&Ln(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&kn(t)){t.input.charCodeAt(t.position)===46&&(t.position+=3,le(t,!0,-1));return}if(t.position<t.length-1)O(t,"end of the stream or a document separator is expected");else return}function ch(t,e){t=String(t),e=e||{},t.length!==0&&(t.charCodeAt(t.length-1)!==10&&t.charCodeAt(t.length-1)!==13&&(t+=`
|
37
|
+
`),t.charCodeAt(0)===65279&&(t=t.slice(1)));var r=new ZA(t,e),i=t.indexOf("\0");for(i!==-1&&(r.position=i,O(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)u_(r);return r.documents}function a_(t,e,r){e!==null&&typeof e=="object"&&typeof r=="undefined"&&(r=e,e=null);var i=ch(t,r);if(typeof e!="function")return i;for(var n=0,s=i.length;n<s;n+=1)e(i[n])}function c_(t,e){var r=ch(t,e);if(r.length!==0){if(r.length===1)return r[0];throw new Re("expected a single document in the stream, but found more")}}var l_=a_,f_=c_,lh={loadAll:l_,load:f_},fh=Object.prototype.toString,hh=Object.prototype.hasOwnProperty,hu=65279,h_=9,qi=10,p_=13,d_=32,m_=33,g_=34,nu=35,E_=37,D_=38,y_=39,A_=42,ph=44,__=45,In=58,S_=61,C_=62,b_=63,w_=64,dh=91,mh=93,F_=96,gh=123,x_=124,Eh=125,ye={};ye[0]="\\0";ye[7]="\\a";ye[8]="\\b";ye[9]="\\t";ye[10]="\\n";ye[11]="\\v";ye[12]="\\f";ye[13]="\\r";ye[27]="\\e";ye[34]='\\"';ye[92]="\\\\";ye[133]="\\N";ye[160]="\\_";ye[8232]="\\L";ye[8233]="\\P";var v_=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],R_=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function T_(t,e){var r,i,n,s,o,u,a;if(e===null)return{};for(r={},i=Object.keys(e),n=0,s=i.length;n<s;n+=1)o=i[n],u=String(e[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),a=t.compiledTypeMap.fallback[o],a&&hh.call(a.styleAliases,u)&&(u=a.styleAliases[u]),r[o]=u;return r}function O_(t){var e,r,i;if(e=t.toString(16).toUpperCase(),t<=255)r="x",i=2;else if(t<=65535)r="u",i=4;else if(t<=4294967295)r="U",i=8;else throw new Re("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+he.repeat("0",i-e.length)+e}var B_=1,Hi=2;function P_(t){this.schema=t.schema||cu,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=he.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=T_(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType=t.quotingType==='"'?Hi:B_,this.forceQuotes=t.forceQuotes||!1,this.replacer=typeof t.replacer=="function"?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function xf(t,e){for(var r=he.repeat(" ",e),i=0,n=-1,s="",o,u=t.length;i<u;)n=t.indexOf(`
|
38
|
+
`,i),n===-1?(o=t.slice(i),i=u):(o=t.slice(i,n+1),i=n+1),o.length&&o!==`
|
39
|
+
`&&(s+=r),s+=o;return s}function su(t,e){return`
|
40
|
+
`+he.repeat(" ",t.indent*e)}function L_(t,e){var r,i,n;for(r=0,i=t.implicitTypes.length;r<i;r+=1)if(n=t.implicitTypes[r],n.resolve(e))return!0;return!1}function Nn(t){return t===d_||t===h_}function $i(t){return 32<=t&&t<=126||161<=t&&t<=55295&&t!==8232&&t!==8233||57344<=t&&t<=65533&&t!==hu||65536<=t&&t<=1114111}function vf(t){return $i(t)&&t!==hu&&t!==p_&&t!==qi}function Rf(t,e,r){var i=vf(t),n=i&&!Nn(t);return(r?i:i&&t!==ph&&t!==dh&&t!==mh&&t!==gh&&t!==Eh)&&t!==nu&&!(e===In&&!n)||vf(e)&&!Nn(e)&&t===nu||e===In&&n}function I_(t){return $i(t)&&t!==hu&&!Nn(t)&&t!==__&&t!==b_&&t!==In&&t!==ph&&t!==dh&&t!==mh&&t!==gh&&t!==Eh&&t!==nu&&t!==D_&&t!==A_&&t!==m_&&t!==x_&&t!==S_&&t!==C_&&t!==y_&&t!==g_&&t!==E_&&t!==w_&&t!==F_}function N_(t){return!Nn(t)&&t!==In}function ki(t,e){var r=t.charCodeAt(e),i;return r>=55296&&r<=56319&&e+1<t.length&&(i=t.charCodeAt(e+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function Dh(t){var e=/^\n* /;return e.test(t)}var yh=1,ou=2,Ah=3,_h=4,kr=5;function k_(t,e,r,i,n,s,o,u){var a,c=0,l=null,f=!1,h=!1,D=i!==-1,m=-1,g=I_(ki(t,0))&&N_(ki(t,t.length-1));if(e||o)for(a=0;a<t.length;c>=65536?a+=2:a++){if(c=ki(t,a),!$i(c))return kr;g=g&&Rf(c,l,u),l=c}else{for(a=0;a<t.length;c>=65536?a+=2:a++){if(c=ki(t,a),c===qi)f=!0,D&&(h=h||a-m-1>i&&t[m+1]!==" ",m=a);else if(!$i(c))return kr;g=g&&Rf(c,l,u),l=c}h=h||D&&a-m-1>i&&t[m+1]!==" "}return!f&&!h?g&&!o&&!n(t)?yh:s===Hi?kr:ou:r>9&&Dh(t)?kr:o?s===Hi?kr:ou:h?_h:Ah}function M_(t,e,r,i,n){t.dump=function(){if(e.length===0)return t.quotingType===Hi?'""':"''";if(!t.noCompatMode&&(v_.indexOf(e)!==-1||R_.test(e)))return t.quotingType===Hi?'"'+e+'"':"'"+e+"'";var s=t.indent*Math.max(1,r),o=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-s),u=i||t.flowLevel>-1&&r>=t.flowLevel;function a(c){return L_(t,c)}switch(k_(e,u,t.indent,o,a,t.quotingType,t.forceQuotes&&!i,n)){case yh:return e;case ou:return"'"+e.replace(/'/g,"''")+"'";case Ah:return"|"+Tf(e,t.indent)+Of(xf(e,s));case _h:return">"+Tf(e,t.indent)+Of(xf(q_(e,o),s));case kr:return'"'+H_(e)+'"';default:throw new Re("impossible error: invalid scalar style")}}()}function Tf(t,e){var r=Dh(t)?String(e):"",i=t[t.length-1]===`
|
41
|
+
`,n=i&&(t[t.length-2]===`
|
42
|
+
`||t===`
|
43
|
+
`),s=n?"+":i?"":"-";return r+s+`
|
44
|
+
`}function Of(t){return t[t.length-1]===`
|
45
|
+
`?t.slice(0,-1):t}function q_(t,e){for(var r=/(\n+)([^\n]*)/g,i=function(){var c=t.indexOf(`
|
46
|
+
`);return c=c!==-1?c:t.length,r.lastIndex=c,Bf(t.slice(0,c),e)}(),n=t[0]===`
|
47
|
+
`||t[0]===" ",s,o;o=r.exec(t);){var u=o[1],a=o[2];s=a[0]===" ",i+=u+(!n&&!s&&a!==""?`
|
48
|
+
`:"")+Bf(a,e),n=s}return i}function Bf(t,e){if(t===""||t[0]===" ")return t;for(var r=/ [^ ]/g,i,n=0,s,o=0,u=0,a="";i=r.exec(t);)u=i.index,u-n>e&&(s=o>n?o:u,a+=`
|
49
|
+
`+t.slice(n,s),n=s+1),o=u;return a+=`
|
50
|
+
`,t.length-n>e&&o>n?a+=t.slice(n,o)+`
|
51
|
+
`+t.slice(o+1):a+=t.slice(n),a.slice(1)}function H_(t){for(var e="",r=0,i,n=0;n<t.length;r>=65536?n+=2:n++)r=ki(t,n),i=ye[r],!i&&$i(r)?(e+=t[n],r>=65536&&(e+=t[n+1])):e+=i||O_(r);return e}function $_(t,e,r){var i="",n=t.tag,s,o,u;for(s=0,o=r.length;s<o;s+=1)u=r[s],t.replacer&&(u=t.replacer.call(r,String(s),u)),(Ct(t,e,u,!1,!1)||typeof u=="undefined"&&Ct(t,e,null,!1,!1))&&(i!==""&&(i+=","+(t.condenseFlow?"":" ")),i+=t.dump);t.tag=n,t.dump="["+i+"]"}function Pf(t,e,r,i){var n="",s=t.tag,o,u,a;for(o=0,u=r.length;o<u;o+=1)a=r[o],t.replacer&&(a=t.replacer.call(r,String(o),a)),(Ct(t,e+1,a,!0,!0,!1,!0)||typeof a=="undefined"&&Ct(t,e+1,null,!0,!0,!1,!0))&&((!i||n!=="")&&(n+=su(t,e)),t.dump&&qi===t.dump.charCodeAt(0)?n+="-":n+="- ",n+=t.dump);t.tag=s,t.dump=n||"[]"}function U_(t,e,r){var i="",n=t.tag,s=Object.keys(r),o,u,a,c,l;for(o=0,u=s.length;o<u;o+=1)l="",i!==""&&(l+=", "),t.condenseFlow&&(l+='"'),a=s[o],c=r[a],t.replacer&&(c=t.replacer.call(r,a,c)),Ct(t,e,a,!1,!1)&&(t.dump.length>1024&&(l+="? "),l+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),Ct(t,e,c,!1,!1)&&(l+=t.dump,i+=l));t.tag=n,t.dump="{"+i+"}"}function G_(t,e,r,i){var n="",s=t.tag,o=Object.keys(r),u,a,c,l,f,h;if(t.sortKeys===!0)o.sort();else if(typeof t.sortKeys=="function")o.sort(t.sortKeys);else if(t.sortKeys)throw new Re("sortKeys must be a boolean or a function");for(u=0,a=o.length;u<a;u+=1)h="",(!i||n!=="")&&(h+=su(t,e)),c=o[u],l=r[c],t.replacer&&(l=t.replacer.call(r,c,l)),Ct(t,e+1,c,!0,!0,!0)&&(f=t.tag!==null&&t.tag!=="?"||t.dump&&t.dump.length>1024,f&&(t.dump&&qi===t.dump.charCodeAt(0)?h+="?":h+="? "),h+=t.dump,f&&(h+=su(t,e)),Ct(t,e+1,l,!0,f)&&(t.dump&&qi===t.dump.charCodeAt(0)?h+=":":h+=": ",h+=t.dump,n+=h));t.tag=s,t.dump=n||"{}"}function Lf(t,e,r){var i,n,s,o,u,a;for(n=r?t.explicitTypes:t.implicitTypes,s=0,o=n.length;s<o;s+=1)if(u=n[s],(u.instanceOf||u.predicate)&&(!u.instanceOf||typeof e=="object"&&e instanceof u.instanceOf)&&(!u.predicate||u.predicate(e))){if(r?u.multi&&u.representName?t.tag=u.representName(e):t.tag=u.tag:t.tag="?",u.represent){if(a=t.styleMap[u.tag]||u.defaultStyle,fh.call(u.represent)==="[object Function]")i=u.represent(e,a);else if(hh.call(u.represent,a))i=u.represent[a](e,a);else throw new Re("!<"+u.tag+'> tag resolver accepts not "'+a+'" style');t.dump=i}return!0}return!1}function Ct(t,e,r,i,n,s,o){t.tag=null,t.dump=r,Lf(t,r,!1)||Lf(t,r,!0);var u=fh.call(t.dump),a=i,c;i&&(i=t.flowLevel<0||t.flowLevel>e);var l=u==="[object Object]"||u==="[object Array]",f,h;if(l&&(f=t.duplicates.indexOf(r),h=f!==-1),(t.tag!==null&&t.tag!=="?"||h||t.indent!==2&&e>0)&&(n=!1),h&&t.usedDuplicates[f])t.dump="*ref_"+f;else{if(l&&h&&!t.usedDuplicates[f]&&(t.usedDuplicates[f]=!0),u==="[object Object]")i&&Object.keys(t.dump).length!==0?(G_(t,e,t.dump,n),h&&(t.dump="&ref_"+f+t.dump)):(U_(t,e,t.dump),h&&(t.dump="&ref_"+f+" "+t.dump));else if(u==="[object Array]")i&&t.dump.length!==0?(t.noArrayIndent&&!o&&e>0?Pf(t,e-1,t.dump,n):Pf(t,e,t.dump,n),h&&(t.dump="&ref_"+f+t.dump)):($_(t,e,t.dump),h&&(t.dump="&ref_"+f+" "+t.dump));else if(u==="[object String]")t.tag!=="?"&&M_(t,t.dump,e,s,a);else{if(u==="[object Undefined]")return!1;if(t.skipInvalid)return!1;throw new Re("unacceptable kind of an object to dump "+u)}t.tag!==null&&t.tag!=="?"&&(c=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21"),t.tag[0]==="!"?c="!"+c:c.slice(0,18)==="tag:yaml.org,2002:"?c="!!"+c.slice(18):c="!<"+c+">",t.dump=c+" "+t.dump)}return!0}function j_(t,e){var r=[],i=[],n,s;for(uu(t,r,i),n=0,s=i.length;n<s;n+=1)e.duplicates.push(r[i[n]]);e.usedDuplicates=new Array(s)}function uu(t,e,r){var i,n,s;if(t!==null&&typeof t=="object")if(n=e.indexOf(t),n!==-1)r.indexOf(n)===-1&&r.push(n);else if(e.push(t),Array.isArray(t))for(n=0,s=t.length;n<s;n+=1)uu(t[n],e,r);else for(i=Object.keys(t),n=0,s=i.length;n<s;n+=1)uu(t[i[n]],e,r)}function W_(t,e){e=e||{};var r=new P_(e);r.noRefs||j_(t,r);var i=t;return r.replacer&&(i=r.replacer.call({"":i},"",i)),Ct(r,0,i,!0,!0)?r.dump+`
|
52
|
+
`:""}var z_=W_,Y_={dump:z_};function pu(t,e){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}var K_=De,V_=kf,X_=$f,Z_=zf,J_=Yf,Q_=cu,eS=lh.load,tS=lh.loadAll,rS=Y_.dump,iS=Re,nS={binary:Jf,float:Wf,map:Hf,null:Uf,pairs:eh,set:th,timestamp:Xf,bool:Gf,int:jf,merge:Zf,omap:Qf,seq:qf,str:Mf},sS=pu("safeLoad","load"),oS=pu("safeLoadAll","loadAll"),uS=pu("safeDump","dump"),aS={Type:K_,Schema:V_,FAILSAFE_SCHEMA:X_,JSON_SCHEMA:Z_,CORE_SCHEMA:J_,DEFAULT_SCHEMA:Q_,load:eS,loadAll:tS,dump:rS,YAMLException:iS,types:nS,safeLoad:sS,safeLoadAll:oS,safeDump:uS},Sh=aS;var Dm=Y(cm());var We={};cf(We,{bold:()=>dw,dimmed:()=>mw,error:()=>Em,info:()=>pw,item:()=>gw,log:()=>Qr,turboBlue:()=>Zr,turboGradient:()=>hw,turboLoader:()=>gm,turboRed:()=>dm,warn:()=>Va,yellow:()=>mm});var Jr=Y(require("chalk")),lm=Y(require("ora")),fm=Y(require("gradient-string")),hm="#0099F7",pm="#F11712",fw="#FFFF00",hw=(0,fm.default)(hm,pm),Zr=Jr.default.hex(hm),dm=Jr.default.hex(pm),mm=Jr.default.hex(fw),gm=t=>(0,lm.default)({text:t,spinner:{frames:[" ",Zr("> "),Zr(">> "),Zr(">>>")]}}),pw=(...t)=>{Qr(Zr.bold(">>>"),...t)},dw=(...t)=>{Qr(Jr.default.bold(...t))},mw=(...t)=>{Qr(Jr.default.dim(...t))},gw=(...t)=>{Qr(Zr.bold(" \u2022"),...t)},Qr=(...t)=>{console.log(...t)},Va=(...t)=>{console.error(mm.bold(">>>"),...t)},Em=(...t)=>{console.error(dm.bold(">>>"),...t)};var Ew="turbo.json";var Xa={};function Dw(t){try{if(zi.default.existsSync(Ar.default.join(t,"pnpm-workspace.yaml")))return Sh.load(zi.default.readFileSync(Ar.default.join(t,"pnpm-workspace.yaml"),"utf8")).packages||[];let e=JSON.parse(zi.default.readFileSync(Ar.default.join(t,"package.json"),"utf8"));if(e.workspaces){if("packages"in e.workspaces)return e.workspaces.packages||[];if(Array.isArray(e.workspaces))return e.workspaces}return[]}catch{return[]}}function Za(t,e){var s;let r=Qo(t,e),i=[],n=(s=e==null?void 0:e.cache)!=null?s:!0;if(n&&t&&t in Xa)return Xa[t];if(r){let u=Dw(r).map(c=>`${c}/turbo.json`);(0,Dm.sync)([Ew,...u],{cwd:r,onlyFiles:!0,followSymbolicLinks:!1,suppressErrors:!0}).map(c=>Ar.default.join(r,c)).forEach(c=>{try{let l=zi.default.readFileSync(c,"utf8"),f=On.parse(l),h=Ar.default.dirname(c)===r;if(h){if("extends"in f)return}else if(!("extends"in f))return;i.push({config:f,turboConfigPath:c,workspacePath:Ar.default.dirname(c),isRootConfig:h})}catch(l){Va(l)}})}return n&&t&&(Xa[t]=i),i}var hx=Y(require("os")),px=Y(tg());var dx=Y(require("fs-extra"));var mx=Y(require("path")),gx=Y(require("fs-extra")),Ex=Y(require("chalk"));var ey=require("stream"),ty=require("util"),QR=require("path"),eT=require("os"),ry=require("fs"),tT=Y(QD());var cP=(0,ty.promisify)(ey.Stream.pipeline);var iy=require("fs-extra");var fT=Y(require("path")),hT=Y(ly()),pT=Y(require("chalk")),rf=require("fs-extra");var Lo=Y(require("chalk"));var tt=Y(require("chalk")),Oi=class{constructor(e){this.transform=e.transformer,this.dry=e.dry}_log(...e){console.log(...e)}modified(...e){this._log(tt.default.green(" MODIFIED "),...e,this.dry?tt.default.dim("(dry run)"):"")}unchanged(...e){this._log(tt.default.gray(" UNCHANGED "),...e,this.dry?tt.default.dim("(dry run)"):"")}skipped(...e){this._log(tt.default.yellow(" SKIPPED "),...e,this.dry?tt.default.dim("(dry run)"):"")}error(...e){this._log(tt.default.red(" ERROR "),...e,this.dry?tt.default.dim("(dry run)"):"")}info(...e){this._log(tt.default.bold(" INFO "),...e,this.dry?tt.default.dim("(dry run)"):"")}};var fy=Y(require("os")),nf=Y(require("path"));var Oo=Y(require("chalk")),Po=require("diff"),ar=require("fs-extra"),Bo=class{constructor(e){this.changes=[];if(this.filePath=e.filePath,this.rootPath=e.rootPath,this.after=e.after,this.error=e.error,e.before===void 0)try{nf.default.extname(e.filePath)===".json"?this.before=(0,ar.readJsonSync)(e.filePath):this.before=(0,ar.readFileSync)(e.filePath)}catch{this.before=""}else e.before===null?this.before="":this.before=e.before;e.after?typeof this.before=="object"||typeof e.after=="object"?this.changes=(0,Po.diffJson)(this.before,e.after):this.changes=(0,Po.diffLines)(this.before,e.after):this.changes=[]}fileName(){return nf.default.relative(this.rootPath,this.filePath)}write(){this.after&&(typeof this.after=="object"?(0,ar.writeJsonSync)(this.filePath,this.after,{spaces:2}):(0,ar.writeFileSync)(this.filePath,this.after))}additions(){return this.changes.filter(e=>e.added).length}deletions(){return this.changes.filter(e=>e.removed).length}hasChanges(){return this.additions()>0||this.deletions()>0}log(e){e.diff?(this.changes.forEach(r=>{r.added?process.stdout.write(Oo.default.green(r.value)):r.removed?process.stdout.write(Oo.default.red(r.value)):process.stdout.write(Oo.default.dim(r.value))}),We.log(fy.default.EOL)):We.log(this.after)}};var yn=class{constructor(e){this.modifications={};this.transform=e.transformer,this.rootPath=e.rootPath,this.dry=e.dry,this.print=e.print,this.logger=new Oi(e)}abortTransform(e){return this.logger.error(e.reason),{fatalError:new Error(e.reason),changes:e.changes||{}}}modifyFile(e){this.modifications[e.filePath]=new Bo({rootPath:this.rootPath,...e})}finish(){let e={changes:{}};return Object.keys(this.modifications).forEach(i=>{let n=this.modifications[i],s={action:"unchanged",additions:n.additions(),deletions:n.deletions()};if(n.hasChanges()){if(this.dry)s.action="skipped",this.logger.skipped(Lo.default.dim(n.fileName()));else try{n.write(),s.action="modified",this.logger.modified(Lo.default.bold(n.fileName()))}catch(o){let u="Unknown error";o instanceof Error&&(u=o.message),s.error=new Error(u),s.action="error",this.logger.error(n.fileName(),u)}this.print&&n.log({diff:!0})}else this.logger.unchanged(Lo.default.dim(n.fileName()));e.changes[n.fileName()]=s}),Object.keys(e.changes).some(i=>e.changes[i].action==="error")?this.abortTransform({reason:"Encountered an error while transforming files",changes:e.changes}):e}static logResults(e){let r=Object.keys(e.changes);if(We.log(),r.length>0){We.bold("Results:");let i={};r.forEach(n=>{var o;let s=e.changes[n];i[n]={action:s.action,additions:s.additions,deletions:s.deletions,error:((o=s.error)==null?void 0:o.message)||"None"}}),console.table(i),We.log()}}};function hy({transformer:t,rootPath:e,options:r}){let i={transformer:t,rootPath:e,...r},n=new Oi(i),s=new yn(i);return{log:n,runner:s}}var py="migrate-env-var-dependencies",dT='Migrate environment variable dependencies from "dependsOn" to "env" in `turbo.json`',mT="1.5.0";function of(t){let r=["extends"in t?[]:t.globalDependencies,Object.values(t.pipeline).flatMap(i=>{var n;return(n=i.dependsOn)!=null?n:[]})].flat().filter(i=>i==null?void 0:i.startsWith("$"));return{hasKeys:!!r.length,envVars:r}}function af({env:t,deps:e}){let r=new Set(t),i=[];return e==null||e.forEach(n=>{n.startsWith("$")?r.add(n.slice(1)):i.push(n)}),r.size?{deps:i,env:Array.from(r)}:{env:t,deps:e}}function dy(t){let{deps:e,env:r}=af({env:t.env,deps:t.dependsOn}),i={...t};return e?i.dependsOn=e:delete i.dependsOn,r!=null&&r.length?i.env=r:delete i.env,i}function my(t){if("extends"in t)return t;let{deps:e,env:r}=af({env:t.globalEnv,deps:t.globalDependencies}),i={...t};return e!=null&&e.length?i.globalDependencies=e:delete i.globalDependencies,r!=null&&r.length?i.globalEnv=r:delete i.globalEnv,i}function uf(t){let e=my(t);return Object.keys(t.pipeline).forEach(r=>{if(t.pipeline,r in t.pipeline){let i=e.pipeline[r];e.pipeline[r]={...i,...dy(i)}}}),e}function gy({root:t,options:e}){let{log:r,runner:i}=hy({transformer:py,rootPath:t,options:e});r.info('Migrating environment variable dependencies from "globalDependencies" and "dependsOn" to "env" in "turbo.json"...');let n=sf.default.join(t,"package.json"),s={};try{s=(0,An.readJsonSync)(n)}catch{}if("turbo"in s)return i.abortTransform({reason:'"turbo" key detected in package.json. Run `npx @turbo/codemod transform create-turbo-config` first'});let o=sf.default.join(t,"turbo.json");if(!(0,An.existsSync)(o))return i.abortTransform({reason:`No turbo.json found at ${t}. Is the path correct?`});let u=(0,An.readJsonSync)(o);return of(u).hasKeys&&(u=uf(u)),i.modifyFile({filePath:o,after:u}),Za(t).forEach(c=>{let{config:l,turboConfigPath:f}=c;of(l).hasKeys&&i.modifyFile({filePath:f,after:uf(l)})}),i.finish()}var gT={name:py,description:dT,introducedIn:mT,transformer:gy},ET=gT;0&&(module.exports={hasLegacyEnvVarDependencies,migrateConfig,migrateDependencies,migrateGlobal,migratePipeline,transformer});
|
53
|
+
/*! Bundled license information:
|
10
54
|
|
11
|
-
|
12
|
-
`,finalEOL:u=!0,replacer:r=null,spaces:e}={}){let f=u?p:"";return JSON.stringify(i,r,e).replace(/\n/g,p)+f}function s(i){return Buffer.isBuffer(i)&&(i=i.toString("utf8")),i.replace(/^\uFEFF/,"")}l.exports={stringify:n,stripBom:s}}),Zo=N((t,l)=>{B();var n;try{n=Ct()}catch{n=Z("fs")}var s=Wt(),{stringify:i,stripBom:p}=Dr();async function u(d,h={}){typeof h=="string"&&(h={encoding:h});let y=h.fs||n,b="throws"in h?h.throws:!0,E=await s.fromCallback(y.readFile)(d,h);E=p(E);let g;try{g=JSON.parse(E,h?h.reviver:null)}catch(D){if(b)throw D.message=`${d}: ${D.message}`,D;return null}return g}var r=s.fromPromise(u);function e(d,h={}){typeof h=="string"&&(h={encoding:h});let y=h.fs||n,b="throws"in h?h.throws:!0;try{let E=y.readFileSync(d,h);return E=p(E),JSON.parse(E,h.reviver)}catch(E){if(b)throw E.message=`${d}: ${E.message}`,E;return null}}async function f(d,h,y={}){let b=y.fs||n,E=i(h,y);await s.fromCallback(b.writeFile)(d,E,y)}var a=s.fromPromise(f);function c(d,h,y={}){let b=y.fs||n,E=i(h,y);return b.writeFileSync(d,E,y)}var o={readFile:r,readFileSync:e,writeFile:a,writeFileSync:c};l.exports=o}),Xo=N((t,l)=>{"use strict";B();var n=Zo();l.exports={readJson:n.readFile,readJsonSync:n.readFileSync,writeJson:n.writeFile,writeJsonSync:n.writeFileSync}}),Sr=N((t,l)=>{"use strict";B();var n=Wt().fromCallback,s=Ct(),i=Z("path"),p=Xt(),u=de().pathExists;function r(f,a,c,o){typeof c=="function"&&(o=c,c="utf8");let d=i.dirname(f);u(d,(h,y)=>{if(h)return o(h);if(y)return s.writeFile(f,a,c,o);p.mkdirs(d,b=>{if(b)return o(b);s.writeFile(f,a,c,o)})})}function e(f,...a){let c=i.dirname(f);if(s.existsSync(c))return s.writeFileSync(f,...a);p.mkdirsSync(c),s.writeFileSync(f,...a)}l.exports={outputFile:n(r),outputFileSync:e}}),Qo=N((t,l)=>{"use strict";B();var{stringify:n}=Dr(),{outputFile:s}=Sr();async function i(p,u,r={}){let e=n(u,r);await s(p,e,r)}l.exports=i}),tu=N((t,l)=>{"use strict";B();var{stringify:n}=Dr(),{outputFileSync:s}=Sr();function i(p,u,r){let e=n(u,r);s(p,e,r)}l.exports=i}),eu=N((t,l)=>{"use strict";B();var n=Wt().fromPromise,s=Xo();s.outputJson=n(Qo()),s.outputJsonSync=tu(),s.outputJSON=s.outputJson,s.outputJSONSync=s.outputJsonSync,s.writeJSON=s.writeJson,s.writeJSONSync=s.writeJsonSync,s.readJSON=s.readJson,s.readJSONSync=s.readJsonSync,l.exports=s}),ru=N((t,l)=>{"use strict";B();var n=Ct(),s=Z("path"),i=wr().copy,p=Qe().remove,u=Xt().mkdirp,r=de().pathExists,e=_e();function f(h,y,b,E){typeof b=="function"&&(E=b,b={}),b=b||{};let g=b.overwrite||b.clobber||!1;e.checkPaths(h,y,"move",b,(D,w)=>{if(D)return E(D);let{srcStat:v,isChangingCase:m=!1}=w;e.checkParentPaths(h,v,y,"move",_=>{if(_)return E(_);if(a(y))return c(h,y,g,m,E);u(s.dirname(y),S=>S?E(S):c(h,y,g,m,E))})})}function a(h){let y=s.dirname(h);return s.parse(y).root===y}function c(h,y,b,E,g){if(E)return o(h,y,b,g);if(b)return p(y,D=>D?g(D):o(h,y,b,g));r(y,(D,w)=>D?g(D):w?g(new Error("dest already exists.")):o(h,y,b,g))}function o(h,y,b,E){n.rename(h,y,g=>g?g.code!=="EXDEV"?E(g):d(h,y,b,E):E())}function d(h,y,b,E){i(h,y,{overwrite:b,errorOnExist:!0,preserveTimestamps:!0},g=>g?E(g):p(h,E))}l.exports=f}),nu=N((t,l)=>{"use strict";B();var n=Ct(),s=Z("path"),i=wr().copySync,p=Qe().removeSync,u=Xt().mkdirpSync,r=_e();function e(d,h,y){y=y||{};let b=y.overwrite||y.clobber||!1,{srcStat:E,isChangingCase:g=!1}=r.checkPathsSync(d,h,"move",y);return r.checkParentPathsSync(d,E,h,"move"),f(h)||u(s.dirname(h)),a(d,h,b,g)}function f(d){let h=s.dirname(d);return s.parse(h).root===h}function a(d,h,y,b){if(b)return c(d,h,y);if(y)return p(h),c(d,h,y);if(n.existsSync(h))throw new Error("dest already exists.");return c(d,h,y)}function c(d,h,y){try{n.renameSync(d,h)}catch(b){if(b.code!=="EXDEV")throw b;return o(d,h,y)}}function o(d,h,y){return i(d,h,{overwrite:y,errorOnExist:!0,preserveTimestamps:!0}),p(d)}l.exports=e}),iu=N((t,l)=>{"use strict";B();var n=Wt().fromCallback;l.exports={move:n(ru()),moveSync:nu()}}),oe=N((t,l)=>{"use strict";B(),l.exports={...Ee(),...wr(),...Go(),...Jo(),...eu(),...Xt(),...iu(),...Sr(),...de(),...Qe()}});B();var ed=Ot(oe());B();var ud=Ot(oe()),ad=Ot(pe());B();var ni=require("stream"),ii=require("util");var Oe=N((t,l)=>{"use strict";B();var n=new Map([["C","cwd"],["f","file"],["z","gzip"],["P","preservePaths"],["U","unlink"],["strip-components","strip"],["stripComponents","strip"],["keep-newer","newer"],["keepNewer","newer"],["keep-newer-files","newer"],["keepNewerFiles","newer"],["k","keep"],["keep-existing","keep"],["keepExisting","keep"],["m","noMtime"],["no-mtime","noMtime"],["p","preserveOwner"],["L","follow"],["h","follow"]]);l.exports=s=>s?Object.keys(s).map(i=>[n.has(i)?n.get(i):i,s[i]]).reduce((i,p)=>(i[p[0]]=p[1],i),Object.create(null)):{}}),Ar=N((t,l)=>{"use strict";B();var n=typeof process=="object"&&process?process:{stdout:null,stderr:null},s=Z("events"),i=Z("stream"),p=Z("string_decoder").StringDecoder,u=Symbol("EOF"),r=Symbol("maybeEmitEnd"),e=Symbol("emittedEnd"),f=Symbol("emittingEnd"),a=Symbol("emittedError"),c=Symbol("closed"),o=Symbol("read"),d=Symbol("flush"),h=Symbol("flushChunk"),y=Symbol("encoding"),b=Symbol("decoder"),E=Symbol("flowing"),g=Symbol("paused"),D=Symbol("resume"),w=Symbol("buffer"),v=Symbol("pipes"),m=Symbol("bufferLength"),_=Symbol("bufferPush"),S=Symbol("bufferShift"),A=Symbol("objectMode"),x=Symbol("destroyed"),L=Symbol("emitData"),T=Symbol("emitEnd"),F=Symbol("emitEnd2"),O=Symbol("async"),I=J=>Promise.resolve().then(J),$=global._MP_NO_ITERATOR_SYMBOLS_!=="1",R=$&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),q=$&&Symbol.iterator||Symbol("iterator not implemented"),W=J=>J==="end"||J==="finish"||J==="prefinish",Q=J=>J instanceof ArrayBuffer||typeof J=="object"&&J.constructor&&J.constructor.name==="ArrayBuffer"&&J.byteLength>=0,P=J=>!Buffer.isBuffer(J)&&ArrayBuffer.isView(J),j=class{constructor(J,G,tt){this.src=J,this.dest=G,this.opts=tt,this.ondrain=()=>J[D](),G.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},k=class extends j{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(J,G,tt){super(J,G,tt),this.proxyErrors=M=>G.emit("error",M),J.on("error",this.proxyErrors)}};l.exports=class Bn extends i{constructor(G){super(),this[E]=!1,this[g]=!1,this[v]=[],this[w]=[],this[A]=G&&G.objectMode||!1,this[A]?this[y]=null:this[y]=G&&G.encoding||null,this[y]==="buffer"&&(this[y]=null),this[O]=G&&!!G.async||!1,this[b]=this[y]?new p(this[y]):null,this[u]=!1,this[e]=!1,this[f]=!1,this[c]=!1,this[a]=null,this.writable=!0,this.readable=!0,this[m]=0,this[x]=!1,G&&G.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[w]}),G&&G.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[v]})}get bufferLength(){return this[m]}get encoding(){return this[y]}set encoding(G){if(this[A])throw new Error("cannot set encoding in objectMode");if(this[y]&&G!==this[y]&&(this[b]&&this[b].lastNeed||this[m]))throw new Error("cannot change encoding");this[y]!==G&&(this[b]=G?new p(G):null,this[w].length&&(this[w]=this[w].map(tt=>this[b].write(tt)))),this[y]=G}setEncoding(G){this.encoding=G}get objectMode(){return this[A]}set objectMode(G){this[A]=this[A]||!!G}get async(){return this[O]}set async(G){this[O]=this[O]||!!G}write(G,tt,M){if(this[u])throw new Error("write after end");if(this[x])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof tt=="function"&&(M=tt,tt="utf8"),tt||(tt="utf8");let K=this[O]?I:et=>et();return!this[A]&&!Buffer.isBuffer(G)&&(P(G)?G=Buffer.from(G.buffer,G.byteOffset,G.byteLength):Q(G)?G=Buffer.from(G):typeof G!="string"&&(this.objectMode=!0)),this[A]?(this.flowing&&this[m]!==0&&this[d](!0),this.flowing?this.emit("data",G):this[_](G),this[m]!==0&&this.emit("readable"),M&&K(M),this.flowing):G.length?(typeof G=="string"&&!(tt===this[y]&&!this[b].lastNeed)&&(G=Buffer.from(G,tt)),Buffer.isBuffer(G)&&this[y]&&(G=this[b].write(G)),this.flowing&&this[m]!==0&&this[d](!0),this.flowing?this.emit("data",G):this[_](G),this[m]!==0&&this.emit("readable"),M&&K(M),this.flowing):(this[m]!==0&&this.emit("readable"),M&&K(M),this.flowing)}read(G){if(this[x])return null;if(this[m]===0||G===0||G>this[m])return this[r](),null;this[A]&&(G=null),this[w].length>1&&!this[A]&&(this.encoding?this[w]=[this[w].join("")]:this[w]=[Buffer.concat(this[w],this[m])]);let tt=this[o](G||null,this[w][0]);return this[r](),tt}[o](G,tt){return G===tt.length||G===null?this[S]():(this[w][0]=tt.slice(G),tt=tt.slice(0,G),this[m]-=G),this.emit("data",tt),!this[w].length&&!this[u]&&this.emit("drain"),tt}end(G,tt,M){return typeof G=="function"&&(M=G,G=null),typeof tt=="function"&&(M=tt,tt="utf8"),G&&this.write(G,tt),M&&this.once("end",M),this[u]=!0,this.writable=!1,(this.flowing||!this[g])&&this[r](),this}[D](){this[x]||(this[g]=!1,this[E]=!0,this.emit("resume"),this[w].length?this[d]():this[u]?this[r]():this.emit("drain"))}resume(){return this[D]()}pause(){this[E]=!1,this[g]=!0}get destroyed(){return this[x]}get flowing(){return this[E]}get paused(){return this[g]}[_](G){this[A]?this[m]+=1:this[m]+=G.length,this[w].push(G)}[S](){return this[w].length&&(this[A]?this[m]-=1:this[m]-=this[w][0].length),this[w].shift()}[d](G){do;while(this[h](this[S]()));!G&&!this[w].length&&!this[u]&&this.emit("drain")}[h](G){return G?(this.emit("data",G),this.flowing):!1}pipe(G,tt){if(this[x])return;let M=this[e];return tt=tt||{},G===n.stdout||G===n.stderr?tt.end=!1:tt.end=tt.end!==!1,tt.proxyErrors=!!tt.proxyErrors,M?tt.end&&G.end():(this[v].push(tt.proxyErrors?new k(this,G,tt):new j(this,G,tt)),this[O]?I(()=>this[D]()):this[D]()),G}unpipe(G){let tt=this[v].find(M=>M.dest===G);tt&&(this[v].splice(this[v].indexOf(tt),1),tt.unpipe())}addListener(G,tt){return this.on(G,tt)}on(G,tt){let M=super.on(G,tt);return G==="data"&&!this[v].length&&!this.flowing?this[D]():G==="readable"&&this[m]!==0?super.emit("readable"):W(G)&&this[e]?(super.emit(G),this.removeAllListeners(G)):G==="error"&&this[a]&&(this[O]?I(()=>tt.call(this,this[a])):tt.call(this,this[a])),M}get emittedEnd(){return this[e]}[r](){!this[f]&&!this[e]&&!this[x]&&this[w].length===0&&this[u]&&(this[f]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[c]&&this.emit("close"),this[f]=!1)}emit(G,tt,...M){if(G!=="error"&&G!=="close"&&G!==x&&this[x])return;if(G==="data")return tt?this[O]?I(()=>this[L](tt)):this[L](tt):!1;if(G==="end")return this[T]();if(G==="close"){if(this[c]=!0,!this[e]&&!this[x])return;let et=super.emit("close");return this.removeAllListeners("close"),et}else if(G==="error"){this[a]=tt;let et=super.emit("error",tt);return this[r](),et}else if(G==="resume"){let et=super.emit("resume");return this[r](),et}else if(G==="finish"||G==="prefinish"){let et=super.emit(G);return this.removeAllListeners(G),et}let K=super.emit(G,tt,...M);return this[r](),K}[L](G){for(let M of this[v])M.dest.write(G)===!1&&this.pause();let tt=super.emit("data",G);return this[r](),tt}[T](){this[e]||(this[e]=!0,this.readable=!1,this[O]?I(()=>this[F]()):this[F]())}[F](){if(this[b]){let tt=this[b].end();if(tt){for(let M of this[v])M.dest.write(tt);super.emit("data",tt)}}for(let tt of this[v])tt.end();let G=super.emit("end");return this.removeAllListeners("end"),G}collect(){let G=[];this[A]||(G.dataLength=0);let tt=this.promise();return this.on("data",M=>{G.push(M),this[A]||(G.dataLength+=M.length)}),tt.then(()=>G)}concat(){return this[A]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(G=>this[A]?Promise.reject(new Error("cannot concat in objectMode")):this[y]?G.join(""):Buffer.concat(G,G.dataLength))}promise(){return new Promise((G,tt)=>{this.on(x,()=>tt(new Error("stream destroyed"))),this.on("error",M=>tt(M)),this.on("end",()=>G())})}[R](){return{next:()=>{let G=this.read();if(G!==null)return Promise.resolve({done:!1,value:G});if(this[u])return Promise.resolve({done:!0});let tt=null,M=null,K=gt=>{this.removeListener("data",et),this.removeListener("end",ot),M(gt)},et=gt=>{this.removeListener("error",K),this.removeListener("end",ot),this.pause(),tt({value:gt,done:!!this[u]})},ot=()=>{this.removeListener("error",K),this.removeListener("data",et),tt({done:!0})},ct=()=>K(new Error("stream destroyed"));return new Promise((gt,mt)=>{M=mt,tt=gt,this.once(x,ct),this.once("error",K),this.once("end",ot),this.once("data",et)})}}}[q](){return{next:()=>{let G=this.read();return{value:G,done:G===null}}}}destroy(G){return this[x]?(G?this.emit("error",G):this.emit(x),this):(this[x]=!0,this[w].length=0,this[m]=0,typeof this.close=="function"&&!this[c]&&this.close(),G?this.emit("error",G):this.emit(x),this)}static isStream(G){return!!G&&(G instanceof Bn||G instanceof i||G instanceof s&&(typeof G.pipe=="function"||typeof G.write=="function"&&typeof G.end=="function"))}}}),su=N((t,l)=>{B();var n=Z("zlib").constants||{ZLIB_VERNUM:4736};l.exports=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_VERSION_ERROR:-6,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:1/0,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},n))}),Pn=N((t,l)=>{"use strict";B();var n=typeof process=="object"&&process?process:{stdout:null,stderr:null},s=Z("events"),i=Z("stream"),p=Z("string_decoder").StringDecoder,u=Symbol("EOF"),r=Symbol("maybeEmitEnd"),e=Symbol("emittedEnd"),f=Symbol("emittingEnd"),a=Symbol("emittedError"),c=Symbol("closed"),o=Symbol("read"),d=Symbol("flush"),h=Symbol("flushChunk"),y=Symbol("encoding"),b=Symbol("decoder"),E=Symbol("flowing"),g=Symbol("paused"),D=Symbol("resume"),w=Symbol("bufferLength"),v=Symbol("bufferPush"),m=Symbol("bufferShift"),_=Symbol("objectMode"),S=Symbol("destroyed"),A=Symbol("emitData"),x=Symbol("emitEnd"),L=Symbol("emitEnd2"),T=Symbol("async"),F=j=>Promise.resolve().then(j),O=global._MP_NO_ITERATOR_SYMBOLS_!=="1",I=O&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),$=O&&Symbol.iterator||Symbol("iterator not implemented"),R=j=>j==="end"||j==="finish"||j==="prefinish",q=j=>j instanceof ArrayBuffer||typeof j=="object"&&j.constructor&&j.constructor.name==="ArrayBuffer"&&j.byteLength>=0,W=j=>!Buffer.isBuffer(j)&&ArrayBuffer.isView(j),Q=class{constructor(j,k,J){this.src=j,this.dest=k,this.opts=J,this.ondrain=()=>j[D](),k.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},P=class extends Q{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(j,k,J){super(j,k,J),this.proxyErrors=G=>k.emit("error",G),j.on("error",this.proxyErrors)}};l.exports=class Ln extends i{constructor(k){super(),this[E]=!1,this[g]=!1,this.pipes=[],this.buffer=[],this[_]=k&&k.objectMode||!1,this[_]?this[y]=null:this[y]=k&&k.encoding||null,this[y]==="buffer"&&(this[y]=null),this[T]=k&&!!k.async||!1,this[b]=this[y]?new p(this[y]):null,this[u]=!1,this[e]=!1,this[f]=!1,this[c]=!1,this[a]=null,this.writable=!0,this.readable=!0,this[w]=0,this[S]=!1}get bufferLength(){return this[w]}get encoding(){return this[y]}set encoding(k){if(this[_])throw new Error("cannot set encoding in objectMode");if(this[y]&&k!==this[y]&&(this[b]&&this[b].lastNeed||this[w]))throw new Error("cannot change encoding");this[y]!==k&&(this[b]=k?new p(k):null,this.buffer.length&&(this.buffer=this.buffer.map(J=>this[b].write(J)))),this[y]=k}setEncoding(k){this.encoding=k}get objectMode(){return this[_]}set objectMode(k){this[_]=this[_]||!!k}get async(){return this[T]}set async(k){this[T]=this[T]||!!k}write(k,J,G){if(this[u])throw new Error("write after end");if(this[S])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof J=="function"&&(G=J,J="utf8"),J||(J="utf8");let tt=this[T]?F:M=>M();return!this[_]&&!Buffer.isBuffer(k)&&(W(k)?k=Buffer.from(k.buffer,k.byteOffset,k.byteLength):q(k)?k=Buffer.from(k):typeof k!="string"&&(this.objectMode=!0)),this[_]?(this.flowing&&this[w]!==0&&this[d](!0),this.flowing?this.emit("data",k):this[v](k),this[w]!==0&&this.emit("readable"),G&&tt(G),this.flowing):k.length?(typeof k=="string"&&!(J===this[y]&&!this[b].lastNeed)&&(k=Buffer.from(k,J)),Buffer.isBuffer(k)&&this[y]&&(k=this[b].write(k)),this.flowing&&this[w]!==0&&this[d](!0),this.flowing?this.emit("data",k):this[v](k),this[w]!==0&&this.emit("readable"),G&&tt(G),this.flowing):(this[w]!==0&&this.emit("readable"),G&&tt(G),this.flowing)}read(k){if(this[S])return null;if(this[w]===0||k===0||k>this[w])return this[r](),null;this[_]&&(k=null),this.buffer.length>1&&!this[_]&&(this.encoding?this.buffer=[this.buffer.join("")]:this.buffer=[Buffer.concat(this.buffer,this[w])]);let J=this[o](k||null,this.buffer[0]);return this[r](),J}[o](k,J){return k===J.length||k===null?this[m]():(this.buffer[0]=J.slice(k),J=J.slice(0,k),this[w]-=k),this.emit("data",J),!this.buffer.length&&!this[u]&&this.emit("drain"),J}end(k,J,G){return typeof k=="function"&&(G=k,k=null),typeof J=="function"&&(G=J,J="utf8"),k&&this.write(k,J),G&&this.once("end",G),this[u]=!0,this.writable=!1,(this.flowing||!this[g])&&this[r](),this}[D](){this[S]||(this[g]=!1,this[E]=!0,this.emit("resume"),this.buffer.length?this[d]():this[u]?this[r]():this.emit("drain"))}resume(){return this[D]()}pause(){this[E]=!1,this[g]=!0}get destroyed(){return this[S]}get flowing(){return this[E]}get paused(){return this[g]}[v](k){this[_]?this[w]+=1:this[w]+=k.length,this.buffer.push(k)}[m](){return this.buffer.length&&(this[_]?this[w]-=1:this[w]-=this.buffer[0].length),this.buffer.shift()}[d](k){do;while(this[h](this[m]()));!k&&!this.buffer.length&&!this[u]&&this.emit("drain")}[h](k){return k?(this.emit("data",k),this.flowing):!1}pipe(k,J){if(this[S])return;let G=this[e];return J=J||{},k===n.stdout||k===n.stderr?J.end=!1:J.end=J.end!==!1,J.proxyErrors=!!J.proxyErrors,G?J.end&&k.end():(this.pipes.push(J.proxyErrors?new P(this,k,J):new Q(this,k,J)),this[T]?F(()=>this[D]()):this[D]()),k}unpipe(k){let J=this.pipes.find(G=>G.dest===k);J&&(this.pipes.splice(this.pipes.indexOf(J),1),J.unpipe())}addListener(k,J){return this.on(k,J)}on(k,J){let G=super.on(k,J);return k==="data"&&!this.pipes.length&&!this.flowing?this[D]():k==="readable"&&this[w]!==0?super.emit("readable"):R(k)&&this[e]?(super.emit(k),this.removeAllListeners(k)):k==="error"&&this[a]&&(this[T]?F(()=>J.call(this,this[a])):J.call(this,this[a])),G}get emittedEnd(){return this[e]}[r](){!this[f]&&!this[e]&&!this[S]&&this.buffer.length===0&&this[u]&&(this[f]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[c]&&this.emit("close"),this[f]=!1)}emit(k,J,...G){if(k!=="error"&&k!=="close"&&k!==S&&this[S])return;if(k==="data")return J?this[T]?F(()=>this[A](J)):this[A](J):!1;if(k==="end")return this[x]();if(k==="close"){if(this[c]=!0,!this[e]&&!this[S])return;let M=super.emit("close");return this.removeAllListeners("close"),M}else if(k==="error"){this[a]=J;let M=super.emit("error",J);return this[r](),M}else if(k==="resume"){let M=super.emit("resume");return this[r](),M}else if(k==="finish"||k==="prefinish"){let M=super.emit(k);return this.removeAllListeners(k),M}let tt=super.emit(k,J,...G);return this[r](),tt}[A](k){for(let G of this.pipes)G.dest.write(k)===!1&&this.pause();let J=super.emit("data",k);return this[r](),J}[x](){this[e]||(this[e]=!0,this.readable=!1,this[T]?F(()=>this[L]()):this[L]())}[L](){if(this[b]){let J=this[b].end();if(J){for(let G of this.pipes)G.dest.write(J);super.emit("data",J)}}for(let J of this.pipes)J.end();let k=super.emit("end");return this.removeAllListeners("end"),k}collect(){let k=[];this[_]||(k.dataLength=0);let J=this.promise();return this.on("data",G=>{k.push(G),this[_]||(k.dataLength+=G.length)}),J.then(()=>k)}concat(){return this[_]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(k=>this[_]?Promise.reject(new Error("cannot concat in objectMode")):this[y]?k.join(""):Buffer.concat(k,k.dataLength))}promise(){return new Promise((k,J)=>{this.on(S,()=>J(new Error("stream destroyed"))),this.on("error",G=>J(G)),this.on("end",()=>k())})}[I](){return{next:()=>{let k=this.read();if(k!==null)return Promise.resolve({done:!1,value:k});if(this[u])return Promise.resolve({done:!0});let J=null,G=null,tt=ot=>{this.removeListener("data",M),this.removeListener("end",K),G(ot)},M=ot=>{this.removeListener("error",tt),this.removeListener("end",K),this.pause(),J({value:ot,done:!!this[u]})},K=()=>{this.removeListener("error",tt),this.removeListener("data",M),J({done:!0})},et=()=>tt(new Error("stream destroyed"));return new Promise((ot,ct)=>{G=ct,J=ot,this.once(S,et),this.once("error",tt),this.once("end",K),this.once("data",M)})}}}[$](){return{next:()=>{let k=this.read();return{value:k,done:k===null}}}}destroy(k){return this[S]?(k?this.emit("error",k):this.emit(S),this):(this[S]=!0,this.buffer.length=0,this[w]=0,typeof this.close=="function"&&!this[c]&&this.close(),k?this.emit("error",k):this.emit(S),this)}static isStream(k){return!!k&&(k instanceof Ln||k instanceof i||k instanceof s&&(typeof k.pipe=="function"||typeof k.write=="function"&&typeof k.end=="function"))}}}),In=N(t=>{"use strict";B();var l=Z("assert"),n=Z("buffer").Buffer,s=Z("zlib"),i=t.constants=su(),p=Pn(),u=n.concat,r=Symbol("_superWrite"),e=class extends Error{constructor(R){super("zlib: "+R.message),this.code=R.code,this.errno=R.errno,this.code||(this.code="ZLIB_ERROR"),this.message="zlib: "+R.message,Error.captureStackTrace(this,this.constructor)}get name(){return"ZlibError"}},f=Symbol("opts"),a=Symbol("flushFlag"),c=Symbol("finishFlushFlag"),o=Symbol("fullFlushFlag"),d=Symbol("handle"),h=Symbol("onError"),y=Symbol("sawError"),b=Symbol("level"),E=Symbol("strategy"),g=Symbol("ended"),D=Symbol("_defaultFullFlush"),w=class extends p{constructor(R,q){if(!R||typeof R!="object")throw new TypeError("invalid options for ZlibBase constructor");super(R),this[y]=!1,this[g]=!1,this[f]=R,this[a]=R.flush,this[c]=R.finishFlush;try{this[d]=new s[q](R)}catch(W){throw new e(W)}this[h]=W=>{this[y]||(this[y]=!0,this.close(),this.emit("error",W))},this[d].on("error",W=>this[h](new e(W))),this.once("end",()=>this.close)}close(){this[d]&&(this[d].close(),this[d]=null,this.emit("close"))}reset(){if(!this[y])return l(this[d],"zlib binding closed"),this[d].reset()}flush(R){this.ended||(typeof R!="number"&&(R=this[o]),this.write(Object.assign(n.alloc(0),{[a]:R})))}end(R,q,W){return R&&this.write(R,q),this.flush(this[c]),this[g]=!0,super.end(null,null,W)}get ended(){return this[g]}write(R,q,W){if(typeof q=="function"&&(W=q,q="utf8"),typeof R=="string"&&(R=n.from(R,q)),this[y])return;l(this[d],"zlib binding closed");let Q=this[d]._handle,P=Q.close;Q.close=()=>{};let j=this[d].close;this[d].close=()=>{},n.concat=G=>G;let k;try{let G=typeof R[a]=="number"?R[a]:this[a];k=this[d]._processChunk(R,G),n.concat=u}catch(G){n.concat=u,this[h](new e(G))}finally{this[d]&&(this[d]._handle=Q,Q.close=P,this[d].close=j,this[d].removeAllListeners("error"))}this[d]&&this[d].on("error",G=>this[h](new e(G)));let J;if(k)if(Array.isArray(k)&&k.length>0){J=this[r](n.from(k[0]));for(let G=1;G<k.length;G++)J=this[r](k[G])}else J=this[r](n.from(k));return W&&W(),J}[r](R){return super.write(R)}},v=class extends w{constructor(R,q){R=R||{},R.flush=R.flush||i.Z_NO_FLUSH,R.finishFlush=R.finishFlush||i.Z_FINISH,super(R,q),this[o]=i.Z_FULL_FLUSH,this[b]=R.level,this[E]=R.strategy}params(R,q){if(!this[y]){if(!this[d])throw new Error("cannot switch params when binding is closed");if(!this[d].params)throw new Error("not supported in this implementation");if(this[b]!==R||this[E]!==q){this.flush(i.Z_SYNC_FLUSH),l(this[d],"zlib binding closed");let W=this[d].flush;this[d].flush=(Q,P)=>{this.flush(Q),P()};try{this[d].params(R,q)}finally{this[d].flush=W}this[d]&&(this[b]=R,this[E]=q)}}}},m=class extends v{constructor(R){super(R,"Deflate")}},_=class extends v{constructor(R){super(R,"Inflate")}},S=Symbol("_portable"),A=class extends v{constructor(R){super(R,"Gzip"),this[S]=R&&!!R.portable}[r](R){return this[S]?(this[S]=!1,R[9]=255,super[r](R)):super[r](R)}},x=class extends v{constructor(R){super(R,"Gunzip")}},L=class extends v{constructor(R){super(R,"DeflateRaw")}},T=class extends v{constructor(R){super(R,"InflateRaw")}},F=class extends v{constructor(R){super(R,"Unzip")}},O=class extends w{constructor(R,q){R=R||{},R.flush=R.flush||i.BROTLI_OPERATION_PROCESS,R.finishFlush=R.finishFlush||i.BROTLI_OPERATION_FINISH,super(R,q),this[o]=i.BROTLI_OPERATION_FLUSH}},I=class extends O{constructor(R){super(R,"BrotliCompress")}},$=class extends O{constructor(R){super(R,"BrotliDecompress")}};t.Deflate=m,t.Inflate=_,t.Gzip=A,t.Gunzip=x,t.DeflateRaw=L,t.InflateRaw=T,t.Unzip=F,typeof s.BrotliCompress=="function"?(t.BrotliCompress=I,t.BrotliDecompress=$):t.BrotliCompress=t.BrotliDecompress=class{constructor(){throw new Error("Brotli is not supported in this version of Node.js")}}}),Re=N((t,l)=>{B();var n=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform;l.exports=n!=="win32"?s=>s:s=>s&&s.replace(/\\/g,"/")}),Cr=N((t,l)=>{"use strict";B();var n=Ar(),s=Re(),i=Symbol("slurp");l.exports=class extends n{constructor(p,u,r){switch(super(),this.pause(),this.extended=u,this.globalExtended=r,this.header=p,this.startBlockSize=512*Math.ceil(p.size/512),this.blockRemain=this.startBlockSize,this.remain=p.size,this.type=p.type,this.meta=!1,this.ignore=!1,this.type){case"File":case"OldFile":case"Link":case"SymbolicLink":case"CharacterDevice":case"BlockDevice":case"Directory":case"FIFO":case"ContiguousFile":case"GNUDumpDir":break;case"NextFileHasLongLinkpath":case"NextFileHasLongPath":case"OldGnuLongPath":case"GlobalExtendedHeader":case"ExtendedHeader":case"OldExtendedHeader":this.meta=!0;break;default:this.ignore=!0}this.path=s(p.path),this.mode=p.mode,this.mode&&(this.mode=this.mode&4095),this.uid=p.uid,this.gid=p.gid,this.uname=p.uname,this.gname=p.gname,this.size=p.size,this.mtime=p.mtime,this.atime=p.atime,this.ctime=p.ctime,this.linkpath=s(p.linkpath),this.uname=p.uname,this.gname=p.gname,u&&this[i](u),r&&this[i](r,!0)}write(p){let u=p.length;if(u>this.blockRemain)throw new Error("writing more to entry than is appropriate");let r=this.remain,e=this.blockRemain;return this.remain=Math.max(0,r-u),this.blockRemain=Math.max(0,e-u),this.ignore?!0:r>=u?super.write(p):super.write(p.slice(0,r))}[i](p,u){for(let r in p)p[r]!==null&&p[r]!==void 0&&!(u&&r==="path")&&(this[r]=r==="path"||r==="linkpath"?s(p[r]):p[r])}}}),Nn=N(t=>{"use strict";B(),t.name=new Map([["0","File"],["","OldFile"],["1","Link"],["2","SymbolicLink"],["3","CharacterDevice"],["4","BlockDevice"],["5","Directory"],["6","FIFO"],["7","ContiguousFile"],["g","GlobalExtendedHeader"],["x","ExtendedHeader"],["A","SolarisACL"],["D","GNUDumpDir"],["I","Inode"],["K","NextFileHasLongLinkpath"],["L","NextFileHasLongPath"],["M","ContinuationFile"],["N","OldGnuLongPath"],["S","SparseFile"],["V","TapeVolumeHeader"],["X","OldExtendedHeader"]]),t.code=new Map(Array.from(t.name).map(l=>[l[1],l[0]]))}),ou=N((t,l)=>{"use strict";B();var n=(a,c)=>{if(Number.isSafeInteger(a))a<0?i(a,c):s(a,c);else throw Error("cannot encode number outside of javascript safe integer range");return c},s=(a,c)=>{c[0]=128;for(var o=c.length;o>1;o--)c[o-1]=a&255,a=Math.floor(a/256)},i=(a,c)=>{c[0]=255;var o=!1;a=a*-1;for(var d=c.length;d>1;d--){var h=a&255;a=Math.floor(a/256),o?c[d-1]=e(h):h===0?c[d-1]=0:(o=!0,c[d-1]=f(h))}},p=a=>{let c=a[0],o=c===128?r(a.slice(1,a.length)):c===255?u(a):null;if(o===null)throw Error("invalid base256 encoding");if(!Number.isSafeInteger(o))throw Error("parsed number outside of javascript safe integer range");return o},u=a=>{for(var c=a.length,o=0,d=!1,h=c-1;h>-1;h--){var y=a[h],b;d?b=e(y):y===0?b=y:(d=!0,b=f(y)),b!==0&&(o-=b*Math.pow(256,c-h-1))}return o},r=a=>{for(var c=a.length,o=0,d=c-1;d>-1;d--){var h=a[d];h!==0&&(o+=h*Math.pow(256,c-d-1))}return o},e=a=>(255^a)&255,f=a=>(255^a)+1&255;l.exports={encode:n,parse:p}}),Te=N((t,l)=>{"use strict";B();var n=Nn(),s=Z("path").posix,i=ou(),p=Symbol("slurp"),u=Symbol("type"),r=class{constructor(_,S,A,x){this.cksumValid=!1,this.needPax=!1,this.nullBlock=!1,this.block=null,this.path=null,this.mode=null,this.uid=null,this.gid=null,this.size=null,this.mtime=null,this.cksum=null,this[u]="0",this.linkpath=null,this.uname=null,this.gname=null,this.devmaj=0,this.devmin=0,this.atime=null,this.ctime=null,Buffer.isBuffer(_)?this.decode(_,S||0,A,x):_&&this.set(_)}decode(_,S,A,x){if(S||(S=0),!_||!(_.length>=S+512))throw new Error("need 512 bytes for header");if(this.path=f(_,S,100),this.mode=o(_,S+100,8),this.uid=o(_,S+108,8),this.gid=o(_,S+116,8),this.size=o(_,S+124,12),this.mtime=a(_,S+136,12),this.cksum=o(_,S+148,12),this[p](A),this[p](x,!0),this[u]=f(_,S+156,1),this[u]===""&&(this[u]="0"),this[u]==="0"&&this.path.slice(-1)==="/"&&(this[u]="5"),this[u]==="5"&&(this.size=0),this.linkpath=f(_,S+157,100),_.slice(S+257,S+265).toString()==="ustar\x0000")if(this.uname=f(_,S+265,32),this.gname=f(_,S+297,32),this.devmaj=o(_,S+329,8),this.devmin=o(_,S+337,8),_[S+475]!==0){let T=f(_,S+345,155);this.path=T+"/"+this.path}else{let T=f(_,S+345,130);T&&(this.path=T+"/"+this.path),this.atime=a(_,S+476,12),this.ctime=a(_,S+488,12)}let L=8*32;for(let T=S;T<S+148;T++)L+=_[T];for(let T=S+156;T<S+512;T++)L+=_[T];this.cksumValid=L===this.cksum,this.cksum===null&&L===8*32&&(this.nullBlock=!0)}[p](_,S){for(let A in _)_[A]!==null&&_[A]!==void 0&&!(S&&A==="path")&&(this[A]=_[A])}encode(_,S){if(_||(_=this.block=Buffer.alloc(512),S=0),S||(S=0),!(_.length>=S+512))throw new Error("need 512 bytes for header");let A=this.ctime||this.atime?130:155,x=e(this.path||"",A),L=x[0],T=x[1];this.needPax=x[2],this.needPax=m(_,S,100,L)||this.needPax,this.needPax=b(_,S+100,8,this.mode)||this.needPax,this.needPax=b(_,S+108,8,this.uid)||this.needPax,this.needPax=b(_,S+116,8,this.gid)||this.needPax,this.needPax=b(_,S+124,12,this.size)||this.needPax,this.needPax=w(_,S+136,12,this.mtime)||this.needPax,_[S+156]=this[u].charCodeAt(0),this.needPax=m(_,S+157,100,this.linkpath)||this.needPax,_.write("ustar\x0000",S+257,8),this.needPax=m(_,S+265,32,this.uname)||this.needPax,this.needPax=m(_,S+297,32,this.gname)||this.needPax,this.needPax=b(_,S+329,8,this.devmaj)||this.needPax,this.needPax=b(_,S+337,8,this.devmin)||this.needPax,this.needPax=m(_,S+345,A,T)||this.needPax,_[S+475]!==0?this.needPax=m(_,S+345,155,T)||this.needPax:(this.needPax=m(_,S+345,130,T)||this.needPax,this.needPax=w(_,S+476,12,this.atime)||this.needPax,this.needPax=w(_,S+488,12,this.ctime)||this.needPax);let F=8*32;for(let O=S;O<S+148;O++)F+=_[O];for(let O=S+156;O<S+512;O++)F+=_[O];return this.cksum=F,b(_,S+148,8,this.cksum),this.cksumValid=!0,this.needPax}set(_){for(let S in _)_[S]!==null&&_[S]!==void 0&&(this[S]=_[S])}get type(){return n.name.get(this[u])||this[u]}get typeKey(){return this[u]}set type(_){n.code.has(_)?this[u]=n.code.get(_):this[u]=_}},e=(_,S)=>{let A=_,x="",L,T=s.parse(_).root||".";if(Buffer.byteLength(A)<100)L=[A,x,!1];else{x=s.dirname(A),A=s.basename(A);do Buffer.byteLength(A)<=100&&Buffer.byteLength(x)<=S?L=[A,x,!1]:Buffer.byteLength(A)>100&&Buffer.byteLength(x)<=S?L=[A.slice(0,100-1),x,!0]:(A=s.join(s.basename(x),A),x=s.dirname(x));while(x!==T&&!L);L||(L=[_.slice(0,100-1),"",!0])}return L},f=(_,S,A)=>_.slice(S,S+A).toString("utf8").replace(/\0.*/,""),a=(_,S,A)=>c(o(_,S,A)),c=_=>_===null?null:new Date(_*1e3),o=(_,S,A)=>_[S]&128?i.parse(_.slice(S,S+A)):h(_,S,A),d=_=>isNaN(_)?null:_,h=(_,S,A)=>d(parseInt(_.slice(S,S+A).toString("utf8").replace(/\0.*$/,"").trim(),8)),y={12:8589934591,8:2097151},b=(_,S,A,x)=>x===null?!1:x>y[A]||x<0?(i.encode(x,_.slice(S,S+A)),!0):(E(_,S,A,x),!1),E=(_,S,A,x)=>_.write(g(x,A),S,A,"ascii"),g=(_,S)=>D(Math.floor(_).toString(8),S),D=(_,S)=>(_.length===S-1?_:new Array(S-_.length-1).join("0")+_+" ")+"\0",w=(_,S,A,x)=>x===null?!1:b(_,S,A,x.getTime()/1e3),v=new Array(156).join("\0"),m=(_,S,A,x)=>x===null?!1:(_.write(x+v,S,A,"utf8"),x.length!==Buffer.byteLength(x)||x.length>A);l.exports=r}),xr=N((t,l)=>{"use strict";B();var n=Te(),s=Z("path"),i=class{constructor(e,f){this.atime=e.atime||null,this.charset=e.charset||null,this.comment=e.comment||null,this.ctime=e.ctime||null,this.gid=e.gid||null,this.gname=e.gname||null,this.linkpath=e.linkpath||null,this.mtime=e.mtime||null,this.path=e.path||null,this.size=e.size||null,this.uid=e.uid||null,this.uname=e.uname||null,this.dev=e.dev||null,this.ino=e.ino||null,this.nlink=e.nlink||null,this.global=f||!1}encode(){let e=this.encodeBody();if(e==="")return null;let f=Buffer.byteLength(e),a=512*Math.ceil(1+f/512),c=Buffer.allocUnsafe(a);for(let o=0;o<512;o++)c[o]=0;new n({path:("PaxHeader/"+s.basename(this.path)).slice(0,99),mode:this.mode||420,uid:this.uid||null,gid:this.gid||null,size:f,mtime:this.mtime||null,type:this.global?"GlobalExtendedHeader":"ExtendedHeader",linkpath:"",uname:this.uname||"",gname:this.gname||"",devmaj:0,devmin:0,atime:this.atime||null,ctime:this.ctime||null}).encode(c),c.write(e,512,f,"utf8");for(let o=f+512;o<c.length;o++)c[o]=0;return c}encodeBody(){return this.encodeField("path")+this.encodeField("ctime")+this.encodeField("atime")+this.encodeField("dev")+this.encodeField("ino")+this.encodeField("nlink")+this.encodeField("charset")+this.encodeField("comment")+this.encodeField("gid")+this.encodeField("gname")+this.encodeField("linkpath")+this.encodeField("mtime")+this.encodeField("size")+this.encodeField("uid")+this.encodeField("uname")}encodeField(e){if(this[e]===null||this[e]===void 0)return"";let f=this[e]instanceof Date?this[e].getTime()/1e3:this[e],a=" "+(e==="dev"||e==="ino"||e==="nlink"?"SCHILY.":"")+e+"="+f+`
|
13
|
-
`,c=Buffer.byteLength(a),o=Math.floor(Math.log(c)/Math.log(10))+1;return c+o>=Math.pow(10,o)&&(o+=1),o+c+a}};i.parse=(e,f,a)=>new i(p(u(e),f),a);var p=(e,f)=>f?Object.keys(e).reduce((a,c)=>(a[c]=e[c],a),f):e,u=e=>e.replace(/\n$/,"").split(`
|
14
|
-
`).reduce(r,Object.create(null)),r=(e,f)=>{let a=parseInt(f,10);if(a!==Buffer.byteLength(f)+1)return e;f=f.slice((a+" ").length);let c=f.split("="),o=c.shift().replace(/^SCHILY\.(dev|ino|nlink)/,"$1");if(!o)return e;let d=c.join("=");return e[o]=/^([A-Z]+\.)?([mac]|birth|creation)time$/.test(o)?new Date(d*1e3):/^[0-9]+$/.test(d)?+d:d,e};l.exports=i}),Be=N((t,l)=>{B(),l.exports=n=>{let s=n.length-1,i=-1;for(;s>-1&&n.charAt(s)==="/";)i=s,s--;return i===-1?n:n.slice(0,i)}}),Fr=N((t,l)=>{"use strict";B(),l.exports=n=>class extends n{warn(s,i,p={}){this.file&&(p.file=this.file),this.cwd&&(p.cwd=this.cwd),p.code=i instanceof Error&&i.code||s,p.tarCode=s,!this.strict&&p.recoverable!==!1?(i instanceof Error&&(p=Object.assign(i,p),i=i.message),this.emit("warn",p.tarCode,i,p)):i instanceof Error?this.emit("error",Object.assign(i,p)):this.emit("error",Object.assign(new Error(`${s}: ${i}`),p))}}}),jn=N((t,l)=>{"use strict";B();var n=["|","<",">","?",":"],s=n.map(u=>String.fromCharCode(61440+u.charCodeAt(0))),i=new Map(n.map((u,r)=>[u,s[r]])),p=new Map(s.map((u,r)=>[u,n[r]]));l.exports={encode:u=>n.reduce((r,e)=>r.split(e).join(i.get(e)),u),decode:u=>s.reduce((r,e)=>r.split(e).join(p.get(e)),u)}}),Mn=N((t,l)=>{B();var{isAbsolute:n,parse:s}=Z("path").win32;l.exports=i=>{let p="",u=s(i);for(;n(i)||u.root;){let r=i.charAt(0)==="/"&&i.slice(0,4)!=="//?/"?"/":u.root;i=i.slice(r.length),p+=r,u=s(i)}return[p,i]}}),uu=N((t,l)=>{"use strict";B(),l.exports=(n,s,i)=>(n&=4095,i&&(n=(n|384)&-19),s&&(n&256&&(n|=64),n&32&&(n|=8),n&4&&(n|=1)),n)}),$n=N((t,l)=>{"use strict";B();var n=Ar(),s=xr(),i=Te(),p=Z("fs"),u=Z("path"),r=Re(),e=Be(),f=(j,k)=>k?(j=r(j).replace(/^\.(\/|$)/,""),e(k)+"/"+j):r(j),a=16*1024*1024,c=Symbol("process"),o=Symbol("file"),d=Symbol("directory"),h=Symbol("symlink"),y=Symbol("hardlink"),b=Symbol("header"),E=Symbol("read"),g=Symbol("lstat"),D=Symbol("onlstat"),w=Symbol("onread"),v=Symbol("onreadlink"),m=Symbol("openfile"),_=Symbol("onopenfile"),S=Symbol("close"),A=Symbol("mode"),x=Symbol("awaitDrain"),L=Symbol("ondrain"),T=Symbol("prefix"),F=Symbol("hadError"),O=Fr(),I=jn(),$=Mn(),R=uu(),q=O(class extends n{constructor(j,k){if(k=k||{},super(k),typeof j!="string")throw new TypeError("path is required");this.path=r(j),this.portable=!!k.portable,this.myuid=process.getuid&&process.getuid()||0,this.myuser=process.env.USER||"",this.maxReadSize=k.maxReadSize||a,this.linkCache=k.linkCache||new Map,this.statCache=k.statCache||new Map,this.preservePaths=!!k.preservePaths,this.cwd=r(k.cwd||process.cwd()),this.strict=!!k.strict,this.noPax=!!k.noPax,this.noMtime=!!k.noMtime,this.mtime=k.mtime||null,this.prefix=k.prefix?r(k.prefix):null,this.fd=null,this.blockLen=null,this.blockRemain=null,this.buf=null,this.offset=null,this.length=null,this.pos=null,this.remain=null,typeof k.onwarn=="function"&&this.on("warn",k.onwarn);let J=!1;if(!this.preservePaths){let[G,tt]=$(this.path);G&&(this.path=tt,J=G)}this.win32=!!k.win32||process.platform==="win32",this.win32&&(this.path=I.decode(this.path.replace(/\\/g,"/")),j=j.replace(/\\/g,"/")),this.absolute=r(k.absolute||u.resolve(this.cwd,j)),this.path===""&&(this.path="./"),J&&this.warn("TAR_ENTRY_INFO",`stripping ${J} from absolute path`,{entry:this,path:J+this.path}),this.statCache.has(this.absolute)?this[D](this.statCache.get(this.absolute)):this[g]()}emit(j,...k){return j==="error"&&(this[F]=!0),super.emit(j,...k)}[g](){p.lstat(this.absolute,(j,k)=>{if(j)return this.emit("error",j);this[D](k)})}[D](j){this.statCache.set(this.absolute,j),this.stat=j,j.isFile()||(j.size=0),this.type=P(j),this.emit("stat",j),this[c]()}[c](){switch(this.type){case"File":return this[o]();case"Directory":return this[d]();case"SymbolicLink":return this[h]();default:return this.end()}}[A](j){return R(j,this.type==="Directory",this.portable)}[T](j){return f(j,this.prefix)}[b](){this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.header=new i({path:this[T](this.path),linkpath:this.type==="Link"?this[T](this.linkpath):this.linkpath,mode:this[A](this.stat.mode),uid:this.portable?null:this.stat.uid,gid:this.portable?null:this.stat.gid,size:this.stat.size,mtime:this.noMtime?null:this.mtime||this.stat.mtime,type:this.type,uname:this.portable?null:this.stat.uid===this.myuid?this.myuser:"",atime:this.portable?null:this.stat.atime,ctime:this.portable?null:this.stat.ctime}),this.header.encode()&&!this.noPax&&super.write(new s({atime:this.portable?null:this.header.atime,ctime:this.portable?null:this.header.ctime,gid:this.portable?null:this.header.gid,mtime:this.noMtime?null:this.mtime||this.header.mtime,path:this[T](this.path),linkpath:this.type==="Link"?this[T](this.linkpath):this.linkpath,size:this.header.size,uid:this.portable?null:this.header.uid,uname:this.portable?null:this.header.uname,dev:this.portable?null:this.stat.dev,ino:this.portable?null:this.stat.ino,nlink:this.portable?null:this.stat.nlink}).encode()),super.write(this.header.block)}[d](){this.path.slice(-1)!=="/"&&(this.path+="/"),this.stat.size=0,this[b](),this.end()}[h](){p.readlink(this.absolute,(j,k)=>{if(j)return this.emit("error",j);this[v](k)})}[v](j){this.linkpath=r(j),this[b](),this.end()}[y](j){this.type="Link",this.linkpath=r(u.relative(this.cwd,j)),this.stat.size=0,this[b](),this.end()}[o](){if(this.stat.nlink>1){let j=this.stat.dev+":"+this.stat.ino;if(this.linkCache.has(j)){let k=this.linkCache.get(j);if(k.indexOf(this.cwd)===0)return this[y](k)}this.linkCache.set(j,this.absolute)}if(this[b](),this.stat.size===0)return this.end();this[m]()}[m](){p.open(this.absolute,"r",(j,k)=>{if(j)return this.emit("error",j);this[_](k)})}[_](j){if(this.fd=j,this[F])return this[S]();this.blockLen=512*Math.ceil(this.stat.size/512),this.blockRemain=this.blockLen;let k=Math.min(this.blockLen,this.maxReadSize);this.buf=Buffer.allocUnsafe(k),this.offset=0,this.pos=0,this.remain=this.stat.size,this.length=this.buf.length,this[E]()}[E](){let{fd:j,buf:k,offset:J,length:G,pos:tt}=this;p.read(j,k,J,G,tt,(M,K)=>{if(M)return this[S](()=>this.emit("error",M));this[w](K)})}[S](j){p.close(this.fd,j)}[w](j){if(j<=0&&this.remain>0){let J=new Error("encountered unexpected EOF");return J.path=this.absolute,J.syscall="read",J.code="EOF",this[S](()=>this.emit("error",J))}if(j>this.remain){let J=new Error("did not encounter expected EOF");return J.path=this.absolute,J.syscall="read",J.code="EOF",this[S](()=>this.emit("error",J))}if(j===this.remain)for(let J=j;J<this.length&&j<this.blockRemain;J++)this.buf[J+this.offset]=0,j++,this.remain++;let k=this.offset===0&&j===this.buf.length?this.buf:this.buf.slice(this.offset,this.offset+j);this.write(k)?this[L]():this[x](()=>this[L]())}[x](j){this.once("drain",j)}write(j){if(this.blockRemain<j.length){let k=new Error("writing more data than expected");return k.path=this.absolute,this.emit("error",k)}return this.remain-=j.length,this.blockRemain-=j.length,this.pos+=j.length,this.offset+=j.length,super.write(j)}[L](){if(!this.remain)return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),this[S](j=>j?this.emit("error",j):this.end());this.offset>=this.length&&(this.buf=Buffer.allocUnsafe(Math.min(this.blockRemain,this.buf.length)),this.offset=0),this.length=this.buf.length-this.offset,this[E]()}}),W=class extends q{[g](){this[D](p.lstatSync(this.absolute))}[h](){this[v](p.readlinkSync(this.absolute))}[m](){this[_](p.openSync(this.absolute,"r"))}[E](){let j=!0;try{let{fd:k,buf:J,offset:G,length:tt,pos:M}=this,K=p.readSync(k,J,G,tt,M);this[w](K),j=!1}finally{if(j)try{this[S](()=>{})}catch{}}}[x](j){j()}[S](j){p.closeSync(this.fd),j()}},Q=O(class extends n{constructor(j,k){k=k||{},super(k),this.preservePaths=!!k.preservePaths,this.portable=!!k.portable,this.strict=!!k.strict,this.noPax=!!k.noPax,this.noMtime=!!k.noMtime,this.readEntry=j,this.type=j.type,this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.prefix=k.prefix||null,this.path=r(j.path),this.mode=this[A](j.mode),this.uid=this.portable?null:j.uid,this.gid=this.portable?null:j.gid,this.uname=this.portable?null:j.uname,this.gname=this.portable?null:j.gname,this.size=j.size,this.mtime=this.noMtime?null:k.mtime||j.mtime,this.atime=this.portable?null:j.atime,this.ctime=this.portable?null:j.ctime,this.linkpath=r(j.linkpath),typeof k.onwarn=="function"&&this.on("warn",k.onwarn);let J=!1;if(!this.preservePaths){let[G,tt]=$(this.path);G&&(this.path=tt,J=G)}this.remain=j.size,this.blockRemain=j.startBlockSize,this.header=new i({path:this[T](this.path),linkpath:this.type==="Link"?this[T](this.linkpath):this.linkpath,mode:this.mode,uid:this.portable?null:this.uid,gid:this.portable?null:this.gid,size:this.size,mtime:this.noMtime?null:this.mtime,type:this.type,uname:this.portable?null:this.uname,atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime}),J&&this.warn("TAR_ENTRY_INFO",`stripping ${J} from absolute path`,{entry:this,path:J+this.path}),this.header.encode()&&!this.noPax&&super.write(new s({atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime,gid:this.portable?null:this.gid,mtime:this.noMtime?null:this.mtime,path:this[T](this.path),linkpath:this.type==="Link"?this[T](this.linkpath):this.linkpath,size:this.size,uid:this.portable?null:this.uid,uname:this.portable?null:this.uname,dev:this.portable?null:this.readEntry.dev,ino:this.portable?null:this.readEntry.ino,nlink:this.portable?null:this.readEntry.nlink}).encode()),super.write(this.header.block),j.pipe(this)}[T](j){return f(j,this.prefix)}[A](j){return R(j,this.type==="Directory",this.portable)}write(j){let k=j.length;if(k>this.blockRemain)throw new Error("writing more to entry than is appropriate");return this.blockRemain-=k,super.write(j)}end(){return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),super.end()}});q.Sync=W,q.Tar=Q;var P=j=>j.isFile()?"File":j.isDirectory()?"Directory":j.isSymbolicLink()?"SymbolicLink":"Unsupported";l.exports=q}),au=N((t,l)=>{"use strict";B(),l.exports=function(n){n.prototype[Symbol.iterator]=function*(){for(let s=this.head;s;s=s.next)yield s.value}}}),Hn=N((t,l)=>{"use strict";B(),l.exports=n,n.Node=u,n.create=n;function n(r){var e=this;if(e instanceof n||(e=new n),e.tail=null,e.head=null,e.length=0,r&&typeof r.forEach=="function")r.forEach(function(c){e.push(c)});else if(arguments.length>0)for(var f=0,a=arguments.length;f<a;f++)e.push(arguments[f]);return e}n.prototype.removeNode=function(r){if(r.list!==this)throw new Error("removing node which does not belong to this list");var e=r.next,f=r.prev;return e&&(e.prev=f),f&&(f.next=e),r===this.head&&(this.head=e),r===this.tail&&(this.tail=f),r.list.length--,r.next=null,r.prev=null,r.list=null,e},n.prototype.unshiftNode=function(r){if(r!==this.head){r.list&&r.list.removeNode(r);var e=this.head;r.list=this,r.next=e,e&&(e.prev=r),this.head=r,this.tail||(this.tail=r),this.length++}},n.prototype.pushNode=function(r){if(r!==this.tail){r.list&&r.list.removeNode(r);var e=this.tail;r.list=this,r.prev=e,e&&(e.next=r),this.tail=r,this.head||(this.head=r),this.length++}},n.prototype.push=function(){for(var r=0,e=arguments.length;r<e;r++)i(this,arguments[r]);return this.length},n.prototype.unshift=function(){for(var r=0,e=arguments.length;r<e;r++)p(this,arguments[r]);return this.length},n.prototype.pop=function(){if(this.tail){var r=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,r}},n.prototype.shift=function(){if(this.head){var r=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,r}},n.prototype.forEach=function(r,e){e=e||this;for(var f=this.head,a=0;f!==null;a++)r.call(e,f.value,a,this),f=f.next},n.prototype.forEachReverse=function(r,e){e=e||this;for(var f=this.tail,a=this.length-1;f!==null;a--)r.call(e,f.value,a,this),f=f.prev},n.prototype.get=function(r){for(var e=0,f=this.head;f!==null&&e<r;e++)f=f.next;if(e===r&&f!==null)return f.value},n.prototype.getReverse=function(r){for(var e=0,f=this.tail;f!==null&&e<r;e++)f=f.prev;if(e===r&&f!==null)return f.value},n.prototype.map=function(r,e){e=e||this;for(var f=new n,a=this.head;a!==null;)f.push(r.call(e,a.value,this)),a=a.next;return f},n.prototype.mapReverse=function(r,e){e=e||this;for(var f=new n,a=this.tail;a!==null;)f.push(r.call(e,a.value,this)),a=a.prev;return f},n.prototype.reduce=function(r,e){var f,a=this.head;if(arguments.length>1)f=e;else if(this.head)a=this.head.next,f=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var c=0;a!==null;c++)f=r(f,a.value,c),a=a.next;return f},n.prototype.reduceReverse=function(r,e){var f,a=this.tail;if(arguments.length>1)f=e;else if(this.tail)a=this.tail.prev,f=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var c=this.length-1;a!==null;c--)f=r(f,a.value,c),a=a.prev;return f},n.prototype.toArray=function(){for(var r=new Array(this.length),e=0,f=this.head;f!==null;e++)r[e]=f.value,f=f.next;return r},n.prototype.toArrayReverse=function(){for(var r=new Array(this.length),e=0,f=this.tail;f!==null;e++)r[e]=f.value,f=f.prev;return r},n.prototype.slice=function(r,e){e=e||this.length,e<0&&(e+=this.length),r=r||0,r<0&&(r+=this.length);var f=new n;if(e<r||e<0)return f;r<0&&(r=0),e>this.length&&(e=this.length);for(var a=0,c=this.head;c!==null&&a<r;a++)c=c.next;for(;c!==null&&a<e;a++,c=c.next)f.push(c.value);return f},n.prototype.sliceReverse=function(r,e){e=e||this.length,e<0&&(e+=this.length),r=r||0,r<0&&(r+=this.length);var f=new n;if(e<r||e<0)return f;r<0&&(r=0),e>this.length&&(e=this.length);for(var a=this.length,c=this.tail;c!==null&&a>e;a--)c=c.prev;for(;c!==null&&a>r;a--,c=c.prev)f.push(c.value);return f},n.prototype.splice=function(r,e,...f){r>this.length&&(r=this.length-1),r<0&&(r=this.length+r);for(var a=0,c=this.head;c!==null&&a<r;a++)c=c.next;for(var o=[],a=0;c&&a<e;a++)o.push(c.value),c=this.removeNode(c);c===null&&(c=this.tail),c!==this.head&&c!==this.tail&&(c=c.prev);for(var a=0;a<f.length;a++)c=s(this,c,f[a]);return o},n.prototype.reverse=function(){for(var r=this.head,e=this.tail,f=r;f!==null;f=f.prev){var a=f.prev;f.prev=f.next,f.next=a}return this.head=e,this.tail=r,this};function s(r,e,f){var a=e===r.head?new u(f,null,e,r):new u(f,e,e.next,r);return a.next===null&&(r.tail=a),a.prev===null&&(r.head=a),r.length++,a}function i(r,e){r.tail=new u(e,r.tail,null,r),r.head||(r.head=r.tail),r.length++}function p(r,e){r.head=new u(e,null,r.head,r),r.tail||(r.tail=r.head),r.length++}function u(r,e,f,a){if(!(this instanceof u))return new u(r,e,f,a);this.list=a,this.value=r,e?(e.next=this,this.prev=e):this.prev=null,f?(f.prev=this,this.next=f):this.next=null}try{au()(n)}catch{}}),kr=N((t,l)=>{"use strict";B();var n=class{constructor(P,j){this.path=P||"./",this.absolute=j,this.entry=null,this.stat=null,this.readdir=null,this.pending=!1,this.ignore=!1,this.piped=!1}},s=Ar(),i=In(),p=Cr(),u=$n(),r=u.Sync,e=u.Tar,f=Hn(),a=Buffer.alloc(1024),c=Symbol("onStat"),o=Symbol("ended"),d=Symbol("queue"),h=Symbol("current"),y=Symbol("process"),b=Symbol("processing"),E=Symbol("processJob"),g=Symbol("jobs"),D=Symbol("jobDone"),w=Symbol("addFSEntry"),v=Symbol("addTarEntry"),m=Symbol("stat"),_=Symbol("readdir"),S=Symbol("onreaddir"),A=Symbol("pipe"),x=Symbol("entry"),L=Symbol("entryOpt"),T=Symbol("writeEntryClass"),F=Symbol("write"),O=Symbol("ondrain"),I=Z("fs"),$=Z("path"),R=Fr(),q=Re(),W=R(class extends s{constructor(P){super(P),P=P||Object.create(null),this.opt=P,this.file=P.file||"",this.cwd=P.cwd||process.cwd(),this.maxReadSize=P.maxReadSize,this.preservePaths=!!P.preservePaths,this.strict=!!P.strict,this.noPax=!!P.noPax,this.prefix=q(P.prefix||""),this.linkCache=P.linkCache||new Map,this.statCache=P.statCache||new Map,this.readdirCache=P.readdirCache||new Map,this[T]=u,typeof P.onwarn=="function"&&this.on("warn",P.onwarn),this.portable=!!P.portable,this.zip=null,P.gzip?(typeof P.gzip!="object"&&(P.gzip={}),this.portable&&(P.gzip.portable=!0),this.zip=new i.Gzip(P.gzip),this.zip.on("data",j=>super.write(j)),this.zip.on("end",j=>super.end()),this.zip.on("drain",j=>this[O]()),this.on("resume",j=>this.zip.resume())):this.on("drain",this[O]),this.noDirRecurse=!!P.noDirRecurse,this.follow=!!P.follow,this.noMtime=!!P.noMtime,this.mtime=P.mtime||null,this.filter=typeof P.filter=="function"?P.filter:j=>!0,this[d]=new f,this[g]=0,this.jobs=+P.jobs||4,this[b]=!1,this[o]=!1}[F](P){return super.write(P)}add(P){return this.write(P),this}end(P){return P&&this.write(P),this[o]=!0,this[y](),this}write(P){if(this[o])throw new Error("write after end");return P instanceof p?this[v](P):this[w](P),this.flowing}[v](P){let j=q($.resolve(this.cwd,P.path));if(!this.filter(P.path,P))P.resume();else{let k=new n(P.path,j,!1);k.entry=new e(P,this[L](k)),k.entry.on("end",J=>this[D](k)),this[g]+=1,this[d].push(k)}this[y]()}[w](P){let j=q($.resolve(this.cwd,P));this[d].push(new n(P,j)),this[y]()}[m](P){P.pending=!0,this[g]+=1;let j=this.follow?"stat":"lstat";I[j](P.absolute,(k,J)=>{P.pending=!1,this[g]-=1,k?this.emit("error",k):this[c](P,J)})}[c](P,j){this.statCache.set(P.absolute,j),P.stat=j,this.filter(P.path,j)||(P.ignore=!0),this[y]()}[_](P){P.pending=!0,this[g]+=1,I.readdir(P.absolute,(j,k)=>{if(P.pending=!1,this[g]-=1,j)return this.emit("error",j);this[S](P,k)})}[S](P,j){this.readdirCache.set(P.absolute,j),P.readdir=j,this[y]()}[y](){if(!this[b]){this[b]=!0;for(let P=this[d].head;P!==null&&this[g]<this.jobs;P=P.next)if(this[E](P.value),P.value.ignore){let j=P.next;this[d].removeNode(P),P.next=j}this[b]=!1,this[o]&&!this[d].length&&this[g]===0&&(this.zip?this.zip.end(a):(super.write(a),super.end()))}}get[h](){return this[d]&&this[d].head&&this[d].head.value}[D](P){this[d].shift(),this[g]-=1,this[y]()}[E](P){if(!P.pending){if(P.entry){P===this[h]&&!P.piped&&this[A](P);return}if(P.stat||(this.statCache.has(P.absolute)?this[c](P,this.statCache.get(P.absolute)):this[m](P)),!!P.stat&&!P.ignore&&!(!this.noDirRecurse&&P.stat.isDirectory()&&!P.readdir&&(this.readdirCache.has(P.absolute)?this[S](P,this.readdirCache.get(P.absolute)):this[_](P),!P.readdir))){if(P.entry=this[x](P),!P.entry){P.ignore=!0;return}P===this[h]&&!P.piped&&this[A](P)}}}[L](P){return{onwarn:(j,k,J)=>this.warn(j,k,J),noPax:this.noPax,cwd:this.cwd,absolute:P.absolute,preservePaths:this.preservePaths,maxReadSize:this.maxReadSize,strict:this.strict,portable:this.portable,linkCache:this.linkCache,statCache:this.statCache,noMtime:this.noMtime,mtime:this.mtime,prefix:this.prefix}}[x](P){this[g]+=1;try{return new this[T](P.path,this[L](P)).on("end",()=>this[D](P)).on("error",j=>this.emit("error",j))}catch(j){this.emit("error",j)}}[O](){this[h]&&this[h].entry&&this[h].entry.resume()}[A](P){P.piped=!0,P.readdir&&P.readdir.forEach(J=>{let G=P.path,tt=G==="./"?"":G.replace(/\/*$/,"/");this[w](tt+J)});let j=P.entry,k=this.zip;k?j.on("data",J=>{k.write(J)||j.pause()}):j.on("data",J=>{super.write(J)||j.pause()})}pause(){return this.zip&&this.zip.pause(),super.pause()}}),Q=class extends W{constructor(P){super(P),this[T]=r}pause(){}resume(){}[m](P){let j=this.follow?"statSync":"lstatSync";this[c](P,I[j](P.absolute))}[_](P,j){this[S](P,I.readdirSync(P.absolute))}[A](P){let j=P.entry,k=this.zip;P.readdir&&P.readdir.forEach(J=>{let G=P.path,tt=G==="./"?"":G.replace(/\/*$/,"/");this[w](tt+J)}),k?j.on("data",J=>{k.write(J)}):j.on("data",J=>{super[F](J)})}};W.Sync=Q,l.exports=W}),Pe=N(t=>{"use strict";B();var l=Pn(),n=Z("events").EventEmitter,s=Z("fs"),i=s.writev;if(!i){let P=process.binding("fs"),j=P.FSReqWrap||P.FSReqCallback;i=(k,J,G,tt)=>{let M=(et,ot)=>tt(et,ot,J),K=new j;K.oncomplete=M,P.writeBuffers(k,J,G,K)}}var p=Symbol("_autoClose"),u=Symbol("_close"),r=Symbol("_ended"),e=Symbol("_fd"),f=Symbol("_finished"),a=Symbol("_flags"),c=Symbol("_flush"),o=Symbol("_handleChunk"),d=Symbol("_makeBuf"),h=Symbol("_mode"),y=Symbol("_needDrain"),b=Symbol("_onerror"),E=Symbol("_onopen"),g=Symbol("_onread"),D=Symbol("_onwrite"),w=Symbol("_open"),v=Symbol("_path"),m=Symbol("_pos"),_=Symbol("_queue"),S=Symbol("_read"),A=Symbol("_readSize"),x=Symbol("_reading"),L=Symbol("_remain"),T=Symbol("_size"),F=Symbol("_write"),O=Symbol("_writing"),I=Symbol("_defaultFlag"),$=Symbol("_errored"),R=class extends l{constructor(P,j){if(j=j||{},super(j),this.readable=!0,this.writable=!1,typeof P!="string")throw new TypeError("path must be a string");this[$]=!1,this[e]=typeof j.fd=="number"?j.fd:null,this[v]=P,this[A]=j.readSize||16*1024*1024,this[x]=!1,this[T]=typeof j.size=="number"?j.size:1/0,this[L]=this[T],this[p]=typeof j.autoClose=="boolean"?j.autoClose:!0,typeof this[e]=="number"?this[S]():this[w]()}get fd(){return this[e]}get path(){return this[v]}write(){throw new TypeError("this is a readable stream")}end(){throw new TypeError("this is a readable stream")}[w](){s.open(this[v],"r",(P,j)=>this[E](P,j))}[E](P,j){P?this[b](P):(this[e]=j,this.emit("open",j),this[S]())}[d](){return Buffer.allocUnsafe(Math.min(this[A],this[L]))}[S](){if(!this[x]){this[x]=!0;let P=this[d]();if(P.length===0)return process.nextTick(()=>this[g](null,0,P));s.read(this[e],P,0,P.length,null,(j,k,J)=>this[g](j,k,J))}}[g](P,j,k){this[x]=!1,P?this[b](P):this[o](j,k)&&this[S]()}[u](){if(this[p]&&typeof this[e]=="number"){let P=this[e];this[e]=null,s.close(P,j=>j?this.emit("error",j):this.emit("close"))}}[b](P){this[x]=!0,this[u](),this.emit("error",P)}[o](P,j){let k=!1;return this[L]-=P,P>0&&(k=super.write(P<j.length?j.slice(0,P):j)),(P===0||this[L]<=0)&&(k=!1,this[u](),super.end()),k}emit(P,j){switch(P){case"prefinish":case"finish":break;case"drain":typeof this[e]=="number"&&this[S]();break;case"error":return this[$]?void 0:(this[$]=!0,super.emit(P,j));default:return super.emit(P,j)}}},q=class extends R{[w](){let P=!0;try{this[E](null,s.openSync(this[v],"r")),P=!1}finally{P&&this[u]()}}[S](){let P=!0;try{if(!this[x]){this[x]=!0;do{let j=this[d](),k=j.length===0?0:s.readSync(this[e],j,0,j.length,null);if(!this[o](k,j))break}while(!0);this[x]=!1}P=!1}finally{P&&this[u]()}}[u](){if(this[p]&&typeof this[e]=="number"){let P=this[e];this[e]=null,s.closeSync(P),this.emit("close")}}},W=class extends n{constructor(P,j){j=j||{},super(j),this.readable=!1,this.writable=!0,this[$]=!1,this[O]=!1,this[r]=!1,this[y]=!1,this[_]=[],this[v]=P,this[e]=typeof j.fd=="number"?j.fd:null,this[h]=j.mode===void 0?438:j.mode,this[m]=typeof j.start=="number"?j.start:null,this[p]=typeof j.autoClose=="boolean"?j.autoClose:!0;let k=this[m]!==null?"r+":"w";this[I]=j.flags===void 0,this[a]=this[I]?k:j.flags,this[e]===null&&this[w]()}emit(P,j){if(P==="error"){if(this[$])return;this[$]=!0}return super.emit(P,j)}get fd(){return this[e]}get path(){return this[v]}[b](P){this[u](),this[O]=!0,this.emit("error",P)}[w](){s.open(this[v],this[a],this[h],(P,j)=>this[E](P,j))}[E](P,j){this[I]&&this[a]==="r+"&&P&&P.code==="ENOENT"?(this[a]="w",this[w]()):P?this[b](P):(this[e]=j,this.emit("open",j),this[c]())}end(P,j){return P&&this.write(P,j),this[r]=!0,!this[O]&&!this[_].length&&typeof this[e]=="number"&&this[D](null,0),this}write(P,j){return typeof P=="string"&&(P=Buffer.from(P,j)),this[r]?(this.emit("error",new Error("write() after end()")),!1):this[e]===null||this[O]||this[_].length?(this[_].push(P),this[y]=!0,!1):(this[O]=!0,this[F](P),!0)}[F](P){s.write(this[e],P,0,P.length,this[m],(j,k)=>this[D](j,k))}[D](P,j){P?this[b](P):(this[m]!==null&&(this[m]+=j),this[_].length?this[c]():(this[O]=!1,this[r]&&!this[f]?(this[f]=!0,this[u](),this.emit("finish")):this[y]&&(this[y]=!1,this.emit("drain"))))}[c](){if(this[_].length===0)this[r]&&this[D](null,0);else if(this[_].length===1)this[F](this[_].pop());else{let P=this[_];this[_]=[],i(this[e],P,this[m],(j,k)=>this[D](j,k))}}[u](){if(this[p]&&typeof this[e]=="number"){let P=this[e];this[e]=null,s.close(P,j=>j?this.emit("error",j):this.emit("close"))}}},Q=class extends W{[w](){let P;if(this[I]&&this[a]==="r+")try{P=s.openSync(this[v],this[a],this[h])}catch(j){if(j.code==="ENOENT")return this[a]="w",this[w]();throw j}else P=s.openSync(this[v],this[a],this[h]);this[E](null,P)}[u](){if(this[p]&&typeof this[e]=="number"){let P=this[e];this[e]=null,s.closeSync(P),this.emit("close")}}[F](P){let j=!0;try{this[D](null,s.writeSync(this[e],P,0,P.length,this[m])),j=!1}finally{if(j)try{this[u]()}catch{}}}};t.ReadStream=R,t.ReadStreamSync=q,t.WriteStream=W,t.WriteStreamSync=Q}),Or=N((t,l)=>{"use strict";B();var n=Fr(),s=Te(),i=Z("events"),p=Hn(),u=1024*1024,r=Cr(),e=xr(),f=In(),{nextTick:a}=Z("process"),c=Buffer.from([31,139]),o=Symbol("state"),d=Symbol("writeEntry"),h=Symbol("readEntry"),y=Symbol("nextEntry"),b=Symbol("processEntry"),E=Symbol("extendedHeader"),g=Symbol("globalExtendedHeader"),D=Symbol("meta"),w=Symbol("emitMeta"),v=Symbol("buffer"),m=Symbol("queue"),_=Symbol("ended"),S=Symbol("emittedEnd"),A=Symbol("emit"),x=Symbol("unzip"),L=Symbol("consumeChunk"),T=Symbol("consumeChunkSub"),F=Symbol("consumeBody"),O=Symbol("consumeMeta"),I=Symbol("consumeHeader"),$=Symbol("consuming"),R=Symbol("bufferConcat"),q=Symbol("maybeEnd"),W=Symbol("writing"),Q=Symbol("aborted"),P=Symbol("onDone"),j=Symbol("sawValidEntry"),k=Symbol("sawNullBlock"),J=Symbol("sawEOF"),G=Symbol("closeStream"),tt=M=>!0;l.exports=n(class extends i{constructor(M){M=M||{},super(M),this.file=M.file||"",this[j]=null,this.on(P,K=>{(this[o]==="begin"||this[j]===!1)&&this.warn("TAR_BAD_ARCHIVE","Unrecognized archive format")}),M.ondone?this.on(P,M.ondone):this.on(P,K=>{this.emit("prefinish"),this.emit("finish"),this.emit("end")}),this.strict=!!M.strict,this.maxMetaEntrySize=M.maxMetaEntrySize||u,this.filter=typeof M.filter=="function"?M.filter:tt,this.writable=!0,this.readable=!1,this[m]=new p,this[v]=null,this[h]=null,this[d]=null,this[o]="begin",this[D]="",this[E]=null,this[g]=null,this[_]=!1,this[x]=null,this[Q]=!1,this[k]=!1,this[J]=!1,this.on("end",()=>this[G]()),typeof M.onwarn=="function"&&this.on("warn",M.onwarn),typeof M.onentry=="function"&&this.on("entry",M.onentry)}[I](M,K){this[j]===null&&(this[j]=!1);let et;try{et=new s(M,K,this[E],this[g])}catch(ot){return this.warn("TAR_ENTRY_INVALID",ot)}if(et.nullBlock)this[k]?(this[J]=!0,this[o]==="begin"&&(this[o]="header"),this[A]("eof")):(this[k]=!0,this[A]("nullBlock"));else if(this[k]=!1,!et.cksumValid)this.warn("TAR_ENTRY_INVALID","checksum failure",{header:et});else if(!et.path)this.warn("TAR_ENTRY_INVALID","path is required",{header:et});else{let ot=et.type;if(/^(Symbolic)?Link$/.test(ot)&&!et.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath required",{header:et});else if(!/^(Symbolic)?Link$/.test(ot)&&et.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath forbidden",{header:et});else{let ct=this[d]=new r(et,this[E],this[g]);if(!this[j])if(ct.remain){let gt=()=>{ct.invalid||(this[j]=!0)};ct.on("end",gt)}else this[j]=!0;ct.meta?ct.size>this.maxMetaEntrySize?(ct.ignore=!0,this[A]("ignoredEntry",ct),this[o]="ignore",ct.resume()):ct.size>0&&(this[D]="",ct.on("data",gt=>this[D]+=gt),this[o]="meta"):(this[E]=null,ct.ignore=ct.ignore||!this.filter(ct.path,ct),ct.ignore?(this[A]("ignoredEntry",ct),this[o]=ct.remain?"ignore":"header",ct.resume()):(ct.remain?this[o]="body":(this[o]="header",ct.end()),this[h]?this[m].push(ct):(this[m].push(ct),this[y]())))}}}[G](){a(()=>this.emit("close"))}[b](M){let K=!0;return M?Array.isArray(M)?this.emit.apply(this,M):(this[h]=M,this.emit("entry",M),M.emittedEnd||(M.on("end",et=>this[y]()),K=!1)):(this[h]=null,K=!1),K}[y](){do;while(this[b](this[m].shift()));if(!this[m].length){let M=this[h];!M||M.flowing||M.size===M.remain?this[W]||this.emit("drain"):M.once("drain",K=>this.emit("drain"))}}[F](M,K){let et=this[d],ot=et.blockRemain,ct=ot>=M.length&&K===0?M:M.slice(K,K+ot);return et.write(ct),et.blockRemain||(this[o]="header",this[d]=null,et.end()),ct.length}[O](M,K){let et=this[d],ot=this[F](M,K);return this[d]||this[w](et),ot}[A](M,K,et){!this[m].length&&!this[h]?this.emit(M,K,et):this[m].push([M,K,et])}[w](M){switch(this[A]("meta",this[D]),M.type){case"ExtendedHeader":case"OldExtendedHeader":this[E]=e.parse(this[D],this[E],!1);break;case"GlobalExtendedHeader":this[g]=e.parse(this[D],this[g],!0);break;case"NextFileHasLongPath":case"OldGnuLongPath":this[E]=this[E]||Object.create(null),this[E].path=this[D].replace(/\0.*/,"");break;case"NextFileHasLongLinkpath":this[E]=this[E]||Object.create(null),this[E].linkpath=this[D].replace(/\0.*/,"");break;default:throw new Error("unknown meta: "+M.type)}}abort(M){this[Q]=!0,this.emit("abort",M),this.warn("TAR_ABORT",M,{recoverable:!1})}write(M){if(this[Q])return;if(this[x]===null&&M){if(this[v]&&(M=Buffer.concat([this[v],M]),this[v]=null),M.length<c.length)return this[v]=M,!0;for(let et=0;this[x]===null&&et<c.length;et++)M[et]!==c[et]&&(this[x]=!1);if(this[x]===null){let et=this[_];this[_]=!1,this[x]=new f.Unzip,this[x].on("data",ct=>this[L](ct)),this[x].on("error",ct=>this.abort(ct)),this[x].on("end",ct=>{this[_]=!0,this[L]()}),this[W]=!0;let ot=this[x][et?"end":"write"](M);return this[W]=!1,ot}}this[W]=!0,this[x]?this[x].write(M):this[L](M),this[W]=!1;let K=this[m].length?!1:this[h]?this[h].flowing:!0;return!K&&!this[m].length&&this[h].once("drain",et=>this.emit("drain")),K}[R](M){M&&!this[Q]&&(this[v]=this[v]?Buffer.concat([this[v],M]):M)}[q](){if(this[_]&&!this[S]&&!this[Q]&&!this[$]){this[S]=!0;let M=this[d];if(M&&M.blockRemain){let K=this[v]?this[v].length:0;this.warn("TAR_BAD_ARCHIVE",`Truncated input (needed ${M.blockRemain} more bytes, only ${K} available)`,{entry:M}),this[v]&&M.write(this[v]),M.end()}this[A](P)}}[L](M){if(this[$])this[R](M);else if(!M&&!this[v])this[q]();else{if(this[$]=!0,this[v]){this[R](M);let K=this[v];this[v]=null,this[T](K)}else this[T](M);for(;this[v]&&this[v].length>=512&&!this[Q]&&!this[J];){let K=this[v];this[v]=null,this[T](K)}this[$]=!1}(!this[v]||this[_])&&this[q]()}[T](M){let K=0,et=M.length;for(;K+512<=et&&!this[Q]&&!this[J];)switch(this[o]){case"begin":case"header":this[I](M,K),K+=512;break;case"ignore":case"body":K+=this[F](M,K);break;case"meta":K+=this[O](M,K);break;default:throw new Error("invalid state: "+this[o])}K<et&&(this[v]?this[v]=Buffer.concat([M.slice(K),this[v]]):this[v]=M.slice(K))}end(M){this[Q]||(this[x]?this[x].end(M):(this[_]=!0,this.write(M)))}})}),Rr=N((t,l)=>{"use strict";B();var n=Oe(),s=Or(),i=Z("fs"),p=Pe(),u=Z("path"),r=Be();l.exports=(d,h,y)=>{typeof d=="function"?(y=d,h=null,d={}):Array.isArray(d)&&(h=d,d={}),typeof h=="function"&&(y=h,h=null),h?h=Array.from(h):h=[];let b=n(d);if(b.sync&&typeof y=="function")throw new TypeError("callback not supported for sync tar functions");if(!b.file&&typeof y=="function")throw new TypeError("callback only supported with file option");return h.length&&f(b,h),b.noResume||e(b),b.file&&b.sync?a(b):b.file?c(b,y):o(b)};var e=d=>{let h=d.onentry;d.onentry=h?y=>{h(y),y.resume()}:y=>y.resume()},f=(d,h)=>{let y=new Map(h.map(g=>[r(g),!0])),b=d.filter,E=(g,D)=>{let w=D||u.parse(g).root||".",v=g===w?!1:y.has(g)?y.get(g):E(u.dirname(g),w);return y.set(g,v),v};d.filter=b?(g,D)=>b(g,D)&&E(r(g)):g=>E(r(g))},a=d=>{let h=o(d),y=d.file,b=!0,E;try{let g=i.statSync(y),D=d.maxReadSize||16*1024*1024;if(g.size<D)h.end(i.readFileSync(y));else{let w=0,v=Buffer.allocUnsafe(D);for(E=i.openSync(y,"r");w<g.size;){let m=i.readSync(E,v,0,D,w);w+=m,h.write(v.slice(0,m))}h.end()}b=!1}finally{if(b&&E)try{i.closeSync(E)}catch{}}},c=(d,h)=>{let y=new s(d),b=d.maxReadSize||16*1024*1024,E=d.file,g=new Promise((D,w)=>{y.on("error",w),y.on("end",D),i.stat(E,(v,m)=>{if(v)w(v);else{let _=new p.ReadStream(E,{readSize:b,size:m.size});_.on("error",w),_.pipe(y)}})});return h?g.then(h,h):g},o=d=>new s(d)}),lu=N((t,l)=>{"use strict";B();var n=Oe(),s=kr(),i=Pe(),p=Rr(),u=Z("path");l.exports=(d,h,y)=>{if(typeof h=="function"&&(y=h),Array.isArray(d)&&(h=d,d={}),!h||!Array.isArray(h)||!h.length)throw new TypeError("no files or directories specified");h=Array.from(h);let b=n(d);if(b.sync&&typeof y=="function")throw new TypeError("callback not supported for sync tar functions");if(!b.file&&typeof y=="function")throw new TypeError("callback only supported with file option");return b.file&&b.sync?r(b,h):b.file?e(b,h,y):b.sync?c(b,h):o(b,h)};var r=(d,h)=>{let y=new s.Sync(d),b=new i.WriteStreamSync(d.file,{mode:d.mode||438});y.pipe(b),f(y,h)},e=(d,h,y)=>{let b=new s(d),E=new i.WriteStream(d.file,{mode:d.mode||438});b.pipe(E);let g=new Promise((D,w)=>{E.on("error",w),E.on("close",D),b.on("error",w)});return a(b,h),y?g.then(y,y):g},f=(d,h)=>{h.forEach(y=>{y.charAt(0)==="@"?p({file:u.resolve(d.cwd,y.slice(1)),sync:!0,noResume:!0,onentry:b=>d.add(b)}):d.add(y)}),d.end()},a=(d,h)=>{for(;h.length;){let y=h.shift();if(y.charAt(0)==="@")return p({file:u.resolve(d.cwd,y.slice(1)),noResume:!0,onentry:b=>d.add(b)}).then(b=>a(d,h));d.add(y)}d.end()},c=(d,h)=>{let y=new s.Sync(d);return f(y,h),y},o=(d,h)=>{let y=new s(d);return a(y,h),y}}),Un=N((t,l)=>{"use strict";B();var n=Oe(),s=kr(),i=Z("fs"),p=Pe(),u=Rr(),r=Z("path"),e=Te();l.exports=(h,y,b)=>{let E=n(h);if(!E.file)throw new TypeError("file is required");if(E.gzip)throw new TypeError("cannot append to compressed archives");if(!y||!Array.isArray(y)||!y.length)throw new TypeError("no files or directories specified");return y=Array.from(y),E.sync?f(E,y):c(E,y,b)};var f=(h,y)=>{let b=new s.Sync(h),E=!0,g,D;try{try{g=i.openSync(h.file,"r+")}catch(m){if(m.code==="ENOENT")g=i.openSync(h.file,"w+");else throw m}let w=i.fstatSync(g),v=Buffer.alloc(512);t:for(D=0;D<w.size;D+=512){for(let S=0,A=0;S<512;S+=A){if(A=i.readSync(g,v,S,v.length-S,D+S),D===0&&v[0]===31&&v[1]===139)throw new Error("cannot append to compressed archives");if(!A)break t}let m=new e(v);if(!m.cksumValid)break;let _=512*Math.ceil(m.size/512);if(D+_+512>w.size)break;D+=_,h.mtimeCache&&h.mtimeCache.set(m.path,m.mtime)}E=!1,a(h,b,D,g,y)}finally{if(E)try{i.closeSync(g)}catch{}}},a=(h,y,b,E,g)=>{let D=new p.WriteStreamSync(h.file,{fd:E,start:b});y.pipe(D),o(y,g)},c=(h,y,b)=>{y=Array.from(y);let E=new s(h),g=(w,v,m)=>{let _=(T,F)=>{T?i.close(w,O=>m(T)):m(null,F)},S=0;if(v===0)return _(null,0);let A=0,x=Buffer.alloc(512),L=(T,F)=>{if(T)return _(T);if(A+=F,A<512&&F)return i.read(w,x,A,x.length-A,S+A,L);if(S===0&&x[0]===31&&x[1]===139)return _(new Error("cannot append to compressed archives"));if(A<512)return _(null,S);let O=new e(x);if(!O.cksumValid)return _(null,S);let I=512*Math.ceil(O.size/512);if(S+I+512>v||(S+=I+512,S>=v))return _(null,S);h.mtimeCache&&h.mtimeCache.set(O.path,O.mtime),A=0,i.read(w,x,0,512,S,L)};i.read(w,x,0,512,S,L)},D=new Promise((w,v)=>{E.on("error",v);let m="r+",_=(S,A)=>{if(S&&S.code==="ENOENT"&&m==="r+")return m="w+",i.open(h.file,m,_);if(S)return v(S);i.fstat(A,(x,L)=>{if(x)return i.close(A,()=>v(x));g(A,L.size,(T,F)=>{if(T)return v(T);let O=new p.WriteStream(h.file,{fd:A,start:F});E.pipe(O),O.on("error",v),O.on("close",w),d(E,y)})})};i.open(h.file,m,_)});return b?D.then(b,b):D},o=(h,y)=>{y.forEach(b=>{b.charAt(0)==="@"?u({file:r.resolve(h.cwd,b.slice(1)),sync:!0,noResume:!0,onentry:E=>h.add(E)}):h.add(b)}),h.end()},d=(h,y)=>{for(;y.length;){let b=y.shift();if(b.charAt(0)==="@")return u({file:r.resolve(h.cwd,b.slice(1)),noResume:!0,onentry:E=>h.add(E)}).then(E=>d(h,y));h.add(b)}h.end()}}),cu=N((t,l)=>{"use strict";B();var n=Oe(),s=Un();l.exports=(p,u,r)=>{let e=n(p);if(!e.file)throw new TypeError("file is required");if(e.gzip)throw new TypeError("cannot append to compressed archives");if(!u||!Array.isArray(u)||!u.length)throw new TypeError("no files or directories specified");return u=Array.from(u),i(e),s(e,u,r)};var i=p=>{let u=p.filter;p.mtimeCache||(p.mtimeCache=new Map),p.filter=u?(r,e)=>u(r,e)&&!(p.mtimeCache.get(r)>e.mtime):(r,e)=>!(p.mtimeCache.get(r)>e.mtime)}}),hu=N((t,l)=>{B();var{promisify:n}=Z("util"),s=Z("fs"),i=p=>{if(!p)p={mode:511,fs:s};else if(typeof p=="object")p={mode:511,fs:s,...p};else if(typeof p=="number")p={mode:p,fs:s};else if(typeof p=="string")p={mode:parseInt(p,8),fs:s};else throw new TypeError("invalid options argument");return p.mkdir=p.mkdir||p.fs.mkdir||s.mkdir,p.mkdirAsync=n(p.mkdir),p.stat=p.stat||p.fs.stat||s.stat,p.statAsync=n(p.stat),p.statSync=p.statSync||p.fs.statSync||s.statSync,p.mkdirSync=p.mkdirSync||p.fs.mkdirSync||s.mkdirSync,p};l.exports=i}),fu=N((t,l)=>{B();var n=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,{resolve:s,parse:i}=Z("path"),p=u=>{if(/\0/.test(u))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:u,code:"ERR_INVALID_ARG_VALUE"});if(u=s(u),n==="win32"){let r=/[*|"<>?:]/,{root:e}=i(u);if(r.test(u.substr(e.length)))throw Object.assign(new Error("Illegal characters in path."),{path:u,code:"EINVAL"})}return u};l.exports=p}),pu=N((t,l)=>{B();var{dirname:n}=Z("path"),s=(p,u,r=void 0)=>r===u?Promise.resolve():p.statAsync(u).then(e=>e.isDirectory()?r:void 0,e=>e.code==="ENOENT"?s(p,n(u),u):void 0),i=(p,u,r=void 0)=>{if(r!==u)try{return p.statSync(u).isDirectory()?r:void 0}catch(e){return e.code==="ENOENT"?i(p,n(u),u):void 0}};l.exports={findMade:s,findMadeSync:i}}),qn=N((t,l)=>{B();var{dirname:n}=Z("path"),s=(p,u,r)=>{u.recursive=!1;let e=n(p);return e===p?u.mkdirAsync(p,u).catch(f=>{if(f.code!=="EISDIR")throw f}):u.mkdirAsync(p,u).then(()=>r||p,f=>{if(f.code==="ENOENT")return s(e,u).then(a=>s(p,u,a));if(f.code!=="EEXIST"&&f.code!=="EROFS")throw f;return u.statAsync(p).then(a=>{if(a.isDirectory())return r;throw f},()=>{throw f})})},i=(p,u,r)=>{let e=n(p);if(u.recursive=!1,e===p)try{return u.mkdirSync(p,u)}catch(f){if(f.code!=="EISDIR")throw f;return}try{return u.mkdirSync(p,u),r||p}catch(f){if(f.code==="ENOENT")return i(p,u,i(e,u,r));if(f.code!=="EEXIST"&&f.code!=="EROFS")throw f;try{if(!u.statSync(p).isDirectory())throw f}catch{throw f}}};l.exports={mkdirpManual:s,mkdirpManualSync:i}}),du=N((t,l)=>{B();var{dirname:n}=Z("path"),{findMade:s,findMadeSync:i}=pu(),{mkdirpManual:p,mkdirpManualSync:u}=qn(),r=(f,a)=>(a.recursive=!0,n(f)===f?a.mkdirAsync(f,a):s(a,f).then(c=>a.mkdirAsync(f,a).then(()=>c).catch(o=>{if(o.code==="ENOENT")return p(f,a);throw o}))),e=(f,a)=>{if(a.recursive=!0,n(f)===f)return a.mkdirSync(f,a);let c=i(a,f);try{return a.mkdirSync(f,a),c}catch(o){if(o.code==="ENOENT")return u(f,a);throw o}};l.exports={mkdirpNative:r,mkdirpNativeSync:e}}),mu=N((t,l)=>{B();var n=Z("fs"),s=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,i=s.replace(/^v/,"").split("."),p=+i[0]>10||+i[0]==10&&+i[1]>=12,u=p?e=>e.mkdir===n.mkdir:()=>!1,r=p?e=>e.mkdirSync===n.mkdirSync:()=>!1;l.exports={useNative:u,useNativeSync:r}}),yu=N((t,l)=>{B();var n=hu(),s=fu(),{mkdirpNative:i,mkdirpNativeSync:p}=du(),{mkdirpManual:u,mkdirpManualSync:r}=qn(),{useNative:e,useNativeSync:f}=mu(),a=(o,d)=>(o=s(o),d=n(d),e(d)?i(o,d):u(o,d)),c=(o,d)=>(o=s(o),d=n(d),f(d)?p(o,d):r(o,d));a.sync=c,a.native=(o,d)=>i(s(o),n(d)),a.manual=(o,d)=>u(s(o),n(d)),a.nativeSync=(o,d)=>p(s(o),n(d)),a.manualSync=(o,d)=>r(s(o),n(d)),l.exports=a}),gu=N((t,l)=>{"use strict";B();var n=Z("fs"),s=Z("path"),i=n.lchown?"lchown":"chown",p=n.lchownSync?"lchownSync":"chownSync",u=n.lchown&&!process.version.match(/v1[1-9]+\./)&&!process.version.match(/v10\.[6-9]/),r=(D,w,v)=>{try{return n[p](D,w,v)}catch(m){if(m.code!=="ENOENT")throw m}},e=(D,w,v)=>{try{return n.chownSync(D,w,v)}catch(m){if(m.code!=="ENOENT")throw m}},f=u?(D,w,v,m)=>_=>{!_||_.code!=="EISDIR"?m(_):n.chown(D,w,v,m)}:(D,w,v,m)=>m,a=u?(D,w,v)=>{try{return r(D,w,v)}catch(m){if(m.code!=="EISDIR")throw m;e(D,w,v)}}:(D,w,v)=>r(D,w,v),c=process.version,o=(D,w,v)=>n.readdir(D,w,v),d=(D,w)=>n.readdirSync(D,w);/^v4\./.test(c)&&(o=(D,w,v)=>n.readdir(D,v));var h=(D,w,v,m)=>{n[i](D,w,v,f(D,w,v,_=>{m(_&&_.code!=="ENOENT"?_:null)}))},y=(D,w,v,m,_)=>{if(typeof w=="string")return n.lstat(s.resolve(D,w),(S,A)=>{if(S)return _(S.code!=="ENOENT"?S:null);A.name=w,y(D,A,v,m,_)});if(w.isDirectory())b(s.resolve(D,w.name),v,m,S=>{if(S)return _(S);let A=s.resolve(D,w.name);h(A,v,m,_)});else{let S=s.resolve(D,w.name);h(S,v,m,_)}},b=(D,w,v,m)=>{o(D,{withFileTypes:!0},(_,S)=>{if(_){if(_.code==="ENOENT")return m();if(_.code!=="ENOTDIR"&&_.code!=="ENOTSUP")return m(_)}if(_||!S.length)return h(D,w,v,m);let A=S.length,x=null,L=T=>{if(!x){if(T)return m(x=T);if(--A===0)return h(D,w,v,m)}};S.forEach(T=>y(D,T,w,v,L))})},E=(D,w,v,m)=>{if(typeof w=="string")try{let _=n.lstatSync(s.resolve(D,w));_.name=w,w=_}catch(_){if(_.code==="ENOENT")return;throw _}w.isDirectory()&&g(s.resolve(D,w.name),v,m),a(s.resolve(D,w.name),v,m)},g=(D,w,v)=>{let m;try{m=d(D,{withFileTypes:!0})}catch(_){if(_.code==="ENOENT")return;if(_.code==="ENOTDIR"||_.code==="ENOTSUP")return a(D,w,v);throw _}return m&&m.length&&m.forEach(_=>E(D,_,w,v)),a(D,w,v)};l.exports=b,b.sync=g}),bu=N((t,l)=>{"use strict";B();var n=yu(),s=Z("fs"),i=Z("path"),p=gu(),u=Re(),r=class extends Error{constructor(y,b){super("Cannot extract through symbolic link"),this.path=b,this.symlink=y}get name(){return"SylinkError"}},e=class extends Error{constructor(y,b){super(b+": Cannot cd into '"+y+"'"),this.path=y,this.code=b}get name(){return"CwdError"}},f=(y,b)=>y.get(u(b)),a=(y,b,E)=>y.set(u(b),E),c=(y,b)=>{s.stat(y,(E,g)=>{(E||!g.isDirectory())&&(E=new e(y,E&&E.code||"ENOTDIR")),b(E)})};l.exports=(y,b,E)=>{y=u(y);let g=b.umask,D=b.mode|448,w=(D&g)!==0,v=b.uid,m=b.gid,_=typeof v=="number"&&typeof m=="number"&&(v!==b.processUid||m!==b.processGid),S=b.preserve,A=b.unlink,x=b.cache,L=u(b.cwd),T=(O,I)=>{O?E(O):(a(x,y,!0),I&&_?p(I,v,m,$=>T($)):w?s.chmod(y,D,E):E())};if(x&&f(x,y)===!0)return T();if(y===L)return c(y,T);if(S)return n(y,{mode:D}).then(O=>T(null,O),T);let F=u(i.relative(L,y)).split("/");o(L,F,D,x,A,L,null,T)};var o=(y,b,E,g,D,w,v,m)=>{if(!b.length)return m(null,v);let _=b.shift(),S=u(i.resolve(y+"/"+_));if(f(g,S))return o(S,b,E,g,D,w,v,m);s.mkdir(S,E,d(S,b,E,g,D,w,v,m))},d=(y,b,E,g,D,w,v,m)=>_=>{_?s.lstat(y,(S,A)=>{if(S)S.path=S.path&&u(S.path),m(S);else if(A.isDirectory())o(y,b,E,g,D,w,v,m);else if(D)s.unlink(y,x=>{if(x)return m(x);s.mkdir(y,E,d(y,b,E,g,D,w,v,m))});else{if(A.isSymbolicLink())return m(new r(y,y+"/"+b.join("/")));m(_)}}):(v=v||y,o(y,b,E,g,D,w,v,m))},h=y=>{let b=!1,E="ENOTDIR";try{b=s.statSync(y).isDirectory()}catch(g){E=g.code}finally{if(!b)throw new e(y,E)}};l.exports.sync=(y,b)=>{y=u(y);let E=b.umask,g=b.mode|448,D=(g&E)!==0,w=b.uid,v=b.gid,m=typeof w=="number"&&typeof v=="number"&&(w!==b.processUid||v!==b.processGid),_=b.preserve,S=b.unlink,A=b.cache,x=u(b.cwd),L=O=>{a(A,y,!0),O&&m&&p.sync(O,w,v),D&&s.chmodSync(y,g)};if(A&&f(A,y)===!0)return L();if(y===x)return h(x),L();if(_)return L(n.sync(y,g));let T=u(i.relative(x,y)).split("/"),F=null;for(let O=T.shift(),I=x;O&&(I+="/"+O);O=T.shift())if(I=u(i.resolve(I)),!f(A,I))try{s.mkdirSync(I,g),F=F||I,a(A,I,!0)}catch{let $=s.lstatSync(I);if($.isDirectory()){a(A,I,!0);continue}else if(S){s.unlinkSync(I),s.mkdirSync(I,g),F=F||I,a(A,I,!0);continue}else if($.isSymbolicLink())return new r(I,I+"/"+T.join("/"))}return L(F)}}),Gn=N((t,l)=>{B();var n=Object.create(null),{hasOwnProperty:s}=Object.prototype;l.exports=i=>(s.call(n,i)||(n[i]=i.normalize("NFKD")),n[i])}),vu=N((t,l)=>{B();var n=Z("assert"),s=Gn(),i=Be(),{join:p}=Z("path"),u=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,r=u==="win32";l.exports=()=>{let e=new Map,f=new Map,a=b=>b.split("/").slice(0,-1).reduce((E,g)=>(E.length&&(g=p(E[E.length-1],g)),E.push(g||"/"),E),[]),c=new Set,o=b=>{let E=f.get(b);if(!E)throw new Error("function does not have any path reservations");return{paths:E.paths.map(g=>e.get(g)),dirs:[...E.dirs].map(g=>e.get(g))}},d=b=>{let{paths:E,dirs:g}=o(b);return E.every(D=>D[0]===b)&&g.every(D=>D[0]instanceof Set&&D[0].has(b))},h=b=>c.has(b)||!d(b)?!1:(c.add(b),b(()=>y(b)),!0),y=b=>{if(!c.has(b))return!1;let{paths:E,dirs:g}=f.get(b),D=new Set;return E.forEach(w=>{let v=e.get(w);n.equal(v[0],b),v.length===1?e.delete(w):(v.shift(),typeof v[0]=="function"?D.add(v[0]):v[0].forEach(m=>D.add(m)))}),g.forEach(w=>{let v=e.get(w);n(v[0]instanceof Set),v[0].size===1&&v.length===1?e.delete(w):v[0].size===1?(v.shift(),D.add(v[0])):v[0].delete(b)}),c.delete(b),D.forEach(w=>h(w)),!0};return{check:d,reserve:(b,E)=>{b=r?["win32 parallelization disabled"]:b.map(D=>s(i(p(D))).toLowerCase());let g=new Set(b.map(D=>a(D)).reduce((D,w)=>D.concat(w)));return f.set(E,{dirs:g,paths:b}),b.forEach(D=>{let w=e.get(D);w?w.push(E):e.set(D,[E])}),g.forEach(D=>{let w=e.get(D);w?w[w.length-1]instanceof Set?w[w.length-1].add(E):w.push(new Set([E])):e.set(D,[new Set([E])])}),h(E)}}}}),Eu=N((t,l)=>{B();var n=process.env.__FAKE_PLATFORM__||process.platform,s=n==="win32",i=global.__FAKE_TESTING_FS__||Z("fs"),{O_CREAT:p,O_TRUNC:u,O_WRONLY:r,UV_FS_O_FILEMAP:e=0}=i.constants,f=s&&!!e,a=512*1024,c=e|u|p|r;l.exports=f?o=>o<a?c:"w":()=>"w"}),zn=N((t,l)=>{"use strict";B();var n=Z("assert"),s=Or(),i=Z("fs"),p=Pe(),u=Z("path"),r=bu(),e=jn(),f=vu(),a=Mn(),c=Re(),o=Be(),d=Gn(),h=Symbol("onEntry"),y=Symbol("checkFs"),b=Symbol("checkFs2"),E=Symbol("pruneCache"),g=Symbol("isReusable"),D=Symbol("makeFs"),w=Symbol("file"),v=Symbol("directory"),m=Symbol("link"),_=Symbol("symlink"),S=Symbol("hardlink"),A=Symbol("unsupported"),x=Symbol("checkPath"),L=Symbol("mkdir"),T=Symbol("onError"),F=Symbol("pending"),O=Symbol("pend"),I=Symbol("unpend"),$=Symbol("ended"),R=Symbol("maybeClose"),q=Symbol("skip"),W=Symbol("doChown"),Q=Symbol("uid"),P=Symbol("gid"),j=Symbol("checkedCwd"),k=Z("crypto"),J=Eu(),G=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,tt=G==="win32",M=(C,z)=>{if(!tt)return i.unlink(C,z);let X=C+".DELETE."+k.randomBytes(16).toString("hex");i.rename(C,X,rt=>{if(rt)return z(rt);i.unlink(X,z)})},K=C=>{if(!tt)return i.unlinkSync(C);let z=C+".DELETE."+k.randomBytes(16).toString("hex");i.renameSync(C,z),i.unlinkSync(z)},et=(C,z,X)=>C===C>>>0?C:z===z>>>0?z:X,ot=C=>d(o(c(C))).toLowerCase(),ct=(C,z)=>{z=ot(z);for(let X of C.keys()){let rt=ot(X);(rt===z||rt.indexOf(z+"/")===0)&&C.delete(X)}},gt=C=>{for(let z of C.keys())C.delete(z)},mt=class extends s{constructor(C){if(C||(C={}),C.ondone=z=>{this[$]=!0,this[R]()},super(C),this[j]=!1,this.reservations=f(),this.transform=typeof C.transform=="function"?C.transform:null,this.writable=!0,this.readable=!1,this[F]=0,this[$]=!1,this.dirCache=C.dirCache||new Map,typeof C.uid=="number"||typeof C.gid=="number"){if(typeof C.uid!="number"||typeof C.gid!="number")throw new TypeError("cannot set owner without number uid and gid");if(C.preserveOwner)throw new TypeError("cannot preserve owner in archive and also set owner explicitly");this.uid=C.uid,this.gid=C.gid,this.setOwner=!0}else this.uid=null,this.gid=null,this.setOwner=!1;C.preserveOwner===void 0&&typeof C.uid!="number"?this.preserveOwner=process.getuid&&process.getuid()===0:this.preserveOwner=!!C.preserveOwner,this.processUid=(this.preserveOwner||this.setOwner)&&process.getuid?process.getuid():null,this.processGid=(this.preserveOwner||this.setOwner)&&process.getgid?process.getgid():null,this.forceChown=C.forceChown===!0,this.win32=!!C.win32||tt,this.newer=!!C.newer,this.keep=!!C.keep,this.noMtime=!!C.noMtime,this.preservePaths=!!C.preservePaths,this.unlink=!!C.unlink,this.cwd=c(u.resolve(C.cwd||process.cwd())),this.strip=+C.strip||0,this.processUmask=C.noChmod?0:process.umask(),this.umask=typeof C.umask=="number"?C.umask:this.processUmask,this.dmode=C.dmode||511&~this.umask,this.fmode=C.fmode||438&~this.umask,this.on("entry",z=>this[h](z))}warn(C,z,X={}){return(C==="TAR_BAD_ARCHIVE"||C==="TAR_ABORT")&&(X.recoverable=!1),super.warn(C,z,X)}[R](){this[$]&&this[F]===0&&(this.emit("prefinish"),this.emit("finish"),this.emit("end"))}[x](C){if(this.strip){let z=c(C.path).split("/");if(z.length<this.strip)return!1;if(C.path=z.slice(this.strip).join("/"),C.type==="Link"){let X=c(C.linkpath).split("/");if(X.length>=this.strip)C.linkpath=X.slice(this.strip).join("/");else return!1}}if(!this.preservePaths){let z=c(C.path),X=z.split("/");if(X.includes("..")||tt&&/^[a-z]:\.\.$/i.test(X[0]))return this.warn("TAR_ENTRY_ERROR","path contains '..'",{entry:C,path:z}),!1;let[rt,ht]=a(z);rt&&(C.path=ht,this.warn("TAR_ENTRY_INFO",`stripping ${rt} from absolute path`,{entry:C,path:z}))}if(u.isAbsolute(C.path)?C.absolute=c(u.resolve(C.path)):C.absolute=c(u.resolve(this.cwd,C.path)),!this.preservePaths&&C.absolute.indexOf(this.cwd+"/")!==0&&C.absolute!==this.cwd)return this.warn("TAR_ENTRY_ERROR","path escaped extraction target",{entry:C,path:c(C.path),resolvedPath:C.absolute,cwd:this.cwd}),!1;if(C.absolute===this.cwd&&C.type!=="Directory"&&C.type!=="GNUDumpDir")return!1;if(this.win32){let{root:z}=u.win32.parse(C.absolute);C.absolute=z+e.encode(C.absolute.slice(z.length));let{root:X}=u.win32.parse(C.path);C.path=X+e.encode(C.path.slice(X.length))}return!0}[h](C){if(!this[x](C))return C.resume();switch(n.equal(typeof C.absolute,"string"),C.type){case"Directory":case"GNUDumpDir":C.mode&&(C.mode=C.mode|448);case"File":case"OldFile":case"ContiguousFile":case"Link":case"SymbolicLink":return this[y](C);case"CharacterDevice":case"BlockDevice":case"FIFO":default:return this[A](C)}}[T](C,z){C.name==="CwdError"?this.emit("error",C):(this.warn("TAR_ENTRY_ERROR",C,{entry:z}),this[I](),z.resume())}[L](C,z,X){r(c(C),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:z,noChmod:this.noChmod},X)}[W](C){return this.forceChown||this.preserveOwner&&(typeof C.uid=="number"&&C.uid!==this.processUid||typeof C.gid=="number"&&C.gid!==this.processGid)||typeof this.uid=="number"&&this.uid!==this.processUid||typeof this.gid=="number"&&this.gid!==this.processGid}[Q](C){return et(this.uid,C.uid,this.processUid)}[P](C){return et(this.gid,C.gid,this.processGid)}[w](C,z){let X=C.mode&4095||this.fmode,rt=new p.WriteStream(C.absolute,{flags:J(C.size),mode:X,autoClose:!1});rt.on("error",nt=>{rt.fd&&i.close(rt.fd,()=>{}),rt.write=()=>!0,this[T](nt,C),z()});let ht=1,it=nt=>{if(nt){rt.fd&&i.close(rt.fd,()=>{}),this[T](nt,C),z();return}--ht===0&&i.close(rt.fd,ft=>{ft?this[T](ft,C):this[I](),z()})};rt.on("finish",nt=>{let ft=C.absolute,vt=rt.fd;if(C.mtime&&!this.noMtime){ht++;let xt=C.atime||new Date,Y=C.mtime;i.futimes(vt,xt,Y,U=>U?i.utimes(ft,xt,Y,ut=>it(ut&&U)):it())}if(this[W](C)){ht++;let xt=this[Q](C),Y=this[P](C);i.fchown(vt,xt,Y,U=>U?i.chown(ft,xt,Y,ut=>it(ut&&U)):it())}it()});let lt=this.transform&&this.transform(C)||C;lt!==C&&(lt.on("error",nt=>{this[T](nt,C),z()}),C.pipe(lt)),lt.pipe(rt)}[v](C,z){let X=C.mode&4095||this.dmode;this[L](C.absolute,X,rt=>{if(rt){this[T](rt,C),z();return}let ht=1,it=lt=>{--ht===0&&(z(),this[I](),C.resume())};C.mtime&&!this.noMtime&&(ht++,i.utimes(C.absolute,C.atime||new Date,C.mtime,it)),this[W](C)&&(ht++,i.chown(C.absolute,this[Q](C),this[P](C),it)),it()})}[A](C){C.unsupported=!0,this.warn("TAR_ENTRY_UNSUPPORTED",`unsupported entry type: ${C.type}`,{entry:C}),C.resume()}[_](C,z){this[m](C,C.linkpath,"symlink",z)}[S](C,z){let X=c(u.resolve(this.cwd,C.linkpath));this[m](C,X,"link",z)}[O](){this[F]++}[I](){this[F]--,this[R]()}[q](C){this[I](),C.resume()}[g](C,z){return C.type==="File"&&!this.unlink&&z.isFile()&&z.nlink<=1&&!tt}[y](C){this[O]();let z=[C.path];C.linkpath&&z.push(C.linkpath),this.reservations.reserve(z,X=>this[b](C,X))}[E](C){C.type==="SymbolicLink"?gt(this.dirCache):C.type!=="Directory"&&ct(this.dirCache,C.absolute)}[b](C,z){this[E](C);let X=lt=>{this[E](C),z(lt)},rt=()=>{this[L](this.cwd,this.dmode,lt=>{if(lt){this[T](lt,C),X();return}this[j]=!0,ht()})},ht=()=>{if(C.absolute!==this.cwd){let lt=c(u.dirname(C.absolute));if(lt!==this.cwd)return this[L](lt,this.dmode,nt=>{if(nt){this[T](nt,C),X();return}it()})}it()},it=()=>{i.lstat(C.absolute,(lt,nt)=>{if(nt&&(this.keep||this.newer&&nt.mtime>C.mtime)){this[q](C),X();return}if(lt||this[g](C,nt))return this[D](null,C,X);if(nt.isDirectory()){if(C.type==="Directory"){let ft=!this.noChmod&&C.mode&&(nt.mode&4095)!==C.mode,vt=xt=>this[D](xt,C,X);return ft?i.chmod(C.absolute,C.mode,vt):vt()}if(C.absolute!==this.cwd)return i.rmdir(C.absolute,ft=>this[D](ft,C,X))}if(C.absolute===this.cwd)return this[D](null,C,X);M(C.absolute,ft=>this[D](ft,C,X))})};this[j]?ht():rt()}[D](C,z,X){if(C){this[T](C,z),X();return}switch(z.type){case"File":case"OldFile":case"ContiguousFile":return this[w](z,X);case"Link":return this[S](z,X);case"SymbolicLink":return this[_](z,X);case"Directory":case"GNUDumpDir":return this[v](z,X)}}[m](C,z,X,rt){i[X](z,C.absolute,ht=>{ht?this[T](ht,C):(this[I](),C.resume()),rt()})}},H=C=>{try{return[null,C()]}catch(z){return[z,null]}},V=class extends mt{[D](C,z){return super[D](C,z,()=>{})}[y](C){if(this[E](C),!this[j]){let ht=this[L](this.cwd,this.dmode);if(ht)return this[T](ht,C);this[j]=!0}if(C.absolute!==this.cwd){let ht=c(u.dirname(C.absolute));if(ht!==this.cwd){let it=this[L](ht,this.dmode);if(it)return this[T](it,C)}}let[z,X]=H(()=>i.lstatSync(C.absolute));if(X&&(this.keep||this.newer&&X.mtime>C.mtime))return this[q](C);if(z||this[g](C,X))return this[D](null,C);if(X.isDirectory()){if(C.type==="Directory"){let it=!this.noChmod&&C.mode&&(X.mode&4095)!==C.mode,[lt]=it?H(()=>{i.chmodSync(C.absolute,C.mode)}):[];return this[D](lt,C)}let[ht]=H(()=>i.rmdirSync(C.absolute));this[D](ht,C)}let[rt]=C.absolute===this.cwd?[]:H(()=>K(C.absolute));this[D](rt,C)}[w](C,z){let X=C.mode&4095||this.fmode,rt=lt=>{let nt;try{i.closeSync(ht)}catch(ft){nt=ft}(lt||nt)&&this[T](lt||nt,C),z()},ht;try{ht=i.openSync(C.absolute,J(C.size),X)}catch(lt){return rt(lt)}let it=this.transform&&this.transform(C)||C;it!==C&&(it.on("error",lt=>this[T](lt,C)),C.pipe(it)),it.on("data",lt=>{try{i.writeSync(ht,lt,0,lt.length)}catch(nt){rt(nt)}}),it.on("end",lt=>{let nt=null;if(C.mtime&&!this.noMtime){let ft=C.atime||new Date,vt=C.mtime;try{i.futimesSync(ht,ft,vt)}catch(xt){try{i.utimesSync(C.absolute,ft,vt)}catch{nt=xt}}}if(this[W](C)){let ft=this[Q](C),vt=this[P](C);try{i.fchownSync(ht,ft,vt)}catch(xt){try{i.chownSync(C.absolute,ft,vt)}catch{nt=nt||xt}}}rt(nt)})}[v](C,z){let X=C.mode&4095||this.dmode,rt=this[L](C.absolute,X);if(rt){this[T](rt,C),z();return}if(C.mtime&&!this.noMtime)try{i.utimesSync(C.absolute,C.atime||new Date,C.mtime)}catch{}if(this[W](C))try{i.chownSync(C.absolute,this[Q](C),this[P](C))}catch{}z(),C.resume()}[L](C,z){try{return r.sync(c(C),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:z})}catch(X){return X}}[m](C,z,X,rt){try{i[X+"Sync"](z,C.absolute),rt(),C.resume()}catch(ht){return this[T](ht,C)}}};mt.Sync=V,l.exports=mt}),_u=N((t,l)=>{"use strict";B();var n=Oe(),s=zn(),i=Z("fs"),p=Pe(),u=Z("path"),r=Be();l.exports=(d,h,y)=>{typeof d=="function"?(y=d,h=null,d={}):Array.isArray(d)&&(h=d,d={}),typeof h=="function"&&(y=h,h=null),h?h=Array.from(h):h=[];let b=n(d);if(b.sync&&typeof y=="function")throw new TypeError("callback not supported for sync tar functions");if(!b.file&&typeof y=="function")throw new TypeError("callback only supported with file option");return h.length&&e(b,h),b.file&&b.sync?f(b):b.file?a(b,y):b.sync?c(b):o(b)};var e=(d,h)=>{let y=new Map(h.map(g=>[r(g),!0])),b=d.filter,E=(g,D)=>{let w=D||u.parse(g).root||".",v=g===w?!1:y.has(g)?y.get(g):E(u.dirname(g),w);return y.set(g,v),v};d.filter=b?(g,D)=>b(g,D)&&E(r(g)):g=>E(r(g))},f=d=>{let h=new s.Sync(d),y=d.file,b=i.statSync(y),E=d.maxReadSize||16*1024*1024;new p.ReadStreamSync(y,{readSize:E,size:b.size}).pipe(h)},a=(d,h)=>{let y=new s(d),b=d.maxReadSize||16*1024*1024,E=d.file,g=new Promise((D,w)=>{y.on("error",w),y.on("close",D),i.stat(E,(v,m)=>{if(v)w(v);else{let _=new p.ReadStream(E,{readSize:b,size:m.size});_.on("error",w),_.pipe(y)}})});return h?g.then(h,h):g},c=d=>new s.Sync(d),o=d=>new s(d)}),wu=N(t=>{"use strict";B(),t.c=t.create=lu(),t.r=t.replace=Un(),t.t=t.list=Rr(),t.u=t.update=cu(),t.x=t.extract=_u(),t.Pack=kr(),t.Unpack=zn(),t.Parse=Or(),t.ReadEntry=Cr(),t.WriteEntry=$n(),t.Header=Te(),t.Pax=xr(),t.types=Nn()}),ue=N((t,l)=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var n=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function s(m){return n.includes(m)}var i=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement",...n];function p(m){return i.includes(m)}var u=["null","undefined","string","number","bigint","boolean","symbol"];function r(m){return u.includes(m)}function e(m){return _=>typeof _===m}var{toString:f}=Object.prototype,a=m=>{let _=f.call(m).slice(8,-1);if(/HTML\w+Element/.test(_)&&o.domElement(m))return"HTMLElement";if(p(_))return _},c=m=>_=>a(_)===m;function o(m){if(m===null)return"null";switch(typeof m){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol";default:}if(o.observable(m))return"Observable";if(o.array(m))return"Array";if(o.buffer(m))return"Buffer";let _=a(m);if(_)return _;if(m instanceof String||m instanceof Boolean||m instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return"Object"}o.undefined=e("undefined"),o.string=e("string");var d=e("number");o.number=m=>d(m)&&!o.nan(m),o.bigint=e("bigint"),o.function_=e("function"),o.null_=m=>m===null,o.class_=m=>o.function_(m)&&m.toString().startsWith("class "),o.boolean=m=>m===!0||m===!1,o.symbol=e("symbol"),o.numericString=m=>o.string(m)&&!o.emptyStringOrWhitespace(m)&&!Number.isNaN(Number(m)),o.array=(m,_)=>Array.isArray(m)?o.function_(_)?m.every(_):!0:!1,o.buffer=m=>{var _,S,A,x;return(x=(A=(S=(_=m)===null||_===void 0?void 0:_.constructor)===null||S===void 0?void 0:S.isBuffer)===null||A===void 0?void 0:A.call(S,m))!==null&&x!==void 0?x:!1},o.blob=m=>c("Blob")(m),o.nullOrUndefined=m=>o.null_(m)||o.undefined(m),o.object=m=>!o.null_(m)&&(typeof m=="object"||o.function_(m)),o.iterable=m=>{var _;return o.function_((_=m)===null||_===void 0?void 0:_[Symbol.iterator])},o.asyncIterable=m=>{var _;return o.function_((_=m)===null||_===void 0?void 0:_[Symbol.asyncIterator])},o.generator=m=>{var _,S;return o.iterable(m)&&o.function_((_=m)===null||_===void 0?void 0:_.next)&&o.function_((S=m)===null||S===void 0?void 0:S.throw)},o.asyncGenerator=m=>o.asyncIterable(m)&&o.function_(m.next)&&o.function_(m.throw),o.nativePromise=m=>c("Promise")(m);var h=m=>{var _,S;return o.function_((_=m)===null||_===void 0?void 0:_.then)&&o.function_((S=m)===null||S===void 0?void 0:S.catch)};o.promise=m=>o.nativePromise(m)||h(m),o.generatorFunction=c("GeneratorFunction"),o.asyncGeneratorFunction=m=>a(m)==="AsyncGeneratorFunction",o.asyncFunction=m=>a(m)==="AsyncFunction",o.boundFunction=m=>o.function_(m)&&!m.hasOwnProperty("prototype"),o.regExp=c("RegExp"),o.date=c("Date"),o.error=c("Error"),o.map=m=>c("Map")(m),o.set=m=>c("Set")(m),o.weakMap=m=>c("WeakMap")(m),o.weakSet=m=>c("WeakSet")(m),o.int8Array=c("Int8Array"),o.uint8Array=c("Uint8Array"),o.uint8ClampedArray=c("Uint8ClampedArray"),o.int16Array=c("Int16Array"),o.uint16Array=c("Uint16Array"),o.int32Array=c("Int32Array"),o.uint32Array=c("Uint32Array"),o.float32Array=c("Float32Array"),o.float64Array=c("Float64Array"),o.bigInt64Array=c("BigInt64Array"),o.bigUint64Array=c("BigUint64Array"),o.arrayBuffer=c("ArrayBuffer"),o.sharedArrayBuffer=c("SharedArrayBuffer"),o.dataView=c("DataView"),o.enumCase=(m,_)=>Object.values(_).includes(m),o.directInstanceOf=(m,_)=>Object.getPrototypeOf(m)===_.prototype,o.urlInstance=m=>c("URL")(m),o.urlString=m=>{if(!o.string(m))return!1;try{return new URL(m),!0}catch{return!1}},o.truthy=m=>!!m,o.falsy=m=>!m,o.nan=m=>Number.isNaN(m),o.primitive=m=>o.null_(m)||r(typeof m),o.integer=m=>Number.isInteger(m),o.safeInteger=m=>Number.isSafeInteger(m),o.plainObject=m=>{if(f.call(m)!=="[object Object]")return!1;let _=Object.getPrototypeOf(m);return _===null||_===Object.getPrototypeOf({})},o.typedArray=m=>s(a(m));var y=m=>o.safeInteger(m)&&m>=0;o.arrayLike=m=>!o.nullOrUndefined(m)&&!o.function_(m)&&y(m.length),o.inRange=(m,_)=>{if(o.number(_))return m>=Math.min(0,_)&&m<=Math.max(_,0);if(o.array(_)&&_.length===2)return m>=Math.min(..._)&&m<=Math.max(..._);throw new TypeError(`Invalid range: ${JSON.stringify(_)}`)};var b=1,E=["innerHTML","ownerDocument","style","attributes","nodeValue"];o.domElement=m=>o.object(m)&&m.nodeType===b&&o.string(m.nodeName)&&!o.plainObject(m)&&E.every(_=>_ in m),o.observable=m=>{var _,S,A,x;return m?m===((S=(_=m)[Symbol.observable])===null||S===void 0?void 0:S.call(_))||m===((x=(A=m)["@@observable"])===null||x===void 0?void 0:x.call(A)):!1},o.nodeStream=m=>o.object(m)&&o.function_(m.pipe)&&!o.observable(m),o.infinite=m=>m===1/0||m===-1/0;var g=m=>_=>o.integer(_)&&Math.abs(_%2)===m;o.evenInteger=g(0),o.oddInteger=g(1),o.emptyArray=m=>o.array(m)&&m.length===0,o.nonEmptyArray=m=>o.array(m)&&m.length>0,o.emptyString=m=>o.string(m)&&m.length===0;var D=m=>o.string(m)&&!/\S/.test(m);o.emptyStringOrWhitespace=m=>o.emptyString(m)||D(m),o.nonEmptyString=m=>o.string(m)&&m.length>0,o.nonEmptyStringAndNotWhitespace=m=>o.string(m)&&!o.emptyStringOrWhitespace(m),o.emptyObject=m=>o.object(m)&&!o.map(m)&&!o.set(m)&&Object.keys(m).length===0,o.nonEmptyObject=m=>o.object(m)&&!o.map(m)&&!o.set(m)&&Object.keys(m).length>0,o.emptySet=m=>o.set(m)&&m.size===0,o.nonEmptySet=m=>o.set(m)&&m.size>0,o.emptyMap=m=>o.map(m)&&m.size===0,o.nonEmptyMap=m=>o.map(m)&&m.size>0,o.propertyKey=m=>o.any([o.string,o.number,o.symbol],m),o.formData=m=>c("FormData")(m),o.urlSearchParams=m=>c("URLSearchParams")(m);var w=(m,_,S)=>{if(!o.function_(_))throw new TypeError(`Invalid predicate: ${JSON.stringify(_)}`);if(S.length===0)throw new TypeError("Invalid number of values");return m.call(S,_)};o.any=(m,..._)=>(o.array(m)?m:[m]).some(S=>w(Array.prototype.some,S,_)),o.all=(m,..._)=>w(Array.prototype.every,m,_);var v=(m,_,S,A={})=>{if(!m){let{multipleValues:x}=A,L=x?`received values of types ${[...new Set(S.map(T=>`\`${o(T)}\``))].join(", ")}`:`received value of type \`${o(S)}\``;throw new TypeError(`Expected value which is \`${_}\`, ${L}.`)}};t.assert={undefined:m=>v(o.undefined(m),"undefined",m),string:m=>v(o.string(m),"string",m),number:m=>v(o.number(m),"number",m),bigint:m=>v(o.bigint(m),"bigint",m),function_:m=>v(o.function_(m),"Function",m),null_:m=>v(o.null_(m),"null",m),class_:m=>v(o.class_(m),"Class",m),boolean:m=>v(o.boolean(m),"boolean",m),symbol:m=>v(o.symbol(m),"symbol",m),numericString:m=>v(o.numericString(m),"string with a number",m),array:(m,_)=>{v(o.array(m),"Array",m),_&&m.forEach(_)},buffer:m=>v(o.buffer(m),"Buffer",m),blob:m=>v(o.blob(m),"Blob",m),nullOrUndefined:m=>v(o.nullOrUndefined(m),"null or undefined",m),object:m=>v(o.object(m),"Object",m),iterable:m=>v(o.iterable(m),"Iterable",m),asyncIterable:m=>v(o.asyncIterable(m),"AsyncIterable",m),generator:m=>v(o.generator(m),"Generator",m),asyncGenerator:m=>v(o.asyncGenerator(m),"AsyncGenerator",m),nativePromise:m=>v(o.nativePromise(m),"native Promise",m),promise:m=>v(o.promise(m),"Promise",m),generatorFunction:m=>v(o.generatorFunction(m),"GeneratorFunction",m),asyncGeneratorFunction:m=>v(o.asyncGeneratorFunction(m),"AsyncGeneratorFunction",m),asyncFunction:m=>v(o.asyncFunction(m),"AsyncFunction",m),boundFunction:m=>v(o.boundFunction(m),"Function",m),regExp:m=>v(o.regExp(m),"RegExp",m),date:m=>v(o.date(m),"Date",m),error:m=>v(o.error(m),"Error",m),map:m=>v(o.map(m),"Map",m),set:m=>v(o.set(m),"Set",m),weakMap:m=>v(o.weakMap(m),"WeakMap",m),weakSet:m=>v(o.weakSet(m),"WeakSet",m),int8Array:m=>v(o.int8Array(m),"Int8Array",m),uint8Array:m=>v(o.uint8Array(m),"Uint8Array",m),uint8ClampedArray:m=>v(o.uint8ClampedArray(m),"Uint8ClampedArray",m),int16Array:m=>v(o.int16Array(m),"Int16Array",m),uint16Array:m=>v(o.uint16Array(m),"Uint16Array",m),int32Array:m=>v(o.int32Array(m),"Int32Array",m),uint32Array:m=>v(o.uint32Array(m),"Uint32Array",m),float32Array:m=>v(o.float32Array(m),"Float32Array",m),float64Array:m=>v(o.float64Array(m),"Float64Array",m),bigInt64Array:m=>v(o.bigInt64Array(m),"BigInt64Array",m),bigUint64Array:m=>v(o.bigUint64Array(m),"BigUint64Array",m),arrayBuffer:m=>v(o.arrayBuffer(m),"ArrayBuffer",m),sharedArrayBuffer:m=>v(o.sharedArrayBuffer(m),"SharedArrayBuffer",m),dataView:m=>v(o.dataView(m),"DataView",m),enumCase:(m,_)=>v(o.enumCase(m,_),"EnumCase",m),urlInstance:m=>v(o.urlInstance(m),"URL",m),urlString:m=>v(o.urlString(m),"string with a URL",m),truthy:m=>v(o.truthy(m),"truthy",m),falsy:m=>v(o.falsy(m),"falsy",m),nan:m=>v(o.nan(m),"NaN",m),primitive:m=>v(o.primitive(m),"primitive",m),integer:m=>v(o.integer(m),"integer",m),safeInteger:m=>v(o.safeInteger(m),"integer",m),plainObject:m=>v(o.plainObject(m),"plain object",m),typedArray:m=>v(o.typedArray(m),"TypedArray",m),arrayLike:m=>v(o.arrayLike(m),"array-like",m),domElement:m=>v(o.domElement(m),"HTMLElement",m),observable:m=>v(o.observable(m),"Observable",m),nodeStream:m=>v(o.nodeStream(m),"Node.js Stream",m),infinite:m=>v(o.infinite(m),"infinite number",m),emptyArray:m=>v(o.emptyArray(m),"empty array",m),nonEmptyArray:m=>v(o.nonEmptyArray(m),"non-empty array",m),emptyString:m=>v(o.emptyString(m),"empty string",m),emptyStringOrWhitespace:m=>v(o.emptyStringOrWhitespace(m),"empty string or whitespace",m),nonEmptyString:m=>v(o.nonEmptyString(m),"non-empty string",m),nonEmptyStringAndNotWhitespace:m=>v(o.nonEmptyStringAndNotWhitespace(m),"non-empty string and not whitespace",m),emptyObject:m=>v(o.emptyObject(m),"empty object",m),nonEmptyObject:m=>v(o.nonEmptyObject(m),"non-empty object",m),emptySet:m=>v(o.emptySet(m),"empty set",m),nonEmptySet:m=>v(o.nonEmptySet(m),"non-empty set",m),emptyMap:m=>v(o.emptyMap(m),"empty map",m),nonEmptyMap:m=>v(o.nonEmptyMap(m),"non-empty map",m),propertyKey:m=>v(o.propertyKey(m),"PropertyKey",m),formData:m=>v(o.formData(m),"FormData",m),urlSearchParams:m=>v(o.urlSearchParams(m),"URLSearchParams",m),evenInteger:m=>v(o.evenInteger(m),"even integer",m),oddInteger:m=>v(o.oddInteger(m),"odd integer",m),directInstanceOf:(m,_)=>v(o.directInstanceOf(m,_),"T",m),inRange:(m,_)=>v(o.inRange(m,_),"in range",m),any:(m,..._)=>v(o.any(m,..._),"predicate returns truthy for any value",_,{multipleValues:!0}),all:(m,..._)=>v(o.all(m,..._),"predicate returns truthy for all values",_,{multipleValues:!0})},Object.defineProperties(o,{class:{value:o.class_},function:{value:o.function_},null:{value:o.null_}}),Object.defineProperties(t.assert,{class:{value:t.assert.class_},function:{value:t.assert.function_},null:{value:t.assert.null_}}),t.default=o,l.exports=o,l.exports.default=o,l.exports.assert=t.assert}),Du=N((t,l)=>{"use strict";B();var n=class extends Error{constructor(i){super(i||"Promise was canceled"),this.name="CancelError"}get isCanceled(){return!0}},s=class{static fn(i){return(...p)=>new s((u,r,e)=>{p.push(e),i(...p).then(u,r)})}constructor(i){this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((p,u)=>{this._reject=u;let r=a=>{(!this._isCanceled||!f.shouldReject)&&(this._isPending=!1,p(a))},e=a=>{this._isPending=!1,u(a)},f=a=>{if(!this._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");this._cancelHandlers.push(a)};return Object.defineProperties(f,{shouldReject:{get:()=>this._rejectOnCancel,set:a=>{this._rejectOnCancel=a}}}),i(r,e,f)})}then(i,p){return this._promise.then(i,p)}catch(i){return this._promise.catch(i)}finally(i){return this._promise.finally(i)}cancel(i){if(!(!this._isPending||this._isCanceled)){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{for(let p of this._cancelHandlers)p()}catch(p){this._reject(p);return}this._rejectOnCancel&&this._reject(new n(i))}}get isCanceled(){return this._isCanceled}};Object.setPrototypeOf(s.prototype,Promise.prototype),l.exports=s,l.exports.CancelError=n}),Su=N((t,l)=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});function n(i){return i.encrypted}var s=(i,p)=>{let u;typeof p=="function"?u={connect:p}:u=p;let r=typeof u.connect=="function",e=typeof u.secureConnect=="function",f=typeof u.close=="function",a=()=>{r&&u.connect(),n(i)&&e&&(i.authorized?u.secureConnect():i.authorizationError||i.once("secureConnect",u.secureConnect)),f&&i.once("close",u.close)};i.writable&&!i.connecting?a():i.connecting?i.once("connect",a):i.destroyed&&f&&u.close(i._hadError)};t.default=s,l.exports=s,l.exports.default=s}),Au=N((t,l)=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var n=Su(),s=Z("util"),i=Number(process.versions.node.split(".")[0]),p=u=>{if(u.timings)return u.timings;let r={start:Date.now(),socket:void 0,lookup:void 0,connect:void 0,secureConnect:void 0,upload:void 0,response:void 0,end:void 0,error:void 0,abort:void 0,phases:{wait:void 0,dns:void 0,tcp:void 0,tls:void 0,request:void 0,firstByte:void 0,download:void 0,total:void 0}};u.timings=r;let e=o=>{let d=o.emit.bind(o);o.emit=(h,...y)=>(h==="error"&&(r.error=Date.now(),r.phases.total=r.error-r.start,o.emit=d),d(h,...y))};e(u);let f=()=>{r.abort=Date.now(),(!r.response||i>=13)&&(r.phases.total=Date.now()-r.start)};u.prependOnceListener("abort",f);let a=o=>{if(r.socket=Date.now(),r.phases.wait=r.socket-r.start,s.types.isProxy(o))return;let d=()=>{r.lookup=Date.now(),r.phases.dns=r.lookup-r.socket};o.prependOnceListener("lookup",d),n.default(o,{connect:()=>{r.connect=Date.now(),r.lookup===void 0&&(o.removeListener("lookup",d),r.lookup=r.connect,r.phases.dns=r.lookup-r.socket),r.phases.tcp=r.connect-r.lookup},secureConnect:()=>{r.secureConnect=Date.now(),r.phases.tls=r.secureConnect-r.connect}})};u.socket?a(u.socket):u.prependOnceListener("socket",a);let c=()=>{var o;r.upload=Date.now(),r.phases.request=r.upload-((o=r.secureConnect)!==null&&o!==void 0?o:r.connect)};return(()=>typeof u.writableFinished=="boolean"?u.writableFinished:u.finished&&u.outputSize===0&&(!u.socket||u.socket.writableLength===0))()?c():u.prependOnceListener("finish",c),u.prependOnceListener("response",o=>{r.response=Date.now(),r.phases.firstByte=r.response-r.upload,o.timings=r,e(o),o.prependOnceListener("end",()=>{r.end=Date.now(),r.phases.download=r.end-r.response,r.phases.total=r.end-r.start}),o.prependOnceListener("aborted",f)}),r};t.default=p,l.exports=p,l.exports.default=p}),Cu=N((t,l)=>{"use strict";B();var{V4MAPPED:n,ADDRCONFIG:s,ALL:i,promises:{Resolver:p},lookup:u}=Z("dns"),{promisify:r}=Z("util"),e=Z("os"),f=Symbol("cacheableLookupCreateConnection"),a=Symbol("cacheableLookupInstance"),c=Symbol("expires"),o=typeof i=="number",d=w=>{if(!(w&&typeof w.createConnection=="function"))throw new Error("Expected an Agent instance as the first argument")},h=w=>{for(let v of w)v.family!==6&&(v.address=`::ffff:${v.address}`,v.family=6)},y=()=>{let w=!1,v=!1;for(let m of Object.values(e.networkInterfaces()))for(let _ of m)if(!_.internal&&(_.family==="IPv6"?v=!0:w=!0,w&&v))return{has4:w,has6:v};return{has4:w,has6:v}},b=w=>Symbol.iterator in w,E={ttl:!0},g={all:!0},D=class{constructor({cache:w=new Map,maxTtl:v=1/0,fallbackDuration:m=3600,errorTtl:_=.15,resolver:S=new p,lookup:A=u}={}){if(this.maxTtl=v,this.errorTtl=_,this._cache=w,this._resolver=S,this._dnsLookup=r(A),this._resolver instanceof p?(this._resolve4=this._resolver.resolve4.bind(this._resolver),this._resolve6=this._resolver.resolve6.bind(this._resolver)):(this._resolve4=r(this._resolver.resolve4.bind(this._resolver)),this._resolve6=r(this._resolver.resolve6.bind(this._resolver))),this._iface=y(),this._pending={},this._nextRemovalTime=!1,this._hostnamesToFallback=new Set,m<1)this._fallback=!1;else{this._fallback=!0;let x=setInterval(()=>{this._hostnamesToFallback.clear()},m*1e3);x.unref&&x.unref()}this.lookup=this.lookup.bind(this),this.lookupAsync=this.lookupAsync.bind(this)}set servers(w){this.clear(),this._resolver.setServers(w)}get servers(){return this._resolver.getServers()}lookup(w,v,m){if(typeof v=="function"?(m=v,v={}):typeof v=="number"&&(v={family:v}),!m)throw new Error("Callback must be a function.");this.lookupAsync(w,v).then(_=>{v.all?m(null,_):m(null,_.address,_.family,_.expires,_.ttl)},m)}async lookupAsync(w,v={}){typeof v=="number"&&(v={family:v});let m=await this.query(w);if(v.family===6){let _=m.filter(S=>S.family===6);v.hints&n&&(o&&v.hints&i||_.length===0)?h(m):m=_}else v.family===4&&(m=m.filter(_=>_.family===4));if(v.hints&s){let{_iface:_}=this;m=m.filter(S=>S.family===6?_.has6:_.has4)}if(m.length===0){let _=new Error(`cacheableLookup ENOTFOUND ${w}`);throw _.code="ENOTFOUND",_.hostname=w,_}return v.all?m:m[0]}async query(w){let v=await this._cache.get(w);if(!v){let m=this._pending[w];if(m)v=await m;else{let _=this.queryAndCache(w);this._pending[w]=_;try{v=await _}finally{delete this._pending[w]}}}return v=v.map(m=>({...m})),v}async _resolve(w){let v=async T=>{try{return await T}catch(F){if(F.code==="ENODATA"||F.code==="ENOTFOUND")return[];throw F}},[m,_]=await Promise.all([this._resolve4(w,E),this._resolve6(w,E)].map(T=>v(T))),S=0,A=0,x=0,L=Date.now();for(let T of m)T.family=4,T.expires=L+T.ttl*1e3,S=Math.max(S,T.ttl);for(let T of _)T.family=6,T.expires=L+T.ttl*1e3,A=Math.max(A,T.ttl);return m.length>0?_.length>0?x=Math.min(S,A):x=S:x=A,{entries:[...m,..._],cacheTtl:x}}async _lookup(w){try{return{entries:await this._dnsLookup(w,{all:!0}),cacheTtl:0}}catch{return{entries:[],cacheTtl:0}}}async _set(w,v,m){if(this.maxTtl>0&&m>0){m=Math.min(m,this.maxTtl)*1e3,v[c]=Date.now()+m;try{await this._cache.set(w,v,m)}catch(_){this.lookupAsync=async()=>{let S=new Error("Cache Error. Please recreate the CacheableLookup instance.");throw S.cause=_,S}}b(this._cache)&&this._tick(m)}}async queryAndCache(w){if(this._hostnamesToFallback.has(w))return this._dnsLookup(w,g);let v=await this._resolve(w);v.entries.length===0&&this._fallback&&(v=await this._lookup(w),v.entries.length!==0&&this._hostnamesToFallback.add(w));let m=v.entries.length===0?this.errorTtl:v.cacheTtl;return await this._set(w,v.entries,m),v.entries}_tick(w){let v=this._nextRemovalTime;(!v||w<v)&&(clearTimeout(this._removalTimeout),this._nextRemovalTime=w,this._removalTimeout=setTimeout(()=>{this._nextRemovalTime=!1;let m=1/0,_=Date.now();for(let[S,A]of this._cache){let x=A[c];_>=x?this._cache.delete(S):x<m&&(m=x)}m!==1/0&&this._tick(m-_)},w),this._removalTimeout.unref&&this._removalTimeout.unref())}install(w){if(d(w),f in w)throw new Error("CacheableLookup has been already installed");w[f]=w.createConnection,w[a]=this,w.createConnection=(v,m)=>("lookup"in v||(v.lookup=this.lookup),w[f](v,m))}uninstall(w){if(d(w),w[f]){if(w[a]!==this)throw new Error("The agent is not owned by this CacheableLookup instance");w.createConnection=w[f],delete w[f],delete w[a]}}updateInterfaceInfo(){let{_iface:w}=this;this._iface=y(),(w.has4&&!this._iface.has4||w.has6&&!this._iface.has6)&&this._cache.clear()}clear(w){if(w){this._cache.delete(w);return}this._cache.clear()}};l.exports=D,l.exports.default=D}),xu=N((t,l)=>{"use strict";B();var n="text/plain",s="us-ascii",i=(r,e)=>e.some(f=>f instanceof RegExp?f.test(r):f===r),p=(r,{stripHash:e})=>{let f=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(r);if(!f)throw new Error(`Invalid URL: ${r}`);let{type:a,data:c,hash:o}=f.groups,d=a.split(";");o=e?"":o;let h=!1;d[d.length-1]==="base64"&&(d.pop(),h=!0);let y=(d.shift()||"").toLowerCase(),b=[...d.map(E=>{let[g,D=""]=E.split("=").map(w=>w.trim());return g==="charset"&&(D=D.toLowerCase(),D===s)?"":`${g}${D?`=${D}`:""}`}).filter(Boolean)];return h&&b.push("base64"),(b.length!==0||y&&y!==n)&&b.unshift(y),`data:${b.join(";")},${h?c.trim():c}${o?`#${o}`:""}`},u=(r,e)=>{if(e={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...e},r=r.trim(),/^data:/i.test(r))return p(r,e);if(/^view-source:/i.test(r))throw new Error("`view-source:` is not supported as it is a non-standard protocol");let f=r.startsWith("//");!f&&/^\.*\//.test(r)||(r=r.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,e.defaultProtocol));let a=new URL(r);if(e.forceHttp&&e.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(e.forceHttp&&a.protocol==="https:"&&(a.protocol="http:"),e.forceHttps&&a.protocol==="http:"&&(a.protocol="https:"),e.stripAuthentication&&(a.username="",a.password=""),e.stripHash?a.hash="":e.stripTextFragment&&(a.hash=a.hash.replace(/#?:~:text.*?$/i,"")),a.pathname&&(a.pathname=a.pathname.replace(/(?<!\b(?:[a-z][a-z\d+\-.]{1,50}:))\/{2,}/g,"/")),a.pathname)try{a.pathname=decodeURI(a.pathname)}catch{}if(e.removeDirectoryIndex===!0&&(e.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(e.removeDirectoryIndex)&&e.removeDirectoryIndex.length>0){let o=a.pathname.split("/"),d=o[o.length-1];i(d,e.removeDirectoryIndex)&&(o=o.slice(0,o.length-1),a.pathname=o.slice(1).join("/")+"/")}if(a.hostname&&(a.hostname=a.hostname.replace(/\.$/,""),e.stripWWW&&/^www\.(?!www\.)(?:[a-z\-\d]{1,63})\.(?:[a-z.\-\d]{2,63})$/.test(a.hostname)&&(a.hostname=a.hostname.replace(/^www\./,""))),Array.isArray(e.removeQueryParameters))for(let o of[...a.searchParams.keys()])i(o,e.removeQueryParameters)&&a.searchParams.delete(o);e.removeQueryParameters===!0&&(a.search=""),e.sortQueryParameters&&a.searchParams.sort(),e.removeTrailingSlash&&(a.pathname=a.pathname.replace(/\/$/,""));let c=r;return r=a.toString(),!e.removeSingleSlash&&a.pathname==="/"&&!c.endsWith("/")&&a.hash===""&&(r=r.replace(/\/$/,"")),(e.removeTrailingSlash||a.pathname==="/")&&a.hash===""&&e.removeSingleSlash&&(r=r.replace(/\/$/,"")),f&&!e.normalizeProtocol&&(r=r.replace(/^http:\/\//,"//")),e.stripProtocol&&(r=r.replace(/^(?:https?:)?\/\//,"")),r};l.exports=u}),Fu=N((t,l)=>{B(),l.exports=n;function n(s,i){if(s&&i)return n(s)(i);if(typeof s!="function")throw new TypeError("need wrapper function");return Object.keys(s).forEach(function(u){p[u]=s[u]}),p;function p(){for(var u=new Array(arguments.length),r=0;r<u.length;r++)u[r]=arguments[r];var e=s.apply(this,u),f=u[u.length-1];return typeof e=="function"&&e!==f&&Object.keys(f).forEach(function(a){e[a]=f[a]}),e}}}),Wn=N((t,l)=>{B();var n=Fu();l.exports=n(s),l.exports.strict=n(i),s.proto=s(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return s(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return i(this)},configurable:!0})});function s(p){var u=function(){return u.called?u.value:(u.called=!0,u.value=p.apply(this,arguments))};return u.called=!1,u}function i(p){var u=function(){if(u.called)throw new Error(u.onceError);return u.called=!0,u.value=p.apply(this,arguments)},r=p.name||"Function wrapped with `once`";return u.onceError=r+" shouldn't be called more than once",u.called=!1,u}}),ku=N((t,l)=>{B();var n=Wn(),s=function(){},i=function(r){return r.setHeader&&typeof r.abort=="function"},p=function(r){return r.stdio&&Array.isArray(r.stdio)&&r.stdio.length===3},u=function(r,e,f){if(typeof e=="function")return u(r,null,e);e||(e={}),f=n(f||s);var a=r._writableState,c=r._readableState,o=e.readable||e.readable!==!1&&r.readable,d=e.writable||e.writable!==!1&&r.writable,h=!1,y=function(){r.writable||b()},b=function(){d=!1,o||f.call(r)},E=function(){o=!1,d||f.call(r)},g=function(_){f.call(r,_?new Error("exited with error code: "+_):null)},D=function(_){f.call(r,_)},w=function(){process.nextTick(v)},v=function(){if(!h){if(o&&!(c&&c.ended&&!c.destroyed))return f.call(r,new Error("premature close"));if(d&&!(a&&a.ended&&!a.destroyed))return f.call(r,new Error("premature close"))}},m=function(){r.req.on("finish",b)};return i(r)?(r.on("complete",b),r.on("abort",w),r.req?m():r.on("request",m)):d&&!a&&(r.on("end",y),r.on("close",y)),p(r)&&r.on("exit",g),r.on("end",E),r.on("finish",b),e.error!==!1&&r.on("error",D),r.on("close",w),function(){h=!0,r.removeListener("complete",b),r.removeListener("abort",w),r.removeListener("request",m),r.req&&r.req.removeListener("finish",b),r.removeListener("end",y),r.removeListener("close",y),r.removeListener("finish",b),r.removeListener("exit",g),r.removeListener("end",E),r.removeListener("error",D),r.removeListener("close",w)}};l.exports=u}),Ou=N((t,l)=>{B();var n=Wn(),s=ku(),i=Z("fs"),p=function(){},u=/^v?\.0/.test(process.version),r=function(h){return typeof h=="function"},e=function(h){return!u||!i?!1:(h instanceof(i.ReadStream||p)||h instanceof(i.WriteStream||p))&&r(h.close)},f=function(h){return h.setHeader&&r(h.abort)},a=function(h,y,b,E){E=n(E);var g=!1;h.on("close",function(){g=!0}),s(h,{readable:y,writable:b},function(w){if(w)return E(w);g=!0,E()});var D=!1;return function(w){if(!g&&!D){if(D=!0,e(h))return h.close(p);if(f(h))return h.abort();if(r(h.destroy))return h.destroy();E(w||new Error("stream was destroyed"))}}},c=function(h){h()},o=function(h,y){return h.pipe(y)},d=function(){var h=Array.prototype.slice.call(arguments),y=r(h[h.length-1]||p)&&h.pop()||p;if(Array.isArray(h[0])&&(h=h[0]),h.length<2)throw new Error("pump requires two streams per minimum");var b,E=h.map(function(g,D){var w=D<h.length-1,v=D>0;return a(g,w,v,function(m){b||(b=m),m&&E.forEach(c),!w&&(E.forEach(c),y(b))})});return h.reduce(o)};l.exports=d}),Ru=N((t,l)=>{"use strict";B();var{PassThrough:n}=Z("stream");l.exports=s=>{s={...s};let{array:i}=s,{encoding:p}=s,u=p==="buffer",r=!1;i?r=!(p||u):p=p||"utf8",u&&(p=null);let e=new n({objectMode:r});p&&e.setEncoding(p);let f=0,a=[];return e.on("data",c=>{a.push(c),r?f=a.length:f+=c.length}),e.getBufferedValue=()=>i?a:u?Buffer.concat(a,f):a.join(""),e.getBufferedLength=()=>f,e}}),Tu=N((t,l)=>{"use strict";B();var{constants:n}=Z("buffer"),s=Ou(),i=Ru(),p=class extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}};async function u(r,e){if(!r)return Promise.reject(new Error("Expected a stream"));e={maxBuffer:1/0,...e};let{maxBuffer:f}=e,a;return await new Promise((c,o)=>{let d=h=>{h&&a.getBufferedLength()<=n.MAX_LENGTH&&(h.bufferedData=a.getBufferedValue()),o(h)};a=s(r,i(e),h=>{if(h){d(h);return}c()}),a.on("data",()=>{a.getBufferedLength()>f&&d(new p)})}),a.getBufferedValue()}l.exports=u,l.exports.default=u,l.exports.buffer=(r,e)=>u(r,{...e,encoding:"buffer"}),l.exports.array=(r,e)=>u(r,{...e,array:!0}),l.exports.MaxBufferError=p}),Bu=N((t,l)=>{"use strict";B();var n=new Set([200,203,204,206,300,301,308,404,405,410,414,501]),s=new Set([200,203,204,300,301,302,303,307,308,404,405,410,414,501]),i=new Set([500,502,503,504]),p={date:!0,connection:!0,"keep-alive":!0,"proxy-authenticate":!0,"proxy-authorization":!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0},u={"content-length":!0,"content-encoding":!0,"transfer-encoding":!0,"content-range":!0};function r(c){let o=parseInt(c,10);return isFinite(o)?o:0}function e(c){return c?i.has(c.status):!0}function f(c){let o={};if(!c)return o;let d=c.trim().split(/,/);for(let h of d){let[y,b]=h.split(/=/,2);o[y.trim()]=b===void 0?!0:b.trim().replace(/^"|"$/g,"")}return o}function a(c){let o=[];for(let d in c){let h=c[d];o.push(h===!0?d:d+"="+h)}if(o.length)return o.join(", ")}l.exports=class{constructor(c,o,{shared:d,cacheHeuristic:h,immutableMinTimeToLive:y,ignoreCargoCult:b,_fromObject:E}={}){if(E){this._fromObject(E);return}if(!o||!o.headers)throw Error("Response headers missing");this._assertRequestHasHeaders(c),this._responseTime=this.now(),this._isShared=d!==!1,this._cacheHeuristic=h!==void 0?h:.1,this._immutableMinTtl=y!==void 0?y:24*3600*1e3,this._status="status"in o?o.status:200,this._resHeaders=o.headers,this._rescc=f(o.headers["cache-control"]),this._method="method"in c?c.method:"GET",this._url=c.url,this._host=c.headers.host,this._noAuthorization=!c.headers.authorization,this._reqHeaders=o.headers.vary?c.headers:null,this._reqcc=f(c.headers["cache-control"]),b&&"pre-check"in this._rescc&&"post-check"in this._rescc&&(delete this._rescc["pre-check"],delete this._rescc["post-check"],delete this._rescc["no-cache"],delete this._rescc["no-store"],delete this._rescc["must-revalidate"],this._resHeaders=Object.assign({},this._resHeaders,{"cache-control":a(this._rescc)}),delete this._resHeaders.expires,delete this._resHeaders.pragma),o.headers["cache-control"]==null&&/no-cache/.test(o.headers.pragma)&&(this._rescc["no-cache"]=!0)}now(){return Date.now()}storable(){return!!(!this._reqcc["no-store"]&&(this._method==="GET"||this._method==="HEAD"||this._method==="POST"&&this._hasExplicitExpiration())&&s.has(this._status)&&!this._rescc["no-store"]&&(!this._isShared||!this._rescc.private)&&(!this._isShared||this._noAuthorization||this._allowsStoringAuthenticated())&&(this._resHeaders.expires||this._rescc["max-age"]||this._isShared&&this._rescc["s-maxage"]||this._rescc.public||n.has(this._status)))}_hasExplicitExpiration(){return this._isShared&&this._rescc["s-maxage"]||this._rescc["max-age"]||this._resHeaders.expires}_assertRequestHasHeaders(c){if(!c||!c.headers)throw Error("Request headers missing")}satisfiesWithoutRevalidation(c){this._assertRequestHasHeaders(c);let o=f(c.headers["cache-control"]);return o["no-cache"]||/no-cache/.test(c.headers.pragma)||o["max-age"]&&this.age()>o["max-age"]||o["min-fresh"]&&this.timeToLive()<1e3*o["min-fresh"]||this.stale()&&!(o["max-stale"]&&!this._rescc["must-revalidate"]&&(o["max-stale"]===!0||o["max-stale"]>this.age()-this.maxAge()))?!1:this._requestMatches(c,!1)}_requestMatches(c,o){return(!this._url||this._url===c.url)&&this._host===c.headers.host&&(!c.method||this._method===c.method||o&&c.method==="HEAD")&&this._varyMatches(c)}_allowsStoringAuthenticated(){return this._rescc["must-revalidate"]||this._rescc.public||this._rescc["s-maxage"]}_varyMatches(c){if(!this._resHeaders.vary)return!0;if(this._resHeaders.vary==="*")return!1;let o=this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);for(let d of o)if(c.headers[d]!==this._reqHeaders[d])return!1;return!0}_copyWithoutHopByHopHeaders(c){let o={};for(let d in c)p[d]||(o[d]=c[d]);if(c.connection){let d=c.connection.trim().split(/\s*,\s*/);for(let h of d)delete o[h]}if(o.warning){let d=o.warning.split(/,/).filter(h=>!/^\s*1[0-9][0-9]/.test(h));d.length?o.warning=d.join(",").trim():delete o.warning}return o}responseHeaders(){let c=this._copyWithoutHopByHopHeaders(this._resHeaders),o=this.age();return o>3600*24&&!this._hasExplicitExpiration()&&this.maxAge()>3600*24&&(c.warning=(c.warning?`${c.warning}, `:"")+'113 - "rfc7234 5.5.4"'),c.age=`${Math.round(o)}`,c.date=new Date(this.now()).toUTCString(),c}date(){let c=Date.parse(this._resHeaders.date);return isFinite(c)?c:this._responseTime}age(){let c=this._ageValue(),o=(this.now()-this._responseTime)/1e3;return c+o}_ageValue(){return r(this._resHeaders.age)}maxAge(){if(!this.storable()||this._rescc["no-cache"]||this._isShared&&this._resHeaders["set-cookie"]&&!this._rescc.public&&!this._rescc.immutable||this._resHeaders.vary==="*")return 0;if(this._isShared){if(this._rescc["proxy-revalidate"])return 0;if(this._rescc["s-maxage"])return r(this._rescc["s-maxage"])}if(this._rescc["max-age"])return r(this._rescc["max-age"]);let c=this._rescc.immutable?this._immutableMinTtl:0,o=this.date();if(this._resHeaders.expires){let d=Date.parse(this._resHeaders.expires);return Number.isNaN(d)||d<o?0:Math.max(c,(d-o)/1e3)}if(this._resHeaders["last-modified"]){let d=Date.parse(this._resHeaders["last-modified"]);if(isFinite(d)&&o>d)return Math.max(c,(o-d)/1e3*this._cacheHeuristic)}return c}timeToLive(){let c=this.maxAge()-this.age(),o=c+r(this._rescc["stale-if-error"]),d=c+r(this._rescc["stale-while-revalidate"]);return Math.max(0,c,o,d)*1e3}stale(){return this.maxAge()<=this.age()}_useStaleIfError(){return this.maxAge()+r(this._rescc["stale-if-error"])>this.age()}useStaleWhileRevalidate(){return this.maxAge()+r(this._rescc["stale-while-revalidate"])>this.age()}static fromObject(c){return new this(void 0,void 0,{_fromObject:c})}_fromObject(c){if(this._responseTime)throw Error("Reinitialized");if(!c||c.v!==1)throw Error("Invalid serialization");this._responseTime=c.t,this._isShared=c.sh,this._cacheHeuristic=c.ch,this._immutableMinTtl=c.imm!==void 0?c.imm:24*3600*1e3,this._status=c.st,this._resHeaders=c.resh,this._rescc=c.rescc,this._method=c.m,this._url=c.u,this._host=c.h,this._noAuthorization=c.a,this._reqHeaders=c.reqh,this._reqcc=c.reqcc}toObject(){return{v:1,t:this._responseTime,sh:this._isShared,ch:this._cacheHeuristic,imm:this._immutableMinTtl,st:this._status,resh:this._resHeaders,rescc:this._rescc,m:this._method,u:this._url,h:this._host,a:this._noAuthorization,reqh:this._reqHeaders,reqcc:this._reqcc}}revalidationHeaders(c){this._assertRequestHasHeaders(c);let o=this._copyWithoutHopByHopHeaders(c.headers);if(delete o["if-range"],!this._requestMatches(c,!0)||!this.storable())return delete o["if-none-match"],delete o["if-modified-since"],o;if(this._resHeaders.etag&&(o["if-none-match"]=o["if-none-match"]?`${o["if-none-match"]}, ${this._resHeaders.etag}`:this._resHeaders.etag),o["accept-ranges"]||o["if-match"]||o["if-unmodified-since"]||this._method&&this._method!="GET"){if(delete o["if-modified-since"],o["if-none-match"]){let d=o["if-none-match"].split(/,/).filter(h=>!/^\s*W\//.test(h));d.length?o["if-none-match"]=d.join(",").trim():delete o["if-none-match"]}}else this._resHeaders["last-modified"]&&!o["if-modified-since"]&&(o["if-modified-since"]=this._resHeaders["last-modified"]);return o}revalidatedPolicy(c,o){if(this._assertRequestHasHeaders(c),this._useStaleIfError()&&e(o))return{modified:!1,matches:!1,policy:this};if(!o||!o.headers)throw Error("Response headers missing");let d=!1;if(o.status!==void 0&&o.status!=304?d=!1:o.headers.etag&&!/^\s*W\//.test(o.headers.etag)?d=this._resHeaders.etag&&this._resHeaders.etag.replace(/^\s*W\//,"")===o.headers.etag:this._resHeaders.etag&&o.headers.etag?d=this._resHeaders.etag.replace(/^\s*W\//,"")===o.headers.etag.replace(/^\s*W\//,""):this._resHeaders["last-modified"]?d=this._resHeaders["last-modified"]===o.headers["last-modified"]:!this._resHeaders.etag&&!this._resHeaders["last-modified"]&&!o.headers.etag&&!o.headers["last-modified"]&&(d=!0),!d)return{policy:new this.constructor(c,o),modified:o.status!=304,matches:!1};let h={};for(let b in this._resHeaders)h[b]=b in o.headers&&!u[b]?o.headers[b]:this._resHeaders[b];let y=Object.assign({},o,{status:this._status,method:this._method,headers:h});return{policy:new this.constructor(c,y,{shared:this._isShared,cacheHeuristic:this._cacheHeuristic,immutableMinTimeToLive:this._immutableMinTtl}),modified:!1,matches:!0}}}}),Tr=N((t,l)=>{"use strict";B(),l.exports=n=>{let s={};for(let[i,p]of Object.entries(n))s[i.toLowerCase()]=p;return s}}),Pu=N((t,l)=>{"use strict";B();var n=Z("stream").Readable,s=Tr(),i=class extends n{constructor(p,u,r,e){if(typeof p!="number")throw new TypeError("Argument `statusCode` should be a number");if(typeof u!="object")throw new TypeError("Argument `headers` should be an object");if(!(r instanceof Buffer))throw new TypeError("Argument `body` should be a buffer");if(typeof e!="string")throw new TypeError("Argument `url` should be a string");super(),this.statusCode=p,this.headers=s(u),this.body=r,this.url=e}_read(){this.push(this.body),this.push(null)}};l.exports=i}),Lu=N((t,l)=>{"use strict";B();var n=["destroy","setTimeout","socket","headers","trailers","rawHeaders","statusCode","httpVersion","httpVersionMinor","httpVersionMajor","rawTrailers","statusMessage"];l.exports=(s,i)=>{let p=new Set(Object.keys(s).concat(n));for(let u of p)u in i||(i[u]=typeof s[u]=="function"?s[u].bind(s):s[u])}}),Iu=N((t,l)=>{"use strict";B();var n=Z("stream").PassThrough,s=Lu(),i=p=>{if(!(p&&p.pipe))throw new TypeError("Parameter `response` must be a response stream.");let u=new n;return s(p,u),p.pipe(u)};l.exports=i}),Nu=N(t=>{B(),t.stringify=function l(n){if(typeof n>"u")return n;if(n&&Buffer.isBuffer(n))return JSON.stringify(":base64:"+n.toString("base64"));if(n&&n.toJSON&&(n=n.toJSON()),n&&typeof n=="object"){var s="",i=Array.isArray(n);s=i?"[":"{";var p=!0;for(var u in n){var r=typeof n[u]=="function"||!i&&typeof n[u]>"u";Object.hasOwnProperty.call(n,u)&&!r&&(p||(s+=","),p=!1,i?n[u]==null?s+="null":s+=l(n[u]):n[u]!==void 0&&(s+=l(u)+":"+l(n[u])))}return s+=i?"]":"}",s}else return typeof n=="string"?JSON.stringify(/^:/.test(n)?":"+n:n):typeof n>"u"?"null":JSON.stringify(n)},t.parse=function(l){return JSON.parse(l,function(n,s){return typeof s=="string"?/^:base64:/.test(s)?Buffer.from(s.substring(8),"base64"):/^:/.test(s)?s.substring(1):s:s})}}),ju=N((t,l)=>{"use strict";B();var n=Z("events"),s=Nu(),i=r=>{let e={redis:"@keyv/redis",rediss:"@keyv/redis",mongodb:"@keyv/mongo",mongo:"@keyv/mongo",sqlite:"@keyv/sqlite",postgresql:"@keyv/postgres",postgres:"@keyv/postgres",mysql:"@keyv/mysql",etcd:"@keyv/etcd",offline:"@keyv/offline",tiered:"@keyv/tiered"};if(r.adapter||r.uri){let f=r.adapter||/^[^:+]*/.exec(r.uri)[0];return new(Z(e[f]))(r)}return new Map},p=["sqlite","postgres","mysql","mongo","redis","tiered"],u=class extends n{constructor(r,{emitErrors:e=!0,...f}={}){if(super(),this.opts={namespace:"keyv",serialize:s.stringify,deserialize:s.parse,...typeof r=="string"?{uri:r}:r,...f},!this.opts.store){let c={...this.opts};this.opts.store=i(c)}if(this.opts.compression){let c=this.opts.compression;this.opts.serialize=c.serialize.bind(c),this.opts.deserialize=c.deserialize.bind(c)}typeof this.opts.store.on=="function"&&e&&this.opts.store.on("error",c=>this.emit("error",c)),this.opts.store.namespace=this.opts.namespace;let a=c=>async function*(){for await(let[o,d]of typeof c=="function"?c(this.opts.store.namespace):c){let h=this.opts.deserialize(d);if(!(this.opts.store.namespace&&!o.includes(this.opts.store.namespace))){if(typeof h.expires=="number"&&Date.now()>h.expires){this.delete(o);continue}yield[this._getKeyUnprefix(o),h.value]}}};typeof this.opts.store[Symbol.iterator]=="function"&&this.opts.store instanceof Map?this.iterator=a(this.opts.store):typeof this.opts.store.iterator=="function"&&this.opts.store.opts&&this._checkIterableAdaptar()&&(this.iterator=a(this.opts.store.iterator.bind(this.opts.store)))}_checkIterableAdaptar(){return p.includes(this.opts.store.opts.dialect)||p.findIndex(r=>this.opts.store.opts.url.includes(r))>=0}_getKeyPrefix(r){return`${this.opts.namespace}:${r}`}_getKeyPrefixArray(r){return r.map(e=>`${this.opts.namespace}:${e}`)}_getKeyUnprefix(r){return r.split(":").splice(1).join(":")}get(r,e){let{store:f}=this.opts,a=Array.isArray(r),c=a?this._getKeyPrefixArray(r):this._getKeyPrefix(r);if(a&&f.getMany===void 0){let o=[];for(let d of c)o.push(Promise.resolve().then(()=>f.get(d)).then(h=>typeof h=="string"?this.opts.deserialize(h):this.opts.compression?this.opts.deserialize(h):h).then(h=>{if(h!=null)return typeof h.expires=="number"&&Date.now()>h.expires?this.delete(d).then(()=>{}):e&&e.raw?h:h.value}));return Promise.allSettled(o).then(d=>{let h=[];for(let y of d)h.push(y.value);return h})}return Promise.resolve().then(()=>a?f.getMany(c):f.get(c)).then(o=>typeof o=="string"?this.opts.deserialize(o):this.opts.compression?this.opts.deserialize(o):o).then(o=>{if(o!=null){if(a){let d=[];for(let h of o){if(typeof h=="string"&&(h=this.opts.deserialize(h)),h==null){d.push(void 0);continue}typeof h.expires=="number"&&Date.now()>h.expires?(this.delete(r).then(()=>{}),d.push(void 0)):d.push(e&&e.raw?h:h.value)}return d}return typeof o.expires=="number"&&Date.now()>o.expires?this.delete(r).then(()=>{}):e&&e.raw?o:o.value}})}set(r,e,f){let a=this._getKeyPrefix(r);typeof f>"u"&&(f=this.opts.ttl),f===0&&(f=void 0);let{store:c}=this.opts;return Promise.resolve().then(()=>{let o=typeof f=="number"?Date.now()+f:null;return typeof e=="symbol"&&this.emit("error","symbol cannot be serialized"),e={value:e,expires:o},this.opts.serialize(e)}).then(o=>c.set(a,o,f)).then(()=>!0)}delete(r){let{store:e}=this.opts;if(Array.isArray(r)){let a=this._getKeyPrefixArray(r);if(e.deleteMany===void 0){let c=[];for(let o of a)c.push(e.delete(o));return Promise.allSettled(c).then(o=>o.every(d=>d.value===!0))}return Promise.resolve().then(()=>e.deleteMany(a))}let f=this._getKeyPrefix(r);return Promise.resolve().then(()=>e.delete(f))}clear(){let{store:r}=this.opts;return Promise.resolve().then(()=>r.clear())}has(r){let e=this._getKeyPrefix(r),{store:f}=this.opts;return Promise.resolve().then(async()=>typeof f.has=="function"?f.has(e):await f.get(e)!==void 0)}disconnect(){let{store:r}=this.opts;if(typeof r.disconnect=="function")return r.disconnect()}};l.exports=u}),Mu=N((t,l)=>{"use strict";B();var n=Z("events"),s=Z("url"),i=xu(),p=Tu(),u=Bu(),r=Pu(),e=Tr(),f=Iu(),a=ju(),c=class{constructor(h,y){if(typeof h!="function")throw new TypeError("Parameter `request` must be a function");return this.cache=new a({uri:typeof y=="string"&&y,store:typeof y!="string"&&y,namespace:"cacheable-request"}),this.createCacheableRequest(h)}createCacheableRequest(h){return(y,b)=>{let E;if(typeof y=="string")E=d(s.parse(y)),y={};else if(y instanceof s.URL)E=d(s.parse(y.toString())),y={};else{let[S,...A]=(y.path||"").split("?"),x=A.length>0?`?${A.join("?")}`:"";E=d({...y,pathname:S,search:x})}y={headers:{},method:"GET",cache:!0,strictTtl:!1,automaticFailover:!1,...y,...o(E)},y.headers=e(y.headers);let g=new n,D=i(s.format(E),{stripWWW:!1,removeTrailingSlash:!1,stripAuthentication:!1}),w=`${y.method}:${D}`,v=!1,m=!1,_=S=>{m=!0;let A=!1,x,L=new Promise(F=>{x=()=>{A||(A=!0,F())}}),T=F=>{if(v&&!S.forceRefresh){F.status=F.statusCode;let I=u.fromObject(v.cachePolicy).revalidatedPolicy(S,F);if(!I.modified){let $=I.policy.responseHeaders();F=new r(v.statusCode,$,v.body,v.url),F.cachePolicy=I.policy,F.fromCache=!0}}F.fromCache||(F.cachePolicy=new u(S,F,S),F.fromCache=!1);let O;S.cache&&F.cachePolicy.storable()?(O=f(F),(async()=>{try{let I=p.buffer(F);if(await Promise.race([L,new Promise(W=>F.once("end",W))]),A)return;let $=await I,R={cachePolicy:F.cachePolicy.toObject(),url:F.url,statusCode:F.fromCache?v.statusCode:F.statusCode,body:$},q=S.strictTtl?F.cachePolicy.timeToLive():void 0;S.maxTtl&&(q=q?Math.min(q,S.maxTtl):S.maxTtl),await this.cache.set(w,R,q)}catch(I){g.emit("error",new c.CacheError(I))}})()):S.cache&&v&&(async()=>{try{await this.cache.delete(w)}catch(I){g.emit("error",new c.CacheError(I))}})(),g.emit("response",O||F),typeof b=="function"&&b(O||F)};try{let F=h(S,T);F.once("error",x),F.once("abort",x),g.emit("request",F)}catch(F){g.emit("error",new c.RequestError(F))}};return(async()=>{let S=async x=>{await Promise.resolve();let L=x.cache?await this.cache.get(w):void 0;if(typeof L>"u")return _(x);let T=u.fromObject(L.cachePolicy);if(T.satisfiesWithoutRevalidation(x)&&!x.forceRefresh){let F=T.responseHeaders(),O=new r(L.statusCode,F,L.body,L.url);O.cachePolicy=T,O.fromCache=!0,g.emit("response",O),typeof b=="function"&&b(O)}else v=L,x.headers=T.revalidationHeaders(x),_(x)},A=x=>g.emit("error",new c.CacheError(x));this.cache.once("error",A),g.on("response",()=>this.cache.removeListener("error",A));try{await S(y)}catch(x){y.automaticFailover&&!m&&_(y),g.emit("error",new c.CacheError(x))}})(),g}}};function o(h){let y={...h};return y.path=`${h.pathname||"/"}${h.search||""}`,delete y.pathname,delete y.search,y}function d(h){return{protocol:h.protocol,auth:h.auth,hostname:h.hostname||h.host||"localhost",port:h.port,pathname:h.pathname,search:h.search}}c.RequestError=class extends Error{constructor(h){super(h.message),this.name="RequestError",Object.assign(this,h)}},c.CacheError=class extends Error{constructor(h){super(h.message),this.name="CacheError",Object.assign(this,h)}},l.exports=c}),$u=N((t,l)=>{"use strict";B();var n=["aborted","complete","headers","httpVersion","httpVersionMinor","httpVersionMajor","method","rawHeaders","rawTrailers","setTimeout","socket","statusCode","statusMessage","trailers","url"];l.exports=(s,i)=>{if(i._readableState.autoDestroy)throw new Error("The second stream must have the `autoDestroy` option set to `false`");let p=new Set(Object.keys(s).concat(n)),u={};for(let r of p)r in i||(u[r]={get(){let e=s[r];return typeof e=="function"?e.bind(s):e},set(e){s[r]=e},enumerable:!0,configurable:!1});return Object.defineProperties(i,u),s.once("aborted",()=>{i.destroy(),i.emit("aborted")}),s.once("close",()=>{s.complete&&i.readable?i.once("end",()=>{i.emit("close")}):i.emit("close")}),i}}),Hu=N((t,l)=>{"use strict";B();var{Transform:n,PassThrough:s}=Z("stream"),i=Z("zlib"),p=$u();l.exports=u=>{let r=(u.headers["content-encoding"]||"").toLowerCase();if(!["gzip","deflate","br"].includes(r))return u;let e=r==="br";if(e&&typeof i.createBrotliDecompress!="function")return u.destroy(new Error("Brotli is not supported on Node.js < 12")),u;let f=!0,a=new n({transform(d,h,y){f=!1,y(null,d)},flush(d){d()}}),c=new s({autoDestroy:!1,destroy(d,h){u.destroy(),h(d)}}),o=e?i.createBrotliDecompress():i.createUnzip();return o.once("error",d=>{if(f&&!u.readable){c.end();return}c.destroy(d)}),p(u,c),u.pipe(a).pipe(o).pipe(c),c}}),Vn=N((t,l)=>{"use strict";B();var n=class{constructor(s={}){if(!(s.maxSize&&s.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");this.maxSize=s.maxSize,this.onEviction=s.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_set(s,i){if(this.cache.set(s,i),this._size++,this._size>=this.maxSize){if(this._size=0,typeof this.onEviction=="function")for(let[p,u]of this.oldCache.entries())this.onEviction(p,u);this.oldCache=this.cache,this.cache=new Map}}get(s){if(this.cache.has(s))return this.cache.get(s);if(this.oldCache.has(s)){let i=this.oldCache.get(s);return this.oldCache.delete(s),this._set(s,i),i}}set(s,i){return this.cache.has(s)?this.cache.set(s,i):this._set(s,i),this}has(s){return this.cache.has(s)||this.oldCache.has(s)}peek(s){if(this.cache.has(s))return this.cache.get(s);if(this.oldCache.has(s))return this.oldCache.get(s)}delete(s){let i=this.cache.delete(s);return i&&this._size--,this.oldCache.delete(s)||i}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}*keys(){for(let[s]of this)yield s}*values(){for(let[,s]of this)yield s}*[Symbol.iterator](){for(let s of this.cache)yield s;for(let s of this.oldCache){let[i]=s;this.cache.has(i)||(yield s)}}get size(){let s=0;for(let i of this.oldCache.keys())this.cache.has(i)||s++;return Math.min(this._size+s,this.maxSize)}};l.exports=n}),Kn=N((t,l)=>{"use strict";B();var n=Z("events"),s=Z("tls"),i=Z("http2"),p=Vn(),u=Symbol("currentStreamsCount"),r=Symbol("request"),e=Symbol("cachedOriginSet"),f=Symbol("gracefullyClosing"),a=["maxDeflateDynamicTableSize","maxSessionMemory","maxHeaderListPairs","maxOutstandingPings","maxReservedRemoteStreams","maxSendHeaderBlockLength","paddingStrategy","localAddress","path","rejectUnauthorized","minDHSize","ca","cert","clientCertEngine","ciphers","key","pfx","servername","minVersion","maxVersion","secureProtocol","crl","honorCipherOrder","ecdhCurve","dhparam","secureOptions","sessionIdContext"],c=(g,D,w)=>{let v=0,m=g.length;for(;v<m;){let _=v+m>>>1;w(g[_],D)?v=_+1:m=_}return v},o=(g,D)=>g.remoteSettings.maxConcurrentStreams>D.remoteSettings.maxConcurrentStreams,d=(g,D)=>{for(let w of g)w[e].length<D[e].length&&w[e].every(v=>D[e].includes(v))&&w[u]+D[u]<=D.remoteSettings.maxConcurrentStreams&&b(w)},h=(g,D)=>{for(let w of g)D[e].length<w[e].length&&D[e].every(v=>w[e].includes(v))&&D[u]+w[u]<=w.remoteSettings.maxConcurrentStreams&&b(D)},y=({agent:g,isFree:D})=>{let w={};for(let v in g.sessions){let m=g.sessions[v].filter(_=>{let S=_[E.kCurrentStreamsCount]<_.remoteSettings.maxConcurrentStreams;return D?S:!S});m.length!==0&&(w[v]=m)}return w},b=g=>{g[f]=!0,g[u]===0&&g.close()},E=class extends n{constructor({timeout:g=6e4,maxSessions:D=1/0,maxFreeSessions:w=10,maxCachedTlsSessions:v=100}={}){super(),this.sessions={},this.queue={},this.timeout=g,this.maxSessions=D,this.maxFreeSessions=w,this._freeSessionsCount=0,this._sessionsCount=0,this.settings={enablePush:!1},this.tlsSessionCache=new p({maxSize:v})}static normalizeOrigin(g,D){return typeof g=="string"&&(g=new URL(g)),D&&g.hostname!==D&&(g.hostname=D),g.origin}normalizeOptions(g){let D="";if(g)for(let w of a)g[w]&&(D+=`:${g[w]}`);return D}_tryToCreateNewSession(g,D){if(!(g in this.queue)||!(D in this.queue[g]))return;let w=this.queue[g][D];this._sessionsCount<this.maxSessions&&!w.completed&&(w.completed=!0,w())}getSession(g,D,w){return new Promise((v,m)=>{Array.isArray(w)?(w=[...w],v()):w=[{resolve:v,reject:m}];let _=this.normalizeOptions(D),S=E.normalizeOrigin(g,D&&D.servername);if(S===void 0){for(let{reject:L}of w)L(new TypeError("The `origin` argument needs to be a string or an URL object"));return}if(_ in this.sessions){let L=this.sessions[_],T=-1,F=-1,O;for(let I of L){let $=I.remoteSettings.maxConcurrentStreams;if($<T)break;if(I[e].includes(S)){let R=I[u];if(R>=$||I[f]||I.destroyed)continue;O||(T=$),R>F&&(O=I,F=R)}}if(O){if(w.length!==1){for(let{reject:I}of w){let $=new Error(`Expected the length of listeners to be 1, got ${w.length}.
|
15
|
-
Please report this to https://github.com/szmarczak/http2-wrapper/`);I($)}return}w[0].resolve(O);return}}if(_ in this.queue){if(S in this.queue[_]){this.queue[_][S].listeners.push(...w),this._tryToCreateNewSession(_,S);return}}else this.queue[_]={};let A=()=>{_ in this.queue&&this.queue[_][S]===x&&(delete this.queue[_][S],Object.keys(this.queue[_]).length===0&&delete this.queue[_])},x=()=>{let L=`${S}:${_}`,T=!1;try{let F=i.connect(g,{createConnection:this.createConnection,settings:this.settings,session:this.tlsSessionCache.get(L),...D});F[u]=0,F[f]=!1;let O=()=>F[u]<F.remoteSettings.maxConcurrentStreams,I=!0;F.socket.once("session",R=>{this.tlsSessionCache.set(L,R)}),F.once("error",R=>{for(let{reject:q}of w)q(R);this.tlsSessionCache.delete(L)}),F.setTimeout(this.timeout,()=>{F.destroy()}),F.once("close",()=>{if(T){I&&this._freeSessionsCount--,this._sessionsCount--;let R=this.sessions[_];R.splice(R.indexOf(F),1),R.length===0&&delete this.sessions[_]}else{let R=new Error("Session closed without receiving a SETTINGS frame");R.code="HTTP2WRAPPER_NOSETTINGS";for(let{reject:q}of w)q(R);A()}this._tryToCreateNewSession(_,S)});let $=()=>{if(!(!(_ in this.queue)||!O())){for(let R of F[e])if(R in this.queue[_]){let{listeners:q}=this.queue[_][R];for(;q.length!==0&&O();)q.shift().resolve(F);let W=this.queue[_];if(W[R].listeners.length===0&&(delete W[R],Object.keys(W).length===0)){delete this.queue[_];break}if(!O())break}}};F.on("origin",()=>{F[e]=F.originSet,O()&&($(),d(this.sessions[_],F))}),F.once("remoteSettings",()=>{if(F.ref(),F.unref(),this._sessionsCount++,x.destroyed){let R=new Error("Agent has been destroyed");for(let q of w)q.reject(R);F.destroy();return}F[e]=F.originSet;{let R=this.sessions;if(_ in R){let q=R[_];q.splice(c(q,F,o),0,F)}else R[_]=[F]}this._freeSessionsCount+=1,T=!0,this.emit("session",F),$(),A(),F[u]===0&&this._freeSessionsCount>this.maxFreeSessions&&F.close(),w.length!==0&&(this.getSession(S,D,w),w.length=0),F.on("remoteSettings",()=>{$(),d(this.sessions[_],F)})}),F[r]=F.request,F.request=(R,q)=>{if(F[f])throw new Error("The session is gracefully closing. No new streams are allowed.");let W=F[r](R,q);return F.ref(),++F[u],F[u]===F.remoteSettings.maxConcurrentStreams&&this._freeSessionsCount--,W.once("close",()=>{if(I=O(),--F[u],!F.destroyed&&!F.closed&&(h(this.sessions[_],F),O()&&!F.closed)){I||(this._freeSessionsCount++,I=!0);let Q=F[u]===0;Q&&F.unref(),Q&&(this._freeSessionsCount>this.maxFreeSessions||F[f])?F.close():(d(this.sessions[_],F),$())}}),W}}catch(F){for(let O of w)O.reject(F);A()}};x.listeners=w,x.completed=!1,x.destroyed=!1,this.queue[_][S]=x,this._tryToCreateNewSession(_,S)})}request(g,D,w,v){return new Promise((m,_)=>{this.getSession(g,D,[{reject:_,resolve:S=>{try{m(S.request(w,v))}catch(A){_(A)}}}])})}createConnection(g,D){return E.connect(g,D)}static connect(g,D){D.ALPNProtocols=["h2"];let w=g.port||443,v=g.hostname||g.host;return typeof D.servername>"u"&&(D.servername=v),s.connect(w,v,D)}closeFreeSessions(){for(let g of Object.values(this.sessions))for(let D of g)D[u]===0&&D.close()}destroy(g){for(let D of Object.values(this.sessions))for(let w of D)w.destroy(g);for(let D of Object.values(this.queue))for(let w of Object.values(D))w.destroyed=!0;this.queue={}}get freeSessions(){return y({agent:this,isFree:!0})}get busySessions(){return y({agent:this,isFree:!1})}};E.kCurrentStreamsCount=u,E.kGracefullyClosing=f,l.exports={Agent:E,globalAgent:new E}}),Yn=N((t,l)=>{"use strict";B();var{Readable:n}=Z("stream"),s=class extends n{constructor(i,p){super({highWaterMark:p,autoDestroy:!1}),this.statusCode=null,this.statusMessage="",this.httpVersion="2.0",this.httpVersionMajor=2,this.httpVersionMinor=0,this.headers={},this.trailers={},this.req=null,this.aborted=!1,this.complete=!1,this.upgrade=null,this.rawHeaders=[],this.rawTrailers=[],this.socket=i,this.connection=i,this._dumped=!1}_destroy(i){this.req._request.destroy(i)}setTimeout(i,p){return this.req.setTimeout(i,p),this}_dump(){this._dumped||(this._dumped=!0,this.removeAllListeners("data"),this.resume())}_read(){this.req&&this.req._request.resume()}};l.exports=s}),Jn=N((t,l)=>{"use strict";B(),l.exports=n=>{let s={protocol:n.protocol,hostname:typeof n.hostname=="string"&&n.hostname.startsWith("[")?n.hostname.slice(1,-1):n.hostname,host:n.host,hash:n.hash,search:n.search,pathname:n.pathname,href:n.href,path:`${n.pathname||""}${n.search||""}`};return typeof n.port=="string"&&n.port.length!==0&&(s.port=Number(n.port)),(n.username||n.password)&&(s.auth=`${n.username||""}:${n.password||""}`),s}}),Uu=N((t,l)=>{"use strict";B(),l.exports=(n,s,i)=>{for(let p of i)n.on(p,(...u)=>s.emit(p,...u))}}),qu=N((t,l)=>{"use strict";B(),l.exports=n=>{switch(n){case":method":case":scheme":case":authority":case":path":return!0;default:return!1}}}),Gu=N((t,l)=>{"use strict";B();var n=(s,i,p)=>{l.exports[i]=class extends s{constructor(...u){super(typeof p=="string"?p:p(u)),this.name=`${super.name} [${i}]`,this.code=i}}};n(TypeError,"ERR_INVALID_ARG_TYPE",s=>{let i=s[0].includes(".")?"property":"argument",p=s[1],u=Array.isArray(p);return u&&(p=`${p.slice(0,-1).join(", ")} or ${p.slice(-1)}`),`The "${s[0]}" ${i} must be ${u?"one of":"of"} type ${p}. Received ${typeof s[2]}`}),n(TypeError,"ERR_INVALID_PROTOCOL",s=>`Protocol "${s[0]}" not supported. Expected "${s[1]}"`),n(Error,"ERR_HTTP_HEADERS_SENT",s=>`Cannot ${s[0]} headers after they are sent to the client`),n(TypeError,"ERR_INVALID_HTTP_TOKEN",s=>`${s[0]} must be a valid HTTP token [${s[1]}]`),n(TypeError,"ERR_HTTP_INVALID_HEADER_VALUE",s=>`Invalid value "${s[0]} for header "${s[1]}"`),n(TypeError,"ERR_INVALID_CHAR",s=>`Invalid character in ${s[0]} [${s[1]}]`)}),Zn=N((t,l)=>{"use strict";B();var n=Z("http2"),{Writable:s}=Z("stream"),{Agent:i,globalAgent:p}=Kn(),u=Yn(),r=Jn(),e=Uu(),f=qu(),{ERR_INVALID_ARG_TYPE:a,ERR_INVALID_PROTOCOL:c,ERR_HTTP_HEADERS_SENT:o,ERR_INVALID_HTTP_TOKEN:d,ERR_HTTP_INVALID_HEADER_VALUE:h,ERR_INVALID_CHAR:y}=Gu(),{HTTP2_HEADER_STATUS:b,HTTP2_HEADER_METHOD:E,HTTP2_HEADER_PATH:g,HTTP2_METHOD_CONNECT:D}=n.constants,w=Symbol("headers"),v=Symbol("origin"),m=Symbol("session"),_=Symbol("options"),S=Symbol("flushedHeaders"),A=Symbol("jobs"),x=/^[\^`\-\w!#$%&*+.|~]+$/,L=/[^\t\u0020-\u007E\u0080-\u00FF]/,T=class extends s{constructor(F,O,I){super({autoDestroy:!1});let $=typeof F=="string"||F instanceof URL;if($&&(F=r(F instanceof URL?F:new URL(F))),typeof O=="function"||O===void 0?(I=O,O=$?F:{...F}):O={...F,...O},O.h2session)this[m]=O.h2session;else if(O.agent===!1)this.agent=new i({maxFreeSessions:0});else if(typeof O.agent>"u"||O.agent===null)typeof O.createConnection=="function"?(this.agent=new i({maxFreeSessions:0}),this.agent.createConnection=O.createConnection):this.agent=p;else if(typeof O.agent.request=="function")this.agent=O.agent;else throw new a("options.agent",["Agent-like Object","undefined","false"],O.agent);if(O.protocol&&O.protocol!=="https:")throw new c(O.protocol,"https:");let R=O.port||O.defaultPort||this.agent&&this.agent.defaultPort||443,q=O.hostname||O.host||"localhost";delete O.hostname,delete O.host,delete O.port;let{timeout:W}=O;if(O.timeout=void 0,this[w]=Object.create(null),this[A]=[],this.socket=null,this.connection=null,this.method=O.method||"GET",this.path=O.path,this.res=null,this.aborted=!1,this.reusedSocket=!1,O.headers)for(let[Q,P]of Object.entries(O.headers))this.setHeader(Q,P);O.auth&&!("authorization"in this[w])&&(this[w].authorization="Basic "+Buffer.from(O.auth).toString("base64")),O.session=O.tlsSession,O.path=O.socketPath,this[_]=O,R===443?(this[v]=`https://${q}`,":authority"in this[w]||(this[w][":authority"]=q)):(this[v]=`https://${q}:${R}`,":authority"in this[w]||(this[w][":authority"]=`${q}:${R}`)),W&&this.setTimeout(W),I&&this.once("response",I),this[S]=!1}get method(){return this[w][E]}set method(F){F&&(this[w][E]=F.toUpperCase())}get path(){return this[w][g]}set path(F){F&&(this[w][g]=F)}get _mustNotHaveABody(){return this.method==="GET"||this.method==="HEAD"||this.method==="DELETE"}_write(F,O,I){if(this._mustNotHaveABody){I(new Error("The GET, HEAD and DELETE methods must NOT have a body"));return}this.flushHeaders();let $=()=>this._request.write(F,O,I);this._request?$():this[A].push($)}_final(F){if(this.destroyed)return;this.flushHeaders();let O=()=>{if(this._mustNotHaveABody){F();return}this._request.end(F)};this._request?O():this[A].push(O)}abort(){this.res&&this.res.complete||(this.aborted||process.nextTick(()=>this.emit("abort")),this.aborted=!0,this.destroy())}_destroy(F,O){this.res&&this.res._dump(),this._request&&this._request.destroy(),O(F)}async flushHeaders(){if(this[S]||this.destroyed)return;this[S]=!0;let F=this.method===D,O=I=>{if(this._request=I,this.destroyed){I.destroy();return}F||e(I,this,["timeout","continue","close","error"]);let $=q=>(...W)=>{!this.writable&&!this.destroyed?q(...W):this.once("finish",()=>{q(...W)})};I.once("response",$((q,W,Q)=>{let P=new u(this.socket,I.readableHighWaterMark);this.res=P,P.req=this,P.statusCode=q[b],P.headers=q,P.rawHeaders=Q,P.once("end",()=>{this.aborted?(P.aborted=!0,P.emit("aborted")):(P.complete=!0,P.socket=null,P.connection=null)}),F?(P.upgrade=!0,this.emit("connect",P,I,Buffer.alloc(0))?this.emit("close"):I.destroy()):(I.on("data",j=>{!P._dumped&&!P.push(j)&&I.pause()}),I.once("end",()=>{P.push(null)}),this.emit("response",P)||P._dump())})),I.once("headers",$(q=>this.emit("information",{statusCode:q[b]}))),I.once("trailers",$((q,W,Q)=>{let{res:P}=this;P.trailers=q,P.rawTrailers=Q}));let{socket:R}=I.session;this.socket=R,this.connection=R;for(let q of this[A])q();this.emit("socket",this.socket)};if(this[m])try{O(this[m].request(this[w]))}catch(I){this.emit("error",I)}else{this.reusedSocket=!0;try{O(await this.agent.request(this[v],this[_],this[w]))}catch(I){this.emit("error",I)}}}getHeader(F){if(typeof F!="string")throw new a("name","string",F);return this[w][F.toLowerCase()]}get headersSent(){return this[S]}removeHeader(F){if(typeof F!="string")throw new a("name","string",F);if(this.headersSent)throw new o("remove");delete this[w][F.toLowerCase()]}setHeader(F,O){if(this.headersSent)throw new o("set");if(typeof F!="string"||!x.test(F)&&!f(F))throw new d("Header name",F);if(typeof O>"u")throw new h(O,F);if(L.test(O))throw new y("header content",F);this[w][F.toLowerCase()]=O}setNoDelay(){}setSocketKeepAlive(){}setTimeout(F,O){let I=()=>this._request.setTimeout(F,O);return this._request?I():this[A].push(I),this}get maxHeadersCount(){if(!this.destroyed&&this._request)return this._request.session.localSettings.maxHeaderListSize}set maxHeadersCount(F){}};l.exports=T}),zu=N((t,l)=>{"use strict";B();var n=Z("tls");l.exports=(s={},i=n.connect)=>new Promise((p,u)=>{let r=!1,e,f=async()=>{await c,e.off("timeout",a),e.off("error",u),s.resolveSocket?(p({alpnProtocol:e.alpnProtocol,socket:e,timeout:r}),r&&(await Promise.resolve(),e.emit("timeout"))):(e.destroy(),p({alpnProtocol:e.alpnProtocol,timeout:r}))},a=async()=>{r=!0,f()},c=(async()=>{try{e=await i(s,f),e.on("error",u),e.once("timeout",a)}catch(o){u(o)}})()})}),Wu=N((t,l)=>{"use strict";B();var n=Z("net");l.exports=s=>{let i=s.host,p=s.headers&&s.headers.host;return p&&(p.startsWith("[")?p.indexOf("]")===-1?i=p:i=p.slice(1,-1):i=p.split(":",1)[0]),n.isIP(i)?"":i}}),Vu=N((t,l)=>{"use strict";B();var n=Z("http"),s=Z("https"),i=zu(),p=Vn(),u=Zn(),r=Wu(),e=Jn(),f=new p({maxSize:100}),a=new Map,c=(d,h,y)=>{h._httpMessage={shouldKeepAlive:!0};let b=()=>{d.emit("free",h,y)};h.on("free",b);let E=()=>{d.removeSocket(h,y)};h.on("close",E);let g=()=>{d.removeSocket(h,y),h.off("close",E),h.off("free",b),h.off("agentRemove",g)};h.on("agentRemove",g),d.emit("free",h,y)},o=async d=>{let h=`${d.host}:${d.port}:${d.ALPNProtocols.sort()}`;if(!f.has(h)){if(a.has(h))return(await a.get(h)).alpnProtocol;let{path:y,agent:b}=d;d.path=d.socketPath;let E=i(d);a.set(h,E);try{let{socket:g,alpnProtocol:D}=await E;if(f.set(h,D),d.path=y,D==="h2")g.destroy();else{let{globalAgent:w}=s,v=s.Agent.prototype.createConnection;b?b.createConnection===v?c(b,g,d):g.destroy():w.createConnection===v?c(w,g,d):g.destroy()}return a.delete(h),D}catch(g){throw a.delete(h),g}}return f.get(h)};l.exports=async(d,h,y)=>{if((typeof d=="string"||d instanceof URL)&&(d=e(new URL(d))),typeof h=="function"&&(y=h,h=void 0),h={ALPNProtocols:["h2","http/1.1"],...d,...h,resolveSocket:!0},!Array.isArray(h.ALPNProtocols)||h.ALPNProtocols.length===0)throw new Error("The `ALPNProtocols` option must be an Array with at least one entry");h.protocol=h.protocol||"https:";let b=h.protocol==="https:";h.host=h.hostname||h.host||"localhost",h.session=h.tlsSession,h.servername=h.servername||r(h),h.port=h.port||(b?443:80),h._defaultAgent=b?s.globalAgent:n.globalAgent;let E=h.agent;if(E){if(E.addRequest)throw new Error("The `options.agent` object can contain only `http`, `https` or `http2` properties");h.agent=E[b?"https":"http"]}return b&&await o(h)==="h2"?(E&&(h.agent=E.http2),new u(h,y)):n.request(h,y)},l.exports.protocolCache=f}),Ku=N((t,l)=>{"use strict";B();var n=Z("http2"),s=Kn(),i=Zn(),p=Yn(),u=Vu(),r=(f,a,c)=>new i(f,a,c),e=(f,a,c)=>{let o=new i(f,a,c);return o.end(),o};l.exports={...n,ClientRequest:i,IncomingMessage:p,...s,request:r,get:e,auto:u}}),Xn=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=ue();t.default=n=>l.default.nodeStream(n)&&l.default.function_(n.getBoundary)}),Yu=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Z("fs"),n=Z("util"),s=ue(),i=Xn(),p=n.promisify(l.stat);t.default=async(u,r)=>{if(r&&"content-length"in r)return Number(r["content-length"]);if(!u)return 0;if(s.default.string(u))return Buffer.byteLength(u);if(s.default.buffer(u))return u.length;if(i.default(u))return n.promisify(u.getLength.bind(u))();if(u instanceof l.ReadStream){let{size:e}=await p(u.path);return e===0?void 0:e}}}),Qn=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});function l(n,s,i){let p={};for(let u of i)p[u]=(...r)=>{s.emit(u,...r)},n.on(u,p[u]);return()=>{for(let u of i)n.off(u,p[u])}}t.default=l}),Ju=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.default=()=>{let l=[];return{once(n,s,i){n.once(s,i),l.push({origin:n,event:s,fn:i})},unhandleAll(){for(let n of l){let{origin:s,event:i,fn:p}=n;s.removeListener(i,p)}l.length=0}}}}),Zu=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.TimeoutError=void 0;var l=Z("net"),n=Ju(),s=Symbol("reentry"),i=()=>{},p=class extends Error{constructor(u,r){super(`Timeout awaiting '${r}' for ${u}ms`),this.event=r,this.name="TimeoutError",this.code="ETIMEDOUT"}};t.TimeoutError=p,t.default=(u,r,e)=>{if(s in u)return i;u[s]=!0;let f=[],{once:a,unhandleAll:c}=n.default(),o=(E,g,D)=>{var w;let v=setTimeout(g,E,E,D);(w=v.unref)===null||w===void 0||w.call(v);let m=()=>{clearTimeout(v)};return f.push(m),m},{host:d,hostname:h}=e,y=(E,g)=>{u.destroy(new p(E,g))},b=()=>{for(let E of f)E();c()};if(u.once("error",E=>{if(b(),u.listenerCount("error")===0)throw E}),u.once("close",b),a(u,"response",E=>{a(E,"end",b)}),typeof r.request<"u"&&o(r.request,y,"request"),typeof r.socket<"u"){let E=()=>{y(r.socket,"socket")};u.setTimeout(r.socket,E),f.push(()=>{u.removeListener("timeout",E)})}return a(u,"socket",E=>{var g;let{socketPath:D}=u;if(E.connecting){let w=!!(D!=null?D:l.isIP((g=h!=null?h:d)!==null&&g!==void 0?g:"")!==0);if(typeof r.lookup<"u"&&!w&&typeof E.address().address>"u"){let v=o(r.lookup,y,"lookup");a(E,"lookup",v)}if(typeof r.connect<"u"){let v=()=>o(r.connect,y,"connect");w?a(E,"connect",v()):a(E,"lookup",m=>{m===null&&a(E,"connect",v())})}typeof r.secureConnect<"u"&&e.protocol==="https:"&&a(E,"connect",()=>{let v=o(r.secureConnect,y,"secureConnect");a(E,"secureConnect",v)})}if(typeof r.send<"u"){let w=()=>o(r.send,y,"send");E.connecting?a(E,"connect",()=>{a(u,"upload-complete",w())}):a(u,"upload-complete",w())}}),typeof r.response<"u"&&a(u,"upload-complete",()=>{let E=o(r.response,y,"response");a(u,"response",E)}),b}}),Xu=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=ue();t.default=n=>{n=n;let s={protocol:n.protocol,hostname:l.default.string(n.hostname)&&n.hostname.startsWith("[")?n.hostname.slice(1,-1):n.hostname,host:n.host,hash:n.hash,search:n.search,pathname:n.pathname,href:n.href,path:`${n.pathname||""}${n.search||""}`};return l.default.string(n.port)&&n.port.length>0&&(s.port=Number(n.port)),(n.username||n.password)&&(s.auth=`${n.username||""}:${n.password||""}`),s}}),Qu=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Z("url"),n=["protocol","host","hostname","port","pathname","search"];t.default=(s,i)=>{var p,u;if(i.path){if(i.pathname)throw new TypeError("Parameters `path` and `pathname` are mutually exclusive.");if(i.search)throw new TypeError("Parameters `path` and `search` are mutually exclusive.");if(i.searchParams)throw new TypeError("Parameters `path` and `searchParams` are mutually exclusive.")}if(i.search&&i.searchParams)throw new TypeError("Parameters `search` and `searchParams` are mutually exclusive.");if(!s){if(!i.protocol)throw new TypeError("No URL protocol specified");s=`${i.protocol}//${(u=(p=i.hostname)!==null&&p!==void 0?p:i.host)!==null&&u!==void 0?u:""}`}let r=new l.URL(s);if(i.path){let e=i.path.indexOf("?");e===-1?i.pathname=i.path:(i.pathname=i.path.slice(0,e),i.search=i.path.slice(e+1)),delete i.path}for(let e of n)i[e]&&(r[e]=i[e].toString());return r}}),ta=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=class{constructor(){this.weakMap=new WeakMap,this.map=new Map}set(n,s){typeof n=="object"?this.weakMap.set(n,s):this.map.set(n,s)}get(n){return typeof n=="object"?this.weakMap.get(n):this.map.get(n)}has(n){return typeof n=="object"?this.weakMap.has(n):this.map.has(n)}};t.default=l}),ti=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=async n=>{let s=[],i=0;for await(let p of n)s.push(p),i+=Buffer.byteLength(p);return Buffer.isBuffer(s[0])?Buffer.concat(s,i):Buffer.from(s.join(""))};t.default=l}),ea=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.dnsLookupIpVersionToFamily=t.isDnsLookupIpVersion=void 0;var l={auto:0,ipv4:4,ipv6:6};t.isDnsLookupIpVersion=n=>n in l,t.dnsLookupIpVersionToFamily=n=>{if(t.isDnsLookupIpVersion(n))return l[n];throw new Error("Invalid DNS lookup IP version")}}),ei=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.isResponseOk=void 0,t.isResponseOk=l=>{let{statusCode:n}=l,s=l.request.options.followRedirect?299:399;return n>=200&&n<=s||n===304}}),ra=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=new Set;t.default=n=>{l.has(n)||(l.add(n),process.emitWarning(`Got: ${n}`,{type:"DeprecationWarning"}))}}),na=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=ue(),n=(s,i)=>{if(l.default.null_(s.encoding))throw new TypeError("To get a Buffer, set `options.responseType` to `buffer` instead");l.assert.any([l.default.string,l.default.undefined],s.encoding),l.assert.any([l.default.boolean,l.default.undefined],s.resolveBodyOnly),l.assert.any([l.default.boolean,l.default.undefined],s.methodRewriting),l.assert.any([l.default.boolean,l.default.undefined],s.isStream),l.assert.any([l.default.string,l.default.undefined],s.responseType),s.responseType===void 0&&(s.responseType="text");let{retry:p}=s;if(i?s.retry={...i.retry}:s.retry={calculateDelay:u=>u.computedValue,limit:0,methods:[],statusCodes:[],errorCodes:[],maxRetryAfter:void 0},l.default.object(p)?(s.retry={...s.retry,...p},s.retry.methods=[...new Set(s.retry.methods.map(u=>u.toUpperCase()))],s.retry.statusCodes=[...new Set(s.retry.statusCodes)],s.retry.errorCodes=[...new Set(s.retry.errorCodes)]):l.default.number(p)&&(s.retry.limit=p),l.default.undefined(s.retry.maxRetryAfter)&&(s.retry.maxRetryAfter=Math.min(...[s.timeout.request,s.timeout.connect].filter(l.default.number))),l.default.object(s.pagination)){i&&(s.pagination={...i.pagination,...s.pagination});let{pagination:u}=s;if(!l.default.function_(u.transform))throw new Error("`options.pagination.transform` must be implemented");if(!l.default.function_(u.shouldContinue))throw new Error("`options.pagination.shouldContinue` must be implemented");if(!l.default.function_(u.filter))throw new TypeError("`options.pagination.filter` must be implemented");if(!l.default.function_(u.paginate))throw new Error("`options.pagination.paginate` must be implemented")}return s.responseType==="json"&&s.headers.accept===void 0&&(s.headers.accept="application/json"),s};t.default=n}),ia=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.retryAfterStatusCodes=void 0,t.retryAfterStatusCodes=new Set([413,429,503]);var l=({attemptCount:n,retryOptions:s,error:i,retryAfter:p})=>{if(n>s.limit)return 0;let u=s.methods.includes(i.options.method),r=s.errorCodes.includes(i.code),e=i.response&&s.statusCodes.includes(i.response.statusCode);if(!u||!r&&!e)return 0;if(i.response){if(p)return s.maxRetryAfter===void 0||p>s.maxRetryAfter?0:p;if(i.response.statusCode===413)return 0}let f=Math.random()*100;return 2**(n-1)*1e3+f};t.default=l}),tr=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.UnsupportedProtocolError=t.ReadError=t.TimeoutError=t.UploadError=t.CacheError=t.HTTPError=t.MaxRedirectsError=t.RequestError=t.setNonEnumerableProperties=t.knownHookEvents=t.withoutBody=t.kIsNormalizedAlready=void 0;var l=Z("util"),n=Z("stream"),s=Z("fs"),i=Z("url"),p=Z("http"),u=Z("http"),r=Z("https"),e=Au(),f=Cu(),a=Mu(),c=Hu(),o=Ku(),d=Tr(),h=ue(),y=Yu(),b=Xn(),E=Qn(),g=Zu(),D=Xu(),w=Qu(),v=ta(),m=ti(),_=ea(),S=ei(),A=ra(),x=na(),L=ia(),T,F=Symbol("request"),O=Symbol("response"),I=Symbol("responseSize"),$=Symbol("downloadedSize"),R=Symbol("bodySize"),q=Symbol("uploadedSize"),W=Symbol("serverResponsesPiped"),Q=Symbol("unproxyEvents"),P=Symbol("isFromCache"),j=Symbol("cancelTimeouts"),k=Symbol("startedReading"),J=Symbol("stopReading"),G=Symbol("triggerRead"),tt=Symbol("body"),M=Symbol("jobs"),K=Symbol("originalResponse"),et=Symbol("retryTimeout");t.kIsNormalizedAlready=Symbol("isNormalizedAlready");var ot=h.default.string(process.versions.brotli);t.withoutBody=new Set(["GET","HEAD"]),t.knownHookEvents=["init","beforeRequest","beforeRedirect","beforeError","beforeRetry","afterResponse"];function ct(Y){for(let U in Y){let ut=Y[U];if(!h.default.string(ut)&&!h.default.number(ut)&&!h.default.boolean(ut)&&!h.default.null_(ut)&&!h.default.undefined(ut))throw new TypeError(`The \`searchParams\` value '${String(ut)}' must be a string, number, boolean or null`)}}function gt(Y){return h.default.object(Y)&&!("statusCode"in Y)}var mt=new v.default,H=async Y=>new Promise((U,ut)=>{let bt=pt=>{ut(pt)};Y.pending||U(),Y.once("error",bt),Y.once("ready",()=>{Y.off("error",bt),U()})}),V=new Set([300,301,302,303,304,307,308]),C=["context","body","json","form"];t.setNonEnumerableProperties=(Y,U)=>{let ut={};for(let bt of Y)if(bt)for(let pt of C)pt in bt&&(ut[pt]={writable:!0,configurable:!0,enumerable:!1,value:bt[pt]});Object.defineProperties(U,ut)};var z=class extends Error{constructor(Y,U,ut){var bt,pt;if(super(Y),Error.captureStackTrace(this,this.constructor),this.name="RequestError",this.code=(bt=U.code)!==null&&bt!==void 0?bt:"ERR_GOT_REQUEST_ERROR",ut instanceof xt?(Object.defineProperty(this,"request",{enumerable:!1,value:ut}),Object.defineProperty(this,"response",{enumerable:!1,value:ut[O]}),Object.defineProperty(this,"options",{enumerable:!1,value:ut.options})):Object.defineProperty(this,"options",{enumerable:!1,value:ut}),this.timings=(pt=this.request)===null||pt===void 0?void 0:pt.timings,h.default.string(U.stack)&&h.default.string(this.stack)){let at=this.stack.indexOf(this.message)+this.message.length,dt=this.stack.slice(at).split(`
|
16
|
-
`).reverse(),Et=U.stack.slice(U.stack.indexOf(U.message)+U.message.length).split(`
|
17
|
-
`).reverse();for(;Et.length!==0&&Et[0]===dt[0];)dt.shift();this.stack=`${this.stack.slice(0,at)}${dt.reverse().join(`
|
18
|
-
`)}${Et.reverse().join(`
|
19
|
-
`)}`}}};t.RequestError=z;var X=class extends z{constructor(Y){super(`Redirected ${Y.options.maxRedirects} times. Aborting.`,{},Y),this.name="MaxRedirectsError",this.code="ERR_TOO_MANY_REDIRECTS"}};t.MaxRedirectsError=X;var rt=class extends z{constructor(Y){super(`Response code ${Y.statusCode} (${Y.statusMessage})`,{},Y.request),this.name="HTTPError",this.code="ERR_NON_2XX_3XX_RESPONSE"}};t.HTTPError=rt;var ht=class extends z{constructor(Y,U){super(Y.message,Y,U),this.name="CacheError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_CACHE_ACCESS":this.code}};t.CacheError=ht;var it=class extends z{constructor(Y,U){super(Y.message,Y,U),this.name="UploadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_UPLOAD":this.code}};t.UploadError=it;var lt=class extends z{constructor(Y,U,ut){super(Y.message,Y,ut),this.name="TimeoutError",this.event=Y.event,this.timings=U}};t.TimeoutError=lt;var nt=class extends z{constructor(Y,U){super(Y.message,Y,U),this.name="ReadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_READING_RESPONSE_STREAM":this.code}};t.ReadError=nt;var ft=class extends z{constructor(Y){super(`Unsupported protocol "${Y.url.protocol}"`,{},Y),this.name="UnsupportedProtocolError",this.code="ERR_UNSUPPORTED_PROTOCOL"}};t.UnsupportedProtocolError=ft;var vt=["socket","connect","continue","information","upgrade","timeout"],xt=class extends n.Duplex{constructor(Y,U={},ut){super({autoDestroy:!1,highWaterMark:0}),this[$]=0,this[q]=0,this.requestInitialized=!1,this[W]=new Set,this.redirects=[],this[J]=!1,this[G]=!1,this[M]=[],this.retryCount=0,this._progressCallbacks=[];let bt=()=>this._unlockWrite(),pt=()=>this._lockWrite();this.on("pipe",St=>{St.prependListener("data",bt),St.on("data",pt),St.prependListener("end",bt),St.on("end",pt)}),this.on("unpipe",St=>{St.off("data",bt),St.off("data",pt),St.off("end",bt),St.off("end",pt)}),this.on("pipe",St=>{St instanceof u.IncomingMessage&&(this.options.headers={...St.headers,...this.options.headers})});let{json:at,body:dt,form:Et}=U;if((at||dt||Et)&&this._lockWrite(),t.kIsNormalizedAlready in U)this.options=U;else try{this.options=this.constructor.normalizeArguments(Y,U,ut)}catch(St){h.default.nodeStream(U.body)&&U.body.destroy(),this.destroy(St);return}(async()=>{var St;try{this.options.body instanceof s.ReadStream&&await H(this.options.body);let{url:Ht}=this.options;if(!Ht)throw new TypeError("Missing `url` property");if(this.requestUrl=Ht.toString(),decodeURI(this.requestUrl),await this._finalizeBody(),await this._makeRequest(),this.destroyed){(St=this[F])===null||St===void 0||St.destroy();return}for(let jt of this[M])jt();this[M].length=0,this.requestInitialized=!0}catch(Ht){if(Ht instanceof z){this._beforeError(Ht);return}this.destroyed||this.destroy(Ht)}})()}static normalizeArguments(Y,U,ut){var bt,pt,at,dt,Et;let St=U;if(h.default.object(Y)&&!h.default.urlInstance(Y))U={...ut,...Y,...U};else{if(Y&&U&&U.url!==void 0)throw new TypeError("The `url` option is mutually exclusive with the `input` argument");U={...ut,...U},Y!==void 0&&(U.url=Y),h.default.urlInstance(U.url)&&(U.url=new i.URL(U.url.toString()))}if(U.cache===!1&&(U.cache=void 0),U.dnsCache===!1&&(U.dnsCache=void 0),h.assert.any([h.default.string,h.default.undefined],U.method),h.assert.any([h.default.object,h.default.undefined],U.headers),h.assert.any([h.default.string,h.default.urlInstance,h.default.undefined],U.prefixUrl),h.assert.any([h.default.object,h.default.undefined],U.cookieJar),h.assert.any([h.default.object,h.default.string,h.default.undefined],U.searchParams),h.assert.any([h.default.object,h.default.string,h.default.undefined],U.cache),h.assert.any([h.default.object,h.default.number,h.default.undefined],U.timeout),h.assert.any([h.default.object,h.default.undefined],U.context),h.assert.any([h.default.object,h.default.undefined],U.hooks),h.assert.any([h.default.boolean,h.default.undefined],U.decompress),h.assert.any([h.default.boolean,h.default.undefined],U.ignoreInvalidCookies),h.assert.any([h.default.boolean,h.default.undefined],U.followRedirect),h.assert.any([h.default.number,h.default.undefined],U.maxRedirects),h.assert.any([h.default.boolean,h.default.undefined],U.throwHttpErrors),h.assert.any([h.default.boolean,h.default.undefined],U.http2),h.assert.any([h.default.boolean,h.default.undefined],U.allowGetBody),h.assert.any([h.default.string,h.default.undefined],U.localAddress),h.assert.any([_.isDnsLookupIpVersion,h.default.undefined],U.dnsLookupIpVersion),h.assert.any([h.default.object,h.default.undefined],U.https),h.assert.any([h.default.boolean,h.default.undefined],U.rejectUnauthorized),U.https&&(h.assert.any([h.default.boolean,h.default.undefined],U.https.rejectUnauthorized),h.assert.any([h.default.function_,h.default.undefined],U.https.checkServerIdentity),h.assert.any([h.default.string,h.default.object,h.default.array,h.default.undefined],U.https.certificateAuthority),h.assert.any([h.default.string,h.default.object,h.default.array,h.default.undefined],U.https.key),h.assert.any([h.default.string,h.default.object,h.default.array,h.default.undefined],U.https.certificate),h.assert.any([h.default.string,h.default.undefined],U.https.passphrase),h.assert.any([h.default.string,h.default.buffer,h.default.array,h.default.undefined],U.https.pfx)),h.assert.any([h.default.object,h.default.undefined],U.cacheOptions),h.default.string(U.method)?U.method=U.method.toUpperCase():U.method="GET",U.headers===(ut==null?void 0:ut.headers)?U.headers={...U.headers}:U.headers=d({...ut==null?void 0:ut.headers,...U.headers}),"slashes"in U)throw new TypeError("The legacy `url.Url` has been deprecated. Use `URL` instead.");if("auth"in U)throw new TypeError("Parameter `auth` is deprecated. Use `username` / `password` instead.");if("searchParams"in U&&U.searchParams&&U.searchParams!==(ut==null?void 0:ut.searchParams)){let _t;if(h.default.string(U.searchParams)||U.searchParams instanceof i.URLSearchParams)_t=new i.URLSearchParams(U.searchParams);else{ct(U.searchParams),_t=new i.URLSearchParams;for(let Bt in U.searchParams){let Lt=U.searchParams[Bt];Lt===null?_t.append(Bt,""):Lt!==void 0&&_t.append(Bt,Lt)}}(bt=ut==null?void 0:ut.searchParams)===null||bt===void 0||bt.forEach((Bt,Lt)=>{_t.has(Lt)||_t.append(Lt,Bt)}),U.searchParams=_t}if(U.username=(pt=U.username)!==null&&pt!==void 0?pt:"",U.password=(at=U.password)!==null&&at!==void 0?at:"",h.default.undefined(U.prefixUrl)?U.prefixUrl=(dt=ut==null?void 0:ut.prefixUrl)!==null&&dt!==void 0?dt:"":(U.prefixUrl=U.prefixUrl.toString(),U.prefixUrl!==""&&!U.prefixUrl.endsWith("/")&&(U.prefixUrl+="/")),h.default.string(U.url)){if(U.url.startsWith("/"))throw new Error("`input` must not start with a slash when using `prefixUrl`");U.url=w.default(U.prefixUrl+U.url,U)}else(h.default.undefined(U.url)&&U.prefixUrl!==""||U.protocol)&&(U.url=w.default(U.prefixUrl,U));if(U.url){"port"in U&&delete U.port;let{prefixUrl:_t}=U;Object.defineProperty(U,"prefixUrl",{set:Lt=>{let Ft=U.url;if(!Ft.href.startsWith(Lt))throw new Error(`Cannot change \`prefixUrl\` from ${_t} to ${Lt}: ${Ft.href}`);U.url=new i.URL(Lt+Ft.href.slice(_t.length)),_t=Lt},get:()=>_t});let{protocol:Bt}=U.url;if(Bt==="unix:"&&(Bt="http:",U.url=new i.URL(`http://unix${U.url.pathname}${U.url.search}`)),U.searchParams&&(U.url.search=U.searchParams.toString()),Bt!=="http:"&&Bt!=="https:")throw new ft(U);U.username===""?U.username=U.url.username:U.url.username=U.username,U.password===""?U.password=U.url.password:U.url.password=U.password}let{cookieJar:Ht}=U;if(Ht){let{setCookie:_t,getCookieString:Bt}=Ht;h.assert.function_(_t),h.assert.function_(Bt),_t.length===4&&Bt.length===0&&(_t=l.promisify(_t.bind(U.cookieJar)),Bt=l.promisify(Bt.bind(U.cookieJar)),U.cookieJar={setCookie:_t,getCookieString:Bt})}let{cache:jt}=U;if(jt&&(mt.has(jt)||mt.set(jt,new a((_t,Bt)=>{let Lt=_t[F](_t,Bt);return h.default.promise(Lt)&&(Lt.once=(Ft,kt)=>{if(Ft==="error")Lt.catch(kt);else if(Ft==="abort")(async()=>{try{(await Lt).once("abort",kt)}catch{}})();else throw new Error(`Unknown HTTP2 promise event: ${Ft}`);return Lt}),Lt},jt))),U.cacheOptions={...U.cacheOptions},U.dnsCache===!0)T||(T=new f.default),U.dnsCache=T;else if(!h.default.undefined(U.dnsCache)&&!U.dnsCache.lookup)throw new TypeError(`Parameter \`dnsCache\` must be a CacheableLookup instance or a boolean, got ${h.default(U.dnsCache)}`);h.default.number(U.timeout)?U.timeout={request:U.timeout}:ut&&U.timeout!==ut.timeout?U.timeout={...ut.timeout,...U.timeout}:U.timeout={...U.timeout},U.context||(U.context={});let Ke=U.hooks===(ut==null?void 0:ut.hooks);U.hooks={...U.hooks};for(let _t of t.knownHookEvents)if(_t in U.hooks)if(h.default.array(U.hooks[_t]))U.hooks[_t]=[...U.hooks[_t]];else throw new TypeError(`Parameter \`${_t}\` must be an Array, got ${h.default(U.hooks[_t])}`);else U.hooks[_t]=[];if(ut&&!Ke)for(let _t of t.knownHookEvents)ut.hooks[_t].length>0&&(U.hooks[_t]=[...ut.hooks[_t],...U.hooks[_t]]);if("family"in U&&A.default('"options.family" was never documented, please use "options.dnsLookupIpVersion"'),ut!=null&&ut.https&&(U.https={...ut.https,...U.https}),"rejectUnauthorized"in U&&A.default('"options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"'),"checkServerIdentity"in U&&A.default('"options.checkServerIdentity" was never documented, please use "options.https.checkServerIdentity"'),"ca"in U&&A.default('"options.ca" was never documented, please use "options.https.certificateAuthority"'),"key"in U&&A.default('"options.key" was never documented, please use "options.https.key"'),"cert"in U&&A.default('"options.cert" was never documented, please use "options.https.certificate"'),"passphrase"in U&&A.default('"options.passphrase" was never documented, please use "options.https.passphrase"'),"pfx"in U&&A.default('"options.pfx" was never documented, please use "options.https.pfx"'),"followRedirects"in U)throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.");if(U.agent){for(let _t in U.agent)if(_t!=="http"&&_t!=="https"&&_t!=="http2")throw new TypeError(`Expected the \`options.agent\` properties to be \`http\`, \`https\` or \`http2\`, got \`${_t}\``)}return U.maxRedirects=(Et=U.maxRedirects)!==null&&Et!==void 0?Et:0,t.setNonEnumerableProperties([ut,St],U),x.default(U,ut)}_lockWrite(){let Y=()=>{throw new TypeError("The payload has been already provided")};this.write=Y,this.end=Y}_unlockWrite(){this.write=super.write,this.end=super.end}async _finalizeBody(){let{options:Y}=this,{headers:U}=Y,ut=!h.default.undefined(Y.form),bt=!h.default.undefined(Y.json),pt=!h.default.undefined(Y.body),at=ut||bt||pt,dt=t.withoutBody.has(Y.method)&&!(Y.method==="GET"&&Y.allowGetBody);if(this._cannotHaveBody=dt,at){if(dt)throw new TypeError(`The \`${Y.method}\` method cannot be used with a body`);if([pt,ut,bt].filter(Et=>Et).length>1)throw new TypeError("The `body`, `json` and `form` options are mutually exclusive");if(pt&&!(Y.body instanceof n.Readable)&&!h.default.string(Y.body)&&!h.default.buffer(Y.body)&&!b.default(Y.body))throw new TypeError("The `body` option must be a stream.Readable, string or Buffer");if(ut&&!h.default.object(Y.form))throw new TypeError("The `form` option must be an Object");{let Et=!h.default.string(U["content-type"]);pt?(b.default(Y.body)&&Et&&(U["content-type"]=`multipart/form-data; boundary=${Y.body.getBoundary()}`),this[tt]=Y.body):ut?(Et&&(U["content-type"]="application/x-www-form-urlencoded"),this[tt]=new i.URLSearchParams(Y.form).toString()):(Et&&(U["content-type"]="application/json"),this[tt]=Y.stringifyJson(Y.json));let St=await y.default(this[tt],Y.headers);h.default.undefined(U["content-length"])&&h.default.undefined(U["transfer-encoding"])&&!dt&&!h.default.undefined(St)&&(U["content-length"]=String(St))}}else dt?this._lockWrite():this._unlockWrite();this[R]=Number(U["content-length"])||void 0}async _onResponseBase(Y){let{options:U}=this,{url:ut}=U;this[K]=Y,U.decompress&&(Y=c(Y));let bt=Y.statusCode,pt=Y;pt.statusMessage=pt.statusMessage?pt.statusMessage:p.STATUS_CODES[bt],pt.url=U.url.toString(),pt.requestUrl=this.requestUrl,pt.redirectUrls=this.redirects,pt.request=this,pt.isFromCache=Y.fromCache||!1,pt.ip=this.ip,pt.retryCount=this.retryCount,this[P]=pt.isFromCache,this[I]=Number(Y.headers["content-length"])||void 0,this[O]=Y,Y.once("end",()=>{this[I]=this[$],this.emit("downloadProgress",this.downloadProgress)}),Y.once("error",dt=>{Y.destroy(),this._beforeError(new nt(dt,this))}),Y.once("aborted",()=>{this._beforeError(new nt({name:"Error",message:"The server aborted pending request",code:"ECONNRESET"},this))}),this.emit("downloadProgress",this.downloadProgress);let at=Y.headers["set-cookie"];if(h.default.object(U.cookieJar)&&at){let dt=at.map(async Et=>U.cookieJar.setCookie(Et,ut.toString()));U.ignoreInvalidCookies&&(dt=dt.map(async Et=>Et.catch(()=>{})));try{await Promise.all(dt)}catch(Et){this._beforeError(Et);return}}if(U.followRedirect&&Y.headers.location&&V.has(bt)){if(Y.resume(),this[F]&&(this[j](),delete this[F],this[Q]()),(bt===303&&U.method!=="GET"&&U.method!=="HEAD"||!U.methodRewriting)&&(U.method="GET","body"in U&&delete U.body,"json"in U&&delete U.json,"form"in U&&delete U.form,this[tt]=void 0,delete U.headers["content-length"]),this.redirects.length>=U.maxRedirects){this._beforeError(new X(this));return}try{let dt=function(jt){return jt.protocol==="unix:"||jt.hostname==="unix"},Et=Buffer.from(Y.headers.location,"binary").toString(),St=new i.URL(Et,ut),Ht=St.toString();if(decodeURI(Ht),!dt(ut)&&dt(St)){this._beforeError(new z("Cannot redirect to UNIX socket",{},this));return}St.hostname!==ut.hostname||St.port!==ut.port?("host"in U.headers&&delete U.headers.host,"cookie"in U.headers&&delete U.headers.cookie,"authorization"in U.headers&&delete U.headers.authorization,(U.username||U.password)&&(U.username="",U.password="")):(St.username=U.username,St.password=U.password),this.redirects.push(Ht),U.url=St;for(let jt of U.hooks.beforeRedirect)await jt(U,pt);this.emit("redirect",pt,U),await this._makeRequest()}catch(dt){this._beforeError(dt);return}return}if(U.isStream&&U.throwHttpErrors&&!S.isResponseOk(pt)){this._beforeError(new rt(pt));return}Y.on("readable",()=>{this[G]&&this._read()}),this.on("resume",()=>{Y.resume()}),this.on("pause",()=>{Y.pause()}),Y.once("end",()=>{this.push(null)}),this.emit("response",Y);for(let dt of this[W])if(!dt.headersSent){for(let Et in Y.headers){let St=U.decompress?Et!=="content-encoding":!0,Ht=Y.headers[Et];St&&dt.setHeader(Et,Ht)}dt.statusCode=bt}}async _onResponse(Y){try{await this._onResponseBase(Y)}catch(U){this._beforeError(U)}}_onRequest(Y){let{options:U}=this,{timeout:ut,url:bt}=U;e.default(Y),this[j]=g.default(Y,ut,bt);let pt=U.cache?"cacheableResponse":"response";Y.once(pt,Et=>{this._onResponse(Et)}),Y.once("error",Et=>{var St;Y.destroy(),(St=Y.res)===null||St===void 0||St.removeAllListeners("end"),Et=Et instanceof g.TimeoutError?new lt(Et,this.timings,this):new z(Et.message,Et,this),this._beforeError(Et)}),this[Q]=E.default(Y,this,vt),this[F]=Y,this.emit("uploadProgress",this.uploadProgress);let at=this[tt],dt=this.redirects.length===0?this:Y;h.default.nodeStream(at)?(at.pipe(dt),at.once("error",Et=>{this._beforeError(new it(Et,this))})):(this._unlockWrite(),h.default.undefined(at)?(this._cannotHaveBody||this._noPipe)&&(dt.end(),this._lockWrite()):(this._writeRequest(at,void 0,()=>{}),dt.end(),this._lockWrite())),this.emit("request",Y)}async _createCacheableRequest(Y,U){return new Promise((ut,bt)=>{Object.assign(U,D.default(Y)),delete U.url;let pt,at=mt.get(U.cache)(U,async dt=>{dt._readableState.autoDestroy=!1,pt&&(await pt).emit("cacheableResponse",dt),ut(dt)});U.url=Y,at.once("error",bt),at.once("request",async dt=>{pt=dt,ut(pt)})})}async _makeRequest(){var Y,U,ut,bt,pt;let{options:at}=this,{headers:dt}=at;for(let kt in dt)if(h.default.undefined(dt[kt]))delete dt[kt];else if(h.default.null_(dt[kt]))throw new TypeError(`Use \`undefined\` instead of \`null\` to delete the \`${kt}\` header`);if(at.decompress&&h.default.undefined(dt["accept-encoding"])&&(dt["accept-encoding"]=ot?"gzip, deflate, br":"gzip, deflate"),at.cookieJar){let kt=await at.cookieJar.getCookieString(at.url.toString());h.default.nonEmptyString(kt)&&(at.headers.cookie=kt)}for(let kt of at.hooks.beforeRequest){let Ye=await kt(at);if(!h.default.undefined(Ye)){at.request=()=>Ye;break}}at.body&&this[tt]!==at.body&&(this[tt]=at.body);let{agent:Et,request:St,timeout:Ht,url:jt}=at;if(at.dnsCache&&!("lookup"in at)&&(at.lookup=at.dnsCache.lookup),jt.hostname==="unix"){let kt=/(?<socketPath>.+?):(?<path>.+)/.exec(`${jt.pathname}${jt.search}`);if(kt!=null&&kt.groups){let{socketPath:Ye,path:Ns}=kt.groups;Object.assign(at,{socketPath:Ye,path:Ns,host:""})}}let Ke=jt.protocol==="https:",_t;at.http2?_t=o.auto:_t=Ke?r.request:p.request;let Bt=(Y=at.request)!==null&&Y!==void 0?Y:_t,Lt=at.cache?this._createCacheableRequest:Bt;Et&&!at.http2&&(at.agent=Et[Ke?"https":"http"]),at[F]=Bt,delete at.request,delete at.timeout;let Ft=at;if(Ft.shared=(U=at.cacheOptions)===null||U===void 0?void 0:U.shared,Ft.cacheHeuristic=(ut=at.cacheOptions)===null||ut===void 0?void 0:ut.cacheHeuristic,Ft.immutableMinTimeToLive=(bt=at.cacheOptions)===null||bt===void 0?void 0:bt.immutableMinTimeToLive,Ft.ignoreCargoCult=(pt=at.cacheOptions)===null||pt===void 0?void 0:pt.ignoreCargoCult,at.dnsLookupIpVersion!==void 0)try{Ft.family=_.dnsLookupIpVersionToFamily(at.dnsLookupIpVersion)}catch{throw new Error("Invalid `dnsLookupIpVersion` option value")}at.https&&("rejectUnauthorized"in at.https&&(Ft.rejectUnauthorized=at.https.rejectUnauthorized),at.https.checkServerIdentity&&(Ft.checkServerIdentity=at.https.checkServerIdentity),at.https.certificateAuthority&&(Ft.ca=at.https.certificateAuthority),at.https.certificate&&(Ft.cert=at.https.certificate),at.https.key&&(Ft.key=at.https.key),at.https.passphrase&&(Ft.passphrase=at.https.passphrase),at.https.pfx&&(Ft.pfx=at.https.pfx));try{let kt=await Lt(jt,Ft);h.default.undefined(kt)&&(kt=_t(jt,Ft)),at.request=St,at.timeout=Ht,at.agent=Et,at.https&&("rejectUnauthorized"in at.https&&delete Ft.rejectUnauthorized,at.https.checkServerIdentity&&delete Ft.checkServerIdentity,at.https.certificateAuthority&&delete Ft.ca,at.https.certificate&&delete Ft.cert,at.https.key&&delete Ft.key,at.https.passphrase&&delete Ft.passphrase,at.https.pfx&&delete Ft.pfx),gt(kt)?this._onRequest(kt):this.writable?(this.once("finish",()=>{this._onResponse(kt)}),this._unlockWrite(),this.end(),this._lockWrite()):this._onResponse(kt)}catch(kt){throw kt instanceof a.CacheError?new ht(kt,this):new z(kt.message,kt,this)}}async _error(Y){try{for(let U of this.options.hooks.beforeError)Y=await U(Y)}catch(U){Y=new z(U.message,U,this)}this.destroy(Y)}_beforeError(Y){if(this[J])return;let{options:U}=this,ut=this.retryCount+1;this[J]=!0,Y instanceof z||(Y=new z(Y.message,Y,this));let bt=Y,{response:pt}=bt;(async()=>{if(pt&&!pt.body){pt.setEncoding(this._readableState.encoding);try{pt.rawBody=await m.default(pt),pt.body=pt.rawBody.toString()}catch{}}if(this.listenerCount("retry")!==0){let at;try{let dt;pt&&"retry-after"in pt.headers&&(dt=Number(pt.headers["retry-after"]),Number.isNaN(dt)?(dt=Date.parse(pt.headers["retry-after"])-Date.now(),dt<=0&&(dt=1)):dt*=1e3),at=await U.retry.calculateDelay({attemptCount:ut,retryOptions:U.retry,error:bt,retryAfter:dt,computedValue:L.default({attemptCount:ut,retryOptions:U.retry,error:bt,retryAfter:dt,computedValue:0})})}catch(dt){this._error(new z(dt.message,dt,this));return}if(at){let dt=async()=>{try{for(let Et of this.options.hooks.beforeRetry)await Et(this.options,bt,ut)}catch(Et){this._error(new z(Et.message,Y,this));return}this.destroyed||(this.destroy(),this.emit("retry",ut,Y))};this[et]=setTimeout(dt,at);return}}this._error(bt)})()}_read(){this[G]=!0;let Y=this[O];if(Y&&!this[J]){Y.readableLength&&(this[G]=!1);let U;for(;(U=Y.read())!==null;){this[$]+=U.length,this[k]=!0;let ut=this.downloadProgress;ut.percent<1&&this.emit("downloadProgress",ut),this.push(U)}}}_write(Y,U,ut){let bt=()=>{this._writeRequest(Y,U,ut)};this.requestInitialized?bt():this[M].push(bt)}_writeRequest(Y,U,ut){this[F].destroyed||(this._progressCallbacks.push(()=>{this[q]+=Buffer.byteLength(Y,U);let bt=this.uploadProgress;bt.percent<1&&this.emit("uploadProgress",bt)}),this[F].write(Y,U,bt=>{!bt&&this._progressCallbacks.length>0&&this._progressCallbacks.shift()(),ut(bt)}))}_final(Y){let U=()=>{for(;this._progressCallbacks.length!==0;)this._progressCallbacks.shift()();if(!(F in this)){Y();return}if(this[F].destroyed){Y();return}this[F].end(ut=>{ut||(this[R]=this[q],this.emit("uploadProgress",this.uploadProgress),this[F].emit("upload-complete")),Y(ut)})};this.requestInitialized?U():this[M].push(U)}_destroy(Y,U){var ut;this[J]=!0,clearTimeout(this[et]),F in this&&(this[j](),!((ut=this[O])===null||ut===void 0)&&ut.complete||this[F].destroy()),Y!==null&&!h.default.undefined(Y)&&!(Y instanceof z)&&(Y=new z(Y.message,Y,this)),U(Y)}get _isAboutToError(){return this[J]}get ip(){var Y;return(Y=this.socket)===null||Y===void 0?void 0:Y.remoteAddress}get aborted(){var Y,U,ut;return((U=(Y=this[F])===null||Y===void 0?void 0:Y.destroyed)!==null&&U!==void 0?U:this.destroyed)&&!(!((ut=this[K])===null||ut===void 0)&&ut.complete)}get socket(){var Y,U;return(U=(Y=this[F])===null||Y===void 0?void 0:Y.socket)!==null&&U!==void 0?U:void 0}get downloadProgress(){let Y;return this[I]?Y=this[$]/this[I]:this[I]===this[$]?Y=1:Y=0,{percent:Y,transferred:this[$],total:this[I]}}get uploadProgress(){let Y;return this[R]?Y=this[q]/this[R]:this[R]===this[q]?Y=1:Y=0,{percent:Y,transferred:this[q],total:this[R]}}get timings(){var Y;return(Y=this[F])===null||Y===void 0?void 0:Y.timings}get isFromCache(){return this[P]}pipe(Y,U){if(this[k])throw new Error("Failed to pipe. The response has been emitted already.");return Y instanceof u.ServerResponse&&this[W].add(Y),super.pipe(Y,U)}unpipe(Y){return Y instanceof u.ServerResponse&&this[W].delete(Y),super.unpipe(Y),this}};t.default=xt}),er=N(t=>{"use strict";B();var l=t&&t.__createBinding||(Object.create?function(u,r,e,f){f===void 0&&(f=e),Object.defineProperty(u,f,{enumerable:!0,get:function(){return r[e]}})}:function(u,r,e,f){f===void 0&&(f=e),u[f]=r[e]}),n=t&&t.__exportStar||function(u,r){for(var e in u)e!=="default"&&!Object.prototype.hasOwnProperty.call(r,e)&&l(r,u,e)};Object.defineProperty(t,"__esModule",{value:!0}),t.CancelError=t.ParseError=void 0;var s=tr(),i=class extends s.RequestError{constructor(u,r){let{options:e}=r.request;super(`${u.message} in "${e.url.toString()}"`,u,r.request),this.name="ParseError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_BODY_PARSE_FAILURE":this.code}};t.ParseError=i;var p=class extends s.RequestError{constructor(u){super("Promise was canceled",{},u),this.name="CancelError",this.code="ERR_CANCELED"}get isCanceled(){return!0}};t.CancelError=p,n(tr(),t)}),sa=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=er(),n=(s,i,p,u)=>{let{rawBody:r}=s;try{if(i==="text")return r.toString(u);if(i==="json")return r.length===0?"":p(r.toString());if(i==="buffer")return r;throw new l.ParseError({message:`Unknown body type '${i}'`,name:"Error"},s)}catch(e){throw new l.ParseError(e,s)}};t.default=n}),ri=N(t=>{"use strict";B();var l=t&&t.__createBinding||(Object.create?function(h,y,b,E){E===void 0&&(E=b),Object.defineProperty(h,E,{enumerable:!0,get:function(){return y[b]}})}:function(h,y,b,E){E===void 0&&(E=b),h[E]=y[b]}),n=t&&t.__exportStar||function(h,y){for(var b in h)b!=="default"&&!Object.prototype.hasOwnProperty.call(y,b)&&l(y,h,b)};Object.defineProperty(t,"__esModule",{value:!0});var s=Z("events"),i=ue(),p=Du(),u=er(),r=sa(),e=tr(),f=Qn(),a=ti(),c=ei(),o=["request","response","redirect","uploadProgress","downloadProgress"];function d(h){let y,b,E=new s.EventEmitter,g=new p((w,v,m)=>{let _=S=>{let A=new e.default(void 0,h);A.retryCount=S,A._noPipe=!0,m(()=>A.destroy()),m.shouldReject=!1,m(()=>v(new u.CancelError(A))),y=A,A.once("response",async T=>{var F;if(T.retryCount=S,T.request.aborted)return;let O;try{O=await a.default(A),T.rawBody=O}catch{return}if(A._isAboutToError)return;let I=((F=T.headers["content-encoding"])!==null&&F!==void 0?F:"").toLowerCase(),$=["gzip","deflate","br"].includes(I),{options:R}=A;if($&&!R.decompress)T.body=O;else try{T.body=r.default(T,R.responseType,R.parseJson,R.encoding)}catch(q){if(T.body=O.toString(),c.isResponseOk(T)){A._beforeError(q);return}}try{for(let[q,W]of R.hooks.afterResponse.entries())T=await W(T,async Q=>{let P=e.default.normalizeArguments(void 0,{...Q,retry:{calculateDelay:()=>0},throwHttpErrors:!1,resolveBodyOnly:!1},R);P.hooks.afterResponse=P.hooks.afterResponse.slice(0,q);for(let k of P.hooks.beforeRetry)await k(P);let j=d(P);return m(()=>{j.catch(()=>{}),j.cancel()}),j})}catch(q){A._beforeError(new u.RequestError(q.message,q,A));return}if(b=T,!c.isResponseOk(T)){A._beforeError(new u.HTTPError(T));return}A.destroy(),w(A.options.resolveBodyOnly?T.body:T)});let x=T=>{if(g.isCanceled)return;let{options:F}=A;if(T instanceof u.HTTPError&&!F.throwHttpErrors){let{response:O}=T;w(A.options.resolveBodyOnly?O.body:O);return}v(T)};A.once("error",x);let L=A.options.body;A.once("retry",(T,F)=>{var O,I;if(L===((O=F.request)===null||O===void 0?void 0:O.options.body)&&i.default.nodeStream((I=F.request)===null||I===void 0?void 0:I.options.body)){x(F);return}_(T)}),f.default(A,E,o)};_(0)});g.on=(w,v)=>(E.on(w,v),g);let D=w=>{let v=(async()=>{await g;let{options:m}=b.request;return r.default(b,w,m.parseJson,m.encoding)})();return Object.defineProperties(v,Object.getOwnPropertyDescriptors(g)),v};return g.json=()=>{let{headers:w}=y.options;return!y.writableFinished&&w.accept===void 0&&(w.accept="application/json"),D("json")},g.buffer=()=>D("buffer"),g.text=()=>D("text"),g}t.default=d,n(er(),t)}),oa=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=er();function n(s,...i){let p=(async()=>{if(s instanceof l.RequestError)try{for(let r of i)if(r)for(let e of r)s=await e(s)}catch(r){s=r}throw s})(),u=()=>p;return p.json=u,p.text=u,p.buffer=u,p.on=u,p}t.default=n}),ua=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=ue();function n(s){for(let i of Object.values(s))(l.default.plainObject(i)||l.default.array(i))&&n(i);return Object.freeze(s)}t.default=n}),aa=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0})}),Tn=N(t=>{"use strict";B();var l=t&&t.__createBinding||(Object.create?function(E,g,D,w){w===void 0&&(w=D),Object.defineProperty(E,w,{enumerable:!0,get:function(){return g[D]}})}:function(E,g,D,w){w===void 0&&(w=D),E[w]=g[D]}),n=t&&t.__exportStar||function(E,g){for(var D in E)D!=="default"&&!Object.prototype.hasOwnProperty.call(g,D)&&l(g,E,D)};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHandler=void 0;var s=ue(),i=ri(),p=oa(),u=tr(),r=ua(),e={RequestError:i.RequestError,CacheError:i.CacheError,ReadError:i.ReadError,HTTPError:i.HTTPError,MaxRedirectsError:i.MaxRedirectsError,TimeoutError:i.TimeoutError,ParseError:i.ParseError,CancelError:i.CancelError,UnsupportedProtocolError:i.UnsupportedProtocolError,UploadError:i.UploadError},f=async E=>new Promise(g=>{setTimeout(g,E)}),{normalizeArguments:a}=u.default,c=(...E)=>{let g;for(let D of E)g=a(void 0,D,g);return g},o=E=>E.isStream?new u.default(void 0,E):i.default(E),d=E=>"defaults"in E&&"options"in E.defaults,h=["get","post","put","patch","head","delete"];t.defaultHandler=(E,g)=>g(E);var y=(E,g)=>{if(E)for(let D of E)D(g)},b=E=>{E._rawHandlers=E.handlers,E.handlers=E.handlers.map(w=>(v,m)=>{let _,S=w(v,A=>(_=m(A),_));if(S!==_&&!v.isStream&&_){let A=S,{then:x,catch:L,finally:T}=A;Object.setPrototypeOf(A,Object.getPrototypeOf(_)),Object.defineProperties(A,Object.getOwnPropertyDescriptors(_)),A.then=x,A.catch=L,A.finally=T}return S});let g=(w,v={},m)=>{var _,S;let A=0,x=L=>E.handlers[A++](L,A===E.handlers.length?o:x);if(s.default.plainObject(w)){let L={...w,...v};u.setNonEnumerableProperties([w,v],L),v=L,w=void 0}try{let L;try{y(E.options.hooks.init,v),y((_=v.hooks)===null||_===void 0?void 0:_.init,v)}catch(F){L=F}let T=a(w,v,m!=null?m:E.options);if(T[u.kIsNormalizedAlready]=!0,L)throw new i.RequestError(L.message,L,T);return x(T)}catch(L){if(v.isStream)throw L;return p.default(L,E.options.hooks.beforeError,(S=v.hooks)===null||S===void 0?void 0:S.beforeError)}};g.extend=(...w)=>{let v=[E.options],m=[...E._rawHandlers],_;for(let S of w)d(S)?(v.push(S.defaults.options),m.push(...S.defaults._rawHandlers),_=S.defaults.mutableDefaults):(v.push(S),"handlers"in S&&m.push(...S.handlers),_=S.mutableDefaults);return m=m.filter(S=>S!==t.defaultHandler),m.length===0&&m.push(t.defaultHandler),b({options:c(...v),handlers:m,mutableDefaults:!!_})};let D=async function*(w,v){let m=a(w,v,E.options);m.resolveBodyOnly=!1;let _=m.pagination;if(!s.default.object(_))throw new TypeError("`options.pagination` must be implemented");let S=[],{countLimit:A}=_,x=0;for(;x<_.requestLimit;){x!==0&&await f(_.backoff);let L=await g(void 0,void 0,m),T=await _.transform(L),F=[];for(let I of T)if(_.filter(I,S,F)&&(!_.shouldContinue(I,S,F)||(yield I,_.stackAllItems&&S.push(I),F.push(I),--A<=0)))return;let O=_.paginate(L,S,F);if(O===!1)return;O===L.request.options?m=L.request.options:O!==void 0&&(m=a(void 0,O,m)),x++}};g.paginate=D,g.paginate.all=async(w,v)=>{let m=[];for await(let _ of D(w,v))m.push(_);return m},g.paginate.each=D,g.stream=(w,v)=>g(w,{...v,isStream:!0});for(let w of h)g[w]=(v,m)=>g(v,{...m,method:w}),g.stream[w]=(v,m)=>g(v,{...m,method:w,isStream:!0});return Object.assign(g,e),Object.defineProperty(g,"defaults",{value:E.mutableDefaults?E:r.default(E),writable:E.mutableDefaults,configurable:E.mutableDefaults,enumerable:!0}),g.mergeOptions=c,g};t.default=b,n(aa(),t)}),la=N((t,l)=>{"use strict";B();var n=t&&t.__createBinding||(Object.create?function(e,f,a,c){c===void 0&&(c=a),Object.defineProperty(e,c,{enumerable:!0,get:function(){return f[a]}})}:function(e,f,a,c){c===void 0&&(c=a),e[c]=f[a]}),s=t&&t.__exportStar||function(e,f){for(var a in e)a!=="default"&&!Object.prototype.hasOwnProperty.call(f,a)&&n(f,e,a)};Object.defineProperty(t,"__esModule",{value:!0});var i=Z("url"),p=Tn(),u={options:{method:"GET",retry:{limit:2,methods:["GET","PUT","HEAD","DELETE","OPTIONS","TRACE"],statusCodes:[408,413,429,500,502,503,504,521,522,524],errorCodes:["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"],maxRetryAfter:void 0,calculateDelay:({computedValue:e})=>e},timeout:{},headers:{"user-agent":"got (https://github.com/sindresorhus/got)"},hooks:{init:[],beforeRequest:[],beforeRedirect:[],beforeRetry:[],beforeError:[],afterResponse:[]},cache:void 0,dnsCache:void 0,decompress:!0,throwHttpErrors:!0,followRedirect:!0,isStream:!1,responseType:"text",resolveBodyOnly:!1,maxRedirects:10,prefixUrl:"",methodRewriting:!0,ignoreInvalidCookies:!1,context:{},http2:!1,allowGetBody:!1,https:void 0,pagination:{transform:e=>e.request.options.responseType==="json"?e.body:JSON.parse(e.body),paginate:e=>{if(!Reflect.has(e.headers,"link"))return!1;let f=e.headers.link.split(","),a;for(let c of f){let o=c.split(";");if(o[1].includes("next")){a=o[0].trimStart().trim(),a=a.slice(1,-1);break}}return a?{url:new i.URL(a)}:!1},filter:()=>!0,shouldContinue:()=>!0,countLimit:1/0,backoff:0,requestLimit:1e4,stackAllItems:!0},parseJson:e=>JSON.parse(e),stringifyJson:e=>JSON.stringify(e),cacheOptions:{}},handlers:[p.defaultHandler],mutableDefaults:!1},r=p.default(u);t.default=r,l.exports=r,l.exports.default=r,l.exports.__esModule=!0,s(Tn(),t),s(ri(),t)});B();var pd=Ot(wu()),dd=Ot(la()),md=(0,ii.promisify)(ni.Stream.pipeline);var ca=N((t,l)=>{"use strict";B(),l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}),si=N((t,l)=>{B();var n=ca(),s={};for(let u of Object.keys(n))s[n[u]]=u;var i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};l.exports=i;for(let u of Object.keys(i)){if(!("channels"in i[u]))throw new Error("missing channels property: "+u);if(!("labels"in i[u]))throw new Error("missing channel labels property: "+u);if(i[u].labels.length!==i[u].channels)throw new Error("channel and label counts mismatch: "+u);let{channels:r,labels:e}=i[u];delete i[u].channels,delete i[u].labels,Object.defineProperty(i[u],"channels",{value:r}),Object.defineProperty(i[u],"labels",{value:e})}i.rgb.hsl=function(u){let r=u[0]/255,e=u[1]/255,f=u[2]/255,a=Math.min(r,e,f),c=Math.max(r,e,f),o=c-a,d,h;c===a?d=0:r===c?d=(e-f)/o:e===c?d=2+(f-r)/o:f===c&&(d=4+(r-e)/o),d=Math.min(d*60,360),d<0&&(d+=360);let y=(a+c)/2;return c===a?h=0:y<=.5?h=o/(c+a):h=o/(2-c-a),[d,h*100,y*100]},i.rgb.hsv=function(u){let r,e,f,a,c,o=u[0]/255,d=u[1]/255,h=u[2]/255,y=Math.max(o,d,h),b=y-Math.min(o,d,h),E=function(g){return(y-g)/6/b+1/2};return b===0?(a=0,c=0):(c=b/y,r=E(o),e=E(d),f=E(h),o===y?a=f-e:d===y?a=1/3+r-f:h===y&&(a=2/3+e-r),a<0?a+=1:a>1&&(a-=1)),[a*360,c*100,y*100]},i.rgb.hwb=function(u){let r=u[0],e=u[1],f=u[2],a=i.rgb.hsl(u)[0],c=1/255*Math.min(r,Math.min(e,f));return f=1-1/255*Math.max(r,Math.max(e,f)),[a,c*100,f*100]},i.rgb.cmyk=function(u){let r=u[0]/255,e=u[1]/255,f=u[2]/255,a=Math.min(1-r,1-e,1-f),c=(1-r-a)/(1-a)||0,o=(1-e-a)/(1-a)||0,d=(1-f-a)/(1-a)||0;return[c*100,o*100,d*100,a*100]};function p(u,r){return(u[0]-r[0])**2+(u[1]-r[1])**2+(u[2]-r[2])**2}i.rgb.keyword=function(u){let r=s[u];if(r)return r;let e=1/0,f;for(let a of Object.keys(n)){let c=n[a],o=p(u,c);o<e&&(e=o,f=a)}return f},i.keyword.rgb=function(u){return n[u]},i.rgb.xyz=function(u){let r=u[0]/255,e=u[1]/255,f=u[2]/255;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,f=f>.04045?((f+.055)/1.055)**2.4:f/12.92;let a=r*.4124+e*.3576+f*.1805,c=r*.2126+e*.7152+f*.0722,o=r*.0193+e*.1192+f*.9505;return[a*100,c*100,o*100]},i.rgb.lab=function(u){let r=i.rgb.xyz(u),e=r[0],f=r[1],a=r[2];e/=95.047,f/=100,a/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,f=f>.008856?f**(1/3):7.787*f+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let c=116*f-16,o=500*(e-f),d=200*(f-a);return[c,o,d]},i.hsl.rgb=function(u){let r=u[0]/360,e=u[1]/100,f=u[2]/100,a,c,o;if(e===0)return o=f*255,[o,o,o];f<.5?a=f*(1+e):a=f+e-f*e;let d=2*f-a,h=[0,0,0];for(let y=0;y<3;y++)c=r+1/3*-(y-1),c<0&&c++,c>1&&c--,6*c<1?o=d+(a-d)*6*c:2*c<1?o=a:3*c<2?o=d+(a-d)*(2/3-c)*6:o=d,h[y]=o*255;return h},i.hsl.hsv=function(u){let r=u[0],e=u[1]/100,f=u[2]/100,a=e,c=Math.max(f,.01);f*=2,e*=f<=1?f:2-f,a*=c<=1?c:2-c;let o=(f+e)/2,d=f===0?2*a/(c+a):2*e/(f+e);return[r,d*100,o*100]},i.hsv.rgb=function(u){let r=u[0]/60,e=u[1]/100,f=u[2]/100,a=Math.floor(r)%6,c=r-Math.floor(r),o=255*f*(1-e),d=255*f*(1-e*c),h=255*f*(1-e*(1-c));switch(f*=255,a){case 0:return[f,h,o];case 1:return[d,f,o];case 2:return[o,f,h];case 3:return[o,d,f];case 4:return[h,o,f];case 5:return[f,o,d]}},i.hsv.hsl=function(u){let r=u[0],e=u[1]/100,f=u[2]/100,a=Math.max(f,.01),c,o;o=(2-e)*f;let d=(2-e)*a;return c=e*a,c/=d<=1?d:2-d,c=c||0,o/=2,[r,c*100,o*100]},i.hwb.rgb=function(u){let r=u[0]/360,e=u[1]/100,f=u[2]/100,a=e+f,c;a>1&&(e/=a,f/=a);let o=Math.floor(6*r),d=1-f;c=6*r-o,o&1&&(c=1-c);let h=e+c*(d-e),y,b,E;switch(o){default:case 6:case 0:y=d,b=h,E=e;break;case 1:y=h,b=d,E=e;break;case 2:y=e,b=d,E=h;break;case 3:y=e,b=h,E=d;break;case 4:y=h,b=e,E=d;break;case 5:y=d,b=e,E=h;break}return[y*255,b*255,E*255]},i.cmyk.rgb=function(u){let r=u[0]/100,e=u[1]/100,f=u[2]/100,a=u[3]/100,c=1-Math.min(1,r*(1-a)+a),o=1-Math.min(1,e*(1-a)+a),d=1-Math.min(1,f*(1-a)+a);return[c*255,o*255,d*255]},i.xyz.rgb=function(u){let r=u[0]/100,e=u[1]/100,f=u[2]/100,a,c,o;return a=r*3.2406+e*-1.5372+f*-.4986,c=r*-.9689+e*1.8758+f*.0415,o=r*.0557+e*-.204+f*1.057,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=Math.min(Math.max(0,a),1),c=Math.min(Math.max(0,c),1),o=Math.min(Math.max(0,o),1),[a*255,c*255,o*255]},i.xyz.lab=function(u){let r=u[0],e=u[1],f=u[2];r/=95.047,e/=100,f/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,e=e>.008856?e**(1/3):7.787*e+16/116,f=f>.008856?f**(1/3):7.787*f+16/116;let a=116*e-16,c=500*(r-e),o=200*(e-f);return[a,c,o]},i.lab.xyz=function(u){let r=u[0],e=u[1],f=u[2],a,c,o;c=(r+16)/116,a=e/500+c,o=c-f/200;let d=c**3,h=a**3,y=o**3;return c=d>.008856?d:(c-16/116)/7.787,a=h>.008856?h:(a-16/116)/7.787,o=y>.008856?y:(o-16/116)/7.787,a*=95.047,c*=100,o*=108.883,[a,c,o]},i.lab.lch=function(u){let r=u[0],e=u[1],f=u[2],a;a=Math.atan2(f,e)*360/2/Math.PI,a<0&&(a+=360);let c=Math.sqrt(e*e+f*f);return[r,c,a]},i.lch.lab=function(u){let r=u[0],e=u[1],f=u[2]/360*2*Math.PI,a=e*Math.cos(f),c=e*Math.sin(f);return[r,a,c]},i.rgb.ansi16=function(u,r=null){let[e,f,a]=u,c=r===null?i.rgb.hsv(u)[2]:r;if(c=Math.round(c/50),c===0)return 30;let o=30+(Math.round(a/255)<<2|Math.round(f/255)<<1|Math.round(e/255));return c===2&&(o+=60),o},i.hsv.ansi16=function(u){return i.rgb.ansi16(i.hsv.rgb(u),u[2])},i.rgb.ansi256=function(u){let r=u[0],e=u[1],f=u[2];return r===e&&e===f?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(e/255*5)+Math.round(f/255*5)},i.ansi16.rgb=function(u){let r=u%10;if(r===0||r===7)return u>50&&(r+=3.5),r=r/10.5*255,[r,r,r];let e=(~~(u>50)+1)*.5,f=(r&1)*e*255,a=(r>>1&1)*e*255,c=(r>>2&1)*e*255;return[f,a,c]},i.ansi256.rgb=function(u){if(u>=232){let c=(u-232)*10+8;return[c,c,c]}u-=16;let r,e=Math.floor(u/36)/5*255,f=Math.floor((r=u%36)/6)/5*255,a=r%6/5*255;return[e,f,a]},i.rgb.hex=function(u){let r=(((Math.round(u[0])&255)<<16)+((Math.round(u[1])&255)<<8)+(Math.round(u[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r},i.hex.rgb=function(u){let r=u.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r)return[0,0,0];let e=r[0];r[0].length===3&&(e=e.split("").map(d=>d+d).join(""));let f=parseInt(e,16),a=f>>16&255,c=f>>8&255,o=f&255;return[a,c,o]},i.rgb.hcg=function(u){let r=u[0]/255,e=u[1]/255,f=u[2]/255,a=Math.max(Math.max(r,e),f),c=Math.min(Math.min(r,e),f),o=a-c,d,h;return o<1?d=c/(1-o):d=0,o<=0?h=0:a===r?h=(e-f)/o%6:a===e?h=2+(f-r)/o:h=4+(r-e)/o,h/=6,h%=1,[h*360,o*100,d*100]},i.hsl.hcg=function(u){let r=u[1]/100,e=u[2]/100,f=e<.5?2*r*e:2*r*(1-e),a=0;return f<1&&(a=(e-.5*f)/(1-f)),[u[0],f*100,a*100]},i.hsv.hcg=function(u){let r=u[1]/100,e=u[2]/100,f=r*e,a=0;return f<1&&(a=(e-f)/(1-f)),[u[0],f*100,a*100]},i.hcg.rgb=function(u){let r=u[0]/360,e=u[1]/100,f=u[2]/100;if(e===0)return[f*255,f*255,f*255];let a=[0,0,0],c=r%1*6,o=c%1,d=1-o,h=0;switch(Math.floor(c)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=d,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=d,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=d}return h=(1-e)*f,[(e*a[0]+h)*255,(e*a[1]+h)*255,(e*a[2]+h)*255]},i.hcg.hsv=function(u){let r=u[1]/100,e=u[2]/100,f=r+e*(1-r),a=0;return f>0&&(a=r/f),[u[0],a*100,f*100]},i.hcg.hsl=function(u){let r=u[1]/100,e=u[2]/100*(1-r)+.5*r,f=0;return e>0&&e<.5?f=r/(2*e):e>=.5&&e<1&&(f=r/(2*(1-e))),[u[0],f*100,e*100]},i.hcg.hwb=function(u){let r=u[1]/100,e=u[2]/100,f=r+e*(1-r);return[u[0],(f-r)*100,(1-f)*100]},i.hwb.hcg=function(u){let r=u[1]/100,e=u[2]/100,f=1-e,a=f-r,c=0;return a<1&&(c=(f-a)/(1-a)),[u[0],a*100,c*100]},i.apple.rgb=function(u){return[u[0]/65535*255,u[1]/65535*255,u[2]/65535*255]},i.rgb.apple=function(u){return[u[0]/255*65535,u[1]/255*65535,u[2]/255*65535]},i.gray.rgb=function(u){return[u[0]/100*255,u[0]/100*255,u[0]/100*255]},i.gray.hsl=function(u){return[0,0,u[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(u){return[0,100,u[0]]},i.gray.cmyk=function(u){return[0,0,0,u[0]]},i.gray.lab=function(u){return[u[0],0,0]},i.gray.hex=function(u){let r=Math.round(u[0]/100*255)&255,e=((r<<16)+(r<<8)+r).toString(16).toUpperCase();return"000000".substring(e.length)+e},i.rgb.gray=function(u){return[(u[0]+u[1]+u[2])/3/255*100]}}),ha=N((t,l)=>{B();var n=si();function s(){let r={},e=Object.keys(n);for(let f=e.length,a=0;a<f;a++)r[e[a]]={distance:-1,parent:null};return r}function i(r){let e=s(),f=[r];for(e[r].distance=0;f.length;){let a=f.pop(),c=Object.keys(n[a]);for(let o=c.length,d=0;d<o;d++){let h=c[d],y=e[h];y.distance===-1&&(y.distance=e[a].distance+1,y.parent=a,f.unshift(h))}}return e}function p(r,e){return function(f){return e(r(f))}}function u(r,e){let f=[e[r].parent,r],a=n[e[r].parent][r],c=e[r].parent;for(;e[c].parent;)f.unshift(e[c].parent),a=p(n[e[c].parent][c],a),c=e[c].parent;return a.conversion=f,a}l.exports=function(r){let e=i(r),f={},a=Object.keys(e);for(let c=a.length,o=0;o<c;o++){let d=a[o];e[d].parent!==null&&(f[d]=u(d,e))}return f}}),fa=N((t,l)=>{B();var n=si(),s=ha(),i={},p=Object.keys(n);function u(e){let f=function(...a){let c=a[0];return c==null?c:(c.length>1&&(a=c),e(a))};return"conversion"in e&&(f.conversion=e.conversion),f}function r(e){let f=function(...a){let c=a[0];if(c==null)return c;c.length>1&&(a=c);let o=e(a);if(typeof o=="object")for(let d=o.length,h=0;h<d;h++)o[h]=Math.round(o[h]);return o};return"conversion"in e&&(f.conversion=e.conversion),f}p.forEach(e=>{i[e]={},Object.defineProperty(i[e],"channels",{value:n[e].channels}),Object.defineProperty(i[e],"labels",{value:n[e].labels});let f=s(e);Object.keys(f).forEach(a=>{let c=f[a];i[e][a]=r(c),i[e][a].raw=u(c)})}),l.exports=i}),oi=N((t,l)=>{"use strict";B();var n=(c,o)=>(...d)=>`\x1B[${c(...d)+o}m`,s=(c,o)=>(...d)=>{let h=c(...d);return`\x1B[${38+o};5;${h}m`},i=(c,o)=>(...d)=>{let h=c(...d);return`\x1B[${38+o};2;${h[0]};${h[1]};${h[2]}m`},p=c=>c,u=(c,o,d)=>[c,o,d],r=(c,o,d)=>{Object.defineProperty(c,o,{get:()=>{let h=d();return Object.defineProperty(c,o,{value:h,enumerable:!0,configurable:!0}),h},enumerable:!0,configurable:!0})},e,f=(c,o,d,h)=>{e===void 0&&(e=fa());let y=h?10:0,b={};for(let[E,g]of Object.entries(e)){let D=E==="ansi16"?"ansi":E;E===o?b[D]=c(d,y):typeof g=="object"&&(b[D]=c(g[o],y))}return b};function a(){let c=new Map,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.gray=o.color.blackBright,o.bgColor.bgGray=o.bgColor.bgBlackBright,o.color.grey=o.color.blackBright,o.bgColor.bgGrey=o.bgColor.bgBlackBright;for(let[d,h]of Object.entries(o)){for(let[y,b]of Object.entries(h))o[y]={open:`\x1B[${b[0]}m`,close:`\x1B[${b[1]}m`},h[y]=o[y],c.set(b[0],b[1]);Object.defineProperty(o,d,{value:h,enumerable:!1})}return Object.defineProperty(o,"codes",{value:c,enumerable:!1}),o.color.close="\x1B[39m",o.bgColor.close="\x1B[49m",r(o.color,"ansi",()=>f(n,"ansi16",p,!1)),r(o.color,"ansi256",()=>f(s,"ansi256",p,!1)),r(o.color,"ansi16m",()=>f(i,"rgb",u,!1)),r(o.bgColor,"ansi",()=>f(n,"ansi16",p,!0)),r(o.bgColor,"ansi256",()=>f(s,"ansi256",p,!0)),r(o.bgColor,"ansi16m",()=>f(i,"rgb",u,!0)),o}Object.defineProperty(l,"exports",{enumerable:!0,get:a})}),pa=N((t,l)=>{"use strict";B(),l.exports=(n,s=process.argv)=>{let i=n.startsWith("-")?"":n.length===1?"-":"--",p=s.indexOf(i+n),u=s.indexOf("--");return p!==-1&&(u===-1||p<u)}}),ui=N((t,l)=>{"use strict";B();var n=Z("os"),s=Z("tty"),i=pa(),{env:p}=process,u;i("no-color")||i("no-colors")||i("color=false")||i("color=never")?u=0:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(u=1),"FORCE_COLOR"in p&&(p.FORCE_COLOR==="true"?u=1:p.FORCE_COLOR==="false"?u=0:u=p.FORCE_COLOR.length===0?1:Math.min(parseInt(p.FORCE_COLOR,10),3));function r(a){return a===0?!1:{level:a,hasBasic:!0,has256:a>=2,has16m:a>=3}}function e(a,c){if(u===0)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(a&&!c&&u===void 0)return 0;let o=u||0;if(p.TERM==="dumb")return o;if(process.platform==="win32"){let d=n.release().split(".");return Number(d[0])>=10&&Number(d[2])>=10586?Number(d[2])>=14931?3:2:1}if("CI"in p)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(d=>d in p)||p.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in p)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(p.TEAMCITY_VERSION)?1:0;if(p.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in p){let d=parseInt((p.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(p.TERM_PROGRAM){case"iTerm.app":return d>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(p.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(p.TERM)||"COLORTERM"in p?1:o}function f(a){let c=e(a,a&&a.isTTY);return r(c)}l.exports={supportsColor:f,stdout:r(e(!0,s.isatty(1))),stderr:r(e(!0,s.isatty(2)))}}),da=N((t,l)=>{"use strict";B();var n=(i,p,u)=>{let r=i.indexOf(p);if(r===-1)return i;let e=p.length,f=0,a="";do a+=i.substr(f,r-f)+p+u,f=r+e,r=i.indexOf(p,f);while(r!==-1);return a+=i.substr(f),a},s=(i,p,u,r)=>{let e=0,f="";do{let a=i[r-1]==="\r";f+=i.substr(e,(a?r-1:r)-e)+p+(a?`\r
|
20
|
-
`:`
|
21
|
-
`)+u,e=r+1,r=i.indexOf(`
|
22
|
-
`,e)}while(r!==-1);return f+=i.substr(e),f};l.exports={stringReplaceAll:n,stringEncaseCRLFWithFirstIndex:s}}),ma=N((t,l)=>{"use strict";B();var n=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,s=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,p=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,u=new Map([["n",`
|
23
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function r(c){let o=c[0]==="u",d=c[1]==="{";return o&&!d&&c.length===5||c[0]==="x"&&c.length===3?String.fromCharCode(parseInt(c.slice(1),16)):o&&d?String.fromCodePoint(parseInt(c.slice(2,-1),16)):u.get(c)||c}function e(c,o){let d=[],h=o.trim().split(/\s*,\s*/g),y;for(let b of h){let E=Number(b);if(!Number.isNaN(E))d.push(E);else if(y=b.match(i))d.push(y[2].replace(p,(g,D,w)=>D?r(D):w));else throw new Error(`Invalid Chalk template style argument: ${b} (in style '${c}')`)}return d}function f(c){s.lastIndex=0;let o=[],d;for(;(d=s.exec(c))!==null;){let h=d[1];if(d[2]){let y=e(h,d[2]);o.push([h].concat(y))}else o.push([h])}return o}function a(c,o){let d={};for(let y of o)for(let b of y.styles)d[b[0]]=y.inverse?null:b.slice(1);let h=c;for(let[y,b]of Object.entries(d))if(Array.isArray(b)){if(!(y in h))throw new Error(`Unknown Chalk style: ${y}`);h=b.length>0?h[y](...b):h[y]}return h}l.exports=(c,o)=>{let d=[],h=[],y=[];if(o.replace(n,(b,E,g,D,w,v)=>{if(E)y.push(r(E));else if(D){let m=y.join("");y=[],h.push(d.length===0?m:a(c,d)(m)),d.push({inverse:g,styles:f(D)})}else if(w){if(d.length===0)throw new Error("Found extraneous } in Chalk template literal");h.push(a(c,d)(y.join(""))),y=[],d.pop()}else y.push(v)}),h.push(y.join("")),d.length>0){let b=`Chalk template literal is missing ${d.length} closing bracket${d.length===1?"":"s"} (\`}\`)`;throw new Error(b)}return h.join("")}}),ya=N((t,l)=>{"use strict";B();var n=oi(),{stdout:s,stderr:i}=ui(),{stringReplaceAll:p,stringEncaseCRLFWithFirstIndex:u}=da(),r=["ansi","ansi","ansi256","ansi16m"],e=Object.create(null),f=(v,m={})=>{if(m.level>3||m.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let _=s?s.level:0;v.level=m.level===void 0?_:m.level},a=class{constructor(v){return c(v)}},c=v=>{let m={};return f(m,v),m.template=(..._)=>D(m.template,..._),Object.setPrototypeOf(m,o.prototype),Object.setPrototypeOf(m.template,m),m.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},m.template.Instance=a,m.template};function o(v){return c(v)}for(let[v,m]of Object.entries(n))e[v]={get(){let _=b(this,y(m.open,m.close,this._styler),this._isEmpty);return Object.defineProperty(this,v,{value:_}),_}};e.visible={get(){let v=b(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:v}),v}};var d=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let v of d)e[v]={get(){let{level:m}=this;return function(..._){let S=y(n.color[r[m]][v](..._),n.color.close,this._styler);return b(this,S,this._isEmpty)}}};for(let v of d){let m="bg"+v[0].toUpperCase()+v.slice(1);e[m]={get(){let{level:_}=this;return function(...S){let A=y(n.bgColor[r[_]][v](...S),n.bgColor.close,this._styler);return b(this,A,this._isEmpty)}}}}var h=Object.defineProperties(()=>{},{...e,level:{enumerable:!0,get(){return this._generator.level},set(v){this._generator.level=v}}}),y=(v,m,_)=>{let S,A;return _===void 0?(S=v,A=m):(S=_.openAll+v,A=m+_.closeAll),{open:v,close:m,openAll:S,closeAll:A,parent:_}},b=(v,m,_)=>{let S=(...A)=>E(S,A.length===1?""+A[0]:A.join(" "));return S.__proto__=h,S._generator=v,S._styler=m,S._isEmpty=_,S},E=(v,m)=>{if(v.level<=0||!m)return v._isEmpty?"":m;let _=v._styler;if(_===void 0)return m;let{openAll:S,closeAll:A}=_;if(m.indexOf("\x1B")!==-1)for(;_!==void 0;)m=p(m,_.close,_.open),_=_.parent;let x=m.indexOf(`
|
24
|
-
`);return x!==-1&&(m=u(m,A,S,x)),S+m+A},g,D=(v,...m)=>{let[_]=m;if(!Array.isArray(_))return m.join(" ");let S=m.slice(1),A=[_.raw[0]];for(let x=1;x<_.length;x++)A.push(String(S[x-1]).replace(/[{}\\]/g,"\\$&"),String(_.raw[x]));return g===void 0&&(g=ma()),g(v,A.join(""))};Object.defineProperties(o.prototype,e);var w=o();w.supportsColor=s,w.stderr=o({level:i?i.level:0}),w.stderr.supportsColor=i,w.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},l.exports=w}),ga=N((t,l)=>{"use strict";B();var n=Ze(),s=Xe();l.exports=n(()=>{s(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})})}),ba=N(t=>{"use strict";B();var l=ga(),n=!1;t.show=(s=process.stderr)=>{!s.isTTY||(n=!1,s.write("\x1B[?25h"))},t.hide=(s=process.stderr)=>{!s.isTTY||(l(),n=!0,s.write("\x1B[?25l"))},t.toggle=(s,i)=>{s!==void 0&&(n=s),n?t.show(i):t.hide(i)}}),va=N((t,l)=>{l.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]}}}),Ea=N((t,l)=>{"use strict";B();var n=Object.assign({},va()),s=Object.keys(n);Object.defineProperty(n,"random",{get(){let i=Math.floor(Math.random()*s.length),p=s[i];return n[p]}}),l.exports=n}),_a=N((t,l)=>{"use strict";B();var n=pe(),s=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color",i={info:n.blue("\u2139"),success:n.green("\u2714"),warning:n.yellow("\u26A0"),error:n.red("\u2716")},p={info:n.blue("i"),success:n.green("\u221A"),warning:n.yellow("\u203C"),error:n.red("\xD7")};l.exports=s?i:p}),wa=N((t,l)=>{"use strict";B(),l.exports=({onlyFirst:n=!1}={})=>{let s=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(s,n?void 0:"g")}}),Da=N((t,l)=>{"use strict";B();var n=wa();l.exports=s=>typeof s=="string"?s.replace(n(),""):s}),Sa=N((t,l)=>{B();var n=function(){"use strict";function s(f,a,c,o){var d;typeof a=="object"&&(c=a.depth,o=a.prototype,d=a.filter,a=a.circular);var h=[],y=[],b=typeof Buffer<"u";typeof a>"u"&&(a=!0),typeof c>"u"&&(c=1/0);function E(g,D){if(g===null)return null;if(D==0)return g;var w,v;if(typeof g!="object")return g;if(s.__isArray(g))w=[];else if(s.__isRegExp(g))w=new RegExp(g.source,e(g)),g.lastIndex&&(w.lastIndex=g.lastIndex);else if(s.__isDate(g))w=new Date(g.getTime());else{if(b&&Buffer.isBuffer(g))return Buffer.allocUnsafe?w=Buffer.allocUnsafe(g.length):w=new Buffer(g.length),g.copy(w),w;typeof o>"u"?(v=Object.getPrototypeOf(g),w=Object.create(v)):(w=Object.create(o),v=o)}if(a){var m=h.indexOf(g);if(m!=-1)return y[m];h.push(g),y.push(w)}for(var _ in g){var S;v&&(S=Object.getOwnPropertyDescriptor(v,_)),!(S&&S.set==null)&&(w[_]=E(g[_],D-1))}return w}return E(f,c)}s.clonePrototype=function(f){if(f===null)return null;var a=function(){};return a.prototype=f,new a};function i(f){return Object.prototype.toString.call(f)}s.__objToStr=i;function p(f){return typeof f=="object"&&i(f)==="[object Date]"}s.__isDate=p;function u(f){return typeof f=="object"&&i(f)==="[object Array]"}s.__isArray=u;function r(f){return typeof f=="object"&&i(f)==="[object RegExp]"}s.__isRegExp=r;function e(f){var a="";return f.global&&(a+="g"),f.ignoreCase&&(a+="i"),f.multiline&&(a+="m"),a}return s.__getRegExpFlags=e,s}();typeof l=="object"&&l.exports&&(l.exports=n)}),Aa=N((t,l)=>{B();var n=Sa();l.exports=function(s,i){return s=s||{},Object.keys(i).forEach(function(p){typeof s[p]>"u"&&(s[p]=n(i[p]))}),s}}),Ca=N((t,l)=>{B(),l.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]}),xa=N((t,l)=>{"use strict";B();var n=Aa(),s=Ca(),i={nul:0,control:0};l.exports=function(e){return p(e,i)},l.exports.config=function(e){return e=n(e||{},i),function(f){return p(f,e)}};function p(e,f){if(typeof e!="string")return u(e,f);for(var a=0,c=0;c<e.length;c++){var o=u(e.charCodeAt(c),f);if(o<0)return-1;a+=o}return a}function u(e,f){return e===0?f.nul:e<32||e>=127&&e<160?f.control:r(e)?0:1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function r(e){var f=0,a=s.length-1,c;if(e<s[0][0]||e>s[a][1])return!1;for(;a>=f;)if(c=Math.floor((f+a)/2),e>s[c][1])f=c+1;else if(e<s[c][0])a=c-1;else return!0;return!1}}),Fa=N((t,l)=>{"use strict";B(),l.exports=({stream:n=process.stdout}={})=>!!(n&&n.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}),ka=N((t,l)=>{B();var n=Z("stream");l.exports=s;function s(e){n.apply(this),e=e||{},this.writable=this.readable=!0,this.muted=!1,this.on("pipe",this._onpipe),this.replace=e.replace,this._prompt=e.prompt||null,this._hadControl=!1}s.prototype=Object.create(n.prototype),Object.defineProperty(s.prototype,"constructor",{value:s,enumerable:!1}),s.prototype.mute=function(){this.muted=!0},s.prototype.unmute=function(){this.muted=!1},Object.defineProperty(s.prototype,"_onpipe",{value:i,enumerable:!1,writable:!0,configurable:!0});function i(e){this._src=e}Object.defineProperty(s.prototype,"isTTY",{get:p,set:u,enumerable:!0,configurable:!0});function p(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:!1}function u(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:!0,writable:!0,configurable:!0})}Object.defineProperty(s.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:void 0},enumerable:!0,configurable:!0}),s.prototype.pipe=function(e,f){return this._dest=e,n.prototype.pipe.call(this,e,f)},s.prototype.pause=function(){if(this._src)return this._src.pause()},s.prototype.resume=function(){if(this._src)return this._src.resume()},s.prototype.write=function(e){if(this.muted){if(!this.replace)return!0;if(e.match(/^\u001b/))return e.indexOf(this._prompt)===0&&(e=e.substr(this._prompt.length),e=e.replace(/./g,this.replace),e=this._prompt+e),this._hadControl=!0,this.emit("data",e);this._prompt&&this._hadControl&&e.indexOf(this._prompt)===0&&(this._hadControl=!1,this.emit("data",this._prompt),e=e.substr(this._prompt.length)),e=e.toString().replace(/./g,this.replace)}this.emit("data",e)},s.prototype.end=function(e){this.muted&&(e&&this.replace?e=e.toString().replace(/./g,this.replace):e=null),e&&this.emit("data",e),this.emit("end")};function r(e){return function(){var f=this._dest,a=this._src;f&&f[e]&&f[e].apply(f,arguments),a&&a[e]&&a[e].apply(a,arguments)}}s.prototype.destroy=r("destroy"),s.prototype.destroySoon=r("destroySoon"),s.prototype.close=r("close")}),Oa=N((t,l)=>{"use strict";B();var n=Z("readline"),s=ya(),i=ba(),p=Ea(),u=_a(),r=Da(),e=xa(),f=Fa(),a=ka(),c=Symbol("text"),o=Symbol("prefixText"),d=3,h=class{constructor(){this.requests=0,this.mutedStream=new a,this.mutedStream.pipe(process.stdout),this.mutedStream.mute();let g=this;this.ourEmit=function(D,w,...v){let{stdin:m}=process;if(g.requests>0||m.emit===g.ourEmit){if(D==="keypress")return;D==="data"&&w.includes(d)&&process.emit("SIGINT"),Reflect.apply(g.oldEmit,this,[D,w,...v])}else Reflect.apply(process.stdin.emit,this,[D,w,...v])}}start(){this.requests++,this.requests===1&&this.realStart()}stop(){if(this.requests<=0)throw new Error("`stop` called more times than `start`");this.requests--,this.requests===0&&this.realStop()}realStart(){process.platform!=="win32"&&(this.rl=n.createInterface({input:process.stdin,output:this.mutedStream}),this.rl.on("SIGINT",()=>{process.listenerCount("SIGINT")===0?process.emit("SIGINT"):(this.rl.close(),process.kill(process.pid,"SIGINT"))}))}realStop(){process.platform!=="win32"&&(this.rl.close(),this.rl=void 0)}},y,b=class{constructor(g){y||(y=new h),typeof g=="string"&&(g={text:g}),this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:!0,...g},this.spinner=this.options.spinner,this.color=this.options.color,this.hideCursor=this.options.hideCursor!==!1,this.interval=this.options.interval||this.spinner.interval||100,this.stream=this.options.stream,this.id=void 0,this.isEnabled=typeof this.options.isEnabled=="boolean"?this.options.isEnabled:f({stream:this.stream}),this.text=this.options.text,this.prefixText=this.options.prefixText,this.linesToClear=0,this.indent=this.options.indent,this.discardStdin=this.options.discardStdin,this.isDiscardingStdin=!1}get indent(){return this._indent}set indent(g=0){if(!(g>=0&&Number.isInteger(g)))throw new Error("The `indent` option must be an integer from 0 and up");this._indent=g}_updateInterval(g){g!==void 0&&(this.interval=g)}get spinner(){return this._spinner}set spinner(g){if(this.frameIndex=0,typeof g=="object"){if(g.frames===void 0)throw new Error("The given spinner must have a `frames` property");this._spinner=g}else if(process.platform==="win32")this._spinner=p.line;else if(g===void 0)this._spinner=p.dots;else if(p[g])this._spinner=p[g];else throw new Error(`There is no built-in spinner named '${g}'. See https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json for a full list.`);this._updateInterval(this._spinner.interval)}get text(){return this[c]}get prefixText(){return this[o]}get isSpinning(){return this.id!==void 0}updateLineCount(){let g=this.stream.columns||80,D=typeof this[o]=="string"?this[o]+"-":"";this.lineCount=r(D+"--"+this[c]).split(`
|
25
|
-
`).reduce((w,v)=>w+Math.max(1,Math.ceil(e(v)/g)),0)}set text(g){this[c]=g,this.updateLineCount()}set prefixText(g){this[o]=g,this.updateLineCount()}frame(){let{frames:g}=this.spinner,D=g[this.frameIndex];this.color&&(D=s[this.color](D)),this.frameIndex=++this.frameIndex%g.length;let w=typeof this.prefixText=="string"&&this.prefixText!==""?this.prefixText+" ":"",v=typeof this.text=="string"?" "+this.text:"";return w+D+v}clear(){if(!this.isEnabled||!this.stream.isTTY)return this;for(let g=0;g<this.linesToClear;g++)g>0&&this.stream.moveCursor(0,-1),this.stream.clearLine(),this.stream.cursorTo(this.indent);return this.linesToClear=0,this}render(){return this.clear(),this.stream.write(this.frame()),this.linesToClear=this.lineCount,this}start(g){return g&&(this.text=g),this.isEnabled?this.isSpinning?this:(this.hideCursor&&i.hide(this.stream),this.discardStdin&&process.stdin.isTTY&&(this.isDiscardingStdin=!0,y.start()),this.render(),this.id=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.stream.write(`- ${this.text}
|
26
|
-
`),this)}stop(){return this.isEnabled?(clearInterval(this.id),this.id=void 0,this.frameIndex=0,this.clear(),this.hideCursor&&i.show(this.stream),this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin&&(y.stop(),this.isDiscardingStdin=!1),this):this}succeed(g){return this.stopAndPersist({symbol:u.success,text:g})}fail(g){return this.stopAndPersist({symbol:u.error,text:g})}warn(g){return this.stopAndPersist({symbol:u.warning,text:g})}info(g){return this.stopAndPersist({symbol:u.info,text:g})}stopAndPersist(g={}){let D=g.prefixText||this.prefixText,w=typeof D=="string"&&D!==""?D+" ":"",v=g.text||this.text,m=typeof v=="string"?" "+v:"";return this.stop(),this.stream.write(`${w}${g.symbol||" "}${m}
|
27
|
-
`),this}},E=function(g){return new b(g)};l.exports=E,l.exports.promise=(g,D)=>{if(typeof g.then!="function")throw new TypeError("Parameter `action` must be a Promise");let w=new b(D);return w.start(),(async()=>{try{await g,w.succeed()}catch{w.fail()}})(),w}}),Ra=N((t,l)=>{"use strict";B();var n=(i,p,u)=>{let r=i.indexOf(p);if(r===-1)return i;let e=p.length,f=0,a="";do a+=i.substr(f,r-f)+p+u,f=r+e,r=i.indexOf(p,f);while(r!==-1);return a+=i.substr(f),a},s=(i,p,u,r)=>{let e=0,f="";do{let a=i[r-1]==="\r";f+=i.substr(e,(a?r-1:r)-e)+p+(a?`\r
|
28
|
-
`:`
|
29
|
-
`)+u,e=r+1,r=i.indexOf(`
|
30
|
-
`,e)}while(r!==-1);return f+=i.substr(e),f};l.exports={stringReplaceAll:n,stringEncaseCRLFWithFirstIndex:s}}),Ta=N((t,l)=>{"use strict";B();var n=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,s=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,p=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,u=new Map([["n",`
|
31
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function r(c){let o=c[0]==="u",d=c[1]==="{";return o&&!d&&c.length===5||c[0]==="x"&&c.length===3?String.fromCharCode(parseInt(c.slice(1),16)):o&&d?String.fromCodePoint(parseInt(c.slice(2,-1),16)):u.get(c)||c}function e(c,o){let d=[],h=o.trim().split(/\s*,\s*/g),y;for(let b of h){let E=Number(b);if(!Number.isNaN(E))d.push(E);else if(y=b.match(i))d.push(y[2].replace(p,(g,D,w)=>D?r(D):w));else throw new Error(`Invalid Chalk template style argument: ${b} (in style '${c}')`)}return d}function f(c){s.lastIndex=0;let o=[],d;for(;(d=s.exec(c))!==null;){let h=d[1];if(d[2]){let y=e(h,d[2]);o.push([h].concat(y))}else o.push([h])}return o}function a(c,o){let d={};for(let y of o)for(let b of y.styles)d[b[0]]=y.inverse?null:b.slice(1);let h=c;for(let[y,b]of Object.entries(d))if(Array.isArray(b)){if(!(y in h))throw new Error(`Unknown Chalk style: ${y}`);h=b.length>0?h[y](...b):h[y]}return h}l.exports=(c,o)=>{let d=[],h=[],y=[];if(o.replace(n,(b,E,g,D,w,v)=>{if(E)y.push(r(E));else if(D){let m=y.join("");y=[],h.push(d.length===0?m:a(c,d)(m)),d.push({inverse:g,styles:f(D)})}else if(w){if(d.length===0)throw new Error("Found extraneous } in Chalk template literal");h.push(a(c,d)(y.join(""))),y=[],d.pop()}else y.push(v)}),h.push(y.join("")),d.length>0){let b=`Chalk template literal is missing ${d.length} closing bracket${d.length===1?"":"s"} (\`}\`)`;throw new Error(b)}return h.join("")}}),Ba=N((t,l)=>{"use strict";B();var n=oi(),{stdout:s,stderr:i}=ui(),{stringReplaceAll:p,stringEncaseCRLFWithFirstIndex:u}=Ra(),{isArray:r}=Array,e=["ansi","ansi","ansi256","ansi16m"],f=Object.create(null),a=(m,_={})=>{if(_.level&&!(Number.isInteger(_.level)&&_.level>=0&&_.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let S=s?s.level:0;m.level=_.level===void 0?S:_.level},c=class{constructor(m){return o(m)}},o=m=>{let _={};return a(_,m),_.template=(...S)=>w(_.template,...S),Object.setPrototypeOf(_,d.prototype),Object.setPrototypeOf(_.template,_),_.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},_.template.Instance=c,_.template};function d(m){return o(m)}for(let[m,_]of Object.entries(n))f[m]={get(){let S=E(this,b(_.open,_.close,this._styler),this._isEmpty);return Object.defineProperty(this,m,{value:S}),S}};f.visible={get(){let m=E(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:m}),m}};var h=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let m of h)f[m]={get(){let{level:_}=this;return function(...S){let A=b(n.color[e[_]][m](...S),n.color.close,this._styler);return E(this,A,this._isEmpty)}}};for(let m of h){let _="bg"+m[0].toUpperCase()+m.slice(1);f[_]={get(){let{level:S}=this;return function(...A){let x=b(n.bgColor[e[S]][m](...A),n.bgColor.close,this._styler);return E(this,x,this._isEmpty)}}}}var y=Object.defineProperties(()=>{},{...f,level:{enumerable:!0,get(){return this._generator.level},set(m){this._generator.level=m}}}),b=(m,_,S)=>{let A,x;return S===void 0?(A=m,x=_):(A=S.openAll+m,x=_+S.closeAll),{open:m,close:_,openAll:A,closeAll:x,parent:S}},E=(m,_,S)=>{let A=(...x)=>r(x[0])&&r(x[0].raw)?g(A,w(A,...x)):g(A,x.length===1?""+x[0]:x.join(" "));return Object.setPrototypeOf(A,y),A._generator=m,A._styler=_,A._isEmpty=S,A},g=(m,_)=>{if(m.level<=0||!_)return m._isEmpty?"":_;let S=m._styler;if(S===void 0)return _;let{openAll:A,closeAll:x}=S;if(_.indexOf("\x1B")!==-1)for(;S!==void 0;)_=p(_,S.close,S.open),S=S.parent;let L=_.indexOf(`
|
32
|
-
`);return L!==-1&&(_=u(_,x,A,L)),A+_+x},D,w=(m,..._)=>{let[S]=_;if(!r(S)||!r(S.raw))return _.join(" ");let A=_.slice(1),x=[S.raw[0]];for(let L=1;L<S.length;L++)x.push(String(A[L-1]).replace(/[{}\\]/g,"\\$&"),String(S.raw[L]));return D===void 0&&(D=Ta()),D(m,x.join(""))};Object.defineProperties(d.prototype,f);var v=d();v.supportsColor=s,v.stderr=d({level:i?i.level:0}),v.stderr.supportsColor=i,l.exports=v}),Pa=N((t,l)=>{B(),function(n){var s=/^\s+/,i=/\s+$/,p=0,u=n.round,r=n.min,e=n.max,f=n.random;function a(H,V){if(H=H||"",V=V||{},H instanceof a)return H;if(!(this instanceof a))return new a(H,V);var C=c(H);this._originalInput=H,this._r=C.r,this._g=C.g,this._b=C.b,this._a=C.a,this._roundA=u(100*this._a)/100,this._format=V.format||C.format,this._gradientType=V.gradientType,this._r<1&&(this._r=u(this._r)),this._g<1&&(this._g=u(this._g)),this._b<1&&(this._b=u(this._b)),this._ok=C.ok,this._tc_id=p++}a.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var H=this.toRgb();return(H.r*299+H.g*587+H.b*114)/1e3},getLuminance:function(){var H=this.toRgb(),V,C,z,X,rt,ht;return V=H.r/255,C=H.g/255,z=H.b/255,V<=.03928?X=V/12.92:X=n.pow((V+.055)/1.055,2.4),C<=.03928?rt=C/12.92:rt=n.pow((C+.055)/1.055,2.4),z<=.03928?ht=z/12.92:ht=n.pow((z+.055)/1.055,2.4),.2126*X+.7152*rt+.0722*ht},setAlpha:function(H){return this._a=Q(H),this._roundA=u(100*this._a)/100,this},toHsv:function(){var H=y(this._r,this._g,this._b);return{h:H.h*360,s:H.s,v:H.v,a:this._a}},toHsvString:function(){var H=y(this._r,this._g,this._b),V=u(H.h*360),C=u(H.s*100),z=u(H.v*100);return this._a==1?"hsv("+V+", "+C+"%, "+z+"%)":"hsva("+V+", "+C+"%, "+z+"%, "+this._roundA+")"},toHsl:function(){var H=d(this._r,this._g,this._b);return{h:H.h*360,s:H.s,l:H.l,a:this._a}},toHslString:function(){var H=d(this._r,this._g,this._b),V=u(H.h*360),C=u(H.s*100),z=u(H.l*100);return this._a==1?"hsl("+V+", "+C+"%, "+z+"%)":"hsla("+V+", "+C+"%, "+z+"%, "+this._roundA+")"},toHex:function(H){return E(this._r,this._g,this._b,H)},toHexString:function(H){return"#"+this.toHex(H)},toHex8:function(H){return g(this._r,this._g,this._b,this._a,H)},toHex8String:function(H){return"#"+this.toHex8(H)},toRgb:function(){return{r:u(this._r),g:u(this._g),b:u(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+u(this._r)+", "+u(this._g)+", "+u(this._b)+")":"rgba("+u(this._r)+", "+u(this._g)+", "+u(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:u(P(this._r,255)*100)+"%",g:u(P(this._g,255)*100)+"%",b:u(P(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+u(P(this._r,255)*100)+"%, "+u(P(this._g,255)*100)+"%, "+u(P(this._b,255)*100)+"%)":"rgba("+u(P(this._r,255)*100)+"%, "+u(P(this._g,255)*100)+"%, "+u(P(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:q[E(this._r,this._g,this._b,!0)]||!1},toFilter:function(H){var V="#"+D(this._r,this._g,this._b,this._a),C=V,z=this._gradientType?"GradientType = 1, ":"";if(H){var X=a(H);C="#"+D(X._r,X._g,X._b,X._a)}return"progid:DXImageTransform.Microsoft.gradient("+z+"startColorstr="+V+",endColorstr="+C+")"},toString:function(H){var V=!!H;H=H||this._format;var C=!1,z=this._a<1&&this._a>=0,X=!V&&z&&(H==="hex"||H==="hex6"||H==="hex3"||H==="hex4"||H==="hex8"||H==="name");return X?H==="name"&&this._a===0?this.toName():this.toRgbString():(H==="rgb"&&(C=this.toRgbString()),H==="prgb"&&(C=this.toPercentageRgbString()),(H==="hex"||H==="hex6")&&(C=this.toHexString()),H==="hex3"&&(C=this.toHexString(!0)),H==="hex4"&&(C=this.toHex8String(!0)),H==="hex8"&&(C=this.toHex8String()),H==="name"&&(C=this.toName()),H==="hsl"&&(C=this.toHslString()),H==="hsv"&&(C=this.toHsvString()),C||this.toHexString())},clone:function(){return a(this.toString())},_applyModification:function(H,V){var C=H.apply(null,[this].concat([].slice.call(V)));return this._r=C._r,this._g=C._g,this._b=C._b,this.setAlpha(C._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(S,arguments)},darken:function(){return this._applyModification(A,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(H,V){return H.apply(null,[this].concat([].slice.call(V)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(L,arguments)},monochromatic:function(){return this._applyCombination($,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(T,arguments)},tetrad:function(){return this._applyCombination(F,arguments)}},a.fromRatio=function(H,V){if(typeof H=="object"){var C={};for(var z in H)H.hasOwnProperty(z)&&(z==="a"?C[z]=H[z]:C[z]=M(H[z]));H=C}return a(H,V)};function c(H){var V={r:0,g:0,b:0},C=1,z=null,X=null,rt=null,ht=!1,it=!1;return typeof H=="string"&&(H=gt(H)),typeof H=="object"&&(ct(H.r)&&ct(H.g)&&ct(H.b)?(V=o(H.r,H.g,H.b),ht=!0,it=String(H.r).substr(-1)==="%"?"prgb":"rgb"):ct(H.h)&&ct(H.s)&&ct(H.v)?(z=M(H.s),X=M(H.v),V=b(H.h,z,X),ht=!0,it="hsv"):ct(H.h)&&ct(H.s)&&ct(H.l)&&(z=M(H.s),rt=M(H.l),V=h(H.h,z,rt),ht=!0,it="hsl"),H.hasOwnProperty("a")&&(C=H.a)),C=Q(C),{ok:ht,format:H.format||it,r:r(255,e(V.r,0)),g:r(255,e(V.g,0)),b:r(255,e(V.b,0)),a:C}}function o(H,V,C){return{r:P(H,255)*255,g:P(V,255)*255,b:P(C,255)*255}}function d(H,V,C){H=P(H,255),V=P(V,255),C=P(C,255);var z=e(H,V,C),X=r(H,V,C),rt,ht,it=(z+X)/2;if(z==X)rt=ht=0;else{var lt=z-X;switch(ht=it>.5?lt/(2-z-X):lt/(z+X),z){case H:rt=(V-C)/lt+(V<C?6:0);break;case V:rt=(C-H)/lt+2;break;case C:rt=(H-V)/lt+4;break}rt/=6}return{h:rt,s:ht,l:it}}function h(H,V,C){var z,X,rt;H=P(H,360),V=P(V,100),C=P(C,100);function ht(nt,ft,vt){return vt<0&&(vt+=1),vt>1&&(vt-=1),vt<1/6?nt+(ft-nt)*6*vt:vt<1/2?ft:vt<2/3?nt+(ft-nt)*(2/3-vt)*6:nt}if(V===0)z=X=rt=C;else{var it=C<.5?C*(1+V):C+V-C*V,lt=2*C-it;z=ht(lt,it,H+1/3),X=ht(lt,it,H),rt=ht(lt,it,H-1/3)}return{r:z*255,g:X*255,b:rt*255}}function y(H,V,C){H=P(H,255),V=P(V,255),C=P(C,255);var z=e(H,V,C),X=r(H,V,C),rt,ht,it=z,lt=z-X;if(ht=z===0?0:lt/z,z==X)rt=0;else{switch(z){case H:rt=(V-C)/lt+(V<C?6:0);break;case V:rt=(C-H)/lt+2;break;case C:rt=(H-V)/lt+4;break}rt/=6}return{h:rt,s:ht,v:it}}function b(H,V,C){H=P(H,360)*6,V=P(V,100),C=P(C,100);var z=n.floor(H),X=H-z,rt=C*(1-V),ht=C*(1-X*V),it=C*(1-(1-X)*V),lt=z%6,nt=[C,ht,rt,rt,it,C][lt],ft=[it,C,C,ht,rt,rt][lt],vt=[rt,rt,it,C,C,ht][lt];return{r:nt*255,g:ft*255,b:vt*255}}function E(H,V,C,z){var X=[tt(u(H).toString(16)),tt(u(V).toString(16)),tt(u(C).toString(16))];return z&&X[0].charAt(0)==X[0].charAt(1)&&X[1].charAt(0)==X[1].charAt(1)&&X[2].charAt(0)==X[2].charAt(1)?X[0].charAt(0)+X[1].charAt(0)+X[2].charAt(0):X.join("")}function g(H,V,C,z,X){var rt=[tt(u(H).toString(16)),tt(u(V).toString(16)),tt(u(C).toString(16)),tt(K(z))];return X&&rt[0].charAt(0)==rt[0].charAt(1)&&rt[1].charAt(0)==rt[1].charAt(1)&&rt[2].charAt(0)==rt[2].charAt(1)&&rt[3].charAt(0)==rt[3].charAt(1)?rt[0].charAt(0)+rt[1].charAt(0)+rt[2].charAt(0)+rt[3].charAt(0):rt.join("")}function D(H,V,C,z){var X=[tt(K(z)),tt(u(H).toString(16)),tt(u(V).toString(16)),tt(u(C).toString(16))];return X.join("")}a.equals=function(H,V){return!H||!V?!1:a(H).toRgbString()==a(V).toRgbString()},a.random=function(){return a.fromRatio({r:f(),g:f(),b:f()})};function w(H,V){V=V===0?0:V||10;var C=a(H).toHsl();return C.s-=V/100,C.s=j(C.s),a(C)}function v(H,V){V=V===0?0:V||10;var C=a(H).toHsl();return C.s+=V/100,C.s=j(C.s),a(C)}function m(H){return a(H).desaturate(100)}function _(H,V){V=V===0?0:V||10;var C=a(H).toHsl();return C.l+=V/100,C.l=j(C.l),a(C)}function S(H,V){V=V===0?0:V||10;var C=a(H).toRgb();return C.r=e(0,r(255,C.r-u(255*-(V/100)))),C.g=e(0,r(255,C.g-u(255*-(V/100)))),C.b=e(0,r(255,C.b-u(255*-(V/100)))),a(C)}function A(H,V){V=V===0?0:V||10;var C=a(H).toHsl();return C.l-=V/100,C.l=j(C.l),a(C)}function x(H,V){var C=a(H).toHsl(),z=(C.h+V)%360;return C.h=z<0?360+z:z,a(C)}function L(H){var V=a(H).toHsl();return V.h=(V.h+180)%360,a(V)}function T(H){var V=a(H).toHsl(),C=V.h;return[a(H),a({h:(C+120)%360,s:V.s,l:V.l}),a({h:(C+240)%360,s:V.s,l:V.l})]}function F(H){var V=a(H).toHsl(),C=V.h;return[a(H),a({h:(C+90)%360,s:V.s,l:V.l}),a({h:(C+180)%360,s:V.s,l:V.l}),a({h:(C+270)%360,s:V.s,l:V.l})]}function O(H){var V=a(H).toHsl(),C=V.h;return[a(H),a({h:(C+72)%360,s:V.s,l:V.l}),a({h:(C+216)%360,s:V.s,l:V.l})]}function I(H,V,C){V=V||6,C=C||30;var z=a(H).toHsl(),X=360/C,rt=[a(H)];for(z.h=(z.h-(X*V>>1)+720)%360;--V;)z.h=(z.h+X)%360,rt.push(a(z));return rt}function $(H,V){V=V||6;for(var C=a(H).toHsv(),z=C.h,X=C.s,rt=C.v,ht=[],it=1/V;V--;)ht.push(a({h:z,s:X,v:rt})),rt=(rt+it)%1;return ht}a.mix=function(H,V,C){C=C===0?0:C||50;var z=a(H).toRgb(),X=a(V).toRgb(),rt=C/100,ht={r:(X.r-z.r)*rt+z.r,g:(X.g-z.g)*rt+z.g,b:(X.b-z.b)*rt+z.b,a:(X.a-z.a)*rt+z.a};return a(ht)},a.readability=function(H,V){var C=a(H),z=a(V);return(n.max(C.getLuminance(),z.getLuminance())+.05)/(n.min(C.getLuminance(),z.getLuminance())+.05)},a.isReadable=function(H,V,C){var z=a.readability(H,V),X,rt;switch(rt=!1,X=mt(C),X.level+X.size){case"AAsmall":case"AAAlarge":rt=z>=4.5;break;case"AAlarge":rt=z>=3;break;case"AAAsmall":rt=z>=7;break}return rt},a.mostReadable=function(H,V,C){var z=null,X=0,rt,ht,it,lt;C=C||{},ht=C.includeFallbackColors,it=C.level,lt=C.size;for(var nt=0;nt<V.length;nt++)rt=a.readability(H,V[nt]),rt>X&&(X=rt,z=a(V[nt]));return a.isReadable(H,z,{level:it,size:lt})||!ht?z:(C.includeFallbackColors=!1,a.mostReadable(H,["#fff","#000"],C))};var R=a.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},q=a.hexNames=W(R);function W(H){var V={};for(var C in H)H.hasOwnProperty(C)&&(V[H[C]]=C);return V}function Q(H){return H=parseFloat(H),(isNaN(H)||H<0||H>1)&&(H=1),H}function P(H,V){J(H)&&(H="100%");var C=G(H);return H=r(V,e(0,parseFloat(H))),C&&(H=parseInt(H*V,10)/100),n.abs(H-V)<1e-6?1:H%V/parseFloat(V)}function j(H){return r(1,e(0,H))}function k(H){return parseInt(H,16)}function J(H){return typeof H=="string"&&H.indexOf(".")!=-1&&parseFloat(H)===1}function G(H){return typeof H=="string"&&H.indexOf("%")!=-1}function tt(H){return H.length==1?"0"+H:""+H}function M(H){return H<=1&&(H=H*100+"%"),H}function K(H){return n.round(parseFloat(H)*255).toString(16)}function et(H){return k(H)/255}var ot=function(){var H="[-\\+]?\\d+%?",V="[-\\+]?\\d*\\.\\d+%?",C="(?:"+V+")|(?:"+H+")",z="[\\s|\\(]+("+C+")[,|\\s]+("+C+")[,|\\s]+("+C+")\\s*\\)?",X="[\\s|\\(]+("+C+")[,|\\s]+("+C+")[,|\\s]+("+C+")[,|\\s]+("+C+")\\s*\\)?";return{CSS_UNIT:new RegExp(C),rgb:new RegExp("rgb"+z),rgba:new RegExp("rgba"+X),hsl:new RegExp("hsl"+z),hsla:new RegExp("hsla"+X),hsv:new RegExp("hsv"+z),hsva:new RegExp("hsva"+X),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function ct(H){return!!ot.CSS_UNIT.exec(H)}function gt(H){H=H.replace(s,"").replace(i,"").toLowerCase();var V=!1;if(R[H])H=R[H],V=!0;else if(H=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var C;return(C=ot.rgb.exec(H))?{r:C[1],g:C[2],b:C[3]}:(C=ot.rgba.exec(H))?{r:C[1],g:C[2],b:C[3],a:C[4]}:(C=ot.hsl.exec(H))?{h:C[1],s:C[2],l:C[3]}:(C=ot.hsla.exec(H))?{h:C[1],s:C[2],l:C[3],a:C[4]}:(C=ot.hsv.exec(H))?{h:C[1],s:C[2],v:C[3]}:(C=ot.hsva.exec(H))?{h:C[1],s:C[2],v:C[3],a:C[4]}:(C=ot.hex8.exec(H))?{r:k(C[1]),g:k(C[2]),b:k(C[3]),a:et(C[4]),format:V?"name":"hex8"}:(C=ot.hex6.exec(H))?{r:k(C[1]),g:k(C[2]),b:k(C[3]),format:V?"name":"hex"}:(C=ot.hex4.exec(H))?{r:k(C[1]+""+C[1]),g:k(C[2]+""+C[2]),b:k(C[3]+""+C[3]),a:et(C[4]+""+C[4]),format:V?"name":"hex8"}:(C=ot.hex3.exec(H))?{r:k(C[1]+""+C[1]),g:k(C[2]+""+C[2]),b:k(C[3]+""+C[3]),format:V?"name":"hex"}:!1}function mt(H){var V,C;return H=H||{level:"AA",size:"small"},V=(H.level||"AA").toUpperCase(),C=(H.size||"small").toLowerCase(),V!=="AA"&&V!=="AAA"&&(V="AA"),C!=="small"&&C!=="large"&&(C="small"),{level:V,size:C}}typeof l<"u"&&l.exports?l.exports=a:typeof define=="function"&&define.amd?define(function(){return a}):window.tinycolor=a}(Math)}),La=N((t,l)=>{B();var n=Pa(),s={r:256,g:256,b:256,a:1},i={h:360,s:1,v:1,a:1};function p(o,d,h){let y={};for(let b in o)o.hasOwnProperty(b)&&(y[b]=h===0?0:(d[b]-o[b])/h);return y}function u(o,d,h,y){let b={};for(let E in d)d.hasOwnProperty(E)&&(b[E]=o[E]*h+d[E],b[E]=b[E]<0?b[E]+y[E]:y[E]!==1?b[E]%y[E]:b[E]);return b}function r(o,d,h){let y=o.color.toRgb(),b=d.color.toRgb(),E=p(y,b,h),g=[o.color];for(let D=1;D<h;D++){let w=u(E,y,D,s);g.push(n(w))}return g}function e(o,d,h,y){let b=o.color.toHsv(),E=d.color.toHsv();if(b.s===0||E.s===0)return r(o,d,h);let g;if(typeof y=="boolean")g=y;else{let m=b.h<E.h&&E.h-b.h<180||b.h>E.h&&b.h-E.h>180;g=y==="long"&&m||y==="short"&&!m}let D=p(b,E,h),w=[o.color],v;b.h<=E.h&&!g||b.h>=E.h&&g?v=E.h-b.h:g?v=360-E.h+b.h:v=360-b.h+E.h,D.h=Math.pow(-1,g?1:0)*Math.abs(v)/h;for(let m=1;m<h;m++){let _=u(D,b,m,i);w.push(n(_))}return w}function f(o,d){let h=o.length;if(d=parseInt(d,10),isNaN(d)||d<2)throw new Error("Invalid number of steps (< 2)");if(d<h)throw new Error("Number of steps cannot be inferior to number of stops");let y=[];for(let E=1;E<h;E++){let g=(d-1)*(o[E].pos-o[E-1].pos);y.push(Math.max(1,Math.round(g)))}let b=1;for(let E=h-1;E--;)b+=y[E];for(;b!==d;)if(b<d){let E=Math.min.apply(null,y);y[y.indexOf(E)]++,b++}else{let E=Math.max.apply(null,y);y[y.indexOf(E)]--,b--}return y}function a(o,d,h,y){if(d<0||d>1)throw new Error("Position must be between 0 and 1");let b,E;for(let w=0,v=o.length;w<v-1;w++)if(d>=o[w].pos&&d<o[w+1].pos){b=o[w],E=o[w+1];break}b||(b=E=o[o.length-1]);let g=p(b.color[h](),E.color[h](),(E.pos-b.pos)*100),D=u(g,b.color[h](),(d-b.pos)*100,y);return n(D)}var c=class{constructor(o){if(o.length<2)throw new Error("Invalid number of stops (< 2)");let d=o[0].pos!==void 0,h=o.length,y=-1,b=!1;this.stops=o.map((E,g)=>{let D=E.pos!==void 0;if(d^D)throw new Error("Cannot mix positionned and not posionned color stops");if(D){let w=E.color!==void 0;if(!w&&(b||g===0||g===h-1))throw new Error("Cannot define two consecutive position-only stops");if(b=!w,E={color:w?n(E.color):null,colorLess:!w,pos:E.pos},E.pos<0||E.pos>1)throw new Error("Color stops positions must be between 0 and 1");if(E.pos<y)throw new Error("Color stops positions are not ordered");y=E.pos}else E={color:n(E.color!==void 0?E.color:E),pos:g/(h-1)};return E}),this.stops[0].pos!==0&&(this.stops.unshift({color:this.stops[0].color,pos:0}),h++),this.stops[h-1].pos!==1&&this.stops.push({color:this.stops[h-1].color,pos:1})}reverse(){let o=[];return this.stops.forEach(function(d){o.push({color:d.color,pos:1-d.pos})}),new c(o.reverse())}loop(){let o=[],d=[];return this.stops.forEach(h=>{o.push({color:h.color,pos:h.pos/2})}),this.stops.slice(0,-1).forEach(h=>{d.push({color:h.color,pos:1-h.pos/2})}),new c(o.concat(d.reverse()))}rgb(o){let d=f(this.stops,o),h=[];this.stops.forEach((y,b)=>{y.colorLess&&(y.color=r(this.stops[b-1],this.stops[b+1],2)[1])});for(let y=0,b=this.stops.length;y<b-1;y++){let E=r(this.stops[y],this.stops[y+1],d[y]);h.splice(h.length,0,...E)}return h.push(this.stops[this.stops.length-1].color),h}hsv(o,d){let h=f(this.stops,o),y=[];this.stops.forEach((b,E)=>{b.colorLess&&(b.color=e(this.stops[E-1],this.stops[E+1],2,d)[1])});for(let b=0,E=this.stops.length;b<E-1;b++){let g=e(this.stops[b],this.stops[b+1],h[b],d);y.splice(y.length,0,...g)}return y.push(this.stops[this.stops.length-1].color),y}css(o,d){o=o||"linear",d=d||(o==="linear"?"to right":"ellipse at center");let h=o+"-gradient("+d;return this.stops.forEach(function(y){h+=", "+(y.colorLess?"":y.color.toRgbString()+" ")+y.pos*100+"%"}),h+=")",h}rgbAt(o){return a(this.stops,o,"toRgb",s)}hsvAt(o){return a(this.stops,o,"toHsv",i)}};l.exports=function(o){if(arguments.length===1){if(!Array.isArray(arguments[0]))throw new Error('"stops" is not an array');o=arguments[0]}else o=Array.prototype.slice.call(arguments);return new c(o)}}),Ia=N((t,l)=>{"use strict";B();var n=Ba(),s=La(),i=/\s/g;function p(...c){let o=s.apply(this,c),d=(h,y)=>r(h?h.toString():"",o,y);return d.multiline=(h,y)=>e(h?h.toString():"",o,y),d}var u=(c,o,d)=>o.interpolation.toLowerCase()==="hsv"?c.hsv(d,o.hsvSpin.toLowerCase()):c.rgb(d);function r(c,o,d){let h=f(d),y=Math.max(c.replace(i,"").length,o.stops.length),b=u(o,h,y),E="";for(let g of c)E+=g.match(i)?g:n.hex(b.shift().toHex())(g);return E}function e(c,o,d){let h=f(d),y=c.split(`
|
33
|
-
`),b=Math.max.apply(null,y.map(D=>D.length).concat([o.stops.length])),E=u(o,h,b),g=[];for(let D of y){let w=E.slice(0),v="";for(let m of D)v+=n.hex(w.shift().toHex())(m);g.push(v)}return g.join(`
|
34
|
-
`)}function f(c){let o={interpolation:"rgb",hsvSpin:"short",...c};if(c!==void 0&&typeof c!="object")throw new TypeError(`Expected \`options\` to be an \`object\`, got \`${typeof c}\``);if(typeof o.interpolation!="string")throw new TypeError(`Expected \`options.interpolation\` to be a \`string\`, got \`${typeof o.interpolation}\``);if(o.interpolation.toLowerCase()==="hsv"&&typeof o.hsvSpin!="string")throw new TypeError(`Expected \`options.hsvSpin\` to be a \`string\`, got \`${typeof o.hsvSpin}\``);return o}var a={atlas:{colors:["#feac5e","#c779d0","#4bc0c8"],options:{}},cristal:{colors:["#bdfff3","#4ac29a"],options:{}},teen:{colors:["#77a1d3","#79cbca","#e684ae"],options:{}},mind:{colors:["#473b7b","#3584a7","#30d2be"],options:{}},morning:{colors:["#ff5f6d","#ffc371"],options:{interpolation:"hsv"}},vice:{colors:["#5ee7df","#b490ca"],options:{interpolation:"hsv"}},passion:{colors:["#f43b47","#453a94"],options:{}},fruit:{colors:["#ff4e50","#f9d423"],options:{}},instagram:{colors:["#833ab4","#fd1d1d","#fcb045"],options:{}},retro:{colors:["#3f51b1","#5a55ae","#7b5fac","#8f6aae","#a86aa4","#cc6b8e","#f18271","#f3a469","#f7c978"],options:{}},summer:{colors:["#fdbb2d","#22c1c3"],options:{}},rainbow:{colors:["#ff0000","#ff0100"],options:{interpolation:"hsv",hsvSpin:"long"}},pastel:{colors:["#74ebd5","#74ecd5"],options:{interpolation:"hsv",hsvSpin:"long"}}};l.exports=p;for(let c in a)l.exports[c]=o=>new p(a[c].colors)(o,a[c].options),l.exports[c].multiline=o=>new p(a[c].colors).multiline(o,a[c].options)}),te={};Cn(te,{bold:()=>Ua,dimmed:()=>qa,error:()=>pi,info:()=>Ha,item:()=>Ga,log:()=>De,turboBlue:()=>we,turboGradient:()=>$a,turboLoader:()=>fi,turboRed:()=>ci,warn:()=>Br,yellow:()=>hi});B();var Le=Ot(pe()),Na=Ot(Oa()),ja=Ot(Ia()),ai="#0099F7",li="#F11712",Ma="#FFFF00",$a=(0,ja.default)(ai,li),we=Le.default.hex(ai),ci=Le.default.hex(li),hi=Le.default.hex(Ma),fi=t=>(0,Na.default)({text:t,spinner:{frames:[" ",we("> "),we(">> "),we(">>>")]}}),Ha=(...t)=>{De(we.bold(">>>"),...t)},Ua=(...t)=>{De(Le.default.bold(...t))},qa=(...t)=>{De(Le.default.dim(...t))},Ga=(...t)=>{De(we.bold(" \u2022"),...t)},De=(...t)=>{console.log(...t)},Br=(...t)=>{console.error(hi.bold(">>>"),...t)},pi=(...t)=>{console.error(ci.bold(">>>"),...t)};B();var M0=Ot(oe());var Za=N((t,l)=>{B();function n(s,i){typeof i=="boolean"&&(i={forever:i}),this._originalTimeouts=JSON.parse(JSON.stringify(s)),this._timeouts=s,this._options=i||{},this._maxRetryTime=i&&i.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}l.exports=n,n.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)},n.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null},n.prototype.retry=function(s){if(this._timeout&&clearTimeout(this._timeout),!s)return!1;var i=new Date().getTime();if(s&&i-this._operationStart>=this._maxRetryTime)return this._errors.push(s),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(s);var p=this._timeouts.shift();if(p===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),p=this._cachedTimeouts.slice(-1);else return!1;var u=this;return this._timer=setTimeout(function(){u._attempts++,u._operationTimeoutCb&&(u._timeout=setTimeout(function(){u._operationTimeoutCb(u._attempts)},u._operationTimeout),u._options.unref&&u._timeout.unref()),u._fn(u._attempts)},p),this._options.unref&&this._timer.unref(),!0},n.prototype.attempt=function(s,i){this._fn=s,i&&(i.timeout&&(this._operationTimeout=i.timeout),i.cb&&(this._operationTimeoutCb=i.cb));var p=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){p._operationTimeoutCb()},p._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)},n.prototype.try=function(s){console.log("Using RetryOperation.try() is deprecated"),this.attempt(s)},n.prototype.start=function(s){console.log("Using RetryOperation.start() is deprecated"),this.attempt(s)},n.prototype.start=n.prototype.try,n.prototype.errors=function(){return this._errors},n.prototype.attempts=function(){return this._attempts},n.prototype.mainError=function(){if(this._errors.length===0)return null;for(var s={},i=null,p=0,u=0;u<this._errors.length;u++){var r=this._errors[u],e=r.message,f=(s[e]||0)+1;s[e]=f,f>=p&&(i=r,p=f)}return i}}),Xa=N(t=>{B();var l=Za();t.operation=function(n){var s=t.timeouts(n);return new l(s,{forever:n&&(n.forever||n.retries===1/0),unref:n&&n.unref,maxRetryTime:n&&n.maxRetryTime})},t.timeouts=function(n){if(n instanceof Array)return[].concat(n);var s={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var i in n)s[i]=n[i];if(s.minTimeout>s.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var p=[],u=0;u<s.retries;u++)p.push(this.createTimeout(u,s));return n&&n.forever&&!p.length&&p.push(this.createTimeout(u,s)),p.sort(function(r,e){return r-e}),p},t.createTimeout=function(n,s){var i=s.randomize?Math.random()+1:1,p=Math.round(i*Math.max(s.minTimeout,1)*Math.pow(s.factor,n));return p=Math.min(p,s.maxTimeout),p},t.wrap=function(n,s,i){if(s instanceof Array&&(i=s,s=null),!i){i=[];for(var p in n)typeof n[p]=="function"&&i.push(p)}for(var u=0;u<i.length;u++){var r=i[u],e=n[r];n[r]=function(f){var a=t.operation(s),c=Array.prototype.slice.call(arguments,1),o=c.pop();c.push(function(d){a.retry(d)||(d&&(arguments[0]=a.mainError()),o.apply(this,arguments))}),a.attempt(function(){f.apply(n,c)})}.bind(n,e),n[r].options=s}}}),Qa=N((t,l)=>{B(),l.exports=Xa()}),tl=N((t,l)=>{B();var n=Qa();function s(i,p){function u(r,e){var f=p||{},a;"randomize"in f||(f.randomize=!0),a=n.operation(f);function c(h){e(h||new Error("Aborted"))}function o(h,y){if(h.bail){c(h);return}a.retry(h)?f.onRetry&&f.onRetry(h,y):e(a.mainError())}function d(h){var y;try{y=i(c,h)}catch(b){o(b,h);return}Promise.resolve(y).then(r).catch(function(b){o(b,h)})}a.attempt(d)}return new Promise(u)}l.exports=s});B();var K0=Ot(tl()),Y0=Ot(pe()),J0=Ot(oe());var Pr=Yt(require("fs"),1),Ie=Yt(require("path"),1);B();function Lr({target:t,cwd:l,contentCheck:n}){let s=Ie.default.parse(l).root,i=!1,p=l;for(;!i&&p!==s;){if(n)try{let u=Pr.default.readFileSync(Ie.default.join(p,t)).toString();if(n(u)){i=!0;break}}catch{}else if(Pr.default.existsSync(Ie.default.join(p,t))){i=!0;break}p=Ie.default.dirname(p)}return i?p:null}var ar=Yt(require("path"),1),el=N((t,l)=>{B();function n(s){return l.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},l.exports.__esModule=!0,l.exports.default=l.exports,n(s)}l.exports=n,l.exports.__esModule=!0,l.exports.default=l.exports}),rl=N((t,l)=>{B();var n=el().default;function s(){"use strict";l.exports=s=function(){return i},l.exports.__esModule=!0,l.exports.default=l.exports;var i={},p=Object.prototype,u=p.hasOwnProperty,r=Object.defineProperty||function($,R,q){$[R]=q.value},e=typeof Symbol=="function"?Symbol:{},f=e.iterator||"@@iterator",a=e.asyncIterator||"@@asyncIterator",c=e.toStringTag||"@@toStringTag";function o($,R,q){return Object.defineProperty($,R,{value:q,enumerable:!0,configurable:!0,writable:!0}),$[R]}try{o({},"")}catch{o=function($,R,q){return $[R]=q}}function d($,R,q,W){var Q=R&&R.prototype instanceof b?R:b,P=Object.create(Q.prototype),j=new F(W||[]);return r(P,"_invoke",{value:A($,q,j)}),P}function h($,R,q){try{return{type:"normal",arg:$.call(R,q)}}catch(W){return{type:"throw",arg:W}}}i.wrap=d;var y={};function b(){}function E(){}function g(){}var D={};o(D,f,function(){return this});var w=Object.getPrototypeOf,v=w&&w(w(O([])));v&&v!==p&&u.call(v,f)&&(D=v);var m=g.prototype=b.prototype=Object.create(D);function _($){["next","throw","return"].forEach(function(R){o($,R,function(q){return this._invoke(R,q)})})}function S($,R){function q(Q,P,j,k){var J=h($[Q],$,P);if(J.type!=="throw"){var G=J.arg,tt=G.value;return tt&&n(tt)=="object"&&u.call(tt,"__await")?R.resolve(tt.__await).then(function(M){q("next",M,j,k)},function(M){q("throw",M,j,k)}):R.resolve(tt).then(function(M){G.value=M,j(G)},function(M){return q("throw",M,j,k)})}k(J.arg)}var W;r(this,"_invoke",{value:function(Q,P){function j(){return new R(function(k,J){q(Q,P,k,J)})}return W=W?W.then(j,j):j()}})}function A($,R,q){var W="suspendedStart";return function(Q,P){if(W==="executing")throw new Error("Generator is already running");if(W==="completed"){if(Q==="throw")throw P;return I()}for(q.method=Q,q.arg=P;;){var j=q.delegate;if(j){var k=x(j,q);if(k){if(k===y)continue;return k}}if(q.method==="next")q.sent=q._sent=q.arg;else if(q.method==="throw"){if(W==="suspendedStart")throw W="completed",q.arg;q.dispatchException(q.arg)}else q.method==="return"&&q.abrupt("return",q.arg);W="executing";var J=h($,R,q);if(J.type==="normal"){if(W=q.done?"completed":"suspendedYield",J.arg===y)continue;return{value:J.arg,done:q.done}}J.type==="throw"&&(W="completed",q.method="throw",q.arg=J.arg)}}}function x($,R){var q=R.method,W=$.iterator[q];if(W===void 0)return R.delegate=null,q==="throw"&&$.iterator.return&&(R.method="return",R.arg=void 0,x($,R),R.method==="throw")||q!=="return"&&(R.method="throw",R.arg=new TypeError("The iterator does not provide a '"+q+"' method")),y;var Q=h(W,$.iterator,R.arg);if(Q.type==="throw")return R.method="throw",R.arg=Q.arg,R.delegate=null,y;var P=Q.arg;return P?P.done?(R[$.resultName]=P.value,R.next=$.nextLoc,R.method!=="return"&&(R.method="next",R.arg=void 0),R.delegate=null,y):P:(R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,y)}function L($){var R={tryLoc:$[0]};1 in $&&(R.catchLoc=$[1]),2 in $&&(R.finallyLoc=$[2],R.afterLoc=$[3]),this.tryEntries.push(R)}function T($){var R=$.completion||{};R.type="normal",delete R.arg,$.completion=R}function F($){this.tryEntries=[{tryLoc:"root"}],$.forEach(L,this),this.reset(!0)}function O($){if($){var R=$[f];if(R)return R.call($);if(typeof $.next=="function")return $;if(!isNaN($.length)){var q=-1,W=function Q(){for(;++q<$.length;)if(u.call($,q))return Q.value=$[q],Q.done=!1,Q;return Q.value=void 0,Q.done=!0,Q};return W.next=W}}return{next:I}}function I(){return{value:void 0,done:!0}}return E.prototype=g,r(m,"constructor",{value:g,configurable:!0}),r(g,"constructor",{value:E,configurable:!0}),E.displayName=o(g,c,"GeneratorFunction"),i.isGeneratorFunction=function($){var R=typeof $=="function"&&$.constructor;return!!R&&(R===E||(R.displayName||R.name)==="GeneratorFunction")},i.mark=function($){return Object.setPrototypeOf?Object.setPrototypeOf($,g):($.__proto__=g,o($,c,"GeneratorFunction")),$.prototype=Object.create(m),$},i.awrap=function($){return{__await:$}},_(S.prototype),o(S.prototype,a,function(){return this}),i.AsyncIterator=S,i.async=function($,R,q,W,Q){Q===void 0&&(Q=Promise);var P=new S(d($,R,q,W),Q);return i.isGeneratorFunction(R)?P:P.next().then(function(j){return j.done?j.value:P.next()})},_(m),o(m,c,"Generator"),o(m,f,function(){return this}),o(m,"toString",function(){return"[object Generator]"}),i.keys=function($){var R=Object($),q=[];for(var W in R)q.push(W);return q.reverse(),function Q(){for(;q.length;){var P=q.pop();if(P in R)return Q.value=P,Q.done=!1,Q}return Q.done=!0,Q}},i.values=O,F.prototype={constructor:F,reset:function($){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!$)for(var R in this)R.charAt(0)==="t"&&u.call(this,R)&&!isNaN(+R.slice(1))&&(this[R]=void 0)},stop:function(){this.done=!0;var $=this.tryEntries[0].completion;if($.type==="throw")throw $.arg;return this.rval},dispatchException:function($){if(this.done)throw $;var R=this;function q(J,G){return P.type="throw",P.arg=$,R.next=J,G&&(R.method="next",R.arg=void 0),!!G}for(var W=this.tryEntries.length-1;W>=0;--W){var Q=this.tryEntries[W],P=Q.completion;if(Q.tryLoc==="root")return q("end");if(Q.tryLoc<=this.prev){var j=u.call(Q,"catchLoc"),k=u.call(Q,"finallyLoc");if(j&&k){if(this.prev<Q.catchLoc)return q(Q.catchLoc,!0);if(this.prev<Q.finallyLoc)return q(Q.finallyLoc)}else if(j){if(this.prev<Q.catchLoc)return q(Q.catchLoc,!0)}else{if(!k)throw new Error("try statement without catch or finally");if(this.prev<Q.finallyLoc)return q(Q.finallyLoc)}}}},abrupt:function($,R){for(var q=this.tryEntries.length-1;q>=0;--q){var W=this.tryEntries[q];if(W.tryLoc<=this.prev&&u.call(W,"finallyLoc")&&this.prev<W.finallyLoc){var Q=W;break}}Q&&($==="break"||$==="continue")&&Q.tryLoc<=R&&R<=Q.finallyLoc&&(Q=null);var P=Q?Q.completion:{};return P.type=$,P.arg=R,Q?(this.method="next",this.next=Q.finallyLoc,y):this.complete(P)},complete:function($,R){if($.type==="throw")throw $.arg;return $.type==="break"||$.type==="continue"?this.next=$.arg:$.type==="return"?(this.rval=this.arg=$.arg,this.method="return",this.next="end"):$.type==="normal"&&R&&(this.next=R),y},finish:function($){for(var R=this.tryEntries.length-1;R>=0;--R){var q=this.tryEntries[R];if(q.finallyLoc===$)return this.complete(q.completion,q.afterLoc),T(q),y}},catch:function($){for(var R=this.tryEntries.length-1;R>=0;--R){var q=this.tryEntries[R];if(q.tryLoc===$){var W=q.completion;if(W.type==="throw"){var Q=W.arg;T(q)}return Q}}throw new Error("illegal catch attempt")},delegateYield:function($,R,q){return this.delegate={iterator:O($),resultName:R,nextLoc:q},this.method==="next"&&(this.arg=void 0),y}},i}l.exports=s,l.exports.__esModule=!0,l.exports.default=l.exports}),nl=N((t,l)=>{B();var n=rl()();l.exports=n;try{regeneratorRuntime=n}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}),il=N((t,l)=>{"use strict";B();var n=(s,...i)=>new Promise(p=>{p(s(...i))});l.exports=n,l.exports.default=n}),sl=N((t,l)=>{"use strict";B();var n=il(),s=i=>{if(!((Number.isInteger(i)||i===1/0)&&i>0))return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"));let p=[],u=0,r=()=>{u--,p.length>0&&p.shift()()},e=(c,o,...d)=>{u++;let h=n(c,...d);o(h),h.then(r,r)},f=(c,o,...d)=>{u<i?e(c,o,...d):p.push(e.bind(null,c,o,...d))},a=(c,...o)=>new Promise(d=>f(c,d,...o));return Object.defineProperties(a,{activeCount:{get:()=>u},pendingCount:{get:()=>p.length},clearQueue:{value:()=>{p.length=0}}}),a};l.exports=s,l.exports.default=s}),ol=N((t,l)=>{"use strict";B();var n=sl(),s=class extends Error{constructor(r){super(),this.value=r}},i=async(r,e)=>e(await r),p=async r=>{let e=await Promise.all(r);if(e[1]===!0)throw new s(e[0]);return!1},u=async(r,e,f)=>{f={concurrency:1/0,preserveOrder:!0,...f};let a=n(f.concurrency),c=[...r].map(d=>[d,a(i,d,e)]),o=n(f.preserveOrder?1:1/0);try{await Promise.all(c.map(d=>o(p,d)))}catch(d){if(d instanceof s)return d.value;throw d}};l.exports=u,l.exports.default=u}),ul=N((t,l)=>{"use strict";B();var n=Z("path"),s=Z("fs"),{promisify:i}=Z("util"),p=ol(),u=i(s.stat),r=i(s.lstat),e={directory:"isDirectory",file:"isFile"};function f({type:c}){if(!(c in e))throw new Error(`Invalid type specified: ${c}`)}var a=(c,o)=>c===void 0||o[e[c]]();l.exports=async(c,o)=>{o={cwd:process.cwd(),type:"file",allowSymlinks:!0,...o},f(o);let d=o.allowSymlinks?u:r;return p(c,async h=>{try{let y=await d(n.resolve(o.cwd,h));return a(o.type,y)}catch{return!1}},o)},l.exports.sync=(c,o)=>{o={cwd:process.cwd(),allowSymlinks:!0,type:"file",...o},f(o);let d=o.allowSymlinks?s.statSync:s.lstatSync;for(let h of c)try{let y=d(n.resolve(o.cwd,h));if(a(o.type,y))return h}catch{}}}),al=N((t,l)=>{"use strict";B();var n=Z("fs"),{promisify:s}=Z("util"),i=s(n.access);l.exports=async p=>{try{return await i(p),!0}catch{return!1}},l.exports.sync=p=>{try{return n.accessSync(p),!0}catch{return!1}}}),ll=N((t,l)=>{"use strict";B();var n=Z("path"),s=ul(),i=al(),p=Symbol("findUp.stop");l.exports=async(u,r={})=>{let e=n.resolve(r.cwd||""),{root:f}=n.parse(e),a=[].concat(u),c=async o=>{if(typeof u!="function")return s(a,o);let d=await u(o.cwd);return typeof d=="string"?s([d],o):d};for(;;){let o=await c({...r,cwd:e});if(o===p)return;if(o)return n.resolve(e,o);if(e===f)return;e=n.dirname(e)}},l.exports.sync=(u,r={})=>{let e=n.resolve(r.cwd||""),{root:f}=n.parse(e),a=[].concat(u),c=o=>{if(typeof u!="function")return s.sync(a,o);let d=u(o.cwd);return typeof d=="string"?s.sync([d],o):d};for(;;){let o=c({...r,cwd:e});if(o===p)return;if(o)return n.resolve(e,o);if(e===f)return;e=n.dirname(e)}},l.exports.exists=i,l.exports.sync.exists=i.sync,l.exports.stop=p}),Vt=N(t=>{"use strict";B(),t.fromCallback=function(l){return Object.defineProperty(function(){if(typeof arguments[arguments.length-1]=="function")l.apply(this,arguments);else return new Promise((n,s)=>{arguments[arguments.length]=(i,p)=>{if(i)return s(i);n(p)},arguments.length++,l.apply(this,arguments)})},"name",{value:l.name})},t.fromPromise=function(l){return Object.defineProperty(function(){let n=arguments[arguments.length-1];if(typeof n!="function")return l.apply(this,arguments);l.apply(this,arguments).then(s=>n(null,s),n)},"name",{value:l.name})}}),mi=N(t=>{"use strict";B();var l=Vt().fromCallback,n=Ct(),s=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchown","lchmod","link","lstat","mkdir","mkdtemp","open","readFile","readdir","readlink","realpath","rename","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(i=>typeof n[i]=="function");Object.keys(n).forEach(i=>{i!=="promises"&&(t[i]=n[i])}),s.forEach(i=>{t[i]=l(n[i])}),t.exists=function(i,p){return typeof p=="function"?n.exists(i,p):new Promise(u=>n.exists(i,u))},t.read=function(i,p,u,r,e,f){return typeof f=="function"?n.read(i,p,u,r,e,f):new Promise((a,c)=>{n.read(i,p,u,r,e,(o,d,h)=>{if(o)return c(o);a({bytesRead:d,buffer:h})})})},t.write=function(i,p,...u){return typeof u[u.length-1]=="function"?n.write(i,p,...u):new Promise((r,e)=>{n.write(i,p,...u,(f,a,c)=>{if(f)return e(f);r({bytesWritten:a,buffer:c})})})},typeof n.realpath.native=="function"&&(t.realpath.native=l(n.realpath.native))}),yi=N((t,l)=>{"use strict";B();var n=Z("path");function s(u){return u=n.normalize(n.resolve(u)).split(n.sep),u.length>0?u[0]:null}var i=/[<>:"|?*]/;function p(u){let r=s(u);return u=u.replace(r,""),i.test(u)}l.exports={getRootPath:s,invalidWin32Path:p}}),cl=N((t,l)=>{"use strict";B();var n=Ct(),s=Z("path"),i=yi().invalidWin32Path,p=parseInt("0777",8);function u(r,e,f,a){if(typeof e=="function"?(f=e,e={}):(!e||typeof e!="object")&&(e={mode:e}),process.platform==="win32"&&i(r)){let d=new Error(r+" contains invalid WIN32 path characters.");return d.code="EINVAL",f(d)}let c=e.mode,o=e.fs||n;c===void 0&&(c=p&~process.umask()),a||(a=null),f=f||function(){},r=s.resolve(r),o.mkdir(r,c,d=>{if(!d)return a=a||r,f(null,a);switch(d.code){case"ENOENT":if(s.dirname(r)===r)return f(d);u(s.dirname(r),e,(h,y)=>{h?f(h,y):u(r,e,f,y)});break;default:o.stat(r,(h,y)=>{h||!y.isDirectory()?f(d,a):f(null,a)});break}})}l.exports=u}),hl=N((t,l)=>{"use strict";B();var n=Ct(),s=Z("path"),i=yi().invalidWin32Path,p=parseInt("0777",8);function u(r,e,f){(!e||typeof e!="object")&&(e={mode:e});let a=e.mode,c=e.fs||n;if(process.platform==="win32"&&i(r)){let o=new Error(r+" contains invalid WIN32 path characters.");throw o.code="EINVAL",o}a===void 0&&(a=p&~process.umask()),f||(f=null),r=s.resolve(r);try{c.mkdirSync(r,a),f=f||r}catch(o){if(o.code==="ENOENT"){if(s.dirname(r)===r)throw o;f=u(s.dirname(r),e,f),u(r,e,f)}else{let d;try{d=c.statSync(r)}catch{throw o}if(!d.isDirectory())throw o}}return f}l.exports=u}),Kt=N((t,l)=>{"use strict";B();var n=Vt().fromCallback,s=n(cl()),i=hl();l.exports={mkdirs:s,mkdirsSync:i,mkdirp:s,mkdirpSync:i,ensureDir:s,ensureDirSync:i}}),gi=N((t,l)=>{"use strict";B();var n=Ct(),s=Z("os"),i=Z("path");function p(){let a=i.join("millis-test-sync"+Date.now().toString()+Math.random().toString().slice(2));a=i.join(s.tmpdir(),a);let c=new Date(1435410243862);n.writeFileSync(a,"https://github.com/jprichardson/node-fs-extra/pull/141");let o=n.openSync(a,"r+");return n.futimesSync(o,c,c),n.closeSync(o),n.statSync(a).mtime>1435410243e3}function u(a){let c=i.join("millis-test"+Date.now().toString()+Math.random().toString().slice(2));c=i.join(s.tmpdir(),c);let o=new Date(1435410243862);n.writeFile(c,"https://github.com/jprichardson/node-fs-extra/pull/141",d=>{if(d)return a(d);n.open(c,"r+",(h,y)=>{if(h)return a(h);n.futimes(y,o,o,b=>{if(b)return a(b);n.close(y,E=>{if(E)return a(E);n.stat(c,(g,D)=>{if(g)return a(g);a(null,D.mtime>1435410243e3)})})})})})}function r(a){if(typeof a=="number")return Math.floor(a/1e3)*1e3;if(a instanceof Date)return new Date(Math.floor(a.getTime()/1e3)*1e3);throw new Error("fs-extra: timeRemoveMillis() unknown parameter type")}function e(a,c,o,d){n.open(a,"r+",(h,y)=>{if(h)return d(h);n.futimes(y,c,o,b=>{n.close(y,E=>{d&&d(b||E)})})})}function f(a,c,o){let d=n.openSync(a,"r+");return n.futimesSync(d,c,o),n.closeSync(d)}l.exports={hasMillisRes:u,hasMillisResSync:p,timeRemoveMillis:r,utimesMillis:e,utimesMillisSync:f}}),or=N((t,l)=>{"use strict";B();var n=Ct(),s=Z("path"),i=10,p=5,u=0,r=process.versions.node.split("."),e=Number.parseInt(r[0],10),f=Number.parseInt(r[1],10),a=Number.parseInt(r[2],10);function c(){return e>i||e===i&&(f>p||f===p&&a>=u)}function o(w,v,m){c()?n.stat(w,{bigint:!0},(_,S)=>{if(_)return m(_);n.stat(v,{bigint:!0},(A,x)=>A?A.code==="ENOENT"?m(null,{srcStat:S,destStat:null}):m(A):m(null,{srcStat:S,destStat:x}))}):n.stat(w,(_,S)=>{if(_)return m(_);n.stat(v,(A,x)=>A?A.code==="ENOENT"?m(null,{srcStat:S,destStat:null}):m(A):m(null,{srcStat:S,destStat:x}))})}function d(w,v){let m,_;c()?m=n.statSync(w,{bigint:!0}):m=n.statSync(w);try{c()?_=n.statSync(v,{bigint:!0}):_=n.statSync(v)}catch(S){if(S.code==="ENOENT")return{srcStat:m,destStat:null};throw S}return{srcStat:m,destStat:_}}function h(w,v,m,_){o(w,v,(S,A)=>{if(S)return _(S);let{srcStat:x,destStat:L}=A;return L&&L.ino&&L.dev&&L.ino===x.ino&&L.dev===x.dev?_(new Error("Source and destination must not be the same.")):x.isDirectory()&&g(w,v)?_(new Error(D(w,v,m))):_(null,{srcStat:x,destStat:L})})}function y(w,v,m){let{srcStat:_,destStat:S}=d(w,v);if(S&&S.ino&&S.dev&&S.ino===_.ino&&S.dev===_.dev)throw new Error("Source and destination must not be the same.");if(_.isDirectory()&&g(w,v))throw new Error(D(w,v,m));return{srcStat:_,destStat:S}}function b(w,v,m,_,S){let A=s.resolve(s.dirname(w)),x=s.resolve(s.dirname(m));if(x===A||x===s.parse(x).root)return S();c()?n.stat(x,{bigint:!0},(L,T)=>L?L.code==="ENOENT"?S():S(L):T.ino&&T.dev&&T.ino===v.ino&&T.dev===v.dev?S(new Error(D(w,m,_))):b(w,v,x,_,S)):n.stat(x,(L,T)=>L?L.code==="ENOENT"?S():S(L):T.ino&&T.dev&&T.ino===v.ino&&T.dev===v.dev?S(new Error(D(w,m,_))):b(w,v,x,_,S))}function E(w,v,m,_){let S=s.resolve(s.dirname(w)),A=s.resolve(s.dirname(m));if(A===S||A===s.parse(A).root)return;let x;try{c()?x=n.statSync(A,{bigint:!0}):x=n.statSync(A)}catch(L){if(L.code==="ENOENT")return;throw L}if(x.ino&&x.dev&&x.ino===v.ino&&x.dev===v.dev)throw new Error(D(w,m,_));return E(w,v,A,_)}function g(w,v){let m=s.resolve(w).split(s.sep).filter(S=>S),_=s.resolve(v).split(s.sep).filter(S=>S);return m.reduce((S,A,x)=>S&&_[x]===A,!0)}function D(w,v,m){return`Cannot ${m} '${w}' to a subdirectory of itself, '${v}'.`}l.exports={checkPaths:h,checkPathsSync:y,checkParentPaths:b,checkParentPathsSync:E,isSrcSubdir:g}}),fl=N((t,l)=>{"use strict";B(),l.exports=function(n){if(typeof Buffer.allocUnsafe=="function")try{return Buffer.allocUnsafe(n)}catch{return new Buffer(n)}return new Buffer(n)}}),pl=N((t,l)=>{"use strict";B();var n=Ct(),s=Z("path"),i=Kt().mkdirsSync,p=gi().utimesMillisSync,u=or();function r(v,m,_){typeof _=="function"&&(_={filter:_}),_=_||{},_.clobber="clobber"in _?!!_.clobber:!0,_.overwrite="overwrite"in _?!!_.overwrite:_.clobber,_.preserveTimestamps&&process.arch==="ia32"&&console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;
|
55
|
+
@babel/runtime/helpers/regeneratorRuntime.js:
|
56
|
+
(*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE *)
|
35
57
|
|
36
|
-
|
58
|
+
is-extglob/index.js:
|
59
|
+
(*!
|
60
|
+
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
61
|
+
*
|
62
|
+
* Copyright (c) 2014-2016, Jon Schlinkert.
|
63
|
+
* Licensed under the MIT License.
|
64
|
+
*)
|
37
65
|
|
38
|
-
see https://github.com/jprichardson/node-fs-extra/issues/269`),r.checkPaths(A,x,"copy",(F,O)=>{if(F)return T(F);let{srcStat:I,destStat:$}=O;r.checkParentPaths(A,I,x,"copy",R=>R?T(R):L.filter?a(f,$,A,x,L,T):f($,A,x,L,T))})}function f(A,x,L,T,F){let O=s.dirname(L);p(O,(I,$)=>{if(I)return F(I);if($)return c(A,x,L,T,F);i(O,R=>R?F(R):c(A,x,L,T,F))})}function a(A,x,L,T,F,O){Promise.resolve(F.filter(L,T)).then(I=>I?A(x,L,T,F,O):O(),I=>O(I))}function c(A,x,L,T,F){return T.filter?a(o,A,x,L,T,F):o(A,x,L,T,F)}function o(A,x,L,T,F){(T.dereference?n.stat:n.lstat)(x,(O,I)=>{if(O)return F(O);if(I.isDirectory())return g(I,A,x,L,T,F);if(I.isFile()||I.isCharacterDevice()||I.isBlockDevice())return d(I,A,x,L,T,F);if(I.isSymbolicLink())return _(A,x,L,T,F)})}function d(A,x,L,T,F,O){return x?h(A,L,T,F,O):y(A,L,T,F,O)}function h(A,x,L,T,F){if(T.overwrite)n.unlink(L,O=>O?F(O):y(A,x,L,T,F));else return T.errorOnExist?F(new Error(`'${L}' already exists`)):F()}function y(A,x,L,T,F){return typeof n.copyFile=="function"?n.copyFile(x,L,O=>O?F(O):E(A,L,T,F)):b(A,x,L,T,F)}function b(A,x,L,T,F){let O=n.createReadStream(x);O.on("error",I=>F(I)).once("open",()=>{let I=n.createWriteStream(L,{mode:A.mode});I.on("error",$=>F($)).on("open",()=>O.pipe(I)).once("close",()=>E(A,L,T,F))})}function E(A,x,L,T){n.chmod(x,A.mode,F=>F?T(F):L.preserveTimestamps?u(x,A.atime,A.mtime,T):T())}function g(A,x,L,T,F,O){return x?x&&!x.isDirectory()?O(new Error(`Cannot overwrite non-directory '${T}' with directory '${L}'.`)):w(L,T,F,O):D(A,L,T,F,O)}function D(A,x,L,T,F){n.mkdir(L,O=>{if(O)return F(O);w(x,L,T,I=>I?F(I):n.chmod(L,A.mode,F))})}function w(A,x,L,T){n.readdir(A,(F,O)=>F?T(F):v(O,A,x,L,T))}function v(A,x,L,T,F){let O=A.pop();return O?m(A,O,x,L,T,F):F()}function m(A,x,L,T,F,O){let I=s.join(L,x),$=s.join(T,x);r.checkPaths(I,$,"copy",(R,q)=>{if(R)return O(R);let{destStat:W}=q;c(W,I,$,F,Q=>Q?O(Q):v(A,L,T,F,O))})}function _(A,x,L,T,F){n.readlink(x,(O,I)=>{if(O)return F(O);if(T.dereference&&(I=s.resolve(process.cwd(),I)),A)n.readlink(L,($,R)=>$?$.code==="EINVAL"||$.code==="UNKNOWN"?n.symlink(I,L,F):F($):(T.dereference&&(R=s.resolve(process.cwd(),R)),r.isSrcSubdir(I,R)?F(new Error(`Cannot copy '${I}' to a subdirectory of itself, '${R}'.`)):A.isDirectory()&&r.isSrcSubdir(R,I)?F(new Error(`Cannot overwrite '${R}' with '${I}'.`)):S(I,L,F)));else return n.symlink(I,L,F)})}function S(A,x,L){n.unlink(x,T=>T?L(T):n.symlink(A,x,L))}l.exports=e}),vi=N((t,l)=>{"use strict";B();var n=Vt().fromCallback;l.exports={copy:n(dl())}}),ml=N((t,l)=>{"use strict";B();var n=Ct(),s=Z("path"),i=Z("assert"),p=process.platform==="win32";function u(b){["unlink","chmod","stat","lstat","rmdir","readdir"].forEach(E=>{b[E]=b[E]||n[E],E=E+"Sync",b[E]=b[E]||n[E]}),b.maxBusyTries=b.maxBusyTries||3}function r(b,E,g){let D=0;typeof E=="function"&&(g=E,E={}),i(b,"rimraf: missing path"),i.strictEqual(typeof b,"string","rimraf: path should be a string"),i.strictEqual(typeof g,"function","rimraf: callback function required"),i(E,"rimraf: invalid options argument provided"),i.strictEqual(typeof E,"object","rimraf: options should be object"),u(E),e(b,E,function w(v){if(v){if((v.code==="EBUSY"||v.code==="ENOTEMPTY"||v.code==="EPERM")&&D<E.maxBusyTries){D++;let m=D*100;return setTimeout(()=>e(b,E,w),m)}v.code==="ENOENT"&&(v=null)}g(v)})}function e(b,E,g){i(b),i(E),i(typeof g=="function"),E.lstat(b,(D,w)=>{if(D&&D.code==="ENOENT")return g(null);if(D&&D.code==="EPERM"&&p)return f(b,E,D,g);if(w&&w.isDirectory())return c(b,E,D,g);E.unlink(b,v=>{if(v){if(v.code==="ENOENT")return g(null);if(v.code==="EPERM")return p?f(b,E,v,g):c(b,E,v,g);if(v.code==="EISDIR")return c(b,E,v,g)}return g(v)})})}function f(b,E,g,D){i(b),i(E),i(typeof D=="function"),g&&i(g instanceof Error),E.chmod(b,438,w=>{w?D(w.code==="ENOENT"?null:g):E.stat(b,(v,m)=>{v?D(v.code==="ENOENT"?null:g):m.isDirectory()?c(b,E,g,D):E.unlink(b,D)})})}function a(b,E,g){let D;i(b),i(E),g&&i(g instanceof Error);try{E.chmodSync(b,438)}catch(w){if(w.code==="ENOENT")return;throw g}try{D=E.statSync(b)}catch(w){if(w.code==="ENOENT")return;throw g}D.isDirectory()?h(b,E,g):E.unlinkSync(b)}function c(b,E,g,D){i(b),i(E),g&&i(g instanceof Error),i(typeof D=="function"),E.rmdir(b,w=>{w&&(w.code==="ENOTEMPTY"||w.code==="EEXIST"||w.code==="EPERM")?o(b,E,D):w&&w.code==="ENOTDIR"?D(g):D(w)})}function o(b,E,g){i(b),i(E),i(typeof g=="function"),E.readdir(b,(D,w)=>{if(D)return g(D);let v=w.length,m;if(v===0)return E.rmdir(b,g);w.forEach(_=>{r(s.join(b,_),E,S=>{if(!m){if(S)return g(m=S);--v===0&&E.rmdir(b,g)}})})})}function d(b,E){let g;E=E||{},u(E),i(b,"rimraf: missing path"),i.strictEqual(typeof b,"string","rimraf: path should be a string"),i(E,"rimraf: missing options"),i.strictEqual(typeof E,"object","rimraf: options should be object");try{g=E.lstatSync(b)}catch(D){if(D.code==="ENOENT")return;D.code==="EPERM"&&p&&a(b,E,D)}try{g&&g.isDirectory()?h(b,E,null):E.unlinkSync(b)}catch(D){if(D.code==="ENOENT")return;if(D.code==="EPERM")return p?a(b,E,D):h(b,E,D);if(D.code!=="EISDIR")throw D;h(b,E,D)}}function h(b,E,g){i(b),i(E),g&&i(g instanceof Error);try{E.rmdirSync(b)}catch(D){if(D.code==="ENOTDIR")throw g;if(D.code==="ENOTEMPTY"||D.code==="EEXIST"||D.code==="EPERM")y(b,E);else if(D.code!=="ENOENT")throw D}}function y(b,E){if(i(b),i(E),E.readdirSync(b).forEach(g=>d(s.join(b,g),E)),p){let g=Date.now();do try{return E.rmdirSync(b,E)}catch{}while(Date.now()-g<500)}else return E.rmdirSync(b,E)}l.exports=r,r.sync=d}),ur=N((t,l)=>{"use strict";B();var n=Vt().fromCallback,s=ml();l.exports={remove:n(s),removeSync:s.sync}}),yl=N((t,l)=>{"use strict";B();var n=Vt().fromCallback,s=Ct(),i=Z("path"),p=Kt(),u=ur(),r=n(function(f,a){a=a||function(){},s.readdir(f,(c,o)=>{if(c)return p.mkdirs(f,a);o=o.map(h=>i.join(f,h)),d();function d(){let h=o.pop();if(!h)return a();u.remove(h,y=>{if(y)return a(y);d()})}})});function e(f){let a;try{a=s.readdirSync(f)}catch{return p.mkdirsSync(f)}a.forEach(c=>{c=i.join(f,c),u.removeSync(c)})}l.exports={emptyDirSync:e,emptydirSync:e,emptyDir:r,emptydir:r}}),gl=N((t,l)=>{"use strict";B();var n=Vt().fromCallback,s=Z("path"),i=Ct(),p=Kt(),u=ie().pathExists;function r(f,a){function c(){i.writeFile(f,"",o=>{if(o)return a(o);a()})}i.stat(f,(o,d)=>{if(!o&&d.isFile())return a();let h=s.dirname(f);u(h,(y,b)=>{if(y)return a(y);if(b)return c();p.mkdirs(h,E=>{if(E)return a(E);c()})})})}function e(f){let a;try{a=i.statSync(f)}catch{}if(a&&a.isFile())return;let c=s.dirname(f);i.existsSync(c)||p.mkdirsSync(c),i.writeFileSync(f,"")}l.exports={createFile:n(r),createFileSync:e}}),bl=N((t,l)=>{"use strict";B();var n=Vt().fromCallback,s=Z("path"),i=Ct(),p=Kt(),u=ie().pathExists;function r(f,a,c){function o(d,h){i.link(d,h,y=>{if(y)return c(y);c(null)})}u(a,(d,h)=>{if(d)return c(d);if(h)return c(null);i.lstat(f,y=>{if(y)return y.message=y.message.replace("lstat","ensureLink"),c(y);let b=s.dirname(a);u(b,(E,g)=>{if(E)return c(E);if(g)return o(f,a);p.mkdirs(b,D=>{if(D)return c(D);o(f,a)})})})})}function e(f,a){if(i.existsSync(a))return;try{i.lstatSync(f)}catch(o){throw o.message=o.message.replace("lstat","ensureLink"),o}let c=s.dirname(a);return i.existsSync(c)||p.mkdirsSync(c),i.linkSync(f,a)}l.exports={createLink:n(r),createLinkSync:e}}),vl=N((t,l)=>{"use strict";B();var n=Z("path"),s=Ct(),i=ie().pathExists;function p(r,e,f){if(n.isAbsolute(r))return s.lstat(r,a=>a?(a.message=a.message.replace("lstat","ensureSymlink"),f(a)):f(null,{toCwd:r,toDst:r}));{let a=n.dirname(e),c=n.join(a,r);return i(c,(o,d)=>o?f(o):d?f(null,{toCwd:c,toDst:r}):s.lstat(r,h=>h?(h.message=h.message.replace("lstat","ensureSymlink"),f(h)):f(null,{toCwd:r,toDst:n.relative(a,r)})))}}function u(r,e){let f;if(n.isAbsolute(r)){if(f=s.existsSync(r),!f)throw new Error("absolute srcpath does not exist");return{toCwd:r,toDst:r}}else{let a=n.dirname(e),c=n.join(a,r);if(f=s.existsSync(c),f)return{toCwd:c,toDst:r};if(f=s.existsSync(r),!f)throw new Error("relative srcpath does not exist");return{toCwd:r,toDst:n.relative(a,r)}}}l.exports={symlinkPaths:p,symlinkPathsSync:u}}),El=N((t,l)=>{"use strict";B();var n=Ct();function s(p,u,r){if(r=typeof u=="function"?u:r,u=typeof u=="function"?!1:u,u)return r(null,u);n.lstat(p,(e,f)=>{if(e)return r(null,"file");u=f&&f.isDirectory()?"dir":"file",r(null,u)})}function i(p,u){let r;if(u)return u;try{r=n.lstatSync(p)}catch{return"file"}return r&&r.isDirectory()?"dir":"file"}l.exports={symlinkType:s,symlinkTypeSync:i}}),_l=N((t,l)=>{"use strict";B();var n=Vt().fromCallback,s=Z("path"),i=Ct(),p=Kt(),u=p.mkdirs,r=p.mkdirsSync,e=vl(),f=e.symlinkPaths,a=e.symlinkPathsSync,c=El(),o=c.symlinkType,d=c.symlinkTypeSync,h=ie().pathExists;function y(E,g,D,w){w=typeof D=="function"?D:w,D=typeof D=="function"?!1:D,h(g,(v,m)=>{if(v)return w(v);if(m)return w(null);f(E,g,(_,S)=>{if(_)return w(_);E=S.toDst,o(S.toCwd,D,(A,x)=>{if(A)return w(A);let L=s.dirname(g);h(L,(T,F)=>{if(T)return w(T);if(F)return i.symlink(E,g,x,w);u(L,O=>{if(O)return w(O);i.symlink(E,g,x,w)})})})})})}function b(E,g,D){if(i.existsSync(g))return;let w=a(E,g);E=w.toDst,D=d(w.toCwd,D);let v=s.dirname(g);return i.existsSync(v)||r(v),i.symlinkSync(E,g,D)}l.exports={createSymlink:n(y),createSymlinkSync:b}}),wl=N((t,l)=>{"use strict";B();var n=gl(),s=bl(),i=_l();l.exports={createFile:n.createFile,createFileSync:n.createFileSync,ensureFile:n.createFile,ensureFileSync:n.createFileSync,createLink:s.createLink,createLinkSync:s.createLinkSync,ensureLink:s.createLink,ensureLinkSync:s.createLinkSync,createSymlink:i.createSymlink,createSymlinkSync:i.createSymlinkSync,ensureSymlink:i.createSymlink,ensureSymlinkSync:i.createSymlinkSync}}),Dl=N((t,l)=>{B();var n;try{n=Ct()}catch{n=Z("fs")}function s(a,c,o){o==null&&(o=c,c={}),typeof c=="string"&&(c={encoding:c}),c=c||{};var d=c.fs||n,h=!0;"throws"in c&&(h=c.throws),d.readFile(a,c,function(y,b){if(y)return o(y);b=e(b);var E;try{E=JSON.parse(b,c?c.reviver:null)}catch(g){return h?(g.message=a+": "+g.message,o(g)):o(null,null)}o(null,E)})}function i(a,c){c=c||{},typeof c=="string"&&(c={encoding:c});var o=c.fs||n,d=!0;"throws"in c&&(d=c.throws);try{var h=o.readFileSync(a,c);return h=e(h),JSON.parse(h,c.reviver)}catch(y){if(d)throw y.message=a+": "+y.message,y;return null}}function p(a,c){var o,d=`
|
39
|
-
`;typeof c=="object"&&c!==null&&(c.spaces&&(o=c.spaces),c.EOL&&(d=c.EOL));var h=JSON.stringify(a,c?c.replacer:null,o);return h.replace(/\n/g,d)+d}function u(a,c,o,d){d==null&&(d=o,o={}),o=o||{};var h=o.fs||n,y="";try{y=p(c,o)}catch(b){d&&d(b,null);return}h.writeFile(a,y,o,d)}function r(a,c,o){o=o||{};var d=o.fs||n,h=p(c,o);return d.writeFileSync(a,h,o)}function e(a){return Buffer.isBuffer(a)&&(a=a.toString("utf8")),a=a.replace(/^\uFEFF/,""),a}var f={readFile:s,readFileSync:i,writeFile:u,writeFileSync:r};l.exports=f}),Gr=N((t,l)=>{"use strict";B();var n=Vt().fromCallback,s=Dl();l.exports={readJson:n(s.readFile),readJsonSync:s.readFileSync,writeJson:n(s.writeFile),writeJsonSync:s.writeFileSync}}),Sl=N((t,l)=>{"use strict";B();var n=Z("path"),s=Kt(),i=ie().pathExists,p=Gr();function u(r,e,f,a){typeof f=="function"&&(a=f,f={});let c=n.dirname(r);i(c,(o,d)=>{if(o)return a(o);if(d)return p.writeJson(r,e,f,a);s.mkdirs(c,h=>{if(h)return a(h);p.writeJson(r,e,f,a)})})}l.exports=u}),Al=N((t,l)=>{"use strict";B();var n=Ct(),s=Z("path"),i=Kt(),p=Gr();function u(r,e,f){let a=s.dirname(r);n.existsSync(a)||i.mkdirsSync(a),p.writeJsonSync(r,e,f)}l.exports=u}),Cl=N((t,l)=>{"use strict";B();var n=Vt().fromCallback,s=Gr();s.outputJson=n(Sl()),s.outputJsonSync=Al(),s.outputJSON=s.outputJson,s.outputJSONSync=s.outputJsonSync,s.writeJSON=s.writeJson,s.writeJSONSync=s.writeJsonSync,s.readJSON=s.readJson,s.readJSONSync=s.readJsonSync,l.exports=s}),xl=N((t,l)=>{"use strict";B();var n=Ct(),s=Z("path"),i=bi().copySync,p=ur().removeSync,u=Kt().mkdirpSync,r=or();function e(o,d,h){h=h||{};let y=h.overwrite||h.clobber||!1,{srcStat:b}=r.checkPathsSync(o,d,"move");return r.checkParentPathsSync(o,b,d,"move"),u(s.dirname(d)),f(o,d,y)}function f(o,d,h){if(h)return p(d),a(o,d,h);if(n.existsSync(d))throw new Error("dest already exists.");return a(o,d,h)}function a(o,d,h){try{n.renameSync(o,d)}catch(y){if(y.code!=="EXDEV")throw y;return c(o,d,h)}}function c(o,d,h){return i(o,d,{overwrite:h,errorOnExist:!0}),p(o)}l.exports=e}),Fl=N((t,l)=>{"use strict";B(),l.exports={moveSync:xl()}}),kl=N((t,l)=>{"use strict";B();var n=Ct(),s=Z("path"),i=vi().copy,p=ur().remove,u=Kt().mkdirp,r=ie().pathExists,e=or();function f(d,h,y,b){typeof y=="function"&&(b=y,y={});let E=y.overwrite||y.clobber||!1;e.checkPaths(d,h,"move",(g,D)=>{if(g)return b(g);let{srcStat:w}=D;e.checkParentPaths(d,w,h,"move",v=>{if(v)return b(v);u(s.dirname(h),m=>m?b(m):a(d,h,E,b))})})}function a(d,h,y,b){if(y)return p(h,E=>E?b(E):c(d,h,y,b));r(h,(E,g)=>E?b(E):g?b(new Error("dest already exists.")):c(d,h,y,b))}function c(d,h,y,b){n.rename(d,h,E=>E?E.code!=="EXDEV"?b(E):o(d,h,y,b):b())}function o(d,h,y,b){i(d,h,{overwrite:y,errorOnExist:!0},E=>E?b(E):p(d,b))}l.exports=f}),Ol=N((t,l)=>{"use strict";B();var n=Vt().fromCallback;l.exports={move:n(kl())}}),Rl=N((t,l)=>{"use strict";B();var n=Vt().fromCallback,s=Ct(),i=Z("path"),p=Kt(),u=ie().pathExists;function r(f,a,c,o){typeof c=="function"&&(o=c,c="utf8");let d=i.dirname(f);u(d,(h,y)=>{if(h)return o(h);if(y)return s.writeFile(f,a,c,o);p.mkdirs(d,b=>{if(b)return o(b);s.writeFile(f,a,c,o)})})}function e(f,...a){let c=i.dirname(f);if(s.existsSync(c))return s.writeFileSync(f,...a);p.mkdirsSync(c),s.writeFileSync(f,...a)}l.exports={outputFile:n(r),outputFileSync:e}}),Tl=N((t,l)=>{"use strict";B(),l.exports=Object.assign({},mi(),bi(),vi(),yl(),wl(),Cl(),Kt(),Fl(),Ol(),Rl(),ie(),ur());var n=Z("fs");Object.getOwnPropertyDescriptor(n,"promises")&&Object.defineProperty(l.exports,"promises",{get(){return n.promises}})});B();B();var nm=Ot(nl());B();B();function Bl(t,l){if(!(t instanceof l))throw new TypeError("Cannot call a class as a function")}B();B();function Mr(t){return Mr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},Mr(t)}B();function Pl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ll(t,l){if(l&&(Mr(l)==="object"||typeof l=="function"))return l;if(l!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Pl(t)}B();function ir(t){return ir=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},ir(t)}B();B();function Me(t,l){return Me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Me(t,l)}function Il(t,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(l&&l.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),l&&Me(t,l)}B();B();function Nl(t){return Function.toString.call(t).indexOf("[native code]")!==-1}B();B();function jl(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function nr(t,l,n){return jl()?nr=Reflect.construct.bind():nr=function(s,i,p){var u=[null];u.push.apply(u,i);var r=Function.bind.apply(s,u),e=new r;return p&&Me(e,p.prototype),e},nr.apply(null,arguments)}function $r(t){var l=typeof Map=="function"?new Map:void 0;return $r=function(n){if(n===null||!Nl(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof l<"u"){if(l.has(n))return l.get(n);l.set(n,s)}function s(){return nr(n,arguments,ir(this).constructor)}return s.prototype=Object.create(n.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),Me(s,n)},$r(t)}var Ml=Ot(ll()),zr=Ot(Tl()),$l=function(t){Il(l,t);function l(n){var s;return Bl(this,l),s=Ll(this,ir(l).call(this,"No package.json could be found upwards from the directory ".concat(n))),s.directory=n,s}return l}($r(Error));function Hl(t,l){try{var n=zr.default.readJsonSync(ar.default.join(t,"package.json"));if(l.current===void 0&&(l.current=t),n.workspaces||n.bolt)return t}catch(s){if(s.code!=="ENOENT")throw s}}function Ul(t){try{var l=zr.default.readJsonSync(ar.default.join(t,"lerna.json"));if(l.useWorkspaces!==!0)return t}catch(n){if(n.code!=="ENOENT")throw n}}function ql(t){var l=zr.default.existsSync(ar.default.join(t,"pnpm-workspace.yaml"));if(l)return t}function Gl(t){var l={current:void 0},n=(0,Ml.sync)(function(s){return[Ul(s),Hl(s,l),ql(s)].find(function(i){return i})},{cwd:t,type:"directory"});if(l.current===void 0)throw new $l(t);return n===void 0?l.current:n}B();var zl=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,Wl=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,Vl=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,Ir={Space_Separator:zl,ID_Start:Wl,ID_Continue:Vl},Pt={isSpaceSeparator(t){return typeof t=="string"&&Ir.Space_Separator.test(t)},isIdStartChar(t){return typeof t=="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t==="$"||t==="_"||Ir.ID_Start.test(t))},isIdContinueChar(t){return typeof t=="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||t==="$"||t==="_"||t==="\u200C"||t==="\u200D"||Ir.ID_Continue.test(t))},isDigit(t){return typeof t=="string"&&/[0-9]/.test(t)},isHexDigit(t){return typeof t=="string"&&/[0-9A-Fa-f]/.test(t)}},Hr,qt,re,sr,ae,Jt,Mt,Wr,je,Kl=function(t,l){Hr=String(t),qt="start",re=[],sr=0,ae=1,Jt=0,Mt=void 0,Wr=void 0,je=void 0;do Mt=Yl(),Xl[qt]();while(Mt.type!=="eof");return typeof l=="function"?Ur({"":je},"",l):je};function Ur(t,l,n){let s=t[l];if(s!=null&&typeof s=="object")if(Array.isArray(s))for(let i=0;i<s.length;i++){let p=String(i),u=Ur(s,p,n);u===void 0?delete s[p]:Object.defineProperty(s,p,{value:u,writable:!0,enumerable:!0,configurable:!0})}else for(let i in s){let p=Ur(s,i,n);p===void 0?delete s[i]:Object.defineProperty(s,i,{value:p,writable:!0,enumerable:!0,configurable:!0})}return n.call(t,l,s)}var Dt,wt,Ne,ee,At;function Yl(){for(Dt="default",wt="",Ne=!1,ee=1;;){At=ne();let t=Ei[Dt]();if(t)return t}}function ne(){if(Hr[sr])return String.fromCodePoint(Hr.codePointAt(sr))}function st(){let t=ne();return t===`
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
`:case"\u2028":case"\u2029":return st(),"";case"\r":return st(),ne()===`
|
46
|
-
`&&st(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw Tt(st());case void 0:throw Tt(st())}return st()}function Zl(){let t="",l=ne();if(!Pt.isHexDigit(l)||(t+=st(),l=ne(),!Pt.isHexDigit(l)))throw Tt(st());return t+=st(),String.fromCodePoint(parseInt(t,16))}function qr(){let t="",l=4;for(;l-- >0;){let n=ne();if(!Pt.isHexDigit(n))throw Tt(st());t+=st()}return String.fromCodePoint(parseInt(t,16))}var Xl={start(){if(Mt.type==="eof")throw ye();Nr()},beforePropertyName(){switch(Mt.type){case"identifier":case"string":Wr=Mt.value,qt="afterPropertyName";return;case"punctuator":rr();return;case"eof":throw ye()}},afterPropertyName(){if(Mt.type==="eof")throw ye();qt="beforePropertyValue"},beforePropertyValue(){if(Mt.type==="eof")throw ye();Nr()},beforeArrayValue(){if(Mt.type==="eof")throw ye();if(Mt.type==="punctuator"&&Mt.value==="]"){rr();return}Nr()},afterPropertyValue(){if(Mt.type==="eof")throw ye();switch(Mt.value){case",":qt="beforePropertyName";return;case"}":rr()}},afterArrayValue(){if(Mt.type==="eof")throw ye();switch(Mt.value){case",":qt="beforeArrayValue";return;case"]":rr()}},end(){}};function Nr(){let t;switch(Mt.type){case"punctuator":switch(Mt.value){case"{":t={};break;case"[":t=[];break}break;case"null":case"boolean":case"numeric":case"string":t=Mt.value;break}if(je===void 0)je=t;else{let l=re[re.length-1];Array.isArray(l)?l.push(t):Object.defineProperty(l,Wr,{value:t,writable:!0,enumerable:!0,configurable:!0})}if(t!==null&&typeof t=="object")re.push(t),Array.isArray(t)?qt="beforeArrayValue":qt="beforePropertyName";else{let l=re[re.length-1];l==null?qt="end":Array.isArray(l)?qt="afterArrayValue":qt="afterPropertyValue"}}function rr(){re.pop();let t=re[re.length-1];t==null?qt="end":Array.isArray(t)?qt="afterArrayValue":qt="afterPropertyValue"}function Tt(t){return Vr(t===void 0?`JSON5: invalid end of input at ${ae}:${Jt}`:`JSON5: invalid character '${_i(t)}' at ${ae}:${Jt}`)}function ye(){return Vr(`JSON5: invalid end of input at ${ae}:${Jt}`)}function di(){return Jt-=5,Vr(`JSON5: invalid identifier character at ${ae}:${Jt}`)}function Ql(t){console.warn(`JSON5: '${_i(t)}' in strings is not valid ECMAScript; consider escaping`)}function _i(t){let l={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(l[t])return l[t];if(t<" "){let n=t.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return t}function Vr(t){let l=new SyntaxError(t);return l.lineNumber=ae,l.columnNumber=Jt,l}var tc=function(t,l,n){let s=[],i="",p,u,r="",e;if(l!=null&&typeof l=="object"&&!Array.isArray(l)&&(n=l.space,e=l.quote,l=l.replacer),typeof l=="function")u=l;else if(Array.isArray(l)){p=[];for(let h of l){let y;typeof h=="string"?y=h:(typeof h=="number"||h instanceof String||h instanceof Number)&&(y=String(h)),y!==void 0&&p.indexOf(y)<0&&p.push(y)}}return n instanceof Number?n=Number(n):n instanceof String&&(n=String(n)),typeof n=="number"?n>0&&(n=Math.min(10,Math.floor(n)),r=" ".substr(0,n)):typeof n=="string"&&(r=n.substr(0,10)),f("",{"":t});function f(h,y){let b=y[h];switch(b!=null&&(typeof b.toJSON5=="function"?b=b.toJSON5(h):typeof b.toJSON=="function"&&(b=b.toJSON(h))),u&&(b=u.call(y,h,b)),b instanceof Number?b=Number(b):b instanceof String?b=String(b):b instanceof Boolean&&(b=b.valueOf()),b){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof b=="string")return a(b,!1);if(typeof b=="number")return String(b);if(typeof b=="object")return Array.isArray(b)?d(b):c(b)}function a(h){let y={"'":.1,'"':.2},b={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},E="";for(let D=0;D<h.length;D++){let w=h[D];switch(w){case"'":case'"':y[w]++,E+=w;continue;case"\0":if(Pt.isDigit(h[D+1])){E+="\\x00";continue}}if(b[w]){E+=b[w];continue}if(w<" "){let v=w.charCodeAt(0).toString(16);E+="\\x"+("00"+v).substring(v.length);continue}E+=w}let g=e||Object.keys(y).reduce((D,w)=>y[D]<y[w]?D:w);return E=E.replace(new RegExp(g,"g"),b[g]),g+E+g}function c(h){if(s.indexOf(h)>=0)throw TypeError("Converting circular structure to JSON5");s.push(h);let y=i;i=i+r;let b=p||Object.keys(h),E=[];for(let D of b){let w=f(D,h);if(w!==void 0){let v=o(D)+":";r!==""&&(v+=" "),v+=w,E.push(v)}}let g;if(E.length===0)g="{}";else{let D;if(r==="")D=E.join(","),g="{"+D+"}";else{let w=`,
|
47
|
-
`+i;D=E.join(w),g=`{
|
48
|
-
`+i+D+`,
|
49
|
-
`+y+"}"}}return s.pop(),i=y,g}function o(h){if(h.length===0)return a(h,!0);let y=String.fromCodePoint(h.codePointAt(0));if(!Pt.isIdStartChar(y))return a(h,!0);for(let b=y.length;b<h.length;b++)if(!Pt.isIdContinueChar(String.fromCodePoint(h.codePointAt(b))))return a(h,!0);return h}function d(h){if(s.indexOf(h)>=0)throw TypeError("Converting circular structure to JSON5");s.push(h);let y=i;i=i+r;let b=[];for(let g=0;g<h.length;g++){let D=f(String(g),h);b.push(D!==void 0?D:"null")}let E;if(b.length===0)E="[]";else if(r==="")E="["+b.join(",")+"]";else{let g=`,
|
50
|
-
`+i,D=b.join(g);E=`[
|
51
|
-
`+i+D+`,
|
52
|
-
`+y+"]"}return s.pop(),i=y,E}},ec={parse:Kl,stringify:tc},rc=ec,Kr=rc;function nc(t){let l=Kr.parse(t);return!(l&&"extends"in l)}var jr={};function Yr(t,l){var n;let s=(n=l==null?void 0:l.cache)!=null?n:!0,i=t||process.cwd();if(s&&jr[i])return jr[i];let p=Lr({target:"turbo.json",cwd:i,contentCheck:nc});if(!p)try{if(p=Gl(i),!p)return null}catch{return null}return s&&(jr[i]=p),p}var He=Yt(require("fs"),1),be=Yt(require("path"),1),ic=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.splitWhen=t.flatten=void 0;function l(s){return s.reduce((i,p)=>[].concat(i,p),[])}t.flatten=l;function n(s,i){let p=[[]],u=0;for(let r of s)i(r)?(u++,p[u]=[]):p[u].push(r);return p}t.splitWhen=n}),sc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.isEnoentCodeError=void 0;function l(n){return n.code==="ENOENT"}t.isEnoentCodeError=l}),oc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;var l=class{constructor(s,i){this.name=s,this.isBlockDevice=i.isBlockDevice.bind(i),this.isCharacterDevice=i.isCharacterDevice.bind(i),this.isDirectory=i.isDirectory.bind(i),this.isFIFO=i.isFIFO.bind(i),this.isFile=i.isFile.bind(i),this.isSocket=i.isSocket.bind(i),this.isSymbolicLink=i.isSymbolicLink.bind(i)}};function n(s,i){return new l(s,i)}t.createDirentFromStats=n}),uc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.removeLeadingDotSegment=t.escape=t.makeAbsolute=t.unixify=void 0;var l=Z("path"),n=2,s=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function i(e){return e.replace(/\\/g,"/")}t.unixify=i;function p(e,f){return l.resolve(e,f)}t.makeAbsolute=p;function u(e){return e.replace(s,"\\$2")}t.escape=u;function r(e){if(e.charAt(0)==="."){let f=e.charAt(1);if(f==="/"||f==="\\")return e.slice(n)}return e}t.removeLeadingDotSegment=r}),ac=N((t,l)=>{B(),l.exports=function(n){if(typeof n!="string"||n==="")return!1;for(var s;s=/(\\).|([@?!+*]\(.*\))/g.exec(n);){if(s[2])return!0;n=n.slice(s.index+s[0].length)}return!1}}),lc=N((t,l)=>{B();var n=ac(),s={"{":"}","(":")","[":"]"},i=function(u){if(u[0]==="!")return!0;for(var r=0,e=-2,f=-2,a=-2,c=-2,o=-2;r<u.length;){if(u[r]==="*"||u[r+1]==="?"&&/[\].+)]/.test(u[r])||f!==-1&&u[r]==="["&&u[r+1]!=="]"&&(f<r&&(f=u.indexOf("]",r)),f>r&&(o===-1||o>f||(o=u.indexOf("\\",r),o===-1||o>f)))||a!==-1&&u[r]==="{"&&u[r+1]!=="}"&&(a=u.indexOf("}",r),a>r&&(o=u.indexOf("\\",r),o===-1||o>a))||c!==-1&&u[r]==="("&&u[r+1]==="?"&&/[:!=]/.test(u[r+2])&&u[r+3]!==")"&&(c=u.indexOf(")",r),c>r&&(o=u.indexOf("\\",r),o===-1||o>c))||e!==-1&&u[r]==="("&&u[r+1]!=="|"&&(e<r&&(e=u.indexOf("|",r)),e!==-1&&u[e+1]!==")"&&(c=u.indexOf(")",e),c>e&&(o=u.indexOf("\\",e),o===-1||o>c))))return!0;if(u[r]==="\\"){var d=u[r+1];r+=2;var h=s[d];if(h){var y=u.indexOf(h,r);y!==-1&&(r=y+1)}if(u[r]==="!")return!0}else r++}return!1},p=function(u){if(u[0]==="!")return!0;for(var r=0;r<u.length;){if(/[*?{}()[\]]/.test(u[r]))return!0;if(u[r]==="\\"){var e=u[r+1];r+=2;var f=s[e];if(f){var a=u.indexOf(f,r);a!==-1&&(r=a+1)}if(u[r]==="!")return!0}else r++}return!1};l.exports=function(u,r){if(typeof u!="string"||u==="")return!1;if(n(u))return!0;var e=i;return r&&r.strict===!1&&(e=p),e(u)}}),cc=N((t,l)=>{"use strict";B();var n=lc(),s=Z("path").posix.dirname,i=Z("os").platform()==="win32",p="/",u=/\\/g,r=/[\{\[].*[\}\]]$/,e=/(^|[^\\])([\{\[]|\([^\)]+$)/,f=/\\([\!\*\?\|\[\]\(\)\{\}])/g;l.exports=function(a,c){var o=Object.assign({flipBackslashes:!0},c);o.flipBackslashes&&i&&a.indexOf(p)<0&&(a=a.replace(u,p)),r.test(a)&&(a+=p),a+="a";do a=s(a);while(n(a)||e.test(a));return a.replace(f,"$1")}}),on=N(t=>{"use strict";B(),t.isInteger=l=>typeof l=="number"?Number.isInteger(l):typeof l=="string"&&l.trim()!==""?Number.isInteger(Number(l)):!1,t.find=(l,n)=>l.nodes.find(s=>s.type===n),t.exceedsLimit=(l,n,s=1,i)=>i===!1||!t.isInteger(l)||!t.isInteger(n)?!1:(Number(n)-Number(l))/Number(s)>=i,t.escapeNode=(l,n=0,s)=>{let i=l.nodes[n];!i||(s&&i.type===s||i.type==="open"||i.type==="close")&&i.escaped!==!0&&(i.value="\\"+i.value,i.escaped=!0)},t.encloseBrace=l=>l.type!=="brace"||l.commas>>0+l.ranges>>0?!1:(l.invalid=!0,!0),t.isInvalidBrace=l=>l.type!=="brace"?!1:l.invalid===!0||l.dollar?!0:!(l.commas>>0+l.ranges>>0)||l.open!==!0||l.close!==!0?(l.invalid=!0,!0):!1,t.isOpenOrClose=l=>l.type==="open"||l.type==="close"?!0:l.open===!0||l.close===!0,t.reduce=l=>l.reduce((n,s)=>(s.type==="text"&&n.push(s.value),s.type==="range"&&(s.type="text"),n),[]),t.flatten=(...l)=>{let n=[],s=i=>{for(let p=0;p<i.length;p++){let u=i[p];Array.isArray(u)?s(u,n):u!==void 0&&n.push(u)}return n};return s(l),n}}),un=N((t,l)=>{"use strict";B();var n=on();l.exports=(s,i={})=>{let p=(u,r={})=>{let e=i.escapeInvalid&&n.isInvalidBrace(r),f=u.invalid===!0&&i.escapeInvalid===!0,a="";if(u.value)return(e||f)&&n.isOpenOrClose(u)?"\\"+u.value:u.value;if(u.value)return u.value;if(u.nodes)for(let c of u.nodes)a+=p(c);return a};return p(s)}}),hc=N((t,l)=>{"use strict";B(),l.exports=function(n){return typeof n=="number"?n-n===0:typeof n=="string"&&n.trim()!==""?Number.isFinite?Number.isFinite(+n):isFinite(+n):!1}}),fc=N((t,l)=>{"use strict";B();var n=hc(),s=(g,D,w)=>{if(n(g)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(D===void 0||g===D)return String(g);if(n(D)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let v={relaxZeros:!0,...w};typeof v.strictZeros=="boolean"&&(v.relaxZeros=v.strictZeros===!1);let m=String(v.relaxZeros),_=String(v.shorthand),S=String(v.capture),A=String(v.wrap),x=g+":"+D+"="+m+_+S+A;if(s.cache.hasOwnProperty(x))return s.cache[x].result;let L=Math.min(g,D),T=Math.max(g,D);if(Math.abs(L-T)===1){let R=g+"|"+D;return v.capture?`(${R})`:v.wrap===!1?R:`(?:${R})`}let F=b(g)||b(D),O={min:g,max:D,a:L,b:T},I=[],$=[];if(F&&(O.isPadded=F,O.maxLen=String(O.max).length),L<0){let R=T<0?Math.abs(T):1;$=r(R,Math.abs(L),O,v),L=O.a=0}return T>=0&&(I=r(L,T,O,v)),O.negatives=$,O.positives=I,O.result=i($,I,v),v.capture===!0?O.result=`(${O.result})`:v.wrap!==!1&&I.length+$.length>1&&(O.result=`(?:${O.result})`),s.cache[x]=O,O.result};function i(g,D,w){let v=e(g,D,"-",!1,w)||[],m=e(D,g,"",!1,w)||[],_=e(g,D,"-?",!0,w)||[];return v.concat(_).concat(m).join("|")}function p(g,D){let w=1,v=1,m=o(g,w),_=new Set([D]);for(;g<=m&&m<=D;)_.add(m),w+=1,m=o(g,w);for(m=d(D+1,v)-1;g<m&&m<=D;)_.add(m),v+=1,m=d(D+1,v)-1;return _=[..._],_.sort(a),_}function u(g,D,w){if(g===D)return{pattern:g,count:[],digits:0};let v=f(g,D),m=v.length,_="",S=0;for(let A=0;A<m;A++){let[x,L]=v[A];x===L?_+=x:x!=="0"||L!=="9"?_+=y(x,L,w):S++}return S&&(_+=w.shorthand===!0?"\\d":"[0-9]"),{pattern:_,count:[S],digits:m}}function r(g,D,w,v){let m=p(g,D),_=[],S=g,A;for(let x=0;x<m.length;x++){let L=m[x],T=u(String(S),String(L),v),F="";if(!w.isPadded&&A&&A.pattern===T.pattern){A.count.length>1&&A.count.pop(),A.count.push(T.count[0]),A.string=A.pattern+h(A.count),S=L+1;continue}w.isPadded&&(F=E(L,w,v)),T.string=F+T.pattern+h(T.count),_.push(T),S=L+1,A=T}return _}function e(g,D,w,v,m){let _=[];for(let S of g){let{string:A}=S;!v&&!c(D,"string",A)&&_.push(w+A),v&&c(D,"string",A)&&_.push(w+A)}return _}function f(g,D){let w=[];for(let v=0;v<g.length;v++)w.push([g[v],D[v]]);return w}function a(g,D){return g>D?1:D>g?-1:0}function c(g,D,w){return g.some(v=>v[D]===w)}function o(g,D){return Number(String(g).slice(0,-D)+"9".repeat(D))}function d(g,D){return g-g%Math.pow(10,D)}function h(g){let[D=0,w=""]=g;return w||D>1?`{${D+(w?","+w:"")}}`:""}function y(g,D,w){return`[${g}${D-g===1?"":"-"}${D}]`}function b(g){return/^-?(0+)\d/.test(g)}function E(g,D,w){if(!D.isPadded)return g;let v=Math.abs(D.maxLen-String(g).length),m=w.relaxZeros!==!1;switch(v){case 0:return"";case 1:return m?"0?":"0";case 2:return m?"0{0,2}":"00";default:return m?`0{0,${v}}`:`0{${v}}`}}s.cache={},s.clearCache=()=>s.cache={},l.exports=s}),Ni=N((t,l)=>{"use strict";B();var n=Z("util"),s=fc(),i=v=>v!==null&&typeof v=="object"&&!Array.isArray(v),p=v=>m=>v===!0?Number(m):String(m),u=v=>typeof v=="number"||typeof v=="string"&&v!=="",r=v=>Number.isInteger(+v),e=v=>{let m=`${v}`,_=-1;if(m[0]==="-"&&(m=m.slice(1)),m==="0")return!1;for(;m[++_]==="0";);return _>0},f=(v,m,_)=>typeof v=="string"||typeof m=="string"?!0:_.stringify===!0,a=(v,m,_)=>{if(m>0){let S=v[0]==="-"?"-":"";S&&(v=v.slice(1)),v=S+v.padStart(S?m-1:m,"0")}return _===!1?String(v):v},c=(v,m)=>{let _=v[0]==="-"?"-":"";for(_&&(v=v.slice(1),m--);v.length<m;)v="0"+v;return _?"-"+v:v},o=(v,m)=>{v.negatives.sort((L,T)=>L<T?-1:L>T?1:0),v.positives.sort((L,T)=>L<T?-1:L>T?1:0);let _=m.capture?"":"?:",S="",A="",x;return v.positives.length&&(S=v.positives.join("|")),v.negatives.length&&(A=`-(${_}${v.negatives.join("|")})`),S&&A?x=`${S}|${A}`:x=S||A,m.wrap?`(${_}${x})`:x},d=(v,m,_,S)=>{if(_)return s(v,m,{wrap:!1,...S});let A=String.fromCharCode(v);if(v===m)return A;let x=String.fromCharCode(m);return`[${A}-${x}]`},h=(v,m,_)=>{if(Array.isArray(v)){let S=_.wrap===!0,A=_.capture?"":"?:";return S?`(${A}${v.join("|")})`:v.join("|")}return s(v,m,_)},y=(...v)=>new RangeError("Invalid range arguments: "+n.inspect(...v)),b=(v,m,_)=>{if(_.strictRanges===!0)throw y([v,m]);return[]},E=(v,m)=>{if(m.strictRanges===!0)throw new TypeError(`Expected step "${v}" to be a number`);return[]},g=(v,m,_=1,S={})=>{let A=Number(v),x=Number(m);if(!Number.isInteger(A)||!Number.isInteger(x)){if(S.strictRanges===!0)throw y([v,m]);return[]}A===0&&(A=0),x===0&&(x=0);let L=A>x,T=String(v),F=String(m),O=String(_);_=Math.max(Math.abs(_),1);let I=e(T)||e(F)||e(O),$=I?Math.max(T.length,F.length,O.length):0,R=I===!1&&f(v,m,S)===!1,q=S.transform||p(R);if(S.toRegex&&_===1)return d(c(v,$),c(m,$),!0,S);let W={negatives:[],positives:[]},Q=k=>W[k<0?"negatives":"positives"].push(Math.abs(k)),P=[],j=0;for(;L?A>=x:A<=x;)S.toRegex===!0&&_>1?Q(A):P.push(a(q(A,j),$,R)),A=L?A-_:A+_,j++;return S.toRegex===!0?_>1?o(W,S):h(P,null,{wrap:!1,...S}):P},D=(v,m,_=1,S={})=>{if(!r(v)&&v.length>1||!r(m)&&m.length>1)return b(v,m,S);let A=S.transform||(R=>String.fromCharCode(R)),x=`${v}`.charCodeAt(0),L=`${m}`.charCodeAt(0),T=x>L,F=Math.min(x,L),O=Math.max(x,L);if(S.toRegex&&_===1)return d(F,O,!1,S);let I=[],$=0;for(;T?x>=L:x<=L;)I.push(A(x,$)),x=T?x-_:x+_,$++;return S.toRegex===!0?h(I,null,{wrap:!1,options:S}):I},w=(v,m,_,S={})=>{if(m==null&&u(v))return[v];if(!u(v)||!u(m))return b(v,m,S);if(typeof _=="function")return w(v,m,1,{transform:_});if(i(_))return w(v,m,0,_);let A={...S};return A.capture===!0&&(A.wrap=!0),_=_||A.step||1,r(_)?r(v)&&r(m)?g(v,m,_,A):D(v,m,Math.max(Math.abs(_),1),A):_!=null&&!i(_)?E(_,A):w(v,m,1,_)};l.exports=w}),pc=N((t,l)=>{"use strict";B();var n=Ni(),s=on(),i=(p,u={})=>{let r=(e,f={})=>{let a=s.isInvalidBrace(f),c=e.invalid===!0&&u.escapeInvalid===!0,o=a===!0||c===!0,d=u.escapeInvalid===!0?"\\":"",h="";if(e.isOpen===!0||e.isClose===!0)return d+e.value;if(e.type==="open")return o?d+e.value:"(";if(e.type==="close")return o?d+e.value:")";if(e.type==="comma")return e.prev.type==="comma"?"":o?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let y=s.reduce(e.nodes),b=n(...y,{...u,wrap:!1,toRegex:!0});if(b.length!==0)return y.length>1&&b.length>1?`(${b})`:b}if(e.nodes)for(let y of e.nodes)h+=r(y,e);return h};return r(p)};l.exports=i}),dc=N((t,l)=>{"use strict";B();var n=Ni(),s=un(),i=on(),p=(r="",e="",f=!1)=>{let a=[];if(r=[].concat(r),e=[].concat(e),!e.length)return r;if(!r.length)return f?i.flatten(e).map(c=>`{${c}}`):e;for(let c of r)if(Array.isArray(c))for(let o of c)a.push(p(o,e,f));else for(let o of e)f===!0&&typeof o=="string"&&(o=`{${o}}`),a.push(Array.isArray(o)?p(c,o,f):c+o);return i.flatten(a)},u=(r,e={})=>{let f=e.rangeLimit===void 0?1e3:e.rangeLimit,a=(c,o={})=>{c.queue=[];let d=o,h=o.queue;for(;d.type!=="brace"&&d.type!=="root"&&d.parent;)d=d.parent,h=d.queue;if(c.invalid||c.dollar){h.push(p(h.pop(),s(c,e)));return}if(c.type==="brace"&&c.invalid!==!0&&c.nodes.length===2){h.push(p(h.pop(),["{}"]));return}if(c.nodes&&c.ranges>0){let g=i.reduce(c.nodes);if(i.exceedsLimit(...g,e.step,f))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let D=n(...g,e);D.length===0&&(D=s(c,e)),h.push(p(h.pop(),D)),c.nodes=[];return}let y=i.encloseBrace(c),b=c.queue,E=c;for(;E.type!=="brace"&&E.type!=="root"&&E.parent;)E=E.parent,b=E.queue;for(let g=0;g<c.nodes.length;g++){let D=c.nodes[g];if(D.type==="comma"&&c.type==="brace"){g===1&&b.push(""),b.push("");continue}if(D.type==="close"){h.push(p(h.pop(),b,y));continue}if(D.value&&D.type!=="open"){b.push(p(b.pop(),D.value));continue}D.nodes&&a(D,c)}return b};return i.flatten(a(r))};l.exports=u}),mc=N((t,l)=>{"use strict";B(),l.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
|
53
|
-
`,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}}),yc=N((t,l)=>{"use strict";B();var n=un(),{MAX_LENGTH:s,CHAR_BACKSLASH:i,CHAR_BACKTICK:p,CHAR_COMMA:u,CHAR_DOT:r,CHAR_LEFT_PARENTHESES:e,CHAR_RIGHT_PARENTHESES:f,CHAR_LEFT_CURLY_BRACE:a,CHAR_RIGHT_CURLY_BRACE:c,CHAR_LEFT_SQUARE_BRACKET:o,CHAR_RIGHT_SQUARE_BRACKET:d,CHAR_DOUBLE_QUOTE:h,CHAR_SINGLE_QUOTE:y,CHAR_NO_BREAK_SPACE:b,CHAR_ZERO_WIDTH_NOBREAK_SPACE:E}=mc(),g=(D,w={})=>{if(typeof D!="string")throw new TypeError("Expected a string");let v=w||{},m=typeof v.maxLength=="number"?Math.min(s,v.maxLength):s;if(D.length>m)throw new SyntaxError(`Input length (${D.length}), exceeds max characters (${m})`);let _={type:"root",input:D,nodes:[]},S=[_],A=_,x=_,L=0,T=D.length,F=0,O=0,I,$={},R=()=>D[F++],q=W=>{if(W.type==="text"&&x.type==="dot"&&(x.type="text"),x&&x.type==="text"&&W.type==="text"){x.value+=W.value;return}return A.nodes.push(W),W.parent=A,W.prev=x,x=W,W};for(q({type:"bos"});F<T;)if(A=S[S.length-1],I=R(),!(I===E||I===b)){if(I===i){q({type:"text",value:(w.keepEscaping?I:"")+R()});continue}if(I===d){q({type:"text",value:"\\"+I});continue}if(I===o){L++;let W=!0,Q;for(;F<T&&(Q=R());){if(I+=Q,Q===o){L++;continue}if(Q===i){I+=R();continue}if(Q===d&&(L--,L===0))break}q({type:"text",value:I});continue}if(I===e){A=q({type:"paren",nodes:[]}),S.push(A),q({type:"text",value:I});continue}if(I===f){if(A.type!=="paren"){q({type:"text",value:I});continue}A=S.pop(),q({type:"text",value:I}),A=S[S.length-1];continue}if(I===h||I===y||I===p){let W=I,Q;for(w.keepQuotes!==!0&&(I="");F<T&&(Q=R());){if(Q===i){I+=Q+R();continue}if(Q===W){w.keepQuotes===!0&&(I+=Q);break}I+=Q}q({type:"text",value:I});continue}if(I===a){O++;let W=x.value&&x.value.slice(-1)==="$"||A.dollar===!0;A=q({type:"brace",open:!0,close:!1,dollar:W,depth:O,commas:0,ranges:0,nodes:[]}),S.push(A),q({type:"open",value:I});continue}if(I===c){if(A.type!=="brace"){q({type:"text",value:I});continue}let W="close";A=S.pop(),A.close=!0,q({type:W,value:I}),O--,A=S[S.length-1];continue}if(I===u&&O>0){if(A.ranges>0){A.ranges=0;let W=A.nodes.shift();A.nodes=[W,{type:"text",value:n(A)}]}q({type:"comma",value:I}),A.commas++;continue}if(I===r&&O>0&&A.commas===0){let W=A.nodes;if(O===0||W.length===0){q({type:"text",value:I});continue}if(x.type==="dot"){if(A.range=[],x.value+=I,x.type="range",A.nodes.length!==3&&A.nodes.length!==5){A.invalid=!0,A.ranges=0,x.type="text";continue}A.ranges++,A.args=[];continue}if(x.type==="range"){W.pop();let Q=W[W.length-1];Q.value+=x.value+I,x=Q,A.ranges--;continue}q({type:"dot",value:I});continue}q({type:"text",value:I})}do if(A=S.pop(),A.type!=="root"){A.nodes.forEach(P=>{P.nodes||(P.type==="open"&&(P.isOpen=!0),P.type==="close"&&(P.isClose=!0),P.nodes||(P.type="text"),P.invalid=!0)});let W=S[S.length-1],Q=W.nodes.indexOf(A);W.nodes.splice(Q,1,...A.nodes)}while(S.length>0);return q({type:"eos"}),_};l.exports=g}),gc=N((t,l)=>{"use strict";B();var n=un(),s=pc(),i=dc(),p=yc(),u=(r,e={})=>{let f=[];if(Array.isArray(r))for(let a of r){let c=u.create(a,e);Array.isArray(c)?f.push(...c):f.push(c)}else f=[].concat(u.create(r,e));return e&&e.expand===!0&&e.nodupes===!0&&(f=[...new Set(f)]),f};u.parse=(r,e={})=>p(r,e),u.stringify=(r,e={})=>n(typeof r=="string"?u.parse(r,e):r,e),u.compile=(r,e={})=>(typeof r=="string"&&(r=u.parse(r,e)),s(r,e)),u.expand=(r,e={})=>{typeof r=="string"&&(r=u.parse(r,e));let f=i(r,e);return e.noempty===!0&&(f=f.filter(Boolean)),e.nodupes===!0&&(f=[...new Set(f)]),f},u.create=(r,e={})=>r===""||r.length<3?[r]:e.expand!==!0?u.compile(r,e):u.expand(r,e),l.exports=u}),dr=N((t,l)=>{"use strict";B();var n=Z("path"),s="\\\\/",i=`[^${s}]`,p="\\.",u="\\+",r="\\?",e="\\/",f="(?=.)",a="[^/]",c=`(?:${e}|$)`,o=`(?:^|${e})`,d=`${p}{1,2}${c}`,h=`(?!${p})`,y=`(?!${o}${d})`,b=`(?!${p}{0,1}${c})`,E=`(?!${d})`,g=`[^.${e}]`,D=`${a}*?`,w={DOT_LITERAL:p,PLUS_LITERAL:u,QMARK_LITERAL:r,SLASH_LITERAL:e,ONE_CHAR:f,QMARK:a,END_ANCHOR:c,DOTS_SLASH:d,NO_DOT:h,NO_DOTS:y,NO_DOT_SLASH:b,NO_DOTS_SLASH:E,QMARK_NO_DOT:g,STAR:D,START_ANCHOR:o},v={...w,SLASH_LITERAL:`[${s}]`,QMARK:i,STAR:`${i}*?`,DOTS_SLASH:`${p}{1,2}(?:[${s}]|$)`,NO_DOT:`(?!${p})`,NO_DOTS:`(?!(?:^|[${s}])${p}{1,2}(?:[${s}]|$))`,NO_DOT_SLASH:`(?!${p}{0,1}(?:[${s}]|$))`,NO_DOTS_SLASH:`(?!${p}{1,2}(?:[${s}]|$))`,QMARK_NO_DOT:`[^.${s}]`,START_ANCHOR:`(?:^|[${s}])`,END_ANCHOR:`(?:[${s}]|$)`},m={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};l.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:m,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:n.sep,extglobChars(_){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${_.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(_){return _===!0?v:w}}}),mr=N(t=>{"use strict";B();var l=Z("path"),n=process.platform==="win32",{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:i,REGEX_SPECIAL_CHARS:p,REGEX_SPECIAL_CHARS_GLOBAL:u}=dr();t.isObject=r=>r!==null&&typeof r=="object"&&!Array.isArray(r),t.hasRegexChars=r=>p.test(r),t.isRegexChar=r=>r.length===1&&t.hasRegexChars(r),t.escapeRegex=r=>r.replace(u,"\\$1"),t.toPosixSlashes=r=>r.replace(s,"/"),t.removeBackslashes=r=>r.replace(i,e=>e==="\\"?"":e),t.supportsLookbehinds=()=>{let r=process.version.slice(1).split(".").map(Number);return r.length===3&&r[0]>=9||r[0]===8&&r[1]>=10},t.isWindows=r=>r&&typeof r.windows=="boolean"?r.windows:n===!0||l.sep==="\\",t.escapeLast=(r,e,f)=>{let a=r.lastIndexOf(e,f);return a===-1?r:r[a-1]==="\\"?t.escapeLast(r,e,a-1):`${r.slice(0,a)}\\${r.slice(a)}`},t.removePrefix=(r,e={})=>{let f=r;return f.startsWith("./")&&(f=f.slice(2),e.prefix="./"),f},t.wrapOutput=(r,e={},f={})=>{let a=f.contains?"":"^",c=f.contains?"":"$",o=`${a}(?:${r})${c}`;return e.negated===!0&&(o=`(?:^(?!${o}).*$)`),o}}),bc=N((t,l)=>{"use strict";B();var n=mr(),{CHAR_ASTERISK:s,CHAR_AT:i,CHAR_BACKWARD_SLASH:p,CHAR_COMMA:u,CHAR_DOT:r,CHAR_EXCLAMATION_MARK:e,CHAR_FORWARD_SLASH:f,CHAR_LEFT_CURLY_BRACE:a,CHAR_LEFT_PARENTHESES:c,CHAR_LEFT_SQUARE_BRACKET:o,CHAR_PLUS:d,CHAR_QUESTION_MARK:h,CHAR_RIGHT_CURLY_BRACE:y,CHAR_RIGHT_PARENTHESES:b,CHAR_RIGHT_SQUARE_BRACKET:E}=dr(),g=v=>v===f||v===p,D=v=>{v.isPrefix!==!0&&(v.depth=v.isGlobstar?1/0:1)},w=(v,m)=>{let _=m||{},S=v.length-1,A=_.parts===!0||_.scanToEnd===!0,x=[],L=[],T=[],F=v,O=-1,I=0,$=0,R=!1,q=!1,W=!1,Q=!1,P=!1,j=!1,k=!1,J=!1,G=!1,tt=!1,M=0,K,et,ot={value:"",depth:0,isGlob:!1},ct=()=>O>=S,gt=()=>F.charCodeAt(O+1),mt=()=>(K=et,F.charCodeAt(++O));for(;O<S;){et=mt();let X;if(et===p){k=ot.backslashes=!0,et=mt(),et===a&&(j=!0);continue}if(j===!0||et===a){for(M++;ct()!==!0&&(et=mt());){if(et===p){k=ot.backslashes=!0,mt();continue}if(et===a){M++;continue}if(j!==!0&&et===r&&(et=mt())===r){if(R=ot.isBrace=!0,W=ot.isGlob=!0,tt=!0,A===!0)continue;break}if(j!==!0&&et===u){if(R=ot.isBrace=!0,W=ot.isGlob=!0,tt=!0,A===!0)continue;break}if(et===y&&(M--,M===0)){j=!1,R=ot.isBrace=!0,tt=!0;break}}if(A===!0)continue;break}if(et===f){if(x.push(O),L.push(ot),ot={value:"",depth:0,isGlob:!1},tt===!0)continue;if(K===r&&O===I+1){I+=2;continue}$=O+1;continue}if(_.noext!==!0&&(et===d||et===i||et===s||et===h||et===e)&>()===c){if(W=ot.isGlob=!0,Q=ot.isExtglob=!0,tt=!0,et===e&&O===I&&(G=!0),A===!0){for(;ct()!==!0&&(et=mt());){if(et===p){k=ot.backslashes=!0,et=mt();continue}if(et===b){W=ot.isGlob=!0,tt=!0;break}}continue}break}if(et===s){if(K===s&&(P=ot.isGlobstar=!0),W=ot.isGlob=!0,tt=!0,A===!0)continue;break}if(et===h){if(W=ot.isGlob=!0,tt=!0,A===!0)continue;break}if(et===o){for(;ct()!==!0&&(X=mt());){if(X===p){k=ot.backslashes=!0,mt();continue}if(X===E){q=ot.isBracket=!0,W=ot.isGlob=!0,tt=!0;break}}if(A===!0)continue;break}if(_.nonegate!==!0&&et===e&&O===I){J=ot.negated=!0,I++;continue}if(_.noparen!==!0&&et===c){if(W=ot.isGlob=!0,A===!0){for(;ct()!==!0&&(et=mt());){if(et===c){k=ot.backslashes=!0,et=mt();continue}if(et===b){tt=!0;break}}continue}break}if(W===!0){if(tt=!0,A===!0)continue;break}}_.noext===!0&&(Q=!1,W=!1);let H=F,V="",C="";I>0&&(V=F.slice(0,I),F=F.slice(I),$-=I),H&&W===!0&&$>0?(H=F.slice(0,$),C=F.slice($)):W===!0?(H="",C=F):H=F,H&&H!==""&&H!=="/"&&H!==F&&g(H.charCodeAt(H.length-1))&&(H=H.slice(0,-1)),_.unescape===!0&&(C&&(C=n.removeBackslashes(C)),H&&k===!0&&(H=n.removeBackslashes(H)));let z={prefix:V,input:v,start:I,base:H,glob:C,isBrace:R,isBracket:q,isGlob:W,isExtglob:Q,isGlobstar:P,negated:J,negatedExtglob:G};if(_.tokens===!0&&(z.maxDepth=0,g(et)||L.push(ot),z.tokens=L),_.parts===!0||_.tokens===!0){let X;for(let rt=0;rt<x.length;rt++){let ht=X?X+1:I,it=x[rt],lt=v.slice(ht,it);_.tokens&&(rt===0&&I!==0?(L[rt].isPrefix=!0,L[rt].value=V):L[rt].value=lt,D(L[rt]),z.maxDepth+=L[rt].depth),(rt!==0||lt!=="")&&T.push(lt),X=it}if(X&&X+1<v.length){let rt=v.slice(X+1);T.push(rt),_.tokens&&(L[L.length-1].value=rt,D(L[L.length-1]),z.maxDepth+=L[L.length-1].depth)}z.slashes=x,z.parts=T}return z};l.exports=w}),vc=N((t,l)=>{"use strict";B();var n=dr(),s=mr(),{MAX_LENGTH:i,POSIX_REGEX_SOURCE:p,REGEX_NON_SPECIAL_CHARS:u,REGEX_SPECIAL_CHARS_BACKREF:r,REPLACEMENTS:e}=n,f=(o,d)=>{if(typeof d.expandRange=="function")return d.expandRange(...o,d);o.sort();let h=`[${o.join("-")}]`;try{new RegExp(h)}catch{return o.map(y=>s.escapeRegex(y)).join("..")}return h},a=(o,d)=>`Missing ${o}: "${d}" - use "\\\\${d}" to match literal characters`,c=(o,d)=>{if(typeof o!="string")throw new TypeError("Expected a string");o=e[o]||o;let h={...d},y=typeof h.maxLength=="number"?Math.min(i,h.maxLength):i,b=o.length;if(b>y)throw new SyntaxError(`Input length: ${b}, exceeds maximum allowed length: ${y}`);let E={type:"bos",value:"",output:h.prepend||""},g=[E],D=h.capture?"":"?:",w=s.isWindows(d),v=n.globChars(w),m=n.extglobChars(v),{DOT_LITERAL:_,PLUS_LITERAL:S,SLASH_LITERAL:A,ONE_CHAR:x,DOTS_SLASH:L,NO_DOT:T,NO_DOT_SLASH:F,NO_DOTS_SLASH:O,QMARK:I,QMARK_NO_DOT:$,STAR:R,START_ANCHOR:q}=v,W=it=>`(${D}(?:(?!${q}${it.dot?L:_}).)*?)`,Q=h.dot?"":T,P=h.dot?I:$,j=h.bash===!0?W(h):R;h.capture&&(j=`(${j})`),typeof h.noext=="boolean"&&(h.noextglob=h.noext);let k={input:o,index:-1,start:0,dot:h.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:g};o=s.removePrefix(o,k),b=o.length;let J=[],G=[],tt=[],M=E,K,et=()=>k.index===b-1,ot=k.peek=(it=1)=>o[k.index+it],ct=k.advance=()=>o[++k.index]||"",gt=()=>o.slice(k.index+1),mt=(it="",lt=0)=>{k.consumed+=it,k.index+=lt},H=it=>{k.output+=it.output!=null?it.output:it.value,mt(it.value)},V=()=>{let it=1;for(;ot()==="!"&&(ot(2)!=="("||ot(3)==="?");)ct(),k.start++,it++;return it%2===0?!1:(k.negated=!0,k.start++,!0)},C=it=>{k[it]++,tt.push(it)},z=it=>{k[it]--,tt.pop()},X=it=>{if(M.type==="globstar"){let lt=k.braces>0&&(it.type==="comma"||it.type==="brace"),nt=it.extglob===!0||J.length&&(it.type==="pipe"||it.type==="paren");it.type!=="slash"&&it.type!=="paren"&&!lt&&!nt&&(k.output=k.output.slice(0,-M.output.length),M.type="star",M.value="*",M.output=j,k.output+=M.output)}if(J.length&&it.type!=="paren"&&(J[J.length-1].inner+=it.value),(it.value||it.output)&&H(it),M&&M.type==="text"&&it.type==="text"){M.value+=it.value,M.output=(M.output||"")+it.value;return}it.prev=M,g.push(it),M=it},rt=(it,lt)=>{let nt={...m[lt],conditions:1,inner:""};nt.prev=M,nt.parens=k.parens,nt.output=k.output;let ft=(h.capture?"(":"")+nt.open;C("parens"),X({type:it,value:lt,output:k.output?"":x}),X({type:"paren",extglob:!0,value:ct(),output:ft}),J.push(nt)},ht=it=>{let lt=it.close+(h.capture?")":""),nt;if(it.type==="negate"){let ft=j;if(it.inner&&it.inner.length>1&&it.inner.includes("/")&&(ft=W(h)),(ft!==j||et()||/^\)+$/.test(gt()))&&(lt=it.close=`)$))${ft}`),it.inner.includes("*")&&(nt=gt())&&/^\.[^\\/.]+$/.test(nt)){let vt=c(nt,{...d,fastpaths:!1}).output;lt=it.close=`)${vt})${ft})`}it.prev.type==="bos"&&(k.negatedExtglob=!0)}X({type:"paren",extglob:!0,value:K,output:lt}),z("parens")};if(h.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(o)){let it=!1,lt=o.replace(r,(nt,ft,vt,xt,Y,U)=>xt==="\\"?(it=!0,nt):xt==="?"?ft?ft+xt+(Y?I.repeat(Y.length):""):U===0?P+(Y?I.repeat(Y.length):""):I.repeat(vt.length):xt==="."?_.repeat(vt.length):xt==="*"?ft?ft+xt+(Y?j:""):j:ft?nt:`\\${nt}`);return it===!0&&(h.unescape===!0?lt=lt.replace(/\\/g,""):lt=lt.replace(/\\+/g,nt=>nt.length%2===0?"\\\\":nt?"\\":"")),lt===o&&h.contains===!0?(k.output=o,k):(k.output=s.wrapOutput(lt,k,d),k)}for(;!et();){if(K=ct(),K==="\0")continue;if(K==="\\"){let nt=ot();if(nt==="/"&&h.bash!==!0||nt==="."||nt===";")continue;if(!nt){K+="\\",X({type:"text",value:K});continue}let ft=/^\\+/.exec(gt()),vt=0;if(ft&&ft[0].length>2&&(vt=ft[0].length,k.index+=vt,vt%2!==0&&(K+="\\")),h.unescape===!0?K=ct():K+=ct(),k.brackets===0){X({type:"text",value:K});continue}}if(k.brackets>0&&(K!=="]"||M.value==="["||M.value==="[^")){if(h.posix!==!1&&K===":"){let nt=M.value.slice(1);if(nt.includes("[")&&(M.posix=!0,nt.includes(":"))){let ft=M.value.lastIndexOf("["),vt=M.value.slice(0,ft),xt=M.value.slice(ft+2),Y=p[xt];if(Y){M.value=vt+Y,k.backtrack=!0,ct(),!E.output&&g.indexOf(M)===1&&(E.output=x);continue}}}(K==="["&&ot()!==":"||K==="-"&&ot()==="]")&&(K=`\\${K}`),K==="]"&&(M.value==="["||M.value==="[^")&&(K=`\\${K}`),h.posix===!0&&K==="!"&&M.value==="["&&(K="^"),M.value+=K,H({value:K});continue}if(k.quotes===1&&K!=='"'){K=s.escapeRegex(K),M.value+=K,H({value:K});continue}if(K==='"'){k.quotes=k.quotes===1?0:1,h.keepQuotes===!0&&X({type:"text",value:K});continue}if(K==="("){C("parens"),X({type:"paren",value:K});continue}if(K===")"){if(k.parens===0&&h.strictBrackets===!0)throw new SyntaxError(a("opening","("));let nt=J[J.length-1];if(nt&&k.parens===nt.parens+1){ht(J.pop());continue}X({type:"paren",value:K,output:k.parens?")":"\\)"}),z("parens");continue}if(K==="["){if(h.nobracket===!0||!gt().includes("]")){if(h.nobracket!==!0&&h.strictBrackets===!0)throw new SyntaxError(a("closing","]"));K=`\\${K}`}else C("brackets");X({type:"bracket",value:K});continue}if(K==="]"){if(h.nobracket===!0||M&&M.type==="bracket"&&M.value.length===1){X({type:"text",value:K,output:`\\${K}`});continue}if(k.brackets===0){if(h.strictBrackets===!0)throw new SyntaxError(a("opening","["));X({type:"text",value:K,output:`\\${K}`});continue}z("brackets");let nt=M.value.slice(1);if(M.posix!==!0&&nt[0]==="^"&&!nt.includes("/")&&(K=`/${K}`),M.value+=K,H({value:K}),h.literalBrackets===!1||s.hasRegexChars(nt))continue;let ft=s.escapeRegex(M.value);if(k.output=k.output.slice(0,-M.value.length),h.literalBrackets===!0){k.output+=ft,M.value=ft;continue}M.value=`(${D}${ft}|${M.value})`,k.output+=M.value;continue}if(K==="{"&&h.nobrace!==!0){C("braces");let nt={type:"brace",value:K,output:"(",outputIndex:k.output.length,tokensIndex:k.tokens.length};G.push(nt),X(nt);continue}if(K==="}"){let nt=G[G.length-1];if(h.nobrace===!0||!nt){X({type:"text",value:K,output:K});continue}let ft=")";if(nt.dots===!0){let vt=g.slice(),xt=[];for(let Y=vt.length-1;Y>=0&&(g.pop(),vt[Y].type!=="brace");Y--)vt[Y].type!=="dots"&&xt.unshift(vt[Y].value);ft=f(xt,h),k.backtrack=!0}if(nt.comma!==!0&&nt.dots!==!0){let vt=k.output.slice(0,nt.outputIndex),xt=k.tokens.slice(nt.tokensIndex);nt.value=nt.output="\\{",K=ft="\\}",k.output=vt;for(let Y of xt)k.output+=Y.output||Y.value}X({type:"brace",value:K,output:ft}),z("braces"),G.pop();continue}if(K==="|"){J.length>0&&J[J.length-1].conditions++,X({type:"text",value:K});continue}if(K===","){let nt=K,ft=G[G.length-1];ft&&tt[tt.length-1]==="braces"&&(ft.comma=!0,nt="|"),X({type:"comma",value:K,output:nt});continue}if(K==="/"){if(M.type==="dot"&&k.index===k.start+1){k.start=k.index+1,k.consumed="",k.output="",g.pop(),M=E;continue}X({type:"slash",value:K,output:A});continue}if(K==="."){if(k.braces>0&&M.type==="dot"){M.value==="."&&(M.output=_);let nt=G[G.length-1];M.type="dots",M.output+=K,M.value+=K,nt.dots=!0;continue}if(k.braces+k.parens===0&&M.type!=="bos"&&M.type!=="slash"){X({type:"text",value:K,output:_});continue}X({type:"dot",value:K,output:_});continue}if(K==="?"){if(!(M&&M.value==="(")&&h.noextglob!==!0&&ot()==="("&&ot(2)!=="?"){rt("qmark",K);continue}if(M&&M.type==="paren"){let nt=ot(),ft=K;if(nt==="<"&&!s.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(M.value==="("&&!/[!=<:]/.test(nt)||nt==="<"&&!/<([!=]|\w+>)/.test(gt()))&&(ft=`\\${K}`),X({type:"text",value:K,output:ft});continue}if(h.dot!==!0&&(M.type==="slash"||M.type==="bos")){X({type:"qmark",value:K,output:$});continue}X({type:"qmark",value:K,output:I});continue}if(K==="!"){if(h.noextglob!==!0&&ot()==="("&&(ot(2)!=="?"||!/[!=<:]/.test(ot(3)))){rt("negate",K);continue}if(h.nonegate!==!0&&k.index===0){V();continue}}if(K==="+"){if(h.noextglob!==!0&&ot()==="("&&ot(2)!=="?"){rt("plus",K);continue}if(M&&M.value==="("||h.regex===!1){X({type:"plus",value:K,output:S});continue}if(M&&(M.type==="bracket"||M.type==="paren"||M.type==="brace")||k.parens>0){X({type:"plus",value:K});continue}X({type:"plus",value:S});continue}if(K==="@"){if(h.noextglob!==!0&&ot()==="("&&ot(2)!=="?"){X({type:"at",extglob:!0,value:K,output:""});continue}X({type:"text",value:K});continue}if(K!=="*"){(K==="$"||K==="^")&&(K=`\\${K}`);let nt=u.exec(gt());nt&&(K+=nt[0],k.index+=nt[0].length),X({type:"text",value:K});continue}if(M&&(M.type==="globstar"||M.star===!0)){M.type="star",M.star=!0,M.value+=K,M.output=j,k.backtrack=!0,k.globstar=!0,mt(K);continue}let it=gt();if(h.noextglob!==!0&&/^\([^?]/.test(it)){rt("star",K);continue}if(M.type==="star"){if(h.noglobstar===!0){mt(K);continue}let nt=M.prev,ft=nt.prev,vt=nt.type==="slash"||nt.type==="bos",xt=ft&&(ft.type==="star"||ft.type==="globstar");if(h.bash===!0&&(!vt||it[0]&&it[0]!=="/")){X({type:"star",value:K,output:""});continue}let Y=k.braces>0&&(nt.type==="comma"||nt.type==="brace"),U=J.length&&(nt.type==="pipe"||nt.type==="paren");if(!vt&&nt.type!=="paren"&&!Y&&!U){X({type:"star",value:K,output:""});continue}for(;it.slice(0,3)==="/**";){let ut=o[k.index+4];if(ut&&ut!=="/")break;it=it.slice(3),mt("/**",3)}if(nt.type==="bos"&&et()){M.type="globstar",M.value+=K,M.output=W(h),k.output=M.output,k.globstar=!0,mt(K);continue}if(nt.type==="slash"&&nt.prev.type!=="bos"&&!xt&&et()){k.output=k.output.slice(0,-(nt.output+M.output).length),nt.output=`(?:${nt.output}`,M.type="globstar",M.output=W(h)+(h.strictSlashes?")":"|$)"),M.value+=K,k.globstar=!0,k.output+=nt.output+M.output,mt(K);continue}if(nt.type==="slash"&&nt.prev.type!=="bos"&&it[0]==="/"){let ut=it[1]!==void 0?"|$":"";k.output=k.output.slice(0,-(nt.output+M.output).length),nt.output=`(?:${nt.output}`,M.type="globstar",M.output=`${W(h)}${A}|${A}${ut})`,M.value+=K,k.output+=nt.output+M.output,k.globstar=!0,mt(K+ct()),X({type:"slash",value:"/",output:""});continue}if(nt.type==="bos"&&it[0]==="/"){M.type="globstar",M.value+=K,M.output=`(?:^|${A}|${W(h)}${A})`,k.output=M.output,k.globstar=!0,mt(K+ct()),X({type:"slash",value:"/",output:""});continue}k.output=k.output.slice(0,-M.output.length),M.type="globstar",M.output=W(h),M.value+=K,k.output+=M.output,k.globstar=!0,mt(K);continue}let lt={type:"star",value:K,output:j};if(h.bash===!0){lt.output=".*?",(M.type==="bos"||M.type==="slash")&&(lt.output=Q+lt.output),X(lt);continue}if(M&&(M.type==="bracket"||M.type==="paren")&&h.regex===!0){lt.output=K,X(lt);continue}(k.index===k.start||M.type==="slash"||M.type==="dot")&&(M.type==="dot"?(k.output+=F,M.output+=F):h.dot===!0?(k.output+=O,M.output+=O):(k.output+=Q,M.output+=Q),ot()!=="*"&&(k.output+=x,M.output+=x)),X(lt)}for(;k.brackets>0;){if(h.strictBrackets===!0)throw new SyntaxError(a("closing","]"));k.output=s.escapeLast(k.output,"["),z("brackets")}for(;k.parens>0;){if(h.strictBrackets===!0)throw new SyntaxError(a("closing",")"));k.output=s.escapeLast(k.output,"("),z("parens")}for(;k.braces>0;){if(h.strictBrackets===!0)throw new SyntaxError(a("closing","}"));k.output=s.escapeLast(k.output,"{"),z("braces")}if(h.strictSlashes!==!0&&(M.type==="star"||M.type==="bracket")&&X({type:"maybe_slash",value:"",output:`${A}?`}),k.backtrack===!0){k.output="";for(let it of k.tokens)k.output+=it.output!=null?it.output:it.value,it.suffix&&(k.output+=it.suffix)}return k};c.fastpaths=(o,d)=>{let h={...d},y=typeof h.maxLength=="number"?Math.min(i,h.maxLength):i,b=o.length;if(b>y)throw new SyntaxError(`Input length: ${b}, exceeds maximum allowed length: ${y}`);o=e[o]||o;let E=s.isWindows(d),{DOT_LITERAL:g,SLASH_LITERAL:D,ONE_CHAR:w,DOTS_SLASH:v,NO_DOT:m,NO_DOTS:_,NO_DOTS_SLASH:S,STAR:A,START_ANCHOR:x}=n.globChars(E),L=h.dot?_:m,T=h.dot?S:m,F=h.capture?"":"?:",O={negated:!1,prefix:""},I=h.bash===!0?".*?":A;h.capture&&(I=`(${I})`);let $=Q=>Q.noglobstar===!0?I:`(${F}(?:(?!${x}${Q.dot?v:g}).)*?)`,R=Q=>{switch(Q){case"*":return`${L}${w}${I}`;case".*":return`${g}${w}${I}`;case"*.*":return`${L}${I}${g}${w}${I}`;case"*/*":return`${L}${I}${D}${w}${T}${I}`;case"**":return L+$(h);case"**/*":return`(?:${L}${$(h)}${D})?${T}${w}${I}`;case"**/*.*":return`(?:${L}${$(h)}${D})?${T}${I}${g}${w}${I}`;case"**/.*":return`(?:${L}${$(h)}${D})?${g}${w}${I}`;default:{let P=/^(.*?)\.(\w+)$/.exec(Q);if(!P)return;let j=R(P[1]);return j?j+g+P[2]:void 0}}},q=s.removePrefix(o,O),W=R(q);return W&&h.strictSlashes!==!0&&(W+=`${D}?`),W},l.exports=c}),Ec=N((t,l)=>{"use strict";B();var n=Z("path"),s=bc(),i=vc(),p=mr(),u=dr(),r=f=>f&&typeof f=="object"&&!Array.isArray(f),e=(f,a,c=!1)=>{if(Array.isArray(f)){let D=f.map(w=>e(w,a,c));return w=>{for(let v of D){let m=v(w);if(m)return m}return!1}}let o=r(f)&&f.tokens&&f.input;if(f===""||typeof f!="string"&&!o)throw new TypeError("Expected pattern to be a non-empty string");let d=a||{},h=p.isWindows(a),y=o?e.compileRe(f,a):e.makeRe(f,a,!1,!0),b=y.state;delete y.state;let E=()=>!1;if(d.ignore){let D={...a,ignore:null,onMatch:null,onResult:null};E=e(d.ignore,D,c)}let g=(D,w=!1)=>{let{isMatch:v,match:m,output:_}=e.test(D,y,a,{glob:f,posix:h}),S={glob:f,state:b,regex:y,posix:h,input:D,output:_,match:m,isMatch:v};return typeof d.onResult=="function"&&d.onResult(S),v===!1?(S.isMatch=!1,w?S:!1):E(D)?(typeof d.onIgnore=="function"&&d.onIgnore(S),S.isMatch=!1,w?S:!1):(typeof d.onMatch=="function"&&d.onMatch(S),w?S:!0)};return c&&(g.state=b),g};e.test=(f,a,c,{glob:o,posix:d}={})=>{if(typeof f!="string")throw new TypeError("Expected input to be a string");if(f==="")return{isMatch:!1,output:""};let h=c||{},y=h.format||(d?p.toPosixSlashes:null),b=f===o,E=b&&y?y(f):f;return b===!1&&(E=y?y(f):f,b=E===o),(b===!1||h.capture===!0)&&(h.matchBase===!0||h.basename===!0?b=e.matchBase(f,a,c,d):b=a.exec(E)),{isMatch:!!b,match:b,output:E}},e.matchBase=(f,a,c,o=p.isWindows(c))=>(a instanceof RegExp?a:e.makeRe(a,c)).test(n.basename(f)),e.isMatch=(f,a,c)=>e(a,c)(f),e.parse=(f,a)=>Array.isArray(f)?f.map(c=>e.parse(c,a)):i(f,{...a,fastpaths:!1}),e.scan=(f,a)=>s(f,a),e.compileRe=(f,a,c=!1,o=!1)=>{if(c===!0)return f.output;let d=a||{},h=d.contains?"":"^",y=d.contains?"":"$",b=`${h}(?:${f.output})${y}`;f&&f.negated===!0&&(b=`^(?!${b}).*$`);let E=e.toRegex(b,a);return o===!0&&(E.state=f),E},e.makeRe=(f,a={},c=!1,o=!1)=>{if(!f||typeof f!="string")throw new TypeError("Expected a non-empty string");let d={negated:!1,fastpaths:!0};return a.fastpaths!==!1&&(f[0]==="."||f[0]==="*")&&(d.output=i.fastpaths(f,a)),d.output||(d=i(f,a)),e.compileRe(d,a,c,o)},e.toRegex=(f,a)=>{try{let c=a||{};return new RegExp(f,c.flags||(c.nocase?"i":""))}catch(c){if(a&&a.debug===!0)throw c;return/$^/}},e.constants=u,l.exports=e}),_c=N((t,l)=>{"use strict";B(),l.exports=Ec()}),wc=N((t,l)=>{"use strict";B();var n=Z("util"),s=gc(),i=_c(),p=mr(),u=e=>e===""||e==="./",r=(e,f,a)=>{f=[].concat(f),e=[].concat(e);let c=new Set,o=new Set,d=new Set,h=0,y=E=>{d.add(E.output),a&&a.onResult&&a.onResult(E)};for(let E=0;E<f.length;E++){let g=i(String(f[E]),{...a,onResult:y},!0),D=g.state.negated||g.state.negatedExtglob;D&&h++;for(let w of e){let v=g(w,!0);!(D?!v.isMatch:v.isMatch)||(D?c.add(v.output):(c.delete(v.output),o.add(v.output)))}}let b=(h===f.length?[...d]:[...o]).filter(E=>!c.has(E));if(a&&b.length===0){if(a.failglob===!0)throw new Error(`No matches found for "${f.join(", ")}"`);if(a.nonull===!0||a.nullglob===!0)return a.unescape?f.map(E=>E.replace(/\\/g,"")):f}return b};r.match=r,r.matcher=(e,f)=>i(e,f),r.isMatch=(e,f,a)=>i(f,a)(e),r.any=r.isMatch,r.not=(e,f,a={})=>{f=[].concat(f).map(String);let c=new Set,o=[],d=y=>{a.onResult&&a.onResult(y),o.push(y.output)},h=new Set(r(e,f,{...a,onResult:d}));for(let y of o)h.has(y)||c.add(y);return[...c]},r.contains=(e,f,a)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${n.inspect(e)}"`);if(Array.isArray(f))return f.some(c=>r.contains(e,c,a));if(typeof f=="string"){if(u(e)||u(f))return!1;if(e.includes(f)||e.startsWith("./")&&e.slice(2).includes(f))return!0}return r.isMatch(e,f,{...a,contains:!0})},r.matchKeys=(e,f,a)=>{if(!p.isObject(e))throw new TypeError("Expected the first argument to be an object");let c=r(Object.keys(e),f,a),o={};for(let d of c)o[d]=e[d];return o},r.some=(e,f,a)=>{let c=[].concat(e);for(let o of[].concat(f)){let d=i(String(o),a);if(c.some(h=>d(h)))return!0}return!1},r.every=(e,f,a)=>{let c=[].concat(e);for(let o of[].concat(f)){let d=i(String(o),a);if(!c.every(h=>d(h)))return!1}return!0},r.all=(e,f,a)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${n.inspect(e)}"`);return[].concat(f).every(c=>i(c,a)(e))},r.capture=(e,f,a)=>{let c=p.isWindows(a),o=i.makeRe(String(e),{...a,capture:!0}).exec(c?p.toPosixSlashes(f):f);if(o)return o.slice(1).map(d=>d===void 0?"":d)},r.makeRe=(...e)=>i.makeRe(...e),r.scan=(...e)=>i.scan(...e),r.parse=(e,f)=>{let a=[];for(let c of[].concat(e||[]))for(let o of s(String(c),f))a.push(i.parse(o,f));return a},r.braces=(e,f)=>{if(typeof e!="string")throw new TypeError("Expected a string");return f&&f.nobrace===!0||!/\{.*\}/.test(e)?[e]:s(e,f)},r.braceExpand=(e,f)=>{if(typeof e!="string")throw new TypeError("Expected a string");return r.braces(e,{...f,expand:!0})},l.exports=r}),Dc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.matchAny=t.convertPatternsToRe=t.makeRe=t.getPatternParts=t.expandBraceExpansion=t.expandPatternsWithBraceExpansion=t.isAffectDepthOfReadingPattern=t.endsWithSlashGlobStar=t.hasGlobStar=t.getBaseDirectory=t.isPatternRelatedToParentDirectory=t.getPatternsOutsideCurrentDirectory=t.getPatternsInsideCurrentDirectory=t.getPositivePatterns=t.getNegativePatterns=t.isPositivePattern=t.isNegativePattern=t.convertToNegativePattern=t.convertToPositivePattern=t.isDynamicPattern=t.isStaticPattern=void 0;var l=Z("path"),n=cc(),s=wc(),i="**",p="\\",u=/[*?]|^!/,r=/\[[^[]*]/,e=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,f=/[!*+?@]\([^(]*\)/,a=/,|\.\./;function c(R,q={}){return!o(R,q)}t.isStaticPattern=c;function o(R,q={}){return R===""?!1:!!(q.caseSensitiveMatch===!1||R.includes(p)||u.test(R)||r.test(R)||e.test(R)||q.extglob!==!1&&f.test(R)||q.braceExpansion!==!1&&d(R))}t.isDynamicPattern=o;function d(R){let q=R.indexOf("{");if(q===-1)return!1;let W=R.indexOf("}",q+1);if(W===-1)return!1;let Q=R.slice(q,W);return a.test(Q)}function h(R){return b(R)?R.slice(1):R}t.convertToPositivePattern=h;function y(R){return"!"+R}t.convertToNegativePattern=y;function b(R){return R.startsWith("!")&&R[1]!=="("}t.isNegativePattern=b;function E(R){return!b(R)}t.isPositivePattern=E;function g(R){return R.filter(b)}t.getNegativePatterns=g;function D(R){return R.filter(E)}t.getPositivePatterns=D;function w(R){return R.filter(q=>!m(q))}t.getPatternsInsideCurrentDirectory=w;function v(R){return R.filter(m)}t.getPatternsOutsideCurrentDirectory=v;function m(R){return R.startsWith("..")||R.startsWith("./..")}t.isPatternRelatedToParentDirectory=m;function _(R){return n(R,{flipBackslashes:!1})}t.getBaseDirectory=_;function S(R){return R.includes(i)}t.hasGlobStar=S;function A(R){return R.endsWith("/"+i)}t.endsWithSlashGlobStar=A;function x(R){let q=l.basename(R);return A(R)||c(q)}t.isAffectDepthOfReadingPattern=x;function L(R){return R.reduce((q,W)=>q.concat(T(W)),[])}t.expandPatternsWithBraceExpansion=L;function T(R){return s.braces(R,{expand:!0,nodupes:!0})}t.expandBraceExpansion=T;function F(R,q){let{parts:W}=s.scan(R,Object.assign(Object.assign({},q),{parts:!0}));return W.length===0&&(W=[R]),W[0].startsWith("/")&&(W[0]=W[0].slice(1),W.unshift("")),W}t.getPatternParts=F;function O(R,q){return s.makeRe(R,q)}t.makeRe=O;function I(R,q){return R.map(W=>O(W,q))}t.convertPatternsToRe=I;function $(R,q){return q.some(W=>W.test(R))}t.matchAny=$}),Sc=N((t,l)=>{"use strict";B();var n=Z("stream"),s=n.PassThrough,i=Array.prototype.slice;l.exports=p;function p(){let r=[],e=i.call(arguments),f=!1,a=e[e.length-1];a&&!Array.isArray(a)&&a.pipe==null?e.pop():a={};let c=a.end!==!1,o=a.pipeError===!0;a.objectMode==null&&(a.objectMode=!0),a.highWaterMark==null&&(a.highWaterMark=64*1024);let d=s(a);function h(){for(let E=0,g=arguments.length;E<g;E++)r.push(u(arguments[E],a));return y(),this}function y(){if(f)return;f=!0;let E=r.shift();if(!E){process.nextTick(b);return}Array.isArray(E)||(E=[E]);let g=E.length+1;function D(){--g>0||(f=!1,y())}function w(v){function m(){v.removeListener("merge2UnpipeEnd",m),v.removeListener("end",m),o&&v.removeListener("error",_),D()}function _(S){d.emit("error",S)}if(v._readableState.endEmitted)return D();v.on("merge2UnpipeEnd",m),v.on("end",m),o&&v.on("error",_),v.pipe(d,{end:!1}),v.resume()}for(let v=0;v<E.length;v++)w(E[v]);D()}function b(){f=!1,d.emit("queueDrain"),c&&d.end()}return d.setMaxListeners(0),d.add=h,d.on("unpipe",function(E){E.emit("merge2UnpipeEnd")}),e.length&&h.apply(null,e),d}function u(r,e){if(Array.isArray(r))for(let f=0,a=r.length;f<a;f++)r[f]=u(r[f],e);else{if(!r._readableState&&r.pipe&&(r=r.pipe(s(e))),!r._readableState||!r.pause||!r.pipe)throw new Error("Only readable stream can be merged.");r.pause()}return r}}),Ac=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;var l=Sc();function n(i){let p=l(i);return i.forEach(u=>{u.once("error",r=>p.emit("error",r))}),p.once("close",()=>s(i)),p.once("end",()=>s(i)),p}t.merge=n;function s(i){i.forEach(p=>p.emit("close"))}}),Cc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=t.isString=void 0;function l(s){return typeof s=="string"}t.isString=l;function n(s){return s===""}t.isEmpty=n}),he=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.string=t.stream=t.pattern=t.path=t.fs=t.errno=t.array=void 0;var l=ic();t.array=l;var n=sc();t.errno=n;var s=oc();t.fs=s;var i=uc();t.path=i;var p=Dc();t.pattern=p;var u=Ac();t.stream=u;var r=Cc();t.string=r}),xc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.convertPatternGroupToTask=t.convertPatternGroupsToTasks=t.groupPatternsByBaseDirectory=t.getNegativePatternsAsPositive=t.getPositivePatterns=t.convertPatternsToTasks=t.generate=void 0;var l=he();function n(f,a){let c=i(f),o=p(f,a.ignore),d=c.filter(E=>l.pattern.isStaticPattern(E,a)),h=c.filter(E=>l.pattern.isDynamicPattern(E,a)),y=s(d,o,!1),b=s(h,o,!0);return y.concat(b)}t.generate=n;function s(f,a,c){let o=[],d=l.pattern.getPatternsOutsideCurrentDirectory(f),h=l.pattern.getPatternsInsideCurrentDirectory(f),y=u(d),b=u(h);return o.push(...r(y,a,c)),"."in b?o.push(e(".",h,a,c)):o.push(...r(b,a,c)),o}t.convertPatternsToTasks=s;function i(f){return l.pattern.getPositivePatterns(f)}t.getPositivePatterns=i;function p(f,a){return l.pattern.getNegativePatterns(f).concat(a).map(l.pattern.convertToPositivePattern)}t.getNegativePatternsAsPositive=p;function u(f){let a={};return f.reduce((c,o)=>{let d=l.pattern.getBaseDirectory(o);return d in c?c[d].push(o):c[d]=[o],c},a)}t.groupPatternsByBaseDirectory=u;function r(f,a,c){return Object.keys(f).map(o=>e(o,f[o],a,c))}t.convertPatternGroupsToTasks=r;function e(f,a,c,o){return{dynamic:o,positive:a,negative:c,base:f,patterns:[].concat(a,c.map(l.pattern.convertToNegativePattern))}}t.convertPatternGroupToTask=e}),Fc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.removeDuplicateSlashes=t.transform=void 0;var l=/(?!^)\/{2,}/g;function n(i){return i.map(p=>s(p))}t.transform=n;function s(i){return i.replace(l,"/")}t.removeDuplicateSlashes=s}),kc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0;function l(i,p,u){p.fs.lstat(i,(r,e)=>{if(r!==null){n(u,r);return}if(!e.isSymbolicLink()||!p.followSymbolicLink){s(u,e);return}p.fs.stat(i,(f,a)=>{if(f!==null){if(p.throwErrorOnBrokenSymbolicLink){n(u,f);return}s(u,e);return}p.markSymbolicLink&&(a.isSymbolicLink=()=>!0),s(u,a)})})}t.read=l;function n(i,p){i(p)}function s(i,p){i(null,p)}}),Oc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0;function l(n,s){let i=s.fs.lstatSync(n);if(!i.isSymbolicLink()||!s.followSymbolicLink)return i;try{let p=s.fs.statSync(n);return s.markSymbolicLink&&(p.isSymbolicLink=()=>!0),p}catch(p){if(!s.throwErrorOnBrokenSymbolicLink)return i;throw p}}t.read=l}),Rc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;var l=Z("fs");t.FILE_SYSTEM_ADAPTER={lstat:l.lstat,stat:l.stat,lstatSync:l.lstatSync,statSync:l.statSync};function n(s){return s===void 0?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),s)}t.createFileSystemAdapter=n}),Tc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Rc(),n=class{constructor(s={}){this._options=s,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=l.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(s,i){return s!=null?s:i}};t.default=n}),Fe=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.statSync=t.stat=t.Settings=void 0;var l=kc(),n=Oc(),s=Tc();t.Settings=s.default;function i(r,e,f){if(typeof e=="function"){l.read(r,u(),e);return}l.read(r,u(e),f)}t.stat=i;function p(r,e){let f=u(e);return n.read(r,f)}t.statSync=p;function u(r={}){return r instanceof s.default?r:new s.default(r)}}),Bc=N((t,l)=>{B();var n;l.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):s=>(n||(n=Promise.resolve())).then(s).catch(i=>setTimeout(()=>{throw i},0))}),Pc=N((t,l)=>{B(),l.exports=s;var n=Bc();function s(i,p){let u,r,e,f=!0;Array.isArray(i)?(u=[],r=i.length):(e=Object.keys(i),u={},r=e.length);function a(o){function d(){p&&p(o,u),p=null}f?n(d):d()}function c(o,d,h){u[o]=h,(--r===0||d)&&a(d)}r?e?e.forEach(function(o){i[o](function(d,h){c(o,d,h)})}):i.forEach(function(o,d){o(function(h,y){c(d,h,y)})}):a(null),f=!1}}),ji=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var l=process.versions.node.split(".");if(l[0]===void 0||l[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var n=Number.parseInt(l[0],10),s=Number.parseInt(l[1],10),i=10,p=10,u=n>i,r=n===i&&s>=p;t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=u||r}),Lc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;var l=class{constructor(s,i){this.name=s,this.isBlockDevice=i.isBlockDevice.bind(i),this.isCharacterDevice=i.isCharacterDevice.bind(i),this.isDirectory=i.isDirectory.bind(i),this.isFIFO=i.isFIFO.bind(i),this.isFile=i.isFile.bind(i),this.isSocket=i.isSocket.bind(i),this.isSymbolicLink=i.isSymbolicLink.bind(i)}};function n(s,i){return new l(s,i)}t.createDirentFromStats=n}),Mi=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.fs=void 0;var l=Lc();t.fs=l}),$i=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=void 0;function l(n,s,i){return n.endsWith(i)?n+s:n+i+s}t.joinPathSegments=l}),Ic=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;var l=Fe(),n=Pc(),s=ji(),i=Mi(),p=$i();function u(o,d,h){if(!d.stats&&s.IS_SUPPORT_READDIR_WITH_FILE_TYPES){r(o,d,h);return}f(o,d,h)}t.read=u;function r(o,d,h){d.fs.readdir(o,{withFileTypes:!0},(y,b)=>{if(y!==null){a(h,y);return}let E=b.map(D=>({dirent:D,name:D.name,path:p.joinPathSegments(o,D.name,d.pathSegmentSeparator)}));if(!d.followSymbolicLinks){c(h,E);return}let g=E.map(D=>e(D,d));n(g,(D,w)=>{if(D!==null){a(h,D);return}c(h,w)})})}t.readdirWithFileTypes=r;function e(o,d){return h=>{if(!o.dirent.isSymbolicLink()){h(null,o);return}d.fs.stat(o.path,(y,b)=>{if(y!==null){if(d.throwErrorOnBrokenSymbolicLink){h(y);return}h(null,o);return}o.dirent=i.fs.createDirentFromStats(o.name,b),h(null,o)})}}function f(o,d,h){d.fs.readdir(o,(y,b)=>{if(y!==null){a(h,y);return}let E=b.map(g=>{let D=p.joinPathSegments(o,g,d.pathSegmentSeparator);return w=>{l.stat(D,d.fsStatSettings,(v,m)=>{if(v!==null){w(v);return}let _={name:g,path:D,dirent:i.fs.createDirentFromStats(g,m)};d.stats&&(_.stats=m),w(null,_)})}});n(E,(g,D)=>{if(g!==null){a(h,g);return}c(h,D)})})}t.readdir=f;function a(o,d){o(d)}function c(o,d){o(null,d)}}),Nc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;var l=Fe(),n=ji(),s=Mi(),i=$i();function p(e,f){return!f.stats&&n.IS_SUPPORT_READDIR_WITH_FILE_TYPES?u(e,f):r(e,f)}t.read=p;function u(e,f){return f.fs.readdirSync(e,{withFileTypes:!0}).map(a=>{let c={dirent:a,name:a.name,path:i.joinPathSegments(e,a.name,f.pathSegmentSeparator)};if(c.dirent.isSymbolicLink()&&f.followSymbolicLinks)try{let o=f.fs.statSync(c.path);c.dirent=s.fs.createDirentFromStats(c.name,o)}catch(o){if(f.throwErrorOnBrokenSymbolicLink)throw o}return c})}t.readdirWithFileTypes=u;function r(e,f){return f.fs.readdirSync(e).map(a=>{let c=i.joinPathSegments(e,a,f.pathSegmentSeparator),o=l.statSync(c,f.fsStatSettings),d={name:a,path:c,dirent:s.fs.createDirentFromStats(a,o)};return f.stats&&(d.stats=o),d})}t.readdir=r}),jc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;var l=Z("fs");t.FILE_SYSTEM_ADAPTER={lstat:l.lstat,stat:l.stat,lstatSync:l.lstatSync,statSync:l.statSync,readdir:l.readdir,readdirSync:l.readdirSync};function n(s){return s===void 0?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),s)}t.createFileSystemAdapter=n}),Mc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Z("path"),n=Fe(),s=jc(),i=class{constructor(p={}){this._options=p,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=s.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,l.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new n.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(p,u){return p!=null?p:u}};t.default=i}),an=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.scandirSync=t.scandir=void 0;var l=Ic(),n=Nc(),s=Mc();t.Settings=s.default;function i(r,e,f){if(typeof e=="function"){l.read(r,u(),e);return}l.read(r,u(e),f)}t.scandir=i;function p(r,e){let f=u(e);return n.read(r,f)}t.scandirSync=p;function u(r={}){return r instanceof s.default?r:new s.default(r)}}),$c=N((t,l)=>{"use strict";B();function n(s){var i=new s,p=i;function u(){var e=i;return e.next?i=e.next:(i=new s,p=i),e.next=null,e}function r(e){p.next=e,p=e}return{get:u,release:r}}l.exports=n}),Hc=N((t,l)=>{"use strict";B();var n=$c();function s(r,e,f){if(typeof r=="function"&&(f=e,e=r,r=null),f<1)throw new Error("fastqueue concurrency must be greater than 1");var a=n(p),c=null,o=null,d=0,h=null,y={push:m,drain:i,saturated:i,pause:E,paused:!1,concurrency:f,running:b,resume:w,idle:v,length:g,getQueue:D,unshift:_,empty:i,kill:A,killAndDrain:x,error:L};return y;function b(){return d}function E(){y.paused=!0}function g(){for(var T=c,F=0;T;)T=T.next,F++;return F}function D(){for(var T=c,F=[];T;)F.push(T.value),T=T.next;return F}function w(){if(y.paused){y.paused=!1;for(var T=0;T<y.concurrency;T++)d++,S()}}function v(){return d===0&&y.length()===0}function m(T,F){var O=a.get();O.context=r,O.release=S,O.value=T,O.callback=F||i,O.errorHandler=h,d===y.concurrency||y.paused?o?(o.next=O,o=O):(c=O,o=O,y.saturated()):(d++,e.call(r,O.value,O.worked))}function _(T,F){var O=a.get();O.context=r,O.release=S,O.value=T,O.callback=F||i,d===y.concurrency||y.paused?c?(O.next=c,c=O):(c=O,o=O,y.saturated()):(d++,e.call(r,O.value,O.worked))}function S(T){T&&a.release(T);var F=c;F?y.paused?d--:(o===c&&(o=null),c=F.next,F.next=null,e.call(r,F.value,F.worked),o===null&&y.empty()):--d===0&&y.drain()}function A(){c=null,o=null,y.drain=i}function x(){c=null,o=null,y.drain(),y.drain=i}function L(T){h=T}}function i(){}function p(){this.value=null,this.callback=i,this.next=null,this.release=i,this.context=null,this.errorHandler=null;var r=this;this.worked=function(e,f){var a=r.callback,c=r.errorHandler,o=r.value;r.value=null,r.callback=i,r.errorHandler&&c(e,o),a.call(r.context,e,f),r.release(r)}}function u(r,e,f){typeof r=="function"&&(f=e,e=r,r=null);function a(E,g){e.call(this,E).then(function(D){g(null,D)},g)}var c=s(r,a,f),o=c.push,d=c.unshift;return c.push=h,c.unshift=y,c.drained=b,c;function h(E){var g=new Promise(function(D,w){o(E,function(v,m){if(v){w(v);return}D(m)})});return g.catch(i),g}function y(E){var g=new Promise(function(D,w){d(E,function(v,m){if(v){w(v);return}D(m)})});return g.catch(i),g}function b(){var E=c.drain,g=new Promise(function(D){c.drain=function(){E(),D()}});return g}}l.exports=s,l.exports.promise=u}),ln=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=t.replacePathSegmentSeparator=t.isAppliedFilter=t.isFatalError=void 0;function l(p,u){return p.errorFilter===null?!0:!p.errorFilter(u)}t.isFatalError=l;function n(p,u){return p===null||p(u)}t.isAppliedFilter=n;function s(p,u){return p.split(/[/\\]/).join(u)}t.replacePathSegmentSeparator=s;function i(p,u,r){return p===""?u:p.endsWith(r)?p+u:p+r+u}t.joinPathSegments=i}),Hi=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=ln(),n=class{constructor(s,i){this._root=s,this._settings=i,this._root=l.replacePathSegmentSeparator(s,i.pathSegmentSeparator)}};t.default=n}),Ui=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Z("events"),n=an(),s=Hc(),i=ln(),p=Hi(),u=class extends p.default{constructor(r,e){super(r,e),this._settings=e,this._scandir=n.scandir,this._emitter=new l.EventEmitter,this._queue=s(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(r){this._emitter.on("entry",r)}onError(r){this._emitter.once("error",r)}onEnd(r){this._emitter.once("end",r)}_pushToQueue(r,e){let f={directory:r,base:e};this._queue.push(f,a=>{a!==null&&this._handleError(a)})}_worker(r,e){this._scandir(r.directory,this._settings.fsScandirSettings,(f,a)=>{if(f!==null){e(f,void 0);return}for(let c of a)this._handleEntry(c,r.base);e(null,void 0)})}_handleError(r){this._isDestroyed||!i.isFatalError(this._settings,r)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",r))}_handleEntry(r,e){if(this._isDestroyed||this._isFatalError)return;let f=r.path;e!==void 0&&(r.path=i.joinPathSegments(e,r.name,this._settings.pathSegmentSeparator)),i.isAppliedFilter(this._settings.entryFilter,r)&&this._emitEntry(r),r.dirent.isDirectory()&&i.isAppliedFilter(this._settings.deepFilter,r)&&this._pushToQueue(f,e===void 0?void 0:r.path)}_emitEntry(r){this._emitter.emit("entry",r)}};t.default=u}),Uc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Ui(),n=class{constructor(p,u){this._root=p,this._settings=u,this._reader=new l.default(this._root,this._settings),this._storage=[]}read(p){this._reader.onError(u=>{s(p,u)}),this._reader.onEntry(u=>{this._storage.push(u)}),this._reader.onEnd(()=>{i(p,this._storage)}),this._reader.read()}};t.default=n;function s(p,u){p(u)}function i(p,u){p(null,u)}}),qc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Z("stream"),n=Ui(),s=class{constructor(i,p){this._root=i,this._settings=p,this._reader=new n.default(this._root,this._settings),this._stream=new l.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(i=>{this._stream.emit("error",i)}),this._reader.onEntry(i=>{this._stream.push(i)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};t.default=s}),Gc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=an(),n=ln(),s=Hi(),i=class extends s.default{constructor(){super(...arguments),this._scandir=l.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(p,u){this._queue.add({directory:p,base:u})}_handleQueue(){for(let p of this._queue.values())this._handleDirectory(p.directory,p.base)}_handleDirectory(p,u){try{let r=this._scandir(p,this._settings.fsScandirSettings);for(let e of r)this._handleEntry(e,u)}catch(r){this._handleError(r)}}_handleError(p){if(n.isFatalError(this._settings,p))throw p}_handleEntry(p,u){let r=p.path;u!==void 0&&(p.path=n.joinPathSegments(u,p.name,this._settings.pathSegmentSeparator)),n.isAppliedFilter(this._settings.entryFilter,p)&&this._pushToStorage(p),p.dirent.isDirectory()&&n.isAppliedFilter(this._settings.deepFilter,p)&&this._pushToQueue(r,u===void 0?void 0:p.path)}_pushToStorage(p){this._storage.push(p)}};t.default=i}),zc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Gc(),n=class{constructor(s,i){this._root=s,this._settings=i,this._reader=new l.default(this._root,this._settings)}read(){return this._reader.read()}};t.default=n}),Wc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Z("path"),n=an(),s=class{constructor(i={}){this._options=i,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,l.sep),this.fsScandirSettings=new n.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(i,p){return i!=null?i:p}};t.default=s}),cn=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.walkStream=t.walkSync=t.walk=void 0;var l=Uc(),n=qc(),s=zc(),i=Wc();t.Settings=i.default;function p(f,a,c){if(typeof a=="function"){new l.default(f,e()).read(a);return}new l.default(f,e(a)).read(c)}t.walk=p;function u(f,a){let c=e(a);return new s.default(f,c).read()}t.walkSync=u;function r(f,a){let c=e(a);return new n.default(f,c).read()}t.walkStream=r;function e(f={}){return f instanceof i.default?f:new i.default(f)}}),hn=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Z("path"),n=Fe(),s=he(),i=class{constructor(p){this._settings=p,this._fsStatSettings=new n.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(p){return l.resolve(this._settings.cwd,p)}_makeEntry(p,u){let r={name:u,path:u,dirent:s.fs.createDirentFromStats(u,p)};return this._settings.stats&&(r.stats=p),r}_isFatalError(p){return!s.errno.isEnoentCodeError(p)&&!this._settings.suppressErrors}};t.default=i}),qi=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Z("stream"),n=Fe(),s=cn(),i=hn(),p=class extends i.default{constructor(){super(...arguments),this._walkStream=s.walkStream,this._stat=n.stat}dynamic(u,r){return this._walkStream(u,r)}static(u,r){let e=u.map(this._getFullEntryPath,this),f=new l.PassThrough({objectMode:!0});f._write=(a,c,o)=>this._getEntry(e[a],u[a],r).then(d=>{d!==null&&r.entryFilter(d)&&f.push(d),a===e.length-1&&f.end(),o()}).catch(o);for(let a=0;a<e.length;a++)f.write(a);return f}_getEntry(u,r,e){return this._getStat(u).then(f=>this._makeEntry(f,r)).catch(f=>{if(e.errorFilter(f))return null;throw f})}_getStat(u){return new Promise((r,e)=>{this._stat(u,this._fsStatSettings,(f,a)=>f===null?r(a):e(f))})}};t.default=p}),Vc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=cn(),n=hn(),s=qi(),i=class extends n.default{constructor(){super(...arguments),this._walkAsync=l.walk,this._readerStream=new s.default(this._settings)}dynamic(p,u){return new Promise((r,e)=>{this._walkAsync(p,u,(f,a)=>{f===null?r(a):e(f)})})}async static(p,u){let r=[],e=this._readerStream.static(p,u);return new Promise((f,a)=>{e.once("error",a),e.on("data",c=>r.push(c)),e.once("end",()=>f(r))})}};t.default=i}),Kc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=he(),n=class{constructor(s,i,p){this._patterns=s,this._settings=i,this._micromatchOptions=p,this._storage=[],this._fillStorage()}_fillStorage(){let s=l.pattern.expandPatternsWithBraceExpansion(this._patterns);for(let i of s){let p=this._getPatternSegments(i),u=this._splitSegmentsIntoSections(p);this._storage.push({complete:u.length<=1,pattern:i,segments:p,sections:u})}}_getPatternSegments(s){return l.pattern.getPatternParts(s,this._micromatchOptions).map(i=>l.pattern.isDynamicPattern(i,this._settings)?{dynamic:!0,pattern:i,patternRe:l.pattern.makeRe(i,this._micromatchOptions)}:{dynamic:!1,pattern:i})}_splitSegmentsIntoSections(s){return l.array.splitWhen(s,i=>i.dynamic&&l.pattern.hasGlobStar(i.pattern))}};t.default=n}),Yc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Kc(),n=class extends l.default{match(s){let i=s.split("/"),p=i.length,u=this._storage.filter(r=>!r.complete||r.segments.length>p);for(let r of u){let e=r.sections[0];if(!r.complete&&p>e.length||i.every((f,a)=>{let c=r.segments[a];return!!(c.dynamic&&c.patternRe.test(f)||!c.dynamic&&c.pattern===f)}))return!0}return!1}};t.default=n}),Jc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=he(),n=Yc(),s=class{constructor(i,p){this._settings=i,this._micromatchOptions=p}getFilter(i,p,u){let r=this._getMatcher(p),e=this._getNegativePatternsRe(u);return f=>this._filter(i,f,r,e)}_getMatcher(i){return new n.default(i,this._settings,this._micromatchOptions)}_getNegativePatternsRe(i){let p=i.filter(l.pattern.isAffectDepthOfReadingPattern);return l.pattern.convertPatternsToRe(p,this._micromatchOptions)}_filter(i,p,u,r){if(this._isSkippedByDeep(i,p.path)||this._isSkippedSymbolicLink(p))return!1;let e=l.path.removeLeadingDotSegment(p.path);return this._isSkippedByPositivePatterns(e,u)?!1:this._isSkippedByNegativePatterns(e,r)}_isSkippedByDeep(i,p){return this._settings.deep===1/0?!1:this._getEntryLevel(i,p)>=this._settings.deep}_getEntryLevel(i,p){let u=p.split("/").length;if(i==="")return u;let r=i.split("/").length;return u-r}_isSkippedSymbolicLink(i){return!this._settings.followSymbolicLinks&&i.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(i,p){return!this._settings.baseNameMatch&&!p.match(i)}_isSkippedByNegativePatterns(i,p){return!l.pattern.matchAny(i,p)}};t.default=s}),Zc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=he(),n=class{constructor(s,i){this._settings=s,this._micromatchOptions=i,this.index=new Map}getFilter(s,i){let p=l.pattern.convertPatternsToRe(s,this._micromatchOptions),u=l.pattern.convertPatternsToRe(i,this._micromatchOptions);return r=>this._filter(r,p,u)}_filter(s,i,p){if(this._settings.unique&&this._isDuplicateEntry(s)||this._onlyFileFilter(s)||this._onlyDirectoryFilter(s)||this._isSkippedByAbsoluteNegativePatterns(s.path,p))return!1;let u=this._settings.baseNameMatch?s.name:s.path,r=s.dirent.isDirectory(),e=this._isMatchToPatterns(u,i,r)&&!this._isMatchToPatterns(s.path,p,r);return this._settings.unique&&e&&this._createIndexRecord(s),e}_isDuplicateEntry(s){return this.index.has(s.path)}_createIndexRecord(s){this.index.set(s.path,void 0)}_onlyFileFilter(s){return this._settings.onlyFiles&&!s.dirent.isFile()}_onlyDirectoryFilter(s){return this._settings.onlyDirectories&&!s.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(s,i){if(!this._settings.absolute)return!1;let p=l.path.makeAbsolute(this._settings.cwd,s);return l.pattern.matchAny(p,i)}_isMatchToPatterns(s,i,p){let u=l.path.removeLeadingDotSegment(s),r=l.pattern.matchAny(u,i);return!r&&p?l.pattern.matchAny(u+"/",i):r}};t.default=n}),Xc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=he(),n=class{constructor(s){this._settings=s}getFilter(){return s=>this._isNonFatalError(s)}_isNonFatalError(s){return l.errno.isEnoentCodeError(s)||this._settings.suppressErrors}};t.default=n}),Qc=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=he(),n=class{constructor(s){this._settings=s}getTransformer(){return s=>this._transform(s)}_transform(s){let i=s.path;return this._settings.absolute&&(i=l.path.makeAbsolute(this._settings.cwd,i),i=l.path.unixify(i)),this._settings.markDirectories&&s.dirent.isDirectory()&&(i+="/"),this._settings.objectMode?Object.assign(Object.assign({},s),{path:i}):i}};t.default=n}),fn=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Z("path"),n=Jc(),s=Zc(),i=Xc(),p=Qc(),u=class{constructor(r){this._settings=r,this.errorFilter=new i.default(this._settings),this.entryFilter=new s.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new n.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new p.default(this._settings)}_getRootDirectory(r){return l.resolve(this._settings.cwd,r.base)}_getReaderOptions(r){let e=r.base==="."?"":r.base;return{basePath:e,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(e,r.positive,r.negative),entryFilter:this.entryFilter.getFilter(r.positive,r.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};t.default=u}),th=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Vc(),n=fn(),s=class extends n.default{constructor(){super(...arguments),this._reader=new l.default(this._settings)}async read(i){let p=this._getRootDirectory(i),u=this._getReaderOptions(i);return(await this.api(p,i,u)).map(r=>u.transform(r))}api(i,p,u){return p.dynamic?this._reader.dynamic(i,u):this._reader.static(p.patterns,u)}};t.default=s}),eh=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Z("stream"),n=qi(),s=fn(),i=class extends s.default{constructor(){super(...arguments),this._reader=new n.default(this._settings)}read(p){let u=this._getRootDirectory(p),r=this._getReaderOptions(p),e=this.api(u,p,r),f=new l.Readable({objectMode:!0,read:()=>{}});return e.once("error",a=>f.emit("error",a)).on("data",a=>f.emit("data",r.transform(a))).once("end",()=>f.emit("end")),f.once("close",()=>e.destroy()),f}api(p,u,r){return u.dynamic?this._reader.dynamic(p,r):this._reader.static(u.patterns,r)}};t.default=i}),rh=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=Fe(),n=cn(),s=hn(),i=class extends s.default{constructor(){super(...arguments),this._walkSync=n.walkSync,this._statSync=l.statSync}dynamic(p,u){return this._walkSync(p,u)}static(p,u){let r=[];for(let e of p){let f=this._getFullEntryPath(e),a=this._getEntry(f,e,u);a===null||!u.entryFilter(a)||r.push(a)}return r}_getEntry(p,u,r){try{let e=this._getStat(p);return this._makeEntry(e,u)}catch(e){if(r.errorFilter(e))return null;throw e}}_getStat(p){return this._statSync(p,this._fsStatSettings)}};t.default=i}),nh=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0});var l=rh(),n=fn(),s=class extends n.default{constructor(){super(...arguments),this._reader=new l.default(this._settings)}read(i){let p=this._getRootDirectory(i),u=this._getReaderOptions(i);return this.api(p,i,u).map(u.transform)}api(i,p,u){return p.dynamic?this._reader.dynamic(i,u):this._reader.static(p.patterns,u)}};t.default=s}),ih=N(t=>{"use strict";B(),Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var l=Z("fs"),n=Z("os"),s=Math.max(n.cpus().length,1);t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:l.lstat,lstatSync:l.lstatSync,stat:l.stat,statSync:l.statSync,readdir:l.readdir,readdirSync:l.readdirSync};var i=class{constructor(p={}){this._options=p,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,s),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(p,u){return p===void 0?u:p}_getFileSystemMethods(p={}){return Object.assign(Object.assign({},t.DEFAULT_FILE_SYSTEM_ADAPTER),p)}};t.default=i}),sh=N((t,l)=>{"use strict";B();var n=xc(),s=Fc(),i=th(),p=eh(),u=nh(),r=ih(),e=he();async function f(o,d){c(o);let h=a(o,i.default,d),y=await Promise.all(h);return e.array.flatten(y)}(function(o){function d(g,D){c(g);let w=a(g,u.default,D);return e.array.flatten(w)}o.sync=d;function h(g,D){c(g);let w=a(g,p.default,D);return e.stream.merge(w)}o.stream=h;function y(g,D){c(g);let w=s.transform([].concat(g)),v=new r.default(D);return n.generate(w,v)}o.generateTasks=y;function b(g,D){c(g);let w=new r.default(D);return e.pattern.isDynamicPattern(g,w)}o.isDynamicPattern=b;function E(g){return c(g),e.path.escape(g)}o.escapePath=E})(f||(f={}));function a(o,d,h){let y=s.transform([].concat(o)),b=new r.default(h),E=n.generate(y,b),g=new d(b);return E.map(g.read,g)}function c(o){if(![].concat(o).every(d=>e.string.isString(d)&&!e.string.isEmpty(d)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}l.exports=f});B();B();function Gi(t){return typeof t>"u"||t===null}function oh(t){return typeof t=="object"&&t!==null}function uh(t){return Array.isArray(t)?t:Gi(t)?[]:[t]}function ah(t,l){var n,s,i,p;if(l)for(p=Object.keys(l),n=0,s=p.length;n<s;n+=1)i=p[n],t[i]=l[i];return t}function lh(t,l){var n="",s;for(s=0;s<l;s+=1)n+=t;return n}function ch(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}var hh=Gi,fh=oh,ph=uh,dh=lh,mh=ch,yh=ah,Nt={isNothing:hh,isObject:fh,toArray:ph,repeat:dh,isNegativeZero:mh,extend:yh};function zi(t,l){var n="",s=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!l&&t.mark.snippet&&(n+=`
|
66
|
+
is-glob/index.js:
|
67
|
+
(*!
|
68
|
+
* is-glob <https://github.com/jonschlinkert/is-glob>
|
69
|
+
*
|
70
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
71
|
+
* Released under the MIT License.
|
72
|
+
*)
|
54
73
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
*
|
89
|
-
* Copyright (c) 2014-present, Jon Schlinkert.
|
90
|
-
* Licensed under the MIT License.
|
91
|
-
*/
|
92
|
-
/*!
|
93
|
-
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
94
|
-
*
|
95
|
-
* Copyright (c) 2014-2016, Jon Schlinkert.
|
96
|
-
* Licensed under the MIT License.
|
97
|
-
*/
|
98
|
-
/*!
|
99
|
-
* is-glob <https://github.com/jonschlinkert/is-glob>
|
100
|
-
*
|
101
|
-
* Copyright (c) 2014-2017, Jon Schlinkert.
|
102
|
-
* Released under the MIT License.
|
103
|
-
*/
|
104
|
-
/*!
|
105
|
-
* is-number <https://github.com/jonschlinkert/is-number>
|
106
|
-
*
|
107
|
-
* Copyright (c) 2014-present, Jon Schlinkert.
|
108
|
-
* Released under the MIT License.
|
109
|
-
*/
|
110
|
-
/*!
|
111
|
-
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
112
|
-
*
|
113
|
-
* Copyright (c) 2015-present, Jon Schlinkert.
|
114
|
-
* Released under the MIT License.
|
115
|
-
*/
|
116
|
-
/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
|
117
|
-
/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
118
|
-
/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
74
|
+
is-number/index.js:
|
75
|
+
(*!
|
76
|
+
* is-number <https://github.com/jonschlinkert/is-number>
|
77
|
+
*
|
78
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
79
|
+
* Released under the MIT License.
|
80
|
+
*)
|
81
|
+
|
82
|
+
to-regex-range/index.js:
|
83
|
+
(*!
|
84
|
+
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
85
|
+
*
|
86
|
+
* Copyright (c) 2015-present, Jon Schlinkert.
|
87
|
+
* Released under the MIT License.
|
88
|
+
*)
|
89
|
+
|
90
|
+
fill-range/index.js:
|
91
|
+
(*!
|
92
|
+
* fill-range <https://github.com/jonschlinkert/fill-range>
|
93
|
+
*
|
94
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
95
|
+
* Licensed under the MIT License.
|
96
|
+
*)
|
97
|
+
|
98
|
+
queue-microtask/index.js:
|
99
|
+
(*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
100
|
+
|
101
|
+
run-parallel/index.js:
|
102
|
+
(*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
103
|
+
|
104
|
+
js-yaml/dist/js-yaml.mjs:
|
105
|
+
(*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *)
|
106
|
+
*/
|