npm-check-updates 19.6.0 → 19.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.js CHANGED
@@ -45,7 +45,7 @@ Instructions:
45
45
  Filtered results for: ${this.inputValue?this.inputValue:e.gray("Enter something to filter")}
46
46
  `}renderOption(a,l,h,p){const f=(l.selected?e.green(t.radioOn):t.radioOff)+" "+p+" ";let u;return l.disabled?u=a===h?e.gray().underline(l.title):e.strikethrough().gray(l.title):u=a===h?e.cyan().underline(l.title):l.title,f+u}renderDoneOrInstructions(){if(this.done)return this.value.filter(l=>l.selected).map(l=>l.title).join(", ");const a=[e.gray(this.hint),this.renderInstructions(),this.renderCurrentInput()];return this.filteredOptions.length&&this.filteredOptions[this.cursor].disabled&&a.push(e.yellow(this.warn)),a.join(" ")}render(){if(this.closed)return;this.firstRender&&this.out.write(r.hide),super.render();let a=[s.symbol(this.done,this.aborted),e.bold(this.msg),s.delimiter(!1),this.renderDoneOrInstructions()].join(" ");this.showMinError&&(a+=e.red(`You must select a minimum of ${this.minSelected} choices.`),this.showMinError=!1),a+=this.renderOptions(this.filteredOptions),this.out.write(this.clear+a),this.clear=i(a,this.out.columns)}}return Yo=n,Yo}var Ko,Zg;function SR(){if(Zg)return Ko;Zg=1;const e=Pt(),r=cr(),{style:o,clear:i}=Ht(),{erase:s,cursor:t}=Lt();class n extends r{constructor(a={}){super(a),this.msg=a.message,this.value=a.initial,this.initialValue=!!a.initial,this.yesMsg=a.yes||"yes",this.yesOption=a.yesOption||"(Y/n)",this.noMsg=a.no||"no",this.noOption=a.noOption||"(y/N)",this.render()}reset(){this.value=this.initialValue,this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
47
47
  `),this.close()}submit(){this.value=this.value||!1,this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
48
- `),this.close()}_(a,l){return a.toLowerCase()==="y"?(this.value=!0,this.submit()):a.toLowerCase()==="n"?(this.value=!1,this.submit()):this.bell()}render(){if(this.closed)return;this.firstRender?this.out.write(t.hide):this.out.write(i(this.outputText,this.out.columns)),super.render();const a=this.aborted||this.done&&!this.value;this.outputText=[o.symbol(this.done,a),e.bold(this.msg),o.delimiter(this.done),this.done?this.value&&!this.aborted?this.yesMsg:this.noMsg:e.gray(this.initialValue?this.yesOption:this.noOption)].join(" "),this.out.write(s.line+t.to(0)+this.outputText)}}return Ko=n,Ko}var Zo,Jg;function AR(){return Jg||(Jg=1,Zo={TextPrompt:uR(),SelectPrompt:cR(),TogglePrompt:lR(),DatePrompt:DR(),NumberPrompt:ER(),MultiselectPrompt:W_(),AutocompletePrompt:wR(),AutocompleteMultiselectPrompt:_R(),ConfirmPrompt:SR()}),Zo}var Xg;function CR(){return Xg||(Xg=1,function(e){const r=e,o=AR(),i=n=>n;function s(n,c,a={}){return new Promise((l,h)=>{const p=new o[n](c),f=a.onAbort||i,u=a.onSubmit||i,d=a.onExit||i;p.on("state",c.onState||i),p.on("submit",g=>l(u(g))),p.on("exit",g=>l(d(g))),p.on("abort",g=>h(f(g)))})}r.text=n=>s("TextPrompt",n),r.password=n=>(n.style="password",r.text(n)),r.invisible=n=>(n.style="invisible",r.text(n)),r.number=n=>s("NumberPrompt",n),r.date=n=>s("DatePrompt",n),r.confirm=n=>s("ConfirmPrompt",n),r.list=n=>{const c=n.separator||",";return s("TextPrompt",n,{onSubmit:a=>a.split(c).map(l=>l.trim())})},r.toggle=n=>s("TogglePrompt",n),r.select=n=>s("SelectPrompt",n),r.multiselect=n=>{n.choices=[].concat(n.choices||[]);const c=a=>a.filter(l=>l.selected).map(l=>l.value);return s("MultiselectPrompt",n,{onAbort:c,onSubmit:c})},r.autocompleteMultiselect=n=>{n.choices=[].concat(n.choices||[]);const c=a=>a.filter(l=>l.selected).map(l=>l.value);return s("AutocompleteMultiselectPrompt",n,{onAbort:c,onSubmit:c})};const t=(n,c)=>Promise.resolve(c.filter(a=>a.title.slice(0,n.length).toLowerCase()===n.toLowerCase()));r.autocomplete=n=>(n.suggest=n.suggest||t,n.choices=[].concat(n.choices||[]),s("AutocompletePrompt",n))}(vo)),vo}var Jo,Qg;function RR(){if(Qg)return Jo;Qg=1;const e=CR(),r=["suggest","format","onState","validate","onRender","type"],o=()=>{};async function i(c=[],{onSubmit:a=o,onCancel:l=o}={}){const h={},p=i._override||{};c=[].concat(c);let f,u,d,g,m,y;const D=async(v,b,E=!1)=>{if(!(!E&&v.validate&&v.validate(b)!==!0))return v.format?await v.format(b,h):b};for(u of c)if({name:g,type:m}=u,typeof m=="function"&&(m=await m(f,{...h},u),u.type=m),!!m){for(let v in u){if(r.includes(v))continue;let b=u[v];u[v]=typeof b=="function"?await b(f,{...h},y):b}if(y=u,typeof u.message!="string")throw new Error("prompt message is required");if({name:g,type:m}=u,e[m]===void 0)throw new Error(`prompt type (${m}) is not defined`);if(p[u.name]!==void 0&&(f=await D(u,p[u.name]),f!==void 0)){h[g]=f;continue}try{f=i._injected?s(i._injected,u.initial):await e[m](u),h[g]=f=await D(u,f,!0),d=await a(u,f,h)}catch{d=!await l(u,h)}if(d)return h}return h}function s(c,a){const l=c.shift();if(l instanceof Error)throw l;return l===void 0?a:l}function t(c){i._injected=(i._injected||[]).concat(c)}function n(c){i._override=Object.assign({},c)}return Jo=Object.assign(i,{prompt:i,prompts:e,inject:t,override:n}),Jo}var Xo,e0;function xR(){return e0||(e0=1,Xo=RR()),Xo}var FR=xR();const Ss=We(FR);var dr={exports:{}},Qo,t0;function OR(){if(t0)return Qo;t0=1,Qo=i,i.sync=s;var e=Ze;function r(t,n){var c=n.pathExt!==void 0?n.pathExt:process.env.PATHEXT;if(!c||(c=c.split(";"),c.indexOf("")!==-1))return!0;for(var a=0;a<c.length;a++){var l=c[a].toLowerCase();if(l&&t.substr(-l.length).toLowerCase()===l)return!0}return!1}function o(t,n,c){return!t.isSymbolicLink()&&!t.isFile()?!1:r(n,c)}function i(t,n,c){e.stat(t,function(a,l){c(a,a?!1:o(l,t,n))})}function s(t,n){return o(e.statSync(t),t,n)}return Qo}var ea,r0;function TR(){if(r0)return ea;r0=1,ea=r,r.sync=o;var e=Ze;function r(t,n,c){e.stat(t,function(a,l){c(a,a?!1:i(l,n))})}function o(t,n){return i(e.statSync(t),n)}function i(t,n){return t.isFile()&&s(t,n)}function s(t,n){var c=t.mode,a=t.uid,l=t.gid,h=n.uid!==void 0?n.uid:process.getuid&&process.getuid(),p=n.gid!==void 0?n.gid:process.getgid&&process.getgid(),f=parseInt("100",8),u=parseInt("010",8),d=parseInt("001",8),g=f|u,m=c&d||c&u&&l===p||c&f&&a===h||c&g&&h===0;return m}return ea}var ta,i0;function IR(){if(i0)return ta;i0=1;var e;process.platform==="win32"||qt.TESTING_WINDOWS?e=OR():e=TR(),ta=r,r.sync=o;function r(i,s,t){if(typeof s=="function"&&(t=s,s={}),!t){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(n,c){r(i,s||{},function(a,l){a?c(a):n(l)})})}e(i,s||{},function(n,c){n&&(n.code==="EACCES"||s&&s.ignoreErrors)&&(n=null,c=!1),t(n,c)})}function o(i,s){try{return e.sync(i,s||{})}catch(t){if(s&&s.ignoreErrors||t.code==="EACCES")return!1;throw t}}return ta}var ra,n0;function $R(){if(n0)return ra;n0=1;const e=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",r=be,o=e?";":":",i=IR(),s=a=>Object.assign(new Error(`not found: ${a}`),{code:"ENOENT"}),t=(a,l)=>{const h=l.colon||o,p=a.match(/\//)||e&&a.match(/\\/)?[""]:[...e?[process.cwd()]:[],...(l.path||process.env.PATH||"").split(h)],f=e?l.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",u=e?f.split(h):[""];return e&&a.indexOf(".")!==-1&&u[0]!==""&&u.unshift(""),{pathEnv:p,pathExt:u,pathExtExe:f}},n=(a,l,h)=>{typeof l=="function"&&(h=l,l={}),l||(l={});const{pathEnv:p,pathExt:f,pathExtExe:u}=t(a,l),d=[],g=y=>new Promise((D,v)=>{if(y===p.length)return l.all&&d.length?D(d):v(s(a));const b=p[y],E=/^".*"$/.test(b)?b.slice(1,-1):b,S=r.join(E,a),A=!E&&/^\.[\\\/]/.test(a)?a.slice(0,2)+S:S;D(m(A,y,0))}),m=(y,D,v)=>new Promise((b,E)=>{if(v===f.length)return b(g(D+1));const S=f[v];i(y+S,{pathExt:u},(A,C)=>{if(!A&&C)if(l.all)d.push(y+S);else return b(y+S);return b(m(y,D,v+1))})});return h?g(0).then(y=>h(null,y),h):g(0)},c=(a,l)=>{l=l||{};const{pathEnv:h,pathExt:p,pathExtExe:f}=t(a,l),u=[];for(let d=0;d<h.length;d++){const g=h[d],m=/^".*"$/.test(g)?g.slice(1,-1):g,y=r.join(m,a),D=!m&&/^\.[\\\/]/.test(a)?a.slice(0,2)+y:y;for(let v=0;v<p.length;v++){const b=D+p[v];try{if(i.sync(b,{pathExt:f}))if(l.all)u.push(b);else return b}catch{}}}if(l.all&&u.length)return u;if(l.nothrow)return null;throw s(a)};return ra=n,n.sync=c,ra}var vn={exports:{}},s0;function kR(){if(s0)return vn.exports;s0=1;const e=(r={})=>{const o=r.env||process.env;return(r.platform||process.platform)!=="win32"?"PATH":Object.keys(o).reverse().find(s=>s.toUpperCase()==="PATH")||"Path"};return vn.exports=e,vn.exports.default=e,vn.exports}var ia,o0;function BR(){if(o0)return ia;o0=1;const e=be,r=$R(),o=kR();function i(t,n){const c=t.options.env||process.env,a=process.cwd(),l=t.options.cwd!=null,h=l&&process.chdir!==void 0&&!process.chdir.disabled;if(h)try{process.chdir(t.options.cwd)}catch{}let p;try{p=r.sync(t.command,{path:c[o({env:c})],pathExt:n?e.delimiter:void 0})}catch{}finally{h&&process.chdir(a)}return p&&(p=e.resolve(l?t.options.cwd:"",p)),p}function s(t){return i(t)||i(t,!0)}return ia=s,ia}var bn={},a0;function PR(){if(a0)return bn;a0=1;const e=/([()\][%!^"`<>&|;, *?])/g;function r(i){return i=i.replace(e,"^$1"),i}function o(i,s){return i=`${i}`,i=i.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),i=i.replace(/(?=(\\+?)?)\1$/,"$1$1"),i=`"${i}"`,i=i.replace(e,"^$1"),s&&(i=i.replace(e,"^$1")),i}return bn.command=r,bn.argument=o,bn}var na,u0;function LR(){return u0||(u0=1,na=/^#!(.*)/),na}var sa,c0;function NR(){if(c0)return sa;c0=1;const e=LR();return sa=(r="")=>{const o=r.match(e);if(!o)return null;const[i,s]=o[0].replace(/#! ?/,"").split(" "),t=i.split("/").pop();return t==="env"?s:s?`${t} ${s}`:t},sa}var oa,l0;function MR(){if(l0)return oa;l0=1;const e=Ze,r=NR();function o(i){const t=Buffer.alloc(150);let n;try{n=e.openSync(i,"r"),e.readSync(n,t,0,150,0),e.closeSync(n)}catch{}return r(t.toString())}return oa=o,oa}var aa,h0;function jR(){if(h0)return aa;h0=1;const e=be,r=BR(),o=PR(),i=MR(),s=process.platform==="win32",t=/\.(?:com|exe)$/i,n=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function c(h){h.file=r(h);const p=h.file&&i(h.file);return p?(h.args.unshift(h.file),h.command=p,r(h)):h.file}function a(h){if(!s)return h;const p=c(h),f=!t.test(p);if(h.options.forceShell||f){const u=n.test(p);h.command=e.normalize(h.command),h.command=o.command(h.command),h.args=h.args.map(g=>o.argument(g,u));const d=[h.command].concat(h.args).join(" ");h.args=["/d","/s","/c",`"${d}"`],h.command=process.env.comspec||"cmd.exe",h.options.windowsVerbatimArguments=!0}return h}function l(h,p,f){p&&!Array.isArray(p)&&(f=p,p=null),p=p?p.slice(0):[],f=Object.assign({},f);const u={command:h,args:p,options:f,file:void 0,original:{command:h,args:p}};return f.shell?u:a(u)}return aa=l,aa}var ua,f0;function qR(){if(f0)return ua;f0=1;const e=process.platform==="win32";function r(t,n){return Object.assign(new Error(`${n} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${n} ${t.command}`,path:t.command,spawnargs:t.args})}function o(t,n){if(!e)return;const c=t.emit;t.emit=function(a,l){if(a==="exit"){const h=i(l,n);if(h)return c.call(t,"error",h)}return c.apply(t,arguments)}}function i(t,n){return e&&t===1&&!n.file?r(n.original,"spawn"):null}function s(t,n){return e&&t===1&&!n.file?r(n.original,"spawnSync"):null}return ua={hookChildProcess:o,verifyENOENT:i,verifyENOENTSync:s,notFoundError:r},ua}var d0;function UR(){if(d0)return dr.exports;d0=1;const e=N_,r=jR(),o=qR();function i(t,n,c){const a=r(t,n,c),l=e.spawn(a.command,a.args,a.options);return o.hookChildProcess(l,a),l}function s(t,n,c){const a=r(t,n,c),l=e.spawnSync(a.command,a.args,a.options);return l.error=l.error||o.verifyENOENTSync(l.status,a),l}return dr.exports=i,dr.exports.spawn=i,dr.exports.sync=s,dr.exports._parse=r,dr.exports._enoent=o,dr.exports}var ca,p0;function HR(){if(p0)return ca;p0=1;const e=UR();return ca=(o,i,s={},t={})=>{s.rejectOnError===void 0&&(s.rejectOnError=!0);let n="",c="";const a=e(o,i,t);return new Promise((l,h)=>{s.stdin!==void 0&&s.stdin!=null&&a.stdin.write(s.stdin),a.stdin.end(),a.stdout.on("data",p=>{n+=p,s.stdout&&s.stdout(p)}),a.stderr.on("data",p=>{c+=p,s.stderr&&s.stderr(p)}),s.rejectOnError&&a.addListener("error",h),a.on("close",p=>{p!==0&&s.rejectOnError?h(c):l({stdout:n,stderr:c})})})},ca}var GR=HR();const yt=We(GR),WR="npm-check-updates",zR="19.6.0",VR="Tomas Junnonen <tomas1@gmail.com>",YR="Apache-2.0",KR=["Raine Revere (https://github.com/raineorshine)","Imamuzzaki Abu Salam <imamuzzaki@gmail.com>"],ZR="Find newer versions of dependencies than what your package.json allows",JR=["dependencies","npm","package.json","update","upgrade","versions"],XR={node:">=20.0.0",npm:">=8.12.1"},QR="build/index.js",ex="build/index.d.ts",tx={build:"rimraf build && npm run build:options && vite build","build:options":"vite-node src/scripts/build-options.ts","build:analyze":"rimraf build && npm run build:options && ANALYZER=true vite build",lint:"cross-env FORCE_COLOR=1 npm-run-all --parallel --aggregate-output lint:*","lint:lockfile":"lockfile-lint","lint:markdown":'markdownlint "**/*.md" --ignore "**/node_modules/**/*.md" --ignore build --config .markdownlint.js',"lint:src":"eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore --report-unused-disable-directives .",prepare:"src/scripts/install-hooks",prepublishOnly:"npm run build",prettier:"prettier . --check","prettier:fix":"prettier . --write",test:"npm run test:unit && npm run test:e2e","test:bun":"test/bun-install.sh && mocha test/bun","test:unit":"mocha test test/package-managers/*","test:e2e":"./test/e2e.sh",ncu:"node build/cli.js"},rx={"npm-check-updates":"build/cli.js",ncu:"build/cli.js"},ix={type:"git",url:"git+https://github.com/raineorshine/npm-check-updates.git"},nx="https://github.com/raineorshine/npm-check-updates",sx={url:"https://github.com/raineorshine/npm-check-updates/issues"},ox={ip:"2.0.1",jsonparse:"https://github.com/ARitz-Cracker/jsonparse/tree/patch-1","@yarnpkg/parsers":"2.6.0"},ax={"@trivago/prettier-plugin-sort-imports":"^5.2.2","@types/bun":"^1.2.23","@types/chai":"^4.3.19","@types/chai-as-promised":"^8.0.0","@types/chai-string":"^1.4.5","@types/cli-table":"^0.3.4","@types/hosted-git-info":"^3.0.5","@types/ini":"^4.1.1","@types/js-yaml":"^4.0.9","@types/jsonlines":"^0.1.5","@types/lodash":"^4.17.20","@types/mocha":"^10.0.10","@types/node":"^24.5.2","@types/npm-registry-fetch":"^8.0.8","@types/parse-github-url":"^1.0.3","@types/picomatch":"^4.0.2","@types/progress":"^2.0.7","@types/prompts":"^2.4.9","@types/semver":"^7.7.1","@types/semver-utils":"^1.1.3","@types/sinon":"^17.0.4","@types/update-notifier":"^6.0.8","@typescript-eslint/eslint-plugin":"^8.44.1","@typescript-eslint/parser":"^8.44.1",camelcase:"^6.3.0",chai:"^4.3.10","chai-as-promised":"^7.1.2","chai-string":"^1.6.0",chalk:"^5.6.2","cli-table3":"^0.6.5",commander:"^14.0.1","cross-env":"^10.0.0",dequal:"^2.0.3",eslint:"^8.57.0","eslint-config-prettier":"^10.1.8","eslint-config-raine":"^0.5.0","eslint-config-standard":"^17.1.0","eslint-plugin-import":"^2.32.0","eslint-plugin-jsdoc":"^60.5.0","eslint-plugin-n":"^16.6.2","eslint-plugin-promise":"^6.6.0","fast-glob":"^3.3.3","fast-memoize":"^2.5.2","find-up":"5.0.0","fp-and-or":"^1.0.2","hosted-git-info":"^9.0.0",ini:"^5.0.0","js-yaml":"^4.1.0","jsonc-parser":"^3.3.1",jsonlines:"^0.1.1","lockfile-lint":"^4.14.1",lodash:"^4.17.21","markdownlint-cli":"^0.45.0",mocha:"^11.7.2","npm-registry-fetch":"^19.0.0","npm-run-all":"^4.1.5","p-map":"^4.0.0","parse-github-url":"^1.0.3",picomatch:"^4.0.3",prettier:"^3.6.2",progress:"^2.0.3","prompts-ncu":"^3.0.2","rc-config-loader":"^4.1.3",rfdc:"^1.4.1",rimraf:"^6.0.1","rollup-plugin-node-externals":"^8.1.1",semver:"^7.7.2","semver-utils":"^1.1.4",should:"^13.2.3",sinon:"^21.0.0","source-map-support":"^0.5.21","spawn-please":"^3.0.0","strip-ansi":"^7.1.2","ts-node":"^10.9.2",typescript:"^5.9.2","typescript-json-schema":"^0.65.1",untildify:"^4.0.0","update-notifier":"^7.3.1",verdaccio:"^6.1.6",vite:"^7.1.7","vite-bundle-analyzer":"^1.2.3","vite-node":"^3.2.4","vite-plugin-dts":"^4.5.4",yarn:"^1.22.22"},ux=["build","!**/test/**"],cx={"check-leaks":!0,extension:["test.ts"],require:["source-map-support/register","ts-node/register"],timeout:6e4,"trace-deprecation":!0,"trace-warnings":!0,use_strict:!0},As={name:WR,version:zR,author:VR,license:YR,contributors:KR,description:ZR,keywords:JR,engines:XR,main:QR,types:ex,scripts:tx,bin:rx,repository:ix,homepage:nx,bugs:sx,overrides:ox,devDependencies:ax,files:ux,"lockfile-lint":{"allowed-schemes":["https:","git+ssh:"],"allowed-hosts":["npm","github.com"],"empty-hostname":!1,type:"npm ",path:"package-lock.json"},mocha:cx};var la,g0;function sp(){if(g0)return la;g0=1;let e=[],r=0;const o=(i,s)=>{r>=s&&e.push(i)};return o.WARN=1,o.INFO=2,o.DEBUG=3,o.reset=()=>{e=[]},o.setDebugLevel=i=>{r=i},o.warn=i=>o(i,o.WARN),o.info=i=>o(i,o.INFO),o.debug=i=>o(i,o.DEBUG),o.debugMessages=()=>e,la=o,la}var Dn={exports:{}},ha,m0;function lx(){return m0||(m0=1,ha=({onlyFirst:e=!1}={})=>{const r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(r,e?void 0:"g")}),ha}var fa,y0;function hx(){if(y0)return fa;y0=1;const e=lx();return fa=r=>typeof r=="string"?r.replace(e(),""):r,fa}var En={exports:{}},v0;function z_(){if(v0)return En.exports;v0=1;const e=r=>Number.isNaN(r)?!1:r>=4352&&(r<=4447||r===9001||r===9002||11904<=r&&r<=12871&&r!==12351||12880<=r&&r<=19903||19968<=r&&r<=42182||43360<=r&&r<=43388||44032<=r&&r<=55203||63744<=r&&r<=64255||65040<=r&&r<=65049||65072<=r&&r<=65131||65281<=r&&r<=65376||65504<=r&&r<=65510||110592<=r&&r<=110593||127488<=r&&r<=127569||131072<=r&&r<=262141);return En.exports=e,En.exports.default=e,En.exports}var da,b0;function fx(){return b0||(b0=1,da=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}),da}var D0;function dx(){if(D0)return Dn.exports;D0=1;const e=hx(),r=z_(),o=fx(),i=s=>{if(typeof s!="string"||s.length===0||(s=e(s),s.length===0))return 0;s=s.replace(o()," ");let t=0;for(let n=0;n<s.length;n++){const c=s.codePointAt(n);c<=31||c>=127&&c<=159||c>=768&&c<=879||(c>65535&&n++,t+=r(c)?2:1)}return t};return Dn.exports=i,Dn.exports.default=i,Dn.exports}var pa,E0;function V_(){if(E0)return pa;E0=1;const e=dx();function r(E){return E?/\u001b\[((?:\d*;){0,5}\d*)m/g:/\u001b\[(?:\d*;){0,5}\d*m/g}function o(E){let S=r();return(""+E).replace(S,"").split(`
48
+ `),this.close()}_(a,l){return a.toLowerCase()==="y"?(this.value=!0,this.submit()):a.toLowerCase()==="n"?(this.value=!1,this.submit()):this.bell()}render(){if(this.closed)return;this.firstRender?this.out.write(t.hide):this.out.write(i(this.outputText,this.out.columns)),super.render();const a=this.aborted||this.done&&!this.value;this.outputText=[o.symbol(this.done,a),e.bold(this.msg),o.delimiter(this.done),this.done?this.value&&!this.aborted?this.yesMsg:this.noMsg:e.gray(this.initialValue?this.yesOption:this.noOption)].join(" "),this.out.write(s.line+t.to(0)+this.outputText)}}return Ko=n,Ko}var Zo,Jg;function AR(){return Jg||(Jg=1,Zo={TextPrompt:uR(),SelectPrompt:cR(),TogglePrompt:lR(),DatePrompt:DR(),NumberPrompt:ER(),MultiselectPrompt:W_(),AutocompletePrompt:wR(),AutocompleteMultiselectPrompt:_R(),ConfirmPrompt:SR()}),Zo}var Xg;function CR(){return Xg||(Xg=1,function(e){const r=e,o=AR(),i=n=>n;function s(n,c,a={}){return new Promise((l,h)=>{const p=new o[n](c),f=a.onAbort||i,u=a.onSubmit||i,d=a.onExit||i;p.on("state",c.onState||i),p.on("submit",g=>l(u(g))),p.on("exit",g=>l(d(g))),p.on("abort",g=>h(f(g)))})}r.text=n=>s("TextPrompt",n),r.password=n=>(n.style="password",r.text(n)),r.invisible=n=>(n.style="invisible",r.text(n)),r.number=n=>s("NumberPrompt",n),r.date=n=>s("DatePrompt",n),r.confirm=n=>s("ConfirmPrompt",n),r.list=n=>{const c=n.separator||",";return s("TextPrompt",n,{onSubmit:a=>a.split(c).map(l=>l.trim())})},r.toggle=n=>s("TogglePrompt",n),r.select=n=>s("SelectPrompt",n),r.multiselect=n=>{n.choices=[].concat(n.choices||[]);const c=a=>a.filter(l=>l.selected).map(l=>l.value);return s("MultiselectPrompt",n,{onAbort:c,onSubmit:c})},r.autocompleteMultiselect=n=>{n.choices=[].concat(n.choices||[]);const c=a=>a.filter(l=>l.selected).map(l=>l.value);return s("AutocompleteMultiselectPrompt",n,{onAbort:c,onSubmit:c})};const t=(n,c)=>Promise.resolve(c.filter(a=>a.title.slice(0,n.length).toLowerCase()===n.toLowerCase()));r.autocomplete=n=>(n.suggest=n.suggest||t,n.choices=[].concat(n.choices||[]),s("AutocompletePrompt",n))}(vo)),vo}var Jo,Qg;function RR(){if(Qg)return Jo;Qg=1;const e=CR(),r=["suggest","format","onState","validate","onRender","type"],o=()=>{};async function i(c=[],{onSubmit:a=o,onCancel:l=o}={}){const h={},p=i._override||{};c=[].concat(c);let f,u,d,g,m,y;const D=async(v,b,E=!1)=>{if(!(!E&&v.validate&&v.validate(b)!==!0))return v.format?await v.format(b,h):b};for(u of c)if({name:g,type:m}=u,typeof m=="function"&&(m=await m(f,{...h},u),u.type=m),!!m){for(let v in u){if(r.includes(v))continue;let b=u[v];u[v]=typeof b=="function"?await b(f,{...h},y):b}if(y=u,typeof u.message!="string")throw new Error("prompt message is required");if({name:g,type:m}=u,e[m]===void 0)throw new Error(`prompt type (${m}) is not defined`);if(p[u.name]!==void 0&&(f=await D(u,p[u.name]),f!==void 0)){h[g]=f;continue}try{f=i._injected?s(i._injected,u.initial):await e[m](u),h[g]=f=await D(u,f,!0),d=await a(u,f,h)}catch{d=!await l(u,h)}if(d)return h}return h}function s(c,a){const l=c.shift();if(l instanceof Error)throw l;return l===void 0?a:l}function t(c){i._injected=(i._injected||[]).concat(c)}function n(c){i._override=Object.assign({},c)}return Jo=Object.assign(i,{prompt:i,prompts:e,inject:t,override:n}),Jo}var Xo,e0;function xR(){return e0||(e0=1,Xo=RR()),Xo}var FR=xR();const Ss=We(FR);var dr={exports:{}},Qo,t0;function OR(){if(t0)return Qo;t0=1,Qo=i,i.sync=s;var e=Ze;function r(t,n){var c=n.pathExt!==void 0?n.pathExt:process.env.PATHEXT;if(!c||(c=c.split(";"),c.indexOf("")!==-1))return!0;for(var a=0;a<c.length;a++){var l=c[a].toLowerCase();if(l&&t.substr(-l.length).toLowerCase()===l)return!0}return!1}function o(t,n,c){return!t.isSymbolicLink()&&!t.isFile()?!1:r(n,c)}function i(t,n,c){e.stat(t,function(a,l){c(a,a?!1:o(l,t,n))})}function s(t,n){return o(e.statSync(t),t,n)}return Qo}var ea,r0;function TR(){if(r0)return ea;r0=1,ea=r,r.sync=o;var e=Ze;function r(t,n,c){e.stat(t,function(a,l){c(a,a?!1:i(l,n))})}function o(t,n){return i(e.statSync(t),n)}function i(t,n){return t.isFile()&&s(t,n)}function s(t,n){var c=t.mode,a=t.uid,l=t.gid,h=n.uid!==void 0?n.uid:process.getuid&&process.getuid(),p=n.gid!==void 0?n.gid:process.getgid&&process.getgid(),f=parseInt("100",8),u=parseInt("010",8),d=parseInt("001",8),g=f|u,m=c&d||c&u&&l===p||c&f&&a===h||c&g&&h===0;return m}return ea}var ta,i0;function IR(){if(i0)return ta;i0=1;var e;process.platform==="win32"||qt.TESTING_WINDOWS?e=OR():e=TR(),ta=r,r.sync=o;function r(i,s,t){if(typeof s=="function"&&(t=s,s={}),!t){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(n,c){r(i,s||{},function(a,l){a?c(a):n(l)})})}e(i,s||{},function(n,c){n&&(n.code==="EACCES"||s&&s.ignoreErrors)&&(n=null,c=!1),t(n,c)})}function o(i,s){try{return e.sync(i,s||{})}catch(t){if(s&&s.ignoreErrors||t.code==="EACCES")return!1;throw t}}return ta}var ra,n0;function $R(){if(n0)return ra;n0=1;const e=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",r=be,o=e?";":":",i=IR(),s=a=>Object.assign(new Error(`not found: ${a}`),{code:"ENOENT"}),t=(a,l)=>{const h=l.colon||o,p=a.match(/\//)||e&&a.match(/\\/)?[""]:[...e?[process.cwd()]:[],...(l.path||process.env.PATH||"").split(h)],f=e?l.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",u=e?f.split(h):[""];return e&&a.indexOf(".")!==-1&&u[0]!==""&&u.unshift(""),{pathEnv:p,pathExt:u,pathExtExe:f}},n=(a,l,h)=>{typeof l=="function"&&(h=l,l={}),l||(l={});const{pathEnv:p,pathExt:f,pathExtExe:u}=t(a,l),d=[],g=y=>new Promise((D,v)=>{if(y===p.length)return l.all&&d.length?D(d):v(s(a));const b=p[y],E=/^".*"$/.test(b)?b.slice(1,-1):b,S=r.join(E,a),A=!E&&/^\.[\\\/]/.test(a)?a.slice(0,2)+S:S;D(m(A,y,0))}),m=(y,D,v)=>new Promise((b,E)=>{if(v===f.length)return b(g(D+1));const S=f[v];i(y+S,{pathExt:u},(A,C)=>{if(!A&&C)if(l.all)d.push(y+S);else return b(y+S);return b(m(y,D,v+1))})});return h?g(0).then(y=>h(null,y),h):g(0)},c=(a,l)=>{l=l||{};const{pathEnv:h,pathExt:p,pathExtExe:f}=t(a,l),u=[];for(let d=0;d<h.length;d++){const g=h[d],m=/^".*"$/.test(g)?g.slice(1,-1):g,y=r.join(m,a),D=!m&&/^\.[\\\/]/.test(a)?a.slice(0,2)+y:y;for(let v=0;v<p.length;v++){const b=D+p[v];try{if(i.sync(b,{pathExt:f}))if(l.all)u.push(b);else return b}catch{}}}if(l.all&&u.length)return u;if(l.nothrow)return null;throw s(a)};return ra=n,n.sync=c,ra}var vn={exports:{}},s0;function kR(){if(s0)return vn.exports;s0=1;const e=(r={})=>{const o=r.env||process.env;return(r.platform||process.platform)!=="win32"?"PATH":Object.keys(o).reverse().find(s=>s.toUpperCase()==="PATH")||"Path"};return vn.exports=e,vn.exports.default=e,vn.exports}var ia,o0;function BR(){if(o0)return ia;o0=1;const e=be,r=$R(),o=kR();function i(t,n){const c=t.options.env||process.env,a=process.cwd(),l=t.options.cwd!=null,h=l&&process.chdir!==void 0&&!process.chdir.disabled;if(h)try{process.chdir(t.options.cwd)}catch{}let p;try{p=r.sync(t.command,{path:c[o({env:c})],pathExt:n?e.delimiter:void 0})}catch{}finally{h&&process.chdir(a)}return p&&(p=e.resolve(l?t.options.cwd:"",p)),p}function s(t){return i(t)||i(t,!0)}return ia=s,ia}var bn={},a0;function PR(){if(a0)return bn;a0=1;const e=/([()\][%!^"`<>&|;, *?])/g;function r(i){return i=i.replace(e,"^$1"),i}function o(i,s){return i=`${i}`,i=i.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),i=i.replace(/(?=(\\+?)?)\1$/,"$1$1"),i=`"${i}"`,i=i.replace(e,"^$1"),s&&(i=i.replace(e,"^$1")),i}return bn.command=r,bn.argument=o,bn}var na,u0;function LR(){return u0||(u0=1,na=/^#!(.*)/),na}var sa,c0;function NR(){if(c0)return sa;c0=1;const e=LR();return sa=(r="")=>{const o=r.match(e);if(!o)return null;const[i,s]=o[0].replace(/#! ?/,"").split(" "),t=i.split("/").pop();return t==="env"?s:s?`${t} ${s}`:t},sa}var oa,l0;function MR(){if(l0)return oa;l0=1;const e=Ze,r=NR();function o(i){const t=Buffer.alloc(150);let n;try{n=e.openSync(i,"r"),e.readSync(n,t,0,150,0),e.closeSync(n)}catch{}return r(t.toString())}return oa=o,oa}var aa,h0;function jR(){if(h0)return aa;h0=1;const e=be,r=BR(),o=PR(),i=MR(),s=process.platform==="win32",t=/\.(?:com|exe)$/i,n=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function c(h){h.file=r(h);const p=h.file&&i(h.file);return p?(h.args.unshift(h.file),h.command=p,r(h)):h.file}function a(h){if(!s)return h;const p=c(h),f=!t.test(p);if(h.options.forceShell||f){const u=n.test(p);h.command=e.normalize(h.command),h.command=o.command(h.command),h.args=h.args.map(g=>o.argument(g,u));const d=[h.command].concat(h.args).join(" ");h.args=["/d","/s","/c",`"${d}"`],h.command=process.env.comspec||"cmd.exe",h.options.windowsVerbatimArguments=!0}return h}function l(h,p,f){p&&!Array.isArray(p)&&(f=p,p=null),p=p?p.slice(0):[],f=Object.assign({},f);const u={command:h,args:p,options:f,file:void 0,original:{command:h,args:p}};return f.shell?u:a(u)}return aa=l,aa}var ua,f0;function qR(){if(f0)return ua;f0=1;const e=process.platform==="win32";function r(t,n){return Object.assign(new Error(`${n} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${n} ${t.command}`,path:t.command,spawnargs:t.args})}function o(t,n){if(!e)return;const c=t.emit;t.emit=function(a,l){if(a==="exit"){const h=i(l,n);if(h)return c.call(t,"error",h)}return c.apply(t,arguments)}}function i(t,n){return e&&t===1&&!n.file?r(n.original,"spawn"):null}function s(t,n){return e&&t===1&&!n.file?r(n.original,"spawnSync"):null}return ua={hookChildProcess:o,verifyENOENT:i,verifyENOENTSync:s,notFoundError:r},ua}var d0;function UR(){if(d0)return dr.exports;d0=1;const e=N_,r=jR(),o=qR();function i(t,n,c){const a=r(t,n,c),l=e.spawn(a.command,a.args,a.options);return o.hookChildProcess(l,a),l}function s(t,n,c){const a=r(t,n,c),l=e.spawnSync(a.command,a.args,a.options);return l.error=l.error||o.verifyENOENTSync(l.status,a),l}return dr.exports=i,dr.exports.spawn=i,dr.exports.sync=s,dr.exports._parse=r,dr.exports._enoent=o,dr.exports}var ca,p0;function HR(){if(p0)return ca;p0=1;const e=UR();return ca=(o,i,s={},t={})=>{s.rejectOnError===void 0&&(s.rejectOnError=!0);let n="",c="";const a=e(o,i,t);return new Promise((l,h)=>{s.stdin!==void 0&&s.stdin!=null&&a.stdin.write(s.stdin),a.stdin.end(),a.stdout.on("data",p=>{n+=p,s.stdout&&s.stdout(p)}),a.stderr.on("data",p=>{c+=p,s.stderr&&s.stderr(p)}),s.rejectOnError&&a.addListener("error",h),a.on("close",p=>{p!==0&&s.rejectOnError?h(c):l({stdout:n,stderr:c})})})},ca}var GR=HR();const yt=We(GR),WR="npm-check-updates",zR="19.6.1",VR="Tomas Junnonen <tomas1@gmail.com>",YR="Apache-2.0",KR=["Raine Revere (https://github.com/raineorshine)","Imamuzzaki Abu Salam <imamuzzaki@gmail.com>"],ZR="Find newer versions of dependencies than what your package.json allows",JR=["dependencies","npm","package.json","update","upgrade","versions"],XR={node:">=20.0.0",npm:">=8.12.1"},QR="build/index.js",ex="build/index.d.ts",tx={build:"rimraf build && npm run build:options && vite build","build:options":"vite-node src/scripts/build-options.ts","build:analyze":"rimraf build && npm run build:options && ANALYZER=true vite build",lint:"cross-env FORCE_COLOR=1 npm-run-all --parallel --aggregate-output lint:*","lint:lockfile":"lockfile-lint","lint:markdown":'markdownlint "**/*.md" --ignore "**/node_modules/**/*.md" --ignore build --config .markdownlint.js',"lint:src":"eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore --report-unused-disable-directives .",prepare:"src/scripts/install-hooks",prepublishOnly:"npm run build",prettier:"prettier . --check","prettier:fix":"prettier . --write",test:"npm run test:unit && npm run test:e2e","test:bun":"test/bun-install.sh && mocha test/bun","test:unit":"mocha test test/package-managers/*","test:e2e":"./test/e2e.sh",ncu:"node build/cli.js"},rx={"npm-check-updates":"build/cli.js",ncu:"build/cli.js"},ix={type:"git",url:"git+https://github.com/raineorshine/npm-check-updates.git"},nx="https://github.com/raineorshine/npm-check-updates",sx={url:"https://github.com/raineorshine/npm-check-updates/issues"},ox={ip:"2.0.1",jsonparse:"https://github.com/ARitz-Cracker/jsonparse/tree/patch-1","@yarnpkg/parsers":"2.6.0"},ax={"@trivago/prettier-plugin-sort-imports":"^5.2.2","@types/bun":"^1.2.23","@types/chai":"^4.3.19","@types/chai-as-promised":"^8.0.0","@types/chai-string":"^1.4.5","@types/cli-table":"^0.3.4","@types/hosted-git-info":"^3.0.5","@types/ini":"^4.1.1","@types/js-yaml":"^4.0.9","@types/jsonlines":"^0.1.5","@types/lodash":"^4.17.20","@types/mocha":"^10.0.10","@types/node":"^24.5.2","@types/npm-registry-fetch":"^8.0.8","@types/parse-github-url":"^1.0.3","@types/picomatch":"^4.0.2","@types/progress":"^2.0.7","@types/prompts":"^2.4.9","@types/semver":"^7.7.1","@types/semver-utils":"^1.1.3","@types/sinon":"^17.0.4","@types/update-notifier":"^6.0.8","@typescript-eslint/eslint-plugin":"^8.44.1","@typescript-eslint/parser":"^8.44.1",camelcase:"^6.3.0",chai:"^4.3.10","chai-as-promised":"^7.1.2","chai-string":"^1.6.0",chalk:"^5.6.2","cli-table3":"^0.6.5",commander:"^14.0.1","cross-env":"^10.0.0",dequal:"^2.0.3",eslint:"^8.57.0","eslint-config-prettier":"^10.1.8","eslint-config-raine":"^0.5.0","eslint-config-standard":"^17.1.0","eslint-plugin-import":"^2.32.0","eslint-plugin-jsdoc":"^60.5.0","eslint-plugin-n":"^16.6.2","eslint-plugin-promise":"^6.6.0","fast-glob":"^3.3.3","fast-memoize":"^2.5.2","find-up":"5.0.0","fp-and-or":"^1.0.2","hosted-git-info":"^9.0.0",ini:"^5.0.0","js-yaml":"^4.1.0","jsonc-parser":"^3.3.1",jsonlines:"^0.1.1","lockfile-lint":"^4.14.1",lodash:"^4.17.21","markdownlint-cli":"^0.45.0",mocha:"^11.7.2","npm-registry-fetch":"^19.0.0","npm-run-all":"^4.1.5","p-map":"^4.0.0","parse-github-url":"^1.0.3",picomatch:"^4.0.3",prettier:"^3.6.2",progress:"^2.0.3","prompts-ncu":"^3.0.2","rc-config-loader":"^4.1.3",rfdc:"^1.4.1",rimraf:"^6.0.1","rollup-plugin-node-externals":"^8.1.1",semver:"^7.7.2","semver-utils":"^1.1.4",should:"^13.2.3",sinon:"^21.0.0","source-map-support":"^0.5.21","spawn-please":"^3.0.0","strip-ansi":"^7.1.2","ts-node":"^10.9.2",typescript:"^5.9.2","typescript-json-schema":"^0.65.1",untildify:"^4.0.0","update-notifier":"^7.3.1",verdaccio:"^6.1.6",vite:"^7.1.7","vite-bundle-analyzer":"^1.2.3","vite-node":"^3.2.4","vite-plugin-dts":"^4.5.4",yarn:"^1.22.22"},ux=["build","!**/test/**"],cx={"check-leaks":!0,extension:["test.ts"],require:["source-map-support/register","ts-node/register"],timeout:6e4,"trace-deprecation":!0,"trace-warnings":!0,use_strict:!0},As={name:WR,version:zR,author:VR,license:YR,contributors:KR,description:ZR,keywords:JR,engines:XR,main:QR,types:ex,scripts:tx,bin:rx,repository:ix,homepage:nx,bugs:sx,overrides:ox,devDependencies:ax,files:ux,"lockfile-lint":{"allowed-schemes":["https:","git+ssh:"],"allowed-hosts":["npm","github.com"],"empty-hostname":!1,type:"npm ",path:"package-lock.json"},mocha:cx};var la,g0;function sp(){if(g0)return la;g0=1;let e=[],r=0;const o=(i,s)=>{r>=s&&e.push(i)};return o.WARN=1,o.INFO=2,o.DEBUG=3,o.reset=()=>{e=[]},o.setDebugLevel=i=>{r=i},o.warn=i=>o(i,o.WARN),o.info=i=>o(i,o.INFO),o.debug=i=>o(i,o.DEBUG),o.debugMessages=()=>e,la=o,la}var Dn={exports:{}},ha,m0;function lx(){return m0||(m0=1,ha=({onlyFirst:e=!1}={})=>{const r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(r,e?void 0:"g")}),ha}var fa,y0;function hx(){if(y0)return fa;y0=1;const e=lx();return fa=r=>typeof r=="string"?r.replace(e(),""):r,fa}var En={exports:{}},v0;function z_(){if(v0)return En.exports;v0=1;const e=r=>Number.isNaN(r)?!1:r>=4352&&(r<=4447||r===9001||r===9002||11904<=r&&r<=12871&&r!==12351||12880<=r&&r<=19903||19968<=r&&r<=42182||43360<=r&&r<=43388||44032<=r&&r<=55203||63744<=r&&r<=64255||65040<=r&&r<=65049||65072<=r&&r<=65131||65281<=r&&r<=65376||65504<=r&&r<=65510||110592<=r&&r<=110593||127488<=r&&r<=127569||131072<=r&&r<=262141);return En.exports=e,En.exports.default=e,En.exports}var da,b0;function fx(){return b0||(b0=1,da=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}),da}var D0;function dx(){if(D0)return Dn.exports;D0=1;const e=hx(),r=z_(),o=fx(),i=s=>{if(typeof s!="string"||s.length===0||(s=e(s),s.length===0))return 0;s=s.replace(o()," ");let t=0;for(let n=0;n<s.length;n++){const c=s.codePointAt(n);c<=31||c>=127&&c<=159||c>=768&&c<=879||(c>65535&&n++,t+=r(c)?2:1)}return t};return Dn.exports=i,Dn.exports.default=i,Dn.exports}var pa,E0;function V_(){if(E0)return pa;E0=1;const e=dx();function r(E){return E?/\u001b\[((?:\d*;){0,5}\d*)m/g:/\u001b\[(?:\d*;){0,5}\d*m/g}function o(E){let S=r();return(""+E).replace(S,"").split(`
49
49
  `).reduce(function(F,$){return e($)>F?e($):F},0)}function i(E,S){return Array(S+1).join(E)}function s(E,S,A,C){let F=o(E);if(S+1>=F){let $=S-F;switch(C){case"right":{E=i(A,$)+E;break}case"center":{let k=Math.ceil($/2),B=$-k;E=i(A,B)+E+i(A,k);break}default:{E=E+i(A,$);break}}}return E}let t={};function n(E,S,A){S="\x1B["+S+"m",A="\x1B["+A+"m",t[S]={set:E,to:!0},t[A]={set:E,to:!1},t[E]={on:S,off:A}}n("bold",1,22),n("italics",3,23),n("underline",4,24),n("inverse",7,27),n("strikethrough",9,29);function c(E,S){let A=S[1]?parseInt(S[1].split(";")[0]):0;if(A>=30&&A<=39||A>=90&&A<=97){E.lastForegroundAdded=S[0];return}if(A>=40&&A<=49||A>=100&&A<=107){E.lastBackgroundAdded=S[0];return}if(A===0){for(let F in E)Object.prototype.hasOwnProperty.call(E,F)&&delete E[F];return}let C=t[S[0]];C&&(E[C.set]=C.to)}function a(E){let S=r(!0),A=S.exec(E),C={};for(;A!==null;)c(C,A),A=S.exec(E);return C}function l(E,S){let A=E.lastBackgroundAdded,C=E.lastForegroundAdded;return delete E.lastBackgroundAdded,delete E.lastForegroundAdded,Object.keys(E).forEach(function(F){E[F]&&(S+=t[F].off)}),A&&A!="\x1B[49m"&&(S+="\x1B[49m"),C&&C!="\x1B[39m"&&(S+="\x1B[39m"),S}function h(E,S){let A=E.lastBackgroundAdded,C=E.lastForegroundAdded;return delete E.lastBackgroundAdded,delete E.lastForegroundAdded,Object.keys(E).forEach(function(F){E[F]&&(S=t[F].on+S)}),A&&A!="\x1B[49m"&&(S=A+S),C&&C!="\x1B[39m"&&(S=C+S),S}function p(E,S){if(E.length===o(E))return E.substr(0,S);for(;o(E)>S;)E=E.slice(0,-1);return E}function f(E,S){let A=r(!0),C=E.split(r()),F=0,$=0,k="",B,I={};for(;$<S;){B=A.exec(E);let N=C[F];if(F++,$+o(N)>S&&(N=p(N,S-$)),k+=N,$+=o(N),$<S){if(!B)break;k+=B[0],c(I,B)}}return l(I,k)}function u(E,S,A){if(A=A||"…",o(E)<=S)return E;S-=o(A);let F=f(E,S);F+=A;const $="\x1B]8;;\x07";return E.includes($)&&!F.includes($)&&(F+=$),F}function d(){return{chars:{top:"─","top-mid":"┬","top-left":"┌","top-right":"┐",bottom:"─","bottom-mid":"┴","bottom-left":"└","bottom-right":"┘",left:"│","left-mid":"├",mid:"─","mid-mid":"┼",right:"│","right-mid":"┤",middle:"│"},truncate:"…",colWidths:[],rowHeights:[],colAligns:[],rowAligns:[],style:{"padding-left":1,"padding-right":1,head:["red"],border:["grey"],compact:!1},head:[]}}function g(E,S){E=E||{},S=S||d();let A=Object.assign({},S,E);return A.chars=Object.assign({},S.chars,E.chars),A.style=Object.assign({},S.style,E.style),A}function m(E,S){let A=[],C=S.split(/(\s+)/g),F=[],$=0,k;for(let B=0;B<C.length;B+=2){let I=C[B],N=$+o(I);$>0&&k&&(N+=k.length),N>E?($!==0&&A.push(F.join("")),F=[I],$=o(I)):(F.push(k||"",I),$=N),k=C[B+1]}return $&&A.push(F.join("")),A}function y(E,S){let A=[],C="";function F(k,B){for(C.length&&B&&(C+=B),C+=k;C.length>E;)A.push(C.slice(0,E)),C=C.slice(E)}let $=S.split(/(\s+)/g);for(let k=0;k<$.length;k+=2)F($[k],k&&$[k-1]);return C.length&&A.push(C),A}function D(E,S,A=!0){let C=[];S=S.split(`
50
50
  `);const F=A?m:y;for(let $=0;$<S.length;$++)C.push.apply(C,F(E,S[$]));return C}function v(E){let S={},A=[];for(let C=0;C<E.length;C++){let F=h(S,E[C]);S=a(F);let $=Object.assign({},S);A.push(l($,F))}return A}function b(E,S){const A="\x1B]",C="\x07",F=";";return[A,"8",F,F,E||S,C,S,A,"8",F,F,C].join("")}return pa={strlen:o,repeat:i,pad:s,truncate:u,mergeOptions:g,wordWrap:D,colorizeLines:v,hyperlink:b},pa}var ga={exports:{}},ci={exports:{}},ma={exports:{}},ya={exports:{}},va={exports:{}},w0;function px(){return w0||(w0=1,function(e){var r={};e.exports=r;var o={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],grey:[90,39],brightRed:[91,39],brightGreen:[92,39],brightYellow:[93,39],brightBlue:[94,39],brightMagenta:[95,39],brightCyan:[96,39],brightWhite:[97,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgGray:[100,49],bgGrey:[100,49],bgBrightRed:[101,49],bgBrightGreen:[102,49],bgBrightYellow:[103,49],bgBrightBlue:[104,49],bgBrightMagenta:[105,49],bgBrightCyan:[106,49],bgBrightWhite:[107,49],blackBG:[40,49],redBG:[41,49],greenBG:[42,49],yellowBG:[43,49],blueBG:[44,49],magentaBG:[45,49],cyanBG:[46,49],whiteBG:[47,49]};Object.keys(o).forEach(function(i){var s=o[i],t=r[i]=[];t.open="\x1B["+s[0]+"m",t.close="\x1B["+s[1]+"m"})}(va)),va.exports}var ba,_0;function gx(){return _0||(_0=1,ba=function(e,r){r=r||process.argv;var o=r.indexOf("--"),i=/^-{1,2}/.test(e)?"":"--",s=r.indexOf(i+e);return s!==-1&&(o===-1?!0:s<o)}),ba}var Da,S0;function mx(){if(S0)return Da;S0=1;var e=at,r=gx(),o=process.env,i=void 0;r("no-color")||r("no-colors")||r("color=false")?i=!1:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(i=!0),"FORCE_COLOR"in o&&(i=o.FORCE_COLOR.length===0||parseInt(o.FORCE_COLOR,10)!==0);function s(c){return c===0?!1:{level:c,hasBasic:!0,has256:c>=2,has16m:c>=3}}function t(c){if(i===!1)return 0;if(r("color=16m")||r("color=full")||r("color=truecolor"))return 3;if(r("color=256"))return 2;if(c&&!c.isTTY&&i!==!0)return 0;var a=i?1:0;if(process.platform==="win32"){var l=e.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(l[0])>=10&&Number(l[2])>=10586?Number(l[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(p){return p in o})||o.CI_NAME==="codeship"?1:a;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("TERM_PROGRAM"in o){var h=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return h>=3?3:2;case"Hyper":return 3;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:(o.TERM==="dumb",a)}function n(c){var a=t(c);return s(a)}return Da={supportsColor:n,stdout:n(process.stdout),stderr:n(process.stderr)},Da}var Ea={exports:{}},A0;function yx(){return A0||(A0=1,function(e){e.exports=function(o,i){var s="";o=o||"Run the trap, drop the bass",o=o.split("");var t={a:["@","Ą","Ⱥ","Ʌ","Δ","Λ","Д"],b:["ß","Ɓ","Ƀ","ɮ","β","฿"],c:["©","Ȼ","Ͼ"],d:["Ð","Ɗ","Ԁ","ԁ","Ԃ","ԃ"],e:["Ë","ĕ","Ǝ","ɘ","Σ","ξ","Ҽ","੬"],f:["Ӻ"],g:["ɢ"],h:["Ħ","ƕ","Ң","Һ","Ӈ","Ԋ"],i:["༏"],j:["Ĵ"],k:["ĸ","Ҡ","Ӄ","Ԟ"],l:["Ĺ"],m:["ʍ","Ӎ","ӎ","Ԡ","ԡ","൩"],n:["Ñ","ŋ","Ɲ","Ͷ","Π","Ҋ"],o:["Ø","õ","ø","Ǿ","ʘ","Ѻ","ם","۝","๏"],p:["Ƿ","Ҏ"],q:["্"],r:["®","Ʀ","Ȑ","Ɍ","ʀ","Я"],s:["§","Ϟ","ϟ","Ϩ"],t:["Ł","Ŧ","ͳ"],u:["Ʊ","Ս"],v:["ט"],w:["Ш","Ѡ","Ѽ","൰"],x:["Ҳ","Ӿ","Ӽ","ӽ"],y:["¥","Ұ","Ӌ"],z:["Ƶ","ɀ"]};return o.forEach(function(n){n=n.toLowerCase();var c=t[n]||[" "],a=Math.floor(Math.random()*c.length);typeof t[n]<"u"?s+=t[n][a]:s+=n}),s}}(Ea)),Ea.exports}var wa={exports:{}},C0;function vx(){return C0||(C0=1,function(e){e.exports=function(o,i){o=o||" he is here ";var s={up:["̍","̎","̄","̅","̿","̑","̆","̐","͒","͗","͑","̇","̈","̊","͂","̓","̈","͊","͋","͌","̃","̂","̌","͐","̀","́","̋","̏","̒","̓","̔","̽","̉","ͣ","ͤ","ͥ","ͦ","ͧ","ͨ","ͩ","ͪ","ͫ","ͬ","ͭ","ͮ","ͯ","̾","͛","͆","̚"],down:["̖","̗","̘","̙","̜","̝","̞","̟","̠","̤","̥","̦","̩","̪","̫","̬","̭","̮","̯","̰","̱","̲","̳","̹","̺","̻","̼","ͅ","͇","͈","͉","͍","͎","͓","͔","͕","͖","͙","͚","̣"],mid:["̕","̛","̀","́","͘","̡","̢","̧","̨","̴","̵","̶","͜","͝","͞","͟","͠","͢","̸","̷","͡"," ҉"]},t=[].concat(s.up,s.down,s.mid);function n(l){var h=Math.floor(Math.random()*l);return h}function c(l){var h=!1;return t.filter(function(p){h=p===l}),h}function a(l,h){var p="",f,u;h=h||{},h.up=typeof h.up<"u"?h.up:!0,h.mid=typeof h.mid<"u"?h.mid:!0,h.down=typeof h.down<"u"?h.down:!0,h.size=typeof h.size<"u"?h.size:"maxi",l=l.split("");for(u in l)if(!c(u)){switch(p=p+l[u],f={up:0,down:0,mid:0},h.size){case"mini":f.up=n(8),f.mid=n(2),f.down=n(8);break;case"maxi":f.up=n(16)+3,f.mid=n(4)+1,f.down=n(64)+3;break;default:f.up=n(8)+1,f.mid=n(6)/2,f.down=n(8)+1;break}var d=["up","mid","down"];for(var g in d)for(var m=d[g],y=0;y<=f[m];y++)h[m]&&(p=p+s[m][n(s[m].length)])}return p}return a(o,i)}}(wa)),wa.exports}var _a={exports:{}},R0;function bx(){return R0||(R0=1,function(e){e.exports=function(r){return function(o,i,s){if(o===" ")return o;switch(i%3){case 0:return r.red(o);case 1:return r.white(o);case 2:return r.blue(o)}}}}(_a)),_a.exports}var Sa={exports:{}},x0;function Dx(){return x0||(x0=1,function(e){e.exports=function(r){return function(o,i,s){return i%2===0?o:r.inverse(o)}}}(Sa)),Sa.exports}var Aa={exports:{}},F0;function Ex(){return F0||(F0=1,function(e){e.exports=function(r){var o=["red","yellow","green","blue","magenta"];return function(i,s,t){return i===" "?i:r[o[s++%o.length]](i)}}}(Aa)),Aa.exports}var Ca={exports:{}},O0;function wx(){return O0||(O0=1,function(e){e.exports=function(r){var o=["underline","inverse","grey","yellow","red","green","blue","white","cyan","magenta","brightYellow","brightRed","brightGreen","brightBlue","brightWhite","brightCyan","brightMagenta"];return function(i,s,t){return i===" "?i:r[o[Math.round(Math.random()*(o.length-2))]](i)}}}(Ca)),Ca.exports}var T0;function _x(){return T0||(T0=1,function(e){var r={};e.exports=r,r.themes={};var o=tr,i=r.styles=px(),s=Object.defineProperties,t=new RegExp(/[\r\n]+/g);r.supportsColor=mx().supportsColor,typeof r.enabled>"u"&&(r.enabled=r.supportsColor()!==!1),r.enable=function(){r.enabled=!0},r.disable=function(){r.enabled=!1},r.stripColors=r.strip=function(g){return(""+g).replace(/\x1B\[\d+m/g,"")},r.stylize=function(m,y){if(!r.enabled)return m+"";var D=i[y];return!D&&y in r?r[y](m):D.open+m+D.close};var n=/[|\\{}()[\]^$+*?.]/g,c=function(g){if(typeof g!="string")throw new TypeError("Expected a string");return g.replace(n,"\\$&")};function a(g){var m=function y(){return p.apply(y,arguments)};return m._styles=g,m.__proto__=h,m}var l=function(){var g={};return i.grey=i.gray,Object.keys(i).forEach(function(m){i[m].closeRe=new RegExp(c(i[m].close),"g"),g[m]={get:function(){return a(this._styles.concat(m))}}}),g}(),h=s(function(){},l);function p(){var g=Array.prototype.slice.call(arguments),m=g.map(function(E){return E!=null&&E.constructor===String?E:o.inspect(E)}).join(" ");if(!r.enabled||!m)return m;for(var y=m.indexOf(`
51
51
  `)!=-1,D=this._styles,v=D.length;v--;){var b=i[D[v]];m=b.open+m.replace(b.closeRe,b.open)+b.close,y&&(m=m.replace(t,function(E){return b.close+E+b.open}))}return m}r.setTheme=function(g){if(typeof g=="string"){console.log("colors.setTheme now only accepts an object, not a string. If you are trying to set a theme from a file, it is now your (the caller's) responsibility to require the file. The old syntax looked like colors.setTheme(__dirname + '/../themes/generic-logging.js'); The new syntax looks like colors.setTheme(require(__dirname + '/../themes/generic-logging.js'));");return}for(var m in g)(function(y){r[y]=function(D){if(typeof g[y]=="object"){var v=D;for(var b in g[y])v=r[g[y][b]](v);return v}return r[g[y]](D)}})(m)};function f(){var g={};return Object.keys(l).forEach(function(m){g[m]={get:function(){return a([m])}}}),g}var u=function(m,y){var D=y.split("");return D=D.map(m),D.join("")};r.trap=yx(),r.zalgo=vx(),r.maps={},r.maps.america=bx()(r),r.maps.zebra=Dx()(r),r.maps.rainbow=Ex()(r),r.maps.random=wx()(r);for(var d in r.maps)(function(g){r[g]=function(m){return u(r.maps[g],m)}})(d);s(r,f())}(ya)),ya.exports}var I0;function Sx(){return I0||(I0=1,function(e){var r=_x();e.exports=r}(ma)),ma.exports}var $0;function Ax(){if($0)return ci.exports;$0=1;const{info:e,debug:r}=sp(),o=V_();class i{constructor(f){this.setOptions(f),this.x=null,this.y=null}setOptions(f){["boolean","number","bigint","string"].indexOf(typeof f)!==-1&&(f={content:""+f}),f=f||{},this.options=f;let u=f.content;if(["boolean","number","bigint","string"].indexOf(typeof u)!==-1)this.content=String(u);else if(!u)this.content=this.options.href||"";else throw new Error("Content needs to be a primitive, got: "+typeof u);this.colSpan=f.colSpan||1,this.rowSpan=f.rowSpan||1,this.options.href&&Object.defineProperty(this,"href",{get(){return this.options.href}})}mergeTableOptions(f,u){this.cells=u;let d=this.options.chars||{},g=f.chars,m=this.chars={};h.forEach(function(v){c(d,g,v,m)}),this.truncate=this.options.truncate||f.truncate;let y=this.options.style=this.options.style||{},D=f.style;c(y,D,"padding-left",this),c(y,D,"padding-right",this),this.head=y.head||D.head,this.border=y.border||D.border,this.fixedWidth=f.colWidths[this.x],this.lines=this.computeLines(f),this.desiredWidth=o.strlen(this.content)+this.paddingLeft+this.paddingRight,this.desiredHeight=this.lines.length}computeLines(f){const u=f.wordWrap||f.textWrap,{wordWrap:d=u}=this.options;if(this.fixedWidth&&d){if(this.fixedWidth-=this.paddingLeft+this.paddingRight,this.colSpan){let y=1;for(;y<this.colSpan;)this.fixedWidth+=f.colWidths[this.x+y],y++}const{wrapOnWordBoundary:g=!0}=f,{wrapOnWordBoundary:m=g}=this.options;return this.wrapLines(o.wordWrap(this.fixedWidth,this.content,m))}return this.wrapLines(this.content.split(`
@@ -58,7 +58,7 @@ Filtered results for: ${this.inputValue?this.inputValue:e.gray("Enter something
58
58
  * Released under the MIT License.
59
59
  */var Tu,qm;function RF(){if(qm)return Tu;qm=1;var e=tt,r={__proto__:null};function o(a){return/^[a-f0-9]{40}$/i.test(a)}function i(a,l){var h=a.split("#"),p;return h.length>1&&(p=h[h.length-1]),!p&&l.hash&&l.hash.charAt(0)==="#"&&(p=l.hash.slice(1)),p||"master"}function s(a){return a.charAt(0)==="/"?a.slice(1):a}function t(a){return a?a.replace(/\.git$/,""):null}function n(a){if(!a)return null;var l=a.indexOf(":");return l>-1?a.slice(l+1):a}function c(a){if(typeof a!="string"||!a.length||a.indexOf("git@gist")!==-1||a.indexOf("//gist")!==-1)return null;var l=e.parse(a);if(typeof l.path!="string"||!l.path.length||typeof l.pathname!="string"||!l.pathname.length)return null;!l.host&&/^git@/.test(a)===!0&&(l.host=e.parse("http://"+a.replace(/git@([^:]+):/,"$1/")).host),l.path=s(l.path),l.pathname=s(l.pathname),l.filepath=null,l.path.indexOf("repos")===0&&(l.path=l.path.slice(6));var h=l.path.split("/").filter(Boolean),p=h[2]==="blob";p&&!o(h[3])&&(l.branch=h[3],h.length>4&&(l.filepath=h.slice(4).join("/")));var f=a.indexOf("blob");p&&f!==-1&&(l.blob=a.slice(f+5));var u=h[2]==="tree",d=a.indexOf("tree");if(u&&d!==-1){var g=d+5,m=a.slice(g),y=m.indexOf("/");y!==-1&&(m=m.slice(0,y)),l.branch=m}if(l.owner=n(h[0]),l.name=t(h[1]),h.length>1&&l.owner&&l.name)l.repo=l.owner+"/"+l.name;else{var D=l.href.split(":");if(D.length===2&&l.href.indexOf("//")===-1){l.repo=l.repo||D[D.length-1];var v=l.repo.split("/");l.owner=v[0],l.name=v[1]}else{var b=l.href.match(/\/([^/]*)$/);l.owner=b?b[1]:null,l.repo=null}if(l.repo&&(!l.owner||!l.name)){var E=l.repo.split("/");E.length===2&&(l.owner=E[0],l.name=E[1])}}return l.branch||(l.branch=h[2]||i(l.path,l),h.length>3&&(l.filepath=h.slice(3).join("/"))),l.host=l.host||"github.com",l.owner=l.owner||null,l.name=l.name||null,l.repository=l.repo,l}return Tu=function(l){return r[l]||(r[l]=c(l)),r[l]},Tu}var xF=RF();const tn=We(xF);var wn={exports:{}},Iu,Um;function Vs(){if(Um)return Iu;Um=1;const e="2.0.0",r=256,o=Number.MAX_SAFE_INTEGER||9007199254740991,i=16,s=r-6;return Iu={MAX_LENGTH:r,MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:s,MAX_SAFE_INTEGER:o,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Iu}var $u,Hm;function Ys(){return Hm||(Hm=1,$u=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{}),$u}var Gm;function rn(){return Gm||(Gm=1,function(e,r){const{MAX_SAFE_COMPONENT_LENGTH:o,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:s}=Vs(),t=Ys();r=e.exports={};const n=r.re=[],c=r.safeRe=[],a=r.src=[],l=r.safeSrc=[],h=r.t={};let p=0;const f="[a-zA-Z0-9-]",u=[["\\s",1],["\\d",s],[f,i]],d=m=>{for(const[y,D]of u)m=m.split(`${y}*`).join(`${y}{0,${D}}`).split(`${y}+`).join(`${y}{1,${D}}`);return m},g=(m,y,D)=>{const v=d(y),b=p++;t(m,b,y),h[m]=b,a[b]=y,l[b]=v,n[b]=new RegExp(y,D?"g":void 0),c[b]=new RegExp(v,D?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","\\d+"),g("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),g("MAINVERSION",`(${a[h.NUMERICIDENTIFIER]})\\.(${a[h.NUMERICIDENTIFIER]})\\.(${a[h.NUMERICIDENTIFIER]})`),g("MAINVERSIONLOOSE",`(${a[h.NUMERICIDENTIFIERLOOSE]})\\.(${a[h.NUMERICIDENTIFIERLOOSE]})\\.(${a[h.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASEIDENTIFIER",`(?:${a[h.NONNUMERICIDENTIFIER]}|${a[h.NUMERICIDENTIFIER]})`),g("PRERELEASEIDENTIFIERLOOSE",`(?:${a[h.NONNUMERICIDENTIFIER]}|${a[h.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASE",`(?:-(${a[h.PRERELEASEIDENTIFIER]}(?:\\.${a[h.PRERELEASEIDENTIFIER]})*))`),g("PRERELEASELOOSE",`(?:-?(${a[h.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[h.PRERELEASEIDENTIFIERLOOSE]})*))`),g("BUILDIDENTIFIER",`${f}+`),g("BUILD",`(?:\\+(${a[h.BUILDIDENTIFIER]}(?:\\.${a[h.BUILDIDENTIFIER]})*))`),g("FULLPLAIN",`v?${a[h.MAINVERSION]}${a[h.PRERELEASE]}?${a[h.BUILD]}?`),g("FULL",`^${a[h.FULLPLAIN]}$`),g("LOOSEPLAIN",`[v=\\s]*${a[h.MAINVERSIONLOOSE]}${a[h.PRERELEASELOOSE]}?${a[h.BUILD]}?`),g("LOOSE",`^${a[h.LOOSEPLAIN]}$`),g("GTLT","((?:<|>)?=?)"),g("XRANGEIDENTIFIERLOOSE",`${a[h.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),g("XRANGEIDENTIFIER",`${a[h.NUMERICIDENTIFIER]}|x|X|\\*`),g("XRANGEPLAIN",`[v=\\s]*(${a[h.XRANGEIDENTIFIER]})(?:\\.(${a[h.XRANGEIDENTIFIER]})(?:\\.(${a[h.XRANGEIDENTIFIER]})(?:${a[h.PRERELEASE]})?${a[h.BUILD]}?)?)?`),g("XRANGEPLAINLOOSE",`[v=\\s]*(${a[h.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[h.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[h.XRANGEIDENTIFIERLOOSE]})(?:${a[h.PRERELEASELOOSE]})?${a[h.BUILD]}?)?)?`),g("XRANGE",`^${a[h.GTLT]}\\s*${a[h.XRANGEPLAIN]}$`),g("XRANGELOOSE",`^${a[h.GTLT]}\\s*${a[h.XRANGEPLAINLOOSE]}$`),g("COERCEPLAIN",`(^|[^\\d])(\\d{1,${o}})(?:\\.(\\d{1,${o}}))?(?:\\.(\\d{1,${o}}))?`),g("COERCE",`${a[h.COERCEPLAIN]}(?:$|[^\\d])`),g("COERCEFULL",a[h.COERCEPLAIN]+`(?:${a[h.PRERELEASE]})?(?:${a[h.BUILD]})?(?:$|[^\\d])`),g("COERCERTL",a[h.COERCE],!0),g("COERCERTLFULL",a[h.COERCEFULL],!0),g("LONETILDE","(?:~>?)"),g("TILDETRIM",`(\\s*)${a[h.LONETILDE]}\\s+`,!0),r.tildeTrimReplace="$1~",g("TILDE",`^${a[h.LONETILDE]}${a[h.XRANGEPLAIN]}$`),g("TILDELOOSE",`^${a[h.LONETILDE]}${a[h.XRANGEPLAINLOOSE]}$`),g("LONECARET","(?:\\^)"),g("CARETTRIM",`(\\s*)${a[h.LONECARET]}\\s+`,!0),r.caretTrimReplace="$1^",g("CARET",`^${a[h.LONECARET]}${a[h.XRANGEPLAIN]}$`),g("CARETLOOSE",`^${a[h.LONECARET]}${a[h.XRANGEPLAINLOOSE]}$`),g("COMPARATORLOOSE",`^${a[h.GTLT]}\\s*(${a[h.LOOSEPLAIN]})$|^$`),g("COMPARATOR",`^${a[h.GTLT]}\\s*(${a[h.FULLPLAIN]})$|^$`),g("COMPARATORTRIM",`(\\s*)${a[h.GTLT]}\\s*(${a[h.LOOSEPLAIN]}|${a[h.XRANGEPLAIN]})`,!0),r.comparatorTrimReplace="$1$2$3",g("HYPHENRANGE",`^\\s*(${a[h.XRANGEPLAIN]})\\s+-\\s+(${a[h.XRANGEPLAIN]})\\s*$`),g("HYPHENRANGELOOSE",`^\\s*(${a[h.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[h.XRANGEPLAINLOOSE]})\\s*$`),g("STAR","(<|>)?=?\\s*\\*"),g("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),g("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(wn,wn.exports)),wn.exports}var ku,Wm;function lp(){if(Wm)return ku;Wm=1;const e=Object.freeze({loose:!0}),r=Object.freeze({});return ku=i=>i?typeof i!="object"?e:i:r,ku}var Bu,zm;function X_(){if(zm)return Bu;zm=1;const e=/^[0-9]+$/,r=(i,s)=>{const t=e.test(i),n=e.test(s);return t&&n&&(i=+i,s=+s),i===s?0:t&&!n?-1:n&&!t?1:i<s?-1:1};return Bu={compareIdentifiers:r,rcompareIdentifiers:(i,s)=>r(s,i)},Bu}var Pu,Vm;function dt(){if(Vm)return Pu;Vm=1;const e=Ys(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:o}=Vs(),{safeRe:i,t:s}=rn(),t=lp(),{compareIdentifiers:n}=X_();class c{constructor(l,h){if(h=t(h),l instanceof c){if(l.loose===!!h.loose&&l.includePrerelease===!!h.includePrerelease)return l;l=l.version}else if(typeof l!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof l}".`);if(l.length>r)throw new TypeError(`version is longer than ${r} characters`);e("SemVer",l,h),this.options=h,this.loose=!!h.loose,this.includePrerelease=!!h.includePrerelease;const p=l.trim().match(h.loose?i[s.LOOSE]:i[s.FULL]);if(!p)throw new TypeError(`Invalid Version: ${l}`);if(this.raw=l,this.major=+p[1],this.minor=+p[2],this.patch=+p[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");p[4]?this.prerelease=p[4].split(".").map(f=>{if(/^[0-9]+$/.test(f)){const u=+f;if(u>=0&&u<o)return u}return f}):this.prerelease=[],this.build=p[5]?p[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(l){if(e("SemVer.compare",this.version,this.options,l),!(l instanceof c)){if(typeof l=="string"&&l===this.version)return 0;l=new c(l,this.options)}return l.version===this.version?0:this.compareMain(l)||this.comparePre(l)}compareMain(l){return l instanceof c||(l=new c(l,this.options)),n(this.major,l.major)||n(this.minor,l.minor)||n(this.patch,l.patch)}comparePre(l){if(l instanceof c||(l=new c(l,this.options)),this.prerelease.length&&!l.prerelease.length)return-1;if(!this.prerelease.length&&l.prerelease.length)return 1;if(!this.prerelease.length&&!l.prerelease.length)return 0;let h=0;do{const p=this.prerelease[h],f=l.prerelease[h];if(e("prerelease compare",h,p,f),p===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(p===void 0)return-1;if(p===f)continue;return n(p,f)}while(++h)}compareBuild(l){l instanceof c||(l=new c(l,this.options));let h=0;do{const p=this.build[h],f=l.build[h];if(e("build compare",h,p,f),p===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(p===void 0)return-1;if(p===f)continue;return n(p,f)}while(++h)}inc(l,h,p){if(l.startsWith("pre")){if(!h&&p===!1)throw new Error("invalid increment argument: identifier is empty");if(h){const f=`-${h}`.match(this.options.loose?i[s.PRERELEASELOOSE]:i[s.PRERELEASE]);if(!f||f[1]!==h)throw new Error(`invalid identifier: ${h}`)}}switch(l){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",h,p);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",h,p);break;case"prepatch":this.prerelease.length=0,this.inc("patch",h,p),this.inc("pre",h,p);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",h,p),this.inc("pre",h,p);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const f=Number(p)?1:0;if(this.prerelease.length===0)this.prerelease=[f];else{let u=this.prerelease.length;for(;--u>=0;)typeof this.prerelease[u]=="number"&&(this.prerelease[u]++,u=-2);if(u===-1){if(h===this.prerelease.join(".")&&p===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(f)}}if(h){let u=[h,f];p===!1&&(u=[h]),n(this.prerelease[0],h)===0?isNaN(this.prerelease[1])&&(this.prerelease=u):this.prerelease=u}break}default:throw new Error(`invalid increment argument: ${l}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return Pu=c,Pu}var Lu,Ym;function ti(){if(Ym)return Lu;Ym=1;const e=dt();return Lu=(o,i,s=!1)=>{if(o instanceof e)return o;try{return new e(o,i)}catch(t){if(!s)return null;throw t}},Lu}var Nu,Km;function FF(){if(Km)return Nu;Km=1;const e=ti();return Nu=(o,i)=>{const s=e(o,i);return s?s.version:null},Nu}var Mu,Zm;function OF(){if(Zm)return Mu;Zm=1;const e=ti();return Mu=(o,i)=>{const s=e(o.trim().replace(/^[=v]+/,""),i);return s?s.version:null},Mu}var ju,Jm;function TF(){if(Jm)return ju;Jm=1;const e=dt();return ju=(o,i,s,t,n)=>{typeof s=="string"&&(n=t,t=s,s=void 0);try{return new e(o instanceof e?o.version:o,s).inc(i,t,n).version}catch{return null}},ju}var qu,Xm;function Q_(){if(Xm)return qu;Xm=1;const e=ti();return qu=(o,i)=>{const s=e(o,null,!0),t=e(i,null,!0),n=s.compare(t);if(n===0)return null;const c=n>0,a=c?s:t,l=c?t:s,h=!!a.prerelease.length;if(!!l.prerelease.length&&!h){if(!l.patch&&!l.minor)return"major";if(l.compareMain(a)===0)return l.minor&&!l.patch?"minor":"patch"}const f=h?"pre":"";return s.major!==t.major?f+"major":s.minor!==t.minor?f+"minor":s.patch!==t.patch?f+"patch":"prerelease"},qu}var Uu,Qm;function IF(){if(Qm)return Uu;Qm=1;const e=dt();return Uu=(o,i)=>new e(o,i).major,Uu}var Hu,ey;function $F(){if(ey)return Hu;ey=1;const e=dt();return Hu=(o,i)=>new e(o,i).minor,Hu}var Gu,ty;function kF(){if(ty)return Gu;ty=1;const e=dt();return Gu=(o,i)=>new e(o,i).patch,Gu}var Wu,ry;function BF(){if(ry)return Wu;ry=1;const e=ti();return Wu=(o,i)=>{const s=e(o,i);return s&&s.prerelease.length?s.prerelease:null},Wu}var zu,iy;function Nt(){if(iy)return zu;iy=1;const e=dt();return zu=(o,i,s)=>new e(o,s).compare(new e(i,s)),zu}var Vu,ny;function PF(){if(ny)return Vu;ny=1;const e=Nt();return Vu=(o,i,s)=>e(i,o,s),Vu}var Yu,sy;function LF(){if(sy)return Yu;sy=1;const e=Nt();return Yu=(o,i)=>e(o,i,!0),Yu}var Ku,oy;function hp(){if(oy)return Ku;oy=1;const e=dt();return Ku=(o,i,s)=>{const t=new e(o,s),n=new e(i,s);return t.compare(n)||t.compareBuild(n)},Ku}var Zu,ay;function NF(){if(ay)return Zu;ay=1;const e=hp();return Zu=(o,i)=>o.sort((s,t)=>e(s,t,i)),Zu}var Ju,uy;function MF(){if(uy)return Ju;uy=1;const e=hp();return Ju=(o,i)=>o.sort((s,t)=>e(t,s,i)),Ju}var Xu,cy;function nn(){if(cy)return Xu;cy=1;const e=Nt();return Xu=(o,i,s)=>e(o,i,s)>0,Xu}var Qu,ly;function fp(){if(ly)return Qu;ly=1;const e=Nt();return Qu=(o,i,s)=>e(o,i,s)<0,Qu}var ec,hy;function eS(){if(hy)return ec;hy=1;const e=Nt();return ec=(o,i,s)=>e(o,i,s)===0,ec}var tc,fy;function tS(){if(fy)return tc;fy=1;const e=Nt();return tc=(o,i,s)=>e(o,i,s)!==0,tc}var rc,dy;function dp(){if(dy)return rc;dy=1;const e=Nt();return rc=(o,i,s)=>e(o,i,s)>=0,rc}var ic,py;function pp(){if(py)return ic;py=1;const e=Nt();return ic=(o,i,s)=>e(o,i,s)<=0,ic}var nc,gy;function rS(){if(gy)return nc;gy=1;const e=eS(),r=tS(),o=nn(),i=dp(),s=fp(),t=pp();return nc=(c,a,l,h)=>{switch(a){case"===":return typeof c=="object"&&(c=c.version),typeof l=="object"&&(l=l.version),c===l;case"!==":return typeof c=="object"&&(c=c.version),typeof l=="object"&&(l=l.version),c!==l;case"":case"=":case"==":return e(c,l,h);case"!=":return r(c,l,h);case">":return o(c,l,h);case">=":return i(c,l,h);case"<":return s(c,l,h);case"<=":return t(c,l,h);default:throw new TypeError(`Invalid operator: ${a}`)}},nc}var sc,my;function jF(){if(my)return sc;my=1;const e=dt(),r=ti(),{safeRe:o,t:i}=rn();return sc=(t,n)=>{if(t instanceof e)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;n=n||{};let c=null;if(!n.rtl)c=t.match(n.includePrerelease?o[i.COERCEFULL]:o[i.COERCE]);else{const u=n.includePrerelease?o[i.COERCERTLFULL]:o[i.COERCERTL];let d;for(;(d=u.exec(t))&&(!c||c.index+c[0].length!==t.length);)(!c||d.index+d[0].length!==c.index+c[0].length)&&(c=d),u.lastIndex=d.index+d[1].length+d[2].length;u.lastIndex=-1}if(c===null)return null;const a=c[2],l=c[3]||"0",h=c[4]||"0",p=n.includePrerelease&&c[5]?`-${c[5]}`:"",f=n.includePrerelease&&c[6]?`+${c[6]}`:"";return r(`${a}.${l}.${h}${p}${f}`,n)},sc}var oc,yy;function qF(){if(yy)return oc;yy=1;class e{constructor(){this.max=1e3,this.map=new Map}get(o){const i=this.map.get(o);if(i!==void 0)return this.map.delete(o),this.map.set(o,i),i}delete(o){return this.map.delete(o)}set(o,i){if(!this.delete(o)&&i!==void 0){if(this.map.size>=this.max){const t=this.map.keys().next().value;this.delete(t)}this.map.set(o,i)}return this}}return oc=e,oc}var ac,vy;function Mt(){if(vy)return ac;vy=1;const e=/\s+/g;class r{constructor(j,L){if(L=s(L),j instanceof r)return j.loose===!!L.loose&&j.includePrerelease===!!L.includePrerelease?j:new r(j.raw,L);if(j instanceof t)return this.raw=j.value,this.set=[[j]],this.formatted=void 0,this;if(this.options=L,this.loose=!!L.loose,this.includePrerelease=!!L.includePrerelease,this.raw=j.trim().replace(e," "),this.set=this.raw.split("||").map(M=>this.parseRange(M.trim())).filter(M=>M.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const M=this.set[0];if(this.set=this.set.filter(O=>!g(O[0])),this.set.length===0)this.set=[M];else if(this.set.length>1){for(const O of this.set)if(O.length===1&&m(O[0])){this.set=[O];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let j=0;j<this.set.length;j++){j>0&&(this.formatted+="||");const L=this.set[j];for(let M=0;M<L.length;M++)M>0&&(this.formatted+=" "),this.formatted+=L[M].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(j){const M=((this.options.includePrerelease&&u)|(this.options.loose&&d))+":"+j,O=i.get(M);if(O)return O;const U=this.options.loose,T=U?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];j=j.replace(T,B(this.options.includePrerelease)),n("hyphen replace",j),j=j.replace(a[l.COMPARATORTRIM],h),n("comparator trim",j),j=j.replace(a[l.TILDETRIM],p),n("tilde trim",j),j=j.replace(a[l.CARETTRIM],f),n("caret trim",j);let w=j.split(" ").map(G=>D(G,this.options)).join(" ").split(/\s+/).map(G=>k(G,this.options));U&&(w=w.filter(G=>(n("loose invalid filter",G,this.options),!!G.match(a[l.COMPARATORLOOSE])))),n("range list",w);const x=new Map,z=w.map(G=>new t(G,this.options));for(const G of z){if(g(G))return[G];x.set(G.value,G)}x.size>1&&x.has("")&&x.delete("");const Y=[...x.values()];return i.set(M,Y),Y}intersects(j,L){if(!(j instanceof r))throw new TypeError("a Range is required");return this.set.some(M=>y(M,L)&&j.set.some(O=>y(O,L)&&M.every(U=>O.every(T=>U.intersects(T,L)))))}test(j){if(!j)return!1;if(typeof j=="string")try{j=new c(j,this.options)}catch{return!1}for(let L=0;L<this.set.length;L++)if(I(this.set[L],j,this.options))return!0;return!1}}ac=r;const o=qF(),i=new o,s=lp(),t=Ks(),n=Ys(),c=dt(),{safeRe:a,t:l,comparatorTrimReplace:h,tildeTrimReplace:p,caretTrimReplace:f}=rn(),{FLAG_INCLUDE_PRERELEASE:u,FLAG_LOOSE:d}=Vs(),g=N=>N.value==="<0.0.0-0",m=N=>N.value==="",y=(N,j)=>{let L=!0;const M=N.slice();let O=M.pop();for(;L&&M.length;)L=M.every(U=>O.intersects(U,j)),O=M.pop();return L},D=(N,j)=>(n("comp",N,j),N=S(N,j),n("caret",N),N=b(N,j),n("tildes",N),N=C(N,j),n("xrange",N),N=$(N,j),n("stars",N),N),v=N=>!N||N.toLowerCase()==="x"||N==="*",b=(N,j)=>N.trim().split(/\s+/).map(L=>E(L,j)).join(" "),E=(N,j)=>{const L=j.loose?a[l.TILDELOOSE]:a[l.TILDE];return N.replace(L,(M,O,U,T,w)=>{n("tilde",N,M,O,U,T,w);let x;return v(O)?x="":v(U)?x=`>=${O}.0.0 <${+O+1}.0.0-0`:v(T)?x=`>=${O}.${U}.0 <${O}.${+U+1}.0-0`:w?(n("replaceTilde pr",w),x=`>=${O}.${U}.${T}-${w} <${O}.${+U+1}.0-0`):x=`>=${O}.${U}.${T} <${O}.${+U+1}.0-0`,n("tilde return",x),x})},S=(N,j)=>N.trim().split(/\s+/).map(L=>A(L,j)).join(" "),A=(N,j)=>{n("caret",N,j);const L=j.loose?a[l.CARETLOOSE]:a[l.CARET],M=j.includePrerelease?"-0":"";return N.replace(L,(O,U,T,w,x)=>{n("caret",N,O,U,T,w,x);let z;return v(U)?z="":v(T)?z=`>=${U}.0.0${M} <${+U+1}.0.0-0`:v(w)?U==="0"?z=`>=${U}.${T}.0${M} <${U}.${+T+1}.0-0`:z=`>=${U}.${T}.0${M} <${+U+1}.0.0-0`:x?(n("replaceCaret pr",x),U==="0"?T==="0"?z=`>=${U}.${T}.${w}-${x} <${U}.${T}.${+w+1}-0`:z=`>=${U}.${T}.${w}-${x} <${U}.${+T+1}.0-0`:z=`>=${U}.${T}.${w}-${x} <${+U+1}.0.0-0`):(n("no pr"),U==="0"?T==="0"?z=`>=${U}.${T}.${w}${M} <${U}.${T}.${+w+1}-0`:z=`>=${U}.${T}.${w}${M} <${U}.${+T+1}.0-0`:z=`>=${U}.${T}.${w} <${+U+1}.0.0-0`),n("caret return",z),z})},C=(N,j)=>(n("replaceXRanges",N,j),N.split(/\s+/).map(L=>F(L,j)).join(" ")),F=(N,j)=>{N=N.trim();const L=j.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return N.replace(L,(M,O,U,T,w,x)=>{n("xRange",N,M,O,U,T,w,x);const z=v(U),Y=z||v(T),G=Y||v(w),re=G;return O==="="&&re&&(O=""),x=j.includePrerelease?"-0":"",z?O===">"||O==="<"?M="<0.0.0-0":M="*":O&&re?(Y&&(T=0),w=0,O===">"?(O=">=",Y?(U=+U+1,T=0,w=0):(T=+T+1,w=0)):O==="<="&&(O="<",Y?U=+U+1:T=+T+1),O==="<"&&(x="-0"),M=`${O+U}.${T}.${w}${x}`):Y?M=`>=${U}.0.0${x} <${+U+1}.0.0-0`:G&&(M=`>=${U}.${T}.0${x} <${U}.${+T+1}.0-0`),n("xRange return",M),M})},$=(N,j)=>(n("replaceStars",N,j),N.trim().replace(a[l.STAR],"")),k=(N,j)=>(n("replaceGTE0",N,j),N.trim().replace(a[j.includePrerelease?l.GTE0PRE:l.GTE0],"")),B=N=>(j,L,M,O,U,T,w,x,z,Y,G,re)=>(v(M)?L="":v(O)?L=`>=${M}.0.0${N?"-0":""}`:v(U)?L=`>=${M}.${O}.0${N?"-0":""}`:T?L=`>=${L}`:L=`>=${L}${N?"-0":""}`,v(z)?x="":v(Y)?x=`<${+z+1}.0.0-0`:v(G)?x=`<${z}.${+Y+1}.0-0`:re?x=`<=${z}.${Y}.${G}-${re}`:N?x=`<${z}.${Y}.${+G+1}-0`:x=`<=${x}`,`${L} ${x}`.trim()),I=(N,j,L)=>{for(let M=0;M<N.length;M++)if(!N[M].test(j))return!1;if(j.prerelease.length&&!L.includePrerelease){for(let M=0;M<N.length;M++)if(n(N[M].semver),N[M].semver!==t.ANY&&N[M].semver.prerelease.length>0){const O=N[M].semver;if(O.major===j.major&&O.minor===j.minor&&O.patch===j.patch)return!0}return!1}return!0};return ac}var uc,by;function Ks(){if(by)return uc;by=1;const e=Symbol("SemVer ANY");class r{static get ANY(){return e}constructor(h,p){if(p=o(p),h instanceof r){if(h.loose===!!p.loose)return h;h=h.value}h=h.trim().split(/\s+/).join(" "),n("comparator",h,p),this.options=p,this.loose=!!p.loose,this.parse(h),this.semver===e?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}parse(h){const p=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],f=h.match(p);if(!f)throw new TypeError(`Invalid comparator: ${h}`);this.operator=f[1]!==void 0?f[1]:"",this.operator==="="&&(this.operator=""),f[2]?this.semver=new c(f[2],this.options.loose):this.semver=e}toString(){return this.value}test(h){if(n("Comparator.test",h,this.options.loose),this.semver===e||h===e)return!0;if(typeof h=="string")try{h=new c(h,this.options)}catch{return!1}return t(h,this.operator,this.semver,this.options)}intersects(h,p){if(!(h instanceof r))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new a(h.value,p).test(this.value):h.operator===""?h.value===""?!0:new a(this.value,p).test(h.semver):(p=o(p),p.includePrerelease&&(this.value==="<0.0.0-0"||h.value==="<0.0.0-0")||!p.includePrerelease&&(this.value.startsWith("<0.0.0")||h.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&h.operator.startsWith(">")||this.operator.startsWith("<")&&h.operator.startsWith("<")||this.semver.version===h.semver.version&&this.operator.includes("=")&&h.operator.includes("=")||t(this.semver,"<",h.semver,p)&&this.operator.startsWith(">")&&h.operator.startsWith("<")||t(this.semver,">",h.semver,p)&&this.operator.startsWith("<")&&h.operator.startsWith(">")))}}uc=r;const o=lp(),{safeRe:i,t:s}=rn(),t=rS(),n=Ys(),c=dt(),a=Mt();return uc}var cc,Dy;function Zs(){if(Dy)return cc;Dy=1;const e=Mt();return cc=(o,i,s)=>{try{i=new e(i,s)}catch{return!1}return i.test(o)},cc}var lc,Ey;function UF(){if(Ey)return lc;Ey=1;const e=Mt();return lc=(o,i)=>new e(o,i).set.map(s=>s.map(t=>t.value).join(" ").trim().split(" ")),lc}var hc,wy;function HF(){if(wy)return hc;wy=1;const e=dt(),r=Mt();return hc=(i,s,t)=>{let n=null,c=null,a=null;try{a=new r(s,t)}catch{return null}return i.forEach(l=>{a.test(l)&&(!n||c.compare(l)===-1)&&(n=l,c=new e(n,t))}),n},hc}var fc,_y;function GF(){if(_y)return fc;_y=1;const e=dt(),r=Mt();return fc=(i,s,t)=>{let n=null,c=null,a=null;try{a=new r(s,t)}catch{return null}return i.forEach(l=>{a.test(l)&&(!n||c.compare(l)===1)&&(n=l,c=new e(n,t))}),n},fc}var dc,Sy;function WF(){if(Sy)return dc;Sy=1;const e=dt(),r=Mt(),o=nn();return dc=(s,t)=>{s=new r(s,t);let n=new e("0.0.0");if(s.test(n)||(n=new e("0.0.0-0"),s.test(n)))return n;n=null;for(let c=0;c<s.set.length;++c){const a=s.set[c];let l=null;a.forEach(h=>{const p=new e(h.semver.version);switch(h.operator){case">":p.prerelease.length===0?p.patch++:p.prerelease.push(0),p.raw=p.format();case"":case">=":(!l||o(p,l))&&(l=p);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${h.operator}`)}}),l&&(!n||o(n,l))&&(n=l)}return n&&s.test(n)?n:null},dc}var pc,Ay;function zF(){if(Ay)return pc;Ay=1;const e=Mt();return pc=(o,i)=>{try{return new e(o,i).range||"*"}catch{return null}},pc}var gc,Cy;function gp(){if(Cy)return gc;Cy=1;const e=dt(),r=Ks(),{ANY:o}=r,i=Mt(),s=Zs(),t=nn(),n=fp(),c=pp(),a=dp();return gc=(h,p,f,u)=>{h=new e(h,u),p=new i(p,u);let d,g,m,y,D;switch(f){case">":d=t,g=c,m=n,y=">",D=">=";break;case"<":d=n,g=a,m=t,y="<",D="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(h,p,u))return!1;for(let v=0;v<p.set.length;++v){const b=p.set[v];let E=null,S=null;if(b.forEach(A=>{A.semver===o&&(A=new r(">=0.0.0")),E=E||A,S=S||A,d(A.semver,E.semver,u)?E=A:m(A.semver,S.semver,u)&&(S=A)}),E.operator===y||E.operator===D||(!S.operator||S.operator===y)&&g(h,S.semver))return!1;if(S.operator===D&&m(h,S.semver))return!1}return!0},gc}var mc,Ry;function VF(){if(Ry)return mc;Ry=1;const e=gp();return mc=(o,i,s)=>e(o,i,">",s),mc}var yc,xy;function YF(){if(xy)return yc;xy=1;const e=gp();return yc=(o,i,s)=>e(o,i,"<",s),yc}var vc,Fy;function KF(){if(Fy)return vc;Fy=1;const e=Mt();return vc=(o,i,s)=>(o=new e(o,s),i=new e(i,s),o.intersects(i,s)),vc}var bc,Oy;function ZF(){if(Oy)return bc;Oy=1;const e=Zs(),r=Nt();return bc=(o,i,s)=>{const t=[];let n=null,c=null;const a=o.sort((f,u)=>r(f,u,s));for(const f of a)e(f,i,s)?(c=f,n||(n=f)):(c&&t.push([n,c]),c=null,n=null);n&&t.push([n,null]);const l=[];for(const[f,u]of t)f===u?l.push(f):!u&&f===a[0]?l.push("*"):u?f===a[0]?l.push(`<=${u}`):l.push(`${f} - ${u}`):l.push(`>=${f}`);const h=l.join(" || "),p=typeof i.raw=="string"?i.raw:String(i);return h.length<p.length?h:i},bc}var Dc,Ty;function JF(){if(Ty)return Dc;Ty=1;const e=Mt(),r=Ks(),{ANY:o}=r,i=Zs(),s=Nt(),t=(p,f,u={})=>{if(p===f)return!0;p=new e(p,u),f=new e(f,u);let d=!1;e:for(const g of p.set){for(const m of f.set){const y=a(g,m,u);if(d=d||y!==null,y)continue e}if(d)return!1}return!0},n=[new r(">=0.0.0-0")],c=[new r(">=0.0.0")],a=(p,f,u)=>{if(p===f)return!0;if(p.length===1&&p[0].semver===o){if(f.length===1&&f[0].semver===o)return!0;u.includePrerelease?p=n:p=c}if(f.length===1&&f[0].semver===o){if(u.includePrerelease)return!0;f=c}const d=new Set;let g,m;for(const C of p)C.operator===">"||C.operator===">="?g=l(g,C,u):C.operator==="<"||C.operator==="<="?m=h(m,C,u):d.add(C.semver);if(d.size>1)return null;let y;if(g&&m){if(y=s(g.semver,m.semver,u),y>0)return null;if(y===0&&(g.operator!==">="||m.operator!=="<="))return null}for(const C of d){if(g&&!i(C,String(g),u)||m&&!i(C,String(m),u))return null;for(const F of f)if(!i(C,String(F),u))return!1;return!0}let D,v,b,E,S=m&&!u.includePrerelease&&m.semver.prerelease.length?m.semver:!1,A=g&&!u.includePrerelease&&g.semver.prerelease.length?g.semver:!1;S&&S.prerelease.length===1&&m.operator==="<"&&S.prerelease[0]===0&&(S=!1);for(const C of f){if(E=E||C.operator===">"||C.operator===">=",b=b||C.operator==="<"||C.operator==="<=",g){if(A&&C.semver.prerelease&&C.semver.prerelease.length&&C.semver.major===A.major&&C.semver.minor===A.minor&&C.semver.patch===A.patch&&(A=!1),C.operator===">"||C.operator===">="){if(D=l(g,C,u),D===C&&D!==g)return!1}else if(g.operator===">="&&!i(g.semver,String(C),u))return!1}if(m){if(S&&C.semver.prerelease&&C.semver.prerelease.length&&C.semver.major===S.major&&C.semver.minor===S.minor&&C.semver.patch===S.patch&&(S=!1),C.operator==="<"||C.operator==="<="){if(v=h(m,C,u),v===C&&v!==m)return!1}else if(m.operator==="<="&&!i(m.semver,String(C),u))return!1}if(!C.operator&&(m||g)&&y!==0)return!1}return!(g&&b&&!m&&y!==0||m&&E&&!g&&y!==0||A||S)},l=(p,f,u)=>{if(!p)return f;const d=s(p.semver,f.semver,u);return d>0?p:d<0||f.operator===">"&&p.operator===">="?f:p},h=(p,f,u)=>{if(!p)return f;const d=s(p.semver,f.semver,u);return d<0?p:d>0||f.operator==="<"&&p.operator==="<="?f:p};return Dc=t,Dc}var Ec,Iy;function mp(){if(Iy)return Ec;Iy=1;const e=rn(),r=Vs(),o=dt(),i=X_(),s=ti(),t=FF(),n=OF(),c=TF(),a=Q_(),l=IF(),h=$F(),p=kF(),f=BF(),u=Nt(),d=PF(),g=LF(),m=hp(),y=NF(),D=MF(),v=nn(),b=fp(),E=eS(),S=tS(),A=dp(),C=pp(),F=rS(),$=jF(),k=Ks(),B=Mt(),I=Zs(),N=UF(),j=HF(),L=GF(),M=WF(),O=zF(),U=gp(),T=VF(),w=YF(),x=KF(),z=ZF(),Y=JF();return Ec={parse:s,valid:t,clean:n,inc:c,diff:a,major:l,minor:h,patch:p,prerelease:f,compare:u,rcompare:d,compareLoose:g,compareBuild:m,sort:y,rsort:D,gt:v,lt:b,eq:E,neq:S,gte:A,lte:C,cmp:F,coerce:$,Comparator:k,Range:B,satisfies:I,toComparators:N,maxSatisfying:j,minSatisfying:L,minVersion:M,validRange:O,outside:U,gtr:T,ltr:w,intersects:x,simplifyRange:z,subset:Y,SemVer:o,re:e.re,src:e.src,tokens:e.t,SEMVER_SPEC_VERSION:r.SEMVER_SPEC_VERSION,RELEASE_TYPES:r.RELEASE_TYPES,compareIdentifiers:i.compareIdentifiers,rcompareIdentifiers:i.rcompareIdentifiers},Ec}var Ge=mp();const Je=We(Ge);var Nr={},$y;function XF(){return $y||($y=1,function(){var e=/^v?((\d+)\.(\d+)\.(\d+))(?:-([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?(?:\+([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?$/,r=/\s*((\|\||\-)|(((?:(?:~?[<>]?)|\^?)=?)\s*(v)?([0-9]+)(\.(x|\*|[0-9]+))?(\.(x|\*|[0-9]+))?(([\-+])([a-zA-Z0-9\.-]+))?))\s*/g;function o(a){var l={};for(var h in a)typeof a[h]<"u"&&(l[h]=a[h]);return l}function i(a){var l="";return l+=a.major||"0",l+=".",l+=a.minor||"0",l+=".",l+=a.patch||"0",a.release&&(l+="-"+a.release),a.build&&(l+="+"+a.build),l}function s(a){var l="";function h(p){p.operator&&(l+=p.operator+" "),p.major&&(l+=p.toString()+" ")}return a.forEach(h),l.trim()}function t(a){if(a){var l=this;Object.keys(a).forEach(function(h){l[h]=a[h]})}}t.prototype.toString=function(){return i(this)};function n(a){var l=e.exec(a)||[],h=new t(o({semver:l[0],version:l[1],major:l[2],minor:l[3],patch:l[4],release:l[5],build:l[6]}));return l.length===0&&(h=null),h}function c(a){for(var l,h=[],p;l=r.exec(a);)p={semver:l[3],operator:l[4]||l[2],major:l[6],minor:l[8],patch:l[10]},l[12]==="+"&&(p.build=l[13]),l[12]==="-"&&(p.release=l[13]),h.push(new t(o(p)));return h}Nr.parse=n,Nr.stringify=i,Nr.parseRange=c,Nr.stringifyRange=s}()),Nr}var _t=XF();const Jr=We(_t);function Js(e,r){return e?e.map(o=>({item:o,key:r(o)})).sort((o,i)=>o.key>i.key?1:o.key<i.key?-1:0).map(({item:o})=>o):[]}const yp=["major","minor","patch"],iS=["release","build"],Kr=[...yp,...iS],QF={major:"",minor:".",patch:".",release:"-",build:"+"},nS="^",sS=["^","~",".*",".x"],e2=["^","~","^*","*","x","x.x","x.x.x"],t2=new RegExp(`^(${e2.join("|").replace(/\^/g,"\\^").replace(/\*/g,"\\*")})$`),oS=/^npm:(.*)@(.*)/;function r2(e){const[r]=Jr.parseRange(e);if(!r)throw new Error(tr.format('semverutils.parseRange returned null when trying to parse "%s". This is probably a problem with the "semver-utils" dependency. Please report an issue at https://github.com/raineorshine/npm-check-updates/issues.',e));return Kr.reduce((o,i)=>r[i]?o+1:o,0)}function Xr(e,r){return(r?Kr.slice(0,Kr.indexOf(r)+1):Kr).filter(i=>r&&yp.includes(r)||e[i]).map(i=>QF[i]+(e[i]||"0")).join("")}function i2(e){const[r]=Jr.parseRange(e);return Kr.slice().reverse().find(J_(r))}function n2(e,r){const[o]=Jr.parseRange(e);return Xr(o,r)}function s2(e,r){return r==="^"||r==="~"?r+e:n2(e,"major")+r}function vp(e){return t2.test(e)}function aS(e){return e==="*"||e==="x"}function o2(e,r){if(e===r)return"none";/^[~^]/.test(r)&&r[0]===e[0]&&(r=r.slice(1),e=e.slice(1));const o=r.split("."),i=e.split(".");let s=o.findIndex((t,n)=>t!==i[n]);return s=s>=0?s:o.length,o[0]==="0"?"majorVersionZero":s===0?"major":s===1?"minor":"patch"}function uS(e,r,o){const i=Me(e,(n,c,a)=>{const l=r[n],h=o2(l,c),p=o.groupFunction?.(n,h,_t.parseRange(l),_t.parseRange(c),_t.parse(e[n]))??h;return p==="none"?a:{...a,[p]:{...a[p],[n]:c}}}),s={patch:ce.green(ce.bold("Patch")+" Backwards-compatible bug fixes"),minor:ce.cyan(ce.bold("Minor")+" Backwards-compatible features"),major:ce.red(ce.bold("Major")+" Potentially breaking API changes"),majorVersionZero:ce.magenta(ce.bold("Major version zero")+" Anything may change")};return Array.from(new Set(["patch","minor","major","majorVersionZero",...Object.keys(i).sort()])).filter(n=>n in i).map(n=>({groupName:n,heading:n in s?s[n]:n,packages:i[n]}))}function bp(e,r){let o="";/^[~^]/.test(r)&&r[0]===e[0]&&(o=r[0],r=r.slice(1),e=e.slice(1));const i=r.split("."),s=e.split(".");let t=i.findIndex((a,l)=>a!==s[l]);t=t>=0?t:i.length;const n=t===0||i[0]==="0"?"red":t===1?"cyan":"green",c=t>0&&t<i.length?".":"";return o+i.slice(0,t).join(".")+c+ce[n](i.slice(t).join("."))}const ky=e=>{const r=Je.prerelease(e);return r&&r.slice(0,-1).join(".")};function a2(e,r){const o=ky(e),i=ky(r);return typeof o!="string"||typeof i!="string"||o===i}function Dp(e,r){return(Je.valid(e)&&Je.valid(r)?Je.gt(e,r):e>r)?1:e===r?0:-1}function Ep(e,r,o){if(!Je.validRange(r))return null;const i=Je.minVersion(r);return[...e].sort(Dp).filter(t=>{const n=Je.parse(t);return n&&(o==="major"||n.major===i?.major)&&(o==="major"||o==="minor"||n.minor===i?.minor)}).at(-1)||null}function sn(e){return i2(e)==="release"}const cS=e=>/^[vV]?\d+$/.test(e),lS=e=>/^[vV]?\d+\.\d+$/.test(e),u2=e=>e.replace(/^[vV]/,""),c2=e=>cS(e)?e+".0.0":e,l2=e=>lS(e)?e+".0":e,wp=e=>l2(c2(u2(e)));function hS(e){return e&&(e[0]==="v"||e[1]==="v")?"v":""}const fS=(e,r)=>`npm:${e}@${r}`,Vi=e=>{const r=e&&e.match&&e.match(oS);return r&&r.slice(1)},Ds=e=>e&&!!e.match(oS),h2=(e,r)=>{const o=Vi(e);return o?fS(o[0],r):null},Gi=e=>{if(!e)return!1;let r=null;try{r=tn(e)}catch{}if(!r||!r.branch)return!1;const o=decodeURIComponent(r.branch).replace(/^semver:/,"");return!!Je.validRange(o)},Ld=e=>{if(!e)return null;const r=tn(e);if(!r||!r.branch)return null;const o=decodeURIComponent(r.branch).replace(/^semver:/,"");return r&&r.branch&&Je.validRange(o)?o:null};function dS(e,r,o={}){if(o.wildcard=o.wildcard||nS,!r)return e;const[i]=Jr.parseRange(r);if(!i)return e;if(o.removeRange)return r;if(vp(e))return e;const s=Js(Jr.parseRange(e).filter(m=>m.operator!=="||"&&m.operator!=="-"),m=>r2(Xr(m))),[t]=s;function n(m){return(aS(t[m])?t[m]:yp.includes(m)&&t[m]||iS.includes(m)?i[m]:null)||null}const c=Me(Kr,m=>({[m]:n(m)})),a=Xr(c),l=hS(t.semver)+a,h=Array.from(new Set(s.map(m=>m.operator))),p=h[0]||"",f=sS.some(m=>a.includes(m)),u=h[0]==="<"||h[0]==="<=",d=h[0]===">",g=h.length>1;return!f&&(u||g)?s2(l,o.wildcard):(d?">=":p)+l}const f2=(e,r)=>{const o=hS(e);let i=o?o+r:r;return i=cS(e)?i.slice(0,i.length-4):i,i=lS(e)?i.slice(0,i.length-2):i,i},Xs=(e,r)=>{const o=wp(r),i=tn(e);if(!i)return e;const s=decodeURIComponent(i.branch).replace(/^semver:/,"");return e.replace(s,dS(s,f2(s,o)))},By={silent:0,error:1,minimal:2,warn:3,info:4,verbose:5,silly:6},d2=e=>!e.startsWith("file:")&&!e.startsWith("link:")&&!e.startsWith("workspace:")&&!/^[^/:@]+\/\w+/.test(e);function we(e,r,o=null,i="log"){!e.json&&e.loglevel!=="silent"&&(o==null||By[e.loglevel??"warn"]>=By[o])&&console[i](r)}function _p(e,r){e.loglevel!=="silent"&&console.log(JSON.stringify(r,null,2))}function p2(e,r){console.log(Object.keys(e).map(o=>o+"@"+e[o]).join(r))}function sr(e,r,o){const s=Object.keys(r).sort().reduce((t,n)=>(t[n]=r[n],t),{});we(e,s,o)}function Sp(e){const r=new op({colAligns:["left","right","right","right","left","left"],chars:{top:"","top-mid":"","top-left":"","top-right":"",bottom:"","bottom-mid":"","bottom-left":"","bottom-right":"",left:"","left-mid":"",mid:"","mid-mid":"",right:"","right-mid":"",middle:""}});return r.push(...e),r.toString().split(`
60
60
  `).map(o=>o.trimEnd()).join(`
61
- `)}function Py(e){return Gi(e)?Ld(e):Ds(e)?Vi(e)[1]:e}async function Nd({from:e,to:r,format:o,ownersChangedDeps:i,pkgFile:s,time:t}){const n=o?.includes("dep")&&s?JSON.parse(await Te.readFile(s,"utf-8")):null;return Sp(await Promise.all(Object.keys(r).sort().map(async a=>{const l=(o?.includes("installedVersion")?await Tx(a,void 0,{pkgFile:s}):e[a])||"",h=a in(n?.devDependencies??{})?"dev":a in(n?.peerDependencies??{})?"peer":a in(n?.optionalDependencies??{})?"optional":"",p=r[a]||"",f=Py(p),u=i?a in i?i[a]?"*owner changed*":"":"*unknown*":"",d=bp(Py(l),f),g=o?.includes("homepage")&&(await up(a,{pkgFile:s}))?.homepage||"",m=o?.includes("repo")&&await Nx(a,void 0,{pkgFile:s})||"",y=o?.includes("diff")?`https://my.diffend.io/npm/${a}/${l.replace(/^\W+/,"")}/${f.replace(/^\W+/,"")}`:"",D=o?.includes("time")&&t?.[a]?t[a]:"";return[a,...o?.includes("dep")?[h?ce.gray(h):""]:[],l,"→",d,u,...[g,m,y,D].filter(v=>v)]})))}async function g2({current:e,upgraded:r,ownersChangedDeps:o,pkgFile:i,time:s},t){if(t.format?.includes("group")){const n=uS(r,e,t);for(const{heading:c,packages:a}of n)we(t,`
61
+ `)}function Py(e){return Gi(e)?Ld(e):Ds(e)?Vi(e)[1]:e}async function Nd({from:e,to:r,format:o,ownersChangedDeps:i,pkgFile:s,time:t}){const n=o?.includes("dep")&&s?JSON.parse(await Te.readFile(s,"utf-8")):null;return Sp(await Promise.all(Object.keys(r).sort().map(async a=>{const l=(o?.includes("installedVersion")?await Tx(a,void 0,{pkgFile:s}):e[a])||"",h=a in(n?.devDependencies??{})?"dev":a in(n?.peerDependencies??{})?"peer":a in(n?.optionalDependencies??{})?"optional":"",p=r[a]||"",f=Py(p),u=i?a in i?i[a]?"*owner changed*":"":"*unknown*":"",d=bp(Py(l),f),g=o?.includes("homepage")&&(await up(a,{pkgFile:s}))?.homepage||"",m=o?.includes("repo")&&await Nx(a,void 0,{pkgFile:s})||"",y=o?.includes("diff")?`${process.env.NCU_DIFF||"https://npmdiff.dev"}/${a}/${l.replace(/^\W+/,"")}/${f.replace(/^\W+/,"")}`:"",D=o?.includes("time")&&t?.[a]?t[a]:"";return[a,...o?.includes("dep")?[h?ce.gray(h):""]:[],l,"→",d,u,...[g,m,y,D].filter(v=>v)]})))}async function g2({current:e,upgraded:r,ownersChangedDeps:o,pkgFile:i,time:s},t){if(t.format?.includes("group")){const n=uS(r,e,t);for(const{heading:c,packages:a}of n)we(t,`
62
62
  `+c),we(t,await Nd({from:e,to:a,format:t.format,ownersChangedDeps:o,pkgFile:i,time:s}))}else t.format?.includes("lines")?p2(r,`
63
63
  `):we(t,await Nd({from:e,to:r,format:t.format,ownersChangedDeps:o,pkgFile:i,time:s}))}function m2(e,r){if(r&&Object.keys(r).length>0){const o=new op({colAligns:["left","right","right","right","left","left"],chars:{top:"","top-mid":"","top-left":"","top-right":"",bottom:"","bottom-mid":"","bottom-left":"","bottom-right":"",left:"","left-mid":"",mid:"","mid-mid":"",right:"","right-mid":"",middle:""}});o.push(...Object.entries(r).map(([i,s])=>[i,ce.yellow(s)])),we(e,`
64
64
  `+o.toString())}}async function Ap(e,{current:r,latest:o,upgraded:i,total:s,ownersChangedDeps:t,pkgFile:n,time:c,errors:a}){e.format?.includes("group")||we(e,"");const l=ce.green.bold(":)"),h=Object.keys(a||{}).length,p=typeof e.target=="string"?e.target:"target",f=Object.keys(i).length;f===0&&s===0&&h===0?Object.keys(r).length===0?we(e,"No dependencies."):o&&Object.keys(o).length===0&&Object.values(Rr(r,(u,d)=>d2(d))).length>0?we(e,`No package versions were returned. This may be a problem with your installed ${e.packageManager}, the npm registry, or your Internet connection. Make sure ${ce.cyan("npx pacote packument ncu-test-v2")} is working before reporting an issue.`):e.global?we(e,`All global packages are up-to-date ${l}`):we(e,`All dependencies match the ${p} package versions ${l}`):f===0&&s>0?we(e,`No dependencies upgraded ${l}`):f>0&&await g2({current:r,upgraded:i,ownersChangedDeps:t,pkgFile:n,time:c},e),m2(e,a)}function y2(e,r){we(e,`