@theforeman/vendor
Version:
foreman supported 3rd-party node_modules
1 lines • 425 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.vendorWebpackPlugin=e():t.vendorWebpackPlugin=e()}(global,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=193)}([function(t,e){t.exports=require("path")},function(t,e,n){"use strict";var r=n(9),i="undefined"==typeof navigator,o={e:{}},u,s="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0!==this?this:null;function a(){try{var t=u;return u=null,t.apply(this,arguments)}catch(t){return o.e=t,o}}function c(t){return u=t,a}var l=function(t,e){var n={}.hasOwnProperty;function r(){for(var r in this.constructor=t,this.constructor$=e,e.prototype)n.call(e.prototype,r)&&"$"!==r.charAt(r.length-1)&&(this[r+"$"]=e.prototype[r])}return r.prototype=e.prototype,t.prototype=new r,t.prototype};function f(t){return null==t||!0===t||!1===t||"string"==typeof t||"number"==typeof t}function h(t){return"function"==typeof t||"object"==typeof t&&null!==t}function p(t){return f(t)?new Error(A(t)):t}function d(t,e){var n,r=t.length,i=new Array(r+1);for(n=0;n<r;++n)i[n]=t[n];return i[n]=e,i}function v(t,e,n){if(!r.isES5)return{}.hasOwnProperty.call(t,e)?t[e]:void 0;var i=Object.getOwnPropertyDescriptor(t,e);return null!=i?null==i.get&&null==i.set?i.value:n:void 0}function y(t,e,n){if(f(t))return t;var i={value:n,configurable:!0,enumerable:!1,writable:!0};return r.defineProperty(t,e,i),t}function g(t){throw t}var m=function(){var t=[Array.prototype,Object.prototype,Function.prototype],e=function(e){for(var n=0;n<t.length;++n)if(t[n]===e)return!0;return!1};if(r.isES5){var n=Object.getOwnPropertyNames;return function(t){for(var i=[],o=Object.create(null);null!=t&&!e(t);){var u;try{u=n(t)}catch(t){return i}for(var s=0;s<u.length;++s){var a=u[s];if(!o[a]){o[a]=!0;var c=Object.getOwnPropertyDescriptor(t,a);null!=c&&null==c.get&&null==c.set&&i.push(a)}}t=r.getPrototypeOf(t)}return i}}var i={}.hasOwnProperty;return function(n){if(e(n))return[];var r=[];t:for(var o in n)if(i.call(n,o))r.push(o);else{for(var u=0;u<t.length;++u)if(i.call(t[u],o))continue t;r.push(o)}return r}}(),_=/this\s*\.\s*\S+\s*=/;function b(t){try{if("function"==typeof t){var e=r.names(t.prototype),n=r.isES5&&e.length>1,i=e.length>0&&!(1===e.length&&"constructor"===e[0]),o=_.test(t+"")&&r.names(t).length>0;if(n||i||o)return!0}return!1}catch(t){return!1}}function D(t){function e(){}e.prototype=t;var n=new e;function r(){return typeof n.foo}return r(),r(),t}var E=/^[a-z$_][a-z$_0-9]*$/i;function w(t){return E.test(t)}function C(t,e,n){for(var r=new Array(t),i=0;i<t;++i)r[i]=e+i+n;return r}function A(t){try{return t+""}catch(t){return"[no string representation]"}}function F(t){return t instanceof Error||null!==t&&"object"==typeof t&&"string"==typeof t.message&&"string"==typeof t.name}function x(t){try{y(t,"isOperational",!0)}catch(t){}}function k(t){return null!=t&&(t instanceof Error.__BluebirdErrorTypes__.OperationalError||!0===t.isOperational)}function S(t){return F(t)&&r.propertyIsWritable(t,"stack")}var j="stack"in new Error?function(t){return S(t)?t:new Error(A(t))}:function(t){if(S(t))return t;try{throw new Error(A(t))}catch(t){return t}};function O(t){return{}.toString.call(t)}function T(t,e,n){for(var i=r.names(t),o=0;o<i.length;++o){var u=i[o];if(n(u))try{r.defineProperty(e,u,r.getDescriptor(t,u))}catch(t){}}}var B=function(t){return r.isArray(t)?t:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var P="function"==typeof Array.from?function(t){return Array.from(t)}:function(t){for(var e,n=[],r=t[Symbol.iterator]();!(e=r.next()).done;)n.push(e.value);return n};B=function(t){return r.isArray(t)?t:null!=t&&"function"==typeof t[Symbol.iterator]?P(t):null}}var N="undefined"!=typeof process&&"[object process]"===O(process).toLowerCase(),R="undefined"!=typeof process&&void 0!==process.env;function M(t){return R?process.env[t]:void 0}function I(){if("function"==typeof Promise)try{var t=new Promise((function(){}));if("[object Promise]"==={}.toString.call(t))return Promise}catch(t){}}function L(t,e){return t.bind(e)}var z={isClass:b,isIdentifier:w,inheritedDataKeys:m,getDataPropertyOrDefault:v,thrower:g,isArray:r.isArray,asArray:B,notEnumerableProp:y,isPrimitive:f,isObject:h,isError:F,canEvaluate:i,errorObj:o,tryCatch:c,inherits:l,withAppended:d,maybeWrapAsError:p,toFastProperties:D,filledRange:C,toString:A,canAttachTrace:S,ensureErrorObject:j,originatesFromRejection:k,markAsOriginatingFromRejection:x,classString:O,copyDescriptors:T,hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:N,hasEnvVariables:R,env:M,global:s,getNativePromise:I,domainBind:L},U;z.isRecentNode=z.isNode&&(process.versions&&process.versions.node?U=process.versions.node.split(".").map(Number):process.version&&(U=process.version.split(".").map(Number)),0===U[0]&&U[1]>10||U[0]>0),z.isNode&&z.toFastProperties(process);try{throw new Error}catch(t){z.lastLineError=t}t.exports=z},function(t,e){t.exports=require("fs")},function(t,e){t.exports=require("util")},function(t,e,n){try{var r=n(3);if("function"!=typeof r.inherits)throw"";t.exports=r.inherits}catch(e){t.exports=n(74)}},function(t,e,n){"use strict";var r;"undefined"!=typeof Promise&&(r=Promise);var i=n(103)();i.noConflict=function(){try{Promise===i&&(Promise=r)}catch(t){}return i},t.exports=i},function(t,e,n){t.exports.pipe=n(139),t.exports.each=n(140),t.exports.pipeline=n(141),t.exports.duplex=n(50),t.exports.through=n(147),t.exports.concat=n(149),t.exports.finished=n(21),t.exports.from=n(152),t.exports.to=n(153),t.exports.parallel=n(154)},function(t,e,n){"use strict";var r,i,o=n(9),u=o.freeze,s=n(1),a=s.inherits,c=s.notEnumerableProp;function l(t,e){function n(r){if(!(this instanceof n))return new n(r);c(this,"message","string"==typeof r?r:e),c(this,"name",t),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return a(n,Error),n}var f=l("Warning","warning"),h=l("CancellationError","cancellation error"),p=l("TimeoutError","timeout error"),d=l("AggregateError","aggregate error");try{r=TypeError,i=RangeError}catch(t){r=l("TypeError","type error"),i=l("RangeError","range error")}for(var v="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),y=0;y<v.length;++y)"function"==typeof Array.prototype[v[y]]&&(d.prototype[v[y]]=Array.prototype[v[y]]);o.defineProperty(d.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),d.prototype.isOperational=!0;var g=0;function m(t){if(!(this instanceof m))return new m(t);c(this,"name","OperationalError"),c(this,"message",t),this.cause=t,this.isOperational=!0,t instanceof Error?(c(this,"message",t.message),c(this,"stack",t.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}d.prototype.toString=function(){var t=Array(4*g+1).join(" "),e="\n"+t+"AggregateError of:\n";g++,t=Array(4*g+1).join(" ");for(var n=0;n<this.length;++n){for(var r=this[n]===this?"[Circular AggregateError]":this[n]+"",i=r.split("\n"),o=0;o<i.length;++o)i[o]=t+i[o];e+=(r=i.join("\n"))+"\n"}return g--,e},a(m,Error);var _=Error.__BluebirdErrorTypes__;_||(_=u({CancellationError:h,TimeoutError:p,OperationalError:m,RejectionError:m,AggregateError:d}),o.defineProperty(Error,"__BluebirdErrorTypes__",{value:_,writable:!1,enumerable:!1,configurable:!1})),t.exports={Error:Error,TypeError:r,RangeError:i,CancellationError:_.CancellationError,OperationalError:_.OperationalError,TimeoutError:_.TimeoutError,AggregateError:_.AggregateError,Warning:f}},function(t,e,n){t.exports=_;var r=n(2),i=n(34),o=n(24),u=(o.Minimatch,n(4)),s=n(35).EventEmitter,a=n(0),c=n(11),l=n(29),f=n(75),h=n(36),p=(h.alphasort,h.alphasorti,h.setopts),d=h.ownProp,v=n(76),y=(n(3),h.childrenIgnored),g=h.isIgnored,m=n(15);function _(t,e,n){if("function"==typeof e&&(n=e,e={}),e||(e={}),e.sync){if(n)throw new TypeError("callback provided to sync glob");return f(t,e)}return new D(t,e,n)}_.sync=f;var b=_.GlobSync=f.GlobSync;function D(t,e,n){if("function"==typeof e&&(n=e,e=null),e&&e.sync){if(n)throw new TypeError("callback provided to sync glob");return new b(t,e)}if(!(this instanceof D))return new D(t,e,n);p(this,t,e),this._didRealPath=!1;var r=this.minimatch.set.length;this.matches=new Array(r),"function"==typeof n&&(n=m(n),this.on("error",n),this.on("end",(function(t){n(null,t)})));var i=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===r)return u();for(var o=0;o<r;o++)this._process(this.minimatch.set[o],o,!1,u);function u(){--i._processing,i._processing<=0&&i._finish()}}_.glob=_,_.hasMagic=function(t,e){var n=function(t,e){if(null===e||"object"!=typeof e)return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t}({},e);n.noprocess=!0;var r=new D(t,n).minimatch.set;if(!t)return!1;if(r.length>1)return!0;for(var i=0;i<r[0].length;i++)if("string"!=typeof r[0][i])return!0;return!1},_.Glob=D,u(D,s),D.prototype._finish=function(){if(c(this instanceof D),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();h.finish(this),this.emit("end",this.found)}},D.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var t=this.matches.length;if(0===t)return this._finish();for(var e=this,n=0;n<this.matches.length;n++)this._realpathSet(n,r)}function r(){0==--t&&e._finish()}},D.prototype._realpathSet=function(t,e){var n=this.matches[t];if(!n)return e();var r=Object.keys(n),o=this,u=r.length;if(0===u)return e();var s=this.matches[t]=Object.create(null);r.forEach((function(n,r){n=o._makeAbs(n),i.realpath(n,o.realpathCache,(function(r,i){r?"stat"===r.syscall?s[n]=!0:o.emit("error",r):s[i]=!0,0==--u&&(o.matches[t]=s,e())}))}))},D.prototype._mark=function(t){return h.mark(this,t)},D.prototype._makeAbs=function(t){return h.makeAbs(this,t)},D.prototype.abort=function(){this.aborted=!0,this.emit("abort")},D.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},D.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var n=t[e];this._emitMatch(n[0],n[1])}}if(this._processQueue.length){var r=this._processQueue.slice(0);this._processQueue.length=0;for(e=0;e<r.length;e++){var i=r[e];this._processing--,this._process(i[0],i[1],i[2],i[3])}}}},D.prototype._process=function(t,e,n,r){if(c(this instanceof D),c("function"==typeof r),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([t,e,n,r]);else{for(var i,u=0;"string"==typeof t[u];)u++;switch(u){case t.length:return void this._processSimple(t.join("/"),e,r);case 0:i=null;break;default:i=t.slice(0,u).join("/")}var s,a=t.slice(u);null===i?s=".":l(i)||l(t.join("/"))?(i&&l(i)||(i="/"+i),s=i):s=i;var f=this._makeAbs(s);if(y(this,s))return r();a[0]===o.GLOBSTAR?this._processGlobStar(i,s,f,a,e,n,r):this._processReaddir(i,s,f,a,e,n,r)}},D.prototype._processReaddir=function(t,e,n,r,i,o,u){var s=this;this._readdir(n,o,(function(a,c){return s._processReaddir2(t,e,n,r,i,o,c,u)}))},D.prototype._processReaddir2=function(t,e,n,r,i,o,u,s){if(!u)return s();for(var c=r[0],l=!!this.minimatch.negate,f=c._glob,h=this.dot||"."===f.charAt(0),p=[],d=0;d<u.length;d++){if("."!==(y=u[d]).charAt(0)||h)(l&&!t?!y.match(c):y.match(c))&&p.push(y)}var v=p.length;if(0===v)return s();if(1===r.length&&!this.mark&&!this.stat){this.matches[i]||(this.matches[i]=Object.create(null));for(d=0;d<v;d++){var y=p[d];t&&(y="/"!==t?t+"/"+y:t+y),"/"!==y.charAt(0)||this.nomount||(y=a.join(this.root,y)),this._emitMatch(i,y)}return s()}r.shift();for(d=0;d<v;d++){y=p[d];t&&(y="/"!==t?t+"/"+y:t+y),this._process([y].concat(r),i,o,s)}s()},D.prototype._emitMatch=function(t,e){if(!this.aborted&&!g(this,e))if(this.paused)this._emitQueue.push([t,e]);else{var n=l(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=n),!this.matches[t][e]){if(this.nodir){var r=this.cache[n];if("DIR"===r||Array.isArray(r))return}this.matches[t][e]=!0;var i=this.statCache[n];i&&this.emit("stat",e,i),this.emit("match",e)}}},D.prototype._readdirInGlobStar=function(t,e){if(!this.aborted){if(this.follow)return this._readdir(t,!1,e);var n=this,i=v("lstat\0"+t,(function(r,i){if(r&&"ENOENT"===r.code)return e();var o=i&&i.isSymbolicLink();n.symlinks[t]=o,o||!i||i.isDirectory()?n._readdir(t,!1,e):(n.cache[t]="FILE",e())}));i&&r.lstat(t,i)}},D.prototype._readdir=function(t,e,n){if(!this.aborted&&(n=v("readdir\0"+t+"\0"+e,n))){if(e&&!d(this.symlinks,t))return this._readdirInGlobStar(t,n);if(d(this.cache,t)){var i=this.cache[t];if(!i||"FILE"===i)return n();if(Array.isArray(i))return n(null,i)}r.readdir(t,function(t,e,n){return function(r,i){r?t._readdirError(e,r,n):t._readdirEntries(e,i,n)}}(this,t,n))}},D.prototype._readdirEntries=function(t,e,n){if(!this.aborted){if(!this.mark&&!this.stat)for(var r=0;r<e.length;r++){var i=e[r];i="/"===t?t+i:t+"/"+i,this.cache[i]=!0}return this.cache[t]=e,n(null,e)}},D.prototype._readdirError=function(t,e,n){if(!this.aborted){switch(e.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(t);if(this.cache[r]="FILE",r===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);i.path=this.cwd,i.code=e.code,this.emit("error",i),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:this.cache[this._makeAbs(t)]=!1,this.strict&&(this.emit("error",e),this.abort()),this.silent||console.error("glob error",e)}return n()}},D.prototype._processGlobStar=function(t,e,n,r,i,o,u){var s=this;this._readdir(n,o,(function(a,c){s._processGlobStar2(t,e,n,r,i,o,c,u)}))},D.prototype._processGlobStar2=function(t,e,n,r,i,o,u,s){if(!u)return s();var a=r.slice(1),c=t?[t]:[],l=c.concat(a);this._process(l,i,!1,s);var f=this.symlinks[n],h=u.length;if(f&&o)return s();for(var p=0;p<h;p++){if("."!==u[p].charAt(0)||this.dot){var d=c.concat(u[p],a);this._process(d,i,!0,s);var v=c.concat(u[p],r);this._process(v,i,!0,s)}}s()},D.prototype._processSimple=function(t,e,n){var r=this;this._stat(t,(function(i,o){r._processSimple2(t,e,i,o,n)}))},D.prototype._processSimple2=function(t,e,n,r,i){if(this.matches[e]||(this.matches[e]=Object.create(null)),!r)return i();if(t&&l(t)&&!this.nomount){var o=/[\/\\]$/.test(t);"/"===t.charAt(0)?t=a.join(this.root,t):(t=a.resolve(this.root,t),o&&(t+="/"))}"win32"===process.platform&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t),i()},D.prototype._stat=function(t,e){var n=this._makeAbs(t),i="/"===t.slice(-1);if(t.length>this.maxLength)return e();if(!this.stat&&d(this.cache,n)){var o=this.cache[n];if(Array.isArray(o)&&(o="DIR"),!i||"DIR"===o)return e(null,o);if(i&&"FILE"===o)return e()}var u=this.statCache[n];if(void 0!==u){if(!1===u)return e(null,u);var s=u.isDirectory()?"DIR":"FILE";return i&&"FILE"===s?e():e(null,s,u)}var a=this,c=v("stat\0"+n,(function(i,o){if(o&&o.isSymbolicLink())return r.stat(n,(function(r,i){r?a._stat2(t,n,null,o,e):a._stat2(t,n,r,i,e)}));a._stat2(t,n,i,o,e)}));c&&r.lstat(n,c)},D.prototype._stat2=function(t,e,n,r,i){if(n&&("ENOENT"===n.code||"ENOTDIR"===n.code))return this.statCache[e]=!1,i();var o="/"===t.slice(-1);if(this.statCache[e]=r,"/"===e.slice(-1)&&r&&!r.isDirectory())return i(null,!1,r);var u=!0;return r&&(u=r.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||u,o&&"FILE"===u?i():i(null,u,r)}},function(t,e){var n=function(){"use strict";return void 0===this}();if(n)t.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:n,propertyIsWritable:function(t,e){var n=Object.getOwnPropertyDescriptor(t,e);return!(n&&!n.writable&&!n.set)}};else{var r={}.hasOwnProperty,i={}.toString,o={}.constructor.prototype,u=function(t){var e=[];for(var n in t)r.call(t,n)&&e.push(n);return e};t.exports={isArray:function(t){try{return"[object Array]"===i.call(t)}catch(t){return!1}},keys:u,names:u,defineProperty:function(t,e,n){return t[e]=n.value,t},getDescriptor:function(t,e){return{value:t[e]}},freeze:function(t){return t},getPrototypeOf:function(t){try{return Object(t).constructor.prototype}catch(t){return o}},isES5:n,propertyIsWritable:function(){return!0}}}},function(t,e,n){var r=n(12);"disable"===process.env.READABLE_STREAM&&r?(t.exports=r,(e=t.exports=r.Readable).Readable=r.Readable,e.Writable=r.Writable,e.Duplex=r.Duplex,e.Transform=r.Transform,e.PassThrough=r.PassThrough,e.Stream=r):((e=t.exports=n(51)).Stream=r||e,e.Readable=e,e.Writable=n(54),e.Duplex=n(14),e.Transform=n(56),e.PassThrough=n(146))},function(t,e){t.exports=require("assert")},function(t,e){t.exports=require("stream")},function(t,e,n){var r=n(2),i=n(135),o=n(137),u=n(138),s=[],a=n(3);var c,l,f=function(){};function h(t){i(t),t.gracefulify=h,t.FileReadStream=f,t.FileWriteStream=v,t.createReadStream=function(t,e){return new f(t,e)},t.createWriteStream=function(t,e){return new v(t,e)};var e=t.readFile;t.readFile=function(t,n,r){"function"==typeof n&&(r=n,n=null);return function t(n,r,i){return e(n,r,(function(e){!e||"EMFILE"!==e.code&&"ENFILE"!==e.code?("function"==typeof i&&i.apply(this,arguments),d()):p([t,[n,r,i]])}))}(t,n,r)};var n=t.writeFile;t.writeFile=function(t,e,r,i){"function"==typeof r&&(i=r,r=null);return function t(e,r,i,o){return n(e,r,i,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?("function"==typeof o&&o.apply(this,arguments),d()):p([t,[e,r,i,o]])}))}(t,e,r,i)};var r=t.appendFile;r&&(t.appendFile=function(t,e,n,i){"function"==typeof n&&(i=n,n=null);return function t(e,n,i,o){return r(e,n,i,(function(r){!r||"EMFILE"!==r.code&&"ENFILE"!==r.code?("function"==typeof o&&o.apply(this,arguments),d()):p([t,[e,n,i,o]])}))}(t,e,n,i)});var u=t.readdir;function s(e){return u.apply(t,e)}if(t.readdir=function(t,e,n){var r=[t];"function"!=typeof e?r.push(e):n=e;return r.push((function(t,e){e&&e.sort&&e.sort();!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?("function"==typeof n&&n.apply(this,arguments),d()):p([s,[r]])})),s(r)},"v0.8"===process.version.substr(0,4)){var a=o(t);f=a.ReadStream,v=a.WriteStream}var c=t.ReadStream;c&&(f.prototype=Object.create(c.prototype),f.prototype.open=function(){var t=this;g(t.path,t.flags,t.mode,(function(e,n){e?(t.autoClose&&t.destroy(),t.emit("error",e)):(t.fd=n,t.emit("open",n),t.read())}))});var l=t.WriteStream;function f(t,e){return this instanceof f?(c.apply(this,arguments),this):f.apply(Object.create(f.prototype),arguments)}function v(t,e){return this instanceof v?(l.apply(this,arguments),this):v.apply(Object.create(v.prototype),arguments)}l&&(v.prototype=Object.create(l.prototype),v.prototype.open=function(){var t=this;g(t.path,t.flags,t.mode,(function(e,n){e?(t.destroy(),t.emit("error",e)):(t.fd=n,t.emit("open",n))}))}),t.ReadStream=f,t.WriteStream=v;var y=t.open;function g(t,e,n,r){return"function"==typeof n&&(r=n,n=null),function t(e,n,r,i){return y(e,n,r,(function(o,u){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?("function"==typeof i&&i.apply(this,arguments),d()):p([t,[e,n,r,i]])}))}(t,e,n,r)}return t.open=g,t}function p(t){f("ENQUEUE",t[0].name,t[1]),s.push(t)}function d(){var t=s.shift();t&&(f("RETRY",t[0].name,t[1]),t[0].apply(null,t[1]))}a.debuglog?f=a.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(f=function(){var t=a.format.apply(a,arguments);t="GFS4: "+t.split(/\n/).join("\nGFS4: "),console.error(t)}),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){f(s),n(11).equal(s.length,0)})),t.exports=h(u(r)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched&&(t.exports=h(r),r.__patched=!0),t.exports.close=(c=r.close,function(t,e){return c.call(r,t,(function(t){t||d(),"function"==typeof e&&e.apply(this,arguments)}))}),t.exports.closeSync=(l=r.closeSync,function(t){var e=l.apply(r,arguments);return d(),e}),/\bgraceful-fs\b/.test(r.closeSync.toString())||(r.closeSync=t.exports.closeSync,r.close=t.exports.close)},function(t,e,n){"use strict";var r=n(26),i=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=f;var o=n(22);o.inherits=n(4);var u=n(51),s=n(54);o.inherits(f,u);for(var a=i(s.prototype),c=0;c<a.length;c++){var l=a[c];f.prototype[l]||(f.prototype[l]=s.prototype[l])}function f(t){if(!(this instanceof f))return new f(t);u.call(this,t),s.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||r.nextTick(p,this)}function p(t){t.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),f.prototype._destroy=function(t,e){this.push(null),this.end(),r.nextTick(e,t)}},function(t,e,n){var r=n(37);function i(t){var e=function(){return e.called?e.value:(e.called=!0,e.value=t.apply(this,arguments))};return e.called=!1,e}function o(t){var e=function(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=t.apply(this,arguments)},n=t.name||"Function wrapped with `once`";return e.onceError=n+" shouldn't be called more than once",e.called=!1,e}t.exports=r(i),t.exports.strict=r(o),i.proto=i((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return o(this)},configurable:!0})}))},function(t,e){t.exports=require("crypto")},function(t,e,n){"use strict";const r=n(5),i=n(18),o=n(16),u=n(25),s=n(13),a=n(46),c=n(6),l=n(0),f=n(19),h=n(27),p=n(45)["cache-version"].index,d=r.promisify(s.appendFile),v=r.promisify(s.readFile),y=r.promisify(s.readdir),g=c.concat,m=c.from;function _(t,e,n,r){r=r||{};const i=w(t,e),o={key:e,integrity:n&&f.stringify(n),time:Date.now(),size:r.size,metadata:r.metadata};return u.mkdirfix(l.dirname(i),r.uid,r.gid).then(()=>{const t=JSON.stringify(o);return d(i,`\n${A(t)}\t${t}`)}).then(()=>u.chownr(i,r.uid,r.gid)).catch({code:"ENOENT"},()=>{}).then(()=>x(t,o))}function b(t){const e=E(t),n=m.obj();return k(e).map(r=>{const i=l.join(e,r);return k(i).map(e=>{const r=l.join(i,e);return k(r).map(e=>D(t,l.join(r,e)).reduce((t,e)=>(t.set(e.key,e),t),new Map).then(e=>{for(let r of e.values()){const e=x(t,r);e&&n.push(e)}}).catch({code:"ENOENT"},S))})}).then(()=>{n.push(null)},t=>{n.emit("error",t)}),n}function D(t,e,n){return v(e,"utf8").then(t=>{let e=[];return t.split("\n").forEach(t=>{if(!t)return;const n=t.split("\t");if(!n[1]||A(n[1])!==n[0])return;let r;try{r=JSON.parse(n[1])}catch(t){return}r&&e.push(r)}),e})}function E(t){return l.join(t,"index-v"+p)}function w(t,e){const n=C(e);return l.join.apply(l,[E(t)].concat(a(n)))}function C(t){return F(t,"sha256")}function A(t){return F(t,"sha1")}function F(t,e){return o.createHash(e).update(t).digest("hex")}function x(t,e){return e.integrity?{key:e.key,integrity:e.integrity,path:i(t,e.integrity),size:e.size,time:e.time,metadata:e.metadata}:null}function k(t){return y(t).catch({code:"ENOENT"},()=>[]).catch({code:"ENOTDIR"},()=>[])}function S(){}t.exports.NotFoundError=class extends Error{constructor(t,e){super(h`No cache entry for \`${e}\` found in \`${t}\``),this.code="ENOENT",this.cache=t,this.key=e}},t.exports.insert=_,t.exports.find=function(t,e){const n=w(t,e);return D(t,n).then(n=>n.reduce((n,r)=>r&&r.key===e?x(t,r):n,null)).catch(t=>{if("ENOENT"===t.code)return null;throw t})},t.exports.delete=function(t,e,n){return _(t,e,null,n)},t.exports.lsStream=b,t.exports.ls=function(t){return r.fromNode(e=>{b(t).on("error",e).pipe(g(t=>{e(null,t.reduce((t,e)=>(t[e.key]=e,t),{}))}))})},t.exports._bucketDir=E,t.exports._bucketPath=w,t.exports._hashKey=C,t.exports._hashEntry=A},function(t,e,n){"use strict";const r=n(45)["cache-version"].content,i=n(46),o=n(0),u=n(19);function s(t){return o.join(t,"content-v"+r)}t.exports=function(t,e){const n=u.parse(e,{single:!0});return o.join.apply(o,[s(t),n.algorithm].concat(i(n.hexDigest())))},t.exports._contentDir=s},function(t,e,n){"use strict";const r=n(20).Buffer,i=n(16),o=n(12).Transform,u=["sha256","sha384","sha512"],s=/^[a-z0-9+/]+(?:=?=?)$/i,a=/^([^-]+)-([^?]+)([?\S*]*)$/,c=/^([^-]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)*$/,l=/^[\x21-\x7E]+$/;class f{get isHash(){return!0}constructor(t,e){const n=!(!e||!e.strict);this.source=t.trim();const r=this.source.match(n?c:a);if(!r)return;if(n&&!u.some(t=>t===r[1]))return;this.algorithm=r[1],this.digest=r[2];const i=r[3];this.options=i?i.slice(1).split("?"):[]}hexDigest(){return this.digest&&r.from(this.digest,"base64").toString("hex")}toJSON(){return this.toString()}toString(t){if(t&&t.strict&&!(u.some(t=>t===this.algorithm)&&this.digest.match(s)&&(this.options||[]).every(t=>t.match(l))))return"";const e=this.options&&this.options.length?"?"+this.options.join("?"):"";return`${this.algorithm}-${this.digest}${e}`}}class h{get isIntegrity(){return!0}toJSON(){return this.toString()}toString(t){let e=(t=t||{}).sep||" ";return t.strict&&(e=e.replace(/\S+/g," ")),Object.keys(this).map(n=>this[n].map(e=>f.prototype.toString.call(e,t)).filter(t=>t.length).join(e)).filter(t=>t.length).join(e)}concat(t,e){const n="string"==typeof t?t:v(t,e);return p(`${this.toString(e)} ${n}`,e)}hexDigest(){return p(this,{single:!0}).hexDigest()}match(t,e){const n=p(t,e),r=n.pickAlgorithm(e);return this[r]&&n[r]&&this[r].find(t=>n[r].find(e=>t.digest===e.digest))||!1}pickAlgorithm(t){const e=t&&t.pickAlgorithm||_,n=Object.keys(this);if(!n.length)throw new Error("No algorithms available for "+JSON.stringify(this.toString()));return n.reduce((t,n)=>e(t,n)||t)}}function p(t,e){if(e=e||{},"string"==typeof t)return d(t,e);if(t.algorithm&&t.digest){const n=new h;return n[t.algorithm]=[t],d(v(n,e),e)}return d(v(t,e),e)}function d(t,e){return e.single?new f(t,e):t.trim().split(/\s+/).reduce((t,n)=>{const r=new f(n,e);if(r.algorithm&&r.digest){const e=r.algorithm;t[e]||(t[e]=[]),t[e].push(r)}return t},new h)}function v(t,e){return t.algorithm&&t.digest?f.prototype.toString.call(t,e):"string"==typeof t?v(p(t,e),e):h.prototype.toString.call(t,e)}function y(t){const e=(t=t||{}).integrity&&p(t.integrity,t),n=e&&Object.keys(e).length,r=n&&e.pickAlgorithm(t),u=n&&e[r],s=Array.from(new Set((t.algorithms||["sha512"]).concat(r?[r]:[]))),a=s.map(i.createHash);let c=0;const l=new o({transform(t,e,n){c+=t.length,a.forEach(n=>n.update(t,e)),n(null,t,e)}}).on("end",()=>{const i=t.options&&t.options.length?"?"+t.options.join("?"):"",o=p(a.map((t,e)=>`${s[e]}-${t.digest("base64")}${i}`).join(" "),t),f=n&&o.match(e,t);if("number"==typeof t.size&&c!==t.size){const n=new Error(`stream size mismatch when checking ${e}.\n Wanted: ${t.size}\n Found: ${c}`);n.code="EBADSIZE",n.found=c,n.expected=t.size,n.sri=e,l.emit("error",n)}else if(t.integrity&&!f){const t=new Error(`${e} integrity checksum failed when using ${r}: wanted ${u} but got ${o}. (${c} bytes)`);t.code="EINTEGRITY",t.found=o,t.expected=u,t.algorithm=r,t.sri=e,l.emit("error",t)}else l.emit("size",c),l.emit("integrity",o),f&&l.emit("verified",f)});return l}t.exports.parse=p,t.exports.stringify=v,t.exports.fromHex=function(t,e,n){const i=n&&n.options&&n.options.length?"?"+n.options.join("?"):"";return p(`${e}-${r.from(t,"hex").toString("base64")}${i}`,n)},t.exports.fromData=function(t,e){const n=(e=e||{}).algorithms||["sha512"],r=e.options&&e.options.length?"?"+e.options.join("?"):"";return n.reduce((n,o)=>{const u=i.createHash(o).update(t).digest("base64"),s=new f(`${o}-${u}${r}`,e);if(s.algorithm&&s.digest){const t=s.algorithm;n[t]||(n[t]=[]),n[t].push(s)}return n},new h)},t.exports.fromStream=function(t,e){const n=(e=e||{}).Promise||Promise,r=y(e);return new n((e,n)=>{let i;t.pipe(r),t.on("error",n),r.on("error",n),r.on("integrity",t=>{i=t}),r.on("end",()=>e(i)),r.on("data",()=>{})})},t.exports.checkData=function(t,e,n){if(e=p(e,n=n||{}),!Object.keys(e).length){if(n.error)throw Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTEGRITY"});return!1}const r=e.pickAlgorithm(n),o=i.createHash(r).update(t).digest("base64"),u=p({algorithm:r,digest:o}),s=u.match(e,n);if(s||!n.error)return s;if("number"==typeof n.size&&t.length!==n.size){const r=new Error(`data size mismatch when checking ${e}.\n Wanted: ${n.size}\n Found: ${t.length}`);throw r.code="EBADSIZE",r.found=t.length,r.expected=n.size,r.sri=e,r}{const n=new Error(`Integrity checksum failed when using ${r}: Wanted ${e}, but got ${u}. (${t.length} bytes)`);throw n.code="EINTEGRITY",n.found=u,n.expected=e,n.algorithm=r,n.sri=e,n}},t.exports.checkStream=function(t,e,n){const r=(n=n||{}).Promise||Promise,i=y(Object.assign({},n,{integrity:e}));return new r((e,n)=>{let r;t.pipe(i),t.on("error",n),i.on("error",n),i.on("verified",t=>{r=t}),i.on("end",()=>e(r)),i.on("data",()=>{})})},t.exports.integrityStream=y,t.exports.create=function(t){const e=(t=t||{}).algorithms||["sha512"],n=t.options&&t.options.length?"?"+t.options.join("?"):"",r=e.map(i.createHash);return{update:function(t,e){return r.forEach(n=>n.update(t,e)),this},digest:function(i){return e.reduce((e,i)=>{const o=r.shift().digest("base64"),u=new f(`${i}-${o}${n}`,t);if(u.algorithm&&u.digest){const t=u.algorithm;e[t]||(e[t]=[]),e[t].push(u)}return e},new h)}}};const g=new Set(i.getHashes()),m=["md5","whirlpool","sha1","sha224","sha256","sha384","sha512","sha3","sha3-256","sha3-384","sha3-512","sha3_256","sha3_384","sha3_512"].filter(t=>g.has(t));function _(t,e){return m.indexOf(t.toLowerCase())>=m.indexOf(e.toLowerCase())?t:e}},function(t,e,n){var r=n(133),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function u(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=u),o(i,u),u.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},u.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},u.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},u.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},function(t,e,n){var r=n(15),i=function(){},o=function(t,e,n){if("function"==typeof e)return o(t,null,e);e||(e={}),n=r(n||i);var u=t._writableState,s=t._readableState,a=e.readable||!1!==e.readable&&t.readable,c=e.writable||!1!==e.writable&&t.writable,l=function(){t.writable||f()},f=function(){c=!1,a||n.call(t)},h=function(){a=!1,c||n.call(t)},p=function(e){n.call(t,e?new Error("exited with error code: "+e):null)},d=function(e){n.call(t,e)},v=function(){return(!a||s&&s.ended)&&(!c||u&&u.ended)?void 0:n.call(t,new Error("premature close"))},y=function(){t.req.on("finish",f)};return!function(t){return t.setHeader&&"function"==typeof t.abort}(t)?c&&!u&&(t.on("end",l),t.on("close",l)):(t.on("complete",f),t.on("abort",v),t.req?y():t.on("request",y)),function(t){return t.stdio&&Array.isArray(t.stdio)&&3===t.stdio.length}(t)&&t.on("exit",p),t.on("end",h),t.on("finish",f),!1!==e.error&&t.on("error",d),t.on("close",v),function(){t.removeListener("complete",f),t.removeListener("abort",v),t.removeListener("request",y),t.req&&t.req.removeListener("finish",f),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",f),t.removeListener("exit",p),t.removeListener("end",h),t.removeListener("error",d),t.removeListener("close",v)}};t.exports=o},function(t,e){function n(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===n(t)},e.isBoolean=function(t){return"boolean"==typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===n(t)},e.isObject=function(t){return"object"==typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===n(t)},e.isError=function(t){return"[object Error]"===n(t)||t instanceof Error},e.isFunction=function(t){return"function"==typeof t},e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=Buffer.isBuffer},function(t,e,n){t.exports=h,h.sync=g;var r=n(11),i=n(0),o=n(2),u=void 0;try{u=n(8)}catch(t){}var s=parseInt("666",8),a={nosort:!0,silent:!0},c=0,l="win32"===process.platform;function f(t){if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach((function(e){t[e]=t[e]||o[e],t[e+="Sync"]=t[e]||o[e]})),t.maxBusyTries=t.maxBusyTries||3,t.emfileWait=t.emfileWait||1e3,!1===t.glob&&(t.disableGlob=!0),!0!==t.disableGlob&&void 0===u)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");t.disableGlob=t.disableGlob||!1,t.glob=t.glob||a}function h(t,e,n){"function"==typeof e&&(n=e,e={}),r(t,"rimraf: missing path"),r.equal(typeof t,"string","rimraf: path should be a string"),r.equal(typeof n,"function","rimraf: callback function required"),r(e,"rimraf: invalid options argument provided"),r.equal(typeof e,"object","rimraf: options should be object"),f(e);var i=0,o=null,s=0;if(e.disableGlob||!u.hasMagic(t))return a(null,[t]);function a(t,r){return t?n(t):0===(s=r.length)?n():void r.forEach((function(t){p(t,e,(function r(u){if(u){if(("EBUSY"===u.code||"ENOTEMPTY"===u.code||"EPERM"===u.code)&&i<e.maxBusyTries)return i++,setTimeout((function(){p(t,e,r)}),100*i);if("EMFILE"===u.code&&c<e.emfileWait)return setTimeout((function(){p(t,e,r)}),c++);"ENOENT"===u.code&&(u=null)}c=0,function(t){o=o||t,0==--s&&n(o)}(u)}))}))}e.lstat(t,(function(n,r){if(!n)return a(null,[t]);u(t,e.glob,a)}))}function p(t,e,n){r(t),r(e),r("function"==typeof n),e.lstat(t,(function(r,i){return r&&"ENOENT"===r.code?n(null):(r&&"EPERM"===r.code&&l&&d(t,e,r,n),i&&i.isDirectory()?y(t,e,r,n):void e.unlink(t,(function(r){if(r){if("ENOENT"===r.code)return n(null);if("EPERM"===r.code)return l?d(t,e,r,n):y(t,e,r,n);if("EISDIR"===r.code)return y(t,e,r,n)}return n(r)})))}))}function d(t,e,n,i){r(t),r(e),r("function"==typeof i),n&&r(n instanceof Error),e.chmod(t,s,(function(r){r?i("ENOENT"===r.code?null:n):e.stat(t,(function(r,o){r?i("ENOENT"===r.code?null:n):o.isDirectory()?y(t,e,n,i):e.unlink(t,i)}))}))}function v(t,e,n){r(t),r(e),n&&r(n instanceof Error);try{e.chmodSync(t,s)}catch(t){if("ENOENT"===t.code)return;throw n}try{var i=e.statSync(t)}catch(t){if("ENOENT"===t.code)return;throw n}i.isDirectory()?m(t,e,n):e.unlinkSync(t)}function y(t,e,n,o){r(t),r(e),n&&r(n instanceof Error),r("function"==typeof o),e.rmdir(t,(function(u){!u||"ENOTEMPTY"!==u.code&&"EEXIST"!==u.code&&"EPERM"!==u.code?u&&"ENOTDIR"===u.code?o(n):o(u):function(t,e,n){r(t),r(e),r("function"==typeof n),e.readdir(t,(function(r,o){if(r)return n(r);var u,s=o.length;if(0===s)return e.rmdir(t,n);o.forEach((function(r){h(i.join(t,r),e,(function(r){if(!u)return r?n(u=r):void(0==--s&&e.rmdir(t,n))}))}))}))}(t,e,o)}))}function g(t,e){var n;if(f(e=e||{}),r(t,"rimraf: missing path"),r.equal(typeof t,"string","rimraf: path should be a string"),r(e,"rimraf: missing options"),r.equal(typeof e,"object","rimraf: options should be object"),e.disableGlob||!u.hasMagic(t))n=[t];else try{e.lstatSync(t),n=[t]}catch(r){n=u.sync(t,e.glob)}if(n.length)for(var i=0;i<n.length;i++){t=n[i];try{var o=e.lstatSync(t)}catch(n){if("ENOENT"===n.code)return;"EPERM"===n.code&&l&&v(t,e,n)}try{o&&o.isDirectory()?m(t,e,null):e.unlinkSync(t)}catch(n){if("ENOENT"===n.code)return;if("EPERM"===n.code)return l?v(t,e,n):m(t,e,n);if("EISDIR"!==n.code)throw n;m(t,e,n)}}}function m(t,e,n){r(t),r(e),n&&r(n instanceof Error);try{e.rmdirSync(t)}catch(o){if("ENOENT"===o.code)return;if("ENOTDIR"===o.code)throw n;"ENOTEMPTY"!==o.code&&"EEXIST"!==o.code&&"EPERM"!==o.code||function(t,e){r(t),r(e),e.readdirSync(t).forEach((function(n){g(i.join(t,n),e)}));var n=l?100:1,o=0;for(;;){var u=!0;try{var s=e.rmdirSync(t,e);return u=!1,s}finally{if(++o<n&&u)continue}}}(t,e)}}},function(t,e,n){t.exports=l,l.Minimatch=f;var r={sep:"/"};try{r=n(0)}catch(t){}var i=l.GLOBSTAR=f.GLOBSTAR={},o=n(71),u={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},s="().*{}+?[]^$\\!".split("").reduce((function(t,e){return t[e]=!0,t}),{});var a=/\/+/;function c(t,e){t=t||{},e=e||{};var n={};return Object.keys(e).forEach((function(t){n[t]=e[t]})),Object.keys(t).forEach((function(e){n[e]=t[e]})),n}function l(t,e,n){if("string"!=typeof e)throw new TypeError("glob pattern string required");return n||(n={}),!(!n.nocomment&&"#"===e.charAt(0))&&(""===e.trim()?""===t:new f(e,n).match(t))}function f(t,e){if(!(this instanceof f))return new f(t,e);if("string"!=typeof t)throw new TypeError("glob pattern string required");e||(e={}),t=t.trim(),"/"!==r.sep&&(t=t.split(r.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function h(t,e){if(e||(e=this instanceof f?this.options:{}),void 0===(t=void 0===t?this.pattern:t))throw new TypeError("undefined pattern");return e.nobrace||!t.match(/\{.*\}/)?[t]:o(t)}l.filter=function(t,e){return e=e||{},function(n,r,i){return l(n,t,e)}},l.defaults=function(t){if(!t||!Object.keys(t).length)return l;var e=l,n=function(n,r,i){return e.minimatch(n,r,c(t,i))};return n.Minimatch=function(n,r){return new e.Minimatch(n,c(t,r))},n},f.defaults=function(t){return t&&Object.keys(t).length?l.defaults(t).Minimatch:f},f.prototype.debug=function(){},f.prototype.make=function(){if(this._made)return;var t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate();var n=this.globSet=this.braceExpand();e.debug&&(this.debug=console.error);this.debug(this.pattern,n),n=this.globParts=n.map((function(t){return t.split(a)})),this.debug(this.pattern,n),n=n.map((function(t,e,n){return t.map(this.parse,this)}),this),this.debug(this.pattern,n),n=n.filter((function(t){return-1===t.indexOf(!1)})),this.debug(this.pattern,n),this.set=n},f.prototype.parseNegate=function(){var t=this.pattern,e=!1,n=this.options,r=0;if(n.nonegate)return;for(var i=0,o=t.length;i<o&&"!"===t.charAt(i);i++)e=!e,r++;r&&(this.pattern=t.substr(r));this.negate=e},l.braceExpand=function(t,e){return h(t,e)},f.prototype.braceExpand=h,f.prototype.parse=function(t,e){if(t.length>65536)throw new TypeError("pattern is too long");var n=this.options;if(!n.noglobstar&&"**"===t)return i;if(""===t)return"";var r,o="",a=!!n.nocase,c=!1,l=[],f=[],h=!1,d=-1,v=-1,y="."===t.charAt(0)?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",g=this;function m(){if(r){switch(r){case"*":o+="[^/]*?",a=!0;break;case"?":o+="[^/]",a=!0;break;default:o+="\\"+r}g.debug("clearStateChar %j %j",r,o),r=!1}}for(var _,b=0,D=t.length;b<D&&(_=t.charAt(b));b++)if(this.debug("%s\t%s %s %j",t,b,o,_),c&&s[_])o+="\\"+_,c=!1;else switch(_){case"/":return!1;case"\\":m(),c=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",t,b,o,_),h){this.debug(" in class"),"!"===_&&b===v+1&&(_="^"),o+=_;continue}g.debug("call clearStateChar %j",r),m(),r=_,n.noext&&m();continue;case"(":if(h){o+="(";continue}if(!r){o+="\\(";continue}l.push({type:r,start:b-1,reStart:o.length,open:u[r].open,close:u[r].close}),o+="!"===r?"(?:(?!(?:":"(?:",this.debug("plType %j %j",r,o),r=!1;continue;case")":if(h||!l.length){o+="\\)";continue}m(),a=!0;var E=l.pop();o+=E.close,"!"===E.type&&f.push(E),E.reEnd=o.length;continue;case"|":if(h||!l.length||c){o+="\\|",c=!1;continue}m(),o+="|";continue;case"[":if(m(),h){o+="\\"+_;continue}h=!0,v=b,d=o.length,o+=_;continue;case"]":if(b===v+1||!h){o+="\\"+_,c=!1;continue}if(h){var w=t.substring(v+1,b);try{RegExp("["+w+"]")}catch(t){var C=this.parse(w,p);o=o.substr(0,d)+"\\["+C[0]+"\\]",a=a||C[1],h=!1;continue}}a=!0,h=!1,o+=_;continue;default:m(),c?c=!1:!s[_]||"^"===_&&h||(o+="\\"),o+=_}h&&(w=t.substr(v+1),C=this.parse(w,p),o=o.substr(0,d)+"\\["+C[0],a=a||C[1]);for(E=l.pop();E;E=l.pop()){var A=o.slice(E.reStart+E.open.length);this.debug("setting tail",o,E),A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(t,e,n){return n||(n="\\"),e+e+n+"|"})),this.debug("tail=%j\n %s",A,A,E,o);var F="*"===E.type?"[^/]*?":"?"===E.type?"[^/]":"\\"+E.type;a=!0,o=o.slice(0,E.reStart)+F+"\\("+A}m(),c&&(o+="\\\\");var x=!1;switch(o.charAt(0)){case".":case"[":case"(":x=!0}for(var k=f.length-1;k>-1;k--){var S=f[k],j=o.slice(0,S.reStart),O=o.slice(S.reStart,S.reEnd-8),T=o.slice(S.reEnd-8,S.reEnd),B=o.slice(S.reEnd);T+=B;var P=j.split("(").length-1,N=B;for(b=0;b<P;b++)N=N.replace(/\)[+*?]?/,"");var R="";""===(B=N)&&e!==p&&(R="$"),o=j+O+B+R+T}""!==o&&a&&(o="(?=.)"+o);x&&(o=y+o);if(e===p)return[o,a];if(!a)return function(t){return t.replace(/\\(.)/g,"$1")}(t);var M=n.nocase?"i":"";try{var I=new RegExp("^"+o+"$",M)}catch(t){return new RegExp("$.")}return I._glob=t,I._src=o,I};var p={};l.makeRe=function(t,e){return new f(t,e||{}).makeRe()},f.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,n=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",r=e.nocase?"i":"",o=t.map((function(t){return t.map((function(t){return t===i?n:"string"==typeof t?function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(t):t._src})).join("\\/")})).join("|");o="^(?:"+o+")$",this.negate&&(o="^(?!"+o+").*$");try{this.regexp=new RegExp(o,r)}catch(t){this.regexp=!1}return this.regexp},l.match=function(t,e,n){var r=new f(e,n=n||{});return t=t.filter((function(t){return r.match(t)})),r.options.nonull&&!t.length&&t.push(e),t},f.prototype.match=function(t,e){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;var n=this.options;"/"!==r.sep&&(t=t.split(r.sep).join("/"));t=t.split(a),this.debug(this.pattern,"split",t);var i,o,u=this.set;for(this.debug(this.pattern,"set",u),o=t.length-1;o>=0&&!(i=t[o]);o--);for(o=0;o<u.length;o++){var s=u[o],c=t;if(n.matchBase&&1===s.length&&(c=[i]),this.matchOne(c,s,e))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate},f.prototype.matchOne=function(t,e,n){var r=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var o=0,u=0,s=t.length,a=e.length;o<s&&u<a;o++,u++){this.debug("matchOne loop");var c,l=e[u],f=t[o];if(this.debug(e,l,f),!1===l)return!1;if(l===i){this.debug("GLOBSTAR",[e,l,f]);var h=o,p=u+1;if(p===a){for(this.debug("** at the end");o<s;o++)if("."===t[o]||".."===t[o]||!r.dot&&"."===t[o].charAt(0))return!1;return!0}for(;h<s;){var d=t[h];if(this.debug("\nglobstar while",t,h,e,p,d),this.matchOne(t.slice(h),e.slice(p),n))return this.debug("globstar found match!",h,s,d),!0;if("."===d||".."===d||!r.dot&&"."===d.charAt(0)){this.debug("dot detected!",t,h,e,p);break}this.debug("globstar swallow a segment, and continue"),h++}return!(!n||(this.debug("\n>>> no match, partial?",t,h,e,p),h!==s))}if("string"==typeof l?(c=r.nocase?f.toLowerCase()===l.toLowerCase():f===l,this.debug("string match",l,f,c)):(c=f.match(l),this.debug("pattern match",l,f,c)),!c)return!1}if(o===s&&u===a)return!0;if(o===s)return n;if(u===a)return o===s-1&&""===t[o];throw new Error("wtf?")}},function(t,e,n){"use strict";const r=n(5),i=r.promisify(n(134)),o=r.promisify(n(47)),u=n(48);function s(t,e,n){return process.getuid?"number"!=typeof e&&"number"!=typeof n||"number"==typeof e&&process.getuid()===e&&"number"==typeof n&&process.getgid()===n?r.resolve():u("fixOwner: fixing ownership on "+t,()=>i(t,"number"==typeof e?e:process.getuid(),"number"==typeof n?n:process.getgid()).catch({code:"ENOENT"},()=>null)):r.resolve()}t.exports.chownr=s,t.exports.mkdirfix=function(t,e,n,r){return o(t).then(t=>{if(t)return s(t,e,n).then(()=>t)}).catch({code:"EEXIST"},()=>s(t,e,n).then(()=>null))}},function(t,e,n){"use strict";"undefined"==typeof process||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?t.exports={nextTick:function(t,e,n,r){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var i,o,u=arguments.length;switch(u){case 0:case 1:return process.nextTick(t);case 2:return process.nextTick((function(){t.call(null,e)}));case 3:return process.nextTick((function(){t.call(null,e,n)}));case 4:return process.nextTick((function(){t.call(null,e,n,r)}));default:for(i=new Array(u-1),o=0;o<i.length;)i[o++]=arguments[o];return process.nextTick((function(){t.apply(null,i)}))}}}:t.exports=process},function(t,e,n){"use strict";const r=n(0),i=n(156)({directory:r.join(__dirname,"../../locales"),locale:"en",updateFiles:"true"===process.env.CACACHE_UPDATE_LOCALE_FILES});t.exports=function(t){let e="";return t.forEach((t,n)=>{e+=t,arguments[n+1]&&(e+="%s")}),i.__.apply(null,[e].concat([].slice.call(arguments,1)))},t.exports.setLocale=t=>{i.setLocale(t)}},function(t,e,n){"use strict";let r=new(n(158))({max:52428800,maxAge:18e4,length:(t,e)=>e.startsWith("key:")?t.data.length:e.startsWith("digest:")?t.length:void 0});function i(t,e,n,r){u(r).set(`digest:${t}:${e}`,n)}t.exports.clearMemoized=function(){const t={};return r.forEach((e,n)=>{t[n]=e}),r.reset(),t},t.exports.put=function(t,e,n,r){u(r).set(`key:${t}:${e.key}`,{entry:e,data:n}),i(t,e.integrity,n,r)},t.exports.put.byDigest=i,t.exports.get=function(t,e,n){return u(n).get(`key:${t}:${e}`)},t.exports.get.byDigest=function(t,e,n){return u(n).get(`digest:${t}:${e}`)};class o{constructor(t){this.obj=t}get(t){return this.obj[t]}set(t,e){this.obj[t]=e}}function u(t){return t&&t.memoize?t.memoize.get&&t.memoize.set?t.memoize:"object"==typeof t.memoize?new o(t.memoize):r:r}},function(t,e,n){"use strict";function r(t){return"/"===t.charAt(0)}function i(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(t),n=e[1]||"",r=Boolean(n&&":"!==n.charAt(1));return Boolean(e[2]||r)}t.exports="win32"===process.platform?i:r,t.exports.posix=r,t.exports.win32=i},function(t,e,n){"use strict";var r={"*":{label:"any",check:function(){return!0}},A:{label:"array",check:function(t){return Array.isArray(t)||function(t){return null!=t&&"object"==typeof t&&t.hasOwnProperty("callee")}(t)}},S:{label:"string",check:function(t){return"string"==typeof t}},N:{label:"number",check:function(t){return"number"==typeof t}},F:{label:"function",check:function(t){return"function"==typeof t}},O:{label:"object",check:function(t){return"object"==typeof t&&null!=t&&!r.A.check(t)&&!r.E.check(t)}},B:{label:"boolean",check:function(t){return"boolean"==typeof t}},E:{label:"error",check:function(t){return t instanceof Error}},Z:{label:"null",check:function(t){return null==t}}};function i(t,e){var n=e[t.length]=e[t.length]||[];-1===n.indexOf(t)&&n.push(t)}var o=t.exports=function(t,e){if(2!==arguments.length)throw l(["SA"],arguments.length);if(!t)throw u(0);if(!e)throw u(1);if(!r.S.check(t))throw a(0,["string"],t);if(!r.A.check(e))throw a(1,["array"],e);var n=t.split("|"),o={};n.forEach((function(t){for(var e=0;e<t.length;++e){var n=t[e];if(!r[n])throw s(e,n)}if(/E.*E/.test(t))throw f(t);i(t,o),/E/.test(t)&&(i(t.replace(/E.*$/,"E"),o),i(t.replace(/E/,"Z"),o),1===t.length&&i("",o))}));var c=o[e.length];if(!c)throw l(Object.keys(o),e.length);for(var h=0;h<e.length;++h){var p=c.filter((function(t){var n=t[h];return(0,r[n].check)(e[h])}));if(!p.length){var d=c.map((function(t){return r[t[h]].label})).filter((function(t){return null!=t}));throw a(h,d,e[h])}c=p}};function u(t){return h("EMISSINGARG","Missing required argument #"+(t+1))}function s(t,e){return h("EUNKNOWNTYPE","Unknown type "+e+" in argument #"+(t+1))}function a(t,e,n){var i;return Object.keys(r).forEach((function(t){r[t].check(n)&&(i=r[t].label)})),h("EINVALIDTYPE","Argument #"+(t+1)+": Expected "+c(e)+" but got "+i)}function c(t){return t.join(", ").replace(/, ([^,]+)$/," or $1")}function l(t,e){return h("EWRONGARGCOUNT","Expected "+c(t)+" "+(t.every((function(t){return 1===t.length}))?"argument":"arguments")+" but got "+e)}function f(t){return h("ETOOMANYERRORTYPES",'Only one error type per argument signature is allowed, more than one found in "'+t+'"')}function h(t,e){var n=new Error(e);return n.code=t,Error.captureStackTrace&&Error.captureS