cep-webpack-plugin
Version:
Webpack plugin that emits a CSXS/manifest.xml file for Adobe CEP extensions.
6 lines • 387 kB
JavaScript
/*!
*** cep-webpack-plugin 2.1.0
*** Copyright © 2019, Jaid <jaid.jsx@gmail.com> (https://github.com/Jaid)
*** See https://github.com/Jaid/cep-webpack-plugin#readme
!*/
var t,e;t=global,e=function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=65)}([function(t,e){t.exports=require("path")},function(t,e,r){var n,i,o=r(5),s=r(66),u=r(67),a=r(68),c=[],l=r(6),h=function(){};function p(t){s(t),t.gracefulify=p,t.FileReadStream=h,t.FileWriteStream=m,t.createReadStream=function(t,e){return new h(t,e)},t.createWriteStream=function(t,e){return new m(t,e)};var e=t.readFile;t.readFile=function(t,r,n){return"function"==typeof r&&(n=r,r=null),function t(r,n,i){return e(r,n,(function(e){!e||"EMFILE"!==e.code&&"ENFILE"!==e.code?("function"==typeof i&&i.apply(this,arguments),d()):f([t,[r,n,i]])}))}(t,r,n)};var r=t.writeFile;t.writeFile=function(t,e,n,i){return"function"==typeof n&&(i=n,n=null),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()):f([t,[e,n,i,o]])}))}(t,e,n,i)};var n=t.appendFile;n&&(t.appendFile=function(t,e,r,i){return"function"==typeof r&&(i=r,r=null),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()):f([t,[e,r,i,o]])}))}(t,e,r,i)});var i=t.readdir;function o(e){return i.apply(t,e)}if(t.readdir=function(t,e,r){var n=[t];return"function"!=typeof e?n.push(e):r=e,n.push((function(t,e){e&&e.sort&&e.sort(),!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?("function"==typeof r&&r.apply(this,arguments),d()):f([o,[n]])})),o(n)},"v0.8"===process.version.substr(0,4)){var a=u(t);h=a.ReadStream,m=a.WriteStream}var c=t.ReadStream;c&&(h.prototype=Object.create(c.prototype),h.prototype.open=function(){var t=this;y(t.path,t.flags,t.mode,(function(e,r){e?(t.autoClose&&t.destroy(),t.emit("error",e)):(t.fd=r,t.emit("open",r),t.read())}))});var l=t.WriteStream;function h(t,e){return this instanceof h?(c.apply(this,arguments),this):h.apply(Object.create(h.prototype),arguments)}function m(t,e){return this instanceof m?(l.apply(this,arguments),this):m.apply(Object.create(m.prototype),arguments)}l&&(m.prototype=Object.create(l.prototype),m.prototype.open=function(){var t=this;y(t.path,t.flags,t.mode,(function(e,r){e?(t.destroy(),t.emit("error",e)):(t.fd=r,t.emit("open",r))}))}),t.ReadStream=h,t.WriteStream=m;var D=t.open;function y(t,e,r,n){return"function"==typeof r&&(n=r,r=null),function t(e,r,n,i){return D(e,r,n,(function(o,s){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?("function"==typeof i&&i.apply(this,arguments),d()):f([t,[e,r,n,i]])}))}(t,e,r,n)}return t.open=y,t}function f(t){h("ENQUEUE",t[0].name,t[1]),c.push(t)}function d(){var t=c.shift();t&&(h("RETRY",t[0].name,t[1]),t[0].apply(null,t[1]))}l.debuglog?h=l.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(h=function(){var t=l.format.apply(l,arguments);t="GFS4: "+t.split(/\n/).join("\nGFS4: "),console.error(t)}),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){h(c),r(9).equal(c.length,0)})),t.exports=p(a(o)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!o.__patched&&(t.exports=p(o),o.__patched=!0),t.exports.close=(n=o.close,function(t,e){return n.call(o,t,(function(t){t||d(),"function"==typeof e&&e.apply(this,arguments)}))}),t.exports.closeSync=(i=o.closeSync,function(t){var e=i.apply(o,arguments);return d(),e}),/\bgraceful-fs\b/.test(o.closeSync.toString())||(o.closeSync=t.exports.closeSync,o.close=t.exports.close)},function(t,e,r){var n=r(13),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],o=["scalar","sequence","mapping"];t.exports=function(t,e){var r,s;if(e=e||{},Object.keys(e).forEach((function(e){if(-1===i.indexOf(e))throw new n('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.defaultStyle=e.defaultStyle||null,this.styleAliases=(r=e.styleAliases||null,s={},null!==r&&Object.keys(r).forEach((function(t){r[t].forEach((function(e){s[String(e)]=t}))})),s),-1===o.indexOf(this.kind))throw new n('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}},function(t,e,r){e.fromCallback=function(t){return Object.defineProperty((function(){if("function"!=typeof arguments[arguments.length-1])return new Promise((e,r)=>{arguments[arguments.length]=(t,n)=>{if(t)return r(t);e(n)},arguments.length++,t.apply(this,arguments)});t.apply(this,arguments)}),"name",{value:t.name})},e.fromPromise=function(t){return Object.defineProperty((function(){const e=arguments[arguments.length-1];if("function"!=typeof e)return t.apply(this,arguments);t.apply(this,arguments).then(t=>e(null,t),e)}),"name",{value:t.name})}},function(t,e,r){const n=(0,r(3).fromCallback)(r(70)),i=r(71);t.exports={mkdirs:n,mkdirsSync:i,mkdirp:n,mkdirpSync:i,ensureDir:n,ensureDirSync:i}},function(t,e){t.exports=require("fs")},function(t,e){t.exports=require("util")},function(t,e,r){const n=r(3).fromPromise,i=r(35);t.exports={pathExists:n((function(t){return i.access(t).then(()=>!0).catch(()=>!1)})),pathExistsSync:i.existsSync}},function(t,e){t.exports=require("ow")},function(t,e){t.exports=require("assert")},function(t,e,r){const n=r(24),i=r(18),o=r(0),s=r(26);t.exports=new class{get defaultCompressionLevel(){return s.constants.Z_BEST_COMPRESSION}ensureContainingFolder(t){return new Promise((e,r)=>{const i=o.dirname(t);n.pathExists(i,(t,o)=>{t?r(t):o?e():n.mkdirs(i,t=>{t?r(t):e()})})})}readMaybeCompressedFile(t,{compressed:e=!1}={}){return new Promise((r,n)=>{i.readFile(t,(i,o)=>{i?n(i):t.endsWith(".gz")||e?s.gunzip(o,(t,e)=>{t&&n(t),r(e.toString("utf8"))}):r(o.toString("utf8"))})})}writeMaybeCompressedFile(t,e,r,n,{compress:o=!1,compressionLevel:u=this.defaultCompressionLevel}={}){t.endsWith(".gz")||o?s.gzip(e,{level:u},(e,o)=>{e?n(e):i.writeFile(t,o,t=>{t?n(t):r()})}):i.writeFile(t,e,t=>{t?n(t):r()})}}},function(t,e,r){function n(t){return null==t}t.exports.isNothing=n,t.exports.isObject=function(t){return"object"==typeof t&&null!==t},t.exports.toArray=function(t){return Array.isArray(t)?t:n(t)?[]:[t]},t.exports.repeat=function(t,e){var r,n="";for(r=0;e>r;r+=1)n+=t;return n},t.exports.isNegativeZero=function(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t},t.exports.extend=function(t,e){var r,n,i,o;if(e)for(r=0,n=(o=Object.keys(e)).length;n>r;r+=1)t[i=o[r]]=e[i];return t}},function(t,e,r){var n=r(11),i=r(13),o=r(2);function s(t,e,r){var n=[];return t.include.forEach((function(t){r=s(t,e,r)})),t[e].forEach((function(t){r.forEach((function(e,r){e.tag===t.tag&&e.kind===t.kind&&n.push(r)})),r.push(t)})),r.filter((function(t,e){return-1===n.indexOf(e)}))}function u(t){this.include=t.include||[],this.implicit=t.implicit||[],this.explicit=t.explicit||[],this.implicit.forEach((function(t){if(t.loadKind&&"scalar"!==t.loadKind)throw new i("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=s(this,"implicit",[]),this.compiledExplicit=s(this,"explicit",[]),this.compiledTypeMap=function(){var t,e,r={scalar:{},sequence:{},mapping:{},fallback:{}};function n(t){r[t.kind][t.tag]=r.fallback[t.tag]=t}for(t=0,e=arguments.length;e>t;t+=1)arguments[t].forEach(n);return r}(this.compiledImplicit,this.compiledExplicit)}u.DEFAULT=null,u.create=function(){var t,e;switch(arguments.length){case 1:t=u.DEFAULT,e=arguments[0];break;case 2:t=arguments[0],e=arguments[1];break;default:throw new i("Wrong number of arguments for Schema.create function")}if(t=n.toArray(t),e=n.toArray(e),!t.every((function(t){return t instanceof u})))throw new i("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!e.every((function(t){return t instanceof o})))throw new i("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new u({include:t,explicit:e})},t.exports=u},function(t,e,r){function n(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n.prototype.toString=function(t){var e=this.name+": ";return e+=this.reason||"(unknown reason)",!t&&this.mark&&(e+=" "+this.mark.toString()),e},t.exports=n},function(t,e,r){var n=r(12);t.exports=new n({include:[r(60)],implicit:[r(157),r(158)],explicit:[r(159),r(161),r(162),r(163)]})},function(t,e){t.exports=require("stream")},function(t,e,r){const n=r(1),i=r(0),o=10,s=5,u=0,a=process.versions.node.split("."),c=Number.parseInt(a[0],10),l=Number.parseInt(a[1],10),h=Number.parseInt(a[2],10);function p(){if(c>o)return!0;if(c===o){if(l>s)return!0;if(l===s&&h>=u)return!0}return!1}function f(t,e){const r=i.resolve(t).split(i.sep).filter(t=>t),n=i.resolve(e).split(i.sep).filter(t=>t);return r.reduce((t,e,r)=>t&&n[r]===e,!0)}function d(t,e,r){return`Cannot ${r} '${t}' to a subdirectory of itself, '${e}'.`}t.exports={checkPaths:function(t,e,r,i){!function(t,e,r){p()?n.stat(t,{bigint:!0},(t,i)=>{if(t)return r(t);n.stat(e,{bigint:!0},(t,e)=>t?"ENOENT"===t.code?r(null,{srcStat:i,destStat:null}):r(t):r(null,{srcStat:i,destStat:e}))}):n.stat(t,(t,i)=>{if(t)return r(t);n.stat(e,(t,e)=>t?"ENOENT"===t.code?r(null,{srcStat:i,destStat:null}):r(t):r(null,{srcStat:i,destStat:e}))})}(t,e,(n,o)=>{if(n)return i(n);const{srcStat:s,destStat:u}=o;return u&&u.ino&&u.dev&&u.ino===s.ino&&u.dev===s.dev?i(new Error("Source and destination must not be the same.")):s.isDirectory()&&f(t,e)?i(new Error(d(t,e,r))):i(null,{srcStat:s,destStat:u})})},checkPathsSync:function(t,e,r){const{srcStat:i,destStat:o}=function(t,e){let r,i;r=p()?n.statSync(t,{bigint:!0}):n.statSync(t);try{i=p()?n.statSync(e,{bigint:!0}):n.statSync(e)}catch(t){if("ENOENT"===t.code)return{srcStat:r,destStat:null};throw t}return{srcStat:r,destStat:i}}(t,e);if(o&&o.ino&&o.dev&&o.ino===i.ino&&o.dev===i.dev)throw new Error("Source and destination must not be the same.");if(i.isDirectory()&&f(t,e))throw new Error(d(t,e,r));return{srcStat:i,destStat:o}},checkParentPaths:function t(e,r,o,s,u){const a=i.resolve(i.dirname(e)),c=i.resolve(i.dirname(o));if(c===a||c===i.parse(c).root)return u();p()?n.stat(c,{bigint:!0},(n,i)=>n?"ENOENT"===n.code?u():u(n):i.ino&&i.dev&&i.ino===r.ino&&i.dev===r.dev?u(new Error(d(e,o,s))):t(e,r,c,s,u)):n.stat(c,(n,i)=>n?"ENOENT"===n.code?u():u(n):i.ino&&i.dev&&i.ino===r.ino&&i.dev===r.dev?u(new Error(d(e,o,s))):t(e,r,c,s,u))},checkParentPathsSync:function t(e,r,o,s){const u=i.resolve(i.dirname(e)),a=i.resolve(i.dirname(o));if(a===u||a===i.parse(a).root)return;let c;try{c=p()?n.statSync(a,{bigint:!0}):n.statSync(a)}catch(t){if("ENOENT"===t.code)return;throw t}if(c.ino&&c.dev&&c.ino===r.ino&&c.dev===r.dev)throw new Error(d(e,o,s));return t(e,r,a,s)},isSrcSubdir:f}},function(t,e,r){const n=r(3).fromCallback,i=r(76);t.exports={remove:n(i),removeSync:i.sync}},function(t,e,r){var n,i,o=r(5),s=r(92),u=r(93),a=r(94),c=r(6);"function"==typeof Symbol&&"function"==typeof Symbol.for?(n=Symbol.for("graceful-fs.queue"),i=Symbol.for("graceful-fs.previous")):(n="___graceful-fs.queue",i="___graceful-fs.previous");var l=function(){};if(c.debuglog?l=c.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(l=function(){var t=c.format.apply(c,arguments);t="GFS4: "+t.split(/\n/).join("\nGFS4: "),console.error(t)}),!global[n]){var h=[];Object.defineProperty(global,n,{get:function(){return h}}),o.close=function(t){function e(e,r){return t.call(o,e,(function(t){t||d(),"function"==typeof r&&r.apply(this,arguments)}))}return Object.defineProperty(e,i,{value:t}),e}(o.close),o.closeSync=function(t){function e(e){t.apply(o,arguments),d()}return Object.defineProperty(e,i,{value:t}),e}(o.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){l(global[n]),r(9).equal(global[n].length,0)}))}function p(t){s(t),t.gracefulify=p,t.createReadStream=function(e,r){return new t.ReadStream(e,r)},t.createWriteStream=function(e,r){return new t.WriteStream(e,r)};var e=t.readFile;t.readFile=function(t,r,n){return"function"==typeof r&&(n=r,r=null),function t(r,n,i){return e(r,n,(function(e){!e||"EMFILE"!==e.code&&"ENFILE"!==e.code?("function"==typeof i&&i.apply(this,arguments),d()):f([t,[r,n,i]])}))}(t,r,n)};var r=t.writeFile;t.writeFile=function(t,e,n,i){return"function"==typeof n&&(i=n,n=null),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()):f([t,[e,n,i,o]])}))}(t,e,n,i)};var n=t.appendFile;n&&(t.appendFile=function(t,e,r,i){return"function"==typeof r&&(i=r,r=null),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()):f([t,[e,r,i,o]])}))}(t,e,r,i)});var i=t.readdir;function o(e){return i.apply(t,e)}if(t.readdir=function(t,e,r){var n=[t];return"function"!=typeof e?n.push(e):r=e,n.push((function(t,e){e&&e.sort&&e.sort(),!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?("function"==typeof r&&r.apply(this,arguments),d()):f([o,[n]])})),o(n)},"v0.8"===process.version.substr(0,4)){var a=u(t);D=a.ReadStream,y=a.WriteStream}var c=t.ReadStream;c&&(D.prototype=Object.create(c.prototype),D.prototype.open=function(){var t=this;g(t.path,t.flags,t.mode,(function(e,r){e?(t.autoClose&&t.destroy(),t.emit("error",e)):(t.fd=r,t.emit("open",r),t.read())}))});var l=t.WriteStream;l&&(y.prototype=Object.create(l.prototype),y.prototype.open=function(){var t=this;g(t.path,t.flags,t.mode,(function(e,r){e?(t.destroy(),t.emit("error",e)):(t.fd=r,t.emit("open",r))}))}),Object.defineProperty(t,"ReadStream",{get:function(){return D},set:function(t){D=t},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return y},set:function(t){y=t},enumerable:!0,configurable:!0});var h=D;Object.defineProperty(t,"FileReadStream",{get:function(){return h},set:function(t){h=t},enumerable:!0,configurable:!0});var m=y;function D(t,e){return this instanceof D?(c.apply(this,arguments),this):D.apply(Object.create(D.prototype),arguments)}function y(t,e){return this instanceof y?(l.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}Object.defineProperty(t,"FileWriteStream",{get:function(){return m},set:function(t){m=t},enumerable:!0,configurable:!0});var E=t.open;function g(t,e,r,n){return"function"==typeof r&&(n=r,r=null),function t(e,r,n,i){return E(e,r,n,(function(o,s){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?("function"==typeof i&&i.apply(this,arguments),d()):f([t,[e,r,n,i]])}))}(t,e,r,n)}return t.open=g,t}function f(t){l("ENQUEUE",t[0].name,t[1]),global[n].push(t)}function d(){var t=global[n].shift();t&&(l("RETRY",t[0].name,t[1]),t[0].apply(null,t[1]))}t.exports=p(a(o)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!o.__patched&&(t.exports=p(o),o.__patched=!0)},function(t,e,r){t.exports=g;var n=r(5),i=r(41),o=r(20),s=(o.Minimatch,r(108)),u=r(42).EventEmitter,a=r(0),c=r(9),l=r(27),h=r(110),p=r(43),f=(p.alphasort,p.alphasorti,p.setopts),d=p.ownProp,m=r(111),D=(r(6),p.childrenIgnored),y=p.isIgnored,E=r(45);function g(t,e,r){if("function"==typeof e&&(r=e,e={}),e||(e={}),e.sync){if(r)throw new TypeError("callback provided to sync glob");return h(t,e)}return new x(t,e,r)}g.sync=h;var A=g.GlobSync=h.GlobSync;function x(t,e,r){if("function"==typeof e&&(r=e,e=null),e&&e.sync){if(r)throw new TypeError("callback provided to sync glob");return new A(t,e)}if(!(this instanceof x))return new x(t,e,r);f(this,t,e),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),"function"==typeof r&&(r=E(r),this.on("error",r),this.on("end",(function(t){r(null,t)})));var i=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===n)return u();for(var o=!0,s=0;n>s;s++)this._process(this.minimatch.set[s],s,!1,u);function u(){--i._processing,i._processing>0||(o?process.nextTick((function(){i._finish()})):i._finish())}o=!1}g.glob=g,g.hasMagic=function(t,e){var r=function(t,e){if(null===e||"object"!=typeof e)return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}({},e);r.noprocess=!0;var n=new x(t,r).minimatch.set;if(!t)return!1;if(n.length>1)return!0;for(var i=0;i<n[0].length;i++)if("string"!=typeof n[0][i])return!0;return!1},g.Glob=x,s(x,u),x.prototype._finish=function(){if(c(this instanceof x),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();p.finish(this),this.emit("end",this.found)}},x.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var t=this.matches.length;if(0===t)return this._finish();for(var e=this,r=0;r<this.matches.length;r++)this._realpathSet(r,n)}function n(){0==--t&&e._finish()}},x.prototype._realpathSet=function(t,e){var r=this.matches[t];if(!r)return e();var n=Object.keys(r),o=this,s=n.length;if(0===s)return e();var u=this.matches[t]=Object.create(null);n.forEach((function(r,n){r=o._makeAbs(r),i.realpath(r,o.realpathCache,(function(n,i){n?"stat"===n.syscall?u[r]=!0:o.emit("error",n):u[i]=!0,0==--s&&(o.matches[t]=u,e())}))}))},x.prototype._mark=function(t){return p.mark(this,t)},x.prototype._makeAbs=function(t){return p.makeAbs(this,t)},x.prototype.abort=function(){this.aborted=!0,this.emit("abort")},x.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},x.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var r=t[e];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var n=this._processQueue.slice(0);for(this._processQueue.length=0,e=0;e<n.length;e++){var i=n[e];this._processing--,this._process(i[0],i[1],i[2],i[3])}}}},x.prototype._process=function(t,e,r,n){if(c(this instanceof x),c("function"==typeof n),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([t,e,r,n]);else{for(var i,s=0;"string"==typeof t[s];)s++;switch(s){case t.length:return void this._processSimple(t.join("/"),e,n);case 0:i=null;break;default:i=t.slice(0,s).join("/")}var u,a=t.slice(s);null===i?u=".":l(i)||l(t.join("/"))?(i&&l(i)||(i="/"+i),u=i):u=i;var h=this._makeAbs(u);if(D(this,u))return n();a[0]===o.GLOBSTAR?this._processGlobStar(i,u,h,a,e,r,n):this._processReaddir(i,u,h,a,e,r,n)}},x.prototype._processReaddir=function(t,e,r,n,i,o,s){var u=this;this._readdir(r,o,(function(a,c){return u._processReaddir2(t,e,r,n,i,o,c,s)}))},x.prototype._processReaddir2=function(t,e,r,n,i,o,s,u){if(!s)return u();for(var c=n[0],l=!!this.minimatch.negate,h=c._glob,p=this.dot||"."===h.charAt(0),f=[],d=0;d<s.length;d++)("."!==(D=s[d]).charAt(0)||p)&&(l&&!t?!D.match(c):D.match(c))&&f.push(D);var m=f.length;if(0===m)return u();if(1===n.length&&!this.mark&&!this.stat){for(this.matches[i]||(this.matches[i]=Object.create(null)),d=0;m>d;d++){var D=f[d];t&&(D="/"!==t?t+"/"+D:t+D),"/"!==D.charAt(0)||this.nomount||(D=a.join(this.root,D)),this._emitMatch(i,D)}return u()}for(n.shift(),d=0;m>d;d++)D=f[d],t&&(D="/"!==t?t+"/"+D:t+D),this._process([D].concat(n),i,o,u);u()},x.prototype._emitMatch=function(t,e){if(!this.aborted&&!y(this,e))if(this.paused)this._emitQueue.push([t,e]);else{var r=l(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[t][e]=!0;var i=this.statCache[r];i&&this.emit("stat",e,i),this.emit("match",e)}}},x.prototype._readdirInGlobStar=function(t,e){if(!this.aborted){if(this.follow)return this._readdir(t,!1,e);var r=this,i=m("lstat\0"+t,(function(n,i){if(n&&"ENOENT"===n.code)return e();var o=i&&i.isSymbolicLink();r.symlinks[t]=o,o||!i||i.isDirectory()?r._readdir(t,!1,e):(r.cache[t]="FILE",e())}));i&&n.lstat(t,i)}},x.prototype._readdir=function(t,e,r){if(!this.aborted&&(r=m("readdir\0"+t+"\0"+e,r))){if(e&&!d(this.symlinks,t))return this._readdirInGlobStar(t,r);if(d(this.cache,t)){var i=this.cache[t];if(!i||"FILE"===i)return r();if(Array.isArray(i))return r(null,i)}n.readdir(t,function(t,e,r){return function(n,i){n?t._readdirError(e,n,r):t._readdirEntries(e,i,r)}}(this,t,r))}},x.prototype._readdirEntries=function(t,e,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var n=0;n<e.length;n++){var i=e[n];i="/"===t?t+i:t+"/"+i,this.cache[i]=!0}return this.cache[t]=e,r(null,e)}},x.prototype._readdirError=function(t,e,r){if(!this.aborted){switch(e.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(t);if(this.cache[n]="FILE",n===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 r()}},x.prototype._processGlobStar=function(t,e,r,n,i,o,s){var u=this;this._readdir(r,o,(function(a,c){u._processGlobStar2(t,e,r,n,i,o,c,s)}))},x.prototype._processGlobStar2=function(t,e,r,n,i,o,s,u){if(!s)return u();var a=n.slice(1),c=t?[t]:[],l=c.concat(a);this._process(l,i,!1,u);var h=this.symlinks[r],p=s.length;if(h&&o)return u();for(var f=0;p>f;f++)if("."!==s[f].charAt(0)||this.dot){var d=c.concat(s[f],a);this._process(d,i,!0,u);var m=c.concat(s[f],n);this._process(m,i,!0,u)}u()},x.prototype._processSimple=function(t,e,r){var n=this;this._stat(t,(function(i,o){n._processSimple2(t,e,i,o,r)}))},x.prototype._processSimple2=function(t,e,r,n,i){if(this.matches[e]||(this.matches[e]=Object.create(null)),!n)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()},x.prototype._stat=function(t,e){var r=this._makeAbs(t),i="/"===t.slice(-1);if(t.length>this.maxLength)return e();if(!this.stat&&d(this.cache,r)){var o=this.cache[r];if(Array.isArray(o)&&(o="DIR"),!i||"DIR"===o)return e(null,o);if(i&&"FILE"===o)return e()}var s=this.statCache[r];if(void 0!==s){if(!1===s)return e(null,s);var u=s.isDirectory()?"DIR":"FILE";return i&&"FILE"===u?e():e(null,u,s)}var a=this,c=m("stat\0"+r,(function(i,o){if(o&&o.isSymbolicLink())return n.stat(r,(function(n,i){n?a._stat2(t,r,null,o,e):a._stat2(t,r,n,i,e)}));a._stat2(t,r,i,o,e)}));c&&n.lstat(r,c)},x.prototype._stat2=function(t,e,r,n,i){if(r&&("ENOENT"===r.code||"ENOTDIR"===r.code))return this.statCache[e]=!1,i();var o="/"===t.slice(-1);if(this.statCache[e]=n,"/"===e.slice(-1)&&n&&!n.isDirectory())return i(null,!1,n);var s=!0;return n&&(s=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||s,o&&"FILE"===s?i():i(null,s,n)}},function(t,e,r){t.exports=d,d.Minimatch=m;var n={sep:"/"};try{n=r(0)}catch(t){}var i=d.GLOBSTAR=m.GLOBSTAR={},o=r(105),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},u="[^/]",a=u+"*?",c="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",l="(?:(?!(?:\\/|^)\\.).)*?",h="().*{}+?[]^$\\!".split("").reduce((function(t,e){return t[e]=!0,t}),{}),p=/\/+/;function f(t,e){t=t||{},e=e||{};var r={};return Object.keys(e).forEach((function(t){r[t]=e[t]})),Object.keys(t).forEach((function(e){r[e]=t[e]})),r}function d(t,e,r){if("string"!=typeof e)throw new TypeError("glob pattern string required");return r||(r={}),!(!r.nocomment&&"#"===e.charAt(0))&&(""===e.trim()?""===t:new m(e,r).match(t))}function m(t,e){if(!(this instanceof m))return new m(t,e);if("string"!=typeof t)throw new TypeError("glob pattern string required");e||(e={}),t=t.trim(),"/"!==n.sep&&(t=t.split(n.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 D(t,e){if(e||(e=this instanceof m?this.options:{}),void 0===(t=void 0===t?this.pattern:t))throw new TypeError("undefined pattern");return e.nobrace||!t.match(/\{.*\}/)?[t]:o(t)}d.filter=function(t,e){return e=e||{},function(r,n,i){return d(r,t,e)}},d.defaults=function(t){if(!t||!Object.keys(t).length)return d;var e=d,r=function(r,n,i){return e.minimatch(r,n,f(t,i))};return r.Minimatch=function(r,n){return new e.Minimatch(r,f(t,n))},r},m.defaults=function(t){return t&&Object.keys(t).length?d.defaults(t).Minimatch:m},m.prototype.debug=function(){},m.prototype.make=function(){if(!this._made){var t=this.pattern,e=this.options;if(e.nocomment||"#"!==t.charAt(0))if(t){this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=console.error),this.debug(this.pattern,r),r=this.globParts=r.map((function(t){return t.split(p)})),this.debug(this.pattern,r),r=r.map((function(t,e,r){return t.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(t){return-1===t.indexOf(!1)})),this.debug(this.pattern,r),this.set=r}else this.empty=!0;else this.comment=!0}},m.prototype.parseNegate=function(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,o=t.length;o>i&&"!"===t.charAt(i);i++)e=!e,n++;n&&(this.pattern=t.substr(n)),this.negate=e}},d.braceExpand=function(t,e){return D(t,e)},m.prototype.braceExpand=D,m.prototype.parse=function(t,e){if(t.length>65536)throw new TypeError("pattern is too long");var r=this.options;if(!r.noglobstar&&"**"===t)return i;if(""===t)return"";var n,o="",c=!!r.nocase,l=!1,p=[],f=[],d=!1,m=-1,D=-1,E="."===t.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",g=this;function A(){if(n){switch(n){case"*":o+=a,c=!0;break;case"?":o+=u,c=!0;break;default:o+="\\"+n}g.debug("clearStateChar %j %j",n,o),n=!1}}for(var x,C=0,v=t.length;v>C&&(x=t.charAt(C));C++)if(this.debug("%s\t%s %s %j",t,C,o,x),l&&h[x])o+="\\"+x,l=!1;else switch(x){case"/":return!1;case"\\":A(),l=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",t,C,o,x),d){this.debug(" in class"),"!"===x&&C===D+1&&(x="^"),o+=x;continue}g.debug("call clearStateChar %j",n),A(),n=x,r.noext&&A();continue;case"(":if(d){o+="(";continue}if(!n){o+="\\(";continue}p.push({type:n,start:C-1,reStart:o.length,open:s[n].open,close:s[n].close}),o+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,o),n=!1;continue;case")":if(d||!p.length){o+="\\)";continue}A(),c=!0;var F=p.pop();o+=F.close,"!"===F.type&&f.push(F),F.reEnd=o.length;continue;case"|":if(d||!p.length||l){o+="\\|",l=!1;continue}A(),o+="|";continue;case"[":if(A(),d){o+="\\"+x;continue}d=!0,D=C,m=o.length,o+=x;continue;case"]":if(C===D+1||!d){o+="\\"+x,l=!1;continue}if(d){var b=t.substring(D+1,C);try{RegExp("["+b+"]")}catch(t){var S=this.parse(b,y);o=o.substr(0,m)+"\\["+S[0]+"\\]",c=c||S[1],d=!1;continue}}c=!0,d=!1,o+=x;continue;default:A(),l?l=!1:!h[x]||"^"===x&&d||(o+="\\"),o+=x}for(d&&(b=t.substr(D+1),S=this.parse(b,y),o=o.substr(0,m)+"\\["+S[0],c=c||S[1]),F=p.pop();F;F=p.pop()){var w=o.slice(F.reStart+F.open.length);this.debug("setting tail",o,F),w=w.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(t,e,r){return r||(r="\\"),e+e+r+"|"})),this.debug("tail=%j\n %s",w,w,F,o);var k="*"===F.type?a:"?"===F.type?u:"\\"+F.type;c=!0,o=o.slice(0,F.reStart)+k+"\\("+w}A(),l&&(o+="\\\\");var B=!1;switch(o.charAt(0)){case".":case"[":case"(":B=!0}for(var T=f.length-1;T>-1;T--){var N=f[T],O=o.slice(0,N.reStart),I=o.slice(N.reStart,N.reEnd-8),P=o.slice(N.reEnd-8,N.reEnd),j=o.slice(N.reEnd);P+=j;var _=O.split("(").length-1,M=j;for(C=0;_>C;C++)M=M.replace(/\)[+*?]?/,"");var L="";""===(j=M)&&e!==y&&(L="$"),o=O+I+j+L+P}if(""!==o&&c&&(o="(?=.)"+o),B&&(o=E+o),e===y)return[o,c];if(!c)return function(t){return t.replace(/\\(.)/g,"$1")}(t);var R=r.nocase?"i":"";try{var U=new RegExp("^"+o+"$",R)}catch(t){return new RegExp("$.")}return U._glob=t,U._src=o,U};var y={};d.makeRe=function(t,e){return new m(t,e||{}).makeRe()},m.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,r=e.noglobstar?a:e.dot?c:l,n=e.nocase?"i":"",o=t.map((function(t){return t.map((function(t){return t===i?r:"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,n)}catch(t){this.regexp=!1}return this.regexp},d.match=function(t,e,r){var n=new m(e,r=r||{});return t=t.filter((function(t){return n.match(t)})),n.options.nonull&&!t.length&&t.push(e),t},m.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 r=this.options;"/"!==n.sep&&(t=t.split(n.sep).join("/")),t=t.split(p),this.debug(this.pattern,"split",t);var i,o,s=this.set;for(this.debug(this.pattern,"set",s),o=t.length-1;o>=0&&!(i=t[o]);o--);for(o=0;o<s.length;o++){var u=s[o],a=t;if(r.matchBase&&1===u.length&&(a=[i]),this.matchOne(a,u,e))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},m.prototype.matchOne=function(t,e,r){var n=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var o=0,s=0,u=t.length,a=e.length;u>o&&a>s;o++,s++){this.debug("matchOne loop");var c,l=e[s],h=t[o];if(this.debug(e,l,h),!1===l)return!1;if(l===i){this.debug("GLOBSTAR",[e,l,h]);var p=o,f=s+1;if(f===a){for(this.debug("** at the end");u>o;o++)if("."===t[o]||".."===t[o]||!n.dot&&"."===t[o].charAt(0))return!1;return!0}for(;u>p;){var d=t[p];if(this.debug("\nglobstar while",t,p,e,f,d),this.matchOne(t.slice(p),e.slice(f),r))return this.debug("globstar found match!",p,u,d),!0;if("."===d||".."===d||!n.dot&&"."===d.charAt(0)){this.debug("dot detected!",t,p,e,f);break}this.debug("globstar swallow a segment, and continue"),p++}return!(!r||(this.debug("\n>>> no match, partial?",t,p,e,f),p!==u))}if("string"==typeof l?(c=n.nocase?h.toLowerCase()===l.toLowerCase():h===l,this.debug("string match",l,h,c)):(c=h.match(l),this.debug("pattern match",l,h,c)),!c)return!1}if(o===u&&s===a)return!0;if(o===u)return r;if(s===a)return o===u-1&&""===t[o];throw new Error("wtf?")}},function(t,e,r){var n=r(30);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},function(t,e,r){var n=r(12);t.exports=n.DEFAULT=new n({include:[r(14)],explicit:[r(164),r(165),r(166)]})},function(t,e){t.exports=require("xmlbuilder")},function(t,e,r){t.exports=Object.assign({},r(35),r(37),r(40),r(75),r(77),r(83),r(4),r(87),r(89),r(91),r(7),r(17));const n=r(5);Object.getOwnPropertyDescriptor(n,"promises")&&Object.defineProperty(t.exports,"promises",{get:()=>n.promises})},function(t,e,r){const n=r(3).fromCallback,i=r(84);t.exports={readJson:n(i.readFile),readJsonSync:i.readFileSync,writeJson:n(i.writeFile),writeJsonSync:i.writeFileSync}},function(t,e){t.exports=require("zlib")},function(t,e,r){function n(t){return"/"===t.charAt(0)}function i(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(t),r=e[1]||"",n=Boolean(r&&":"!==r.charAt(1));return Boolean(e[2]||n)}t.exports="win32"===process.platform?i:n,t.exports.posix=n,t.exports.win32=i},function(t,e){(function(){e.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},function(t,e,r){var n=r(47),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,s=Array.prototype.concat,u=Object.defineProperty,a=u&&function(){var t={};try{for(var e in u(t,"x",{enumerable:!1,value:t}),t)return!1;return t.x===t}catch(t){return!1}}(),c=function(t,e,r,n){var i;e in t&&("function"!=typeof(i=n)||"[object Function]"!==o.call(i)||!n())||(a?u(t,e,{configurable:!0,enumerable:!1,value:r,writable:!0}):t[e]=r)},l=function(t,e){var r=arguments.length>2?arguments[2]:{},o=n(e);i&&(o=s.call(o,Object.getOwnPropertySymbols(e)));for(var u=0;u<o.length;u+=1)c(t,o[u],e[o[u]],r[o[u]])};l.supportsDescriptors=!!a,t.exports=l},function(t,e,r){var n=r(132);t.exports=Function.prototype.bind||n},function(t,e,r){var n=Function.prototype.toString,i=/^\s*class\b/,o=function(t){try{var e=n.call(t);return i.test(e)}catch(t){return!1}},s=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(t){if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if("function"==typeof t&&!t.prototype)return!0;if(u)return function(t){try{return!o(t)&&(n.call(t),!0)}catch(t){return!1}}(t);if(o(t))return!1;var e=s.call(t);return"[object Function]"===e||"[object GeneratorFunction]"===e}},function(t,e,r){var n,i=Object.getOwnPropertyDescriptor?function(){return Object.getOwnPropertyDescriptor(arguments,"callee").get}():function(){throw new TypeError},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,s=Object.getPrototypeOf||function(t){return t.__proto__},u=n,a="undefined"==typeof Uint8Array?n:s(Uint8Array),c={"$ %Array%":Array,"$ %ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"$ %ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer.prototype,"$ %ArrayIteratorPrototype%":o?s([][Symbol.iterator]()):n,"$ %ArrayPrototype%":Array.prototype,"$ %ArrayProto_entries%":Array.prototype.entries,"$ %ArrayProto_forEach%":Array.prototype.forEach,"$ %ArrayProto_keys%":Array.prototype.keys,"$ %ArrayProto_values%":Array.prototype.values,"$ %AsyncFromSyncIteratorPrototype%":n,"$ %AsyncFunction%":n,"$ %AsyncFunctionPrototype%":n,"$ %AsyncGenerator%":n,"$ %AsyncGeneratorFunction%":n,"$ %AsyncGeneratorPrototype%":n,"$ %AsyncIteratorPrototype%":u&&o&&Symbol.asyncIterator?u[Symbol.asyncIterator]():n,"$ %Atomics%":"undefined"==typeof Atomics?n:Atomics,"$ %Boolean%":Boolean,"$ %BooleanPrototype%":Boolean.prototype,"$ %DataView%":"undefined"==typeof DataView?n:DataView,"$ %DataViewPrototype%":"undefined"==typeof DataView?n:DataView.prototype,"$ %Date%":Date,"$ %DatePrototype%":Date.prototype,"$ %decodeURI%":decodeURI,"$ %decodeURIComponent%":decodeURIComponent,"$ %encodeURI%":encodeURI,"$ %encodeURIComponent%":encodeURIComponent,"$ %Error%":Error,"$ %ErrorPrototype%":Error.prototype,"$ %eval%":eval,"$ %EvalError%":EvalError,"$ %EvalErrorPrototype%":EvalError.prototype,"$ %Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"$ %Float32ArrayPrototype%":"undefined"==typeof Float32Array?n:Float32Array.prototype,"$ %Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"$ %Float64ArrayPrototype%":"undefined"==typeof Float64Array?n:Float64Array.prototype,"$ %Function%":Function,"$ %FunctionPrototype%":Function.prototype,"$ %Generator%":n,"$ %GeneratorFunction%":n,"$ %GeneratorPrototype%":n,"$ %Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"$ %Int8ArrayPrototype%":"undefined"==typeof Int8Array?n:Int8Array.prototype,"$ %Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"$ %Int16ArrayPrototype%":"undefined"==typeof Int16Array?n:Int8Array.prototype,"$ %Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"$ %Int32ArrayPrototype%":"undefined"==typeof Int32Array?n:Int32Array.prototype,"$ %isFinite%":isFinite,"$ %isNaN%":isNaN,"$ %IteratorPrototype%":o?s(s([][Symbol.iterator]())):n,"$ %JSON%":JSON,"$ %JSONParse%":JSON.parse,"$ %Map%":"undefined"==typeof Map?n:Map,"$ %MapIteratorPrototype%":"undefined"!=typeof Map&&o?s((new Map)[Symbol.iterator]()):n,"$ %MapPrototype%":"undefined"==typeof Map?n:Map.prototype,"$ %Math%":Math,"$ %Number%":Number,"$ %NumberPrototype%":Number.prototype,"$ %Object%":Object,"$ %ObjectPrototype%":Object.prototype,"$ %ObjProto_toString%":Object.prototype.toString,"$ %ObjProto_valueOf%":Object.prototype.valueOf,"$ %parseFloat%":parseFloat,"$ %parseInt%":parseInt,"$ %Promise%":"undefined"==typeof Promise?n:Promise,"$ %PromisePrototype%":"undefined"==typeof Promise?n:Promise.prototype,"$ %PromiseProto_then%":"undefined"==typeof Promise?n:Promise.prototype.then,"$ %Promise_all%":"undefined"==typeof Promise?n:Promise.all,"$ %Promise_reject%":"undefined"==typeof Promise?n:Promise.reject,"$ %Promise_resolve%":"undefined"==typeof Promise?n:Promise.resolve,"$ %Proxy%":"undefined"==typeof Proxy?n:Proxy,"$ %RangeError%":RangeError,"$ %RangeErrorPrototype%":RangeError.prototype,"$ %ReferenceError%":ReferenceError,"$ %ReferenceErrorPrototype%":ReferenceError.prototype,"$ %Reflect%":"undefined"==typeof Reflect?n:Reflect,"$ %RegExp%":RegExp,"$ %RegExpPrototype%":RegExp.prototype,"$ %Set%":"undefined"==typeof Set?n:Set,"$ %SetIteratorPrototype%":"undefined"!=typeof Set&&o?s((new Set)[Symbol.iterator]()):n,"$ %SetPrototype%":"undefined"==typeof Set?n:Set.prototype,"$ %SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"$ %SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer.prototype,"$ %String%":String,"$ %StringIteratorPrototype%":o?s(""[Symbol.iterator]()):n,"$ %StringPrototype%":String.prototype,"$ %Symbol%":o?Symbol:n,"$ %SymbolPrototype%":o?Symbol.prototype:n,"$ %SyntaxError%":SyntaxError,"$ %SyntaxErrorPrototype%":SyntaxError.prototype,"$ %ThrowTypeError%":i,"$ %TypedArray%":a,"$ %TypedArrayPrototype%":a?a.prototype:n,"$ %TypeError%":TypeError,"$ %TypeErrorPrototype%":TypeError.prototype,"$ %Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"$ %Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?n:Uint8Array.prototype,"$ %Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"$ %Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray.prototype,"$ %Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"$ %Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?n:Uint16Array.prototype,"$ %Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"$ %Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?n:Uint32Array.prototype,"$ %URIError%":URIError,"$ %URIErrorPrototype%":URIError.prototype,"$ %WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"$ %WeakMapPrototype%":"undefined"==typeof WeakMap?n:WeakMap.prototype,"$ %WeakSet%":"undefined"==typeof WeakSet?n:WeakSet,"$ %WeakSetPrototype%":"undefined"==typeof WeakSet?n:WeakSet.prototype};t.exports=function(t,e){if(arguments.length>1&&"boolean"!=typeof e)throw new TypeError('"allowMissing" argument must be a boolean');var r="$ "+t;if(!(r in c))throw new SyntaxError("intrinsic "+t+" does not exist!");if(n===c[r]&&!e)throw new TypeError("intrinsic "+t+" exists, but is not available. Please file an issue!");return c[r]}},function(t,e,r){var n=r(12);t.exports=new n({explicit:[r(150),r(151),r(152)]})},function(t,e){t.exports=require("resolve-any")},function(t,e,r){const n=r(3).fromCallback,i=r(1),o=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchown","lchmod","link","lstat","mkdir","mkdtemp","open","readFile","readdir","readlink","realpath","rename","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(t=>"function"==typeof i[t]);Object.keys(i).forEach(t=>{"promises"!==t&&(e[t]=i[t])}),o.forEach(t=>{e[t]=n(i[t])}),e.exists=function(t,e){return"function"==typeof e?i.exists(t,e):new Promise(e=>i.exists(t,e))},e.read=function(t,e,r,n,o,s){return"function"==typeof s?i.read(t,e,r,n,o,s):new Promise((s,u)=>{i.read(t,e,r,n,o,(t,e,r)=>{if(t)return u(t);s({bytesRead:e,buffer:r})})})},e.write=function(t,e,...r){return"function"==typeof r[r.length-1]?i.write(t,e,...r):new Promise((n,o)=>{i.write(t,e,...r,(t,e,r)=>{if(t)return o(t);n({bytesWritten:e,buffer:r})})})},"function"==typeof i.realpath.native&&(e.realpath.native=n(i.realpath.native))},function(t,e){t.exports=require("constants")},function(t,e,r){t.exports={copySync:r(69)}},function(t,e,r){const n=r(0);function i(t){return(t=n.normalize(n.resolve(t)).split(n.sep)).length>0?t[0]:null}const o=/[<>:"|?*]/;t.exports={getRootPath:i,invalidWin32Path:function(t){const e=i(t);return t=t.replace(e,""),o.test(t)}}},function(t,e,r){const n=r(1),i=r(72),o=r(0);t.exports={hasMillisRes:function(t){let e=o.join("millis-test"+Date.now().toString()+Math.random().toString().slice(2));e=o.join(i.tmpdir(),e);const r=new Date(1435410243862);n.writeFile(e,"https://github.com/jprichardson/node-fs-extra/pull/141",i=>{if(i)return t(i);n.open(e,"r+",(i,o)=>{if(i)return t(i);n.futimes(o,r,r,r=>{if(r)return t(r);n.close(o,r=>{if(r)return t(r);n.stat(e,(e,r)=>{if(e)return t(e);t(null,r.mtime>1435410243e3)})})})})})},hasMillisResSync:function(){let t=o.join("millis-test-sync"+Date.now().toString()+Math.random().toString().slice(2));t=o.join(i.tmpdir(),t);const e=new Date(1435410243862);n.writeFileSync(t,"https://github.com/jprichardson/node-fs-extra/pull/141");const r=n.openSync(t,"r+");return n.futimesSync(r,e,e),n.closeSync(r),n.statSync(t).mtime>1435410243e3},timeRemoveMillis:function(t){if("number"==typeof t)return 1e3*Math.floor(t/1e3);if(t instanceof Date)return new Date(1e3*Math.floor(t.getTime()/1e3));throw new Error("fs-extra: timeRemoveMillis() unknown parameter type")},utimesMillis:function(t,e,r,i){n.open(t,"r+",(t,o)=>{if(t)return i(t);n.futimes(o,e,r,t=>{n.close(o,e=>{i&&i(t||e)})})})},utimesMillisSync:function(t,e,r){const i=n.openSync(t,"r+");return n.futimesSync(i,e,r),n.closeSync(i)}}},function(t,e,r){const n=r(3).fromCallback;t.exports={copy:n(r(74))}},function(t,e,r){t.exports=l,l.realpath=l,l.sync=h,l.realpathSync=h,l.monkeypatch=function(){n.realpath=l,n.realpathSync=h},l.unmonkeypatch=function(){n.realpath=i,n.realpathSync=o};var n=r(5),i=n.realpath,o=n.realpathSync,s=process.version,u=/^v[0-5]\./.test(s),a=r(104);function c(t){return t&&"realpath"===t.syscall&&("ELOOP"===t.code||"ENOMEM"===t.code||"ENAMETOOLONG"===t.code)}function l(t,e,r){if(u)return i(t,e,r);"function"==typeof e&&(r=e,e=null),i(t,e,(function(n,i){c(n)?a.realpath(t,e,r):r(n,i)}))}function h(t,e){if(u)return o(t,e);try{return o(t,e)}catch(r){if(c(r))return a.realpathSync(t,e);throw r}}},function(t,e){t.exports=require("events")},function(t,e,r){function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.alphasort=c,e.alphasorti=a,e.setopts=function(t,e,r){if(r||(r={}),r.matchBase&&-1===e.indexOf("/")){if(r.noglobstar)throw new Error("base matching requires globstar");e="**/"+e}t.silent=!!r.silent,t.pattern=e,t.strict=!1!==r.strict,t.realpath=!!r.realpath,t.realpathCache=r.realpathCache||Object.create(null),t.follow=!!r.follow,t.dot=!!r.dot,t.mark=!!r.mark,t.nodir=!!r.nodir,t.nodir&&(t.mark=!0),t.sync=!!r.sync,t.nounique=!!r.nounique,t.nonull=!!r.nonull,t.nosort=!!r.nosort,t.nocase=!!r.nocase,t.stat=!!r.stat,t.noprocess=!!r.noprocess,t.absolute=!!r.absolute,t.maxLength=r.maxLength||1/0,t.cache=r.cache||Object.create(null),t.statCache=r.statCache||Object.create(null),t.symlinks=r.symlinks||Object.create(null),function(t,e){t.ignore=e.ignore||[],Array.isArray(t.ignore)||(t.ignore=[t.ignore]),t.ignore.length&&(t.ignore=t.ignore.map(l))}(t,r),t.changedCwd=!1;var o=process.cwd();n(r,"cwd")?(t.cwd=i.resolve(r.cwd),t.changedCwd=t.cwd!==o):t.cwd=o,t.root=r.root||i.resolve(t.cwd,"/"),t.root=i.resolve(t.root),"win32"===process.platform&&(t.root=t.root.replace(/\\/g,"/")),t.cwdAbs=s(t.cwd)?t.cwd:h(t,t.cwd),"win32"===process.platform&&(t.cwdAbs=t.cwdAbs.replace(/\\/g,"/")),t.nomount=!!r.nomount,r.nonegate=!0,r.nocomment=!0,t.minimatch=new u(e,r),t.options=t.minimatch.options},e.ownProp=n,e.makeAbs=h,e.finish=function(t){for(var e=t.nounique,r=e?[]:Object.create(null),n=0,i=t.matches.length;i>n;n++){var o=t.matches[n];if(o&&0!==Object.keys(o).length){var s=Object.keys(o);e?r.push.apply(r,s):s.forEach((function(t){r[t]=!0}))}else if(t.nonull){var u=t.minimatch.globSet[n];e?r.push(u):r[u]=!0}}if(e||(r=Object.keys(r)),t.nosort||(r=r.sort(t.nocase?a:c)),t.mark){for(n=0;n<r.length;n++)r[n]=t._mark(r[n]);t.nodir&&(r=r.filter((function(e){var r=!/\/$/.test(e),n=t.cache[e]||t.cache[h(t,e)];return r&&n&&(r="DIR"!==n&&!Array.isArray(n)),r})))}t.ignore.length&&(r=r.filter((function(e){return!p(t,e)}))),t.found=r},e.mark=function(t,e){var r=h(t,e),n=t.cache[r],i=e;if(n){var o="DIR"===n||Array.isArray(n),s="/"===e.slice(-1);if(o&&!s?i+="/":!o&&s&&(i=i.slice(0,-1)),i!==e){var u=h(t,i);t.statCache[u]=t.statCache[r],t.cache[u]=t.cache[r]}}return i},e.isIgnored=p,e.childrenIgnored=function(t,e){return!!t.ignore.length&&t.ignore.some((function(t){return!(!t.gmatcher||!t.gmatcher.match(e))}))};var i=r(0),o=r(20),s=r(27),u=o.Minimatch;function a(t,e){return t.toLowerCase().localeCompare(e.toLowerCase())}function c(t,e){return t.localeCompare(e)}function l(t){var e=null;if("/**"===t.slice(-3)){var r=t.replace(/(\/\*\*)+$/,"");e=new u(r,{dot:!0})}return{matcher:new u(t,{dot:!0}),gmatcher:e}}function h(t,e){var r=e;return r="/"===e.charAt(0)?i.join(t.root,e):s(e)||""===e?e:t.changedCwd?i.resolve(t.cwd,e):i.resolve(e),"win32"===process.platform&&(r=r.replace(/\\/g,"/")),r}function p(t,e){return!!t.ignore.length&&t.ignore.some((function(t){return t.matcher.match(e)||!(!t.gmatcher||!t.gmatcher.match(e))}))}},function(t,e){t.exports=function t(e,r){if(e&&r)return t(e)(r);if("function"!=typeof e)throw new TypeError("need wrapper function");return Object.keys(e).forEach((function(t){n[t]=e[t]})),n;function n(){for(var t=new Array(arguments.length),r=0;r<t.length;r++)t[r]=arguments[r];var n=e.apply(this,t),i=t[t.length-1];return"function"==typeof n&&n!==i&&Object.keys(i).forEach((function(t){n[t]=i[t]})),n}}},function(t,e,r){var n=r(44);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)},r=t.name||"Function wrapped with `once`";return e.onceError=r+" shouldn't be called more than once",e.called=!1,e}t.exports=n(i),t.exports.strict=n(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){(function(){var t;t=new RegExp(/(?!xmlns)^.*:/),e.normalize=function(t){return t.toLowerCase()},e.firstCharLowerCase=function(t){return t.charAt(0).toLowerCase()+t.slice(1)},e.stripPrefix=function(e){return e.replace(t,"")},e.parseNumbers=function(t){return isNaN(t)||(t=t%1==0?parseInt(t,10):parseFloat(t)),t},e.parseBooleans=function(t){return/^(?:true|false)$/i.test(t)&&(t="true"===t.toLowerCase()),t}}).call(this)},function(t,e,r){var n=Array.prototype.slice,i=r(48),o=Object.keys,s=o?function(t){return o(t)}:r(127),u=Object.keys;s.shim=function(){return Object.keys?function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2)||(Object.keys=function(t){return i(t)?u(n.call(t)):u(t)}):Object.keys=s,Object.keys||s},t.exports=s},function(t,e,r){var n=Object.prototype.toString;t.exports=function(t){var e=n.call(t),r="[object Arguments]"===e;return r||(r="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===n.call(t.callee)),r}},function(t,e,r){if("function"!=typeof Object.defineProperty||"function"!=typeof Object.defineProperties||"function"!=typeof Object.getPrototypeOf||"function"!=typeof Object.setPrototypeOf)throw new TypeError("util.promisify requires a true ES5 environment");var n=r(128);if("function"!=typeof Promise)throw new TypeError("`Promise` must be globally available for util.promisify to work.");var i=Function.call.bind(Array.prototype.slice),o=Function.call.bind(Array.prototype.concat),s=Function.call.bind(Array.prototype.forEach),u="function"==typeof Symbol&&"symbol"==typeof Symbol(""),a=u?Symbol("util.promisify.custom"):null,c=u?Symbol("customPromisifyArgs"):null;t.exports=function(t){if("function"!=typeof t){var e=new TypeError('The "original" argument must be of type function');throw e.name="TypeError [ERR_INVALID_ARG_TYPE]",e.code="ERR_INVALID_ARG_TYPE",e}if(u&&t[a]){var r=t[a];if("function"!=typeof r)throw new TypeError("The [util.promisify.custom]