react-native-oss-license
Version:
License list generator for react-native app
1 lines • 336 kB
JavaScript
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=74)}([function(e,t){e.exports=require("path")},function(e,t,r){var n,i,o=r(8),s=r(75),a=r(77),c=r(79),u=r(11);"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(u.debuglog?l=u.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(l=function(){var e=u.format.apply(u,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!global[n]){var f=[];Object.defineProperty(global,n,{get:function(){return f}}),o.close=function(e){function t(t,r){return e.call(o,t,(function(e){e||h(),"function"==typeof r&&r.apply(this,arguments)}))}return Object.defineProperty(t,i,{value:e}),t}(o.close),o.closeSync=function(e){function t(t){e.apply(o,arguments),h()}return Object.defineProperty(t,i,{value:e}),t}(o.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){l(global[n]),r(21).equal(global[n].length,0)}))}function p(e){s(e),e.gracefulify=p,e.createReadStream=function(t,r){return new e.ReadStream(t,r)},e.createWriteStream=function(t,r){return new e.WriteStream(t,r)};var t=e.readFile;e.readFile=function(e,r,n){"function"==typeof r&&(n=r,r=null);return function e(r,n,i){return t(r,n,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?("function"==typeof i&&i.apply(this,arguments),h()):d([e,[r,n,i]])}))}(e,r,n)};var r=e.writeFile;e.writeFile=function(e,t,n,i){"function"==typeof n&&(i=n,n=null);return function e(t,n,i,o){return r(t,n,i,(function(r){!r||"EMFILE"!==r.code&&"ENFILE"!==r.code?("function"==typeof o&&o.apply(this,arguments),h()):d([e,[t,n,i,o]])}))}(e,t,n,i)};var n=e.appendFile;n&&(e.appendFile=function(e,t,r,i){"function"==typeof r&&(i=r,r=null);return function e(t,r,i,o){return n(t,r,i,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?("function"==typeof o&&o.apply(this,arguments),h()):d([e,[t,r,i,o]])}))}(e,t,r,i)});var i=e.readdir;function o(t){return i.apply(e,t)}if(e.readdir=function(e,t,r){var n=[e];"function"!=typeof t?n.push(t):r=t;return n.push((function(e,t){t&&t.sort&&t.sort();!e||"EMFILE"!==e.code&&"ENFILE"!==e.code?("function"==typeof r&&r.apply(this,arguments),h()):d([o,[n]])})),o(n)},"v0.8"===process.version.substr(0,4)){var c=a(e);g=c.ReadStream,y=c.WriteStream}var u=e.ReadStream;u&&(g.prototype=Object.create(u.prototype),g.prototype.open=function(){var e=this;b(e.path,e.flags,e.mode,(function(t,r){t?(e.autoClose&&e.destroy(),e.emit("error",t)):(e.fd=r,e.emit("open",r),e.read())}))});var l=e.WriteStream;l&&(y.prototype=Object.create(l.prototype),y.prototype.open=function(){var e=this;b(e.path,e.flags,e.mode,(function(t,r){t?(e.destroy(),e.emit("error",t)):(e.fd=r,e.emit("open",r))}))}),Object.defineProperty(e,"ReadStream",{get:function(){return g},set:function(e){g=e},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return y},set:function(e){y=e},enumerable:!0,configurable:!0});var f=g;Object.defineProperty(e,"FileReadStream",{get:function(){return f},set:function(e){f=e},enumerable:!0,configurable:!0});var m=y;function g(e,t){return this instanceof g?(u.apply(this,arguments),this):g.apply(Object.create(g.prototype),arguments)}function y(e,t){return this instanceof y?(l.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}Object.defineProperty(e,"FileWriteStream",{get:function(){return m},set:function(e){m=e},enumerable:!0,configurable:!0});var v=e.open;function b(e,t,r,n){return"function"==typeof r&&(n=r,r=null),function e(t,r,n,i){return v(t,r,n,(function(o,s){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?("function"==typeof i&&i.apply(this,arguments),h()):d([e,[t,r,n,i]])}))}(e,t,r,n)}return e.open=b,e}function d(e){l("ENQUEUE",e[0].name,e[1]),global[n].push(e)}function h(){var e=global[n].shift();e&&(l("RETRY",e[0].name,e[1]),e[0].apply(null,e[1]))}e.exports=p(c(o)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!o.__patched&&(e.exports=p(o),o.__patched=!0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Type=t.Char=void 0;t.Char={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."};t.Type={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YAMLWarning=t.YAMLSyntaxError=t.YAMLSemanticError=t.YAMLReferenceError=t.YAMLError=void 0;var n=s(r(5)),i=r(47),o=s(r(4));function s(e){return e&&e.__esModule?e:{default:e}}class a extends Error{constructor(e,t,r){if(!(r&&t instanceof n.default))throw new Error(`Invalid arguments for new ${e}`);super(),this.name=e,this.message=r,this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;const e=this.source.context&&this.source.context.root;if("number"==typeof this.offset){this.range=new o.default(this.offset,this.offset+1);const t=e&&(0,i.getLinePos)(this.offset,e);if(t){const e={line:t.line,col:t.col+1};this.linePos={start:t,end:e}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){const{line:t,col:r}=this.linePos.start;this.message+=` at line ${t}, column ${r}`;const n=e&&(0,i.getPrettyContext)(this.linePos,e);n&&(this.message+=`:\n\n${n}\n`)}delete this.source}}t.YAMLError=a;t.YAMLReferenceError=class extends a{constructor(e,t){super("YAMLReferenceError",e,t)}};t.YAMLSemanticError=class extends a{constructor(e,t){super("YAMLSemanticError",e,t)}};t.YAMLSyntaxError=class extends a{constructor(e,t){super("YAMLSyntaxError",e,t)}};t.YAMLWarning=class extends a{constructor(e,t){super("YAMLWarning",e,t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class n{static copy(e){return new n(e.start,e.end)}constructor(e,t){this.start=e,this.end=t||e}isEmpty(){return"number"!=typeof this.start||!this.end||this.end<=this.start}setOrigRange(e,t){const{start:r,end:n}=this;if(0===e.length||n<=e[0])return this.origStart=r,this.origEnd=n,t;let i=t;for(;i<e.length&&!(e[i]>r);)++i;this.origStart=r+i;const o=i;for(;i<e.length&&!(e[i]>=n);)++i;return this.origEnd=n+i,o}}t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=r(2),o=r(47),s=(n=r(4))&&n.__esModule?n:{default:n};class a{static addStringTerminator(e,t,r){if("\n"===r[r.length-1])return r;const n=a.endOfWhiteSpace(e,t);return n>=e.length||"\n"===e[n]?r+"\n":r}static atDocumentBoundary(e,t,r){const n=e[t];if(!n)return!0;const o=e[t-1];if(o&&"\n"!==o)return!1;if(r){if(n!==r)return!1}else if(n!==i.Char.DIRECTIVES_END&&n!==i.Char.DOCUMENT_END)return!1;const s=e[t+1],a=e[t+2];if(s!==n||a!==n)return!1;const c=e[t+3];return!c||"\n"===c||"\t"===c||" "===c}static endOfIdentifier(e,t){let r=e[t];const n="<"===r,i=n?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];for(;r&&-1===i.indexOf(r);)r=e[t+=1];return n&&">"===r&&(t+=1),t}static endOfIndent(e,t){let r=e[t];for(;" "===r;)r=e[t+=1];return t}static endOfLine(e,t){let r=e[t];for(;r&&"\n"!==r;)r=e[t+=1];return t}static endOfWhiteSpace(e,t){let r=e[t];for(;"\t"===r||" "===r;)r=e[t+=1];return t}static startOfLine(e,t){let r=e[t-1];if("\n"===r)return t;for(;r&&"\n"!==r;)r=e[t-=1];return t+1}static endOfBlockIndent(e,t,r){const n=a.endOfIndent(e,r);if(n>r+t)return n;{const t=a.endOfWhiteSpace(e,n),r=e[t];if(!r||"\n"===r)return t}return null}static atBlank(e,t,r){const n=e[t];return"\n"===n||"\t"===n||" "===n||r&&!n}static atCollectionItem(e,t){const r=e[t];return("?"===r||":"===r||"-"===r)&&a.atBlank(e,t+1,!0)}static nextNodeIsIndented(e,t,r){return!(!e||t<0)&&(t>0||r&&"-"===e)}static normalizeOffset(e,t){const r=e[t];return r?"\n"!==r&&"\n"===e[t-1]?t-1:a.endOfWhiteSpace(e,t):t}static foldNewline(e,t,r){let n=0,i=!1,o="",s=e[t+1];for(;" "===s||"\t"===s||"\n"===s;){switch(s){case"\n":n=0,t+=1,o+="\n";break;case"\t":n<=r&&(i=!0),t=a.endOfWhiteSpace(e,t+2)-1;break;case" ":n+=1,t+=1}s=e[t+1]}return o||(o=" "),s&&n<=r&&(i=!0),{fold:o,offset:t,error:i}}constructor(e,t,r){Object.defineProperty(this,"context",{value:r||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=t||[],this.type=e,this.value=null}getPropValue(e,t,r){if(!this.context)return null;const{src:n}=this.context,i=this.props[e];return i&&n[i.start]===t?n.slice(i.start+(r?1:0),i.end):null}get anchor(){for(let e=0;e<this.props.length;++e){const t=this.getPropValue(e,i.Char.ANCHOR,!0);if(null!=t)return t}return null}get comment(){const e=[];for(let t=0;t<this.props.length;++t){const r=this.getPropValue(t,i.Char.COMMENT,!0);null!=r&&e.push(r)}return e.length>0?e.join("\n"):null}commentHasRequiredWhitespace(e){const{src:t}=this.context;if(this.header&&e===this.header.end)return!1;if(!this.valueRange)return!1;const{end:r}=this.valueRange;return e!==r||a.atBlank(t,r-1)}get hasComment(){if(this.context){const{src:e}=this.context;for(let t=0;t<this.props.length;++t)if(e[this.props[t].start]===i.Char.COMMENT)return!0}return!1}get hasProps(){if(this.context){const{src:e}=this.context;for(let t=0;t<this.props.length;++t)if(e[this.props[t].start]!==i.Char.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return-1!==[i.Type.FLOW_MAP,i.Type.FLOW_SEQ,i.Type.QUOTE_DOUBLE,i.Type.QUOTE_SINGLE].indexOf(this.type)}get rangeAsLinePos(){if(!this.range||!this.context)return;const e=(0,o.getLinePos)(this.range.start,this.context.root);return e?{start:e,end:(0,o.getLinePos)(this.range.end,this.context.root)}:void 0}get rawValue(){if(!this.valueRange||!this.context)return null;const{start:e,end:t}=this.valueRange;return this.context.src.slice(e,t)}get tag(){for(let e=0;e<this.props.length;++e){const t=this.getPropValue(e,i.Char.TAG,!1);if(null!=t){if("<"===t[1])return{verbatim:t.slice(2,-1)};{const[e,r,n]=t.match(/^(.*!)([^!]*)$/);return{handle:r,suffix:n}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;const{start:e,end:t}=this.valueRange,{src:r}=this.context;for(let n=e;n<t;++n)if("\n"===r[n])return!0;return!1}parseComment(e){const{src:t}=this.context;if(t[e]===i.Char.COMMENT){const r=a.endOfLine(t,e+1),n=new s.default(e,r);return this.props.push(n),r}return e}setOrigRanges(e,t){return this.range&&(t=this.range.setOrigRange(e,t)),this.valueRange&&this.valueRange.setOrigRange(e,t),this.props.forEach(r=>r.setOrigRange(e,t)),t}toString(){const{context:{src:e},range:t,value:r}=this;if(null!=r)return r;const n=e.slice(t.start,t.end);return a.addStringTerminator(e,t.end,n)}}t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(15)),i=o(r(16));function o(e){return e&&e.__esModule?e:{default:e}}class s extends i.default{constructor(e){super(),this.value=e}toJSON(e,t){return t&&t.keep?this.value:(0,n.default)(this.value,e,t)}toString(){return String(this.value)}}t.default=s},function(e,t,r){"use strict";t.fromCallback=function(e){return Object.defineProperty((function(){if("function"!=typeof arguments[arguments.length-1])return new Promise((t,r)=>{arguments[arguments.length]=(e,n)=>{if(e)return r(e);t(n)},arguments.length++,e.apply(this,arguments)});e.apply(this,arguments)}),"name",{value:e.name})},t.fromPromise=function(e){return Object.defineProperty((function(){const t=arguments[arguments.length-1];if("function"!=typeof t)return e.apply(this,arguments);e.apply(this,arguments).then(e=>t(null,e),t)}),"name",{value:e.name})}},function(e,t){e.exports=require("fs")},function(e,t,r){"use strict";const n=(0,r(7).fromCallback)(r(81)),i=r(82);e.exports={mkdirs:n,mkdirsSync:i,mkdirp:n,mkdirpSync:i,ensureDir:n,ensureDirSync:i}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(25)),i=r(2),o=u(r(15)),s=u(r(13)),a=u(r(16)),c=u(r(6));function u(e){return e&&e.__esModule?e:{default:e}}class l extends a.default{constructor(e,t=null){super(),this.key=e,this.value=t,this.type="PAIR"}get commentBefore(){return this.key&&this.key.commentBefore}set commentBefore(e){null==this.key&&(this.key=new c.default(null)),this.key.commentBefore=e}addToJSMap(e,t){const r=(0,o.default)(this.key,"",e);if(t instanceof Map){const n=(0,o.default)(this.value,r,e);t.set(r,n)}else if(t instanceof Set)t.add(r);else{const n=((e,t,r)=>null===t?"":"object"!=typeof t?String(t):e instanceof a.default&&r&&r.doc?e.toString({anchors:{},doc:r.doc,indent:"",inFlow:!0,inStringifyKey:!0}):JSON.stringify(t))(this.key,r,e);t[n]=(0,o.default)(this.value,n,e)}return t}toJSON(e,t){const r=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,r)}toString(e,t,r){if(!e||!e.doc)return JSON.stringify(this);const{simpleKeys:o}=e.doc.options;let{key:c,value:u}=this,l=c instanceof a.default&&c.comment;if(o){if(l)throw new Error("With simple keys, key nodes cannot have comments");if(c instanceof s.default){throw new Error("With simple keys, collection cannot be used as a key value")}}const f=!o&&(!c||l||c instanceof s.default||c.type===i.Type.BLOCK_FOLDED||c.type===i.Type.BLOCK_LITERAL),{doc:p,indent:d}=e;e=Object.assign({},e,{implicitKey:!f,indent:d+" "});let h=!1,m=p.schema.stringify(c,e,()=>l=null,()=>h=!0);if(m=(0,n.default)(m,e.indent,l),e.allNullValues&&!o)return this.comment?(m=(0,n.default)(m,e.indent,this.comment),t&&t()):h&&!l&&r&&r(),e.inFlow?m:`? ${m}`;m=f?`? ${m}\n${d}:`:`${m}:`,this.comment&&(m=(0,n.default)(m,e.indent,this.comment),t&&t());let g="",y=null;if(u instanceof a.default){if(u.spaceBefore&&(g="\n"),u.commentBefore){g+=`\n${u.commentBefore.replace(/^/gm,`${e.indent}#`)}`}y=u.comment}else u&&"object"==typeof u&&(u=p.schema.createNode(u,!0));e.implicitKey=!1,h=!1;const v=p.schema.stringify(u,e,()=>y=null,()=>h=!0);let b=" ";if(g||this.comment)b=`${g}\n${e.indent}`;else if(!f&&u instanceof s.default){("["===v[0]||"{"===v[0])&&!v.includes("\n")||(b=`\n${e.indent}`)}return h&&!y&&r&&r(),(0,n.default)(m+b+v,e.indent,y)}}t.default=l},function(e,t){e.exports=require("util")},function(e,t,r){"use strict";const n=r(7).fromPromise,i=r(42);e.exports={pathExists:n((function(e){return i.access(e).then(()=>!0).catch(()=>!1)})),pathExistsSync:i.existsSync}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.isEmptyPath=void 0;var n=a(r(25)),i=a(r(16)),o=a(r(10)),s=a(r(6));function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u=e=>null==e||"object"==typeof e&&e[Symbol.iterator]().next().done;t.isEmptyPath=u;class l extends i.default{constructor(...e){super(...e),c(this,"items",[])}addIn(e,t){if(u(e))this.add(t);else{const[r,...n]=e,i=this.get(r,!0);if(!(i instanceof l))throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`);i.addIn(n,t)}}deleteIn([e,...t]){if(0===t.length)return this.delete(e);const r=this.get(e,!0);if(r instanceof l)return r.deleteIn(t);throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}getIn([e,...t],r){const n=this.get(e,!0);return 0===t.length?!r&&n instanceof s.default?n.value:n:n instanceof l?n.getIn(t,r):void 0}hasAllNullValues(){return this.items.every(e=>{if(!(e instanceof o.default))return!1;const t=e.value;return null==t||t instanceof s.default&&null==t.value&&!t.commentBefore&&!t.comment&&!t.tag})}hasIn([e,...t]){if(0===t.length)return this.has(e);const r=this.get(e,!0);return r instanceof l&&r.hasIn(t)}setIn([e,...t],r){if(0===t.length)this.set(e,r);else{const n=this.get(e,!0);if(!(n instanceof l))throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`);n.setIn(t,r)}}toJSON(){return null}toString(e,{blockItem:t,flowChars:r,isMap:i,itemIndent:o},s,a){const{doc:c,indent:u}=e,f=this.type&&"FLOW"===this.type.substr(0,4)||e.inFlow;f&&(o+=" ");const p=i&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:p,indent:o,inFlow:f,type:null});let d=!1,h=!1;const m=this.items.reduce((t,r,i)=>{let s;r&&(!d&&r.spaceBefore&&t.push({type:"comment",str:""}),r.commentBefore&&r.commentBefore.match(/^.*$/gm).forEach(e=>{t.push({type:"comment",str:`#${e}`})}),r.comment&&(s=r.comment),f&&(!d&&r.spaceBefore||r.commentBefore||r.comment||r.key&&(r.key.commentBefore||r.key.comment)||r.value&&(r.value.commentBefore||r.value.comment))&&(h=!0)),d=!1;let a=c.schema.stringify(r,e,()=>s=null,()=>d=!0);return f&&!h&&a.includes("\n")&&(h=!0),f&&i<this.items.length-1&&(a+=","),a=(0,n.default)(a,o,s),d&&(s||f)&&(d=!1),t.push({type:"item",str:a}),t},[]);let g;if(0===m.length)g=r.start+r.end;else if(f){const{start:e,end:t}=r,n=m.map(e=>e.str);if(h||n.reduce((e,t)=>e+t.length+2,2)>l.maxFlowStringSingleLineLength){g=e;for(const e of n)g+=e?`\n ${u}${e}`:"\n";g+=`\n${u}${t}`}else g=`${e} ${n.join(" ")} ${t}`}else{const e=m.map(t);g=e.shift();for(const t of e)g+=t?`\n${u}${t}`:"\n"}return this.comment?(g+="\n"+this.comment.replace(/^/gm,`${u}#`),s&&s()):d&&a&&a(),g}}t.default=l,c(l,"maxFlowStringSingleLineLength",60)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findPair=a,t.default=void 0;var n=s(r(13)),i=s(r(10)),o=s(r(6));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t){const r=t instanceof o.default?t.value:t;for(const n of e)if(n instanceof i.default){if(n.key===t||n.key===r)return n;if(n.key&&n.key.value===r)return n}}class c extends n.default{add(e){if(e?e instanceof i.default||(e=new i.default(e.key||e,e.value)):e=new i.default(e),a(this.items,e.key))throw new Error(`Key ${e.key} already set`);this.items.push(e)}delete(e){const t=a(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const r=a(this.items,e),n=r&&r.value;return!t&&n instanceof o.default?n.value:n}has(e){return!!a(this.items,e)}set(e,t){const r=a(this.items,e);r?r.value=t:this.items.push(new i.default(e,t))}toJSON(e,t,r){const n=r?new r:t&&t.mapAsMap?new Map:{};t&&t.onCreate&&t.onCreate(n);for(const e of this.items)e.addToJSMap(t,n);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const e of this.items)if(!(e instanceof i.default))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return super.toString(e,{blockItem:e=>e.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},t,r)}}t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,n){if(Array.isArray(t))return t.map((t,r)=>e(t,String(r),n));if(t&&"function"==typeof t.toJSON){const e=n&&n.anchors&&n.anchors.find(e=>e.node===t);e&&(n.onCreate=t=>{e.res=t,delete n.onCreate});const i=t.toJSON(r,n);return e&&n.onCreate&&n.onCreate(i),i}return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(15)),i=s(r(13)),o=s(r(6));function s(e){return e&&e.__esModule?e:{default:e}}function a(e){let t=e instanceof o.default?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),Number.isInteger(t)&&t>=0?t:null}class c extends i.default{add(e){this.items.push(e)}delete(e){const t=a(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){const r=a(e);if("number"!=typeof r)return;const n=this.items[r];return!t&&n instanceof o.default?n.value:n}has(e){const t=a(e);return"number"==typeof t&&t<this.items.length}set(e,t){const r=a(e);if("number"!=typeof r)throw new Error(`Expected a valid index, not ${e}.`);this.items[r]=t}toJSON(e,t){const r=[];t&&t.onCreate&&t.onCreate(r);let i=0;for(const e of this.items)r.push((0,n.default)(e,String(i++),t));return r}toString(e,t,r){return e?super.toString(e,{blockItem:e=>"comment"===e.type?e.str:`- ${e.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(e.indent||"")+" "},t,r):JSON.stringify(this)}}t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyNumber=function({format:e,minFractionDigits:t,tag:r,value:n}){if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let i=JSON.stringify(n);if(!e&&t&&(!r||"tag:yaml.org,2002:float"===r)&&/^\d/.test(i)){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let r=t-(i.length-e-1);for(;r-- >0;)i+="0"}return i},t.stringifyString=function(e,t,r,a){const{defaultType:f}=s.strOptions,{implicitKey:p,inFlow:d}=t;let{type:h,value:m}=e;"string"!=typeof m&&(m=String(m),e=Object.assign({},e,{value:m}));const g=f=>{switch(f){case i.Type.BLOCK_FOLDED:case i.Type.BLOCK_LITERAL:return l(e,t,r,a);case i.Type.QUOTE_DOUBLE:return c(m,t);case i.Type.QUOTE_SINGLE:return u(m,t);case i.Type.PLAIN:return function(e,t,r,a){const{comment:f,type:p,value:d}=e,{actualString:h,implicitKey:m,indent:g,inFlow:y,tags:v}=t;if(m&&/[\n[\]{},]/.test(d)||y&&/[[\]{},]/.test(d))return c(d,t);if(!d||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(d))return m||y||-1===d.indexOf("\n")?-1!==d.indexOf('"')&&-1===d.indexOf("'")?u(d,t):c(d,t):l(e,t,r,a);if(!m&&!y&&p!==i.Type.PLAIN&&-1!==d.indexOf("\n"))return l(e,t,r,a);const b=d.replace(/\n+/g,`$&\n${g}`);if(h&&"string"!=typeof v.resolveScalar(b).value)return c(d,t);const w=m?b:(0,o.default)(b,g,o.FOLD_FLOW,s.strOptions.fold);if(f&&!y&&(-1!==w.indexOf("\n")||-1!==f.indexOf("\n")))return r&&r(),(0,n.addCommentBefore)(w,g,f);return w}(e,t,r,a);default:return null}};h!==i.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(m)?h=i.Type.QUOTE_DOUBLE:!p&&!d||h!==i.Type.BLOCK_FOLDED&&h!==i.Type.BLOCK_LITERAL||(h=i.Type.QUOTE_DOUBLE);let y=g(h);if(null===y&&(y=g(f),null===y))throw new Error(`Unsupported default string type ${f}`);return y};var n=r(25),i=r(2),o=function(e){if(e&&e.__esModule)return e;var t=a();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}}r.default=e,t&&t.set(e,r);return r}(r(120)),s=r(19);function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function c(e,{implicitKey:t,indent:r}){const{jsonEncoding:n,minMultiLineLength:i}=s.strOptions.doubleQuoted,a=JSON.stringify(e);if(n)return a;let c="",u=0;for(let e=0,n=a[e];n;n=a[++e])if(" "===n&&"\\"===a[e+1]&&"n"===a[e+2]&&(c+=a.slice(u,e)+"\\ ",e+=1,u=e,n="\\"),"\\"===n)switch(a[e+1]){case"u":{c+=a.slice(u,e);const t=a.substr(e+2,4);switch(t){case"0000":c+="\\0";break;case"0007":c+="\\a";break;case"000b":c+="\\v";break;case"001b":c+="\\e";break;case"0085":c+="\\N";break;case"00a0":c+="\\_";break;case"2028":c+="\\L";break;case"2029":c+="\\P";break;default:"00"===t.substr(0,2)?c+="\\x"+t.substr(2):c+=a.substr(e,6)}e+=5,u=e+1}break;case"n":if(t||'"'===a[e+2]||a.length<i)e+=1;else{for(c+=a.slice(u,e)+"\n\n";"\\"===a[e+2]&&"n"===a[e+3]&&'"'!==a[e+4];)c+="\n",e+=2;c+=r," "===a[e+2]&&(c+="\\"),e+=1,u=e+1}break;default:e+=1}return c=u?c+a.slice(u):a,t?c:(0,o.default)(c,r,o.FOLD_QUOTED,s.strOptions.fold)}function u(e,t){const{indent:r,implicitKey:n}=t;if(n){if(/\n/.test(e))return c(e,t)}else if(/[ \t]\n|\n[ \t]/.test(e))return c(e,t);const i="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${r}`)+"'";return n?i:(0,o.default)(i,r,o.FOLD_FLOW,s.strOptions.fold)}function l({comment:e,type:t,value:r},n,a,u){if(/\n[\t ]+$/.test(r)||/^\s*$/.test(r))return c(r,n);const l=n.indent||(n.forceBlockIndent?" ":""),f=l?"2":"1",p=t!==i.Type.BLOCK_FOLDED&&(t===i.Type.BLOCK_LITERAL||!function(e,t){const r=e.length;if(r<=t)return!1;for(let n=0,i=0;n<r;++n)if("\n"===e[n]){if(n-i>t)return!0;if(i=n+1,r-i<=t)return!1}return!0}(r,s.strOptions.fold.lineWidth-l.length));let d=p?"|":">";if(!r)return d+"\n";let h="",m="";if(r=r.replace(/[\n\t ]*$/,e=>{const t=e.indexOf("\n");return-1===t?d+="-":r!==e&&t===e.length-1||(d+="+",u&&u()),m=e.replace(/\n$/,""),""}).replace(/^[\n ]*/,e=>{-1!==e.indexOf(" ")&&(d+=f);const t=e.match(/ +$/);return t?(h=e.slice(0,-t[0].length),t[0]):(h=e,"")}),m&&(m=m.replace(/\n+(?!\n|$)/g,`$&${l}`)),h&&(h=h.replace(/\n+/g,`$&${l}`)),e&&(d+=" #"+e.replace(/ ?[\r\n]+/g," "),a&&a()),!r)return`${d}${f}\n${l}${m}`;if(p)return r=r.replace(/\n+/g,`$&${l}`),`${d}\n${l}${h}${r}${m}`;r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`);const g=(0,o.default)(`${h}${r}${m}`,l,o.FOLD_BLOCK,s.strOptions.fold);return`${d}\n${l}${g}`}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.strOptions=t.nullOptions=t.boolOptions=t.binaryOptions=void 0;var n=r(2);const i={defaultType:n.Type.BLOCK_LITERAL,lineWidth:76};t.binaryOptions=i;t.boolOptions={trueStr:"true",falseStr:"false"};t.nullOptions={nullStr:"null"};const o={defaultType:n.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};t.strOptions=o},function(e,t,r){"use strict";e.exports=Object.assign({},r(42),r(43),r(46),r(86),r(88),r(94),r(9),r(98),r(100),r(102),r(12),r(23));const n=r(8);Object.getOwnPropertyDescriptor(n,"promises")&&Object.defineProperty(e.exports,"promises",{get:()=>n.promises})},function(e,t){e.exports=require("assert")},function(e,t,r){"use strict";const n=r(1),i=r(0),o=process.versions.node.split("."),s=Number.parseInt(o[0],10),a=Number.parseInt(o[1],10),c=Number.parseInt(o[2],10);function u(){if(s>10)return!0;if(10===s){if(a>5)return!0;if(5===a&&c>=0)return!0}return!1}function l(e,t){const r=i.resolve(e).split(i.sep).filter(e=>e),n=i.resolve(t).split(i.sep).filter(e=>e);return r.reduce((e,t,r)=>e&&n[r]===t,!0)}function f(e,t,r){return`Cannot ${r} '${e}' to a subdirectory of itself, '${t}'.`}e.exports={checkPaths:function(e,t,r,i){!function(e,t,r){u()?n.stat(e,{bigint:!0},(e,i)=>{if(e)return r(e);n.stat(t,{bigint:!0},(e,t)=>e?"ENOENT"===e.code?r(null,{srcStat:i,destStat:null}):r(e):r(null,{srcStat:i,destStat:t}))}):n.stat(e,(e,i)=>{if(e)return r(e);n.stat(t,(e,t)=>e?"ENOENT"===e.code?r(null,{srcStat:i,destStat:null}):r(e):r(null,{srcStat:i,destStat:t}))})}(e,t,(n,o)=>{if(n)return i(n);const{srcStat:s,destStat:a}=o;return a&&a.ino&&a.dev&&a.ino===s.ino&&a.dev===s.dev?i(new Error("Source and destination must not be the same.")):s.isDirectory()&&l(e,t)?i(new Error(f(e,t,r))):i(null,{srcStat:s,destStat:a})})},checkPathsSync:function(e,t,r){const{srcStat:i,destStat:o}=function(e,t){let r,i;r=u()?n.statSync(e,{bigint:!0}):n.statSync(e);try{i=u()?n.statSync(t,{bigint:!0}):n.statSync(t)}catch(e){if("ENOENT"===e.code)return{srcStat:r,destStat:null};throw e}return{srcStat:r,destStat:i}}(e,t);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()&&l(e,t))throw new Error(f(e,t,r));return{srcStat:i,destStat:o}},checkParentPaths:function e(t,r,o,s,a){const c=i.resolve(i.dirname(t)),l=i.resolve(i.dirname(o));if(l===c||l===i.parse(l).root)return a();u()?n.stat(l,{bigint:!0},(n,i)=>n?"ENOENT"===n.code?a():a(n):i.ino&&i.dev&&i.ino===r.ino&&i.dev===r.dev?a(new Error(f(t,o,s))):e(t,r,l,s,a)):n.stat(l,(n,i)=>n?"ENOENT"===n.code?a():a(n):i.ino&&i.dev&&i.ino===r.ino&&i.dev===r.dev?a(new Error(f(t,o,s))):e(t,r,l,s,a))},checkParentPathsSync:function e(t,r,o,s){const a=i.resolve(i.dirname(t)),c=i.resolve(i.dirname(o));if(c===a||c===i.parse(c).root)return;let l;try{l=u()?n.statSync(c,{bigint:!0}):n.statSync(c)}catch(e){if("ENOENT"===e.code)return;throw e}if(l.ino&&l.dev&&l.ino===r.ino&&l.dev===r.dev)throw new Error(f(t,o,s));return e(t,r,c,s)},isSrcSubdir:l}},function(e,t,r){"use strict";const n=r(7).fromCallback,i=r(87);e.exports={remove:n(i),removeSync:i.sync}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(2),i=s(r(5)),o=s(r(4));function s(e){return e&&e.__esModule?e:{default:e}}class a extends i.default{constructor(){super(n.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(e,t){this.context=e;const{src:r}=e;let n=t+1;for(;i.default.atBlank(r,n);){const e=i.default.endOfWhiteSpace(r,n);if("\n"!==e)break;n=e+1}return this.range=new o.default(t,n),n}}t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addCommentBefore=function(e,t,r){if(!r)return e;return`#${r.replace(/[\s\S]^/gm,`$&${t}#`)}\n${t}${e}`},t.default=function(e,t,r){return r?-1===r.indexOf("\n")?`${e} #${r}`:`${e}\n`+r.replace(/^/gm,`${t||""}#`):e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(2),i=r(3),o=u(r(15)),s=u(r(13)),a=u(r(16)),c=u(r(10));function u(e){return e&&e.__esModule?e:{default:e}}const l=(e,t)=>{if(e instanceof f){const r=t.find(t=>t.node===e.source);return r.count*r.aliasCount}if(e instanceof s.default){let r=0;for(const n of e.items){const e=l(n,t);e>r&&(r=e)}return r}if(e instanceof c.default){const r=l(e.key,t),n=l(e.value,t);return Math.max(r,n)}return 1};class f extends a.default{static stringify({range:e,source:t},{anchors:r,doc:n,implicitKey:i,inStringifyKey:o}){let s=Object.keys(r).find(e=>r[e]===t);if(!s&&o&&(s=n.anchors.getName(t)||n.anchors.newName()),s)return`*${s}${i?" ":""}`;const a=n.anchors.getName(t)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${a} [${e}]`)}constructor(e){super(),this.source=e,this.type=n.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,t){if(!t)return(0,o.default)(this.source,e,t);const{anchors:r,maxAliasCount:n}=t,s=r.find(e=>e.node===this.source);if(!s||void 0===s.res){const e="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new i.YAMLReferenceError(this.cstNode,e):new ReferenceError(e)}if(n>=0&&(s.count+=1,0===s.aliasCount&&(s.aliasCount=l(this.source,r)),s.count*s.aliasCount>n)){const e="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new i.YAMLReferenceError(this.cstNode,e):new ReferenceError(e)}return s.res}toString(e){return f.stringify(this,e)}}var p,d,h;t.default=f,h=!0,(d="default")in(p=f)?Object.defineProperty(p,d,{value:h,enumerable:!0,configurable:!0,writable:!0}):p[d]=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.resolveString=void 0;var n=r(18),i=r(19);const o=(e,t)=>{const r=t.strValue;return r?"string"==typeof r?r:(r.errors.forEach(r=>{r.source||(r.source=t),e.errors.push(r)}),r.str):""};t.resolveString=o;var s={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:o,stringify:(e,t,r,i)=>(t=Object.assign({actualString:!0},t),(0,n.stringifyString)(e,t,r,i)),options:i.strOptions};t.default=s},function(e,t,r){"use strict";const n=r(7).fromCallback,i=r(95);e.exports={readJson:n(i.readFile),readJsonSync:i.readFileSync,writeJson:n(i.writeFile),writeJsonSync:i.writeFileSync}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(2),i=s(r(5)),o=s(r(4));function s(e){return e&&e.__esModule?e:{default:e}}class a extends i.default{constructor(){super(n.Type.COMMENT)}parse(e,t){this.context=e;const r=this.parseComment(t);return this.range=new o.default(t,r),r}}t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(31)),i=s(r(32)),o=s(r(27));function s(e){return e&&e.__esModule?e:{default:e}}var a=[n.default,i.default,o.default];t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(14)),i=o(r(54));function o(e){return e&&e.__esModule?e:{default:e}}var s={createNode:function(e,t,r){const i=new n.default;if(t instanceof Map)for(const[n,o]of t)i.items.push(e.createPair(n,o,r));else if(t&&"object"==typeof t)for(const n of Object.keys(t))i.items.push(e.createPair(n,t[n],r));return i},default:!0,nodeClass:n.default,tag:"tag:yaml.org,2002:map",resolve:i.default};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(56)),i=o(r(17));function o(e){return e&&e.__esModule?e:{default:e}}var s={createNode:function(e,t,r){const n=new i.default;if(t&&t[Symbol.iterator])for(const i of t){const t=e.createNode(i,r.wrapScalars,null,r);n.items.push(t)}return n},default:!0,nodeClass:i.default,tag:"tag:yaml.org,2002:seq",resolve:n.default};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePairs=u,t.createPairs=l,t.default=void 0;var n=r(3),i=c(r(14)),o=c(r(10)),s=c(r(56)),a=c(r(17));function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){const r=(0,s.default)(e,t);for(let e=0;e<r.items.length;++e){let s=r.items[e];if(!(s instanceof o.default)){if(s instanceof i.default){if(s.items.length>1){const e="Each pair must have its own sequence indicator";throw new n.YAMLSemanticError(t,e)}const e=s.items[0]||new o.default;s.commentBefore&&(e.commentBefore=e.commentBefore?`${s.commentBefore}\n${e.commentBefore}`:s.commentBefore),s.comment&&(e.comment=e.comment?`${s.comment}\n${e.comment}`:s.comment),s=e}r.items[e]=s instanceof o.default?s:new o.default(s)}}return r}function l(e,t,r){const n=new a.default;n.tag="tag:yaml.org,2002:pairs";for(const i of t){let t,o;if(Array.isArray(i)){if(2!==i.length)throw new TypeError(`Expected [key, value] tuple: ${i}`);t=i[0],o=i[1]}else if(i&&i instanceof Object){const e=Object.keys(i);if(1!==e.length)throw new TypeError(`Expected { key: value } tuple: ${i}`);t=e[0],o=i[t]}else t=i;const s=e.createPair(t,o,r);n.items.push(s)}return n}var f={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:u,createNode:l};t.default=f},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.SettingsBunddle="settings-bundle",e.LicenseToolsPlugin="license-tools-plugin",e.AboutLibraries="about-libraries",e.AboutLibrariesJson="about-libraries-json"}(n||(n={})),function(e){function t(){return Object.values(e).filter((function(e){return"function"!=typeof e}))}e.getSupportedFormats=t,e.isSupportedFormat=function(e){return t().indexOf(e)>=0}}(n||(n={})),t.default=n},function(e,t,r){e.exports=b;var n=r(8),i=r(62),o=r(36),s=(o.Minimatch,r(137)),a=r(63).EventEmitter,c=r(0),u=r(21),l=r(37),f=r(139),p=r(64),d=(p.alphasort,p.alphasorti,p.setopts),h=p.ownProp,m=r(140),g=(r(11),p.childrenIgnored),y=p.isIgnored,v=r(39);function b(e,t,r){if("function"==typeof t&&(r=t,t={}),t||(t={}),t.sync){if(r)throw new TypeError("callback provided to sync glob");return f(e,t)}return new E(e,t,r)}b.sync=f;var w=b.GlobSync=f.GlobSync;function E(e,t,r){if("function"==typeof t&&(r=t,t=null),t&&t.sync){if(r)throw new TypeError("callback provided to sync glob");return new w(e,t)}if(!(this instanceof E))return new E(e,t,r);d(this,e,t),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),"function"==typeof r&&(r=v(r),this.on("error",r),this.on("end",(function(e){r(null,e)})));var i=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===n)return s();for(var o=0;o<n;o++)this._process(this.minimatch.set[o],o,!1,s);function s(){--i._processing,i._processing<=0&&i._finish()}}b.glob=b,b.hasMagic=function(e,t){var r=function(e,t){if(null===t||"object"!=typeof t)return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}({},t);r.noprocess=!0;var n=new E(e,r).minimatch.set;if(!e)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},b.Glob=E,s(E,a),E.prototype._finish=function(){if(u(this instanceof E),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();p.finish(this),this.emit("end",this.found)}},E.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var e=this.matches.length;if(0===e)return this._finish();for(var t=this,r=0;r<this.matches.length;r++)this._realpathSet(r,n)}function n(){0==--e&&t._finish()}},E.prototype._realpathSet=function(e,t){var r=this.matches[e];if(!r)return t();var n=Object.keys(r),o=this,s=n.length;if(0===s)return t();var a=this.matches[e]=Object.create(null);n.forEach((function(r,n){r=o._makeAbs(r),i.realpath(r,o.realpathCache,(function(n,i){n?"stat"===n.syscall?a[r]=!0:o.emit("error",n):a[i]=!0,0==--s&&(o.matches[e]=a,t())}))}))},E.prototype._mark=function(e){return p.mark(this,e)},E.prototype._makeAbs=function(e){return p.makeAbs(this,e)},E.prototype.abort=function(){this.aborted=!0,this.emit("abort")},E.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},E.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var e=this._emitQueue.slice(0);this._emitQueue.length=0;for(var t=0;t<e.length;t++){var r=e[t];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var n=this._processQueue.slice(0);this._processQueue.length=0;for(t=0;t<n.length;t++){var i=n[t];this._processing--,this._process(i[0],i[1],i[2],i[3])}}}},E.prototype._process=function(e,t,r,n){if(u(this instanceof E),u("function"==typeof n),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([e,t,r,n]);else{for(var i,s=0;"string"==typeof e[s];)s++;switch(s){case e.length:return void this._processSimple(e.join("/"),t,n);case 0:i=null;break;default:i=e.slice(0,s).join("/")}var a,c=e.slice(s);null===i?a=".":l(i)||l(e.join("/"))?(i&&l(i)||(i="/"+i),a=i):a=i;var f=this._makeAbs(a);if(g(this,a))return n();c[0]===o.GLOBSTAR?this._processGlobStar(i,a,f,c,t,r,n):this._processReaddir(i,a,f,c,t,r,n)}},E.prototype._processReaddir=function(e,t,r,n,i,o,s){var a=this;this._readdir(r,o,(function(c,u){return a._processReaddir2(e,t,r,n,i,o,u,s)}))},E.prototype._processReaddir2=function(e,t,r,n,i,o,s,a){if(!s)return a();for(var u=n[0],l=!!this.minimatch.negate,f=u._glob,p=this.dot||"."===f.charAt(0),d=[],h=0;h<s.length;h++){if("."!==(g=s[h]).charAt(0)||p)(l&&!e?!g.match(u):g.match(u))&&d.push(g)}var m=d.length;if(0===m)return a();if(1===n.length&&!this.mark&&!this.stat){this.matches[i]||(this.matches[i]=Object.create(null));for(h=0;h<m;h++){var g=d[h];e&&(g="/"!==e?e+"/"+g:e+g),"/"!==g.charAt(0)||this.nomount||(g=c.join(this.root,g)),this._emitMatch(i,g)}return a()}n.shift();for(h=0;h<m;h++){g=d[h];e&&(g="/"!==e?e+"/"+g:e+g),this._process([g].concat(n),i,o,a)}a()},E.prototype._emitMatch=function(e,t){if(!this.aborted&&!y(this,t))if(this.paused)this._emitQueue.push([e,t]);else{var r=l(t)?t:this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=r),!this.matches[e][t]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[e][t]=!0;var i=this.statCache[r];i&&this.emit("stat",t,i),this.emit("match",t)}}},E.prototype._readdirInGlobStar=function(e,t){if(!this.aborted){if(this.follow)return this._readdir(e,!1,t);var r=this,i=m("lstat\0"+e,(function(n,i){if(n&&"ENOENT"===n.code)return t();var o=i&&i.isSymbolicLink();r.symlinks[e]=o,o||!i||i.isDirectory()?r._readdir(e,!1,t):(r.cache[e]="FILE",t())}));i&&n.lstat(e,i)}},E.prototype._readdir=function(e,t,r){if(!this.aborted&&(r=m("readdir\0"+e+"\0"+t,r))){if(t&&!h(this.symlinks,e))return this._readdirInGlobStar(e,r);if(h(this.cache,e)){var i=this.cache[e];if(!i||"FILE"===i)return r();if(Array.isArray(i))return r(null,i)}n.readdir(e,function(e,t,r){return function(n,i){n?e._readdirError(t,n,r):e._readdirEntries(t,i,r)}}(this,e,r))}},E.prototype._readdirEntries=function(e,t,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var n=0;n<t.length;n++){var i=t[n];i="/"===e?e+i:e+"/"+i,this.cache[i]=!0}return this.cache[e]=t,r(null,t)}},E.prototype._readdirError=function(e,t,r){if(!this.aborted){switch(t.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(e);if(this.cache[n]="FILE",n===this.cwdAbs){var i=new Error(t.code+" invalid cwd "+this.cwd);i.path=this.cwd,i.code=t.code,this.emit("error",i),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:this.cache[this._makeAbs(e)]=!1,this.strict&&(this.emit("error",t),this.abort()),this.silent||console.error("glob error",t)}return r()}},E.prototype._processGlobStar=function(e,t,r,n,i,o,s){var a=this;this._readdir(r,o,(function(c,u){a._processGlobStar2(e,t,r,n,i,o,u,s)}))},E.prototype._processGlobStar2=function(e,t,r,n,i,o,s,a){if(!s)return a();var c=n.slice(1),u=e?[e]:[],l=u.concat(c);this._process(l,i,!1,a);var f=this.symlinks[r],p=s.length;if(f&&o)return a();for(var d=0;d<p;d++){if("."!==s[d].charAt(0)||this.dot){var h=u.concat(s[d],c);this._process(h,i,!0,a);var m=u.concat(s[d],n);this._process(m,i,!0,a)}}a()},E.prototype._processSimple=function(e,t,r){var n=this;this._stat(e,(function(i,o){n._processSimple2(e,t,i,o,r)}))},E.prototype._processSimple2=function(e,t,r,n,i){if(this.matches[t]||(this.matches[t]=Object.create(null)),!n)return i();if(e&&l(e)&&!this.nomount){var o=/[\/\\]$/.test(e);"/"===e.charAt(0)?e=c.join(this.root,e):(e=c.resolve(this.root,e),o&&(e+="/"))}"win32"===process.platform&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e),i()},E.prototype._stat=function(e,t){var r=this._makeAbs(e),i="/"===e.slice(-1);if(e.length>this.maxLength)return t();if(!this.stat&&h(this.cache,r)){var o=this.cache[r];if(Array.isArray(o)&&(o="DIR"),!i||"DIR"===o)return t(null,o);if(i&&"FILE"===o)return t()}var s=this.statCache[r];if(void 0!==s){if(!1===s)return t(null,s);var a=s.isDirectory()?"DIR":"FILE";return i&&"FILE"===a?t():t(null,a,s)}var c=this,u=m("stat\0"+r,(function(i,o){if(o&&o.isSymbolicLink())return n.stat(r,(function(n,i){n?c._stat2(e,r,null,o,t):c._stat2(e,r,n,i,t)}));c._stat2(e,r,i,o,t)}));u&&n.lstat(r,u)},E.prototype._stat2=function(e,t,r,n,i){if(r&&("ENOENT"===r.code||"ENOTDIR"===r.code))return this.statCache[t]=!1,i();var o="/"===e.slice(-1);if(this.statCache[t]=n,"/"===t.slice(-1)&&n&&!n.isDirectory())return i(null,!1,n);var s=!0;return n&&(s=n.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||s,o&&"FILE"===s?i():i(null,s,n)}},function(e,t,r){e.exports=l,l.Minimatch=f;var n={sep:"/"};try{n=r(0)}catch(e){}var i=l.GLOBSTAR=f.GLOBSTAR={},o=r(134),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var c=/\/+/;function u(e,t){e=e||{},t=t||{};var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),Object.keys(e).forEach((function(t){r[t]=e[t]})),r}function l(e,t,r){if("string"!=typeof t)throw new TypeError("glob pattern string required");return r||(r={}),!(!r.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===e:new f(t,r).match(e))}function f(e,t){if(!(this instanceof f))return new f(e,t);if("string"!=typeof e)throw new TypeError("glob pattern string required");t||(t={}),e=e.trim(),"/"!==n.sep&&(e=e.split(n.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function p(e,t){if(t||(t=this instanceof f?this.options:{}),void 0===(e=void 0===e?this.pattern:e))throw new TypeError("undefined pattern");return t.nobrace||!e.match(/\{.*\}/)?[e]:o(e)}l.filter=function(e,t){return t=t||{},function(r,n,i){return l(r,e,t)}},l.defaults=function(e){if(!e||!Object.keys(e).length)return l;var t=l,r=function(r,n,i){return t.minimatch(r,n,u(e,i))};return r.Minimatch=function(r,n){return new t.Minimatch(r,u(e,n))},r},f.defaults=function(e){return e&&Object.keys(e).length?l.defaults(e).Minimatch:f},f.prototype.debug=function(){},f.prototype.make=function(){if(this._made)return;var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error);this.debug(this.pattern,r),r=this.globParts=r.map((function(e){return e.split(c)})),this.debug(this.pattern,r),r=r.map((function(e,t,r){return e.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},f.prototype.parseNegate=function(){var e=this.pattern,t=!1,r=this.options,n=0;if(r.nonegate)return;for(var i=0,o=e.length;i<o&&"!"===e.charAt(i);i++)t=!t,n++;n&&(this.pattern=e.substr(n));this.negate=t},l.braceExpand=function(e,t){return p(e,t)},f.prototype.braceExpand=p,f.prototype.parse=function(e,t){if(e.length>65536)throw new TypeError("pattern is too long");var r=this.options;if(!r.noglobstar&&"**"===e)return i;if(""===e)return"";var n,o="",c=!!r.nocase,u=!1,l=[],f=[],p=!1,h=-1,m=-1,g="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",y=this;function v(){if(n){switch(n){case"*":o+="[^/]*?",c=!0;break;case"?":o+="[^/]",c=!0;break;default:o+="\\"+n}y.debug("clearStateChar %j %j",n,o),n=!1}}for(var b,w=0,E=e.length;w<E&&(b=e.charAt(w));w++)if(this.debug("%s\t%s %s %j",e,w,o,b),u&&a[b])o+="\\"+b,u=!1;else switch(b){case"/":return!1;case"\\":v(),u=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,w,o,b),p){this.debug(" in class"),"!"===b&&w===m+1&&(b="^"),o+=b;continue}y.debug("call clearStateChar %j",n),v(),n=b,r.noext&&v();continue;case"(":if(p){o+="(";continue}if(!n){o+="\\(";continue}l.push({type:n,start:w-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(p||!l.length){o+="\\)";continue}v(),c=!0;var S=l.pop();o+=S.close,"!"===S.type&&f.push(S),S.reEnd=o.length;continue;case"|":if(p||!l.length||u){o+="\\|",u=!1;continue}v(),o+="|";continue;case"[":if(v(),p){o+="\\"+b;continue}p=!0,m=w,h=o.length,o+=b;continue;case"]":if(w===m+1||!p){o+="\\"+b,u=!1;continue}if(p){var L=e.substring(m+1,w);try{RegExp("["+L+"]")}catch(e){var O=this.parse(L,d);o=o.substr(0,h)+"\\["+O[0]+"\\]",c=c||O[1],p=!1;continue}}c=!0,p=!1,o+=b;continue;default:v(),u?u=!1:!a[b]||"^"===b&&p||(o+="\\"),o+=b}p&&(L=e.substr(m+1),O=this.parse(L,d),o=o.substr(0,h)+"\\["+O[0],c=c||O[1]);for(S=l.pop();S;S=l.pop()){var A=o.slice(S.reStart+S.open.length);this.debug("setting tail",o,S),A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n %s",A,A,S,o);var x="*"===S.type?"[^/]*?":"?"===S.type?"[^/]":"\\"+S.type;c=!0,o=o.slice(0,S.reStart)+x+"\\("+A}v(),u&&(o+="\\\\");var k=!1;switch(o.charAt(0)){case".":case"[":case"(":k=!0}for(var D=f.length-1;D>-1;D--){var _=f[D],N=o.slice(0,_.reStart),C=o.slice(_.reStart,_.reEnd-8),T=o.slice(_.reEnd-8,_.reEnd),P=o.slice(_.reEnd);T+=P;var M=N.split("(").length-1,q=P;for(w=0;w<M;w++)q=q.replace(/\)[+*?]?/,"");var j="";""===(P=q)&&t!==d&&(j="$"),o=N+C+P+j+T}""!==o&&c&&(o="(?=.)"+o);k&&(o=g+o);if(t===d)return[o,c];if(!c)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var F=r.nocase?"i":"";try{var I=new RegExp("^"+o+"$",F)}catch(e){return new RegExp("$.")}return I._glob=e,I._src=o,I};var d={};l.makeRe=function(e,t){return new f(e,t||{}).makeRe()},f.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,r=t.noglobstar?"[^/]*?":t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=t.nocase?"i":"",o=e.map((function(e){return e.map((function(e){return e===i?r:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");o="^(?:"+o+")$",this.negate&&(o="^(?!"+o+").*$");try{this.regexp=new RegExp(o,n)}catch(e){this.regexp=!1}return this.regexp},l.match=function(e,t,r){var n=new f(t,r=r||{});return e=e.filter((function(e){return n.match(e)})),n.options.nonull&&!e.length&&e.push(t),e},f.prototype.match=function(e,t){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var r=this.options;"/"!==n.sep&&(e=e.split(n.sep).join("/"));e=e.split(c),this.debug(this.pattern,"split",e);var i,o,s=this.set;for(this.debug(this.pattern,"set",s),o=e.length-1;o>=0&&!(i=e[o]);o--);for(o=0;o<s.length;o++){var a=s[o],u=e;if(r.matchBase&&1===a.length&&(u=[i]),this.matchOne(u,a,t))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},f.prototype.matchOne=function(e,t,r){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var o=0,s=0,a=e.length,c=t.length;o<a&&s<c;o++,s++){this.debug("matchOne loop");var u,l=t[s],f=e[o];if(this.debug(t,l,f),!1===l)return!1;if(l===i){this.debug("GLOBSTAR",[t,l,f]);var p=o,d=s+1;if(d===c){for(this.debug("** at the end");o<a;o++)if("."===e[o]||".."===e[o]||!n.dot&&"."===e[o].charAt(0))return!1;return!0}for(;p<a;){var h=e[p];if(this.debug("\nglobstar while",e,p,t,d,h),this.matchOne(e.slice(p),t.slice(d),r))return this.debug("globstar found match!",p,a,h)