UNPKG

@bring-it/npm

Version:
1 lines 142 kB
export const __webpack_id__=502;export const __webpack_ids__=[502];export const __webpack_modules__={32:(e,t,r)=>{const n=r(6999),o=r(229),i=r(2771),s=r(3436),a=r(1289),c=r(9140),l=r(9903),d=r(826),u=r(2223),p=r(4247),f=r(5363),m=r(7148),h=r(3306),b=r(5469),g=r(1861),y=r(6002),w=r(4104),E=r(7256),v=r(4240),S=r(7743),I=r(8200),$=r(1314),T=r(7238),x=r(236),O=r(3765),N=r(3566),R=r(5585),D=r(9003),A=r(2326),L=r(4163),M=r(4678),C=r(9313),P=r(3835),j=r(898),B=r(1913),k=r(6640),U=r(6460),F=r(1573),G=r(7713),_=r(2468),W=r(2809);e.exports={parse:a,valid:c,clean:l,inc:d,diff:u,major:p,minor:f,patch:m,prerelease:h,compare:b,rcompare:g,compareLoose:y,compareBuild:w,sort:E,rsort:v,gt:S,lt:I,eq:$,neq:T,gte:x,lte:O,cmp:N,coerce:R,Comparator:D,Range:A,satisfies:L,toComparators:M,maxSatisfying:C,minSatisfying:P,minVersion:j,validRange:B,outside:k,gtr:U,ltr:F,intersects:G,simplifyRange:_,subset:W,SemVer:i,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}},229:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},236:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>n(e,t,r)>=0},442:e=>{const t="win32"===process.platform;function r(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function n(e,n){return t&&1===e&&!n.file?r(n.original,"spawn"):null}e.exports={hookChildProcess:function(e,r){if(!t)return;const o=e.emit;e.emit=function(t,i){if("exit"===t){const t=n(i,r);if(t)return o.call(e,"error",t)}return o.apply(e,arguments)}},verifyENOENT:n,verifyENOENTSync:function(e,n){return t&&1===e&&!n.file?r(n.original,"spawnSync"):null},notFoundError:r}},600:(e,t,r)=>{const n=r(7257);e.exports=(e="")=>{const t=e.match(n);if(!t)return null;const[r,o]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?o:o?`${i} ${o}`:i}},709:(e,t,r)=>{e.exports=o,o.sync=function(e,t){return i(n.statSync(e),t)};var n=r(9896);function o(e,t,r){n.stat(e,function(e,n){r(e,!e&&i(n,t))})}function i(e,t){return e.isFile()&&function(e,t){var r=e.mode,n=e.uid,o=e.gid,i=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),s=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8);return r&parseInt("001",8)||r&c&&o===s||r&a&&n===i||r&(a|c)&&0===i}(e,t)}},826:(e,t,r)=>{const n=r(2771);e.exports=(e,t,r,o,i)=>{"string"==typeof r&&(i=o,o=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,o,i).version}catch(e){return null}}},898:(e,t,r)=>{const n=r(2771),o=r(2326),i=r(7743);e.exports=(e,t)=>{e=new o(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t<e.set.length;++t){const o=e.set[t];let s=null;o.forEach(e=>{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":s&&!i(t,s)||(s=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}),!s||r&&!i(r,s)||(r=s)}return r&&e.test(r)?r:null}},1289:(e,t,r)=>{const n=r(2771);e.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}},1314:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>0===n(e,t,r)},1573:(e,t,r)=>{const n=r(6640);e.exports=(e,t,r)=>n(e,t,"<",r)},1861:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>n(t,e,r)},1880:(e,t,r)=>{const n=r(9896),o=r(600);e.exports=function(e){const t=Buffer.alloc(150);let r;try{r=n.openSync(e,"r"),n.readSync(r,t,0,150,0),n.closeSync(r)}catch(e){}return o(t.toString())}},1905:(e,t,r)=>{const n="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,o=r(6928),i=n?";":":",s=r(9344),a=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),c=(e,t)=>{const r=t.colon||i,o=e.match(/\//)||n&&e.match(/\\/)?[""]:[...n?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],s=n?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",a=n?s.split(r):[""];return n&&-1!==e.indexOf(".")&&""!==a[0]&&a.unshift(""),{pathEnv:o,pathExt:a,pathExtExe:s}},l=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const{pathEnv:n,pathExt:i,pathExtExe:l}=c(e,t),d=[],u=r=>new Promise((i,s)=>{if(r===n.length)return t.all&&d.length?i(d):s(a(e));const c=n[r],l=/^".*"$/.test(c)?c.slice(1,-1):c,u=o.join(l,e),f=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;i(p(f,r,0))}),p=(e,r,n)=>new Promise((o,a)=>{if(n===i.length)return o(u(r+1));const c=i[n];s(e+c,{pathExt:l},(i,s)=>{if(!i&&s){if(!t.all)return o(e+c);d.push(e+c)}return o(p(e,r,n+1))})});return r?u(0).then(e=>r(null,e),r):u(0)};e.exports=l,l.sync=(e,t)=>{t=t||{};const{pathEnv:r,pathExt:n,pathExtExe:i}=c(e,t),l=[];for(let a=0;a<r.length;a++){const c=r[a],d=/^".*"$/.test(c)?c.slice(1,-1):c,u=o.join(d,e),p=!d&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;for(let e=0;e<n.length;e++){const r=p+n[e];try{if(s.sync(r,{pathExt:i})){if(!t.all)return r;l.push(r)}}catch(e){}}}if(t.all&&l.length)return l;if(t.nothrow)return null;throw a(e)}},1913:(e,t,r)=>{const n=r(2326);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},2077:e=>{const t=/([()\][%!^"`<>&|;, *?])/g;e.exports.command=function(e){return e.replace(t,"^$1")},e.exports.argument=function(e,r){return e=(e=`"${e=(e=(e=`${e}`).replace(/(?=(\\+?)?)\1"/g,'$1$1\\"')).replace(/(?=(\\+?)?)\1$/,"$1$1")}"`).replace(t,"^$1"),r&&(e=e.replace(t,"^$1")),e}},2223:(e,t,r)=>{const n=r(1289);e.exports=(e,t)=>{const r=n(e,null,!0),o=n(t,null,!0),i=r.compare(o);if(0===i)return null;const s=i>0,a=s?r:o,c=s?o:r,l=!!a.prerelease.length;if(c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(0===c.compareMain(a))return c.minor&&!c.patch?"minor":"patch"}const d=l?"pre":"";return r.major!==o.major?d+"major":r.minor!==o.minor?d+"minor":r.patch!==o.patch?d+"patch":"prerelease"}},2326:(e,t,r)=>{const n=/\s+/g;class o{constructor(e,t){if(t=s(t),e instanceof o)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new o(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(n," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!g(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&y(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&h)|(this.options.loose&&b))+":"+e,r=i.get(t);if(r)return r;const n=this.options.loose,o=n?d[u.HYPHENRANGELOOSE]:d[u.HYPHENRANGE];e=e.replace(o,D(this.options.includePrerelease)),c("hyphen replace",e),e=e.replace(d[u.COMPARATORTRIM],p),c("comparator trim",e),e=e.replace(d[u.TILDETRIM],f),c("tilde trim",e),e=e.replace(d[u.CARETTRIM],m),c("caret trim",e);let s=e.split(" ").map(e=>E(e,this.options)).join(" ").split(/\s+/).map(e=>R(e,this.options));n&&(s=s.filter(e=>(c("loose invalid filter",e,this.options),!!e.match(d[u.COMPARATORLOOSE])))),c("range list",s);const l=new Map,y=s.map(e=>new a(e,this.options));for(const e of y){if(g(e))return[e];l.set(e.value,e)}l.size>1&&l.has("")&&l.delete("");const w=[...l.values()];return i.set(t,w),w}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Range is required");return this.set.some(r=>w(r,t)&&e.set.some(e=>w(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(A(this.set[t],e,this.options))return!0;return!1}}e.exports=o;const i=new(r(2351)),s=r(2860),a=r(9003),c=r(4159),l=r(2771),{safeRe:d,t:u,comparatorTrimReplace:p,tildeTrimReplace:f,caretTrimReplace:m}=r(6999),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:b}=r(229),g=e=>"<0.0.0-0"===e.value,y=e=>""===e.value,w=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every(e=>o.intersects(e,t)),o=n.pop();return r},E=(e,t)=>(c("comp",e,t),e=$(e,t),c("caret",e),e=S(e,t),c("tildes",e),e=x(e,t),c("xrange",e),e=N(e,t),c("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,S=(e,t)=>e.trim().split(/\s+/).map(e=>I(e,t)).join(" "),I=(e,t)=>{const r=t.loose?d[u.TILDELOOSE]:d[u.TILDE];return e.replace(r,(t,r,n,o,i)=>{let s;return c("tilde",e,t,r,n,o,i),v(r)?s="":v(n)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:v(o)?s=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:i?(c("replaceTilde pr",i),s=`>=${r}.${n}.${o}-${i} <${r}.${+n+1}.0-0`):s=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,c("tilde return",s),s})},$=(e,t)=>e.trim().split(/\s+/).map(e=>T(e,t)).join(" "),T=(e,t)=>{c("caret",e,t);const r=t.loose?d[u.CARETLOOSE]:d[u.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,o,i,s)=>{let a;return c("caret",e,t,r,o,i,s),v(r)?a="":v(o)?a=`>=${r}.0.0${n} <${+r+1}.0.0-0`:v(i)?a="0"===r?`>=${r}.${o}.0${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${n} <${+r+1}.0.0-0`:s?(c("replaceCaret pr",s),a="0"===r?"0"===o?`>=${r}.${o}.${i}-${s} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}-${s} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i}-${s} <${+r+1}.0.0-0`):(c("no pr"),a="0"===r?"0"===o?`>=${r}.${o}.${i}${n} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i} <${+r+1}.0.0-0`),c("caret return",a),a})},x=(e,t)=>(c("replaceXRanges",e,t),e.split(/\s+/).map(e=>O(e,t)).join(" ")),O=(e,t)=>{e=e.trim();const r=t.loose?d[u.XRANGELOOSE]:d[u.XRANGE];return e.replace(r,(r,n,o,i,s,a)=>{c("xRange",e,r,n,o,i,s,a);const l=v(o),d=l||v(i),u=d||v(s),p=u;return"="===n&&p&&(n=""),a=t.includePrerelease?"-0":"",l?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(d&&(i=0),s=0,">"===n?(n=">=",d?(o=+o+1,i=0,s=0):(i=+i+1,s=0)):"<="===n&&(n="<",d?o=+o+1:i=+i+1),"<"===n&&(a="-0"),r=`${n+o}.${i}.${s}${a}`):d?r=`>=${o}.0.0${a} <${+o+1}.0.0-0`:u&&(r=`>=${o}.${i}.0${a} <${o}.${+i+1}.0-0`),c("xRange return",r),r})},N=(e,t)=>(c("replaceStars",e,t),e.trim().replace(d[u.STAR],"")),R=(e,t)=>(c("replaceGTE0",e,t),e.trim().replace(d[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),D=e=>(t,r,n,o,i,s,a,c,l,d,u,p)=>`${r=v(n)?"":v(o)?`>=${n}.0.0${e?"-0":""}`:v(i)?`>=${n}.${o}.0${e?"-0":""}`:s?`>=${r}`:`>=${r}${e?"-0":""}`} ${c=v(l)?"":v(d)?`<${+l+1}.0.0-0`:v(u)?`<${l}.${+d+1}.0-0`:p?`<=${l}.${d}.${u}-${p}`:e?`<${l}.${d}.${+u+1}-0`:`<=${c}`}`.trim(),A=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(c(e[r].semver),e[r].semver!==a.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},2351:e=>{e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},2468:(e,t,r)=>{const n=r(4163),o=r(5469);e.exports=(e,t,r)=>{const i=[];let s=null,a=null;const c=e.sort((e,t)=>o(e,t,r));for(const e of c)n(e,t,r)?(a=e,s||(s=e)):(a&&i.push([s,a]),a=null,s=null);s&&i.push([s,null]);const l=[];for(const[e,t]of i)e===t?l.push(e):t||e!==c[0]?t?e===c[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");const d=l.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return d.length<u.length?d:t}},2771:(e,t,r)=>{const n=r(4159),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(229),{safeRe:s,t:a}=r(6999),c=r(2860),{compareIdentifiers:l}=r(3436);class d{constructor(e,t){if(t=c(t),e instanceof d){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof d)){if("string"==typeof e&&e===this.version)return 0;e=new d(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof d||(e=new d(e,this.options)),l(this.major,e.major)||l(this.minor,e.minor)||l(this.patch,e.patch)}comparePre(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return l(r,o)}while(++t)}compareBuild(e){e instanceof d||(e=new d(e,this.options));let t=0;do{const r=this.build[t],o=e.build[t];if(n("build compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return l(r,o)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?s[a.PRERELEASELOOSE]:s[a.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===l(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=d},2809:(e,t,r)=>{const n=r(2326),o=r(9003),{ANY:i}=o,s=r(4163),a=r(5469),c=[new o(">=0.0.0-0")],l=[new o(">=0.0.0")],d=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?c:l}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=l}const n=new Set;let o,d,f,m,h,b,g;for(const t of e)">"===t.operator||">="===t.operator?o=u(o,t,r):"<"===t.operator||"<="===t.operator?d=p(d,t,r):n.add(t.semver);if(n.size>1)return null;if(o&&d){if(f=a(o.semver,d.semver,r),f>0)return null;if(0===f&&(">="!==o.operator||"<="!==d.operator))return null}for(const e of n){if(o&&!s(e,String(o),r))return null;if(d&&!s(e,String(d),r))return null;for(const n of t)if(!s(e,String(n),r))return!1;return!0}let y=!(!d||r.includePrerelease||!d.semver.prerelease.length)&&d.semver,w=!(!o||r.includePrerelease||!o.semver.prerelease.length)&&o.semver;y&&1===y.prerelease.length&&"<"===d.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,b=b||"<"===e.operator||"<="===e.operator,o)if(w&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===w.major&&e.semver.minor===w.minor&&e.semver.patch===w.patch&&(w=!1),">"===e.operator||">="===e.operator){if(m=u(o,e,r),m===e&&m!==o)return!1}else if(">="===o.operator&&!s(o.semver,String(e),r))return!1;if(d)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(h=p(d,e,r),h===e&&h!==d)return!1}else if("<="===d.operator&&!s(d.semver,String(e),r))return!1;if(!e.operator&&(d||o)&&0!==f)return!1}return!(o&&b&&!d&&0!==f||d&&g&&!o&&0!==f||w||y)},u=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},p=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let o=!1;e:for(const n of e.set){for(const e of t.set){const t=d(n,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},2860:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},3306:(e,t,r)=>{const n=r(1289);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},3436:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),o=t.test(r);return n&&o&&(e=+e,r=+r),e===r?0:n&&!o?-1:o&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},3533:e=>{const{hasOwnProperty:t}=Object.prototype,r=(e,t={})=>{"string"==typeof t&&(t={section:t}),t.align=!0===t.align,t.newline=!0===t.newline,t.sort=!0===t.sort,t.whitespace=!0===t.whitespace||!0===t.align,t.platform=t.platform||"undefined"!=typeof process&&process.platform,t.bracketedArray=!1!==t.bracketedArray;const o="win32"===t.platform?"\r\n":"\n",i=t.whitespace?" = ":"=",a=[],c=t.sort?Object.keys(e).sort():Object.keys(e);let l=0;t.align&&(l=s(c.filter(t=>null===e[t]||Array.isArray(e[t])||"object"!=typeof e[t]).map(t=>Array.isArray(e[t])?`${t}[]`:t).concat([""]).reduce((e,t)=>s(e).length>=s(t).length?e:t)).length);let d="";const u=t.bracketedArray?"[]":"";for(const t of c){const r=e[t];if(r&&Array.isArray(r))for(const e of r)d+=s(`${t}${u}`).padEnd(l," ")+i+s(e)+o;else r&&"object"==typeof r?a.push(t):d+=s(t).padEnd(l," ")+i+s(r)+o}t.section&&d.length&&(d="["+s(t.section)+"]"+(t.newline?o+o:o)+d);for(const i of a){const s=n(i,".").join("\\."),a=(t.section?t.section+".":"")+s,c=r(e[i],{...t,section:a});d.length&&c.length&&(d+=o),d+=c}return d};function n(e,t){var r=0,n=0,o=0,i=[];do{if(-1!==(o=e.indexOf(t,r))){if(r=o+t.length,o>0&&"\\"===e[o-1])continue;i.push(e.slice(n,o)),n=o+t.length}}while(-1!==o);return i.push(e.slice(n)),i}const o=(e,r={})=>{r.bracketedArray=!1!==r.bracketedArray;const o=Object.create(null);let i=o,s=null;const c=/^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i,l=e.split(/[\r\n]+/g),d={};for(const e of l){if(!e||e.match(/^\s*[;#]/)||e.match(/^\s*$/))continue;const n=e.match(c);if(!n)continue;if(void 0!==n[1]){if(s=a(n[1]),"__proto__"===s){i=Object.create(null);continue}i=o[s]=o[s]||Object.create(null);continue}const l=a(n[2]);let u;r.bracketedArray?u=l.length>2&&"[]"===l.slice(-2):(d[l]=(d?.[l]||0)+1,u=d[l]>1);const p=u&&l.endsWith("[]")?l.slice(0,-2):l;if("__proto__"===p)continue;const f=!n[3]||a(n[4]),m="true"===f||"false"===f||"null"===f?JSON.parse(f):f;u&&(t.call(i,p)?Array.isArray(i[p])||(i[p]=[i[p]]):i[p]=[]),Array.isArray(i[p])?i[p].push(m):i[p]=m}const u=[];for(const e of Object.keys(o)){if(!t.call(o,e)||"object"!=typeof o[e]||Array.isArray(o[e]))continue;const r=n(e,".");i=o;const s=r.pop(),a=s.replace(/\\\./g,".");for(const e of r)"__proto__"!==e&&(t.call(i,e)&&"object"==typeof i[e]||(i[e]=Object.create(null)),i=i[e]);i===o&&a===s||(i[a]=o[e],u.push(e))}for(const e of u)delete o[e];return o},i=e=>e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"),s=e=>"string"!=typeof e||e.match(/[=\r\n]/)||e.match(/^\[/)||e.length>1&&i(e)||e!==e.trim()?JSON.stringify(e):e.split(";").join("\\;").split("#").join("\\#"),a=e=>{if(e=(e||"").trim(),!i(e)){let t=!1,r="";for(let n=0,o=e.length;n<o;n++){const o=e.charAt(n);if(t)-1!=="\\;#".indexOf(o)?r+=o:r+="\\"+o,t=!1;else{if(-1!==";#".indexOf(o))break;"\\"===o?t=!0:r+=o}}return t&&(r+="\\"),r.trim()}"'"===e.charAt(0)&&(e=e.slice(1,-1));try{e=JSON.parse(e)}catch{}return e};e.exports={parse:o,decode:o,stringify:r,encode:r,safe:s,unsafe:a}},3566:(e,t,r)=>{const n=r(1314),o=r(7238),i=r(7743),s=r(236),a=r(8200),c=r(3765);e.exports=(e,t,r,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,l);case"!=":return o(e,r,l);case">":return i(e,r,l);case">=":return s(e,r,l);case"<":return a(e,r,l);case"<=":return c(e,r,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},3765:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>n(e,t,r)<=0},3803:(e,t,r)=>{const n=r(6928),o=r(1905),i=r(9695);function s(e,t){const r=e.options.env||process.env,s=process.cwd(),a=null!=e.options.cwd,c=a&&void 0!==process.chdir&&!process.chdir.disabled;if(c)try{process.chdir(e.options.cwd)}catch(e){}let l;try{l=o.sync(e.command,{path:r[i({env:r})],pathExt:t?n.delimiter:void 0})}catch(e){}finally{c&&process.chdir(s)}return l&&(l=n.resolve(a?e.options.cwd:"",l)),l}e.exports=function(e){return s(e)||s(e,!0)}},3835:(e,t,r)=>{const n=r(2771),o=r(2326);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(i&&1!==s.compare(e)||(i=e,s=new n(i,r)))}),i}},4104:(e,t,r)=>{const n=r(2771);e.exports=(e,t,r)=>{const o=new n(e,r),i=new n(t,r);return o.compare(i)||o.compareBuild(i)}},4159:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},4163:(e,t,r)=>{const n=r(2326);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},4240:(e,t,r)=>{const n=r(4104);e.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))},4247:(e,t,r)=>{const n=r(2771);e.exports=(e,t)=>new n(e,t).major},4678:(e,t,r)=>{const n=r(2326);e.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},5363:(e,t,r)=>{const n=r(2771);e.exports=(e,t)=>new n(e,t).minor},5469:(e,t,r)=>{const n=r(2771);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},5585:(e,t,r)=>{const n=r(2771),o=r(1289),{safeRe:i,t:s}=r(6999);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){const n=t.includePrerelease?i[s.COERCERTLFULL]:i[s.COERCERTL];let o;for(;(o=n.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&o.index+o[0].length===r.index+r[0].length||(r=o),n.lastIndex=o.index+o[1].length+o[2].length;n.lastIndex=-1}else r=e.match(t.includePrerelease?i[s.COERCEFULL]:i[s.COERCE]);if(null===r)return null;const a=r[2],c=r[3]||"0",l=r[4]||"0",d=t.includePrerelease&&r[5]?`-${r[5]}`:"",u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return o(`${a}.${c}.${l}${d}${u}`,t)}},6002:(e,t,r)=>{const n=r(5469);e.exports=(e,t)=>n(e,t,!0)},6460:(e,t,r)=>{const n=r(6640);e.exports=(e,t,r)=>n(e,t,">",r)},6507:(e,t,r)=>{const n=r(5317),o=r(8388),i=r(442);function s(e,t,r){const s=o(e,t,r),a=n.spawn(s.command,s.args,s.options);return i.hookChildProcess(a,s),a}e.exports=s,e.exports.spawn=s,e.exports.sync=function(e,t,r){const s=o(e,t,r),a=n.spawnSync(s.command,s.args,s.options);return a.error=a.error||i.verifyENOENTSync(a.status,s),a},e.exports._parse=o,e.exports._enoent=i},6640:(e,t,r)=>{const n=r(2771),o=r(9003),{ANY:i}=o,s=r(2326),a=r(4163),c=r(7743),l=r(8200),d=r(3765),u=r(236);e.exports=(e,t,r,p)=>{let f,m,h,b,g;switch(e=new n(e,p),t=new s(t,p),r){case">":f=c,m=d,h=l,b=">",g=">=";break;case"<":f=l,m=u,h=c,b="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,p))return!1;for(let r=0;r<t.set.length;++r){const n=t.set[r];let s=null,a=null;if(n.forEach(e=>{e.semver===i&&(e=new o(">=0.0.0")),s=s||e,a=a||e,f(e.semver,s.semver,p)?s=e:h(e.semver,a.semver,p)&&(a=e)}),s.operator===b||s.operator===g)return!1;if((!a.operator||a.operator===b)&&m(e,a.semver))return!1;if(a.operator===g&&h(e,a.semver))return!1}return!0}},6999:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=r(229),s=r(4159),a=(t=e.exports={}).re=[],c=t.safeRe=[],l=t.src=[],d=t.safeSrc=[],u=t.t={};let p=0;const f="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",i],[f,o]],h=(e,t,r)=>{const n=(e=>{for(const[t,r]of m)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),o=p++;s(e,o,t),u[e]=o,l[o]=t,d[o]=n,a[o]=new RegExp(t,r?"g":void 0),c[o]=new RegExp(n,r?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),h("MAINVERSION",`(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${l[u.NONNUMERICIDENTIFIER]}|${l[u.NUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${l[u.NONNUMERICIDENTIFIER]}|${l[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASE",`(?:-(${l[u.PRERELEASEIDENTIFIER]}(?:\\.${l[u.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${l[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${f}+`),h("BUILD",`(?:\\+(${l[u.BUILDIDENTIFIER]}(?:\\.${l[u.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${l[u.MAINVERSION]}${l[u.PRERELEASE]}?${l[u.BUILD]}?`),h("FULL",`^${l[u.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${l[u.MAINVERSIONLOOSE]}${l[u.PRERELEASELOOSE]}?${l[u.BUILD]}?`),h("LOOSE",`^${l[u.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${l[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${l[u.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:${l[u.PRERELEASE]})?${l[u.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:${l[u.PRERELEASELOOSE]})?${l[u.BUILD]}?)?)?`),h("XRANGE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),h("COERCE",`${l[u.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",l[u.COERCEPLAIN]+`(?:${l[u.PRERELEASE]})?`+`(?:${l[u.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",l[u.COERCE],!0),h("COERCERTLFULL",l[u.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${l[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${l[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${l[u.LONECARET]}${l[u.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${l[u.LONECARET]}${l[u.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${l[u.GTLT]}\\s*(${l[u.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]}|${l[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${l[u.XRANGEPLAIN]})\\s+-\\s+(${l[u.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${l[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[u.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},7148:(e,t,r)=>{const n=r(2771);e.exports=(e,t)=>new n(e,t).patch},7238:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>0!==n(e,t,r)},7256:(e,t,r)=>{const n=r(4104);e.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))},7257:e=>{e.exports=/^#!(.*)/},7713:(e,t,r)=>{const n=r(2326);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))},7743:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>n(e,t,r)>0},8200:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>n(e,t,r)<0},8388:(e,t,r)=>{const n=r(6928),o=r(3803),i=r(2077),s=r(1880),a="win32"===process.platform,c=/\.(?:com|exe)$/i,l=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;e.exports=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null);const d={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?d:function(e){if(!a)return e;const t=function(e){e.file=o(e);const t=e.file&&s(e.file);return t?(e.args.unshift(e.file),e.command=t,o(e)):e.file}(e),r=!c.test(t);if(e.options.forceShell||r){const r=l.test(t);e.command=n.normalize(e.command),e.command=i.command(e.command),e.args=e.args.map(e=>i.argument(e,r));const o=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${o}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}(d)}},8399:e=>{e.exports=function(e){if("string"!=typeof e)return!1;var o=e.match(t);if(!o)return!1;var i=o[1];return!!i&&!(!r.test(i)&&!n.test(i))};var t=/^(?:\w+:)?\/\/(\S+)$/,r=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,n=/^[^\s\.]+\.\S{2,}$/},8541:(e,t,r)=>{e.exports=i,i.sync=function(e,t){return o(n.statSync(e),e,t)};var n=r(9896);function o(e,t,r){return!(!e.isSymbolicLink()&&!e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r)return!0;if(-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;n<r.length;n++){var o=r[n].toLowerCase();if(o&&e.substr(-o.length).toLowerCase()===o)return!0}return!1}(t,r)}function i(e,t,r){n.stat(e,function(n,i){r(n,!n&&o(i,e,t))})}},9003:(e,t,r)=>{const n=Symbol("SemVer ANY");class o{static get ANY(){return n}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new d(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(c(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(c(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=o;const i=r(2860),{safeRe:s,t:a}=r(6999),c=r(3566),l=r(4159),d=r(2771),u=r(2326)},9140:(e,t,r)=>{const n=r(1289);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},9313:(e,t,r)=>{const n=r(2771),o=r(2326);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(i&&-1!==s.compare(e)||(i=e,s=new n(i,r)))}),i}},9344:(e,t,r)=>{var n;function o(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise(function(r,n){o(e,t||{},function(e,t){e?n(e):r(t)})})}n(e,t||{},function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n)})}r(9896),n="win32"===process.platform||global.TESTING_WINDOWS?r(8541):r(709),e.exports=o,o.sync=function(e,t){try{return n.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}}},9631:(e,t,r)=>{const{builtinModules:n}=r(3339);var o=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),i=["node_modules","favicon.ico"],s=function(e,t){var r={validForNewPackages:0===t.length&&0===e.length,validForOldPackages:0===t.length,warnings:e,errors:t};return r.warnings.length||delete r.warnings,r.errors.length||delete r.errors,r};e.exports=function(e){var t=[],r=[];if(null===e)return r.push("name cannot be null"),s(t,r);if(void 0===e)return r.push("name cannot be undefined"),s(t,r);if("string"!=typeof e)return r.push("name must be a string"),s(t,r);if(e.length||r.push("name length must be greater than zero"),e.startsWith(".")&&r.push("name cannot start with a period"),e.match(/^_/)&&r.push("name cannot start with an underscore"),e.trim()!==e&&r.push("name cannot contain leading or trailing spaces"),i.forEach(function(t){e.toLowerCase()===t&&r.push(t+" is a blacklisted name")}),n.includes(e.toLowerCase())&&t.push(e+" is a core module name"),e.length>214&&t.push("name can no longer contain more than 214 characters"),e.toLowerCase()!==e&&t.push("name can no longer contain capital letters"),/[~'!()*]/.test(e.split("/").slice(-1)[0])&&t.push('name can no longer contain special characters ("~\'!()*")'),encodeURIComponent(e)!==e){var a=e.match(o);if(a){var c=a[1],l=a[2];if(l.startsWith(".")&&r.push("name cannot start with a period"),encodeURIComponent(c)===c&&encodeURIComponent(l)===l)return s(t,r)}r.push("name can only contain URL-friendly characters")}return s(t,r)}},9695:e=>{const t=(e={})=>{const t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path"};e.exports=t,e.exports.default=t},9795:(e,t,r)=>{function n(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}r.d(t,{Ho:()=>Ol});var o=r(3136);const i=(e,t)=>{const r=c(s(e));if("string"!=typeof r)throw new TypeError(`${t} must be a string or a file URL: ${r}.`);return r},s=e=>a(e)?e.toString():e,a=e=>"string"!=typeof e&&e&&Object.getPrototypeOf(e)===String.prototype,c=e=>e instanceof URL?(0,o.fileURLToPath)(e):e,l=(e,t=[],r={})=>{const o=i(e,"First argument"),[s,a]=n(t)?[[],t]:[t,r];if(!Array.isArray(s))throw new TypeError(`Second argument must be either an array of arguments or an options object: ${s}`);if(s.some(e=>"object"==typeof e&&null!==e))throw new TypeError(`Second argument must be an array of strings: ${s}`);const c=s.map(String),l=c.find(e=>e.includes("\0"));if(void 0!==l)throw new TypeError(`Arguments cannot contain null bytes ("\\0"): ${l}`);if(!n(a))throw new TypeError(`Last argument must be an options object: ${a}`);return[o,c,a]};var d=r(1421),u=r(6193);const{toString:p}=Object.prototype,f=e=>"[object Uint8Array]"===p.call(e),m=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),h=new TextEncoder,b=e=>h.encode(e),g=new TextDecoder,y=e=>g.decode(e),w=e=>1===e.length&&f(e[0])?e[0]:v(E(e)),E=e=>e.map(e=>"string"==typeof e?b(e):e),v=e=>{const t=new Uint8Array(S(e));let r=0;for(const n of e)t.set(n,r),r+=n.length;return t},S=e=>{let t=0;for(const r of e)t+=r.length;return t},I=({templates:e,expressions:t,tokens:r,index:n,template:o})=>{if(void 0===o)throw new TypeError(`Invalid backslash sequence: ${e.raw[n]}`);const{nextTokens:i,leadingWhitespaces:s,trailingWhitespaces:a}=$(o,e.raw[n]),c=O(r,i,s);if(n===t.length)return c;const l=t[n],d=Array.isArray(l)?l.map(e=>N(e)):[N(l)];return O(c,d,a)},$=(e,t)=>{if(0===t.length)return{nextTokens:[],leadingWhitespaces:!1,trailingWhitespaces:!1};const r=[];let n=0;const o=T.has(t[0]);for(let o=0,i=0;o<e.length;o+=1,i+=1){const s=t[i];if(T.has(s))n!==o&&r.push(e.slice(n,o)),n=o+1;else if("\\"===s){const e=t[i+1];"\n"===e?(o-=1,i+=1):"u"===e&&"{"===t[i+2]?i=t.indexOf("}",i+3):i+=x[e]??1}}const i=n===e.length;return i||r.push(e.slice(n)),{nextTokens:r,leadingWhitespaces:o,trailingWhitespaces:i}},T=new Set([" ","\t","\r","\n"]),x={x:3,u:5},O=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e.at(-1)}${t[0]}`,...t.slice(1)],N=e=>{const t=typeof e;if("string"===t)return e;if("number"===t)return String(e);if(n(e)&&("stdout"in e||"isMaxBuffer"in e))return R(e);if(e instanceof d.ChildProcess||"[object Promise]"===Object.prototype.toString.call(e))throw new TypeError("Unexpected subprocess in template expression. Please use ${await subprocess} instead of ${subprocess}.");throw new TypeError(`Unexpected "${t}" in template expression`)},R=({stdout:e})=>{if("string"==typeof e)return e;if(f(e))return y(e);if(void 0===e)throw new TypeError('Missing result.stdout in template expression. This is probably due to the previous subprocess\' "stdout" option.');throw new TypeError(`Unexpected "${typeof e}" stdout in template expression`)};var D=r(7975),A=r(1708);const L=e=>M.includes(e),M=[A.stdin,A.stdout,A.stderr],C=["stdin","stdout","stderr"],P=e=>C[e]??`stdio[${e}]`,j=(e,t)=>{const r=Array.from({length:B(e)+1}),n=k(e[t],r,t);return z(n,t)},B=({stdio:e})=>Array.isArray(e)?Math.max(e.length,C.length):C.length,k=(e,t,r)=>n(e)?U(e,t,r):t.fill(e),U=(e,t,r)=>{for(const n of Object.keys(e).sort(F))for(const o of _(n,r,t))t[o]=e[n];return t},F=(e,t)=>G(e)<G(t)?1:-1,G=e=>"stdout"===e||"stderr"===e?0:"all"===e?2:1,_=(e,t,r)=>{if("ipc"===e)return[r.length-1];const n=W(e);if(void 0===n||0===n)throw new TypeError(`"${t}.${e}" is invalid.\nIt must be "${t}.stdout", "${t}.stderr", "${t}.all", "${t}.ipc", or "${t}.fd3", "${t}.fd4" (and so on).`);if(n>=r.length)throw new TypeError(`"${t}.${e}" is invalid: that file descriptor does not exist.\nPlease set the "stdio" option to ensure that file descriptor exists.`);return"all"===n?[1,2]:[n]},W=e=>{if("all"===e)return e;if(C.includes(e))return C.indexOf(e);const t=V.exec(e);return null!==t?Number(t[1]):void 0},V=/^fd(\d+)$/,z=(e,t)=>e.map(e=>void 0===e?H[t]:e),H={lines:!1,buffer:!0,maxBuffer:1e8,verbose:(0,D.debuglog)("execa").enabled?"full":"none",stripFinalNewline:!0},X=["lines","buffer","maxBuffer","verbose","stripFinalNewline"],K=(e,t)=>"ipc"===t?e.at(-1):e[t],q=({verbose:e},t)=>"none"!==J(e,t),Y=({verbose:e},t)=>!["none","short"].includes(J(e,t)),J=(e,t)=>void 0===t?Z(e):K(e,t),Z=e=>e.find(e=>Q(e))??ee.findLast(t=>e.includes(t)),Q=e=>"function"==typeof e,ee=["none","short","full"],te=e=>(0,D.stripVTControlCharacters)(e).split("\n").map(e=>re(e)).join("\n"),re=e=>e.replaceAll(oe,e=>ne(e)),ne=e=>{const t=ie[e];if(void 0!==t)return t;const r=e.codePointAt(0),n=r.toString(16);return r<=se?`\\u${n.padStart(4,"0")}`:`\\U${n}`},oe=(()=>{try{return new RegExp("\\p{Separator}|\\p{Other}","gu")}catch{return/[\s\u0000-\u001F\u007F-\u009F\u00AD]/g}})(),ie={" ":" ","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},se=65535,ae=/^[\w./-]+$/,ce={circleQuestionMark:"(?)",questionMarkPrefix:"(?)",square:"\u2588",squareDarkShade:"\u2593",squareMediumShade:"\u2592",squareLightShade:"\u2591",squareTop:"\u2580",squareBottom:"\u2584",squareLeft:"\u258c",squareRight:"\u2590",squareCenter:"\u25a0",bullet:"\u25cf",dot:"\u2024",ellipsis:"\u2026",pointerSmall:"\u203a",triangleUp:"\u25b2",triangleUpSmall:"\u25b4",triangleDown:"\u25bc",triangleDownSmall:"\u25be",triangleLeftSmall:"\u25c2",triangleRightSmall:"\u25b8",home:"\u2302",heart:"\u2665",musicNote:"\u266a",musicNoteBeamed:"\u266b",arrowUp:"\u2191",arrowDown:"\u2193",arrowLeft:"\u2190",arrowRight:"\u2192",arrowLeftRight:"\u2194",arrowUpDown:"\u2195",almostEqual:"\u2248",notEqual:"\u2260",lessOrEqual:"\u2264",greaterOrEqual:"\u2265",identical:"\u2261",infinity:"\u221e",subscriptZero:"\u2080",subscriptOne:"\u2081",subscriptTwo:"\u2082",subscriptThree:"\u2083",subscriptFour:"\u2084",subscriptFive:"\u2085",subscriptSix:"\u2086",subscriptSeven:"\u2087",subscriptEight:"\u2088",subscriptNine:"\u2089",oneHalf:"\xbd",oneThird:"\u2153",oneQuarter:"\xbc",oneFifth:"\u2155",oneSixth:"\u2159",oneEighth:"\u215b",twoThirds:"\u2154",twoFifths:"\u2156",threeQuarters:"\xbe",threeFifths:"\u2157",threeEighths:"\u215c",fourFifths:"\u2158",fiveSixths:"\u215a",fiveEighths:"\u215d",sevenEighths:"\u215e",line:"\u2500",lineBold:"\u2501",lineDouble:"\u2550",lineDashed0:"\u2504",lineDashed1:"\u2505",lineDashed2:"\u2508",lineDashed3:"\u2509",lineDashed4:"\u254c",lineDashed5:"\u254d",lineDashed6:"\u2574",lineDashed7:"\u2576",lineDashed8:"\u2578",lineDashed9:"\u257a",lineDashed10:"\u257c",lineDashed11:"\u257e",lineDashed12:"\u2212",lineDashed13:"\u2013",lineDashed14:"\u2010",lineDashed15:"\u2043",lineVertical:"\u2502",lineVerticalBold:"\u2503",lineVerticalDouble:"\u2551",lineVerticalDashed0:"\u2506",lineVerticalDashed1:"\u2507",lineVerticalDashed2:"\u250a",lineVerticalDashed3:"\u250b",lineVerticalDashed4:"\u254e",lineVerticalDashed5:"\u254f",lineVerticalDashed6:"\u2575",lineVerticalDashed7:"\u2577",lineVerticalDashed8:"\u2579",lineVerticalDashed9:"\u257b",lineVerticalDashed10:"\u257d",lineVerticalDashed11:"\u257f",lineDownLeft:"\u2510",lineDownLeftArc:"\u256e",lineDownBoldLeftBold:"\u2513",lineDownBoldLeft:"\u2512",lineDownLeftBold:"\u2511",lineDownDoubleLeftDouble:"\u2557",lineDownDoubleLeft:"\u2556",lineDownLeftDouble:"\u2555",lineDownRight:"\u250c",lineDownRightArc:"\u256d",lineDownBoldRightBold:"\u250f",lineDownBoldRight:"\u250e",lineDownRightBold:"\u250d",lineDownDoubleRightDouble:"\u2554",lineDownDoubleRight:"\u2553",lineDownRightDouble:"\u2552",lineUpLeft:"\u2518",lineUpLeftArc:"\u256f",lineUpBoldLeftBold:"\u251b",lineUpBoldLeft:"\u251a",lineUpLeftBold:"\u2519",lineUpDoubleLeftDouble:"\u255d",lineUpDoubleLeft:"\u255c",lineUpLeftDouble:"\u255b",lineUpRight:"\u2514",lineUpRightArc:"\u2570",lineUpBoldRightBold:"\u2517",lineUpBoldRight:"\u2516",lineUpRightBold:"\u2515",lineUpDoubleRightDouble:"\u255a",lineUpDoubleRight:"\u2559",lineUpRightDouble:"\u2558",lineUpDownLeft:"\u2524",lineUpBoldDownBoldLeftBold:"\u252b",lineUpBoldDownBoldLeft:"\u2528",lineUpDownLeftBold:"\u2525",lineUpBoldDownLeftBold:"\u2529",lineUpDownBoldLeftBold:"\u252a",lineUpDownBoldLeft:"\u2527",lineUpBoldDownLeft:"\u2526",lineUpDoubleDownDoubleLeftDouble:"\u2563",lineUpDoubleDownDoubleLeft:"\u2562",lineUpDownLeftDouble:"\u2561",lineUpDownRight:"\u251c",lineUpBoldDownBoldRightBold:"\u2523",lineUpBoldDownBoldRight:"\u2520",lineUpDownRightBold:"\u251d",lineUpBoldDownRightBold:"\u2521",lineUpDownBoldRightBold:"\u2522",lineUpDownBoldRight:"\u251f",lineUpBoldDownRight:"\u251e",lineUpDoubleDownDoubleRightDouble:"\u2560",lineUpDoubleDownDoubleRight:"\u255f",lineUpDownRightDouble:"\u255e",lineDownLeftRight:"\u252c",lineDownBoldLeftBoldRightBold:"\u2533",lineDownLeftBoldRightBold:"\u252f",lineDownBoldLeftRight:"\u2530",lineDownBoldLeftBoldRight:"\u2531",lineDownBoldLeftRightBold:"\u2532",lineDownLeftRightBold:"\u252e",lineDownLeftBoldRight:"\u252d",lineDownDoubleLeftDoubleRightDouble:"\u2566",lineDownDoubleLeftRight:"\u2565",lineDownLeftDoubleRightDouble:"\u2564",lineUpLeftRight:"\u2534",lineUpBoldLeftBoldRightBold:"\u253b",lineUpLeftBoldRightBold:"\u2537",lineUpBoldLeftRight:"\u2538",lineUpBoldLeftBoldRight:"\u2539",lineUpBoldLeftRightBold:"\u253a",lineUpLeftRightBold:"\u2536",lineUpLeftBoldRight:"\u2535",lineUpDoubleLeftDoubleRightDouble:"\u2569",lineUpDoubleLeftRight:"\u2568",lineUpLeftDoubleRightDouble:"\u2567",lineUpDownLeftRight:"\u253c",lineUpBoldDownBoldLeftBoldRightBold:"\u254b",lineUpDownBoldLeftBoldRightBold:"\u2548",lineUpBoldDownLeftBoldRightBold:"\u2547",lineUpBoldDownBoldLeftRightBold:"\u254a",lineUpBoldDownBoldLeftBoldRight:"\u2549",lineUpBoldDownLeftRight:"\u2540",lineUpDownBoldLeftRight:"\u2541",lineUpDownLeftBoldRight:"\u253d",lineUpDownLeftRightBold:"\u253e",lineUpBoldDownBoldLeftRight:"\u2542",lineUpDownLeftBoldRightBold:"\u253f",lineUpBoldDownLeftBoldRight:"\u2543",lineUpBoldDownLeftRightBold:"\u2544",lineUpDownBoldLeftBoldRight:"\u2545",lineUpDownBoldLeftRightBold:"\u2546",lineUpDoubleDownDoubleLeftDoubleRightDouble:"\u256c",lineUpDoubleDownDoubleLeftRight:"\u256b",lineUpDownLeftDoubleRightDouble:"\u256a",lineCross:"\u2573",lineBackslash:"\u2572",lineSlash:"\u2571"},le={tick:"\u2714",info:"\u2139",warning:"\u26a0",cross:"\u2718",squareSmall:"\u25fb",squareSmallFilled:"\u25fc",circle:"\u25ef",circleFilled:"\u25c9",circleDotted:"\u25cc",circleDouble:"\u25ce",circleCircle:"\u24de",circleCross:"\u24e7",circlePipe:"\u24be",radioOn:"\u25c9",radioOff:"\u25ef",checkboxOn:"\u2612",checkboxOff:"\u2610",checkboxCircleOn:"\u24e7",checkboxCircleOff:"\u24be",pointer:"\u276f",triangleUpOutline:"\u25b3",triangleLeft:"\u25c0",triangleRight:"\u25b6",lozenge:"\u25c6",lozengeOutline:"\u25c7",hamburger:"\u2630",smiley:"\u32e1",mustache:"\u0df4",star:"\u2605",play:"\u25b6",nodejs:"\u2b22",oneSeventh:"\u2150",oneNinth:"\u2151",oneTenth:"\u2152"},de={...ce,...le},ue={...ce,tick:"\u221a",info:"i",warning:"\u203c",cross:"\xd7",squareSmall:"\u25a1",squareSmallFilled:"\u25a0",circle:"( )",circleFilled:"(*)",circleDotted:"( )",circleDouble:"( )",circleCircle:"(\u25cb)",circleCross:"(\xd7)",circlePipe:"(\u2502)",radioOn:"(*)",radioOff:"( )",checkboxOn:"[\xd7]",checkboxOff:"[ ]",checkboxCircleOn:"(\xd7)",checkboxCircleOff:"( )",pointer:">",triangleUpOutline:"\u2206",triangleLeft:"\u25c4",triangleRight:"\u25ba",lozenge:"\u2666",lozengeOutline:"\u25ca",hamburger:"\u2261",smiley:"\u263a",mustache:"\u250c\u2500\u2510",star:"\u2736",play:"\u25ba",nodejs:"\u2666",oneSeventh:"1/7",oneNinth:"1/9",oneTenth:"1/10"},pe=function(){const{env:e}=A,{TERM:t,TERM_PROGRAM:r}=e;return"win32"!==A.platform?"linux"!==t:Boolean(e.WT_SESSION)||Boolean(e.TERMINUS_SUBLIME)||"{cmd::Cmder}"===e.ConEmuTask||"Terminus-Sublime"===r||"vscode"===r||"xterm-256color"===t||"alacritty"===t||"rxvt-unicode"===t||"rxvt-unicode-256color"===t||"JetBrains-JediTerm"===e.TERMINAL_EMULATOR}()?de:ue;Object.entries(le);var fe=r(7066);const me=fe?.WriteStream?.prototype?.hasColors?.()??!1,he=(e,t)=>{if(!me)return e=>e;const r=`\x1b[${e}m`,n=`\x1b[${t}m`;return e=>{const t=e+"";let o=t.indexOf(n);if(-1===o)return r+t+n;let i=r,s=0;for(;-1!==o;)i+=t.slice(s,o)+r,s=o+n.length,o=t.indexOf(n,s);return i+=t.slice(s)+n,i}},be=(he(0,0),he(1,22)),ge=(he(2,22),he(3,23),he(4,24),he(53,55),he(7,27),he(8,28),he(9,29),he(30,39),he(31,39),he(32,39),he(33,39),he(34,39),he(35,39),he(36,39),he(37,39),he(90,39)),ye=(he(40,49),he(41,49),he(42,49),he(43,49),he(44,49),he(45,49),he(46,49),he(47,49),he(100,49),he(91,39)),we=(he(92,39),he(93,39)),Ee=(he(94,39),he(95,39),he(96,39),he(97,39),he(101,49),he(102,49),he(103,49),he(104,49),he(105,49),he(106,49),he(107,49),e=>`${ve(e.getHours(),2)}:${ve(e.getMinutes(),2)}:${ve(e.getSeconds(),2)}.${ve(e.getMilliseconds(),3)}`),ve=(e,t)=>String(e).padStart(t,"0"),Se=({failed:e,reject:t})=>e?t?pe.cross:pe.warning:pe.tick,Ie={command:({piped:e})=>e?"|":"$",output:()=>" ",ipc:()=>"*",error:Se,duration:Se},$e=e=>e,Te={command:()=>be,output:()=>$e,ipc:()=>$e,error:({reject:e})=>e?ye:we,duration:()=>ge},xe=(e,t,r)=>{if(void 0===r)return e;const n=r(e,t);return"string"==typeof n?n:void 0},Oe=e=>e.endsWith("\n")?e:`${e}\n`,Ne=({type:e,verboseMessage:t,fdNumber:r,verboseInfo:n,result:o})=>{const i=Re({type:e,result:o,verboseInfo:n}),s=((e,t,r)=>{const n=(({verbose:e},t)=>{const r=J(e,t);return Q(r)?r:void 0})(t,r);return e.map(({verboseLine:e,verboseObject:t})=>xe(e,t,n)).filter(e=>void 0!==e).map(e=>Oe(e)).join("")})(De(t,i),n,r);""!==s&&console.warn(s.slice(0,-1))},Re=({type:e,result:t,verboseInfo:{escapedCommand:r,commandId:n,rawOptions:{piped:o=!1,...i}}})=>({type:e,escapedCommand:r,commandId:`${n}`,timestamp:new Date,piped:o,result:t,options:i}),De=(e,t)=>e.split("\n").map(e=>Ae({...t,message:e})),Ae=e=>({verboseLine:(({type:e,message:t,timestamp:r,piped:n,commandId:o,result:{failed:i=!1}={},options:{reject:s=!0}})=>{const a=Ee(r),c=Ie[e]({failed:i,reject:s,piped:n}),l=Te[e]({reject:s});return`${ge(`[${a}]`)} ${ge(`[${o}]`)} ${l(c)} ${l(t)}`})(e),verboseObject:e}),Le=e=>{const t="string"==typeof e?e:(0,D.inspect)(e);return te(t).replaceAll("\t"," ".repeat(Me))},Me=2,Ce=e=>q({verbose:e})?Pe++:void 0;let Pe=0n;const je=()=>A.hrtime.bigint(),Be=e=>Number(A.hrtime.bigint()-e)/1e6,ke=(e,t,r)=>{const n=je(),{command:o,escapedCommand:i}=((e,t)=>{const r=[e,...t];return{command:r.join(" "),escapedCommand:r.map(e=>{return t=re(e),ae.test(t)?t:"win32"===A.platform?`"${t.replaceAll('"','""')}"`:`'${t.replace