npm-check-updates 19.2.0 → 19.2.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 Vo=n,Vo}var Yo,Vg;function wR(){if(Vg)return Yo;Vg=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 Yo=n,Yo}var Ko,Yg;function _R(){return Yg||(Yg=1,Ko={TextPrompt:oR(),SelectPrompt:aR(),TogglePrompt:uR(),DatePrompt:vR(),NumberPrompt:bR(),MultiselectPrompt:U_(),AutocompletePrompt:DR(),AutocompleteMultiselectPrompt:ER(),ConfirmPrompt:wR()}),Ko}var Kg;function SR(){return Kg||(Kg=1,function(e){const r=e,o=_R(),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))}(yo)),yo}var Zo,Zg;function AR(){if(Zg)return Zo;Zg=1;const e=SR(),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 Zo=Object.assign(i,{prompt:i,prompts:e,inject:t,override:n}),Zo}var Jo,Jg;function CR(){return Jg||(Jg=1,Jo=AR()),Jo}var RR=CR();const ws=We(RR);var dr={exports:{}},Xo,Xg;function xR(){if(Xg)return Xo;Xg=1,Xo=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 Xo}var Qo,Qg;function FR(){if(Qg)return Qo;Qg=1,Qo=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 Qo}var ea,e0;function OR(){if(e0)return ea;e0=1;var e;process.platform==="win32"||qt.TESTING_WINDOWS?e=xR():e=FR(),ea=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 ea}var ta,t0;function TR(){if(t0)return ta;t0=1;const e=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",r=Ee,o=e?";":":",i=OR(),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 ta=n,n.sync=c,ta}var mn={exports:{}},r0;function IR(){if(r0)return mn.exports;r0=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 mn.exports=e,mn.exports.default=e,mn.exports}var ra,i0;function $R(){if(i0)return ra;i0=1;const e=Ee,r=TR(),o=IR();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 ra=s,ra}var yn={},n0;function BR(){if(n0)return yn;n0=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 yn.command=r,yn.argument=o,yn}var ia,s0;function kR(){return s0||(s0=1,ia=/^#!(.*)/),ia}var na,o0;function PR(){if(o0)return na;o0=1;const e=kR();return na=(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},na}var sa,a0;function LR(){if(a0)return sa;a0=1;const e=Ze,r=PR();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 sa=o,sa}var oa,u0;function NR(){if(u0)return oa;u0=1;const e=Ee,r=$R(),o=BR(),i=LR(),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 oa=l,oa}var aa,c0;function MR(){if(c0)return aa;c0=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 aa={hookChildProcess:o,verifyENOENT:i,verifyENOENTSync:s,notFoundError:r},aa}var l0;function jR(){if(l0)return dr.exports;l0=1;const e=k_,r=NR(),o=MR();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 ua,h0;function qR(){if(h0)return ua;h0=1;const e=jR();return ua=(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})})})},ua}var UR=qR();const yt=We(UR),HR="npm-check-updates",GR="19.2.0",WR="Tomas Junnonen <tomas1@gmail.com>",zR="Apache-2.0",VR=["Raine Revere (https://github.com/raineorshine)","Imamuzzaki Abu Salam <imamuzzaki@gmail.com>"],YR="Find newer versions of dependencies than what your package.json allows",KR=["dependencies","npm","package.json","update","upgrade","versions"],ZR={node:">=20.0.0",npm:">=8.12.1"},JR="build/index.js",XR="build/index.d.ts",QR={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"},ex={"npm-check-updates":"build/cli.js",ncu:"build/cli.js"},tx={type:"git",url:"git+https://github.com/raineorshine/npm-check-updates.git"},rx="https://github.com/raineorshine/npm-check-updates",ix={url:"https://github.com/raineorshine/npm-check-updates/issues"},nx={ip:"2.0.1",jsonparse:"https://github.com/ARitz-Cracker/jsonparse/tree/patch-1","@yarnpkg/parsers":"2.6.0"},sx={"@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"},ox=["build","!**/test/**"],ax={"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},_s={name:HR,version:GR,author:WR,license:zR,contributors:VR,description:YR,keywords:KR,engines:ZR,main:JR,types:XR,scripts:QR,bin:ex,repository:tx,homepage:rx,bugs:ix,overrides:nx,devDependencies:sx,files:ox,"lockfile-lint":{"allowed-schemes":["https:","git+ssh:"],"allowed-hosts":["npm","github.com"],"empty-hostname":!1,type:"npm ",path:"package-lock.json"},mocha:ax};var ca,f0;function np(){if(f0)return ca;f0=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,ca=o,ca}var vn={exports:{}},la,d0;function ux(){return d0||(d0=1,la=({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")}),la}var ha,p0;function cx(){if(p0)return ha;p0=1;const e=ux();return ha=r=>typeof r=="string"?r.replace(e(),""):r,ha}var bn={exports:{}},g0;function H_(){if(g0)return bn.exports;g0=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 bn.exports=e,bn.exports.default=e,bn.exports}var fa,m0;function lx(){return m0||(m0=1,fa=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}),fa}var y0;function hx(){if(y0)return vn.exports;y0=1;const e=cx(),r=H_(),o=lx(),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 vn.exports=i,vn.exports.default=i,vn.exports}var da,v0;function G_(){if(v0)return da;v0=1;const e=hx();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 Yo=n,Yo}var Ko,Yg;function _R(){return Yg||(Yg=1,Ko={TextPrompt:oR(),SelectPrompt:aR(),TogglePrompt:uR(),DatePrompt:vR(),NumberPrompt:bR(),MultiselectPrompt:U_(),AutocompletePrompt:DR(),AutocompleteMultiselectPrompt:ER(),ConfirmPrompt:wR()}),Ko}var Kg;function SR(){return Kg||(Kg=1,function(e){const r=e,o=_R(),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))}(yo)),yo}var Zo,Zg;function AR(){if(Zg)return Zo;Zg=1;const e=SR(),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 Zo=Object.assign(i,{prompt:i,prompts:e,inject:t,override:n}),Zo}var Jo,Jg;function CR(){return Jg||(Jg=1,Jo=AR()),Jo}var RR=CR();const ws=We(RR);var dr={exports:{}},Xo,Xg;function xR(){if(Xg)return Xo;Xg=1,Xo=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 Xo}var Qo,Qg;function FR(){if(Qg)return Qo;Qg=1,Qo=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 Qo}var ea,e0;function OR(){if(e0)return ea;e0=1;var e;process.platform==="win32"||qt.TESTING_WINDOWS?e=xR():e=FR(),ea=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 ea}var ta,t0;function TR(){if(t0)return ta;t0=1;const e=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",r=Ee,o=e?";":":",i=OR(),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 ta=n,n.sync=c,ta}var mn={exports:{}},r0;function IR(){if(r0)return mn.exports;r0=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 mn.exports=e,mn.exports.default=e,mn.exports}var ra,i0;function $R(){if(i0)return ra;i0=1;const e=Ee,r=TR(),o=IR();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 ra=s,ra}var yn={},n0;function BR(){if(n0)return yn;n0=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 yn.command=r,yn.argument=o,yn}var ia,s0;function kR(){return s0||(s0=1,ia=/^#!(.*)/),ia}var na,o0;function PR(){if(o0)return na;o0=1;const e=kR();return na=(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},na}var sa,a0;function LR(){if(a0)return sa;a0=1;const e=Ze,r=PR();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 sa=o,sa}var oa,u0;function NR(){if(u0)return oa;u0=1;const e=Ee,r=$R(),o=BR(),i=LR(),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 oa=l,oa}var aa,c0;function MR(){if(c0)return aa;c0=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 aa={hookChildProcess:o,verifyENOENT:i,verifyENOENTSync:s,notFoundError:r},aa}var l0;function jR(){if(l0)return dr.exports;l0=1;const e=k_,r=NR(),o=MR();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 ua,h0;function qR(){if(h0)return ua;h0=1;const e=jR();return ua=(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})})})},ua}var UR=qR();const yt=We(UR),HR="npm-check-updates",GR="19.2.1",WR="Tomas Junnonen <tomas1@gmail.com>",zR="Apache-2.0",VR=["Raine Revere (https://github.com/raineorshine)","Imamuzzaki Abu Salam <imamuzzaki@gmail.com>"],YR="Find newer versions of dependencies than what your package.json allows",KR=["dependencies","npm","package.json","update","upgrade","versions"],ZR={node:">=20.0.0",npm:">=8.12.1"},JR="build/index.js",XR="build/index.d.ts",QR={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"},ex={"npm-check-updates":"build/cli.js",ncu:"build/cli.js"},tx={type:"git",url:"git+https://github.com/raineorshine/npm-check-updates.git"},rx="https://github.com/raineorshine/npm-check-updates",ix={url:"https://github.com/raineorshine/npm-check-updates/issues"},nx={ip:"2.0.1",jsonparse:"https://github.com/ARitz-Cracker/jsonparse/tree/patch-1","@yarnpkg/parsers":"2.6.0"},sx={"@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"},ox=["build","!**/test/**"],ax={"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},_s={name:HR,version:GR,author:WR,license:zR,contributors:VR,description:YR,keywords:KR,engines:ZR,main:JR,types:XR,scripts:QR,bin:ex,repository:tx,homepage:rx,bugs:ix,overrides:nx,devDependencies:sx,files:ox,"lockfile-lint":{"allowed-schemes":["https:","git+ssh:"],"allowed-hosts":["npm","github.com"],"empty-hostname":!1,type:"npm ",path:"package-lock.json"},mocha:ax};var ca,f0;function np(){if(f0)return ca;f0=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,ca=o,ca}var vn={exports:{}},la,d0;function ux(){return d0||(d0=1,la=({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")}),la}var ha,p0;function cx(){if(p0)return ha;p0=1;const e=ux();return ha=r=>typeof r=="string"?r.replace(e(),""):r,ha}var bn={exports:{}},g0;function H_(){if(g0)return bn.exports;g0=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 bn.exports=e,bn.exports.default=e,bn.exports}var fa,m0;function lx(){return m0||(m0=1,fa=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}),fa}var y0;function hx(){if(y0)return vn.exports;y0=1;const e=cx(),r=H_(),o=lx(),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 vn.exports=i,vn.exports.default=i,vn.exports}var da,v0;function G_(){if(v0)return da;v0=1;const e=hx();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 B=Math.ceil($/2),k=$-B;E=i(A,k)+E+i(A,B);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,B="",k,I={};for(;$<S;){k=A.exec(E);let N=C[F];if(F++,$+o(N)>S&&(N=p(N,S-$)),B+=N,$+=o(N),$<S){if(!k)break;B+=k[0],c(I,k)}}return l(I,B)}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,B;for(let k=0;k<C.length;k+=2){let I=C[k],N=$+o(I);$>0&&B&&(N+=B.length),N>E?($!==0&&A.push(F.join("")),F=[I],$=o(I)):(F.push(B||"",I),$=N),B=C[k+1]}return $&&A.push(F.join("")),A}function y(E,S){let A=[],C="";function F(B,k){for(C.length&&k&&(C+=k),C+=B;C.length>E;)A.push(C.slice(0,E)),C=C.slice(E)}let $=S.split(/(\s+)/g);for(let B=0;B<$.length;B+=2)F($[B],B&&$[B-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 da={strlen:o,repeat:i,pad:s,truncate:u,mergeOptions:g,wordWrap:D,colorizeLines:v,hyperlink:b},da}var pa={exports:{}},ci={exports:{}},ga={exports:{}},ma={exports:{}},ya={exports:{}},b0;function fx(){return b0||(b0=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"})}(ya)),ya.exports}var va,D0;function dx(){return D0||(D0=1,va=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)}),va}var ba,E0;function px(){if(E0)return ba;E0=1;var e=at,r=dx(),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 ba={supportsColor:n,stdout:n(process.stdout),stderr:n(process.stderr)},ba}var Da={exports:{}},w0;function gx(){return w0||(w0=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}}(Da)),Da.exports}var Ea={exports:{}},_0;function mx(){return _0||(_0=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)}}(Ea)),Ea.exports}var wa={exports:{}},S0;function yx(){return S0||(S0=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)}}}}(wa)),wa.exports}var _a={exports:{}},A0;function vx(){return A0||(A0=1,function(e){e.exports=function(r){return function(o,i,s){return i%2===0?o:r.inverse(o)}}}(_a)),_a.exports}var Sa={exports:{}},C0;function bx(){return C0||(C0=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)}}}(Sa)),Sa.exports}var Aa={exports:{}},R0;function Dx(){return R0||(R0=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)}}}(Aa)),Aa.exports}var x0;function Ex(){return x0||(x0=1,function(e){var r={};e.exports=r,r.themes={};var o=tr,i=r.styles=fx(),s=Object.defineProperties,t=new RegExp(/[\r\n]+/g);r.supportsColor=px().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=gx(),r.zalgo=mx(),r.maps={},r.maps.america=yx()(r),r.maps.zebra=vx()(r),r.maps.rainbow=bx()(r),r.maps.random=Dx()(r);for(var d in r.maps)(function(g){r[g]=function(m){return u(r.maps[g],m)}})(d);s(r,f())}(ma)),ma.exports}var F0;function wx(){return F0||(F0=1,function(e){var r=Ex();e.exports=r}(ga)),ga.exports}var O0;function _x(){if(O0)return ci.exports;O0=1;const{info:e,debug:r}=np(),o=G_();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(`
@@ -652,8 +652,8 @@ Current versions:`,"verbose"),we(e,s,"verbose"),e.enginesNode&&(e.nodeEngineVers
652
652
  upgradedPeerDependencies:`,"verbose"),we(e,c,"verbose")),we(e,`
653
653
  ${typeof e.target=="string"?`${e.target[0].toUpperCase()}${e.target.slice(1)}`:"Fetched"} versions:`,"verbose"),we(e,a,"verbose"),we(e,`
654
654
  Upgraded versions:`,"verbose"),we(e,t,"verbose");const p=e.minimal?Me(t,(y,D)=>Je.satisfies(a[y],s[y])?null:{[y]:D}):t,f=(e.format||[]).includes("ownerChanged")?await qB(s,p,e):void 0,u=e.interactive?await UB(s,p,o,e):p;if(!e.json||e.deep){if(await _p(e.interactive?{...e,format:(e.format||[]).filter(y=>y!=="group")}:e,{current:s,upgraded:u,total:Object.keys(t).length,latest:n,ownersChangedDeps:f,pkgFile:o||void 0,errors:l,time:h}),e.peer){const y=await BB(s,t,c,e);Object.keys(y).length>0&&g2(e,y)}if(e.enginesNode){const y=await $B(s,t,e);Object.keys(y).length>0&&m2(e,y)}}const d=await lC(r,s,u,e,o||void 0),g=e.jsonAll?kd(d):e.jsonDeps?cB(kd(d),tg(e.dep)):u;let m;if(e.json&&!e.deep&&Ep(e,g),Object.keys(p).length>0&&o)if(e.upgrade)m=Ie.writeFile(o.replace("#catalog",""),d);else{const y=process.env.npm_lifecycle_event==="npx"?"npx npm-check-updates":"ncu",D=process.argv.slice(2).map(E=>E.includes(" ")?`"${E}"`:E).join(" "),v=D&&" "+D,b=`
655
- Run ${ce.cyan(`${y}${v} -u`)} to upgrade ${e.packageFile||"package.json"}`;we(e,b)}return await m,g}function HB(e){return e}process.env.INJECT_PROMPTS&&ws.inject(JSON.parse(process.env.INJECT_PROMPTS));let zC=!1;process.on("unhandledRejection",e=>{console.error(e),zC=!0});const GB=e=>{e.global&&(process.env.VOLTA_HOME||process.env.PATH?.includes("\\Volta"))&&(we(e,"It appears you are using Volta. `npm-check-updates --global` cannot be used with Volta because Volta has its own system for managing global packages which circumvents npm.\n\nIf you are still receiving this message after uninstalling Volta, ensure your PATH does not contain an entry for Volta and your shell profile does not define VOLTA_HOME. You may need to reboot for changes to your shell profile to take effect.","error"),process.exit(1))},B_=async(e,r)=>{const o={...e,cwd:e.cwd||Ee.resolve(r,".."),packageFile:r};return e.packageManager==="staticRegistry"?await Md({...o,packageManager:void 0}):e.packageManager&&e.packageManager!=="npm"?e.packageManager:await Md(o)},VC=(e,r)=>{const o=e.length===1?{[e[0]]:r}:r;return Object.values(o).some(i=>Object.keys(i).length>0)},WB=async(e,r,o)=>{if(o.install==="never"){we(o,"");return}if(!VC(e,r))return;const i=await B_(o,e[0]),s=`Run ${ce.cyan(i+" install")}${e.length>1&&!o.workspace&&!o.workspaces?" in each project directory":""} to install new versions`,t=o.interactive&&(process.env.NCU_TESTS||!process.env.NCU_DOCTOR);let n;if(t&&o.install==="prompt"&&(we(o,""),n=await ws({type:"confirm",name:"value",message:`${s}?`,initial:!0,onState:c=>{c.aborted&&process.nextTick(()=>process.exit(1))}})),o.install==="always"||t&&n.value){o.install==="always"&&we(o,""),we(o,"Installing dependencies...");const a=o.workspaces||!!o.workspace?.length?["package.json"]:e;for await(const l of a){const h=await B_(o,l),p=h+(process.platform==="win32"&&h!=="bun"?".cmd":""),f=o.cwd||Ee.resolve(l,"..");let u="";try{await yt(p,["install"],{stdout:d=>{u+=d},stderr:d=>{console.error(ce.red(d.toString()))}},{cwd:f,env:{...process.env,...o.color!==!1?{FORCE_COLOR:!0}:null,...h==="pnpm"?{npm_config_strict_peer_dependencies:!1}:null}}),we(o,u),we(o,"Done")}catch(d){throw new Error(d?.message||d||u)}}}else t||we(o,`
656
- ${s}.`)};async function zB(e,r){const[o,i]=await a6(e),s=o.map(c=>c.filepath),t=e.workspaces||!!e.workspace?.length;e.deep=e.deep||t||o.length>1;let n;if(e.global){const c=await RB(e);return clearTimeout(r),c}else if(e.deep)n=await o.reduce(async(c,a)=>{const l=await c;let p=(await jC({packageFile:a.filepath,options:e})).config;e.mergeConfig&&Object.keys(p).length&&(p=G6(e,p));const f={...e,...p,packageFile:a.filepath,workspacePackages:i};let u,d,g;if(a.filepath.includes("#")||a.name==="catalogs"){u=a.pkgFile,d=a.filepath,g=a.filepath.includes("#catalog")?a.filepath.replace("#catalog",""):a.filepath;const m=Ee.resolve(g);we(f,`${f.upgrade?"Upgrading":"Checking"} ${m} catalog dependencies`)}else{const m=await $s(f);u=m.pkgData,d=m.pkgFile||a.filepath,g=d}return{...l,[f.cwd?Ee.relative(Ee.resolve(f.cwd),g).replace(/\\/g,"/"):g]:await $_(f,u,d)}},Promise.resolve({})),e.json&&Ep(e,n);else{o.length===1&&o[0].filepath!==(e.packageFile||"package.json")&&(e.packageFile=o[0].filepath);const{pkgData:c,pkgFile:a}=await $s(e);n=await $_(e,c,a)}return clearTimeout(r),e.errorLevel===2&&VC(s,n)&&Pe(e,`
655
+ Run ${ce.cyan(`${y}${v} -u`)} to upgrade ${e.packageFile||"package.json"}`;we(e,b)}return await m,g}function HB(e){return e}process.env.INJECT_PROMPTS&&ws.inject(JSON.parse(process.env.INJECT_PROMPTS));let zC=!1;process.on("unhandledRejection",e=>{console.error(e),zC=!0});const GB=e=>{e.global&&(process.env.VOLTA_HOME||process.env.PATH?.includes("\\Volta"))&&(we(e,"It appears you are using Volta. `npm-check-updates --global` cannot be used with Volta because Volta has its own system for managing global packages which circumvents npm.\n\nIf you are still receiving this message after uninstalling Volta, ensure your PATH does not contain an entry for Volta and your shell profile does not define VOLTA_HOME. You may need to reboot for changes to your shell profile to take effect.","error"),process.exit(1))},B_=async(e,r)=>{const o={...e,cwd:e.cwd||Ee.resolve(r,".."),packageFile:r};return e.packageManager==="staticRegistry"?await Md({...o,packageManager:void 0}):e.packageManager&&e.packageManager!=="npm"?e.packageManager:await Md(o)},VC=(e,r,o)=>{const i=!o.deep&&!o.workspaces&&!o.workspace?{[e[0]]:r}:r;return Object.values(i).some(s=>Object.keys(s).length>0)},WB=async(e,r,o)=>{if(o.install==="never"){we(o,"");return}if(!VC(e,r,o))return;const i=await B_(o,e[0]),s=`Run ${ce.cyan(i+" install")}${e.length>1&&!o.workspace&&!o.workspaces?" in each project directory":""} to install new versions`,t=o.interactive&&(process.env.NCU_TESTS||!process.env.NCU_DOCTOR);let n;if(t&&o.install==="prompt"&&(we(o,""),n=await ws({type:"confirm",name:"value",message:`${s}?`,initial:!0,onState:c=>{c.aborted&&process.nextTick(()=>process.exit(1))}})),o.install==="always"||t&&n.value){o.install==="always"&&we(o,""),we(o,"Installing dependencies...");const a=o.workspaces||!!o.workspace?.length?["package.json"]:e;for await(const l of a){const h=await B_(o,l),p=h+(process.platform==="win32"&&h!=="bun"?".cmd":""),f=o.cwd||Ee.resolve(l,"..");let u="";try{await yt(p,["install"],{stdout:d=>{u+=d},stderr:d=>{console.error(ce.red(d.toString()))}},{cwd:f,env:{...process.env,...o.color!==!1?{FORCE_COLOR:!0}:null,...h==="pnpm"?{npm_config_strict_peer_dependencies:!1}:null}}),we(o,u),we(o,"Done")}catch(d){throw new Error(d?.message||d||u)}}}else t||we(o,`
656
+ ${s}.`)};async function zB(e,r){const[o,i]=await a6(e),s=o.map(c=>c.filepath),t=e.workspaces||!!e.workspace?.length;e.deep=e.deep||t||o.length>1;let n;if(e.global){const c=await RB(e);return clearTimeout(r),c}else if(e.deep)n=await o.reduce(async(c,a)=>{const l=await c;let p=(await jC({packageFile:a.filepath,options:e})).config;e.mergeConfig&&Object.keys(p).length&&(p=G6(e,p));const f={...e,...p,packageFile:a.filepath,workspacePackages:i};let u,d,g;if(a.filepath.includes("#")||a.name==="catalogs"){u=a.pkgFile,d=a.filepath,g=a.filepath.includes("#catalog")?a.filepath.replace("#catalog",""):a.filepath;const m=Ee.resolve(g);we(f,`${f.upgrade?"Upgrading":"Checking"} ${m} catalog dependencies`)}else{const m=await $s(f);u=m.pkgData,d=m.pkgFile||a.filepath,g=d}return{...l,[f.cwd?Ee.relative(Ee.resolve(f.cwd),g).replace(/\\/g,"/"):g]:await $_(f,u,d)}},Promise.resolve({})),e.json&&Ep(e,n);else{o.length===1&&o[0].filepath!==(e.packageFile||"package.json")&&(e.packageFile=o[0].filepath);const{pkgData:c,pkgFile:a}=await $s(e);n=await $_(e,c,a)}return clearTimeout(r),e.errorLevel===2&&VC(s,n,e)&&Pe(e,`
657
657
  Dependencies not up-to-date`),e.upgrade&&(e.packageManager==="deno"?we(e,""):await WB(s,n,e)),n}async function gg(e={},{cli:r}={}){const o=await U6(e,{cli:r}),i=_s.bugs.url;process.on("exit",()=>{zC&&Pe(o,`Unhandled Rejection! This is a bug and should be reported: ${i}`)}),await op(o.color),GB(o),we(o,"Initializing","verbose"),o.cacheClear&&await b2(o);let s,t=new Promise(()=>null);if(o.timeout){const n=typeof o.timeout=="string"?Number.parseInt(o.timeout,10):o.timeout;t=new Promise((c,a)=>{s=setTimeout(()=>{const l=`Exceeded global timeout of ${n}ms`;a(l);try{Pe(o,l)}catch{}},n)})}if(o.doctor){if(o.upgrade)return Promise.race([t,t$(gg,o)]);{const n=typeof xr.doctor.help=="function"?xr.doctor.help({}):xr.doctor.help;we(o,`Usage: ncu --doctor
658
658
 
659
659
  ${n}`,"warn")}}else return Promise.race([t,zB(o,s)])}exports.chalkInit=op;exports.cliOptionsSorted=bs;exports.commonjsGlobal=qt;exports.default=gg;exports.defineConfig=HB;exports.getDefaultExportFromCjs=We;exports.getNcuRc=jC;exports.pickBy=Ir;exports.pkg=_s;exports.renderExtendedHelp=A2;exports.requireDiff=J_;exports.requireGt=tn;exports.requireIsFullwidthCodePoint=H_;exports.run=gg;exports.semver=Je;