xmcp 0.0.11 → 0.0.12
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 +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -21,4 +21,4 @@ if (!isNaN(pid)) {
|
|
|
21
21
|
})
|
|
22
22
|
process.on('SIGHUP', bark)
|
|
23
23
|
}
|
|
24
|
-
`,$a=e=>{let t=!1;const a=(0,Na.spawn)(process.execPath,["-e",La,String(e.pid)],{stdio:"ignore"});return a.on("exit",(()=>t=!0)),e.on("exit",(()=>{t||a.kill("SIGKILL")})),a};a(7619),Ia().config();let Da=null;function Ma(){const e=(0,Na.spawn)("node",["dist/streamable-http.js"],{stdio:"inherit",shell:!0});return $a(e),e}function qa({mode:e,onBuild:t,configFilePath:a="xmcp.config.json"}){const n=Date.now();let o=!1;const p=function(e){const t=function(e){const t=r().resolve(process.cwd(),e);return v().existsSync(t)?v().readFileSync(t,"utf8"):null}(e);return t?(a=JSON.parse(t),Vt.parse(a)):{sse:!0,stdio:!0,"streamable-http":!0};var a}(a);let l=function(e,t){const a=process.cwd(),n={mode:e,watch:"development"===e,output:{filename:"[name].js",path:c,libraryTarget:"commonjs2"},target:"node",externals:[m()()],resolve:{fallback:{process:!1},alias:{"node:process":"process"},extensions:[".tsx",".ts",".jsx",".js",".json"]},plugins:[new Wt],module:{rules:[{test:/\.ts$/,use:"swc-loader"}]}},o={INJECTED_TOOLS:[r().resolve(a,".xmcp/import-map.js"),"tools"],INJECTED_MIDDLEWARE:[r().resolve(a,".xmcp/import-map.js"),"middleware"]},p={},l={};if(t.stdio&&(l.stdio=r().join(s,"stdio.js")),t.sse){l.sse=r().join(s,"sse.js"),p.SSE_DEBUG="development"===e;let a={};"object"==typeof t.sse?(p.SSE_PORT=t.sse.port,p.SSE_BODY_SIZE_LIMIT=JSON.stringify(t.sse.bodySizeLimit),a=t.sse.cors||{}):(p.SSE_PORT=qt,p.SSE_BODY_SIZE_LIMIT=JSON.stringify(Ft),a={}),p.SSE_CORS_ORIGIN=JSON.stringify(a.origin??""),p.SSE_CORS_METHODS=JSON.stringify(a.methods??""),p.SSE_CORS_ALLOWED_HEADERS=JSON.stringify(a.allowedHeaders??""),p.SSE_CORS_EXPOSED_HEADERS=JSON.stringify(a.exposedHeaders??""),p.SSE_CORS_CREDENTIALS="boolean"==typeof a.credentials&&a.credentials,p.SSE_CORS_MAX_AGE="number"==typeof a.maxAge?a.maxAge:0}if(t["streamable-http"]){l["streamable-http"]=r().join(s,"streamable-http.js"),p.STREAMABLE_HTTP_DEBUG="development"===e;let a={};"object"==typeof t["streamable-http"]?(p.STREAMABLE_HTTP_PORT=t["streamable-http"].port,p.STREAMABLE_HTTP_BODY_SIZE_LIMIT=JSON.stringify(t["streamable-http"].bodySizeLimit),p.STREAMABLE_HTTP_ENDPOINT=JSON.stringify(t["streamable-http"].endpoint),p.STREAMABLE_HTTP_STATELESS=t["streamable-http"].stateless,a=t["streamable-http"].cors||{}):(p.STREAMABLE_HTTP_PORT=Bt,p.STREAMABLE_HTTP_BODY_SIZE_LIMIT=JSON.stringify(zt),p.STREAMABLE_HTTP_ENDPOINT=JSON.stringify(Ht),p.STREAMABLE_HTTP_STATELESS=Zt,a={}),p.STREAMABLE_HTTP_CORS_ORIGIN=JSON.stringify(a.origin??""),p.STREAMABLE_HTTP_CORS_METHODS=JSON.stringify(a.methods??""),p.STREAMABLE_HTTP_CORS_ALLOWED_HEADERS=JSON.stringify(a.allowedHeaders??""),p.STREAMABLE_HTTP_CORS_EXPOSED_HEADERS=JSON.stringify(a.exposedHeaders??""),p.STREAMABLE_HTTP_CORS_CREDENTIALS="boolean"==typeof a.credentials&&a.credentials,p.STREAMABLE_HTTP_CORS_MAX_AGE="number"==typeof a.maxAge?a.maxAge:0}return n.entry=l,n.plugins.push(new i.ProvidePlugin(o)),n.plugins.push(new i.DefinePlugin(p)),n}(e,p);p.webpack&&(l=p.webpack(l));let u=[],d=!1;const f=Kt.watch(["./src/tools/**/*.ts","./src/middleware.ts"],{ignored:/(^|[\/\\])\../,persistent:"development"===e});f.on("add",(e=>{"src/middleware.ts"===e?d=!0:u.push(e),o&&Fa(u,d)})).on("unlink",(e=>{"src/middleware.ts"===e?d=!1:u=u.filter((t=>t!==e)),o&&Fa(u,d)})).on("ready",(()=>{let a=!0;var r;o=!0,function(e,{force:t,dryRun:a,cwd:i=Xt.cwd(),...n}={}){n={expandDirectories:!1,onlyFiles:!1,followSymbolicLinks:!1,cwd:i,...n},e=function(e){return(e=Array.isArray(e)?e:[e]).map((e=>"win32"===Xt.platform&&!1===Ta(e)?na(e):e))}(e);const r=ja(e,n).sort(((e,t)=>t.localeCompare(e))).map((e=>(e=Yt.resolve(i,e),t||function(e,t){if(function(e){let t=Xt.cwd();return e=Yt.resolve(e),"win32"===Xt.platform&&(t=t.toLowerCase(),e=e.toLowerCase()),e===t}(e))throw new Error("Cannot delete the current working directory. Can be overridden with the `force` option.");if(!function(e,t){const a=Yt.relative(t,e);return Boolean(a&&".."!==a&&!a.startsWith(`..${Yt.sep}`)&&a!==Yt.resolve(e))}(e,t))throw new Error("Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option.")}(e,i),a||Ca.sync(e,Pa),e)));r.sort(((e,t)=>e.localeCompare(t)))}(s),r=s,v().existsSync(r)||v().mkdirSync(r,{recursive:!0}),"production"===e&&f.close(),Fa(u,d),(0,i.webpack)(l,((i,r)=>{if(i&&console.error(i),r?.hasErrors())console.error(r.toString({colors:!0,chunks:!1}));else if(a){a=!1;const i=Date.now()-n;console.log(`Compiled in ${Gt.Ay.bold.green(`${i}ms`)}`),function(e,t){if("development"===e){console.log(Gt.Ay.bold.green("Starting inspector..."));const e=["@modelcontextprotocol/inspector@latest"];t.stdio&&e.push("node","dist/stdio.js"),$a((0,Na.spawn)("npx",e,{stdio:"inherit",shell:!0})).on("error",(e=>{console.error("Failed to start inspector:",e)}))}const a=[];t.sse&&a.push("- SSE server"),t.stdio&&a.push("- STDIO server"),t["streamable-http"]&&a.push("- Streamable HTTP server"),console.log(Gt.Ay.bold.green("Built:")),a.forEach((e=>{console.log(Gt.Ay.bold(e))}))}(e,p),t?.()}else"development"===e&&p["streamable-http"]&&async function(){Da?(console.log("Restarting http server"),await async function(e){e.kill("SIGKILL"),await new Promise((t=>{e.on("exit",t)}))}(Da),Da=Ma()):(console.log("Starting http server"),Da=Ma())}()}))}))}function Fa(e,t){const a=function(e,t){return`\nexport const tools = {\n${e.map((e=>`"${e}": () => import("../${e}"),`)).join("\n")}\n};\n\n${t?'export const middleware = () => import("../src/middleware");':""}\n`}(e,t);v().writeFileSync(r().join(s,"import-map.js"),a)}},575:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4718);t.default=class{constructor(e,t,a){this._patterns=e,this._settings=t,this._micromatchOptions=a,this._storage=[],this._fillStorage()}_fillStorage(){for(const e of this._patterns){const t=this._getPatternSegments(e),a=this._splitSegmentsIntoSections(t);this._storage.push({complete:a.length<=1,pattern:e,segments:t,sections:a})}}_getPatternSegments(e){return i.pattern.getPatternParts(e,this._micromatchOptions).map((e=>i.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:i.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return i.array.splitWhen(e,(e=>e.dynamic&&i.pattern.hasGlobStar(e.pattern)))}}},618:(e,t)=>{t.suggestSimilar=function(e,t){if(!t||0===t.length)return"";t=Array.from(new Set(t));const a=e.startsWith("--");a&&(e=e.slice(2),t=t.map((e=>e.slice(2))));let i=[],n=3;return t.forEach((t=>{if(t.length<=1)return;const a=function(e,t){if(Math.abs(e.length-t.length)>3)return Math.max(e.length,t.length);const a=[];for(let t=0;t<=e.length;t++)a[t]=[t];for(let e=0;e<=t.length;e++)a[0][e]=e;for(let i=1;i<=t.length;i++)for(let n=1;n<=e.length;n++){let r=1;r=e[n-1]===t[i-1]?0:1,a[n][i]=Math.min(a[n-1][i]+1,a[n][i-1]+1,a[n-1][i-1]+r),n>1&&i>1&&e[n-1]===t[i-2]&&e[n-2]===t[i-1]&&(a[n][i]=Math.min(a[n][i],a[n-2][i-2]+1))}return a[e.length][t.length]}(e,t),r=Math.max(e.length,t.length);(r-a)/r>.4&&(a<n?(n=a,i=[t]):a===n&&i.push(t))})),i.sort(((e,t)=>e.localeCompare(t))),a&&(i=i.map((e=>`--${e}`))),i.length>1?`\n(Did you mean one of ${i.join(", ")}?)`:1===i.length?`\n(Did you mean ${i[0]}?)`:""}},627:(e,t,a)=>{var i,n,r=a(9896),s=a(8254),o=a(111),c=a(8359),p=a(9023);function l(e,t){Object.defineProperty(e,i,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(i=Symbol.for("graceful-fs.queue"),n=Symbol.for("graceful-fs.previous")):(i="___graceful-fs.queue",n="___graceful-fs.previous");var u,d=function(){};if(p.debuglog?d=p.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(d=function(){var e=p.format.apply(p,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!r[i]){var f=global[i]||[];l(r,f),r.close=function(e){function t(t,a){return e.call(r,t,(function(e){e||v(),"function"==typeof a&&a.apply(this,arguments)}))}return Object.defineProperty(t,n,{value:e}),t}(r.close),r.closeSync=function(e){function t(t){e.apply(r,arguments),v()}return Object.defineProperty(t,n,{value:e}),t}(r.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){d(r[i]),a(2613).equal(r[i].length,0)}))}function m(e){s(e),e.gracefulify=m,e.createReadStream=function(t,a){return new e.ReadStream(t,a)},e.createWriteStream=function(t,a){return new e.WriteStream(t,a)};var t=e.readFile;e.readFile=function(e,a,i){return"function"==typeof a&&(i=a,a=null),function e(a,i,n,r){return t(a,i,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?"function"==typeof n&&n.apply(this,arguments):h([e,[a,i,n],t,r||Date.now(),Date.now()])}))}(e,a,i)};var a=e.writeFile;e.writeFile=function(e,t,i,n){return"function"==typeof i&&(n=i,i=null),function e(t,i,n,r,s){return a(t,i,n,(function(a){!a||"EMFILE"!==a.code&&"ENFILE"!==a.code?"function"==typeof r&&r.apply(this,arguments):h([e,[t,i,n,r],a,s||Date.now(),Date.now()])}))}(e,t,i,n)};var i=e.appendFile;i&&(e.appendFile=function(e,t,a,n){return"function"==typeof a&&(n=a,a=null),function e(t,a,n,r,s){return i(t,a,n,(function(i){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?"function"==typeof r&&r.apply(this,arguments):h([e,[t,a,n,r],i,s||Date.now(),Date.now()])}))}(e,t,a,n)});var n=e.copyFile;n&&(e.copyFile=function(e,t,a,i){return"function"==typeof a&&(i=a,a=0),function e(t,a,i,r,s){return n(t,a,i,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?"function"==typeof r&&r.apply(this,arguments):h([e,[t,a,i,r],n,s||Date.now(),Date.now()])}))}(e,t,a,i)});var r=e.readdir;e.readdir=function(e,t,a){"function"==typeof t&&(a=t,t=null);var i=c.test(process.version)?function(e,t,a,i){return r(e,n(e,t,a,i))}:function(e,t,a,i){return r(e,t,n(e,t,a,i))};return i(e,t,a);function n(e,t,a,n){return function(r,s){!r||"EMFILE"!==r.code&&"ENFILE"!==r.code?(s&&s.sort&&s.sort(),"function"==typeof a&&a.call(this,r,s)):h([i,[e,t,a],r,n||Date.now(),Date.now()])}}};var c=/^v[0-5]\./;if("v0.8"===process.version.substr(0,4)){var p=o(e);v=p.ReadStream,g=p.WriteStream}var l=e.ReadStream;l&&(v.prototype=Object.create(l.prototype),v.prototype.open=function(){var e=this;y(e.path,e.flags,e.mode,(function(t,a){t?(e.autoClose&&e.destroy(),e.emit("error",t)):(e.fd=a,e.emit("open",a),e.read())}))});var u=e.WriteStream;u&&(g.prototype=Object.create(u.prototype),g.prototype.open=function(){var e=this;y(e.path,e.flags,e.mode,(function(t,a){t?(e.destroy(),e.emit("error",t)):(e.fd=a,e.emit("open",a))}))}),Object.defineProperty(e,"ReadStream",{get:function(){return v},set:function(e){v=e},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return g},set:function(e){g=e},enumerable:!0,configurable:!0});var d=v;Object.defineProperty(e,"FileReadStream",{get:function(){return d},set:function(e){d=e},enumerable:!0,configurable:!0});var f=g;function v(e,t){return this instanceof v?(l.apply(this,arguments),this):v.apply(Object.create(v.prototype),arguments)}function g(e,t){return this instanceof g?(u.apply(this,arguments),this):g.apply(Object.create(g.prototype),arguments)}Object.defineProperty(e,"FileWriteStream",{get:function(){return f},set:function(e){f=e},enumerable:!0,configurable:!0});var b=e.open;function y(e,t,a,i){return"function"==typeof a&&(i=a,a=null),function e(t,a,i,n,r){return b(t,a,i,(function(s,o){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?"function"==typeof n&&n.apply(this,arguments):h([e,[t,a,i,n],s,r||Date.now(),Date.now()])}))}(e,t,a,i)}return e.open=y,e}function h(e){d("ENQUEUE",e[0].name,e[1]),r[i].push(e),g()}function v(){for(var e=Date.now(),t=0;t<r[i].length;++t)r[i][t].length>2&&(r[i][t][3]=e,r[i][t][4]=e);g()}function g(){if(clearTimeout(u),u=void 0,0!==r[i].length){var e=r[i].shift(),t=e[0],a=e[1],n=e[2],s=e[3],o=e[4];if(void 0===s)d("RETRY",t.name,a),t.apply(null,a);else if(Date.now()-s>=6e4){d("TIMEOUT",t.name,a);var c=a.pop();"function"==typeof c&&c.call(null,n)}else{var p=Date.now()-o,l=Math.max(o-s,1);p>=Math.min(1.2*l,100)?(d("RETRY",t.name,a),t.apply(null,a.concat([s]))):r[i].push(e)}void 0===u&&(u=setTimeout(g,0))}}global[i]||l(global,r[i]),e.exports=m(c(r)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched&&(e.exports=m(r),r.__patched=!0)},723:(e,t)=>{class a extends Error{constructor(e,t,a){super(a),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=t,this.exitCode=e,this.nestedError=void 0}}t.CommanderError=a,t.InvalidArgumentError=class extends a{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}},764:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(1452),n=a(4176),r=a(9956);class s extends r.default{constructor(){super(...arguments),this._walkSync=n.walkSync,this._statSync=i.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const a=[];for(const i of e){const e=this._getFullEntryPath(i),n=this._getEntry(e,i,t);null!==n&&t.entryFilter(n)&&a.push(n)}return a}_getEntry(e,t,a){try{const a=this._getStat(e);return this._makeEntry(a,t)}catch(e){if(a.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}t.default=s},803:e=>{"use strict";e.exports={MAX_LENGTH:1e4,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:"\n",CHAR_NO_BREAK_SPACE:" ",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:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},809:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(5127),n=a(8036);class r extends n.default{constructor(){super(...arguments),this._reader=new i.default(this._settings)}async read(e){const t=this._getRootDirectory(e),a=this._getReaderOptions(e);return(await this.api(t,e,a)).map((e=>a.transform(e)))}api(e,t,a){return t.dynamic?this._reader.dynamic(e,a):this._reader.static(t.patterns,a)}}t.default=r},823:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPosixPathToPattern=t.convertWindowsPathToPattern=t.convertPathToPattern=t.escapePosixPath=t.escapeWindowsPath=t.escape=t.removeLeadingDotSegment=t.makeAbsolute=t.unixify=void 0;const i=a(857),n=a(6928),r="win32"===i.platform(),s=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,o=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,c=/^\\\\([.?])/,p=/\\(?![!()+@[\]{}])/g;function l(e){return e.replace(o,"\\$2")}function u(e){return e.replace(s,"\\$2")}function d(e){return l(e).replace(c,"//$1").replace(p,"/")}function f(e){return u(e)}t.unixify=function(e){return e.replace(/\\/g,"/")},t.makeAbsolute=function(e,t){return n.resolve(e,t)},t.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e},t.escape=r?l:u,t.escapeWindowsPath=l,t.escapePosixPath=u,t.convertPathToPattern=r?d:f,t.convertWindowsPathToPattern=d,t.convertPosixPathToPattern=f},826:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t,a,n,r)=>{"string"==typeof a&&(r=n,n=a,a=void 0);try{return new i(e instanceof i?e.version:e,a).inc(t,n,r).version}catch(e){return null}}},857:e=>{"use strict";e.exports=require("os")},894:e=>{function t(e){return Array.isArray(e)?e:[e]}const a=/^\s+$/,i=/(?:[^\\]|^)\\$/,n=/^\\!/,r=/^\\#/,s=/\r?\n/g,o=/^\.*\/|^\.+$/;let c="node-ignore";"undefined"!=typeof Symbol&&(c=Symbol.for("node-ignore"));const p=c,l=/([0-z])-([0-z])/g,u=()=>!1,d=[[/^\uFEFF/,()=>""],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,a)=>t+(0===a.indexOf("\\")?" ":"")],[/(\\+?)\s/g,(e,t)=>{const{length:a}=t;return t.slice(0,a-a%2)+" "}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,a)=>t+6<a.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,a)=>t+a.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,a,i,n)=>"\\"===t?`\\[${a}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(i)}${n}`:"]"===n&&i.length%2==0?`[${(e=>e.replace(l,((e,t,a)=>t.charCodeAt(0)<=a.charCodeAt(0)?e:"")))(a)}${i}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>(t?`${t}[^/]+`:"[^/]*")+"(?=$|\\/$)"]],f=Object.create(null),m=e=>"string"==typeof e;class h{constructor(e,t,a,i){this.origin=e,this.pattern=t,this.negative=a,this.regex=i}}const v=(e,t)=>{throw new t(e)},g=(e,t,a)=>m(e)?e?!g.isNotRelative(e)||a(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):a("path must not be empty",TypeError):a(`path must be a string, but got \`${t}\``,TypeError),b=e=>o.test(e);g.isNotRelative=b,g.convert=e=>e;class y{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:a=!1}={}){var i;i=p,Object.defineProperty(this,i,{value:true}),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=a,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[p])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&m(e)&&!a.test(e)&&!i.test(e)&&0!==e.indexOf("#"))(e)){const t=((e,t)=>{const a=e;let i=!1;0===e.indexOf("!")&&(i=!0,e=e.substr(1));const s=((e,t)=>{let a=f[e];return a||(a=d.reduce(((t,[a,i])=>t.replace(a,i.bind(e))),e),f[e]=a),t?new RegExp(a,"i"):new RegExp(a)})(e=e.replace(n,"!").replace(r,"#"),t);return new h(a,e,i,s)})(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,t(m(e)?(e=>e.split(s))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let a=!1,i=!1;return this._rules.forEach((n=>{const{negative:r}=n;i===r&&a!==i||r&&!a&&!i&&!t||n.regex.test(e)&&(a=!r,i=r)})),{ignored:a,unignored:i}}_test(e,t,a,i){const n=e&&g.convert(e);return g(n,e,this._allowRelativePaths?u:v),this._t(n,t,a,i)}_t(e,t,a,i){if(e in t)return t[e];if(i||(i=e.split("/")),i.pop(),!i.length)return t[e]=this._testOne(e,a);const n=this._t(i.join("/")+"/",t,a,i);return t[e]=n.ignored?n:this._testOne(e,a)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return t(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const x=e=>new y(e);if(x.isPathValid=e=>g(e&&g.convert(e),e,u),x.default=x,e.exports=x,"undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const e=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");g.convert=e;const t=/^[a-z]:\//i;g.isNotRelative=e=>t.test(e)||b(e)}},898:(e,t,a)=>{"use strict";const i=a(2771),n=a(2326),r=a(7743);e.exports=(e,t)=>{e=new n(e,t);let a=new i("0.0.0");if(e.test(a))return a;if(a=new i("0.0.0-0"),e.test(a))return a;a=null;for(let t=0;t<e.set.length;++t){const n=e.set[t];let s=null;n.forEach((e=>{const t=new i(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":s&&!r(t,s)||(s=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!s||a&&!r(a,s)||(a=s)}return a&&e.test(a)?a:null}},932:e=>{"use strict";e.exports=require("process")},1081:(e,t)=>{"use strict";function a(e,t){e(t)}function i(e,t){e(null,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t,n){t.fs.lstat(e,((r,s)=>{null===r?s.isSymbolicLink()&&t.followSymbolicLink?t.fs.stat(e,((e,r)=>{if(null!==e)return t.throwErrorOnBrokenSymbolicLink?void a(n,e):void i(n,s);t.markSymbolicLink&&(r.isSymbolicLink=()=>!0),i(n,r)})):i(n,s):a(n,r)}))}},1193:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var a=function(){};a.prototype=t.prototype,e.prototype=new a,e.prototype.constructor=e}}},1199:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,n=a(6289),r=a(6928),s=a(8006),o=a(9630),c=i((async function(e){let t;try{t=await n.readdir(e)}catch{return s.mkdirs(e)}return Promise.all(t.map((t=>o.remove(r.join(e,t)))))}));function p(e){let t;try{t=n.readdirSync(e)}catch{return s.mkdirsSync(e)}t.forEach((t=>{t=r.join(e,t),o.removeSync(t)}))}e.exports={emptyDirSync:p,emptydirSync:p,emptyDir:c,emptydir:c}},1251:e=>{var t=Object.prototype.toString,a=Array.isArray;e.exports=function(e){return"string"==typeof e||!a(e)&&function(e){return!!e&&"object"==typeof e}(e)&&"[object String]"==t.call(e)}},1289:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t,a=!1)=>{if(e instanceof i)return e;try{return new i(e,t)}catch(e){if(!a)return null;throw e}}},1314:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t,a)=>0===i(e,t,a)},1319:(e,t,a)=>{"use strict";const i=a(6928);e.exports.checkPath=function(e){if("win32"===process.platform&&/[<>:"|?*]/.test(e.replace(i.parse(e).root,""))){const t=new Error(`Path contains invalid characters: ${e}`);throw t.code="EINVAL",t}}},1376:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,n=a(6289),r=a(6928),s=a(8006),o=a(3640).pathExists;e.exports={outputFile:i((async function(e,t,a="utf-8"){const i=r.dirname(e);return await o(i)||await s.mkdirs(i),n.writeFile(e,t,a)})),outputFileSync:function(e,...t){const a=r.dirname(e);n.existsSync(a)||s.mkdirsSync(a),n.writeFileSync(e,...t)}}},1435:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const i=a(9896);t.FILE_SYSTEM_ADAPTER={lstat:i.lstat,stat:i.stat,lstatSync:i.lstatSync,statSync:i.statSync,readdir:i.readdir,readdirSync:i.readdirSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},1452:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statSync=t.stat=t.Settings=void 0;const i=a(1081),n=a(3858),r=a(4691);function s(e={}){return e instanceof r.default?e:new r.default(e)}t.Settings=r.default,t.stat=function(e,t,a){"function"!=typeof t?i.read(e,s(t),a):i.read(e,s(),t)},t.statSync=function(e,t){const a=s(t);return n.read(e,a)}},1481:(e,t,a)=>{const{Argument:i}=a(2670),{Command:n}=a(7416),{CommanderError:r,InvalidArgumentError:s}=a(723),{Help:o}=a(2966),{Option:c}=a(5156);(t=e.exports=new n).program=t,t.Argument=i,t.Command=n,t.CommanderError=r,t.Help=o,t.InvalidArgumentError=s,t.InvalidOptionArgumentError=s,t.Option=c},1525:(e,t,a)=>{var i=a(4397),n=a(169);t.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],t.sign=i.sign,t.verify=n.verify,t.decode=n.decode,t.isValid=n.isValid,t.createSign=function(e){return new i(e)},t.createVerify=function(e){return new n(e)}},1531:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fs=void 0;const i=a(8024);t.fs=i},1573:(e,t,a)=>{"use strict";const i=a(6640);e.exports=(e,t,a)=>i(e,t,"<",a)},1643:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(2203),n=a(1452),r=a(4176),s=a(9956);class o extends s.default{constructor(){super(...arguments),this._walkStream=r.walkStream,this._stat=n.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const a=e.map(this._getFullEntryPath,this),n=new i.PassThrough({objectMode:!0});n._write=(i,r,s)=>this._getEntry(a[i],e[i],t).then((e=>{null!==e&&t.entryFilter(e)&&n.push(e),i===a.length-1&&n.end(),s()})).catch(s);for(let e=0;e<a.length;e++)n.write(e);return n}_getEntry(e,t,a){return this._getStat(e).then((e=>this._makeEntry(e,t))).catch((e=>{if(a.errorFilter(e))return null;throw e}))}_getStat(e){return new Promise(((t,a)=>{this._stat(e,this._fsStatSettings,((e,i)=>null===e?t(i):a(e)))}))}}t.default=o},1708:e=>{"use strict";e.exports=require("node:process")},1796:(e,t,a)=>{"use strict";const i=a(627),n=a(6928),r=a(8006).mkdirsSync,s=a(9467).utimesMillisSync,o=a(5838);function c(e,t,a,r){const s=(r.dereference?i.statSync:i.lstatSync)(t);if(s.isDirectory())return function(e,t,a,n,r){return t?u(a,n,r):function(e,t,a,n){return i.mkdirSync(a),u(t,a,n),l(a,e)}(e.mode,a,n,r)}(s,e,t,a,r);if(s.isFile()||s.isCharacterDevice()||s.isBlockDevice())return function(e,t,a,n,r){return t?function(e,t,a,n){if(n.overwrite)return i.unlinkSync(a),p(e,t,a,n);if(n.errorOnExist)throw new Error(`'${a}' already exists`)}(e,a,n,r):p(e,a,n,r)}(s,e,t,a,r);if(s.isSymbolicLink())return function(e,t,a,r){let s=i.readlinkSync(t);if(r.dereference&&(s=n.resolve(process.cwd(),s)),e){let e;try{e=i.readlinkSync(a)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return i.symlinkSync(s,a);throw e}if(r.dereference&&(e=n.resolve(process.cwd(),e)),o.isSrcSubdir(s,e))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${e}'.`);if(o.isSrcSubdir(e,s))throw new Error(`Cannot overwrite '${e}' with '${s}'.`);return function(e,t){return i.unlinkSync(t),i.symlinkSync(e,t)}(s,a)}return i.symlinkSync(s,a)}(e,t,a,r);if(s.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(s.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}function p(e,t,a,n){return i.copyFileSync(t,a),n.preserveTimestamps&&function(e,t,a){(function(e){return!(128&e)})(e)&&function(e,t){l(e,128|t)}(a,e),function(e,t){const a=i.statSync(e);s(t,a.atime,a.mtime)}(t,a)}(e.mode,t,a),l(a,e.mode)}function l(e,t){return i.chmodSync(e,t)}function u(e,t,a){const n=i.opendirSync(e);try{let i;for(;null!==(i=n.readSync());)d(i.name,e,t,a)}finally{n.closeSync()}}function d(e,t,a,i){const r=n.join(t,e),s=n.join(a,e);if(i.filter&&!i.filter(r,s))return;const{destStat:p}=o.checkPathsSync(r,s,"copy",i);return c(p,r,s,i)}e.exports=function(e,t,a){"function"==typeof a&&(a={filter:a}),(a=a||{}).clobber=!("clobber"in a)||!!a.clobber,a.overwrite="overwrite"in a?!!a.overwrite:a.clobber,a.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0002");const{srcStat:s,destStat:p}=o.checkPathsSync(e,t,"copy",a);if(o.checkParentPathsSync(e,s,t,"copy"),a.filter&&!a.filter(e,t))return;const l=n.dirname(t);return i.existsSync(l)||r(l),c(p,e,t,a)}},1806:e=>{"use strict";function t(e){return"/"===e.charAt(0)}function a(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(e),a=t[1]||"",i=Boolean(a&&":"!==a.charAt(1));return Boolean(t[2]||i)}e.exports="win32"===process.platform?a:t,e.exports.posix=t,e.exports.win32=a},1811:(e,t)=>{"use strict";t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find((e=>e.type===t)),t.exceedsLimit=(e,a,i=1,n)=>!1!==n&&!(!t.isInteger(e)||!t.isInteger(a))&&(Number(a)-Number(e))/Number(i)>=n,t.escapeNode=(e,t=0,a)=>{const i=e.nodes[t];i&&(a&&i.type===a||"open"===i.type||"close"===i.type)&&!0!==i.escaped&&(i.value="\\"+i.value,i.escaped=!0)},t.encloseBrace=e=>!("brace"!==e.type||e.commas>>0+e.ranges|0||(e.invalid=!0,0)),t.isInvalidBrace=e=>!("brace"!==e.type||!0!==e.invalid&&!e.dollar&&(e.commas>>0+e.ranges|0&&!0===e.open&&!0===e.close||(e.invalid=!0,0))),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,t.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),t.flatten=(...e)=>{const t=[],a=e=>{for(let i=0;i<e.length;i++){const n=e[i];Array.isArray(n)?a(n):void 0!==n&&t.push(n)}return t};return a(e),t}},1861:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t,a)=>i(t,e,a)},1872:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,n=a(6928),r=a(6289),s=a(8006);e.exports={createFile:i((async function(e){let t;try{t=await r.stat(e)}catch{}if(t&&t.isFile())return;const a=n.dirname(e);let i=null;try{i=await r.stat(a)}catch(t){if("ENOENT"===t.code)return await s.mkdirs(a),void await r.writeFile(e,"");throw t}i.isDirectory()?await r.writeFile(e,""):await r.readdir(a)})),createFileSync:function(e){let t;try{t=r.statSync(e)}catch{}if(t&&t.isFile())return;const a=n.dirname(e);try{r.statSync(a).isDirectory()||r.readdirSync(a)}catch(e){if(!e||"ENOENT"!==e.code)throw e;s.mkdirsSync(a)}r.writeFileSync(e,"")}}},1882:(e,t,a)=>{var i=a(6608).Buffer,n=a(2203);function r(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=i.alloc(0),this;if("function"==typeof e.pipe)return this.buffer=i.alloc(0),e.pipe(this),this;if(e.length||"object"==typeof e)return this.buffer=e,this.writable=!1,process.nextTick(function(){this.emit("end",e),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof e+")")}a(9023).inherits(r,n),r.prototype.write=function(e){this.buffer=i.concat([this.buffer,i.from(e)]),this.emit("data",e)},r.prototype.end=function(e){e&&this.write(e),this.emit("end",e),this.emit("close"),this.writable=!1,this.readable=!1},e.exports=r},1913:(e,t,a)=>{"use strict";const i=a(2326);e.exports=(e,t)=>{try{return new i(e,t).range||"*"}catch(e){return null}}},1919:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=void 0,t.joinPathSegments=function(e,t,a){return e.endsWith(a)?e+t:e+a+t}},2188:e=>{"use strict";function t(e){return(e/8|0)+(e%8==0?0:1)}var a={ES256:t(256),ES384:t(384),ES512:t(521)};e.exports=function(e){var t=a[e];if(t)return t;throw new Error('Unknown algorithm "'+e+'"')}},2203:e=>{"use strict";e.exports=require("stream")},2223:(e,t,a)=>{"use strict";const i=a(1289);e.exports=(e,t)=>{const a=i(e,null,!0),n=i(t,null,!0),r=a.compare(n);if(0===r)return null;const s=r>0,o=s?a:n,c=s?n:a,p=!!o.prerelease.length;if(c.prerelease.length&&!p){if(!c.patch&&!c.minor)return"major";if(0===c.compareMain(o))return c.minor&&!c.patch?"minor":"patch"}const l=p?"pre":"";return a.major!==n.major?l+"major":a.minor!==n.minor?l+"minor":a.patch!==n.patch?l+"patch":"prerelease"}},2326:(e,t,a)=>{"use strict";const i=/\s+/g;class n{constructor(e,t){if(t=s(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(i," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&h)|(this.options.loose&&v))+":"+e,a=r.get(t);if(a)return a;const i=this.options.loose,n=i?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(n,O(this.options.includePrerelease)),c("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),c("comparator trim",e),e=e.replace(l[u.TILDETRIM],f),c("tilde trim",e),e=e.replace(l[u.CARETTRIM],m),c("caret trim",e);let s=e.split(" ").map((e=>x(e,this.options))).join(" ").split(/\s+/).map((e=>C(e,this.options)));i&&(s=s.filter((e=>(c("loose invalid filter",e,this.options),!!e.match(l[u.COMPARATORLOOSE]))))),c("range list",s);const p=new Map,b=s.map((e=>new o(e,this.options)));for(const e of b){if(g(e))return[e];p.set(e.value,e)}p.size>1&&p.has("")&&p.delete("");const y=[...p.values()];return r.set(t,y),y}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some((a=>y(a,t)&&e.set.some((e=>y(e,t)&&a.every((a=>e.every((e=>a.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new p(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(P(this.set[t],e,this.options))return!0;return!1}}e.exports=n;const r=new(a(2351)),s=a(2860),o=a(9003),c=a(4159),p=a(2771),{safeRe:l,t:u,comparatorTrimReplace:d,tildeTrimReplace:f,caretTrimReplace:m}=a(6999),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:v}=a(229),g=e=>"<0.0.0-0"===e.value,b=e=>""===e.value,y=(e,t)=>{let a=!0;const i=e.slice();let n=i.pop();for(;a&&i.length;)a=i.every((e=>n.intersects(e,t))),n=i.pop();return a},x=(e,t)=>(c("comp",e,t),e=S(e,t),c("caret",e),e=_(e,t),c("tildes",e),e=j(e,t),c("xrange",e),e=A(e,t),c("stars",e),e),w=e=>!e||"x"===e.toLowerCase()||"*"===e,_=(e,t)=>e.trim().split(/\s+/).map((e=>k(e,t))).join(" "),k=(e,t)=>{const a=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(a,((t,a,i,n,r)=>{let s;return c("tilde",e,t,a,i,n,r),w(a)?s="":w(i)?s=`>=${a}.0.0 <${+a+1}.0.0-0`:w(n)?s=`>=${a}.${i}.0 <${a}.${+i+1}.0-0`:r?(c("replaceTilde pr",r),s=`>=${a}.${i}.${n}-${r} <${a}.${+i+1}.0-0`):s=`>=${a}.${i}.${n} <${a}.${+i+1}.0-0`,c("tilde return",s),s}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{c("caret",e,t);const a=t.loose?l[u.CARETLOOSE]:l[u.CARET],i=t.includePrerelease?"-0":"";return e.replace(a,((t,a,n,r,s)=>{let o;return c("caret",e,t,a,n,r,s),w(a)?o="":w(n)?o=`>=${a}.0.0${i} <${+a+1}.0.0-0`:w(r)?o="0"===a?`>=${a}.${n}.0${i} <${a}.${+n+1}.0-0`:`>=${a}.${n}.0${i} <${+a+1}.0.0-0`:s?(c("replaceCaret pr",s),o="0"===a?"0"===n?`>=${a}.${n}.${r}-${s} <${a}.${n}.${+r+1}-0`:`>=${a}.${n}.${r}-${s} <${a}.${+n+1}.0-0`:`>=${a}.${n}.${r}-${s} <${+a+1}.0.0-0`):(c("no pr"),o="0"===a?"0"===n?`>=${a}.${n}.${r}${i} <${a}.${n}.${+r+1}-0`:`>=${a}.${n}.${r}${i} <${a}.${+n+1}.0-0`:`>=${a}.${n}.${r} <${+a+1}.0.0-0`),c("caret return",o),o}))},j=(e,t)=>(c("replaceXRanges",e,t),e.split(/\s+/).map((e=>T(e,t))).join(" ")),T=(e,t)=>{e=e.trim();const a=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(a,((a,i,n,r,s,o)=>{c("xRange",e,a,i,n,r,s,o);const p=w(n),l=p||w(r),u=l||w(s),d=u;return"="===i&&d&&(i=""),o=t.includePrerelease?"-0":"",p?a=">"===i||"<"===i?"<0.0.0-0":"*":i&&d?(l&&(r=0),s=0,">"===i?(i=">=",l?(n=+n+1,r=0,s=0):(r=+r+1,s=0)):"<="===i&&(i="<",l?n=+n+1:r=+r+1),"<"===i&&(o="-0"),a=`${i+n}.${r}.${s}${o}`):l?a=`>=${n}.0.0${o} <${+n+1}.0.0-0`:u&&(a=`>=${n}.${r}.0${o} <${n}.${+r+1}.0-0`),c("xRange return",a),a}))},A=(e,t)=>(c("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),C=(e,t)=>(c("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),O=e=>(t,a,i,n,r,s,o,c,p,l,u,d)=>`${a=w(i)?"":w(n)?`>=${i}.0.0${e?"-0":""}`:w(r)?`>=${i}.${n}.0${e?"-0":""}`:s?`>=${a}`:`>=${a}${e?"-0":""}`} ${c=w(p)?"":w(l)?`<${+p+1}.0.0-0`:w(u)?`<${p}.${+l+1}.0-0`:d?`<=${p}.${l}.${u}-${d}`:e?`<${p}.${l}.${+u+1}-0`:`<=${c}`}`.trim(),P=(e,t,a)=>{for(let a=0;a<e.length;a++)if(!e[a].test(t))return!1;if(t.prerelease.length&&!a.includePrerelease){for(let a=0;a<e.length;a++)if(c(e[a].semver),e[a].semver!==o.ANY&&e[a].semver.prerelease.length>0){const i=e[a].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}},2351:e=>{"use strict";e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},2411:(e,t,a)=>{"use strict";const i=a(9023),n=a(4710),r=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),s=e=>"number"==typeof e||"string"==typeof e&&""!==e,o=e=>Number.isInteger(+e),c=e=>{let t=`${e}`,a=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++a];);return a>0},p=(e,t,a)=>{if(t>0){let a="-"===e[0]?"-":"";a&&(e=e.slice(1)),e=a+e.padStart(a?t-1:t,"0")}return!1===a?String(e):e},l=(e,t)=>{let a="-"===e[0]?"-":"";for(a&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return a?"-"+e:e},u=(e,t,a,i)=>{if(a)return n(e,t,{wrap:!1,...i});let r=String.fromCharCode(e);return e===t?r:`[${r}-${String.fromCharCode(t)}]`},d=(e,t,a)=>{if(Array.isArray(e)){let t=!0===a.wrap,i=a.capture?"":"?:";return t?`(${i}${e.join("|")})`:e.join("|")}return n(e,t,a)},f=(...e)=>new RangeError("Invalid range arguments: "+i.inspect(...e)),m=(e,t,a)=>{if(!0===a.strictRanges)throw f([e,t]);return[]},h=(e,t,a,i={})=>{if(null==t&&s(e))return[e];if(!s(e)||!s(t))return m(e,t,i);if("function"==typeof a)return h(e,t,1,{transform:a});if(r(a))return h(e,t,0,a);let n={...i};return!0===n.capture&&(n.wrap=!0),a=a||n.step||1,o(a)?o(e)&&o(t)?((e,t,a=1,i={})=>{let n=Number(e),r=Number(t);if(!Number.isInteger(n)||!Number.isInteger(r)){if(!0===i.strictRanges)throw f([e,t]);return[]}0===n&&(n=0),0===r&&(r=0);let s=n>r,o=String(e),m=String(t),h=String(a);a=Math.max(Math.abs(a),1);let v=c(o)||c(m)||c(h),g=v?Math.max(o.length,m.length,h.length):0,b=!1===v&&!1===((e,t,a)=>"string"==typeof e||"string"==typeof t||!0===a.stringify)(e,t,i),y=i.transform||(e=>t=>!0===e?Number(t):String(t))(b);if(i.toRegex&&1===a)return u(l(e,g),l(t,g),!0,i);let x={negatives:[],positives:[]},w=[],_=0;for(;s?n>=r:n<=r;)!0===i.toRegex&&a>1?x[(k=n)<0?"negatives":"positives"].push(Math.abs(k)):w.push(p(y(n,_),g,b)),n=s?n-a:n+a,_++;var k;return!0===i.toRegex?a>1?((e,t,a)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0)),e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let i,n=t.capture?"":"?:",r="",s="";return e.positives.length&&(r=e.positives.map((e=>l(String(e),a))).join("|")),e.negatives.length&&(s=`-(${n}${e.negatives.map((e=>l(String(e),a))).join("|")})`),i=r&&s?`${r}|${s}`:r||s,t.wrap?`(${n}${i})`:i})(x,i,g):d(w,null,{wrap:!1,...i}):w})(e,t,a,n):((e,t,a=1,i={})=>{if(!o(e)&&e.length>1||!o(t)&&t.length>1)return m(e,t,i);let n=i.transform||(e=>String.fromCharCode(e)),r=`${e}`.charCodeAt(0),s=`${t}`.charCodeAt(0),c=r>s,p=Math.min(r,s),l=Math.max(r,s);if(i.toRegex&&1===a)return u(p,l,!1,i);let f=[],h=0;for(;c?r>=s:r<=s;)f.push(n(r,h)),r=c?r-a:r+a,h++;return!0===i.toRegex?d(f,null,{wrap:!1,options:i}):f})(e,t,Math.max(Math.abs(a),1),n):null==a||r(a)?h(e,t,1,a):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(a,n)};e.exports=h},2468:(e,t,a)=>{"use strict";const i=a(4163),n=a(5469);e.exports=(e,t,a)=>{const r=[];let s=null,o=null;const c=e.sort(((e,t)=>n(e,t,a)));for(const e of c)i(e,t,a)?(o=e,s||(s=e)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const p=[];for(const[e,t]of r)e===t?p.push(e):t||e!==c[0]?t?e===c[0]?p.push(`<=${t}`):p.push(`${e} - ${t}`):p.push(`>=${e}`):p.push("*");const l=p.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return l.length<u.length?l:t}},2564:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(6928),n=a(1452),r=a(1435);t.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=r.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,i.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(e,t){return null!=e?e:t}}},2613:e=>{"use strict";e.exports=require("assert")},2635:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4718),n=a(3648);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,a){const i=this._getMatcher(t),n=this._getNegativePatternsRe(a);return t=>this._filter(e,t,i,n)}_getMatcher(e){return new n.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(i.pattern.isAffectDepthOfReadingPattern);return i.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,a,n){if(this._isSkippedByDeep(e,t.path))return!1;if(this._isSkippedSymbolicLink(t))return!1;const r=i.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(r,a)&&this._isSkippedByNegativePatterns(r,n)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const a=t.split("/").length;return""===e?a:a-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!i.pattern.matchAny(e,t)}}},2666:(e,t,a)=>{try{var i=a(9023);if("function"!=typeof i.inherits)throw"";e.exports=i.inherits}catch(t){e.exports=a(1193)}},2670:(e,t,a)=>{const{InvalidArgumentError:i}=a(723);t.Argument=class{constructor(e,t){switch(this.description=t||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e}this._name.length>3&&"..."===this._name.slice(-3)&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(e,t){return t!==this.defaultValue&&Array.isArray(t)?t.concat(e):[e]}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(e,t)=>{if(!this.argChoices.includes(e))throw new i(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,t):e},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}},t.humanReadableArgName=function(e){const t=e.name()+(!0===e.variadic?"...":"");return e.required?"<"+t+">":"["+t+"]"}},2690:(e,t,a)=>{"use strict";const i=a(6289),n=a(6928),{copy:r}=a(7751),{remove:s}=a(9630),{mkdirp:o}=a(8006),{pathExists:c}=a(3640),p=a(5838);e.exports=async function(e,t,a={}){const l=a.overwrite||a.clobber||!1,{srcStat:u,isChangingCase:d=!1}=await p.checkPaths(e,t,"move",a);await p.checkParentPaths(e,u,t,"move");const f=n.dirname(t);return n.parse(f).root!==f&&await o(f),async function(e,t,a,n){if(!n)if(a)await s(t);else if(await c(t))throw new Error("dest already exists.");try{await i.rename(e,t)}catch(i){if("EXDEV"!==i.code)throw i;await async function(e,t,a){const i={overwrite:a,errorOnExist:!0,preserveTimestamps:!0};return await r(e,t,i),s(e)}(e,t,a)}}(e,t,l,d)}},2771:(e,t,a)=>{"use strict";const i=a(4159),{MAX_LENGTH:n,MAX_SAFE_INTEGER:r}=a(229),{safeRe:s,t:o}=a(6999),c=a(2860),{compareIdentifiers:p}=a(3436);class l{constructor(e,t){if(t=c(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>n)throw new TypeError(`version is longer than ${n} characters`);i("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const a=e.trim().match(t.loose?s[o.LOOSE]:s[o.FULL]);if(!a)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<r)return t}return e})):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(i("SemVer.compare",this.version,this.options,e),!(e instanceof l)){if("string"==typeof e&&e===this.version)return 0;e=new l(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof l||(e=new l(e,this.options)),p(this.major,e.major)||p(this.minor,e.minor)||p(this.patch,e.patch)}comparePre(e){if(e instanceof l||(e=new l(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const a=this.prerelease[t],n=e.prerelease[t];if(i("prerelease compare",t,a,n),void 0===a&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===a)return-1;if(a!==n)return p(a,n)}while(++t)}compareBuild(e){e instanceof l||(e=new l(e,this.options));let t=0;do{const a=this.build[t],n=e.build[t];if(i("build compare",t,a,n),void 0===a&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===a)return-1;if(a!==n)return p(a,n)}while(++t)}inc(e,t,a){if(e.startsWith("pre")){if(!t&&!1===a)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?s[o.PRERELEASELOOSE]:s[o.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,a);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,a);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,a),this.inc("pre",t,a);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,a),this.inc("pre",t,a);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(a)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let i=this.prerelease.length;for(;--i>=0;)"number"==typeof this.prerelease[i]&&(this.prerelease[i]++,i=-2);if(-1===i){if(t===this.prerelease.join(".")&&!1===a)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let i=[t,e];!1===a&&(i=[t]),0===p(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=l},2809:(e,t,a)=>{"use strict";const i=a(2326),n=a(9003),{ANY:r}=n,s=a(4163),o=a(5469),c=[new n(">=0.0.0-0")],p=[new n(">=0.0.0")],l=(e,t,a)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===r){if(1===t.length&&t[0].semver===r)return!0;e=a.includePrerelease?c:p}if(1===t.length&&t[0].semver===r){if(a.includePrerelease)return!0;t=p}const i=new Set;let n,l,f,m,h,v,g;for(const t of e)">"===t.operator||">="===t.operator?n=u(n,t,a):"<"===t.operator||"<="===t.operator?l=d(l,t,a):i.add(t.semver);if(i.size>1)return null;if(n&&l){if(f=o(n.semver,l.semver,a),f>0)return null;if(0===f&&(">="!==n.operator||"<="!==l.operator))return null}for(const e of i){if(n&&!s(e,String(n),a))return null;if(l&&!s(e,String(l),a))return null;for(const i of t)if(!s(e,String(i),a))return!1;return!0}let b=!(!l||a.includePrerelease||!l.semver.prerelease.length)&&l.semver,y=!(!n||a.includePrerelease||!n.semver.prerelease.length)&&n.semver;b&&1===b.prerelease.length&&"<"===l.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,v=v||"<"===e.operator||"<="===e.operator,n)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if(m=u(n,e,a),m===e&&m!==n)return!1}else if(">="===n.operator&&!s(n.semver,String(e),a))return!1;if(l)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(h=d(l,e,a),h===e&&h!==l)return!1}else if("<="===l.operator&&!s(l.semver,String(e),a))return!1;if(!e.operator&&(l||n)&&0!==f)return!1}return!(n&&v&&!l&&0!==f||l&&g&&!n&&0!==f||y||b)},u=(e,t,a)=>{if(!e)return t;const i=o(e.semver,t.semver,a);return i>0?e:i<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,a)=>{if(!e)return t;const i=o(e.semver,t.semver,a);return i<0?e:i>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,a={})=>{if(e===t)return!0;e=new i(e,a),t=new i(t,a);let n=!1;e:for(const i of e.set){for(const e of t.set){const t=l(i,e,a);if(n=n||null!==t,t)continue e}if(n)return!1}return!0}},2860:e=>{"use strict";const t=Object.freeze({loose:!0}),a=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:a},2928:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const i=a(1452),n=a(339),r=a(2976),s=a(1531),o=a(1919);function c(e,t,a){t.fs.readdir(e,{withFileTypes:!0},((i,r)=>{if(null!==i)return void l(a,i);const c=r.map((a=>({dirent:a,name:a.name,path:o.joinPathSegments(e,a.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return void u(a,c);const p=c.map((e=>function(e,t){return a=>{e.dirent.isSymbolicLink()?t.fs.stat(e.path,((i,n)=>{if(null!==i)return t.throwErrorOnBrokenSymbolicLink?void a(i):void a(null,e);e.dirent=s.fs.createDirentFromStats(e.name,n),a(null,e)})):a(null,e)}}(e,t)));n(p,((e,t)=>{null===e?u(a,t):l(a,e)}))}))}function p(e,t,a){t.fs.readdir(e,((r,c)=>{if(null!==r)return void l(a,r);const p=c.map((a=>{const n=o.joinPathSegments(e,a,t.pathSegmentSeparator);return e=>{i.stat(n,t.fsStatSettings,((i,r)=>{if(null!==i)return void e(i);const o={name:a,path:n,dirent:s.fs.createDirentFromStats(a,r)};t.stats&&(o.stats=r),e(null,o)}))}}));n(p,((e,t)=>{null===e?u(a,t):l(a,e)}))}))}function l(e,t){e(t)}function u(e,t){e(null,t)}t.read=function(e,t,a){t.stats||!r.IS_SUPPORT_READDIR_WITH_FILE_TYPES?p(e,t,a):c(e,t,a)},t.readdirWithFileTypes=c,t.readdir=p},2930:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEnoentCodeError=void 0,t.isEnoentCodeError=function(e){return"ENOENT"===e.code}},2966:(e,t,a)=>{const{humanReadableArgName:i}=a(2670);t.Help=class{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands(e){const t=e.commands.filter((e=>!e._hidden));if(e._hasImplicitHelpCommand()){const[,a,i]=e._helpCommandnameAndArgs.match(/([^ ]+) *(.*)/),n=e.createCommand(a).helpOption(!1);n.description(e._helpCommandDescription),i&&n.arguments(i),t.push(n)}return this.sortSubcommands&&t.sort(((e,t)=>e.name().localeCompare(t.name()))),t}compareOptions(e,t){const a=e=>e.short?e.short.replace(/^-/,""):e.long.replace(/^--/,"");return a(e).localeCompare(a(t))}visibleOptions(e){const t=e.options.filter((e=>!e.hidden)),a=e._hasHelpOption&&e._helpShortFlag&&!e._findOption(e._helpShortFlag),i=e._hasHelpOption&&!e._findOption(e._helpLongFlag);if(a||i){let n;n=a?i?e.createOption(e._helpFlags,e._helpDescription):e.createOption(e._helpShortFlag,e._helpDescription):e.createOption(e._helpLongFlag,e._helpDescription),t.push(n)}return this.sortOptions&&t.sort(this.compareOptions),t}visibleGlobalOptions(e){if(!this.showGlobalOptions)return[];const t=[];for(let a=e.parent;a;a=a.parent){const e=a.options.filter((e=>!e.hidden));t.push(...e)}return this.sortOptions&&t.sort(this.compareOptions),t}visibleArguments(e){return e._argsDescription&&e._args.forEach((t=>{t.description=t.description||e._argsDescription[t.name()]||""})),e._args.find((e=>e.description))?e._args:[]}subcommandTerm(e){const t=e._args.map((e=>i(e))).join(" ");return e._name+(e._aliases[0]?"|"+e._aliases[0]:"")+(e.options.length?" [options]":"")+(t?" "+t:"")}optionTerm(e){return e.flags}argumentTerm(e){return e.name()}longestSubcommandTermLength(e,t){return t.visibleCommands(e).reduce(((e,a)=>Math.max(e,t.subcommandTerm(a).length)),0)}longestOptionTermLength(e,t){return t.visibleOptions(e).reduce(((e,a)=>Math.max(e,t.optionTerm(a).length)),0)}longestGlobalOptionTermLength(e,t){return t.visibleGlobalOptions(e).reduce(((e,a)=>Math.max(e,t.optionTerm(a).length)),0)}longestArgumentTermLength(e,t){return t.visibleArguments(e).reduce(((e,a)=>Math.max(e,t.argumentTerm(a).length)),0)}commandUsage(e){let t=e._name;e._aliases[0]&&(t=t+"|"+e._aliases[0]);let a="";for(let t=e.parent;t;t=t.parent)a=t.name()+" "+a;return a+t+" "+e.usage()}commandDescription(e){return e.description()}subcommandDescription(e){return e.summary()||e.description()}optionDescription(e){const t=[];return e.argChoices&&t.push(`choices: ${e.argChoices.map((e=>JSON.stringify(e))).join(", ")}`),void 0!==e.defaultValue&&(e.required||e.optional||e.isBoolean()&&"boolean"==typeof e.defaultValue)&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),void 0!==e.presetArg&&e.optional&&t.push(`preset: ${JSON.stringify(e.presetArg)}`),void 0!==e.envVar&&t.push(`env: ${e.envVar}`),t.length>0?`${e.description} (${t.join(", ")})`:e.description}argumentDescription(e){const t=[];if(e.argChoices&&t.push(`choices: ${e.argChoices.map((e=>JSON.stringify(e))).join(", ")}`),void 0!==e.defaultValue&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),t.length>0){const a=`(${t.join(", ")})`;return e.description?`${e.description} ${a}`:a}return e.description}formatHelp(e,t){const a=t.padWidth(e,t),i=t.helpWidth||80;function n(e,n){if(n){const r=`${e.padEnd(a+2)}${n}`;return t.wrap(r,i-2,a+2)}return e}function r(e){return e.join("\n").replace(/^/gm," ".repeat(2))}let s=[`Usage: ${t.commandUsage(e)}`,""];const o=t.commandDescription(e);o.length>0&&(s=s.concat([t.wrap(o,i,0),""]));const c=t.visibleArguments(e).map((e=>n(t.argumentTerm(e),t.argumentDescription(e))));c.length>0&&(s=s.concat(["Arguments:",r(c),""]));const p=t.visibleOptions(e).map((e=>n(t.optionTerm(e),t.optionDescription(e))));if(p.length>0&&(s=s.concat(["Options:",r(p),""])),this.showGlobalOptions){const a=t.visibleGlobalOptions(e).map((e=>n(t.optionTerm(e),t.optionDescription(e))));a.length>0&&(s=s.concat(["Global Options:",r(a),""]))}const l=t.visibleCommands(e).map((e=>n(t.subcommandTerm(e),t.subcommandDescription(e))));return l.length>0&&(s=s.concat(["Commands:",r(l),""])),s.join("\n")}padWidth(e,t){return Math.max(t.longestOptionTermLength(e,t),t.longestGlobalOptionTermLength(e,t),t.longestSubcommandTermLength(e,t),t.longestArgumentTermLength(e,t))}wrap(e,t,a,i=40){const n=new RegExp("[\\n][ \\f\\t\\v - \ufeff]+");if(e.match(n))return e;const r=t-a;if(r<i)return e;const s=e.slice(0,a),o=e.slice(a).replace("\r\n","\n"),c=" ".repeat(a),p="\\s",l=new RegExp(`\n|.{1,${r-1}}([${p}]|$)|[^${p}]+?([${p}]|$)`,"g");return s+(o.match(l)||[]).map(((e,t)=>"\n"===e?"":(t>0?c:"")+e.trimEnd())).join("\n")}}},2968:(e,t,a)=>{var i=a(7941),n=a(4323);e.exports=function(e){return e?("{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2)),g(function(e){return e.split("\\\\").join(r).split("\\{").join(s).split("\\}").join(o).split("\\,").join(c).split("\\.").join(p)}(e),!0).map(u)):[]};var r="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",o="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",p="\0PERIOD"+Math.random()+"\0";function l(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function u(e){return e.split(r).join("\\").split(s).join("{").split(o).join("}").split(c).join(",").split(p).join(".")}function d(e){if(!e)return[""];var t=[],a=n("{","}",e);if(!a)return e.split(",");var i=a.pre,r=a.body,s=a.post,o=i.split(",");o[o.length-1]+="{"+r+"}";var c=d(s);return s.length&&(o[o.length-1]+=c.shift(),o.push.apply(o,c)),t.push.apply(t,o),t}function f(e){return"{"+e+"}"}function m(e){return/^-?0\d/.test(e)}function h(e,t){return e<=t}function v(e,t){return e>=t}function g(e,t){var a=[],r=n("{","}",e);if(!r||/\$$/.test(r.pre))return[e];var s,c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(r.body),p=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(r.body),u=c||p,b=r.body.indexOf(",")>=0;if(!u&&!b)return r.post.match(/,.*\}/)?g(e=r.pre+"{"+r.body+o+r.post):[e];if(u)s=r.body.split(/\.\./);else if(1===(s=d(r.body)).length&&1===(s=g(s[0],!1).map(f)).length)return(w=r.post.length?g(r.post,!1):[""]).map((function(e){return r.pre+s[0]+e}));var y,x=r.pre,w=r.post.length?g(r.post,!1):[""];if(u){var _=l(s[0]),k=l(s[1]),S=Math.max(s[0].length,s[1].length),E=3==s.length?Math.abs(l(s[2])):1,j=h;k<_&&(E*=-1,j=v);var T=s.some(m);y=[];for(var A=_;j(A,k);A+=E){var C;if(p)"\\"===(C=String.fromCharCode(A))&&(C="");else if(C=String(A),T){var O=S-C.length;if(O>0){var P=new Array(O+1).join("0");C=A<0?"-"+P+C.slice(1):P+C}}y.push(C)}}else y=i(s,(function(e){return g(e,!1)}));for(var R=0;R<y.length;R++)for(var I=0;I<w.length;I++){var N=x+y[R]+w[I];(!t||u||N)&&a.push(N)}return a}},2974:(e,t,a)=>{"use strict";const i=a(6928),n=a(6289),{pathExists:r}=a(3640),s=a(4635).fromPromise;e.exports={symlinkPaths:s((async function(e,t){if(i.isAbsolute(e)){try{await n.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:e}}const a=i.dirname(t),s=i.join(a,e);if(await r(s))return{toCwd:s,toDst:e};try{await n.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:i.relative(a,e)}})),symlinkPathsSync:function(e,t){if(i.isAbsolute(e)){if(!n.existsSync(e))throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}const a=i.dirname(t),r=i.join(a,e);if(n.existsSync(r))return{toCwd:r,toDst:e};if(!n.existsSync(e))throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:i.relative(a,e)}}}},2976:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const a=process.versions.node.split(".");if(void 0===a[0]||void 0===a[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const i=Number.parseInt(a[0],10),n=Number.parseInt(a[1],10),r=i>10,s=10===i&&n>=10;t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=r||s},2999:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4718);t.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return i.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}},3142:(e,t,a)=>{"use strict";const i=a(9896),n=a(6928),{promisify:r}=a(9023);let s;try{s=a(Object(function(){var e=new Error("Cannot find module 'fsevents'");throw e.code="MODULE_NOT_FOUND",e}()))}catch(e){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(e)}if(s){const e=process.version.match(/v(\d+)\.(\d+)/);if(e&&e[1]&&e[2]){const t=Number.parseInt(e[1],10),a=Number.parseInt(e[2],10);8===t&&a<16&&(s=void 0)}}const{EV_ADD:o,EV_CHANGE:c,EV_ADD_DIR:p,EV_UNLINK:l,EV_ERROR:u,STR_DATA:d,STR_END:f,FSEVENT_CREATED:m,FSEVENT_MODIFIED:h,FSEVENT_DELETED:v,FSEVENT_MOVED:g,FSEVENT_UNKNOWN:b,FSEVENT_FLAG_MUST_SCAN_SUBDIRS:y,FSEVENT_TYPE_FILE:x,FSEVENT_TYPE_DIRECTORY:w,FSEVENT_TYPE_SYMLINK:_,ROOT_GLOBSTAR:k,DIR_SUFFIX:S,DOT_SLASH:E,FUNCTION_TYPE:j,EMPTY_FN:T,IDENTITY_FN:A}=a(416),C=r(i.stat),O=r(i.lstat),P=r(i.realpath),R={stat:C,lstat:O},I=new Map,N=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),L=(e,t)=>({stop:s.watch(e,t)}),$=(e,t)=>{let a=0;for(;!e.indexOf(t)&&(e=n.dirname(e))!==t;)a++;return a},D=(e,t)=>e.type===w&&t.isDirectory()||e.type===_&&t.isSymbolicLink()||e.type===x&&t.isFile();e.exports=class{constructor(e){this.fsw=e}checkIgnored(e,t){const a=this.fsw._ignoredPaths;if(this.fsw._isIgnored(e,t))return a.add(e),t&&t.isDirectory()&&a.add(e+k),!0;a.delete(e),a.delete(e+k)}addOrChange(e,t,a,i,n,r,s,p){const l=n.has(r)?c:o;this.handleEvent(l,e,t,a,i,n,r,s,p)}async checkExists(e,t,a,i,n,r,s,o){try{const c=await C(e);if(this.fsw.closed)return;D(s,c)?this.addOrChange(e,t,a,i,n,r,s,o):this.handleEvent(l,e,t,a,i,n,r,s,o)}catch(c){"EACCES"===c.code?this.addOrChange(e,t,a,i,n,r,s,o):this.handleEvent(l,e,t,a,i,n,r,s,o)}}handleEvent(e,t,a,i,n,r,s,c,u){if(!this.fsw.closed&&!this.checkIgnored(t))if(e===l){const e=c.type===w;(e||r.has(s))&&this.fsw._remove(n,s,e)}else{if(e===o){if(c.type===w&&this.fsw._getWatchedDir(t),c.type===_&&u.followSymlinks){const e=void 0===u.depth?void 0:$(a,i)+1;return this._addToFsEvents(t,!1,!0,e)}this.fsw._getWatchedDir(n).add(s)}const r=c.type===w?e+S:e;this.fsw._emit(r,t),r===p&&this._addToFsEvents(t,!1,!0)}}_watchWithFsEvents(e,t,a,i){if(this.fsw.closed||this.fsw._isIgnored(e))return;const r=this.fsw.options,o=function(e,t,a,i){let r=n.extname(t)?n.dirname(t):t;const o=n.dirname(r);let c=I.get(r);(e=>{let t=0;for(const a of I.keys())if(0===a.indexOf(e)&&(t++,t>=10))return!0;return!1})(o)&&(r=o);const p=n.resolve(e),l=p!==t,u=(e,i,r)=>{l&&(e=e.replace(t,p)),e!==p&&e.indexOf(p+n.sep)||a(e,i,r)};let d=!1;for(const e of I.keys())if(0===t.indexOf(n.resolve(e)+n.sep)){r=e,c=I.get(r),d=!0;break}return c||d?c.listeners.add(u):(c={listeners:new Set([u]),rawEmitter:i,watcher:L(r,((e,t)=>{if(!c.listeners.size)return;if(t&y)return;const a=s.getInfo(e,t);c.listeners.forEach((i=>{i(e,t,a)})),c.rawEmitter(a.event,e,a)}))},I.set(r,c)),()=>{const e=c.listeners;if(e.delete(u),!e.size&&(I.delete(r),c.watcher))return c.watcher.stop().then((()=>{c.rawEmitter=c.watcher=void 0,Object.freeze(c)}))}}(e,t,(async(s,o,c)=>{if(this.fsw.closed)return;if(void 0!==r.depth&&$(s,t)>r.depth)return;const p=a(n.join(e,n.relative(e,s)));if(i&&!i(p))return;const u=n.dirname(p),d=n.basename(p),f=this.fsw._getWatchedDir(c.type===w?p:u);if(N.has(o)||c.event===b)if(typeof r.ignored===j){let e;try{e=await C(p)}catch(e){}if(this.fsw.closed)return;if(this.checkIgnored(p,e))return;D(c,e)?this.addOrChange(p,s,t,u,f,d,c,r):this.handleEvent(l,p,s,t,u,f,d,c,r)}else this.checkExists(p,s,t,u,f,d,c,r);else switch(c.event){case m:case h:return this.addOrChange(p,s,t,u,f,d,c,r);case v:case g:return this.checkExists(p,s,t,u,f,d,c,r)}}),this.fsw._emitRaw);return this.fsw._emitReady(),o}async _handleFsEventsSymlink(e,t,a,i){if(!this.fsw.closed&&!this.fsw._symlinkPaths.has(t)){this.fsw._symlinkPaths.set(t,!0),this.fsw._incrReadyCount();try{const t=await P(e);if(this.fsw.closed)return;if(this.fsw._isIgnored(t))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(t||e,(i=>{let r=e;return t&&t!==E?r=i.replace(t,e):i!==E&&(r=n.join(e,i)),a(r)}),!1,i)}catch(e){if(this.fsw._handleError(e))return this.fsw._emitReady()}}}emitAdd(e,t,a,i,r){const s=a(e),c=t.isDirectory(),l=this.fsw._getWatchedDir(n.dirname(s)),u=n.basename(s);c&&this.fsw._getWatchedDir(s),l.has(u)||(l.add(u),i.ignoreInitial&&!0!==r||this.fsw._emit(c?p:o,s,t))}initWatch(e,t,a,i){if(this.fsw.closed)return;const r=this._watchWithFsEvents(a.watchPath,n.resolve(e||a.watchPath),i,a.globFilter);this.fsw._addPathCloser(t,r)}async _addToFsEvents(e,t,a,i){if(this.fsw.closed)return;const r=this.fsw.options,s=typeof t===j?t:A,o=this.fsw._getWatchHelpers(e);try{const t=await R[o.statMethod](o.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(o.watchPath,t))throw null;if(t.isDirectory()){if(o.globFilter||this.emitAdd(s(e),t,s,r,a),i&&i>r.depth)return;this.fsw._readdirp(o.watchPath,{fileFilter:e=>o.filterPath(e),directoryFilter:e=>o.filterDir(e),...(c=r.depth-(i||0),isNaN(c)?{}:{depth:c})}).on(d,(e=>{if(this.fsw.closed)return;if(e.stats.isDirectory()&&!o.filterPath(e))return;const t=n.join(o.watchPath,e.path),{fullPath:i}=e;if(o.followSymlinks&&e.stats.isSymbolicLink()){const e=void 0===r.depth?void 0:$(t,n.resolve(o.watchPath))+1;this._handleFsEventsSymlink(t,i,s,e)}else this.emitAdd(t,e.stats,s,r,a)})).on(u,T).on(f,(()=>{this.fsw._emitReady()}))}else this.emitAdd(o.watchPath,t,s,r,a),this.fsw._emitReady()}catch(e){e&&!this.fsw._handleError(e)||(this.fsw._emitReady(),this.fsw._emitReady())}var c;if(r.persistent&&!0!==a)if(typeof t===j)this.initWatch(void 0,e,o,s);else{let t;try{t=await P(o.watchPath)}catch(e){}this.initWatch(t,e,o,s)}}},e.exports.canUse=()=>s&&I.size<128},3211:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,n=a(6928),r=a(6289),{mkdirs:s,mkdirsSync:o}=a(8006),{symlinkPaths:c,symlinkPathsSync:p}=a(2974),{symlinkType:l,symlinkTypeSync:u}=a(360),{pathExists:d}=a(3640),{areIdentical:f}=a(5838);e.exports={createSymlink:i((async function(e,t,a){let i;try{i=await r.lstat(t)}catch{}if(i&&i.isSymbolicLink()){const[a,i]=await Promise.all([r.stat(e),r.stat(t)]);if(f(a,i))return}const o=await c(e,t);e=o.toDst;const p=await l(o.toCwd,a),u=n.dirname(t);return await d(u)||await s(u),r.symlink(e,t,p)})),createSymlinkSync:function(e,t,a){let i;try{i=r.lstatSync(t)}catch{}if(i&&i.isSymbolicLink()){const a=r.statSync(e),i=r.statSync(t);if(f(a,i))return}const s=p(e,t);e=s.toDst,a=u(s.toCwd,a);const c=n.dirname(t);return r.existsSync(c)||o(c),r.symlinkSync(e,t,a)}}},3280:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(8714);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=i.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}}},3297:(e,t,a)=>{"use strict";const i=a(6927),{CHAR_ASTERISK:n,CHAR_AT:r,CHAR_BACKWARD_SLASH:s,CHAR_COMMA:o,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:p,CHAR_FORWARD_SLASH:l,CHAR_LEFT_CURLY_BRACE:u,CHAR_LEFT_PARENTHESES:d,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_PLUS:m,CHAR_QUESTION_MARK:h,CHAR_RIGHT_CURLY_BRACE:v,CHAR_RIGHT_PARENTHESES:g,CHAR_RIGHT_SQUARE_BRACKET:b}=a(4751),y=e=>e===l||e===s,x=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const a=t||{},w=e.length-1,_=!0===a.parts||!0===a.scanToEnd,k=[],S=[],E=[];let j,T,A=e,C=-1,O=0,P=0,R=!1,I=!1,N=!1,L=!1,$=!1,D=!1,M=!1,q=!1,F=!1,B=!1,z=0,H={value:"",depth:0,isGlob:!1};const Z=()=>C>=w,U=()=>(j=T,A.charCodeAt(++C));for(;C<w;){let e;if(T=U(),T!==s){if(!0===D||T===u){for(z++;!0!==Z()&&(T=U());)if(T!==s)if(T!==u){if(!0!==D&&T===c&&(T=U())===c){if(R=H.isBrace=!0,N=H.isGlob=!0,B=!0,!0===_)continue;break}if(!0!==D&&T===o){if(R=H.isBrace=!0,N=H.isGlob=!0,B=!0,!0===_)continue;break}if(T===v&&(z--,0===z)){D=!1,R=H.isBrace=!0,B=!0;break}}else z++;else M=H.backslashes=!0,U();if(!0===_)continue;break}if(T!==l){if(!0!==a.noext&&!0==(T===m||T===r||T===n||T===h||T===p)&&A.charCodeAt(C+1)===d){if(N=H.isGlob=!0,L=H.isExtglob=!0,B=!0,T===p&&C===O&&(F=!0),!0===_){for(;!0!==Z()&&(T=U());)if(T!==s){if(T===g){N=H.isGlob=!0,B=!0;break}}else M=H.backslashes=!0,T=U();continue}break}if(T===n){if(j===n&&($=H.isGlobstar=!0),N=H.isGlob=!0,B=!0,!0===_)continue;break}if(T===h){if(N=H.isGlob=!0,B=!0,!0===_)continue;break}if(T===f){for(;!0!==Z()&&(e=U());)if(e!==s){if(e===b){I=H.isBracket=!0,N=H.isGlob=!0,B=!0;break}}else M=H.backslashes=!0,U();if(!0===_)continue;break}if(!0===a.nonegate||T!==p||C!==O){if(!0!==a.noparen&&T===d){if(N=H.isGlob=!0,!0===_){for(;!0!==Z()&&(T=U());)if(T!==d){if(T===g){B=!0;break}}else M=H.backslashes=!0,T=U();continue}break}if(!0===N){if(B=!0,!0===_)continue;break}}else q=H.negated=!0,O++}else{if(k.push(C),S.push(H),H={value:"",depth:0,isGlob:!1},!0===B)continue;if(j===c&&C===O+1){O+=2;continue}P=C+1}}else M=H.backslashes=!0,T=U(),T===u&&(D=!0)}!0===a.noext&&(L=!1,N=!1);let V=A,W="",G="";O>0&&(W=A.slice(0,O),A=A.slice(O),P-=O),V&&!0===N&&P>0?(V=A.slice(0,P),G=A.slice(P)):!0===N?(V="",G=A):V=A,V&&""!==V&&"/"!==V&&V!==A&&y(V.charCodeAt(V.length-1))&&(V=V.slice(0,-1)),!0===a.unescape&&(G&&(G=i.removeBackslashes(G)),V&&!0===M&&(V=i.removeBackslashes(V)));const K={prefix:W,input:e,start:O,base:V,glob:G,isBrace:R,isBracket:I,isGlob:N,isExtglob:L,isGlobstar:$,negated:q,negatedExtglob:F};if(!0===a.tokens&&(K.maxDepth=0,y(T)||S.push(H),K.tokens=S),!0===a.parts||!0===a.tokens){let t;for(let i=0;i<k.length;i++){const n=t?t+1:O,r=k[i],s=e.slice(n,r);a.tokens&&(0===i&&0!==O?(S[i].isPrefix=!0,S[i].value=W):S[i].value=s,x(S[i]),K.maxDepth+=S[i].depth),0===i&&""===s||E.push(s),t=r}if(t&&t+1<e.length){const i=e.slice(t+1);E.push(i),a.tokens&&(S[S.length-1].value=i,x(S[S.length-1]),K.maxDepth+=S[S.length-1].depth)}K.slashes=k,K.parts=E}return K}},3306:(e,t,a)=>{"use strict";const i=a(1289);e.exports=(e,t)=>{const a=i(e,t);return a&&a.prerelease.length?a.prerelease:null}},3331:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const i=a(9896),n=a(857),r=Math.max(n.cpus().length,1);t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:i.lstat,lstatSync:i.lstatSync,stat:i.stat,statSync:i.statSync,readdir:i.readdir,readdirSync:i.readdirSync},t.default=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,r),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),this.ignore=[].concat(this.ignore)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},t.DEFAULT_FILE_SYSTEM_ADAPTER),e)}}},3339:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4434),n=a(7497),r=a(9669),s=a(8714),o=a(3280);class c extends o.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=n.scandir,this._emitter=new i.EventEmitter,this._queue=r(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,t){const a={directory:e,base:t};this._queue.push(a,(e=>{null!==e&&this._handleError(e)}))}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,((a,i)=>{if(null===a){for(const t of i)this._handleEntry(t,e.base);t(null,void 0)}else t(a,void 0)}))}_handleError(e){!this._isDestroyed&&s.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const a=e.path;void 0!==t&&(e.path=s.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),s.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&s.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(a,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}t.default=c},3340:e=>{e.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},3418:(e,t,a)=>{const i=a(3742),n=a(5582),r=a(9572),s=a(1525),o=a(5357),c=a(6782),p=a(5250),l=a(8094),u=a(6052),d=a(1251),f=a(8430),{KeyObject:m,createSecretKey:h,createPrivateKey:v}=a(6982),g=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];n&&g.splice(3,0,"PS256","PS384","PS512");const b={expiresIn:{isValid:function(e){return p(e)||d(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return p(e)||d(e)&&e},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(e){return d(e)||Array.isArray(e)},message:'"audience" must be a string or array'},algorithm:{isValid:o.bind(null,g),message:'"algorithm" must be a valid string enum value'},header:{isValid:u,message:'"header" must be an object'},encoding:{isValid:d,message:'"encoding" must be a string'},issuer:{isValid:d,message:'"issuer" must be a string'},subject:{isValid:d,message:'"subject" must be a string'},jwtid:{isValid:d,message:'"jwtid" must be a string'},noTimestamp:{isValid:c,message:'"noTimestamp" must be a boolean'},keyid:{isValid:d,message:'"keyid" must be a string'},mutatePayload:{isValid:c,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:c,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:c,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},y={iat:{isValid:l,message:'"iat" should be a number of seconds'},exp:{isValid:l,message:'"exp" should be a number of seconds'},nbf:{isValid:l,message:'"nbf" should be a number of seconds'}};function x(e,t,a,i){if(!u(a))throw new Error('Expected "'+i+'" to be a plain object.');Object.keys(a).forEach((function(n){const r=e[n];if(r){if(!r.isValid(a[n]))throw new Error(r.message)}else if(!t)throw new Error('"'+n+'" is not allowed in "'+i+'"')}))}const w={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},_=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];e.exports=function(e,t,a,n){"function"==typeof a?(n=a,a={}):a=a||{};const o="object"==typeof e&&!Buffer.isBuffer(e),c=Object.assign({alg:a.algorithm||"HS256",typ:o?"JWT":void 0,kid:a.keyid},a.header);function p(e){if(n)return n(e);throw e}if(!t&&"none"!==a.algorithm)return p(new Error("secretOrPrivateKey must have a value"));if(null!=t&&!(t instanceof m))try{t=v(t)}catch(e){try{t=h("string"==typeof t?Buffer.from(t):t)}catch(e){return p(new Error("secretOrPrivateKey is not valid key material"))}}if(c.alg.startsWith("HS")&&"secret"!==t.type)return p(new Error(`secretOrPrivateKey must be a symmetric key when using ${c.alg}`));if(/^(?:RS|PS|ES)/.test(c.alg)){if("private"!==t.type)return p(new Error(`secretOrPrivateKey must be an asymmetric key when using ${c.alg}`));if(!a.allowInsecureKeySizes&&!c.alg.startsWith("ES")&&void 0!==t.asymmetricKeyDetails&&t.asymmetricKeyDetails.modulusLength<2048)return p(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`))}if(void 0===e)return p(new Error("payload is required"));if(o){try{!function(e){x(y,!0,e,"payload")}(e)}catch(e){return p(e)}a.mutatePayload||(e=Object.assign({},e))}else{const t=_.filter((function(e){return void 0!==a[e]}));if(t.length>0)return p(new Error("invalid "+t.join(",")+" option for "+typeof e+" payload"))}if(void 0!==e.exp&&void 0!==a.expiresIn)return p(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(void 0!==e.nbf&&void 0!==a.notBefore)return p(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{!function(e){x(b,!1,e,"options")}(a)}catch(e){return p(e)}if(!a.allowInvalidAsymmetricKeyTypes)try{r(c.alg,t)}catch(e){return p(e)}const l=e.iat||Math.floor(Date.now()/1e3);if(a.noTimestamp?delete e.iat:o&&(e.iat=l),void 0!==a.notBefore){try{e.nbf=i(a.notBefore,l)}catch(e){return p(e)}if(void 0===e.nbf)return p(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(void 0!==a.expiresIn&&"object"==typeof e){try{e.exp=i(a.expiresIn,l)}catch(e){return p(e)}if(void 0===e.exp)return p(new Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(w).forEach((function(t){const i=w[t];if(void 0!==a[t]){if(void 0!==e[i])return p(new Error('Bad "options.'+t+'" option. The payload already has an "'+i+'" property.'));e[i]=a[t]}}));const u=a.encoding||"utf8";if("function"!=typeof n){let i=s.sign({header:c,payload:e,secret:t,encoding:u});if(!a.allowInsecureKeySizes&&/^(?:RS|PS)/.test(c.alg)&&i.length<256)throw new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`);return i}n=n&&f(n),s.createSign({header:c,privateKey:t,payload:e,encoding:u}).once("error",n).once("done",(function(e){if(!a.allowInsecureKeySizes&&/^(?:RS|PS)/.test(c.alg)&&e.length<256)return n(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`));n(null,e)}))}},3436:e=>{"use strict";const t=/^[0-9]+$/,a=(e,a)=>{const i=t.test(e),n=t.test(a);return i&&n&&(e=+e,a=+a),e===a?0:i&&!n?-1:n&&!i?1:e<a?-1:1};e.exports={compareIdentifiers:a,rcompareIdentifiers:(e,t)=>a(t,e)}},3566:(e,t,a)=>{"use strict";const i=a(1314),n=a(7238),r=a(7743),s=a(236),o=a(8200),c=a(3765);e.exports=(e,t,a,p)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof a&&(a=a.version),e===a;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof a&&(a=a.version),e!==a;case"":case"=":case"==":return i(e,a,p);case"!=":return n(e,a,p);case">":return r(e,a,p);case">=":return s(e,a,p);case"<":return o(e,a,p);case"<=":return c(e,a,p);default:throw new TypeError(`Invalid operator: ${t}`)}}},3569:(e,t,a)=>{var i,n=a(6608).Buffer,r=a(6982),s=a(9053),o=a(9023),c="secret must be a string or buffer",p="key must be a string or a buffer",l="function"==typeof r.createPublicKey;function u(e){if(!n.isBuffer(e)&&"string"!=typeof e){if(!l)throw h(p);if("object"!=typeof e)throw h(p);if("string"!=typeof e.type)throw h(p);if("string"!=typeof e.asymmetricKeyType)throw h(p);if("function"!=typeof e.export)throw h(p)}}function d(e){if(!n.isBuffer(e)&&"string"!=typeof e&&"object"!=typeof e)throw h("key must be a string, a buffer or an object")}function f(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function m(e){var t=4-(e=e.toString()).length%4;if(4!==t)for(var a=0;a<t;++a)e+="=";return e.replace(/\-/g,"+").replace(/_/g,"/")}function h(e){var t=[].slice.call(arguments,1),a=o.format.bind(o,e).apply(null,t);return new TypeError(a)}function v(e){var t;return t=e,n.isBuffer(t)||"string"==typeof t||(e=JSON.stringify(e)),e}function g(e){return function(t,a){!function(e){if(!n.isBuffer(e)){if("string"==typeof e)return e;if(!l)throw h(c);if("object"!=typeof e)throw h(c);if("secret"!==e.type)throw h(c);if("function"!=typeof e.export)throw h(c)}}(a),t=v(t);var i=r.createHmac("sha"+e,a);return f((i.update(t),i.digest("base64")))}}l&&(p+=" or a KeyObject",c+="or a KeyObject");var b="timingSafeEqual"in r?function(e,t){return e.byteLength===t.byteLength&&r.timingSafeEqual(e,t)}:function(e,t){return i||(i=a(9454)),i(e,t)};function y(e){return function(t,a,i){var r=g(e)(t,i);return b(n.from(a),n.from(r))}}function x(e){return function(t,a){d(a),t=v(t);var i=r.createSign("RSA-SHA"+e);return f((i.update(t),i.sign(a,"base64")))}}function w(e){return function(t,a,i){u(i),t=v(t),a=m(a);var n=r.createVerify("RSA-SHA"+e);return n.update(t),n.verify(i,a,"base64")}}function _(e){return function(t,a){d(a),t=v(t);var i=r.createSign("RSA-SHA"+e);return f((i.update(t),i.sign({key:a,padding:r.constants.RSA_PKCS1_PSS_PADDING,saltLength:r.constants.RSA_PSS_SALTLEN_DIGEST},"base64")))}}function k(e){return function(t,a,i){u(i),t=v(t),a=m(a);var n=r.createVerify("RSA-SHA"+e);return n.update(t),n.verify({key:i,padding:r.constants.RSA_PKCS1_PSS_PADDING,saltLength:r.constants.RSA_PSS_SALTLEN_DIGEST},a,"base64")}}function S(e){var t=x(e);return function(){var a=t.apply(null,arguments);return s.derToJose(a,"ES"+e)}}function E(e){var t=w(e);return function(a,i,n){return i=s.joseToDer(i,"ES"+e).toString("base64"),t(a,i,n)}}function j(){return function(){return""}}function T(){return function(e,t){return""===t}}e.exports=function(e){var t={hs:g,rs:x,ps:_,es:S,none:j},a={hs:y,rs:w,ps:k,es:E,none:T},i=e.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/i);if(!i)throw h('"%s" is not a valid algorithm.\n Supported algorithms are:\n "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".',e);var n=(i[1]||i[3]).toLowerCase(),r=i[2];return{sign:t[n](r),verify:a[n](r)}}},3585:(e,t,a)=>{"use strict";const i=a(303),{MAX_LENGTH:n,CHAR_BACKSLASH:r,CHAR_BACKTICK:s,CHAR_COMMA:o,CHAR_DOT:c,CHAR_LEFT_PARENTHESES:p,CHAR_RIGHT_PARENTHESES:l,CHAR_LEFT_CURLY_BRACE:u,CHAR_RIGHT_CURLY_BRACE:d,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_RIGHT_SQUARE_BRACKET:m,CHAR_DOUBLE_QUOTE:h,CHAR_SINGLE_QUOTE:v,CHAR_NO_BREAK_SPACE:g,CHAR_ZERO_WIDTH_NOBREAK_SPACE:b}=a(803);e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");const a=t||{},y="number"==typeof a.maxLength?Math.min(n,a.maxLength):n;if(e.length>y)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${y})`);const x={type:"root",input:e,nodes:[]},w=[x];let _=x,k=x,S=0;const E=e.length;let j,T=0,A=0;const C=()=>e[T++],O=e=>{if("text"===e.type&&"dot"===k.type&&(k.type="text"),!k||"text"!==k.type||"text"!==e.type)return _.nodes.push(e),e.parent=_,e.prev=k,k=e,e;k.value+=e.value};for(O({type:"bos"});T<E;)if(_=w[w.length-1],j=C(),j!==b&&j!==g)if(j!==r)if(j!==m)if(j!==f)if(j!==p)if(j!==l)if(j!==h&&j!==v&&j!==s)if(j!==u)if(j!==d)if(j===o&&A>0){if(_.ranges>0){_.ranges=0;const e=_.nodes.shift();_.nodes=[e,{type:"text",value:i(_)}]}O({type:"comma",value:j}),_.commas++}else if(j===c&&A>0&&0===_.commas){const e=_.nodes;if(0===A||0===e.length){O({type:"text",value:j});continue}if("dot"===k.type){if(_.range=[],k.value+=j,k.type="range",3!==_.nodes.length&&5!==_.nodes.length){_.invalid=!0,_.ranges=0,k.type="text";continue}_.ranges++,_.args=[];continue}if("range"===k.type){e.pop();const t=e[e.length-1];t.value+=k.value+j,k=t,_.ranges--;continue}O({type:"dot",value:j})}else O({type:"text",value:j});else{if("brace"!==_.type){O({type:"text",value:j});continue}const e="close";_=w.pop(),_.close=!0,O({type:e,value:j}),A--,_=w[w.length-1]}else{A++;const e=k.value&&"$"===k.value.slice(-1)||!0===_.dollar;_=O({type:"brace",open:!0,close:!1,dollar:e,depth:A,commas:0,ranges:0,nodes:[]}),w.push(_),O({type:"open",value:j})}else{const e=j;let a;for(!0!==t.keepQuotes&&(j="");T<E&&(a=C());)if(a!==r){if(a===e){!0===t.keepQuotes&&(j+=a);break}j+=a}else j+=a+C();O({type:"text",value:j})}else{if("paren"!==_.type){O({type:"text",value:j});continue}_=w.pop(),O({type:"text",value:j}),_=w[w.length-1]}else _=O({type:"paren",nodes:[]}),w.push(_),O({type:"text",value:j});else{let e;for(S++;T<E&&(e=C());)if(j+=e,e!==f)if(e!==r){if(e===m&&(S--,0===S))break}else j+=C();else S++;O({type:"text",value:j})}else O({type:"text",value:"\\"+j});else O({type:"text",value:(t.keepEscaping?j:"")+C()});do{if(_=w.pop(),"root"!==_.type){_.nodes.forEach((e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));const e=w[w.length-1],t=e.nodes.indexOf(_);e.nodes.splice(t,1,..._.nodes)}}while(w.length>0);return O({type:"eos"}),x}},3640:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,n=a(6289);e.exports={pathExists:i((function(e){return n.access(e).then((()=>!0)).catch((()=>!1))})),pathExistsSync:n.existsSync}},3648:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(575);class n extends i.default{match(e){const t=e.split("/"),a=t.length,i=this._storage.filter((e=>!e.complete||e.segments.length>a));for(const e of i){const i=e.sections[0];if(!e.complete&&a>i.length)return!0;if(t.every(((t,a)=>{const i=e.segments[a];return!(!i.dynamic||!i.patternRe.test(t))||!i.dynamic&&i.pattern===t})))return!0}return!1}}t.default=n},3742:(e,t,a)=>{var i=a(3866);e.exports=function(e,t){var a=t||Math.floor(Date.now()/1e3);if("string"==typeof e){var n=i(e);if(void 0===n)return;return Math.floor(a+n/1e3)}return"number"==typeof e?a+e:void 0}},3765:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t,a)=>i(e,t,a)<=0},3785:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(5562),n=a(5859),r={returnIndex:!1},s=(e,t,a,i)=>{const r=Array.isArray(a),s=r?a[0]:a;if(!r&&"string"!=typeof s)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(s));const o=n(s,!1);for(let e=0;e<t.length;e++)if((0,t[e])(o))return!!i&&-1;const c=r&&[o].concat(a.slice(1));for(let t=0;t<e.length;t++){const a=e[t];if(r?a(...c):a(o))return!i||t}return!!i&&-1},o=(e,t,a=r)=>{if(null==e)throw new TypeError("anymatch: specify first argument");const n="boolean"==typeof a?{returnIndex:a}:a,o=n.returnIndex||!1,c=(p=e,Array.isArray(p)?p:[p]);var p;const l=c.filter((e=>"string"==typeof e&&"!"===e.charAt(0))).map((e=>e.slice(1))).map((e=>i(e,n))),u=c.filter((e=>"string"!=typeof e||"string"==typeof e&&"!"!==e.charAt(0))).map((e=>((e,t)=>{if("function"==typeof e)return e;if("string"==typeof e){const a=i(e,t);return t=>e===t||a(t)}return e instanceof RegExp?t=>e.test(t):e=>!1})(e,n)));return null==t?(e,t=!1)=>s(u,l,e,"boolean"==typeof t&&t):s(u,l,t,o)};o.default=o,e.exports=o},3835:(e,t,a)=>{"use strict";const i=a(2771),n=a(2326);e.exports=(e,t,a)=>{let r=null,s=null,o=null;try{o=new n(t,a)}catch(e){return null}return e.forEach((e=>{o.test(e)&&(r&&1!==s.compare(e)||(r=e,s=new i(r,a)))})),r}},3858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t){const a=t.fs.lstatSync(e);if(!a.isSymbolicLink()||!t.followSymbolicLink)return a;try{const a=t.fs.statSync(e);return t.markSymbolicLink&&(a.isSymbolicLink=()=>!0),a}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return a;throw e}}},3866:e=>{var t=1e3,a=60*t,i=60*a,n=24*i,r=7*n;function s(e,t,a,i){var n=t>=1.5*a;return Math.round(e/a)+" "+i+(n?"s":"")}e.exports=function(e,o){o=o||{};var c,p,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(s){var o=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return o*r;case"days":case"day":case"d":return o*n;case"hours":case"hour":case"hrs":case"hr":case"h":return o*i;case"minutes":case"minute":case"mins":case"min":case"m":return o*a;case"seconds":case"second":case"secs":case"sec":case"s":return o*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(e);if("number"===l&&isFinite(e))return o.long?(c=e,(p=Math.abs(c))>=n?s(c,p,n,"day"):p>=i?s(c,p,i,"hour"):p>=a?s(c,p,a,"minute"):p>=t?s(c,p,t,"second"):c+" ms"):function(e){var r=Math.abs(e);return r>=n?Math.round(e/n)+"d":r>=i?Math.round(e/i)+"h":r>=a?Math.round(e/a)+"m":r>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},4008:e=>{e.exports=function e(t,a){if(t&&a)return e(t)(a);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach((function(e){i[e]=t[e]})),i;function i(){for(var e=new Array(arguments.length),a=0;a<e.length;a++)e[a]=arguments[a];var i=t.apply(this,e),n=e[e.length-1];return"function"==typeof i&&i!==n&&Object.keys(n).forEach((function(e){i[e]=n[e]})),i}}},4078:(e,t,a)=>{"use strict";const i=a(303),n=a(5111),r=a(9288),s=a(3585),o=(e,t={})=>{let a=[];if(Array.isArray(e))for(const i of e){const e=o.create(i,t);Array.isArray(e)?a.push(...e):a.push(e)}else a=[].concat(o.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(a=[...new Set(a)]),a};o.parse=(e,t={})=>s(e,t),o.stringify=(e,t={})=>i("string"==typeof e?o.parse(e,t):e,t),o.compile=(e,t={})=>("string"==typeof e&&(e=o.parse(e,t)),n(e,t)),o.expand=(e,t={})=>{"string"==typeof e&&(e=o.parse(e,t));let a=r(e,t);return!0===t.noempty&&(a=a.filter(Boolean)),!0===t.nodupes&&(a=[...new Set(a)]),a},o.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?o.compile(e,t):o.expand(e,t),e.exports=o},4104:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t,a)=>{const n=new i(e,a),r=new i(t,a);return n.compare(r)||n.compareBuild(r)}},4144:(e,t,a)=>{"use strict";const{createFile:i,createFileSync:n}=a(1872),{createLink:r,createLinkSync:s}=a(130),{createSymlink:o,createSymlinkSync:c}=a(3211);e.exports={createFile:i,createFileSync:n,ensureFile:i,ensureFileSync:n,createLink:r,createLinkSync:s,ensureLink:r,ensureLinkSync:s,createSymlink:o,createSymlinkSync:c,ensureSymlink:o,ensureSymlinkSync:c}},4159:e=>{"use strict";const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},4163:(e,t,a)=>{"use strict";const i=a(2326);e.exports=(e,t,a)=>{try{t=new i(t,a)}catch(e){return!1}return t.test(e)}},4164:(e,t,a)=>{"use strict";const i=a(627),n=a(6928),r=a(7751).copySync,s=a(9630).removeSync,o=a(8006).mkdirpSync,c=a(5838);function p(e,t,a){try{i.renameSync(e,t)}catch(i){if("EXDEV"!==i.code)throw i;return function(e,t,a){return r(e,t,{overwrite:a,errorOnExist:!0,preserveTimestamps:!0}),s(e)}(e,t,a)}}e.exports=function(e,t,a){const r=(a=a||{}).overwrite||a.clobber||!1,{srcStat:l,isChangingCase:u=!1}=c.checkPathsSync(e,t,"move",a);return c.checkParentPathsSync(e,l,t,"move"),function(e){const t=n.dirname(e);return n.parse(t).root===t}(t)||o(n.dirname(t)),function(e,t,a,n){if(n)return p(e,t,a);if(a)return s(t),p(e,t,a);if(i.existsSync(t))throw new Error("dest already exists.");return p(e,t,a)}(e,t,r,u)}},4176:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.walkStream=t.walkSync=t.walk=void 0;const i=a(6757),n=a(9905),r=a(134),s=a(7567);function o(e={}){return e instanceof s.default?e:new s.default(e)}t.Settings=s.default,t.walk=function(e,t,a){"function"!=typeof t?new i.default(e,o(t)).read(a):new i.default(e,o()).read(t)},t.walkSync=function(e,t){const a=o(t);return new r.default(e,a).read()},t.walkStream=function(e,t){const a=o(t);return new n.default(e,a).read()}},4240:(e,t,a)=>{"use strict";const i=a(4104);e.exports=(e,t)=>e.sort(((e,a)=>i(a,e,t)))},4247:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t)=>new i(e,t).major},4299:(e,t,a)=>{e.exports=a(9678)},4323:e=>{"use strict";function t(e,t,n){e instanceof RegExp&&(e=a(e,n)),t instanceof RegExp&&(t=a(t,n));var r=i(e,t,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+e.length,r[1]),post:n.slice(r[1]+t.length)}}function a(e,t){var a=t.match(e);return a?a[0]:null}function i(e,t,a){var i,n,r,s,o,c=a.indexOf(e),p=a.indexOf(t,c+1),l=c;if(c>=0&&p>0){if(e===t)return[c,p];for(i=[],r=a.length;l>=0&&!o;)l==c?(i.push(l),c=a.indexOf(e,l+1)):1==i.length?o=[i.pop(),p]:((n=i.pop())<r&&(r=n,s=p),p=a.indexOf(t,l+1)),l=c<p&&c>=0?c:p;i.length&&(o=[r,s])}return o}e.exports=t,t.range=i},4354:(e,t,a)=>{var i=a(6928),n="win32"===process.platform,r=a(9896),s=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);if(i.normalize,n)var o=/(.*?)(?:[\/\\]+|$)/g;else o=/(.*?)(?:[\/]+|$)/g;if(n)var c=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else c=/^[\/]*/;t.realpathSync=function(e,t){if(e=i.resolve(e),t&&Object.prototype.hasOwnProperty.call(t,e))return t[e];var a,s,p,l,u=e,d={},f={};function m(){var t=c.exec(e);a=t[0].length,s=t[0],p=t[0],l="",n&&!f[p]&&(r.lstatSync(p),f[p]=!0)}for(m();a<e.length;){o.lastIndex=a;var h=o.exec(e);if(l=s,s+=h[0],p=l+h[1],a=o.lastIndex,!(f[p]||t&&t[p]===p)){var v;if(t&&Object.prototype.hasOwnProperty.call(t,p))v=t[p];else{var g=r.lstatSync(p);if(!g.isSymbolicLink()){f[p]=!0,t&&(t[p]=p);continue}var b=null;if(!n){var y=g.dev.toString(32)+":"+g.ino.toString(32);d.hasOwnProperty(y)&&(b=d[y])}null===b&&(r.statSync(p),b=r.readlinkSync(p)),v=i.resolve(l,b),t&&(t[p]=v),n||(d[y]=b)}e=i.resolve(v,e.slice(a)),m()}}return t&&(t[u]=e),e},t.realpath=function(e,t,a){if("function"!=typeof a&&(a=function(e){return"function"==typeof e?e:function(){var e;if(s){var t=new Error;e=function(e){e&&(t.message=e.message,a(e=t))}}else e=a;return e;function a(e){if(e){if(process.throwDeprecation)throw e;if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);process.traceDeprecation?console.trace(t):console.error(t)}}}}()}(t),t=null),e=i.resolve(e),t&&Object.prototype.hasOwnProperty.call(t,e))return process.nextTick(a.bind(null,null,t[e]));var p,l,u,d,f=e,m={},h={};function v(){var t=c.exec(e);p=t[0].length,l=t[0],u=t[0],d="",n&&!h[u]?r.lstat(u,(function(e){if(e)return a(e);h[u]=!0,g()})):process.nextTick(g)}function g(){if(p>=e.length)return t&&(t[f]=e),a(null,e);o.lastIndex=p;var i=o.exec(e);return d=l,l+=i[0],u=d+i[1],p=o.lastIndex,h[u]||t&&t[u]===u?process.nextTick(g):t&&Object.prototype.hasOwnProperty.call(t,u)?x(t[u]):r.lstat(u,b)}function b(e,i){if(e)return a(e);if(!i.isSymbolicLink())return h[u]=!0,t&&(t[u]=u),process.nextTick(g);if(!n){var s=i.dev.toString(32)+":"+i.ino.toString(32);if(m.hasOwnProperty(s))return y(null,m[s],u)}r.stat(u,(function(e){if(e)return a(e);r.readlink(u,(function(e,t){n||(m[s]=t),y(e,t)}))}))}function y(e,n,r){if(e)return a(e);var s=i.resolve(d,n);t&&(t[r]=s),x(s)}function x(t){e=i.resolve(t,e.slice(p)),v()}v()}},4370:(e,t,a)=>{"use strict";const i=a(6289),n=a(6928),{mkdirs:r}=a(8006),{pathExists:s}=a(3640),{utimesMillis:o}=a(9467),c=a(5838);async function p(e,t,a){return!a.filter||a.filter(e,t)}async function l(e,t,a,r){const s=r.dereference?i.stat:i.lstat,o=await s(t);if(o.isDirectory())return async function(e,t,a,r,s){t||await i.mkdir(r);const o=[];for await(const e of await i.opendir(a)){const t=n.join(a,e.name),i=n.join(r,e.name);o.push(p(t,i,s).then((e=>{if(e)return c.checkPaths(t,i,"copy",s).then((({destStat:e})=>l(e,t,i,s)))})))}await Promise.all(o),t||await i.chmod(r,e.mode)}(o,e,t,a,r);if(o.isFile()||o.isCharacterDevice()||o.isBlockDevice())return async function(e,t,a,n,r){if(!t)return u(e,a,n,r);if(r.overwrite)return await i.unlink(n),u(e,a,n,r);if(r.errorOnExist)throw new Error(`'${n}' already exists`)}(o,e,t,a,r);if(o.isSymbolicLink())return async function(e,t,a,r){let s=await i.readlink(t);if(r.dereference&&(s=n.resolve(process.cwd(),s)),!e)return i.symlink(s,a);let o=null;try{o=await i.readlink(a)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return i.symlink(s,a);throw e}if(r.dereference&&(o=n.resolve(process.cwd(),o)),c.isSrcSubdir(s,o))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${o}'.`);if(c.isSrcSubdir(o,s))throw new Error(`Cannot overwrite '${o}' with '${s}'.`);return await i.unlink(a),i.symlink(s,a)}(e,t,a,r);if(o.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(o.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}async function u(e,t,a,n){if(await i.copyFile(t,a),n.preserveTimestamps){128&e.mode||await function(e,t){return i.chmod(e,128|t)}(a,e.mode);const n=await i.stat(t);await o(a,n.atime,n.mtime)}return i.chmod(a,e.mode)}e.exports=async function(e,t,a={}){"function"==typeof a&&(a={filter:a}),a.clobber=!("clobber"in a)||!!a.clobber,a.overwrite="overwrite"in a?!!a.overwrite:a.clobber,a.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0001");const{srcStat:i,destStat:o}=await c.checkPaths(e,t,"copy",a);if(await c.checkParentPaths(e,i,t,"copy"),!await p(e,t,a))return;const u=n.dirname(t);await s(u)||await r(u),await l(o,e,t,a)}},4397:(e,t,a)=>{var i=a(6608).Buffer,n=a(1882),r=a(3569),s=a(2203),o=a(7265),c=a(9023);function p(e,t){return i.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function l(e){var t=e.header,a=e.payload,i=e.secret||e.privateKey,n=e.encoding,s=r(t.alg),l=function(e,t,a){a=a||"utf8";var i=p(o(e),"binary"),n=p(o(t),a);return c.format("%s.%s",i,n)}(t,a,n),u=s.sign(l,i);return c.format("%s.%s",l,u)}function u(e){var t=e.secret||e.privateKey||e.key,a=new n(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=a,this.payload=new n(e.payload),this.secret.once("close",function(){!this.payload.writable&&this.readable&&this.sign()}.bind(this)),this.payload.once("close",function(){!this.secret.writable&&this.readable&&this.sign()}.bind(this))}c.inherits(u,s),u.prototype.sign=function(){try{var e=l({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",e),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},u.sign=l,e.exports=u},4434:e=>{"use strict";e.exports=require("events")},4462:(e,t,a)=>{"use strict";var i=a(6543),n=a(6928).posix.dirname,r="win32"===a(857).platform(),s=/\\/g,o=/[\{\[].*[\}\]]$/,c=/(^|[^\\])([\{\[]|\([^\)]+$)/,p=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&r&&e.indexOf("/")<0&&(e=e.replace(s,"/")),o.test(e)&&(e+="/"),e+="a";do{e=n(e)}while(i(e)||c.test(e));return e.replace(p,"$1")}},4522:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4718);t.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=i.path.makeAbsolute(this._settings.cwd,t),t=i.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}}},4566:(e,t,a)=>{"use strict";const{promisify:i}=a(9023),n=a(9896);async function r(e,t,a){if("string"!=typeof a)throw new TypeError("Expected a string, got "+typeof a);try{return(await i(n[e])(a))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function s(e,t,a){if("string"!=typeof a)throw new TypeError("Expected a string, got "+typeof a);try{return n[e](a)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}t.isFile=r.bind(null,"stat","isFile"),t.isDirectory=r.bind(null,"stat","isDirectory"),t.isSymlink=r.bind(null,"lstat","isSymbolicLink"),t.isFileSync=s.bind(null,"statSync","isFile"),t.isDirectorySync=s.bind(null,"statSync","isDirectory"),t.isSymlinkSync=s.bind(null,"lstatSync","isSymbolicLink")},4635:(e,t)=>{"use strict";t.fromCallback=function(e){return Object.defineProperty((function(...t){if("function"!=typeof t[t.length-1])return new Promise(((a,i)=>{t.push(((e,t)=>null!=e?i(e):a(t))),e.apply(this,t)}));e.apply(this,t)}),"name",{value:e.name})},t.fromPromise=function(e){return Object.defineProperty((function(...t){const a=t[t.length-1];if("function"!=typeof a)return e.apply(this,t);t.pop(),e.apply(this,t).then((e=>a(null,e)),a)}),"name",{value:e.name})}},4678:(e,t,a)=>{"use strict";const i=a(2326);e.exports=(e,t)=>new i(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},4691:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(9062);t.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=i.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return null!=e?e:t}}},4709:(e,t,a)=>{e.exports=f,f.GlobSync=m;var i=a(8831),n=a(8782),r=(n.Minimatch,a(9632).Glob,a(9023),a(6928)),s=a(2613),o=a(1806),c=a(7219),p=c.setopts,l=c.ownProp,u=c.childrenIgnored,d=c.isIgnored;function f(e,t){if("function"==typeof t||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new m(e,t).found}function m(e,t){if(!e)throw new Error("must provide pattern");if("function"==typeof t||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof m))return new m(e,t);if(p(this,e,t),this.noprocess)return this;var a=this.minimatch.set.length;this.matches=new Array(a);for(var i=0;i<a;i++)this._process(this.minimatch.set[i],i,!1);this._finish()}m.prototype._finish=function(){if(s.ok(this instanceof m),this.realpath){var e=this;this.matches.forEach((function(t,a){var n=e.matches[a]=Object.create(null);for(var r in t)try{r=e._makeAbs(r),n[i.realpathSync(r,e.realpathCache)]=!0}catch(t){if("stat"!==t.syscall)throw t;n[e._makeAbs(r)]=!0}}))}c.finish(this)},m.prototype._process=function(e,t,a){s.ok(this instanceof m);for(var i,r=0;"string"==typeof e[r];)r++;switch(r){case e.length:return void this._processSimple(e.join("/"),t);case 0:i=null;break;default:i=e.slice(0,r).join("/")}var c,p=e.slice(r);null===i?c=".":o(i)||o(e.map((function(e){return"string"==typeof e?e:"[*]"})).join("/"))?(i&&o(i)||(i="/"+i),c=i):c=i;var l=this._makeAbs(c);u(this,c)||(p[0]===n.GLOBSTAR?this._processGlobStar(i,c,l,p,t,a):this._processReaddir(i,c,l,p,t,a))},m.prototype._processReaddir=function(e,t,a,i,n,s){var o=this._readdir(a,s);if(o){for(var c=i[0],p=!!this.minimatch.negate,l=c._glob,u=this.dot||"."===l.charAt(0),d=[],f=0;f<o.length;f++)("."!==(v=o[f]).charAt(0)||u)&&(p&&!e?!v.match(c):v.match(c))&&d.push(v);var m=d.length;if(0!==m)if(1!==i.length||this.mark||this.stat)for(i.shift(),f=0;f<m;f++){var h;v=d[f],h=e?[e,v]:[v],this._process(h.concat(i),n,s)}else{this.matches[n]||(this.matches[n]=Object.create(null));for(f=0;f<m;f++){var v=d[f];e&&(v="/"!==e.slice(-1)?e+"/"+v:e+v),"/"!==v.charAt(0)||this.nomount||(v=r.join(this.root,v)),this._emitMatch(n,v)}}}},m.prototype._emitMatch=function(e,t){if(!d(this,t)){var a=this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=a),!this.matches[e][t]){if(this.nodir){var i=this.cache[a];if("DIR"===i||Array.isArray(i))return}this.matches[e][t]=!0,this.stat&&this._stat(t)}}},m.prototype._readdirInGlobStar=function(e){if(this.follow)return this._readdir(e,!1);var t,a;try{a=this.fs.lstatSync(e)}catch(e){if("ENOENT"===e.code)return null}var i=a&&a.isSymbolicLink();return this.symlinks[e]=i,i||!a||a.isDirectory()?t=this._readdir(e,!1):this.cache[e]="FILE",t},m.prototype._readdir=function(e,t){if(t&&!l(this.symlinks,e))return this._readdirInGlobStar(e);if(l(this.cache,e)){var a=this.cache[e];if(!a||"FILE"===a)return null;if(Array.isArray(a))return a}try{return this._readdirEntries(e,this.fs.readdirSync(e))}catch(t){return this._readdirError(e,t),null}},m.prototype._readdirEntries=function(e,t){if(!this.mark&&!this.stat)for(var a=0;a<t.length;a++){var i=t[a];i="/"===e?e+i:e+"/"+i,this.cache[i]=!0}return this.cache[e]=t,t},m.prototype._readdirError=function(e,t){switch(t.code){case"ENOTSUP":case"ENOTDIR":var a=this._makeAbs(e);if(this.cache[a]="FILE",a===this.cwdAbs){var i=new Error(t.code+" invalid cwd "+this.cwd);throw i.path=this.cwd,i.code=t.code,i}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:if(this.cache[this._makeAbs(e)]=!1,this.strict)throw t;this.silent||console.error("glob error",t)}},m.prototype._processGlobStar=function(e,t,a,i,n,r){var s=this._readdir(a,r);if(s){var o=i.slice(1),c=e?[e]:[],p=c.concat(o);this._process(p,n,!1);var l=s.length;if(!this.symlinks[a]||!r)for(var u=0;u<l;u++)if("."!==s[u].charAt(0)||this.dot){var d=c.concat(s[u],o);this._process(d,n,!0);var f=c.concat(s[u],i);this._process(f,n,!0)}}},m.prototype._processSimple=function(e,t){var a=this._stat(e);if(this.matches[t]||(this.matches[t]=Object.create(null)),a){if(e&&o(e)&&!this.nomount){var i=/[\/\\]$/.test(e);"/"===e.charAt(0)?e=r.join(this.root,e):(e=r.resolve(this.root,e),i&&(e+="/"))}"win32"===process.platform&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e)}},m.prototype._stat=function(e){var t=this._makeAbs(e),a="/"===e.slice(-1);if(e.length>this.maxLength)return!1;if(!this.stat&&l(this.cache,t)){var i=this.cache[t];if(Array.isArray(i)&&(i="DIR"),!a||"DIR"===i)return i;if(a&&"FILE"===i)return!1}var n=this.statCache[t];if(!n){var r;try{r=this.fs.lstatSync(t)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return this.statCache[t]=!1,!1}if(r&&r.isSymbolicLink())try{n=this.fs.statSync(t)}catch(e){n=r}else n=r}return this.statCache[t]=n,i=!0,n&&(i=n.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||i,(!a||"FILE"!==i)&&i},m.prototype._mark=function(e){return c.mark(this,e)},m.prototype._makeAbs=function(e){return c.makeAbs(this,e)}},4710:(e,t,a)=>{"use strict";const i=a(9789),n=(e,t,a)=>{if(!1===i(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===i(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let r={relaxZeros:!0,...a};"boolean"==typeof r.strictZeros&&(r.relaxZeros=!1===r.strictZeros);let c=e+":"+t+"="+String(r.relaxZeros)+String(r.shorthand)+String(r.capture)+String(r.wrap);if(n.cache.hasOwnProperty(c))return n.cache[c].result;let p=Math.min(e,t),l=Math.max(e,t);if(1===Math.abs(p-l)){let a=e+"|"+t;return r.capture?`(${a})`:!1===r.wrap?a:`(?:${a})`}let u=f(e)||f(t),d={min:e,max:t,a:p,b:l},m=[],h=[];return u&&(d.isPadded=u,d.maxLen=String(d.max).length),p<0&&(h=s(l<0?Math.abs(l):1,Math.abs(p),d,r),p=d.a=0),l>=0&&(m=s(p,l,d,r)),d.negatives=h,d.positives=m,d.result=function(e,t){let a=o(e,t,"-",!1)||[],i=o(t,e,"",!1)||[],n=o(e,t,"-?",!0)||[];return a.concat(n).concat(i).join("|")}(h,m),!0===r.capture?d.result=`(${d.result})`:!1!==r.wrap&&m.length+h.length>1&&(d.result=`(?:${d.result})`),n.cache[c]=d,d.result};function r(e,t,a){if(e===t)return{pattern:e,count:[],digits:0};let i=function(e,t){let a=[];for(let i=0;i<e.length;i++)a.push([e[i],t[i]]);return a}(e,t),n=i.length,r="",s=0;for(let e=0;e<n;e++){let[t,a]=i[e];t===a?r+=t:"0"!==t||"9"!==a?r+=`[${o=t}${(c=a)-o===1?"":"-"}${c}]`:s++}var o,c;return s&&(r+=!0===a.shorthand?"\\d":"[0-9]"),{pattern:r,count:[s],digits:n}}function s(e,t,a,i){let n,s=function(e,t){let a=1,i=1,n=l(e,a),r=new Set([t]);for(;e<=n&&n<=t;)r.add(n),a+=1,n=l(e,a);for(n=u(t+1,i)-1;e<n&&n<=t;)r.add(n),i+=1,n=u(t+1,i)-1;return r=[...r],r.sort(c),r}(e,t),o=[],p=e;for(let e=0;e<s.length;e++){let t=s[e],c=r(String(p),String(t),i),l="";a.isPadded||!n||n.pattern!==c.pattern?(a.isPadded&&(l=m(t,a,i)),c.string=l+c.pattern+d(c.count),o.push(c),p=t+1,n=c):(n.count.length>1&&n.count.pop(),n.count.push(c.count[0]),n.string=n.pattern+d(n.count),p=t+1)}return o}function o(e,t,a,i,n){let r=[];for(let n of e){let{string:e}=n;i||p(t,"string",e)||r.push(a+e),i&&p(t,"string",e)&&r.push(a+e)}return r}function c(e,t){return e>t?1:t>e?-1:0}function p(e,t,a){return e.some((e=>e[t]===a))}function l(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function u(e,t){return e-e%Math.pow(10,t)}function d(e){let[t=0,a=""]=e;return a||t>1?`{${t+(a?","+a:"")}}`:""}function f(e){return/^-?(0+)\d/.test(e)}function m(e,t,a){if(!t.isPadded)return e;let i=Math.abs(t.maxLen-String(e).length),n=!1!==a.relaxZeros;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}}`}}n.cache={},n.clearCache=()=>n.cache={},e.exports=n},4718:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.string=t.stream=t.pattern=t.path=t.fs=t.errno=t.array=void 0;const i=a(51);t.array=i;const n=a(2930);t.errno=n;const r=a(9063);t.fs=r;const s=a(823);t.path=s;const o=a(7948);t.pattern=o;const c=a(7116);t.stream=c;const p=a(5501);t.string=p},4751:(e,t,a)=>{"use strict";const i=a(6928),n="\\\\/",r=`[^${n}]`,s="\\.",o="\\/",c="[^/]",p=`(?:${o}|$)`,l=`(?:^|${o})`,u=`${s}{1,2}${p}`,d={DOT_LITERAL:s,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:o,ONE_CHAR:"(?=.)",QMARK:c,END_ANCHOR:p,DOTS_SLASH:u,NO_DOT:`(?!${s})`,NO_DOTS:`(?!${l}${u})`,NO_DOT_SLASH:`(?!${s}{0,1}${p})`,NO_DOTS_SLASH:`(?!${u})`,QMARK_NO_DOT:`[^.${o}]`,STAR:`${c}*?`,START_ANCHOR:l},f={...d,SLASH_LITERAL:`[${n}]`,QMARK:r,STAR:`${r}*?`,DOTS_SLASH:`${s}{1,2}(?:[${n}]|$)`,NO_DOT:`(?!${s})`,NO_DOTS:`(?!(?:^|[${n}])${s}{1,2}(?:[${n}]|$))`,NO_DOT_SLASH:`(?!${s}{0,1}(?:[${n}]|$))`,NO_DOTS_SLASH:`(?!${s}{1,2}(?:[${n}]|$))`,QMARK_NO_DOT:`[^.${n}]`,START_ANCHOR:`(?:^|[${n}])`,END_ANCHOR:`(?:[${n}]|$)`};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{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"},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:i.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?f:d}},5111:(e,t,a)=>{"use strict";const i=a(2411),n=a(1811);e.exports=(e,t={})=>{const a=(e,r={})=>{const s=n.isInvalidBrace(r),o=!0===e.invalid&&!0===t.escapeInvalid,c=!0===s||!0===o,p=!0===t.escapeInvalid?"\\":"";let l="";if(!0===e.isOpen)return p+e.value;if(!0===e.isClose)return console.log("node.isClose",p,e.value),p+e.value;if("open"===e.type)return c?p+e.value:"(";if("close"===e.type)return c?p+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":c?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){const a=n.reduce(e.nodes),r=i(...a,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(0!==r.length)return a.length>1&&r.length>1?`(${r})`:r}if(e.nodes)for(const t of e.nodes)l+=a(t,e);return l};return a(e)}},5127:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4176),n=a(9956),r=a(1643);class s extends n.default{constructor(){super(...arguments),this._walkAsync=i.walk,this._readerStream=new r.default(this._settings)}dynamic(e,t){return new Promise(((a,i)=>{this._walkAsync(e,t,((e,t)=>{null===e?a(t):i(e)}))}))}async static(e,t){const a=[],i=this._readerStream.static(e,t);return new Promise(((e,t)=>{i.once("error",t),i.on("data",(e=>a.push(e))),i.once("end",(()=>e(a)))}))}}t.default=s},5156:(e,t,a)=>{const{InvalidArgumentError:i}=a(723);function n(e){let t,a;const i=e.split(/[ |,]+/);return i.length>1&&!/^[[<]/.test(i[1])&&(t=i.shift()),a=i.shift(),!t&&/^-[^-]$/.test(a)&&(t=a,a=void 0),{shortFlag:t,longFlag:a}}t.Option=class{constructor(e,t){this.flags=e,this.description=t||"",this.required=e.includes("<"),this.optional=e.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(e),this.mandatory=!1;const a=n(e);this.short=a.shortFlag,this.long=a.longFlag,this.negate=!1,this.long&&(this.negate=this.long.startsWith("--no-")),this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}preset(e){return this.presetArg=e,this}conflicts(e){return this.conflictsWith=this.conflictsWith.concat(e),this}implies(e){let t=e;return"string"==typeof e&&(t={[e]:!0}),this.implied=Object.assign(this.implied||{},t),this}env(e){return this.envVar=e,this}argParser(e){return this.parseArg=e,this}makeOptionMandatory(e=!0){return this.mandatory=!!e,this}hideHelp(e=!0){return this.hidden=!!e,this}_concatValue(e,t){return t!==this.defaultValue&&Array.isArray(t)?t.concat(e):[e]}choices(e){return this.argChoices=e.slice(),this.parseArg=(e,t)=>{if(!this.argChoices.includes(e))throw new i(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,t):e},this}name(){return this.long?this.long.replace(/^--/,""):this.short.replace(/^-/,"")}attributeName(){return this.name().replace(/^no-/,"").split("-").reduce(((e,t)=>e+t[0].toUpperCase()+t.slice(1)))}is(e){return this.short===e||this.long===e}isBoolean(){return!this.required&&!this.optional&&!this.negate}},t.splitOptionFlags=n,t.DualOptions=class{constructor(e){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,e.forEach((e=>{e.negate?this.negativeOptions.set(e.attributeName(),e):this.positiveOptions.set(e.attributeName(),e)})),this.negativeOptions.forEach(((e,t)=>{this.positiveOptions.has(t)&&this.dualOptions.add(t)}))}valueFromOption(e,t){const a=t.attributeName();if(!this.dualOptions.has(a))return!0;const i=this.negativeOptions.get(a).presetArg,n=void 0!==i&&i;return t.negate===(n===e)}}},5250:e=>{var t=1/0,a=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,r=/^0o[0-7]+$/i,s=parseInt,o=Object.prototype.toString;function c(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return"number"==typeof e&&e==function(e){var p=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==o.call(e)}(e))return NaN;if(c(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=c(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var p=n.test(e);return p||r.test(e)?s(e.slice(2),p?2:8):i.test(e)?NaN:+e}(e))===t||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),l=p%1;return p==p?l?p-l:p:0}(e)}},5261:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(2203),n=a(1643),r=a(8036);class s extends r.default{constructor(){super(...arguments),this._reader=new n.default(this._settings)}read(e){const t=this._getRootDirectory(e),a=this._getReaderOptions(e),n=this.api(t,e,a),r=new i.Readable({objectMode:!0,read:()=>{}});return n.once("error",(e=>r.emit("error",e))).on("data",(e=>r.emit("data",a.transform(e)))).once("end",(()=>r.emit("end"))),r.once("close",(()=>n.destroy())),r}api(e,t,a){return t.dynamic?this._reader.dynamic(e,a):this._reader.static(t.patterns,a)}}t.default=s},5317:e=>{"use strict";e.exports=require("child_process")},5338:(e,t,a)=>{"use strict";const{stringify:i}=a(374),{outputFile:n}=a(1376);e.exports=async function(e,t,a={}){const r=i(t,a);await n(e,r,a)}},5357:e=>{var t=1/0,a=9007199254740991,i=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,s=/^0o[0-7]+$/i,o=/^(?:0|[1-9]\d*)$/,c=parseInt;function p(e){return e!=e}var l,u,d=Object.prototype,f=d.hasOwnProperty,m=d.toString,h=d.propertyIsEnumerable,v=(l=Object.keys,u=Object,function(e){return l(u(e))}),g=Math.max;function b(e,t){return!!(t=null==t?a:t)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}var y=Array.isArray;function x(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}(e.length)&&!function(e){var t=w(e)?m.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}function w(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function _(e){return!!e&&"object"==typeof e}e.exports=function(e,a,o,l){var u;e=x(e)?e:(u=e)?function(e,t){return function(t){for(var a=-1,i=t?t.length:0,n=Array(i);++a<i;)n[a]=(r=t[a],e[r]);var r;return n}(t)}(u,function(e){return x(e)?function(e,t){var a=y(e)||function(e){return function(e){return _(e)&&x(e)}(e)&&f.call(e,"callee")&&(!h.call(e,"callee")||"[object Arguments]"==m.call(e))}(e)?function(e,t){for(var a=-1,i=Array(e);++a<e;)i[a]=t(a);return i}(e.length,String):[],i=a.length,n=!!i;for(var r in e)!t&&!f.call(e,r)||n&&("length"==r||b(r,i))||a.push(r);return a}(e):function(e){if(a=(t=e)&&t.constructor,t!==("function"==typeof a&&a.prototype||d))return v(e);var t,a,i=[];for(var n in Object(e))f.call(e,n)&&"constructor"!=n&&i.push(n);return i}(e)}(u)):[],o=o&&!l?function(e){var a=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||_(e)&&"[object Symbol]"==m.call(e)}(e))return NaN;if(w(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=w(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var a=r.test(e);return a||s.test(e)?c(e.slice(2),a?2:8):n.test(e)?NaN:+e}(e))===t||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),o=a%1;return a==a?o?a-o:a:0}(o):0;var k=e.length;return o<0&&(o=g(k+o,0)),function(e){return"string"==typeof e||!y(e)&&_(e)&&"[object String]"==m.call(e)}(e)?o<=k&&e.indexOf(a,o)>-1:!!k&&function(e,t,a){if(t!=t)return function(e,t,a){for(var i=e.length,n=a+-1;++n<i;)if(t(e[n],n,e))return n;return-1}(e,p,a);for(var i=a-1,n=e.length;++i<n;)if(e[i]===t)return i;return-1}(e,a,o)>-1}},5363:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t)=>new i(e,t).minor},5453:(e,t,a)=>{"use strict";const i=a(4751),n=a(6927),{MAX_LENGTH:r,POSIX_REGEX_SOURCE:s,REGEX_NON_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:p}=i,l=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const a=`[${e.join("-")}]`;try{new RegExp(a)}catch(t){return e.map((e=>n.escapeRegex(e))).join("..")}return a},u=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,d=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=p[e]||e;const a={...t},f="number"==typeof a.maxLength?Math.min(r,a.maxLength):r;let m=e.length;if(m>f)throw new SyntaxError(`Input length: ${m}, exceeds maximum allowed length: ${f}`);const h={type:"bos",value:"",output:a.prepend||""},v=[h],g=a.capture?"":"?:",b=n.isWindows(t),y=i.globChars(b),x=i.extglobChars(y),{DOT_LITERAL:w,PLUS_LITERAL:_,SLASH_LITERAL:k,ONE_CHAR:S,DOTS_SLASH:E,NO_DOT:j,NO_DOT_SLASH:T,NO_DOTS_SLASH:A,QMARK:C,QMARK_NO_DOT:O,STAR:P,START_ANCHOR:R}=y,I=e=>`(${g}(?:(?!${R}${e.dot?E:w}).)*?)`,N=a.dot?"":j,L=a.dot?C:O;let $=!0===a.bash?I(a):P;a.capture&&($=`(${$})`),"boolean"==typeof a.noext&&(a.noextglob=a.noext);const D={input:e,index:-1,start:0,dot:!0===a.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:v};e=n.removePrefix(e,D),m=e.length;const M=[],q=[],F=[];let B,z=h;const H=()=>D.index===m-1,Z=D.peek=(t=1)=>e[D.index+t],U=D.advance=()=>e[++D.index]||"",V=()=>e.slice(D.index+1),W=(e="",t=0)=>{D.consumed+=e,D.index+=t},G=e=>{D.output+=null!=e.output?e.output:e.value,W(e.value)},K=()=>{let e=1;for(;"!"===Z()&&("("!==Z(2)||"?"===Z(3));)U(),D.start++,e++;return e%2!=0&&(D.negated=!0,D.start++,!0)},J=e=>{D[e]++,F.push(e)},Y=e=>{D[e]--,F.pop()},X=e=>{if("globstar"===z.type){const t=D.braces>0&&("comma"===e.type||"brace"===e.type),a=!0===e.extglob||M.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||a||(D.output=D.output.slice(0,-z.output.length),z.type="star",z.value="*",z.output=$,D.output+=z.output)}if(M.length&&"paren"!==e.type&&(M[M.length-1].inner+=e.value),(e.value||e.output)&&G(e),z&&"text"===z.type&&"text"===e.type)return z.value+=e.value,void(z.output=(z.output||"")+e.value);e.prev=z,v.push(e),z=e},Q=(e,t)=>{const i={...x[t],conditions:1,inner:""};i.prev=z,i.parens=D.parens,i.output=D.output;const n=(a.capture?"(":"")+i.open;J("parens"),X({type:e,value:t,output:D.output?"":S}),X({type:"paren",extglob:!0,value:U(),output:n}),M.push(i)},ee=e=>{let i,n=e.close+(a.capture?")":"");if("negate"===e.type){let r=$;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(r=I(a)),(r!==$||H()||/^\)+$/.test(V()))&&(n=e.close=`)$))${r}`),e.inner.includes("*")&&(i=V())&&/^\.[^\\/.]+$/.test(i)){const a=d(i,{...t,fastpaths:!1}).output;n=e.close=`)${a})${r})`}"bos"===e.prev.type&&(D.negatedExtglob=!0)}X({type:"paren",extglob:!0,value:B,output:n}),Y("parens")};if(!1!==a.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let i=!1,r=e.replace(c,((e,t,a,n,r,s)=>"\\"===n?(i=!0,e):"?"===n?t?t+n+(r?C.repeat(r.length):""):0===s?L+(r?C.repeat(r.length):""):C.repeat(a.length):"."===n?w.repeat(a.length):"*"===n?t?t+n+(r?$:""):$:t?e:`\\${e}`));return!0===i&&(r=!0===a.unescape?r.replace(/\\/g,""):r.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),r===e&&!0===a.contains?(D.output=e,D):(D.output=n.wrapOutput(r,D,t),D)}for(;!H();){if(B=U(),"\0"===B)continue;if("\\"===B){const e=Z();if("/"===e&&!0!==a.bash)continue;if("."===e||";"===e)continue;if(!e){B+="\\",X({type:"text",value:B});continue}const t=/^\\+/.exec(V());let i=0;if(t&&t[0].length>2&&(i=t[0].length,D.index+=i,i%2!=0&&(B+="\\")),!0===a.unescape?B=U():B+=U(),0===D.brackets){X({type:"text",value:B});continue}}if(D.brackets>0&&("]"!==B||"["===z.value||"[^"===z.value)){if(!1!==a.posix&&":"===B){const e=z.value.slice(1);if(e.includes("[")&&(z.posix=!0,e.includes(":"))){const e=z.value.lastIndexOf("["),t=z.value.slice(0,e),a=z.value.slice(e+2),i=s[a];if(i){z.value=t+i,D.backtrack=!0,U(),h.output||1!==v.indexOf(z)||(h.output=S);continue}}}("["===B&&":"!==Z()||"-"===B&&"]"===Z())&&(B=`\\${B}`),"]"!==B||"["!==z.value&&"[^"!==z.value||(B=`\\${B}`),!0===a.posix&&"!"===B&&"["===z.value&&(B="^"),z.value+=B,G({value:B});continue}if(1===D.quotes&&'"'!==B){B=n.escapeRegex(B),z.value+=B,G({value:B});continue}if('"'===B){D.quotes=1===D.quotes?0:1,!0===a.keepQuotes&&X({type:"text",value:B});continue}if("("===B){J("parens"),X({type:"paren",value:B});continue}if(")"===B){if(0===D.parens&&!0===a.strictBrackets)throw new SyntaxError(u("opening","("));const e=M[M.length-1];if(e&&D.parens===e.parens+1){ee(M.pop());continue}X({type:"paren",value:B,output:D.parens?")":"\\)"}),Y("parens");continue}if("["===B){if(!0!==a.nobracket&&V().includes("]"))J("brackets");else{if(!0!==a.nobracket&&!0===a.strictBrackets)throw new SyntaxError(u("closing","]"));B=`\\${B}`}X({type:"bracket",value:B});continue}if("]"===B){if(!0===a.nobracket||z&&"bracket"===z.type&&1===z.value.length){X({type:"text",value:B,output:`\\${B}`});continue}if(0===D.brackets){if(!0===a.strictBrackets)throw new SyntaxError(u("opening","["));X({type:"text",value:B,output:`\\${B}`});continue}Y("brackets");const e=z.value.slice(1);if(!0===z.posix||"^"!==e[0]||e.includes("/")||(B=`/${B}`),z.value+=B,G({value:B}),!1===a.literalBrackets||n.hasRegexChars(e))continue;const t=n.escapeRegex(z.value);if(D.output=D.output.slice(0,-z.value.length),!0===a.literalBrackets){D.output+=t,z.value=t;continue}z.value=`(${g}${t}|${z.value})`,D.output+=z.value;continue}if("{"===B&&!0!==a.nobrace){J("braces");const e={type:"brace",value:B,output:"(",outputIndex:D.output.length,tokensIndex:D.tokens.length};q.push(e),X(e);continue}if("}"===B){const e=q[q.length-1];if(!0===a.nobrace||!e){X({type:"text",value:B,output:B});continue}let t=")";if(!0===e.dots){const e=v.slice(),i=[];for(let t=e.length-1;t>=0&&(v.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&i.unshift(e[t].value);t=l(i,a),D.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const a=D.output.slice(0,e.outputIndex),i=D.tokens.slice(e.tokensIndex);e.value=e.output="\\{",B=t="\\}",D.output=a;for(const e of i)D.output+=e.output||e.value}X({type:"brace",value:B,output:t}),Y("braces"),q.pop();continue}if("|"===B){M.length>0&&M[M.length-1].conditions++,X({type:"text",value:B});continue}if(","===B){let e=B;const t=q[q.length-1];t&&"braces"===F[F.length-1]&&(t.comma=!0,e="|"),X({type:"comma",value:B,output:e});continue}if("/"===B){if("dot"===z.type&&D.index===D.start+1){D.start=D.index+1,D.consumed="",D.output="",v.pop(),z=h;continue}X({type:"slash",value:B,output:k});continue}if("."===B){if(D.braces>0&&"dot"===z.type){"."===z.value&&(z.output=w);const e=q[q.length-1];z.type="dots",z.output+=B,z.value+=B,e.dots=!0;continue}if(D.braces+D.parens===0&&"bos"!==z.type&&"slash"!==z.type){X({type:"text",value:B,output:w});continue}X({type:"dot",value:B,output:w});continue}if("?"===B){if((!z||"("!==z.value)&&!0!==a.noextglob&&"("===Z()&&"?"!==Z(2)){Q("qmark",B);continue}if(z&&"paren"===z.type){const e=Z();let t=B;if("<"===e&&!n.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===z.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(V()))&&(t=`\\${B}`),X({type:"text",value:B,output:t});continue}if(!0!==a.dot&&("slash"===z.type||"bos"===z.type)){X({type:"qmark",value:B,output:O});continue}X({type:"qmark",value:B,output:C});continue}if("!"===B){if(!0!==a.noextglob&&"("===Z()&&("?"!==Z(2)||!/[!=<:]/.test(Z(3)))){Q("negate",B);continue}if(!0!==a.nonegate&&0===D.index){K();continue}}if("+"===B){if(!0!==a.noextglob&&"("===Z()&&"?"!==Z(2)){Q("plus",B);continue}if(z&&"("===z.value||!1===a.regex){X({type:"plus",value:B,output:_});continue}if(z&&("bracket"===z.type||"paren"===z.type||"brace"===z.type)||D.parens>0){X({type:"plus",value:B});continue}X({type:"plus",value:_});continue}if("@"===B){if(!0!==a.noextglob&&"("===Z()&&"?"!==Z(2)){X({type:"at",extglob:!0,value:B,output:""});continue}X({type:"text",value:B});continue}if("*"!==B){"$"!==B&&"^"!==B||(B=`\\${B}`);const e=o.exec(V());e&&(B+=e[0],D.index+=e[0].length),X({type:"text",value:B});continue}if(z&&("globstar"===z.type||!0===z.star)){z.type="star",z.star=!0,z.value+=B,z.output=$,D.backtrack=!0,D.globstar=!0,W(B);continue}let t=V();if(!0!==a.noextglob&&/^\([^?]/.test(t)){Q("star",B);continue}if("star"===z.type){if(!0===a.noglobstar){W(B);continue}const i=z.prev,n=i.prev,r="slash"===i.type||"bos"===i.type,s=n&&("star"===n.type||"globstar"===n.type);if(!0===a.bash&&(!r||t[0]&&"/"!==t[0])){X({type:"star",value:B,output:""});continue}const o=D.braces>0&&("comma"===i.type||"brace"===i.type),c=M.length&&("pipe"===i.type||"paren"===i.type);if(!r&&"paren"!==i.type&&!o&&!c){X({type:"star",value:B,output:""});continue}for(;"/**"===t.slice(0,3);){const a=e[D.index+4];if(a&&"/"!==a)break;t=t.slice(3),W("/**",3)}if("bos"===i.type&&H()){z.type="globstar",z.value+=B,z.output=I(a),D.output=z.output,D.globstar=!0,W(B);continue}if("slash"===i.type&&"bos"!==i.prev.type&&!s&&H()){D.output=D.output.slice(0,-(i.output+z.output).length),i.output=`(?:${i.output}`,z.type="globstar",z.output=I(a)+(a.strictSlashes?")":"|$)"),z.value+=B,D.globstar=!0,D.output+=i.output+z.output,W(B);continue}if("slash"===i.type&&"bos"!==i.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";D.output=D.output.slice(0,-(i.output+z.output).length),i.output=`(?:${i.output}`,z.type="globstar",z.output=`${I(a)}${k}|${k}${e})`,z.value+=B,D.output+=i.output+z.output,D.globstar=!0,W(B+U()),X({type:"slash",value:"/",output:""});continue}if("bos"===i.type&&"/"===t[0]){z.type="globstar",z.value+=B,z.output=`(?:^|${k}|${I(a)}${k})`,D.output=z.output,D.globstar=!0,W(B+U()),X({type:"slash",value:"/",output:""});continue}D.output=D.output.slice(0,-z.output.length),z.type="globstar",z.output=I(a),z.value+=B,D.output+=z.output,D.globstar=!0,W(B);continue}const i={type:"star",value:B,output:$};!0!==a.bash?!z||"bracket"!==z.type&&"paren"!==z.type||!0!==a.regex?(D.index!==D.start&&"slash"!==z.type&&"dot"!==z.type||("dot"===z.type?(D.output+=T,z.output+=T):!0===a.dot?(D.output+=A,z.output+=A):(D.output+=N,z.output+=N),"*"!==Z()&&(D.output+=S,z.output+=S)),X(i)):(i.output=B,X(i)):(i.output=".*?","bos"!==z.type&&"slash"!==z.type||(i.output=N+i.output),X(i))}for(;D.brackets>0;){if(!0===a.strictBrackets)throw new SyntaxError(u("closing","]"));D.output=n.escapeLast(D.output,"["),Y("brackets")}for(;D.parens>0;){if(!0===a.strictBrackets)throw new SyntaxError(u("closing",")"));D.output=n.escapeLast(D.output,"("),Y("parens")}for(;D.braces>0;){if(!0===a.strictBrackets)throw new SyntaxError(u("closing","}"));D.output=n.escapeLast(D.output,"{"),Y("braces")}if(!0===a.strictSlashes||"star"!==z.type&&"bracket"!==z.type||X({type:"maybe_slash",value:"",output:`${k}?`}),!0===D.backtrack){D.output="";for(const e of D.tokens)D.output+=null!=e.output?e.output:e.value,e.suffix&&(D.output+=e.suffix)}return D};d.fastpaths=(e,t)=>{const a={...t},s="number"==typeof a.maxLength?Math.min(r,a.maxLength):r,o=e.length;if(o>s)throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${s}`);e=p[e]||e;const c=n.isWindows(t),{DOT_LITERAL:l,SLASH_LITERAL:u,ONE_CHAR:d,DOTS_SLASH:f,NO_DOT:m,NO_DOTS:h,NO_DOTS_SLASH:v,STAR:g,START_ANCHOR:b}=i.globChars(c),y=a.dot?h:m,x=a.dot?v:m,w=a.capture?"":"?:";let _=!0===a.bash?".*?":g;a.capture&&(_=`(${_})`);const k=e=>!0===e.noglobstar?_:`(${w}(?:(?!${b}${e.dot?f:l}).)*?)`,S=e=>{switch(e){case"*":return`${y}${d}${_}`;case".*":return`${l}${d}${_}`;case"*.*":return`${y}${_}${l}${d}${_}`;case"*/*":return`${y}${_}${u}${d}${x}${_}`;case"**":return y+k(a);case"**/*":return`(?:${y}${k(a)}${u})?${x}${d}${_}`;case"**/*.*":return`(?:${y}${k(a)}${u})?${x}${_}${l}${d}${_}`;case"**/.*":return`(?:${y}${k(a)}${u})?${l}${d}${_}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const a=S(t[1]);if(!a)return;return a+l+t[2]}}},E=n.removePrefix(e,{negated:!1,prefix:""});let j=S(E);return j&&!0!==a.strictSlashes&&(j+=`${u}?`),j},e.exports=d},5469:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t,a)=>new i(e,a).compare(new i(t,a))},5501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=t.isString=void 0,t.isString=function(e){return"string"==typeof e},t.isEmpty=function(e){return""===e}},5562:(e,t,a)=>{"use strict";e.exports=a(8996)},5582:(e,t,a)=>{var i=a(32);e.exports=i.satisfies(process.version,"^6.12.0 || >=8.0.0")},5585:(e,t,a)=>{"use strict";const i=a(2771),n=a(1289),{safeRe:r,t:s}=a(6999);e.exports=(e,t)=>{if(e instanceof i)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let a=null;if((t=t||{}).rtl){const i=t.includePrerelease?r[s.COERCERTLFULL]:r[s.COERCERTL];let n;for(;(n=i.exec(e))&&(!a||a.index+a[0].length!==e.length);)a&&n.index+n[0].length===a.index+a[0].length||(a=n),i.lastIndex=n.index+n[1].length+n[2].length;i.lastIndex=-1}else a=e.match(t.includePrerelease?r[s.COERCEFULL]:r[s.COERCE]);if(null===a)return null;const o=a[2],c=a[3]||"0",p=a[4]||"0",l=t.includePrerelease&&a[5]?`-${a[5]}`:"",u=t.includePrerelease&&a[6]?`+${a[6]}`:"";return n(`${o}.${c}.${p}${l}${u}`,t)}},5612:(e,t,a)=>{const i=a(32);e.exports=i.satisfies(process.version,">=16.9.0")},5665:(e,t,a)=>{"use strict";const{EventEmitter:i}=a(4434),n=a(9896),r=a(6928),{promisify:s}=a(9023),o=a(7361),c=a(3785).default,p=a(4462),l=a(6543),u=a(4078),d=a(5859),f=a(7167),m=a(3142),{EV_ALL:h,EV_READY:v,EV_ADD:g,EV_CHANGE:b,EV_UNLINK:y,EV_ADD_DIR:x,EV_UNLINK_DIR:w,EV_RAW:_,EV_ERROR:k,STR_CLOSE:S,STR_END:E,BACK_SLASH_RE:j,DOUBLE_SLASH_RE:T,SLASH_OR_BACK_SLASH_RE:A,DOT_RE:C,REPLACER_RE:O,SLASH:P,SLASH_SLASH:R,BRACE_START:I,BANG:N,ONE_DOT:L,TWO_DOTS:$,GLOBSTAR:D,SLASH_GLOBSTAR:M,ANYMATCH_OPTS:q,STRING_TYPE:F,FUNCTION_TYPE:B,EMPTY_STR:z,EMPTY_FN:H,isWindows:Z,isMacos:U,isIBMi:V}=a(416),W=s(n.stat),G=s(n.readdir),K=(e=[])=>Array.isArray(e)?e:[e],J=(e,t=[])=>(e.forEach((e=>{Array.isArray(e)?J(e,t):t.push(e)})),t),Y=e=>{const t=J(K(e));if(!t.every((e=>typeof e===F)))throw new TypeError(`Non-string provided as watch path: ${t}`);return t.map(Q)},X=e=>{let t=e.replace(j,P),a=!1;for(t.startsWith(R)&&(a=!0);t.match(T);)t=t.replace(T,P);return a&&(t=P+t),t},Q=e=>X(r.normalize(X(e))),ee=(e=z)=>t=>typeof t!==F?t:Q(r.isAbsolute(t)?t:r.join(e,t)),te=(e,t)=>void 0===e[t];class ae{constructor(e,t){this.path=e,this._removeWatcher=t,this.items=new Set}add(e){const{items:t}=this;t&&e!==L&&e!==$&&t.add(e)}async remove(e){const{items:t}=this;if(!t)return;if(t.delete(e),t.size>0)return;const a=this.path;try{await G(a)}catch(e){this._removeWatcher&&this._removeWatcher(r.dirname(a),r.basename(a))}}has(e){const{items:t}=this;if(t)return t.has(e)}getChildren(){const{items:e}=this;if(e)return[...e.values()]}dispose(){this.items.clear(),delete this.path,delete this._removeWatcher,delete this.items,Object.freeze(this)}}class ie{constructor(e,t,a,i){this.fsw=i,this.path=e=e.replace(O,z),this.watchPath=t,this.fullWatchPath=r.resolve(t),this.hasGlob=t!==e,e===z&&(this.hasGlob=!1),this.globSymlink=!(!this.hasGlob||!a)&&void 0,this.globFilter=!!this.hasGlob&&c(e,void 0,q),this.dirParts=this.getDirParts(e),this.dirParts.forEach((e=>{e.length>1&&e.pop()})),this.followSymlinks=a,this.statMethod=a?"stat":"lstat"}checkGlobSymlink(e){return void 0===this.globSymlink&&(this.globSymlink=e.fullParentDir!==this.fullWatchPath&&{realPath:e.fullParentDir,linkPath:this.fullWatchPath}),this.globSymlink?e.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath):e.fullPath}entryPath(e){return r.join(this.watchPath,r.relative(this.watchPath,this.checkGlobSymlink(e)))}filterPath(e){const{stats:t}=e;if(t&&t.isSymbolicLink())return this.filterDir(e);const a=this.entryPath(e);return(!this.hasGlob||typeof this.globFilter!==B||this.globFilter(a))&&this.fsw._isntIgnored(a,t)&&this.fsw._hasReadPermissions(t)}getDirParts(e){if(!this.hasGlob)return[];const t=[];return(e.includes(I)?u.expand(e):[e]).forEach((e=>{t.push(r.relative(this.watchPath,e).split(A))})),t}filterDir(e){if(this.hasGlob){const t=this.getDirParts(this.checkGlobSymlink(e));let a=!1;this.unmatchedGlob=!this.dirParts.some((e=>e.every(((e,i)=>(e===D&&(a=!0),a||!t[0][i]||c(e,t[0][i],q))))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(e),e.stats)}}class ne extends i{constructor(e){super();const t={};e&&Object.assign(t,e),this._watched=new Map,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._symlinkPaths=new Map,this._streams=new Set,this.closed=!1,te(t,"persistent")&&(t.persistent=!0),te(t,"ignoreInitial")&&(t.ignoreInitial=!1),te(t,"ignorePermissionErrors")&&(t.ignorePermissionErrors=!1),te(t,"interval")&&(t.interval=100),te(t,"binaryInterval")&&(t.binaryInterval=300),te(t,"disableGlobbing")&&(t.disableGlobbing=!1),t.enableBinaryInterval=t.binaryInterval!==t.interval,te(t,"useFsEvents")&&(t.useFsEvents=!t.usePolling),m.canUse()||(t.useFsEvents=!1),te(t,"usePolling")&&!t.useFsEvents&&(t.usePolling=U),V&&(t.usePolling=!0);const a=process.env.CHOKIDAR_USEPOLLING;if(void 0!==a){const e=a.toLowerCase();t.usePolling="false"!==e&&"0"!==e&&("true"===e||"1"===e||!!e)}const i=process.env.CHOKIDAR_INTERVAL;i&&(t.interval=Number.parseInt(i,10)),te(t,"atomic")&&(t.atomic=!t.usePolling&&!t.useFsEvents),t.atomic&&(this._pendingUnlinks=new Map),te(t,"followSymlinks")&&(t.followSymlinks=!0),te(t,"awaitWriteFinish")&&(t.awaitWriteFinish=!1),!0===t.awaitWriteFinish&&(t.awaitWriteFinish={});const n=t.awaitWriteFinish;n&&(n.stabilityThreshold||(n.stabilityThreshold=2e3),n.pollInterval||(n.pollInterval=100),this._pendingWrites=new Map),t.ignored&&(t.ignored=K(t.ignored));let r=0;this._emitReady=()=>{r++,r>=this._readyCount&&(this._emitReady=H,this._readyEmitted=!0,process.nextTick((()=>this.emit(v))))},this._emitRaw=(...e)=>this.emit(_,...e),this._readyEmitted=!1,this.options=t,t.useFsEvents?this._fsEventsHandler=new m(this):this._nodeFsHandler=new f(this),Object.freeze(t)}add(e,t,a){const{cwd:i,disableGlobbing:n}=this.options;this.closed=!1;let s=Y(e);return i&&(s=s.map((e=>{const t=((e,t)=>r.isAbsolute(e)?e:e.startsWith(N)?N+r.join(t,e.slice(1)):r.join(t,e))(e,i);return n||!l(e)?t:d(t)}))),s=s.filter((e=>e.startsWith(N)?(this._ignoredPaths.add(e.slice(1)),!1):(this._ignoredPaths.delete(e),this._ignoredPaths.delete(e+M),this._userIgnored=void 0,!0))),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=s.length),this.options.persistent&&(this._readyCount+=s.length),s.forEach((e=>this._fsEventsHandler._addToFsEvents(e)))):(this._readyCount||(this._readyCount=0),this._readyCount+=s.length,Promise.all(s.map((async e=>{const i=await this._nodeFsHandler._addToNodeFs(e,!a,0,0,t);return i&&this._emitReady(),i}))).then((e=>{this.closed||e.filter((e=>e)).forEach((e=>{this.add(r.dirname(e),r.basename(t||e))}))}))),this}unwatch(e){if(this.closed)return this;const t=Y(e),{cwd:a}=this.options;return t.forEach((e=>{r.isAbsolute(e)||this._closers.has(e)||(a&&(e=r.join(a,e)),e=r.resolve(e)),this._closePath(e),this._ignoredPaths.add(e),this._watched.has(e)&&this._ignoredPaths.add(e+M),this._userIgnored=void 0})),this}close(){if(this.closed)return this._closePromise;this.closed=!0,this.removeAllListeners();const e=[];return this._closers.forEach((t=>t.forEach((t=>{const a=t();a instanceof Promise&&e.push(a)})))),this._streams.forEach((e=>e.destroy())),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((e=>e.dispose())),["closers","watched","streams","symlinkPaths","throttled"].forEach((e=>{this[`_${e}`].clear()})),this._closePromise=e.length?Promise.all(e).then((()=>{})):Promise.resolve(),this._closePromise}getWatched(){const e={};return this._watched.forEach(((t,a)=>{const i=this.options.cwd?r.relative(this.options.cwd,a):a;e[i||L]=t.getChildren().sort()})),e}emitWithAll(e,t){this.emit(...t),e!==k&&this.emit(h,...t)}async _emit(e,t,a,i,n){if(this.closed)return;const s=this.options;Z&&(t=r.normalize(t)),s.cwd&&(t=r.relative(s.cwd,t));const o=[e,t];void 0!==n?o.push(a,i,n):void 0!==i?o.push(a,i):void 0!==a&&o.push(a);const c=s.awaitWriteFinish;let p;if(c&&(p=this._pendingWrites.get(t)))return p.lastChange=new Date,this;if(s.atomic){if(e===y)return this._pendingUnlinks.set(t,o),setTimeout((()=>{this._pendingUnlinks.forEach(((e,t)=>{this.emit(...e),this.emit(h,...e),this._pendingUnlinks.delete(t)}))}),"number"==typeof s.atomic?s.atomic:100),this;e===g&&this._pendingUnlinks.has(t)&&(e=o[0]=b,this._pendingUnlinks.delete(t))}if(c&&(e===g||e===b)&&this._readyEmitted){const a=(t,a)=>{t?(e=o[0]=k,o[1]=t,this.emitWithAll(e,o)):a&&(o.length>2?o[2]=a:o.push(a),this.emitWithAll(e,o))};return this._awaitWriteFinish(t,c.stabilityThreshold,e,a),this}if(e===b&&!this._throttle(b,t,50))return this;if(s.alwaysStat&&void 0===a&&(e===g||e===x||e===b)){const e=s.cwd?r.join(s.cwd,t):t;let a;try{a=await W(e)}catch(e){}if(!a||this.closed)return;o.push(a)}return this.emitWithAll(e,o),this}_handleError(e){const t=e&&e.code;return e&&"ENOENT"!==t&&"ENOTDIR"!==t&&(!this.options.ignorePermissionErrors||"EPERM"!==t&&"EACCES"!==t)&&this.emit(k,e),e||this.closed}_throttle(e,t,a){this._throttled.has(e)||this._throttled.set(e,new Map);const i=this._throttled.get(e),n=i.get(t);if(n)return n.count++,!1;let r;const s=()=>{const e=i.get(t),a=e?e.count:0;return i.delete(t),clearTimeout(r),e&&clearTimeout(e.timeoutObject),a};r=setTimeout(s,a);const o={timeoutObject:r,clear:s,count:0};return i.set(t,o),o}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(e,t,a,i){let s,o=e;this.options.cwd&&!r.isAbsolute(e)&&(o=r.join(this.options.cwd,e));const c=new Date,p=a=>{n.stat(o,((n,r)=>{if(n||!this._pendingWrites.has(e))return void(n&&"ENOENT"!==n.code&&i(n));const o=Number(new Date);a&&r.size!==a.size&&(this._pendingWrites.get(e).lastChange=o),o-this._pendingWrites.get(e).lastChange>=t?(this._pendingWrites.delete(e),i(void 0,r)):s=setTimeout(p,this.options.awaitWriteFinish.pollInterval,r)}))};this._pendingWrites.has(e)||(this._pendingWrites.set(e,{lastChange:c,cancelWait:()=>(this._pendingWrites.delete(e),clearTimeout(s),a)}),s=setTimeout(p,this.options.awaitWriteFinish.pollInterval))}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(e,t){if(this.options.atomic&&C.test(e))return!0;if(!this._userIgnored){const{cwd:e}=this.options,t=this.options.ignored,a=t&&t.map(ee(e)),i=K(a).filter((e=>typeof e===F&&!l(e))).map((e=>e+M)),n=this._getGlobIgnored().map(ee(e)).concat(a,i);this._userIgnored=c(n,void 0,q)}return this._userIgnored([e,t])}_isntIgnored(e,t){return!this._isIgnored(e,t)}_getWatchHelpers(e,t){const a=t||this.options.disableGlobbing||!l(e)?e:p(e),i=this.options.followSymlinks;return new ie(e,a,i,this)}_getWatchedDir(e){this._boundRemove||(this._boundRemove=this._remove.bind(this));const t=r.resolve(e);return this._watched.has(t)||this._watched.set(t,new ae(t,this._boundRemove)),this._watched.get(t)}_hasReadPermissions(e){if(this.options.ignorePermissionErrors)return!0;const t=511&(e&&Number.parseInt(e.mode,10)),a=Number.parseInt(t.toString(8)[0],10);return Boolean(4&a)}_remove(e,t,a){const i=r.join(e,t),n=r.resolve(i);if(a=null!=a?a:this._watched.has(i)||this._watched.has(n),!this._throttle("remove",i,100))return;a||this.options.useFsEvents||1!==this._watched.size||this.add(e,t,!0),this._getWatchedDir(i).getChildren().forEach((e=>this._remove(i,e)));const s=this._getWatchedDir(e),o=s.has(t);s.remove(t),this._symlinkPaths.has(n)&&this._symlinkPaths.delete(n);let c=i;if(this.options.cwd&&(c=r.relative(this.options.cwd,i)),this.options.awaitWriteFinish&&this._pendingWrites.has(c)&&this._pendingWrites.get(c).cancelWait()===g)return;this._watched.delete(i),this._watched.delete(n);const p=a?w:y;o&&!this._isIgnored(i)&&this._emit(p,i),this.options.useFsEvents||this._closePath(i)}_closePath(e){this._closeFile(e);const t=r.dirname(e);this._getWatchedDir(t).remove(r.basename(e))}_closeFile(e){const t=this._closers.get(e);t&&(t.forEach((e=>e())),this._closers.delete(e))}_addPathCloser(e,t){if(!t)return;let a=this._closers.get(e);a||(a=[],this._closers.set(e,a)),a.push(t)}_readdirp(e,t){if(this.closed)return;const a={type:h,alwaysStat:!0,lstat:!0,...t};let i=o(e,a);return this._streams.add(i),i.once(S,(()=>{i=void 0})),i.once(E,(()=>{i&&(this._streams.delete(i),i=void 0)})),i}}t.FSWatcher=ne,t.watch=(e,t)=>{const a=new ne(t);return a.add(e),a}},5715:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPatternGroupToTask=t.convertPatternGroupsToTasks=t.groupPatternsByBaseDirectory=t.getNegativePatternsAsPositive=t.getPositivePatterns=t.convertPatternsToTasks=t.generate=void 0;const i=a(4718);function n(e,t){let a=e;return t.braceExpansion&&(a=i.pattern.expandPatternsWithBraceExpansion(a)),t.baseNameMatch&&(a=a.map((e=>e.includes("/")?e:`**/${e}`))),a.map((e=>i.pattern.removeDuplicateSlashes(e)))}function r(e,t,a){const n=[],r=i.pattern.getPatternsOutsideCurrentDirectory(e),s=i.pattern.getPatternsInsideCurrentDirectory(e),o=c(r),u=c(s);return n.push(...p(o,t,a)),"."in u?n.push(l(".",s,t,a)):n.push(...p(u,t,a)),n}function s(e){return i.pattern.getPositivePatterns(e)}function o(e,t){return i.pattern.getNegativePatterns(e).concat(t).map(i.pattern.convertToPositivePattern)}function c(e){return e.reduce(((e,t)=>{const a=i.pattern.getBaseDirectory(t);return a in e?e[a].push(t):e[a]=[t],e}),{})}function p(e,t,a){return Object.keys(e).map((i=>l(i,e[i],t,a)))}function l(e,t,a,n){return{dynamic:n,positive:t,negative:a,base:e,patterns:[].concat(t,a.map(i.pattern.convertToNegativePattern))}}t.generate=function(e,t){const a=n(e,t),c=n(t.ignore,t),p=s(a),l=o(a,c),u=p.filter((e=>i.pattern.isStaticPattern(e,t))),d=p.filter((e=>i.pattern.isDynamicPattern(e,t))),f=r(u,l,!1),m=r(d,l,!0);return f.concat(m)},t.convertPatternsToTasks=r,t.getPositivePatterns=s,t.getNegativePatternsAsPositive=o,t.groupPatternsByBaseDirectory=c,t.convertPatternGroupsToTasks=p,t.convertPatternGroupToTask=l},5737:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4718);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const[a,n]=i.pattern.partitionAbsoluteAndRelative(t),r={positive:{all:i.pattern.convertPatternsToRe(e,this._micromatchOptions)},negative:{absolute:i.pattern.convertPatternsToRe(a,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0})),relative:i.pattern.convertPatternsToRe(n,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}))}};return e=>this._filter(e,r)}_filter(e,t){const a=i.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(a))return!1;if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;const n=this._isMatchToPatternsSet(a,t,e.dirent.isDirectory());return this._settings.unique&&n&&this._createIndexRecord(a),n}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isMatchToPatternsSet(e,t,a){return!!this._isMatchToPatterns(e,t.positive.all,a)&&(!this._isMatchToPatterns(e,t.negative.relative,a)&&!this._isMatchToAbsoluteNegative(e,t.negative.absolute,a))}_isMatchToAbsoluteNegative(e,t,a){if(0===t.length)return!1;const n=i.path.makeAbsolute(this._settings.cwd,e);return this._isMatchToPatterns(n,t,a)}_isMatchToPatterns(e,t,a){if(0===t.length)return!1;const n=i.pattern.matchAny(e,t);return!n&&a?i.pattern.matchAny(e+"/",t):n}}},5740:(e,t,a)=>{"use strict";const{stringify:i}=a(374),{outputFileSync:n}=a(1376);e.exports=function(e,t,a){const r=i(t,a);n(e,r,a)}},5783:(e,t,a)=>{"use strict";const i=a(4635).fromPromise;e.exports={move:i(a(2690)),moveSync:a(4164)}},5838:(e,t,a)=>{"use strict";const i=a(6289),n=a(6928),r=a(4635).fromPromise;function s(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function o(e,t){const a=n.resolve(e).split(n.sep).filter((e=>e)),i=n.resolve(t).split(n.sep).filter((e=>e));return a.every(((e,t)=>i[t]===e))}function c(e,t,a){return`Cannot ${a} '${e}' to a subdirectory of itself, '${t}'.`}e.exports={checkPaths:r((async function(e,t,a,r){const{srcStat:p,destStat:l}=await function(e,t,a){const n=a.dereference?e=>i.stat(e,{bigint:!0}):e=>i.lstat(e,{bigint:!0});return Promise.all([n(e),n(t).catch((e=>{if("ENOENT"===e.code)return null;throw e}))]).then((([e,t])=>({srcStat:e,destStat:t})))}(e,t,r);if(l){if(s(p,l)){const i=n.basename(e),r=n.basename(t);if("move"===a&&i!==r&&i.toLowerCase()===r.toLowerCase())return{srcStat:p,destStat:l,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(p.isDirectory()&&!l.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!p.isDirectory()&&l.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(p.isDirectory()&&o(e,t))throw new Error(c(e,t,a));return{srcStat:p,destStat:l}})),checkPathsSync:function(e,t,a,r){const{srcStat:p,destStat:l}=function(e,t,a){let n;const r=a.dereference?e=>i.statSync(e,{bigint:!0}):e=>i.lstatSync(e,{bigint:!0}),s=r(e);try{n=r(t)}catch(e){if("ENOENT"===e.code)return{srcStat:s,destStat:null};throw e}return{srcStat:s,destStat:n}}(e,t,r);if(l){if(s(p,l)){const i=n.basename(e),r=n.basename(t);if("move"===a&&i!==r&&i.toLowerCase()===r.toLowerCase())return{srcStat:p,destStat:l,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(p.isDirectory()&&!l.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!p.isDirectory()&&l.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(p.isDirectory()&&o(e,t))throw new Error(c(e,t,a));return{srcStat:p,destStat:l}},checkParentPaths:r((async function e(t,a,r,o){const p=n.resolve(n.dirname(t)),l=n.resolve(n.dirname(r));if(l===p||l===n.parse(l).root)return;let u;try{u=await i.stat(l,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(s(a,u))throw new Error(c(t,r,o));return e(t,a,l,o)})),checkParentPathsSync:function e(t,a,r,o){const p=n.resolve(n.dirname(t)),l=n.resolve(n.dirname(r));if(l===p||l===n.parse(l).root)return;let u;try{u=i.statSync(l,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(s(a,u))throw new Error(c(t,r,o));return e(t,a,l,o)},isSrcSubdir:o,areIdentical:s}},5859:e=>{e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var a=e.length;if(a<=1)return e;var i="";if(a>4&&"\\"===e[3]){var n=e[2];"?"!==n&&"."!==n||"\\\\"!==e.slice(0,2)||(e=e.slice(2),i="//")}var r=e.split(/[/\\]+/);return!1!==t&&""===r[r.length-1]&&r.pop(),i+r.join("/")}},5949:(e,t,a)=>{const i=a(9896),n=a(6928),r=a(857),s=a(6982),o=a(7617).version,c=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;function p(e){console.log(`[dotenv@${o}][DEBUG] ${e}`)}function l(e){return e&&e.DOTENV_KEY&&e.DOTENV_KEY.length>0?e.DOTENV_KEY:process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0?process.env.DOTENV_KEY:""}function u(e,t){let a;try{a=new URL(t)}catch(e){if("ERR_INVALID_URL"===e.code){const e=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw e.code="INVALID_DOTENV_KEY",e}throw e}const i=a.password;if(!i){const e=new Error("INVALID_DOTENV_KEY: Missing key part");throw e.code="INVALID_DOTENV_KEY",e}const n=a.searchParams.get("environment");if(!n){const e=new Error("INVALID_DOTENV_KEY: Missing environment part");throw e.code="INVALID_DOTENV_KEY",e}const r=`DOTENV_VAULT_${n.toUpperCase()}`,s=e.parsed[r];if(!s){const e=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${r} in your .env.vault file.`);throw e.code="NOT_FOUND_DOTENV_ENVIRONMENT",e}return{ciphertext:s,key:i}}function d(e){let t=null;if(e&&e.path&&e.path.length>0)if(Array.isArray(e.path))for(const a of e.path)i.existsSync(a)&&(t=a.endsWith(".vault")?a:`${a}.vault`);else t=e.path.endsWith(".vault")?e.path:`${e.path}.vault`;else t=n.resolve(process.cwd(),".env.vault");return i.existsSync(t)?t:null}function f(e){return"~"===e[0]?n.join(r.homedir(),e.slice(1)):e}const m={configDotenv:function(e){const t=n.resolve(process.cwd(),".env");let a="utf8";const r=Boolean(e&&e.debug);e&&e.encoding?a=e.encoding:r&&p("No encoding is specified. UTF-8 is used by default");let s,o=[t];if(e&&e.path)if(Array.isArray(e.path)){o=[];for(const t of e.path)o.push(f(t))}else o=[f(e.path)];const c={};for(const t of o)try{const n=m.parse(i.readFileSync(t,{encoding:a}));m.populate(c,n,e)}catch(e){r&&p(`Failed to load ${t} ${e.message}`),s=e}let l=process.env;return e&&null!=e.processEnv&&(l=e.processEnv),m.populate(l,c,e),s?{parsed:c,error:s}:{parsed:c}},_configVault:function(e){Boolean(e&&e.debug)&&p("Loading env from encrypted .env.vault");const t=m._parseVault(e);let a=process.env;return e&&null!=e.processEnv&&(a=e.processEnv),m.populate(a,t,e),{parsed:t}},_parseVault:function(e){const t=d(e),a=m.configDotenv({path:t});if(!a.parsed){const e=new Error(`MISSING_DATA: Cannot parse ${t} for an unknown reason`);throw e.code="MISSING_DATA",e}const i=l(e).split(","),n=i.length;let r;for(let e=0;e<n;e++)try{const t=u(a,i[e].trim());r=m.decrypt(t.ciphertext,t.key);break}catch(t){if(e+1>=n)throw t}return m.parse(r)},config:function(e){if(0===l(e).length)return m.configDotenv(e);const t=d(e);return t?m._configVault(e):(a=`You set DOTENV_KEY but you are missing a .env.vault file at ${t}. Did you forget to build it?`,console.log(`[dotenv@${o}][WARN] ${a}`),m.configDotenv(e));var a},decrypt:function(e,t){const a=Buffer.from(t.slice(-64),"hex");let i=Buffer.from(e,"base64");const n=i.subarray(0,12),r=i.subarray(-16);i=i.subarray(12,-16);try{const e=s.createDecipheriv("aes-256-gcm",a,n);return e.setAuthTag(r),`${e.update(i)}${e.final()}`}catch(e){const t=e instanceof RangeError,a="Invalid key length"===e.message,i="Unsupported state or unable to authenticate data"===e.message;if(t||a){const e=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw e.code="INVALID_DOTENV_KEY",e}if(i){const e=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw e.code="DECRYPTION_FAILED",e}throw e}},parse:function(e){const t={};let a,i=e.toString();for(i=i.replace(/\r\n?/gm,"\n");null!=(a=c.exec(i));){const e=a[1];let i=a[2]||"";i=i.trim();const n=i[0];i=i.replace(/^(['"`])([\s\S]*)\1$/gm,"$2"),'"'===n&&(i=i.replace(/\\n/g,"\n"),i=i.replace(/\\r/g,"\r")),t[e]=i}return t},populate:function(e,t,a={}){const i=Boolean(a&&a.debug),n=Boolean(a&&a.override);if("object"!=typeof t){const e=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw e.code="OBJECT_REQUIRED",e}for(const a of Object.keys(t))Object.prototype.hasOwnProperty.call(e,a)?(!0===n&&(e[a]=t[a]),i&&p(!0===n?`"${a}" is already defined and WAS overwritten`:`"${a}" is already defined and was NOT overwritten`)):e[a]=t[a]}};e.exports.configDotenv=m.configDotenv,e.exports._configVault=m._configVault,e.exports._parseVault=m._parseVault,e.exports.config=m.config,e.exports.decrypt=m.decrypt,e.exports.parse=m.parse,e.exports.populate=m.populate,e.exports=m},5993:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>R});const i=(e=0)=>t=>`[${t+e}m`,n=(e=0)=>t=>`[${38+e};5;${t}m`,r=(e=0)=>(t,a,i)=>`[${38+e};2;${t};${a};${i}m`,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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],gray:[90,39],grey:[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],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(s.modifier),Object.keys(s.color),Object.keys(s.bgColor);const o=function(){const e=new Map;for(const[t,a]of Object.entries(s)){for(const[t,i]of Object.entries(a))s[t]={open:`[${i[0]}m`,close:`[${i[1]}m`},a[t]=s[t],e.set(i[0],i[1]);Object.defineProperty(s,t,{value:a,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="[39m",s.bgColor.close="[49m",s.color.ansi=i(),s.color.ansi256=n(),s.color.ansi16m=r(),s.bgColor.ansi=i(10),s.bgColor.ansi256=n(10),s.bgColor.ansi16m=r(10),Object.defineProperties(s,{rgbToAnsi256:{value:(e,t,a)=>e===t&&t===a?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(a/255*5),enumerable:!1},hexToRgb:{value(e){const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[a]=t;3===a.length&&(a=[...a].map((e=>e+e)).join(""));const i=Number.parseInt(a,16);return[i>>16&255,i>>8&255,255&i]},enumerable:!1},hexToAnsi256:{value:e=>s.rgbToAnsi256(...s.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return e-8+90;let t,a,i;if(e>=232)t=(10*(e-232)+8)/255,a=t,i=t;else{const n=(e-=16)%36;t=Math.floor(e/36)/5,a=Math.floor(n/6)/5,i=n%6/5}const n=2*Math.max(t,a,i);if(0===n)return 30;let r=30+(Math.round(i)<<2|Math.round(a)<<1|Math.round(t));return 2===n&&(r+=60),r},enumerable:!1},rgbToAnsi:{value:(e,t,a)=>s.ansi256ToAnsi(s.rgbToAnsi256(e,t,a)),enumerable:!1},hexToAnsi:{value:e=>s.ansi256ToAnsi(s.hexToAnsi256(e)),enumerable:!1}}),s}();var c=a(1708);const p=require("node:os"),l=require("node:tty");function u(e,t=(globalThis.Deno?globalThis.Deno.args:c.argv)){const a=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(a+e),n=t.indexOf("--");return-1!==i&&(-1===n||i<n)}const{env:d}=c;let f;function m(e,t={}){return 0!==(a=function(e,{streamIsTTY:t,sniffFlags:a=!0}={}){const i=function(){if("FORCE_COLOR"in d)return"true"===d.FORCE_COLOR?1:"false"===d.FORCE_COLOR?0:0===d.FORCE_COLOR.length?1:Math.min(Number.parseInt(d.FORCE_COLOR,10),3)}();void 0!==i&&(f=i);const n=a?f:i;if(0===n)return 0;if(a){if(u("color=16m")||u("color=full")||u("color=truecolor"))return 3;if(u("color=256"))return 2}if("TF_BUILD"in d&&"AGENT_NAME"in d)return 1;if(e&&!t&&void 0===n)return 0;const r=n||0;if("dumb"===d.TERM)return r;if("win32"===c.platform){const e=p.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in d)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((e=>e in d))?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((e=>e in d))||"codeship"===d.CI_NAME?1:r;if("TEAMCITY_VERSION"in d)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(d.TEAMCITY_VERSION)?1:0;if("truecolor"===d.COLORTERM)return 3;if("xterm-kitty"===d.TERM)return 3;if("TERM_PROGRAM"in d){const e=Number.parseInt((d.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(d.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(d.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(d.TERM)||"COLORTERM"in d?1:r}(e,{streamIsTTY:e&&e.isTTY,...t}))&&{level:a,hasBasic:!0,has256:a>=2,has16m:a>=3};var a}u("no-color")||u("no-colors")||u("color=false")||u("color=never")?f=0:(u("color")||u("colors")||u("color=true")||u("color=always"))&&(f=1);const h={stdout:m({isTTY:l.isatty(1)}),stderr:m({isTTY:l.isatty(2)})};function v(e,t,a){let i=e.indexOf(t);if(-1===i)return e;const n=t.length;let r=0,s="";do{s+=e.slice(r,i)+t+a,r=i+n,i=e.indexOf(t,r)}while(-1!==i);return s+=e.slice(r),s}const{stdout:g,stderr:b}=h,y=Symbol("GENERATOR"),x=Symbol("STYLER"),w=Symbol("IS_EMPTY"),_=["ansi","ansi","ansi256","ansi16m"],k=Object.create(null);function S(e){return(e=>{const t=(...e)=>e.join(" ");return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const a=g?g.level:0;e.level=void 0===t.level?a:t.level})(t,e),Object.setPrototypeOf(t,S.prototype),t})(e)}Object.setPrototypeOf(S.prototype,Function.prototype);for(const[e,t]of Object.entries(o))k[e]={get(){const a=C(this,A(t.open,t.close,this[x]),this[w]);return Object.defineProperty(this,e,{value:a}),a}};k.visible={get(){const e=C(this,this[x],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const E=(e,t,a,...i)=>"rgb"===e?"ansi16m"===t?o[a].ansi16m(...i):"ansi256"===t?o[a].ansi256(o.rgbToAnsi256(...i)):o[a].ansi(o.rgbToAnsi(...i)):"hex"===e?E("rgb",t,a,...o.hexToRgb(...i)):o[a][e](...i),j=["rgb","hex","ansi256"];for(const e of j)k[e]={get(){const{level:t}=this;return function(...a){const i=A(E(e,_[t],"color",...a),o.color.close,this[x]);return C(this,i,this[w])}}},k["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...a){const i=A(E(e,_[t],"bgColor",...a),o.bgColor.close,this[x]);return C(this,i,this[w])}}};const T=Object.defineProperties((()=>{}),{...k,level:{enumerable:!0,get(){return this[y].level},set(e){this[y].level=e}}}),A=(e,t,a)=>{let i,n;return void 0===a?(i=e,n=t):(i=a.openAll+e,n=t+a.closeAll),{open:e,close:t,openAll:i,closeAll:n,parent:a}},C=(e,t,a)=>{const i=(...e)=>O(i,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(i,T),i[y]=e,i[x]=t,i[w]=a,i},O=(e,t)=>{if(e.level<=0||!t)return e[w]?"":t;let a=e[x];if(void 0===a)return t;const{openAll:i,closeAll:n}=a;if(t.includes(""))for(;void 0!==a;)t=v(t,a.close,a.open),a=a.parent;const r=t.indexOf("\n");return-1!==r&&(t=function(e,t,a,i){let n=0,r="";do{const s="\r"===e[i-1];r+=e.slice(n,s?i-1:i)+t+(s?"\r\n":"\n")+a,n=i+1,i=e.indexOf("\n",n)}while(-1!==i);return r+=e.slice(n),r}(t,n,i,r)),i+t+n};Object.defineProperties(S.prototype,k);const P=S(),R=(S({level:b?b.level:0}),P)},6002:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t)=>i(e,t,!0)},6052:e=>{var t,a,i=Function.prototype,n=Object.prototype,r=i.toString,s=n.hasOwnProperty,o=r.call(Object),c=n.toString,p=(t=Object.getPrototypeOf,a=Object,function(e){return t(a(e))});e.exports=function(e){if(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=c.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=p(e);if(null===t)return!0;var a=s.call(t,"constructor")&&t.constructor;return"function"==typeof a&&a instanceof a&&r.call(a)==o}},6196:(e,t,a)=>{const i=a(2613),n=a(6928),r=a(9896);let s;try{s=a(9632)}catch(e){}const o={nosort:!0,silent:!0};let c=0;const p="win32"===process.platform,l=e=>{if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach((t=>{e[t]=e[t]||r[t],e[t+="Sync"]=e[t]||r[t]})),e.maxBusyTries=e.maxBusyTries||3,e.emfileWait=e.emfileWait||1e3,!1===e.glob&&(e.disableGlob=!0),!0!==e.disableGlob&&void 0===s)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");e.disableGlob=e.disableGlob||!1,e.glob=e.glob||o},u=(e,t,a)=>{"function"==typeof t&&(a=t,t={}),i(e,"rimraf: missing path"),i.equal(typeof e,"string","rimraf: path should be a string"),i.equal(typeof a,"function","rimraf: callback function required"),i(t,"rimraf: invalid options argument provided"),i.equal(typeof t,"object","rimraf: options should be object"),l(t);let n=0,r=null,o=0;const p=(e,i)=>e?a(e):(o=i.length,0===o?a():void i.forEach((e=>{const i=s=>{if(s){if(("EBUSY"===s.code||"ENOTEMPTY"===s.code||"EPERM"===s.code)&&n<t.maxBusyTries)return n++,setTimeout((()=>d(e,t,i)),100*n);if("EMFILE"===s.code&&c<t.emfileWait)return setTimeout((()=>d(e,t,i)),c++);"ENOENT"===s.code&&(s=null)}c=0,(e=>{r=r||e,0===--o&&a(r)})(s)};d(e,t,i)})));if(t.disableGlob||!s.hasMagic(e))return p(null,[e]);t.lstat(e,((a,i)=>{if(!a)return p(null,[e]);s(e,t.glob,p)}))},d=(e,t,a)=>{i(e),i(t),i("function"==typeof a),t.lstat(e,((i,n)=>i&&"ENOENT"===i.code?a(null):(i&&"EPERM"===i.code&&p&&f(e,t,i,a),n&&n.isDirectory()?h(e,t,i,a):void t.unlink(e,(i=>{if(i){if("ENOENT"===i.code)return a(null);if("EPERM"===i.code)return p?f(e,t,i,a):h(e,t,i,a);if("EISDIR"===i.code)return h(e,t,i,a)}return a(i)})))))},f=(e,t,a,n)=>{i(e),i(t),i("function"==typeof n),t.chmod(e,438,(i=>{i?n("ENOENT"===i.code?null:a):t.stat(e,((i,r)=>{i?n("ENOENT"===i.code?null:a):r.isDirectory()?h(e,t,a,n):t.unlink(e,n)}))}))},m=(e,t,a)=>{i(e),i(t);try{t.chmodSync(e,438)}catch(e){if("ENOENT"===e.code)return;throw a}let n;try{n=t.statSync(e)}catch(e){if("ENOENT"===e.code)return;throw a}n.isDirectory()?b(e,t,a):t.unlinkSync(e)},h=(e,t,a,n)=>{i(e),i(t),i("function"==typeof n),t.rmdir(e,(i=>{!i||"ENOTEMPTY"!==i.code&&"EEXIST"!==i.code&&"EPERM"!==i.code?i&&"ENOTDIR"===i.code?n(a):n(i):v(e,t,n)}))},v=(e,t,a)=>{i(e),i(t),i("function"==typeof a),t.readdir(e,((i,r)=>{if(i)return a(i);let s,o=r.length;if(0===o)return t.rmdir(e,a);r.forEach((i=>{u(n.join(e,i),t,(i=>{if(!s)return i?a(s=i):void(0===--o&&t.rmdir(e,a))}))}))}))},g=(e,t)=>{let a;if(l(t=t||{}),i(e,"rimraf: missing path"),i.equal(typeof e,"string","rimraf: path should be a string"),i(t,"rimraf: missing options"),i.equal(typeof t,"object","rimraf: options should be object"),t.disableGlob||!s.hasMagic(e))a=[e];else try{t.lstatSync(e),a=[e]}catch(i){a=s.sync(e,t.glob)}if(a.length)for(let e=0;e<a.length;e++){const i=a[e];let n;try{n=t.lstatSync(i)}catch(e){if("ENOENT"===e.code)return;"EPERM"===e.code&&p&&m(i,t,e)}try{n&&n.isDirectory()?b(i,t,null):t.unlinkSync(i)}catch(e){if("ENOENT"===e.code)return;if("EPERM"===e.code)return p?m(i,t,e):b(i,t,e);if("EISDIR"!==e.code)throw e;b(i,t,e)}}},b=(e,t,a)=>{i(e),i(t);try{t.rmdirSync(e)}catch(i){if("ENOENT"===i.code)return;if("ENOTDIR"===i.code)throw a;"ENOTEMPTY"!==i.code&&"EEXIST"!==i.code&&"EPERM"!==i.code||y(e,t)}},y=(e,t)=>{i(e),i(t),t.readdirSync(e).forEach((a=>g(n.join(e,a),t)));const a=p?100:1;let r=0;for(;;){let i=!0;try{const a=t.rmdirSync(e,t);return i=!1,a}finally{if(++r<a&&i)continue}}};e.exports=u,u.sync=g},6289:(e,t,a)=>{"use strict";const i=a(4635).fromCallback,n=a(627),r=["access","appendFile","chmod","chown","close","copyFile","cp","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","glob","lchmod","lchown","lutimes","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","statfs","symlink","truncate","unlink","utimes","writeFile"].filter((e=>"function"==typeof n[e]));Object.assign(t,n),r.forEach((e=>{t[e]=i(n[e])})),t.exists=function(e,t){return"function"==typeof t?n.exists(e,t):new Promise((t=>n.exists(e,t)))},t.read=function(e,t,a,i,r,s){return"function"==typeof s?n.read(e,t,a,i,r,s):new Promise(((s,o)=>{n.read(e,t,a,i,r,((e,t,a)=>{if(e)return o(e);s({bytesRead:t,buffer:a})}))}))},t.write=function(e,t,...a){return"function"==typeof a[a.length-1]?n.write(e,t,...a):new Promise(((i,r)=>{n.write(e,t,...a,((e,t,a)=>{if(e)return r(e);i({bytesWritten:t,buffer:a})}))}))},t.readv=function(e,t,...a){return"function"==typeof a[a.length-1]?n.readv(e,t,...a):new Promise(((i,r)=>{n.readv(e,t,...a,((e,t,a)=>{if(e)return r(e);i({bytesRead:t,buffers:a})}))}))},t.writev=function(e,t,...a){return"function"==typeof a[a.length-1]?n.writev(e,t,...a):new Promise(((i,r)=>{n.writev(e,t,...a,((e,t,a)=>{if(e)return r(e);i({bytesWritten:t,buffers:a})}))}))},"function"==typeof n.realpath.native?t.realpath.native=i(n.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")},6430:e=>{var t=function(e,t){Error.call(this,e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=e,t&&(this.inner=t)};(t.prototype=Object.create(Error.prototype)).constructor=t,e.exports=t},6460:(e,t,a)=>{"use strict";const i=a(6640);e.exports=(e,t,a)=>i(e,t,">",a)},6543:(e,t,a)=>{var i=a(3340),n={"{":"}","(":")","[":"]"},r=function(e){if("!"===e[0])return!0;for(var t=0,a=-2,i=-2,r=-2,s=-2,o=-2;t<e.length;){if("*"===e[t])return!0;if("?"===e[t+1]&&/[\].+)]/.test(e[t]))return!0;if(-1!==i&&"["===e[t]&&"]"!==e[t+1]&&(i<t&&(i=e.indexOf("]",t)),i>t)){if(-1===o||o>i)return!0;if(-1===(o=e.indexOf("\\",t))||o>i)return!0}if(-1!==r&&"{"===e[t]&&"}"!==e[t+1]&&(r=e.indexOf("}",t))>t&&(-1===(o=e.indexOf("\\",t))||o>r))return!0;if(-1!==s&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(s=e.indexOf(")",t))>t&&(-1===(o=e.indexOf("\\",t))||o>s))return!0;if(-1!==a&&"("===e[t]&&"|"!==e[t+1]&&(a<t&&(a=e.indexOf("|",t)),-1!==a&&")"!==e[a+1]&&(s=e.indexOf(")",a))>a&&(-1===(o=e.indexOf("\\",a))||o>s)))return!0;if("\\"===e[t]){var c=e[t+1];t+=2;var p=n[c];if(p){var l=e.indexOf(p,t);-1!==l&&(t=l+1)}if("!"===e[t])return!0}else t++}return!1},s=function(e){if("!"===e[0])return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if("\\"===e[t]){var a=e[t+1];t+=2;var i=n[a];if(i){var r=e.indexOf(i,t);-1!==r&&(t=r+1)}if("!"===e[t])return!0}else t++}return!1};e.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(i(e))return!0;var a=r;return t&&!1===t.strict&&(a=s),a(e)}},6608:(e,t,a)=>{var i=a(181),n=i.Buffer;function r(e,t){for(var a in e)t[a]=e[a]}function s(e,t,a){return n(e,t,a)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=i:(r(i,t),t.Buffer=s),s.prototype=Object.create(n.prototype),r(n,s),s.from=function(e,t,a){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,a)},s.alloc=function(e,t,a){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof a?i.fill(t,a):i.fill(t):i.fill(0),i},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},6640:(e,t,a)=>{"use strict";const i=a(2771),n=a(9003),{ANY:r}=n,s=a(2326),o=a(4163),c=a(7743),p=a(8200),l=a(3765),u=a(236);e.exports=(e,t,a,d)=>{let f,m,h,v,g;switch(e=new i(e,d),t=new s(t,d),a){case">":f=c,m=l,h=p,v=">",g=">=";break;case"<":f=p,m=u,h=c,v="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(e,t,d))return!1;for(let a=0;a<t.set.length;++a){const i=t.set[a];let s=null,o=null;if(i.forEach((e=>{e.semver===r&&(e=new n(">=0.0.0")),s=s||e,o=o||e,f(e.semver,s.semver,d)?s=e:h(e.semver,o.semver,d)&&(o=e)})),s.operator===v||s.operator===g)return!1;if((!o.operator||o.operator===v)&&m(e,o.semver))return!1;if(o.operator===g&&h(e,o.semver))return!1}return!0}},6678:(e,t,a)=>{"use strict";const i=a(2203).PassThrough,n=Array.prototype.slice;function r(e,t){if(Array.isArray(e))for(let a=0,i=e.length;a<i;a++)e[a]=r(e[a],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(i(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}e.exports=function(){const e=[],t=n.call(arguments);let a=!1,s=t[t.length-1];s&&!Array.isArray(s)&&null==s.pipe?t.pop():s={};const o=!1!==s.end,c=!0===s.pipeError;null==s.objectMode&&(s.objectMode=!0),null==s.highWaterMark&&(s.highWaterMark=65536);const p=i(s);function l(){for(let t=0,a=arguments.length;t<a;t++)e.push(r(arguments[t],s));return u(),this}function u(){if(a)return;a=!0;let t=e.shift();if(!t)return void process.nextTick(d);Array.isArray(t)||(t=[t]);let i=t.length+1;function n(){--i>0||(a=!1,u())}function r(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),c&&e.removeListener("error",a),n()}function a(e){p.emit("error",e)}if(e._readableState.endEmitted)return n();e.on("merge2UnpipeEnd",t),e.on("end",t),c&&e.on("error",a),e.pipe(p,{end:!1}),e.resume()}for(let e=0;e<t.length;e++)r(t[e]);n()}function d(){a=!1,p.emit("queueDrain"),o&&p.end()}return p.setMaxListeners(0),p.add=l,p.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")})),t.length&&l.apply(null,t),p}},6704:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,n=a(7590);n.outputJson=i(a(5338)),n.outputJsonSync=a(5740),n.outputJSON=n.outputJson,n.outputJSONSync=n.outputJsonSync,n.writeJSON=n.writeJson,n.writeJSONSync=n.writeJsonSync,n.readJSON=n.readJson,n.readJSONSync=n.readJsonSync,e.exports=n},6757:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(3339);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new i.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError((t=>{!function(e,t){e(t)}(e,t)})),this._reader.onEntry((e=>{this._storage.push(e)})),this._reader.onEnd((()=>{!function(e,t){e(null,t)}(e,this._storage)})),this._reader.read()}}},6759:(e,t,a)=>{"use strict";const i=a(1289);e.exports=(e,t)=>{const a=i(e,t);return a?a.version:null}},6782:e=>{var t=Object.prototype.toString;e.exports=function(e){return!0===e||!1===e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Boolean]"==t.call(e)}},6927:(e,t,a)=>{"use strict";const i=a(6928),n="win32"===process.platform,{REGEX_BACKSLASH:r,REGEX_REMOVE_BACKSLASH:s,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:c}=a(4751);t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>o.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(c,"\\$1"),t.toPosixSlashes=e=>e.replace(r,"/"),t.removeBackslashes=e=>e.replace(s,(e=>"\\"===e?"":e)),t.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===n||"\\"===i.sep,t.escapeLast=(e,a,i)=>{const n=e.lastIndexOf(a,i);return-1===n?e:"\\"===e[n-1]?t.escapeLast(e,a,n-1):`${e.slice(0,n)}\\${e.slice(n)}`},t.removePrefix=(e,t={})=>{let a=e;return a.startsWith("./")&&(a=a.slice(2),t.prefix="./"),a},t.wrapOutput=(e,t={},a={})=>{let i=`${a.contains?"":"^"}(?:${e})${a.contains?"":"$"}`;return!0===t.negated&&(i=`(?:^(?!${i}).*$)`),i}},6928:e=>{"use strict";e.exports=require("path")},6982:e=>{"use strict";e.exports=require("crypto")},6999:(e,t,a)=>{"use strict";const{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:r}=a(229),s=a(4159),o=(t=e.exports={}).re=[],c=t.safeRe=[],p=t.src=[],l=t.safeSrc=[],u=t.t={};let d=0;const f="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",r],[f,n]],h=(e,t,a)=>{const i=(e=>{for(const[t,a]of m)e=e.split(`${t}*`).join(`${t}{0,${a}}`).split(`${t}+`).join(`${t}{1,${a}}`);return e})(t),n=d++;s(e,n,t),u[e]=n,p[n]=t,l[n]=i,o[n]=new RegExp(t,a?"g":void 0),c[n]=new RegExp(i,a?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),h("MAINVERSION",`(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${p[u.NONNUMERICIDENTIFIER]}|${p[u.NUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${p[u.NONNUMERICIDENTIFIER]}|${p[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASE",`(?:-(${p[u.PRERELEASEIDENTIFIER]}(?:\\.${p[u.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${p[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${p[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${f}+`),h("BUILD",`(?:\\+(${p[u.BUILDIDENTIFIER]}(?:\\.${p[u.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${p[u.MAINVERSION]}${p[u.PRERELEASE]}?${p[u.BUILD]}?`),h("FULL",`^${p[u.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${p[u.MAINVERSIONLOOSE]}${p[u.PRERELEASELOOSE]}?${p[u.BUILD]}?`),h("LOOSE",`^${p[u.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${p[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${p[u.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:${p[u.PRERELEASE]})?${p[u.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:${p[u.PRERELEASELOOSE]})?${p[u.BUILD]}?)?)?`),h("XRANGE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`),h("COERCE",`${p[u.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",p[u.COERCEPLAIN]+`(?:${p[u.PRERELEASE]})?`+`(?:${p[u.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",p[u.COERCE],!0),h("COERCERTLFULL",p[u.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${p[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${p[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${p[u.LONECARET]}${p[u.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${p[u.LONECARET]}${p[u.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${p[u.GTLT]}\\s*(${p[u.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]}|${p[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${p[u.XRANGEPLAIN]})\\s+-\\s+(${p[u.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${p[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${p[u.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},7014:(e,t,a)=>{const i=a(6430),n=a(9387),r=a(7147),s=a(7661),o=a(3742),c=a(9572),p=a(5582),l=a(1525),{KeyObject:u,createSecretKey:d,createPublicKey:f}=a(6982),m=["RS256","RS384","RS512"],h=["ES256","ES384","ES512"],v=["RS256","RS384","RS512"],g=["HS256","HS384","HS512"];p&&(m.splice(m.length,0,"PS256","PS384","PS512"),v.splice(v.length,0,"PS256","PS384","PS512")),e.exports=function(e,t,a,p){let b;if("function"!=typeof a||p||(p=a,a={}),a||(a={}),a=Object.assign({},a),b=p||function(e,t){if(e)throw e;return t},a.clockTimestamp&&"number"!=typeof a.clockTimestamp)return b(new i("clockTimestamp must be a number"));if(void 0!==a.nonce&&("string"!=typeof a.nonce||""===a.nonce.trim()))return b(new i("nonce must be a non-empty string"));if(void 0!==a.allowInvalidAsymmetricKeyTypes&&"boolean"!=typeof a.allowInvalidAsymmetricKeyTypes)return b(new i("allowInvalidAsymmetricKeyTypes must be a boolean"));const y=a.clockTimestamp||Math.floor(Date.now()/1e3);if(!e)return b(new i("jwt must be provided"));if("string"!=typeof e)return b(new i("jwt must be a string"));const x=e.split(".");if(3!==x.length)return b(new i("jwt malformed"));let w;try{w=s(e,{complete:!0})}catch(e){return b(e)}if(!w)return b(new i("invalid token"));const _=w.header;let k;if("function"==typeof t){if(!p)return b(new i("verify must be called asynchronous if secret or public key is provided as a callback"));k=t}else k=function(e,a){return a(null,t)};return k(_,(function(t,s){if(t)return b(new i("error in secret or public key callback: "+t.message));const p=""!==x[2].trim();if(!p&&s)return b(new i("jwt signature is required"));if(p&&!s)return b(new i("secret or public key must be provided"));if(!p&&!a.algorithms)return b(new i('please specify "none" in "algorithms" to verify unsigned tokens'));if(null!=s&&!(s instanceof u))try{s=f(s)}catch(e){try{s=d("string"==typeof s?Buffer.from(s):s)}catch(e){return b(new i("secretOrPublicKey is not valid key material"))}}if(a.algorithms||("secret"===s.type?a.algorithms=g:["rsa","rsa-pss"].includes(s.asymmetricKeyType)?a.algorithms=v:"ec"===s.asymmetricKeyType?a.algorithms=h:a.algorithms=m),-1===a.algorithms.indexOf(w.header.alg))return b(new i("invalid algorithm"));if(_.alg.startsWith("HS")&&"secret"!==s.type)return b(new i(`secretOrPublicKey must be a symmetric key when using ${_.alg}`));if(/^(?:RS|PS|ES)/.test(_.alg)&&"public"!==s.type)return b(new i(`secretOrPublicKey must be an asymmetric key when using ${_.alg}`));if(!a.allowInvalidAsymmetricKeyTypes)try{c(_.alg,s)}catch(e){return b(e)}let k;try{k=l.verify(e,w.header.alg,s)}catch(e){return b(e)}if(!k)return b(new i("invalid signature"));const S=w.payload;if(void 0!==S.nbf&&!a.ignoreNotBefore){if("number"!=typeof S.nbf)return b(new i("invalid nbf value"));if(S.nbf>y+(a.clockTolerance||0))return b(new n("jwt not active",new Date(1e3*S.nbf)))}if(void 0!==S.exp&&!a.ignoreExpiration){if("number"!=typeof S.exp)return b(new i("invalid exp value"));if(y>=S.exp+(a.clockTolerance||0))return b(new r("jwt expired",new Date(1e3*S.exp)))}if(a.audience){const e=Array.isArray(a.audience)?a.audience:[a.audience];if(!(Array.isArray(S.aud)?S.aud:[S.aud]).some((function(t){return e.some((function(e){return e instanceof RegExp?e.test(t):e===t}))})))return b(new i("jwt audience invalid. expected: "+e.join(" or ")))}if(a.issuer&&("string"==typeof a.issuer&&S.iss!==a.issuer||Array.isArray(a.issuer)&&-1===a.issuer.indexOf(S.iss)))return b(new i("jwt issuer invalid. expected: "+a.issuer));if(a.subject&&S.sub!==a.subject)return b(new i("jwt subject invalid. expected: "+a.subject));if(a.jwtid&&S.jti!==a.jwtid)return b(new i("jwt jwtid invalid. expected: "+a.jwtid));if(a.nonce&&S.nonce!==a.nonce)return b(new i("jwt nonce invalid. expected: "+a.nonce));if(a.maxAge){if("number"!=typeof S.iat)return b(new i("iat required when maxAge is specified"));const e=o(a.maxAge,S.iat);if(void 0===e)return b(new i('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(y>=e+(a.clockTolerance||0))return b(new r("maxAge exceeded",new Date(1e3*e)))}if(!0===a.complete){const e=w.signature;return b(null,{header:_,payload:S,signature:e})}return b(null,S)}))}},7116:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;const i=a(6678);function n(e){e.forEach((e=>e.emit("close")))}t.merge=function(e){const t=i(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>n(e))),t.once("end",(()=>n(e))),t}},7147:(e,t,a)=>{var i=a(6430),n=function(e,t){i.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};(n.prototype=Object.create(i.prototype)).constructor=n,e.exports=n},7148:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t)=>new i(e,t).patch},7167:(e,t,a)=>{"use strict";const i=a(9896),n=a(6928),{promisify:r}=a(9023),s=a(9571),{isWindows:o,isLinux:c,EMPTY_FN:p,EMPTY_STR:l,KEY_LISTENERS:u,KEY_ERR:d,KEY_RAW:f,HANDLER_KEYS:m,EV_CHANGE:h,EV_ADD:v,EV_ADD_DIR:g,EV_ERROR:b,STR_DATA:y,STR_END:x,BRACE_START:w,STAR:_}=a(416),k=r(i.open),S=r(i.stat),E=r(i.lstat),j=r(i.close),T=r(i.realpath),A={lstat:E,stat:S},C=(e,t)=>{e instanceof Set?e.forEach(t):t(e)},O=(e,t,a)=>{let i=e[t];i instanceof Set||(e[t]=i=new Set([i])),i.add(a)},P=(e,t,a)=>{const i=e[t];i instanceof Set?i.delete(a):i===a&&delete e[t]},R=e=>e instanceof Set?0===e.size:!e,I=new Map;function N(e,t,a,r,s){const o=(t,i)=>{a(e),s(t,i,{watchedPath:e}),i&&e!==i&&L(n.resolve(e,i),u,n.join(e,i))};try{return i.watch(e,t,o)}catch(e){r(e)}}const L=(e,t,a,i,n)=>{const r=I.get(e);r&&C(r[t],(e=>{e(a,i,n)}))},$=new Map;e.exports=class{constructor(e){this.fsw=e,this._boundHandleError=t=>e._handleError(t)}_watchWithNodeFs(e,t){const a=this.fsw.options,r=n.dirname(e),c=n.basename(e);this.fsw._getWatchedDir(r).add(c);const l=n.resolve(e),v={persistent:a.persistent};let g;return t||(t=p),a.usePolling?(v.interval=a.enableBinaryInterval&&s(c)?a.binaryInterval:a.interval,g=((e,t,a,n)=>{const{listener:r,rawEmitter:s}=n;let o=$.get(t),c=new Set,p=new Set;const l=o&&o.options;return l&&(l.persistent<a.persistent||l.interval>a.interval)&&(c=o.listeners,p=o.rawEmitters,i.unwatchFile(t),o=void 0),o?(O(o,u,r),O(o,f,s)):(o={listeners:r,rawEmitters:s,options:a,watcher:i.watchFile(t,a,((a,i)=>{C(o.rawEmitters,(e=>{e(h,t,{curr:a,prev:i})}));const n=a.mtimeMs;(a.size!==i.size||n>i.mtimeMs||0===n)&&C(o.listeners,(t=>t(e,a)))}))},$.set(t,o)),()=>{P(o,u,r),P(o,f,s),R(o.listeners)&&($.delete(t),i.unwatchFile(t),o.options=o.watcher=void 0,Object.freeze(o))}})(e,l,v,{listener:t,rawEmitter:this.fsw._emitRaw})):g=((e,t,a,i)=>{const{listener:n,errHandler:r,rawEmitter:s}=i;let c,p=I.get(t);if(!a.persistent)return c=N(e,a,n,r,s),c.close.bind(c);if(p)O(p,u,n),O(p,d,r),O(p,f,s);else{if(c=N(e,a,L.bind(null,t,u),r,L.bind(null,t,f)),!c)return;c.on(b,(async a=>{const i=L.bind(null,t,d);if(p.watcherUnusable=!0,o&&"EPERM"===a.code)try{const t=await k(e,"r");await j(t),i(a)}catch(e){}else i(a)})),p={listeners:n,errHandlers:r,rawEmitters:s,watcher:c},I.set(t,p)}return()=>{P(p,u,n),P(p,d,r),P(p,f,s),R(p.listeners)&&(p.watcher.close(),I.delete(t),m.forEach((e=>t=>{const a=e[t];a instanceof Set?a.clear():delete e[t]})(p)),p.watcher=void 0,Object.freeze(p))}})(e,l,v,{listener:t,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),g}_handleFile(e,t,a){if(this.fsw.closed)return;const i=n.dirname(e),r=n.basename(e),s=this.fsw._getWatchedDir(i);let o=t;if(s.has(r))return;const p=async(t,a)=>{if(this.fsw._throttle("watch",e,5))if(a&&0!==a.mtimeMs){if(s.has(r)){const t=a.atimeMs,i=a.mtimeMs;(!t||t<=i||i!==o.mtimeMs)&&this.fsw._emit(h,e,a),o=a}}else try{const a=await S(e);if(this.fsw.closed)return;const i=a.atimeMs,n=a.mtimeMs;(!i||i<=n||n!==o.mtimeMs)&&this.fsw._emit(h,e,a),c&&o.ino!==a.ino?(this.fsw._closeFile(t),o=a,this.fsw._addPathCloser(t,this._watchWithNodeFs(e,p))):o=a}catch(e){this.fsw._remove(i,r)}},l=this._watchWithNodeFs(e,p);if((!a||!this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(e)){if(!this.fsw._throttle(v,e,0))return;this.fsw._emit(v,e,t)}return l}async _handleSymlink(e,t,a,i){if(this.fsw.closed)return;const n=e.fullPath,r=this.fsw._getWatchedDir(t);if(!this.fsw.options.followSymlinks){let t;this.fsw._incrReadyCount();try{t=await T(a)}catch(e){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;return r.has(i)?this.fsw._symlinkPaths.get(n)!==t&&(this.fsw._symlinkPaths.set(n,t),this.fsw._emit(h,a,e.stats)):(r.add(i),this.fsw._symlinkPaths.set(n,t),this.fsw._emit(v,a,e.stats)),this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(n))return!0;this.fsw._symlinkPaths.set(n,!0)}_handleRead(e,t,a,i,r,s,o){if(e=n.join(e,l),!a.hasGlob&&!(o=this.fsw._throttle("readdir",e,1e3)))return;const c=this.fsw._getWatchedDir(a.path),p=new Set;let u=this.fsw._readdirp(e,{fileFilter:e=>a.filterPath(e),directoryFilter:e=>a.filterDir(e),depth:0}).on(y,(async o=>{if(this.fsw.closed)return void(u=void 0);const l=o.path;let d=n.join(e,l);p.add(l),o.stats.isSymbolicLink()&&await this._handleSymlink(o,e,d,l)||(this.fsw.closed?u=void 0:l!==i&&(i||c.has(l))||(this.fsw._incrReadyCount(),d=n.join(r,n.relative(r,d)),this._addToNodeFs(d,t,a,s+1)))})).on(b,this._boundHandleError);return new Promise((t=>u.once(x,(()=>{if(this.fsw.closed)return void(u=void 0);const l=!!o&&o.clear();t(),c.getChildren().filter((t=>t!==e&&!p.has(t)&&(!a.hasGlob||a.filterPath({fullPath:n.resolve(e,t)})))).forEach((t=>{this.fsw._remove(e,t)})),u=void 0,l&&this._handleRead(e,!1,a,i,r,s,o)}))))}async _handleDir(e,t,a,i,r,s,o){const c=this.fsw._getWatchedDir(n.dirname(e)),p=c.has(n.basename(e));let l,u;a&&this.fsw.options.ignoreInitial||r||p||s.hasGlob&&!s.globFilter(e)||this.fsw._emit(g,e,t),c.add(n.basename(e)),this.fsw._getWatchedDir(e);const d=this.fsw.options.depth;if((null==d||i<=d)&&!this.fsw._symlinkPaths.has(o)){if(!r&&(await this._handleRead(e,a,s,r,e,i,l),this.fsw.closed))return;u=this._watchWithNodeFs(e,((t,a)=>{a&&0===a.mtimeMs||this._handleRead(t,!1,s,r,e,i,l)}))}return u}async _addToNodeFs(e,t,a,i,r){const s=this.fsw._emitReady;if(this.fsw._isIgnored(e)||this.fsw.closed)return s(),!1;const o=this.fsw._getWatchHelpers(e,i);!o.hasGlob&&a&&(o.hasGlob=a.hasGlob,o.globFilter=a.globFilter,o.filterPath=e=>a.filterPath(e),o.filterDir=e=>a.filterDir(e));try{const a=await A[o.statMethod](o.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(o.watchPath,a))return s(),!1;const c=this.fsw.options.followSymlinks&&!e.includes(_)&&!e.includes(w);let p;if(a.isDirectory()){const s=n.resolve(e),l=c?await T(e):e;if(this.fsw.closed)return;if(p=await this._handleDir(o.watchPath,a,t,i,r,o,l),this.fsw.closed)return;s!==l&&void 0!==l&&this.fsw._symlinkPaths.set(s,l)}else if(a.isSymbolicLink()){const r=c?await T(e):e;if(this.fsw.closed)return;const s=n.dirname(o.watchPath);if(this.fsw._getWatchedDir(s).add(o.watchPath),this.fsw._emit(v,o.watchPath,a),p=await this._handleDir(s,a,t,i,e,o,r),this.fsw.closed)return;void 0!==r&&this.fsw._symlinkPaths.set(n.resolve(e),r)}else p=this._handleFile(o.watchPath,a,t);return s(),this.fsw._addPathCloser(e,p),!1}catch(t){if(this.fsw._handleError(t))return s(),e}}}},7219:(e,t,a)=>{function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.setopts=function(e,t,a){if(a||(a={}),a.matchBase&&-1===t.indexOf("/")){if(a.noglobstar)throw new Error("base matching requires globstar");t="**/"+t}e.silent=!!a.silent,e.pattern=t,e.strict=!1!==a.strict,e.realpath=!!a.realpath,e.realpathCache=a.realpathCache||Object.create(null),e.follow=!!a.follow,e.dot=!!a.dot,e.mark=!!a.mark,e.nodir=!!a.nodir,e.nodir&&(e.mark=!0),e.sync=!!a.sync,e.nounique=!!a.nounique,e.nonull=!!a.nonull,e.nosort=!!a.nosort,e.nocase=!!a.nocase,e.stat=!!a.stat,e.noprocess=!!a.noprocess,e.absolute=!!a.absolute,e.fs=a.fs||n,e.maxLength=a.maxLength||1/0,e.cache=a.cache||Object.create(null),e.statCache=a.statCache||Object.create(null),e.symlinks=a.symlinks||Object.create(null),function(e,t){e.ignore=t.ignore||[],Array.isArray(e.ignore)||(e.ignore=[e.ignore]),e.ignore.length&&(e.ignore=e.ignore.map(l))}(e,a),e.changedCwd=!1;var s=process.cwd();i(a,"cwd")?(e.cwd=r.resolve(a.cwd),e.changedCwd=e.cwd!==s):e.cwd=s,e.root=a.root||r.resolve(e.cwd,"/"),e.root=r.resolve(e.root),"win32"===process.platform&&(e.root=e.root.replace(/\\/g,"/")),e.cwdAbs=o(e.cwd)?e.cwd:u(e,e.cwd),"win32"===process.platform&&(e.cwdAbs=e.cwdAbs.replace(/\\/g,"/")),e.nomount=!!a.nomount,a.nonegate=!0,a.nocomment=!0,a.allowWindowsEscape=!1,e.minimatch=new c(t,a),e.options=e.minimatch.options},t.ownProp=i,t.makeAbs=u,t.finish=function(e){for(var t=e.nounique,a=t?[]:Object.create(null),i=0,n=e.matches.length;i<n;i++){var r=e.matches[i];if(r&&0!==Object.keys(r).length){var s=Object.keys(r);t?a.push.apply(a,s):s.forEach((function(e){a[e]=!0}))}else if(e.nonull){var o=e.minimatch.globSet[i];t?a.push(o):a[o]=!0}}if(t||(a=Object.keys(a)),e.nosort||(a=a.sort(p)),e.mark){for(i=0;i<a.length;i++)a[i]=e._mark(a[i]);e.nodir&&(a=a.filter((function(t){var a=!/\/$/.test(t),i=e.cache[t]||e.cache[u(e,t)];return a&&i&&(a="DIR"!==i&&!Array.isArray(i)),a})))}e.ignore.length&&(a=a.filter((function(t){return!d(e,t)}))),e.found=a},t.mark=function(e,t){var a=u(e,t),i=e.cache[a],n=t;if(i){var r="DIR"===i||Array.isArray(i),s="/"===t.slice(-1);if(r&&!s?n+="/":!r&&s&&(n=n.slice(0,-1)),n!==t){var o=u(e,n);e.statCache[o]=e.statCache[a],e.cache[o]=e.cache[a]}}return n},t.isIgnored=d,t.childrenIgnored=function(e,t){return!!e.ignore.length&&e.ignore.some((function(e){return!(!e.gmatcher||!e.gmatcher.match(t))}))};var n=a(9896),r=a(6928),s=a(8782),o=a(1806),c=s.Minimatch;function p(e,t){return e.localeCompare(t,"en")}function l(e){var t=null;if("/**"===e.slice(-3)){var a=e.replace(/(\/\*\*)+$/,"");t=new c(a,{dot:!0})}return{matcher:new c(e,{dot:!0}),gmatcher:t}}function u(e,t){var a=t;return a="/"===t.charAt(0)?r.join(e.root,t):o(t)||""===t?t:e.changedCwd?r.resolve(e.cwd,t):r.resolve(t),"win32"===process.platform&&(a=a.replace(/\\/g,"/")),a}function d(e,t){return!!e.ignore.length&&e.ignore.some((function(e){return e.matcher.match(t)||!(!e.gmatcher||!e.gmatcher.match(t))}))}},7238:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t,a)=>0!==i(e,t,a)},7256:(e,t,a)=>{"use strict";const i=a(4104);e.exports=(e,t)=>e.sort(((e,a)=>i(e,a,t)))},7265:(e,t,a)=>{var i=a(181).Buffer;e.exports=function(e){return"string"==typeof e?e:"number"==typeof e||i.isBuffer(e)?e.toString():JSON.stringify(e)}},7361:(e,t,a)=>{"use strict";const i=a(9896),{Readable:n}=a(2203),r=a(6928),{promisify:s}=a(9023),o=a(5562),c=s(i.readdir),p=s(i.stat),l=s(i.lstat),u=s(i.realpath),d="READDIRP_RECURSIVE_ERROR",f=new Set(["ENOENT","EPERM","EACCES","ELOOP",d]),m="files",h="directories",v="files_directories",g="all",b=[m,h,v,g],[y,x]=process.versions.node.split(".").slice(0,2).map((e=>Number.parseInt(e,10))),w="win32"===process.platform&&(y>10||10===y&&x>=5),_=e=>{if(void 0!==e){if("function"==typeof e)return e;if("string"==typeof e){const t=o(e.trim());return e=>t(e.basename)}if(Array.isArray(e)){const t=[],a=[];for(const i of e){const e=i.trim();"!"===e.charAt(0)?a.push(o(e.slice(1))):t.push(o(e))}return a.length>0?t.length>0?e=>t.some((t=>t(e.basename)))&&!a.some((t=>t(e.basename))):e=>!a.some((t=>t(e.basename))):e=>t.some((t=>t(e.basename)))}}};class k extends n{static get defaultOptions(){return{root:".",fileFilter:e=>!0,directoryFilter:e=>!0,type:m,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(e={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:e.highWaterMark||4096});const t={...k.defaultOptions,...e},{root:a,type:n}=t;this._fileFilter=_(t.fileFilter),this._directoryFilter=_(t.directoryFilter);const s=t.lstat?l:p;this._stat=w?e=>s(e,{bigint:!0}):s,this._maxDepth=t.depth,this._wantsDir=[h,v,g].includes(n),this._wantsFile=[m,v,g].includes(n),this._wantsEverything=n===g,this._root=r.resolve(a),this._isDirent="Dirent"in i&&!t.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(a,1)],this.reading=!1,this.parent=void 0}async _read(e){if(!this.reading){this.reading=!0;try{for(;!this.destroyed&&e>0;){const{path:t,depth:a,files:i=[]}=this.parent||{};if(i.length>0){const n=i.splice(0,e).map((e=>this._formatEntry(e,t)));for(const t of await Promise.all(n)){if(this.destroyed)return;const i=await this._getEntryType(t);"directory"===i&&this._directoryFilter(t)?(a<=this._maxDepth&&this.parents.push(this._exploreDir(t.fullPath,a+1)),this._wantsDir&&(this.push(t),e--)):("file"===i||this._includeAsFile(t))&&this._fileFilter(t)&&this._wantsFile&&(this.push(t),e--)}}else{const e=this.parents.pop();if(!e){this.push(null);break}if(this.parent=await e,this.destroyed)return}}}catch(e){this.destroy(e)}finally{this.reading=!1}}}async _exploreDir(e,t){let a;try{a=await c(e,this._rdOptions)}catch(e){this._onError(e)}return{files:a,depth:t,path:e}}async _formatEntry(e,t){let a;try{const i=this._isDirent?e.name:e,n=r.resolve(r.join(t,i));a={path:r.relative(this._root,n),fullPath:n,basename:i},a[this._statsProp]=this._isDirent?e:await this._stat(n)}catch(e){this._onError(e)}return a}_onError(e){var t;t=e,f.has(t.code)&&!this.destroyed?this.emit("warn",e):this.destroy(e)}async _getEntryType(e){const t=e&&e[this._statsProp];if(t){if(t.isFile())return"file";if(t.isDirectory())return"directory";if(t&&t.isSymbolicLink()){const t=e.fullPath;try{const e=await u(t),a=await l(e);if(a.isFile())return"file";if(a.isDirectory()){const a=e.length;if(t.startsWith(e)&&t.substr(a,1)===r.sep){const a=new Error(`Circular symlink detected: "${t}" points to "${e}"`);return a.code=d,this._onError(a)}return"directory"}}catch(e){this._onError(e)}}}}_includeAsFile(e){const t=e&&e[this._statsProp];return t&&this._wantsEverything&&!t.isDirectory()}}const S=(e,t={})=>{let a=t.entryType||t.type;if("both"===a&&(a=v),a&&(t.type=a),!e)throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");if("string"!=typeof e)throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");if(a&&!b.includes(a))throw new Error(`readdirp: Invalid type passed. Use one of ${b.join(", ")}`);return t.root=e,new k(t)};S.promise=(e,t={})=>new Promise(((a,i)=>{const n=[];S(e,t).on("data",(e=>n.push(e))).on("end",(()=>a(n))).on("error",(e=>i(e)))})),S.ReaddirpStream=k,S.default=S,e.exports=S},7416:(e,t,a)=>{const i=a(4434).EventEmitter,n=a(5317),r=a(6928),s=a(9896),o=a(932),{Argument:c,humanReadableArgName:p}=a(2670),{CommanderError:l}=a(723),{Help:u}=a(2966),{Option:d,splitOptionFlags:f,DualOptions:m}=a(5156),{suggestSimilar:h}=a(618);class v extends i{constructor(e){super(),this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this._args=[],this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=e||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:e=>o.stdout.write(e),writeErr:e=>o.stderr.write(e),getOutHelpWidth:()=>o.stdout.isTTY?o.stdout.columns:void 0,getErrHelpWidth:()=>o.stderr.isTTY?o.stderr.columns:void 0,outputError:(e,t)=>t(e)},this._hidden=!1,this._hasHelpOption=!0,this._helpFlags="-h, --help",this._helpDescription="display help for command",this._helpShortFlag="-h",this._helpLongFlag="--help",this._addImplicitHelpCommand=void 0,this._helpCommandName="help",this._helpCommandnameAndArgs="help [command]",this._helpCommandDescription="display help for command",this._helpConfiguration={}}copyInheritedSettings(e){return this._outputConfiguration=e._outputConfiguration,this._hasHelpOption=e._hasHelpOption,this._helpFlags=e._helpFlags,this._helpDescription=e._helpDescription,this._helpShortFlag=e._helpShortFlag,this._helpLongFlag=e._helpLongFlag,this._helpCommandName=e._helpCommandName,this._helpCommandnameAndArgs=e._helpCommandnameAndArgs,this._helpCommandDescription=e._helpCommandDescription,this._helpConfiguration=e._helpConfiguration,this._exitCallback=e._exitCallback,this._storeOptionsAsProperties=e._storeOptionsAsProperties,this._combineFlagAndOptionalValue=e._combineFlagAndOptionalValue,this._allowExcessArguments=e._allowExcessArguments,this._enablePositionalOptions=e._enablePositionalOptions,this._showHelpAfterError=e._showHelpAfterError,this._showSuggestionAfterError=e._showSuggestionAfterError,this}command(e,t,a){let i=t,n=a;"object"==typeof i&&null!==i&&(n=i,i=null),n=n||{};const[,r,s]=e.match(/([^ ]+) *(.*)/),o=this.createCommand(r);return i&&(o.description(i),o._executableHandler=!0),n.isDefault&&(this._defaultCommandName=o._name),o._hidden=!(!n.noHelp&&!n.hidden),o._executableFile=n.executableFile||null,s&&o.arguments(s),this.commands.push(o),o.parent=this,o.copyInheritedSettings(this),i?this:o}createCommand(e){return new v(e)}createHelp(){return Object.assign(new u,this.configureHelp())}configureHelp(e){return void 0===e?this._helpConfiguration:(this._helpConfiguration=e,this)}configureOutput(e){return void 0===e?this._outputConfiguration:(Object.assign(this._outputConfiguration,e),this)}showHelpAfterError(e=!0){return"string"!=typeof e&&(e=!!e),this._showHelpAfterError=e,this}showSuggestionAfterError(e=!0){return this._showSuggestionAfterError=!!e,this}addCommand(e,t){if(!e._name)throw new Error("Command passed to .addCommand() must have a name\n- specify the name in Command constructor or using .name()");return(t=t||{}).isDefault&&(this._defaultCommandName=e._name),(t.noHelp||t.hidden)&&(e._hidden=!0),this.commands.push(e),e.parent=this,this}createArgument(e,t){return new c(e,t)}argument(e,t,a,i){const n=this.createArgument(e,t);return"function"==typeof a?n.default(i).argParser(a):n.default(a),this.addArgument(n),this}arguments(e){return e.split(/ +/).forEach((e=>{this.argument(e)})),this}addArgument(e){const t=this._args.slice(-1)[0];if(t&&t.variadic)throw new Error(`only the last argument can be variadic '${t.name()}'`);if(e.required&&void 0!==e.defaultValue&&void 0===e.parseArg)throw new Error(`a default value for a required argument is never used: '${e.name()}'`);return this._args.push(e),this}addHelpCommand(e,t){return!1===e?this._addImplicitHelpCommand=!1:(this._addImplicitHelpCommand=!0,"string"==typeof e&&(this._helpCommandName=e.split(" ")[0],this._helpCommandnameAndArgs=e),this._helpCommandDescription=t||this._helpCommandDescription),this}_hasImplicitHelpCommand(){return void 0===this._addImplicitHelpCommand?this.commands.length&&!this._actionHandler&&!this._findCommand("help"):this._addImplicitHelpCommand}hook(e,t){const a=["preSubcommand","preAction","postAction"];if(!a.includes(e))throw new Error(`Unexpected value for event passed to hook : '${e}'.\nExpecting one of '${a.join("', '")}'`);return this._lifeCycleHooks[e]?this._lifeCycleHooks[e].push(t):this._lifeCycleHooks[e]=[t],this}exitOverride(e){return this._exitCallback=e||(e=>{if("commander.executeSubCommandAsync"!==e.code)throw e}),this}_exit(e,t,a){this._exitCallback&&this._exitCallback(new l(e,t,a)),o.exit(e)}action(e){return this._actionHandler=t=>{const a=this._args.length,i=t.slice(0,a);return this._storeOptionsAsProperties?i[a]=this:i[a]=this.opts(),i.push(this),e.apply(this,i)},this}createOption(e,t){return new d(e,t)}addOption(e){const t=e.name(),a=e.attributeName();if(e.negate){const t=e.long.replace(/^--no-/,"--");this._findOption(t)||this.setOptionValueWithSource(a,void 0===e.defaultValue||e.defaultValue,"default")}else void 0!==e.defaultValue&&this.setOptionValueWithSource(a,e.defaultValue,"default");this.options.push(e);const i=(t,i,n)=>{null==t&&void 0!==e.presetArg&&(t=e.presetArg);const r=this.getOptionValue(a);if(null!==t&&e.parseArg)try{t=e.parseArg(t,r)}catch(e){if("commander.invalidArgument"===e.code){const t=`${i} ${e.message}`;this.error(t,{exitCode:e.exitCode,code:e.code})}throw e}else null!==t&&e.variadic&&(t=e._concatValue(t,r));null==t&&(t=!e.negate&&(!(!e.isBoolean()&&!e.optional)||"")),this.setOptionValueWithSource(a,t,n)};return this.on("option:"+t,(t=>{const a=`error: option '${e.flags}' argument '${t}' is invalid.`;i(t,a,"cli")})),e.envVar&&this.on("optionEnv:"+t,(t=>{const a=`error: option '${e.flags}' value '${t}' from env '${e.envVar}' is invalid.`;i(t,a,"env")})),this}_optionEx(e,t,a,i,n){if("object"==typeof t&&t instanceof d)throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");const r=this.createOption(t,a);if(r.makeOptionMandatory(!!e.mandatory),"function"==typeof i)r.default(n).argParser(i);else if(i instanceof RegExp){const e=i;i=(t,a)=>{const i=e.exec(t);return i?i[0]:a},r.default(n).argParser(i)}else r.default(i);return this.addOption(r)}option(e,t,a,i){return this._optionEx({},e,t,a,i)}requiredOption(e,t,a,i){return this._optionEx({mandatory:!0},e,t,a,i)}combineFlagAndOptionalValue(e=!0){return this._combineFlagAndOptionalValue=!!e,this}allowUnknownOption(e=!0){return this._allowUnknownOption=!!e,this}allowExcessArguments(e=!0){return this._allowExcessArguments=!!e,this}enablePositionalOptions(e=!0){return this._enablePositionalOptions=!!e,this}passThroughOptions(e=!0){if(this._passThroughOptions=!!e,this.parent&&e&&!this.parent._enablePositionalOptions)throw new Error("passThroughOptions can not be used without turning on enablePositionalOptions for parent command(s)");return this}storeOptionsAsProperties(e=!0){if(this._storeOptionsAsProperties=!!e,this.options.length)throw new Error("call .storeOptionsAsProperties() before adding options");return this}getOptionValue(e){return this._storeOptionsAsProperties?this[e]:this._optionValues[e]}setOptionValue(e,t){return this.setOptionValueWithSource(e,t,void 0)}setOptionValueWithSource(e,t,a){return this._storeOptionsAsProperties?this[e]=t:this._optionValues[e]=t,this._optionValueSources[e]=a,this}getOptionValueSource(e){return this._optionValueSources[e]}getOptionValueSourceWithGlobals(e){let t;return y(this).forEach((a=>{void 0!==a.getOptionValueSource(e)&&(t=a.getOptionValueSource(e))})),t}_prepareUserArgs(e,t){if(void 0!==e&&!Array.isArray(e))throw new Error("first parameter to parse must be array or undefined");let a;switch(t=t||{},void 0===e&&(e=o.argv,o.versions&&o.versions.electron&&(t.from="electron")),this.rawArgs=e.slice(),t.from){case void 0:case"node":this._scriptPath=e[1],a=e.slice(2);break;case"electron":o.defaultApp?(this._scriptPath=e[1],a=e.slice(2)):a=e.slice(1);break;case"user":a=e.slice(0);break;default:throw new Error(`unexpected parse option { from: '${t.from}' }`)}return!this._name&&this._scriptPath&&this.nameFromFilename(this._scriptPath),this._name=this._name||"program",a}parse(e,t){const a=this._prepareUserArgs(e,t);return this._parseCommand([],a),this}async parseAsync(e,t){const a=this._prepareUserArgs(e,t);return await this._parseCommand([],a),this}_executeSubCommand(e,t){t=t.slice();let a=!1;const i=[".js",".ts",".tsx",".mjs",".cjs"];function c(e,t){const a=r.resolve(e,t);if(s.existsSync(a))return a;if(i.includes(r.extname(t)))return;const n=i.find((e=>s.existsSync(`${a}${e}`)));return n?`${a}${n}`:void 0}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let p,u=e._executableFile||`${this._name}-${e._name}`,d=this._executableDir||"";if(this._scriptPath){let e;try{e=s.realpathSync(this._scriptPath)}catch(t){e=this._scriptPath}d=r.resolve(r.dirname(e),d)}if(d){let t=c(d,u);if(!t&&!e._executableFile&&this._scriptPath){const a=r.basename(this._scriptPath,r.extname(this._scriptPath));a!==this._name&&(t=c(d,`${a}-${e._name}`))}u=t||u}a=i.includes(r.extname(u)),"win32"!==o.platform?a?(t.unshift(u),t=b(o.execArgv).concat(t),p=n.spawn(o.argv[0],t,{stdio:"inherit"})):p=n.spawn(u,t,{stdio:"inherit"}):(t.unshift(u),t=b(o.execArgv).concat(t),p=n.spawn(o.execPath,t,{stdio:"inherit"})),p.killed||["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach((e=>{o.on(e,(()=>{!1===p.killed&&null===p.exitCode&&p.kill(e)}))}));const f=this._exitCallback;f?p.on("close",(()=>{f(new l(o.exitCode||0,"commander.executeSubCommandAsync","(close)"))})):p.on("close",o.exit.bind(o)),p.on("error",(t=>{if("ENOENT"===t.code){const t=d?`searched for local subcommand relative to directory '${d}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",a=`'${u}' does not exist\n - if '${e._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead\n - if the default executable name is not suitable, use the executableFile option to supply a custom name or path\n - ${t}`;throw new Error(a)}if("EACCES"===t.code)throw new Error(`'${u}' not executable`);if(f){const e=new l(1,"commander.executeSubCommandAsync","(error)");e.nestedError=t,f(e)}else o.exit(1)})),this.runningCommand=p}_dispatchSubcommand(e,t,a){const i=this._findCommand(e);let n;return i||this.help({error:!0}),n=this._chainOrCallSubCommandHook(n,i,"preSubcommand"),n=this._chainOrCall(n,(()=>{if(!i._executableHandler)return i._parseCommand(t,a);this._executeSubCommand(i,t.concat(a))})),n}_checkNumberOfArguments(){this._args.forEach(((e,t)=>{e.required&&null==this.args[t]&&this.missingArgument(e.name())})),this._args.length>0&&this._args[this._args.length-1].variadic||this.args.length>this._args.length&&this._excessArguments(this.args)}_processArguments(){const e=(e,t,a)=>{let i=t;if(null!==t&&e.parseArg)try{i=e.parseArg(t,a)}catch(a){if("commander.invalidArgument"===a.code){const i=`error: command-argument value '${t}' is invalid for argument '${e.name()}'. ${a.message}`;this.error(i,{exitCode:a.exitCode,code:a.code})}throw a}return i};this._checkNumberOfArguments();const t=[];this._args.forEach(((a,i)=>{let n=a.defaultValue;a.variadic?i<this.args.length?(n=this.args.slice(i),a.parseArg&&(n=n.reduce(((t,i)=>e(a,i,t)),a.defaultValue))):void 0===n&&(n=[]):i<this.args.length&&(n=this.args[i],a.parseArg&&(n=e(a,n,a.defaultValue))),t[i]=n})),this.processedArgs=t}_chainOrCall(e,t){return e&&e.then&&"function"==typeof e.then?e.then((()=>t())):t()}_chainOrCallHooks(e,t){let a=e;const i=[];return y(this).reverse().filter((e=>void 0!==e._lifeCycleHooks[t])).forEach((e=>{e._lifeCycleHooks[t].forEach((t=>{i.push({hookedCommand:e,callback:t})}))})),"postAction"===t&&i.reverse(),i.forEach((e=>{a=this._chainOrCall(a,(()=>e.callback(e.hookedCommand,this)))})),a}_chainOrCallSubCommandHook(e,t,a){let i=e;return void 0!==this._lifeCycleHooks[a]&&this._lifeCycleHooks[a].forEach((e=>{i=this._chainOrCall(i,(()=>e(this,t)))})),i}_parseCommand(e,t){const a=this.parseOptions(t);if(this._parseOptionsEnv(),this._parseOptionsImplied(),e=e.concat(a.operands),t=a.unknown,this.args=e.concat(t),e&&this._findCommand(e[0]))return this._dispatchSubcommand(e[0],e.slice(1),t);if(this._hasImplicitHelpCommand()&&e[0]===this._helpCommandName)return 1===e.length&&this.help(),this._dispatchSubcommand(e[1],[],[this._helpLongFlag]);if(this._defaultCommandName)return g(this,t),this._dispatchSubcommand(this._defaultCommandName,e,t);!this.commands.length||0!==this.args.length||this._actionHandler||this._defaultCommandName||this.help({error:!0}),g(this,a.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();const i=()=>{a.unknown.length>0&&this.unknownOption(a.unknown[0])},n=`command:${this.name()}`;if(this._actionHandler){let a;return i(),this._processArguments(),a=this._chainOrCallHooks(a,"preAction"),a=this._chainOrCall(a,(()=>this._actionHandler(this.processedArgs))),this.parent&&(a=this._chainOrCall(a,(()=>{this.parent.emit(n,e,t)}))),a=this._chainOrCallHooks(a,"postAction"),a}if(this.parent&&this.parent.listenerCount(n))i(),this._processArguments(),this.parent.emit(n,e,t);else if(e.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",e,t);this.listenerCount("command:*")?this.emit("command:*",e,t):this.commands.length?this.unknownCommand():(i(),this._processArguments())}else this.commands.length?(i(),this.help({error:!0})):(i(),this._processArguments())}_findCommand(e){if(e)return this.commands.find((t=>t._name===e||t._aliases.includes(e)))}_findOption(e){return this.options.find((t=>t.is(e)))}_checkForMissingMandatoryOptions(){for(let e=this;e;e=e.parent)e.options.forEach((t=>{t.mandatory&&void 0===e.getOptionValue(t.attributeName())&&e.missingMandatoryOptionValue(t)}))}_checkForConflictingLocalOptions(){const e=this.options.filter((e=>{const t=e.attributeName();return void 0!==this.getOptionValue(t)&&"default"!==this.getOptionValueSource(t)}));e.filter((e=>e.conflictsWith.length>0)).forEach((t=>{const a=e.find((e=>t.conflictsWith.includes(e.attributeName())));a&&this._conflictingOption(t,a)}))}_checkForConflictingOptions(){for(let e=this;e;e=e.parent)e._checkForConflictingLocalOptions()}parseOptions(e){const t=[],a=[];let i=t;const n=e.slice();function r(e){return e.length>1&&"-"===e[0]}let s=null;for(;n.length;){const e=n.shift();if("--"===e){i===a&&i.push(e),i.push(...n);break}if(!s||r(e)){if(s=null,r(e)){const t=this._findOption(e);if(t){if(t.required){const e=n.shift();void 0===e&&this.optionMissingArgument(t),this.emit(`option:${t.name()}`,e)}else if(t.optional){let e=null;n.length>0&&!r(n[0])&&(e=n.shift()),this.emit(`option:${t.name()}`,e)}else this.emit(`option:${t.name()}`);s=t.variadic?t:null;continue}}if(e.length>2&&"-"===e[0]&&"-"!==e[1]){const t=this._findOption(`-${e[1]}`);if(t){t.required||t.optional&&this._combineFlagAndOptionalValue?this.emit(`option:${t.name()}`,e.slice(2)):(this.emit(`option:${t.name()}`),n.unshift(`-${e.slice(2)}`));continue}}if(/^--[^=]+=/.test(e)){const t=e.indexOf("="),a=this._findOption(e.slice(0,t));if(a&&(a.required||a.optional)){this.emit(`option:${a.name()}`,e.slice(t+1));continue}}if(r(e)&&(i=a),(this._enablePositionalOptions||this._passThroughOptions)&&0===t.length&&0===a.length){if(this._findCommand(e)){t.push(e),n.length>0&&a.push(...n);break}if(e===this._helpCommandName&&this._hasImplicitHelpCommand()){t.push(e),n.length>0&&t.push(...n);break}if(this._defaultCommandName){a.push(e),n.length>0&&a.push(...n);break}}if(this._passThroughOptions){i.push(e),n.length>0&&i.push(...n);break}i.push(e)}else this.emit(`option:${s.name()}`,e)}return{operands:t,unknown:a}}opts(){if(this._storeOptionsAsProperties){const e={},t=this.options.length;for(let a=0;a<t;a++){const t=this.options[a].attributeName();e[t]=t===this._versionOptionName?this._version:this[t]}return e}return this._optionValues}optsWithGlobals(){return y(this).reduce(((e,t)=>Object.assign(e,t.opts())),{})}error(e,t){this._outputConfiguration.outputError(`${e}\n`,this._outputConfiguration.writeErr),"string"==typeof this._showHelpAfterError?this._outputConfiguration.writeErr(`${this._showHelpAfterError}\n`):this._showHelpAfterError&&(this._outputConfiguration.writeErr("\n"),this.outputHelp({error:!0}));const a=t||{},i=a.exitCode||1,n=a.code||"commander.error";this._exit(i,n,e)}_parseOptionsEnv(){this.options.forEach((e=>{if(e.envVar&&e.envVar in o.env){const t=e.attributeName();(void 0===this.getOptionValue(t)||["default","config","env"].includes(this.getOptionValueSource(t)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,o.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}}))}_parseOptionsImplied(){const e=new m(this.options),t=e=>void 0!==this.getOptionValue(e)&&!["default","implied"].includes(this.getOptionValueSource(e));this.options.filter((a=>void 0!==a.implied&&t(a.attributeName())&&e.valueFromOption(this.getOptionValue(a.attributeName()),a))).forEach((e=>{Object.keys(e.implied).filter((e=>!t(e))).forEach((t=>{this.setOptionValueWithSource(t,e.implied[t],"implied")}))}))}missingArgument(e){const t=`error: missing required argument '${e}'`;this.error(t,{code:"commander.missingArgument"})}optionMissingArgument(e){const t=`error: option '${e.flags}' argument missing`;this.error(t,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){const t=`error: required option '${e.flags}' not specified`;this.error(t,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,t){const a=e=>{const t=e.attributeName(),a=this.getOptionValue(t),i=this.options.find((e=>e.negate&&t===e.attributeName())),n=this.options.find((e=>!e.negate&&t===e.attributeName()));return i&&(void 0===i.presetArg&&!1===a||void 0!==i.presetArg&&a===i.presetArg)?i:n||e},i=e=>{const t=a(e),i=t.attributeName();return"env"===this.getOptionValueSource(i)?`environment variable '${t.envVar}'`:`option '${t.flags}'`},n=`error: ${i(e)} cannot be used with ${i(t)}`;this.error(n,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let t="";if(e.startsWith("--")&&this._showSuggestionAfterError){let a=[],i=this;do{const e=i.createHelp().visibleOptions(i).filter((e=>e.long)).map((e=>e.long));a=a.concat(e),i=i.parent}while(i&&!i._enablePositionalOptions);t=h(e,a)}const a=`error: unknown option '${e}'${t}`;this.error(a,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;const t=this._args.length,a=1===t?"":"s",i=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${t} argument${a} but got ${e.length}.`;this.error(i,{code:"commander.excessArguments"})}unknownCommand(){const e=this.args[0];let t="";if(this._showSuggestionAfterError){const a=[];this.createHelp().visibleCommands(this).forEach((e=>{a.push(e.name()),e.alias()&&a.push(e.alias())})),t=h(e,a)}const a=`error: unknown command '${e}'${t}`;this.error(a,{code:"commander.unknownCommand"})}version(e,t,a){if(void 0===e)return this._version;this._version=e,t=t||"-V, --version",a=a||"output the version number";const i=this.createOption(t,a);return this._versionOptionName=i.attributeName(),this.options.push(i),this.on("option:"+i.name(),(()=>{this._outputConfiguration.writeOut(`${e}\n`),this._exit(0,"commander.version",e)})),this}description(e,t){return void 0===e&&void 0===t?this._description:(this._description=e,t&&(this._argsDescription=t),this)}summary(e){return void 0===e?this._summary:(this._summary=e,this)}alias(e){if(void 0===e)return this._aliases[0];let t=this;if(0!==this.commands.length&&this.commands[this.commands.length-1]._executableHandler&&(t=this.commands[this.commands.length-1]),e===t._name)throw new Error("Command alias can't be the same as its name");return t._aliases.push(e),this}aliases(e){return void 0===e?this._aliases:(e.forEach((e=>this.alias(e))),this)}usage(e){if(void 0===e){if(this._usage)return this._usage;const e=this._args.map((e=>p(e)));return[].concat(this.options.length||this._hasHelpOption?"[options]":[],this.commands.length?"[command]":[],this._args.length?e:[]).join(" ")}return this._usage=e,this}name(e){return void 0===e?this._name:(this._name=e,this)}nameFromFilename(e){return this._name=r.basename(e,r.extname(e)),this}executableDir(e){return void 0===e?this._executableDir:(this._executableDir=e,this)}helpInformation(e){const t=this.createHelp();return void 0===t.helpWidth&&(t.helpWidth=e&&e.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth()),t.formatHelp(this,t)}_getHelpContext(e){const t={error:!!(e=e||{}).error};let a;return a=t.error?e=>this._outputConfiguration.writeErr(e):e=>this._outputConfiguration.writeOut(e),t.write=e.write||a,t.command=this,t}outputHelp(e){let t;"function"==typeof e&&(t=e,e=void 0);const a=this._getHelpContext(e);y(this).reverse().forEach((e=>e.emit("beforeAllHelp",a))),this.emit("beforeHelp",a);let i=this.helpInformation(a);if(t&&(i=t(i),"string"!=typeof i&&!Buffer.isBuffer(i)))throw new Error("outputHelp callback must return a string or a Buffer");a.write(i),this.emit(this._helpLongFlag),this.emit("afterHelp",a),y(this).forEach((e=>e.emit("afterAllHelp",a)))}helpOption(e,t){if("boolean"==typeof e)return this._hasHelpOption=e,this;this._helpFlags=e||this._helpFlags,this._helpDescription=t||this._helpDescription;const a=f(this._helpFlags);return this._helpShortFlag=a.shortFlag,this._helpLongFlag=a.longFlag,this}help(e){this.outputHelp(e);let t=o.exitCode||0;0===t&&e&&"function"!=typeof e&&e.error&&(t=1),this._exit(t,"commander.help","(outputHelp)")}addHelpText(e,t){const a=["beforeAll","before","after","afterAll"];if(!a.includes(e))throw new Error(`Unexpected value for position to addHelpText.\nExpecting one of '${a.join("', '")}'`);const i=`${e}Help`;return this.on(i,(e=>{let a;a="function"==typeof t?t({error:e.error,command:e.command}):t,a&&e.write(`${a}\n`)})),this}}function g(e,t){e._hasHelpOption&&t.find((t=>t===e._helpLongFlag||t===e._helpShortFlag))&&(e.outputHelp(),e._exit(0,"commander.helpDisplayed","(outputHelp)"))}function b(e){return e.map((e=>{if(!e.startsWith("--inspect"))return e;let t,a,i="127.0.0.1",n="9229";return null!==(a=e.match(/^(--inspect(-brk)?)$/))?t=a[1]:null!==(a=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))?(t=a[1],/^\d+$/.test(a[3])?n=a[3]:i=a[3]):null!==(a=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))&&(t=a[1],i=a[3],n=a[4]),t&&"0"!==n?`${t}=${i}:${parseInt(n)+1}`:e}))}function y(e){const t=[];for(let a=e;a;a=a.parent)t.push(a);return t}t.Command=v},7432:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(7497),n=a(8714),r=a(3280);class s extends r.default{constructor(){super(...arguments),this._scandir=i.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const a=this._scandir(e,this._settings.fsScandirSettings);for(const e of a)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(n.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const a=e.path;void 0!==t&&(e.path=n.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),n.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&n.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(a,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}t.default=s},7448:(e,t,a)=>{"use strict";const i=a(6928),n=a(4566),r=e=>e.length>1?`{${e.join(",")}}`:e[0],s=(e,t)=>{const a="!"===e[0]?e.slice(1):e;return i.isAbsolute(a)?a:i.join(t,a)},o=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map((a=>{return i.posix.join(e,(n=a,s=t.extensions,i.extname(n)?`**/${n}`:`**/${n}.${r(s)}`));var n,s})):t.files?t.files.map((t=>i.posix.join(e,`**/${t}`))):t.extensions?[i.posix.join(e,`**/*.${r(t.extensions)}`)]:[i.posix.join(e,"**")]};e.exports=async(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const a=await Promise.all([].concat(e).map((async e=>await n.isDirectory(s(e,t.cwd))?o(e,t):e)));return[].concat.apply([],a)},e.exports.sync=(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const a=[].concat(e).map((e=>n.isDirectorySync(s(e,t.cwd))?o(e,t):e));return[].concat.apply([],a)}},7497:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.scandirSync=t.scandir=void 0;const i=a(2928),n=a(9921),r=a(2564);function s(e={}){return e instanceof r.default?e:new r.default(e)}t.Settings=r.default,t.scandir=function(e,t,a){"function"!=typeof t?i.read(e,s(t),a):i.read(e,s(),t)},t.scandirSync=function(e,t){const a=s(t);return n.read(e,a)}},7498:(e,t,a)=>{"use strict";const i=a(9023),n=a(4078),r=a(5562),s=a(6927),o=e=>""===e||"./"===e,c=e=>{const t=e.indexOf("{");return t>-1&&e.indexOf("}",t)>-1},p=(e,t,a)=>{t=[].concat(t),e=[].concat(e);let i=new Set,n=new Set,s=new Set,o=0,c=e=>{s.add(e.output),a&&a.onResult&&a.onResult(e)};for(let s=0;s<t.length;s++){let p=r(String(t[s]),{...a,onResult:c},!0),l=p.state.negated||p.state.negatedExtglob;l&&o++;for(let t of e){let e=p(t,!0);(l?!e.isMatch:e.isMatch)&&(l?i.add(e.output):(i.delete(e.output),n.add(e.output)))}}let p=(o===t.length?[...s]:[...n]).filter((e=>!i.has(e)));if(a&&0===p.length){if(!0===a.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===a.nonull||!0===a.nullglob)return a.unescape?t.map((e=>e.replace(/\\/g,""))):t}return p};p.match=p,p.matcher=(e,t)=>r(e,t),p.any=p.isMatch=(e,t,a)=>r(t,a)(e),p.not=(e,t,a={})=>{t=[].concat(t).map(String);let i=new Set,n=[],r=new Set(p(e,t,{...a,onResult:e=>{a.onResult&&a.onResult(e),n.push(e.output)}}));for(let e of n)r.has(e)||i.add(e);return[...i]},p.contains=(e,t,a)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${i.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>p.contains(e,t,a)));if("string"==typeof t){if(o(e)||o(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return p.isMatch(e,t,{...a,contains:!0})},p.matchKeys=(e,t,a)=>{if(!s.isObject(e))throw new TypeError("Expected the first argument to be an object");let i=p(Object.keys(e),t,a),n={};for(let t of i)n[t]=e[t];return n},p.some=(e,t,a)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=r(String(e),a);if(i.some((e=>t(e))))return!0}return!1},p.every=(e,t,a)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=r(String(e),a);if(!i.every((e=>t(e))))return!1}return!0},p.all=(e,t,a)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${i.inspect(e)}"`);return[].concat(t).every((t=>r(t,a)(e)))},p.capture=(e,t,a)=>{let i=s.isWindows(a),n=r.makeRe(String(e),{...a,capture:!0}).exec(i?s.toPosixSlashes(t):t);if(n)return n.slice(1).map((e=>void 0===e?"":e))},p.makeRe=(...e)=>r.makeRe(...e),p.scan=(...e)=>r.scan(...e),p.parse=(e,t)=>{let a=[];for(let i of[].concat(e||[]))for(let e of n(String(i),t))a.push(r.parse(e,t));return a},p.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!c(e)?[e]:n(e,t)},p.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return p.braces(e,{...t,expand:!0})},p.hasBraces=c,e.exports=p},7567:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(6928),n=a(7497);t.default=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,i.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(e,t){return null!=e?e:t}}},7590:(e,t,a)=>{"use strict";const i=a(8843);e.exports={readJson:i.readFile,readJsonSync:i.readFileSync,writeJson:i.writeFile,writeJsonSync:i.writeFileSync}},7617:e=>{"use strict";e.exports=JSON.parse('{"name":"dotenv","version":"16.5.0","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","pretest":"npm run lint && npm run dts-check","test":"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"homepage":"https://github.com/motdotla/dotenv#readme","funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@types/node":"^18.11.3","decache":"^4.6.2","sinon":"^14.0.1","standard":"^17.0.0","standard-version":"^9.5.0","tap":"^19.2.0","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')},7619:(e,t,a)=>{e.exports={decode:a(7661),verify:a(7014),sign:a(3418),JsonWebTokenError:a(6430),NotBeforeError:a(9387),TokenExpiredError:a(7147)}},7661:(e,t,a)=>{var i=a(1525);e.exports=function(e,t){t=t||{};var a=i.decode(e,t);if(!a)return null;var n=a.payload;if("string"==typeof n)try{var r=JSON.parse(n);null!==r&&"object"==typeof r&&(n=r)}catch(e){}return!0===t.complete?{header:a.header,payload:n,signature:a.signature}:n}},7713:(e,t,a)=>{"use strict";const i=a(2326);e.exports=(e,t,a)=>(e=new i(e,a),t=new i(t,a),e.intersects(t,a))},7743:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t,a)=>i(e,t,a)>0},7751:(e,t,a)=>{"use strict";const i=a(4635).fromPromise;e.exports={copy:i(a(4370)),copySync:a(1796)}},7794:(e,t,a)=>{var i=a(4008),n=Object.create(null),r=a(7992);e.exports=i((function(e,t){return n[e]?(n[e].push(t),null):(n[e]=[t],function(e){return r((function t(){var a=n[e],i=a.length,r=function(e){for(var t=e.length,a=[],i=0;i<t;i++)a[i]=e[i];return a}(arguments);try{for(var s=0;s<i;s++)a[s].apply(null,r)}finally{a.length>i?(a.splice(0,i),process.nextTick((function(){t.apply(null,r)}))):delete n[e]}}))}(e))}))},7908:(e,t,a)=>{"use strict";const i=a(6289),{checkPath:n}=a(1319),r=e=>"number"==typeof e?e:{mode:511,...e}.mode;e.exports.makeDir=async(e,t)=>(n(e),i.mkdir(e,{mode:r(t),recursive:!0})),e.exports.makeDirSync=(e,t)=>(n(e),i.mkdirSync(e,{mode:r(t),recursive:!0}))},7941:e=>{e.exports=function(e,a){for(var i=[],n=0;n<e.length;n++){var r=a(e[n],n);t(r)?i.push.apply(i,r):i.push(r)}return i};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},7948:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAbsolute=t.partitionAbsoluteAndRelative=t.removeDuplicateSlashes=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;const i=a(6928),n=a(4462),r=a(7498),s=/[*?]|^!/,o=/\[[^[]*]/,c=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,p=/[!*+?@]\([^(]*\)/,l=/,|\.\./,u=/(?!^)\/{2,}/g;function d(e,t={}){return!f(e,t)}function f(e,t={}){return!!(""!==e&&(!1===t.caseSensitiveMatch||e.includes("\\")||s.test(e)||o.test(e)||c.test(e)||!1!==t.extglob&&p.test(e)||!1!==t.braceExpansion&&function(e){const t=e.indexOf("{");if(-1===t)return!1;const a=e.indexOf("}",t+1);if(-1===a)return!1;const i=e.slice(t,a);return l.test(i)}(e)))}function m(e){return e.startsWith("!")&&"("!==e[1]}function h(e){return!m(e)}function v(e){return e.startsWith("..")||e.startsWith("./..")}function g(e){return e.endsWith("/**")}function b(e){const t=r.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort(((e,t)=>e.length-t.length)),t.filter((e=>""!==e))}function y(e,t){return r.makeRe(e,t)}function x(e){return i.isAbsolute(e)}t.isStaticPattern=d,t.isDynamicPattern=f,t.convertToPositivePattern=function(e){return m(e)?e.slice(1):e},t.convertToNegativePattern=function(e){return"!"+e},t.isNegativePattern=m,t.isPositivePattern=h,t.getNegativePatterns=function(e){return e.filter(m)},t.getPositivePatterns=function(e){return e.filter(h)},t.getPatternsInsideCurrentDirectory=function(e){return e.filter((e=>!v(e)))},t.getPatternsOutsideCurrentDirectory=function(e){return e.filter(v)},t.isPatternRelatedToParentDirectory=v,t.getBaseDirectory=function(e){return n(e,{flipBackslashes:!1})},t.hasGlobStar=function(e){return e.includes("**")},t.endsWithSlashGlobStar=g,t.isAffectDepthOfReadingPattern=function(e){const t=i.basename(e);return g(e)||d(t)},t.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat(b(t))),[])},t.expandBraceExpansion=b,t.getPatternParts=function(e,t){let{parts:a}=r.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===a.length&&(a=[e]),a[0].startsWith("/")&&(a[0]=a[0].slice(1),a.unshift("")),a},t.makeRe=y,t.convertPatternsToRe=function(e,t){return e.map((e=>y(e,t)))},t.matchAny=function(e,t){return t.some((t=>t.test(e)))},t.removeDuplicateSlashes=function(e){return e.replace(u,"/")},t.partitionAbsoluteAndRelative=function(e){const t=[],a=[];for(const i of e)x(i)?t.push(i):a.push(i);return[t,a]},t.isAbsolute=x},7992:(e,t,a)=>{var i=a(4008);function n(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function r(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},a=e.name||"Function wrapped with `once`";return t.onceError=a+" shouldn't be called more than once",t.called=!1,t}e.exports=i(n),e.exports.strict=i(r),n.proto=n((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return n(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return r(this)},configurable:!0})}))},8006:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,{makeDir:n,makeDirSync:r}=a(7908),s=i(n);e.exports={mkdirs:s,mkdirsSync:r,mkdirp:s,mkdirpSync:r,ensureDir:s,ensureDirSync:r}},8024:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class a{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new a(e,t)}},8036:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(6928),n=a(2635),r=a(5737),s=a(2999),o=a(4522);t.default=class{constructor(e){this._settings=e,this.errorFilter=new s.default(this._settings),this.entryFilter=new r.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new n.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new o.default(this._settings)}_getRootDirectory(e){return i.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,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}}}},8050:(e,t,a)=>{const i=a(32);e.exports=i.satisfies(process.version,">=15.7.0")},8094:e=>{var t=Object.prototype.toString;e.exports=function(e){return"number"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Number]"==t.call(e)}},8121:e=>{"use strict";e.exports=function(e){var t=new e,a=t;return{get:function(){var i=t;return i.next?t=i.next:(t=new e,a=t),i.next=null,i},release:function(e){a.next=e,a=e}}}},8200:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t,a)=>i(e,t,a)<0},8254:(e,t,a)=>{var i=a(9140),n=process.cwd,r=null,s=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return r||(r=n.call(process)),r};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var o=process.chdir;process.chdir=function(e){r=null,o.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,o)}e.exports=function(e){function t(t){return t?function(a,i,n){return t.call(e,a,i,(function(e){p(e)&&(e=null),n&&n.apply(this,arguments)}))}:t}function a(t){return t?function(a,i){try{return t.call(e,a,i)}catch(e){if(!p(e))throw e}}:t}function n(t){return t?function(a,i,n,r){return t.call(e,a,i,n,(function(e){p(e)&&(e=null),r&&r.apply(this,arguments)}))}:t}function r(t){return t?function(a,i,n){try{return t.call(e,a,i,n)}catch(e){if(!p(e))throw e}}:t}function o(t){return t?function(a,i,n){function r(e,t){t&&(t.uid<0&&(t.uid+=4294967296),t.gid<0&&(t.gid+=4294967296)),n&&n.apply(this,arguments)}return"function"==typeof i&&(n=i,i=null),i?t.call(e,a,i,r):t.call(e,a,r)}:t}function c(t){return t?function(a,i){var n=i?t.call(e,a,i):t.call(e,a);return n&&(n.uid<0&&(n.uid+=4294967296),n.gid<0&&(n.gid+=4294967296)),n}:t}function p(e){return!e||"ENOSYS"===e.code||!(process.getuid&&0===process.getuid()||"EINVAL"!==e.code&&"EPERM"!==e.code)}var l;i.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,a,n){e.open(t,i.O_WRONLY|i.O_SYMLINK,a,(function(t,i){t?n&&n(t):e.fchmod(i,a,(function(t){e.close(i,(function(e){n&&n(t||e)}))}))}))},e.lchmodSync=function(t,a){var n,r=e.openSync(t,i.O_WRONLY|i.O_SYMLINK,a),s=!0;try{n=e.fchmodSync(r,a),s=!1}finally{if(s)try{e.closeSync(r)}catch(e){}else e.closeSync(r)}return n}}(e),e.lutimes||function(e){i.hasOwnProperty("O_SYMLINK")&&e.futimes?(e.lutimes=function(t,a,n,r){e.open(t,i.O_SYMLINK,(function(t,i){t?r&&r(t):e.futimes(i,a,n,(function(t){e.close(i,(function(e){r&&r(t||e)}))}))}))},e.lutimesSync=function(t,a,n){var r,s=e.openSync(t,i.O_SYMLINK),o=!0;try{r=e.futimesSync(s,a,n),o=!1}finally{if(o)try{e.closeSync(s)}catch(e){}else e.closeSync(s)}return r}):e.futimes&&(e.lutimes=function(e,t,a,i){i&&process.nextTick(i)},e.lutimesSync=function(){})}(e),e.chown=n(e.chown),e.fchown=n(e.fchown),e.lchown=n(e.lchown),e.chmod=t(e.chmod),e.fchmod=t(e.fchmod),e.lchmod=t(e.lchmod),e.chownSync=r(e.chownSync),e.fchownSync=r(e.fchownSync),e.lchownSync=r(e.lchownSync),e.chmodSync=a(e.chmodSync),e.fchmodSync=a(e.fchmodSync),e.lchmodSync=a(e.lchmodSync),e.stat=o(e.stat),e.fstat=o(e.fstat),e.lstat=o(e.lstat),e.statSync=c(e.statSync),e.fstatSync=c(e.fstatSync),e.lstatSync=c(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(e,t,a){a&&process.nextTick(a)},e.lchmodSync=function(){}),e.chown&&!e.lchown&&(e.lchown=function(e,t,a,i){i&&process.nextTick(i)},e.lchownSync=function(){}),"win32"===s&&(e.rename="function"!=typeof e.rename?e.rename:function(t){function a(a,i,n){var r=Date.now(),s=0;t(a,i,(function o(c){if(c&&("EACCES"===c.code||"EPERM"===c.code||"EBUSY"===c.code)&&Date.now()-r<6e4)return setTimeout((function(){e.stat(i,(function(e,r){e&&"ENOENT"===e.code?t(a,i,o):n(c)}))}),s),void(s<100&&(s+=10));n&&n(c)}))}return Object.setPrototypeOf&&Object.setPrototypeOf(a,t),a}(e.rename)),e.read="function"!=typeof e.read?e.read:function(t){function a(a,i,n,r,s,o){var c;if(o&&"function"==typeof o){var p=0;c=function(l,u,d){if(l&&"EAGAIN"===l.code&&p<10)return p++,t.call(e,a,i,n,r,s,c);o.apply(this,arguments)}}return t.call(e,a,i,n,r,s,c)}return Object.setPrototypeOf&&Object.setPrototypeOf(a,t),a}(e.read),e.readSync="function"!=typeof e.readSync?e.readSync:(l=e.readSync,function(t,a,i,n,r){for(var s=0;;)try{return l.call(e,t,a,i,n,r)}catch(e){if("EAGAIN"===e.code&&s<10){s++;continue}throw e}})}},8359:e=>{"use strict";e.exports=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var a={__proto__:t(e)};else a=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(t){Object.defineProperty(a,t,Object.getOwnPropertyDescriptor(e,t))})),a};var t=Object.getPrototypeOf||function(e){return e.__proto__}},8430:e=>{var t=1/0,a=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,r=/^0o[0-7]+$/i,s=parseInt,o=Object.prototype.toString;function c(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return function(e,p){var l;if("function"!=typeof p)throw new TypeError("Expected a function");return e=function(e){var p=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==o.call(e)}(e))return NaN;if(c(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=c(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var p=n.test(e);return p||r.test(e)?s(e.slice(2),p?2:8):i.test(e)?NaN:+e}(e))===t||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),l=p%1;return p==p?l?p-l:p:0}(e),function(){return--e>0&&(l=p.apply(this,arguments)),e<=1&&(p=void 0),l}}(2,e)}},8714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=t.replacePathSegmentSeparator=t.isAppliedFilter=t.isFatalError=void 0,t.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},t.isAppliedFilter=function(e,t){return null===e||e(t)},t.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},t.joinPathSegments=function(e,t,a){return""===e?t:e.endsWith(a)?e+t:e+a+t}},8764:(e,t,a)=>{"use strict";const i=a(5715),n=a(809),r=a(5261),s=a(242),o=a(3331),c=a(4718);async function p(e,t){u(e);const a=l(e,n.default,t),i=await Promise.all(a);return c.array.flatten(i)}function l(e,t,a){const n=[].concat(e),r=new o.default(a),s=i.generate(n,r),c=new t(r);return s.map(c.read,c)}function u(e){if(![].concat(e).every((e=>c.string.isString(e)&&!c.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){function t(e,t){u(e);const a=l(e,s.default,t);return c.array.flatten(a)}function a(e,t){u(e);const a=l(e,r.default,t);return c.stream.merge(a)}let n,p;e.glob=e,e.globSync=t,e.globStream=a,e.async=e,e.sync=t,e.stream=a,e.generateTasks=function(e,t){u(e);const a=[].concat(e),n=new o.default(t);return i.generate(a,n)},e.isDynamicPattern=function(e,t){u(e);const a=new o.default(t);return c.pattern.isDynamicPattern(e,a)},e.escapePath=function(e){return u(e),c.path.escape(e)},e.convertPathToPattern=function(e){return u(e),c.path.convertPathToPattern(e)},function(e){e.escapePath=function(e){return u(e),c.path.escapePosixPath(e)},e.convertPathToPattern=function(e){return u(e),c.path.convertPosixPathToPattern(e)}}(n=e.posix||(e.posix={})),function(e){e.escapePath=function(e){return u(e),c.path.escapeWindowsPath(e)},e.convertPathToPattern=function(e){return u(e),c.path.convertWindowsPathToPattern(e)}}(p=e.win32||(e.win32={}))}(p||(p={})),e.exports=p},8782:(e,t,a)=>{e.exports=d,d.Minimatch=f;var i=function(){try{return a(6928)}catch(e){}}()||{sep:"/"};d.sep=i.sep;var n=d.GLOBSTAR=f.GLOBSTAR={},r=a(2968),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},o="[^/]",c=o+"*?",p="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{}),l=/\/+/;function u(e,t){t=t||{};var a={};return Object.keys(e).forEach((function(t){a[t]=e[t]})),Object.keys(t).forEach((function(e){a[e]=t[e]})),a}function d(e,t,a){return h(t),a||(a={}),!(!a.nocomment&&"#"===t.charAt(0))&&new f(t,a).match(e)}function f(e,t){if(!(this instanceof f))return new f(e,t);h(e),t||(t={}),e=e.trim(),t.allowWindowsEscape||"/"===i.sep||(e=e.split(i.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}function m(e,t){return t||(t=this instanceof f?this.options:{}),e=void 0===e?this.pattern:e,h(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:r(e)}d.filter=function(e,t){return t=t||{},function(a,i,n){return d(a,e,t)}},d.defaults=function(e){if(!e||"object"!=typeof e||!Object.keys(e).length)return d;var t=d,a=function(a,i,n){return t(a,i,u(e,n))};return(a.Minimatch=function(a,i){return new t.Minimatch(a,u(e,i))}).defaults=function(a){return t.defaults(u(e,a)).Minimatch},a.filter=function(a,i){return t.filter(a,u(e,i))},a.defaults=function(a){return t.defaults(u(e,a))},a.makeRe=function(a,i){return t.makeRe(a,u(e,i))},a.braceExpand=function(a,i){return t.braceExpand(a,u(e,i))},a.match=function(a,i,n){return t.match(a,i,u(e,n))},a},f.defaults=function(e){return d.defaults(e).Minimatch},f.prototype.debug=function(){},f.prototype.make=function(){var e=this.pattern,t=this.options;if(t.nocomment||"#"!==e.charAt(0))if(e){this.parseNegate();var a=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,a),a=this.globParts=a.map((function(e){return e.split(l)})),this.debug(this.pattern,a),a=a.map((function(e,t,a){return e.map(this.parse,this)}),this),this.debug(this.pattern,a),a=a.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,a),this.set=a}else this.empty=!0;else this.comment=!0},f.prototype.parseNegate=function(){var e=this.pattern,t=!1,a=0;if(!this.options.nonegate){for(var i=0,n=e.length;i<n&&"!"===e.charAt(i);i++)t=!t,a++;a&&(this.pattern=e.substr(a)),this.negate=t}},d.braceExpand=function(e,t){return m(e,t)},f.prototype.braceExpand=m;var h=function(e){if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")};f.prototype.parse=function(e,t){h(e);var a=this.options;if("**"===e){if(!a.noglobstar)return n;e="*"}if(""===e)return"";var i,r="",l=!!a.nocase,u=!1,d=[],f=[],m=!1,g=-1,b=-1,y="."===e.charAt(0)?"":a.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",x=this;function w(){if(i){switch(i){case"*":r+=c,l=!0;break;case"?":r+=o,l=!0;break;default:r+="\\"+i}x.debug("clearStateChar %j %j",i,r),i=!1}}for(var _,k=0,S=e.length;k<S&&(_=e.charAt(k));k++)if(this.debug("%s\t%s %s %j",e,k,r,_),u&&p[_])r+="\\"+_,u=!1;else switch(_){case"/":return!1;case"\\":w(),u=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,k,r,_),m){this.debug(" in class"),"!"===_&&k===b+1&&(_="^"),r+=_;continue}x.debug("call clearStateChar %j",i),w(),i=_,a.noext&&w();continue;case"(":if(m){r+="(";continue}if(!i){r+="\\(";continue}d.push({type:i,start:k-1,reStart:r.length,open:s[i].open,close:s[i].close}),r+="!"===i?"(?:(?!(?:":"(?:",this.debug("plType %j %j",i,r),i=!1;continue;case")":if(m||!d.length){r+="\\)";continue}w(),l=!0;var E=d.pop();r+=E.close,"!"===E.type&&f.push(E),E.reEnd=r.length;continue;case"|":if(m||!d.length||u){r+="\\|",u=!1;continue}w(),r+="|";continue;case"[":if(w(),m){r+="\\"+_;continue}m=!0,b=k,g=r.length,r+=_;continue;case"]":if(k===b+1||!m){r+="\\"+_,u=!1;continue}var j=e.substring(b+1,k);try{RegExp("["+j+"]")}catch(e){var T=this.parse(j,v);r=r.substr(0,g)+"\\["+T[0]+"\\]",l=l||T[1],m=!1;continue}l=!0,m=!1,r+=_;continue;default:w(),u?u=!1:!p[_]||"^"===_&&m||(r+="\\"),r+=_}for(m&&(j=e.substr(b+1),T=this.parse(j,v),r=r.substr(0,g)+"\\["+T[0],l=l||T[1]),E=d.pop();E;E=d.pop()){var A=r.slice(E.reStart+E.open.length);this.debug("setting tail",r,E),A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,a){return a||(a="\\"),t+t+a+"|"})),this.debug("tail=%j\n %s",A,A,E,r);var C="*"===E.type?c:"?"===E.type?o:"\\"+E.type;l=!0,r=r.slice(0,E.reStart)+C+"\\("+A}w(),u&&(r+="\\\\");var O=!1;switch(r.charAt(0)){case"[":case".":case"(":O=!0}for(var P=f.length-1;P>-1;P--){var R=f[P],I=r.slice(0,R.reStart),N=r.slice(R.reStart,R.reEnd-8),L=r.slice(R.reEnd-8,R.reEnd),$=r.slice(R.reEnd);L+=$;var D=I.split("(").length-1,M=$;for(k=0;k<D;k++)M=M.replace(/\)[+*?]?/,"");var q="";""===($=M)&&t!==v&&(q="$"),r=I+N+$+q+L}if(""!==r&&l&&(r="(?=.)"+r),O&&(r=y+r),t===v)return[r,l];if(!l)return e.replace(/\\(.)/g,"$1");var F=a.nocase?"i":"";try{var B=new RegExp("^"+r+"$",F)}catch(e){return new RegExp("$.")}return B._glob=e,B._src=r,B};var v={};d.makeRe=function(e,t){return new f(e,t||{}).makeRe()},f.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,a=t.noglobstar?c:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=t.nocase?"i":"",r=e.map((function(e){return e.map((function(e){return e===n?a:"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e._src})).join("\\/")})).join("|");r="^(?:"+r+")$",this.negate&&(r="^(?!"+r+").*$");try{this.regexp=new RegExp(r,i)}catch(e){this.regexp=!1}return this.regexp},d.match=function(e,t,a){var i=new f(t,a=a||{});return e=e.filter((function(e){return i.match(e)})),i.options.nonull&&!e.length&&e.push(t),e},f.prototype.match=function(e,t){if(void 0===t&&(t=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var a=this.options;"/"!==i.sep&&(e=e.split(i.sep).join("/")),e=e.split(l),this.debug(this.pattern,"split",e);var n,r,s=this.set;for(this.debug(this.pattern,"set",s),r=e.length-1;r>=0&&!(n=e[r]);r--);for(r=0;r<s.length;r++){var o=s[r],c=e;if(a.matchBase&&1===o.length&&(c=[n]),this.matchOne(c,o,t))return!!a.flipNegate||!this.negate}return!a.flipNegate&&this.negate},f.prototype.matchOne=function(e,t,a){var i=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var r=0,s=0,o=e.length,c=t.length;r<o&&s<c;r++,s++){this.debug("matchOne loop");var p,l=t[s],u=e[r];if(this.debug(t,l,u),!1===l)return!1;if(l===n){this.debug("GLOBSTAR",[t,l,u]);var d=r,f=s+1;if(f===c){for(this.debug("** at the end");r<o;r++)if("."===e[r]||".."===e[r]||!i.dot&&"."===e[r].charAt(0))return!1;return!0}for(;d<o;){var m=e[d];if(this.debug("\nglobstar while",e,d,t,f,m),this.matchOne(e.slice(d),t.slice(f),a))return this.debug("globstar found match!",d,o,m),!0;if("."===m||".."===m||!i.dot&&"."===m.charAt(0)){this.debug("dot detected!",e,d,t,f);break}this.debug("globstar swallow a segment, and continue"),d++}return!(!a||(this.debug("\n>>> no match, partial?",e,d,t,f),d!==o))}if("string"==typeof l?(p=u===l,this.debug("string match",l,u,p)):(p=u.match(l),this.debug("pattern match",l,u,p)),!p)return!1}if(r===o&&s===c)return!0;if(r===o)return a;if(s===c)return r===o-1&&""===e[r];throw new Error("wtf?")}},8831:(e,t,a)=>{e.exports=l,l.realpath=l,l.sync=u,l.realpathSync=u,l.monkeypatch=function(){i.realpath=l,i.realpathSync=u},l.unmonkeypatch=function(){i.realpath=n,i.realpathSync=r};var i=a(9896),n=i.realpath,r=i.realpathSync,s=process.version,o=/^v[0-5]\./.test(s),c=a(4354);function p(e){return e&&"realpath"===e.syscall&&("ELOOP"===e.code||"ENOMEM"===e.code||"ENAMETOOLONG"===e.code)}function l(e,t,a){if(o)return n(e,t,a);"function"==typeof t&&(a=t,t=null),n(e,t,(function(i,n){p(i)?c.realpath(e,t,a):a(i,n)}))}function u(e,t){if(o)return r(e,t);try{return r(e,t)}catch(a){if(p(a))return c.realpathSync(e,t);throw a}}},8843:(e,t,a)=>{let i;try{i=a(627)}catch(e){i=a(9896)}const n=a(4635),{stringify:r,stripBom:s}=a(374),o={readFile:n.fromPromise((async function(e,t={}){"string"==typeof t&&(t={encoding:t});const a=t.fs||i,r=!("throws"in t)||t.throws;let o,c=await n.fromCallback(a.readFile)(e,t);c=s(c);try{o=JSON.parse(c,t?t.reviver:null)}catch(t){if(r)throw t.message=`${e}: ${t.message}`,t;return null}return o})),readFileSync:function(e,t={}){"string"==typeof t&&(t={encoding:t});const a=t.fs||i,n=!("throws"in t)||t.throws;try{let i=a.readFileSync(e,t);return i=s(i),JSON.parse(i,t.reviver)}catch(t){if(n)throw t.message=`${e}: ${t.message}`,t;return null}},writeFile:n.fromPromise((async function(e,t,a={}){const s=a.fs||i,o=r(t,a);await n.fromCallback(s.writeFile)(e,o,a)})),writeFileSync:function(e,t,a={}){const n=a.fs||i,s=r(t,a);return n.writeFileSync(e,s,a)}};e.exports=o},8981:(e,t,a)=>{"use strict";e.exports={...a(6289),...a(7751),...a(1199),...a(4144),...a(6704),...a(8006),...a(5783),...a(1376),...a(3640),...a(9630)}},8996:(e,t,a)=>{"use strict";const i=a(6928),n=a(3297),r=a(5453),s=a(6927),o=a(4751),c=(e,t,a=!1)=>{if(Array.isArray(e)){const i=e.map((e=>c(e,t,a))),n=e=>{for(const t of i){const a=t(e);if(a)return a}return!1};return n}const i=(n=e)&&"object"==typeof n&&!Array.isArray(n)&&e.tokens&&e.input;var n;if(""===e||"string"!=typeof e&&!i)throw new TypeError("Expected pattern to be a non-empty string");const r=t||{},o=s.isWindows(t),p=i?c.compileRe(e,t):c.makeRe(e,t,!1,!0),l=p.state;delete p.state;let u=()=>!1;if(r.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};u=c(r.ignore,e,a)}const d=(a,i=!1)=>{const{isMatch:n,match:s,output:d}=c.test(a,p,t,{glob:e,posix:o}),f={glob:e,state:l,regex:p,posix:o,input:a,output:d,match:s,isMatch:n};return"function"==typeof r.onResult&&r.onResult(f),!1===n?(f.isMatch=!1,!!i&&f):u(a)?("function"==typeof r.onIgnore&&r.onIgnore(f),f.isMatch=!1,!!i&&f):("function"==typeof r.onMatch&&r.onMatch(f),!i||f)};return a&&(d.state=l),d};c.test=(e,t,a,{glob:i,posix:n}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const r=a||{},o=r.format||(n?s.toPosixSlashes:null);let p=e===i,l=p&&o?o(e):e;return!1===p&&(l=o?o(e):e,p=l===i),!1!==p&&!0!==r.capture||(p=!0===r.matchBase||!0===r.basename?c.matchBase(e,t,a,n):t.exec(l)),{isMatch:Boolean(p),match:p,output:l}},c.matchBase=(e,t,a,n=s.isWindows(a))=>(t instanceof RegExp?t:c.makeRe(t,a)).test(i.basename(e)),c.isMatch=(e,t,a)=>c(t,a)(e),c.parse=(e,t)=>Array.isArray(e)?e.map((e=>c.parse(e,t))):r(e,{...t,fastpaths:!1}),c.scan=(e,t)=>n(e,t),c.compileRe=(e,t,a=!1,i=!1)=>{if(!0===a)return e.output;const n=t||{},r=n.contains?"":"^",s=n.contains?"":"$";let o=`${r}(?:${e.output})${s}`;e&&!0===e.negated&&(o=`^(?!${o}).*$`);const p=c.toRegex(o,t);return!0===i&&(p.state=e),p},c.makeRe=(e,t={},a=!1,i=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let n={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(n.output=r.fastpaths(e,t)),n.output||(n=r(e,t)),c.compileRe(n,t,a,i)},c.toRegex=(e,t)=>{try{const a=t||{};return new RegExp(e,a.flags||(a.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},c.constants=o,e.exports=c},9003:(e,t,a)=>{"use strict";const i=Symbol("SemVer ANY");class n{static get ANY(){return i}constructor(e,t){if(t=r(t),e instanceof n){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),p("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===i?this.value="":this.value=this.operator+this.semver.version,p("comp",this)}parse(e){const t=this.options.loose?s[o.COMPARATORLOOSE]:s[o.COMPARATOR],a=e.match(t);if(!a)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==a[1]?a[1]:"","="===this.operator&&(this.operator=""),a[2]?this.semver=new l(a[2],this.options.loose):this.semver=i}toString(){return this.value}test(e){if(p("Comparator.test",e,this.options.loose),this.semver===i||e===i)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):!((t=r(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(c(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(c(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=n;const r=a(2860),{safeRe:s,t:o}=a(6999),c=a(3566),p=a(4159),l=a(2771),u=a(2326)},9023:e=>{"use strict";e.exports=require("util")},9053:(e,t,a)=>{"use strict";var i=a(6608).Buffer,n=a(2188);function r(e){if(i.isBuffer(e))return e;if("string"==typeof e)return i.from(e,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function s(e,t,a){for(var i=0;t+i<a&&0===e[t+i];)++i;return e[t+i]>=128&&--i,i}e.exports={derToJose:function(e,t){e=r(e);var a=n(t),s=a+1,o=e.length,c=0;if(48!==e[c++])throw new Error('Could not find expected "seq"');var p=e[c++];if(129===p&&(p=e[c++]),o-c<p)throw new Error('"seq" specified length of "'+p+'", only "'+(o-c)+'" remaining');if(2!==e[c++])throw new Error('Could not find expected "int" for "r"');var l=e[c++];if(o-c-2<l)throw new Error('"r" specified length of "'+l+'", only "'+(o-c-2)+'" available');if(s<l)throw new Error('"r" specified length of "'+l+'", max of "'+s+'" is acceptable');var u=c;if(c+=l,2!==e[c++])throw new Error('Could not find expected "int" for "s"');var d=e[c++];if(o-c!==d)throw new Error('"s" specified length of "'+d+'", expected "'+(o-c)+'"');if(s<d)throw new Error('"s" specified length of "'+d+'", max of "'+s+'" is acceptable');var f=c;if((c+=d)!==o)throw new Error('Expected to consume entire buffer, but "'+(o-c)+'" bytes remain');var m=a-l,h=a-d,v=i.allocUnsafe(m+l+h+d);for(c=0;c<m;++c)v[c]=0;e.copy(v,c,u+Math.max(-m,0),u+l);for(var g=c=a;c<g+h;++c)v[c]=0;return e.copy(v,c,f+Math.max(-h,0),f+d),(v=v.toString("base64")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},joseToDer:function(e,t){e=r(e);var a=n(t),o=e.length;if(o!==2*a)throw new TypeError('"'+t+'" signatures must be "'+2*a+'" bytes, saw "'+o+'"');var c=s(e,0,a),p=s(e,a,e.length),l=a-c,u=a-p,d=2+l+1+1+u,f=d<128,m=i.allocUnsafe((f?2:3)+d),h=0;return m[h++]=48,f?m[h++]=d:(m[h++]=129,m[h++]=255&d),m[h++]=2,m[h++]=l,c<0?(m[h++]=0,h+=e.copy(m,h,0,a)):h+=e.copy(m,h,c,a),m[h++]=2,m[h++]=u,p<0?(m[h++]=0,e.copy(m,h,a)):e.copy(m,h,a+p),m}}},9062:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const i=a(9896);t.FILE_SYSTEM_ADAPTER={lstat:i.lstat,stat:i.stat,lstatSync:i.lstatSync,statSync:i.statSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},9063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class a{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new a(e,t)}},9140:e=>{"use strict";e.exports=require("constants")},9288:(e,t,a)=>{"use strict";const i=a(2411),n=a(303),r=a(1811),s=(e="",t="",a=!1)=>{const i=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return a?r.flatten(t).map((e=>`{${e}}`)):t;for(const n of e)if(Array.isArray(n))for(const e of n)i.push(s(e,t,a));else for(let e of t)!0===a&&"string"==typeof e&&(e=`{${e}}`),i.push(Array.isArray(e)?s(n,e,a):n+e);return r.flatten(i)};e.exports=(e,t={})=>{const a=void 0===t.rangeLimit?1e3:t.rangeLimit,o=(e,c={})=>{e.queue=[];let p=c,l=c.queue;for(;"brace"!==p.type&&"root"!==p.type&&p.parent;)p=p.parent,l=p.queue;if(e.invalid||e.dollar)return void l.push(s(l.pop(),n(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void l.push(s(l.pop(),["{}"]));if(e.nodes&&e.ranges>0){const o=r.reduce(e.nodes);if(r.exceedsLimit(...o,t.step,a))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=i(...o,t);return 0===c.length&&(c=n(e,t)),l.push(s(l.pop(),c)),void(e.nodes=[])}const u=r.encloseBrace(e);let d=e.queue,f=e;for(;"brace"!==f.type&&"root"!==f.type&&f.parent;)f=f.parent,d=f.queue;for(let t=0;t<e.nodes.length;t++){const a=e.nodes[t];"comma"!==a.type||"brace"!==e.type?"close"!==a.type?a.value&&"open"!==a.type?d.push(s(d.pop(),a.value)):a.nodes&&o(a,e):l.push(s(l.pop(),d,u)):(1===t&&d.push(""),d.push(""))}return d};return r.flatten(o(e))}},9313:(e,t,a)=>{"use strict";const i=a(2771),n=a(2326);e.exports=(e,t,a)=>{let r=null,s=null,o=null;try{o=new n(t,a)}catch(e){return null}return e.forEach((e=>{o.test(e)&&(r&&-1!==s.compare(e)||(r=e,s=new i(r,a)))})),r}},9336:e=>{let t;e.exports="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:global):e=>(t||(t=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)))},9387:(e,t,a)=>{var i=a(6430),n=function(e,t){i.call(this,e),this.name="NotBeforeError",this.date=t};(n.prototype=Object.create(i.prototype)).constructor=n,e.exports=n},9454:(e,t,a)=>{"use strict";var i=a(181).Buffer,n=a(181).SlowBuffer;function r(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))return!1;if(e.length!==t.length)return!1;for(var a=0,n=0;n<e.length;n++)a|=e[n]^t[n];return 0===a}e.exports=r,r.install=function(){i.prototype.equal=n.prototype.equal=function(e){return r(this,e)}};var s=i.prototype.equal,o=n.prototype.equal;r.restore=function(){i.prototype.equal=s,n.prototype.equal=o}},9467:(e,t,a)=>{"use strict";const i=a(6289),n=a(4635).fromPromise;e.exports={utimesMillis:n((async function(e,t,a){const n=await i.open(e,"r+");let r=null;try{await i.futimes(n,t,a)}finally{try{await i.close(n)}catch(e){r=e}}if(r)throw r})),utimesMillisSync:function(e,t,a){const n=i.openSync(e,"r+");return i.futimesSync(n,t,a),i.closeSync(n)}}},9571:(e,t,a)=>{"use strict";const i=a(6928),n=a(4299),r=new Set(n);e.exports=e=>r.has(i.extname(e).slice(1).toLowerCase())},9572:(e,t,a)=>{const i=a(8050),n=a(5612),r={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},s={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};e.exports=function(e,t){if(!e||!t)return;const a=t.asymmetricKeyType;if(!a)return;const o=r[a];if(!o)throw new Error(`Unknown key type "${a}".`);if(!o.includes(e))throw new Error(`"alg" parameter for "${a}" key type must be one of: ${o.join(", ")}.`);if(i)switch(a){case"ec":const a=t.asymmetricKeyDetails.namedCurve,i=s[e];if(a!==i)throw new Error(`"alg" parameter "${e}" requires curve "${i}".`);break;case"rsa-pss":if(n){const a=parseInt(e.slice(-3),10),{hashAlgorithm:i,mgf1HashAlgorithm:n,saltLength:r}=t.asymmetricKeyDetails;if(i!==`sha${a}`||n!==i)throw new Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${e}.`);if(void 0!==r&&r>a>>3)throw new Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${e}.`)}}}},9630:(e,t,a)=>{"use strict";const i=a(627),n=a(4635).fromCallback;e.exports={remove:n((function(e,t){i.rm(e,{recursive:!0,force:!0},t)})),removeSync:function(e){i.rmSync(e,{recursive:!0,force:!0})}}},9632:(e,t,a)=>{e.exports=b;var i=a(8831),n=a(8782),r=(n.Minimatch,a(2666)),s=a(4434).EventEmitter,o=a(6928),c=a(2613),p=a(1806),l=a(4709),u=a(7219),d=u.setopts,f=u.ownProp,m=a(7794),h=(a(9023),u.childrenIgnored),v=u.isIgnored,g=a(7992);function b(e,t,a){if("function"==typeof t&&(a=t,t={}),t||(t={}),t.sync){if(a)throw new TypeError("callback provided to sync glob");return l(e,t)}return new x(e,t,a)}b.sync=l;var y=b.GlobSync=l.GlobSync;function x(e,t,a){if("function"==typeof t&&(a=t,t=null),t&&t.sync){if(a)throw new TypeError("callback provided to sync glob");return new y(e,t)}if(!(this instanceof x))return new x(e,t,a);d(this,e,t),this._didRealPath=!1;var i=this.minimatch.set.length;this.matches=new Array(i),"function"==typeof a&&(a=g(a),this.on("error",a),this.on("end",(function(e){a(null,e)})));var n=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===i)return o();for(var r=!0,s=0;s<i;s++)this._process(this.minimatch.set[s],s,!1,o);function o(){--n._processing,n._processing<=0&&(r?process.nextTick((function(){n._finish()})):n._finish())}r=!1}b.glob=b,b.hasMagic=function(e,t){var a=function(e,t){if(null===t||"object"!=typeof t)return e;for(var a=Object.keys(t),i=a.length;i--;)e[a[i]]=t[a[i]];return e}({},t);a.noprocess=!0;var i=new x(e,a).minimatch.set;if(!e)return!1;if(i.length>1)return!0;for(var n=0;n<i[0].length;n++)if("string"!=typeof i[0][n])return!0;return!1},b.Glob=x,r(x,s),x.prototype._finish=function(){if(c(this instanceof x),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();u.finish(this),this.emit("end",this.found)}},x.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var e=this.matches.length;if(0===e)return this._finish();for(var t=this,a=0;a<this.matches.length;a++)this._realpathSet(a,i)}function i(){0===--e&&t._finish()}},x.prototype._realpathSet=function(e,t){var a=this.matches[e];if(!a)return t();var n=Object.keys(a),r=this,s=n.length;if(0===s)return t();var o=this.matches[e]=Object.create(null);n.forEach((function(a,n){a=r._makeAbs(a),i.realpath(a,r.realpathCache,(function(i,n){i?"stat"===i.syscall?o[a]=!0:r.emit("error",i):o[n]=!0,0===--s&&(r.matches[e]=o,t())}))}))},x.prototype._mark=function(e){return u.mark(this,e)},x.prototype._makeAbs=function(e){return u.makeAbs(this,e)},x.prototype.abort=function(){this.aborted=!0,this.emit("abort")},x.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},x.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var e=this._emitQueue.slice(0);this._emitQueue.length=0;for(var t=0;t<e.length;t++){var a=e[t];this._emitMatch(a[0],a[1])}}if(this._processQueue.length){var i=this._processQueue.slice(0);for(this._processQueue.length=0,t=0;t<i.length;t++){var n=i[t];this._processing--,this._process(n[0],n[1],n[2],n[3])}}}},x.prototype._process=function(e,t,a,i){if(c(this instanceof x),c("function"==typeof i),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([e,t,a,i]);else{for(var r,s=0;"string"==typeof e[s];)s++;switch(s){case e.length:return void this._processSimple(e.join("/"),t,i);case 0:r=null;break;default:r=e.slice(0,s).join("/")}var o,l=e.slice(s);null===r?o=".":p(r)||p(e.map((function(e){return"string"==typeof e?e:"[*]"})).join("/"))?(r&&p(r)||(r="/"+r),o=r):o=r;var u=this._makeAbs(o);if(h(this,o))return i();l[0]===n.GLOBSTAR?this._processGlobStar(r,o,u,l,t,a,i):this._processReaddir(r,o,u,l,t,a,i)}},x.prototype._processReaddir=function(e,t,a,i,n,r,s){var o=this;this._readdir(a,r,(function(c,p){return o._processReaddir2(e,t,a,i,n,r,p,s)}))},x.prototype._processReaddir2=function(e,t,a,i,n,r,s,c){if(!s)return c();for(var p=i[0],l=!!this.minimatch.negate,u=p._glob,d=this.dot||"."===u.charAt(0),f=[],m=0;m<s.length;m++)("."!==(v=s[m]).charAt(0)||d)&&(l&&!e?!v.match(p):v.match(p))&&f.push(v);var h=f.length;if(0===h)return c();if(1===i.length&&!this.mark&&!this.stat){for(this.matches[n]||(this.matches[n]=Object.create(null)),m=0;m<h;m++){var v=f[m];e&&(v="/"!==e?e+"/"+v:e+v),"/"!==v.charAt(0)||this.nomount||(v=o.join(this.root,v)),this._emitMatch(n,v)}return c()}for(i.shift(),m=0;m<h;m++)v=f[m],e&&(v="/"!==e?e+"/"+v:e+v),this._process([v].concat(i),n,r,c);c()},x.prototype._emitMatch=function(e,t){if(!this.aborted&&!v(this,t))if(this.paused)this._emitQueue.push([e,t]);else{var a=p(t)?t:this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=a),!this.matches[e][t]){if(this.nodir){var i=this.cache[a];if("DIR"===i||Array.isArray(i))return}this.matches[e][t]=!0;var n=this.statCache[a];n&&this.emit("stat",t,n),this.emit("match",t)}}},x.prototype._readdirInGlobStar=function(e,t){if(!this.aborted){if(this.follow)return this._readdir(e,!1,t);var a=this,i=m("lstat\0"+e,(function(i,n){if(i&&"ENOENT"===i.code)return t();var r=n&&n.isSymbolicLink();a.symlinks[e]=r,r||!n||n.isDirectory()?a._readdir(e,!1,t):(a.cache[e]="FILE",t())}));i&&a.fs.lstat(e,i)}},x.prototype._readdir=function(e,t,a){if(!this.aborted&&(a=m("readdir\0"+e+"\0"+t,a))){if(t&&!f(this.symlinks,e))return this._readdirInGlobStar(e,a);if(f(this.cache,e)){var i=this.cache[e];if(!i||"FILE"===i)return a();if(Array.isArray(i))return a(null,i)}this.fs.readdir(e,function(e,t,a){return function(i,n){i?e._readdirError(t,i,a):e._readdirEntries(t,n,a)}}(this,e,a))}},x.prototype._readdirEntries=function(e,t,a){if(!this.aborted){if(!this.mark&&!this.stat)for(var i=0;i<t.length;i++){var n=t[i];n="/"===e?e+n:e+"/"+n,this.cache[n]=!0}return this.cache[e]=t,a(null,t)}},x.prototype._readdirError=function(e,t,a){if(!this.aborted){switch(t.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(e);if(this.cache[i]="FILE",i===this.cwdAbs){var n=new Error(t.code+" invalid cwd "+this.cwd);n.path=this.cwd,n.code=t.code,this.emit("error",n),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:this.cache[this._makeAbs(e)]=!1,this.strict&&(this.emit("error",t),this.abort()),this.silent||console.error("glob error",t)}return a()}},x.prototype._processGlobStar=function(e,t,a,i,n,r,s){var o=this;this._readdir(a,r,(function(c,p){o._processGlobStar2(e,t,a,i,n,r,p,s)}))},x.prototype._processGlobStar2=function(e,t,a,i,n,r,s,o){if(!s)return o();var c=i.slice(1),p=e?[e]:[],l=p.concat(c);this._process(l,n,!1,o);var u=this.symlinks[a],d=s.length;if(u&&r)return o();for(var f=0;f<d;f++)if("."!==s[f].charAt(0)||this.dot){var m=p.concat(s[f],c);this._process(m,n,!0,o);var h=p.concat(s[f],i);this._process(h,n,!0,o)}o()},x.prototype._processSimple=function(e,t,a){var i=this;this._stat(e,(function(n,r){i._processSimple2(e,t,n,r,a)}))},x.prototype._processSimple2=function(e,t,a,i,n){if(this.matches[t]||(this.matches[t]=Object.create(null)),!i)return n();if(e&&p(e)&&!this.nomount){var r=/[\/\\]$/.test(e);"/"===e.charAt(0)?e=o.join(this.root,e):(e=o.resolve(this.root,e),r&&(e+="/"))}"win32"===process.platform&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e),n()},x.prototype._stat=function(e,t){var a=this._makeAbs(e),i="/"===e.slice(-1);if(e.length>this.maxLength)return t();if(!this.stat&&f(this.cache,a)){var n=this.cache[a];if(Array.isArray(n)&&(n="DIR"),!i||"DIR"===n)return t(null,n);if(i&&"FILE"===n)return t()}var r=this.statCache[a];if(void 0!==r){if(!1===r)return t(null,r);var s=r.isDirectory()?"DIR":"FILE";return i&&"FILE"===s?t():t(null,s,r)}var o=this,c=m("stat\0"+a,(function(i,n){if(n&&n.isSymbolicLink())return o.fs.stat(a,(function(i,r){i?o._stat2(e,a,null,n,t):o._stat2(e,a,i,r,t)}));o._stat2(e,a,i,n,t)}));c&&o.fs.lstat(a,c)},x.prototype._stat2=function(e,t,a,i,n){if(a&&("ENOENT"===a.code||"ENOTDIR"===a.code))return this.statCache[t]=!1,n();var r="/"===e.slice(-1);if(this.statCache[t]=i,"/"===t.slice(-1)&&i&&!i.isDirectory())return n(null,!1,i);var s=!0;return i&&(s=i.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||s,r&&"FILE"===s?n():n(null,s,i)}},9669:(e,t,a)=>{"use strict";var i=a(8121);function n(e,t,a){if("function"==typeof e&&(a=t,t=e,e=null),!(a>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var n=i(s),o=null,c=null,p=0,l=null,u={push:function(i,s){var f=n.get();f.context=e,f.release=d,f.value=i,f.callback=s||r,f.errorHandler=l,p>=a||u.paused?c?(c.next=f,c=f):(o=f,c=f,u.saturated()):(p++,t.call(e,f.value,f.worked))},drain:r,saturated:r,pause:function(){u.paused=!0},paused:!1,get concurrency(){return a},set concurrency(e){if(!(e>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(a=e,!u.paused)for(;o&&p<a;)p++,d()},running:function(){return p},resume:function(){if(u.paused){if(u.paused=!1,null===o)return p++,void d();for(;o&&p<a;)p++,d()}},idle:function(){return 0===p&&0===u.length()},length:function(){for(var e=o,t=0;e;)e=e.next,t++;return t},getQueue:function(){for(var e=o,t=[];e;)t.push(e.value),e=e.next;return t},unshift:function(i,s){var f=n.get();f.context=e,f.release=d,f.value=i,f.callback=s||r,f.errorHandler=l,p>=a||u.paused?o?(f.next=o,o=f):(o=f,c=f,u.saturated()):(p++,t.call(e,f.value,f.worked))},empty:r,kill:function(){o=null,c=null,u.drain=r},killAndDrain:function(){o=null,c=null,u.drain(),u.drain=r},error:function(e){l=e}};return u;function d(i){i&&n.release(i);var r=o;r&&p<=a?u.paused?p--:(c===o&&(c=null),o=r.next,r.next=null,t.call(e,r.value,r.worked),null===c&&u.empty()):0===--p&&u.drain()}}function r(){}function s(){this.value=null,this.callback=r,this.next=null,this.release=r,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,a){var i=e.callback,n=e.errorHandler,s=e.value;e.value=null,e.callback=r,e.errorHandler&&n(t,s),i.call(e.context,t,a),e.release(e)}}e.exports=n,e.exports.promise=function(e,t,a){"function"==typeof e&&(a=t,t=e,e=null);var i=n(e,(function(e,a){t.call(this,e).then((function(e){a(null,e)}),a)}),a),s=i.push,o=i.unshift;return i.push=function(e){var t=new Promise((function(t,a){s(e,(function(e,i){e?a(e):t(i)}))}));return t.catch(r),t},i.unshift=function(e){var t=new Promise((function(t,a){o(e,(function(e,i){e?a(e):t(i)}))}));return t.catch(r),t},i.drained=function(){return new Promise((function(e){process.nextTick((function(){if(i.idle())e();else{var t=i.drain;i.drain=function(){"function"==typeof t&&t(),e(),i.drain=t}}}))}))},i}},9678:e=>{"use strict";e.exports=JSON.parse('["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]')},9789:e=>{"use strict";e.exports=function(e){return"number"==typeof e?e-e===0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},9896:e=>{"use strict";e.exports=require("fs")},9903:(e,t,a)=>{"use strict";const i=a(1289);e.exports=(e,t)=>{const a=i(e.trim().replace(/^[=v]+/,""),t);return a?a.version:null}},9905:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(2203),n=a(3339);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new n.default(this._root,this._settings),this._stream=new i.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}}},9921:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const i=a(1452),n=a(2976),r=a(1531),s=a(1919);function o(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((a=>{const i={dirent:a,name:a.name,path:s.joinPathSegments(e,a.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(i.path);i.dirent=r.fs.createDirentFromStats(i.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return i}))}function c(e,t){return t.fs.readdirSync(e).map((a=>{const n=s.joinPathSegments(e,a,t.pathSegmentSeparator),o=i.statSync(n,t.fsStatSettings),c={name:a,path:n,dirent:r.fs.createDirentFromStats(a,o)};return t.stats&&(c.stats=o),c}))}t.read=function(e,t){return!t.stats&&n.IS_SUPPORT_READDIR_WITH_FILE_TYPES?o(e,t):c(e,t)},t.readdirWithFileTypes=o,t.readdir=c},9956:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(6928),n=a(1452),r=a(4718);t.default=class{constructor(e){this._settings=e,this._fsStatSettings=new n.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return i.resolve(this._settings.cwd,e)}_makeEntry(e,t){const a={name:t,path:t,dirent:r.fs.createDirentFromStats(t,e)};return this._settings.stats&&(a.stats=e),a}_isFatalError(e){return!r.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,a),r.exports}return a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=a(1481);const{program:t,createCommand:i,createArgument:n,createOption:r,CommanderError:s,InvalidArgumentError:o,InvalidOptionArgumentError:c,Command:p,Argument:l,Option:u,Help:d}=e;var f=a(443),m=a(6928),h=a.n(m),v=a(9896),g=a.n(v),b=a(5317);const y=process.cwd();var x=a(5993);const w=new p,_=x.Ay.bold.bgBlue(" XMCP ");w.name("xmcp").description("The MCP framework CLI").version("0.0.1"),w.command("dev").description("Start development mode").action((()=>{console.log(`${_} Starting development mode...`),(0,f.compile)({mode:"development"})})),w.command("build").description("Build for production").option("--vercel","Build for Vercel deployment").action((async e=>{console.log(`${_} Building for production...`),(0,f.compile)({mode:"production",onBuild:async()=>{if(e.vercel){console.log(`${_} Building for Vercel...`);try{await async function(){const e=h().join(y,".vercel","output"),t=h().join(e,"functions","api","index.func"),a=function(){const e=h().join(y,"pnpm-lock.yaml"),t=h().join(y,"package-lock.json"),a=h().join(y,"yarn.lock");return g().existsSync(e)?{manager:"pnpm",lockFile:"pnpm-lock.yaml",installCmd:"pnpm install"}:g().existsSync(t)?{manager:"npm",lockFile:"package-lock.json",installCmd:"npm install"}:g().existsSync(a)?{manager:"yarn",lockFile:"yarn.lock",installCmd:"yarn install"}:{manager:"npm",lockFile:"",installCmd:"npm install"}}();console.log("🚀 Building Vercel output structure..."),console.log(`📦 Detected package manager: ${a.manager}`),g().mkdirSync(e,{recursive:!0}),g().mkdirSync(t,{recursive:!0});const i=h().join(y,"dist"),n=h().join(i,"streamable-http.js"),r=h().join(t,"index.js");if(!g().existsSync(i))throw new Error("❌ Dist directory not found. Run build first.");if(!g().existsSync(n))throw new Error("❌ Application server file not found in dist/. Run build first.");g().copyFileSync(n,r);const s=g().readdirSync(i);for(const e of s){const a=h().join(i,e),n=h().join(t,e);if("streamable-http.js"===e||"sse.js"===e||"stdio.js"===e)continue;const r=g().statSync(a);r.isFile()?g().copyFileSync(a,n):r.isDirectory()&&g().cpSync(a,n,{recursive:!0})}const o=h().join(y,"package.json"),c=h().join(t,"package.json");g().copyFileSync(o,c),console.log("Server and dependency files copied to function directory"),g().writeFileSync(h().join(t,".vc-config.json"),JSON.stringify({handler:"index.js",runtime:"nodejs22.x",launcherType:"Nodejs",shouldAddHelpers:!0},null,2)),g().writeFileSync(h().join(e,"config.json"),JSON.stringify({version:3,routes:[{src:"^/(.*)$",dest:"/api"},{handle:"filesystem"}]},null,2)),console.log("📦 Installing production dependencies...");try{(0,b.execSync)(a.installCmd,{cwd:t,stdio:"inherit"}),console.log("✅ Dependencies installed")}catch(e){throw console.error("❌ Failed to install dependencies:",e),e}console.log("✅ Vercel output structure created successfully")}()}catch(e){console.error(x.Ay.red("❌ Failed to create Vercel output structure:"),e)}}}})})),w.parse()})(),{}})()));
|
|
24
|
+
`,$a=e=>{let t=!1;const a=(0,Na.spawn)(process.execPath,["-e",La,String(e.pid)],{stdio:"ignore"});return a.on("exit",(()=>t=!0)),e.on("exit",(()=>{t||a.kill("SIGKILL")})),a};a(7619),Ia().config();let Da=null;function Ma(){const e=(0,Na.spawn)("node",["dist/streamable-http.js"],{stdio:"inherit",shell:!0});return $a(e),e}function qa({mode:e,onBuild:t,configFilePath:a="xmcp.config.json"}){const n=Date.now();let o=!1;const p=function(e){const t=function(e){const t=r().resolve(process.cwd(),e);return v().existsSync(t)?v().readFileSync(t,"utf8"):null}(e);return t?(a=JSON.parse(t),Vt.parse(a)):{sse:!0,stdio:!0,"streamable-http":!0};var a}(a);let l=function(e,t){const a=process.cwd(),n={mode:e,watch:"development"===e,output:{filename:"[name].js",path:c,libraryTarget:"commonjs2"},target:"node",externals:[m()()],resolve:{fallback:{process:!1},alias:{"node:process":"process"},extensions:[".tsx",".ts",".jsx",".js",".json"]},plugins:[new Wt],module:{rules:[{test:/\.ts$/,use:"swc-loader"}]}},o={INJECTED_TOOLS:[r().resolve(a,".xmcp/import-map.js"),"tools"],INJECTED_MIDDLEWARE:[r().resolve(a,".xmcp/import-map.js"),"middleware"]},p={},l={};if(t.stdio&&(l.stdio=r().join(s,"stdio.js")),t.sse){l.sse=r().join(s,"sse.js"),p.SSE_DEBUG="development"===e;let a={};"object"==typeof t.sse?(p.SSE_PORT=t.sse.port,p.SSE_BODY_SIZE_LIMIT=JSON.stringify(t.sse.bodySizeLimit),a=t.sse.cors||{}):(p.SSE_PORT=qt,p.SSE_BODY_SIZE_LIMIT=JSON.stringify(Ft),a={}),p.SSE_CORS_ORIGIN=JSON.stringify(a.origin??""),p.SSE_CORS_METHODS=JSON.stringify(a.methods??""),p.SSE_CORS_ALLOWED_HEADERS=JSON.stringify(a.allowedHeaders??""),p.SSE_CORS_EXPOSED_HEADERS=JSON.stringify(a.exposedHeaders??""),p.SSE_CORS_CREDENTIALS="boolean"==typeof a.credentials&&a.credentials,p.SSE_CORS_MAX_AGE="number"==typeof a.maxAge?a.maxAge:0}if(t["streamable-http"]){l["streamable-http"]=r().join(s,"streamable-http.js"),p.STREAMABLE_HTTP_DEBUG="development"===e;let a={};"object"==typeof t["streamable-http"]?(p.STREAMABLE_HTTP_PORT=t["streamable-http"].port,p.STREAMABLE_HTTP_BODY_SIZE_LIMIT=JSON.stringify(t["streamable-http"].bodySizeLimit),p.STREAMABLE_HTTP_ENDPOINT=JSON.stringify(t["streamable-http"].endpoint),p.STREAMABLE_HTTP_STATELESS=t["streamable-http"].stateless,a=t["streamable-http"].cors||{}):(p.STREAMABLE_HTTP_PORT=Bt,p.STREAMABLE_HTTP_BODY_SIZE_LIMIT=JSON.stringify(zt),p.STREAMABLE_HTTP_ENDPOINT=JSON.stringify(Ht),p.STREAMABLE_HTTP_STATELESS=Zt,a={}),p.STREAMABLE_HTTP_CORS_ORIGIN=JSON.stringify(a.origin??""),p.STREAMABLE_HTTP_CORS_METHODS=JSON.stringify(a.methods??""),p.STREAMABLE_HTTP_CORS_ALLOWED_HEADERS=JSON.stringify(a.allowedHeaders??""),p.STREAMABLE_HTTP_CORS_EXPOSED_HEADERS=JSON.stringify(a.exposedHeaders??""),p.STREAMABLE_HTTP_CORS_CREDENTIALS="boolean"==typeof a.credentials&&a.credentials,p.STREAMABLE_HTTP_CORS_MAX_AGE="number"==typeof a.maxAge?a.maxAge:0}return n.entry=l,n.plugins.push(new i.ProvidePlugin(o)),n.plugins.push(new i.DefinePlugin(p)),n}(e,p);p.webpack&&(l=p.webpack(l));let u=[],d=!1;const f=Kt.watch("./src/tools/**/*.ts",{ignored:/(^|[\/\\])\../,persistent:"development"===e,ignoreInitial:!1}),h=Kt.watch("./src/middleware.ts",{ignored:/(^|[\/\\])\../,persistent:"development"===e,ignoreInitial:!1});f.on("add",(e=>{u.push(e),o&&Fa(u,d)})).on("unlink",(e=>{u=u.filter((t=>t!==e)),o&&Fa(u,d)})),h.on("add",(e=>{d=!0,o&&Fa(u,d)})).on("unlink",(e=>{d=!1,o&&Fa(u,d)}));let g=!1,b=!1;function y(){if(!g||!b)return;let a=!0;var r;o=!0,function(e,{force:t,dryRun:a,cwd:i=Xt.cwd(),...n}={}){n={expandDirectories:!1,onlyFiles:!1,followSymbolicLinks:!1,cwd:i,...n},e=function(e){return(e=Array.isArray(e)?e:[e]).map((e=>"win32"===Xt.platform&&!1===Ta(e)?na(e):e))}(e);const r=ja(e,n).sort(((e,t)=>t.localeCompare(e))).map((e=>(e=Yt.resolve(i,e),t||function(e,t){if(function(e){let t=Xt.cwd();return e=Yt.resolve(e),"win32"===Xt.platform&&(t=t.toLowerCase(),e=e.toLowerCase()),e===t}(e))throw new Error("Cannot delete the current working directory. Can be overridden with the `force` option.");if(!function(e,t){const a=Yt.relative(t,e);return Boolean(a&&".."!==a&&!a.startsWith(`..${Yt.sep}`)&&a!==Yt.resolve(e))}(e,t))throw new Error("Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option.")}(e,i),a||Ca.sync(e,Pa),e)));r.sort(((e,t)=>e.localeCompare(t)))}(s),r=s,v().existsSync(r)||v().mkdirSync(r,{recursive:!0}),"production"===e&&(f.close(),h.close()),Fa(u,d),(0,i.webpack)(l,((i,r)=>{if(i&&console.error(i),r?.hasErrors())console.error(r.toString({colors:!0,chunks:!1}));else if(a){a=!1;const i=Date.now()-n;console.log(`Compiled in ${Gt.Ay.bold.green(`${i}ms`)}`),function(e,t){if("development"===e){console.log(Gt.Ay.bold.green("Starting inspector..."));const e=["@modelcontextprotocol/inspector@latest"];t.stdio&&e.push("node","dist/stdio.js"),$a((0,Na.spawn)("npx",e,{stdio:"inherit",shell:!0})).on("error",(e=>{console.error("Failed to start inspector:",e)}))}const a=[];t.sse&&a.push("- SSE server"),t.stdio&&a.push("- STDIO server"),t["streamable-http"]&&a.push("- Streamable HTTP server"),console.log(Gt.Ay.bold.green("Built:")),a.forEach((e=>{console.log(Gt.Ay.bold(e))}))}(e,p),t?.()}else"development"===e&&p["streamable-http"]&&async function(){Da?(console.log("Restarting http server"),await async function(e){e.kill("SIGKILL"),await new Promise((t=>{e.on("exit",t)}))}(Da),Da=Ma()):(console.log("Starting http server"),Da=Ma())}()}))}f.on("ready",(()=>{g=!0,y()})),h.on("ready",(()=>{b=!0,y()}))}function Fa(e,t){const a=function(e,t){return`\nexport const tools = {\n${e.map((e=>`"${e}": () => import("../${e}"),`)).join("\n")}\n};\n\n${t?'export const middleware = () => import("../src/middleware");':""}\n`}(e,t);v().writeFileSync(r().join(s,"import-map.js"),a)}},575:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4718);t.default=class{constructor(e,t,a){this._patterns=e,this._settings=t,this._micromatchOptions=a,this._storage=[],this._fillStorage()}_fillStorage(){for(const e of this._patterns){const t=this._getPatternSegments(e),a=this._splitSegmentsIntoSections(t);this._storage.push({complete:a.length<=1,pattern:e,segments:t,sections:a})}}_getPatternSegments(e){return i.pattern.getPatternParts(e,this._micromatchOptions).map((e=>i.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:i.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return i.array.splitWhen(e,(e=>e.dynamic&&i.pattern.hasGlobStar(e.pattern)))}}},618:(e,t)=>{t.suggestSimilar=function(e,t){if(!t||0===t.length)return"";t=Array.from(new Set(t));const a=e.startsWith("--");a&&(e=e.slice(2),t=t.map((e=>e.slice(2))));let i=[],n=3;return t.forEach((t=>{if(t.length<=1)return;const a=function(e,t){if(Math.abs(e.length-t.length)>3)return Math.max(e.length,t.length);const a=[];for(let t=0;t<=e.length;t++)a[t]=[t];for(let e=0;e<=t.length;e++)a[0][e]=e;for(let i=1;i<=t.length;i++)for(let n=1;n<=e.length;n++){let r=1;r=e[n-1]===t[i-1]?0:1,a[n][i]=Math.min(a[n-1][i]+1,a[n][i-1]+1,a[n-1][i-1]+r),n>1&&i>1&&e[n-1]===t[i-2]&&e[n-2]===t[i-1]&&(a[n][i]=Math.min(a[n][i],a[n-2][i-2]+1))}return a[e.length][t.length]}(e,t),r=Math.max(e.length,t.length);(r-a)/r>.4&&(a<n?(n=a,i=[t]):a===n&&i.push(t))})),i.sort(((e,t)=>e.localeCompare(t))),a&&(i=i.map((e=>`--${e}`))),i.length>1?`\n(Did you mean one of ${i.join(", ")}?)`:1===i.length?`\n(Did you mean ${i[0]}?)`:""}},627:(e,t,a)=>{var i,n,r=a(9896),s=a(8254),o=a(111),c=a(8359),p=a(9023);function l(e,t){Object.defineProperty(e,i,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(i=Symbol.for("graceful-fs.queue"),n=Symbol.for("graceful-fs.previous")):(i="___graceful-fs.queue",n="___graceful-fs.previous");var u,d=function(){};if(p.debuglog?d=p.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(d=function(){var e=p.format.apply(p,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!r[i]){var f=global[i]||[];l(r,f),r.close=function(e){function t(t,a){return e.call(r,t,(function(e){e||v(),"function"==typeof a&&a.apply(this,arguments)}))}return Object.defineProperty(t,n,{value:e}),t}(r.close),r.closeSync=function(e){function t(t){e.apply(r,arguments),v()}return Object.defineProperty(t,n,{value:e}),t}(r.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){d(r[i]),a(2613).equal(r[i].length,0)}))}function m(e){s(e),e.gracefulify=m,e.createReadStream=function(t,a){return new e.ReadStream(t,a)},e.createWriteStream=function(t,a){return new e.WriteStream(t,a)};var t=e.readFile;e.readFile=function(e,a,i){return"function"==typeof a&&(i=a,a=null),function e(a,i,n,r){return t(a,i,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?"function"==typeof n&&n.apply(this,arguments):h([e,[a,i,n],t,r||Date.now(),Date.now()])}))}(e,a,i)};var a=e.writeFile;e.writeFile=function(e,t,i,n){return"function"==typeof i&&(n=i,i=null),function e(t,i,n,r,s){return a(t,i,n,(function(a){!a||"EMFILE"!==a.code&&"ENFILE"!==a.code?"function"==typeof r&&r.apply(this,arguments):h([e,[t,i,n,r],a,s||Date.now(),Date.now()])}))}(e,t,i,n)};var i=e.appendFile;i&&(e.appendFile=function(e,t,a,n){return"function"==typeof a&&(n=a,a=null),function e(t,a,n,r,s){return i(t,a,n,(function(i){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?"function"==typeof r&&r.apply(this,arguments):h([e,[t,a,n,r],i,s||Date.now(),Date.now()])}))}(e,t,a,n)});var n=e.copyFile;n&&(e.copyFile=function(e,t,a,i){return"function"==typeof a&&(i=a,a=0),function e(t,a,i,r,s){return n(t,a,i,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?"function"==typeof r&&r.apply(this,arguments):h([e,[t,a,i,r],n,s||Date.now(),Date.now()])}))}(e,t,a,i)});var r=e.readdir;e.readdir=function(e,t,a){"function"==typeof t&&(a=t,t=null);var i=c.test(process.version)?function(e,t,a,i){return r(e,n(e,t,a,i))}:function(e,t,a,i){return r(e,t,n(e,t,a,i))};return i(e,t,a);function n(e,t,a,n){return function(r,s){!r||"EMFILE"!==r.code&&"ENFILE"!==r.code?(s&&s.sort&&s.sort(),"function"==typeof a&&a.call(this,r,s)):h([i,[e,t,a],r,n||Date.now(),Date.now()])}}};var c=/^v[0-5]\./;if("v0.8"===process.version.substr(0,4)){var p=o(e);v=p.ReadStream,g=p.WriteStream}var l=e.ReadStream;l&&(v.prototype=Object.create(l.prototype),v.prototype.open=function(){var e=this;y(e.path,e.flags,e.mode,(function(t,a){t?(e.autoClose&&e.destroy(),e.emit("error",t)):(e.fd=a,e.emit("open",a),e.read())}))});var u=e.WriteStream;u&&(g.prototype=Object.create(u.prototype),g.prototype.open=function(){var e=this;y(e.path,e.flags,e.mode,(function(t,a){t?(e.destroy(),e.emit("error",t)):(e.fd=a,e.emit("open",a))}))}),Object.defineProperty(e,"ReadStream",{get:function(){return v},set:function(e){v=e},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return g},set:function(e){g=e},enumerable:!0,configurable:!0});var d=v;Object.defineProperty(e,"FileReadStream",{get:function(){return d},set:function(e){d=e},enumerable:!0,configurable:!0});var f=g;function v(e,t){return this instanceof v?(l.apply(this,arguments),this):v.apply(Object.create(v.prototype),arguments)}function g(e,t){return this instanceof g?(u.apply(this,arguments),this):g.apply(Object.create(g.prototype),arguments)}Object.defineProperty(e,"FileWriteStream",{get:function(){return f},set:function(e){f=e},enumerable:!0,configurable:!0});var b=e.open;function y(e,t,a,i){return"function"==typeof a&&(i=a,a=null),function e(t,a,i,n,r){return b(t,a,i,(function(s,o){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?"function"==typeof n&&n.apply(this,arguments):h([e,[t,a,i,n],s,r||Date.now(),Date.now()])}))}(e,t,a,i)}return e.open=y,e}function h(e){d("ENQUEUE",e[0].name,e[1]),r[i].push(e),g()}function v(){for(var e=Date.now(),t=0;t<r[i].length;++t)r[i][t].length>2&&(r[i][t][3]=e,r[i][t][4]=e);g()}function g(){if(clearTimeout(u),u=void 0,0!==r[i].length){var e=r[i].shift(),t=e[0],a=e[1],n=e[2],s=e[3],o=e[4];if(void 0===s)d("RETRY",t.name,a),t.apply(null,a);else if(Date.now()-s>=6e4){d("TIMEOUT",t.name,a);var c=a.pop();"function"==typeof c&&c.call(null,n)}else{var p=Date.now()-o,l=Math.max(o-s,1);p>=Math.min(1.2*l,100)?(d("RETRY",t.name,a),t.apply(null,a.concat([s]))):r[i].push(e)}void 0===u&&(u=setTimeout(g,0))}}global[i]||l(global,r[i]),e.exports=m(c(r)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched&&(e.exports=m(r),r.__patched=!0)},723:(e,t)=>{class a extends Error{constructor(e,t,a){super(a),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=t,this.exitCode=e,this.nestedError=void 0}}t.CommanderError=a,t.InvalidArgumentError=class extends a{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}},764:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(1452),n=a(4176),r=a(9956);class s extends r.default{constructor(){super(...arguments),this._walkSync=n.walkSync,this._statSync=i.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const a=[];for(const i of e){const e=this._getFullEntryPath(i),n=this._getEntry(e,i,t);null!==n&&t.entryFilter(n)&&a.push(n)}return a}_getEntry(e,t,a){try{const a=this._getStat(e);return this._makeEntry(a,t)}catch(e){if(a.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}t.default=s},803:e=>{"use strict";e.exports={MAX_LENGTH:1e4,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:"\n",CHAR_NO_BREAK_SPACE:" ",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:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},809:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(5127),n=a(8036);class r extends n.default{constructor(){super(...arguments),this._reader=new i.default(this._settings)}async read(e){const t=this._getRootDirectory(e),a=this._getReaderOptions(e);return(await this.api(t,e,a)).map((e=>a.transform(e)))}api(e,t,a){return t.dynamic?this._reader.dynamic(e,a):this._reader.static(t.patterns,a)}}t.default=r},823:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPosixPathToPattern=t.convertWindowsPathToPattern=t.convertPathToPattern=t.escapePosixPath=t.escapeWindowsPath=t.escape=t.removeLeadingDotSegment=t.makeAbsolute=t.unixify=void 0;const i=a(857),n=a(6928),r="win32"===i.platform(),s=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,o=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,c=/^\\\\([.?])/,p=/\\(?![!()+@[\]{}])/g;function l(e){return e.replace(o,"\\$2")}function u(e){return e.replace(s,"\\$2")}function d(e){return l(e).replace(c,"//$1").replace(p,"/")}function f(e){return u(e)}t.unixify=function(e){return e.replace(/\\/g,"/")},t.makeAbsolute=function(e,t){return n.resolve(e,t)},t.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e},t.escape=r?l:u,t.escapeWindowsPath=l,t.escapePosixPath=u,t.convertPathToPattern=r?d:f,t.convertWindowsPathToPattern=d,t.convertPosixPathToPattern=f},826:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t,a,n,r)=>{"string"==typeof a&&(r=n,n=a,a=void 0);try{return new i(e instanceof i?e.version:e,a).inc(t,n,r).version}catch(e){return null}}},857:e=>{"use strict";e.exports=require("os")},894:e=>{function t(e){return Array.isArray(e)?e:[e]}const a=/^\s+$/,i=/(?:[^\\]|^)\\$/,n=/^\\!/,r=/^\\#/,s=/\r?\n/g,o=/^\.*\/|^\.+$/;let c="node-ignore";"undefined"!=typeof Symbol&&(c=Symbol.for("node-ignore"));const p=c,l=/([0-z])-([0-z])/g,u=()=>!1,d=[[/^\uFEFF/,()=>""],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,a)=>t+(0===a.indexOf("\\")?" ":"")],[/(\\+?)\s/g,(e,t)=>{const{length:a}=t;return t.slice(0,a-a%2)+" "}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,a)=>t+6<a.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,a)=>t+a.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,a,i,n)=>"\\"===t?`\\[${a}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(i)}${n}`:"]"===n&&i.length%2==0?`[${(e=>e.replace(l,((e,t,a)=>t.charCodeAt(0)<=a.charCodeAt(0)?e:"")))(a)}${i}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>(t?`${t}[^/]+`:"[^/]*")+"(?=$|\\/$)"]],f=Object.create(null),m=e=>"string"==typeof e;class h{constructor(e,t,a,i){this.origin=e,this.pattern=t,this.negative=a,this.regex=i}}const v=(e,t)=>{throw new t(e)},g=(e,t,a)=>m(e)?e?!g.isNotRelative(e)||a(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):a("path must not be empty",TypeError):a(`path must be a string, but got \`${t}\``,TypeError),b=e=>o.test(e);g.isNotRelative=b,g.convert=e=>e;class y{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:a=!1}={}){var i;i=p,Object.defineProperty(this,i,{value:true}),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=a,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[p])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&m(e)&&!a.test(e)&&!i.test(e)&&0!==e.indexOf("#"))(e)){const t=((e,t)=>{const a=e;let i=!1;0===e.indexOf("!")&&(i=!0,e=e.substr(1));const s=((e,t)=>{let a=f[e];return a||(a=d.reduce(((t,[a,i])=>t.replace(a,i.bind(e))),e),f[e]=a),t?new RegExp(a,"i"):new RegExp(a)})(e=e.replace(n,"!").replace(r,"#"),t);return new h(a,e,i,s)})(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,t(m(e)?(e=>e.split(s))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let a=!1,i=!1;return this._rules.forEach((n=>{const{negative:r}=n;i===r&&a!==i||r&&!a&&!i&&!t||n.regex.test(e)&&(a=!r,i=r)})),{ignored:a,unignored:i}}_test(e,t,a,i){const n=e&&g.convert(e);return g(n,e,this._allowRelativePaths?u:v),this._t(n,t,a,i)}_t(e,t,a,i){if(e in t)return t[e];if(i||(i=e.split("/")),i.pop(),!i.length)return t[e]=this._testOne(e,a);const n=this._t(i.join("/")+"/",t,a,i);return t[e]=n.ignored?n:this._testOne(e,a)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return t(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const x=e=>new y(e);if(x.isPathValid=e=>g(e&&g.convert(e),e,u),x.default=x,e.exports=x,"undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const e=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");g.convert=e;const t=/^[a-z]:\//i;g.isNotRelative=e=>t.test(e)||b(e)}},898:(e,t,a)=>{"use strict";const i=a(2771),n=a(2326),r=a(7743);e.exports=(e,t)=>{e=new n(e,t);let a=new i("0.0.0");if(e.test(a))return a;if(a=new i("0.0.0-0"),e.test(a))return a;a=null;for(let t=0;t<e.set.length;++t){const n=e.set[t];let s=null;n.forEach((e=>{const t=new i(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":s&&!r(t,s)||(s=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!s||a&&!r(a,s)||(a=s)}return a&&e.test(a)?a:null}},932:e=>{"use strict";e.exports=require("process")},1081:(e,t)=>{"use strict";function a(e,t){e(t)}function i(e,t){e(null,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t,n){t.fs.lstat(e,((r,s)=>{null===r?s.isSymbolicLink()&&t.followSymbolicLink?t.fs.stat(e,((e,r)=>{if(null!==e)return t.throwErrorOnBrokenSymbolicLink?void a(n,e):void i(n,s);t.markSymbolicLink&&(r.isSymbolicLink=()=>!0),i(n,r)})):i(n,s):a(n,r)}))}},1193:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var a=function(){};a.prototype=t.prototype,e.prototype=new a,e.prototype.constructor=e}}},1199:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,n=a(6289),r=a(6928),s=a(8006),o=a(9630),c=i((async function(e){let t;try{t=await n.readdir(e)}catch{return s.mkdirs(e)}return Promise.all(t.map((t=>o.remove(r.join(e,t)))))}));function p(e){let t;try{t=n.readdirSync(e)}catch{return s.mkdirsSync(e)}t.forEach((t=>{t=r.join(e,t),o.removeSync(t)}))}e.exports={emptyDirSync:p,emptydirSync:p,emptyDir:c,emptydir:c}},1251:e=>{var t=Object.prototype.toString,a=Array.isArray;e.exports=function(e){return"string"==typeof e||!a(e)&&function(e){return!!e&&"object"==typeof e}(e)&&"[object String]"==t.call(e)}},1289:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t,a=!1)=>{if(e instanceof i)return e;try{return new i(e,t)}catch(e){if(!a)return null;throw e}}},1314:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t,a)=>0===i(e,t,a)},1319:(e,t,a)=>{"use strict";const i=a(6928);e.exports.checkPath=function(e){if("win32"===process.platform&&/[<>:"|?*]/.test(e.replace(i.parse(e).root,""))){const t=new Error(`Path contains invalid characters: ${e}`);throw t.code="EINVAL",t}}},1376:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,n=a(6289),r=a(6928),s=a(8006),o=a(3640).pathExists;e.exports={outputFile:i((async function(e,t,a="utf-8"){const i=r.dirname(e);return await o(i)||await s.mkdirs(i),n.writeFile(e,t,a)})),outputFileSync:function(e,...t){const a=r.dirname(e);n.existsSync(a)||s.mkdirsSync(a),n.writeFileSync(e,...t)}}},1435:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const i=a(9896);t.FILE_SYSTEM_ADAPTER={lstat:i.lstat,stat:i.stat,lstatSync:i.lstatSync,statSync:i.statSync,readdir:i.readdir,readdirSync:i.readdirSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},1452:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statSync=t.stat=t.Settings=void 0;const i=a(1081),n=a(3858),r=a(4691);function s(e={}){return e instanceof r.default?e:new r.default(e)}t.Settings=r.default,t.stat=function(e,t,a){"function"!=typeof t?i.read(e,s(t),a):i.read(e,s(),t)},t.statSync=function(e,t){const a=s(t);return n.read(e,a)}},1481:(e,t,a)=>{const{Argument:i}=a(2670),{Command:n}=a(7416),{CommanderError:r,InvalidArgumentError:s}=a(723),{Help:o}=a(2966),{Option:c}=a(5156);(t=e.exports=new n).program=t,t.Argument=i,t.Command=n,t.CommanderError=r,t.Help=o,t.InvalidArgumentError=s,t.InvalidOptionArgumentError=s,t.Option=c},1525:(e,t,a)=>{var i=a(4397),n=a(169);t.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],t.sign=i.sign,t.verify=n.verify,t.decode=n.decode,t.isValid=n.isValid,t.createSign=function(e){return new i(e)},t.createVerify=function(e){return new n(e)}},1531:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fs=void 0;const i=a(8024);t.fs=i},1573:(e,t,a)=>{"use strict";const i=a(6640);e.exports=(e,t,a)=>i(e,t,"<",a)},1643:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(2203),n=a(1452),r=a(4176),s=a(9956);class o extends s.default{constructor(){super(...arguments),this._walkStream=r.walkStream,this._stat=n.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const a=e.map(this._getFullEntryPath,this),n=new i.PassThrough({objectMode:!0});n._write=(i,r,s)=>this._getEntry(a[i],e[i],t).then((e=>{null!==e&&t.entryFilter(e)&&n.push(e),i===a.length-1&&n.end(),s()})).catch(s);for(let e=0;e<a.length;e++)n.write(e);return n}_getEntry(e,t,a){return this._getStat(e).then((e=>this._makeEntry(e,t))).catch((e=>{if(a.errorFilter(e))return null;throw e}))}_getStat(e){return new Promise(((t,a)=>{this._stat(e,this._fsStatSettings,((e,i)=>null===e?t(i):a(e)))}))}}t.default=o},1708:e=>{"use strict";e.exports=require("node:process")},1796:(e,t,a)=>{"use strict";const i=a(627),n=a(6928),r=a(8006).mkdirsSync,s=a(9467).utimesMillisSync,o=a(5838);function c(e,t,a,r){const s=(r.dereference?i.statSync:i.lstatSync)(t);if(s.isDirectory())return function(e,t,a,n,r){return t?u(a,n,r):function(e,t,a,n){return i.mkdirSync(a),u(t,a,n),l(a,e)}(e.mode,a,n,r)}(s,e,t,a,r);if(s.isFile()||s.isCharacterDevice()||s.isBlockDevice())return function(e,t,a,n,r){return t?function(e,t,a,n){if(n.overwrite)return i.unlinkSync(a),p(e,t,a,n);if(n.errorOnExist)throw new Error(`'${a}' already exists`)}(e,a,n,r):p(e,a,n,r)}(s,e,t,a,r);if(s.isSymbolicLink())return function(e,t,a,r){let s=i.readlinkSync(t);if(r.dereference&&(s=n.resolve(process.cwd(),s)),e){let e;try{e=i.readlinkSync(a)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return i.symlinkSync(s,a);throw e}if(r.dereference&&(e=n.resolve(process.cwd(),e)),o.isSrcSubdir(s,e))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${e}'.`);if(o.isSrcSubdir(e,s))throw new Error(`Cannot overwrite '${e}' with '${s}'.`);return function(e,t){return i.unlinkSync(t),i.symlinkSync(e,t)}(s,a)}return i.symlinkSync(s,a)}(e,t,a,r);if(s.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(s.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}function p(e,t,a,n){return i.copyFileSync(t,a),n.preserveTimestamps&&function(e,t,a){(function(e){return!(128&e)})(e)&&function(e,t){l(e,128|t)}(a,e),function(e,t){const a=i.statSync(e);s(t,a.atime,a.mtime)}(t,a)}(e.mode,t,a),l(a,e.mode)}function l(e,t){return i.chmodSync(e,t)}function u(e,t,a){const n=i.opendirSync(e);try{let i;for(;null!==(i=n.readSync());)d(i.name,e,t,a)}finally{n.closeSync()}}function d(e,t,a,i){const r=n.join(t,e),s=n.join(a,e);if(i.filter&&!i.filter(r,s))return;const{destStat:p}=o.checkPathsSync(r,s,"copy",i);return c(p,r,s,i)}e.exports=function(e,t,a){"function"==typeof a&&(a={filter:a}),(a=a||{}).clobber=!("clobber"in a)||!!a.clobber,a.overwrite="overwrite"in a?!!a.overwrite:a.clobber,a.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0002");const{srcStat:s,destStat:p}=o.checkPathsSync(e,t,"copy",a);if(o.checkParentPathsSync(e,s,t,"copy"),a.filter&&!a.filter(e,t))return;const l=n.dirname(t);return i.existsSync(l)||r(l),c(p,e,t,a)}},1806:e=>{"use strict";function t(e){return"/"===e.charAt(0)}function a(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(e),a=t[1]||"",i=Boolean(a&&":"!==a.charAt(1));return Boolean(t[2]||i)}e.exports="win32"===process.platform?a:t,e.exports.posix=t,e.exports.win32=a},1811:(e,t)=>{"use strict";t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find((e=>e.type===t)),t.exceedsLimit=(e,a,i=1,n)=>!1!==n&&!(!t.isInteger(e)||!t.isInteger(a))&&(Number(a)-Number(e))/Number(i)>=n,t.escapeNode=(e,t=0,a)=>{const i=e.nodes[t];i&&(a&&i.type===a||"open"===i.type||"close"===i.type)&&!0!==i.escaped&&(i.value="\\"+i.value,i.escaped=!0)},t.encloseBrace=e=>!("brace"!==e.type||e.commas>>0+e.ranges|0||(e.invalid=!0,0)),t.isInvalidBrace=e=>!("brace"!==e.type||!0!==e.invalid&&!e.dollar&&(e.commas>>0+e.ranges|0&&!0===e.open&&!0===e.close||(e.invalid=!0,0))),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,t.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),t.flatten=(...e)=>{const t=[],a=e=>{for(let i=0;i<e.length;i++){const n=e[i];Array.isArray(n)?a(n):void 0!==n&&t.push(n)}return t};return a(e),t}},1861:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t,a)=>i(t,e,a)},1872:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,n=a(6928),r=a(6289),s=a(8006);e.exports={createFile:i((async function(e){let t;try{t=await r.stat(e)}catch{}if(t&&t.isFile())return;const a=n.dirname(e);let i=null;try{i=await r.stat(a)}catch(t){if("ENOENT"===t.code)return await s.mkdirs(a),void await r.writeFile(e,"");throw t}i.isDirectory()?await r.writeFile(e,""):await r.readdir(a)})),createFileSync:function(e){let t;try{t=r.statSync(e)}catch{}if(t&&t.isFile())return;const a=n.dirname(e);try{r.statSync(a).isDirectory()||r.readdirSync(a)}catch(e){if(!e||"ENOENT"!==e.code)throw e;s.mkdirsSync(a)}r.writeFileSync(e,"")}}},1882:(e,t,a)=>{var i=a(6608).Buffer,n=a(2203);function r(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=i.alloc(0),this;if("function"==typeof e.pipe)return this.buffer=i.alloc(0),e.pipe(this),this;if(e.length||"object"==typeof e)return this.buffer=e,this.writable=!1,process.nextTick(function(){this.emit("end",e),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof e+")")}a(9023).inherits(r,n),r.prototype.write=function(e){this.buffer=i.concat([this.buffer,i.from(e)]),this.emit("data",e)},r.prototype.end=function(e){e&&this.write(e),this.emit("end",e),this.emit("close"),this.writable=!1,this.readable=!1},e.exports=r},1913:(e,t,a)=>{"use strict";const i=a(2326);e.exports=(e,t)=>{try{return new i(e,t).range||"*"}catch(e){return null}}},1919:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=void 0,t.joinPathSegments=function(e,t,a){return e.endsWith(a)?e+t:e+a+t}},2188:e=>{"use strict";function t(e){return(e/8|0)+(e%8==0?0:1)}var a={ES256:t(256),ES384:t(384),ES512:t(521)};e.exports=function(e){var t=a[e];if(t)return t;throw new Error('Unknown algorithm "'+e+'"')}},2203:e=>{"use strict";e.exports=require("stream")},2223:(e,t,a)=>{"use strict";const i=a(1289);e.exports=(e,t)=>{const a=i(e,null,!0),n=i(t,null,!0),r=a.compare(n);if(0===r)return null;const s=r>0,o=s?a:n,c=s?n:a,p=!!o.prerelease.length;if(c.prerelease.length&&!p){if(!c.patch&&!c.minor)return"major";if(0===c.compareMain(o))return c.minor&&!c.patch?"minor":"patch"}const l=p?"pre":"";return a.major!==n.major?l+"major":a.minor!==n.minor?l+"minor":a.patch!==n.patch?l+"patch":"prerelease"}},2326:(e,t,a)=>{"use strict";const i=/\s+/g;class n{constructor(e,t){if(t=s(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(i," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&h)|(this.options.loose&&v))+":"+e,a=r.get(t);if(a)return a;const i=this.options.loose,n=i?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(n,O(this.options.includePrerelease)),c("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),c("comparator trim",e),e=e.replace(l[u.TILDETRIM],f),c("tilde trim",e),e=e.replace(l[u.CARETTRIM],m),c("caret trim",e);let s=e.split(" ").map((e=>x(e,this.options))).join(" ").split(/\s+/).map((e=>C(e,this.options)));i&&(s=s.filter((e=>(c("loose invalid filter",e,this.options),!!e.match(l[u.COMPARATORLOOSE]))))),c("range list",s);const p=new Map,b=s.map((e=>new o(e,this.options)));for(const e of b){if(g(e))return[e];p.set(e.value,e)}p.size>1&&p.has("")&&p.delete("");const y=[...p.values()];return r.set(t,y),y}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some((a=>y(a,t)&&e.set.some((e=>y(e,t)&&a.every((a=>e.every((e=>a.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new p(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(P(this.set[t],e,this.options))return!0;return!1}}e.exports=n;const r=new(a(2351)),s=a(2860),o=a(9003),c=a(4159),p=a(2771),{safeRe:l,t:u,comparatorTrimReplace:d,tildeTrimReplace:f,caretTrimReplace:m}=a(6999),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:v}=a(229),g=e=>"<0.0.0-0"===e.value,b=e=>""===e.value,y=(e,t)=>{let a=!0;const i=e.slice();let n=i.pop();for(;a&&i.length;)a=i.every((e=>n.intersects(e,t))),n=i.pop();return a},x=(e,t)=>(c("comp",e,t),e=S(e,t),c("caret",e),e=_(e,t),c("tildes",e),e=j(e,t),c("xrange",e),e=A(e,t),c("stars",e),e),w=e=>!e||"x"===e.toLowerCase()||"*"===e,_=(e,t)=>e.trim().split(/\s+/).map((e=>k(e,t))).join(" "),k=(e,t)=>{const a=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(a,((t,a,i,n,r)=>{let s;return c("tilde",e,t,a,i,n,r),w(a)?s="":w(i)?s=`>=${a}.0.0 <${+a+1}.0.0-0`:w(n)?s=`>=${a}.${i}.0 <${a}.${+i+1}.0-0`:r?(c("replaceTilde pr",r),s=`>=${a}.${i}.${n}-${r} <${a}.${+i+1}.0-0`):s=`>=${a}.${i}.${n} <${a}.${+i+1}.0-0`,c("tilde return",s),s}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{c("caret",e,t);const a=t.loose?l[u.CARETLOOSE]:l[u.CARET],i=t.includePrerelease?"-0":"";return e.replace(a,((t,a,n,r,s)=>{let o;return c("caret",e,t,a,n,r,s),w(a)?o="":w(n)?o=`>=${a}.0.0${i} <${+a+1}.0.0-0`:w(r)?o="0"===a?`>=${a}.${n}.0${i} <${a}.${+n+1}.0-0`:`>=${a}.${n}.0${i} <${+a+1}.0.0-0`:s?(c("replaceCaret pr",s),o="0"===a?"0"===n?`>=${a}.${n}.${r}-${s} <${a}.${n}.${+r+1}-0`:`>=${a}.${n}.${r}-${s} <${a}.${+n+1}.0-0`:`>=${a}.${n}.${r}-${s} <${+a+1}.0.0-0`):(c("no pr"),o="0"===a?"0"===n?`>=${a}.${n}.${r}${i} <${a}.${n}.${+r+1}-0`:`>=${a}.${n}.${r}${i} <${a}.${+n+1}.0-0`:`>=${a}.${n}.${r} <${+a+1}.0.0-0`),c("caret return",o),o}))},j=(e,t)=>(c("replaceXRanges",e,t),e.split(/\s+/).map((e=>T(e,t))).join(" ")),T=(e,t)=>{e=e.trim();const a=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(a,((a,i,n,r,s,o)=>{c("xRange",e,a,i,n,r,s,o);const p=w(n),l=p||w(r),u=l||w(s),d=u;return"="===i&&d&&(i=""),o=t.includePrerelease?"-0":"",p?a=">"===i||"<"===i?"<0.0.0-0":"*":i&&d?(l&&(r=0),s=0,">"===i?(i=">=",l?(n=+n+1,r=0,s=0):(r=+r+1,s=0)):"<="===i&&(i="<",l?n=+n+1:r=+r+1),"<"===i&&(o="-0"),a=`${i+n}.${r}.${s}${o}`):l?a=`>=${n}.0.0${o} <${+n+1}.0.0-0`:u&&(a=`>=${n}.${r}.0${o} <${n}.${+r+1}.0-0`),c("xRange return",a),a}))},A=(e,t)=>(c("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),C=(e,t)=>(c("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),O=e=>(t,a,i,n,r,s,o,c,p,l,u,d)=>`${a=w(i)?"":w(n)?`>=${i}.0.0${e?"-0":""}`:w(r)?`>=${i}.${n}.0${e?"-0":""}`:s?`>=${a}`:`>=${a}${e?"-0":""}`} ${c=w(p)?"":w(l)?`<${+p+1}.0.0-0`:w(u)?`<${p}.${+l+1}.0-0`:d?`<=${p}.${l}.${u}-${d}`:e?`<${p}.${l}.${+u+1}-0`:`<=${c}`}`.trim(),P=(e,t,a)=>{for(let a=0;a<e.length;a++)if(!e[a].test(t))return!1;if(t.prerelease.length&&!a.includePrerelease){for(let a=0;a<e.length;a++)if(c(e[a].semver),e[a].semver!==o.ANY&&e[a].semver.prerelease.length>0){const i=e[a].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}},2351:e=>{"use strict";e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},2411:(e,t,a)=>{"use strict";const i=a(9023),n=a(4710),r=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),s=e=>"number"==typeof e||"string"==typeof e&&""!==e,o=e=>Number.isInteger(+e),c=e=>{let t=`${e}`,a=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++a];);return a>0},p=(e,t,a)=>{if(t>0){let a="-"===e[0]?"-":"";a&&(e=e.slice(1)),e=a+e.padStart(a?t-1:t,"0")}return!1===a?String(e):e},l=(e,t)=>{let a="-"===e[0]?"-":"";for(a&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return a?"-"+e:e},u=(e,t,a,i)=>{if(a)return n(e,t,{wrap:!1,...i});let r=String.fromCharCode(e);return e===t?r:`[${r}-${String.fromCharCode(t)}]`},d=(e,t,a)=>{if(Array.isArray(e)){let t=!0===a.wrap,i=a.capture?"":"?:";return t?`(${i}${e.join("|")})`:e.join("|")}return n(e,t,a)},f=(...e)=>new RangeError("Invalid range arguments: "+i.inspect(...e)),m=(e,t,a)=>{if(!0===a.strictRanges)throw f([e,t]);return[]},h=(e,t,a,i={})=>{if(null==t&&s(e))return[e];if(!s(e)||!s(t))return m(e,t,i);if("function"==typeof a)return h(e,t,1,{transform:a});if(r(a))return h(e,t,0,a);let n={...i};return!0===n.capture&&(n.wrap=!0),a=a||n.step||1,o(a)?o(e)&&o(t)?((e,t,a=1,i={})=>{let n=Number(e),r=Number(t);if(!Number.isInteger(n)||!Number.isInteger(r)){if(!0===i.strictRanges)throw f([e,t]);return[]}0===n&&(n=0),0===r&&(r=0);let s=n>r,o=String(e),m=String(t),h=String(a);a=Math.max(Math.abs(a),1);let v=c(o)||c(m)||c(h),g=v?Math.max(o.length,m.length,h.length):0,b=!1===v&&!1===((e,t,a)=>"string"==typeof e||"string"==typeof t||!0===a.stringify)(e,t,i),y=i.transform||(e=>t=>!0===e?Number(t):String(t))(b);if(i.toRegex&&1===a)return u(l(e,g),l(t,g),!0,i);let x={negatives:[],positives:[]},w=[],_=0;for(;s?n>=r:n<=r;)!0===i.toRegex&&a>1?x[(k=n)<0?"negatives":"positives"].push(Math.abs(k)):w.push(p(y(n,_),g,b)),n=s?n-a:n+a,_++;var k;return!0===i.toRegex?a>1?((e,t,a)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0)),e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let i,n=t.capture?"":"?:",r="",s="";return e.positives.length&&(r=e.positives.map((e=>l(String(e),a))).join("|")),e.negatives.length&&(s=`-(${n}${e.negatives.map((e=>l(String(e),a))).join("|")})`),i=r&&s?`${r}|${s}`:r||s,t.wrap?`(${n}${i})`:i})(x,i,g):d(w,null,{wrap:!1,...i}):w})(e,t,a,n):((e,t,a=1,i={})=>{if(!o(e)&&e.length>1||!o(t)&&t.length>1)return m(e,t,i);let n=i.transform||(e=>String.fromCharCode(e)),r=`${e}`.charCodeAt(0),s=`${t}`.charCodeAt(0),c=r>s,p=Math.min(r,s),l=Math.max(r,s);if(i.toRegex&&1===a)return u(p,l,!1,i);let f=[],h=0;for(;c?r>=s:r<=s;)f.push(n(r,h)),r=c?r-a:r+a,h++;return!0===i.toRegex?d(f,null,{wrap:!1,options:i}):f})(e,t,Math.max(Math.abs(a),1),n):null==a||r(a)?h(e,t,1,a):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(a,n)};e.exports=h},2468:(e,t,a)=>{"use strict";const i=a(4163),n=a(5469);e.exports=(e,t,a)=>{const r=[];let s=null,o=null;const c=e.sort(((e,t)=>n(e,t,a)));for(const e of c)i(e,t,a)?(o=e,s||(s=e)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const p=[];for(const[e,t]of r)e===t?p.push(e):t||e!==c[0]?t?e===c[0]?p.push(`<=${t}`):p.push(`${e} - ${t}`):p.push(`>=${e}`):p.push("*");const l=p.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return l.length<u.length?l:t}},2564:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(6928),n=a(1452),r=a(1435);t.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=r.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,i.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(e,t){return null!=e?e:t}}},2613:e=>{"use strict";e.exports=require("assert")},2635:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4718),n=a(3648);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,a){const i=this._getMatcher(t),n=this._getNegativePatternsRe(a);return t=>this._filter(e,t,i,n)}_getMatcher(e){return new n.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(i.pattern.isAffectDepthOfReadingPattern);return i.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,a,n){if(this._isSkippedByDeep(e,t.path))return!1;if(this._isSkippedSymbolicLink(t))return!1;const r=i.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(r,a)&&this._isSkippedByNegativePatterns(r,n)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const a=t.split("/").length;return""===e?a:a-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!i.pattern.matchAny(e,t)}}},2666:(e,t,a)=>{try{var i=a(9023);if("function"!=typeof i.inherits)throw"";e.exports=i.inherits}catch(t){e.exports=a(1193)}},2670:(e,t,a)=>{const{InvalidArgumentError:i}=a(723);t.Argument=class{constructor(e,t){switch(this.description=t||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e}this._name.length>3&&"..."===this._name.slice(-3)&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(e,t){return t!==this.defaultValue&&Array.isArray(t)?t.concat(e):[e]}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(e,t)=>{if(!this.argChoices.includes(e))throw new i(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,t):e},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}},t.humanReadableArgName=function(e){const t=e.name()+(!0===e.variadic?"...":"");return e.required?"<"+t+">":"["+t+"]"}},2690:(e,t,a)=>{"use strict";const i=a(6289),n=a(6928),{copy:r}=a(7751),{remove:s}=a(9630),{mkdirp:o}=a(8006),{pathExists:c}=a(3640),p=a(5838);e.exports=async function(e,t,a={}){const l=a.overwrite||a.clobber||!1,{srcStat:u,isChangingCase:d=!1}=await p.checkPaths(e,t,"move",a);await p.checkParentPaths(e,u,t,"move");const f=n.dirname(t);return n.parse(f).root!==f&&await o(f),async function(e,t,a,n){if(!n)if(a)await s(t);else if(await c(t))throw new Error("dest already exists.");try{await i.rename(e,t)}catch(i){if("EXDEV"!==i.code)throw i;await async function(e,t,a){const i={overwrite:a,errorOnExist:!0,preserveTimestamps:!0};return await r(e,t,i),s(e)}(e,t,a)}}(e,t,l,d)}},2771:(e,t,a)=>{"use strict";const i=a(4159),{MAX_LENGTH:n,MAX_SAFE_INTEGER:r}=a(229),{safeRe:s,t:o}=a(6999),c=a(2860),{compareIdentifiers:p}=a(3436);class l{constructor(e,t){if(t=c(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>n)throw new TypeError(`version is longer than ${n} characters`);i("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const a=e.trim().match(t.loose?s[o.LOOSE]:s[o.FULL]);if(!a)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<r)return t}return e})):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(i("SemVer.compare",this.version,this.options,e),!(e instanceof l)){if("string"==typeof e&&e===this.version)return 0;e=new l(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof l||(e=new l(e,this.options)),p(this.major,e.major)||p(this.minor,e.minor)||p(this.patch,e.patch)}comparePre(e){if(e instanceof l||(e=new l(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const a=this.prerelease[t],n=e.prerelease[t];if(i("prerelease compare",t,a,n),void 0===a&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===a)return-1;if(a!==n)return p(a,n)}while(++t)}compareBuild(e){e instanceof l||(e=new l(e,this.options));let t=0;do{const a=this.build[t],n=e.build[t];if(i("build compare",t,a,n),void 0===a&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===a)return-1;if(a!==n)return p(a,n)}while(++t)}inc(e,t,a){if(e.startsWith("pre")){if(!t&&!1===a)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?s[o.PRERELEASELOOSE]:s[o.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,a);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,a);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,a),this.inc("pre",t,a);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,a),this.inc("pre",t,a);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(a)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let i=this.prerelease.length;for(;--i>=0;)"number"==typeof this.prerelease[i]&&(this.prerelease[i]++,i=-2);if(-1===i){if(t===this.prerelease.join(".")&&!1===a)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let i=[t,e];!1===a&&(i=[t]),0===p(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=l},2809:(e,t,a)=>{"use strict";const i=a(2326),n=a(9003),{ANY:r}=n,s=a(4163),o=a(5469),c=[new n(">=0.0.0-0")],p=[new n(">=0.0.0")],l=(e,t,a)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===r){if(1===t.length&&t[0].semver===r)return!0;e=a.includePrerelease?c:p}if(1===t.length&&t[0].semver===r){if(a.includePrerelease)return!0;t=p}const i=new Set;let n,l,f,m,h,v,g;for(const t of e)">"===t.operator||">="===t.operator?n=u(n,t,a):"<"===t.operator||"<="===t.operator?l=d(l,t,a):i.add(t.semver);if(i.size>1)return null;if(n&&l){if(f=o(n.semver,l.semver,a),f>0)return null;if(0===f&&(">="!==n.operator||"<="!==l.operator))return null}for(const e of i){if(n&&!s(e,String(n),a))return null;if(l&&!s(e,String(l),a))return null;for(const i of t)if(!s(e,String(i),a))return!1;return!0}let b=!(!l||a.includePrerelease||!l.semver.prerelease.length)&&l.semver,y=!(!n||a.includePrerelease||!n.semver.prerelease.length)&&n.semver;b&&1===b.prerelease.length&&"<"===l.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,v=v||"<"===e.operator||"<="===e.operator,n)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if(m=u(n,e,a),m===e&&m!==n)return!1}else if(">="===n.operator&&!s(n.semver,String(e),a))return!1;if(l)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(h=d(l,e,a),h===e&&h!==l)return!1}else if("<="===l.operator&&!s(l.semver,String(e),a))return!1;if(!e.operator&&(l||n)&&0!==f)return!1}return!(n&&v&&!l&&0!==f||l&&g&&!n&&0!==f||y||b)},u=(e,t,a)=>{if(!e)return t;const i=o(e.semver,t.semver,a);return i>0?e:i<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,a)=>{if(!e)return t;const i=o(e.semver,t.semver,a);return i<0?e:i>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,a={})=>{if(e===t)return!0;e=new i(e,a),t=new i(t,a);let n=!1;e:for(const i of e.set){for(const e of t.set){const t=l(i,e,a);if(n=n||null!==t,t)continue e}if(n)return!1}return!0}},2860:e=>{"use strict";const t=Object.freeze({loose:!0}),a=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:a},2928:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const i=a(1452),n=a(339),r=a(2976),s=a(1531),o=a(1919);function c(e,t,a){t.fs.readdir(e,{withFileTypes:!0},((i,r)=>{if(null!==i)return void l(a,i);const c=r.map((a=>({dirent:a,name:a.name,path:o.joinPathSegments(e,a.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return void u(a,c);const p=c.map((e=>function(e,t){return a=>{e.dirent.isSymbolicLink()?t.fs.stat(e.path,((i,n)=>{if(null!==i)return t.throwErrorOnBrokenSymbolicLink?void a(i):void a(null,e);e.dirent=s.fs.createDirentFromStats(e.name,n),a(null,e)})):a(null,e)}}(e,t)));n(p,((e,t)=>{null===e?u(a,t):l(a,e)}))}))}function p(e,t,a){t.fs.readdir(e,((r,c)=>{if(null!==r)return void l(a,r);const p=c.map((a=>{const n=o.joinPathSegments(e,a,t.pathSegmentSeparator);return e=>{i.stat(n,t.fsStatSettings,((i,r)=>{if(null!==i)return void e(i);const o={name:a,path:n,dirent:s.fs.createDirentFromStats(a,r)};t.stats&&(o.stats=r),e(null,o)}))}}));n(p,((e,t)=>{null===e?u(a,t):l(a,e)}))}))}function l(e,t){e(t)}function u(e,t){e(null,t)}t.read=function(e,t,a){t.stats||!r.IS_SUPPORT_READDIR_WITH_FILE_TYPES?p(e,t,a):c(e,t,a)},t.readdirWithFileTypes=c,t.readdir=p},2930:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEnoentCodeError=void 0,t.isEnoentCodeError=function(e){return"ENOENT"===e.code}},2966:(e,t,a)=>{const{humanReadableArgName:i}=a(2670);t.Help=class{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands(e){const t=e.commands.filter((e=>!e._hidden));if(e._hasImplicitHelpCommand()){const[,a,i]=e._helpCommandnameAndArgs.match(/([^ ]+) *(.*)/),n=e.createCommand(a).helpOption(!1);n.description(e._helpCommandDescription),i&&n.arguments(i),t.push(n)}return this.sortSubcommands&&t.sort(((e,t)=>e.name().localeCompare(t.name()))),t}compareOptions(e,t){const a=e=>e.short?e.short.replace(/^-/,""):e.long.replace(/^--/,"");return a(e).localeCompare(a(t))}visibleOptions(e){const t=e.options.filter((e=>!e.hidden)),a=e._hasHelpOption&&e._helpShortFlag&&!e._findOption(e._helpShortFlag),i=e._hasHelpOption&&!e._findOption(e._helpLongFlag);if(a||i){let n;n=a?i?e.createOption(e._helpFlags,e._helpDescription):e.createOption(e._helpShortFlag,e._helpDescription):e.createOption(e._helpLongFlag,e._helpDescription),t.push(n)}return this.sortOptions&&t.sort(this.compareOptions),t}visibleGlobalOptions(e){if(!this.showGlobalOptions)return[];const t=[];for(let a=e.parent;a;a=a.parent){const e=a.options.filter((e=>!e.hidden));t.push(...e)}return this.sortOptions&&t.sort(this.compareOptions),t}visibleArguments(e){return e._argsDescription&&e._args.forEach((t=>{t.description=t.description||e._argsDescription[t.name()]||""})),e._args.find((e=>e.description))?e._args:[]}subcommandTerm(e){const t=e._args.map((e=>i(e))).join(" ");return e._name+(e._aliases[0]?"|"+e._aliases[0]:"")+(e.options.length?" [options]":"")+(t?" "+t:"")}optionTerm(e){return e.flags}argumentTerm(e){return e.name()}longestSubcommandTermLength(e,t){return t.visibleCommands(e).reduce(((e,a)=>Math.max(e,t.subcommandTerm(a).length)),0)}longestOptionTermLength(e,t){return t.visibleOptions(e).reduce(((e,a)=>Math.max(e,t.optionTerm(a).length)),0)}longestGlobalOptionTermLength(e,t){return t.visibleGlobalOptions(e).reduce(((e,a)=>Math.max(e,t.optionTerm(a).length)),0)}longestArgumentTermLength(e,t){return t.visibleArguments(e).reduce(((e,a)=>Math.max(e,t.argumentTerm(a).length)),0)}commandUsage(e){let t=e._name;e._aliases[0]&&(t=t+"|"+e._aliases[0]);let a="";for(let t=e.parent;t;t=t.parent)a=t.name()+" "+a;return a+t+" "+e.usage()}commandDescription(e){return e.description()}subcommandDescription(e){return e.summary()||e.description()}optionDescription(e){const t=[];return e.argChoices&&t.push(`choices: ${e.argChoices.map((e=>JSON.stringify(e))).join(", ")}`),void 0!==e.defaultValue&&(e.required||e.optional||e.isBoolean()&&"boolean"==typeof e.defaultValue)&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),void 0!==e.presetArg&&e.optional&&t.push(`preset: ${JSON.stringify(e.presetArg)}`),void 0!==e.envVar&&t.push(`env: ${e.envVar}`),t.length>0?`${e.description} (${t.join(", ")})`:e.description}argumentDescription(e){const t=[];if(e.argChoices&&t.push(`choices: ${e.argChoices.map((e=>JSON.stringify(e))).join(", ")}`),void 0!==e.defaultValue&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),t.length>0){const a=`(${t.join(", ")})`;return e.description?`${e.description} ${a}`:a}return e.description}formatHelp(e,t){const a=t.padWidth(e,t),i=t.helpWidth||80;function n(e,n){if(n){const r=`${e.padEnd(a+2)}${n}`;return t.wrap(r,i-2,a+2)}return e}function r(e){return e.join("\n").replace(/^/gm," ".repeat(2))}let s=[`Usage: ${t.commandUsage(e)}`,""];const o=t.commandDescription(e);o.length>0&&(s=s.concat([t.wrap(o,i,0),""]));const c=t.visibleArguments(e).map((e=>n(t.argumentTerm(e),t.argumentDescription(e))));c.length>0&&(s=s.concat(["Arguments:",r(c),""]));const p=t.visibleOptions(e).map((e=>n(t.optionTerm(e),t.optionDescription(e))));if(p.length>0&&(s=s.concat(["Options:",r(p),""])),this.showGlobalOptions){const a=t.visibleGlobalOptions(e).map((e=>n(t.optionTerm(e),t.optionDescription(e))));a.length>0&&(s=s.concat(["Global Options:",r(a),""]))}const l=t.visibleCommands(e).map((e=>n(t.subcommandTerm(e),t.subcommandDescription(e))));return l.length>0&&(s=s.concat(["Commands:",r(l),""])),s.join("\n")}padWidth(e,t){return Math.max(t.longestOptionTermLength(e,t),t.longestGlobalOptionTermLength(e,t),t.longestSubcommandTermLength(e,t),t.longestArgumentTermLength(e,t))}wrap(e,t,a,i=40){const n=new RegExp("[\\n][ \\f\\t\\v - \ufeff]+");if(e.match(n))return e;const r=t-a;if(r<i)return e;const s=e.slice(0,a),o=e.slice(a).replace("\r\n","\n"),c=" ".repeat(a),p="\\s",l=new RegExp(`\n|.{1,${r-1}}([${p}]|$)|[^${p}]+?([${p}]|$)`,"g");return s+(o.match(l)||[]).map(((e,t)=>"\n"===e?"":(t>0?c:"")+e.trimEnd())).join("\n")}}},2968:(e,t,a)=>{var i=a(7941),n=a(4323);e.exports=function(e){return e?("{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2)),g(function(e){return e.split("\\\\").join(r).split("\\{").join(s).split("\\}").join(o).split("\\,").join(c).split("\\.").join(p)}(e),!0).map(u)):[]};var r="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",o="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",p="\0PERIOD"+Math.random()+"\0";function l(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function u(e){return e.split(r).join("\\").split(s).join("{").split(o).join("}").split(c).join(",").split(p).join(".")}function d(e){if(!e)return[""];var t=[],a=n("{","}",e);if(!a)return e.split(",");var i=a.pre,r=a.body,s=a.post,o=i.split(",");o[o.length-1]+="{"+r+"}";var c=d(s);return s.length&&(o[o.length-1]+=c.shift(),o.push.apply(o,c)),t.push.apply(t,o),t}function f(e){return"{"+e+"}"}function m(e){return/^-?0\d/.test(e)}function h(e,t){return e<=t}function v(e,t){return e>=t}function g(e,t){var a=[],r=n("{","}",e);if(!r||/\$$/.test(r.pre))return[e];var s,c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(r.body),p=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(r.body),u=c||p,b=r.body.indexOf(",")>=0;if(!u&&!b)return r.post.match(/,.*\}/)?g(e=r.pre+"{"+r.body+o+r.post):[e];if(u)s=r.body.split(/\.\./);else if(1===(s=d(r.body)).length&&1===(s=g(s[0],!1).map(f)).length)return(w=r.post.length?g(r.post,!1):[""]).map((function(e){return r.pre+s[0]+e}));var y,x=r.pre,w=r.post.length?g(r.post,!1):[""];if(u){var _=l(s[0]),k=l(s[1]),S=Math.max(s[0].length,s[1].length),E=3==s.length?Math.abs(l(s[2])):1,j=h;k<_&&(E*=-1,j=v);var T=s.some(m);y=[];for(var A=_;j(A,k);A+=E){var C;if(p)"\\"===(C=String.fromCharCode(A))&&(C="");else if(C=String(A),T){var O=S-C.length;if(O>0){var P=new Array(O+1).join("0");C=A<0?"-"+P+C.slice(1):P+C}}y.push(C)}}else y=i(s,(function(e){return g(e,!1)}));for(var R=0;R<y.length;R++)for(var I=0;I<w.length;I++){var N=x+y[R]+w[I];(!t||u||N)&&a.push(N)}return a}},2974:(e,t,a)=>{"use strict";const i=a(6928),n=a(6289),{pathExists:r}=a(3640),s=a(4635).fromPromise;e.exports={symlinkPaths:s((async function(e,t){if(i.isAbsolute(e)){try{await n.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:e}}const a=i.dirname(t),s=i.join(a,e);if(await r(s))return{toCwd:s,toDst:e};try{await n.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:i.relative(a,e)}})),symlinkPathsSync:function(e,t){if(i.isAbsolute(e)){if(!n.existsSync(e))throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}const a=i.dirname(t),r=i.join(a,e);if(n.existsSync(r))return{toCwd:r,toDst:e};if(!n.existsSync(e))throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:i.relative(a,e)}}}},2976:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const a=process.versions.node.split(".");if(void 0===a[0]||void 0===a[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const i=Number.parseInt(a[0],10),n=Number.parseInt(a[1],10),r=i>10,s=10===i&&n>=10;t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=r||s},2999:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4718);t.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return i.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}},3142:(e,t,a)=>{"use strict";const i=a(9896),n=a(6928),{promisify:r}=a(9023);let s;try{s=a(Object(function(){var e=new Error("Cannot find module 'fsevents'");throw e.code="MODULE_NOT_FOUND",e}()))}catch(e){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(e)}if(s){const e=process.version.match(/v(\d+)\.(\d+)/);if(e&&e[1]&&e[2]){const t=Number.parseInt(e[1],10),a=Number.parseInt(e[2],10);8===t&&a<16&&(s=void 0)}}const{EV_ADD:o,EV_CHANGE:c,EV_ADD_DIR:p,EV_UNLINK:l,EV_ERROR:u,STR_DATA:d,STR_END:f,FSEVENT_CREATED:m,FSEVENT_MODIFIED:h,FSEVENT_DELETED:v,FSEVENT_MOVED:g,FSEVENT_UNKNOWN:b,FSEVENT_FLAG_MUST_SCAN_SUBDIRS:y,FSEVENT_TYPE_FILE:x,FSEVENT_TYPE_DIRECTORY:w,FSEVENT_TYPE_SYMLINK:_,ROOT_GLOBSTAR:k,DIR_SUFFIX:S,DOT_SLASH:E,FUNCTION_TYPE:j,EMPTY_FN:T,IDENTITY_FN:A}=a(416),C=r(i.stat),O=r(i.lstat),P=r(i.realpath),R={stat:C,lstat:O},I=new Map,N=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),L=(e,t)=>({stop:s.watch(e,t)}),$=(e,t)=>{let a=0;for(;!e.indexOf(t)&&(e=n.dirname(e))!==t;)a++;return a},D=(e,t)=>e.type===w&&t.isDirectory()||e.type===_&&t.isSymbolicLink()||e.type===x&&t.isFile();e.exports=class{constructor(e){this.fsw=e}checkIgnored(e,t){const a=this.fsw._ignoredPaths;if(this.fsw._isIgnored(e,t))return a.add(e),t&&t.isDirectory()&&a.add(e+k),!0;a.delete(e),a.delete(e+k)}addOrChange(e,t,a,i,n,r,s,p){const l=n.has(r)?c:o;this.handleEvent(l,e,t,a,i,n,r,s,p)}async checkExists(e,t,a,i,n,r,s,o){try{const c=await C(e);if(this.fsw.closed)return;D(s,c)?this.addOrChange(e,t,a,i,n,r,s,o):this.handleEvent(l,e,t,a,i,n,r,s,o)}catch(c){"EACCES"===c.code?this.addOrChange(e,t,a,i,n,r,s,o):this.handleEvent(l,e,t,a,i,n,r,s,o)}}handleEvent(e,t,a,i,n,r,s,c,u){if(!this.fsw.closed&&!this.checkIgnored(t))if(e===l){const e=c.type===w;(e||r.has(s))&&this.fsw._remove(n,s,e)}else{if(e===o){if(c.type===w&&this.fsw._getWatchedDir(t),c.type===_&&u.followSymlinks){const e=void 0===u.depth?void 0:$(a,i)+1;return this._addToFsEvents(t,!1,!0,e)}this.fsw._getWatchedDir(n).add(s)}const r=c.type===w?e+S:e;this.fsw._emit(r,t),r===p&&this._addToFsEvents(t,!1,!0)}}_watchWithFsEvents(e,t,a,i){if(this.fsw.closed||this.fsw._isIgnored(e))return;const r=this.fsw.options,o=function(e,t,a,i){let r=n.extname(t)?n.dirname(t):t;const o=n.dirname(r);let c=I.get(r);(e=>{let t=0;for(const a of I.keys())if(0===a.indexOf(e)&&(t++,t>=10))return!0;return!1})(o)&&(r=o);const p=n.resolve(e),l=p!==t,u=(e,i,r)=>{l&&(e=e.replace(t,p)),e!==p&&e.indexOf(p+n.sep)||a(e,i,r)};let d=!1;for(const e of I.keys())if(0===t.indexOf(n.resolve(e)+n.sep)){r=e,c=I.get(r),d=!0;break}return c||d?c.listeners.add(u):(c={listeners:new Set([u]),rawEmitter:i,watcher:L(r,((e,t)=>{if(!c.listeners.size)return;if(t&y)return;const a=s.getInfo(e,t);c.listeners.forEach((i=>{i(e,t,a)})),c.rawEmitter(a.event,e,a)}))},I.set(r,c)),()=>{const e=c.listeners;if(e.delete(u),!e.size&&(I.delete(r),c.watcher))return c.watcher.stop().then((()=>{c.rawEmitter=c.watcher=void 0,Object.freeze(c)}))}}(e,t,(async(s,o,c)=>{if(this.fsw.closed)return;if(void 0!==r.depth&&$(s,t)>r.depth)return;const p=a(n.join(e,n.relative(e,s)));if(i&&!i(p))return;const u=n.dirname(p),d=n.basename(p),f=this.fsw._getWatchedDir(c.type===w?p:u);if(N.has(o)||c.event===b)if(typeof r.ignored===j){let e;try{e=await C(p)}catch(e){}if(this.fsw.closed)return;if(this.checkIgnored(p,e))return;D(c,e)?this.addOrChange(p,s,t,u,f,d,c,r):this.handleEvent(l,p,s,t,u,f,d,c,r)}else this.checkExists(p,s,t,u,f,d,c,r);else switch(c.event){case m:case h:return this.addOrChange(p,s,t,u,f,d,c,r);case v:case g:return this.checkExists(p,s,t,u,f,d,c,r)}}),this.fsw._emitRaw);return this.fsw._emitReady(),o}async _handleFsEventsSymlink(e,t,a,i){if(!this.fsw.closed&&!this.fsw._symlinkPaths.has(t)){this.fsw._symlinkPaths.set(t,!0),this.fsw._incrReadyCount();try{const t=await P(e);if(this.fsw.closed)return;if(this.fsw._isIgnored(t))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(t||e,(i=>{let r=e;return t&&t!==E?r=i.replace(t,e):i!==E&&(r=n.join(e,i)),a(r)}),!1,i)}catch(e){if(this.fsw._handleError(e))return this.fsw._emitReady()}}}emitAdd(e,t,a,i,r){const s=a(e),c=t.isDirectory(),l=this.fsw._getWatchedDir(n.dirname(s)),u=n.basename(s);c&&this.fsw._getWatchedDir(s),l.has(u)||(l.add(u),i.ignoreInitial&&!0!==r||this.fsw._emit(c?p:o,s,t))}initWatch(e,t,a,i){if(this.fsw.closed)return;const r=this._watchWithFsEvents(a.watchPath,n.resolve(e||a.watchPath),i,a.globFilter);this.fsw._addPathCloser(t,r)}async _addToFsEvents(e,t,a,i){if(this.fsw.closed)return;const r=this.fsw.options,s=typeof t===j?t:A,o=this.fsw._getWatchHelpers(e);try{const t=await R[o.statMethod](o.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(o.watchPath,t))throw null;if(t.isDirectory()){if(o.globFilter||this.emitAdd(s(e),t,s,r,a),i&&i>r.depth)return;this.fsw._readdirp(o.watchPath,{fileFilter:e=>o.filterPath(e),directoryFilter:e=>o.filterDir(e),...(c=r.depth-(i||0),isNaN(c)?{}:{depth:c})}).on(d,(e=>{if(this.fsw.closed)return;if(e.stats.isDirectory()&&!o.filterPath(e))return;const t=n.join(o.watchPath,e.path),{fullPath:i}=e;if(o.followSymlinks&&e.stats.isSymbolicLink()){const e=void 0===r.depth?void 0:$(t,n.resolve(o.watchPath))+1;this._handleFsEventsSymlink(t,i,s,e)}else this.emitAdd(t,e.stats,s,r,a)})).on(u,T).on(f,(()=>{this.fsw._emitReady()}))}else this.emitAdd(o.watchPath,t,s,r,a),this.fsw._emitReady()}catch(e){e&&!this.fsw._handleError(e)||(this.fsw._emitReady(),this.fsw._emitReady())}var c;if(r.persistent&&!0!==a)if(typeof t===j)this.initWatch(void 0,e,o,s);else{let t;try{t=await P(o.watchPath)}catch(e){}this.initWatch(t,e,o,s)}}},e.exports.canUse=()=>s&&I.size<128},3211:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,n=a(6928),r=a(6289),{mkdirs:s,mkdirsSync:o}=a(8006),{symlinkPaths:c,symlinkPathsSync:p}=a(2974),{symlinkType:l,symlinkTypeSync:u}=a(360),{pathExists:d}=a(3640),{areIdentical:f}=a(5838);e.exports={createSymlink:i((async function(e,t,a){let i;try{i=await r.lstat(t)}catch{}if(i&&i.isSymbolicLink()){const[a,i]=await Promise.all([r.stat(e),r.stat(t)]);if(f(a,i))return}const o=await c(e,t);e=o.toDst;const p=await l(o.toCwd,a),u=n.dirname(t);return await d(u)||await s(u),r.symlink(e,t,p)})),createSymlinkSync:function(e,t,a){let i;try{i=r.lstatSync(t)}catch{}if(i&&i.isSymbolicLink()){const a=r.statSync(e),i=r.statSync(t);if(f(a,i))return}const s=p(e,t);e=s.toDst,a=u(s.toCwd,a);const c=n.dirname(t);return r.existsSync(c)||o(c),r.symlinkSync(e,t,a)}}},3280:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(8714);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=i.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}}},3297:(e,t,a)=>{"use strict";const i=a(6927),{CHAR_ASTERISK:n,CHAR_AT:r,CHAR_BACKWARD_SLASH:s,CHAR_COMMA:o,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:p,CHAR_FORWARD_SLASH:l,CHAR_LEFT_CURLY_BRACE:u,CHAR_LEFT_PARENTHESES:d,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_PLUS:m,CHAR_QUESTION_MARK:h,CHAR_RIGHT_CURLY_BRACE:v,CHAR_RIGHT_PARENTHESES:g,CHAR_RIGHT_SQUARE_BRACKET:b}=a(4751),y=e=>e===l||e===s,x=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const a=t||{},w=e.length-1,_=!0===a.parts||!0===a.scanToEnd,k=[],S=[],E=[];let j,T,A=e,C=-1,O=0,P=0,R=!1,I=!1,N=!1,L=!1,$=!1,D=!1,M=!1,q=!1,F=!1,B=!1,z=0,H={value:"",depth:0,isGlob:!1};const Z=()=>C>=w,U=()=>(j=T,A.charCodeAt(++C));for(;C<w;){let e;if(T=U(),T!==s){if(!0===D||T===u){for(z++;!0!==Z()&&(T=U());)if(T!==s)if(T!==u){if(!0!==D&&T===c&&(T=U())===c){if(R=H.isBrace=!0,N=H.isGlob=!0,B=!0,!0===_)continue;break}if(!0!==D&&T===o){if(R=H.isBrace=!0,N=H.isGlob=!0,B=!0,!0===_)continue;break}if(T===v&&(z--,0===z)){D=!1,R=H.isBrace=!0,B=!0;break}}else z++;else M=H.backslashes=!0,U();if(!0===_)continue;break}if(T!==l){if(!0!==a.noext&&!0==(T===m||T===r||T===n||T===h||T===p)&&A.charCodeAt(C+1)===d){if(N=H.isGlob=!0,L=H.isExtglob=!0,B=!0,T===p&&C===O&&(F=!0),!0===_){for(;!0!==Z()&&(T=U());)if(T!==s){if(T===g){N=H.isGlob=!0,B=!0;break}}else M=H.backslashes=!0,T=U();continue}break}if(T===n){if(j===n&&($=H.isGlobstar=!0),N=H.isGlob=!0,B=!0,!0===_)continue;break}if(T===h){if(N=H.isGlob=!0,B=!0,!0===_)continue;break}if(T===f){for(;!0!==Z()&&(e=U());)if(e!==s){if(e===b){I=H.isBracket=!0,N=H.isGlob=!0,B=!0;break}}else M=H.backslashes=!0,U();if(!0===_)continue;break}if(!0===a.nonegate||T!==p||C!==O){if(!0!==a.noparen&&T===d){if(N=H.isGlob=!0,!0===_){for(;!0!==Z()&&(T=U());)if(T!==d){if(T===g){B=!0;break}}else M=H.backslashes=!0,T=U();continue}break}if(!0===N){if(B=!0,!0===_)continue;break}}else q=H.negated=!0,O++}else{if(k.push(C),S.push(H),H={value:"",depth:0,isGlob:!1},!0===B)continue;if(j===c&&C===O+1){O+=2;continue}P=C+1}}else M=H.backslashes=!0,T=U(),T===u&&(D=!0)}!0===a.noext&&(L=!1,N=!1);let V=A,W="",G="";O>0&&(W=A.slice(0,O),A=A.slice(O),P-=O),V&&!0===N&&P>0?(V=A.slice(0,P),G=A.slice(P)):!0===N?(V="",G=A):V=A,V&&""!==V&&"/"!==V&&V!==A&&y(V.charCodeAt(V.length-1))&&(V=V.slice(0,-1)),!0===a.unescape&&(G&&(G=i.removeBackslashes(G)),V&&!0===M&&(V=i.removeBackslashes(V)));const K={prefix:W,input:e,start:O,base:V,glob:G,isBrace:R,isBracket:I,isGlob:N,isExtglob:L,isGlobstar:$,negated:q,negatedExtglob:F};if(!0===a.tokens&&(K.maxDepth=0,y(T)||S.push(H),K.tokens=S),!0===a.parts||!0===a.tokens){let t;for(let i=0;i<k.length;i++){const n=t?t+1:O,r=k[i],s=e.slice(n,r);a.tokens&&(0===i&&0!==O?(S[i].isPrefix=!0,S[i].value=W):S[i].value=s,x(S[i]),K.maxDepth+=S[i].depth),0===i&&""===s||E.push(s),t=r}if(t&&t+1<e.length){const i=e.slice(t+1);E.push(i),a.tokens&&(S[S.length-1].value=i,x(S[S.length-1]),K.maxDepth+=S[S.length-1].depth)}K.slashes=k,K.parts=E}return K}},3306:(e,t,a)=>{"use strict";const i=a(1289);e.exports=(e,t)=>{const a=i(e,t);return a&&a.prerelease.length?a.prerelease:null}},3331:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const i=a(9896),n=a(857),r=Math.max(n.cpus().length,1);t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:i.lstat,lstatSync:i.lstatSync,stat:i.stat,statSync:i.statSync,readdir:i.readdir,readdirSync:i.readdirSync},t.default=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,r),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),this.ignore=[].concat(this.ignore)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},t.DEFAULT_FILE_SYSTEM_ADAPTER),e)}}},3339:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4434),n=a(7497),r=a(9669),s=a(8714),o=a(3280);class c extends o.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=n.scandir,this._emitter=new i.EventEmitter,this._queue=r(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,t){const a={directory:e,base:t};this._queue.push(a,(e=>{null!==e&&this._handleError(e)}))}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,((a,i)=>{if(null===a){for(const t of i)this._handleEntry(t,e.base);t(null,void 0)}else t(a,void 0)}))}_handleError(e){!this._isDestroyed&&s.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const a=e.path;void 0!==t&&(e.path=s.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),s.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&s.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(a,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}t.default=c},3340:e=>{e.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},3418:(e,t,a)=>{const i=a(3742),n=a(5582),r=a(9572),s=a(1525),o=a(5357),c=a(6782),p=a(5250),l=a(8094),u=a(6052),d=a(1251),f=a(8430),{KeyObject:m,createSecretKey:h,createPrivateKey:v}=a(6982),g=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];n&&g.splice(3,0,"PS256","PS384","PS512");const b={expiresIn:{isValid:function(e){return p(e)||d(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return p(e)||d(e)&&e},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(e){return d(e)||Array.isArray(e)},message:'"audience" must be a string or array'},algorithm:{isValid:o.bind(null,g),message:'"algorithm" must be a valid string enum value'},header:{isValid:u,message:'"header" must be an object'},encoding:{isValid:d,message:'"encoding" must be a string'},issuer:{isValid:d,message:'"issuer" must be a string'},subject:{isValid:d,message:'"subject" must be a string'},jwtid:{isValid:d,message:'"jwtid" must be a string'},noTimestamp:{isValid:c,message:'"noTimestamp" must be a boolean'},keyid:{isValid:d,message:'"keyid" must be a string'},mutatePayload:{isValid:c,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:c,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:c,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},y={iat:{isValid:l,message:'"iat" should be a number of seconds'},exp:{isValid:l,message:'"exp" should be a number of seconds'},nbf:{isValid:l,message:'"nbf" should be a number of seconds'}};function x(e,t,a,i){if(!u(a))throw new Error('Expected "'+i+'" to be a plain object.');Object.keys(a).forEach((function(n){const r=e[n];if(r){if(!r.isValid(a[n]))throw new Error(r.message)}else if(!t)throw new Error('"'+n+'" is not allowed in "'+i+'"')}))}const w={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},_=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];e.exports=function(e,t,a,n){"function"==typeof a?(n=a,a={}):a=a||{};const o="object"==typeof e&&!Buffer.isBuffer(e),c=Object.assign({alg:a.algorithm||"HS256",typ:o?"JWT":void 0,kid:a.keyid},a.header);function p(e){if(n)return n(e);throw e}if(!t&&"none"!==a.algorithm)return p(new Error("secretOrPrivateKey must have a value"));if(null!=t&&!(t instanceof m))try{t=v(t)}catch(e){try{t=h("string"==typeof t?Buffer.from(t):t)}catch(e){return p(new Error("secretOrPrivateKey is not valid key material"))}}if(c.alg.startsWith("HS")&&"secret"!==t.type)return p(new Error(`secretOrPrivateKey must be a symmetric key when using ${c.alg}`));if(/^(?:RS|PS|ES)/.test(c.alg)){if("private"!==t.type)return p(new Error(`secretOrPrivateKey must be an asymmetric key when using ${c.alg}`));if(!a.allowInsecureKeySizes&&!c.alg.startsWith("ES")&&void 0!==t.asymmetricKeyDetails&&t.asymmetricKeyDetails.modulusLength<2048)return p(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`))}if(void 0===e)return p(new Error("payload is required"));if(o){try{!function(e){x(y,!0,e,"payload")}(e)}catch(e){return p(e)}a.mutatePayload||(e=Object.assign({},e))}else{const t=_.filter((function(e){return void 0!==a[e]}));if(t.length>0)return p(new Error("invalid "+t.join(",")+" option for "+typeof e+" payload"))}if(void 0!==e.exp&&void 0!==a.expiresIn)return p(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(void 0!==e.nbf&&void 0!==a.notBefore)return p(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{!function(e){x(b,!1,e,"options")}(a)}catch(e){return p(e)}if(!a.allowInvalidAsymmetricKeyTypes)try{r(c.alg,t)}catch(e){return p(e)}const l=e.iat||Math.floor(Date.now()/1e3);if(a.noTimestamp?delete e.iat:o&&(e.iat=l),void 0!==a.notBefore){try{e.nbf=i(a.notBefore,l)}catch(e){return p(e)}if(void 0===e.nbf)return p(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(void 0!==a.expiresIn&&"object"==typeof e){try{e.exp=i(a.expiresIn,l)}catch(e){return p(e)}if(void 0===e.exp)return p(new Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(w).forEach((function(t){const i=w[t];if(void 0!==a[t]){if(void 0!==e[i])return p(new Error('Bad "options.'+t+'" option. The payload already has an "'+i+'" property.'));e[i]=a[t]}}));const u=a.encoding||"utf8";if("function"!=typeof n){let i=s.sign({header:c,payload:e,secret:t,encoding:u});if(!a.allowInsecureKeySizes&&/^(?:RS|PS)/.test(c.alg)&&i.length<256)throw new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`);return i}n=n&&f(n),s.createSign({header:c,privateKey:t,payload:e,encoding:u}).once("error",n).once("done",(function(e){if(!a.allowInsecureKeySizes&&/^(?:RS|PS)/.test(c.alg)&&e.length<256)return n(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`));n(null,e)}))}},3436:e=>{"use strict";const t=/^[0-9]+$/,a=(e,a)=>{const i=t.test(e),n=t.test(a);return i&&n&&(e=+e,a=+a),e===a?0:i&&!n?-1:n&&!i?1:e<a?-1:1};e.exports={compareIdentifiers:a,rcompareIdentifiers:(e,t)=>a(t,e)}},3566:(e,t,a)=>{"use strict";const i=a(1314),n=a(7238),r=a(7743),s=a(236),o=a(8200),c=a(3765);e.exports=(e,t,a,p)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof a&&(a=a.version),e===a;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof a&&(a=a.version),e!==a;case"":case"=":case"==":return i(e,a,p);case"!=":return n(e,a,p);case">":return r(e,a,p);case">=":return s(e,a,p);case"<":return o(e,a,p);case"<=":return c(e,a,p);default:throw new TypeError(`Invalid operator: ${t}`)}}},3569:(e,t,a)=>{var i,n=a(6608).Buffer,r=a(6982),s=a(9053),o=a(9023),c="secret must be a string or buffer",p="key must be a string or a buffer",l="function"==typeof r.createPublicKey;function u(e){if(!n.isBuffer(e)&&"string"!=typeof e){if(!l)throw h(p);if("object"!=typeof e)throw h(p);if("string"!=typeof e.type)throw h(p);if("string"!=typeof e.asymmetricKeyType)throw h(p);if("function"!=typeof e.export)throw h(p)}}function d(e){if(!n.isBuffer(e)&&"string"!=typeof e&&"object"!=typeof e)throw h("key must be a string, a buffer or an object")}function f(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function m(e){var t=4-(e=e.toString()).length%4;if(4!==t)for(var a=0;a<t;++a)e+="=";return e.replace(/\-/g,"+").replace(/_/g,"/")}function h(e){var t=[].slice.call(arguments,1),a=o.format.bind(o,e).apply(null,t);return new TypeError(a)}function v(e){var t;return t=e,n.isBuffer(t)||"string"==typeof t||(e=JSON.stringify(e)),e}function g(e){return function(t,a){!function(e){if(!n.isBuffer(e)){if("string"==typeof e)return e;if(!l)throw h(c);if("object"!=typeof e)throw h(c);if("secret"!==e.type)throw h(c);if("function"!=typeof e.export)throw h(c)}}(a),t=v(t);var i=r.createHmac("sha"+e,a);return f((i.update(t),i.digest("base64")))}}l&&(p+=" or a KeyObject",c+="or a KeyObject");var b="timingSafeEqual"in r?function(e,t){return e.byteLength===t.byteLength&&r.timingSafeEqual(e,t)}:function(e,t){return i||(i=a(9454)),i(e,t)};function y(e){return function(t,a,i){var r=g(e)(t,i);return b(n.from(a),n.from(r))}}function x(e){return function(t,a){d(a),t=v(t);var i=r.createSign("RSA-SHA"+e);return f((i.update(t),i.sign(a,"base64")))}}function w(e){return function(t,a,i){u(i),t=v(t),a=m(a);var n=r.createVerify("RSA-SHA"+e);return n.update(t),n.verify(i,a,"base64")}}function _(e){return function(t,a){d(a),t=v(t);var i=r.createSign("RSA-SHA"+e);return f((i.update(t),i.sign({key:a,padding:r.constants.RSA_PKCS1_PSS_PADDING,saltLength:r.constants.RSA_PSS_SALTLEN_DIGEST},"base64")))}}function k(e){return function(t,a,i){u(i),t=v(t),a=m(a);var n=r.createVerify("RSA-SHA"+e);return n.update(t),n.verify({key:i,padding:r.constants.RSA_PKCS1_PSS_PADDING,saltLength:r.constants.RSA_PSS_SALTLEN_DIGEST},a,"base64")}}function S(e){var t=x(e);return function(){var a=t.apply(null,arguments);return s.derToJose(a,"ES"+e)}}function E(e){var t=w(e);return function(a,i,n){return i=s.joseToDer(i,"ES"+e).toString("base64"),t(a,i,n)}}function j(){return function(){return""}}function T(){return function(e,t){return""===t}}e.exports=function(e){var t={hs:g,rs:x,ps:_,es:S,none:j},a={hs:y,rs:w,ps:k,es:E,none:T},i=e.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/i);if(!i)throw h('"%s" is not a valid algorithm.\n Supported algorithms are:\n "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".',e);var n=(i[1]||i[3]).toLowerCase(),r=i[2];return{sign:t[n](r),verify:a[n](r)}}},3585:(e,t,a)=>{"use strict";const i=a(303),{MAX_LENGTH:n,CHAR_BACKSLASH:r,CHAR_BACKTICK:s,CHAR_COMMA:o,CHAR_DOT:c,CHAR_LEFT_PARENTHESES:p,CHAR_RIGHT_PARENTHESES:l,CHAR_LEFT_CURLY_BRACE:u,CHAR_RIGHT_CURLY_BRACE:d,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_RIGHT_SQUARE_BRACKET:m,CHAR_DOUBLE_QUOTE:h,CHAR_SINGLE_QUOTE:v,CHAR_NO_BREAK_SPACE:g,CHAR_ZERO_WIDTH_NOBREAK_SPACE:b}=a(803);e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");const a=t||{},y="number"==typeof a.maxLength?Math.min(n,a.maxLength):n;if(e.length>y)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${y})`);const x={type:"root",input:e,nodes:[]},w=[x];let _=x,k=x,S=0;const E=e.length;let j,T=0,A=0;const C=()=>e[T++],O=e=>{if("text"===e.type&&"dot"===k.type&&(k.type="text"),!k||"text"!==k.type||"text"!==e.type)return _.nodes.push(e),e.parent=_,e.prev=k,k=e,e;k.value+=e.value};for(O({type:"bos"});T<E;)if(_=w[w.length-1],j=C(),j!==b&&j!==g)if(j!==r)if(j!==m)if(j!==f)if(j!==p)if(j!==l)if(j!==h&&j!==v&&j!==s)if(j!==u)if(j!==d)if(j===o&&A>0){if(_.ranges>0){_.ranges=0;const e=_.nodes.shift();_.nodes=[e,{type:"text",value:i(_)}]}O({type:"comma",value:j}),_.commas++}else if(j===c&&A>0&&0===_.commas){const e=_.nodes;if(0===A||0===e.length){O({type:"text",value:j});continue}if("dot"===k.type){if(_.range=[],k.value+=j,k.type="range",3!==_.nodes.length&&5!==_.nodes.length){_.invalid=!0,_.ranges=0,k.type="text";continue}_.ranges++,_.args=[];continue}if("range"===k.type){e.pop();const t=e[e.length-1];t.value+=k.value+j,k=t,_.ranges--;continue}O({type:"dot",value:j})}else O({type:"text",value:j});else{if("brace"!==_.type){O({type:"text",value:j});continue}const e="close";_=w.pop(),_.close=!0,O({type:e,value:j}),A--,_=w[w.length-1]}else{A++;const e=k.value&&"$"===k.value.slice(-1)||!0===_.dollar;_=O({type:"brace",open:!0,close:!1,dollar:e,depth:A,commas:0,ranges:0,nodes:[]}),w.push(_),O({type:"open",value:j})}else{const e=j;let a;for(!0!==t.keepQuotes&&(j="");T<E&&(a=C());)if(a!==r){if(a===e){!0===t.keepQuotes&&(j+=a);break}j+=a}else j+=a+C();O({type:"text",value:j})}else{if("paren"!==_.type){O({type:"text",value:j});continue}_=w.pop(),O({type:"text",value:j}),_=w[w.length-1]}else _=O({type:"paren",nodes:[]}),w.push(_),O({type:"text",value:j});else{let e;for(S++;T<E&&(e=C());)if(j+=e,e!==f)if(e!==r){if(e===m&&(S--,0===S))break}else j+=C();else S++;O({type:"text",value:j})}else O({type:"text",value:"\\"+j});else O({type:"text",value:(t.keepEscaping?j:"")+C()});do{if(_=w.pop(),"root"!==_.type){_.nodes.forEach((e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));const e=w[w.length-1],t=e.nodes.indexOf(_);e.nodes.splice(t,1,..._.nodes)}}while(w.length>0);return O({type:"eos"}),x}},3640:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,n=a(6289);e.exports={pathExists:i((function(e){return n.access(e).then((()=>!0)).catch((()=>!1))})),pathExistsSync:n.existsSync}},3648:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(575);class n extends i.default{match(e){const t=e.split("/"),a=t.length,i=this._storage.filter((e=>!e.complete||e.segments.length>a));for(const e of i){const i=e.sections[0];if(!e.complete&&a>i.length)return!0;if(t.every(((t,a)=>{const i=e.segments[a];return!(!i.dynamic||!i.patternRe.test(t))||!i.dynamic&&i.pattern===t})))return!0}return!1}}t.default=n},3742:(e,t,a)=>{var i=a(3866);e.exports=function(e,t){var a=t||Math.floor(Date.now()/1e3);if("string"==typeof e){var n=i(e);if(void 0===n)return;return Math.floor(a+n/1e3)}return"number"==typeof e?a+e:void 0}},3765:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t,a)=>i(e,t,a)<=0},3785:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(5562),n=a(5859),r={returnIndex:!1},s=(e,t,a,i)=>{const r=Array.isArray(a),s=r?a[0]:a;if(!r&&"string"!=typeof s)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(s));const o=n(s,!1);for(let e=0;e<t.length;e++)if((0,t[e])(o))return!!i&&-1;const c=r&&[o].concat(a.slice(1));for(let t=0;t<e.length;t++){const a=e[t];if(r?a(...c):a(o))return!i||t}return!!i&&-1},o=(e,t,a=r)=>{if(null==e)throw new TypeError("anymatch: specify first argument");const n="boolean"==typeof a?{returnIndex:a}:a,o=n.returnIndex||!1,c=(p=e,Array.isArray(p)?p:[p]);var p;const l=c.filter((e=>"string"==typeof e&&"!"===e.charAt(0))).map((e=>e.slice(1))).map((e=>i(e,n))),u=c.filter((e=>"string"!=typeof e||"string"==typeof e&&"!"!==e.charAt(0))).map((e=>((e,t)=>{if("function"==typeof e)return e;if("string"==typeof e){const a=i(e,t);return t=>e===t||a(t)}return e instanceof RegExp?t=>e.test(t):e=>!1})(e,n)));return null==t?(e,t=!1)=>s(u,l,e,"boolean"==typeof t&&t):s(u,l,t,o)};o.default=o,e.exports=o},3835:(e,t,a)=>{"use strict";const i=a(2771),n=a(2326);e.exports=(e,t,a)=>{let r=null,s=null,o=null;try{o=new n(t,a)}catch(e){return null}return e.forEach((e=>{o.test(e)&&(r&&1!==s.compare(e)||(r=e,s=new i(r,a)))})),r}},3858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t){const a=t.fs.lstatSync(e);if(!a.isSymbolicLink()||!t.followSymbolicLink)return a;try{const a=t.fs.statSync(e);return t.markSymbolicLink&&(a.isSymbolicLink=()=>!0),a}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return a;throw e}}},3866:e=>{var t=1e3,a=60*t,i=60*a,n=24*i,r=7*n;function s(e,t,a,i){var n=t>=1.5*a;return Math.round(e/a)+" "+i+(n?"s":"")}e.exports=function(e,o){o=o||{};var c,p,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(s){var o=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return o*r;case"days":case"day":case"d":return o*n;case"hours":case"hour":case"hrs":case"hr":case"h":return o*i;case"minutes":case"minute":case"mins":case"min":case"m":return o*a;case"seconds":case"second":case"secs":case"sec":case"s":return o*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(e);if("number"===l&&isFinite(e))return o.long?(c=e,(p=Math.abs(c))>=n?s(c,p,n,"day"):p>=i?s(c,p,i,"hour"):p>=a?s(c,p,a,"minute"):p>=t?s(c,p,t,"second"):c+" ms"):function(e){var r=Math.abs(e);return r>=n?Math.round(e/n)+"d":r>=i?Math.round(e/i)+"h":r>=a?Math.round(e/a)+"m":r>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},4008:e=>{e.exports=function e(t,a){if(t&&a)return e(t)(a);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach((function(e){i[e]=t[e]})),i;function i(){for(var e=new Array(arguments.length),a=0;a<e.length;a++)e[a]=arguments[a];var i=t.apply(this,e),n=e[e.length-1];return"function"==typeof i&&i!==n&&Object.keys(n).forEach((function(e){i[e]=n[e]})),i}}},4078:(e,t,a)=>{"use strict";const i=a(303),n=a(5111),r=a(9288),s=a(3585),o=(e,t={})=>{let a=[];if(Array.isArray(e))for(const i of e){const e=o.create(i,t);Array.isArray(e)?a.push(...e):a.push(e)}else a=[].concat(o.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(a=[...new Set(a)]),a};o.parse=(e,t={})=>s(e,t),o.stringify=(e,t={})=>i("string"==typeof e?o.parse(e,t):e,t),o.compile=(e,t={})=>("string"==typeof e&&(e=o.parse(e,t)),n(e,t)),o.expand=(e,t={})=>{"string"==typeof e&&(e=o.parse(e,t));let a=r(e,t);return!0===t.noempty&&(a=a.filter(Boolean)),!0===t.nodupes&&(a=[...new Set(a)]),a},o.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?o.compile(e,t):o.expand(e,t),e.exports=o},4104:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t,a)=>{const n=new i(e,a),r=new i(t,a);return n.compare(r)||n.compareBuild(r)}},4144:(e,t,a)=>{"use strict";const{createFile:i,createFileSync:n}=a(1872),{createLink:r,createLinkSync:s}=a(130),{createSymlink:o,createSymlinkSync:c}=a(3211);e.exports={createFile:i,createFileSync:n,ensureFile:i,ensureFileSync:n,createLink:r,createLinkSync:s,ensureLink:r,ensureLinkSync:s,createSymlink:o,createSymlinkSync:c,ensureSymlink:o,ensureSymlinkSync:c}},4159:e=>{"use strict";const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},4163:(e,t,a)=>{"use strict";const i=a(2326);e.exports=(e,t,a)=>{try{t=new i(t,a)}catch(e){return!1}return t.test(e)}},4164:(e,t,a)=>{"use strict";const i=a(627),n=a(6928),r=a(7751).copySync,s=a(9630).removeSync,o=a(8006).mkdirpSync,c=a(5838);function p(e,t,a){try{i.renameSync(e,t)}catch(i){if("EXDEV"!==i.code)throw i;return function(e,t,a){return r(e,t,{overwrite:a,errorOnExist:!0,preserveTimestamps:!0}),s(e)}(e,t,a)}}e.exports=function(e,t,a){const r=(a=a||{}).overwrite||a.clobber||!1,{srcStat:l,isChangingCase:u=!1}=c.checkPathsSync(e,t,"move",a);return c.checkParentPathsSync(e,l,t,"move"),function(e){const t=n.dirname(e);return n.parse(t).root===t}(t)||o(n.dirname(t)),function(e,t,a,n){if(n)return p(e,t,a);if(a)return s(t),p(e,t,a);if(i.existsSync(t))throw new Error("dest already exists.");return p(e,t,a)}(e,t,r,u)}},4176:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.walkStream=t.walkSync=t.walk=void 0;const i=a(6757),n=a(9905),r=a(134),s=a(7567);function o(e={}){return e instanceof s.default?e:new s.default(e)}t.Settings=s.default,t.walk=function(e,t,a){"function"!=typeof t?new i.default(e,o(t)).read(a):new i.default(e,o()).read(t)},t.walkSync=function(e,t){const a=o(t);return new r.default(e,a).read()},t.walkStream=function(e,t){const a=o(t);return new n.default(e,a).read()}},4240:(e,t,a)=>{"use strict";const i=a(4104);e.exports=(e,t)=>e.sort(((e,a)=>i(a,e,t)))},4247:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t)=>new i(e,t).major},4299:(e,t,a)=>{e.exports=a(9678)},4323:e=>{"use strict";function t(e,t,n){e instanceof RegExp&&(e=a(e,n)),t instanceof RegExp&&(t=a(t,n));var r=i(e,t,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+e.length,r[1]),post:n.slice(r[1]+t.length)}}function a(e,t){var a=t.match(e);return a?a[0]:null}function i(e,t,a){var i,n,r,s,o,c=a.indexOf(e),p=a.indexOf(t,c+1),l=c;if(c>=0&&p>0){if(e===t)return[c,p];for(i=[],r=a.length;l>=0&&!o;)l==c?(i.push(l),c=a.indexOf(e,l+1)):1==i.length?o=[i.pop(),p]:((n=i.pop())<r&&(r=n,s=p),p=a.indexOf(t,l+1)),l=c<p&&c>=0?c:p;i.length&&(o=[r,s])}return o}e.exports=t,t.range=i},4354:(e,t,a)=>{var i=a(6928),n="win32"===process.platform,r=a(9896),s=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);if(i.normalize,n)var o=/(.*?)(?:[\/\\]+|$)/g;else o=/(.*?)(?:[\/]+|$)/g;if(n)var c=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else c=/^[\/]*/;t.realpathSync=function(e,t){if(e=i.resolve(e),t&&Object.prototype.hasOwnProperty.call(t,e))return t[e];var a,s,p,l,u=e,d={},f={};function m(){var t=c.exec(e);a=t[0].length,s=t[0],p=t[0],l="",n&&!f[p]&&(r.lstatSync(p),f[p]=!0)}for(m();a<e.length;){o.lastIndex=a;var h=o.exec(e);if(l=s,s+=h[0],p=l+h[1],a=o.lastIndex,!(f[p]||t&&t[p]===p)){var v;if(t&&Object.prototype.hasOwnProperty.call(t,p))v=t[p];else{var g=r.lstatSync(p);if(!g.isSymbolicLink()){f[p]=!0,t&&(t[p]=p);continue}var b=null;if(!n){var y=g.dev.toString(32)+":"+g.ino.toString(32);d.hasOwnProperty(y)&&(b=d[y])}null===b&&(r.statSync(p),b=r.readlinkSync(p)),v=i.resolve(l,b),t&&(t[p]=v),n||(d[y]=b)}e=i.resolve(v,e.slice(a)),m()}}return t&&(t[u]=e),e},t.realpath=function(e,t,a){if("function"!=typeof a&&(a=function(e){return"function"==typeof e?e:function(){var e;if(s){var t=new Error;e=function(e){e&&(t.message=e.message,a(e=t))}}else e=a;return e;function a(e){if(e){if(process.throwDeprecation)throw e;if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);process.traceDeprecation?console.trace(t):console.error(t)}}}}()}(t),t=null),e=i.resolve(e),t&&Object.prototype.hasOwnProperty.call(t,e))return process.nextTick(a.bind(null,null,t[e]));var p,l,u,d,f=e,m={},h={};function v(){var t=c.exec(e);p=t[0].length,l=t[0],u=t[0],d="",n&&!h[u]?r.lstat(u,(function(e){if(e)return a(e);h[u]=!0,g()})):process.nextTick(g)}function g(){if(p>=e.length)return t&&(t[f]=e),a(null,e);o.lastIndex=p;var i=o.exec(e);return d=l,l+=i[0],u=d+i[1],p=o.lastIndex,h[u]||t&&t[u]===u?process.nextTick(g):t&&Object.prototype.hasOwnProperty.call(t,u)?x(t[u]):r.lstat(u,b)}function b(e,i){if(e)return a(e);if(!i.isSymbolicLink())return h[u]=!0,t&&(t[u]=u),process.nextTick(g);if(!n){var s=i.dev.toString(32)+":"+i.ino.toString(32);if(m.hasOwnProperty(s))return y(null,m[s],u)}r.stat(u,(function(e){if(e)return a(e);r.readlink(u,(function(e,t){n||(m[s]=t),y(e,t)}))}))}function y(e,n,r){if(e)return a(e);var s=i.resolve(d,n);t&&(t[r]=s),x(s)}function x(t){e=i.resolve(t,e.slice(p)),v()}v()}},4370:(e,t,a)=>{"use strict";const i=a(6289),n=a(6928),{mkdirs:r}=a(8006),{pathExists:s}=a(3640),{utimesMillis:o}=a(9467),c=a(5838);async function p(e,t,a){return!a.filter||a.filter(e,t)}async function l(e,t,a,r){const s=r.dereference?i.stat:i.lstat,o=await s(t);if(o.isDirectory())return async function(e,t,a,r,s){t||await i.mkdir(r);const o=[];for await(const e of await i.opendir(a)){const t=n.join(a,e.name),i=n.join(r,e.name);o.push(p(t,i,s).then((e=>{if(e)return c.checkPaths(t,i,"copy",s).then((({destStat:e})=>l(e,t,i,s)))})))}await Promise.all(o),t||await i.chmod(r,e.mode)}(o,e,t,a,r);if(o.isFile()||o.isCharacterDevice()||o.isBlockDevice())return async function(e,t,a,n,r){if(!t)return u(e,a,n,r);if(r.overwrite)return await i.unlink(n),u(e,a,n,r);if(r.errorOnExist)throw new Error(`'${n}' already exists`)}(o,e,t,a,r);if(o.isSymbolicLink())return async function(e,t,a,r){let s=await i.readlink(t);if(r.dereference&&(s=n.resolve(process.cwd(),s)),!e)return i.symlink(s,a);let o=null;try{o=await i.readlink(a)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return i.symlink(s,a);throw e}if(r.dereference&&(o=n.resolve(process.cwd(),o)),c.isSrcSubdir(s,o))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${o}'.`);if(c.isSrcSubdir(o,s))throw new Error(`Cannot overwrite '${o}' with '${s}'.`);return await i.unlink(a),i.symlink(s,a)}(e,t,a,r);if(o.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(o.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}async function u(e,t,a,n){if(await i.copyFile(t,a),n.preserveTimestamps){128&e.mode||await function(e,t){return i.chmod(e,128|t)}(a,e.mode);const n=await i.stat(t);await o(a,n.atime,n.mtime)}return i.chmod(a,e.mode)}e.exports=async function(e,t,a={}){"function"==typeof a&&(a={filter:a}),a.clobber=!("clobber"in a)||!!a.clobber,a.overwrite="overwrite"in a?!!a.overwrite:a.clobber,a.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0001");const{srcStat:i,destStat:o}=await c.checkPaths(e,t,"copy",a);if(await c.checkParentPaths(e,i,t,"copy"),!await p(e,t,a))return;const u=n.dirname(t);await s(u)||await r(u),await l(o,e,t,a)}},4397:(e,t,a)=>{var i=a(6608).Buffer,n=a(1882),r=a(3569),s=a(2203),o=a(7265),c=a(9023);function p(e,t){return i.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function l(e){var t=e.header,a=e.payload,i=e.secret||e.privateKey,n=e.encoding,s=r(t.alg),l=function(e,t,a){a=a||"utf8";var i=p(o(e),"binary"),n=p(o(t),a);return c.format("%s.%s",i,n)}(t,a,n),u=s.sign(l,i);return c.format("%s.%s",l,u)}function u(e){var t=e.secret||e.privateKey||e.key,a=new n(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=a,this.payload=new n(e.payload),this.secret.once("close",function(){!this.payload.writable&&this.readable&&this.sign()}.bind(this)),this.payload.once("close",function(){!this.secret.writable&&this.readable&&this.sign()}.bind(this))}c.inherits(u,s),u.prototype.sign=function(){try{var e=l({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",e),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},u.sign=l,e.exports=u},4434:e=>{"use strict";e.exports=require("events")},4462:(e,t,a)=>{"use strict";var i=a(6543),n=a(6928).posix.dirname,r="win32"===a(857).platform(),s=/\\/g,o=/[\{\[].*[\}\]]$/,c=/(^|[^\\])([\{\[]|\([^\)]+$)/,p=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&r&&e.indexOf("/")<0&&(e=e.replace(s,"/")),o.test(e)&&(e+="/"),e+="a";do{e=n(e)}while(i(e)||c.test(e));return e.replace(p,"$1")}},4522:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4718);t.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=i.path.makeAbsolute(this._settings.cwd,t),t=i.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}}},4566:(e,t,a)=>{"use strict";const{promisify:i}=a(9023),n=a(9896);async function r(e,t,a){if("string"!=typeof a)throw new TypeError("Expected a string, got "+typeof a);try{return(await i(n[e])(a))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function s(e,t,a){if("string"!=typeof a)throw new TypeError("Expected a string, got "+typeof a);try{return n[e](a)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}t.isFile=r.bind(null,"stat","isFile"),t.isDirectory=r.bind(null,"stat","isDirectory"),t.isSymlink=r.bind(null,"lstat","isSymbolicLink"),t.isFileSync=s.bind(null,"statSync","isFile"),t.isDirectorySync=s.bind(null,"statSync","isDirectory"),t.isSymlinkSync=s.bind(null,"lstatSync","isSymbolicLink")},4635:(e,t)=>{"use strict";t.fromCallback=function(e){return Object.defineProperty((function(...t){if("function"!=typeof t[t.length-1])return new Promise(((a,i)=>{t.push(((e,t)=>null!=e?i(e):a(t))),e.apply(this,t)}));e.apply(this,t)}),"name",{value:e.name})},t.fromPromise=function(e){return Object.defineProperty((function(...t){const a=t[t.length-1];if("function"!=typeof a)return e.apply(this,t);t.pop(),e.apply(this,t).then((e=>a(null,e)),a)}),"name",{value:e.name})}},4678:(e,t,a)=>{"use strict";const i=a(2326);e.exports=(e,t)=>new i(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},4691:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(9062);t.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=i.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return null!=e?e:t}}},4709:(e,t,a)=>{e.exports=f,f.GlobSync=m;var i=a(8831),n=a(8782),r=(n.Minimatch,a(9632).Glob,a(9023),a(6928)),s=a(2613),o=a(1806),c=a(7219),p=c.setopts,l=c.ownProp,u=c.childrenIgnored,d=c.isIgnored;function f(e,t){if("function"==typeof t||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new m(e,t).found}function m(e,t){if(!e)throw new Error("must provide pattern");if("function"==typeof t||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof m))return new m(e,t);if(p(this,e,t),this.noprocess)return this;var a=this.minimatch.set.length;this.matches=new Array(a);for(var i=0;i<a;i++)this._process(this.minimatch.set[i],i,!1);this._finish()}m.prototype._finish=function(){if(s.ok(this instanceof m),this.realpath){var e=this;this.matches.forEach((function(t,a){var n=e.matches[a]=Object.create(null);for(var r in t)try{r=e._makeAbs(r),n[i.realpathSync(r,e.realpathCache)]=!0}catch(t){if("stat"!==t.syscall)throw t;n[e._makeAbs(r)]=!0}}))}c.finish(this)},m.prototype._process=function(e,t,a){s.ok(this instanceof m);for(var i,r=0;"string"==typeof e[r];)r++;switch(r){case e.length:return void this._processSimple(e.join("/"),t);case 0:i=null;break;default:i=e.slice(0,r).join("/")}var c,p=e.slice(r);null===i?c=".":o(i)||o(e.map((function(e){return"string"==typeof e?e:"[*]"})).join("/"))?(i&&o(i)||(i="/"+i),c=i):c=i;var l=this._makeAbs(c);u(this,c)||(p[0]===n.GLOBSTAR?this._processGlobStar(i,c,l,p,t,a):this._processReaddir(i,c,l,p,t,a))},m.prototype._processReaddir=function(e,t,a,i,n,s){var o=this._readdir(a,s);if(o){for(var c=i[0],p=!!this.minimatch.negate,l=c._glob,u=this.dot||"."===l.charAt(0),d=[],f=0;f<o.length;f++)("."!==(v=o[f]).charAt(0)||u)&&(p&&!e?!v.match(c):v.match(c))&&d.push(v);var m=d.length;if(0!==m)if(1!==i.length||this.mark||this.stat)for(i.shift(),f=0;f<m;f++){var h;v=d[f],h=e?[e,v]:[v],this._process(h.concat(i),n,s)}else{this.matches[n]||(this.matches[n]=Object.create(null));for(f=0;f<m;f++){var v=d[f];e&&(v="/"!==e.slice(-1)?e+"/"+v:e+v),"/"!==v.charAt(0)||this.nomount||(v=r.join(this.root,v)),this._emitMatch(n,v)}}}},m.prototype._emitMatch=function(e,t){if(!d(this,t)){var a=this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=a),!this.matches[e][t]){if(this.nodir){var i=this.cache[a];if("DIR"===i||Array.isArray(i))return}this.matches[e][t]=!0,this.stat&&this._stat(t)}}},m.prototype._readdirInGlobStar=function(e){if(this.follow)return this._readdir(e,!1);var t,a;try{a=this.fs.lstatSync(e)}catch(e){if("ENOENT"===e.code)return null}var i=a&&a.isSymbolicLink();return this.symlinks[e]=i,i||!a||a.isDirectory()?t=this._readdir(e,!1):this.cache[e]="FILE",t},m.prototype._readdir=function(e,t){if(t&&!l(this.symlinks,e))return this._readdirInGlobStar(e);if(l(this.cache,e)){var a=this.cache[e];if(!a||"FILE"===a)return null;if(Array.isArray(a))return a}try{return this._readdirEntries(e,this.fs.readdirSync(e))}catch(t){return this._readdirError(e,t),null}},m.prototype._readdirEntries=function(e,t){if(!this.mark&&!this.stat)for(var a=0;a<t.length;a++){var i=t[a];i="/"===e?e+i:e+"/"+i,this.cache[i]=!0}return this.cache[e]=t,t},m.prototype._readdirError=function(e,t){switch(t.code){case"ENOTSUP":case"ENOTDIR":var a=this._makeAbs(e);if(this.cache[a]="FILE",a===this.cwdAbs){var i=new Error(t.code+" invalid cwd "+this.cwd);throw i.path=this.cwd,i.code=t.code,i}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:if(this.cache[this._makeAbs(e)]=!1,this.strict)throw t;this.silent||console.error("glob error",t)}},m.prototype._processGlobStar=function(e,t,a,i,n,r){var s=this._readdir(a,r);if(s){var o=i.slice(1),c=e?[e]:[],p=c.concat(o);this._process(p,n,!1);var l=s.length;if(!this.symlinks[a]||!r)for(var u=0;u<l;u++)if("."!==s[u].charAt(0)||this.dot){var d=c.concat(s[u],o);this._process(d,n,!0);var f=c.concat(s[u],i);this._process(f,n,!0)}}},m.prototype._processSimple=function(e,t){var a=this._stat(e);if(this.matches[t]||(this.matches[t]=Object.create(null)),a){if(e&&o(e)&&!this.nomount){var i=/[\/\\]$/.test(e);"/"===e.charAt(0)?e=r.join(this.root,e):(e=r.resolve(this.root,e),i&&(e+="/"))}"win32"===process.platform&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e)}},m.prototype._stat=function(e){var t=this._makeAbs(e),a="/"===e.slice(-1);if(e.length>this.maxLength)return!1;if(!this.stat&&l(this.cache,t)){var i=this.cache[t];if(Array.isArray(i)&&(i="DIR"),!a||"DIR"===i)return i;if(a&&"FILE"===i)return!1}var n=this.statCache[t];if(!n){var r;try{r=this.fs.lstatSync(t)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return this.statCache[t]=!1,!1}if(r&&r.isSymbolicLink())try{n=this.fs.statSync(t)}catch(e){n=r}else n=r}return this.statCache[t]=n,i=!0,n&&(i=n.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||i,(!a||"FILE"!==i)&&i},m.prototype._mark=function(e){return c.mark(this,e)},m.prototype._makeAbs=function(e){return c.makeAbs(this,e)}},4710:(e,t,a)=>{"use strict";const i=a(9789),n=(e,t,a)=>{if(!1===i(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===i(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let r={relaxZeros:!0,...a};"boolean"==typeof r.strictZeros&&(r.relaxZeros=!1===r.strictZeros);let c=e+":"+t+"="+String(r.relaxZeros)+String(r.shorthand)+String(r.capture)+String(r.wrap);if(n.cache.hasOwnProperty(c))return n.cache[c].result;let p=Math.min(e,t),l=Math.max(e,t);if(1===Math.abs(p-l)){let a=e+"|"+t;return r.capture?`(${a})`:!1===r.wrap?a:`(?:${a})`}let u=f(e)||f(t),d={min:e,max:t,a:p,b:l},m=[],h=[];return u&&(d.isPadded=u,d.maxLen=String(d.max).length),p<0&&(h=s(l<0?Math.abs(l):1,Math.abs(p),d,r),p=d.a=0),l>=0&&(m=s(p,l,d,r)),d.negatives=h,d.positives=m,d.result=function(e,t){let a=o(e,t,"-",!1)||[],i=o(t,e,"",!1)||[],n=o(e,t,"-?",!0)||[];return a.concat(n).concat(i).join("|")}(h,m),!0===r.capture?d.result=`(${d.result})`:!1!==r.wrap&&m.length+h.length>1&&(d.result=`(?:${d.result})`),n.cache[c]=d,d.result};function r(e,t,a){if(e===t)return{pattern:e,count:[],digits:0};let i=function(e,t){let a=[];for(let i=0;i<e.length;i++)a.push([e[i],t[i]]);return a}(e,t),n=i.length,r="",s=0;for(let e=0;e<n;e++){let[t,a]=i[e];t===a?r+=t:"0"!==t||"9"!==a?r+=`[${o=t}${(c=a)-o===1?"":"-"}${c}]`:s++}var o,c;return s&&(r+=!0===a.shorthand?"\\d":"[0-9]"),{pattern:r,count:[s],digits:n}}function s(e,t,a,i){let n,s=function(e,t){let a=1,i=1,n=l(e,a),r=new Set([t]);for(;e<=n&&n<=t;)r.add(n),a+=1,n=l(e,a);for(n=u(t+1,i)-1;e<n&&n<=t;)r.add(n),i+=1,n=u(t+1,i)-1;return r=[...r],r.sort(c),r}(e,t),o=[],p=e;for(let e=0;e<s.length;e++){let t=s[e],c=r(String(p),String(t),i),l="";a.isPadded||!n||n.pattern!==c.pattern?(a.isPadded&&(l=m(t,a,i)),c.string=l+c.pattern+d(c.count),o.push(c),p=t+1,n=c):(n.count.length>1&&n.count.pop(),n.count.push(c.count[0]),n.string=n.pattern+d(n.count),p=t+1)}return o}function o(e,t,a,i,n){let r=[];for(let n of e){let{string:e}=n;i||p(t,"string",e)||r.push(a+e),i&&p(t,"string",e)&&r.push(a+e)}return r}function c(e,t){return e>t?1:t>e?-1:0}function p(e,t,a){return e.some((e=>e[t]===a))}function l(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function u(e,t){return e-e%Math.pow(10,t)}function d(e){let[t=0,a=""]=e;return a||t>1?`{${t+(a?","+a:"")}}`:""}function f(e){return/^-?(0+)\d/.test(e)}function m(e,t,a){if(!t.isPadded)return e;let i=Math.abs(t.maxLen-String(e).length),n=!1!==a.relaxZeros;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}}`}}n.cache={},n.clearCache=()=>n.cache={},e.exports=n},4718:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.string=t.stream=t.pattern=t.path=t.fs=t.errno=t.array=void 0;const i=a(51);t.array=i;const n=a(2930);t.errno=n;const r=a(9063);t.fs=r;const s=a(823);t.path=s;const o=a(7948);t.pattern=o;const c=a(7116);t.stream=c;const p=a(5501);t.string=p},4751:(e,t,a)=>{"use strict";const i=a(6928),n="\\\\/",r=`[^${n}]`,s="\\.",o="\\/",c="[^/]",p=`(?:${o}|$)`,l=`(?:^|${o})`,u=`${s}{1,2}${p}`,d={DOT_LITERAL:s,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:o,ONE_CHAR:"(?=.)",QMARK:c,END_ANCHOR:p,DOTS_SLASH:u,NO_DOT:`(?!${s})`,NO_DOTS:`(?!${l}${u})`,NO_DOT_SLASH:`(?!${s}{0,1}${p})`,NO_DOTS_SLASH:`(?!${u})`,QMARK_NO_DOT:`[^.${o}]`,STAR:`${c}*?`,START_ANCHOR:l},f={...d,SLASH_LITERAL:`[${n}]`,QMARK:r,STAR:`${r}*?`,DOTS_SLASH:`${s}{1,2}(?:[${n}]|$)`,NO_DOT:`(?!${s})`,NO_DOTS:`(?!(?:^|[${n}])${s}{1,2}(?:[${n}]|$))`,NO_DOT_SLASH:`(?!${s}{0,1}(?:[${n}]|$))`,NO_DOTS_SLASH:`(?!${s}{1,2}(?:[${n}]|$))`,QMARK_NO_DOT:`[^.${n}]`,START_ANCHOR:`(?:^|[${n}])`,END_ANCHOR:`(?:[${n}]|$)`};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{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"},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:i.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?f:d}},5111:(e,t,a)=>{"use strict";const i=a(2411),n=a(1811);e.exports=(e,t={})=>{const a=(e,r={})=>{const s=n.isInvalidBrace(r),o=!0===e.invalid&&!0===t.escapeInvalid,c=!0===s||!0===o,p=!0===t.escapeInvalid?"\\":"";let l="";if(!0===e.isOpen)return p+e.value;if(!0===e.isClose)return console.log("node.isClose",p,e.value),p+e.value;if("open"===e.type)return c?p+e.value:"(";if("close"===e.type)return c?p+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":c?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){const a=n.reduce(e.nodes),r=i(...a,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(0!==r.length)return a.length>1&&r.length>1?`(${r})`:r}if(e.nodes)for(const t of e.nodes)l+=a(t,e);return l};return a(e)}},5127:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4176),n=a(9956),r=a(1643);class s extends n.default{constructor(){super(...arguments),this._walkAsync=i.walk,this._readerStream=new r.default(this._settings)}dynamic(e,t){return new Promise(((a,i)=>{this._walkAsync(e,t,((e,t)=>{null===e?a(t):i(e)}))}))}async static(e,t){const a=[],i=this._readerStream.static(e,t);return new Promise(((e,t)=>{i.once("error",t),i.on("data",(e=>a.push(e))),i.once("end",(()=>e(a)))}))}}t.default=s},5156:(e,t,a)=>{const{InvalidArgumentError:i}=a(723);function n(e){let t,a;const i=e.split(/[ |,]+/);return i.length>1&&!/^[[<]/.test(i[1])&&(t=i.shift()),a=i.shift(),!t&&/^-[^-]$/.test(a)&&(t=a,a=void 0),{shortFlag:t,longFlag:a}}t.Option=class{constructor(e,t){this.flags=e,this.description=t||"",this.required=e.includes("<"),this.optional=e.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(e),this.mandatory=!1;const a=n(e);this.short=a.shortFlag,this.long=a.longFlag,this.negate=!1,this.long&&(this.negate=this.long.startsWith("--no-")),this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}preset(e){return this.presetArg=e,this}conflicts(e){return this.conflictsWith=this.conflictsWith.concat(e),this}implies(e){let t=e;return"string"==typeof e&&(t={[e]:!0}),this.implied=Object.assign(this.implied||{},t),this}env(e){return this.envVar=e,this}argParser(e){return this.parseArg=e,this}makeOptionMandatory(e=!0){return this.mandatory=!!e,this}hideHelp(e=!0){return this.hidden=!!e,this}_concatValue(e,t){return t!==this.defaultValue&&Array.isArray(t)?t.concat(e):[e]}choices(e){return this.argChoices=e.slice(),this.parseArg=(e,t)=>{if(!this.argChoices.includes(e))throw new i(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,t):e},this}name(){return this.long?this.long.replace(/^--/,""):this.short.replace(/^-/,"")}attributeName(){return this.name().replace(/^no-/,"").split("-").reduce(((e,t)=>e+t[0].toUpperCase()+t.slice(1)))}is(e){return this.short===e||this.long===e}isBoolean(){return!this.required&&!this.optional&&!this.negate}},t.splitOptionFlags=n,t.DualOptions=class{constructor(e){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,e.forEach((e=>{e.negate?this.negativeOptions.set(e.attributeName(),e):this.positiveOptions.set(e.attributeName(),e)})),this.negativeOptions.forEach(((e,t)=>{this.positiveOptions.has(t)&&this.dualOptions.add(t)}))}valueFromOption(e,t){const a=t.attributeName();if(!this.dualOptions.has(a))return!0;const i=this.negativeOptions.get(a).presetArg,n=void 0!==i&&i;return t.negate===(n===e)}}},5250:e=>{var t=1/0,a=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,r=/^0o[0-7]+$/i,s=parseInt,o=Object.prototype.toString;function c(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return"number"==typeof e&&e==function(e){var p=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==o.call(e)}(e))return NaN;if(c(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=c(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var p=n.test(e);return p||r.test(e)?s(e.slice(2),p?2:8):i.test(e)?NaN:+e}(e))===t||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),l=p%1;return p==p?l?p-l:p:0}(e)}},5261:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(2203),n=a(1643),r=a(8036);class s extends r.default{constructor(){super(...arguments),this._reader=new n.default(this._settings)}read(e){const t=this._getRootDirectory(e),a=this._getReaderOptions(e),n=this.api(t,e,a),r=new i.Readable({objectMode:!0,read:()=>{}});return n.once("error",(e=>r.emit("error",e))).on("data",(e=>r.emit("data",a.transform(e)))).once("end",(()=>r.emit("end"))),r.once("close",(()=>n.destroy())),r}api(e,t,a){return t.dynamic?this._reader.dynamic(e,a):this._reader.static(t.patterns,a)}}t.default=s},5317:e=>{"use strict";e.exports=require("child_process")},5338:(e,t,a)=>{"use strict";const{stringify:i}=a(374),{outputFile:n}=a(1376);e.exports=async function(e,t,a={}){const r=i(t,a);await n(e,r,a)}},5357:e=>{var t=1/0,a=9007199254740991,i=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,s=/^0o[0-7]+$/i,o=/^(?:0|[1-9]\d*)$/,c=parseInt;function p(e){return e!=e}var l,u,d=Object.prototype,f=d.hasOwnProperty,m=d.toString,h=d.propertyIsEnumerable,v=(l=Object.keys,u=Object,function(e){return l(u(e))}),g=Math.max;function b(e,t){return!!(t=null==t?a:t)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}var y=Array.isArray;function x(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}(e.length)&&!function(e){var t=w(e)?m.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}function w(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function _(e){return!!e&&"object"==typeof e}e.exports=function(e,a,o,l){var u;e=x(e)?e:(u=e)?function(e,t){return function(t){for(var a=-1,i=t?t.length:0,n=Array(i);++a<i;)n[a]=(r=t[a],e[r]);var r;return n}(t)}(u,function(e){return x(e)?function(e,t){var a=y(e)||function(e){return function(e){return _(e)&&x(e)}(e)&&f.call(e,"callee")&&(!h.call(e,"callee")||"[object Arguments]"==m.call(e))}(e)?function(e,t){for(var a=-1,i=Array(e);++a<e;)i[a]=t(a);return i}(e.length,String):[],i=a.length,n=!!i;for(var r in e)!t&&!f.call(e,r)||n&&("length"==r||b(r,i))||a.push(r);return a}(e):function(e){if(a=(t=e)&&t.constructor,t!==("function"==typeof a&&a.prototype||d))return v(e);var t,a,i=[];for(var n in Object(e))f.call(e,n)&&"constructor"!=n&&i.push(n);return i}(e)}(u)):[],o=o&&!l?function(e){var a=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||_(e)&&"[object Symbol]"==m.call(e)}(e))return NaN;if(w(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=w(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var a=r.test(e);return a||s.test(e)?c(e.slice(2),a?2:8):n.test(e)?NaN:+e}(e))===t||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),o=a%1;return a==a?o?a-o:a:0}(o):0;var k=e.length;return o<0&&(o=g(k+o,0)),function(e){return"string"==typeof e||!y(e)&&_(e)&&"[object String]"==m.call(e)}(e)?o<=k&&e.indexOf(a,o)>-1:!!k&&function(e,t,a){if(t!=t)return function(e,t,a){for(var i=e.length,n=a+-1;++n<i;)if(t(e[n],n,e))return n;return-1}(e,p,a);for(var i=a-1,n=e.length;++i<n;)if(e[i]===t)return i;return-1}(e,a,o)>-1}},5363:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t)=>new i(e,t).minor},5453:(e,t,a)=>{"use strict";const i=a(4751),n=a(6927),{MAX_LENGTH:r,POSIX_REGEX_SOURCE:s,REGEX_NON_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:p}=i,l=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const a=`[${e.join("-")}]`;try{new RegExp(a)}catch(t){return e.map((e=>n.escapeRegex(e))).join("..")}return a},u=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,d=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=p[e]||e;const a={...t},f="number"==typeof a.maxLength?Math.min(r,a.maxLength):r;let m=e.length;if(m>f)throw new SyntaxError(`Input length: ${m}, exceeds maximum allowed length: ${f}`);const h={type:"bos",value:"",output:a.prepend||""},v=[h],g=a.capture?"":"?:",b=n.isWindows(t),y=i.globChars(b),x=i.extglobChars(y),{DOT_LITERAL:w,PLUS_LITERAL:_,SLASH_LITERAL:k,ONE_CHAR:S,DOTS_SLASH:E,NO_DOT:j,NO_DOT_SLASH:T,NO_DOTS_SLASH:A,QMARK:C,QMARK_NO_DOT:O,STAR:P,START_ANCHOR:R}=y,I=e=>`(${g}(?:(?!${R}${e.dot?E:w}).)*?)`,N=a.dot?"":j,L=a.dot?C:O;let $=!0===a.bash?I(a):P;a.capture&&($=`(${$})`),"boolean"==typeof a.noext&&(a.noextglob=a.noext);const D={input:e,index:-1,start:0,dot:!0===a.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:v};e=n.removePrefix(e,D),m=e.length;const M=[],q=[],F=[];let B,z=h;const H=()=>D.index===m-1,Z=D.peek=(t=1)=>e[D.index+t],U=D.advance=()=>e[++D.index]||"",V=()=>e.slice(D.index+1),W=(e="",t=0)=>{D.consumed+=e,D.index+=t},G=e=>{D.output+=null!=e.output?e.output:e.value,W(e.value)},K=()=>{let e=1;for(;"!"===Z()&&("("!==Z(2)||"?"===Z(3));)U(),D.start++,e++;return e%2!=0&&(D.negated=!0,D.start++,!0)},J=e=>{D[e]++,F.push(e)},Y=e=>{D[e]--,F.pop()},X=e=>{if("globstar"===z.type){const t=D.braces>0&&("comma"===e.type||"brace"===e.type),a=!0===e.extglob||M.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||a||(D.output=D.output.slice(0,-z.output.length),z.type="star",z.value="*",z.output=$,D.output+=z.output)}if(M.length&&"paren"!==e.type&&(M[M.length-1].inner+=e.value),(e.value||e.output)&&G(e),z&&"text"===z.type&&"text"===e.type)return z.value+=e.value,void(z.output=(z.output||"")+e.value);e.prev=z,v.push(e),z=e},Q=(e,t)=>{const i={...x[t],conditions:1,inner:""};i.prev=z,i.parens=D.parens,i.output=D.output;const n=(a.capture?"(":"")+i.open;J("parens"),X({type:e,value:t,output:D.output?"":S}),X({type:"paren",extglob:!0,value:U(),output:n}),M.push(i)},ee=e=>{let i,n=e.close+(a.capture?")":"");if("negate"===e.type){let r=$;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(r=I(a)),(r!==$||H()||/^\)+$/.test(V()))&&(n=e.close=`)$))${r}`),e.inner.includes("*")&&(i=V())&&/^\.[^\\/.]+$/.test(i)){const a=d(i,{...t,fastpaths:!1}).output;n=e.close=`)${a})${r})`}"bos"===e.prev.type&&(D.negatedExtglob=!0)}X({type:"paren",extglob:!0,value:B,output:n}),Y("parens")};if(!1!==a.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let i=!1,r=e.replace(c,((e,t,a,n,r,s)=>"\\"===n?(i=!0,e):"?"===n?t?t+n+(r?C.repeat(r.length):""):0===s?L+(r?C.repeat(r.length):""):C.repeat(a.length):"."===n?w.repeat(a.length):"*"===n?t?t+n+(r?$:""):$:t?e:`\\${e}`));return!0===i&&(r=!0===a.unescape?r.replace(/\\/g,""):r.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),r===e&&!0===a.contains?(D.output=e,D):(D.output=n.wrapOutput(r,D,t),D)}for(;!H();){if(B=U(),"\0"===B)continue;if("\\"===B){const e=Z();if("/"===e&&!0!==a.bash)continue;if("."===e||";"===e)continue;if(!e){B+="\\",X({type:"text",value:B});continue}const t=/^\\+/.exec(V());let i=0;if(t&&t[0].length>2&&(i=t[0].length,D.index+=i,i%2!=0&&(B+="\\")),!0===a.unescape?B=U():B+=U(),0===D.brackets){X({type:"text",value:B});continue}}if(D.brackets>0&&("]"!==B||"["===z.value||"[^"===z.value)){if(!1!==a.posix&&":"===B){const e=z.value.slice(1);if(e.includes("[")&&(z.posix=!0,e.includes(":"))){const e=z.value.lastIndexOf("["),t=z.value.slice(0,e),a=z.value.slice(e+2),i=s[a];if(i){z.value=t+i,D.backtrack=!0,U(),h.output||1!==v.indexOf(z)||(h.output=S);continue}}}("["===B&&":"!==Z()||"-"===B&&"]"===Z())&&(B=`\\${B}`),"]"!==B||"["!==z.value&&"[^"!==z.value||(B=`\\${B}`),!0===a.posix&&"!"===B&&"["===z.value&&(B="^"),z.value+=B,G({value:B});continue}if(1===D.quotes&&'"'!==B){B=n.escapeRegex(B),z.value+=B,G({value:B});continue}if('"'===B){D.quotes=1===D.quotes?0:1,!0===a.keepQuotes&&X({type:"text",value:B});continue}if("("===B){J("parens"),X({type:"paren",value:B});continue}if(")"===B){if(0===D.parens&&!0===a.strictBrackets)throw new SyntaxError(u("opening","("));const e=M[M.length-1];if(e&&D.parens===e.parens+1){ee(M.pop());continue}X({type:"paren",value:B,output:D.parens?")":"\\)"}),Y("parens");continue}if("["===B){if(!0!==a.nobracket&&V().includes("]"))J("brackets");else{if(!0!==a.nobracket&&!0===a.strictBrackets)throw new SyntaxError(u("closing","]"));B=`\\${B}`}X({type:"bracket",value:B});continue}if("]"===B){if(!0===a.nobracket||z&&"bracket"===z.type&&1===z.value.length){X({type:"text",value:B,output:`\\${B}`});continue}if(0===D.brackets){if(!0===a.strictBrackets)throw new SyntaxError(u("opening","["));X({type:"text",value:B,output:`\\${B}`});continue}Y("brackets");const e=z.value.slice(1);if(!0===z.posix||"^"!==e[0]||e.includes("/")||(B=`/${B}`),z.value+=B,G({value:B}),!1===a.literalBrackets||n.hasRegexChars(e))continue;const t=n.escapeRegex(z.value);if(D.output=D.output.slice(0,-z.value.length),!0===a.literalBrackets){D.output+=t,z.value=t;continue}z.value=`(${g}${t}|${z.value})`,D.output+=z.value;continue}if("{"===B&&!0!==a.nobrace){J("braces");const e={type:"brace",value:B,output:"(",outputIndex:D.output.length,tokensIndex:D.tokens.length};q.push(e),X(e);continue}if("}"===B){const e=q[q.length-1];if(!0===a.nobrace||!e){X({type:"text",value:B,output:B});continue}let t=")";if(!0===e.dots){const e=v.slice(),i=[];for(let t=e.length-1;t>=0&&(v.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&i.unshift(e[t].value);t=l(i,a),D.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const a=D.output.slice(0,e.outputIndex),i=D.tokens.slice(e.tokensIndex);e.value=e.output="\\{",B=t="\\}",D.output=a;for(const e of i)D.output+=e.output||e.value}X({type:"brace",value:B,output:t}),Y("braces"),q.pop();continue}if("|"===B){M.length>0&&M[M.length-1].conditions++,X({type:"text",value:B});continue}if(","===B){let e=B;const t=q[q.length-1];t&&"braces"===F[F.length-1]&&(t.comma=!0,e="|"),X({type:"comma",value:B,output:e});continue}if("/"===B){if("dot"===z.type&&D.index===D.start+1){D.start=D.index+1,D.consumed="",D.output="",v.pop(),z=h;continue}X({type:"slash",value:B,output:k});continue}if("."===B){if(D.braces>0&&"dot"===z.type){"."===z.value&&(z.output=w);const e=q[q.length-1];z.type="dots",z.output+=B,z.value+=B,e.dots=!0;continue}if(D.braces+D.parens===0&&"bos"!==z.type&&"slash"!==z.type){X({type:"text",value:B,output:w});continue}X({type:"dot",value:B,output:w});continue}if("?"===B){if((!z||"("!==z.value)&&!0!==a.noextglob&&"("===Z()&&"?"!==Z(2)){Q("qmark",B);continue}if(z&&"paren"===z.type){const e=Z();let t=B;if("<"===e&&!n.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===z.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(V()))&&(t=`\\${B}`),X({type:"text",value:B,output:t});continue}if(!0!==a.dot&&("slash"===z.type||"bos"===z.type)){X({type:"qmark",value:B,output:O});continue}X({type:"qmark",value:B,output:C});continue}if("!"===B){if(!0!==a.noextglob&&"("===Z()&&("?"!==Z(2)||!/[!=<:]/.test(Z(3)))){Q("negate",B);continue}if(!0!==a.nonegate&&0===D.index){K();continue}}if("+"===B){if(!0!==a.noextglob&&"("===Z()&&"?"!==Z(2)){Q("plus",B);continue}if(z&&"("===z.value||!1===a.regex){X({type:"plus",value:B,output:_});continue}if(z&&("bracket"===z.type||"paren"===z.type||"brace"===z.type)||D.parens>0){X({type:"plus",value:B});continue}X({type:"plus",value:_});continue}if("@"===B){if(!0!==a.noextglob&&"("===Z()&&"?"!==Z(2)){X({type:"at",extglob:!0,value:B,output:""});continue}X({type:"text",value:B});continue}if("*"!==B){"$"!==B&&"^"!==B||(B=`\\${B}`);const e=o.exec(V());e&&(B+=e[0],D.index+=e[0].length),X({type:"text",value:B});continue}if(z&&("globstar"===z.type||!0===z.star)){z.type="star",z.star=!0,z.value+=B,z.output=$,D.backtrack=!0,D.globstar=!0,W(B);continue}let t=V();if(!0!==a.noextglob&&/^\([^?]/.test(t)){Q("star",B);continue}if("star"===z.type){if(!0===a.noglobstar){W(B);continue}const i=z.prev,n=i.prev,r="slash"===i.type||"bos"===i.type,s=n&&("star"===n.type||"globstar"===n.type);if(!0===a.bash&&(!r||t[0]&&"/"!==t[0])){X({type:"star",value:B,output:""});continue}const o=D.braces>0&&("comma"===i.type||"brace"===i.type),c=M.length&&("pipe"===i.type||"paren"===i.type);if(!r&&"paren"!==i.type&&!o&&!c){X({type:"star",value:B,output:""});continue}for(;"/**"===t.slice(0,3);){const a=e[D.index+4];if(a&&"/"!==a)break;t=t.slice(3),W("/**",3)}if("bos"===i.type&&H()){z.type="globstar",z.value+=B,z.output=I(a),D.output=z.output,D.globstar=!0,W(B);continue}if("slash"===i.type&&"bos"!==i.prev.type&&!s&&H()){D.output=D.output.slice(0,-(i.output+z.output).length),i.output=`(?:${i.output}`,z.type="globstar",z.output=I(a)+(a.strictSlashes?")":"|$)"),z.value+=B,D.globstar=!0,D.output+=i.output+z.output,W(B);continue}if("slash"===i.type&&"bos"!==i.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";D.output=D.output.slice(0,-(i.output+z.output).length),i.output=`(?:${i.output}`,z.type="globstar",z.output=`${I(a)}${k}|${k}${e})`,z.value+=B,D.output+=i.output+z.output,D.globstar=!0,W(B+U()),X({type:"slash",value:"/",output:""});continue}if("bos"===i.type&&"/"===t[0]){z.type="globstar",z.value+=B,z.output=`(?:^|${k}|${I(a)}${k})`,D.output=z.output,D.globstar=!0,W(B+U()),X({type:"slash",value:"/",output:""});continue}D.output=D.output.slice(0,-z.output.length),z.type="globstar",z.output=I(a),z.value+=B,D.output+=z.output,D.globstar=!0,W(B);continue}const i={type:"star",value:B,output:$};!0!==a.bash?!z||"bracket"!==z.type&&"paren"!==z.type||!0!==a.regex?(D.index!==D.start&&"slash"!==z.type&&"dot"!==z.type||("dot"===z.type?(D.output+=T,z.output+=T):!0===a.dot?(D.output+=A,z.output+=A):(D.output+=N,z.output+=N),"*"!==Z()&&(D.output+=S,z.output+=S)),X(i)):(i.output=B,X(i)):(i.output=".*?","bos"!==z.type&&"slash"!==z.type||(i.output=N+i.output),X(i))}for(;D.brackets>0;){if(!0===a.strictBrackets)throw new SyntaxError(u("closing","]"));D.output=n.escapeLast(D.output,"["),Y("brackets")}for(;D.parens>0;){if(!0===a.strictBrackets)throw new SyntaxError(u("closing",")"));D.output=n.escapeLast(D.output,"("),Y("parens")}for(;D.braces>0;){if(!0===a.strictBrackets)throw new SyntaxError(u("closing","}"));D.output=n.escapeLast(D.output,"{"),Y("braces")}if(!0===a.strictSlashes||"star"!==z.type&&"bracket"!==z.type||X({type:"maybe_slash",value:"",output:`${k}?`}),!0===D.backtrack){D.output="";for(const e of D.tokens)D.output+=null!=e.output?e.output:e.value,e.suffix&&(D.output+=e.suffix)}return D};d.fastpaths=(e,t)=>{const a={...t},s="number"==typeof a.maxLength?Math.min(r,a.maxLength):r,o=e.length;if(o>s)throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${s}`);e=p[e]||e;const c=n.isWindows(t),{DOT_LITERAL:l,SLASH_LITERAL:u,ONE_CHAR:d,DOTS_SLASH:f,NO_DOT:m,NO_DOTS:h,NO_DOTS_SLASH:v,STAR:g,START_ANCHOR:b}=i.globChars(c),y=a.dot?h:m,x=a.dot?v:m,w=a.capture?"":"?:";let _=!0===a.bash?".*?":g;a.capture&&(_=`(${_})`);const k=e=>!0===e.noglobstar?_:`(${w}(?:(?!${b}${e.dot?f:l}).)*?)`,S=e=>{switch(e){case"*":return`${y}${d}${_}`;case".*":return`${l}${d}${_}`;case"*.*":return`${y}${_}${l}${d}${_}`;case"*/*":return`${y}${_}${u}${d}${x}${_}`;case"**":return y+k(a);case"**/*":return`(?:${y}${k(a)}${u})?${x}${d}${_}`;case"**/*.*":return`(?:${y}${k(a)}${u})?${x}${_}${l}${d}${_}`;case"**/.*":return`(?:${y}${k(a)}${u})?${l}${d}${_}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const a=S(t[1]);if(!a)return;return a+l+t[2]}}},E=n.removePrefix(e,{negated:!1,prefix:""});let j=S(E);return j&&!0!==a.strictSlashes&&(j+=`${u}?`),j},e.exports=d},5469:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t,a)=>new i(e,a).compare(new i(t,a))},5501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=t.isString=void 0,t.isString=function(e){return"string"==typeof e},t.isEmpty=function(e){return""===e}},5562:(e,t,a)=>{"use strict";e.exports=a(8996)},5582:(e,t,a)=>{var i=a(32);e.exports=i.satisfies(process.version,"^6.12.0 || >=8.0.0")},5585:(e,t,a)=>{"use strict";const i=a(2771),n=a(1289),{safeRe:r,t:s}=a(6999);e.exports=(e,t)=>{if(e instanceof i)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let a=null;if((t=t||{}).rtl){const i=t.includePrerelease?r[s.COERCERTLFULL]:r[s.COERCERTL];let n;for(;(n=i.exec(e))&&(!a||a.index+a[0].length!==e.length);)a&&n.index+n[0].length===a.index+a[0].length||(a=n),i.lastIndex=n.index+n[1].length+n[2].length;i.lastIndex=-1}else a=e.match(t.includePrerelease?r[s.COERCEFULL]:r[s.COERCE]);if(null===a)return null;const o=a[2],c=a[3]||"0",p=a[4]||"0",l=t.includePrerelease&&a[5]?`-${a[5]}`:"",u=t.includePrerelease&&a[6]?`+${a[6]}`:"";return n(`${o}.${c}.${p}${l}${u}`,t)}},5612:(e,t,a)=>{const i=a(32);e.exports=i.satisfies(process.version,">=16.9.0")},5665:(e,t,a)=>{"use strict";const{EventEmitter:i}=a(4434),n=a(9896),r=a(6928),{promisify:s}=a(9023),o=a(7361),c=a(3785).default,p=a(4462),l=a(6543),u=a(4078),d=a(5859),f=a(7167),m=a(3142),{EV_ALL:h,EV_READY:v,EV_ADD:g,EV_CHANGE:b,EV_UNLINK:y,EV_ADD_DIR:x,EV_UNLINK_DIR:w,EV_RAW:_,EV_ERROR:k,STR_CLOSE:S,STR_END:E,BACK_SLASH_RE:j,DOUBLE_SLASH_RE:T,SLASH_OR_BACK_SLASH_RE:A,DOT_RE:C,REPLACER_RE:O,SLASH:P,SLASH_SLASH:R,BRACE_START:I,BANG:N,ONE_DOT:L,TWO_DOTS:$,GLOBSTAR:D,SLASH_GLOBSTAR:M,ANYMATCH_OPTS:q,STRING_TYPE:F,FUNCTION_TYPE:B,EMPTY_STR:z,EMPTY_FN:H,isWindows:Z,isMacos:U,isIBMi:V}=a(416),W=s(n.stat),G=s(n.readdir),K=(e=[])=>Array.isArray(e)?e:[e],J=(e,t=[])=>(e.forEach((e=>{Array.isArray(e)?J(e,t):t.push(e)})),t),Y=e=>{const t=J(K(e));if(!t.every((e=>typeof e===F)))throw new TypeError(`Non-string provided as watch path: ${t}`);return t.map(Q)},X=e=>{let t=e.replace(j,P),a=!1;for(t.startsWith(R)&&(a=!0);t.match(T);)t=t.replace(T,P);return a&&(t=P+t),t},Q=e=>X(r.normalize(X(e))),ee=(e=z)=>t=>typeof t!==F?t:Q(r.isAbsolute(t)?t:r.join(e,t)),te=(e,t)=>void 0===e[t];class ae{constructor(e,t){this.path=e,this._removeWatcher=t,this.items=new Set}add(e){const{items:t}=this;t&&e!==L&&e!==$&&t.add(e)}async remove(e){const{items:t}=this;if(!t)return;if(t.delete(e),t.size>0)return;const a=this.path;try{await G(a)}catch(e){this._removeWatcher&&this._removeWatcher(r.dirname(a),r.basename(a))}}has(e){const{items:t}=this;if(t)return t.has(e)}getChildren(){const{items:e}=this;if(e)return[...e.values()]}dispose(){this.items.clear(),delete this.path,delete this._removeWatcher,delete this.items,Object.freeze(this)}}class ie{constructor(e,t,a,i){this.fsw=i,this.path=e=e.replace(O,z),this.watchPath=t,this.fullWatchPath=r.resolve(t),this.hasGlob=t!==e,e===z&&(this.hasGlob=!1),this.globSymlink=!(!this.hasGlob||!a)&&void 0,this.globFilter=!!this.hasGlob&&c(e,void 0,q),this.dirParts=this.getDirParts(e),this.dirParts.forEach((e=>{e.length>1&&e.pop()})),this.followSymlinks=a,this.statMethod=a?"stat":"lstat"}checkGlobSymlink(e){return void 0===this.globSymlink&&(this.globSymlink=e.fullParentDir!==this.fullWatchPath&&{realPath:e.fullParentDir,linkPath:this.fullWatchPath}),this.globSymlink?e.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath):e.fullPath}entryPath(e){return r.join(this.watchPath,r.relative(this.watchPath,this.checkGlobSymlink(e)))}filterPath(e){const{stats:t}=e;if(t&&t.isSymbolicLink())return this.filterDir(e);const a=this.entryPath(e);return(!this.hasGlob||typeof this.globFilter!==B||this.globFilter(a))&&this.fsw._isntIgnored(a,t)&&this.fsw._hasReadPermissions(t)}getDirParts(e){if(!this.hasGlob)return[];const t=[];return(e.includes(I)?u.expand(e):[e]).forEach((e=>{t.push(r.relative(this.watchPath,e).split(A))})),t}filterDir(e){if(this.hasGlob){const t=this.getDirParts(this.checkGlobSymlink(e));let a=!1;this.unmatchedGlob=!this.dirParts.some((e=>e.every(((e,i)=>(e===D&&(a=!0),a||!t[0][i]||c(e,t[0][i],q))))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(e),e.stats)}}class ne extends i{constructor(e){super();const t={};e&&Object.assign(t,e),this._watched=new Map,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._symlinkPaths=new Map,this._streams=new Set,this.closed=!1,te(t,"persistent")&&(t.persistent=!0),te(t,"ignoreInitial")&&(t.ignoreInitial=!1),te(t,"ignorePermissionErrors")&&(t.ignorePermissionErrors=!1),te(t,"interval")&&(t.interval=100),te(t,"binaryInterval")&&(t.binaryInterval=300),te(t,"disableGlobbing")&&(t.disableGlobbing=!1),t.enableBinaryInterval=t.binaryInterval!==t.interval,te(t,"useFsEvents")&&(t.useFsEvents=!t.usePolling),m.canUse()||(t.useFsEvents=!1),te(t,"usePolling")&&!t.useFsEvents&&(t.usePolling=U),V&&(t.usePolling=!0);const a=process.env.CHOKIDAR_USEPOLLING;if(void 0!==a){const e=a.toLowerCase();t.usePolling="false"!==e&&"0"!==e&&("true"===e||"1"===e||!!e)}const i=process.env.CHOKIDAR_INTERVAL;i&&(t.interval=Number.parseInt(i,10)),te(t,"atomic")&&(t.atomic=!t.usePolling&&!t.useFsEvents),t.atomic&&(this._pendingUnlinks=new Map),te(t,"followSymlinks")&&(t.followSymlinks=!0),te(t,"awaitWriteFinish")&&(t.awaitWriteFinish=!1),!0===t.awaitWriteFinish&&(t.awaitWriteFinish={});const n=t.awaitWriteFinish;n&&(n.stabilityThreshold||(n.stabilityThreshold=2e3),n.pollInterval||(n.pollInterval=100),this._pendingWrites=new Map),t.ignored&&(t.ignored=K(t.ignored));let r=0;this._emitReady=()=>{r++,r>=this._readyCount&&(this._emitReady=H,this._readyEmitted=!0,process.nextTick((()=>this.emit(v))))},this._emitRaw=(...e)=>this.emit(_,...e),this._readyEmitted=!1,this.options=t,t.useFsEvents?this._fsEventsHandler=new m(this):this._nodeFsHandler=new f(this),Object.freeze(t)}add(e,t,a){const{cwd:i,disableGlobbing:n}=this.options;this.closed=!1;let s=Y(e);return i&&(s=s.map((e=>{const t=((e,t)=>r.isAbsolute(e)?e:e.startsWith(N)?N+r.join(t,e.slice(1)):r.join(t,e))(e,i);return n||!l(e)?t:d(t)}))),s=s.filter((e=>e.startsWith(N)?(this._ignoredPaths.add(e.slice(1)),!1):(this._ignoredPaths.delete(e),this._ignoredPaths.delete(e+M),this._userIgnored=void 0,!0))),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=s.length),this.options.persistent&&(this._readyCount+=s.length),s.forEach((e=>this._fsEventsHandler._addToFsEvents(e)))):(this._readyCount||(this._readyCount=0),this._readyCount+=s.length,Promise.all(s.map((async e=>{const i=await this._nodeFsHandler._addToNodeFs(e,!a,0,0,t);return i&&this._emitReady(),i}))).then((e=>{this.closed||e.filter((e=>e)).forEach((e=>{this.add(r.dirname(e),r.basename(t||e))}))}))),this}unwatch(e){if(this.closed)return this;const t=Y(e),{cwd:a}=this.options;return t.forEach((e=>{r.isAbsolute(e)||this._closers.has(e)||(a&&(e=r.join(a,e)),e=r.resolve(e)),this._closePath(e),this._ignoredPaths.add(e),this._watched.has(e)&&this._ignoredPaths.add(e+M),this._userIgnored=void 0})),this}close(){if(this.closed)return this._closePromise;this.closed=!0,this.removeAllListeners();const e=[];return this._closers.forEach((t=>t.forEach((t=>{const a=t();a instanceof Promise&&e.push(a)})))),this._streams.forEach((e=>e.destroy())),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((e=>e.dispose())),["closers","watched","streams","symlinkPaths","throttled"].forEach((e=>{this[`_${e}`].clear()})),this._closePromise=e.length?Promise.all(e).then((()=>{})):Promise.resolve(),this._closePromise}getWatched(){const e={};return this._watched.forEach(((t,a)=>{const i=this.options.cwd?r.relative(this.options.cwd,a):a;e[i||L]=t.getChildren().sort()})),e}emitWithAll(e,t){this.emit(...t),e!==k&&this.emit(h,...t)}async _emit(e,t,a,i,n){if(this.closed)return;const s=this.options;Z&&(t=r.normalize(t)),s.cwd&&(t=r.relative(s.cwd,t));const o=[e,t];void 0!==n?o.push(a,i,n):void 0!==i?o.push(a,i):void 0!==a&&o.push(a);const c=s.awaitWriteFinish;let p;if(c&&(p=this._pendingWrites.get(t)))return p.lastChange=new Date,this;if(s.atomic){if(e===y)return this._pendingUnlinks.set(t,o),setTimeout((()=>{this._pendingUnlinks.forEach(((e,t)=>{this.emit(...e),this.emit(h,...e),this._pendingUnlinks.delete(t)}))}),"number"==typeof s.atomic?s.atomic:100),this;e===g&&this._pendingUnlinks.has(t)&&(e=o[0]=b,this._pendingUnlinks.delete(t))}if(c&&(e===g||e===b)&&this._readyEmitted){const a=(t,a)=>{t?(e=o[0]=k,o[1]=t,this.emitWithAll(e,o)):a&&(o.length>2?o[2]=a:o.push(a),this.emitWithAll(e,o))};return this._awaitWriteFinish(t,c.stabilityThreshold,e,a),this}if(e===b&&!this._throttle(b,t,50))return this;if(s.alwaysStat&&void 0===a&&(e===g||e===x||e===b)){const e=s.cwd?r.join(s.cwd,t):t;let a;try{a=await W(e)}catch(e){}if(!a||this.closed)return;o.push(a)}return this.emitWithAll(e,o),this}_handleError(e){const t=e&&e.code;return e&&"ENOENT"!==t&&"ENOTDIR"!==t&&(!this.options.ignorePermissionErrors||"EPERM"!==t&&"EACCES"!==t)&&this.emit(k,e),e||this.closed}_throttle(e,t,a){this._throttled.has(e)||this._throttled.set(e,new Map);const i=this._throttled.get(e),n=i.get(t);if(n)return n.count++,!1;let r;const s=()=>{const e=i.get(t),a=e?e.count:0;return i.delete(t),clearTimeout(r),e&&clearTimeout(e.timeoutObject),a};r=setTimeout(s,a);const o={timeoutObject:r,clear:s,count:0};return i.set(t,o),o}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(e,t,a,i){let s,o=e;this.options.cwd&&!r.isAbsolute(e)&&(o=r.join(this.options.cwd,e));const c=new Date,p=a=>{n.stat(o,((n,r)=>{if(n||!this._pendingWrites.has(e))return void(n&&"ENOENT"!==n.code&&i(n));const o=Number(new Date);a&&r.size!==a.size&&(this._pendingWrites.get(e).lastChange=o),o-this._pendingWrites.get(e).lastChange>=t?(this._pendingWrites.delete(e),i(void 0,r)):s=setTimeout(p,this.options.awaitWriteFinish.pollInterval,r)}))};this._pendingWrites.has(e)||(this._pendingWrites.set(e,{lastChange:c,cancelWait:()=>(this._pendingWrites.delete(e),clearTimeout(s),a)}),s=setTimeout(p,this.options.awaitWriteFinish.pollInterval))}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(e,t){if(this.options.atomic&&C.test(e))return!0;if(!this._userIgnored){const{cwd:e}=this.options,t=this.options.ignored,a=t&&t.map(ee(e)),i=K(a).filter((e=>typeof e===F&&!l(e))).map((e=>e+M)),n=this._getGlobIgnored().map(ee(e)).concat(a,i);this._userIgnored=c(n,void 0,q)}return this._userIgnored([e,t])}_isntIgnored(e,t){return!this._isIgnored(e,t)}_getWatchHelpers(e,t){const a=t||this.options.disableGlobbing||!l(e)?e:p(e),i=this.options.followSymlinks;return new ie(e,a,i,this)}_getWatchedDir(e){this._boundRemove||(this._boundRemove=this._remove.bind(this));const t=r.resolve(e);return this._watched.has(t)||this._watched.set(t,new ae(t,this._boundRemove)),this._watched.get(t)}_hasReadPermissions(e){if(this.options.ignorePermissionErrors)return!0;const t=511&(e&&Number.parseInt(e.mode,10)),a=Number.parseInt(t.toString(8)[0],10);return Boolean(4&a)}_remove(e,t,a){const i=r.join(e,t),n=r.resolve(i);if(a=null!=a?a:this._watched.has(i)||this._watched.has(n),!this._throttle("remove",i,100))return;a||this.options.useFsEvents||1!==this._watched.size||this.add(e,t,!0),this._getWatchedDir(i).getChildren().forEach((e=>this._remove(i,e)));const s=this._getWatchedDir(e),o=s.has(t);s.remove(t),this._symlinkPaths.has(n)&&this._symlinkPaths.delete(n);let c=i;if(this.options.cwd&&(c=r.relative(this.options.cwd,i)),this.options.awaitWriteFinish&&this._pendingWrites.has(c)&&this._pendingWrites.get(c).cancelWait()===g)return;this._watched.delete(i),this._watched.delete(n);const p=a?w:y;o&&!this._isIgnored(i)&&this._emit(p,i),this.options.useFsEvents||this._closePath(i)}_closePath(e){this._closeFile(e);const t=r.dirname(e);this._getWatchedDir(t).remove(r.basename(e))}_closeFile(e){const t=this._closers.get(e);t&&(t.forEach((e=>e())),this._closers.delete(e))}_addPathCloser(e,t){if(!t)return;let a=this._closers.get(e);a||(a=[],this._closers.set(e,a)),a.push(t)}_readdirp(e,t){if(this.closed)return;const a={type:h,alwaysStat:!0,lstat:!0,...t};let i=o(e,a);return this._streams.add(i),i.once(S,(()=>{i=void 0})),i.once(E,(()=>{i&&(this._streams.delete(i),i=void 0)})),i}}t.FSWatcher=ne,t.watch=(e,t)=>{const a=new ne(t);return a.add(e),a}},5715:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPatternGroupToTask=t.convertPatternGroupsToTasks=t.groupPatternsByBaseDirectory=t.getNegativePatternsAsPositive=t.getPositivePatterns=t.convertPatternsToTasks=t.generate=void 0;const i=a(4718);function n(e,t){let a=e;return t.braceExpansion&&(a=i.pattern.expandPatternsWithBraceExpansion(a)),t.baseNameMatch&&(a=a.map((e=>e.includes("/")?e:`**/${e}`))),a.map((e=>i.pattern.removeDuplicateSlashes(e)))}function r(e,t,a){const n=[],r=i.pattern.getPatternsOutsideCurrentDirectory(e),s=i.pattern.getPatternsInsideCurrentDirectory(e),o=c(r),u=c(s);return n.push(...p(o,t,a)),"."in u?n.push(l(".",s,t,a)):n.push(...p(u,t,a)),n}function s(e){return i.pattern.getPositivePatterns(e)}function o(e,t){return i.pattern.getNegativePatterns(e).concat(t).map(i.pattern.convertToPositivePattern)}function c(e){return e.reduce(((e,t)=>{const a=i.pattern.getBaseDirectory(t);return a in e?e[a].push(t):e[a]=[t],e}),{})}function p(e,t,a){return Object.keys(e).map((i=>l(i,e[i],t,a)))}function l(e,t,a,n){return{dynamic:n,positive:t,negative:a,base:e,patterns:[].concat(t,a.map(i.pattern.convertToNegativePattern))}}t.generate=function(e,t){const a=n(e,t),c=n(t.ignore,t),p=s(a),l=o(a,c),u=p.filter((e=>i.pattern.isStaticPattern(e,t))),d=p.filter((e=>i.pattern.isDynamicPattern(e,t))),f=r(u,l,!1),m=r(d,l,!0);return f.concat(m)},t.convertPatternsToTasks=r,t.getPositivePatterns=s,t.getNegativePatternsAsPositive=o,t.groupPatternsByBaseDirectory=c,t.convertPatternGroupsToTasks=p,t.convertPatternGroupToTask=l},5737:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(4718);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const[a,n]=i.pattern.partitionAbsoluteAndRelative(t),r={positive:{all:i.pattern.convertPatternsToRe(e,this._micromatchOptions)},negative:{absolute:i.pattern.convertPatternsToRe(a,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0})),relative:i.pattern.convertPatternsToRe(n,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}))}};return e=>this._filter(e,r)}_filter(e,t){const a=i.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(a))return!1;if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;const n=this._isMatchToPatternsSet(a,t,e.dirent.isDirectory());return this._settings.unique&&n&&this._createIndexRecord(a),n}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isMatchToPatternsSet(e,t,a){return!!this._isMatchToPatterns(e,t.positive.all,a)&&(!this._isMatchToPatterns(e,t.negative.relative,a)&&!this._isMatchToAbsoluteNegative(e,t.negative.absolute,a))}_isMatchToAbsoluteNegative(e,t,a){if(0===t.length)return!1;const n=i.path.makeAbsolute(this._settings.cwd,e);return this._isMatchToPatterns(n,t,a)}_isMatchToPatterns(e,t,a){if(0===t.length)return!1;const n=i.pattern.matchAny(e,t);return!n&&a?i.pattern.matchAny(e+"/",t):n}}},5740:(e,t,a)=>{"use strict";const{stringify:i}=a(374),{outputFileSync:n}=a(1376);e.exports=function(e,t,a){const r=i(t,a);n(e,r,a)}},5783:(e,t,a)=>{"use strict";const i=a(4635).fromPromise;e.exports={move:i(a(2690)),moveSync:a(4164)}},5838:(e,t,a)=>{"use strict";const i=a(6289),n=a(6928),r=a(4635).fromPromise;function s(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function o(e,t){const a=n.resolve(e).split(n.sep).filter((e=>e)),i=n.resolve(t).split(n.sep).filter((e=>e));return a.every(((e,t)=>i[t]===e))}function c(e,t,a){return`Cannot ${a} '${e}' to a subdirectory of itself, '${t}'.`}e.exports={checkPaths:r((async function(e,t,a,r){const{srcStat:p,destStat:l}=await function(e,t,a){const n=a.dereference?e=>i.stat(e,{bigint:!0}):e=>i.lstat(e,{bigint:!0});return Promise.all([n(e),n(t).catch((e=>{if("ENOENT"===e.code)return null;throw e}))]).then((([e,t])=>({srcStat:e,destStat:t})))}(e,t,r);if(l){if(s(p,l)){const i=n.basename(e),r=n.basename(t);if("move"===a&&i!==r&&i.toLowerCase()===r.toLowerCase())return{srcStat:p,destStat:l,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(p.isDirectory()&&!l.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!p.isDirectory()&&l.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(p.isDirectory()&&o(e,t))throw new Error(c(e,t,a));return{srcStat:p,destStat:l}})),checkPathsSync:function(e,t,a,r){const{srcStat:p,destStat:l}=function(e,t,a){let n;const r=a.dereference?e=>i.statSync(e,{bigint:!0}):e=>i.lstatSync(e,{bigint:!0}),s=r(e);try{n=r(t)}catch(e){if("ENOENT"===e.code)return{srcStat:s,destStat:null};throw e}return{srcStat:s,destStat:n}}(e,t,r);if(l){if(s(p,l)){const i=n.basename(e),r=n.basename(t);if("move"===a&&i!==r&&i.toLowerCase()===r.toLowerCase())return{srcStat:p,destStat:l,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(p.isDirectory()&&!l.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!p.isDirectory()&&l.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(p.isDirectory()&&o(e,t))throw new Error(c(e,t,a));return{srcStat:p,destStat:l}},checkParentPaths:r((async function e(t,a,r,o){const p=n.resolve(n.dirname(t)),l=n.resolve(n.dirname(r));if(l===p||l===n.parse(l).root)return;let u;try{u=await i.stat(l,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(s(a,u))throw new Error(c(t,r,o));return e(t,a,l,o)})),checkParentPathsSync:function e(t,a,r,o){const p=n.resolve(n.dirname(t)),l=n.resolve(n.dirname(r));if(l===p||l===n.parse(l).root)return;let u;try{u=i.statSync(l,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(s(a,u))throw new Error(c(t,r,o));return e(t,a,l,o)},isSrcSubdir:o,areIdentical:s}},5859:e=>{e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var a=e.length;if(a<=1)return e;var i="";if(a>4&&"\\"===e[3]){var n=e[2];"?"!==n&&"."!==n||"\\\\"!==e.slice(0,2)||(e=e.slice(2),i="//")}var r=e.split(/[/\\]+/);return!1!==t&&""===r[r.length-1]&&r.pop(),i+r.join("/")}},5949:(e,t,a)=>{const i=a(9896),n=a(6928),r=a(857),s=a(6982),o=a(7617).version,c=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;function p(e){console.log(`[dotenv@${o}][DEBUG] ${e}`)}function l(e){return e&&e.DOTENV_KEY&&e.DOTENV_KEY.length>0?e.DOTENV_KEY:process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0?process.env.DOTENV_KEY:""}function u(e,t){let a;try{a=new URL(t)}catch(e){if("ERR_INVALID_URL"===e.code){const e=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw e.code="INVALID_DOTENV_KEY",e}throw e}const i=a.password;if(!i){const e=new Error("INVALID_DOTENV_KEY: Missing key part");throw e.code="INVALID_DOTENV_KEY",e}const n=a.searchParams.get("environment");if(!n){const e=new Error("INVALID_DOTENV_KEY: Missing environment part");throw e.code="INVALID_DOTENV_KEY",e}const r=`DOTENV_VAULT_${n.toUpperCase()}`,s=e.parsed[r];if(!s){const e=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${r} in your .env.vault file.`);throw e.code="NOT_FOUND_DOTENV_ENVIRONMENT",e}return{ciphertext:s,key:i}}function d(e){let t=null;if(e&&e.path&&e.path.length>0)if(Array.isArray(e.path))for(const a of e.path)i.existsSync(a)&&(t=a.endsWith(".vault")?a:`${a}.vault`);else t=e.path.endsWith(".vault")?e.path:`${e.path}.vault`;else t=n.resolve(process.cwd(),".env.vault");return i.existsSync(t)?t:null}function f(e){return"~"===e[0]?n.join(r.homedir(),e.slice(1)):e}const m={configDotenv:function(e){const t=n.resolve(process.cwd(),".env");let a="utf8";const r=Boolean(e&&e.debug);e&&e.encoding?a=e.encoding:r&&p("No encoding is specified. UTF-8 is used by default");let s,o=[t];if(e&&e.path)if(Array.isArray(e.path)){o=[];for(const t of e.path)o.push(f(t))}else o=[f(e.path)];const c={};for(const t of o)try{const n=m.parse(i.readFileSync(t,{encoding:a}));m.populate(c,n,e)}catch(e){r&&p(`Failed to load ${t} ${e.message}`),s=e}let l=process.env;return e&&null!=e.processEnv&&(l=e.processEnv),m.populate(l,c,e),s?{parsed:c,error:s}:{parsed:c}},_configVault:function(e){Boolean(e&&e.debug)&&p("Loading env from encrypted .env.vault");const t=m._parseVault(e);let a=process.env;return e&&null!=e.processEnv&&(a=e.processEnv),m.populate(a,t,e),{parsed:t}},_parseVault:function(e){const t=d(e),a=m.configDotenv({path:t});if(!a.parsed){const e=new Error(`MISSING_DATA: Cannot parse ${t} for an unknown reason`);throw e.code="MISSING_DATA",e}const i=l(e).split(","),n=i.length;let r;for(let e=0;e<n;e++)try{const t=u(a,i[e].trim());r=m.decrypt(t.ciphertext,t.key);break}catch(t){if(e+1>=n)throw t}return m.parse(r)},config:function(e){if(0===l(e).length)return m.configDotenv(e);const t=d(e);return t?m._configVault(e):(a=`You set DOTENV_KEY but you are missing a .env.vault file at ${t}. Did you forget to build it?`,console.log(`[dotenv@${o}][WARN] ${a}`),m.configDotenv(e));var a},decrypt:function(e,t){const a=Buffer.from(t.slice(-64),"hex");let i=Buffer.from(e,"base64");const n=i.subarray(0,12),r=i.subarray(-16);i=i.subarray(12,-16);try{const e=s.createDecipheriv("aes-256-gcm",a,n);return e.setAuthTag(r),`${e.update(i)}${e.final()}`}catch(e){const t=e instanceof RangeError,a="Invalid key length"===e.message,i="Unsupported state or unable to authenticate data"===e.message;if(t||a){const e=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw e.code="INVALID_DOTENV_KEY",e}if(i){const e=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw e.code="DECRYPTION_FAILED",e}throw e}},parse:function(e){const t={};let a,i=e.toString();for(i=i.replace(/\r\n?/gm,"\n");null!=(a=c.exec(i));){const e=a[1];let i=a[2]||"";i=i.trim();const n=i[0];i=i.replace(/^(['"`])([\s\S]*)\1$/gm,"$2"),'"'===n&&(i=i.replace(/\\n/g,"\n"),i=i.replace(/\\r/g,"\r")),t[e]=i}return t},populate:function(e,t,a={}){const i=Boolean(a&&a.debug),n=Boolean(a&&a.override);if("object"!=typeof t){const e=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw e.code="OBJECT_REQUIRED",e}for(const a of Object.keys(t))Object.prototype.hasOwnProperty.call(e,a)?(!0===n&&(e[a]=t[a]),i&&p(!0===n?`"${a}" is already defined and WAS overwritten`:`"${a}" is already defined and was NOT overwritten`)):e[a]=t[a]}};e.exports.configDotenv=m.configDotenv,e.exports._configVault=m._configVault,e.exports._parseVault=m._parseVault,e.exports.config=m.config,e.exports.decrypt=m.decrypt,e.exports.parse=m.parse,e.exports.populate=m.populate,e.exports=m},5993:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>R});const i=(e=0)=>t=>`[${t+e}m`,n=(e=0)=>t=>`[${38+e};5;${t}m`,r=(e=0)=>(t,a,i)=>`[${38+e};2;${t};${a};${i}m`,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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],gray:[90,39],grey:[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],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(s.modifier),Object.keys(s.color),Object.keys(s.bgColor);const o=function(){const e=new Map;for(const[t,a]of Object.entries(s)){for(const[t,i]of Object.entries(a))s[t]={open:`[${i[0]}m`,close:`[${i[1]}m`},a[t]=s[t],e.set(i[0],i[1]);Object.defineProperty(s,t,{value:a,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="[39m",s.bgColor.close="[49m",s.color.ansi=i(),s.color.ansi256=n(),s.color.ansi16m=r(),s.bgColor.ansi=i(10),s.bgColor.ansi256=n(10),s.bgColor.ansi16m=r(10),Object.defineProperties(s,{rgbToAnsi256:{value:(e,t,a)=>e===t&&t===a?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(a/255*5),enumerable:!1},hexToRgb:{value(e){const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[a]=t;3===a.length&&(a=[...a].map((e=>e+e)).join(""));const i=Number.parseInt(a,16);return[i>>16&255,i>>8&255,255&i]},enumerable:!1},hexToAnsi256:{value:e=>s.rgbToAnsi256(...s.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return e-8+90;let t,a,i;if(e>=232)t=(10*(e-232)+8)/255,a=t,i=t;else{const n=(e-=16)%36;t=Math.floor(e/36)/5,a=Math.floor(n/6)/5,i=n%6/5}const n=2*Math.max(t,a,i);if(0===n)return 30;let r=30+(Math.round(i)<<2|Math.round(a)<<1|Math.round(t));return 2===n&&(r+=60),r},enumerable:!1},rgbToAnsi:{value:(e,t,a)=>s.ansi256ToAnsi(s.rgbToAnsi256(e,t,a)),enumerable:!1},hexToAnsi:{value:e=>s.ansi256ToAnsi(s.hexToAnsi256(e)),enumerable:!1}}),s}();var c=a(1708);const p=require("node:os"),l=require("node:tty");function u(e,t=(globalThis.Deno?globalThis.Deno.args:c.argv)){const a=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(a+e),n=t.indexOf("--");return-1!==i&&(-1===n||i<n)}const{env:d}=c;let f;function m(e,t={}){return 0!==(a=function(e,{streamIsTTY:t,sniffFlags:a=!0}={}){const i=function(){if("FORCE_COLOR"in d)return"true"===d.FORCE_COLOR?1:"false"===d.FORCE_COLOR?0:0===d.FORCE_COLOR.length?1:Math.min(Number.parseInt(d.FORCE_COLOR,10),3)}();void 0!==i&&(f=i);const n=a?f:i;if(0===n)return 0;if(a){if(u("color=16m")||u("color=full")||u("color=truecolor"))return 3;if(u("color=256"))return 2}if("TF_BUILD"in d&&"AGENT_NAME"in d)return 1;if(e&&!t&&void 0===n)return 0;const r=n||0;if("dumb"===d.TERM)return r;if("win32"===c.platform){const e=p.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in d)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((e=>e in d))?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((e=>e in d))||"codeship"===d.CI_NAME?1:r;if("TEAMCITY_VERSION"in d)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(d.TEAMCITY_VERSION)?1:0;if("truecolor"===d.COLORTERM)return 3;if("xterm-kitty"===d.TERM)return 3;if("TERM_PROGRAM"in d){const e=Number.parseInt((d.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(d.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(d.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(d.TERM)||"COLORTERM"in d?1:r}(e,{streamIsTTY:e&&e.isTTY,...t}))&&{level:a,hasBasic:!0,has256:a>=2,has16m:a>=3};var a}u("no-color")||u("no-colors")||u("color=false")||u("color=never")?f=0:(u("color")||u("colors")||u("color=true")||u("color=always"))&&(f=1);const h={stdout:m({isTTY:l.isatty(1)}),stderr:m({isTTY:l.isatty(2)})};function v(e,t,a){let i=e.indexOf(t);if(-1===i)return e;const n=t.length;let r=0,s="";do{s+=e.slice(r,i)+t+a,r=i+n,i=e.indexOf(t,r)}while(-1!==i);return s+=e.slice(r),s}const{stdout:g,stderr:b}=h,y=Symbol("GENERATOR"),x=Symbol("STYLER"),w=Symbol("IS_EMPTY"),_=["ansi","ansi","ansi256","ansi16m"],k=Object.create(null);function S(e){return(e=>{const t=(...e)=>e.join(" ");return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const a=g?g.level:0;e.level=void 0===t.level?a:t.level})(t,e),Object.setPrototypeOf(t,S.prototype),t})(e)}Object.setPrototypeOf(S.prototype,Function.prototype);for(const[e,t]of Object.entries(o))k[e]={get(){const a=C(this,A(t.open,t.close,this[x]),this[w]);return Object.defineProperty(this,e,{value:a}),a}};k.visible={get(){const e=C(this,this[x],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const E=(e,t,a,...i)=>"rgb"===e?"ansi16m"===t?o[a].ansi16m(...i):"ansi256"===t?o[a].ansi256(o.rgbToAnsi256(...i)):o[a].ansi(o.rgbToAnsi(...i)):"hex"===e?E("rgb",t,a,...o.hexToRgb(...i)):o[a][e](...i),j=["rgb","hex","ansi256"];for(const e of j)k[e]={get(){const{level:t}=this;return function(...a){const i=A(E(e,_[t],"color",...a),o.color.close,this[x]);return C(this,i,this[w])}}},k["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...a){const i=A(E(e,_[t],"bgColor",...a),o.bgColor.close,this[x]);return C(this,i,this[w])}}};const T=Object.defineProperties((()=>{}),{...k,level:{enumerable:!0,get(){return this[y].level},set(e){this[y].level=e}}}),A=(e,t,a)=>{let i,n;return void 0===a?(i=e,n=t):(i=a.openAll+e,n=t+a.closeAll),{open:e,close:t,openAll:i,closeAll:n,parent:a}},C=(e,t,a)=>{const i=(...e)=>O(i,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(i,T),i[y]=e,i[x]=t,i[w]=a,i},O=(e,t)=>{if(e.level<=0||!t)return e[w]?"":t;let a=e[x];if(void 0===a)return t;const{openAll:i,closeAll:n}=a;if(t.includes(""))for(;void 0!==a;)t=v(t,a.close,a.open),a=a.parent;const r=t.indexOf("\n");return-1!==r&&(t=function(e,t,a,i){let n=0,r="";do{const s="\r"===e[i-1];r+=e.slice(n,s?i-1:i)+t+(s?"\r\n":"\n")+a,n=i+1,i=e.indexOf("\n",n)}while(-1!==i);return r+=e.slice(n),r}(t,n,i,r)),i+t+n};Object.defineProperties(S.prototype,k);const P=S(),R=(S({level:b?b.level:0}),P)},6002:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t)=>i(e,t,!0)},6052:e=>{var t,a,i=Function.prototype,n=Object.prototype,r=i.toString,s=n.hasOwnProperty,o=r.call(Object),c=n.toString,p=(t=Object.getPrototypeOf,a=Object,function(e){return t(a(e))});e.exports=function(e){if(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=c.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=p(e);if(null===t)return!0;var a=s.call(t,"constructor")&&t.constructor;return"function"==typeof a&&a instanceof a&&r.call(a)==o}},6196:(e,t,a)=>{const i=a(2613),n=a(6928),r=a(9896);let s;try{s=a(9632)}catch(e){}const o={nosort:!0,silent:!0};let c=0;const p="win32"===process.platform,l=e=>{if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach((t=>{e[t]=e[t]||r[t],e[t+="Sync"]=e[t]||r[t]})),e.maxBusyTries=e.maxBusyTries||3,e.emfileWait=e.emfileWait||1e3,!1===e.glob&&(e.disableGlob=!0),!0!==e.disableGlob&&void 0===s)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");e.disableGlob=e.disableGlob||!1,e.glob=e.glob||o},u=(e,t,a)=>{"function"==typeof t&&(a=t,t={}),i(e,"rimraf: missing path"),i.equal(typeof e,"string","rimraf: path should be a string"),i.equal(typeof a,"function","rimraf: callback function required"),i(t,"rimraf: invalid options argument provided"),i.equal(typeof t,"object","rimraf: options should be object"),l(t);let n=0,r=null,o=0;const p=(e,i)=>e?a(e):(o=i.length,0===o?a():void i.forEach((e=>{const i=s=>{if(s){if(("EBUSY"===s.code||"ENOTEMPTY"===s.code||"EPERM"===s.code)&&n<t.maxBusyTries)return n++,setTimeout((()=>d(e,t,i)),100*n);if("EMFILE"===s.code&&c<t.emfileWait)return setTimeout((()=>d(e,t,i)),c++);"ENOENT"===s.code&&(s=null)}c=0,(e=>{r=r||e,0===--o&&a(r)})(s)};d(e,t,i)})));if(t.disableGlob||!s.hasMagic(e))return p(null,[e]);t.lstat(e,((a,i)=>{if(!a)return p(null,[e]);s(e,t.glob,p)}))},d=(e,t,a)=>{i(e),i(t),i("function"==typeof a),t.lstat(e,((i,n)=>i&&"ENOENT"===i.code?a(null):(i&&"EPERM"===i.code&&p&&f(e,t,i,a),n&&n.isDirectory()?h(e,t,i,a):void t.unlink(e,(i=>{if(i){if("ENOENT"===i.code)return a(null);if("EPERM"===i.code)return p?f(e,t,i,a):h(e,t,i,a);if("EISDIR"===i.code)return h(e,t,i,a)}return a(i)})))))},f=(e,t,a,n)=>{i(e),i(t),i("function"==typeof n),t.chmod(e,438,(i=>{i?n("ENOENT"===i.code?null:a):t.stat(e,((i,r)=>{i?n("ENOENT"===i.code?null:a):r.isDirectory()?h(e,t,a,n):t.unlink(e,n)}))}))},m=(e,t,a)=>{i(e),i(t);try{t.chmodSync(e,438)}catch(e){if("ENOENT"===e.code)return;throw a}let n;try{n=t.statSync(e)}catch(e){if("ENOENT"===e.code)return;throw a}n.isDirectory()?b(e,t,a):t.unlinkSync(e)},h=(e,t,a,n)=>{i(e),i(t),i("function"==typeof n),t.rmdir(e,(i=>{!i||"ENOTEMPTY"!==i.code&&"EEXIST"!==i.code&&"EPERM"!==i.code?i&&"ENOTDIR"===i.code?n(a):n(i):v(e,t,n)}))},v=(e,t,a)=>{i(e),i(t),i("function"==typeof a),t.readdir(e,((i,r)=>{if(i)return a(i);let s,o=r.length;if(0===o)return t.rmdir(e,a);r.forEach((i=>{u(n.join(e,i),t,(i=>{if(!s)return i?a(s=i):void(0===--o&&t.rmdir(e,a))}))}))}))},g=(e,t)=>{let a;if(l(t=t||{}),i(e,"rimraf: missing path"),i.equal(typeof e,"string","rimraf: path should be a string"),i(t,"rimraf: missing options"),i.equal(typeof t,"object","rimraf: options should be object"),t.disableGlob||!s.hasMagic(e))a=[e];else try{t.lstatSync(e),a=[e]}catch(i){a=s.sync(e,t.glob)}if(a.length)for(let e=0;e<a.length;e++){const i=a[e];let n;try{n=t.lstatSync(i)}catch(e){if("ENOENT"===e.code)return;"EPERM"===e.code&&p&&m(i,t,e)}try{n&&n.isDirectory()?b(i,t,null):t.unlinkSync(i)}catch(e){if("ENOENT"===e.code)return;if("EPERM"===e.code)return p?m(i,t,e):b(i,t,e);if("EISDIR"!==e.code)throw e;b(i,t,e)}}},b=(e,t,a)=>{i(e),i(t);try{t.rmdirSync(e)}catch(i){if("ENOENT"===i.code)return;if("ENOTDIR"===i.code)throw a;"ENOTEMPTY"!==i.code&&"EEXIST"!==i.code&&"EPERM"!==i.code||y(e,t)}},y=(e,t)=>{i(e),i(t),t.readdirSync(e).forEach((a=>g(n.join(e,a),t)));const a=p?100:1;let r=0;for(;;){let i=!0;try{const a=t.rmdirSync(e,t);return i=!1,a}finally{if(++r<a&&i)continue}}};e.exports=u,u.sync=g},6289:(e,t,a)=>{"use strict";const i=a(4635).fromCallback,n=a(627),r=["access","appendFile","chmod","chown","close","copyFile","cp","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","glob","lchmod","lchown","lutimes","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","statfs","symlink","truncate","unlink","utimes","writeFile"].filter((e=>"function"==typeof n[e]));Object.assign(t,n),r.forEach((e=>{t[e]=i(n[e])})),t.exists=function(e,t){return"function"==typeof t?n.exists(e,t):new Promise((t=>n.exists(e,t)))},t.read=function(e,t,a,i,r,s){return"function"==typeof s?n.read(e,t,a,i,r,s):new Promise(((s,o)=>{n.read(e,t,a,i,r,((e,t,a)=>{if(e)return o(e);s({bytesRead:t,buffer:a})}))}))},t.write=function(e,t,...a){return"function"==typeof a[a.length-1]?n.write(e,t,...a):new Promise(((i,r)=>{n.write(e,t,...a,((e,t,a)=>{if(e)return r(e);i({bytesWritten:t,buffer:a})}))}))},t.readv=function(e,t,...a){return"function"==typeof a[a.length-1]?n.readv(e,t,...a):new Promise(((i,r)=>{n.readv(e,t,...a,((e,t,a)=>{if(e)return r(e);i({bytesRead:t,buffers:a})}))}))},t.writev=function(e,t,...a){return"function"==typeof a[a.length-1]?n.writev(e,t,...a):new Promise(((i,r)=>{n.writev(e,t,...a,((e,t,a)=>{if(e)return r(e);i({bytesWritten:t,buffers:a})}))}))},"function"==typeof n.realpath.native?t.realpath.native=i(n.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")},6430:e=>{var t=function(e,t){Error.call(this,e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=e,t&&(this.inner=t)};(t.prototype=Object.create(Error.prototype)).constructor=t,e.exports=t},6460:(e,t,a)=>{"use strict";const i=a(6640);e.exports=(e,t,a)=>i(e,t,">",a)},6543:(e,t,a)=>{var i=a(3340),n={"{":"}","(":")","[":"]"},r=function(e){if("!"===e[0])return!0;for(var t=0,a=-2,i=-2,r=-2,s=-2,o=-2;t<e.length;){if("*"===e[t])return!0;if("?"===e[t+1]&&/[\].+)]/.test(e[t]))return!0;if(-1!==i&&"["===e[t]&&"]"!==e[t+1]&&(i<t&&(i=e.indexOf("]",t)),i>t)){if(-1===o||o>i)return!0;if(-1===(o=e.indexOf("\\",t))||o>i)return!0}if(-1!==r&&"{"===e[t]&&"}"!==e[t+1]&&(r=e.indexOf("}",t))>t&&(-1===(o=e.indexOf("\\",t))||o>r))return!0;if(-1!==s&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(s=e.indexOf(")",t))>t&&(-1===(o=e.indexOf("\\",t))||o>s))return!0;if(-1!==a&&"("===e[t]&&"|"!==e[t+1]&&(a<t&&(a=e.indexOf("|",t)),-1!==a&&")"!==e[a+1]&&(s=e.indexOf(")",a))>a&&(-1===(o=e.indexOf("\\",a))||o>s)))return!0;if("\\"===e[t]){var c=e[t+1];t+=2;var p=n[c];if(p){var l=e.indexOf(p,t);-1!==l&&(t=l+1)}if("!"===e[t])return!0}else t++}return!1},s=function(e){if("!"===e[0])return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if("\\"===e[t]){var a=e[t+1];t+=2;var i=n[a];if(i){var r=e.indexOf(i,t);-1!==r&&(t=r+1)}if("!"===e[t])return!0}else t++}return!1};e.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(i(e))return!0;var a=r;return t&&!1===t.strict&&(a=s),a(e)}},6608:(e,t,a)=>{var i=a(181),n=i.Buffer;function r(e,t){for(var a in e)t[a]=e[a]}function s(e,t,a){return n(e,t,a)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=i:(r(i,t),t.Buffer=s),s.prototype=Object.create(n.prototype),r(n,s),s.from=function(e,t,a){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,a)},s.alloc=function(e,t,a){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof a?i.fill(t,a):i.fill(t):i.fill(0),i},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},6640:(e,t,a)=>{"use strict";const i=a(2771),n=a(9003),{ANY:r}=n,s=a(2326),o=a(4163),c=a(7743),p=a(8200),l=a(3765),u=a(236);e.exports=(e,t,a,d)=>{let f,m,h,v,g;switch(e=new i(e,d),t=new s(t,d),a){case">":f=c,m=l,h=p,v=">",g=">=";break;case"<":f=p,m=u,h=c,v="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(e,t,d))return!1;for(let a=0;a<t.set.length;++a){const i=t.set[a];let s=null,o=null;if(i.forEach((e=>{e.semver===r&&(e=new n(">=0.0.0")),s=s||e,o=o||e,f(e.semver,s.semver,d)?s=e:h(e.semver,o.semver,d)&&(o=e)})),s.operator===v||s.operator===g)return!1;if((!o.operator||o.operator===v)&&m(e,o.semver))return!1;if(o.operator===g&&h(e,o.semver))return!1}return!0}},6678:(e,t,a)=>{"use strict";const i=a(2203).PassThrough,n=Array.prototype.slice;function r(e,t){if(Array.isArray(e))for(let a=0,i=e.length;a<i;a++)e[a]=r(e[a],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(i(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}e.exports=function(){const e=[],t=n.call(arguments);let a=!1,s=t[t.length-1];s&&!Array.isArray(s)&&null==s.pipe?t.pop():s={};const o=!1!==s.end,c=!0===s.pipeError;null==s.objectMode&&(s.objectMode=!0),null==s.highWaterMark&&(s.highWaterMark=65536);const p=i(s);function l(){for(let t=0,a=arguments.length;t<a;t++)e.push(r(arguments[t],s));return u(),this}function u(){if(a)return;a=!0;let t=e.shift();if(!t)return void process.nextTick(d);Array.isArray(t)||(t=[t]);let i=t.length+1;function n(){--i>0||(a=!1,u())}function r(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),c&&e.removeListener("error",a),n()}function a(e){p.emit("error",e)}if(e._readableState.endEmitted)return n();e.on("merge2UnpipeEnd",t),e.on("end",t),c&&e.on("error",a),e.pipe(p,{end:!1}),e.resume()}for(let e=0;e<t.length;e++)r(t[e]);n()}function d(){a=!1,p.emit("queueDrain"),o&&p.end()}return p.setMaxListeners(0),p.add=l,p.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")})),t.length&&l.apply(null,t),p}},6704:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,n=a(7590);n.outputJson=i(a(5338)),n.outputJsonSync=a(5740),n.outputJSON=n.outputJson,n.outputJSONSync=n.outputJsonSync,n.writeJSON=n.writeJson,n.writeJSONSync=n.writeJsonSync,n.readJSON=n.readJson,n.readJSONSync=n.readJsonSync,e.exports=n},6757:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(3339);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new i.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError((t=>{!function(e,t){e(t)}(e,t)})),this._reader.onEntry((e=>{this._storage.push(e)})),this._reader.onEnd((()=>{!function(e,t){e(null,t)}(e,this._storage)})),this._reader.read()}}},6759:(e,t,a)=>{"use strict";const i=a(1289);e.exports=(e,t)=>{const a=i(e,t);return a?a.version:null}},6782:e=>{var t=Object.prototype.toString;e.exports=function(e){return!0===e||!1===e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Boolean]"==t.call(e)}},6927:(e,t,a)=>{"use strict";const i=a(6928),n="win32"===process.platform,{REGEX_BACKSLASH:r,REGEX_REMOVE_BACKSLASH:s,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:c}=a(4751);t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>o.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(c,"\\$1"),t.toPosixSlashes=e=>e.replace(r,"/"),t.removeBackslashes=e=>e.replace(s,(e=>"\\"===e?"":e)),t.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===n||"\\"===i.sep,t.escapeLast=(e,a,i)=>{const n=e.lastIndexOf(a,i);return-1===n?e:"\\"===e[n-1]?t.escapeLast(e,a,n-1):`${e.slice(0,n)}\\${e.slice(n)}`},t.removePrefix=(e,t={})=>{let a=e;return a.startsWith("./")&&(a=a.slice(2),t.prefix="./"),a},t.wrapOutput=(e,t={},a={})=>{let i=`${a.contains?"":"^"}(?:${e})${a.contains?"":"$"}`;return!0===t.negated&&(i=`(?:^(?!${i}).*$)`),i}},6928:e=>{"use strict";e.exports=require("path")},6982:e=>{"use strict";e.exports=require("crypto")},6999:(e,t,a)=>{"use strict";const{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:r}=a(229),s=a(4159),o=(t=e.exports={}).re=[],c=t.safeRe=[],p=t.src=[],l=t.safeSrc=[],u=t.t={};let d=0;const f="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",r],[f,n]],h=(e,t,a)=>{const i=(e=>{for(const[t,a]of m)e=e.split(`${t}*`).join(`${t}{0,${a}}`).split(`${t}+`).join(`${t}{1,${a}}`);return e})(t),n=d++;s(e,n,t),u[e]=n,p[n]=t,l[n]=i,o[n]=new RegExp(t,a?"g":void 0),c[n]=new RegExp(i,a?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),h("MAINVERSION",`(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${p[u.NONNUMERICIDENTIFIER]}|${p[u.NUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${p[u.NONNUMERICIDENTIFIER]}|${p[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASE",`(?:-(${p[u.PRERELEASEIDENTIFIER]}(?:\\.${p[u.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${p[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${p[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${f}+`),h("BUILD",`(?:\\+(${p[u.BUILDIDENTIFIER]}(?:\\.${p[u.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${p[u.MAINVERSION]}${p[u.PRERELEASE]}?${p[u.BUILD]}?`),h("FULL",`^${p[u.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${p[u.MAINVERSIONLOOSE]}${p[u.PRERELEASELOOSE]}?${p[u.BUILD]}?`),h("LOOSE",`^${p[u.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${p[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${p[u.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:${p[u.PRERELEASE]})?${p[u.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:${p[u.PRERELEASELOOSE]})?${p[u.BUILD]}?)?)?`),h("XRANGE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`),h("COERCE",`${p[u.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",p[u.COERCEPLAIN]+`(?:${p[u.PRERELEASE]})?`+`(?:${p[u.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",p[u.COERCE],!0),h("COERCERTLFULL",p[u.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${p[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${p[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${p[u.LONECARET]}${p[u.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${p[u.LONECARET]}${p[u.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${p[u.GTLT]}\\s*(${p[u.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]}|${p[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${p[u.XRANGEPLAIN]})\\s+-\\s+(${p[u.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${p[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${p[u.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},7014:(e,t,a)=>{const i=a(6430),n=a(9387),r=a(7147),s=a(7661),o=a(3742),c=a(9572),p=a(5582),l=a(1525),{KeyObject:u,createSecretKey:d,createPublicKey:f}=a(6982),m=["RS256","RS384","RS512"],h=["ES256","ES384","ES512"],v=["RS256","RS384","RS512"],g=["HS256","HS384","HS512"];p&&(m.splice(m.length,0,"PS256","PS384","PS512"),v.splice(v.length,0,"PS256","PS384","PS512")),e.exports=function(e,t,a,p){let b;if("function"!=typeof a||p||(p=a,a={}),a||(a={}),a=Object.assign({},a),b=p||function(e,t){if(e)throw e;return t},a.clockTimestamp&&"number"!=typeof a.clockTimestamp)return b(new i("clockTimestamp must be a number"));if(void 0!==a.nonce&&("string"!=typeof a.nonce||""===a.nonce.trim()))return b(new i("nonce must be a non-empty string"));if(void 0!==a.allowInvalidAsymmetricKeyTypes&&"boolean"!=typeof a.allowInvalidAsymmetricKeyTypes)return b(new i("allowInvalidAsymmetricKeyTypes must be a boolean"));const y=a.clockTimestamp||Math.floor(Date.now()/1e3);if(!e)return b(new i("jwt must be provided"));if("string"!=typeof e)return b(new i("jwt must be a string"));const x=e.split(".");if(3!==x.length)return b(new i("jwt malformed"));let w;try{w=s(e,{complete:!0})}catch(e){return b(e)}if(!w)return b(new i("invalid token"));const _=w.header;let k;if("function"==typeof t){if(!p)return b(new i("verify must be called asynchronous if secret or public key is provided as a callback"));k=t}else k=function(e,a){return a(null,t)};return k(_,(function(t,s){if(t)return b(new i("error in secret or public key callback: "+t.message));const p=""!==x[2].trim();if(!p&&s)return b(new i("jwt signature is required"));if(p&&!s)return b(new i("secret or public key must be provided"));if(!p&&!a.algorithms)return b(new i('please specify "none" in "algorithms" to verify unsigned tokens'));if(null!=s&&!(s instanceof u))try{s=f(s)}catch(e){try{s=d("string"==typeof s?Buffer.from(s):s)}catch(e){return b(new i("secretOrPublicKey is not valid key material"))}}if(a.algorithms||("secret"===s.type?a.algorithms=g:["rsa","rsa-pss"].includes(s.asymmetricKeyType)?a.algorithms=v:"ec"===s.asymmetricKeyType?a.algorithms=h:a.algorithms=m),-1===a.algorithms.indexOf(w.header.alg))return b(new i("invalid algorithm"));if(_.alg.startsWith("HS")&&"secret"!==s.type)return b(new i(`secretOrPublicKey must be a symmetric key when using ${_.alg}`));if(/^(?:RS|PS|ES)/.test(_.alg)&&"public"!==s.type)return b(new i(`secretOrPublicKey must be an asymmetric key when using ${_.alg}`));if(!a.allowInvalidAsymmetricKeyTypes)try{c(_.alg,s)}catch(e){return b(e)}let k;try{k=l.verify(e,w.header.alg,s)}catch(e){return b(e)}if(!k)return b(new i("invalid signature"));const S=w.payload;if(void 0!==S.nbf&&!a.ignoreNotBefore){if("number"!=typeof S.nbf)return b(new i("invalid nbf value"));if(S.nbf>y+(a.clockTolerance||0))return b(new n("jwt not active",new Date(1e3*S.nbf)))}if(void 0!==S.exp&&!a.ignoreExpiration){if("number"!=typeof S.exp)return b(new i("invalid exp value"));if(y>=S.exp+(a.clockTolerance||0))return b(new r("jwt expired",new Date(1e3*S.exp)))}if(a.audience){const e=Array.isArray(a.audience)?a.audience:[a.audience];if(!(Array.isArray(S.aud)?S.aud:[S.aud]).some((function(t){return e.some((function(e){return e instanceof RegExp?e.test(t):e===t}))})))return b(new i("jwt audience invalid. expected: "+e.join(" or ")))}if(a.issuer&&("string"==typeof a.issuer&&S.iss!==a.issuer||Array.isArray(a.issuer)&&-1===a.issuer.indexOf(S.iss)))return b(new i("jwt issuer invalid. expected: "+a.issuer));if(a.subject&&S.sub!==a.subject)return b(new i("jwt subject invalid. expected: "+a.subject));if(a.jwtid&&S.jti!==a.jwtid)return b(new i("jwt jwtid invalid. expected: "+a.jwtid));if(a.nonce&&S.nonce!==a.nonce)return b(new i("jwt nonce invalid. expected: "+a.nonce));if(a.maxAge){if("number"!=typeof S.iat)return b(new i("iat required when maxAge is specified"));const e=o(a.maxAge,S.iat);if(void 0===e)return b(new i('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(y>=e+(a.clockTolerance||0))return b(new r("maxAge exceeded",new Date(1e3*e)))}if(!0===a.complete){const e=w.signature;return b(null,{header:_,payload:S,signature:e})}return b(null,S)}))}},7116:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;const i=a(6678);function n(e){e.forEach((e=>e.emit("close")))}t.merge=function(e){const t=i(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>n(e))),t.once("end",(()=>n(e))),t}},7147:(e,t,a)=>{var i=a(6430),n=function(e,t){i.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};(n.prototype=Object.create(i.prototype)).constructor=n,e.exports=n},7148:(e,t,a)=>{"use strict";const i=a(2771);e.exports=(e,t)=>new i(e,t).patch},7167:(e,t,a)=>{"use strict";const i=a(9896),n=a(6928),{promisify:r}=a(9023),s=a(9571),{isWindows:o,isLinux:c,EMPTY_FN:p,EMPTY_STR:l,KEY_LISTENERS:u,KEY_ERR:d,KEY_RAW:f,HANDLER_KEYS:m,EV_CHANGE:h,EV_ADD:v,EV_ADD_DIR:g,EV_ERROR:b,STR_DATA:y,STR_END:x,BRACE_START:w,STAR:_}=a(416),k=r(i.open),S=r(i.stat),E=r(i.lstat),j=r(i.close),T=r(i.realpath),A={lstat:E,stat:S},C=(e,t)=>{e instanceof Set?e.forEach(t):t(e)},O=(e,t,a)=>{let i=e[t];i instanceof Set||(e[t]=i=new Set([i])),i.add(a)},P=(e,t,a)=>{const i=e[t];i instanceof Set?i.delete(a):i===a&&delete e[t]},R=e=>e instanceof Set?0===e.size:!e,I=new Map;function N(e,t,a,r,s){const o=(t,i)=>{a(e),s(t,i,{watchedPath:e}),i&&e!==i&&L(n.resolve(e,i),u,n.join(e,i))};try{return i.watch(e,t,o)}catch(e){r(e)}}const L=(e,t,a,i,n)=>{const r=I.get(e);r&&C(r[t],(e=>{e(a,i,n)}))},$=new Map;e.exports=class{constructor(e){this.fsw=e,this._boundHandleError=t=>e._handleError(t)}_watchWithNodeFs(e,t){const a=this.fsw.options,r=n.dirname(e),c=n.basename(e);this.fsw._getWatchedDir(r).add(c);const l=n.resolve(e),v={persistent:a.persistent};let g;return t||(t=p),a.usePolling?(v.interval=a.enableBinaryInterval&&s(c)?a.binaryInterval:a.interval,g=((e,t,a,n)=>{const{listener:r,rawEmitter:s}=n;let o=$.get(t),c=new Set,p=new Set;const l=o&&o.options;return l&&(l.persistent<a.persistent||l.interval>a.interval)&&(c=o.listeners,p=o.rawEmitters,i.unwatchFile(t),o=void 0),o?(O(o,u,r),O(o,f,s)):(o={listeners:r,rawEmitters:s,options:a,watcher:i.watchFile(t,a,((a,i)=>{C(o.rawEmitters,(e=>{e(h,t,{curr:a,prev:i})}));const n=a.mtimeMs;(a.size!==i.size||n>i.mtimeMs||0===n)&&C(o.listeners,(t=>t(e,a)))}))},$.set(t,o)),()=>{P(o,u,r),P(o,f,s),R(o.listeners)&&($.delete(t),i.unwatchFile(t),o.options=o.watcher=void 0,Object.freeze(o))}})(e,l,v,{listener:t,rawEmitter:this.fsw._emitRaw})):g=((e,t,a,i)=>{const{listener:n,errHandler:r,rawEmitter:s}=i;let c,p=I.get(t);if(!a.persistent)return c=N(e,a,n,r,s),c.close.bind(c);if(p)O(p,u,n),O(p,d,r),O(p,f,s);else{if(c=N(e,a,L.bind(null,t,u),r,L.bind(null,t,f)),!c)return;c.on(b,(async a=>{const i=L.bind(null,t,d);if(p.watcherUnusable=!0,o&&"EPERM"===a.code)try{const t=await k(e,"r");await j(t),i(a)}catch(e){}else i(a)})),p={listeners:n,errHandlers:r,rawEmitters:s,watcher:c},I.set(t,p)}return()=>{P(p,u,n),P(p,d,r),P(p,f,s),R(p.listeners)&&(p.watcher.close(),I.delete(t),m.forEach((e=>t=>{const a=e[t];a instanceof Set?a.clear():delete e[t]})(p)),p.watcher=void 0,Object.freeze(p))}})(e,l,v,{listener:t,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),g}_handleFile(e,t,a){if(this.fsw.closed)return;const i=n.dirname(e),r=n.basename(e),s=this.fsw._getWatchedDir(i);let o=t;if(s.has(r))return;const p=async(t,a)=>{if(this.fsw._throttle("watch",e,5))if(a&&0!==a.mtimeMs){if(s.has(r)){const t=a.atimeMs,i=a.mtimeMs;(!t||t<=i||i!==o.mtimeMs)&&this.fsw._emit(h,e,a),o=a}}else try{const a=await S(e);if(this.fsw.closed)return;const i=a.atimeMs,n=a.mtimeMs;(!i||i<=n||n!==o.mtimeMs)&&this.fsw._emit(h,e,a),c&&o.ino!==a.ino?(this.fsw._closeFile(t),o=a,this.fsw._addPathCloser(t,this._watchWithNodeFs(e,p))):o=a}catch(e){this.fsw._remove(i,r)}},l=this._watchWithNodeFs(e,p);if((!a||!this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(e)){if(!this.fsw._throttle(v,e,0))return;this.fsw._emit(v,e,t)}return l}async _handleSymlink(e,t,a,i){if(this.fsw.closed)return;const n=e.fullPath,r=this.fsw._getWatchedDir(t);if(!this.fsw.options.followSymlinks){let t;this.fsw._incrReadyCount();try{t=await T(a)}catch(e){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;return r.has(i)?this.fsw._symlinkPaths.get(n)!==t&&(this.fsw._symlinkPaths.set(n,t),this.fsw._emit(h,a,e.stats)):(r.add(i),this.fsw._symlinkPaths.set(n,t),this.fsw._emit(v,a,e.stats)),this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(n))return!0;this.fsw._symlinkPaths.set(n,!0)}_handleRead(e,t,a,i,r,s,o){if(e=n.join(e,l),!a.hasGlob&&!(o=this.fsw._throttle("readdir",e,1e3)))return;const c=this.fsw._getWatchedDir(a.path),p=new Set;let u=this.fsw._readdirp(e,{fileFilter:e=>a.filterPath(e),directoryFilter:e=>a.filterDir(e),depth:0}).on(y,(async o=>{if(this.fsw.closed)return void(u=void 0);const l=o.path;let d=n.join(e,l);p.add(l),o.stats.isSymbolicLink()&&await this._handleSymlink(o,e,d,l)||(this.fsw.closed?u=void 0:l!==i&&(i||c.has(l))||(this.fsw._incrReadyCount(),d=n.join(r,n.relative(r,d)),this._addToNodeFs(d,t,a,s+1)))})).on(b,this._boundHandleError);return new Promise((t=>u.once(x,(()=>{if(this.fsw.closed)return void(u=void 0);const l=!!o&&o.clear();t(),c.getChildren().filter((t=>t!==e&&!p.has(t)&&(!a.hasGlob||a.filterPath({fullPath:n.resolve(e,t)})))).forEach((t=>{this.fsw._remove(e,t)})),u=void 0,l&&this._handleRead(e,!1,a,i,r,s,o)}))))}async _handleDir(e,t,a,i,r,s,o){const c=this.fsw._getWatchedDir(n.dirname(e)),p=c.has(n.basename(e));let l,u;a&&this.fsw.options.ignoreInitial||r||p||s.hasGlob&&!s.globFilter(e)||this.fsw._emit(g,e,t),c.add(n.basename(e)),this.fsw._getWatchedDir(e);const d=this.fsw.options.depth;if((null==d||i<=d)&&!this.fsw._symlinkPaths.has(o)){if(!r&&(await this._handleRead(e,a,s,r,e,i,l),this.fsw.closed))return;u=this._watchWithNodeFs(e,((t,a)=>{a&&0===a.mtimeMs||this._handleRead(t,!1,s,r,e,i,l)}))}return u}async _addToNodeFs(e,t,a,i,r){const s=this.fsw._emitReady;if(this.fsw._isIgnored(e)||this.fsw.closed)return s(),!1;const o=this.fsw._getWatchHelpers(e,i);!o.hasGlob&&a&&(o.hasGlob=a.hasGlob,o.globFilter=a.globFilter,o.filterPath=e=>a.filterPath(e),o.filterDir=e=>a.filterDir(e));try{const a=await A[o.statMethod](o.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(o.watchPath,a))return s(),!1;const c=this.fsw.options.followSymlinks&&!e.includes(_)&&!e.includes(w);let p;if(a.isDirectory()){const s=n.resolve(e),l=c?await T(e):e;if(this.fsw.closed)return;if(p=await this._handleDir(o.watchPath,a,t,i,r,o,l),this.fsw.closed)return;s!==l&&void 0!==l&&this.fsw._symlinkPaths.set(s,l)}else if(a.isSymbolicLink()){const r=c?await T(e):e;if(this.fsw.closed)return;const s=n.dirname(o.watchPath);if(this.fsw._getWatchedDir(s).add(o.watchPath),this.fsw._emit(v,o.watchPath,a),p=await this._handleDir(s,a,t,i,e,o,r),this.fsw.closed)return;void 0!==r&&this.fsw._symlinkPaths.set(n.resolve(e),r)}else p=this._handleFile(o.watchPath,a,t);return s(),this.fsw._addPathCloser(e,p),!1}catch(t){if(this.fsw._handleError(t))return s(),e}}}},7219:(e,t,a)=>{function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.setopts=function(e,t,a){if(a||(a={}),a.matchBase&&-1===t.indexOf("/")){if(a.noglobstar)throw new Error("base matching requires globstar");t="**/"+t}e.silent=!!a.silent,e.pattern=t,e.strict=!1!==a.strict,e.realpath=!!a.realpath,e.realpathCache=a.realpathCache||Object.create(null),e.follow=!!a.follow,e.dot=!!a.dot,e.mark=!!a.mark,e.nodir=!!a.nodir,e.nodir&&(e.mark=!0),e.sync=!!a.sync,e.nounique=!!a.nounique,e.nonull=!!a.nonull,e.nosort=!!a.nosort,e.nocase=!!a.nocase,e.stat=!!a.stat,e.noprocess=!!a.noprocess,e.absolute=!!a.absolute,e.fs=a.fs||n,e.maxLength=a.maxLength||1/0,e.cache=a.cache||Object.create(null),e.statCache=a.statCache||Object.create(null),e.symlinks=a.symlinks||Object.create(null),function(e,t){e.ignore=t.ignore||[],Array.isArray(e.ignore)||(e.ignore=[e.ignore]),e.ignore.length&&(e.ignore=e.ignore.map(l))}(e,a),e.changedCwd=!1;var s=process.cwd();i(a,"cwd")?(e.cwd=r.resolve(a.cwd),e.changedCwd=e.cwd!==s):e.cwd=s,e.root=a.root||r.resolve(e.cwd,"/"),e.root=r.resolve(e.root),"win32"===process.platform&&(e.root=e.root.replace(/\\/g,"/")),e.cwdAbs=o(e.cwd)?e.cwd:u(e,e.cwd),"win32"===process.platform&&(e.cwdAbs=e.cwdAbs.replace(/\\/g,"/")),e.nomount=!!a.nomount,a.nonegate=!0,a.nocomment=!0,a.allowWindowsEscape=!1,e.minimatch=new c(t,a),e.options=e.minimatch.options},t.ownProp=i,t.makeAbs=u,t.finish=function(e){for(var t=e.nounique,a=t?[]:Object.create(null),i=0,n=e.matches.length;i<n;i++){var r=e.matches[i];if(r&&0!==Object.keys(r).length){var s=Object.keys(r);t?a.push.apply(a,s):s.forEach((function(e){a[e]=!0}))}else if(e.nonull){var o=e.minimatch.globSet[i];t?a.push(o):a[o]=!0}}if(t||(a=Object.keys(a)),e.nosort||(a=a.sort(p)),e.mark){for(i=0;i<a.length;i++)a[i]=e._mark(a[i]);e.nodir&&(a=a.filter((function(t){var a=!/\/$/.test(t),i=e.cache[t]||e.cache[u(e,t)];return a&&i&&(a="DIR"!==i&&!Array.isArray(i)),a})))}e.ignore.length&&(a=a.filter((function(t){return!d(e,t)}))),e.found=a},t.mark=function(e,t){var a=u(e,t),i=e.cache[a],n=t;if(i){var r="DIR"===i||Array.isArray(i),s="/"===t.slice(-1);if(r&&!s?n+="/":!r&&s&&(n=n.slice(0,-1)),n!==t){var o=u(e,n);e.statCache[o]=e.statCache[a],e.cache[o]=e.cache[a]}}return n},t.isIgnored=d,t.childrenIgnored=function(e,t){return!!e.ignore.length&&e.ignore.some((function(e){return!(!e.gmatcher||!e.gmatcher.match(t))}))};var n=a(9896),r=a(6928),s=a(8782),o=a(1806),c=s.Minimatch;function p(e,t){return e.localeCompare(t,"en")}function l(e){var t=null;if("/**"===e.slice(-3)){var a=e.replace(/(\/\*\*)+$/,"");t=new c(a,{dot:!0})}return{matcher:new c(e,{dot:!0}),gmatcher:t}}function u(e,t){var a=t;return a="/"===t.charAt(0)?r.join(e.root,t):o(t)||""===t?t:e.changedCwd?r.resolve(e.cwd,t):r.resolve(t),"win32"===process.platform&&(a=a.replace(/\\/g,"/")),a}function d(e,t){return!!e.ignore.length&&e.ignore.some((function(e){return e.matcher.match(t)||!(!e.gmatcher||!e.gmatcher.match(t))}))}},7238:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t,a)=>0!==i(e,t,a)},7256:(e,t,a)=>{"use strict";const i=a(4104);e.exports=(e,t)=>e.sort(((e,a)=>i(e,a,t)))},7265:(e,t,a)=>{var i=a(181).Buffer;e.exports=function(e){return"string"==typeof e?e:"number"==typeof e||i.isBuffer(e)?e.toString():JSON.stringify(e)}},7361:(e,t,a)=>{"use strict";const i=a(9896),{Readable:n}=a(2203),r=a(6928),{promisify:s}=a(9023),o=a(5562),c=s(i.readdir),p=s(i.stat),l=s(i.lstat),u=s(i.realpath),d="READDIRP_RECURSIVE_ERROR",f=new Set(["ENOENT","EPERM","EACCES","ELOOP",d]),m="files",h="directories",v="files_directories",g="all",b=[m,h,v,g],[y,x]=process.versions.node.split(".").slice(0,2).map((e=>Number.parseInt(e,10))),w="win32"===process.platform&&(y>10||10===y&&x>=5),_=e=>{if(void 0!==e){if("function"==typeof e)return e;if("string"==typeof e){const t=o(e.trim());return e=>t(e.basename)}if(Array.isArray(e)){const t=[],a=[];for(const i of e){const e=i.trim();"!"===e.charAt(0)?a.push(o(e.slice(1))):t.push(o(e))}return a.length>0?t.length>0?e=>t.some((t=>t(e.basename)))&&!a.some((t=>t(e.basename))):e=>!a.some((t=>t(e.basename))):e=>t.some((t=>t(e.basename)))}}};class k extends n{static get defaultOptions(){return{root:".",fileFilter:e=>!0,directoryFilter:e=>!0,type:m,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(e={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:e.highWaterMark||4096});const t={...k.defaultOptions,...e},{root:a,type:n}=t;this._fileFilter=_(t.fileFilter),this._directoryFilter=_(t.directoryFilter);const s=t.lstat?l:p;this._stat=w?e=>s(e,{bigint:!0}):s,this._maxDepth=t.depth,this._wantsDir=[h,v,g].includes(n),this._wantsFile=[m,v,g].includes(n),this._wantsEverything=n===g,this._root=r.resolve(a),this._isDirent="Dirent"in i&&!t.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(a,1)],this.reading=!1,this.parent=void 0}async _read(e){if(!this.reading){this.reading=!0;try{for(;!this.destroyed&&e>0;){const{path:t,depth:a,files:i=[]}=this.parent||{};if(i.length>0){const n=i.splice(0,e).map((e=>this._formatEntry(e,t)));for(const t of await Promise.all(n)){if(this.destroyed)return;const i=await this._getEntryType(t);"directory"===i&&this._directoryFilter(t)?(a<=this._maxDepth&&this.parents.push(this._exploreDir(t.fullPath,a+1)),this._wantsDir&&(this.push(t),e--)):("file"===i||this._includeAsFile(t))&&this._fileFilter(t)&&this._wantsFile&&(this.push(t),e--)}}else{const e=this.parents.pop();if(!e){this.push(null);break}if(this.parent=await e,this.destroyed)return}}}catch(e){this.destroy(e)}finally{this.reading=!1}}}async _exploreDir(e,t){let a;try{a=await c(e,this._rdOptions)}catch(e){this._onError(e)}return{files:a,depth:t,path:e}}async _formatEntry(e,t){let a;try{const i=this._isDirent?e.name:e,n=r.resolve(r.join(t,i));a={path:r.relative(this._root,n),fullPath:n,basename:i},a[this._statsProp]=this._isDirent?e:await this._stat(n)}catch(e){this._onError(e)}return a}_onError(e){var t;t=e,f.has(t.code)&&!this.destroyed?this.emit("warn",e):this.destroy(e)}async _getEntryType(e){const t=e&&e[this._statsProp];if(t){if(t.isFile())return"file";if(t.isDirectory())return"directory";if(t&&t.isSymbolicLink()){const t=e.fullPath;try{const e=await u(t),a=await l(e);if(a.isFile())return"file";if(a.isDirectory()){const a=e.length;if(t.startsWith(e)&&t.substr(a,1)===r.sep){const a=new Error(`Circular symlink detected: "${t}" points to "${e}"`);return a.code=d,this._onError(a)}return"directory"}}catch(e){this._onError(e)}}}}_includeAsFile(e){const t=e&&e[this._statsProp];return t&&this._wantsEverything&&!t.isDirectory()}}const S=(e,t={})=>{let a=t.entryType||t.type;if("both"===a&&(a=v),a&&(t.type=a),!e)throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");if("string"!=typeof e)throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");if(a&&!b.includes(a))throw new Error(`readdirp: Invalid type passed. Use one of ${b.join(", ")}`);return t.root=e,new k(t)};S.promise=(e,t={})=>new Promise(((a,i)=>{const n=[];S(e,t).on("data",(e=>n.push(e))).on("end",(()=>a(n))).on("error",(e=>i(e)))})),S.ReaddirpStream=k,S.default=S,e.exports=S},7416:(e,t,a)=>{const i=a(4434).EventEmitter,n=a(5317),r=a(6928),s=a(9896),o=a(932),{Argument:c,humanReadableArgName:p}=a(2670),{CommanderError:l}=a(723),{Help:u}=a(2966),{Option:d,splitOptionFlags:f,DualOptions:m}=a(5156),{suggestSimilar:h}=a(618);class v extends i{constructor(e){super(),this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this._args=[],this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=e||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:e=>o.stdout.write(e),writeErr:e=>o.stderr.write(e),getOutHelpWidth:()=>o.stdout.isTTY?o.stdout.columns:void 0,getErrHelpWidth:()=>o.stderr.isTTY?o.stderr.columns:void 0,outputError:(e,t)=>t(e)},this._hidden=!1,this._hasHelpOption=!0,this._helpFlags="-h, --help",this._helpDescription="display help for command",this._helpShortFlag="-h",this._helpLongFlag="--help",this._addImplicitHelpCommand=void 0,this._helpCommandName="help",this._helpCommandnameAndArgs="help [command]",this._helpCommandDescription="display help for command",this._helpConfiguration={}}copyInheritedSettings(e){return this._outputConfiguration=e._outputConfiguration,this._hasHelpOption=e._hasHelpOption,this._helpFlags=e._helpFlags,this._helpDescription=e._helpDescription,this._helpShortFlag=e._helpShortFlag,this._helpLongFlag=e._helpLongFlag,this._helpCommandName=e._helpCommandName,this._helpCommandnameAndArgs=e._helpCommandnameAndArgs,this._helpCommandDescription=e._helpCommandDescription,this._helpConfiguration=e._helpConfiguration,this._exitCallback=e._exitCallback,this._storeOptionsAsProperties=e._storeOptionsAsProperties,this._combineFlagAndOptionalValue=e._combineFlagAndOptionalValue,this._allowExcessArguments=e._allowExcessArguments,this._enablePositionalOptions=e._enablePositionalOptions,this._showHelpAfterError=e._showHelpAfterError,this._showSuggestionAfterError=e._showSuggestionAfterError,this}command(e,t,a){let i=t,n=a;"object"==typeof i&&null!==i&&(n=i,i=null),n=n||{};const[,r,s]=e.match(/([^ ]+) *(.*)/),o=this.createCommand(r);return i&&(o.description(i),o._executableHandler=!0),n.isDefault&&(this._defaultCommandName=o._name),o._hidden=!(!n.noHelp&&!n.hidden),o._executableFile=n.executableFile||null,s&&o.arguments(s),this.commands.push(o),o.parent=this,o.copyInheritedSettings(this),i?this:o}createCommand(e){return new v(e)}createHelp(){return Object.assign(new u,this.configureHelp())}configureHelp(e){return void 0===e?this._helpConfiguration:(this._helpConfiguration=e,this)}configureOutput(e){return void 0===e?this._outputConfiguration:(Object.assign(this._outputConfiguration,e),this)}showHelpAfterError(e=!0){return"string"!=typeof e&&(e=!!e),this._showHelpAfterError=e,this}showSuggestionAfterError(e=!0){return this._showSuggestionAfterError=!!e,this}addCommand(e,t){if(!e._name)throw new Error("Command passed to .addCommand() must have a name\n- specify the name in Command constructor or using .name()");return(t=t||{}).isDefault&&(this._defaultCommandName=e._name),(t.noHelp||t.hidden)&&(e._hidden=!0),this.commands.push(e),e.parent=this,this}createArgument(e,t){return new c(e,t)}argument(e,t,a,i){const n=this.createArgument(e,t);return"function"==typeof a?n.default(i).argParser(a):n.default(a),this.addArgument(n),this}arguments(e){return e.split(/ +/).forEach((e=>{this.argument(e)})),this}addArgument(e){const t=this._args.slice(-1)[0];if(t&&t.variadic)throw new Error(`only the last argument can be variadic '${t.name()}'`);if(e.required&&void 0!==e.defaultValue&&void 0===e.parseArg)throw new Error(`a default value for a required argument is never used: '${e.name()}'`);return this._args.push(e),this}addHelpCommand(e,t){return!1===e?this._addImplicitHelpCommand=!1:(this._addImplicitHelpCommand=!0,"string"==typeof e&&(this._helpCommandName=e.split(" ")[0],this._helpCommandnameAndArgs=e),this._helpCommandDescription=t||this._helpCommandDescription),this}_hasImplicitHelpCommand(){return void 0===this._addImplicitHelpCommand?this.commands.length&&!this._actionHandler&&!this._findCommand("help"):this._addImplicitHelpCommand}hook(e,t){const a=["preSubcommand","preAction","postAction"];if(!a.includes(e))throw new Error(`Unexpected value for event passed to hook : '${e}'.\nExpecting one of '${a.join("', '")}'`);return this._lifeCycleHooks[e]?this._lifeCycleHooks[e].push(t):this._lifeCycleHooks[e]=[t],this}exitOverride(e){return this._exitCallback=e||(e=>{if("commander.executeSubCommandAsync"!==e.code)throw e}),this}_exit(e,t,a){this._exitCallback&&this._exitCallback(new l(e,t,a)),o.exit(e)}action(e){return this._actionHandler=t=>{const a=this._args.length,i=t.slice(0,a);return this._storeOptionsAsProperties?i[a]=this:i[a]=this.opts(),i.push(this),e.apply(this,i)},this}createOption(e,t){return new d(e,t)}addOption(e){const t=e.name(),a=e.attributeName();if(e.negate){const t=e.long.replace(/^--no-/,"--");this._findOption(t)||this.setOptionValueWithSource(a,void 0===e.defaultValue||e.defaultValue,"default")}else void 0!==e.defaultValue&&this.setOptionValueWithSource(a,e.defaultValue,"default");this.options.push(e);const i=(t,i,n)=>{null==t&&void 0!==e.presetArg&&(t=e.presetArg);const r=this.getOptionValue(a);if(null!==t&&e.parseArg)try{t=e.parseArg(t,r)}catch(e){if("commander.invalidArgument"===e.code){const t=`${i} ${e.message}`;this.error(t,{exitCode:e.exitCode,code:e.code})}throw e}else null!==t&&e.variadic&&(t=e._concatValue(t,r));null==t&&(t=!e.negate&&(!(!e.isBoolean()&&!e.optional)||"")),this.setOptionValueWithSource(a,t,n)};return this.on("option:"+t,(t=>{const a=`error: option '${e.flags}' argument '${t}' is invalid.`;i(t,a,"cli")})),e.envVar&&this.on("optionEnv:"+t,(t=>{const a=`error: option '${e.flags}' value '${t}' from env '${e.envVar}' is invalid.`;i(t,a,"env")})),this}_optionEx(e,t,a,i,n){if("object"==typeof t&&t instanceof d)throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");const r=this.createOption(t,a);if(r.makeOptionMandatory(!!e.mandatory),"function"==typeof i)r.default(n).argParser(i);else if(i instanceof RegExp){const e=i;i=(t,a)=>{const i=e.exec(t);return i?i[0]:a},r.default(n).argParser(i)}else r.default(i);return this.addOption(r)}option(e,t,a,i){return this._optionEx({},e,t,a,i)}requiredOption(e,t,a,i){return this._optionEx({mandatory:!0},e,t,a,i)}combineFlagAndOptionalValue(e=!0){return this._combineFlagAndOptionalValue=!!e,this}allowUnknownOption(e=!0){return this._allowUnknownOption=!!e,this}allowExcessArguments(e=!0){return this._allowExcessArguments=!!e,this}enablePositionalOptions(e=!0){return this._enablePositionalOptions=!!e,this}passThroughOptions(e=!0){if(this._passThroughOptions=!!e,this.parent&&e&&!this.parent._enablePositionalOptions)throw new Error("passThroughOptions can not be used without turning on enablePositionalOptions for parent command(s)");return this}storeOptionsAsProperties(e=!0){if(this._storeOptionsAsProperties=!!e,this.options.length)throw new Error("call .storeOptionsAsProperties() before adding options");return this}getOptionValue(e){return this._storeOptionsAsProperties?this[e]:this._optionValues[e]}setOptionValue(e,t){return this.setOptionValueWithSource(e,t,void 0)}setOptionValueWithSource(e,t,a){return this._storeOptionsAsProperties?this[e]=t:this._optionValues[e]=t,this._optionValueSources[e]=a,this}getOptionValueSource(e){return this._optionValueSources[e]}getOptionValueSourceWithGlobals(e){let t;return y(this).forEach((a=>{void 0!==a.getOptionValueSource(e)&&(t=a.getOptionValueSource(e))})),t}_prepareUserArgs(e,t){if(void 0!==e&&!Array.isArray(e))throw new Error("first parameter to parse must be array or undefined");let a;switch(t=t||{},void 0===e&&(e=o.argv,o.versions&&o.versions.electron&&(t.from="electron")),this.rawArgs=e.slice(),t.from){case void 0:case"node":this._scriptPath=e[1],a=e.slice(2);break;case"electron":o.defaultApp?(this._scriptPath=e[1],a=e.slice(2)):a=e.slice(1);break;case"user":a=e.slice(0);break;default:throw new Error(`unexpected parse option { from: '${t.from}' }`)}return!this._name&&this._scriptPath&&this.nameFromFilename(this._scriptPath),this._name=this._name||"program",a}parse(e,t){const a=this._prepareUserArgs(e,t);return this._parseCommand([],a),this}async parseAsync(e,t){const a=this._prepareUserArgs(e,t);return await this._parseCommand([],a),this}_executeSubCommand(e,t){t=t.slice();let a=!1;const i=[".js",".ts",".tsx",".mjs",".cjs"];function c(e,t){const a=r.resolve(e,t);if(s.existsSync(a))return a;if(i.includes(r.extname(t)))return;const n=i.find((e=>s.existsSync(`${a}${e}`)));return n?`${a}${n}`:void 0}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let p,u=e._executableFile||`${this._name}-${e._name}`,d=this._executableDir||"";if(this._scriptPath){let e;try{e=s.realpathSync(this._scriptPath)}catch(t){e=this._scriptPath}d=r.resolve(r.dirname(e),d)}if(d){let t=c(d,u);if(!t&&!e._executableFile&&this._scriptPath){const a=r.basename(this._scriptPath,r.extname(this._scriptPath));a!==this._name&&(t=c(d,`${a}-${e._name}`))}u=t||u}a=i.includes(r.extname(u)),"win32"!==o.platform?a?(t.unshift(u),t=b(o.execArgv).concat(t),p=n.spawn(o.argv[0],t,{stdio:"inherit"})):p=n.spawn(u,t,{stdio:"inherit"}):(t.unshift(u),t=b(o.execArgv).concat(t),p=n.spawn(o.execPath,t,{stdio:"inherit"})),p.killed||["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach((e=>{o.on(e,(()=>{!1===p.killed&&null===p.exitCode&&p.kill(e)}))}));const f=this._exitCallback;f?p.on("close",(()=>{f(new l(o.exitCode||0,"commander.executeSubCommandAsync","(close)"))})):p.on("close",o.exit.bind(o)),p.on("error",(t=>{if("ENOENT"===t.code){const t=d?`searched for local subcommand relative to directory '${d}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",a=`'${u}' does not exist\n - if '${e._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead\n - if the default executable name is not suitable, use the executableFile option to supply a custom name or path\n - ${t}`;throw new Error(a)}if("EACCES"===t.code)throw new Error(`'${u}' not executable`);if(f){const e=new l(1,"commander.executeSubCommandAsync","(error)");e.nestedError=t,f(e)}else o.exit(1)})),this.runningCommand=p}_dispatchSubcommand(e,t,a){const i=this._findCommand(e);let n;return i||this.help({error:!0}),n=this._chainOrCallSubCommandHook(n,i,"preSubcommand"),n=this._chainOrCall(n,(()=>{if(!i._executableHandler)return i._parseCommand(t,a);this._executeSubCommand(i,t.concat(a))})),n}_checkNumberOfArguments(){this._args.forEach(((e,t)=>{e.required&&null==this.args[t]&&this.missingArgument(e.name())})),this._args.length>0&&this._args[this._args.length-1].variadic||this.args.length>this._args.length&&this._excessArguments(this.args)}_processArguments(){const e=(e,t,a)=>{let i=t;if(null!==t&&e.parseArg)try{i=e.parseArg(t,a)}catch(a){if("commander.invalidArgument"===a.code){const i=`error: command-argument value '${t}' is invalid for argument '${e.name()}'. ${a.message}`;this.error(i,{exitCode:a.exitCode,code:a.code})}throw a}return i};this._checkNumberOfArguments();const t=[];this._args.forEach(((a,i)=>{let n=a.defaultValue;a.variadic?i<this.args.length?(n=this.args.slice(i),a.parseArg&&(n=n.reduce(((t,i)=>e(a,i,t)),a.defaultValue))):void 0===n&&(n=[]):i<this.args.length&&(n=this.args[i],a.parseArg&&(n=e(a,n,a.defaultValue))),t[i]=n})),this.processedArgs=t}_chainOrCall(e,t){return e&&e.then&&"function"==typeof e.then?e.then((()=>t())):t()}_chainOrCallHooks(e,t){let a=e;const i=[];return y(this).reverse().filter((e=>void 0!==e._lifeCycleHooks[t])).forEach((e=>{e._lifeCycleHooks[t].forEach((t=>{i.push({hookedCommand:e,callback:t})}))})),"postAction"===t&&i.reverse(),i.forEach((e=>{a=this._chainOrCall(a,(()=>e.callback(e.hookedCommand,this)))})),a}_chainOrCallSubCommandHook(e,t,a){let i=e;return void 0!==this._lifeCycleHooks[a]&&this._lifeCycleHooks[a].forEach((e=>{i=this._chainOrCall(i,(()=>e(this,t)))})),i}_parseCommand(e,t){const a=this.parseOptions(t);if(this._parseOptionsEnv(),this._parseOptionsImplied(),e=e.concat(a.operands),t=a.unknown,this.args=e.concat(t),e&&this._findCommand(e[0]))return this._dispatchSubcommand(e[0],e.slice(1),t);if(this._hasImplicitHelpCommand()&&e[0]===this._helpCommandName)return 1===e.length&&this.help(),this._dispatchSubcommand(e[1],[],[this._helpLongFlag]);if(this._defaultCommandName)return g(this,t),this._dispatchSubcommand(this._defaultCommandName,e,t);!this.commands.length||0!==this.args.length||this._actionHandler||this._defaultCommandName||this.help({error:!0}),g(this,a.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();const i=()=>{a.unknown.length>0&&this.unknownOption(a.unknown[0])},n=`command:${this.name()}`;if(this._actionHandler){let a;return i(),this._processArguments(),a=this._chainOrCallHooks(a,"preAction"),a=this._chainOrCall(a,(()=>this._actionHandler(this.processedArgs))),this.parent&&(a=this._chainOrCall(a,(()=>{this.parent.emit(n,e,t)}))),a=this._chainOrCallHooks(a,"postAction"),a}if(this.parent&&this.parent.listenerCount(n))i(),this._processArguments(),this.parent.emit(n,e,t);else if(e.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",e,t);this.listenerCount("command:*")?this.emit("command:*",e,t):this.commands.length?this.unknownCommand():(i(),this._processArguments())}else this.commands.length?(i(),this.help({error:!0})):(i(),this._processArguments())}_findCommand(e){if(e)return this.commands.find((t=>t._name===e||t._aliases.includes(e)))}_findOption(e){return this.options.find((t=>t.is(e)))}_checkForMissingMandatoryOptions(){for(let e=this;e;e=e.parent)e.options.forEach((t=>{t.mandatory&&void 0===e.getOptionValue(t.attributeName())&&e.missingMandatoryOptionValue(t)}))}_checkForConflictingLocalOptions(){const e=this.options.filter((e=>{const t=e.attributeName();return void 0!==this.getOptionValue(t)&&"default"!==this.getOptionValueSource(t)}));e.filter((e=>e.conflictsWith.length>0)).forEach((t=>{const a=e.find((e=>t.conflictsWith.includes(e.attributeName())));a&&this._conflictingOption(t,a)}))}_checkForConflictingOptions(){for(let e=this;e;e=e.parent)e._checkForConflictingLocalOptions()}parseOptions(e){const t=[],a=[];let i=t;const n=e.slice();function r(e){return e.length>1&&"-"===e[0]}let s=null;for(;n.length;){const e=n.shift();if("--"===e){i===a&&i.push(e),i.push(...n);break}if(!s||r(e)){if(s=null,r(e)){const t=this._findOption(e);if(t){if(t.required){const e=n.shift();void 0===e&&this.optionMissingArgument(t),this.emit(`option:${t.name()}`,e)}else if(t.optional){let e=null;n.length>0&&!r(n[0])&&(e=n.shift()),this.emit(`option:${t.name()}`,e)}else this.emit(`option:${t.name()}`);s=t.variadic?t:null;continue}}if(e.length>2&&"-"===e[0]&&"-"!==e[1]){const t=this._findOption(`-${e[1]}`);if(t){t.required||t.optional&&this._combineFlagAndOptionalValue?this.emit(`option:${t.name()}`,e.slice(2)):(this.emit(`option:${t.name()}`),n.unshift(`-${e.slice(2)}`));continue}}if(/^--[^=]+=/.test(e)){const t=e.indexOf("="),a=this._findOption(e.slice(0,t));if(a&&(a.required||a.optional)){this.emit(`option:${a.name()}`,e.slice(t+1));continue}}if(r(e)&&(i=a),(this._enablePositionalOptions||this._passThroughOptions)&&0===t.length&&0===a.length){if(this._findCommand(e)){t.push(e),n.length>0&&a.push(...n);break}if(e===this._helpCommandName&&this._hasImplicitHelpCommand()){t.push(e),n.length>0&&t.push(...n);break}if(this._defaultCommandName){a.push(e),n.length>0&&a.push(...n);break}}if(this._passThroughOptions){i.push(e),n.length>0&&i.push(...n);break}i.push(e)}else this.emit(`option:${s.name()}`,e)}return{operands:t,unknown:a}}opts(){if(this._storeOptionsAsProperties){const e={},t=this.options.length;for(let a=0;a<t;a++){const t=this.options[a].attributeName();e[t]=t===this._versionOptionName?this._version:this[t]}return e}return this._optionValues}optsWithGlobals(){return y(this).reduce(((e,t)=>Object.assign(e,t.opts())),{})}error(e,t){this._outputConfiguration.outputError(`${e}\n`,this._outputConfiguration.writeErr),"string"==typeof this._showHelpAfterError?this._outputConfiguration.writeErr(`${this._showHelpAfterError}\n`):this._showHelpAfterError&&(this._outputConfiguration.writeErr("\n"),this.outputHelp({error:!0}));const a=t||{},i=a.exitCode||1,n=a.code||"commander.error";this._exit(i,n,e)}_parseOptionsEnv(){this.options.forEach((e=>{if(e.envVar&&e.envVar in o.env){const t=e.attributeName();(void 0===this.getOptionValue(t)||["default","config","env"].includes(this.getOptionValueSource(t)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,o.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}}))}_parseOptionsImplied(){const e=new m(this.options),t=e=>void 0!==this.getOptionValue(e)&&!["default","implied"].includes(this.getOptionValueSource(e));this.options.filter((a=>void 0!==a.implied&&t(a.attributeName())&&e.valueFromOption(this.getOptionValue(a.attributeName()),a))).forEach((e=>{Object.keys(e.implied).filter((e=>!t(e))).forEach((t=>{this.setOptionValueWithSource(t,e.implied[t],"implied")}))}))}missingArgument(e){const t=`error: missing required argument '${e}'`;this.error(t,{code:"commander.missingArgument"})}optionMissingArgument(e){const t=`error: option '${e.flags}' argument missing`;this.error(t,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){const t=`error: required option '${e.flags}' not specified`;this.error(t,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,t){const a=e=>{const t=e.attributeName(),a=this.getOptionValue(t),i=this.options.find((e=>e.negate&&t===e.attributeName())),n=this.options.find((e=>!e.negate&&t===e.attributeName()));return i&&(void 0===i.presetArg&&!1===a||void 0!==i.presetArg&&a===i.presetArg)?i:n||e},i=e=>{const t=a(e),i=t.attributeName();return"env"===this.getOptionValueSource(i)?`environment variable '${t.envVar}'`:`option '${t.flags}'`},n=`error: ${i(e)} cannot be used with ${i(t)}`;this.error(n,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let t="";if(e.startsWith("--")&&this._showSuggestionAfterError){let a=[],i=this;do{const e=i.createHelp().visibleOptions(i).filter((e=>e.long)).map((e=>e.long));a=a.concat(e),i=i.parent}while(i&&!i._enablePositionalOptions);t=h(e,a)}const a=`error: unknown option '${e}'${t}`;this.error(a,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;const t=this._args.length,a=1===t?"":"s",i=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${t} argument${a} but got ${e.length}.`;this.error(i,{code:"commander.excessArguments"})}unknownCommand(){const e=this.args[0];let t="";if(this._showSuggestionAfterError){const a=[];this.createHelp().visibleCommands(this).forEach((e=>{a.push(e.name()),e.alias()&&a.push(e.alias())})),t=h(e,a)}const a=`error: unknown command '${e}'${t}`;this.error(a,{code:"commander.unknownCommand"})}version(e,t,a){if(void 0===e)return this._version;this._version=e,t=t||"-V, --version",a=a||"output the version number";const i=this.createOption(t,a);return this._versionOptionName=i.attributeName(),this.options.push(i),this.on("option:"+i.name(),(()=>{this._outputConfiguration.writeOut(`${e}\n`),this._exit(0,"commander.version",e)})),this}description(e,t){return void 0===e&&void 0===t?this._description:(this._description=e,t&&(this._argsDescription=t),this)}summary(e){return void 0===e?this._summary:(this._summary=e,this)}alias(e){if(void 0===e)return this._aliases[0];let t=this;if(0!==this.commands.length&&this.commands[this.commands.length-1]._executableHandler&&(t=this.commands[this.commands.length-1]),e===t._name)throw new Error("Command alias can't be the same as its name");return t._aliases.push(e),this}aliases(e){return void 0===e?this._aliases:(e.forEach((e=>this.alias(e))),this)}usage(e){if(void 0===e){if(this._usage)return this._usage;const e=this._args.map((e=>p(e)));return[].concat(this.options.length||this._hasHelpOption?"[options]":[],this.commands.length?"[command]":[],this._args.length?e:[]).join(" ")}return this._usage=e,this}name(e){return void 0===e?this._name:(this._name=e,this)}nameFromFilename(e){return this._name=r.basename(e,r.extname(e)),this}executableDir(e){return void 0===e?this._executableDir:(this._executableDir=e,this)}helpInformation(e){const t=this.createHelp();return void 0===t.helpWidth&&(t.helpWidth=e&&e.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth()),t.formatHelp(this,t)}_getHelpContext(e){const t={error:!!(e=e||{}).error};let a;return a=t.error?e=>this._outputConfiguration.writeErr(e):e=>this._outputConfiguration.writeOut(e),t.write=e.write||a,t.command=this,t}outputHelp(e){let t;"function"==typeof e&&(t=e,e=void 0);const a=this._getHelpContext(e);y(this).reverse().forEach((e=>e.emit("beforeAllHelp",a))),this.emit("beforeHelp",a);let i=this.helpInformation(a);if(t&&(i=t(i),"string"!=typeof i&&!Buffer.isBuffer(i)))throw new Error("outputHelp callback must return a string or a Buffer");a.write(i),this.emit(this._helpLongFlag),this.emit("afterHelp",a),y(this).forEach((e=>e.emit("afterAllHelp",a)))}helpOption(e,t){if("boolean"==typeof e)return this._hasHelpOption=e,this;this._helpFlags=e||this._helpFlags,this._helpDescription=t||this._helpDescription;const a=f(this._helpFlags);return this._helpShortFlag=a.shortFlag,this._helpLongFlag=a.longFlag,this}help(e){this.outputHelp(e);let t=o.exitCode||0;0===t&&e&&"function"!=typeof e&&e.error&&(t=1),this._exit(t,"commander.help","(outputHelp)")}addHelpText(e,t){const a=["beforeAll","before","after","afterAll"];if(!a.includes(e))throw new Error(`Unexpected value for position to addHelpText.\nExpecting one of '${a.join("', '")}'`);const i=`${e}Help`;return this.on(i,(e=>{let a;a="function"==typeof t?t({error:e.error,command:e.command}):t,a&&e.write(`${a}\n`)})),this}}function g(e,t){e._hasHelpOption&&t.find((t=>t===e._helpLongFlag||t===e._helpShortFlag))&&(e.outputHelp(),e._exit(0,"commander.helpDisplayed","(outputHelp)"))}function b(e){return e.map((e=>{if(!e.startsWith("--inspect"))return e;let t,a,i="127.0.0.1",n="9229";return null!==(a=e.match(/^(--inspect(-brk)?)$/))?t=a[1]:null!==(a=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))?(t=a[1],/^\d+$/.test(a[3])?n=a[3]:i=a[3]):null!==(a=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))&&(t=a[1],i=a[3],n=a[4]),t&&"0"!==n?`${t}=${i}:${parseInt(n)+1}`:e}))}function y(e){const t=[];for(let a=e;a;a=a.parent)t.push(a);return t}t.Command=v},7432:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(7497),n=a(8714),r=a(3280);class s extends r.default{constructor(){super(...arguments),this._scandir=i.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const a=this._scandir(e,this._settings.fsScandirSettings);for(const e of a)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(n.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const a=e.path;void 0!==t&&(e.path=n.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),n.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&n.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(a,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}t.default=s},7448:(e,t,a)=>{"use strict";const i=a(6928),n=a(4566),r=e=>e.length>1?`{${e.join(",")}}`:e[0],s=(e,t)=>{const a="!"===e[0]?e.slice(1):e;return i.isAbsolute(a)?a:i.join(t,a)},o=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map((a=>{return i.posix.join(e,(n=a,s=t.extensions,i.extname(n)?`**/${n}`:`**/${n}.${r(s)}`));var n,s})):t.files?t.files.map((t=>i.posix.join(e,`**/${t}`))):t.extensions?[i.posix.join(e,`**/*.${r(t.extensions)}`)]:[i.posix.join(e,"**")]};e.exports=async(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const a=await Promise.all([].concat(e).map((async e=>await n.isDirectory(s(e,t.cwd))?o(e,t):e)));return[].concat.apply([],a)},e.exports.sync=(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const a=[].concat(e).map((e=>n.isDirectorySync(s(e,t.cwd))?o(e,t):e));return[].concat.apply([],a)}},7497:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.scandirSync=t.scandir=void 0;const i=a(2928),n=a(9921),r=a(2564);function s(e={}){return e instanceof r.default?e:new r.default(e)}t.Settings=r.default,t.scandir=function(e,t,a){"function"!=typeof t?i.read(e,s(t),a):i.read(e,s(),t)},t.scandirSync=function(e,t){const a=s(t);return n.read(e,a)}},7498:(e,t,a)=>{"use strict";const i=a(9023),n=a(4078),r=a(5562),s=a(6927),o=e=>""===e||"./"===e,c=e=>{const t=e.indexOf("{");return t>-1&&e.indexOf("}",t)>-1},p=(e,t,a)=>{t=[].concat(t),e=[].concat(e);let i=new Set,n=new Set,s=new Set,o=0,c=e=>{s.add(e.output),a&&a.onResult&&a.onResult(e)};for(let s=0;s<t.length;s++){let p=r(String(t[s]),{...a,onResult:c},!0),l=p.state.negated||p.state.negatedExtglob;l&&o++;for(let t of e){let e=p(t,!0);(l?!e.isMatch:e.isMatch)&&(l?i.add(e.output):(i.delete(e.output),n.add(e.output)))}}let p=(o===t.length?[...s]:[...n]).filter((e=>!i.has(e)));if(a&&0===p.length){if(!0===a.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===a.nonull||!0===a.nullglob)return a.unescape?t.map((e=>e.replace(/\\/g,""))):t}return p};p.match=p,p.matcher=(e,t)=>r(e,t),p.any=p.isMatch=(e,t,a)=>r(t,a)(e),p.not=(e,t,a={})=>{t=[].concat(t).map(String);let i=new Set,n=[],r=new Set(p(e,t,{...a,onResult:e=>{a.onResult&&a.onResult(e),n.push(e.output)}}));for(let e of n)r.has(e)||i.add(e);return[...i]},p.contains=(e,t,a)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${i.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>p.contains(e,t,a)));if("string"==typeof t){if(o(e)||o(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return p.isMatch(e,t,{...a,contains:!0})},p.matchKeys=(e,t,a)=>{if(!s.isObject(e))throw new TypeError("Expected the first argument to be an object");let i=p(Object.keys(e),t,a),n={};for(let t of i)n[t]=e[t];return n},p.some=(e,t,a)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=r(String(e),a);if(i.some((e=>t(e))))return!0}return!1},p.every=(e,t,a)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=r(String(e),a);if(!i.every((e=>t(e))))return!1}return!0},p.all=(e,t,a)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${i.inspect(e)}"`);return[].concat(t).every((t=>r(t,a)(e)))},p.capture=(e,t,a)=>{let i=s.isWindows(a),n=r.makeRe(String(e),{...a,capture:!0}).exec(i?s.toPosixSlashes(t):t);if(n)return n.slice(1).map((e=>void 0===e?"":e))},p.makeRe=(...e)=>r.makeRe(...e),p.scan=(...e)=>r.scan(...e),p.parse=(e,t)=>{let a=[];for(let i of[].concat(e||[]))for(let e of n(String(i),t))a.push(r.parse(e,t));return a},p.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!c(e)?[e]:n(e,t)},p.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return p.braces(e,{...t,expand:!0})},p.hasBraces=c,e.exports=p},7567:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(6928),n=a(7497);t.default=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,i.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(e,t){return null!=e?e:t}}},7590:(e,t,a)=>{"use strict";const i=a(8843);e.exports={readJson:i.readFile,readJsonSync:i.readFileSync,writeJson:i.writeFile,writeJsonSync:i.writeFileSync}},7617:e=>{"use strict";e.exports=JSON.parse('{"name":"dotenv","version":"16.5.0","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","pretest":"npm run lint && npm run dts-check","test":"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"homepage":"https://github.com/motdotla/dotenv#readme","funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@types/node":"^18.11.3","decache":"^4.6.2","sinon":"^14.0.1","standard":"^17.0.0","standard-version":"^9.5.0","tap":"^19.2.0","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')},7619:(e,t,a)=>{e.exports={decode:a(7661),verify:a(7014),sign:a(3418),JsonWebTokenError:a(6430),NotBeforeError:a(9387),TokenExpiredError:a(7147)}},7661:(e,t,a)=>{var i=a(1525);e.exports=function(e,t){t=t||{};var a=i.decode(e,t);if(!a)return null;var n=a.payload;if("string"==typeof n)try{var r=JSON.parse(n);null!==r&&"object"==typeof r&&(n=r)}catch(e){}return!0===t.complete?{header:a.header,payload:n,signature:a.signature}:n}},7713:(e,t,a)=>{"use strict";const i=a(2326);e.exports=(e,t,a)=>(e=new i(e,a),t=new i(t,a),e.intersects(t,a))},7743:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t,a)=>i(e,t,a)>0},7751:(e,t,a)=>{"use strict";const i=a(4635).fromPromise;e.exports={copy:i(a(4370)),copySync:a(1796)}},7794:(e,t,a)=>{var i=a(4008),n=Object.create(null),r=a(7992);e.exports=i((function(e,t){return n[e]?(n[e].push(t),null):(n[e]=[t],function(e){return r((function t(){var a=n[e],i=a.length,r=function(e){for(var t=e.length,a=[],i=0;i<t;i++)a[i]=e[i];return a}(arguments);try{for(var s=0;s<i;s++)a[s].apply(null,r)}finally{a.length>i?(a.splice(0,i),process.nextTick((function(){t.apply(null,r)}))):delete n[e]}}))}(e))}))},7908:(e,t,a)=>{"use strict";const i=a(6289),{checkPath:n}=a(1319),r=e=>"number"==typeof e?e:{mode:511,...e}.mode;e.exports.makeDir=async(e,t)=>(n(e),i.mkdir(e,{mode:r(t),recursive:!0})),e.exports.makeDirSync=(e,t)=>(n(e),i.mkdirSync(e,{mode:r(t),recursive:!0}))},7941:e=>{e.exports=function(e,a){for(var i=[],n=0;n<e.length;n++){var r=a(e[n],n);t(r)?i.push.apply(i,r):i.push(r)}return i};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},7948:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAbsolute=t.partitionAbsoluteAndRelative=t.removeDuplicateSlashes=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;const i=a(6928),n=a(4462),r=a(7498),s=/[*?]|^!/,o=/\[[^[]*]/,c=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,p=/[!*+?@]\([^(]*\)/,l=/,|\.\./,u=/(?!^)\/{2,}/g;function d(e,t={}){return!f(e,t)}function f(e,t={}){return!!(""!==e&&(!1===t.caseSensitiveMatch||e.includes("\\")||s.test(e)||o.test(e)||c.test(e)||!1!==t.extglob&&p.test(e)||!1!==t.braceExpansion&&function(e){const t=e.indexOf("{");if(-1===t)return!1;const a=e.indexOf("}",t+1);if(-1===a)return!1;const i=e.slice(t,a);return l.test(i)}(e)))}function m(e){return e.startsWith("!")&&"("!==e[1]}function h(e){return!m(e)}function v(e){return e.startsWith("..")||e.startsWith("./..")}function g(e){return e.endsWith("/**")}function b(e){const t=r.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort(((e,t)=>e.length-t.length)),t.filter((e=>""!==e))}function y(e,t){return r.makeRe(e,t)}function x(e){return i.isAbsolute(e)}t.isStaticPattern=d,t.isDynamicPattern=f,t.convertToPositivePattern=function(e){return m(e)?e.slice(1):e},t.convertToNegativePattern=function(e){return"!"+e},t.isNegativePattern=m,t.isPositivePattern=h,t.getNegativePatterns=function(e){return e.filter(m)},t.getPositivePatterns=function(e){return e.filter(h)},t.getPatternsInsideCurrentDirectory=function(e){return e.filter((e=>!v(e)))},t.getPatternsOutsideCurrentDirectory=function(e){return e.filter(v)},t.isPatternRelatedToParentDirectory=v,t.getBaseDirectory=function(e){return n(e,{flipBackslashes:!1})},t.hasGlobStar=function(e){return e.includes("**")},t.endsWithSlashGlobStar=g,t.isAffectDepthOfReadingPattern=function(e){const t=i.basename(e);return g(e)||d(t)},t.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat(b(t))),[])},t.expandBraceExpansion=b,t.getPatternParts=function(e,t){let{parts:a}=r.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===a.length&&(a=[e]),a[0].startsWith("/")&&(a[0]=a[0].slice(1),a.unshift("")),a},t.makeRe=y,t.convertPatternsToRe=function(e,t){return e.map((e=>y(e,t)))},t.matchAny=function(e,t){return t.some((t=>t.test(e)))},t.removeDuplicateSlashes=function(e){return e.replace(u,"/")},t.partitionAbsoluteAndRelative=function(e){const t=[],a=[];for(const i of e)x(i)?t.push(i):a.push(i);return[t,a]},t.isAbsolute=x},7992:(e,t,a)=>{var i=a(4008);function n(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function r(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},a=e.name||"Function wrapped with `once`";return t.onceError=a+" shouldn't be called more than once",t.called=!1,t}e.exports=i(n),e.exports.strict=i(r),n.proto=n((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return n(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return r(this)},configurable:!0})}))},8006:(e,t,a)=>{"use strict";const i=a(4635).fromPromise,{makeDir:n,makeDirSync:r}=a(7908),s=i(n);e.exports={mkdirs:s,mkdirsSync:r,mkdirp:s,mkdirpSync:r,ensureDir:s,ensureDirSync:r}},8024:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class a{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new a(e,t)}},8036:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(6928),n=a(2635),r=a(5737),s=a(2999),o=a(4522);t.default=class{constructor(e){this._settings=e,this.errorFilter=new s.default(this._settings),this.entryFilter=new r.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new n.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new o.default(this._settings)}_getRootDirectory(e){return i.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,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}}}},8050:(e,t,a)=>{const i=a(32);e.exports=i.satisfies(process.version,">=15.7.0")},8094:e=>{var t=Object.prototype.toString;e.exports=function(e){return"number"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Number]"==t.call(e)}},8121:e=>{"use strict";e.exports=function(e){var t=new e,a=t;return{get:function(){var i=t;return i.next?t=i.next:(t=new e,a=t),i.next=null,i},release:function(e){a.next=e,a=e}}}},8200:(e,t,a)=>{"use strict";const i=a(5469);e.exports=(e,t,a)=>i(e,t,a)<0},8254:(e,t,a)=>{var i=a(9140),n=process.cwd,r=null,s=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return r||(r=n.call(process)),r};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var o=process.chdir;process.chdir=function(e){r=null,o.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,o)}e.exports=function(e){function t(t){return t?function(a,i,n){return t.call(e,a,i,(function(e){p(e)&&(e=null),n&&n.apply(this,arguments)}))}:t}function a(t){return t?function(a,i){try{return t.call(e,a,i)}catch(e){if(!p(e))throw e}}:t}function n(t){return t?function(a,i,n,r){return t.call(e,a,i,n,(function(e){p(e)&&(e=null),r&&r.apply(this,arguments)}))}:t}function r(t){return t?function(a,i,n){try{return t.call(e,a,i,n)}catch(e){if(!p(e))throw e}}:t}function o(t){return t?function(a,i,n){function r(e,t){t&&(t.uid<0&&(t.uid+=4294967296),t.gid<0&&(t.gid+=4294967296)),n&&n.apply(this,arguments)}return"function"==typeof i&&(n=i,i=null),i?t.call(e,a,i,r):t.call(e,a,r)}:t}function c(t){return t?function(a,i){var n=i?t.call(e,a,i):t.call(e,a);return n&&(n.uid<0&&(n.uid+=4294967296),n.gid<0&&(n.gid+=4294967296)),n}:t}function p(e){return!e||"ENOSYS"===e.code||!(process.getuid&&0===process.getuid()||"EINVAL"!==e.code&&"EPERM"!==e.code)}var l;i.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,a,n){e.open(t,i.O_WRONLY|i.O_SYMLINK,a,(function(t,i){t?n&&n(t):e.fchmod(i,a,(function(t){e.close(i,(function(e){n&&n(t||e)}))}))}))},e.lchmodSync=function(t,a){var n,r=e.openSync(t,i.O_WRONLY|i.O_SYMLINK,a),s=!0;try{n=e.fchmodSync(r,a),s=!1}finally{if(s)try{e.closeSync(r)}catch(e){}else e.closeSync(r)}return n}}(e),e.lutimes||function(e){i.hasOwnProperty("O_SYMLINK")&&e.futimes?(e.lutimes=function(t,a,n,r){e.open(t,i.O_SYMLINK,(function(t,i){t?r&&r(t):e.futimes(i,a,n,(function(t){e.close(i,(function(e){r&&r(t||e)}))}))}))},e.lutimesSync=function(t,a,n){var r,s=e.openSync(t,i.O_SYMLINK),o=!0;try{r=e.futimesSync(s,a,n),o=!1}finally{if(o)try{e.closeSync(s)}catch(e){}else e.closeSync(s)}return r}):e.futimes&&(e.lutimes=function(e,t,a,i){i&&process.nextTick(i)},e.lutimesSync=function(){})}(e),e.chown=n(e.chown),e.fchown=n(e.fchown),e.lchown=n(e.lchown),e.chmod=t(e.chmod),e.fchmod=t(e.fchmod),e.lchmod=t(e.lchmod),e.chownSync=r(e.chownSync),e.fchownSync=r(e.fchownSync),e.lchownSync=r(e.lchownSync),e.chmodSync=a(e.chmodSync),e.fchmodSync=a(e.fchmodSync),e.lchmodSync=a(e.lchmodSync),e.stat=o(e.stat),e.fstat=o(e.fstat),e.lstat=o(e.lstat),e.statSync=c(e.statSync),e.fstatSync=c(e.fstatSync),e.lstatSync=c(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(e,t,a){a&&process.nextTick(a)},e.lchmodSync=function(){}),e.chown&&!e.lchown&&(e.lchown=function(e,t,a,i){i&&process.nextTick(i)},e.lchownSync=function(){}),"win32"===s&&(e.rename="function"!=typeof e.rename?e.rename:function(t){function a(a,i,n){var r=Date.now(),s=0;t(a,i,(function o(c){if(c&&("EACCES"===c.code||"EPERM"===c.code||"EBUSY"===c.code)&&Date.now()-r<6e4)return setTimeout((function(){e.stat(i,(function(e,r){e&&"ENOENT"===e.code?t(a,i,o):n(c)}))}),s),void(s<100&&(s+=10));n&&n(c)}))}return Object.setPrototypeOf&&Object.setPrototypeOf(a,t),a}(e.rename)),e.read="function"!=typeof e.read?e.read:function(t){function a(a,i,n,r,s,o){var c;if(o&&"function"==typeof o){var p=0;c=function(l,u,d){if(l&&"EAGAIN"===l.code&&p<10)return p++,t.call(e,a,i,n,r,s,c);o.apply(this,arguments)}}return t.call(e,a,i,n,r,s,c)}return Object.setPrototypeOf&&Object.setPrototypeOf(a,t),a}(e.read),e.readSync="function"!=typeof e.readSync?e.readSync:(l=e.readSync,function(t,a,i,n,r){for(var s=0;;)try{return l.call(e,t,a,i,n,r)}catch(e){if("EAGAIN"===e.code&&s<10){s++;continue}throw e}})}},8359:e=>{"use strict";e.exports=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var a={__proto__:t(e)};else a=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(t){Object.defineProperty(a,t,Object.getOwnPropertyDescriptor(e,t))})),a};var t=Object.getPrototypeOf||function(e){return e.__proto__}},8430:e=>{var t=1/0,a=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,r=/^0o[0-7]+$/i,s=parseInt,o=Object.prototype.toString;function c(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return function(e,p){var l;if("function"!=typeof p)throw new TypeError("Expected a function");return e=function(e){var p=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==o.call(e)}(e))return NaN;if(c(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=c(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var p=n.test(e);return p||r.test(e)?s(e.slice(2),p?2:8):i.test(e)?NaN:+e}(e))===t||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),l=p%1;return p==p?l?p-l:p:0}(e),function(){return--e>0&&(l=p.apply(this,arguments)),e<=1&&(p=void 0),l}}(2,e)}},8714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=t.replacePathSegmentSeparator=t.isAppliedFilter=t.isFatalError=void 0,t.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},t.isAppliedFilter=function(e,t){return null===e||e(t)},t.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},t.joinPathSegments=function(e,t,a){return""===e?t:e.endsWith(a)?e+t:e+a+t}},8764:(e,t,a)=>{"use strict";const i=a(5715),n=a(809),r=a(5261),s=a(242),o=a(3331),c=a(4718);async function p(e,t){u(e);const a=l(e,n.default,t),i=await Promise.all(a);return c.array.flatten(i)}function l(e,t,a){const n=[].concat(e),r=new o.default(a),s=i.generate(n,r),c=new t(r);return s.map(c.read,c)}function u(e){if(![].concat(e).every((e=>c.string.isString(e)&&!c.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){function t(e,t){u(e);const a=l(e,s.default,t);return c.array.flatten(a)}function a(e,t){u(e);const a=l(e,r.default,t);return c.stream.merge(a)}let n,p;e.glob=e,e.globSync=t,e.globStream=a,e.async=e,e.sync=t,e.stream=a,e.generateTasks=function(e,t){u(e);const a=[].concat(e),n=new o.default(t);return i.generate(a,n)},e.isDynamicPattern=function(e,t){u(e);const a=new o.default(t);return c.pattern.isDynamicPattern(e,a)},e.escapePath=function(e){return u(e),c.path.escape(e)},e.convertPathToPattern=function(e){return u(e),c.path.convertPathToPattern(e)},function(e){e.escapePath=function(e){return u(e),c.path.escapePosixPath(e)},e.convertPathToPattern=function(e){return u(e),c.path.convertPosixPathToPattern(e)}}(n=e.posix||(e.posix={})),function(e){e.escapePath=function(e){return u(e),c.path.escapeWindowsPath(e)},e.convertPathToPattern=function(e){return u(e),c.path.convertWindowsPathToPattern(e)}}(p=e.win32||(e.win32={}))}(p||(p={})),e.exports=p},8782:(e,t,a)=>{e.exports=d,d.Minimatch=f;var i=function(){try{return a(6928)}catch(e){}}()||{sep:"/"};d.sep=i.sep;var n=d.GLOBSTAR=f.GLOBSTAR={},r=a(2968),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},o="[^/]",c=o+"*?",p="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{}),l=/\/+/;function u(e,t){t=t||{};var a={};return Object.keys(e).forEach((function(t){a[t]=e[t]})),Object.keys(t).forEach((function(e){a[e]=t[e]})),a}function d(e,t,a){return h(t),a||(a={}),!(!a.nocomment&&"#"===t.charAt(0))&&new f(t,a).match(e)}function f(e,t){if(!(this instanceof f))return new f(e,t);h(e),t||(t={}),e=e.trim(),t.allowWindowsEscape||"/"===i.sep||(e=e.split(i.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}function m(e,t){return t||(t=this instanceof f?this.options:{}),e=void 0===e?this.pattern:e,h(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:r(e)}d.filter=function(e,t){return t=t||{},function(a,i,n){return d(a,e,t)}},d.defaults=function(e){if(!e||"object"!=typeof e||!Object.keys(e).length)return d;var t=d,a=function(a,i,n){return t(a,i,u(e,n))};return(a.Minimatch=function(a,i){return new t.Minimatch(a,u(e,i))}).defaults=function(a){return t.defaults(u(e,a)).Minimatch},a.filter=function(a,i){return t.filter(a,u(e,i))},a.defaults=function(a){return t.defaults(u(e,a))},a.makeRe=function(a,i){return t.makeRe(a,u(e,i))},a.braceExpand=function(a,i){return t.braceExpand(a,u(e,i))},a.match=function(a,i,n){return t.match(a,i,u(e,n))},a},f.defaults=function(e){return d.defaults(e).Minimatch},f.prototype.debug=function(){},f.prototype.make=function(){var e=this.pattern,t=this.options;if(t.nocomment||"#"!==e.charAt(0))if(e){this.parseNegate();var a=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,a),a=this.globParts=a.map((function(e){return e.split(l)})),this.debug(this.pattern,a),a=a.map((function(e,t,a){return e.map(this.parse,this)}),this),this.debug(this.pattern,a),a=a.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,a),this.set=a}else this.empty=!0;else this.comment=!0},f.prototype.parseNegate=function(){var e=this.pattern,t=!1,a=0;if(!this.options.nonegate){for(var i=0,n=e.length;i<n&&"!"===e.charAt(i);i++)t=!t,a++;a&&(this.pattern=e.substr(a)),this.negate=t}},d.braceExpand=function(e,t){return m(e,t)},f.prototype.braceExpand=m;var h=function(e){if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")};f.prototype.parse=function(e,t){h(e);var a=this.options;if("**"===e){if(!a.noglobstar)return n;e="*"}if(""===e)return"";var i,r="",l=!!a.nocase,u=!1,d=[],f=[],m=!1,g=-1,b=-1,y="."===e.charAt(0)?"":a.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",x=this;function w(){if(i){switch(i){case"*":r+=c,l=!0;break;case"?":r+=o,l=!0;break;default:r+="\\"+i}x.debug("clearStateChar %j %j",i,r),i=!1}}for(var _,k=0,S=e.length;k<S&&(_=e.charAt(k));k++)if(this.debug("%s\t%s %s %j",e,k,r,_),u&&p[_])r+="\\"+_,u=!1;else switch(_){case"/":return!1;case"\\":w(),u=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,k,r,_),m){this.debug(" in class"),"!"===_&&k===b+1&&(_="^"),r+=_;continue}x.debug("call clearStateChar %j",i),w(),i=_,a.noext&&w();continue;case"(":if(m){r+="(";continue}if(!i){r+="\\(";continue}d.push({type:i,start:k-1,reStart:r.length,open:s[i].open,close:s[i].close}),r+="!"===i?"(?:(?!(?:":"(?:",this.debug("plType %j %j",i,r),i=!1;continue;case")":if(m||!d.length){r+="\\)";continue}w(),l=!0;var E=d.pop();r+=E.close,"!"===E.type&&f.push(E),E.reEnd=r.length;continue;case"|":if(m||!d.length||u){r+="\\|",u=!1;continue}w(),r+="|";continue;case"[":if(w(),m){r+="\\"+_;continue}m=!0,b=k,g=r.length,r+=_;continue;case"]":if(k===b+1||!m){r+="\\"+_,u=!1;continue}var j=e.substring(b+1,k);try{RegExp("["+j+"]")}catch(e){var T=this.parse(j,v);r=r.substr(0,g)+"\\["+T[0]+"\\]",l=l||T[1],m=!1;continue}l=!0,m=!1,r+=_;continue;default:w(),u?u=!1:!p[_]||"^"===_&&m||(r+="\\"),r+=_}for(m&&(j=e.substr(b+1),T=this.parse(j,v),r=r.substr(0,g)+"\\["+T[0],l=l||T[1]),E=d.pop();E;E=d.pop()){var A=r.slice(E.reStart+E.open.length);this.debug("setting tail",r,E),A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,a){return a||(a="\\"),t+t+a+"|"})),this.debug("tail=%j\n %s",A,A,E,r);var C="*"===E.type?c:"?"===E.type?o:"\\"+E.type;l=!0,r=r.slice(0,E.reStart)+C+"\\("+A}w(),u&&(r+="\\\\");var O=!1;switch(r.charAt(0)){case"[":case".":case"(":O=!0}for(var P=f.length-1;P>-1;P--){var R=f[P],I=r.slice(0,R.reStart),N=r.slice(R.reStart,R.reEnd-8),L=r.slice(R.reEnd-8,R.reEnd),$=r.slice(R.reEnd);L+=$;var D=I.split("(").length-1,M=$;for(k=0;k<D;k++)M=M.replace(/\)[+*?]?/,"");var q="";""===($=M)&&t!==v&&(q="$"),r=I+N+$+q+L}if(""!==r&&l&&(r="(?=.)"+r),O&&(r=y+r),t===v)return[r,l];if(!l)return e.replace(/\\(.)/g,"$1");var F=a.nocase?"i":"";try{var B=new RegExp("^"+r+"$",F)}catch(e){return new RegExp("$.")}return B._glob=e,B._src=r,B};var v={};d.makeRe=function(e,t){return new f(e,t||{}).makeRe()},f.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,a=t.noglobstar?c:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=t.nocase?"i":"",r=e.map((function(e){return e.map((function(e){return e===n?a:"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e._src})).join("\\/")})).join("|");r="^(?:"+r+")$",this.negate&&(r="^(?!"+r+").*$");try{this.regexp=new RegExp(r,i)}catch(e){this.regexp=!1}return this.regexp},d.match=function(e,t,a){var i=new f(t,a=a||{});return e=e.filter((function(e){return i.match(e)})),i.options.nonull&&!e.length&&e.push(t),e},f.prototype.match=function(e,t){if(void 0===t&&(t=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var a=this.options;"/"!==i.sep&&(e=e.split(i.sep).join("/")),e=e.split(l),this.debug(this.pattern,"split",e);var n,r,s=this.set;for(this.debug(this.pattern,"set",s),r=e.length-1;r>=0&&!(n=e[r]);r--);for(r=0;r<s.length;r++){var o=s[r],c=e;if(a.matchBase&&1===o.length&&(c=[n]),this.matchOne(c,o,t))return!!a.flipNegate||!this.negate}return!a.flipNegate&&this.negate},f.prototype.matchOne=function(e,t,a){var i=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var r=0,s=0,o=e.length,c=t.length;r<o&&s<c;r++,s++){this.debug("matchOne loop");var p,l=t[s],u=e[r];if(this.debug(t,l,u),!1===l)return!1;if(l===n){this.debug("GLOBSTAR",[t,l,u]);var d=r,f=s+1;if(f===c){for(this.debug("** at the end");r<o;r++)if("."===e[r]||".."===e[r]||!i.dot&&"."===e[r].charAt(0))return!1;return!0}for(;d<o;){var m=e[d];if(this.debug("\nglobstar while",e,d,t,f,m),this.matchOne(e.slice(d),t.slice(f),a))return this.debug("globstar found match!",d,o,m),!0;if("."===m||".."===m||!i.dot&&"."===m.charAt(0)){this.debug("dot detected!",e,d,t,f);break}this.debug("globstar swallow a segment, and continue"),d++}return!(!a||(this.debug("\n>>> no match, partial?",e,d,t,f),d!==o))}if("string"==typeof l?(p=u===l,this.debug("string match",l,u,p)):(p=u.match(l),this.debug("pattern match",l,u,p)),!p)return!1}if(r===o&&s===c)return!0;if(r===o)return a;if(s===c)return r===o-1&&""===e[r];throw new Error("wtf?")}},8831:(e,t,a)=>{e.exports=l,l.realpath=l,l.sync=u,l.realpathSync=u,l.monkeypatch=function(){i.realpath=l,i.realpathSync=u},l.unmonkeypatch=function(){i.realpath=n,i.realpathSync=r};var i=a(9896),n=i.realpath,r=i.realpathSync,s=process.version,o=/^v[0-5]\./.test(s),c=a(4354);function p(e){return e&&"realpath"===e.syscall&&("ELOOP"===e.code||"ENOMEM"===e.code||"ENAMETOOLONG"===e.code)}function l(e,t,a){if(o)return n(e,t,a);"function"==typeof t&&(a=t,t=null),n(e,t,(function(i,n){p(i)?c.realpath(e,t,a):a(i,n)}))}function u(e,t){if(o)return r(e,t);try{return r(e,t)}catch(a){if(p(a))return c.realpathSync(e,t);throw a}}},8843:(e,t,a)=>{let i;try{i=a(627)}catch(e){i=a(9896)}const n=a(4635),{stringify:r,stripBom:s}=a(374),o={readFile:n.fromPromise((async function(e,t={}){"string"==typeof t&&(t={encoding:t});const a=t.fs||i,r=!("throws"in t)||t.throws;let o,c=await n.fromCallback(a.readFile)(e,t);c=s(c);try{o=JSON.parse(c,t?t.reviver:null)}catch(t){if(r)throw t.message=`${e}: ${t.message}`,t;return null}return o})),readFileSync:function(e,t={}){"string"==typeof t&&(t={encoding:t});const a=t.fs||i,n=!("throws"in t)||t.throws;try{let i=a.readFileSync(e,t);return i=s(i),JSON.parse(i,t.reviver)}catch(t){if(n)throw t.message=`${e}: ${t.message}`,t;return null}},writeFile:n.fromPromise((async function(e,t,a={}){const s=a.fs||i,o=r(t,a);await n.fromCallback(s.writeFile)(e,o,a)})),writeFileSync:function(e,t,a={}){const n=a.fs||i,s=r(t,a);return n.writeFileSync(e,s,a)}};e.exports=o},8981:(e,t,a)=>{"use strict";e.exports={...a(6289),...a(7751),...a(1199),...a(4144),...a(6704),...a(8006),...a(5783),...a(1376),...a(3640),...a(9630)}},8996:(e,t,a)=>{"use strict";const i=a(6928),n=a(3297),r=a(5453),s=a(6927),o=a(4751),c=(e,t,a=!1)=>{if(Array.isArray(e)){const i=e.map((e=>c(e,t,a))),n=e=>{for(const t of i){const a=t(e);if(a)return a}return!1};return n}const i=(n=e)&&"object"==typeof n&&!Array.isArray(n)&&e.tokens&&e.input;var n;if(""===e||"string"!=typeof e&&!i)throw new TypeError("Expected pattern to be a non-empty string");const r=t||{},o=s.isWindows(t),p=i?c.compileRe(e,t):c.makeRe(e,t,!1,!0),l=p.state;delete p.state;let u=()=>!1;if(r.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};u=c(r.ignore,e,a)}const d=(a,i=!1)=>{const{isMatch:n,match:s,output:d}=c.test(a,p,t,{glob:e,posix:o}),f={glob:e,state:l,regex:p,posix:o,input:a,output:d,match:s,isMatch:n};return"function"==typeof r.onResult&&r.onResult(f),!1===n?(f.isMatch=!1,!!i&&f):u(a)?("function"==typeof r.onIgnore&&r.onIgnore(f),f.isMatch=!1,!!i&&f):("function"==typeof r.onMatch&&r.onMatch(f),!i||f)};return a&&(d.state=l),d};c.test=(e,t,a,{glob:i,posix:n}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const r=a||{},o=r.format||(n?s.toPosixSlashes:null);let p=e===i,l=p&&o?o(e):e;return!1===p&&(l=o?o(e):e,p=l===i),!1!==p&&!0!==r.capture||(p=!0===r.matchBase||!0===r.basename?c.matchBase(e,t,a,n):t.exec(l)),{isMatch:Boolean(p),match:p,output:l}},c.matchBase=(e,t,a,n=s.isWindows(a))=>(t instanceof RegExp?t:c.makeRe(t,a)).test(i.basename(e)),c.isMatch=(e,t,a)=>c(t,a)(e),c.parse=(e,t)=>Array.isArray(e)?e.map((e=>c.parse(e,t))):r(e,{...t,fastpaths:!1}),c.scan=(e,t)=>n(e,t),c.compileRe=(e,t,a=!1,i=!1)=>{if(!0===a)return e.output;const n=t||{},r=n.contains?"":"^",s=n.contains?"":"$";let o=`${r}(?:${e.output})${s}`;e&&!0===e.negated&&(o=`^(?!${o}).*$`);const p=c.toRegex(o,t);return!0===i&&(p.state=e),p},c.makeRe=(e,t={},a=!1,i=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let n={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(n.output=r.fastpaths(e,t)),n.output||(n=r(e,t)),c.compileRe(n,t,a,i)},c.toRegex=(e,t)=>{try{const a=t||{};return new RegExp(e,a.flags||(a.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},c.constants=o,e.exports=c},9003:(e,t,a)=>{"use strict";const i=Symbol("SemVer ANY");class n{static get ANY(){return i}constructor(e,t){if(t=r(t),e instanceof n){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),p("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===i?this.value="":this.value=this.operator+this.semver.version,p("comp",this)}parse(e){const t=this.options.loose?s[o.COMPARATORLOOSE]:s[o.COMPARATOR],a=e.match(t);if(!a)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==a[1]?a[1]:"","="===this.operator&&(this.operator=""),a[2]?this.semver=new l(a[2],this.options.loose):this.semver=i}toString(){return this.value}test(e){if(p("Comparator.test",e,this.options.loose),this.semver===i||e===i)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):!((t=r(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(c(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(c(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=n;const r=a(2860),{safeRe:s,t:o}=a(6999),c=a(3566),p=a(4159),l=a(2771),u=a(2326)},9023:e=>{"use strict";e.exports=require("util")},9053:(e,t,a)=>{"use strict";var i=a(6608).Buffer,n=a(2188);function r(e){if(i.isBuffer(e))return e;if("string"==typeof e)return i.from(e,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function s(e,t,a){for(var i=0;t+i<a&&0===e[t+i];)++i;return e[t+i]>=128&&--i,i}e.exports={derToJose:function(e,t){e=r(e);var a=n(t),s=a+1,o=e.length,c=0;if(48!==e[c++])throw new Error('Could not find expected "seq"');var p=e[c++];if(129===p&&(p=e[c++]),o-c<p)throw new Error('"seq" specified length of "'+p+'", only "'+(o-c)+'" remaining');if(2!==e[c++])throw new Error('Could not find expected "int" for "r"');var l=e[c++];if(o-c-2<l)throw new Error('"r" specified length of "'+l+'", only "'+(o-c-2)+'" available');if(s<l)throw new Error('"r" specified length of "'+l+'", max of "'+s+'" is acceptable');var u=c;if(c+=l,2!==e[c++])throw new Error('Could not find expected "int" for "s"');var d=e[c++];if(o-c!==d)throw new Error('"s" specified length of "'+d+'", expected "'+(o-c)+'"');if(s<d)throw new Error('"s" specified length of "'+d+'", max of "'+s+'" is acceptable');var f=c;if((c+=d)!==o)throw new Error('Expected to consume entire buffer, but "'+(o-c)+'" bytes remain');var m=a-l,h=a-d,v=i.allocUnsafe(m+l+h+d);for(c=0;c<m;++c)v[c]=0;e.copy(v,c,u+Math.max(-m,0),u+l);for(var g=c=a;c<g+h;++c)v[c]=0;return e.copy(v,c,f+Math.max(-h,0),f+d),(v=v.toString("base64")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},joseToDer:function(e,t){e=r(e);var a=n(t),o=e.length;if(o!==2*a)throw new TypeError('"'+t+'" signatures must be "'+2*a+'" bytes, saw "'+o+'"');var c=s(e,0,a),p=s(e,a,e.length),l=a-c,u=a-p,d=2+l+1+1+u,f=d<128,m=i.allocUnsafe((f?2:3)+d),h=0;return m[h++]=48,f?m[h++]=d:(m[h++]=129,m[h++]=255&d),m[h++]=2,m[h++]=l,c<0?(m[h++]=0,h+=e.copy(m,h,0,a)):h+=e.copy(m,h,c,a),m[h++]=2,m[h++]=u,p<0?(m[h++]=0,e.copy(m,h,a)):e.copy(m,h,a+p),m}}},9062:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const i=a(9896);t.FILE_SYSTEM_ADAPTER={lstat:i.lstat,stat:i.stat,lstatSync:i.lstatSync,statSync:i.statSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},9063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class a{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new a(e,t)}},9140:e=>{"use strict";e.exports=require("constants")},9288:(e,t,a)=>{"use strict";const i=a(2411),n=a(303),r=a(1811),s=(e="",t="",a=!1)=>{const i=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return a?r.flatten(t).map((e=>`{${e}}`)):t;for(const n of e)if(Array.isArray(n))for(const e of n)i.push(s(e,t,a));else for(let e of t)!0===a&&"string"==typeof e&&(e=`{${e}}`),i.push(Array.isArray(e)?s(n,e,a):n+e);return r.flatten(i)};e.exports=(e,t={})=>{const a=void 0===t.rangeLimit?1e3:t.rangeLimit,o=(e,c={})=>{e.queue=[];let p=c,l=c.queue;for(;"brace"!==p.type&&"root"!==p.type&&p.parent;)p=p.parent,l=p.queue;if(e.invalid||e.dollar)return void l.push(s(l.pop(),n(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void l.push(s(l.pop(),["{}"]));if(e.nodes&&e.ranges>0){const o=r.reduce(e.nodes);if(r.exceedsLimit(...o,t.step,a))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=i(...o,t);return 0===c.length&&(c=n(e,t)),l.push(s(l.pop(),c)),void(e.nodes=[])}const u=r.encloseBrace(e);let d=e.queue,f=e;for(;"brace"!==f.type&&"root"!==f.type&&f.parent;)f=f.parent,d=f.queue;for(let t=0;t<e.nodes.length;t++){const a=e.nodes[t];"comma"!==a.type||"brace"!==e.type?"close"!==a.type?a.value&&"open"!==a.type?d.push(s(d.pop(),a.value)):a.nodes&&o(a,e):l.push(s(l.pop(),d,u)):(1===t&&d.push(""),d.push(""))}return d};return r.flatten(o(e))}},9313:(e,t,a)=>{"use strict";const i=a(2771),n=a(2326);e.exports=(e,t,a)=>{let r=null,s=null,o=null;try{o=new n(t,a)}catch(e){return null}return e.forEach((e=>{o.test(e)&&(r&&-1!==s.compare(e)||(r=e,s=new i(r,a)))})),r}},9336:e=>{let t;e.exports="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:global):e=>(t||(t=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)))},9387:(e,t,a)=>{var i=a(6430),n=function(e,t){i.call(this,e),this.name="NotBeforeError",this.date=t};(n.prototype=Object.create(i.prototype)).constructor=n,e.exports=n},9454:(e,t,a)=>{"use strict";var i=a(181).Buffer,n=a(181).SlowBuffer;function r(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))return!1;if(e.length!==t.length)return!1;for(var a=0,n=0;n<e.length;n++)a|=e[n]^t[n];return 0===a}e.exports=r,r.install=function(){i.prototype.equal=n.prototype.equal=function(e){return r(this,e)}};var s=i.prototype.equal,o=n.prototype.equal;r.restore=function(){i.prototype.equal=s,n.prototype.equal=o}},9467:(e,t,a)=>{"use strict";const i=a(6289),n=a(4635).fromPromise;e.exports={utimesMillis:n((async function(e,t,a){const n=await i.open(e,"r+");let r=null;try{await i.futimes(n,t,a)}finally{try{await i.close(n)}catch(e){r=e}}if(r)throw r})),utimesMillisSync:function(e,t,a){const n=i.openSync(e,"r+");return i.futimesSync(n,t,a),i.closeSync(n)}}},9571:(e,t,a)=>{"use strict";const i=a(6928),n=a(4299),r=new Set(n);e.exports=e=>r.has(i.extname(e).slice(1).toLowerCase())},9572:(e,t,a)=>{const i=a(8050),n=a(5612),r={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},s={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};e.exports=function(e,t){if(!e||!t)return;const a=t.asymmetricKeyType;if(!a)return;const o=r[a];if(!o)throw new Error(`Unknown key type "${a}".`);if(!o.includes(e))throw new Error(`"alg" parameter for "${a}" key type must be one of: ${o.join(", ")}.`);if(i)switch(a){case"ec":const a=t.asymmetricKeyDetails.namedCurve,i=s[e];if(a!==i)throw new Error(`"alg" parameter "${e}" requires curve "${i}".`);break;case"rsa-pss":if(n){const a=parseInt(e.slice(-3),10),{hashAlgorithm:i,mgf1HashAlgorithm:n,saltLength:r}=t.asymmetricKeyDetails;if(i!==`sha${a}`||n!==i)throw new Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${e}.`);if(void 0!==r&&r>a>>3)throw new Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${e}.`)}}}},9630:(e,t,a)=>{"use strict";const i=a(627),n=a(4635).fromCallback;e.exports={remove:n((function(e,t){i.rm(e,{recursive:!0,force:!0},t)})),removeSync:function(e){i.rmSync(e,{recursive:!0,force:!0})}}},9632:(e,t,a)=>{e.exports=b;var i=a(8831),n=a(8782),r=(n.Minimatch,a(2666)),s=a(4434).EventEmitter,o=a(6928),c=a(2613),p=a(1806),l=a(4709),u=a(7219),d=u.setopts,f=u.ownProp,m=a(7794),h=(a(9023),u.childrenIgnored),v=u.isIgnored,g=a(7992);function b(e,t,a){if("function"==typeof t&&(a=t,t={}),t||(t={}),t.sync){if(a)throw new TypeError("callback provided to sync glob");return l(e,t)}return new x(e,t,a)}b.sync=l;var y=b.GlobSync=l.GlobSync;function x(e,t,a){if("function"==typeof t&&(a=t,t=null),t&&t.sync){if(a)throw new TypeError("callback provided to sync glob");return new y(e,t)}if(!(this instanceof x))return new x(e,t,a);d(this,e,t),this._didRealPath=!1;var i=this.minimatch.set.length;this.matches=new Array(i),"function"==typeof a&&(a=g(a),this.on("error",a),this.on("end",(function(e){a(null,e)})));var n=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===i)return o();for(var r=!0,s=0;s<i;s++)this._process(this.minimatch.set[s],s,!1,o);function o(){--n._processing,n._processing<=0&&(r?process.nextTick((function(){n._finish()})):n._finish())}r=!1}b.glob=b,b.hasMagic=function(e,t){var a=function(e,t){if(null===t||"object"!=typeof t)return e;for(var a=Object.keys(t),i=a.length;i--;)e[a[i]]=t[a[i]];return e}({},t);a.noprocess=!0;var i=new x(e,a).minimatch.set;if(!e)return!1;if(i.length>1)return!0;for(var n=0;n<i[0].length;n++)if("string"!=typeof i[0][n])return!0;return!1},b.Glob=x,r(x,s),x.prototype._finish=function(){if(c(this instanceof x),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();u.finish(this),this.emit("end",this.found)}},x.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var e=this.matches.length;if(0===e)return this._finish();for(var t=this,a=0;a<this.matches.length;a++)this._realpathSet(a,i)}function i(){0===--e&&t._finish()}},x.prototype._realpathSet=function(e,t){var a=this.matches[e];if(!a)return t();var n=Object.keys(a),r=this,s=n.length;if(0===s)return t();var o=this.matches[e]=Object.create(null);n.forEach((function(a,n){a=r._makeAbs(a),i.realpath(a,r.realpathCache,(function(i,n){i?"stat"===i.syscall?o[a]=!0:r.emit("error",i):o[n]=!0,0===--s&&(r.matches[e]=o,t())}))}))},x.prototype._mark=function(e){return u.mark(this,e)},x.prototype._makeAbs=function(e){return u.makeAbs(this,e)},x.prototype.abort=function(){this.aborted=!0,this.emit("abort")},x.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},x.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var e=this._emitQueue.slice(0);this._emitQueue.length=0;for(var t=0;t<e.length;t++){var a=e[t];this._emitMatch(a[0],a[1])}}if(this._processQueue.length){var i=this._processQueue.slice(0);for(this._processQueue.length=0,t=0;t<i.length;t++){var n=i[t];this._processing--,this._process(n[0],n[1],n[2],n[3])}}}},x.prototype._process=function(e,t,a,i){if(c(this instanceof x),c("function"==typeof i),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([e,t,a,i]);else{for(var r,s=0;"string"==typeof e[s];)s++;switch(s){case e.length:return void this._processSimple(e.join("/"),t,i);case 0:r=null;break;default:r=e.slice(0,s).join("/")}var o,l=e.slice(s);null===r?o=".":p(r)||p(e.map((function(e){return"string"==typeof e?e:"[*]"})).join("/"))?(r&&p(r)||(r="/"+r),o=r):o=r;var u=this._makeAbs(o);if(h(this,o))return i();l[0]===n.GLOBSTAR?this._processGlobStar(r,o,u,l,t,a,i):this._processReaddir(r,o,u,l,t,a,i)}},x.prototype._processReaddir=function(e,t,a,i,n,r,s){var o=this;this._readdir(a,r,(function(c,p){return o._processReaddir2(e,t,a,i,n,r,p,s)}))},x.prototype._processReaddir2=function(e,t,a,i,n,r,s,c){if(!s)return c();for(var p=i[0],l=!!this.minimatch.negate,u=p._glob,d=this.dot||"."===u.charAt(0),f=[],m=0;m<s.length;m++)("."!==(v=s[m]).charAt(0)||d)&&(l&&!e?!v.match(p):v.match(p))&&f.push(v);var h=f.length;if(0===h)return c();if(1===i.length&&!this.mark&&!this.stat){for(this.matches[n]||(this.matches[n]=Object.create(null)),m=0;m<h;m++){var v=f[m];e&&(v="/"!==e?e+"/"+v:e+v),"/"!==v.charAt(0)||this.nomount||(v=o.join(this.root,v)),this._emitMatch(n,v)}return c()}for(i.shift(),m=0;m<h;m++)v=f[m],e&&(v="/"!==e?e+"/"+v:e+v),this._process([v].concat(i),n,r,c);c()},x.prototype._emitMatch=function(e,t){if(!this.aborted&&!v(this,t))if(this.paused)this._emitQueue.push([e,t]);else{var a=p(t)?t:this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=a),!this.matches[e][t]){if(this.nodir){var i=this.cache[a];if("DIR"===i||Array.isArray(i))return}this.matches[e][t]=!0;var n=this.statCache[a];n&&this.emit("stat",t,n),this.emit("match",t)}}},x.prototype._readdirInGlobStar=function(e,t){if(!this.aborted){if(this.follow)return this._readdir(e,!1,t);var a=this,i=m("lstat\0"+e,(function(i,n){if(i&&"ENOENT"===i.code)return t();var r=n&&n.isSymbolicLink();a.symlinks[e]=r,r||!n||n.isDirectory()?a._readdir(e,!1,t):(a.cache[e]="FILE",t())}));i&&a.fs.lstat(e,i)}},x.prototype._readdir=function(e,t,a){if(!this.aborted&&(a=m("readdir\0"+e+"\0"+t,a))){if(t&&!f(this.symlinks,e))return this._readdirInGlobStar(e,a);if(f(this.cache,e)){var i=this.cache[e];if(!i||"FILE"===i)return a();if(Array.isArray(i))return a(null,i)}this.fs.readdir(e,function(e,t,a){return function(i,n){i?e._readdirError(t,i,a):e._readdirEntries(t,n,a)}}(this,e,a))}},x.prototype._readdirEntries=function(e,t,a){if(!this.aborted){if(!this.mark&&!this.stat)for(var i=0;i<t.length;i++){var n=t[i];n="/"===e?e+n:e+"/"+n,this.cache[n]=!0}return this.cache[e]=t,a(null,t)}},x.prototype._readdirError=function(e,t,a){if(!this.aborted){switch(t.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(e);if(this.cache[i]="FILE",i===this.cwdAbs){var n=new Error(t.code+" invalid cwd "+this.cwd);n.path=this.cwd,n.code=t.code,this.emit("error",n),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:this.cache[this._makeAbs(e)]=!1,this.strict&&(this.emit("error",t),this.abort()),this.silent||console.error("glob error",t)}return a()}},x.prototype._processGlobStar=function(e,t,a,i,n,r,s){var o=this;this._readdir(a,r,(function(c,p){o._processGlobStar2(e,t,a,i,n,r,p,s)}))},x.prototype._processGlobStar2=function(e,t,a,i,n,r,s,o){if(!s)return o();var c=i.slice(1),p=e?[e]:[],l=p.concat(c);this._process(l,n,!1,o);var u=this.symlinks[a],d=s.length;if(u&&r)return o();for(var f=0;f<d;f++)if("."!==s[f].charAt(0)||this.dot){var m=p.concat(s[f],c);this._process(m,n,!0,o);var h=p.concat(s[f],i);this._process(h,n,!0,o)}o()},x.prototype._processSimple=function(e,t,a){var i=this;this._stat(e,(function(n,r){i._processSimple2(e,t,n,r,a)}))},x.prototype._processSimple2=function(e,t,a,i,n){if(this.matches[t]||(this.matches[t]=Object.create(null)),!i)return n();if(e&&p(e)&&!this.nomount){var r=/[\/\\]$/.test(e);"/"===e.charAt(0)?e=o.join(this.root,e):(e=o.resolve(this.root,e),r&&(e+="/"))}"win32"===process.platform&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e),n()},x.prototype._stat=function(e,t){var a=this._makeAbs(e),i="/"===e.slice(-1);if(e.length>this.maxLength)return t();if(!this.stat&&f(this.cache,a)){var n=this.cache[a];if(Array.isArray(n)&&(n="DIR"),!i||"DIR"===n)return t(null,n);if(i&&"FILE"===n)return t()}var r=this.statCache[a];if(void 0!==r){if(!1===r)return t(null,r);var s=r.isDirectory()?"DIR":"FILE";return i&&"FILE"===s?t():t(null,s,r)}var o=this,c=m("stat\0"+a,(function(i,n){if(n&&n.isSymbolicLink())return o.fs.stat(a,(function(i,r){i?o._stat2(e,a,null,n,t):o._stat2(e,a,i,r,t)}));o._stat2(e,a,i,n,t)}));c&&o.fs.lstat(a,c)},x.prototype._stat2=function(e,t,a,i,n){if(a&&("ENOENT"===a.code||"ENOTDIR"===a.code))return this.statCache[t]=!1,n();var r="/"===e.slice(-1);if(this.statCache[t]=i,"/"===t.slice(-1)&&i&&!i.isDirectory())return n(null,!1,i);var s=!0;return i&&(s=i.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||s,r&&"FILE"===s?n():n(null,s,i)}},9669:(e,t,a)=>{"use strict";var i=a(8121);function n(e,t,a){if("function"==typeof e&&(a=t,t=e,e=null),!(a>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var n=i(s),o=null,c=null,p=0,l=null,u={push:function(i,s){var f=n.get();f.context=e,f.release=d,f.value=i,f.callback=s||r,f.errorHandler=l,p>=a||u.paused?c?(c.next=f,c=f):(o=f,c=f,u.saturated()):(p++,t.call(e,f.value,f.worked))},drain:r,saturated:r,pause:function(){u.paused=!0},paused:!1,get concurrency(){return a},set concurrency(e){if(!(e>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(a=e,!u.paused)for(;o&&p<a;)p++,d()},running:function(){return p},resume:function(){if(u.paused){if(u.paused=!1,null===o)return p++,void d();for(;o&&p<a;)p++,d()}},idle:function(){return 0===p&&0===u.length()},length:function(){for(var e=o,t=0;e;)e=e.next,t++;return t},getQueue:function(){for(var e=o,t=[];e;)t.push(e.value),e=e.next;return t},unshift:function(i,s){var f=n.get();f.context=e,f.release=d,f.value=i,f.callback=s||r,f.errorHandler=l,p>=a||u.paused?o?(f.next=o,o=f):(o=f,c=f,u.saturated()):(p++,t.call(e,f.value,f.worked))},empty:r,kill:function(){o=null,c=null,u.drain=r},killAndDrain:function(){o=null,c=null,u.drain(),u.drain=r},error:function(e){l=e}};return u;function d(i){i&&n.release(i);var r=o;r&&p<=a?u.paused?p--:(c===o&&(c=null),o=r.next,r.next=null,t.call(e,r.value,r.worked),null===c&&u.empty()):0===--p&&u.drain()}}function r(){}function s(){this.value=null,this.callback=r,this.next=null,this.release=r,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,a){var i=e.callback,n=e.errorHandler,s=e.value;e.value=null,e.callback=r,e.errorHandler&&n(t,s),i.call(e.context,t,a),e.release(e)}}e.exports=n,e.exports.promise=function(e,t,a){"function"==typeof e&&(a=t,t=e,e=null);var i=n(e,(function(e,a){t.call(this,e).then((function(e){a(null,e)}),a)}),a),s=i.push,o=i.unshift;return i.push=function(e){var t=new Promise((function(t,a){s(e,(function(e,i){e?a(e):t(i)}))}));return t.catch(r),t},i.unshift=function(e){var t=new Promise((function(t,a){o(e,(function(e,i){e?a(e):t(i)}))}));return t.catch(r),t},i.drained=function(){return new Promise((function(e){process.nextTick((function(){if(i.idle())e();else{var t=i.drain;i.drain=function(){"function"==typeof t&&t(),e(),i.drain=t}}}))}))},i}},9678:e=>{"use strict";e.exports=JSON.parse('["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]')},9789:e=>{"use strict";e.exports=function(e){return"number"==typeof e?e-e===0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},9896:e=>{"use strict";e.exports=require("fs")},9903:(e,t,a)=>{"use strict";const i=a(1289);e.exports=(e,t)=>{const a=i(e.trim().replace(/^[=v]+/,""),t);return a?a.version:null}},9905:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(2203),n=a(3339);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new n.default(this._root,this._settings),this._stream=new i.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}}},9921:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const i=a(1452),n=a(2976),r=a(1531),s=a(1919);function o(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((a=>{const i={dirent:a,name:a.name,path:s.joinPathSegments(e,a.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(i.path);i.dirent=r.fs.createDirentFromStats(i.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return i}))}function c(e,t){return t.fs.readdirSync(e).map((a=>{const n=s.joinPathSegments(e,a,t.pathSegmentSeparator),o=i.statSync(n,t.fsStatSettings),c={name:a,path:n,dirent:r.fs.createDirentFromStats(a,o)};return t.stats&&(c.stats=o),c}))}t.read=function(e,t){return!t.stats&&n.IS_SUPPORT_READDIR_WITH_FILE_TYPES?o(e,t):c(e,t)},t.readdirWithFileTypes=o,t.readdir=c},9956:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=a(6928),n=a(1452),r=a(4718);t.default=class{constructor(e){this._settings=e,this._fsStatSettings=new n.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return i.resolve(this._settings.cwd,e)}_makeEntry(e,t){const a={name:t,path:t,dirent:r.fs.createDirentFromStats(t,e)};return this._settings.stats&&(a.stats=e),a}_isFatalError(e){return!r.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,a),r.exports}return a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=a(1481);const{program:t,createCommand:i,createArgument:n,createOption:r,CommanderError:s,InvalidArgumentError:o,InvalidOptionArgumentError:c,Command:p,Argument:l,Option:u,Help:d}=e;var f=a(443),m=a(6928),h=a.n(m),v=a(9896),g=a.n(v),b=a(5317);const y=process.cwd();var x=a(5993);const w=new p,_=x.Ay.bold.bgBlue(" XMCP ");w.name("xmcp").description("The MCP framework CLI").version("0.0.1"),w.command("dev").description("Start development mode").action((()=>{console.log(`${_} Starting development mode...`),(0,f.compile)({mode:"development"})})),w.command("build").description("Build for production").option("--vercel","Build for Vercel deployment").action((async e=>{console.log(`${_} Building for production...`),(0,f.compile)({mode:"production",onBuild:async()=>{if(e.vercel){console.log(`${_} Building for Vercel...`);try{await async function(){const e=h().join(y,".vercel","output"),t=h().join(e,"functions","api","index.func"),a=function(){const e=h().join(y,"pnpm-lock.yaml"),t=h().join(y,"package-lock.json"),a=h().join(y,"yarn.lock");return g().existsSync(e)?{manager:"pnpm",lockFile:"pnpm-lock.yaml",installCmd:"pnpm install"}:g().existsSync(t)?{manager:"npm",lockFile:"package-lock.json",installCmd:"npm install"}:g().existsSync(a)?{manager:"yarn",lockFile:"yarn.lock",installCmd:"yarn install"}:{manager:"npm",lockFile:"",installCmd:"npm install"}}();console.log("🚀 Building Vercel output structure..."),console.log(`📦 Detected package manager: ${a.manager}`),g().mkdirSync(e,{recursive:!0}),g().mkdirSync(t,{recursive:!0});const i=h().join(y,"dist"),n=h().join(i,"streamable-http.js"),r=h().join(t,"index.js");if(!g().existsSync(i))throw new Error("❌ Dist directory not found. Run build first.");if(!g().existsSync(n))throw new Error("❌ Application server file not found in dist/. Run build first.");g().copyFileSync(n,r);const s=g().readdirSync(i);for(const e of s){const a=h().join(i,e),n=h().join(t,e);if("streamable-http.js"===e||"sse.js"===e||"stdio.js"===e)continue;const r=g().statSync(a);r.isFile()?g().copyFileSync(a,n):r.isDirectory()&&g().cpSync(a,n,{recursive:!0})}const o=h().join(y,"package.json"),c=h().join(t,"package.json");g().copyFileSync(o,c),console.log("Server and dependency files copied to function directory"),g().writeFileSync(h().join(t,".vc-config.json"),JSON.stringify({handler:"index.js",runtime:"nodejs22.x",launcherType:"Nodejs",shouldAddHelpers:!0},null,2)),g().writeFileSync(h().join(e,"config.json"),JSON.stringify({version:3,routes:[{src:"^/(.*)$",dest:"/api"},{handle:"filesystem"}]},null,2)),console.log("📦 Installing production dependencies...");try{(0,b.execSync)(a.installCmd,{cwd:t,stdio:"inherit"}),console.log("✅ Dependencies installed")}catch(e){throw console.error("❌ Failed to install dependencies:",e),e}console.log("✅ Vercel output structure created successfully")}()}catch(e){console.error(x.Ay.red("❌ Failed to create Vercel output structure:"),e)}}}})})),w.parse()})(),{}})()));
|