diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 4c882f5..42b1e52 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,7 +1,7 @@ # These are supported funding model platforms github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -patreon: sprax +patreon: # sprax open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel diff --git a/.github/dependabot.yml b/.github/dependabot.yml index fe250eb..d990c18 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,11 +1,10 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. # Please see the documentation for all configuration options: # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates version: 2 updates: - - package-ecosystem: "npm" # See documentation for possible values - directory: "/" # Location of package manifests + - package-ecosystem: "npm" + directory: "/" schedule: interval: "monthly" + open-pull-requests-limit: 15 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c0f51c..c321809 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,22 +22,43 @@ jobs: - uses: actions/checkout@v2 # Setup JDK version - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: - java-version: '8' - java-package: jdk + java-version: 8 + distribution: adopt - - name: Compile 2 spigot version + - name: Compile 1.8 spigot version uses: ./ with: - versions: latest, 1.8 + versions: 1.8 + + - uses: actions/setup-java@v2 + with: + java-version: 16 + distribution: adopt + + - name: Compile latest spigot version + uses: ./ + with: + versions: latest # Run again. The Action should detect that the requested versions are already inside the local maven repo - - name: Compile the same versions agains + - name: Compile the same version again (latest) uses: ./ with: # These versions should match the ones above - versions: latest, 1.8 + versions: latest + + - uses: actions/setup-java@v2 + with: + java-version: 8 + distribution: adopt + + - name: Compile the same version again (1.8) + uses: ./ + with: + # These versions should match the ones above + versions: 1.8 - name: Upload logs if: ${{ always() }} @@ -51,16 +72,28 @@ jobs: runs-on: ubuntu-latest steps: # Setup JDK version - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: # This version should probably match the ones from the 'run'-job - java-version: '8' - java-package: jdk + java-version: 8 + distribution: adopt - - name: Run original Spigot-BuildTools + - name: Run original Spigot-BuildTools (1.8) + # These versions should match the ones from the 'run'-job + # Using '--compile Spigot' as this action does the same by default + run: | + wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar -O BuildTools.jar + java -jar BuildTools.jar --rev 1.8 --compile Spigot + + - uses: actions/setup-java@v2 + with: + # This version should probably match the ones from the 'run'-job + java-version: 16 + distribution: adopt + + - name: Run original Spigot-BuildTools (latest) # These versions should match the ones from the 'run'-job # Using '--compile Spigot' as this action does the same by default run: | wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar -O BuildTools.jar java -jar BuildTools.jar --rev latest --compile Spigot - java -jar BuildTools.jar --rev 1.8 --compile Spigot \ No newline at end of file diff --git a/README.md b/README.md index 9e7caa5..2d90a3e 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ If you don't change them, you can remove them from your workflow, as they are set automatically. ```YAML -- uses: SpraxDev/Action-SpigotMC@v1 +- uses: SpraxDev/Action-SpigotMC@v3 with: # A comma-separated list of Spigot version that should be compiled # These values are later given to the BuildTools.jar as '--rev' argument @@ -77,4 +77,4 @@ as they are set automatically. # My (SpraxDev) provider is causing some builds to fail depending on the build environment # Available: SpraxDev, SpigotMC buildToolProvider: SpigotMC # Optional -``` \ No newline at end of file +``` diff --git a/dist/index.js b/dist/index.js index c5139eb..1de7d0d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,2 +1,3 @@ -require('./sourcemap-register.js');module.exports=(()=>{var t={7351:function(t,e,n){"use strict";var i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)if(Object.hasOwnProperty.call(t,n))e[n]=t[n];e["default"]=t;return e};Object.defineProperty(e,"__esModule",{value:true});const r=i(n(2087));const o=n(5278);function issueCommand(t,e,n){const i=new Command(t,e,n);process.stdout.write(i.toString()+r.EOL)}e.issueCommand=issueCommand;function issue(t,e=""){issueCommand(t,{},e)}e.issue=issue;const a="::";class Command{constructor(t,e,n){if(!t){t="missing.command"}this.command=t;this.properties=e;this.message=n}toString(){let t=a+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let e=true;for(const n in this.properties){if(this.properties.hasOwnProperty(n)){const i=this.properties[n];if(i){if(e){e=false}else{t+=","}t+=`${n}=${escapeProperty(i)}`}}}}t+=`${a}${escapeData(this.message)}`;return t}}function escapeData(t){return o.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(t){return o.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(t,e,n){"use strict";var i=this&&this.__awaiter||function(t,e,n,i){function adopt(t){return t instanceof n?t:new n(function(e){e(t)})}return new(n||(n=Promise))(function(n,r){function fulfilled(t){try{step(i.next(t))}catch(t){r(t)}}function rejected(t){try{step(i["throw"](t))}catch(t){r(t)}}function step(t){t.done?n(t.value):adopt(t.value).then(fulfilled,rejected)}step((i=i.apply(t,e||[])).next())})};var r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)if(Object.hasOwnProperty.call(t,n))e[n]=t[n];e["default"]=t;return e};Object.defineProperty(e,"__esModule",{value:true});const o=n(7351);const a=n(717);const s=n(5278);const c=r(n(2087));const u=r(n(5622));var f;(function(t){t[t["Success"]=0]="Success";t[t["Failure"]=1]="Failure"})(f=e.ExitCode||(e.ExitCode={}));function exportVariable(t,e){const n=s.toCommandValue(e);process.env[t]=n;const i=process.env["GITHUB_ENV"]||"";if(i){const e="_GitHubActionsFileCommandDelimeter_";const i=`${t}<<${e}${c.EOL}${n}${c.EOL}${e}`;a.issueCommand("ENV",i)}else{o.issueCommand("set-env",{name:t},n)}}e.exportVariable=exportVariable;function setSecret(t){o.issueCommand("add-mask",{},t)}e.setSecret=setSecret;function addPath(t){const e=process.env["GITHUB_PATH"]||"";if(e){a.issueCommand("PATH",t)}else{o.issueCommand("add-path",{},t)}process.env["PATH"]=`${t}${u.delimiter}${process.env["PATH"]}`}e.addPath=addPath;function getInput(t,e){const n=process.env[`INPUT_${t.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!n){throw new Error(`Input required and not supplied: ${t}`)}return n.trim()}e.getInput=getInput;function setOutput(t,e){o.issueCommand("set-output",{name:t},e)}e.setOutput=setOutput;function setCommandEcho(t){o.issue("echo",t?"on":"off")}e.setCommandEcho=setCommandEcho;function setFailed(t){process.exitCode=f.Failure;error(t)}e.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}e.isDebug=isDebug;function debug(t){o.issueCommand("debug",{},t)}e.debug=debug;function error(t){o.issue("error",t instanceof Error?t.toString():t)}e.error=error;function warning(t){o.issue("warning",t instanceof Error?t.toString():t)}e.warning=warning;function info(t){process.stdout.write(t+c.EOL)}e.info=info;function startGroup(t){o.issue("group",t)}e.startGroup=startGroup;function endGroup(){o.issue("endgroup")}e.endGroup=endGroup;function group(t,e){return i(this,void 0,void 0,function*(){startGroup(t);let n;try{n=yield e()}finally{endGroup()}return n})}e.group=group;function saveState(t,e){o.issueCommand("save-state",{name:t},e)}e.saveState=saveState;function getState(t){return process.env[`STATE_${t}`]||""}e.getState=getState},717:function(t,e,n){"use strict";var i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)if(Object.hasOwnProperty.call(t,n))e[n]=t[n];e["default"]=t;return e};Object.defineProperty(e,"__esModule",{value:true});const r=i(n(5747));const o=i(n(2087));const a=n(5278);function issueCommand(t,e){const n=process.env[`GITHUB_${t}`];if(!n){throw new Error(`Unable to find environment variable for file command ${t}`)}if(!r.existsSync(n)){throw new Error(`Missing file at path: ${n}`)}r.appendFileSync(n,`${a.toCommandValue(e)}${o.EOL}`,{encoding:"utf8"})}e.issueCommand=issueCommand},5278:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});function toCommandValue(t){if(t===null||t===undefined){return""}else if(typeof t==="string"||t instanceof String){return t}return JSON.stringify(t)}e.toCommandValue=toCommandValue},7888:function(t,e){(function(t,n){true?n(e):0})(this,function(t){"use strict";function apply(t,...e){return(...n)=>t(...e,...n)}function initialParams(t){return function(...e){var n=e.pop();return t.call(this,e,n)}}var e=typeof setImmediate==="function"&&setImmediate;var n=typeof process==="object"&&typeof process.nextTick==="function";function fallback(t){setTimeout(t,0)}function wrap(t){return(e,...n)=>t(()=>e(...n))}var i;if(e){i=setImmediate}else if(n){i=process.nextTick}else{i=fallback}var r=wrap(i);function asyncify(t){if(isAsync(t)){return function(...e){const n=e.pop();const i=t.apply(this,e);return handlePromise(i,n)}}return initialParams(function(e,n){var i;try{i=t.apply(this,e)}catch(t){return n(t)}if(i&&typeof i.then==="function"){return handlePromise(i,n)}else{n(null,i)}})}function handlePromise(t,e){return t.then(t=>{invokeCallback(e,null,t)},t=>{invokeCallback(e,t&&t.message?t:new Error(t))})}function invokeCallback(t,e,n){try{t(e,n)}catch(t){r(t=>{throw t},t)}}function isAsync(t){return t[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(t){return t[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(t){return typeof t[Symbol.asyncIterator]==="function"}function wrapAsync(t){if(typeof t!=="function")throw new Error("expected a function");return isAsync(t)?asyncify(t):t}function awaitify(t,e=t.length){if(!e)throw new Error("arity is undefined");function awaitable(...n){if(typeof n[e-1]==="function"){return t.apply(this,n)}return new Promise((i,r)=>{n[e-1]=((t,...e)=>{if(t)return r(t);i(e.length>1?e:e[0])});t.apply(this,n)})}return awaitable}function applyEach(t){return function applyEach(e,...n){const i=awaitify(function(i){var r=this;return t(e,(t,e)=>{wrapAsync(t).apply(r,n.concat(e))},i)});return i}}function _asyncMap(t,e,n,i){e=e||[];var r=[];var o=0;var a=wrapAsync(n);return t(e,(t,e,n)=>{var i=o++;a(t,(t,e)=>{r[i]=e;n(t)})},t=>{i(t,r)})}function isArrayLike(t){return t&&typeof t.length==="number"&&t.length>=0&&t.length%1===0}const o={};function once(t){function wrapper(...e){if(t===null)return;var n=t;t=null;n.apply(this,e)}Object.assign(wrapper,t);return wrapper}function getIterator(t){return t[Symbol.iterator]&&t[Symbol.iterator]()}function createArrayIterator(t){var e=-1;var n=t.length;return function next(){return++e=e||s||r)return;s=true;t.next().then(({value:t,done:e})=>{if(a||r)return;s=false;if(e){r=true;if(c<=0){i(null)}return}c++;n(t,u,iterateeCallback);u++;replenish()}).catch(handleError)}function iterateeCallback(t,e){c-=1;if(a)return;if(t)return handleError(t);if(t===false){r=true;a=true;return}if(e===o||r&&c<=0){r=true;return i(null)}replenish()}function handleError(t){if(a)return;s=false;r=true;i(t)}replenish()}var a=t=>{return(e,n,i)=>{i=once(i);if(t<=0){throw new RangeError("concurrency limit cannot be less than 1")}if(!e){return i(null)}if(isAsyncGenerator(e)){return asyncEachOfLimit(e,t,n,i)}if(isAsyncIterable(e)){return asyncEachOfLimit(e[Symbol.asyncIterator](),t,n,i)}var r=createIterator(e);var a=false;var s=false;var c=0;var u=false;function iterateeCallback(t,e){if(s)return;c-=1;if(t){a=true;i(t)}else if(t===false){a=true;s=true}else if(e===o||a&&c<=0){a=true;return i(null)}else if(!u){replenish()}}function replenish(){u=true;while(c1?i:i[0])}callback[m]=new Promise((n,i)=>{t=n,e=i});return callback}function auto(t,e,n){if(typeof e!=="number"){n=e;e=null}n=once(n||promiseCallback());var i=Object.keys(t).length;if(!i){return n(null)}if(!e){e=i}var r={};var o=0;var a=false;var s=false;var c=Object.create(null);var u=[];var f=[];var l={};Object.keys(t).forEach(e=>{var n=t[e];if(!Array.isArray(n)){enqueueTask(e,[n]);f.push(e);return}var i=n.slice(0,n.length-1);var r=i.length;if(r===0){enqueueTask(e,n);f.push(e);return}l[e]=r;i.forEach(o=>{if(!t[o]){throw new Error("async.auto task `"+e+"` has a non-existent dependency `"+o+"` in "+i.join(", "))}addListener(o,()=>{r--;if(r===0){enqueueTask(e,n)}})})});checkForDeadlocks();processQueue();function enqueueTask(t,e){u.push(()=>runTask(t,e))}function processQueue(){if(a)return;if(u.length===0&&o===0){return n(null,r)}while(u.length&&ot());processQueue()}function runTask(t,e){if(s)return;var i=onlyOnce((e,...i)=>{o--;if(e===false){a=true;return}if(i.length<2){[i]=i}if(e){var u={};Object.keys(r).forEach(t=>{u[t]=r[t]});u[t]=i;s=true;c=Object.create(null);if(a)return;n(e,u)}else{r[t]=i;taskComplete(t)}});o++;var u=wrapAsync(e[e.length-1]);if(e.length>1){u(r,i)}else{u(i)}}function checkForDeadlocks(){var t;var e=0;while(f.length){t=f.pop();e++;getDependents(t).forEach(t=>{if(--l[t]===0){f.push(t)}})}if(e!==i){throw new Error("async.auto cannot execute tasks due to a recursive dependency")}}function getDependents(e){var n=[];Object.keys(t).forEach(i=>{const r=t[i];if(Array.isArray(r)&&r.indexOf(e)>=0){n.push(i)}});return n}return n[m]}var d=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/;var p=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/;var g=/,/;var v=/(=.+)?(\s*)$/;var w=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;function parseParams(t){const e=t.toString().replace(w,"");let n=e.match(d);if(!n){n=e.match(p)}if(!n)throw new Error("could not parse args in autoInject\nSource:\n"+e);let[,i]=n;return i.replace(/\s/g,"").split(g).map(t=>t.replace(v,"").trim())}function autoInject(t,e){var n={};Object.keys(t).forEach(e=>{var i=t[e];var r;var o=isAsync(i);var a=!o&&i.length===1||o&&i.length===0;if(Array.isArray(i)){r=[...i];i=r.pop();n[e]=r.concat(r.length>0?newTask:i)}else if(a){n[e]=i}else{r=parseParams(i);if(i.length===0&&!o&&r.length===0){throw new Error("autoInject task functions require explicit parameters.")}if(!o)r.pop();n[e]=r.concat(newTask)}function newTask(t,e){var n=r.map(e=>t[e]);n.push(e);wrapAsync(i)(...n)}});return auto(n,e)}class DLL{constructor(){this.head=this.tail=null;this.length=0}removeLink(t){if(t.prev)t.prev.next=t.next;else this.head=t.next;if(t.next)t.next.prev=t.prev;else this.tail=t.prev;t.prev=t.next=null;this.length-=1;return t}empty(){while(this.head)this.shift();return this}insertAfter(t,e){e.prev=t;e.next=t.next;if(t.next)t.next.prev=e;else this.tail=e;t.next=e;this.length+=1}insertBefore(t,e){e.prev=t.prev;e.next=t;if(t.prev)t.prev.next=e;else this.head=e;t.prev=e;this.length+=1}unshift(t){if(this.head)this.insertBefore(this.head,t);else setInitial(this,t)}push(t){if(this.tail)this.insertAfter(this.tail,t);else setInitial(this,t)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var t=this.head;while(t){yield t.data;t=t.next}}remove(t){var e=this.head;while(e){var{next:n}=e;if(t(e)){this.removeLink(e)}e=n}return this}}function setInitial(t,e){t.length=1;t.head=t.tail=e}function queue(t,e,n){if(e==null){e=1}else if(e===0){throw new RangeError("Concurrency must not be zero")}var i=wrapAsync(t);var o=0;var a=[];const s={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function on(t,e){s[t].push(e)}function once(t,e){const n=(...i)=>{off(t,n);e(...i)};s[t].push(n)}function off(t,e){if(!t)return Object.keys(s).forEach(t=>s[t]=[]);if(!e)return s[t]=[];s[t]=s[t].filter(t=>t!==e)}function trigger(t,...e){s[t].forEach(t=>t(...e))}var c=false;function _insert(t,e,n,i){if(i!=null&&typeof i!=="function"){throw new Error("task callback must be a function")}l.started=true;var o,a;function promiseCallback(t,...e){if(t)return n?a(t):o();if(e.length<=1)return o(e[0]);o(e)}var s={data:t,callback:n?promiseCallback:i||promiseCallback};if(e){l._tasks.unshift(s)}else{l._tasks.push(s)}if(!c){c=true;r(()=>{c=false;l.process()})}if(n||!i){return new Promise((t,e)=>{o=t;a=e})}}function _createCB(t){return function(e,...n){o-=1;for(var i=0,r=t.length;i0){a.splice(c,1)}s.callback(e,...n);if(e!=null){trigger("error",e,s.data)}}if(o<=l.concurrency-l.buffer){trigger("unsaturated")}if(l.idle()){trigger("drain")}l.process()}}function _maybeDrain(t){if(t.length===0&&l.idle()){r(()=>trigger("drain"));return true}return false}const u=t=>e=>{if(!e){return new Promise((e,n)=>{once(t,(t,i)=>{if(t)return n(t);e(i)})})}off(t);on(t,e)};var f=false;var l={_tasks:new DLL,*[Symbol.iterator](){yield*l._tasks[Symbol.iterator]()},concurrency:e,payload:n,buffer:e/4,started:false,paused:false,push(t,e){if(Array.isArray(t)){if(_maybeDrain(t))return;return t.map(t=>_insert(t,false,false,e))}return _insert(t,false,false,e)},pushAsync(t,e){if(Array.isArray(t)){if(_maybeDrain(t))return;return t.map(t=>_insert(t,false,true,e))}return _insert(t,false,true,e)},kill(){off();l._tasks.empty()},unshift(t,e){if(Array.isArray(t)){if(_maybeDrain(t))return;return t.map(t=>_insert(t,true,false,e))}return _insert(t,true,false,e)},unshiftAsync(t,e){if(Array.isArray(t)){if(_maybeDrain(t))return;return t.map(t=>_insert(t,true,true,e))}return _insert(t,true,true,e)},remove(t){l._tasks.remove(t)},process(){if(f){return}f=true;while(!l.paused&&o{r(e,t,(t,n)=>{e=n;i(t)})},t=>i(t,e))}var E=awaitify(reduce,4);function seq(...t){var e=t.map(wrapAsync);return function(...t){var n=this;var i=t[t.length-1];if(typeof i=="function"){t.pop()}else{i=promiseCallback()}E(e,t,(t,e,i)=>{e.apply(n,t.concat((t,...e)=>{i(t,e)}))},(t,e)=>i(t,...e));return i[m]}}function compose(...t){return seq(...t.reverse())}function mapLimit(t,e,n,i){return _asyncMap(a(e),t,n,i)}var S=awaitify(mapLimit,4);function concatLimit(t,e,n,i){var r=wrapAsync(n);return S(t,e,(t,e)=>{r(t,(t,...n)=>{if(t)return e(t);return e(t,n)})},(t,e)=>{var n=[];for(var r=0;r{var s=false;var c;const u=wrapAsync(r);n(i,(n,i,r)=>{u(n,(i,a)=>{if(i||i===false)return r(i);if(t(a)&&!c){s=true;c=e(true,n);return r(null,o)}r()})},t=>{if(t)return a(t);a(null,s?c:e(false))})}}function detect(t,e,n){return _createTester(t=>t,(t,e)=>e)(c,t,e,n)}var x=awaitify(detect,3);function detectLimit(t,e,n,i){return _createTester(t=>t,(t,e)=>e)(a(e),t,n,i)}var A=awaitify(detectLimit,4);function detectSeries(t,e,n){return _createTester(t=>t,(t,e)=>e)(a(1),t,e,n)}var _=awaitify(detectSeries,3);function consoleFunc(t){return(e,...n)=>wrapAsync(e)(...n,(e,...n)=>{if(typeof console==="object"){if(e){if(console.error){console.error(e)}}else if(console[t]){n.forEach(e=>console[t](e))}}})}var O=consoleFunc("dir");function doWhilst(t,e,n){n=onlyOnce(n);var i=wrapAsync(t);var r=wrapAsync(e);var o;function next(t,...e){if(t)return n(t);if(t===false)return;o=e;r(...e,check)}function check(t,e){if(t)return n(t);if(t===false)return;if(!e)return n(null,...o);i(next)}return check(null,true)}var C=awaitify(doWhilst,3);function doUntil(t,e,n){const i=wrapAsync(e);return C(t,(...t)=>{const e=t.pop();i(...t,(t,n)=>e(t,!n))},n)}function _withoutIndex(t){return(e,n,i)=>t(e,i)}function eachLimit(t,e,n){return c(t,_withoutIndex(wrapAsync(e)),n)}var N=awaitify(eachLimit,3);function eachLimit$1(t,e,n,i){return a(e)(t,_withoutIndex(wrapAsync(n)),i)}var I=awaitify(eachLimit$1,4);function eachSeries(t,e,n){return I(t,1,e,n)}var D=awaitify(eachSeries,3);function ensureAsync(t){if(isAsync(t))return t;return function(...e){var n=e.pop();var i=true;e.push((...t)=>{if(i){r(()=>n(...t))}else{n(...t)}});t.apply(this,e);i=false}}function every(t,e,n){return _createTester(t=>!t,t=>!t)(c,t,e,n)}var k=awaitify(every,3);function everyLimit(t,e,n,i){return _createTester(t=>!t,t=>!t)(a(e),t,n,i)}var L=awaitify(everyLimit,4);function everySeries(t,e,n){return _createTester(t=>!t,t=>!t)(l,t,e,n)}var P=awaitify(everySeries,3);function filterArray(t,e,n,i){var r=new Array(e.length);t(e,(t,e,i)=>{n(t,(t,n)=>{r[e]=!!n;i(t)})},t=>{if(t)return i(t);var n=[];for(var o=0;o{n(t,(n,o)=>{if(n)return i(n);if(o){r.push({index:e,value:t})}i(n)})},t=>{if(t)return i(t);i(null,r.sort((t,e)=>t.index-e.index).map(t=>t.value))})}function _filter(t,e,n,i){var r=isArrayLike(e)?filterArray:filterGeneric;return r(t,e,wrapAsync(n),i)}function filter(t,e,n){return _filter(c,t,e,n)}var j=awaitify(filter,3);function filterLimit(t,e,n,i){return _filter(a(e),t,n,i)}var B=awaitify(filterLimit,4);function filterSeries(t,e,n){return _filter(l,t,e,n)}var R=awaitify(filterSeries,3);function forever(t,e){var n=onlyOnce(e);var i=wrapAsync(ensureAsync(t));function next(t){if(t)return n(t);if(t===false)return;i(next)}return next()}var K=awaitify(forever,2);function groupByLimit(t,e,n,i){var r=wrapAsync(n);return S(t,e,(t,e)=>{r(t,(n,i)=>{if(n)return e(n);return e(n,{key:i,val:t})})},(t,e)=>{var n={};var{hasOwnProperty:r}=Object.prototype;for(var o=0;o{o(t,e,(t,i)=>{if(t)return n(t);r[e]=i;n(t)})},t=>i(t,r))}var W=awaitify(mapValuesLimit,4);function mapValues(t,e,n){return W(t,Infinity,e,n)}function mapValuesSeries(t,e,n){return W(t,1,e,n)}function memoize(t,e=(t=>t)){var n=Object.create(null);var i=Object.create(null);var o=wrapAsync(t);var a=initialParams((t,a)=>{var s=e(...t);if(s in n){r(()=>a(null,...n[s]))}else if(s in i){i[s].push(a)}else{i[s]=[a];o(...t,(t,...e)=>{if(!t){n[s]=e}var r=i[s];delete i[s];for(var o=0,a=r.length;o{var i=isArrayLike(e)?[]:{};t(e,(t,e,n)=>{wrapAsync(t)((t,...r)=>{if(r.length<2){[r]=r}i[e]=r;n(t)})},t=>n(t,i))},3);function parallel$1(t,e){return V(c,t,e)}function parallelLimit(t,e,n){return V(a(e),t,n)}function queue$1(t,e){var n=wrapAsync(t);return queue((t,e)=>{n(t[0],e)},e,1)}class Heap{constructor(){this.heap=[];this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){this.heap=[];return this}percUp(t){let e;while(t>0&&smaller(this.heap[t],this.heap[e=parent(t)])){let n=this.heap[t];this.heap[t]=this.heap[e];this.heap[e]=n;t=e}}percDown(t){let e;while((e=leftChi(t))=0;t--){this.percDown(t)}return this}}function leftChi(t){return(t<<1)+1}function parent(t){return(t+1>>1)-1}function smaller(t,e){if(t.priority!==e.priority){return t.priority{})){if(typeof i!=="function"){throw new Error("task callback must be a function")}n.started=true;if(!Array.isArray(t)){t=[t]}if(t.length===0&&n.idle()){return r(()=>n.drain())}for(var o=0,a=t.length;o{let i={};if(t){i.error=t}if(e.length>0){var r=e;if(e.length<=1){[r]=e}i.value=r}n(null,i)});return e.apply(this,t)})}function reflectAll(t){var e;if(Array.isArray(t)){e=t.map(reflect)}else{e={};Object.keys(t).forEach(n=>{e[n]=reflect.call(this,t[n])})}return e}function reject(t,e,n,i){const r=wrapAsync(n);return _filter(t,e,(t,e)=>{r(t,(t,n)=>{e(t,!n)})},i)}function reject$1(t,e,n){return reject(c,t,e,n)}var Y=awaitify(reject$1,3);function rejectLimit(t,e,n,i){return reject(a(e),t,n,i)}var Q=awaitify(rejectLimit,4);function rejectSeries(t,e,n){return reject(l,t,e,n)}var J=awaitify(rejectSeries,3);function constant$1(t){return function(){return t}}const H=5;const X=0;function retry(t,e,n){var i={times:H,intervalFunc:constant$1(X)};if(arguments.length<3&&typeof t==="function"){n=e||promiseCallback();e=t}else{parseTimes(i,t);n=n||promiseCallback()}if(typeof e!=="function"){throw new Error("Invalid arguments for async.retry")}var r=wrapAsync(e);var o=1;function retryAttempt(){r((t,...e)=>{if(t===false)return;if(t&&o++{if(e.lengtht)(c,t,e,n)}var z=awaitify(some,3);function someLimit(t,e,n,i){return _createTester(Boolean,t=>t)(a(e),t,n,i)}var Z=awaitify(someLimit,4);function someSeries(t,e,n){return _createTester(Boolean,t=>t)(l,t,e,n)}var tt=awaitify(someSeries,3);function sortBy(t,e,n){var i=wrapAsync(e);return u(t,(t,e)=>{i(t,(n,i)=>{if(n)return e(n);e(n,{value:t,criteria:i})})},(t,e)=>{if(t)return n(t);n(null,e.sort(comparator).map(t=>t.value))});function comparator(t,e){var n=t.criteria,i=e.criteria;return ni?1:0}}var et=awaitify(sortBy,3);function timeout(t,e,n){var i=wrapAsync(t);return initialParams((r,o)=>{var a=false;var s;function timeoutCallback(){var e=t.name||"anonymous";var i=new Error('Callback function "'+e+'" timed out.');i.code="ETIMEDOUT";if(n){i.info=n}a=true;o(i)}r.push((...t)=>{if(!a){o(...t);clearTimeout(s)}});s=setTimeout(timeoutCallback,e);i(...r)})}function range(t){var e=Array(t);while(t--){e[t]=t}return e}function timesLimit(t,e,n,i){var r=wrapAsync(n);return S(range(t),e,r,i)}function times(t,e,n){return timesLimit(t,Infinity,e,n)}function timesSeries(t,e,n){return timesLimit(t,1,e,n)}function transform(t,e,n,i){if(arguments.length<=3&&typeof e==="function"){i=n;n=e;e=Array.isArray(t)?[]:{}}i=once(i||promiseCallback());var r=wrapAsync(n);c(t,(t,n,i)=>{r(e,t,n,i)},t=>i(t,e));return i[m]}function tryEach(t,e){var n=null;var i;return D(t,(t,e)=>{wrapAsync(t)((t,...r)=>{if(t===false)return e(t);if(r.length<2){[i]=r}else{i=r}n=t;e(t?null:{})})},()=>e(n,i))}var nt=awaitify(tryEach);function unmemoize(t){return(...e)=>{return(t.unmemoized||t)(...e)}}function whilst(t,e,n){n=onlyOnce(n);var i=wrapAsync(e);var r=wrapAsync(t);var o=[];function next(t,...e){if(t)return n(t);o=e;if(t===false)return;r(check)}function check(t,e){if(t)return n(t);if(t===false)return;if(!e)return n(null,...o);i(next)}return r(check)}var it=awaitify(whilst,3);function until(t,e,n){const i=wrapAsync(t);return it(t=>i((e,n)=>t(e,!n)),e,n)}function waterfall(t,e){e=once(e);if(!Array.isArray(t))return e(new Error("First argument to waterfall must be an array of functions"));if(!t.length)return e();var n=0;function nextTask(e){var i=wrapAsync(t[n++]);i(...e,onlyOnce(next))}function next(i,...r){if(i===false)return;if(i||n===t.length){return e(i,...r)}nextTask(r)}nextTask([])}var rt=awaitify(waterfall);var ot={apply:apply,applyEach:f,applyEachSeries:y,asyncify:asyncify,auto:auto,autoInject:autoInject,cargo:cargo,cargoQueue:cargo$1,compose:compose,concat:T,concatLimit:b,concatSeries:F,constant:constant,detect:x,detectLimit:A,detectSeries:_,dir:O,doUntil:doUntil,doWhilst:C,each:N,eachLimit:I,eachOf:c,eachOfLimit:s,eachOfSeries:l,eachSeries:D,ensureAsync:ensureAsync,every:k,everyLimit:L,everySeries:P,filter:j,filterLimit:B,filterSeries:R,forever:K,groupBy:groupBy,groupByLimit:M,groupBySeries:groupBySeries,log:$,map:u,mapLimit:S,mapSeries:h,mapValues:mapValues,mapValuesLimit:W,mapValuesSeries:mapValuesSeries,memoize:memoize,nextTick:G,parallel:parallel$1,parallelLimit:parallelLimit,priorityQueue:priorityQueue,queue:queue$1,race:q,reduce:E,reduceRight:reduceRight,reflect:reflect,reflectAll:reflectAll,reject:Y,rejectLimit:Q,rejectSeries:J,retry:retry,retryable:retryable,seq:seq,series:series,setImmediate:r,some:z,someLimit:Z,someSeries:tt,sortBy:et,timeout:timeout,times:times,timesLimit:timesLimit,timesSeries:timesSeries,transform:transform,tryEach:nt,unmemoize:unmemoize,until:until,waterfall:rt,whilst:it,all:k,allLimit:L,allSeries:P,any:z,anyLimit:Z,anySeries:tt,find:x,findLimit:A,findSeries:_,flatMap:T,flatMapLimit:b,flatMapSeries:F,forEach:N,forEachSeries:D,forEachLimit:I,forEachOf:c,forEachOfSeries:l,forEachOfLimit:s,inject:E,foldl:E,foldr:reduceRight,select:j,selectLimit:B,selectSeries:R,wrapSync:asyncify,during:it,doDuring:C};t.default=ot;t.apply=apply;t.applyEach=f;t.applyEachSeries=y;t.asyncify=asyncify;t.auto=auto;t.autoInject=autoInject;t.cargo=cargo;t.cargoQueue=cargo$1;t.compose=compose;t.concat=T;t.concatLimit=b;t.concatSeries=F;t.constant=constant;t.detect=x;t.detectLimit=A;t.detectSeries=_;t.dir=O;t.doUntil=doUntil;t.doWhilst=C;t.each=N;t.eachLimit=I;t.eachOf=c;t.eachOfLimit=s;t.eachOfSeries=l;t.eachSeries=D;t.ensureAsync=ensureAsync;t.every=k;t.everyLimit=L;t.everySeries=P;t.filter=j;t.filterLimit=B;t.filterSeries=R;t.forever=K;t.groupBy=groupBy;t.groupByLimit=M;t.groupBySeries=groupBySeries;t.log=$;t.map=u;t.mapLimit=S;t.mapSeries=h;t.mapValues=mapValues;t.mapValuesLimit=W;t.mapValuesSeries=mapValuesSeries;t.memoize=memoize;t.nextTick=G;t.parallel=parallel$1;t.parallelLimit=parallelLimit;t.priorityQueue=priorityQueue;t.queue=queue$1;t.race=q;t.reduce=E;t.reduceRight=reduceRight;t.reflect=reflect;t.reflectAll=reflectAll;t.reject=Y;t.rejectLimit=Q;t.rejectSeries=J;t.retry=retry;t.retryable=retryable;t.seq=seq;t.series=series;t.setImmediate=r;t.some=z;t.someLimit=Z;t.someSeries=tt;t.sortBy=et;t.timeout=timeout;t.times=times;t.timesLimit=timesLimit;t.timesSeries=timesSeries;t.transform=transform;t.tryEach=nt;t.unmemoize=unmemoize;t.until=until;t.waterfall=rt;t.whilst=it;t.all=k;t.allLimit=L;t.allSeries=P;t.any=z;t.anyLimit=Z;t.anySeries=tt;t.find=x;t.findLimit=A;t.findSeries=_;t.flatMap=T;t.flatMapLimit=b;t.flatMapSeries=F;t.forEach=N;t.forEachSeries=D;t.forEachLimit=I;t.forEachOf=c;t.forEachOfSeries=l;t.forEachOfLimit=s;t.inject=E;t.foldl=E;t.foldr=reduceRight;t.select=j;t.selectLimit=B;t.selectSeries=R;t.wrapSync=asyncify;t.during=it;t.doDuring=C;Object.defineProperty(t,"__esModule",{value:true})})},5995:t=>{t.exports=(t=>{const e=process.versions.node.split(".").map(t=>parseInt(t,10));t=t.split(".").map(t=>parseInt(t,10));return e[0]>t[0]||e[0]===t[0]&&(e[1]>t[1]||e[1]===t[1]&&e[2]>=t[2])})},3338:(t,e,n)=>{"use strict";const i=n(7758);const r=n(5622);const o=n(8605).mkdirsSync;const a=n(2548).utimesMillisSync;const s=n(3901);function copySync(t,e,n){if(typeof n==="function"){n={filter:n}}n=n||{};n.clobber="clobber"in n?!!n.clobber:true;n.overwrite="overwrite"in n?!!n.overwrite:n.clobber;if(n.preserveTimestamps&&process.arch==="ia32"){console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n\n see https://github.com/jprichardson/node-fs-extra/issues/269`)}const{srcStat:i,destStat:r}=s.checkPathsSync(t,e,"copy");s.checkParentPathsSync(t,i,e,"copy");return handleFilterAndCopy(r,t,e,n)}function handleFilterAndCopy(t,e,n,a){if(a.filter&&!a.filter(e,n))return;const s=r.dirname(n);if(!i.existsSync(s))o(s);return startCopy(t,e,n,a)}function startCopy(t,e,n,i){if(i.filter&&!i.filter(e,n))return;return getStats(t,e,n,i)}function getStats(t,e,n,r){const o=r.dereference?i.statSync:i.lstatSync;const a=o(e);if(a.isDirectory())return onDir(a,t,e,n,r);else if(a.isFile()||a.isCharacterDevice()||a.isBlockDevice())return onFile(a,t,e,n,r);else if(a.isSymbolicLink())return onLink(t,e,n,r)}function onFile(t,e,n,i,r){if(!e)return copyFile(t,n,i,r);return mayCopyFile(t,n,i,r)}function mayCopyFile(t,e,n,r){if(r.overwrite){i.unlinkSync(n);return copyFile(t,e,n,r)}else if(r.errorOnExist){throw new Error(`'${n}' already exists`)}}function copyFile(t,e,n,r){i.copyFileSync(e,n);if(r.preserveTimestamps)handleTimestamps(t.mode,e,n);return setDestMode(n,t.mode)}function handleTimestamps(t,e,n){if(fileIsNotWritable(t))makeFileWritable(n,t);return setDestTimestamps(e,n)}function fileIsNotWritable(t){return(t&128)===0}function makeFileWritable(t,e){return setDestMode(t,e|128)}function setDestMode(t,e){return i.chmodSync(t,e)}function setDestTimestamps(t,e){const n=i.statSync(t);return a(e,n.atime,n.mtime)}function onDir(t,e,n,i,r){if(!e)return mkDirAndCopy(t.mode,n,i,r);if(e&&!e.isDirectory()){throw new Error(`Cannot overwrite non-directory '${i}' with directory '${n}'.`)}return copyDir(n,i,r)}function mkDirAndCopy(t,e,n,r){i.mkdirSync(n);copyDir(e,n,r);return setDestMode(n,t)}function copyDir(t,e,n){i.readdirSync(t).forEach(i=>copyDirItem(i,t,e,n))}function copyDirItem(t,e,n,i){const o=r.join(e,t);const a=r.join(n,t);const{destStat:c}=s.checkPathsSync(o,a,"copy");return startCopy(c,o,a,i)}function onLink(t,e,n,o){let a=i.readlinkSync(e);if(o.dereference){a=r.resolve(process.cwd(),a)}if(!t){return i.symlinkSync(a,n)}else{let t;try{t=i.readlinkSync(n)}catch(t){if(t.code==="EINVAL"||t.code==="UNKNOWN")return i.symlinkSync(a,n);throw t}if(o.dereference){t=r.resolve(process.cwd(),t)}if(s.isSrcSubdir(a,t)){throw new Error(`Cannot copy '${a}' to a subdirectory of itself, '${t}'.`)}if(i.statSync(n).isDirectory()&&s.isSrcSubdir(t,a)){throw new Error(`Cannot overwrite '${t}' with '${a}'.`)}return copyLink(a,n)}}function copyLink(t,e){i.unlinkSync(e);return i.symlinkSync(t,e)}t.exports=copySync},1135:(t,e,n)=>{"use strict";t.exports={copySync:n(3338)}},8834:(t,e,n)=>{"use strict";const i=n(7758);const r=n(5622);const o=n(8605).mkdirs;const a=n(3835).pathExists;const s=n(2548).utimesMillis;const c=n(3901);function copy(t,e,n,i){if(typeof n==="function"&&!i){i=n;n={}}else if(typeof n==="function"){n={filter:n}}i=i||function(){};n=n||{};n.clobber="clobber"in n?!!n.clobber:true;n.overwrite="overwrite"in n?!!n.overwrite:n.clobber;if(n.preserveTimestamps&&process.arch==="ia32"){console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n\n see https://github.com/jprichardson/node-fs-extra/issues/269`)}c.checkPaths(t,e,"copy",(r,o)=>{if(r)return i(r);const{srcStat:a,destStat:s}=o;c.checkParentPaths(t,a,e,"copy",r=>{if(r)return i(r);if(n.filter)return handleFilter(checkParentDir,s,t,e,n,i);return checkParentDir(s,t,e,n,i)})})}function checkParentDir(t,e,n,i,s){const c=r.dirname(n);a(c,(r,a)=>{if(r)return s(r);if(a)return startCopy(t,e,n,i,s);o(c,r=>{if(r)return s(r);return startCopy(t,e,n,i,s)})})}function handleFilter(t,e,n,i,r,o){Promise.resolve(r.filter(n,i)).then(a=>{if(a)return t(e,n,i,r,o);return o()},t=>o(t))}function startCopy(t,e,n,i,r){if(i.filter)return handleFilter(getStats,t,e,n,i,r);return getStats(t,e,n,i,r)}function getStats(t,e,n,r,o){const a=r.dereference?i.stat:i.lstat;a(e,(i,a)=>{if(i)return o(i);if(a.isDirectory())return onDir(a,t,e,n,r,o);else if(a.isFile()||a.isCharacterDevice()||a.isBlockDevice())return onFile(a,t,e,n,r,o);else if(a.isSymbolicLink())return onLink(t,e,n,r,o)})}function onFile(t,e,n,i,r,o){if(!e)return copyFile(t,n,i,r,o);return mayCopyFile(t,n,i,r,o)}function mayCopyFile(t,e,n,r,o){if(r.overwrite){i.unlink(n,i=>{if(i)return o(i);return copyFile(t,e,n,r,o)})}else if(r.errorOnExist){return o(new Error(`'${n}' already exists`))}else return o()}function copyFile(t,e,n,r,o){i.copyFile(e,n,i=>{if(i)return o(i);if(r.preserveTimestamps)return handleTimestampsAndMode(t.mode,e,n,o);return setDestMode(n,t.mode,o)})}function handleTimestampsAndMode(t,e,n,i){if(fileIsNotWritable(t)){return makeFileWritable(n,t,r=>{if(r)return i(r);return setDestTimestampsAndMode(t,e,n,i)})}return setDestTimestampsAndMode(t,e,n,i)}function fileIsNotWritable(t){return(t&128)===0}function makeFileWritable(t,e,n){return setDestMode(t,e|128,n)}function setDestTimestampsAndMode(t,e,n,i){setDestTimestamps(e,n,e=>{if(e)return i(e);return setDestMode(n,t,i)})}function setDestMode(t,e,n){return i.chmod(t,e,n)}function setDestTimestamps(t,e,n){i.stat(t,(t,i)=>{if(t)return n(t);return s(e,i.atime,i.mtime,n)})}function onDir(t,e,n,i,r,o){if(!e)return mkDirAndCopy(t.mode,n,i,r,o);if(e&&!e.isDirectory()){return o(new Error(`Cannot overwrite non-directory '${i}' with directory '${n}'.`))}return copyDir(n,i,r,o)}function mkDirAndCopy(t,e,n,r,o){i.mkdir(n,i=>{if(i)return o(i);copyDir(e,n,r,e=>{if(e)return o(e);return setDestMode(n,t,o)})})}function copyDir(t,e,n,r){i.readdir(t,(i,o)=>{if(i)return r(i);return copyDirItems(o,t,e,n,r)})}function copyDirItems(t,e,n,i,r){const o=t.pop();if(!o)return r();return copyDirItem(t,o,e,n,i,r)}function copyDirItem(t,e,n,i,o,a){const s=r.join(n,e);const u=r.join(i,e);c.checkPaths(s,u,"copy",(e,r)=>{if(e)return a(e);const{destStat:c}=r;startCopy(c,s,u,o,e=>{if(e)return a(e);return copyDirItems(t,n,i,o,a)})})}function onLink(t,e,n,o,a){i.readlink(e,(e,s)=>{if(e)return a(e);if(o.dereference){s=r.resolve(process.cwd(),s)}if(!t){return i.symlink(s,n,a)}else{i.readlink(n,(e,u)=>{if(e){if(e.code==="EINVAL"||e.code==="UNKNOWN")return i.symlink(s,n,a);return a(e)}if(o.dereference){u=r.resolve(process.cwd(),u)}if(c.isSrcSubdir(s,u)){return a(new Error(`Cannot copy '${s}' to a subdirectory of itself, '${u}'.`))}if(t.isDirectory()&&c.isSrcSubdir(u,s)){return a(new Error(`Cannot overwrite '${u}' with '${s}'.`))}return copyLink(s,n,a)})}})}function copyLink(t,e,n){i.unlink(e,r=>{if(r)return n(r);return i.symlink(t,e,n)})}t.exports=copy},1335:(t,e,n)=>{"use strict";const i=n(9046).fromCallback;t.exports={copy:i(n(8834))}},6970:(t,e,n)=>{"use strict";const i=n(9046).fromCallback;const r=n(7758);const o=n(5622);const a=n(8605);const s=n(7357);const c=i(function emptyDir(t,e){e=e||function(){};r.readdir(t,(n,i)=>{if(n)return a.mkdirs(t,e);i=i.map(e=>o.join(t,e));deleteItem();function deleteItem(){const t=i.pop();if(!t)return e();s.remove(t,t=>{if(t)return e(t);deleteItem()})}})});function emptyDirSync(t){let e;try{e=r.readdirSync(t)}catch{return a.mkdirsSync(t)}e.forEach(e=>{e=o.join(t,e);s.removeSync(e)})}t.exports={emptyDirSync:emptyDirSync,emptydirSync:emptyDirSync,emptyDir:c,emptydir:c}},2164:(t,e,n)=>{"use strict";const i=n(9046).fromCallback;const r=n(5622);const o=n(7758);const a=n(8605);function createFile(t,e){function makeFile(){o.writeFile(t,"",t=>{if(t)return e(t);e()})}o.stat(t,(n,i)=>{if(!n&&i.isFile())return e();const s=r.dirname(t);o.stat(s,(t,n)=>{if(t){if(t.code==="ENOENT"){return a.mkdirs(s,t=>{if(t)return e(t);makeFile()})}return e(t)}if(n.isDirectory())makeFile();else{o.readdir(s,t=>{if(t)return e(t)})}})})}function createFileSync(t){let e;try{e=o.statSync(t)}catch{}if(e&&e.isFile())return;const n=r.dirname(t);try{if(!o.statSync(n).isDirectory()){o.readdirSync(n)}}catch(t){if(t&&t.code==="ENOENT")a.mkdirsSync(n);else throw t}o.writeFileSync(t,"")}t.exports={createFile:i(createFile),createFileSync:createFileSync}},55:(t,e,n)=>{"use strict";const i=n(2164);const r=n(3797);const o=n(2549);t.exports={createFile:i.createFile,createFileSync:i.createFileSync,ensureFile:i.createFile,ensureFileSync:i.createFileSync,createLink:r.createLink,createLinkSync:r.createLinkSync,ensureLink:r.createLink,ensureLinkSync:r.createLinkSync,createSymlink:o.createSymlink,createSymlinkSync:o.createSymlinkSync,ensureSymlink:o.createSymlink,ensureSymlinkSync:o.createSymlinkSync}},3797:(t,e,n)=>{"use strict";const i=n(9046).fromCallback;const r=n(5622);const o=n(7758);const a=n(8605);const s=n(3835).pathExists;function createLink(t,e,n){function makeLink(t,e){o.link(t,e,t=>{if(t)return n(t);n(null)})}s(e,(i,c)=>{if(i)return n(i);if(c)return n(null);o.lstat(t,i=>{if(i){i.message=i.message.replace("lstat","ensureLink");return n(i)}const o=r.dirname(e);s(o,(i,r)=>{if(i)return n(i);if(r)return makeLink(t,e);a.mkdirs(o,i=>{if(i)return n(i);makeLink(t,e)})})})})}function createLinkSync(t,e){const n=o.existsSync(e);if(n)return undefined;try{o.lstatSync(t)}catch(t){t.message=t.message.replace("lstat","ensureLink");throw t}const i=r.dirname(e);const s=o.existsSync(i);if(s)return o.linkSync(t,e);a.mkdirsSync(i);return o.linkSync(t,e)}t.exports={createLink:i(createLink),createLinkSync:createLinkSync}},3727:(t,e,n)=>{"use strict";const i=n(5622);const r=n(7758);const o=n(3835).pathExists;function symlinkPaths(t,e,n){if(i.isAbsolute(t)){return r.lstat(t,e=>{if(e){e.message=e.message.replace("lstat","ensureSymlink");return n(e)}return n(null,{toCwd:t,toDst:t})})}else{const a=i.dirname(e);const s=i.join(a,t);return o(s,(e,o)=>{if(e)return n(e);if(o){return n(null,{toCwd:s,toDst:t})}else{return r.lstat(t,e=>{if(e){e.message=e.message.replace("lstat","ensureSymlink");return n(e)}return n(null,{toCwd:t,toDst:i.relative(a,t)})})}})}}function symlinkPathsSync(t,e){let n;if(i.isAbsolute(t)){n=r.existsSync(t);if(!n)throw new Error("absolute srcpath does not exist");return{toCwd:t,toDst:t}}else{const o=i.dirname(e);const a=i.join(o,t);n=r.existsSync(a);if(n){return{toCwd:a,toDst:t}}else{n=r.existsSync(t);if(!n)throw new Error("relative srcpath does not exist");return{toCwd:t,toDst:i.relative(o,t)}}}}t.exports={symlinkPaths:symlinkPaths,symlinkPathsSync:symlinkPathsSync}},8254:(t,e,n)=>{"use strict";const i=n(7758);function symlinkType(t,e,n){n=typeof e==="function"?e:n;e=typeof e==="function"?false:e;if(e)return n(null,e);i.lstat(t,(t,i)=>{if(t)return n(null,"file");e=i&&i.isDirectory()?"dir":"file";n(null,e)})}function symlinkTypeSync(t,e){let n;if(e)return e;try{n=i.lstatSync(t)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"}t.exports={symlinkType:symlinkType,symlinkTypeSync:symlinkTypeSync}},2549:(t,e,n)=>{"use strict";const i=n(9046).fromCallback;const r=n(5622);const o=n(7758);const a=n(8605);const s=a.mkdirs;const c=a.mkdirsSync;const u=n(3727);const f=u.symlinkPaths;const l=u.symlinkPathsSync;const h=n(8254);const y=h.symlinkType;const m=h.symlinkTypeSync;const d=n(3835).pathExists;function createSymlink(t,e,n,i){i=typeof n==="function"?n:i;n=typeof n==="function"?false:n;d(e,(a,c)=>{if(a)return i(a);if(c)return i(null);f(t,e,(a,c)=>{if(a)return i(a);t=c.toDst;y(c.toCwd,n,(n,a)=>{if(n)return i(n);const c=r.dirname(e);d(c,(n,r)=>{if(n)return i(n);if(r)return o.symlink(t,e,a,i);s(c,n=>{if(n)return i(n);o.symlink(t,e,a,i)})})})})})}function createSymlinkSync(t,e,n){const i=o.existsSync(e);if(i)return undefined;const a=l(t,e);t=a.toDst;n=m(a.toCwd,n);const s=r.dirname(e);const u=o.existsSync(s);if(u)return o.symlinkSync(t,e,n);c(s);return o.symlinkSync(t,e,n)}t.exports={createSymlink:i(createSymlink),createSymlinkSync:createSymlinkSync}},1176:(t,e,n)=>{"use strict";const i=n(9046).fromCallback;const r=n(7758);const o=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(t=>{return typeof r[t]==="function"});Object.keys(r).forEach(t=>{if(t==="promises"){return}e[t]=r[t]});o.forEach(t=>{e[t]=i(r[t])});e.exists=function(t,e){if(typeof e==="function"){return r.exists(t,e)}return new Promise(e=>{return r.exists(t,e)})};e.read=function(t,e,n,i,o,a){if(typeof a==="function"){return r.read(t,e,n,i,o,a)}return new Promise((a,s)=>{r.read(t,e,n,i,o,(t,e,n)=>{if(t)return s(t);a({bytesRead:e,buffer:n})})})};e.write=function(t,e,...n){if(typeof n[n.length-1]==="function"){return r.write(t,e,...n)}return new Promise((i,o)=>{r.write(t,e,...n,(t,e,n)=>{if(t)return o(t);i({bytesWritten:e,buffer:n})})})};if(typeof r.writev==="function"){e.writev=function(t,e,...n){if(typeof n[n.length-1]==="function"){return r.writev(t,e,...n)}return new Promise((i,o)=>{r.writev(t,e,...n,(t,e,n)=>{if(t)return o(t);i({bytesWritten:e,buffers:n})})})}}if(typeof r.realpath.native==="function"){e.realpath.native=i(r.realpath.native)}},5630:(t,e,n)=>{"use strict";t.exports={...n(1176),...n(1135),...n(1335),...n(6970),...n(55),...n(213),...n(8605),...n(9665),...n(1497),...n(6570),...n(3835),...n(7357)};const i=n(5747);if(Object.getOwnPropertyDescriptor(i,"promises")){Object.defineProperty(t.exports,"promises",{get(){return i.promises}})}},213:(t,e,n)=>{"use strict";const i=n(9046).fromPromise;const r=n(8970);r.outputJson=i(n(531));r.outputJsonSync=n(9421);r.outputJSON=r.outputJson;r.outputJSONSync=r.outputJsonSync;r.writeJSON=r.writeJson;r.writeJSONSync=r.writeJsonSync;r.readJSON=r.readJson;r.readJSONSync=r.readJsonSync;t.exports=r},8970:(t,e,n)=>{"use strict";const i=n(6160);t.exports={readJson:i.readFile,readJsonSync:i.readFileSync,writeJson:i.writeFile,writeJsonSync:i.writeFileSync}},9421:(t,e,n)=>{"use strict";const{stringify:i}=n(5902);const{outputFileSync:r}=n(6570);function outputJsonSync(t,e,n){const o=i(e,n);r(t,o,n)}t.exports=outputJsonSync},531:(t,e,n)=>{"use strict";const{stringify:i}=n(5902);const{outputFile:r}=n(6570);async function outputJson(t,e,n={}){const o=i(e,n);await r(t,o,n)}t.exports=outputJson},8605:(t,e,n)=>{"use strict";const i=n(9046).fromPromise;const{makeDir:r,makeDirSync:o}=n(2751);const a=i(r);t.exports={mkdirs:a,mkdirsSync:o,mkdirp:a,mkdirpSync:o,ensureDir:a,ensureDirSync:o}},2751:(t,e,n)=>{"use strict";const i=n(1176);const r=n(5622);const o=n(5995);const a=o("10.12.0");const s=t=>{if(process.platform==="win32"){const e=/[<>:"|?*]/.test(t.replace(r.parse(t).root,""));if(e){const e=new Error(`Path contains invalid characters: ${t}`);e.code="EINVAL";throw e}}};const c=t=>{const e={mode:511};if(typeof t==="number")t={mode:t};return{...e,...t}};const u=t=>{const e=new Error(`operation not permitted, mkdir '${t}'`);e.code="EPERM";e.errno=-4048;e.path=t;e.syscall="mkdir";return e};t.exports.makeDir=(async(t,e)=>{s(t);e=c(e);if(a){const n=r.resolve(t);return i.mkdir(n,{mode:e.mode,recursive:true})}const n=async t=>{try{await i.mkdir(t,e.mode)}catch(e){if(e.code==="EPERM"){throw e}if(e.code==="ENOENT"){if(r.dirname(t)===t){throw u(t)}if(e.message.includes("null bytes")){throw e}await n(r.dirname(t));return n(t)}try{const n=await i.stat(t);if(!n.isDirectory()){throw new Error("The path is not a directory")}}catch{throw e}}};return n(r.resolve(t))});t.exports.makeDirSync=((t,e)=>{s(t);e=c(e);if(a){const n=r.resolve(t);return i.mkdirSync(n,{mode:e.mode,recursive:true})}const n=t=>{try{i.mkdirSync(t,e.mode)}catch(e){if(e.code==="EPERM"){throw e}if(e.code==="ENOENT"){if(r.dirname(t)===t){throw u(t)}if(e.message.includes("null bytes")){throw e}n(r.dirname(t));return n(t)}try{if(!i.statSync(t).isDirectory()){throw new Error("The path is not a directory")}}catch{throw e}}};return n(r.resolve(t))})},9665:(t,e,n)=>{"use strict";t.exports={moveSync:n(6445)}},6445:(t,e,n)=>{"use strict";const i=n(7758);const r=n(5622);const o=n(1135).copySync;const a=n(7357).removeSync;const s=n(8605).mkdirpSync;const c=n(3901);function moveSync(t,e,n){n=n||{};const i=n.overwrite||n.clobber||false;const{srcStat:o}=c.checkPathsSync(t,e,"move");c.checkParentPathsSync(t,o,e,"move");s(r.dirname(e));return doRename(t,e,i)}function doRename(t,e,n){if(n){a(e);return rename(t,e,n)}if(i.existsSync(e))throw new Error("dest already exists.");return rename(t,e,n)}function rename(t,e,n){try{i.renameSync(t,e)}catch(i){if(i.code!=="EXDEV")throw i;return moveAcrossDevice(t,e,n)}}function moveAcrossDevice(t,e,n){const i={overwrite:n,errorOnExist:true};o(t,e,i);return a(t)}t.exports=moveSync},1497:(t,e,n)=>{"use strict";const i=n(9046).fromCallback;t.exports={move:i(n(2231))}},2231:(t,e,n)=>{"use strict";const i=n(7758);const r=n(5622);const o=n(1335).copy;const a=n(7357).remove;const s=n(8605).mkdirp;const c=n(3835).pathExists;const u=n(3901);function move(t,e,n,i){if(typeof n==="function"){i=n;n={}}const o=n.overwrite||n.clobber||false;u.checkPaths(t,e,"move",(n,a)=>{if(n)return i(n);const{srcStat:c}=a;u.checkParentPaths(t,c,e,"move",n=>{if(n)return i(n);s(r.dirname(e),n=>{if(n)return i(n);return doRename(t,e,o,i)})})})}function doRename(t,e,n,i){if(n){return a(e,r=>{if(r)return i(r);return rename(t,e,n,i)})}c(e,(r,o)=>{if(r)return i(r);if(o)return i(new Error("dest already exists."));return rename(t,e,n,i)})}function rename(t,e,n,r){i.rename(t,e,i=>{if(!i)return r();if(i.code!=="EXDEV")return r(i);return moveAcrossDevice(t,e,n,r)})}function moveAcrossDevice(t,e,n,i){const r={overwrite:n,errorOnExist:true};o(t,e,r,e=>{if(e)return i(e);return a(t,i)})}t.exports=move},6570:(t,e,n)=>{"use strict";const i=n(9046).fromCallback;const r=n(7758);const o=n(5622);const a=n(8605);const s=n(3835).pathExists;function outputFile(t,e,n,i){if(typeof n==="function"){i=n;n="utf8"}const c=o.dirname(t);s(c,(o,s)=>{if(o)return i(o);if(s)return r.writeFile(t,e,n,i);a.mkdirs(c,o=>{if(o)return i(o);r.writeFile(t,e,n,i)})})}function outputFileSync(t,...e){const n=o.dirname(t);if(r.existsSync(n)){return r.writeFileSync(t,...e)}a.mkdirsSync(n);r.writeFileSync(t,...e)}t.exports={outputFile:i(outputFile),outputFileSync:outputFileSync}},3835:(t,e,n)=>{"use strict";const i=n(9046).fromPromise;const r=n(1176);function pathExists(t){return r.access(t).then(()=>true).catch(()=>false)}t.exports={pathExists:i(pathExists),pathExistsSync:r.existsSync}},7357:(t,e,n)=>{"use strict";const i=n(9046).fromCallback;const r=n(8761);t.exports={remove:i(r),removeSync:r.sync}},8761:(t,e,n)=>{"use strict";const i=n(7758);const r=n(5622);const o=n(2357);const a=process.platform==="win32";function defaults(t){const e=["unlink","chmod","stat","lstat","rmdir","readdir"];e.forEach(e=>{t[e]=t[e]||i[e];e=e+"Sync";t[e]=t[e]||i[e]});t.maxBusyTries=t.maxBusyTries||3}function rimraf(t,e,n){let i=0;if(typeof e==="function"){n=e;e={}}o(t,"rimraf: missing path");o.strictEqual(typeof t,"string","rimraf: path should be a string");o.strictEqual(typeof n,"function","rimraf: callback function required");o(e,"rimraf: invalid options argument provided");o.strictEqual(typeof e,"object","rimraf: options should be object");defaults(e);rimraf_(t,e,function CB(r){if(r){if((r.code==="EBUSY"||r.code==="ENOTEMPTY"||r.code==="EPERM")&&irimraf_(t,e,CB),n)}if(r.code==="ENOENT")r=null}n(r)})}function rimraf_(t,e,n){o(t);o(e);o(typeof n==="function");e.lstat(t,(i,r)=>{if(i&&i.code==="ENOENT"){return n(null)}if(i&&i.code==="EPERM"&&a){return fixWinEPERM(t,e,i,n)}if(r&&r.isDirectory()){return rmdir(t,e,i,n)}e.unlink(t,i=>{if(i){if(i.code==="ENOENT"){return n(null)}if(i.code==="EPERM"){return a?fixWinEPERM(t,e,i,n):rmdir(t,e,i,n)}if(i.code==="EISDIR"){return rmdir(t,e,i,n)}}return n(i)})})}function fixWinEPERM(t,e,n,i){o(t);o(e);o(typeof i==="function");e.chmod(t,438,r=>{if(r){i(r.code==="ENOENT"?null:n)}else{e.stat(t,(r,o)=>{if(r){i(r.code==="ENOENT"?null:n)}else if(o.isDirectory()){rmdir(t,e,n,i)}else{e.unlink(t,i)}})}})}function fixWinEPERMSync(t,e,n){let i;o(t);o(e);try{e.chmodSync(t,438)}catch(t){if(t.code==="ENOENT"){return}else{throw n}}try{i=e.statSync(t)}catch(t){if(t.code==="ENOENT"){return}else{throw n}}if(i.isDirectory()){rmdirSync(t,e,n)}else{e.unlinkSync(t)}}function rmdir(t,e,n,i){o(t);o(e);o(typeof i==="function");e.rmdir(t,r=>{if(r&&(r.code==="ENOTEMPTY"||r.code==="EEXIST"||r.code==="EPERM")){rmkids(t,e,i)}else if(r&&r.code==="ENOTDIR"){i(n)}else{i(r)}})}function rmkids(t,e,n){o(t);o(e);o(typeof n==="function");e.readdir(t,(i,o)=>{if(i)return n(i);let a=o.length;let s;if(a===0)return e.rmdir(t,n);o.forEach(i=>{rimraf(r.join(t,i),e,i=>{if(s){return}if(i)return n(s=i);if(--a===0){e.rmdir(t,n)}})})})}function rimrafSync(t,e){let n;e=e||{};defaults(e);o(t,"rimraf: missing path");o.strictEqual(typeof t,"string","rimraf: path should be a string");o(e,"rimraf: missing options");o.strictEqual(typeof e,"object","rimraf: options should be object");try{n=e.lstatSync(t)}catch(n){if(n.code==="ENOENT"){return}if(n.code==="EPERM"&&a){fixWinEPERMSync(t,e,n)}}try{if(n&&n.isDirectory()){rmdirSync(t,e,null)}else{e.unlinkSync(t)}}catch(n){if(n.code==="ENOENT"){return}else if(n.code==="EPERM"){return a?fixWinEPERMSync(t,e,n):rmdirSync(t,e,n)}else if(n.code!=="EISDIR"){throw n}rmdirSync(t,e,n)}}function rmdirSync(t,e,n){o(t);o(e);try{e.rmdirSync(t)}catch(i){if(i.code==="ENOTDIR"){throw n}else if(i.code==="ENOTEMPTY"||i.code==="EEXIST"||i.code==="EPERM"){rmkidsSync(t,e)}else if(i.code!=="ENOENT"){throw i}}}function rmkidsSync(t,e){o(t);o(e);e.readdirSync(t).forEach(n=>rimrafSync(r.join(t,n),e));if(a){const n=Date.now();do{try{const n=e.rmdirSync(t,e);return n}catch{}}while(Date.now()-n<500)}else{const n=e.rmdirSync(t,e);return n}}t.exports=rimraf;rimraf.sync=rimrafSync},3901:(t,e,n)=>{"use strict";const i=n(1176);const r=n(5622);const o=n(1669);const a=n(5995);const s=a("10.5.0");const c=t=>s?i.stat(t,{bigint:true}):i.stat(t);const u=t=>s?i.statSync(t,{bigint:true}):i.statSync(t);function getStats(t,e){return Promise.all([c(t),c(e).catch(t=>{if(t.code==="ENOENT")return null;throw t})]).then(([t,e])=>({srcStat:t,destStat:e}))}function getStatsSync(t,e){let n;const i=u(t);try{n=u(e)}catch(t){if(t.code==="ENOENT")return{srcStat:i,destStat:null};throw t}return{srcStat:i,destStat:n}}function checkPaths(t,e,n,i){o.callbackify(getStats)(t,e,(r,o)=>{if(r)return i(r);const{srcStat:a,destStat:s}=o;if(s&&areIdentical(a,s)){return i(new Error("Source and destination must not be the same."))}if(a.isDirectory()&&isSrcSubdir(t,e)){return i(new Error(errMsg(t,e,n)))}return i(null,{srcStat:a,destStat:s})})}function checkPathsSync(t,e,n){const{srcStat:i,destStat:r}=getStatsSync(t,e);if(r&&areIdentical(i,r)){throw new Error("Source and destination must not be the same.")}if(i.isDirectory()&&isSrcSubdir(t,e)){throw new Error(errMsg(t,e,n))}return{srcStat:i,destStat:r}}function checkParentPaths(t,e,n,o,a){const c=r.resolve(r.dirname(t));const u=r.resolve(r.dirname(n));if(u===c||u===r.parse(u).root)return a();const f=(i,r)=>{if(i){if(i.code==="ENOENT")return a();return a(i)}if(areIdentical(e,r)){return a(new Error(errMsg(t,n,o)))}return checkParentPaths(t,e,u,o,a)};if(s)i.stat(u,{bigint:true},f);else i.stat(u,f)}function checkParentPathsSync(t,e,n,i){const o=r.resolve(r.dirname(t));const a=r.resolve(r.dirname(n));if(a===o||a===r.parse(a).root)return;let s;try{s=u(a)}catch(t){if(t.code==="ENOENT")return;throw t}if(areIdentical(e,s)){throw new Error(errMsg(t,n,i))}return checkParentPathsSync(t,e,a,i)}function areIdentical(t,e){if(e.ino&&e.dev&&e.ino===t.ino&&e.dev===t.dev){if(s||e.inot);const i=r.resolve(e).split(r.sep).filter(t=>t);return n.reduce((t,e,n)=>t&&i[n]===e,true)}function errMsg(t,e,n){return`Cannot ${n} '${t}' to a subdirectory of itself, '${e}'.`}t.exports={checkPaths:checkPaths,checkPathsSync:checkPathsSync,checkParentPaths:checkParentPaths,checkParentPathsSync:checkParentPathsSync,isSrcSubdir:isSrcSubdir}},2548:(t,e,n)=>{"use strict";const i=n(7758);function utimesMillis(t,e,n,r){i.open(t,"r+",(t,o)=>{if(t)return r(t);i.futimes(o,e,n,t=>{i.close(o,e=>{if(r)r(t||e)})})})}function utimesMillisSync(t,e,n){const r=i.openSync(t,"r+");i.futimesSync(r,e,n);return i.closeSync(r)}t.exports={utimesMillis:utimesMillis,utimesMillisSync:utimesMillisSync}},7356:t=>{"use strict";t.exports=clone;function clone(t){if(t===null||typeof t!=="object")return t;if(t instanceof Object)var e={__proto__:t.__proto__};else var e=Object.create(null);Object.getOwnPropertyNames(t).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))});return e}},7758:(t,e,n)=>{var i=n(5747);var r=n(263);var o=n(3086);var a=n(7356);var s=n(1669);var c;var u;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){c=Symbol.for("graceful-fs.queue");u=Symbol.for("graceful-fs.previous")}else{c="___graceful-fs.queue";u="___graceful-fs.previous"}function noop(){}function publishQueue(t,e){Object.defineProperty(t,c,{get:function(){return e}})}var f=noop;if(s.debuglog)f=s.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))f=function(){var t=s.format.apply(s,arguments);t="GFS4: "+t.split(/\n/).join("\nGFS4: ");console.error(t)};if(!i[c]){var l=global[c]||[];publishQueue(i,l);i.close=function(t){function close(e,n){return t.call(i,e,function(t){if(!t){retry()}if(typeof n==="function")n.apply(this,arguments)})}Object.defineProperty(close,u,{value:t});return close}(i.close);i.closeSync=function(t){function closeSync(e){t.apply(i,arguments);retry()}Object.defineProperty(closeSync,u,{value:t});return closeSync}(i.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",function(){f(i[c]);n(2357).equal(i[c].length,0)})}}if(!global[c]){publishQueue(global,i[c])}t.exports=patch(a(i));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!i.__patched){t.exports=patch(i);i.__patched=true}function patch(t){r(t);t.gracefulify=patch;t.createReadStream=createReadStream;t.createWriteStream=createWriteStream;var e=t.readFile;t.readFile=readFile;function readFile(t,n,i){if(typeof n==="function")i=n,n=null;return go$readFile(t,n,i);function go$readFile(t,n,i){return e(t,n,function(e){if(e&&(e.code==="EMFILE"||e.code==="ENFILE"))enqueue([go$readFile,[t,n,i]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}})}}var n=t.writeFile;t.writeFile=writeFile;function writeFile(t,e,i,r){if(typeof i==="function")r=i,i=null;return go$writeFile(t,e,i,r);function go$writeFile(t,e,i,r){return n(t,e,i,function(n){if(n&&(n.code==="EMFILE"||n.code==="ENFILE"))enqueue([go$writeFile,[t,e,i,r]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}})}}var i=t.appendFile;if(i)t.appendFile=appendFile;function appendFile(t,e,n,r){if(typeof n==="function")r=n,n=null;return go$appendFile(t,e,n,r);function go$appendFile(t,e,n,r){return i(t,e,n,function(i){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$appendFile,[t,e,n,r]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}})}}var a=t.readdir;t.readdir=readdir;function readdir(t,e,n){var i=[t];if(typeof e!=="function"){i.push(e)}else{n=e}i.push(go$readdir$cb);return go$readdir(i);function go$readdir$cb(t,e){if(e&&e.sort)e.sort();if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readdir,[i]]);else{if(typeof n==="function")n.apply(this,arguments);retry()}}}function go$readdir(e){return a.apply(t,e)}if(process.version.substr(0,4)==="v0.8"){var s=o(t);ReadStream=s.ReadStream;WriteStream=s.WriteStream}var c=t.ReadStream;if(c){ReadStream.prototype=Object.create(c.prototype);ReadStream.prototype.open=ReadStream$open}var u=t.WriteStream;if(u){WriteStream.prototype=Object.create(u.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(t,"ReadStream",{get:function(){return ReadStream},set:function(t){ReadStream=t},enumerable:true,configurable:true});Object.defineProperty(t,"WriteStream",{get:function(){return WriteStream},set:function(t){WriteStream=t},enumerable:true,configurable:true});var f=ReadStream;Object.defineProperty(t,"FileReadStream",{get:function(){return f},set:function(t){f=t},enumerable:true,configurable:true});var l=WriteStream;Object.defineProperty(t,"FileWriteStream",{get:function(){return l},set:function(t){l=t},enumerable:true,configurable:true});function ReadStream(t,e){if(this instanceof ReadStream)return c.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var t=this;open(t.path,t.flags,t.mode,function(e,n){if(e){if(t.autoClose)t.destroy();t.emit("error",e)}else{t.fd=n;t.emit("open",n);t.read()}})}function WriteStream(t,e){if(this instanceof WriteStream)return u.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var t=this;open(t.path,t.flags,t.mode,function(e,n){if(e){t.destroy();t.emit("error",e)}else{t.fd=n;t.emit("open",n)}})}function createReadStream(e,n){return new t.ReadStream(e,n)}function createWriteStream(e,n){return new t.WriteStream(e,n)}var h=t.open;t.open=open;function open(t,e,n,i){if(typeof n==="function")i=n,n=null;return go$open(t,e,n,i);function go$open(t,e,n,i){return h(t,e,n,function(r,o){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$open,[t,e,n,i]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}})}}return t}function enqueue(t){f("ENQUEUE",t[0].name,t[1]);i[c].push(t)}function retry(){var t=i[c].shift();if(t){f("RETRY",t[0].name,t[1]);t[0].apply(null,t[1])}}},3086:(t,e,n)=>{var i=n(2413).Stream;t.exports=legacy;function legacy(t){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(e,n){if(!(this instanceof ReadStream))return new ReadStream(e,n);i.call(this);var r=this;this.path=e;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;n=n||{};var o=Object.keys(n);for(var a=0,s=o.length;athis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick(function(){r._read()});return}t.open(this.path,this.flags,this.mode,function(t,e){if(t){r.emit("error",t);r.readable=false;return}r.fd=e;r.emit("open",e);r._read()})}function WriteStream(e,n){if(!(this instanceof WriteStream))return new WriteStream(e,n);i.call(this);this.path=e;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;n=n||{};var r=Object.keys(n);for(var o=0,a=r.length;o= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=t.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},263:(t,e,n)=>{var i=n(7619);var r=process.cwd;var o=null;var a=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!o)o=r.call(process);return o};try{process.cwd()}catch(t){}var s=process.chdir;process.chdir=function(t){o=null;s.call(process,t)};t.exports=patch;function patch(t){if(i.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(t)}if(!t.lutimes){patchLutimes(t)}t.chown=chownFix(t.chown);t.fchown=chownFix(t.fchown);t.lchown=chownFix(t.lchown);t.chmod=chmodFix(t.chmod);t.fchmod=chmodFix(t.fchmod);t.lchmod=chmodFix(t.lchmod);t.chownSync=chownFixSync(t.chownSync);t.fchownSync=chownFixSync(t.fchownSync);t.lchownSync=chownFixSync(t.lchownSync);t.chmodSync=chmodFixSync(t.chmodSync);t.fchmodSync=chmodFixSync(t.fchmodSync);t.lchmodSync=chmodFixSync(t.lchmodSync);t.stat=statFix(t.stat);t.fstat=statFix(t.fstat);t.lstat=statFix(t.lstat);t.statSync=statFixSync(t.statSync);t.fstatSync=statFixSync(t.fstatSync);t.lstatSync=statFixSync(t.lstatSync);if(!t.lchmod){t.lchmod=function(t,e,n){if(n)process.nextTick(n)};t.lchmodSync=function(){}}if(!t.lchown){t.lchown=function(t,e,n,i){if(i)process.nextTick(i)};t.lchownSync=function(){}}if(a==="win32"){t.rename=function(e){return function(n,i,r){var o=Date.now();var a=0;e(n,i,function CB(s){if(s&&(s.code==="EACCES"||s.code==="EPERM")&&Date.now()-o<6e4){setTimeout(function(){t.stat(i,function(t,o){if(t&&t.code==="ENOENT")e(n,i,CB);else r(s)})},a);if(a<100)a+=10;return}if(r)r(s)})}}(t.rename)}t.read=function(e){function read(n,i,r,o,a,s){var c;if(s&&typeof s==="function"){var u=0;c=function(f,l,h){if(f&&f.code==="EAGAIN"&&u<10){u++;return e.call(t,n,i,r,o,a,c)}s.apply(this,arguments)}}return e.call(t,n,i,r,o,a,c)}read.__proto__=e;return read}(t.read);t.readSync=function(e){return function(n,i,r,o,a){var s=0;while(true){try{return e.call(t,n,i,r,o,a)}catch(t){if(t.code==="EAGAIN"&&s<10){s++;continue}throw t}}}}(t.readSync);function patchLchmod(t){t.lchmod=function(e,n,r){t.open(e,i.O_WRONLY|i.O_SYMLINK,n,function(e,i){if(e){if(r)r(e);return}t.fchmod(i,n,function(e){t.close(i,function(t){if(r)r(e||t)})})})};t.lchmodSync=function(e,n){var r=t.openSync(e,i.O_WRONLY|i.O_SYMLINK,n);var o=true;var a;try{a=t.fchmodSync(r,n);o=false}finally{if(o){try{t.closeSync(r)}catch(t){}}else{t.closeSync(r)}}return a}}function patchLutimes(t){if(i.hasOwnProperty("O_SYMLINK")){t.lutimes=function(e,n,r,o){t.open(e,i.O_SYMLINK,function(e,i){if(e){if(o)o(e);return}t.futimes(i,n,r,function(e){t.close(i,function(t){if(o)o(e||t)})})})};t.lutimesSync=function(e,n,r){var o=t.openSync(e,i.O_SYMLINK);var a;var s=true;try{a=t.futimesSync(o,n,r);s=false}finally{if(s){try{t.closeSync(o)}catch(t){}}else{t.closeSync(o)}}return a}}else{t.lutimes=function(t,e,n,i){if(i)process.nextTick(i)};t.lutimesSync=function(){}}}function chmodFix(e){if(!e)return e;return function(n,i,r){return e.call(t,n,i,function(t){if(chownErOk(t))t=null;if(r)r.apply(this,arguments)})}}function chmodFixSync(e){if(!e)return e;return function(n,i){try{return e.call(t,n,i)}catch(t){if(!chownErOk(t))throw t}}}function chownFix(e){if(!e)return e;return function(n,i,r,o){return e.call(t,n,i,r,function(t){if(chownErOk(t))t=null;if(o)o.apply(this,arguments)})}}function chownFixSync(e){if(!e)return e;return function(n,i,r){try{return e.call(t,n,i,r)}catch(t){if(!chownErOk(t))throw t}}}function statFix(e){if(!e)return e;return function(n,i,r){if(typeof i==="function"){r=i;i=null}function callback(t,e){if(e){if(e.uid<0)e.uid+=4294967296;if(e.gid<0)e.gid+=4294967296}if(r)r.apply(this,arguments)}return i?e.call(t,n,i,callback):e.call(t,n,callback)}}function statFixSync(e){if(!e)return e;return function(n,i){var r=i?e.call(t,n,i):e.call(t,n);if(r.uid<0)r.uid+=4294967296;if(r.gid<0)r.gid+=4294967296;return r}}function chownErOk(t){if(!t)return true;if(t.code==="ENOSYS")return true;var e=!process.getuid||process.getuid()!==0;if(e){if(t.code==="EINVAL"||t.code==="EPERM")return true}return false}}},6160:(t,e,n)=>{let i;try{i=n(7758)}catch(t){i=n(5747)}const r=n(9046);const{stringify:o,stripBom:a}=n(5902);async function _readFile(t,e={}){if(typeof e==="string"){e={encoding:e}}const n=e.fs||i;const o="throws"in e?e.throws:true;let s=await r.fromCallback(n.readFile)(t,e);s=a(s);let c;try{c=JSON.parse(s,e?e.reviver:null)}catch(e){if(o){e.message=`${t}: ${e.message}`;throw e}else{return null}}return c}const s=r.fromPromise(_readFile);function readFileSync(t,e={}){if(typeof e==="string"){e={encoding:e}}const n=e.fs||i;const r="throws"in e?e.throws:true;try{let i=n.readFileSync(t,e);i=a(i);return JSON.parse(i,e.reviver)}catch(e){if(r){e.message=`${t}: ${e.message}`;throw e}else{return null}}}async function _writeFile(t,e,n={}){const a=n.fs||i;const s=o(e,n);await r.fromCallback(a.writeFile)(t,s,n)}const c=r.fromPromise(_writeFile);function writeFileSync(t,e,n={}){const r=n.fs||i;const a=o(e,n);return r.writeFileSync(t,a,n)}const u={readFile:s,readFileSync:readFileSync,writeFile:c,writeFileSync:writeFileSync};t.exports=u},5902:t=>{function stringify(t,{EOL:e="\n",finalEOL:n=true,replacer:i=null,spaces:r}={}){const o=n?e:"";const a=JSON.stringify(t,i,r);return a.replace(/\n/g,e)+o}function stripBom(t){if(Buffer.isBuffer(t))t=t.toString("utf8");return t.replace(/^\uFEFF/,"")}t.exports={stringify:stringify,stripBom:stripBom}},6235:(t,e,n)=>{"use strict";const i=n(5747);class LineByLine{constructor(t,e){e=e||{};if(!e.readChunk)e.readChunk=1024;if(!e.newLineCharacter){e.newLineCharacter=10}else{e.newLineCharacter=e.newLineCharacter.charCodeAt(0)}if(typeof t==="number"){this.fd=t}else{this.fd=i.openSync(t,"r")}this.options=e;this.newLineCharacter=e.newLineCharacter;this.reset()}_searchInBuffer(t,e){let n=-1;for(let i=0;i<=t.length;i++){let r=t[i];if(r===e){n=i;break}}return n}reset(){this.eofReached=false;this.linesCache=[];this.fdPosition=0}close(){i.closeSync(this.fd);this.fd=null}_extractLines(t){let e;const n=[];let i=0;let r=0;while(true){let o=t[i++];if(o===this.newLineCharacter){e=t.slice(r,i);n.push(e);r=i}else if(o===undefined){break}}let o=t.slice(r,i);if(o.length){n.push(o)}return n}_readChunk(t){let e=0;let n;const r=[];do{const t=new Buffer(this.options.readChunk);n=i.readSync(this.fd,t,0,this.options.readChunk,this.fdPosition);e=e+n;this.fdPosition=this.fdPosition+n;r.push(t)}while(n&&this._searchInBuffer(r[r.length-1],this.options.newLineCharacter)===-1);let o=Buffer.concat(r);if(n{(function(t){t.parser=function(t,e){return new SAXParser(t,e)};t.SAXParser=SAXParser;t.SAXStream=SAXStream;t.createStream=createStream;t.MAX_BUFFER_LENGTH=64*1024;var e=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function SAXParser(e,n){if(!(this instanceof SAXParser)){return new SAXParser(e,n)}var i=this;clearBuffers(i);i.q=i.c="";i.bufferCheckPosition=t.MAX_BUFFER_LENGTH;i.opt=n||{};i.opt.lowercase=i.opt.lowercase||i.opt.lowercasetags;i.looseCase=i.opt.lowercase?"toLowerCase":"toUpperCase";i.tags=[];i.closed=i.closedRoot=i.sawRoot=false;i.tag=i.error=null;i.strict=!!e;i.noscript=!!(e||i.opt.noscript);i.state=m.BEGIN;i.strictEntities=i.opt.strictEntities;i.ENTITIES=i.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES);i.attribList=[];if(i.opt.xmlns){i.ns=Object.create(u)}i.trackPosition=i.opt.position!==false;if(i.trackPosition){i.position=i.line=i.column=0}emit(i,"onready")}if(!Object.create){Object.create=function(t){function F(){}F.prototype=t;var e=new F;return e}}if(!Object.keys){Object.keys=function(t){var e=[];for(var n in t)if(t.hasOwnProperty(n))e.push(n);return e}}function checkBufferLength(n){var i=Math.max(t.MAX_BUFFER_LENGTH,10);var r=0;for(var o=0,a=e.length;oi){switch(e[o]){case"textNode":closeText(n);break;case"cdata":emitNode(n,"oncdata",n.cdata);n.cdata="";break;case"script":emitNode(n,"onscript",n.script);n.script="";break;default:error(n,"Max buffer length exceeded: "+e[o])}}r=Math.max(r,s)}var c=t.MAX_BUFFER_LENGTH-r;n.bufferCheckPosition=c+n.position}function clearBuffers(t){for(var n=0,i=e.length;n"||isWhitespace(t)}function isMatch(t,e){return t.test(e)}function notMatch(t,e){return!isMatch(t,e)}var m=0;t.STATE={BEGIN:m++,BEGIN_WHITESPACE:m++,TEXT:m++,TEXT_ENTITY:m++,OPEN_WAKA:m++,SGML_DECL:m++,SGML_DECL_QUOTED:m++,DOCTYPE:m++,DOCTYPE_QUOTED:m++,DOCTYPE_DTD:m++,DOCTYPE_DTD_QUOTED:m++,COMMENT_STARTING:m++,COMMENT:m++,COMMENT_ENDING:m++,COMMENT_ENDED:m++,CDATA:m++,CDATA_ENDING:m++,CDATA_ENDING_2:m++,PROC_INST:m++,PROC_INST_BODY:m++,PROC_INST_ENDING:m++,OPEN_TAG:m++,OPEN_TAG_SLASH:m++,ATTRIB:m++,ATTRIB_NAME:m++,ATTRIB_NAME_SAW_WHITE:m++,ATTRIB_VALUE:m++,ATTRIB_VALUE_QUOTED:m++,ATTRIB_VALUE_CLOSED:m++,ATTRIB_VALUE_UNQUOTED:m++,ATTRIB_VALUE_ENTITY_Q:m++,ATTRIB_VALUE_ENTITY_U:m++,CLOSE_TAG:m++,CLOSE_TAG_SAW_WHITE:m++,SCRIPT:m++,SCRIPT_ENDING:m++};t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(t.ENTITIES).forEach(function(e){var n=t.ENTITIES[e];var i=typeof n==="number"?String.fromCharCode(n):n;t.ENTITIES[e]=i});for(var d in t.STATE){t.STATE[t.STATE[d]]=d}m=t.STATE;function emit(t,e,n){t[e]&&t[e](n)}function emitNode(t,e,n){if(t.textNode)closeText(t);emit(t,e,n)}function closeText(t){t.textNode=textopts(t.opt,t.textNode);if(t.textNode)emit(t,"ontext",t.textNode);t.textNode=""}function textopts(t,e){if(t.trim)e=e.trim();if(t.normalize)e=e.replace(/\s+/g," ");return e}function error(t,e){closeText(t);if(t.trackPosition){e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c}e=new Error(e);t.error=e;emit(t,"onerror",e);return t}function end(t){if(t.sawRoot&&!t.closedRoot)strictFail(t,"Unclosed root tag");if(t.state!==m.BEGIN&&t.state!==m.BEGIN_WHITESPACE&&t.state!==m.TEXT){error(t,"Unexpected end")}closeText(t);t.c="";t.closed=true;emit(t,"onend");SAXParser.call(t,t.strict,t.opt);return t}function strictFail(t,e){if(typeof t!=="object"||!(t instanceof SAXParser)){throw new Error("bad call to strictFail")}if(t.strict){error(t,e)}}function newTag(t){if(!t.strict)t.tagName=t.tagName[t.looseCase]();var e=t.tags[t.tags.length-1]||t;var n=t.tag={name:t.tagName,attributes:{}};if(t.opt.xmlns){n.ns=e.ns}t.attribList.length=0;emitNode(t,"onopentagstart",n)}function qname(t,e){var n=t.indexOf(":");var i=n<0?["",t]:t.split(":");var r=i[0];var o=i[1];if(e&&t==="xmlns"){r="xmlns";o=""}return{prefix:r,local:o}}function attrib(t){if(!t.strict){t.attribName=t.attribName[t.looseCase]()}if(t.attribList.indexOf(t.attribName)!==-1||t.tag.attributes.hasOwnProperty(t.attribName)){t.attribName=t.attribValue="";return}if(t.opt.xmlns){var e=qname(t.attribName,true);var n=e.prefix;var i=e.local;if(n==="xmlns"){if(i==="xml"&&t.attribValue!==s){strictFail(t,"xml: prefix must be bound to "+s+"\n"+"Actual: "+t.attribValue)}else if(i==="xmlns"&&t.attribValue!==c){strictFail(t,"xmlns: prefix must be bound to "+c+"\n"+"Actual: "+t.attribValue)}else{var r=t.tag;var o=t.tags[t.tags.length-1]||t;if(r.ns===o.ns){r.ns=Object.create(o.ns)}r.ns[i]=t.attribValue}}t.attribList.push([t.attribName,t.attribValue])}else{t.tag.attributes[t.attribName]=t.attribValue;emitNode(t,"onattribute",{name:t.attribName,value:t.attribValue})}t.attribName=t.attribValue=""}function openTag(t,e){if(t.opt.xmlns){var n=t.tag;var i=qname(t.tagName);n.prefix=i.prefix;n.local=i.local;n.uri=n.ns[i.prefix]||"";if(n.prefix&&!n.uri){strictFail(t,"Unbound namespace prefix: "+JSON.stringify(t.tagName));n.uri=i.prefix}var r=t.tags[t.tags.length-1]||t;if(n.ns&&r.ns!==n.ns){Object.keys(n.ns).forEach(function(e){emitNode(t,"onopennamespace",{prefix:e,uri:n.ns[e]})})}for(var o=0,a=t.attribList.length;o";t.tagName="";t.state=m.SCRIPT;return}emitNode(t,"onscript",t.script);t.script=""}var e=t.tags.length;var n=t.tagName;if(!t.strict){n=n[t.looseCase]()}var i=n;while(e--){var r=t.tags[e];if(r.name!==i){strictFail(t,"Unexpected close tag")}else{break}}if(e<0){strictFail(t,"Unmatched closing tag: "+t.tagName);t.textNode+="";t.state=m.TEXT;return}t.tagName=n;var o=t.tags.length;while(o-- >e){var a=t.tag=t.tags.pop();t.tagName=t.tag.name;emitNode(t,"onclosetag",t.tagName);var s={};for(var c in a.ns){s[c]=a.ns[c]}var u=t.tags[t.tags.length-1]||t;if(t.opt.xmlns&&a.ns!==u.ns){Object.keys(a.ns).forEach(function(e){var n=a.ns[e];emitNode(t,"onclosenamespace",{prefix:e,uri:n})})}}if(e===0)t.closedRoot=true;t.tagName=t.attribValue=t.attribName="";t.attribList.length=0;t.state=m.TEXT}function parseEntity(t){var e=t.entity;var n=e.toLowerCase();var i;var r="";if(t.ENTITIES[e]){return t.ENTITIES[e]}if(t.ENTITIES[n]){return t.ENTITIES[n]}e=n;if(e.charAt(0)==="#"){if(e.charAt(1)==="x"){e=e.slice(2);i=parseInt(e,16);r=i.toString(16)}else{e=e.slice(1);i=parseInt(e,10);r=i.toString(10)}}e=e.replace(/^0+/,"");if(isNaN(i)||r.toLowerCase()!==e){strictFail(t,"Invalid character entity");return"&"+t.entity+";"}return String.fromCodePoint(i)}function beginWhiteSpace(t,e){if(e==="<"){t.state=m.OPEN_WAKA;t.startTagPosition=t.position}else if(!isWhitespace(e)){strictFail(t,"Non-whitespace before first tag.");t.textNode=e;t.state=m.TEXT}}function charAt(t,e){var n="";if(e"){emitNode(e,"onsgmldeclaration",e.sgmlDecl);e.sgmlDecl="";e.state=m.TEXT}else if(isQuote(i)){e.state=m.SGML_DECL_QUOTED;e.sgmlDecl+=i}else{e.sgmlDecl+=i}continue;case m.SGML_DECL_QUOTED:if(i===e.q){e.state=m.SGML_DECL;e.q=""}e.sgmlDecl+=i;continue;case m.DOCTYPE:if(i===">"){e.state=m.TEXT;emitNode(e,"ondoctype",e.doctype);e.doctype=true}else{e.doctype+=i;if(i==="["){e.state=m.DOCTYPE_DTD}else if(isQuote(i)){e.state=m.DOCTYPE_QUOTED;e.q=i}}continue;case m.DOCTYPE_QUOTED:e.doctype+=i;if(i===e.q){e.q="";e.state=m.DOCTYPE}continue;case m.DOCTYPE_DTD:e.doctype+=i;if(i==="]"){e.state=m.DOCTYPE}else if(isQuote(i)){e.state=m.DOCTYPE_DTD_QUOTED;e.q=i}continue;case m.DOCTYPE_DTD_QUOTED:e.doctype+=i;if(i===e.q){e.state=m.DOCTYPE_DTD;e.q=""}continue;case m.COMMENT:if(i==="-"){e.state=m.COMMENT_ENDING}else{e.comment+=i}continue;case m.COMMENT_ENDING:if(i==="-"){e.state=m.COMMENT_ENDED;e.comment=textopts(e.opt,e.comment);if(e.comment){emitNode(e,"oncomment",e.comment)}e.comment=""}else{e.comment+="-"+i;e.state=m.COMMENT}continue;case m.COMMENT_ENDED:if(i!==">"){strictFail(e,"Malformed comment");e.comment+="--"+i;e.state=m.COMMENT}else{e.state=m.TEXT}continue;case m.CDATA:if(i==="]"){e.state=m.CDATA_ENDING}else{e.cdata+=i}continue;case m.CDATA_ENDING:if(i==="]"){e.state=m.CDATA_ENDING_2}else{e.cdata+="]"+i;e.state=m.CDATA}continue;case m.CDATA_ENDING_2:if(i===">"){if(e.cdata){emitNode(e,"oncdata",e.cdata)}emitNode(e,"onclosecdata");e.cdata="";e.state=m.TEXT}else if(i==="]"){e.cdata+="]"}else{e.cdata+="]]"+i;e.state=m.CDATA}continue;case m.PROC_INST:if(i==="?"){e.state=m.PROC_INST_ENDING}else if(isWhitespace(i)){e.state=m.PROC_INST_BODY}else{e.procInstName+=i}continue;case m.PROC_INST_BODY:if(!e.procInstBody&&isWhitespace(i)){continue}else if(i==="?"){e.state=m.PROC_INST_ENDING}else{e.procInstBody+=i}continue;case m.PROC_INST_ENDING:if(i===">"){emitNode(e,"onprocessinginstruction",{name:e.procInstName,body:e.procInstBody});e.procInstName=e.procInstBody="";e.state=m.TEXT}else{e.procInstBody+="?"+i;e.state=m.PROC_INST_BODY}continue;case m.OPEN_TAG:if(isMatch(l,i)){e.tagName+=i}else{newTag(e);if(i===">"){openTag(e)}else if(i==="/"){e.state=m.OPEN_TAG_SLASH}else{if(!isWhitespace(i)){strictFail(e,"Invalid character in tag name")}e.state=m.ATTRIB}}continue;case m.OPEN_TAG_SLASH:if(i===">"){openTag(e,true);closeTag(e)}else{strictFail(e,"Forward-slash in opening tag not followed by >");e.state=m.ATTRIB}continue;case m.ATTRIB:if(isWhitespace(i)){continue}else if(i===">"){openTag(e)}else if(i==="/"){e.state=m.OPEN_TAG_SLASH}else if(isMatch(f,i)){e.attribName=i;e.attribValue="";e.state=m.ATTRIB_NAME}else{strictFail(e,"Invalid attribute name")}continue;case m.ATTRIB_NAME:if(i==="="){e.state=m.ATTRIB_VALUE}else if(i===">"){strictFail(e,"Attribute without value");e.attribValue=e.attribName;attrib(e);openTag(e)}else if(isWhitespace(i)){e.state=m.ATTRIB_NAME_SAW_WHITE}else if(isMatch(l,i)){e.attribName+=i}else{strictFail(e,"Invalid attribute name")}continue;case m.ATTRIB_NAME_SAW_WHITE:if(i==="="){e.state=m.ATTRIB_VALUE}else if(isWhitespace(i)){continue}else{strictFail(e,"Attribute without value");e.tag.attributes[e.attribName]="";e.attribValue="";emitNode(e,"onattribute",{name:e.attribName,value:""});e.attribName="";if(i===">"){openTag(e)}else if(isMatch(f,i)){e.attribName=i;e.state=m.ATTRIB_NAME}else{strictFail(e,"Invalid attribute name");e.state=m.ATTRIB}}continue;case m.ATTRIB_VALUE:if(isWhitespace(i)){continue}else if(isQuote(i)){e.q=i;e.state=m.ATTRIB_VALUE_QUOTED}else{strictFail(e,"Unquoted attribute value");e.state=m.ATTRIB_VALUE_UNQUOTED;e.attribValue=i}continue;case m.ATTRIB_VALUE_QUOTED:if(i!==e.q){if(i==="&"){e.state=m.ATTRIB_VALUE_ENTITY_Q}else{e.attribValue+=i}continue}attrib(e);e.q="";e.state=m.ATTRIB_VALUE_CLOSED;continue;case m.ATTRIB_VALUE_CLOSED:if(isWhitespace(i)){e.state=m.ATTRIB}else if(i===">"){openTag(e)}else if(i==="/"){e.state=m.OPEN_TAG_SLASH}else if(isMatch(f,i)){strictFail(e,"No whitespace between attributes");e.attribName=i;e.attribValue="";e.state=m.ATTRIB_NAME}else{strictFail(e,"Invalid attribute name")}continue;case m.ATTRIB_VALUE_UNQUOTED:if(!isAttribEnd(i)){if(i==="&"){e.state=m.ATTRIB_VALUE_ENTITY_U}else{e.attribValue+=i}continue}attrib(e);if(i===">"){openTag(e)}else{e.state=m.ATTRIB}continue;case m.CLOSE_TAG:if(!e.tagName){if(isWhitespace(i)){continue}else if(notMatch(f,i)){if(e.script){e.script+=""){closeTag(e)}else if(isMatch(l,i)){e.tagName+=i}else if(e.script){e.script+=""){closeTag(e)}else{strictFail(e,"Invalid characters in closing tag")}continue;case m.TEXT_ENTITY:case m.ATTRIB_VALUE_ENTITY_Q:case m.ATTRIB_VALUE_ENTITY_U:var c;var u;switch(e.state){case m.TEXT_ENTITY:c=m.TEXT;u="textNode";break;case m.ATTRIB_VALUE_ENTITY_Q:c=m.ATTRIB_VALUE_QUOTED;u="attribValue";break;case m.ATTRIB_VALUE_ENTITY_U:c=m.ATTRIB_VALUE_UNQUOTED;u="attribValue";break}if(i===";"){e[u]+=parseEntity(e);e.entity="";e.state=c}else if(isMatch(e.entity.length?y:h,i)){e.entity+=i}else{strictFail(e,"Invalid character in entity name");e[u]+="&"+e.entity+i;e.entity="";e.state=c}continue;default:throw new Error(e,"Unknown state: "+e.state)}}if(e.position>=e.bufferCheckPosition){checkBufferLength(e)}return e}if(!String.fromCodePoint){(function(){var t=String.fromCharCode;var e=Math.floor;var n=function(){var n=16384;var i=[];var r;var o;var a=-1;var s=arguments.length;if(!s){return""}var c="";while(++a1114111||e(u)!==u){throw RangeError("Invalid code point: "+u)}if(u<=65535){i.push(u)}else{u-=65536;r=(u>>10)+55296;o=u%1024+56320;i.push(r,o)}if(a+1===s||i.length>n){c+=t.apply(null,i);i.length=0}}return c};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:n,configurable:true,writable:true})}else{String.fromCodePoint=n}})()}})(false?0:e)},9046:(t,e)=>{"use strict";e.fromCallback=function(t){return Object.defineProperty(function(...e){if(typeof e[e.length-1]==="function")t.apply(this,e);else{return new Promise((n,i)=>{t.call(this,...e,(t,e)=>t!=null?i(t):n(e))})}},"name",{value:t.name})};e.fromPromise=function(t){return Object.defineProperty(function(...e){const n=e[e.length-1];if(typeof n!=="function")return t.apply(this,e);else t.apply(this,e.slice(0,-1)).then(t=>n(null,t),n)},"name",{value:t.name})}},1709:t=>{t.exports={isArray:function(t){if(Array.isArray){return Array.isArray(t)}return Object.prototype.toString.call(t)==="[object Array]"}}},8821:(t,e,n)=>{var i=n(2903);var r=n(8919);var o=n(4453);var a=n(1900);t.exports={xml2js:i,xml2json:r,js2xml:o,json2xml:a}},4453:(t,e,n)=>{var i=n(6717);var r=n(1709).isArray;var o,a;function validateOptions(t){var e=i.copyOptions(t);i.ensureFlagExists("ignoreDeclaration",e);i.ensureFlagExists("ignoreInstruction",e);i.ensureFlagExists("ignoreAttributes",e);i.ensureFlagExists("ignoreText",e);i.ensureFlagExists("ignoreComment",e);i.ensureFlagExists("ignoreCdata",e);i.ensureFlagExists("ignoreDoctype",e);i.ensureFlagExists("compact",e);i.ensureFlagExists("indentText",e);i.ensureFlagExists("indentCdata",e);i.ensureFlagExists("indentAttributes",e);i.ensureFlagExists("indentInstruction",e);i.ensureFlagExists("fullTagEmptyElement",e);i.ensureFlagExists("noQuotesForNativeAttributes",e);i.ensureSpacesExists(e);if(typeof e.spaces==="number"){e.spaces=Array(e.spaces+1).join(" ")}i.ensureKeyExists("declaration",e);i.ensureKeyExists("instruction",e);i.ensureKeyExists("attributes",e);i.ensureKeyExists("text",e);i.ensureKeyExists("comment",e);i.ensureKeyExists("cdata",e);i.ensureKeyExists("doctype",e);i.ensureKeyExists("type",e);i.ensureKeyExists("name",e);i.ensureKeyExists("elements",e);i.checkFnExists("doctype",e);i.checkFnExists("instruction",e);i.checkFnExists("cdata",e);i.checkFnExists("comment",e);i.checkFnExists("text",e);i.checkFnExists("instructionName",e);i.checkFnExists("elementName",e);i.checkFnExists("attributeName",e);i.checkFnExists("attributeValue",e);i.checkFnExists("attributes",e);i.checkFnExists("fullTagEmptyElement",e);return e}function writeIndentation(t,e,n){return(!n&&t.spaces?"\n":"")+Array(e+1).join(t.spaces)}function writeAttributes(t,e,n){if(e.ignoreAttributes){return""}if("attributesFn"in e){t=e.attributesFn(t,a,o)}var i,r,s,c,u=[];for(i in t){if(t.hasOwnProperty(i)&&t[i]!==null&&t[i]!==undefined){c=e.noQuotesForNativeAttributes&&typeof t[i]!=="string"?"":'"';r=""+t[i];r=r.replace(/"/g,""");s="attributeNameFn"in e?e.attributeNameFn(i,r,a,o):i;u.push(e.spaces&&e.indentAttributes?writeIndentation(e,n+1,false):" ");u.push(s+"="+c+("attributeValueFn"in e?e.attributeValueFn(r,i,a,o):r)+c)}}if(t&&Object.keys(t).length&&e.spaces&&e.indentAttributes){u.push(writeIndentation(e,n,false))}return u.join("")}function writeDeclaration(t,e,n){o=t;a="xml";return e.ignoreDeclaration?"":""}function writeInstruction(t,e,n){if(e.ignoreInstruction){return""}var i;for(i in t){if(t.hasOwnProperty(i)){break}}var r="instructionNameFn"in e?e.instructionNameFn(i,t[i],a,o):i;if(typeof t[i]==="object"){o=t;a=r;return""}else{var s=t[i]?t[i]:"";if("instructionFn"in e)s=e.instructionFn(s,i,a,o);return""}}function writeComment(t,e){return e.ignoreComment?"":"\x3c!--"+("commentFn"in e?e.commentFn(t,a,o):t)+"--\x3e"}function writeCdata(t,e){return e.ignoreCdata?"":"","]]]]>"))+"]]>"}function writeDoctype(t,e){return e.ignoreDoctype?"":""}function writeText(t,e){if(e.ignoreText)return"";t=""+t;t=t.replace(/&/g,"&");t=t.replace(/&/g,"&").replace(//g,">");return"textFn"in e?e.textFn(t,a,o):t}function hasContent(t,e){var n;if(t.elements&&t.elements.length){for(n=0;n");if(t[e.elementsKey]&&t[e.elementsKey].length){i.push(writeElements(t[e.elementsKey],e,n+1));o=t;a=t.name}i.push(e.spaces&&hasContent(t,e)?"\n"+Array(n+1).join(e.spaces):"");i.push("")}else{i.push("/>")}return i.join("")}function writeElements(t,e,n,i){return t.reduce(function(t,r){var o=writeIndentation(e,n,i&&!t);switch(r.type){case"element":return t+o+writeElement(r,e,n);case"comment":return t+o+writeComment(r[e.commentKey],e);case"doctype":return t+o+writeDoctype(r[e.doctypeKey],e);case"cdata":return t+(e.indentCdata?o:"")+writeCdata(r[e.cdataKey],e);case"text":return t+(e.indentText?o:"")+writeText(r[e.textKey],e);case"instruction":var a={};a[r[e.nameKey]]=r[e.attributesKey]?r:r[e.instructionKey];return t+(e.indentInstruction?o:"")+writeInstruction(a,e,n)}},"")}function hasContentCompact(t,e,n){var i;for(i in t){if(t.hasOwnProperty(i)){switch(i){case e.parentKey:case e.attributesKey:break;case e.textKey:if(e.indentText||n){return true}break;case e.cdataKey:if(e.indentCdata||n){return true}break;case e.instructionKey:if(e.indentInstruction||n){return true}break;case e.doctypeKey:case e.commentKey:return true;default:return true}}}return false}function writeElementCompact(t,e,n,i,r){o=t;a=e;var s="elementNameFn"in n?n.elementNameFn(e,t):e;if(typeof t==="undefined"||t===null||t===""){return"fullTagEmptyElementFn"in n&&n.fullTagEmptyElementFn(e,t)||n.fullTagEmptyElement?"<"+s+">":"<"+s+"/>"}var c=[];if(e){c.push("<"+s);if(typeof t!=="object"){c.push(">"+writeText(t,n)+"");return c.join("")}if(t[n.attributesKey]){c.push(writeAttributes(t[n.attributesKey],n,i))}var u=hasContentCompact(t,n,true)||t[n.attributesKey]&&t[n.attributesKey]["xml:space"]==="preserve";if(!u){if("fullTagEmptyElementFn"in n){u=n.fullTagEmptyElementFn(e,t)}else{u=n.fullTagEmptyElement}}if(u){c.push(">")}else{c.push("/>");return c.join("")}}c.push(writeElementsCompact(t,n,i+1,false));o=t;a=e;if(e){c.push((r?writeIndentation(n,i,false):"")+"")}return c.join("")}function writeElementsCompact(t,e,n,i){var o,a,s,c=[];for(a in t){if(t.hasOwnProperty(a)){s=r(t[a])?t[a]:[t[a]];for(o=0;o{var i=n(4453);t.exports=function(t,e){if(t instanceof Buffer){t=t.toString()}var n=null;if(typeof t==="string"){try{n=JSON.parse(t)}catch(t){throw new Error("The JSON structure is invalid")}}else{n=t}return i(n,e)}},6717:(t,e,n)=>{var i=n(1709).isArray;t.exports={copyOptions:function(t){var e,n={};for(e in t){if(t.hasOwnProperty(e)){n[e]=t[e]}}return n},ensureFlagExists:function(t,e){if(!(t in e)||typeof e[t]!=="boolean"){e[t]=false}},ensureSpacesExists:function(t){if(!("spaces"in t)||typeof t.spaces!=="number"&&typeof t.spaces!=="string"){t.spaces=0}},ensureAlwaysArrayExists:function(t){if(!("alwaysArray"in t)||typeof t.alwaysArray!=="boolean"&&!i(t.alwaysArray)){t.alwaysArray=false}},ensureKeyExists:function(t,e){if(!(t+"Key"in e)||typeof e[t+"Key"]!=="string"){e[t+"Key"]=e.compact?"_"+t:t}},checkFnExists:function(t,e){return t+"Fn"in e}}},2903:(t,e,n)=>{var i=n(2043);var r={on:function(){},parse:function(){}};var o=n(6717);var a=n(1709).isArray;var s;var c=true;var u;function validateOptions(t){s=o.copyOptions(t);o.ensureFlagExists("ignoreDeclaration",s);o.ensureFlagExists("ignoreInstruction",s);o.ensureFlagExists("ignoreAttributes",s);o.ensureFlagExists("ignoreText",s);o.ensureFlagExists("ignoreComment",s);o.ensureFlagExists("ignoreCdata",s);o.ensureFlagExists("ignoreDoctype",s);o.ensureFlagExists("compact",s);o.ensureFlagExists("alwaysChildren",s);o.ensureFlagExists("addParent",s);o.ensureFlagExists("trim",s);o.ensureFlagExists("nativeType",s);o.ensureFlagExists("nativeTypeAttributes",s);o.ensureFlagExists("sanitize",s);o.ensureFlagExists("instructionHasAttributes",s);o.ensureFlagExists("captureSpacesBetweenElements",s);o.ensureAlwaysArrayExists(s);o.ensureKeyExists("declaration",s);o.ensureKeyExists("instruction",s);o.ensureKeyExists("attributes",s);o.ensureKeyExists("text",s);o.ensureKeyExists("comment",s);o.ensureKeyExists("cdata",s);o.ensureKeyExists("doctype",s);o.ensureKeyExists("type",s);o.ensureKeyExists("name",s);o.ensureKeyExists("elements",s);o.ensureKeyExists("parent",s);o.checkFnExists("doctype",s);o.checkFnExists("instruction",s);o.checkFnExists("cdata",s);o.checkFnExists("comment",s);o.checkFnExists("text",s);o.checkFnExists("instructionName",s);o.checkFnExists("elementName",s);o.checkFnExists("attributeName",s);o.checkFnExists("attributeValue",s);o.checkFnExists("attributes",s);return s}function nativeType(t){var e=Number(t);if(!isNaN(e)){return e}var n=t.toLowerCase();if(n==="true"){return true}else if(n==="false"){return false}return t}function addField(t,e){var n;if(s.compact){if(!u[s[t+"Key"]]&&(a(s.alwaysArray)?s.alwaysArray.indexOf(s[t+"Key"])!==-1:s.alwaysArray)){u[s[t+"Key"]]=[]}if(u[s[t+"Key"]]&&!a(u[s[t+"Key"]])){u[s[t+"Key"]]=[u[s[t+"Key"]]]}if(t+"Fn"in s&&typeof e==="string"){e=s[t+"Fn"](e,u)}if(t==="instruction"&&("instructionFn"in s||"instructionNameFn"in s)){for(n in e){if(e.hasOwnProperty(n)){if("instructionFn"in s){e[n]=s.instructionFn(e[n],n,u)}else{var i=e[n];delete e[n];e[s.instructionNameFn(n,i,u)]=i}}}}if(a(u[s[t+"Key"]])){u[s[t+"Key"]].push(e)}else{u[s[t+"Key"]]=e}}else{if(!u[s.elementsKey]){u[s.elementsKey]=[]}var r={};r[s.typeKey]=t;if(t==="instruction"){for(n in e){if(e.hasOwnProperty(n)){break}}r[s.nameKey]="instructionNameFn"in s?s.instructionNameFn(n,e,u):n;if(s.instructionHasAttributes){r[s.attributesKey]=e[n][s.attributesKey];if("instructionFn"in s){r[s.attributesKey]=s.instructionFn(r[s.attributesKey],n,u)}}else{if("instructionFn"in s){e[n]=s.instructionFn(e[n],n,u)}r[s.instructionKey]=e[n]}}else{if(t+"Fn"in s){e=s[t+"Fn"](e,u)}r[s[t+"Key"]]=e}if(s.addParent){r[s.parentKey]=u}u[s.elementsKey].push(r)}}function manipulateAttributes(t){if("attributesFn"in s&&t){t=s.attributesFn(t,u)}if((s.trim||"attributeValueFn"in s||"attributeNameFn"in s||s.nativeTypeAttributes)&&t){var e;for(e in t){if(t.hasOwnProperty(e)){if(s.trim)t[e]=t[e].trim();if(s.nativeTypeAttributes){t[e]=nativeType(t[e])}if("attributeValueFn"in s)t[e]=s.attributeValueFn(t[e],e,u);if("attributeNameFn"in s){var n=t[e];delete t[e];t[s.attributeNameFn(e,t[e],u)]=n}}}}return t}function onInstruction(t){var e={};if(t.body&&(t.name.toLowerCase()==="xml"||s.instructionHasAttributes)){var n=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;var i;while((i=n.exec(t.body))!==null){e[i[1]]=i[2]||i[3]||i[4]}e=manipulateAttributes(e)}if(t.name.toLowerCase()==="xml"){if(s.ignoreDeclaration){return}u[s.declarationKey]={};if(Object.keys(e).length){u[s.declarationKey][s.attributesKey]=e}if(s.addParent){u[s.declarationKey][s.parentKey]=u}}else{if(s.ignoreInstruction){return}if(s.trim){t.body=t.body.trim()}var r={};if(s.instructionHasAttributes&&Object.keys(e).length){r[t.name]={};r[t.name][s.attributesKey]=e}else{r[t.name]=t.body}addField("instruction",r)}}function onStartElement(t,e){var n;if(typeof t==="object"){e=t.attributes;t=t.name}e=manipulateAttributes(e);if("elementNameFn"in s){t=s.elementNameFn(t,u)}if(s.compact){n={};if(!s.ignoreAttributes&&e&&Object.keys(e).length){n[s.attributesKey]={};var i;for(i in e){if(e.hasOwnProperty(i)){n[s.attributesKey][i]=e[i]}}}if(!(t in u)&&(a(s.alwaysArray)?s.alwaysArray.indexOf(t)!==-1:s.alwaysArray)){u[t]=[]}if(u[t]&&!a(u[t])){u[t]=[u[t]]}if(a(u[t])){u[t].push(n)}else{u[t]=n}}else{if(!u[s.elementsKey]){u[s.elementsKey]=[]}n={};n[s.typeKey]="element";n[s.nameKey]=t;if(!s.ignoreAttributes&&e&&Object.keys(e).length){n[s.attributesKey]=e}if(s.alwaysChildren){n[s.elementsKey]=[]}u[s.elementsKey].push(n)}n[s.parentKey]=u;u=n}function onText(t){if(s.ignoreText){return}if(!t.trim()&&!s.captureSpacesBetweenElements){return}if(s.trim){t=t.trim()}if(s.nativeType){t=nativeType(t)}if(s.sanitize){t=t.replace(/&/g,"&").replace(//g,">")}addField("text",t)}function onComment(t){if(s.ignoreComment){return}if(s.trim){t=t.trim()}addField("comment",t)}function onEndElement(t){var e=u[s.parentKey];if(!s.addParent){delete u[s.parentKey]}u=e}function onCdata(t){if(s.ignoreCdata){return}if(s.trim){t=t.trim()}addField("cdata",t)}function onDoctype(t){if(s.ignoreDoctype){return}t=t.replace(/^ /,"");if(s.trim){t=t.trim()}addField("doctype",t)}function onError(t){t.note=t}t.exports=function(t,e){var n=c?i.parser(true,{}):n=new r.Parser("UTF-8");var o={};u=o;s=validateOptions(e);if(c){n.opt={strictEntities:true};n.onopentag=onStartElement;n.ontext=onText;n.oncomment=onComment;n.onclosetag=onEndElement;n.onerror=onError;n.oncdata=onCdata;n.ondoctype=onDoctype;n.onprocessinginstruction=onInstruction}else{n.on("startElement",onStartElement);n.on("text",onText);n.on("comment",onComment);n.on("endElement",onEndElement);n.on("error",onError)}if(c){n.write(t).close()}else{if(!n.parse(t)){throw new Error("XML parsing error: "+n.getError())}}if(o[s.elementsKey]){var a=o[s.elementsKey];delete o[s.elementsKey];o[s.elementsKey]=a;delete o.text}return o}},8919:(t,e,n)=>{var i=n(6717);var r=n(2903);function validateOptions(t){var e=i.copyOptions(t);i.ensureSpacesExists(e);return e}t.exports=function(t,e){var n,i,o,a;n=validateOptions(e);i=r(t,n);a="compact"in n&&n.compact?"_parent":"parent";if("addParent"in n&&n.addParent){o=JSON.stringify(i,function(t,e){return t===a?"_":e},n.spaces)}else{o=JSON.stringify(i,null,n.spaces)}return o.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},6144:function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){if(i===undefined)i=n;Object.defineProperty(t,i,{enumerable:true,get:function(){return e[n]}})}:function(t,e,n,i){if(i===undefined)i=n;t[i]=e[n]});var r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:true,value:e})}:function(t,e){t["default"]=e});var o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)if(n!=="default"&&Object.prototype.hasOwnProperty.call(t,n))i(e,t,n);r(e,t);return e};Object.defineProperty(e,"__esModule",{value:true});e.logError=e.logInfo=void 0;const a=o(n(2186));const s=n(7888);const c=n(5747);const u=n(5630);const f=n(5622);const l=n(8821);const h=n(1314);const y={spraxdev:{url:"https://github.com/SpraxDev/Spigot-BuildTools/releases/latest/download/BuildTools.jar",prepareArgs:["--exit-after-fetch"]},spigotmc:{url:"https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar",prepareArgs:["--compile","None"]}};const m=(a.getInput("buildToolProvider")||"SpigotMC").toLowerCase();let d=h.fixArgArr((a.getInput("versions")||"latest").toLowerCase().split(","));const p=a.getInput("generateSrc")=="true";const g=a.getInput("generateDoc")=="true";const v=a.getInput("disableJavaCheck")=="true";const w=a.getInput("forceRun")=="true";const E=h.isNumeric(a.getInput("threads"))?parseInt(a.getInput("threads")):h.cpuCount;const S=h.resetWorkingDir();const b=f.join(S.logs,"SpraxDev_Actions-SpigotMC.log");const T=c.createWriteStream(b,{encoding:"utf-8",flags:"a"});async function run(){return new Promise(async(t,e)=>{try{if(d.length==0)return t({code:0,msg:"No version(s) provided to build"});if(!Object.keys(y).includes(m)){return e(new Error(`'${m}' is not a valid BuildTool-Provider (${Object.keys(y).join(", ")})`))}else if(m=="spraxdev"){logError(`SpraxDev's BuildTool has known issues causing builds to fail, please use 'SpigotMC' if you encounter any problems`)}if(!w){d=await removeExistingVersions(d,(t,e)=>{logInfo(`Skipping version '${t}' because it has been found in the local maven repository: ${e}`)});if(d.length==0)return t({code:0,msg:"No new versions to build"})}const n=y[m];logInfo("Installed Java-Version:");await h.runCmd("java",["-version"],S.base,T);logInfo(`\nDownloading '${n.url}'...`);await h.downloadFile(n.url,f.join(S.cache,"BuildTools.jar"));const i=d.length!=1;if(i){logInfo("Prepare for future tasks by running BuildTools...");await a.group("Prepare BuildTools",async()=>{try{return h.runCmd("java",["-jar","BuildTools.jar",v?"--disable-java-check":"",...n.prepareArgs],S.cache,T)}catch(t){logError(t);logError(`\nPrinting last 30 lines from '${f.resolve(b)}':`);for(const t of h.readLastLines(b,30)){logError(t)}return h.exit(1)}})}const r=["-jar","BuildTools.jar","--compile","Spigot"];if(p){r.push("--generate-source")}if(g){r.push("--generate-docs")}if(v){r.push("--disable-java-check")}const o=[];for(const t of d){o.push(async()=>{return new Promise(async(e,n)=>{const o=Date.now();const a=f.join(S.logs,`${t}.log`);logInfo(`Building version '${t}'...`);const s=i?f.join(S.base,`${t}`):S.cache;if(i){await u.copy(S.cache,s)}try{await h.runCmd("java",[...r,"--rev",t],s,a,true);if(i){c.rmdirSync(s,{recursive:true})}const u=Date.now();logInfo(`Finished '${t}' in ${((u-o)/6e4).toFixed(2)} minutes`);e()}catch(e){logInfo(`An error occurred while building '${t}'`);logError(e);logError(`\nPrinting last 30 lines from '${f.resolve(a)}':`);for(const t of h.readLastLines(a,30)){logError(t)}n(e)}})})}s.parallelLimit(o,E,n=>{if(n)return e(n);t({code:0})})}catch(t){e(t)}})}async function removeExistingVersions(t,e){return new Promise(async(n,i)=>{var r,o,a;const s=[];for(const n of t){let t=false;let i=n!="latest"?n:null;try{const t=await h.downloadFile(`https://hub.spigotmc.org/versions/${n}.json`,null);const e=t instanceof Buffer?JSON.parse(t.toString("utf-8")):null;const s=(r=e===null||e===void 0?void 0:e.refs)===null||r===void 0?void 0:r.Bukkit;if(s){const t=await h.downloadFile(`https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/raw/pom.xml?at=${s}`,null);if(t instanceof Buffer){const e=l.xml2js(t.toString("utf-8"),{compact:true,ignoreComment:true,ignoreAttributes:true});i=(a=(o=e.project)===null||o===void 0?void 0:o.version)===null||a===void 0?void 0:a._text}}}catch(t){logError(t)}const u=f.resolve(f.join(h.userHomeDir,`/.m2/repository/org/spigotmc/spigot/${i}/spigot-${i}.jar`));if(i){t=c.existsSync(u)}if(t){e(n,u)}else{s.push(n)}}n(s)})}function logInfo(t){console.log(t);T.write(t+"\n")}e.logInfo=logInfo;function logError(t){if(typeof t!="string"){t=JSON.stringify(t,null,2)}console.error(t);T.write(t+"\n")}e.logError=logError;run().then(t=>h.exit(t.code,t.msg)).catch(t=>h.exit(1,t))},1314:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:true});e.exit=e.resetWorkingDir=e.readLastLines=e.downloadFile=e.runCmd=e.isNumeric=e.fixArgArr=e.userHomeDir=e.cpuCount=void 0;const r=n(3129);const o=n(5747);const a=n(5876);const s=n(7211);const c=i(n(6235));const u=n(2087);const f=n(5622);const l=n(6144);const h=JSON.parse(o.readFileSync(n.ab+"package.json","utf-8"));const y=`${h.name||"Action-SpigotMC"}/${h.version||"UNKNOWN_VERSION"} (+${h.homepage||"https://github.com/SpraxDev/Action-SpigotMC"})`;e.cpuCount=u.cpus().length;e.userHomeDir=u.homedir();function fixArgArr(t){const e=[];for(const n of t){const t=n.trim();if(t&&!e.includes(t)){e.push(t)}}return e}e.fixArgArr=fixArgArr;function isNumeric(t){return/^[0-9]+$/.test(t)}e.isNumeric=isNumeric;async function runCmd(t,e,n,i,a=false){return new Promise((s,c)=>{const u=typeof i=="string";const f=typeof i!="string"?i:o.createWriteStream(i,{encoding:"utf-8",flags:"a"});const l=r.spawn(t,e,{shell:true,cwd:n,env:process.env});l.stdout.on("data",t=>{f.write(t);if(!a){process.stdout.write(t)}});l.stderr.on("data",t=>{f.write(t);if(!a){process.stderr.write(t)}});l.on("close",e=>{if(u){f.close()}if(e!=0){return c({err:new Error(`process exited with code ${e}`),cmd:t,workingDir:n})}s()})})}e.runCmd=runCmd;async function downloadFile(t,e,n=0){const i=t.toLowerCase().startsWith("http://")?a.get:s.get;return new Promise((r,a)=>{let s=null;const c=function(t){if(s){s.close();s=null;if(t&&e!=null){o.rmdirSync(e,{recursive:true})}}};i(t,{headers:{"User-Agent":y}},t=>{if(t.statusCode!=200){const i=t.headers.location;if(n<12&&i&&(t.statusCode==301||t.statusCode==302||t.statusCode==303||t.statusCode==307||t.statusCode==308)){c(false);if(!/https?:\/\//g.test(i)){return a(new Error(`Server responded with ${t.statusCode} and a relative Location-Header value (${i})`))}return downloadFile(i,e,++n).then(r).catch(a)}else{c(true);return a(new Error(`Server responded with ${t.statusCode}`))}}if(e!=null){s=o.createWriteStream(e,{encoding:"binary"}).on("finish",()=>{c(false);return r()}).on("error",t=>{c(true);return a(t)});t.pipe(s)}else{const e=[];t.on("data",t=>{e.push(Buffer.from(t,"binary"))});t.on("end",()=>{r(Buffer.concat(e))})}}).on("error",t=>{c(true);return a(t)})})}e.downloadFile=downloadFile;function readLastLines(t,e,n="utf-8"){const i=[];const r=new c.default(t);let o;while(o=r.next()){i.push(o.toString(n));if(i.length>e){i.shift()}}return i}e.readLastLines=readLastLines;function resetWorkingDir(){const t=f.join(u.tmpdir(),"SpraxDev-Action-SpigotMC");const e=f.join(t,"cache");const n=f.join(t,"logs");o.rmdirSync(t,{recursive:true});o.mkdirSync(e,{recursive:true});o.mkdirSync(n);return{base:t,cache:e,logs:n}}e.resetWorkingDir=resetWorkingDir;function exit(t,e){if(e){if(typeof e=="string"){l.logInfo(e)}else{l.logError(e)}}return process.exit(t)}e.exit=exit},2357:t=>{"use strict";t.exports=require("assert")},3129:t=>{"use strict";t.exports=require("child_process")},7619:t=>{"use strict";t.exports=require("constants")},5747:t=>{"use strict";t.exports=require("fs")},5876:t=>{"use strict";t.exports=require("http")},7211:t=>{"use strict";t.exports=require("https")},2087:t=>{"use strict";t.exports=require("os")},5622:t=>{"use strict";t.exports=require("path")},2413:t=>{"use strict";t.exports=require("stream")},4304:t=>{"use strict";t.exports=require("string_decoder")},1669:t=>{"use strict";t.exports=require("util")}};var e={};function __nccwpck_require__(n){if(e[n]){return e[n].exports}var i=e[n]={exports:{}};var r=true;try{t[n].call(i.exports,i,i.exports,__nccwpck_require__);r=false}finally{if(r)delete e[n]}return i.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(6144)})(); +require('./sourcemap-register.js');(()=>{var e={7351:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const s=a(r(2087));const o=r(5278);function issueCommand(e,t,r){const n=new Command(e,t,r);process.stdout.write(n.toString()+s.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const c="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=c+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const n=this.properties[r];if(n){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(n)}`}}}}e+=`${c}${escapeData(this.message)}`;return e}}function escapeData(e){return o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};var s=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=t.warning=t.error=t.debug=t.isDebug=t.setFailed=t.setCommandEcho=t.setOutput=t.getBooleanInput=t.getMultilineInput=t.getInput=t.addPath=t.setSecret=t.exportVariable=t.ExitCode=void 0;const o=r(7351);const c=r(717);const u=r(5278);const l=a(r(2087));const f=a(r(5622));var p;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(p=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const r=u.toCommandValue(t);process.env[e]=r;const n=process.env["GITHUB_ENV"]||"";if(n){const t="_GitHubActionsFileCommandDelimeter_";const n=`${e}<<${t}${l.EOL}${r}${l.EOL}${t}`;c.issueCommand("ENV",n)}else{o.issueCommand("set-env",{name:e},r)}}t.exportVariable=exportVariable;function setSecret(e){o.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){c.issueCommand("PATH",e)}else{o.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${f.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return r}return r.trim()}t.getInput=getInput;function getMultilineInput(e,t){const r=getInput(e,t).split("\n").filter((e=>e!==""));return r}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const r=["true","True","TRUE"];const n=["false","False","FALSE"];const i=getInput(e,t);if(r.includes(i))return true;if(n.includes(i))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}t.getBooleanInput=getBooleanInput;function setOutput(e,t){process.stdout.write(l.EOL);o.issueCommand("set-output",{name:e},t)}t.setOutput=setOutput;function setCommandEcho(e){o.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=p.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){o.issueCommand("debug",{},e)}t.debug=debug;function error(e){o.issue("error",e instanceof Error?e.toString():e)}t.error=error;function warning(e){o.issue("warning",e instanceof Error?e.toString():e)}t.warning=warning;function info(e){process.stdout.write(e+l.EOL)}t.info=info;function startGroup(e){o.issue("group",e)}t.startGroup=startGroup;function endGroup(){o.issue("endgroup")}t.endGroup=endGroup;function group(e,t){return s(this,void 0,void 0,(function*(){startGroup(e);let r;try{r=yield t()}finally{endGroup()}return r}))}t.group=group;function saveState(e,t){o.issueCommand("save-state",{name:e},t)}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState},717:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issueCommand=void 0;const s=a(r(5747));const o=a(r(2087));const c=r(5278);function issueCommand(e,t){const r=process.env[`GITHUB_${e}`];if(!r){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!s.existsSync(r)){throw new Error(`Missing file at path: ${r}`)}s.appendFileSync(r,`${c.toCommandValue(t)}${o.EOL}`,{encoding:"utf8"})}t.issueCommand=issueCommand},5278:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toCommandValue=void 0;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue},7888:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";function apply(e,...t){return(...r)=>e(...t,...r)}function initialParams(e){return function(...t){var r=t.pop();return e.call(this,t,r)}}var t=typeof setImmediate==="function"&&setImmediate;var r=typeof process==="object"&&typeof process.nextTick==="function";function fallback(e){setTimeout(e,0)}function wrap(e){return(t,...r)=>e((()=>t(...r)))}var n;if(t){n=setImmediate}else if(r){n=process.nextTick}else{n=fallback}var i=wrap(n);function asyncify(e){if(isAsync(e)){return function(...t){const r=t.pop();const n=e.apply(this,t);return handlePromise(n,r)}}return initialParams((function(t,r){var n;try{n=e.apply(this,t)}catch(e){return r(e)}if(n&&typeof n.then==="function"){return handlePromise(n,r)}else{r(null,n)}}))}function handlePromise(e,t){return e.then((e=>{invokeCallback(t,null,e)}),(e=>{invokeCallback(t,e&&e.message?e:new Error(e))}))}function invokeCallback(e,t,r){try{e(t,r)}catch(e){i((e=>{throw e}),e)}}function isAsync(e){return e[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(e){return e[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(e){return typeof e[Symbol.asyncIterator]==="function"}function wrapAsync(e){if(typeof e!=="function")throw new Error("expected a function");return isAsync(e)?asyncify(e):e}function awaitify(e,t=e.length){if(!t)throw new Error("arity is undefined");function awaitable(...r){if(typeof r[t-1]==="function"){return e.apply(this,r)}return new Promise(((n,i)=>{r[t-1]=(e,...t)=>{if(e)return i(e);n(t.length>1?t:t[0])};e.apply(this,r)}))}return awaitable}function applyEach(e){return function applyEach(t,...r){const n=awaitify((function(n){var i=this;return e(t,((e,t)=>{wrapAsync(e).apply(i,r.concat(t))}),n)}));return n}}function _asyncMap(e,t,r,n){t=t||[];var i=[];var a=0;var s=wrapAsync(r);return e(t,((e,t,r)=>{var n=a++;s(e,((e,t)=>{i[n]=t;r(e)}))}),(e=>{n(e,i)}))}function isArrayLike(e){return e&&typeof e.length==="number"&&e.length>=0&&e.length%1===0}const a={};function once(e){function wrapper(...t){if(e===null)return;var r=e;e=null;r.apply(this,t)}Object.assign(wrapper,e);return wrapper}function getIterator(e){return e[Symbol.iterator]&&e[Symbol.iterator]()}function createArrayIterator(e){var t=-1;var r=e.length;return function next(){return++t=t||o||i)return;o=true;e.next().then((({value:e,done:t})=>{if(s||i)return;o=false;if(t){i=true;if(c<=0){n(null)}return}c++;r(e,u,iterateeCallback);u++;replenish()})).catch(handleError)}function iterateeCallback(e,t){c-=1;if(s)return;if(e)return handleError(e);if(e===false){i=true;s=true;return}if(t===a||i&&c<=0){i=true;return n(null)}replenish()}function handleError(e){if(s)return;o=false;i=true;n(e)}replenish()}var eachOfLimit=e=>(t,r,n)=>{n=once(n);if(e<=0){throw new RangeError("concurrency limit cannot be less than 1")}if(!t){return n(null)}if(isAsyncGenerator(t)){return asyncEachOfLimit(t,e,r,n)}if(isAsyncIterable(t)){return asyncEachOfLimit(t[Symbol.asyncIterator](),e,r,n)}var i=createIterator(t);var s=false;var o=false;var c=0;var u=false;function iterateeCallback(e,t){if(o)return;c-=1;if(e){s=true;n(e)}else if(e===false){s=true;o=true}else if(t===a||s&&c<=0){s=true;return n(null)}else if(!u){replenish()}}function replenish(){u=true;while(c1?n:n[0])}callback[m]=new Promise(((r,n)=>{e=r,t=n}));return callback}function auto(e,t,r){if(typeof t!=="number"){r=t;t=null}r=once(r||promiseCallback());var n=Object.keys(e).length;if(!n){return r(null)}if(!t){t=n}var i={};var a=0;var s=false;var o=false;var c=Object.create(null);var u=[];var l=[];var f={};Object.keys(e).forEach((t=>{var r=e[t];if(!Array.isArray(r)){enqueueTask(t,[r]);l.push(t);return}var n=r.slice(0,r.length-1);var i=n.length;if(i===0){enqueueTask(t,r);l.push(t);return}f[t]=i;n.forEach((a=>{if(!e[a]){throw new Error("async.auto task `"+t+"` has a non-existent dependency `"+a+"` in "+n.join(", "))}addListener(a,(()=>{i--;if(i===0){enqueueTask(t,r)}}))}))}));checkForDeadlocks();processQueue();function enqueueTask(e,t){u.push((()=>runTask(e,t)))}function processQueue(){if(s)return;if(u.length===0&&a===0){return r(null,i)}while(u.length&&ae()));processQueue()}function runTask(e,t){if(o)return;var n=onlyOnce(((t,...n)=>{a--;if(t===false){s=true;return}if(n.length<2){[n]=n}if(t){var u={};Object.keys(i).forEach((e=>{u[e]=i[e]}));u[e]=n;o=true;c=Object.create(null);if(s)return;r(t,u)}else{i[e]=n;taskComplete(e)}}));a++;var u=wrapAsync(t[t.length-1]);if(t.length>1){u(i,n)}else{u(n)}}function checkForDeadlocks(){var e;var t=0;while(l.length){e=l.pop();t++;getDependents(e).forEach((e=>{if(--f[e]===0){l.push(e)}}))}if(t!==n){throw new Error("async.auto cannot execute tasks due to a recursive dependency")}}function getDependents(t){var r=[];Object.keys(e).forEach((n=>{const i=e[n];if(Array.isArray(i)&&i.indexOf(t)>=0){r.push(n)}}));return r}return r[m]}var y=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/;var d=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/;var h=/,/;var g=/(=.+)?(\s*)$/;var v=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;function parseParams(e){const t=e.toString().replace(v,"");let r=t.match(y);if(!r){r=t.match(d)}if(!r)throw new Error("could not parse args in autoInject\nSource:\n"+t);let[,n]=r;return n.replace(/\s/g,"").split(h).map((e=>e.replace(g,"").trim()))}function autoInject(e,t){var r={};Object.keys(e).forEach((t=>{var n=e[t];var i;var a=isAsync(n);var s=!a&&n.length===1||a&&n.length===0;if(Array.isArray(n)){i=[...n];n=i.pop();r[t]=i.concat(i.length>0?newTask:n)}else if(s){r[t]=n}else{i=parseParams(n);if(n.length===0&&!a&&i.length===0){throw new Error("autoInject task functions require explicit parameters.")}if(!a)i.pop();r[t]=i.concat(newTask)}function newTask(e,t){var r=i.map((t=>e[t]));r.push(t);wrapAsync(n)(...r)}}));return auto(r,t)}class DLL{constructor(){this.head=this.tail=null;this.length=0}removeLink(e){if(e.prev)e.prev.next=e.next;else this.head=e.next;if(e.next)e.next.prev=e.prev;else this.tail=e.prev;e.prev=e.next=null;this.length-=1;return e}empty(){while(this.head)this.shift();return this}insertAfter(e,t){t.prev=e;t.next=e.next;if(e.next)e.next.prev=t;else this.tail=t;e.next=t;this.length+=1}insertBefore(e,t){t.prev=e.prev;t.next=e;if(e.prev)e.prev.next=t;else this.head=t;e.prev=t;this.length+=1}unshift(e){if(this.head)this.insertBefore(this.head,e);else setInitial(this,e)}push(e){if(this.tail)this.insertAfter(this.tail,e);else setInitial(this,e)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var e=this.head;while(e){yield e.data;e=e.next}}remove(e){var t=this.head;while(t){var{next:r}=t;if(e(t)){this.removeLink(t)}t=r}return this}}function setInitial(e,t){e.length=1;e.head=e.tail=t}function queue(e,t,r){if(t==null){t=1}else if(t===0){throw new RangeError("Concurrency must not be zero")}var n=wrapAsync(e);var a=0;var s=[];const o={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function on(e,t){o[e].push(t)}function once(e,t){const handleAndRemove=(...r)=>{off(e,handleAndRemove);t(...r)};o[e].push(handleAndRemove)}function off(e,t){if(!e)return Object.keys(o).forEach((e=>o[e]=[]));if(!t)return o[e]=[];o[e]=o[e].filter((e=>e!==t))}function trigger(e,...t){o[e].forEach((e=>e(...t)))}var c=false;function _insert(e,t,r,n){if(n!=null&&typeof n!=="function"){throw new Error("task callback must be a function")}l.started=true;var a,s;function promiseCallback(e,...t){if(e)return r?s(e):a();if(t.length<=1)return a(t[0]);a(t)}var o={data:e,callback:r?promiseCallback:n||promiseCallback};if(t){l._tasks.unshift(o)}else{l._tasks.push(o)}if(!c){c=true;i((()=>{c=false;l.process()}))}if(r||!n){return new Promise(((e,t)=>{a=e;s=t}))}}function _createCB(e){return function(t,...r){a-=1;for(var n=0,i=e.length;n0){s.splice(c,1)}o.callback(t,...r);if(t!=null){trigger("error",t,o.data)}}if(a<=l.concurrency-l.buffer){trigger("unsaturated")}if(l.idle()){trigger("drain")}l.process()}}function _maybeDrain(e){if(e.length===0&&l.idle()){i((()=>trigger("drain")));return true}return false}const eventMethod=e=>t=>{if(!t){return new Promise(((t,r)=>{once(e,((e,n)=>{if(e)return r(e);t(n)}))}))}off(e);on(e,t)};var u=false;var l={_tasks:new DLL,*[Symbol.iterator](){yield*l._tasks[Symbol.iterator]()},concurrency:t,payload:r,buffer:t/4,started:false,paused:false,push(e,t){if(Array.isArray(e)){if(_maybeDrain(e))return;return e.map((e=>_insert(e,false,false,t)))}return _insert(e,false,false,t)},pushAsync(e,t){if(Array.isArray(e)){if(_maybeDrain(e))return;return e.map((e=>_insert(e,false,true,t)))}return _insert(e,false,true,t)},kill(){off();l._tasks.empty()},unshift(e,t){if(Array.isArray(e)){if(_maybeDrain(e))return;return e.map((e=>_insert(e,true,false,t)))}return _insert(e,true,false,t)},unshiftAsync(e,t){if(Array.isArray(e)){if(_maybeDrain(e))return;return e.map((e=>_insert(e,true,true,t)))}return _insert(e,true,true,t)},remove(e){l._tasks.remove(e)},process(){if(u){return}u=true;while(!l.paused&&a{i(t,e,((e,r)=>{t=r;n(e)}))}),(e=>n(e,t)))}var S=awaitify(reduce,4);function seq(...e){var t=e.map(wrapAsync);return function(...e){var r=this;var n=e[e.length-1];if(typeof n=="function"){e.pop()}else{n=promiseCallback()}S(t,e,((e,t,n)=>{t.apply(r,e.concat(((e,...t)=>{n(e,t)})))}),((e,t)=>n(e,...t)));return n[m]}}function compose(...e){return seq(...e.reverse())}function mapLimit(e,t,r,n){return _asyncMap(eachOfLimit(t),e,r,n)}var E=awaitify(mapLimit,4);function concatLimit(e,t,r,n){var i=wrapAsync(r);return E(e,t,((e,t)=>{i(e,((e,...r)=>{if(e)return t(e);return t(e,r)}))}),((e,t)=>{var r=[];for(var i=0;i{var o=false;var c;const u=wrapAsync(i);r(n,((r,n,i)=>{u(r,((n,s)=>{if(n||n===false)return i(n);if(e(s)&&!c){o=true;c=t(true,r);return i(null,a)}i()}))}),(e=>{if(e)return s(e);s(null,o?c:t(false))}))}}function detect(e,t,r){return _createTester((e=>e),((e,t)=>t))(o,e,t,r)}var _=awaitify(detect,3);function detectLimit(e,t,r,n){return _createTester((e=>e),((e,t)=>t))(eachOfLimit(t),e,r,n)}var k=awaitify(detectLimit,4);function detectSeries(e,t,r){return _createTester((e=>e),((e,t)=>t))(eachOfLimit(1),e,t,r)}var x=awaitify(detectSeries,3);function consoleFunc(e){return(t,...r)=>wrapAsync(t)(...r,((t,...r)=>{if(typeof console==="object"){if(t){if(console.error){console.error(t)}}else if(console[e]){r.forEach((t=>console[e](t)))}}}))}var A=consoleFunc("dir");function doWhilst(e,t,r){r=onlyOnce(r);var n=wrapAsync(e);var i=wrapAsync(t);var a;function next(e,...t){if(e)return r(e);if(e===false)return;a=t;i(...t,check)}function check(e,t){if(e)return r(e);if(e===false)return;if(!t)return r(null,...a);n(next)}return check(null,true)}var C=awaitify(doWhilst,3);function doUntil(e,t,r){const n=wrapAsync(t);return C(e,((...e)=>{const t=e.pop();n(...e,((e,r)=>t(e,!r)))}),r)}function _withoutIndex(e){return(t,r,n)=>e(t,n)}function eachLimit(e,t,r){return o(e,_withoutIndex(wrapAsync(t)),r)}var N=awaitify(eachLimit,3);function eachLimit$1(e,t,r,n){return eachOfLimit(t)(e,_withoutIndex(wrapAsync(r)),n)}var O=awaitify(eachLimit$1,4);function eachSeries(e,t,r){return O(e,1,t,r)}var I=awaitify(eachSeries,3);function ensureAsync(e){if(isAsync(e))return e;return function(...t){var r=t.pop();var n=true;t.push(((...e)=>{if(n){i((()=>r(...e)))}else{r(...e)}}));e.apply(this,t);n=false}}function every(e,t,r){return _createTester((e=>!e),(e=>!e))(o,e,t,r)}var D=awaitify(every,3);function everyLimit(e,t,r,n){return _createTester((e=>!e),(e=>!e))(eachOfLimit(t),e,r,n)}var L=awaitify(everyLimit,4);function everySeries(e,t,r){return _createTester((e=>!e),(e=>!e))(l,e,t,r)}var P=awaitify(everySeries,3);function filterArray(e,t,r,n){var i=new Array(t.length);e(t,((e,t,n)=>{r(e,((e,r)=>{i[t]=!!r;n(e)}))}),(e=>{if(e)return n(e);var r=[];for(var a=0;a{r(e,((r,a)=>{if(r)return n(r);if(a){i.push({index:t,value:e})}n(r)}))}),(e=>{if(e)return n(e);n(null,i.sort(((e,t)=>e.index-t.index)).map((e=>e.value)))}))}function _filter(e,t,r,n){var i=isArrayLike(t)?filterArray:filterGeneric;return i(e,t,wrapAsync(r),n)}function filter(e,t,r){return _filter(o,e,t,r)}var j=awaitify(filter,3);function filterLimit(e,t,r,n){return _filter(eachOfLimit(t),e,r,n)}var M=awaitify(filterLimit,4);function filterSeries(e,t,r){return _filter(l,e,t,r)}var R=awaitify(filterSeries,3);function forever(e,t){var r=onlyOnce(t);var n=wrapAsync(ensureAsync(e));function next(e){if(e)return r(e);if(e===false)return;n(next)}return next()}var B=awaitify(forever,2);function groupByLimit(e,t,r,n){var i=wrapAsync(r);return E(e,t,((e,t)=>{i(e,((r,n)=>{if(r)return t(r);return t(r,{key:n,val:e})}))}),((e,t)=>{var r={};var{hasOwnProperty:i}=Object.prototype;for(var a=0;a{a(e,t,((e,n)=>{if(e)return r(e);i[t]=n;r(e)}))}),(e=>n(e,i)))}var q=awaitify(mapValuesLimit,4);function mapValues(e,t,r){return q(e,Infinity,t,r)}function mapValuesSeries(e,t,r){return q(e,1,t,r)}function memoize(e,t=(e=>e)){var r=Object.create(null);var n=Object.create(null);var a=wrapAsync(e);var s=initialParams(((e,s)=>{var o=t(...e);if(o in r){i((()=>s(null,...r[o])))}else if(o in n){n[o].push(s)}else{n[o]=[s];a(...e,((e,...t)=>{if(!e){r[o]=t}var i=n[o];delete n[o];for(var a=0,s=i.length;a{var n=isArrayLike(t)?[]:{};e(t,((e,t,r)=>{wrapAsync(e)(((e,...i)=>{if(i.length<2){[i]=i}n[t]=i;r(e)}))}),(e=>r(e,n)))}),3);function parallel$1(e,t){return V(o,e,t)}function parallelLimit(e,t,r){return V(eachOfLimit(t),e,r)}function queue$1(e,t){var r=wrapAsync(e);return queue(((e,t)=>{r(e[0],t)}),t,1)}class Heap{constructor(){this.heap=[];this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){this.heap=[];return this}percUp(e){let t;while(e>0&&smaller(this.heap[e],this.heap[t=parent(e)])){let r=this.heap[e];this.heap[e]=this.heap[t];this.heap[t]=r;e=t}}percDown(e){let t;while((t=leftChi(e))=0;e--){this.percDown(e)}return this}}function leftChi(e){return(e<<1)+1}function parent(e){return(e+1>>1)-1}function smaller(e,t){if(e.priority!==t.priority){return e.priority{})){if(typeof n!=="function"){throw new Error("task callback must be a function")}r.started=true;if(!Array.isArray(e)){e=[e]}if(e.length===0&&r.idle()){return i((()=>r.drain()))}for(var a=0,s=e.length;a{let n={};if(e){n.error=e}if(t.length>0){var i=t;if(t.length<=1){[i]=t}n.value=i}r(null,n)}));return t.apply(this,e)}))}function reflectAll(e){var t;if(Array.isArray(e)){t=e.map(reflect)}else{t={};Object.keys(e).forEach((r=>{t[r]=reflect.call(this,e[r])}))}return t}function reject(e,t,r,n){const i=wrapAsync(r);return _filter(e,t,((e,t)=>{i(e,((e,r)=>{t(e,!r)}))}),n)}function reject$1(e,t,r){return reject(o,e,t,r)}var X=awaitify(reject$1,3);function rejectLimit(e,t,r,n){return reject(eachOfLimit(t),e,r,n)}var Y=awaitify(rejectLimit,4);function rejectSeries(e,t,r){return reject(l,e,t,r)}var Q=awaitify(rejectSeries,3);function constant$1(e){return function(){return e}}const H=5;const J=0;function retry(e,t,r){var n={times:H,intervalFunc:constant$1(J)};if(arguments.length<3&&typeof e==="function"){r=t||promiseCallback();t=e}else{parseTimes(n,e);r=r||promiseCallback()}if(typeof t!=="function"){throw new Error("Invalid arguments for async.retry")}var i=wrapAsync(t);var a=1;function retryAttempt(){i(((e,...t)=>{if(e===false)return;if(e&&a++{if(t.lengthe))(o,e,t,r)}var z=awaitify(some,3);function someLimit(e,t,r,n){return _createTester(Boolean,(e=>e))(eachOfLimit(t),e,r,n)}var Z=awaitify(someLimit,4);function someSeries(e,t,r){return _createTester(Boolean,(e=>e))(l,e,t,r)}var ee=awaitify(someSeries,3);function sortBy(e,t,r){var n=wrapAsync(t);return c(e,((e,t)=>{n(e,((r,n)=>{if(r)return t(r);t(r,{value:e,criteria:n})}))}),((e,t)=>{if(e)return r(e);r(null,t.sort(comparator).map((e=>e.value)))}));function comparator(e,t){var r=e.criteria,n=t.criteria;return rn?1:0}}var te=awaitify(sortBy,3);function timeout(e,t,r){var n=wrapAsync(e);return initialParams(((i,a)=>{var s=false;var o;function timeoutCallback(){var t=e.name||"anonymous";var n=new Error('Callback function "'+t+'" timed out.');n.code="ETIMEDOUT";if(r){n.info=r}s=true;a(n)}i.push(((...e)=>{if(!s){a(...e);clearTimeout(o)}}));o=setTimeout(timeoutCallback,t);n(...i)}))}function range(e){var t=Array(e);while(e--){t[e]=e}return t}function timesLimit(e,t,r,n){var i=wrapAsync(r);return E(range(e),t,i,n)}function times(e,t,r){return timesLimit(e,Infinity,t,r)}function timesSeries(e,t,r){return timesLimit(e,1,t,r)}function transform(e,t,r,n){if(arguments.length<=3&&typeof t==="function"){n=r;r=t;t=Array.isArray(e)?[]:{}}n=once(n||promiseCallback());var i=wrapAsync(r);o(e,((e,r,n)=>{i(t,e,r,n)}),(e=>n(e,t)));return n[m]}function tryEach(e,t){var r=null;var n;return I(e,((e,t)=>{wrapAsync(e)(((e,...i)=>{if(e===false)return t(e);if(i.length<2){[n]=i}else{n=i}r=e;t(e?null:{})}))}),(()=>t(r,n)))}var re=awaitify(tryEach);function unmemoize(e){return(...t)=>(e.unmemoized||e)(...t)}function whilst(e,t,r){r=onlyOnce(r);var n=wrapAsync(t);var i=wrapAsync(e);var a=[];function next(e,...t){if(e)return r(e);a=t;if(e===false)return;i(check)}function check(e,t){if(e)return r(e);if(e===false)return;if(!t)return r(null,...a);n(next)}return i(check)}var ne=awaitify(whilst,3);function until(e,t,r){const n=wrapAsync(e);return ne((e=>n(((t,r)=>e(t,!r)))),t,r)}function waterfall(e,t){t=once(t);if(!Array.isArray(e))return t(new Error("First argument to waterfall must be an array of functions"));if(!e.length)return t();var r=0;function nextTask(t){var n=wrapAsync(e[r++]);n(...t,onlyOnce(next))}function next(n,...i){if(n===false)return;if(n||r===e.length){return t(n,...i)}nextTask(i)}nextTask([])}var ie=awaitify(waterfall);var ae={apply:apply,applyEach:u,applyEachSeries:p,asyncify:asyncify,auto:auto,autoInject:autoInject,cargo:cargo,cargoQueue:cargo$1,compose:compose,concat:b,concatLimit:w,concatSeries:T,constant:constant,detect:_,detectLimit:k,detectSeries:x,dir:A,doUntil:doUntil,doWhilst:C,each:N,eachLimit:O,eachOf:o,eachOfLimit:s,eachOfSeries:l,eachSeries:I,ensureAsync:ensureAsync,every:D,everyLimit:L,everySeries:P,filter:j,filterLimit:M,filterSeries:R,forever:B,groupBy:groupBy,groupByLimit:K,groupBySeries:groupBySeries,log:$,map:c,mapLimit:E,mapSeries:f,mapValues:mapValues,mapValuesLimit:q,mapValuesSeries:mapValuesSeries,memoize:memoize,nextTick:W,parallel:parallel$1,parallelLimit:parallelLimit,priorityQueue:priorityQueue,queue:queue$1,race:G,reduce:S,reduceRight:reduceRight,reflect:reflect,reflectAll:reflectAll,reject:X,rejectLimit:Y,rejectSeries:Q,retry:retry,retryable:retryable,seq:seq,series:series,setImmediate:i,some:z,someLimit:Z,someSeries:ee,sortBy:te,timeout:timeout,times:times,timesLimit:timesLimit,timesSeries:timesSeries,transform:transform,tryEach:re,unmemoize:unmemoize,until:until,waterfall:ie,whilst:ne,all:D,allLimit:L,allSeries:P,any:z,anyLimit:Z,anySeries:ee,find:_,findLimit:k,findSeries:x,flatMap:b,flatMapLimit:w,flatMapSeries:T,forEach:N,forEachSeries:I,forEachLimit:O,forEachOf:o,forEachOfSeries:l,forEachOfLimit:s,inject:S,foldl:S,foldr:reduceRight,select:j,selectLimit:M,selectSeries:R,wrapSync:asyncify,during:ne,doDuring:C};e.default=ae;e.apply=apply;e.applyEach=u;e.applyEachSeries=p;e.asyncify=asyncify;e.auto=auto;e.autoInject=autoInject;e.cargo=cargo;e.cargoQueue=cargo$1;e.compose=compose;e.concat=b;e.concatLimit=w;e.concatSeries=T;e.constant=constant;e.detect=_;e.detectLimit=k;e.detectSeries=x;e.dir=A;e.doUntil=doUntil;e.doWhilst=C;e.each=N;e.eachLimit=O;e.eachOf=o;e.eachOfLimit=s;e.eachOfSeries=l;e.eachSeries=I;e.ensureAsync=ensureAsync;e.every=D;e.everyLimit=L;e.everySeries=P;e.filter=j;e.filterLimit=M;e.filterSeries=R;e.forever=B;e.groupBy=groupBy;e.groupByLimit=K;e.groupBySeries=groupBySeries;e.log=$;e.map=c;e.mapLimit=E;e.mapSeries=f;e.mapValues=mapValues;e.mapValuesLimit=q;e.mapValuesSeries=mapValuesSeries;e.memoize=memoize;e.nextTick=W;e.parallel=parallel$1;e.parallelLimit=parallelLimit;e.priorityQueue=priorityQueue;e.queue=queue$1;e.race=G;e.reduce=S;e.reduceRight=reduceRight;e.reflect=reflect;e.reflectAll=reflectAll;e.reject=X;e.rejectLimit=Y;e.rejectSeries=Q;e.retry=retry;e.retryable=retryable;e.seq=seq;e.series=series;e.setImmediate=i;e.some=z;e.someLimit=Z;e.someSeries=ee;e.sortBy=te;e.timeout=timeout;e.times=times;e.timesLimit=timesLimit;e.timesSeries=timesSeries;e.transform=transform;e.tryEach=re;e.unmemoize=unmemoize;e.until=until;e.waterfall=ie;e.whilst=ne;e.all=D;e.allLimit=L;e.allSeries=P;e.any=z;e.anyLimit=Z;e.anySeries=ee;e.find=_;e.findLimit=k;e.findSeries=x;e.flatMap=b;e.flatMapLimit=w;e.flatMapSeries=T;e.forEach=N;e.forEachSeries=I;e.forEachLimit=O;e.forEachOf=o;e.forEachOfSeries=l;e.forEachOfLimit=s;e.inject=S;e.foldl=S;e.foldr=reduceRight;e.select=j;e.selectLimit=M;e.selectSeries=R;e.wrapSync=asyncify;e.during=ne;e.doDuring=C;Object.defineProperty(e,"__esModule",{value:true})}))},3338:(e,t,r)=>{"use strict";const n=r(7758);const i=r(5622);const a=r(8605).mkdirsSync;const s=r(2548).utimesMillisSync;const o=r(3901);function copySync(e,t,r){if(typeof r==="function"){r={filter:r}}r=r||{};r.clobber="clobber"in r?!!r.clobber:true;r.overwrite="overwrite"in r?!!r.overwrite:r.clobber;if(r.preserveTimestamps&&process.arch==="ia32"){console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n\n see https://github.com/jprichardson/node-fs-extra/issues/269`)}const{srcStat:n,destStat:i}=o.checkPathsSync(e,t,"copy",r);o.checkParentPathsSync(e,n,t,"copy");return handleFilterAndCopy(i,e,t,r)}function handleFilterAndCopy(e,t,r,s){if(s.filter&&!s.filter(t,r))return;const o=i.dirname(r);if(!n.existsSync(o))a(o);return getStats(e,t,r,s)}function startCopy(e,t,r,n){if(n.filter&&!n.filter(t,r))return;return getStats(e,t,r,n)}function getStats(e,t,r,i){const a=i.dereference?n.statSync:n.lstatSync;const s=a(t);if(s.isDirectory())return onDir(s,e,t,r,i);else if(s.isFile()||s.isCharacterDevice()||s.isBlockDevice())return onFile(s,e,t,r,i);else if(s.isSymbolicLink())return onLink(e,t,r,i);else if(s.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);else if(s.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}function onFile(e,t,r,n,i){if(!t)return copyFile(e,r,n,i);return mayCopyFile(e,r,n,i)}function mayCopyFile(e,t,r,i){if(i.overwrite){n.unlinkSync(r);return copyFile(e,t,r,i)}else if(i.errorOnExist){throw new Error(`'${r}' already exists`)}}function copyFile(e,t,r,i){n.copyFileSync(t,r);if(i.preserveTimestamps)handleTimestamps(e.mode,t,r);return setDestMode(r,e.mode)}function handleTimestamps(e,t,r){if(fileIsNotWritable(e))makeFileWritable(r,e);return setDestTimestamps(t,r)}function fileIsNotWritable(e){return(e&128)===0}function makeFileWritable(e,t){return setDestMode(e,t|128)}function setDestMode(e,t){return n.chmodSync(e,t)}function setDestTimestamps(e,t){const r=n.statSync(e);return s(t,r.atime,r.mtime)}function onDir(e,t,r,n,i){if(!t)return mkDirAndCopy(e.mode,r,n,i);return copyDir(r,n,i)}function mkDirAndCopy(e,t,r,i){n.mkdirSync(r);copyDir(t,r,i);return setDestMode(r,e)}function copyDir(e,t,r){n.readdirSync(e).forEach((n=>copyDirItem(n,e,t,r)))}function copyDirItem(e,t,r,n){const a=i.join(t,e);const s=i.join(r,e);const{destStat:c}=o.checkPathsSync(a,s,"copy",n);return startCopy(c,a,s,n)}function onLink(e,t,r,a){let s=n.readlinkSync(t);if(a.dereference){s=i.resolve(process.cwd(),s)}if(!e){return n.symlinkSync(s,r)}else{let e;try{e=n.readlinkSync(r)}catch(e){if(e.code==="EINVAL"||e.code==="UNKNOWN")return n.symlinkSync(s,r);throw e}if(a.dereference){e=i.resolve(process.cwd(),e)}if(o.isSrcSubdir(s,e)){throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${e}'.`)}if(n.statSync(r).isDirectory()&&o.isSrcSubdir(e,s)){throw new Error(`Cannot overwrite '${e}' with '${s}'.`)}return copyLink(s,r)}}function copyLink(e,t){n.unlinkSync(t);return n.symlinkSync(e,t)}e.exports=copySync},1135:(e,t,r)=>{"use strict";e.exports={copySync:r(3338)}},8834:(e,t,r)=>{"use strict";const n=r(7758);const i=r(5622);const a=r(8605).mkdirs;const s=r(3835).pathExists;const o=r(2548).utimesMillis;const c=r(3901);function copy(e,t,r,n){if(typeof r==="function"&&!n){n=r;r={}}else if(typeof r==="function"){r={filter:r}}n=n||function(){};r=r||{};r.clobber="clobber"in r?!!r.clobber:true;r.overwrite="overwrite"in r?!!r.overwrite:r.clobber;if(r.preserveTimestamps&&process.arch==="ia32"){console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n\n see https://github.com/jprichardson/node-fs-extra/issues/269`)}c.checkPaths(e,t,"copy",r,((i,a)=>{if(i)return n(i);const{srcStat:s,destStat:o}=a;c.checkParentPaths(e,s,t,"copy",(i=>{if(i)return n(i);if(r.filter)return handleFilter(checkParentDir,o,e,t,r,n);return checkParentDir(o,e,t,r,n)}))}))}function checkParentDir(e,t,r,n,o){const c=i.dirname(r);s(c,((i,s)=>{if(i)return o(i);if(s)return getStats(e,t,r,n,o);a(c,(i=>{if(i)return o(i);return getStats(e,t,r,n,o)}))}))}function handleFilter(e,t,r,n,i,a){Promise.resolve(i.filter(r,n)).then((s=>{if(s)return e(t,r,n,i,a);return a()}),(e=>a(e)))}function startCopy(e,t,r,n,i){if(n.filter)return handleFilter(getStats,e,t,r,n,i);return getStats(e,t,r,n,i)}function getStats(e,t,r,i,a){const s=i.dereference?n.stat:n.lstat;s(t,((n,s)=>{if(n)return a(n);if(s.isDirectory())return onDir(s,e,t,r,i,a);else if(s.isFile()||s.isCharacterDevice()||s.isBlockDevice())return onFile(s,e,t,r,i,a);else if(s.isSymbolicLink())return onLink(e,t,r,i,a);else if(s.isSocket())return a(new Error(`Cannot copy a socket file: ${t}`));else if(s.isFIFO())return a(new Error(`Cannot copy a FIFO pipe: ${t}`));return a(new Error(`Unknown file: ${t}`))}))}function onFile(e,t,r,n,i,a){if(!t)return copyFile(e,r,n,i,a);return mayCopyFile(e,r,n,i,a)}function mayCopyFile(e,t,r,i,a){if(i.overwrite){n.unlink(r,(n=>{if(n)return a(n);return copyFile(e,t,r,i,a)}))}else if(i.errorOnExist){return a(new Error(`'${r}' already exists`))}else return a()}function copyFile(e,t,r,i,a){n.copyFile(t,r,(n=>{if(n)return a(n);if(i.preserveTimestamps)return handleTimestampsAndMode(e.mode,t,r,a);return setDestMode(r,e.mode,a)}))}function handleTimestampsAndMode(e,t,r,n){if(fileIsNotWritable(e)){return makeFileWritable(r,e,(i=>{if(i)return n(i);return setDestTimestampsAndMode(e,t,r,n)}))}return setDestTimestampsAndMode(e,t,r,n)}function fileIsNotWritable(e){return(e&128)===0}function makeFileWritable(e,t,r){return setDestMode(e,t|128,r)}function setDestTimestampsAndMode(e,t,r,n){setDestTimestamps(t,r,(t=>{if(t)return n(t);return setDestMode(r,e,n)}))}function setDestMode(e,t,r){return n.chmod(e,t,r)}function setDestTimestamps(e,t,r){n.stat(e,((e,n)=>{if(e)return r(e);return o(t,n.atime,n.mtime,r)}))}function onDir(e,t,r,n,i,a){if(!t)return mkDirAndCopy(e.mode,r,n,i,a);return copyDir(r,n,i,a)}function mkDirAndCopy(e,t,r,i,a){n.mkdir(r,(n=>{if(n)return a(n);copyDir(t,r,i,(t=>{if(t)return a(t);return setDestMode(r,e,a)}))}))}function copyDir(e,t,r,i){n.readdir(e,((n,a)=>{if(n)return i(n);return copyDirItems(a,e,t,r,i)}))}function copyDirItems(e,t,r,n,i){const a=e.pop();if(!a)return i();return copyDirItem(e,a,t,r,n,i)}function copyDirItem(e,t,r,n,a,s){const o=i.join(r,t);const u=i.join(n,t);c.checkPaths(o,u,"copy",a,((t,i)=>{if(t)return s(t);const{destStat:c}=i;startCopy(c,o,u,a,(t=>{if(t)return s(t);return copyDirItems(e,r,n,a,s)}))}))}function onLink(e,t,r,a,s){n.readlink(t,((t,o)=>{if(t)return s(t);if(a.dereference){o=i.resolve(process.cwd(),o)}if(!e){return n.symlink(o,r,s)}else{n.readlink(r,((t,u)=>{if(t){if(t.code==="EINVAL"||t.code==="UNKNOWN")return n.symlink(o,r,s);return s(t)}if(a.dereference){u=i.resolve(process.cwd(),u)}if(c.isSrcSubdir(o,u)){return s(new Error(`Cannot copy '${o}' to a subdirectory of itself, '${u}'.`))}if(e.isDirectory()&&c.isSrcSubdir(u,o)){return s(new Error(`Cannot overwrite '${u}' with '${o}'.`))}return copyLink(o,r,s)}))}}))}function copyLink(e,t,r){n.unlink(t,(i=>{if(i)return r(i);return n.symlink(e,t,r)}))}e.exports=copy},1335:(e,t,r)=>{"use strict";const n=r(9046).fromCallback;e.exports={copy:n(r(8834))}},6970:(e,t,r)=>{"use strict";const n=r(9046).fromPromise;const i=r(1176);const a=r(5622);const s=r(8605);const o=r(7357);const c=n((async function emptyDir(e){let t;try{t=await i.readdir(e)}catch{return s.mkdirs(e)}return Promise.all(t.map((t=>o.remove(a.join(e,t)))))}));function emptyDirSync(e){let t;try{t=i.readdirSync(e)}catch{return s.mkdirsSync(e)}t.forEach((t=>{t=a.join(e,t);o.removeSync(t)}))}e.exports={emptyDirSync:emptyDirSync,emptydirSync:emptyDirSync,emptyDir:c,emptydir:c}},2164:(e,t,r)=>{"use strict";const n=r(9046).fromCallback;const i=r(5622);const a=r(7758);const s=r(8605);function createFile(e,t){function makeFile(){a.writeFile(e,"",(e=>{if(e)return t(e);t()}))}a.stat(e,((r,n)=>{if(!r&&n.isFile())return t();const o=i.dirname(e);a.stat(o,((e,r)=>{if(e){if(e.code==="ENOENT"){return s.mkdirs(o,(e=>{if(e)return t(e);makeFile()}))}return t(e)}if(r.isDirectory())makeFile();else{a.readdir(o,(e=>{if(e)return t(e)}))}}))}))}function createFileSync(e){let t;try{t=a.statSync(e)}catch{}if(t&&t.isFile())return;const r=i.dirname(e);try{if(!a.statSync(r).isDirectory()){a.readdirSync(r)}}catch(e){if(e&&e.code==="ENOENT")s.mkdirsSync(r);else throw e}a.writeFileSync(e,"")}e.exports={createFile:n(createFile),createFileSync:createFileSync}},55:(e,t,r)=>{"use strict";const n=r(2164);const i=r(3797);const a=r(2549);e.exports={createFile:n.createFile,createFileSync:n.createFileSync,ensureFile:n.createFile,ensureFileSync:n.createFileSync,createLink:i.createLink,createLinkSync:i.createLinkSync,ensureLink:i.createLink,ensureLinkSync:i.createLinkSync,createSymlink:a.createSymlink,createSymlinkSync:a.createSymlinkSync,ensureSymlink:a.createSymlink,ensureSymlinkSync:a.createSymlinkSync}},3797:(e,t,r)=>{"use strict";const n=r(9046).fromCallback;const i=r(5622);const a=r(7758);const s=r(8605);const o=r(3835).pathExists;const{areIdentical:c}=r(3901);function createLink(e,t,r){function makeLink(e,t){a.link(e,t,(e=>{if(e)return r(e);r(null)}))}a.lstat(t,((n,u)=>{a.lstat(e,((n,a)=>{if(n){n.message=n.message.replace("lstat","ensureLink");return r(n)}if(u&&c(a,u))return r(null);const l=i.dirname(t);o(l,((n,i)=>{if(n)return r(n);if(i)return makeLink(e,t);s.mkdirs(l,(n=>{if(n)return r(n);makeLink(e,t)}))}))}))}))}function createLinkSync(e,t){let r;try{r=a.lstatSync(t)}catch{}try{const t=a.lstatSync(e);if(r&&c(t,r))return}catch(e){e.message=e.message.replace("lstat","ensureLink");throw e}const n=i.dirname(t);const o=a.existsSync(n);if(o)return a.linkSync(e,t);s.mkdirsSync(n);return a.linkSync(e,t)}e.exports={createLink:n(createLink),createLinkSync:createLinkSync}},3727:(e,t,r)=>{"use strict";const n=r(5622);const i=r(7758);const a=r(3835).pathExists;function symlinkPaths(e,t,r){if(n.isAbsolute(e)){return i.lstat(e,(t=>{if(t){t.message=t.message.replace("lstat","ensureSymlink");return r(t)}return r(null,{toCwd:e,toDst:e})}))}else{const s=n.dirname(t);const o=n.join(s,e);return a(o,((t,a)=>{if(t)return r(t);if(a){return r(null,{toCwd:o,toDst:e})}else{return i.lstat(e,(t=>{if(t){t.message=t.message.replace("lstat","ensureSymlink");return r(t)}return r(null,{toCwd:e,toDst:n.relative(s,e)})}))}}))}}function symlinkPathsSync(e,t){let r;if(n.isAbsolute(e)){r=i.existsSync(e);if(!r)throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}else{const a=n.dirname(t);const s=n.join(a,e);r=i.existsSync(s);if(r){return{toCwd:s,toDst:e}}else{r=i.existsSync(e);if(!r)throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:n.relative(a,e)}}}}e.exports={symlinkPaths:symlinkPaths,symlinkPathsSync:symlinkPathsSync}},8254:(e,t,r)=>{"use strict";const n=r(7758);function symlinkType(e,t,r){r=typeof t==="function"?t:r;t=typeof t==="function"?false:t;if(t)return r(null,t);n.lstat(e,((e,n)=>{if(e)return r(null,"file");t=n&&n.isDirectory()?"dir":"file";r(null,t)}))}function symlinkTypeSync(e,t){let r;if(t)return t;try{r=n.lstatSync(e)}catch{return"file"}return r&&r.isDirectory()?"dir":"file"}e.exports={symlinkType:symlinkType,symlinkTypeSync:symlinkTypeSync}},2549:(e,t,r)=>{"use strict";const n=r(9046).fromCallback;const i=r(5622);const a=r(1176);const s=r(8605);const o=s.mkdirs;const c=s.mkdirsSync;const u=r(3727);const l=u.symlinkPaths;const f=u.symlinkPathsSync;const p=r(8254);const m=p.symlinkType;const y=p.symlinkTypeSync;const d=r(3835).pathExists;const{areIdentical:h}=r(3901);function createSymlink(e,t,r,n){n=typeof r==="function"?r:n;r=typeof r==="function"?false:r;a.lstat(t,((i,s)=>{if(!i&&s.isSymbolicLink()){Promise.all([a.stat(e),a.stat(t)]).then((([i,a])=>{if(h(i,a))return n(null);_createSymlink(e,t,r,n)}))}else _createSymlink(e,t,r,n)}))}function _createSymlink(e,t,r,n){l(e,t,((s,c)=>{if(s)return n(s);e=c.toDst;m(c.toCwd,r,((r,s)=>{if(r)return n(r);const c=i.dirname(t);d(c,((r,i)=>{if(r)return n(r);if(i)return a.symlink(e,t,s,n);o(c,(r=>{if(r)return n(r);a.symlink(e,t,s,n)}))}))}))}))}function createSymlinkSync(e,t,r){let n;try{n=a.lstatSync(t)}catch{}if(n&&n.isSymbolicLink()){const r=a.statSync(e);const n=a.statSync(t);if(h(r,n))return}const s=f(e,t);e=s.toDst;r=y(s.toCwd,r);const o=i.dirname(t);const u=a.existsSync(o);if(u)return a.symlinkSync(e,t,r);c(o);return a.symlinkSync(e,t,r)}e.exports={createSymlink:n(createSymlink),createSymlinkSync:createSymlinkSync}},1176:(e,t,r)=>{"use strict";const n=r(9046).fromCallback;const i=r(7758);const a=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter((e=>typeof i[e]==="function"));Object.assign(t,i);a.forEach((e=>{t[e]=n(i[e])}));t.realpath.native=n(i.realpath.native);t.exists=function(e,t){if(typeof t==="function"){return i.exists(e,t)}return new Promise((t=>i.exists(e,t)))};t.read=function(e,t,r,n,a,s){if(typeof s==="function"){return i.read(e,t,r,n,a,s)}return new Promise(((s,o)=>{i.read(e,t,r,n,a,((e,t,r)=>{if(e)return o(e);s({bytesRead:t,buffer:r})}))}))};t.write=function(e,t,...r){if(typeof r[r.length-1]==="function"){return i.write(e,t,...r)}return new Promise(((n,a)=>{i.write(e,t,...r,((e,t,r)=>{if(e)return a(e);n({bytesWritten:t,buffer:r})}))}))};if(typeof i.writev==="function"){t.writev=function(e,t,...r){if(typeof r[r.length-1]==="function"){return i.writev(e,t,...r)}return new Promise(((n,a)=>{i.writev(e,t,...r,((e,t,r)=>{if(e)return a(e);n({bytesWritten:t,buffers:r})}))}))}}},5630:(e,t,r)=>{"use strict";e.exports={...r(1176),...r(1135),...r(1335),...r(6970),...r(55),...r(213),...r(8605),...r(9665),...r(1497),...r(6570),...r(3835),...r(7357)}},213:(e,t,r)=>{"use strict";const n=r(9046).fromPromise;const i=r(8970);i.outputJson=n(r(531));i.outputJsonSync=r(9421);i.outputJSON=i.outputJson;i.outputJSONSync=i.outputJsonSync;i.writeJSON=i.writeJson;i.writeJSONSync=i.writeJsonSync;i.readJSON=i.readJson;i.readJSONSync=i.readJsonSync;e.exports=i},8970:(e,t,r)=>{"use strict";const n=r(6160);e.exports={readJson:n.readFile,readJsonSync:n.readFileSync,writeJson:n.writeFile,writeJsonSync:n.writeFileSync}},9421:(e,t,r)=>{"use strict";const{stringify:n}=r(5902);const{outputFileSync:i}=r(6570);function outputJsonSync(e,t,r){const a=n(t,r);i(e,a,r)}e.exports=outputJsonSync},531:(e,t,r)=>{"use strict";const{stringify:n}=r(5902);const{outputFile:i}=r(6570);async function outputJson(e,t,r={}){const a=n(t,r);await i(e,a,r)}e.exports=outputJson},8605:(e,t,r)=>{"use strict";const n=r(9046).fromPromise;const{makeDir:i,makeDirSync:a}=r(2751);const s=n(i);e.exports={mkdirs:s,mkdirsSync:a,mkdirp:s,mkdirpSync:a,ensureDir:s,ensureDirSync:a}},2751:(e,t,r)=>{"use strict";const n=r(1176);const{checkPath:i}=r(9907);const getMode=e=>{const t={mode:511};if(typeof e==="number")return e;return{...t,...e}.mode};e.exports.makeDir=async(e,t)=>{i(e);return n.mkdir(e,{mode:getMode(t),recursive:true})};e.exports.makeDirSync=(e,t)=>{i(e);return n.mkdirSync(e,{mode:getMode(t),recursive:true})}},9907:(e,t,r)=>{"use strict";const n=r(5622);e.exports.checkPath=function checkPath(e){if(process.platform==="win32"){const t=/[<>:"|?*]/.test(e.replace(n.parse(e).root,""));if(t){const t=new Error(`Path contains invalid characters: ${e}`);t.code="EINVAL";throw t}}}},9665:(e,t,r)=>{"use strict";e.exports={moveSync:r(6445)}},6445:(e,t,r)=>{"use strict";const n=r(7758);const i=r(5622);const a=r(1135).copySync;const s=r(7357).removeSync;const o=r(8605).mkdirpSync;const c=r(3901);function moveSync(e,t,r){r=r||{};const n=r.overwrite||r.clobber||false;const{srcStat:a,isChangingCase:s=false}=c.checkPathsSync(e,t,"move",r);c.checkParentPathsSync(e,a,t,"move");if(!isParentRoot(t))o(i.dirname(t));return doRename(e,t,n,s)}function isParentRoot(e){const t=i.dirname(e);const r=i.parse(t);return r.root===t}function doRename(e,t,r,i){if(i)return rename(e,t,r);if(r){s(t);return rename(e,t,r)}if(n.existsSync(t))throw new Error("dest already exists.");return rename(e,t,r)}function rename(e,t,r){try{n.renameSync(e,t)}catch(n){if(n.code!=="EXDEV")throw n;return moveAcrossDevice(e,t,r)}}function moveAcrossDevice(e,t,r){const n={overwrite:r,errorOnExist:true};a(e,t,n);return s(e)}e.exports=moveSync},1497:(e,t,r)=>{"use strict";const n=r(9046).fromCallback;e.exports={move:n(r(2231))}},2231:(e,t,r)=>{"use strict";const n=r(7758);const i=r(5622);const a=r(1335).copy;const s=r(7357).remove;const o=r(8605).mkdirp;const c=r(3835).pathExists;const u=r(3901);function move(e,t,r,n){if(typeof r==="function"){n=r;r={}}const a=r.overwrite||r.clobber||false;u.checkPaths(e,t,"move",r,((r,s)=>{if(r)return n(r);const{srcStat:c,isChangingCase:l=false}=s;u.checkParentPaths(e,c,t,"move",(r=>{if(r)return n(r);if(isParentRoot(t))return doRename(e,t,a,l,n);o(i.dirname(t),(r=>{if(r)return n(r);return doRename(e,t,a,l,n)}))}))}))}function isParentRoot(e){const t=i.dirname(e);const r=i.parse(t);return r.root===t}function doRename(e,t,r,n,i){if(n)return rename(e,t,r,i);if(r){return s(t,(n=>{if(n)return i(n);return rename(e,t,r,i)}))}c(t,((n,a)=>{if(n)return i(n);if(a)return i(new Error("dest already exists."));return rename(e,t,r,i)}))}function rename(e,t,r,i){n.rename(e,t,(n=>{if(!n)return i();if(n.code!=="EXDEV")return i(n);return moveAcrossDevice(e,t,r,i)}))}function moveAcrossDevice(e,t,r,n){const i={overwrite:r,errorOnExist:true};a(e,t,i,(t=>{if(t)return n(t);return s(e,n)}))}e.exports=move},6570:(e,t,r)=>{"use strict";const n=r(9046).fromCallback;const i=r(7758);const a=r(5622);const s=r(8605);const o=r(3835).pathExists;function outputFile(e,t,r,n){if(typeof r==="function"){n=r;r="utf8"}const c=a.dirname(e);o(c,((a,o)=>{if(a)return n(a);if(o)return i.writeFile(e,t,r,n);s.mkdirs(c,(a=>{if(a)return n(a);i.writeFile(e,t,r,n)}))}))}function outputFileSync(e,...t){const r=a.dirname(e);if(i.existsSync(r)){return i.writeFileSync(e,...t)}s.mkdirsSync(r);i.writeFileSync(e,...t)}e.exports={outputFile:n(outputFile),outputFileSync:outputFileSync}},3835:(e,t,r)=>{"use strict";const n=r(9046).fromPromise;const i=r(1176);function pathExists(e){return i.access(e).then((()=>true)).catch((()=>false))}e.exports={pathExists:n(pathExists),pathExistsSync:i.existsSync}},7357:(e,t,r)=>{"use strict";const n=r(7758);const i=r(9046).fromCallback;const a=r(8761);function remove(e,t){if(n.rm)return n.rm(e,{recursive:true,force:true},t);a(e,t)}function removeSync(e){if(n.rmSync)return n.rmSync(e,{recursive:true,force:true});a.sync(e)}e.exports={remove:i(remove),removeSync:removeSync}},8761:(e,t,r)=>{"use strict";const n=r(7758);const i=r(5622);const a=r(2357);const s=process.platform==="win32";function defaults(e){const t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach((t=>{e[t]=e[t]||n[t];t=t+"Sync";e[t]=e[t]||n[t]}));e.maxBusyTries=e.maxBusyTries||3}function rimraf(e,t,r){let n=0;if(typeof t==="function"){r=t;t={}}a(e,"rimraf: missing path");a.strictEqual(typeof e,"string","rimraf: path should be a string");a.strictEqual(typeof r,"function","rimraf: callback function required");a(t,"rimraf: invalid options argument provided");a.strictEqual(typeof t,"object","rimraf: options should be object");defaults(t);rimraf_(e,t,(function CB(i){if(i){if((i.code==="EBUSY"||i.code==="ENOTEMPTY"||i.code==="EPERM")&&nrimraf_(e,t,CB)),r)}if(i.code==="ENOENT")i=null}r(i)}))}function rimraf_(e,t,r){a(e);a(t);a(typeof r==="function");t.lstat(e,((n,i)=>{if(n&&n.code==="ENOENT"){return r(null)}if(n&&n.code==="EPERM"&&s){return fixWinEPERM(e,t,n,r)}if(i&&i.isDirectory()){return rmdir(e,t,n,r)}t.unlink(e,(n=>{if(n){if(n.code==="ENOENT"){return r(null)}if(n.code==="EPERM"){return s?fixWinEPERM(e,t,n,r):rmdir(e,t,n,r)}if(n.code==="EISDIR"){return rmdir(e,t,n,r)}}return r(n)}))}))}function fixWinEPERM(e,t,r,n){a(e);a(t);a(typeof n==="function");t.chmod(e,438,(i=>{if(i){n(i.code==="ENOENT"?null:r)}else{t.stat(e,((i,a)=>{if(i){n(i.code==="ENOENT"?null:r)}else if(a.isDirectory()){rmdir(e,t,r,n)}else{t.unlink(e,n)}}))}}))}function fixWinEPERMSync(e,t,r){let n;a(e);a(t);try{t.chmodSync(e,438)}catch(e){if(e.code==="ENOENT"){return}else{throw r}}try{n=t.statSync(e)}catch(e){if(e.code==="ENOENT"){return}else{throw r}}if(n.isDirectory()){rmdirSync(e,t,r)}else{t.unlinkSync(e)}}function rmdir(e,t,r,n){a(e);a(t);a(typeof n==="function");t.rmdir(e,(i=>{if(i&&(i.code==="ENOTEMPTY"||i.code==="EEXIST"||i.code==="EPERM")){rmkids(e,t,n)}else if(i&&i.code==="ENOTDIR"){n(r)}else{n(i)}}))}function rmkids(e,t,r){a(e);a(t);a(typeof r==="function");t.readdir(e,((n,a)=>{if(n)return r(n);let s=a.length;let o;if(s===0)return t.rmdir(e,r);a.forEach((n=>{rimraf(i.join(e,n),t,(n=>{if(o){return}if(n)return r(o=n);if(--s===0){t.rmdir(e,r)}}))}))}))}function rimrafSync(e,t){let r;t=t||{};defaults(t);a(e,"rimraf: missing path");a.strictEqual(typeof e,"string","rimraf: path should be a string");a(t,"rimraf: missing options");a.strictEqual(typeof t,"object","rimraf: options should be object");try{r=t.lstatSync(e)}catch(r){if(r.code==="ENOENT"){return}if(r.code==="EPERM"&&s){fixWinEPERMSync(e,t,r)}}try{if(r&&r.isDirectory()){rmdirSync(e,t,null)}else{t.unlinkSync(e)}}catch(r){if(r.code==="ENOENT"){return}else if(r.code==="EPERM"){return s?fixWinEPERMSync(e,t,r):rmdirSync(e,t,r)}else if(r.code!=="EISDIR"){throw r}rmdirSync(e,t,r)}}function rmdirSync(e,t,r){a(e);a(t);try{t.rmdirSync(e)}catch(n){if(n.code==="ENOTDIR"){throw r}else if(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM"){rmkidsSync(e,t)}else if(n.code!=="ENOENT"){throw n}}}function rmkidsSync(e,t){a(e);a(t);t.readdirSync(e).forEach((r=>rimrafSync(i.join(e,r),t)));if(s){const r=Date.now();do{try{const r=t.rmdirSync(e,t);return r}catch{}}while(Date.now()-r<500)}else{const r=t.rmdirSync(e,t);return r}}e.exports=rimraf;rimraf.sync=rimrafSync},3901:(e,t,r)=>{"use strict";const n=r(1176);const i=r(5622);const a=r(1669);function getStats(e,t,r){const i=r.dereference?e=>n.stat(e,{bigint:true}):e=>n.lstat(e,{bigint:true});return Promise.all([i(e),i(t).catch((e=>{if(e.code==="ENOENT")return null;throw e}))]).then((([e,t])=>({srcStat:e,destStat:t})))}function getStatsSync(e,t,r){let i;const a=r.dereference?e=>n.statSync(e,{bigint:true}):e=>n.lstatSync(e,{bigint:true});const s=a(e);try{i=a(t)}catch(e){if(e.code==="ENOENT")return{srcStat:s,destStat:null};throw e}return{srcStat:s,destStat:i}}function checkPaths(e,t,r,n,s){a.callbackify(getStats)(e,t,n,((n,a)=>{if(n)return s(n);const{srcStat:o,destStat:c}=a;if(c){if(areIdentical(o,c)){const n=i.basename(e);const a=i.basename(t);if(r==="move"&&n!==a&&n.toLowerCase()===a.toLowerCase()){return s(null,{srcStat:o,destStat:c,isChangingCase:true})}return s(new Error("Source and destination must not be the same."))}if(o.isDirectory()&&!c.isDirectory()){return s(new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`))}if(!o.isDirectory()&&c.isDirectory()){return s(new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`))}}if(o.isDirectory()&&isSrcSubdir(e,t)){return s(new Error(errMsg(e,t,r)))}return s(null,{srcStat:o,destStat:c})}))}function checkPathsSync(e,t,r,n){const{srcStat:a,destStat:s}=getStatsSync(e,t,n);if(s){if(areIdentical(a,s)){const n=i.basename(e);const o=i.basename(t);if(r==="move"&&n!==o&&n.toLowerCase()===o.toLowerCase()){return{srcStat:a,destStat:s,isChangingCase:true}}throw new Error("Source and destination must not be the same.")}if(a.isDirectory()&&!s.isDirectory()){throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`)}if(!a.isDirectory()&&s.isDirectory()){throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}}if(a.isDirectory()&&isSrcSubdir(e,t)){throw new Error(errMsg(e,t,r))}return{srcStat:a,destStat:s}}function checkParentPaths(e,t,r,a,s){const o=i.resolve(i.dirname(e));const c=i.resolve(i.dirname(r));if(c===o||c===i.parse(c).root)return s();n.stat(c,{bigint:true},((n,i)=>{if(n){if(n.code==="ENOENT")return s();return s(n)}if(areIdentical(t,i)){return s(new Error(errMsg(e,r,a)))}return checkParentPaths(e,t,c,a,s)}))}function checkParentPathsSync(e,t,r,a){const s=i.resolve(i.dirname(e));const o=i.resolve(i.dirname(r));if(o===s||o===i.parse(o).root)return;let c;try{c=n.statSync(o,{bigint:true})}catch(e){if(e.code==="ENOENT")return;throw e}if(areIdentical(t,c)){throw new Error(errMsg(e,r,a))}return checkParentPathsSync(e,t,o,a)}function areIdentical(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function isSrcSubdir(e,t){const r=i.resolve(e).split(i.sep).filter((e=>e));const n=i.resolve(t).split(i.sep).filter((e=>e));return r.reduce(((e,t,r)=>e&&n[r]===t),true)}function errMsg(e,t,r){return`Cannot ${r} '${e}' to a subdirectory of itself, '${t}'.`}e.exports={checkPaths:checkPaths,checkPathsSync:checkPathsSync,checkParentPaths:checkParentPaths,checkParentPathsSync:checkParentPathsSync,isSrcSubdir:isSrcSubdir,areIdentical:areIdentical}},2548:(e,t,r)=>{"use strict";const n=r(7758);function utimesMillis(e,t,r,i){n.open(e,"r+",((e,a)=>{if(e)return i(e);n.futimes(a,t,r,(e=>{n.close(a,(t=>{if(i)i(e||t)}))}))}))}function utimesMillisSync(e,t,r){const i=n.openSync(e,"r+");n.futimesSync(i,t,r);return n.closeSync(i)}e.exports={utimesMillis:utimesMillis,utimesMillisSync:utimesMillisSync}},7356:e=>{"use strict";e.exports=clone;function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var t={__proto__:e.__proto__};else var t=Object.create(null);Object.getOwnPropertyNames(e).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}));return t}},7758:(e,t,r)=>{var n=r(5747);var i=r(263);var a=r(3086);var s=r(7356);var o=r(1669);var c;var u;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){c=Symbol.for("graceful-fs.queue");u=Symbol.for("graceful-fs.previous")}else{c="___graceful-fs.queue";u="___graceful-fs.previous"}function noop(){}function publishQueue(e,t){Object.defineProperty(e,c,{get:function(){return t}})}var l=noop;if(o.debuglog)l=o.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))l=function(){var e=o.format.apply(o,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!n[c]){var f=global[c]||[];publishQueue(n,f);n.close=function(e){function close(t,r){return e.call(n,t,(function(e){if(!e){retry()}if(typeof r==="function")r.apply(this,arguments)}))}Object.defineProperty(close,u,{value:e});return close}(n.close);n.closeSync=function(e){function closeSync(t){e.apply(n,arguments);retry()}Object.defineProperty(closeSync,u,{value:e});return closeSync}(n.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){l(n[c]);r(2357).equal(n[c].length,0)}))}}if(!global[c]){publishQueue(global,n[c])}e.exports=patch(s(n));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!n.__patched){e.exports=patch(n);n.__patched=true}function patch(e){i(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,r,n){if(typeof r==="function")n=r,r=null;return go$readFile(e,r,n);function go$readFile(e,r,n){return t(e,r,(function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,r,n]]);else{if(typeof n==="function")n.apply(this,arguments);retry()}}))}}var r=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,n,i){if(typeof n==="function")i=n,n=null;return go$writeFile(e,t,n,i);function go$writeFile(e,t,n,i){return r(e,t,n,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$writeFile,[e,t,n,i]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}}))}}var n=e.appendFile;if(n)e.appendFile=appendFile;function appendFile(e,t,r,i){if(typeof r==="function")i=r,r=null;return go$appendFile(e,t,r,i);function go$appendFile(e,t,r,i){return n(e,t,r,(function(n){if(n&&(n.code==="EMFILE"||n.code==="ENFILE"))enqueue([go$appendFile,[e,t,r,i]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}}))}}var s=e.readdir;e.readdir=readdir;function readdir(e,t,r){var n=[e];if(typeof t!=="function"){n.push(t)}else{r=t}n.push(go$readdir$cb);return go$readdir(n);function go$readdir$cb(e,t){if(t&&t.sort)t.sort();if(e&&(e.code==="EMFILE"||e.code==="ENFILE"))enqueue([go$readdir,[n]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}}}function go$readdir(t){return s.apply(e,t)}if(process.version.substr(0,4)==="v0.8"){var o=a(e);ReadStream=o.ReadStream;WriteStream=o.WriteStream}var c=e.ReadStream;if(c){ReadStream.prototype=Object.create(c.prototype);ReadStream.prototype.open=ReadStream$open}var u=e.WriteStream;if(u){WriteStream.prototype=Object.create(u.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(e,"ReadStream",{get:function(){return ReadStream},set:function(e){ReadStream=e},enumerable:true,configurable:true});Object.defineProperty(e,"WriteStream",{get:function(){return WriteStream},set:function(e){WriteStream=e},enumerable:true,configurable:true});var l=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return l},set:function(e){l=e},enumerable:true,configurable:true});var f=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return f},set:function(e){f=e},enumerable:true,configurable:true});function ReadStream(e,t){if(this instanceof ReadStream)return c.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,r){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=r;e.emit("open",r);e.read()}}))}function WriteStream(e,t){if(this instanceof WriteStream)return u.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,r){if(t){e.destroy();e.emit("error",t)}else{e.fd=r;e.emit("open",r)}}))}function createReadStream(t,r){return new e.ReadStream(t,r)}function createWriteStream(t,r){return new e.WriteStream(t,r)}var p=e.open;e.open=open;function open(e,t,r,n){if(typeof r==="function")n=r,r=null;return go$open(e,t,r,n);function go$open(e,t,r,n){return p(e,t,r,(function(i,a){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$open,[e,t,r,n]]);else{if(typeof n==="function")n.apply(this,arguments);retry()}}))}}return e}function enqueue(e){l("ENQUEUE",e[0].name,e[1]);n[c].push(e)}function retry(){var e=n[c].shift();if(e){l("RETRY",e[0].name,e[1]);e[0].apply(null,e[1])}}},3086:(e,t,r)=>{var n=r(2413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,r){if(!(this instanceof ReadStream))return new ReadStream(t,r);n.call(this);var i=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;r=r||{};var a=Object.keys(r);for(var s=0,o=a.length;sthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){i._read()}));return}e.open(this.path,this.flags,this.mode,(function(e,t){if(e){i.emit("error",e);i.readable=false;return}i.fd=t;i.emit("open",t);i._read()}))}function WriteStream(t,r){if(!(this instanceof WriteStream))return new WriteStream(t,r);n.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;r=r||{};var i=Object.keys(r);for(var a=0,s=i.length;a= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},263:(e,t,r)=>{var n=r(7619);var i=process.cwd;var a=null;var s=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!a)a=i.call(process);return a};try{process.cwd()}catch(e){}var o=process.chdir;process.chdir=function(e){a=null;o.call(process,e)};e.exports=patch;function patch(e){if(n.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(!e.lchmod){e.lchmod=function(e,t,r){if(r)process.nextTick(r)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,r,n){if(n)process.nextTick(n)};e.lchownSync=function(){}}if(s==="win32"){e.rename=function(t){return function(r,n,i){var a=Date.now();var s=0;t(r,n,(function CB(o){if(o&&(o.code==="EACCES"||o.code==="EPERM")&&Date.now()-a<6e4){setTimeout((function(){e.stat(n,(function(e,a){if(e&&e.code==="ENOENT")t(r,n,CB);else i(o)}))}),s);if(s<100)s+=10;return}if(i)i(o)}))}}(e.rename)}e.read=function(t){function read(r,n,i,a,s,o){var c;if(o&&typeof o==="function"){var u=0;c=function(l,f,p){if(l&&l.code==="EAGAIN"&&u<10){u++;return t.call(e,r,n,i,a,s,c)}o.apply(this,arguments)}}return t.call(e,r,n,i,a,s,c)}read.__proto__=t;return read}(e.read);e.readSync=function(t){return function(r,n,i,a,s){var o=0;while(true){try{return t.call(e,r,n,i,a,s)}catch(e){if(e.code==="EAGAIN"&&o<10){o++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,r,i){e.open(t,n.O_WRONLY|n.O_SYMLINK,r,(function(t,n){if(t){if(i)i(t);return}e.fchmod(n,r,(function(t){e.close(n,(function(e){if(i)i(t||e)}))}))}))};e.lchmodSync=function(t,r){var i=e.openSync(t,n.O_WRONLY|n.O_SYMLINK,r);var a=true;var s;try{s=e.fchmodSync(i,r);a=false}finally{if(a){try{e.closeSync(i)}catch(e){}}else{e.closeSync(i)}}return s}}function patchLutimes(e){if(n.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,r,i,a){e.open(t,n.O_SYMLINK,(function(t,n){if(t){if(a)a(t);return}e.futimes(n,r,i,(function(t){e.close(n,(function(e){if(a)a(t||e)}))}))}))};e.lutimesSync=function(t,r,i){var a=e.openSync(t,n.O_SYMLINK);var s;var o=true;try{s=e.futimesSync(a,r,i);o=false}finally{if(o){try{e.closeSync(a)}catch(e){}}else{e.closeSync(a)}}return s}}else{e.lutimes=function(e,t,r,n){if(n)process.nextTick(n)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(r,n,i){return t.call(e,r,n,(function(e){if(chownErOk(e))e=null;if(i)i.apply(this,arguments)}))}}function chmodFixSync(t){if(!t)return t;return function(r,n){try{return t.call(e,r,n)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(r,n,i,a){return t.call(e,r,n,i,(function(e){if(chownErOk(e))e=null;if(a)a.apply(this,arguments)}))}}function chownFixSync(t){if(!t)return t;return function(r,n,i){try{return t.call(e,r,n,i)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(r,n,i){if(typeof n==="function"){i=n;n=null}function callback(e,t){if(t){if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296}if(i)i.apply(this,arguments)}return n?t.call(e,r,n,callback):t.call(e,r,callback)}}function statFixSync(t){if(!t)return t;return function(r,n){var i=n?t.call(e,r,n):t.call(e,r);if(i.uid<0)i.uid+=4294967296;if(i.gid<0)i.gid+=4294967296;return i}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},6160:(e,t,r)=>{let n;try{n=r(7758)}catch(e){n=r(5747)}const i=r(9046);const{stringify:a,stripBom:s}=r(5902);async function _readFile(e,t={}){if(typeof t==="string"){t={encoding:t}}const r=t.fs||n;const a="throws"in t?t.throws:true;let o=await i.fromCallback(r.readFile)(e,t);o=s(o);let c;try{c=JSON.parse(o,t?t.reviver:null)}catch(t){if(a){t.message=`${e}: ${t.message}`;throw t}else{return null}}return c}const o=i.fromPromise(_readFile);function readFileSync(e,t={}){if(typeof t==="string"){t={encoding:t}}const r=t.fs||n;const i="throws"in t?t.throws:true;try{let n=r.readFileSync(e,t);n=s(n);return JSON.parse(n,t.reviver)}catch(t){if(i){t.message=`${e}: ${t.message}`;throw t}else{return null}}}async function _writeFile(e,t,r={}){const s=r.fs||n;const o=a(t,r);await i.fromCallback(s.writeFile)(e,o,r)}const c=i.fromPromise(_writeFile);function writeFileSync(e,t,r={}){const i=r.fs||n;const s=a(t,r);return i.writeFileSync(e,s,r)}const u={readFile:o,readFileSync:readFileSync,writeFile:c,writeFileSync:writeFileSync};e.exports=u},5902:e=>{function stringify(e,{EOL:t="\n",finalEOL:r=true,replacer:n=null,spaces:i}={}){const a=r?t:"";const s=JSON.stringify(e,n,i);return s.replace(/\n/g,t)+a}function stripBom(e){if(Buffer.isBuffer(e))e=e.toString("utf8");return e.replace(/^\uFEFF/,"")}e.exports={stringify:stringify,stripBom:stripBom}},6235:(e,t,r)=>{"use strict";const n=r(5747);class LineByLine{constructor(e,t){t=t||{};if(!t.readChunk)t.readChunk=1024;if(!t.newLineCharacter){t.newLineCharacter=10}else{t.newLineCharacter=t.newLineCharacter.charCodeAt(0)}if(typeof e==="number"){this.fd=e}else{this.fd=n.openSync(e,"r")}this.options=t;this.newLineCharacter=t.newLineCharacter;this.reset()}_searchInBuffer(e,t){let r=-1;for(let n=0;n<=e.length;n++){let i=e[n];if(i===t){r=n;break}}return r}reset(){this.eofReached=false;this.linesCache=[];this.fdPosition=0}close(){n.closeSync(this.fd);this.fd=null}_extractLines(e){let t;const r=[];let n=0;let i=0;while(true){let a=e[n++];if(a===this.newLineCharacter){t=e.slice(i,n);r.push(t);i=n}else if(a===undefined){break}}let a=e.slice(i,n);if(a.length){r.push(a)}return r}_readChunk(e){let t=0;let r;const i=[];do{const e=new Buffer(this.options.readChunk);r=n.readSync(this.fd,e,0,this.options.readChunk,this.fdPosition);t=t+r;this.fdPosition=this.fdPosition+r;i.push(e)}while(r&&this._searchInBuffer(i[i.length-1],this.options.newLineCharacter)===-1);let a=Buffer.concat(i);if(r{(function(e){e.parser=function(e,t){return new SAXParser(e,t)};e.SAXParser=SAXParser;e.SAXStream=SAXStream;e.createStream=createStream;e.MAX_BUFFER_LENGTH=64*1024;var t=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function SAXParser(t,r){if(!(this instanceof SAXParser)){return new SAXParser(t,r)}var n=this;clearBuffers(n);n.q=n.c="";n.bufferCheckPosition=e.MAX_BUFFER_LENGTH;n.opt=r||{};n.opt.lowercase=n.opt.lowercase||n.opt.lowercasetags;n.looseCase=n.opt.lowercase?"toLowerCase":"toUpperCase";n.tags=[];n.closed=n.closedRoot=n.sawRoot=false;n.tag=n.error=null;n.strict=!!t;n.noscript=!!(t||n.opt.noscript);n.state=y.BEGIN;n.strictEntities=n.opt.strictEntities;n.ENTITIES=n.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES);n.attribList=[];if(n.opt.xmlns){n.ns=Object.create(u)}n.trackPosition=n.opt.position!==false;if(n.trackPosition){n.position=n.line=n.column=0}emit(n,"onready")}if(!Object.create){Object.create=function(e){function F(){}F.prototype=e;var t=new F;return t}}if(!Object.keys){Object.keys=function(e){var t=[];for(var r in e)if(e.hasOwnProperty(r))t.push(r);return t}}function checkBufferLength(r){var n=Math.max(e.MAX_BUFFER_LENGTH,10);var i=0;for(var a=0,s=t.length;an){switch(t[a]){case"textNode":closeText(r);break;case"cdata":emitNode(r,"oncdata",r.cdata);r.cdata="";break;case"script":emitNode(r,"onscript",r.script);r.script="";break;default:error(r,"Max buffer length exceeded: "+t[a])}}i=Math.max(i,o)}var c=e.MAX_BUFFER_LENGTH-i;r.bufferCheckPosition=c+r.position}function clearBuffers(e){for(var r=0,n=t.length;r"||isWhitespace(e)}function isMatch(e,t){return e.test(t)}function notMatch(e,t){return!isMatch(e,t)}var y=0;e.STATE={BEGIN:y++,BEGIN_WHITESPACE:y++,TEXT:y++,TEXT_ENTITY:y++,OPEN_WAKA:y++,SGML_DECL:y++,SGML_DECL_QUOTED:y++,DOCTYPE:y++,DOCTYPE_QUOTED:y++,DOCTYPE_DTD:y++,DOCTYPE_DTD_QUOTED:y++,COMMENT_STARTING:y++,COMMENT:y++,COMMENT_ENDING:y++,COMMENT_ENDED:y++,CDATA:y++,CDATA_ENDING:y++,CDATA_ENDING_2:y++,PROC_INST:y++,PROC_INST_BODY:y++,PROC_INST_ENDING:y++,OPEN_TAG:y++,OPEN_TAG_SLASH:y++,ATTRIB:y++,ATTRIB_NAME:y++,ATTRIB_NAME_SAW_WHITE:y++,ATTRIB_VALUE:y++,ATTRIB_VALUE_QUOTED:y++,ATTRIB_VALUE_CLOSED:y++,ATTRIB_VALUE_UNQUOTED:y++,ATTRIB_VALUE_ENTITY_Q:y++,ATTRIB_VALUE_ENTITY_U:y++,CLOSE_TAG:y++,CLOSE_TAG_SAW_WHITE:y++,SCRIPT:y++,SCRIPT_ENDING:y++};e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(e.ENTITIES).forEach((function(t){var r=e.ENTITIES[t];var n=typeof r==="number"?String.fromCharCode(r):r;e.ENTITIES[t]=n}));for(var d in e.STATE){e.STATE[e.STATE[d]]=d}y=e.STATE;function emit(e,t,r){e[t]&&e[t](r)}function emitNode(e,t,r){if(e.textNode)closeText(e);emit(e,t,r)}function closeText(e){e.textNode=textopts(e.opt,e.textNode);if(e.textNode)emit(e,"ontext",e.textNode);e.textNode=""}function textopts(e,t){if(e.trim)t=t.trim();if(e.normalize)t=t.replace(/\s+/g," ");return t}function error(e,t){closeText(e);if(e.trackPosition){t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c}t=new Error(t);e.error=t;emit(e,"onerror",t);return e}function end(e){if(e.sawRoot&&!e.closedRoot)strictFail(e,"Unclosed root tag");if(e.state!==y.BEGIN&&e.state!==y.BEGIN_WHITESPACE&&e.state!==y.TEXT){error(e,"Unexpected end")}closeText(e);e.c="";e.closed=true;emit(e,"onend");SAXParser.call(e,e.strict,e.opt);return e}function strictFail(e,t){if(typeof e!=="object"||!(e instanceof SAXParser)){throw new Error("bad call to strictFail")}if(e.strict){error(e,t)}}function newTag(e){if(!e.strict)e.tagName=e.tagName[e.looseCase]();var t=e.tags[e.tags.length-1]||e;var r=e.tag={name:e.tagName,attributes:{}};if(e.opt.xmlns){r.ns=t.ns}e.attribList.length=0;emitNode(e,"onopentagstart",r)}function qname(e,t){var r=e.indexOf(":");var n=r<0?["",e]:e.split(":");var i=n[0];var a=n[1];if(t&&e==="xmlns"){i="xmlns";a=""}return{prefix:i,local:a}}function attrib(e){if(!e.strict){e.attribName=e.attribName[e.looseCase]()}if(e.attribList.indexOf(e.attribName)!==-1||e.tag.attributes.hasOwnProperty(e.attribName)){e.attribName=e.attribValue="";return}if(e.opt.xmlns){var t=qname(e.attribName,true);var r=t.prefix;var n=t.local;if(r==="xmlns"){if(n==="xml"&&e.attribValue!==o){strictFail(e,"xml: prefix must be bound to "+o+"\n"+"Actual: "+e.attribValue)}else if(n==="xmlns"&&e.attribValue!==c){strictFail(e,"xmlns: prefix must be bound to "+c+"\n"+"Actual: "+e.attribValue)}else{var i=e.tag;var a=e.tags[e.tags.length-1]||e;if(i.ns===a.ns){i.ns=Object.create(a.ns)}i.ns[n]=e.attribValue}}e.attribList.push([e.attribName,e.attribValue])}else{e.tag.attributes[e.attribName]=e.attribValue;emitNode(e,"onattribute",{name:e.attribName,value:e.attribValue})}e.attribName=e.attribValue=""}function openTag(e,t){if(e.opt.xmlns){var r=e.tag;var n=qname(e.tagName);r.prefix=n.prefix;r.local=n.local;r.uri=r.ns[n.prefix]||"";if(r.prefix&&!r.uri){strictFail(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName));r.uri=n.prefix}var i=e.tags[e.tags.length-1]||e;if(r.ns&&i.ns!==r.ns){Object.keys(r.ns).forEach((function(t){emitNode(e,"onopennamespace",{prefix:t,uri:r.ns[t]})}))}for(var a=0,s=e.attribList.length;a";e.tagName="";e.state=y.SCRIPT;return}emitNode(e,"onscript",e.script);e.script=""}var t=e.tags.length;var r=e.tagName;if(!e.strict){r=r[e.looseCase]()}var n=r;while(t--){var i=e.tags[t];if(i.name!==n){strictFail(e,"Unexpected close tag")}else{break}}if(t<0){strictFail(e,"Unmatched closing tag: "+e.tagName);e.textNode+="";e.state=y.TEXT;return}e.tagName=r;var a=e.tags.length;while(a-- >t){var s=e.tag=e.tags.pop();e.tagName=e.tag.name;emitNode(e,"onclosetag",e.tagName);var o={};for(var c in s.ns){o[c]=s.ns[c]}var u=e.tags[e.tags.length-1]||e;if(e.opt.xmlns&&s.ns!==u.ns){Object.keys(s.ns).forEach((function(t){var r=s.ns[t];emitNode(e,"onclosenamespace",{prefix:t,uri:r})}))}}if(t===0)e.closedRoot=true;e.tagName=e.attribValue=e.attribName="";e.attribList.length=0;e.state=y.TEXT}function parseEntity(e){var t=e.entity;var r=t.toLowerCase();var n;var i="";if(e.ENTITIES[t]){return e.ENTITIES[t]}if(e.ENTITIES[r]){return e.ENTITIES[r]}t=r;if(t.charAt(0)==="#"){if(t.charAt(1)==="x"){t=t.slice(2);n=parseInt(t,16);i=n.toString(16)}else{t=t.slice(1);n=parseInt(t,10);i=n.toString(10)}}t=t.replace(/^0+/,"");if(isNaN(n)||i.toLowerCase()!==t){strictFail(e,"Invalid character entity");return"&"+e.entity+";"}return String.fromCodePoint(n)}function beginWhiteSpace(e,t){if(t==="<"){e.state=y.OPEN_WAKA;e.startTagPosition=e.position}else if(!isWhitespace(t)){strictFail(e,"Non-whitespace before first tag.");e.textNode=t;e.state=y.TEXT}}function charAt(e,t){var r="";if(t"){emitNode(t,"onsgmldeclaration",t.sgmlDecl);t.sgmlDecl="";t.state=y.TEXT}else if(isQuote(n)){t.state=y.SGML_DECL_QUOTED;t.sgmlDecl+=n}else{t.sgmlDecl+=n}continue;case y.SGML_DECL_QUOTED:if(n===t.q){t.state=y.SGML_DECL;t.q=""}t.sgmlDecl+=n;continue;case y.DOCTYPE:if(n===">"){t.state=y.TEXT;emitNode(t,"ondoctype",t.doctype);t.doctype=true}else{t.doctype+=n;if(n==="["){t.state=y.DOCTYPE_DTD}else if(isQuote(n)){t.state=y.DOCTYPE_QUOTED;t.q=n}}continue;case y.DOCTYPE_QUOTED:t.doctype+=n;if(n===t.q){t.q="";t.state=y.DOCTYPE}continue;case y.DOCTYPE_DTD:t.doctype+=n;if(n==="]"){t.state=y.DOCTYPE}else if(isQuote(n)){t.state=y.DOCTYPE_DTD_QUOTED;t.q=n}continue;case y.DOCTYPE_DTD_QUOTED:t.doctype+=n;if(n===t.q){t.state=y.DOCTYPE_DTD;t.q=""}continue;case y.COMMENT:if(n==="-"){t.state=y.COMMENT_ENDING}else{t.comment+=n}continue;case y.COMMENT_ENDING:if(n==="-"){t.state=y.COMMENT_ENDED;t.comment=textopts(t.opt,t.comment);if(t.comment){emitNode(t,"oncomment",t.comment)}t.comment=""}else{t.comment+="-"+n;t.state=y.COMMENT}continue;case y.COMMENT_ENDED:if(n!==">"){strictFail(t,"Malformed comment");t.comment+="--"+n;t.state=y.COMMENT}else{t.state=y.TEXT}continue;case y.CDATA:if(n==="]"){t.state=y.CDATA_ENDING}else{t.cdata+=n}continue;case y.CDATA_ENDING:if(n==="]"){t.state=y.CDATA_ENDING_2}else{t.cdata+="]"+n;t.state=y.CDATA}continue;case y.CDATA_ENDING_2:if(n===">"){if(t.cdata){emitNode(t,"oncdata",t.cdata)}emitNode(t,"onclosecdata");t.cdata="";t.state=y.TEXT}else if(n==="]"){t.cdata+="]"}else{t.cdata+="]]"+n;t.state=y.CDATA}continue;case y.PROC_INST:if(n==="?"){t.state=y.PROC_INST_ENDING}else if(isWhitespace(n)){t.state=y.PROC_INST_BODY}else{t.procInstName+=n}continue;case y.PROC_INST_BODY:if(!t.procInstBody&&isWhitespace(n)){continue}else if(n==="?"){t.state=y.PROC_INST_ENDING}else{t.procInstBody+=n}continue;case y.PROC_INST_ENDING:if(n===">"){emitNode(t,"onprocessinginstruction",{name:t.procInstName,body:t.procInstBody});t.procInstName=t.procInstBody="";t.state=y.TEXT}else{t.procInstBody+="?"+n;t.state=y.PROC_INST_BODY}continue;case y.OPEN_TAG:if(isMatch(f,n)){t.tagName+=n}else{newTag(t);if(n===">"){openTag(t)}else if(n==="/"){t.state=y.OPEN_TAG_SLASH}else{if(!isWhitespace(n)){strictFail(t,"Invalid character in tag name")}t.state=y.ATTRIB}}continue;case y.OPEN_TAG_SLASH:if(n===">"){openTag(t,true);closeTag(t)}else{strictFail(t,"Forward-slash in opening tag not followed by >");t.state=y.ATTRIB}continue;case y.ATTRIB:if(isWhitespace(n)){continue}else if(n===">"){openTag(t)}else if(n==="/"){t.state=y.OPEN_TAG_SLASH}else if(isMatch(l,n)){t.attribName=n;t.attribValue="";t.state=y.ATTRIB_NAME}else{strictFail(t,"Invalid attribute name")}continue;case y.ATTRIB_NAME:if(n==="="){t.state=y.ATTRIB_VALUE}else if(n===">"){strictFail(t,"Attribute without value");t.attribValue=t.attribName;attrib(t);openTag(t)}else if(isWhitespace(n)){t.state=y.ATTRIB_NAME_SAW_WHITE}else if(isMatch(f,n)){t.attribName+=n}else{strictFail(t,"Invalid attribute name")}continue;case y.ATTRIB_NAME_SAW_WHITE:if(n==="="){t.state=y.ATTRIB_VALUE}else if(isWhitespace(n)){continue}else{strictFail(t,"Attribute without value");t.tag.attributes[t.attribName]="";t.attribValue="";emitNode(t,"onattribute",{name:t.attribName,value:""});t.attribName="";if(n===">"){openTag(t)}else if(isMatch(l,n)){t.attribName=n;t.state=y.ATTRIB_NAME}else{strictFail(t,"Invalid attribute name");t.state=y.ATTRIB}}continue;case y.ATTRIB_VALUE:if(isWhitespace(n)){continue}else if(isQuote(n)){t.q=n;t.state=y.ATTRIB_VALUE_QUOTED}else{strictFail(t,"Unquoted attribute value");t.state=y.ATTRIB_VALUE_UNQUOTED;t.attribValue=n}continue;case y.ATTRIB_VALUE_QUOTED:if(n!==t.q){if(n==="&"){t.state=y.ATTRIB_VALUE_ENTITY_Q}else{t.attribValue+=n}continue}attrib(t);t.q="";t.state=y.ATTRIB_VALUE_CLOSED;continue;case y.ATTRIB_VALUE_CLOSED:if(isWhitespace(n)){t.state=y.ATTRIB}else if(n===">"){openTag(t)}else if(n==="/"){t.state=y.OPEN_TAG_SLASH}else if(isMatch(l,n)){strictFail(t,"No whitespace between attributes");t.attribName=n;t.attribValue="";t.state=y.ATTRIB_NAME}else{strictFail(t,"Invalid attribute name")}continue;case y.ATTRIB_VALUE_UNQUOTED:if(!isAttribEnd(n)){if(n==="&"){t.state=y.ATTRIB_VALUE_ENTITY_U}else{t.attribValue+=n}continue}attrib(t);if(n===">"){openTag(t)}else{t.state=y.ATTRIB}continue;case y.CLOSE_TAG:if(!t.tagName){if(isWhitespace(n)){continue}else if(notMatch(l,n)){if(t.script){t.script+=""){closeTag(t)}else if(isMatch(f,n)){t.tagName+=n}else if(t.script){t.script+=""){closeTag(t)}else{strictFail(t,"Invalid characters in closing tag")}continue;case y.TEXT_ENTITY:case y.ATTRIB_VALUE_ENTITY_Q:case y.ATTRIB_VALUE_ENTITY_U:var c;var u;switch(t.state){case y.TEXT_ENTITY:c=y.TEXT;u="textNode";break;case y.ATTRIB_VALUE_ENTITY_Q:c=y.ATTRIB_VALUE_QUOTED;u="attribValue";break;case y.ATTRIB_VALUE_ENTITY_U:c=y.ATTRIB_VALUE_UNQUOTED;u="attribValue";break}if(n===";"){t[u]+=parseEntity(t);t.entity="";t.state=c}else if(isMatch(t.entity.length?m:p,n)){t.entity+=n}else{strictFail(t,"Invalid character in entity name");t[u]+="&"+t.entity+n;t.entity="";t.state=c}continue;default:throw new Error(t,"Unknown state: "+t.state)}}if(t.position>=t.bufferCheckPosition){checkBufferLength(t)}return t} +/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){var e=String.fromCharCode;var t=Math.floor;var fromCodePoint=function(){var r=16384;var n=[];var i;var a;var s=-1;var o=arguments.length;if(!o){return""}var c="";while(++s1114111||t(u)!==u){throw RangeError("Invalid code point: "+u)}if(u<=65535){n.push(u)}else{u-=65536;i=(u>>10)+55296;a=u%1024+56320;n.push(i,a)}if(s+1===o||n.length>r){c+=e.apply(null,n);n.length=0}}return c};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true})}else{String.fromCodePoint=fromCodePoint}})()}})(false?0:t)},9046:(e,t)=>{"use strict";t.fromCallback=function(e){return Object.defineProperty((function(...t){if(typeof t[t.length-1]==="function")e.apply(this,t);else{return new Promise(((r,n)=>{e.call(this,...t,((e,t)=>e!=null?n(e):r(t)))}))}}),"name",{value:e.name})};t.fromPromise=function(e){return Object.defineProperty((function(...t){const r=t[t.length-1];if(typeof r!=="function")return e.apply(this,t);else e.apply(this,t.slice(0,-1)).then((e=>r(null,e)),r)}),"name",{value:e.name})}},1709:e=>{e.exports={isArray:function(e){if(Array.isArray){return Array.isArray(e)}return Object.prototype.toString.call(e)==="[object Array]"}}},8821:(e,t,r)=>{var n=r(2903);var i=r(8919);var a=r(4453);var s=r(1900);e.exports={xml2js:n,xml2json:i,js2xml:a,json2xml:s}},4453:(e,t,r)=>{var n=r(6717);var i=r(1709).isArray;var a,s;function validateOptions(e){var t=n.copyOptions(e);n.ensureFlagExists("ignoreDeclaration",t);n.ensureFlagExists("ignoreInstruction",t);n.ensureFlagExists("ignoreAttributes",t);n.ensureFlagExists("ignoreText",t);n.ensureFlagExists("ignoreComment",t);n.ensureFlagExists("ignoreCdata",t);n.ensureFlagExists("ignoreDoctype",t);n.ensureFlagExists("compact",t);n.ensureFlagExists("indentText",t);n.ensureFlagExists("indentCdata",t);n.ensureFlagExists("indentAttributes",t);n.ensureFlagExists("indentInstruction",t);n.ensureFlagExists("fullTagEmptyElement",t);n.ensureFlagExists("noQuotesForNativeAttributes",t);n.ensureSpacesExists(t);if(typeof t.spaces==="number"){t.spaces=Array(t.spaces+1).join(" ")}n.ensureKeyExists("declaration",t);n.ensureKeyExists("instruction",t);n.ensureKeyExists("attributes",t);n.ensureKeyExists("text",t);n.ensureKeyExists("comment",t);n.ensureKeyExists("cdata",t);n.ensureKeyExists("doctype",t);n.ensureKeyExists("type",t);n.ensureKeyExists("name",t);n.ensureKeyExists("elements",t);n.checkFnExists("doctype",t);n.checkFnExists("instruction",t);n.checkFnExists("cdata",t);n.checkFnExists("comment",t);n.checkFnExists("text",t);n.checkFnExists("instructionName",t);n.checkFnExists("elementName",t);n.checkFnExists("attributeName",t);n.checkFnExists("attributeValue",t);n.checkFnExists("attributes",t);n.checkFnExists("fullTagEmptyElement",t);return t}function writeIndentation(e,t,r){return(!r&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function writeAttributes(e,t,r){if(t.ignoreAttributes){return""}if("attributesFn"in t){e=t.attributesFn(e,s,a)}var n,i,o,c,u=[];for(n in e){if(e.hasOwnProperty(n)&&e[n]!==null&&e[n]!==undefined){c=t.noQuotesForNativeAttributes&&typeof e[n]!=="string"?"":'"';i=""+e[n];i=i.replace(/"/g,""");o="attributeNameFn"in t?t.attributeNameFn(n,i,s,a):n;u.push(t.spaces&&t.indentAttributes?writeIndentation(t,r+1,false):" ");u.push(o+"="+c+("attributeValueFn"in t?t.attributeValueFn(i,n,s,a):i)+c)}}if(e&&Object.keys(e).length&&t.spaces&&t.indentAttributes){u.push(writeIndentation(t,r,false))}return u.join("")}function writeDeclaration(e,t,r){a=e;s="xml";return t.ignoreDeclaration?"":""}function writeInstruction(e,t,r){if(t.ignoreInstruction){return""}var n;for(n in e){if(e.hasOwnProperty(n)){break}}var i="instructionNameFn"in t?t.instructionNameFn(n,e[n],s,a):n;if(typeof e[n]==="object"){a=e;s=i;return""}else{var o=e[n]?e[n]:"";if("instructionFn"in t)o=t.instructionFn(o,n,s,a);return""}}function writeComment(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,s,a):e)+"--\x3e"}function writeCdata(e,t){return t.ignoreCdata?"":"","]]]]>"))+"]]>"}function writeDoctype(e,t){return t.ignoreDoctype?"":""}function writeText(e,t){if(t.ignoreText)return"";e=""+e;e=e.replace(/&/g,"&");e=e.replace(/&/g,"&").replace(//g,">");return"textFn"in t?t.textFn(e,s,a):e}function hasContent(e,t){var r;if(e.elements&&e.elements.length){for(r=0;r");if(e[t.elementsKey]&&e[t.elementsKey].length){n.push(writeElements(e[t.elementsKey],t,r+1));a=e;s=e.name}n.push(t.spaces&&hasContent(e,t)?"\n"+Array(r+1).join(t.spaces):"");n.push("")}else{n.push("/>")}return n.join("")}function writeElements(e,t,r,n){return e.reduce((function(e,i){var a=writeIndentation(t,r,n&&!e);switch(i.type){case"element":return e+a+writeElement(i,t,r);case"comment":return e+a+writeComment(i[t.commentKey],t);case"doctype":return e+a+writeDoctype(i[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?a:"")+writeCdata(i[t.cdataKey],t);case"text":return e+(t.indentText?a:"")+writeText(i[t.textKey],t);case"instruction":var s={};s[i[t.nameKey]]=i[t.attributesKey]?i:i[t.instructionKey];return e+(t.indentInstruction?a:"")+writeInstruction(s,t,r)}}),"")}function hasContentCompact(e,t,r){var n;for(n in e){if(e.hasOwnProperty(n)){switch(n){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||r){return true}break;case t.cdataKey:if(t.indentCdata||r){return true}break;case t.instructionKey:if(t.indentInstruction||r){return true}break;case t.doctypeKey:case t.commentKey:return true;default:return true}}}return false}function writeElementCompact(e,t,r,n,i){a=e;s=t;var o="elementNameFn"in r?r.elementNameFn(t,e):t;if(typeof e==="undefined"||e===null||e===""){return"fullTagEmptyElementFn"in r&&r.fullTagEmptyElementFn(t,e)||r.fullTagEmptyElement?"<"+o+">":"<"+o+"/>"}var c=[];if(t){c.push("<"+o);if(typeof e!=="object"){c.push(">"+writeText(e,r)+"");return c.join("")}if(e[r.attributesKey]){c.push(writeAttributes(e[r.attributesKey],r,n))}var u=hasContentCompact(e,r,true)||e[r.attributesKey]&&e[r.attributesKey]["xml:space"]==="preserve";if(!u){if("fullTagEmptyElementFn"in r){u=r.fullTagEmptyElementFn(t,e)}else{u=r.fullTagEmptyElement}}if(u){c.push(">")}else{c.push("/>");return c.join("")}}c.push(writeElementsCompact(e,r,n+1,false));a=e;s=t;if(t){c.push((i?writeIndentation(r,n,false):"")+"")}return c.join("")}function writeElementsCompact(e,t,r,n){var a,s,o,c=[];for(s in e){if(e.hasOwnProperty(s)){o=i(e[s])?e[s]:[e[s]];for(a=0;a{var n=r(4453);e.exports=function(e,t){if(e instanceof Buffer){e=e.toString()}var r=null;if(typeof e==="string"){try{r=JSON.parse(e)}catch(e){throw new Error("The JSON structure is invalid")}}else{r=e}return n(r,t)}},6717:(e,t,r)=>{var n=r(1709).isArray;e.exports={copyOptions:function(e){var t,r={};for(t in e){if(e.hasOwnProperty(t)){r[t]=e[t]}}return r},ensureFlagExists:function(e,t){if(!(e in t)||typeof t[e]!=="boolean"){t[e]=false}},ensureSpacesExists:function(e){if(!("spaces"in e)||typeof e.spaces!=="number"&&typeof e.spaces!=="string"){e.spaces=0}},ensureAlwaysArrayExists:function(e){if(!("alwaysArray"in e)||typeof e.alwaysArray!=="boolean"&&!n(e.alwaysArray)){e.alwaysArray=false}},ensureKeyExists:function(e,t){if(!(e+"Key"in t)||typeof t[e+"Key"]!=="string"){t[e+"Key"]=t.compact?"_"+e:e}},checkFnExists:function(e,t){return e+"Fn"in t}}},2903:(e,t,r)=>{var n=r(2043);var i={on:function(){},parse:function(){}};var a=r(6717);var s=r(1709).isArray;var o;var c=true;var u;function validateOptions(e){o=a.copyOptions(e);a.ensureFlagExists("ignoreDeclaration",o);a.ensureFlagExists("ignoreInstruction",o);a.ensureFlagExists("ignoreAttributes",o);a.ensureFlagExists("ignoreText",o);a.ensureFlagExists("ignoreComment",o);a.ensureFlagExists("ignoreCdata",o);a.ensureFlagExists("ignoreDoctype",o);a.ensureFlagExists("compact",o);a.ensureFlagExists("alwaysChildren",o);a.ensureFlagExists("addParent",o);a.ensureFlagExists("trim",o);a.ensureFlagExists("nativeType",o);a.ensureFlagExists("nativeTypeAttributes",o);a.ensureFlagExists("sanitize",o);a.ensureFlagExists("instructionHasAttributes",o);a.ensureFlagExists("captureSpacesBetweenElements",o);a.ensureAlwaysArrayExists(o);a.ensureKeyExists("declaration",o);a.ensureKeyExists("instruction",o);a.ensureKeyExists("attributes",o);a.ensureKeyExists("text",o);a.ensureKeyExists("comment",o);a.ensureKeyExists("cdata",o);a.ensureKeyExists("doctype",o);a.ensureKeyExists("type",o);a.ensureKeyExists("name",o);a.ensureKeyExists("elements",o);a.ensureKeyExists("parent",o);a.checkFnExists("doctype",o);a.checkFnExists("instruction",o);a.checkFnExists("cdata",o);a.checkFnExists("comment",o);a.checkFnExists("text",o);a.checkFnExists("instructionName",o);a.checkFnExists("elementName",o);a.checkFnExists("attributeName",o);a.checkFnExists("attributeValue",o);a.checkFnExists("attributes",o);return o}function nativeType(e){var t=Number(e);if(!isNaN(t)){return t}var r=e.toLowerCase();if(r==="true"){return true}else if(r==="false"){return false}return e}function addField(e,t){var r;if(o.compact){if(!u[o[e+"Key"]]&&(s(o.alwaysArray)?o.alwaysArray.indexOf(o[e+"Key"])!==-1:o.alwaysArray)){u[o[e+"Key"]]=[]}if(u[o[e+"Key"]]&&!s(u[o[e+"Key"]])){u[o[e+"Key"]]=[u[o[e+"Key"]]]}if(e+"Fn"in o&&typeof t==="string"){t=o[e+"Fn"](t,u)}if(e==="instruction"&&("instructionFn"in o||"instructionNameFn"in o)){for(r in t){if(t.hasOwnProperty(r)){if("instructionFn"in o){t[r]=o.instructionFn(t[r],r,u)}else{var n=t[r];delete t[r];t[o.instructionNameFn(r,n,u)]=n}}}}if(s(u[o[e+"Key"]])){u[o[e+"Key"]].push(t)}else{u[o[e+"Key"]]=t}}else{if(!u[o.elementsKey]){u[o.elementsKey]=[]}var i={};i[o.typeKey]=e;if(e==="instruction"){for(r in t){if(t.hasOwnProperty(r)){break}}i[o.nameKey]="instructionNameFn"in o?o.instructionNameFn(r,t,u):r;if(o.instructionHasAttributes){i[o.attributesKey]=t[r][o.attributesKey];if("instructionFn"in o){i[o.attributesKey]=o.instructionFn(i[o.attributesKey],r,u)}}else{if("instructionFn"in o){t[r]=o.instructionFn(t[r],r,u)}i[o.instructionKey]=t[r]}}else{if(e+"Fn"in o){t=o[e+"Fn"](t,u)}i[o[e+"Key"]]=t}if(o.addParent){i[o.parentKey]=u}u[o.elementsKey].push(i)}}function manipulateAttributes(e){if("attributesFn"in o&&e){e=o.attributesFn(e,u)}if((o.trim||"attributeValueFn"in o||"attributeNameFn"in o||o.nativeTypeAttributes)&&e){var t;for(t in e){if(e.hasOwnProperty(t)){if(o.trim)e[t]=e[t].trim();if(o.nativeTypeAttributes){e[t]=nativeType(e[t])}if("attributeValueFn"in o)e[t]=o.attributeValueFn(e[t],t,u);if("attributeNameFn"in o){var r=e[t];delete e[t];e[o.attributeNameFn(t,e[t],u)]=r}}}}return e}function onInstruction(e){var t={};if(e.body&&(e.name.toLowerCase()==="xml"||o.instructionHasAttributes)){var r=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;var n;while((n=r.exec(e.body))!==null){t[n[1]]=n[2]||n[3]||n[4]}t=manipulateAttributes(t)}if(e.name.toLowerCase()==="xml"){if(o.ignoreDeclaration){return}u[o.declarationKey]={};if(Object.keys(t).length){u[o.declarationKey][o.attributesKey]=t}if(o.addParent){u[o.declarationKey][o.parentKey]=u}}else{if(o.ignoreInstruction){return}if(o.trim){e.body=e.body.trim()}var i={};if(o.instructionHasAttributes&&Object.keys(t).length){i[e.name]={};i[e.name][o.attributesKey]=t}else{i[e.name]=e.body}addField("instruction",i)}}function onStartElement(e,t){var r;if(typeof e==="object"){t=e.attributes;e=e.name}t=manipulateAttributes(t);if("elementNameFn"in o){e=o.elementNameFn(e,u)}if(o.compact){r={};if(!o.ignoreAttributes&&t&&Object.keys(t).length){r[o.attributesKey]={};var n;for(n in t){if(t.hasOwnProperty(n)){r[o.attributesKey][n]=t[n]}}}if(!(e in u)&&(s(o.alwaysArray)?o.alwaysArray.indexOf(e)!==-1:o.alwaysArray)){u[e]=[]}if(u[e]&&!s(u[e])){u[e]=[u[e]]}if(s(u[e])){u[e].push(r)}else{u[e]=r}}else{if(!u[o.elementsKey]){u[o.elementsKey]=[]}r={};r[o.typeKey]="element";r[o.nameKey]=e;if(!o.ignoreAttributes&&t&&Object.keys(t).length){r[o.attributesKey]=t}if(o.alwaysChildren){r[o.elementsKey]=[]}u[o.elementsKey].push(r)}r[o.parentKey]=u;u=r}function onText(e){if(o.ignoreText){return}if(!e.trim()&&!o.captureSpacesBetweenElements){return}if(o.trim){e=e.trim()}if(o.nativeType){e=nativeType(e)}if(o.sanitize){e=e.replace(/&/g,"&").replace(//g,">")}addField("text",e)}function onComment(e){if(o.ignoreComment){return}if(o.trim){e=e.trim()}addField("comment",e)}function onEndElement(e){var t=u[o.parentKey];if(!o.addParent){delete u[o.parentKey]}u=t}function onCdata(e){if(o.ignoreCdata){return}if(o.trim){e=e.trim()}addField("cdata",e)}function onDoctype(e){if(o.ignoreDoctype){return}e=e.replace(/^ /,"");if(o.trim){e=e.trim()}addField("doctype",e)}function onError(e){e.note=e}e.exports=function(e,t){var r=c?n.parser(true,{}):r=new i.Parser("UTF-8");var a={};u=a;o=validateOptions(t);if(c){r.opt={strictEntities:true};r.onopentag=onStartElement;r.ontext=onText;r.oncomment=onComment;r.onclosetag=onEndElement;r.onerror=onError;r.oncdata=onCdata;r.ondoctype=onDoctype;r.onprocessinginstruction=onInstruction}else{r.on("startElement",onStartElement);r.on("text",onText);r.on("comment",onComment);r.on("endElement",onEndElement);r.on("error",onError)}if(c){r.write(e).close()}else{if(!r.parse(e)){throw new Error("XML parsing error: "+r.getError())}}if(a[o.elementsKey]){var s=a[o.elementsKey];delete a[o.elementsKey];a[o.elementsKey]=s;delete a.text}return a}},8919:(e,t,r)=>{var n=r(6717);var i=r(2903);function validateOptions(e){var t=n.copyOptions(e);n.ensureSpacesExists(t);return t}e.exports=function(e,t){var r,n,a,s;r=validateOptions(t);n=i(e,r);s="compact"in r&&r.compact?"_parent":"parent";if("addParent"in r&&r.addParent){a=JSON.stringify(n,(function(e,t){return e===s?"_":t}),r.spaces)}else{a=JSON.stringify(n,null,r.spaces)}return a.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},2357:e=>{"use strict";e.exports=require("assert")},7619:e=>{"use strict";e.exports=require("constants")},5747:e=>{"use strict";e.exports=require("fs")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},2413:e=>{"use strict";e.exports=require("stream")},4304:e=>{"use strict";e.exports=require("string_decoder")},1669:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var i=t[r]={exports:{}};var a=true;try{e[r].call(i.exports,i,i.exports,__nccwpck_require__);a=false}finally{if(a)delete t[r]}return i.exports}(()=>{__nccwpck_require__.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;__nccwpck_require__.d(t,{a:t});return t}})();(()=>{__nccwpck_require__.d=(e,t)=>{for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r={};(()=>{"use strict";__nccwpck_require__.r(r);__nccwpck_require__.d(r,{logError:()=>logError,logInfo:()=>logInfo});var e=__nccwpck_require__(2186);var t=__nccwpck_require__(7888);var n=__nccwpck_require__(5747);var i=__nccwpck_require__(5630);var a=__nccwpck_require__(5622);var s=__nccwpck_require__(8821);const o=require("child_process");const c=require("http");const u=require("https");var l=__nccwpck_require__(6235);var f=__nccwpck_require__.n(l);var p=__nccwpck_require__(2087);const m=JSON.parse((0,n.readFileSync)(__nccwpck_require__.ab+"package.json","utf-8"));const y=`${m.name||"Action-SpigotMC"}/${m.version||"UNKNOWN_VERSION"} (+${m.homepage||"https://github.com/SpraxDev/Action-SpigotMC"})`;const d=(0,p.cpus)().length;const h=(0,p.homedir)();function fixArgArr(e){const t=[];for(const r of e){const e=r.trim();if(e&&!t.includes(e)){t.push(e)}}return t}function isNumeric(e){return/^[0-9]+$/.test(e)}async function runCmd(e,t,r,i,a=false){return new Promise(((s,c)=>{const u=typeof i=="string";const l=typeof i!="string"?i:(0,n.createWriteStream)(i,{encoding:"utf-8",flags:"a"});const f=(0,o.spawn)(e,t,{shell:true,cwd:r,env:process.env});f.stdout.on("data",(e=>{l.write(e);if(!a){process.stdout.write(e)}}));f.stderr.on("data",(e=>{l.write(e);if(!a){process.stderr.write(e)}}));f.on("close",(t=>{if(u){l.close()}if(t!=0){return c({err:new Error(`process exited with code ${t}`),cmd:e,workingDir:r})}s()}))}))}async function downloadFile(e,t,r=0){const i=e.toLowerCase().startsWith("http://")?c.get:u.get;return new Promise(((a,s)=>{let o=null;const done=function(e){if(o){o.close();o=null;if(e&&t!=null){(0,n.rmdirSync)(t,{recursive:true})}}};i(e,{headers:{"User-Agent":y}},(e=>{if(e.statusCode!=200){const n=e.headers.location;if(r<12&&n&&(e.statusCode==301||e.statusCode==302||e.statusCode==303||e.statusCode==307||e.statusCode==308)){done(false);if(!/https?:\/\//g.test(n)){return s(new Error(`Server responded with ${e.statusCode} and a relative Location-Header value (${n})`))}return downloadFile(n,t,++r).then(a).catch(s)}else{done(true);return s(new Error(`Server responded with ${e.statusCode}`))}}if(t!=null){o=(0,n.createWriteStream)(t,{encoding:"binary"}).on("finish",(()=>{done(false);return a()})).on("error",(e=>{done(true);return s(e)}));e.pipe(o)}else{const t=[];e.on("data",(e=>{t.push(Buffer.from(e,"binary"))}));e.on("end",(()=>{a(Buffer.concat(t))}))}})).on("error",(e=>{done(true);return s(e)}))}))}function readLastLines(e,t,r="utf-8"){const n=[];const i=new(f())(e);let a;while(a=i.next()){n.push(a.toString(r));if(n.length>t){n.shift()}}return n}function resetWorkingDir(){const e=(0,a.join)((0,p.tmpdir)(),"SpraxDev-Action-SpigotMC");const t=(0,a.join)(e,"cache");const r=(0,a.join)(e,"logs");(0,n.rmdirSync)(e,{recursive:true});(0,n.mkdirSync)(t,{recursive:true});(0,n.mkdirSync)(r);return{base:e,cache:t,logs:r}}function exit(e,t){if(t){if(typeof t=="string"){logInfo(t)}else{logError(t)}}return process.exit(e)}const g={spraxdev:{url:"https://github.com/SpraxDev/Spigot-BuildTools/releases/latest/download/BuildTools.jar",prepareArgs:["--exit-after-fetch"]},spigotmc:{url:"https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar",prepareArgs:["--compile","None","--rev","1.16.5"]}};const v=(e.getInput("buildToolProvider")||"SpigotMC").toLowerCase();let S=fixArgArr((e.getInput("versions")||"latest").toLowerCase().split(","));const E=e.getInput("generateSrc")=="true";const w=e.getInput("generateDoc")=="true";const b=e.getInput("disableJavaCheck")=="true";const T=e.getInput("forceRun")=="true";const _=isNumeric(e.getInput("threads"))?parseInt(e.getInput("threads")):d;const k=resetWorkingDir();const x=(0,a.join)(k.logs,"SpraxDev_Actions-SpigotMC.log");const A=(0,n.createWriteStream)(x,{encoding:"utf-8",flags:"a"});async function run(){return new Promise((async(r,s)=>{try{if(S.length==0)return r({code:0,msg:"No version(s) provided to build"});if(!Object.keys(g).includes(v)){return s(new Error(`'${v}' is not a valid BuildTool-Provider (${Object.keys(g).join(", ")})`))}else if(v=="spraxdev"){logError(`SpraxDev's BuildTool has known issues causing builds to fail, please use 'SpigotMC' if you encounter any problems`)}if(!T){S=await removeExistingVersions(S,((e,t)=>{logInfo(`Skipping version '${e}' because it has been found in the local maven repository: ${t}`)}));if(S.length==0)return r({code:0,msg:"No new versions to build"})}const o=g[v];logInfo("Installed Java-Version:");await runCmd("java",["-version"],k.base,A);logInfo(`\nDownloading '${o.url}'...`);await downloadFile(o.url,(0,a.join)(k.cache,"BuildTools.jar"));const c=S.length!=1;if(c){logInfo("Prepare for future tasks by running BuildTools...");await e.group("Prepare BuildTools",(async()=>{try{return runCmd("java",["-jar","BuildTools.jar",b?"--disable-java-check":"",...o.prepareArgs],k.cache,A)}catch(e){logError(e);logError(`\nPrinting last 30 lines from '${(0,a.resolve)(x)}':`);for(const e of readLastLines(x,30)){logError(e)}return exit(1)}}))}const u=["-jar","BuildTools.jar","--compile","Spigot"];if(E){u.push("--generate-source")}if(w){u.push("--generate-docs")}if(b){u.push("--disable-java-check")}const l=[];for(const e of S){l.push((async()=>new Promise((async(t,r)=>{const s=Date.now();const o=(0,a.join)(k.logs,`${e}.log`);logInfo(`Building version '${e}'...`);const l=c?(0,a.join)(k.base,`${e}`):k.cache;if(c){await(0,i.copy)(k.cache,l)}try{await runCmd("java",[...u,"--rev",e],l,o,true);if(c){(0,n.rmdirSync)(l,{recursive:true})}const r=Date.now();logInfo(`Finished '${e}' in ${((r-s)/6e4).toFixed(2)} minutes`);t()}catch(t){logInfo(`An error occurred while building '${e}'`);logError(t);logError(`\nPrinting last 30 lines from '${(0,a.resolve)(o)}':`);for(const e of readLastLines(o,30)){logError(e)}r(t)}}))))}(0,t.parallelLimit)(l,_,(e=>{if(e)return s(e);r({code:0})}))}catch(e){s(e)}}))}async function removeExistingVersions(e,t){return new Promise((async(r,i)=>{var o,c,u;const l=[];for(const r of e){let e=false;let i=r!="latest"?r:null;try{const e=await downloadFile(`https://hub.spigotmc.org/versions/${r}.json`,null);const t=e instanceof Buffer?JSON.parse(e.toString("utf-8")):null;const n=(o=t===null||t===void 0?void 0:t.refs)===null||o===void 0?void 0:o.Bukkit;if(n){const e=await downloadFile(`https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/raw/pom.xml?at=${n}`,null);if(e instanceof Buffer){const t=(0,s.xml2js)(e.toString("utf-8"),{compact:true,ignoreComment:true,ignoreAttributes:true});i=(u=(c=t.project)===null||c===void 0?void 0:c.version)===null||u===void 0?void 0:u._text}}}catch(e){logError(e)}const f=(0,a.resolve)((0,a.join)(h,`/.m2/repository/org/spigotmc/spigot/${i}/spigot-${i}.jar`));if(i){e=(0,n.existsSync)(f)}if(e){t(r,f)}else{l.push(r)}}r(l)}))}function logInfo(e){console.log(e);A.write(e+"\n")}function logError(e){if(typeof e!="string"){e=JSON.stringify(e,null,2)}console.error(e);A.write(e+"\n")}run().then((e=>exit(e.code,e.msg))).catch((e=>exit(1,e)))})();module.exports=r})(); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/index.js.map b/dist/index.js.map index fa115f3..34ace8f 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"sources":["../webpack:/action-spigotmc/node_modules/@actions/core/lib/command.js","../webpack:/action-spigotmc/node_modules/@actions/core/lib/core.js","../webpack:/action-spigotmc/node_modules/@actions/core/lib/file-command.js","../webpack:/action-spigotmc/node_modules/@actions/core/lib/utils.js","../webpack:/action-spigotmc/node_modules/async/dist/async.js","../webpack:/action-spigotmc/node_modules/at-least-node/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/copy-sync/copy-sync.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/copy-sync/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/copy/copy.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/copy/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/empty/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/ensure/file.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/ensure/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/ensure/link.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/ensure/symlink-paths.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/ensure/symlink-type.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/ensure/symlink.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/fs/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/json/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/json/jsonfile.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/json/output-json-sync.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/json/output-json.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/mkdirs/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/mkdirs/make-dir.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/move-sync/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/move-sync/move-sync.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/move/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/move/move.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/output/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/path-exists/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/remove/index.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/remove/rimraf.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/util/stat.js","../webpack:/action-spigotmc/node_modules/fs-extra/lib/util/utimes.js","../webpack:/action-spigotmc/node_modules/graceful-fs/clone.js","../webpack:/action-spigotmc/node_modules/graceful-fs/graceful-fs.js","../webpack:/action-spigotmc/node_modules/graceful-fs/legacy-streams.js","../webpack:/action-spigotmc/node_modules/graceful-fs/polyfills.js","../webpack:/action-spigotmc/node_modules/jsonfile/index.js","../webpack:/action-spigotmc/node_modules/jsonfile/utils.js","../webpack:/action-spigotmc/node_modules/n-readlines/readlines.js","../webpack:/action-spigotmc/node_modules/sax/lib/sax.js","../webpack:/action-spigotmc/node_modules/universalify/index.js","../webpack:/action-spigotmc/node_modules/xml-js/lib/array-helper.js","../webpack:/action-spigotmc/node_modules/xml-js/lib/index.js","../webpack:/action-spigotmc/node_modules/xml-js/lib/js2xml.js","../webpack:/action-spigotmc/node_modules/xml-js/lib/json2xml.js","../webpack:/action-spigotmc/node_modules/xml-js/lib/options-helper.js","../webpack:/action-spigotmc/node_modules/xml-js/lib/xml2js.js","../webpack:/action-spigotmc/node_modules/xml-js/lib/xml2json.js","../webpack:/action-spigotmc/src/index.ts","../webpack:/action-spigotmc/src/utils.ts","../webpack:/action-spigotmc/external \"assert\"","../webpack:/action-spigotmc/external \"child_process\"","../webpack:/action-spigotmc/external \"constants\"","../webpack:/action-spigotmc/external \"fs\"","../webpack:/action-spigotmc/external \"http\"","../webpack:/action-spigotmc/external \"https\"","../webpack:/action-spigotmc/external \"os\"","../webpack:/action-spigotmc/external \"path\"","../webpack:/action-spigotmc/external \"stream\"","../webpack:/action-spigotmc/external \"string_decoder\"","../webpack:/action-spigotmc/external \"util\"","../webpack:/action-spigotmc/webpack/bootstrap","../webpack:/action-spigotmc/webpack/runtime/compat","../webpack:/action-spigotmc/webpack/startup"],"names":["__importStar","this","mod","__esModule","result","k","Object","hasOwnProperty","call","defineProperty","exports","value","os","__webpack_require__","utils_1","issueCommand","command","properties","message","cmd","Command","process","stdout","write","toString","EOL","issue","name","CMD_STRING","[object Object]","cmdStr","keys","length","first","key","val","escapeProperty","escapeData","s","toCommandValue","replace","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","done","then","apply","command_1","file_command_1","path","ExitCode","exportVariable","convertedVal","env","filePath","delimiter","commandValue","setSecret","secret","addPath","inputPath","getInput","options","toUpperCase","required","Error","trim","setOutput","setCommandEcho","enabled","setFailed","exitCode","Failure","error","isDebug","debug","warning","info","startGroup","endGroup","group","fn","saveState","getState","fs","existsSync","appendFileSync","encoding","input","undefined","String","JSON","stringify","global","factory","args","callArgs","initialParams","callback","pop","hasSetImmediate","setImmediate","hasNextTick","nextTick","fallback","setTimeout","wrap","defer","_defer","setImmediate$1","asyncify","func","isAsync","promise","handlePromise","invokeCallback","err","Symbol","toStringTag","isAsyncGenerator","isAsyncIterable","obj","asyncIterator","wrapAsync","asyncFn","awaitify","arity","awaitable","cbArgs","applyEach","eachfn","fns","go","that","cb","concat","_asyncMap","arr","iteratee","results","counter","_iteratee","_","iterCb","index","v","isArrayLike","breakLoop","once","wrapper","callFn","assign","getIterator","coll","iterator","createArrayIterator","i","len","createES2015Iterator","item","createObjectIterator","okeys","createIterator","onlyOnce","asyncEachOfLimit","limit","canceled","awaiting","running","idx","replenish","iterDone","iterateeCallback","catch","handleError","eachOfLimit","RangeError","nextElem","looping","elem","eachOfLimit$1","eachOfLimit$2","eachOfArrayLike","completed","iteratorCallback","eachOfGeneric","Infinity","eachOf","eachOfImplementation","eachOf$1","map","map$1","applyEach$1","eachOfSeries","eachOfSeries$1","mapSeries","mapSeries$1","applyEachSeries","PROMISE_SYMBOL","promiseCallback","res","rej","auto","tasks","concurrency","numTasks","runningTasks","hasError","listeners","create","readyTasks","readyToCheck","uncheckedDependencies","forEach","task","Array","isArray","enqueueTask","push","dependencies","slice","remainingDependencies","dependencyName","join","addListener","checkForDeadlocks","processQueue","runTask","run","shift","taskName","taskListeners","taskComplete","taskCallback","safeResults","rkey","taskFn","currentTask","getDependents","dependent","indexOf","FN_ARGS","ARROW_FN_ARGS","FN_ARG_SPLIT","FN_ARG","STRIP_COMMENTS","parseParams","src","match","split","arg","autoInject","newTasks","params","fnIsAsync","hasNoDeps","newTask","taskCb","newArgs","DLL","head","tail","node","prev","newNode","insertBefore","setInitial","insertAfter","removeLink","cur","data","testFn","curr","dll","queue","worker","payload","_worker","numRunning","workersList","events","drain","saturated","unsaturated","empty","on","event","handler","handleAndRemove","off","ev","filter","trigger","processingScheduled","_insert","insertAtFront","rejectOnError","q","started","_tasks","unshift","_createCB","l","splice","buffer","idle","_maybeDrain","eventMethod","isProcessing","paused","datum","remove","Math","min","defineProperties","writable","cargo","cargo$1","reduce","memo","x","reduce$1","seq","functions","_functions","newargs","nextargs","compose","reverse","mapLimit","mapLimit$1","concatLimit","mapResults","concatLimit$1","concat$1","concatSeries","concatSeries$1","constant","ignoredArgs","_createTester","check","getResult","testPassed","testResult","detect","bool","detect$1","detectLimit","detectLimit$1","detectSeries","detectSeries$1","consoleFunc","resultArgs","console","dir","doWhilst","test","_fn","_test","truth","doWhilst$1","doUntil","_withoutIndex","eachLimit","each","eachLimit$1","eachLimit$2","eachSeries","eachSeries$1","ensureAsync","sync","innerArgs","every","every$1","everyLimit","everyLimit$1","everySeries","everySeries$1","filterArray","truthValues","filterGeneric","sort","a","b","_filter","filter$1","filterLimit","filterLimit$1","filterSeries","filterSeries$1","forever","errback","forever$1","groupByLimit","prototype","groupByLimit$1","groupBy","groupBySeries","log","mapValuesLimit","newObj","mapValuesLimit$1","mapValues","mapValuesSeries","memoize","hasher","queues","memoized","unmemoized","_defer$1","parallel","parallel$1","parallelLimit","queue$1","items","Heap","heap","pushCount","Number","MIN_SAFE_INTEGER","p","smaller","parent","t","leftChi","percUp","top","percDown","j","y","priority","priorityQueue","race","TypeError","race$1","reduceRight","array","reversed","reflect","reflectOn","reflectCallback","retVal","reflectAll","reject$1","reject$2","rejectLimit","rejectLimit$1","rejectSeries","rejectSeries$1","constant$1","DEFAULT_TIMES","DEFAULT_INTERVAL","retry","opts","times","intervalFunc","arguments","parseTimes","_task","attempt","retryAttempt","errorFilter","acc","interval","retryable","series","some","Boolean","some$1","someLimit","someLimit$1","someSeries","someSeries$1","sortBy","criteria","comparator","left","right","sortBy$1","timeout","milliseconds","timedOut","timer","timeoutCallback","code","clearTimeout","range","size","timesLimit","count","n","timesSeries","transform","accumulator","tryEach","tryEach$1","unmemoize","whilst","rest","whilst$1","until","waterfall","taskIndex","nextTask","waterfall$1","cargoQueue","all","allLimit","allSeries","any","anyLimit","anySeries","find","findLimit","findSeries","flatMap","flatMapLimit","flatMapSeries","forEachSeries","forEachLimit","forEachOf","forEachOfSeries","forEachOfLimit","inject","foldl","foldr","select","selectLimit","selectSeries","wrapSync","during","doDuring","default","module","r","versions","parseInt","mkdirsSync","utimesMillisSync","stat","copySync","dest","clobber","overwrite","preserveTimestamps","arch","warn","srcStat","destStat","checkPathsSync","checkParentPathsSync","handleFilterAndCopy","destParent","dirname","startCopy","getStats","statSync","dereference","lstatSync","isDirectory","onDir","isFile","isCharacterDevice","isBlockDevice","onFile","isSymbolicLink","onLink","copyFile","mayCopyFile","unlinkSync","errorOnExist","copyFileSync","handleTimestamps","mode","setDestMode","srcMode","fileIsNotWritable","makeFileWritable","setDestTimestamps","chmodSync","updatedSrcStat","atime","mtime","mkDirAndCopy","copyDir","mkdirSync","readdirSync","copyDirItem","srcItem","destItem","resolvedSrc","readlinkSync","cwd","symlinkSync","resolvedDest","isSrcSubdir","copyLink","mkdirs","pathExists","utimesMillis","copy","checkPaths","stats","checkParentPaths","handleFilter","checkParentDir","dirExists","onInclude","include","lstat","unlink","handleTimestampsAndMode","setDestTimestampsAndMode","chmod","mkdir","readdir","copyDirItems","readlink","symlink","u","fromCallback","emptyDir","deleteItem","emptyDirSync","removeSync","emptydirSync","emptydir","createFile","file","makeFile","writeFile","createFileSync","writeFileSync","link","ensureFile","ensureFileSync","createLink","createLinkSync","ensureLink","ensureLinkSync","createSymlink","createSymlinkSync","ensureSymlink","ensureSymlinkSync","srcpath","dstpath","makeLink","destinationExists","linkSync","symlinkPaths","isAbsolute","toCwd","toDst","dstdir","relativeToDst","exists","relative","symlinkPathsSync","symlinkType","type","symlinkTypeSync","_mkdirs","_symlinkPaths","_symlinkType","api","method","filename","read","fd","offset","position","bytesRead","bytesWritten","writev","buffers","realpath","native","getOwnPropertyDescriptor","promises","fromPromise","jsonFile","outputJson","outputJsonSync","outputJSON","outputJSONSync","writeJSON","writeJson","writeJSONSync","writeJsonSync","readJSON","readJson","readJSONSync","readJsonSync","readFile","readFileSync","outputFileSync","str","outputFile","async","makeDir","_makeDir","makeDirSync","mkdirp","mkdirpSync","ensureDir","ensureDirSync","atLeastNode","useNativeRecursiveOption","checkPath","pth","platform","pathHasInvalidWinCharacters","parse","root","processOptions","defaults","permissionError","errno","syscall","recursive","make","includes","moveSync","doRename","rename","renameSync","moveAcrossDevice","move","destExists","itDoes","access","pathExistsSync","rimraf","assert","isWindows","methods","m","maxBusyTries","busyTries","strictEqual","rimraf_","CB","er","time","st","fixWinEPERM","rmdir","er2","er3","fixWinEPERMSync","rmdirSync","originalEr","rmkids","files","errState","f","rimrafSync","rmkidsSync","startTime","Date","now","ret","util","nodeSupportsBigInt","bigint","getStatsSync","funcName","callbackify","areIdentical","errMsg","srcParent","ino","dev","MAX_SAFE_INTEGER","nlink","atimeMs","mtimeMs","ctimeMs","birthtimeMs","srcArr","sep","destArr","open","futimes","futimesErr","close","closeErr","openSync","futimesSync","closeSync","clone","__proto__","getOwnPropertyNames","polyfills","legacy","gracefulQueue","previousSymbol","for","noop","publishQueue","context","get","debuglog","NODE_DEBUG","format","fs$close","fs$closeSync","equal","patch","TEST_GRACEFUL_FS_GLOBAL_PATCH","__patched","gracefulify","createReadStream","createWriteStream","fs$readFile","go$readFile","enqueue","fs$writeFile","go$writeFile","fs$appendFile","appendFile","go$appendFile","fs$readdir","go$readdir$cb","go$readdir","version","substr","legStreams","ReadStream","WriteStream","fs$ReadStream","ReadStream$open","fs$WriteStream","WriteStream$open","set","enumerable","configurable","FileReadStream","FileWriteStream","flags","autoClose","destroy","emit","fs$open","go$open","Stream","self","readable","bufferSize","setEncoding","start","end","pos","_read","busy","_queue","_open","flush","constants","origCwd","GRACEFUL_FS_PLATFORM","chdir","d","patchLchmod","lutimes","patchLutimes","chown","chownFix","fchown","lchown","chmodFix","fchmod","lchmod","chownSync","chownFixSync","fchownSync","lchownSync","chmodFixSync","fchmodSync","lchmodSync","statFix","fstat","statFixSync","fstatSync","uid","gid","fs$rename","from","to","backoff","stater","fs$read","callback_","eagCounter","__","readSync","fs$readSync","O_WRONLY","O_SYMLINK","err2","threw","at","mt","lutimesSync","_a","_b","_c","orig","target","chownErOk","nonroot","getuid","_fs","universalify","stripBom","_readFile","shouldThrow","throws","reviver","content","_writeFile","jsonfile","finalEOL","replacer","spaces","EOF","Buffer","isBuffer","LineByLine","readChunk","newLineCharacter","charCodeAt","reset","hexNeedle","found","b_byte","eofReached","linesCache","fdPosition","line","lines","bufferPosition","lastNewLineBufferPosition","bufferPositionValue","leftovers","lineLeftovers","totalBytesRead","readBuffer","_searchInBuffer","bufferData","_extractLines","_readChunk","lastLineCharacter","sax","parser","strict","opt","SAXParser","SAXStream","createStream","MAX_BUFFER_LENGTH","EVENTS","clearBuffers","c","bufferCheckPosition","lowercase","lowercasetags","looseCase","tags","closed","closedRoot","sawRoot","tag","noscript","state","S","BEGIN","strictEntities","ENTITIES","XML_ENTITIES","attribList","xmlns","ns","rootNS","trackPosition","column","o","F","newf","checkBufferLength","maxAllowed","max","maxActual","closeText","emitNode","cdata","script","flushBuffers","resume","ex","streamWraps","_parser","me","onend","onerror","_decoder","h","removeAllListeners","constructor","SD","StringDecoder","chunk","CDATA","DOCTYPE","XML_NAMESPACE","XMLNS_NAMESPACE","xml","nameStart","nameBody","entityStart","entityBody","isWhitespace","isQuote","isAttribEnd","isMatch","regex","notMatch","STATE","BEGIN_WHITESPACE","TEXT","TEXT_ENTITY","OPEN_WAKA","SGML_DECL","SGML_DECL_QUOTED","DOCTYPE_QUOTED","DOCTYPE_DTD","DOCTYPE_DTD_QUOTED","COMMENT_STARTING","COMMENT","COMMENT_ENDING","COMMENT_ENDED","CDATA_ENDING","CDATA_ENDING_2","PROC_INST","PROC_INST_BODY","PROC_INST_ENDING","OPEN_TAG","OPEN_TAG_SLASH","ATTRIB","ATTRIB_NAME","ATTRIB_NAME_SAW_WHITE","ATTRIB_VALUE","ATTRIB_VALUE_QUOTED","ATTRIB_VALUE_CLOSED","ATTRIB_VALUE_UNQUOTED","ATTRIB_VALUE_ENTITY_Q","ATTRIB_VALUE_ENTITY_U","CLOSE_TAG","CLOSE_TAG_SAW_WHITE","SCRIPT","SCRIPT_ENDING","amp","gt","lt","quot","apos","AElig","Aacute","Acirc","Agrave","Aring","Atilde","Auml","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","Iacute","Icirc","Igrave","Iuml","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","aelig","agrave","aring","atilde","auml","ccedil","eacute","ecirc","egrave","eth","euml","iacute","icirc","igrave","iuml","ntilde","oacute","ocirc","ograve","oslash","otilde","ouml","szlig","thorn","uacute","ucirc","ugrave","uuml","yacute","yuml","reg","nbsp","iexcl","cent","pound","curren","yen","brvbar","sect","uml","ordf","laquo","not","shy","macr","deg","plusmn","sup1","sup2","sup3","acute","micro","para","middot","cedil","ordm","raquo","frac14","frac12","frac34","iquest","divide","OElig","oelig","Scaron","scaron","Yuml","fnof","circ","tilde","Alpha","Beta","Gamma","Delta","Epsilon","Zeta","Eta","Theta","Iota","Kappa","Lambda","Mu","Nu","Xi","Omicron","Pi","Rho","Sigma","Tau","Upsilon","Phi","Chi","Psi","Omega","alpha","beta","gamma","delta","epsilon","zeta","eta","theta","iota","kappa","lambda","mu","nu","xi","omicron","pi","rho","sigmaf","sigma","tau","upsilon","phi","chi","psi","omega","thetasym","upsih","piv","ensp","emsp","thinsp","zwnj","zwj","lrm","rlm","ndash","mdash","lsquo","rsquo","sbquo","ldquo","rdquo","bdquo","dagger","Dagger","bull","hellip","permil","prime","Prime","lsaquo","rsaquo","oline","frasl","euro","image","weierp","real","trade","alefsym","larr","uarr","rarr","darr","harr","crarr","lArr","uArr","rArr","dArr","hArr","forall","part","exist","nabla","isin","notin","ni","prod","sum","minus","lowast","radic","prop","infin","ang","and","or","cap","cup","int","there4","sim","cong","asymp","ne","equiv","le","ge","sub","sup","nsub","sube","supe","oplus","otimes","perp","sdot","lceil","rceil","lfloor","rfloor","lang","rang","loz","spades","clubs","hearts","diams","fromCharCode","nodeType","textNode","textopts","text","normalize","strictFail","newTag","tagName","attributes","qname","attribute","qualName","prefix","local","attrib","attribName","attribValue","qn","openTag","selfClosing","uri","nv","isSelfClosing","toLowerCase","closeTag","closeTo","parseEntity","entity","entityLC","num","numStr","charAt","isNaN","fromCodePoint","beginWhiteSpace","startTagPosition","starti","substring","sgmlDecl","procInstName","procInstBody","pad","comment","doctype","body","returnState","stringFromCharCode","floor","MAX_SIZE","codeUnits","highSurrogate","lowSurrogate","codePoint","isFinite","xml2js","xml2json","js2xml","json2xml","helper","currentElement","currentElementName","validateOptions","userOptions","copyOptions","ensureFlagExists","ensureSpacesExists","ensureKeyExists","checkFnExists","writeIndentation","depth","firstLine","writeAttributes","ignoreAttributes","attributesFn","attr","attrName","quote","noQuotesForNativeAttributes","attributeNameFn","indentAttributes","attributeValueFn","writeDeclaration","declaration","ignoreDeclaration","attributesKey","writeInstruction","instruction","ignoreInstruction","instructionName","instructionNameFn","instructionValue","instructionFn","writeComment","ignoreComment","commentFn","writeCdata","ignoreCdata","cdataFn","writeDoctype","ignoreDoctype","doctypeFn","writeText","ignoreText","textFn","hasContent","element","elements","typeKey","indentText","indentCdata","indentInstruction","writeElement","elementName","elementNameFn","withClosingTag","elementsKey","fullTagEmptyElementFn","fullTagEmptyElement","writeElements","indent","commentKey","doctypeKey","cdataKey","textKey","nameKey","instructionKey","hasContentCompact","anyContent","parentKey","writeElementCompact","writeElementsCompact","nodes","declarationKey","js","compact","json","ensureAlwaysArrayExists","alwaysArray","expat","pureJsParser","nativeType","nValue","bValue","addField","temp","instructionHasAttributes","addParent","manipulateAttributes","nativeTypeAttributes","onInstruction","attrsRegExp","exec","onStartElement","alwaysChildren","onText","captureSpacesBetweenElements","sanitize","onComment","onEndElement","parentElement","onCdata","onDoctype","onError","note","Parser","onopentag","ontext","oncomment","onclosetag","oncdata","ondoctype","onprocessinginstruction","getError","__createBinding","k2","__setModuleDefault","logError","logInfo","core","async_1","fs_1","fs_extra_1","path_1","xml_js_1","supportedBuildTools","spraxdev","url","prepareArgs","spigotmc","buildToolProvider","fixArgArr","generateSrc","generateDoc","disableJavaCheck","forceRun","threadCount","isNumeric","cpuCount","workingDir","resetWorkingDir","appLogFile","logs","appLogStream","msg","removeExistingVersions","ver","jarPath","buildTool","runCmd","base","downloadFile","cache","gotTemplateDirectory","readLastLines","exit","buildToolsArgs","resolveTask","rejectTask","logFile","versionDir","toFixed","versionArr","onExist","_reject","skipVersion","versionToCheck","verJsonBuff","verJson","bukkitRef","refs","Bukkit","verPomBuff","project","_text","userHomeDir","packageJson","ab","require","__webpack_module_cache__","moduleId","__webpack_modules__","__dirname"],"mappings":"8DACA,IAAAA,EAAAC,MAAAA,KAAAD,cAAA,SAAAE,GACA,GAAAA,GAAAA,EAAAC,WAAA,OAAAD,EACA,IAAAE,EAAA,GACA,GAAAF,GAAA,KAAA,IAAA,IAAAG,KAAAH,EAAA,GAAAI,OAAAC,eAAAC,KAAAN,EAAAG,GAAAD,EAAAC,GAAAH,EAAAG,GACAD,EAAA,WAAAF,EACA,OAAAE,GAEAE,OAAAG,eAAAC,EAAA,aAAA,CAAAC,MAAA,OACA,MAAAC,EAAAZ,EAAAa,EAAA,OACA,MAAAC,EAAAD,EAAA,MAWA,SAAAE,aAAAC,EAAAC,EAAAC,GACA,MAAAC,EAAA,IAAAC,QAAAJ,EAAAC,EAAAC,GACAG,QAAAC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C,OAAA,IACAC,OAAA,IACAC,OAAA,IACAhsB,MAAA,IACAisB,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,OAAA,IACAC,OAAA,IACAC,KAAA,IACAC,KAAA,IACAC,KAAA,IACAC,MAAA,IACAC,MAAA,IACAC,KAAA,IACAC,MAAA,IACAC,MAAA,IACAC,QAAA,IACAC,KAAA,IACAC,IAAA,IACAC,MAAA,IACAC,KAAA,IACAC,MAAA,IACAC,OAAA,IACAC,GAAA,IACAC,GAAA,IACAC,GAAA,IACAC,QAAA,IACAC,GAAA,IACAC,IAAA,IACAC,MAAA,IACAC,IAAA,IACAC,QAAA,IACAC,IAAA,IACAC,IAAA,IACAC,IAAA,IACAC,MAAA,IACAC,MAAA,IACAC,KAAA,IACAC,MAAA,IACAC,MAAA,IACAC,QAAA,IACAC,KAAA,IACAC,IAAA,IACAC,MAAA,IACAC,KAAA,IACAC,MAAA,IACAC,OAAA,IACAC,GAAA,IACAC,GAAA,IACAC,GAAA,IACAC,QAAA,IACAC,GAAA,IACAC,IAAA,IACAC,OAAA,IACAC,MAAA,IACAC,IAAA,IACAC,QAAA,IACAC,IAAA,IACAC,IAAA,IACAC,IAAA,IACAC,MAAA,IACAC,SAAA,IACAC,MAAA,IACAC,IAAA,IACAC,KAAA,KACAC,KAAA,KACAC,OAAA,KACAC,KAAA,KACAC,IAAA,KACAC,IAAA,KACAC,IAAA,KACAC,MAAA,KACAC,MAAA,KACAC,MAAA,KACAC,MAAA,KACAC,MAAA,KACAC,MAAA,KACAC,MAAA,KACAC,MAAA,KACAC,OAAA,KACAC,OAAA,KACAC,KAAA,KACAC,OAAA,KACAC,OAAA,KACAC,MAAA,KACAC,MAAA,KACAC,OAAA,KACAC,OAAA,KACAC,MAAA,KACAC,MAAA,KACAC,KAAA,KACAC,MAAA,KACAC,OAAA,KACAC,KAAA,KACAC,MAAA,KACAC,QAAA,KACAC,KAAA,KACAC,KAAA,KACAC,KAAA,KACAC,KAAA,KACAC,KAAA,KACAC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,EAAAthB,QAAA8gD,QAAA,iCCAAx/B,EAAAthB,QAAA8gD,QAAA,wCCAAx/B,EAAAthB,QAAA8gD,QAAA,oCCAAx/B,EAAAthB,QAAA8gD,QAAA,6BCAAx/B,EAAAthB,QAAA8gD,QAAA,+BCAAx/B,EAAAthB,QAAA8gD,QAAA,gCCAAx/B,EAAAthB,QAAA8gD,QAAA,6BCAAx/B,EAAAthB,QAAA8gD,QAAA,+BCAAx/B,EAAAthB,QAAA8gD,QAAA,iCCAAx/B,EAAAthB,QAAA8gD,QAAA,yCCAAx/B,EAAAthB,QAAA8gD,QAAA,UCCA,IAAAC,EAAA,GAGA,SAAA5gD,oBAAA6gD,GAEA,GAAAD,EAAAC,GAAA,CACA,OAAAD,EAAAC,GAAAhhD,QAGA,IAAAshB,EAAAy/B,EAAAC,GAAA,CAGAhhD,QAAA,IAIA,IAAAq4B,EAAA,KACA,IACA4oB,EAAAD,GAAAlhD,KAAAwhB,EAAAthB,QAAAshB,EAAAA,EAAAthB,QAAAG,qBACAk4B,EAAA,MACA,QACA,GAAAA,SAAA0oB,EAAAC,GAIA,OAAA1/B,EAAAthB,QCzBAG,oBAAA0gD,GAAAK,UAAA,ICEA,OAAA/gD,oBAAA","file":"index.js","sourcesContent":["\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nexports.issueCommand = issueCommand;\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nexports.issue = issue;\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst command_1 = require(\"./command\");\nconst file_command_1 = require(\"./file-command\");\nconst utils_1 = require(\"./utils\");\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = utils_1.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n const delimiter = '_GitHubActionsFileCommandDelimeter_';\n const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;\n file_command_1.issueCommand('ENV', commandValue);\n }\n else {\n command_1.issueCommand('set-env', { name }, convertedVal);\n }\n}\nexports.exportVariable = exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */\nfunction setSecret(secret) {\n command_1.issueCommand('add-mask', {}, secret);\n}\nexports.setSecret = setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n file_command_1.issueCommand('PATH', inputPath);\n }\n else {\n command_1.issueCommand('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\nexports.addPath = addPath;\n/**\n * Gets the value of an input. The value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n return val.trim();\n}\nexports.getInput = getInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n command_1.issueCommand('set-output', { name }, value);\n}\nexports.setOutput = setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n command_1.issue('echo', enabled ? 'on' : 'off');\n}\nexports.setCommandEcho = setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\nexports.setFailed = setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\nexports.isDebug = isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n command_1.issueCommand('debug', {}, message);\n}\nexports.debug = debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n */\nfunction error(message) {\n command_1.issue('error', message instanceof Error ? message.toString() : message);\n}\nexports.error = error;\n/**\n * Adds an warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n */\nfunction warning(message) {\n command_1.issue('warning', message instanceof Error ? message.toString() : message);\n}\nexports.warning = warning;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\nexports.info = info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n command_1.issue('group', name);\n}\nexports.startGroup = startGroup;\n/**\n * End an output group.\n */\nfunction endGroup() {\n command_1.issue('endgroup');\n}\nexports.endGroup = endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\nexports.group = group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n command_1.issueCommand('save-state', { name }, value);\n}\nexports.saveState = saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nexports.getState = getState;\n//# sourceMappingURL=core.js.map","\"use strict\";\n// For internal use, subject to change.\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst fs = __importStar(require(\"fs\"));\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\nfunction issueCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nexports.issueCommand = issueCommand;\n//# sourceMappingURL=file-command.js.map","\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\nexports.toCommandValue = toCommandValue;\n//# sourceMappingURL=utils.js.map","(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (factory((global.async = {})));\n}(this, (function (exports) { 'use strict';\n\n /**\n * Creates a continuation function with some arguments already applied.\n *\n * Useful as a shorthand when combined with other control flow functions. Any\n * arguments passed to the returned function are added to the arguments\n * originally passed to apply.\n *\n * @name apply\n * @static\n * @memberOf module:Utils\n * @method\n * @category Util\n * @param {Function} fn - The function you want to eventually apply all\n * arguments to. Invokes with (arguments...).\n * @param {...*} arguments... - Any number of arguments to automatically apply\n * when the continuation is called.\n * @returns {Function} the partially-applied function\n * @example\n *\n * // using apply\n * async.parallel([\n * async.apply(fs.writeFile, 'testfile1', 'test1'),\n * async.apply(fs.writeFile, 'testfile2', 'test2')\n * ]);\n *\n *\n * // the same process without using apply\n * async.parallel([\n * function(callback) {\n * fs.writeFile('testfile1', 'test1', callback);\n * },\n * function(callback) {\n * fs.writeFile('testfile2', 'test2', callback);\n * }\n * ]);\n *\n * // It's possible to pass any number of additional arguments when calling the\n * // continuation:\n *\n * node> var fn = async.apply(sys.puts, 'one');\n * node> fn('two', 'three');\n * one\n * two\n * three\n */\n function apply(fn, ...args) {\n return (...callArgs) => fn(...args,...callArgs);\n }\n\n function initialParams (fn) {\n return function (...args/*, callback*/) {\n var callback = args.pop();\n return fn.call(this, args, callback);\n };\n }\n\n /* istanbul ignore file */\n\n var hasSetImmediate = typeof setImmediate === 'function' && setImmediate;\n var hasNextTick = typeof process === 'object' && typeof process.nextTick === 'function';\n\n function fallback(fn) {\n setTimeout(fn, 0);\n }\n\n function wrap(defer) {\n return (fn, ...args) => defer(() => fn(...args));\n }\n\n var _defer;\n\n if (hasSetImmediate) {\n _defer = setImmediate;\n } else if (hasNextTick) {\n _defer = process.nextTick;\n } else {\n _defer = fallback;\n }\n\n var setImmediate$1 = wrap(_defer);\n\n /**\n * Take a sync function and make it async, passing its return value to a\n * callback. This is useful for plugging sync functions into a waterfall,\n * series, or other async functions. Any arguments passed to the generated\n * function will be passed to the wrapped function (except for the final\n * callback argument). Errors thrown will be passed to the callback.\n *\n * If the function passed to `asyncify` returns a Promise, that promises's\n * resolved/rejected state will be used to call the callback, rather than simply\n * the synchronous return value.\n *\n * This also means you can asyncify ES2017 `async` functions.\n *\n * @name asyncify\n * @static\n * @memberOf module:Utils\n * @method\n * @alias wrapSync\n * @category Util\n * @param {Function} func - The synchronous function, or Promise-returning\n * function to convert to an {@link AsyncFunction}.\n * @returns {AsyncFunction} An asynchronous wrapper of the `func`. To be\n * invoked with `(args..., callback)`.\n * @example\n *\n * // passing a regular synchronous function\n * async.waterfall([\n * async.apply(fs.readFile, filename, \"utf8\"),\n * async.asyncify(JSON.parse),\n * function (data, next) {\n * // data is the result of parsing the text.\n * // If there was a parsing error, it would have been caught.\n * }\n * ], callback);\n *\n * // passing a function returning a promise\n * async.waterfall([\n * async.apply(fs.readFile, filename, \"utf8\"),\n * async.asyncify(function (contents) {\n * return db.model.create(contents);\n * }),\n * function (model, next) {\n * // `model` is the instantiated model object.\n * // If there was an error, this function would be skipped.\n * }\n * ], callback);\n *\n * // es2017 example, though `asyncify` is not needed if your JS environment\n * // supports async functions out of the box\n * var q = async.queue(async.asyncify(async function(file) {\n * var intermediateStep = await processFile(file);\n * return await somePromise(intermediateStep)\n * }));\n *\n * q.push(files);\n */\n function asyncify(func) {\n if (isAsync(func)) {\n return function (...args/*, callback*/) {\n const callback = args.pop();\n const promise = func.apply(this, args);\n return handlePromise(promise, callback)\n }\n }\n\n return initialParams(function (args, callback) {\n var result;\n try {\n result = func.apply(this, args);\n } catch (e) {\n return callback(e);\n }\n // if result is Promise object\n if (result && typeof result.then === 'function') {\n return handlePromise(result, callback)\n } else {\n callback(null, result);\n }\n });\n }\n\n function handlePromise(promise, callback) {\n return promise.then(value => {\n invokeCallback(callback, null, value);\n }, err => {\n invokeCallback(callback, err && err.message ? err : new Error(err));\n });\n }\n\n function invokeCallback(callback, error, value) {\n try {\n callback(error, value);\n } catch (err) {\n setImmediate$1(e => { throw e }, err);\n }\n }\n\n function isAsync(fn) {\n return fn[Symbol.toStringTag] === 'AsyncFunction';\n }\n\n function isAsyncGenerator(fn) {\n return fn[Symbol.toStringTag] === 'AsyncGenerator';\n }\n\n function isAsyncIterable(obj) {\n return typeof obj[Symbol.asyncIterator] === 'function';\n }\n\n function wrapAsync(asyncFn) {\n if (typeof asyncFn !== 'function') throw new Error('expected a function')\n return isAsync(asyncFn) ? asyncify(asyncFn) : asyncFn;\n }\n\n // conditionally promisify a function.\n // only return a promise if a callback is omitted\n function awaitify (asyncFn, arity = asyncFn.length) {\n if (!arity) throw new Error('arity is undefined')\n function awaitable (...args) {\n if (typeof args[arity - 1] === 'function') {\n return asyncFn.apply(this, args)\n }\n\n return new Promise((resolve, reject) => {\n args[arity - 1] = (err, ...cbArgs) => {\n if (err) return reject(err)\n resolve(cbArgs.length > 1 ? cbArgs : cbArgs[0]);\n };\n asyncFn.apply(this, args);\n })\n }\n\n return awaitable\n }\n\n function applyEach (eachfn) {\n return function applyEach(fns, ...callArgs) {\n const go = awaitify(function (callback) {\n var that = this;\n return eachfn(fns, (fn, cb) => {\n wrapAsync(fn).apply(that, callArgs.concat(cb));\n }, callback);\n });\n return go;\n };\n }\n\n function _asyncMap(eachfn, arr, iteratee, callback) {\n arr = arr || [];\n var results = [];\n var counter = 0;\n var _iteratee = wrapAsync(iteratee);\n\n return eachfn(arr, (value, _, iterCb) => {\n var index = counter++;\n _iteratee(value, (err, v) => {\n results[index] = v;\n iterCb(err);\n });\n }, err => {\n callback(err, results);\n });\n }\n\n function isArrayLike(value) {\n return value &&\n typeof value.length === 'number' &&\n value.length >= 0 &&\n value.length % 1 === 0;\n }\n\n // A temporary value used to identify if the loop should be broken.\n // See #1064, #1293\n const breakLoop = {};\n\n function once(fn) {\n function wrapper (...args) {\n if (fn === null) return;\n var callFn = fn;\n fn = null;\n callFn.apply(this, args);\n }\n Object.assign(wrapper, fn);\n return wrapper\n }\n\n function getIterator (coll) {\n return coll[Symbol.iterator] && coll[Symbol.iterator]();\n }\n\n function createArrayIterator(coll) {\n var i = -1;\n var len = coll.length;\n return function next() {\n return ++i < len ? {value: coll[i], key: i} : null;\n }\n }\n\n function createES2015Iterator(iterator) {\n var i = -1;\n return function next() {\n var item = iterator.next();\n if (item.done)\n return null;\n i++;\n return {value: item.value, key: i};\n }\n }\n\n function createObjectIterator(obj) {\n var okeys = obj ? Object.keys(obj) : [];\n var i = -1;\n var len = okeys.length;\n return function next() {\n var key = okeys[++i];\n return i < len ? {value: obj[key], key} : null;\n };\n }\n\n function createIterator(coll) {\n if (isArrayLike(coll)) {\n return createArrayIterator(coll);\n }\n\n var iterator = getIterator(coll);\n return iterator ? createES2015Iterator(iterator) : createObjectIterator(coll);\n }\n\n function onlyOnce(fn) {\n return function (...args) {\n if (fn === null) throw new Error(\"Callback was already called.\");\n var callFn = fn;\n fn = null;\n callFn.apply(this, args);\n };\n }\n\n // for async generators\n function asyncEachOfLimit(generator, limit, iteratee, callback) {\n let done = false;\n let canceled = false;\n let awaiting = false;\n let running = 0;\n let idx = 0;\n\n function replenish() {\n //console.log('replenish')\n if (running >= limit || awaiting || done) return\n //console.log('replenish awaiting')\n awaiting = true;\n generator.next().then(({value, done: iterDone}) => {\n //console.log('got value', value)\n if (canceled || done) return\n awaiting = false;\n if (iterDone) {\n done = true;\n if (running <= 0) {\n //console.log('done nextCb')\n callback(null);\n }\n return;\n }\n running++;\n iteratee(value, idx, iterateeCallback);\n idx++;\n replenish();\n }).catch(handleError);\n }\n\n function iterateeCallback(err, result) {\n //console.log('iterateeCallback')\n running -= 1;\n if (canceled) return\n if (err) return handleError(err)\n\n if (err === false) {\n done = true;\n canceled = true;\n return\n }\n\n if (result === breakLoop || (done && running <= 0)) {\n done = true;\n //console.log('done iterCb')\n return callback(null);\n }\n replenish();\n }\n\n function handleError(err) {\n if (canceled) return\n awaiting = false;\n done = true;\n callback(err);\n }\n\n replenish();\n }\n\n var eachOfLimit = (limit) => {\n return (obj, iteratee, callback) => {\n callback = once(callback);\n if (limit <= 0) {\n throw new RangeError('concurrency limit cannot be less than 1')\n }\n if (!obj) {\n return callback(null);\n }\n if (isAsyncGenerator(obj)) {\n return asyncEachOfLimit(obj, limit, iteratee, callback)\n }\n if (isAsyncIterable(obj)) {\n return asyncEachOfLimit(obj[Symbol.asyncIterator](), limit, iteratee, callback)\n }\n var nextElem = createIterator(obj);\n var done = false;\n var canceled = false;\n var running = 0;\n var looping = false;\n\n function iterateeCallback(err, value) {\n if (canceled) return\n running -= 1;\n if (err) {\n done = true;\n callback(err);\n }\n else if (err === false) {\n done = true;\n canceled = true;\n }\n else if (value === breakLoop || (done && running <= 0)) {\n done = true;\n return callback(null);\n }\n else if (!looping) {\n replenish();\n }\n }\n\n function replenish () {\n looping = true;\n while (running < limit && !done) {\n var elem = nextElem();\n if (elem === null) {\n done = true;\n if (running <= 0) {\n callback(null);\n }\n return;\n }\n running += 1;\n iteratee(elem.value, elem.key, onlyOnce(iterateeCallback));\n }\n looping = false;\n }\n\n replenish();\n };\n };\n\n /**\n * The same as [`eachOf`]{@link module:Collections.eachOf} but runs a maximum of `limit` async operations at a\n * time.\n *\n * @name eachOfLimit\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.eachOf]{@link module:Collections.eachOf}\n * @alias forEachOfLimit\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {number} limit - The maximum number of async operations at a time.\n * @param {AsyncFunction} iteratee - An async function to apply to each\n * item in `coll`. The `key` is the item's key, or index in the case of an\n * array.\n * Invoked with (item, key, callback).\n * @param {Function} [callback] - A callback which is called when all\n * `iteratee` functions have finished, or an error occurs. Invoked with (err).\n * @returns {Promise} a promise, if a callback is omitted\n */\n function eachOfLimit$1(coll, limit, iteratee, callback) {\n return eachOfLimit(limit)(coll, wrapAsync(iteratee), callback);\n }\n\n var eachOfLimit$2 = awaitify(eachOfLimit$1, 4);\n\n // eachOf implementation optimized for array-likes\n function eachOfArrayLike(coll, iteratee, callback) {\n callback = once(callback);\n var index = 0,\n completed = 0,\n {length} = coll,\n canceled = false;\n if (length === 0) {\n callback(null);\n }\n\n function iteratorCallback(err, value) {\n if (err === false) {\n canceled = true;\n }\n if (canceled === true) return\n if (err) {\n callback(err);\n } else if ((++completed === length) || value === breakLoop) {\n callback(null);\n }\n }\n\n for (; index < length; index++) {\n iteratee(coll[index], index, onlyOnce(iteratorCallback));\n }\n }\n\n // a generic version of eachOf which can handle array, object, and iterator cases.\n function eachOfGeneric (coll, iteratee, callback) {\n return eachOfLimit$2(coll, Infinity, iteratee, callback);\n }\n\n /**\n * Like [`each`]{@link module:Collections.each}, except that it passes the key (or index) as the second argument\n * to the iteratee.\n *\n * @name eachOf\n * @static\n * @memberOf module:Collections\n * @method\n * @alias forEachOf\n * @category Collection\n * @see [async.each]{@link module:Collections.each}\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - A function to apply to each\n * item in `coll`.\n * The `key` is the item's key, or index in the case of an array.\n * Invoked with (item, key, callback).\n * @param {Function} [callback] - A callback which is called when all\n * `iteratee` functions have finished, or an error occurs. Invoked with (err).\n * @returns {Promise} a promise, if a callback is omitted\n * @example\n *\n * var obj = {dev: \"/dev.json\", test: \"/test.json\", prod: \"/prod.json\"};\n * var configs = {};\n *\n * async.forEachOf(obj, function (value, key, callback) {\n * fs.readFile(__dirname + value, \"utf8\", function (err, data) {\n * if (err) return callback(err);\n * try {\n * configs[key] = JSON.parse(data);\n * } catch (e) {\n * return callback(e);\n * }\n * callback();\n * });\n * }, function (err) {\n * if (err) console.error(err.message);\n * // configs is now a map of JSON data\n * doSomethingWith(configs);\n * });\n */\n function eachOf(coll, iteratee, callback) {\n var eachOfImplementation = isArrayLike(coll) ? eachOfArrayLike : eachOfGeneric;\n return eachOfImplementation(coll, wrapAsync(iteratee), callback);\n }\n\n var eachOf$1 = awaitify(eachOf, 3);\n\n /**\n * Produces a new collection of values by mapping each value in `coll` through\n * the `iteratee` function. The `iteratee` is called with an item from `coll`\n * and a callback for when it has finished processing. Each of these callback\n * takes 2 arguments: an `error`, and the transformed item from `coll`. If\n * `iteratee` passes an error to its callback, the main `callback` (for the\n * `map` function) is immediately called with the error.\n *\n * Note, that since this function applies the `iteratee` to each item in\n * parallel, there is no guarantee that the `iteratee` functions will complete\n * in order. However, the results array will be in the same order as the\n * original `coll`.\n *\n * If `map` is passed an Object, the results will be an Array. The results\n * will roughly be in the order of the original Objects' keys (but this can\n * vary across JavaScript engines).\n *\n * @name map\n * @static\n * @memberOf module:Collections\n * @method\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - An async function to apply to each item in\n * `coll`.\n * The iteratee should complete with the transformed item.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called when all `iteratee`\n * functions have finished, or an error occurs. Results is an Array of the\n * transformed items from the `coll`. Invoked with (err, results).\n * @returns {Promise} a promise, if no callback is passed\n * @example\n *\n * async.map(['file1','file2','file3'], fs.stat, function(err, results) {\n * // results is now an array of stats for each file\n * });\n */\n function map (coll, iteratee, callback) {\n return _asyncMap(eachOf$1, coll, iteratee, callback)\n }\n var map$1 = awaitify(map, 3);\n\n /**\n * Applies the provided arguments to each function in the array, calling\n * `callback` after all functions have completed. If you only provide the first\n * argument, `fns`, then it will return a function which lets you pass in the\n * arguments as if it were a single function call. If more arguments are\n * provided, `callback` is required while `args` is still optional. The results\n * for each of the applied async functions are passed to the final callback\n * as an array.\n *\n * @name applyEach\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @category Control Flow\n * @param {Array|Iterable|AsyncIterable|Object} fns - A collection of {@link AsyncFunction}s\n * to all call with the same arguments\n * @param {...*} [args] - any number of separate arguments to pass to the\n * function.\n * @param {Function} [callback] - the final argument should be the callback,\n * called when all functions have completed processing.\n * @returns {AsyncFunction} - Returns a function that takes no args other than\n * an optional callback, that is the result of applying the `args` to each\n * of the functions.\n * @example\n *\n * const appliedFn = async.applyEach([enableSearch, updateSchema], 'bucket')\n *\n * appliedFn((err, results) => {\n * // results[0] is the results for `enableSearch`\n * // results[1] is the results for `updateSchema`\n * });\n *\n * // partial application example:\n * async.each(\n * buckets,\n * async (bucket) => async.applyEach([enableSearch, updateSchema], bucket)(),\n * callback\n * );\n */\n var applyEach$1 = applyEach(map$1);\n\n /**\n * The same as [`eachOf`]{@link module:Collections.eachOf} but runs only a single async operation at a time.\n *\n * @name eachOfSeries\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.eachOf]{@link module:Collections.eachOf}\n * @alias forEachOfSeries\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - An async function to apply to each item in\n * `coll`.\n * Invoked with (item, key, callback).\n * @param {Function} [callback] - A callback which is called when all `iteratee`\n * functions have finished, or an error occurs. Invoked with (err).\n * @returns {Promise} a promise, if a callback is omitted\n */\n function eachOfSeries(coll, iteratee, callback) {\n return eachOfLimit$2(coll, 1, iteratee, callback)\n }\n var eachOfSeries$1 = awaitify(eachOfSeries, 3);\n\n /**\n * The same as [`map`]{@link module:Collections.map} but runs only a single async operation at a time.\n *\n * @name mapSeries\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.map]{@link module:Collections.map}\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - An async function to apply to each item in\n * `coll`.\n * The iteratee should complete with the transformed item.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called when all `iteratee`\n * functions have finished, or an error occurs. Results is an array of the\n * transformed items from the `coll`. Invoked with (err, results).\n * @returns {Promise} a promise, if no callback is passed\n */\n function mapSeries (coll, iteratee, callback) {\n return _asyncMap(eachOfSeries$1, coll, iteratee, callback)\n }\n var mapSeries$1 = awaitify(mapSeries, 3);\n\n /**\n * The same as [`applyEach`]{@link module:ControlFlow.applyEach} but runs only a single async operation at a time.\n *\n * @name applyEachSeries\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @see [async.applyEach]{@link module:ControlFlow.applyEach}\n * @category Control Flow\n * @param {Array|Iterable|AsyncIterable|Object} fns - A collection of {@link AsyncFunction}s to all\n * call with the same arguments\n * @param {...*} [args] - any number of separate arguments to pass to the\n * function.\n * @param {Function} [callback] - the final argument should be the callback,\n * called when all functions have completed processing.\n * @returns {AsyncFunction} - A function, that when called, is the result of\n * appling the `args` to the list of functions. It takes no args, other than\n * a callback.\n */\n var applyEachSeries = applyEach(mapSeries$1);\n\n const PROMISE_SYMBOL = Symbol('promiseCallback');\n\n function promiseCallback () {\n let resolve, reject;\n function callback (err, ...args) {\n if (err) return reject(err)\n resolve(args.length > 1 ? args : args[0]);\n }\n\n callback[PROMISE_SYMBOL] = new Promise((res, rej) => {\n resolve = res,\n reject = rej;\n });\n\n return callback\n }\n\n /**\n * Determines the best order for running the {@link AsyncFunction}s in `tasks`, based on\n * their requirements. Each function can optionally depend on other functions\n * being completed first, and each function is run as soon as its requirements\n * are satisfied.\n *\n * If any of the {@link AsyncFunction}s pass an error to their callback, the `auto` sequence\n * will stop. Further tasks will not execute (so any other functions depending\n * on it will not run), and the main `callback` is immediately called with the\n * error.\n *\n * {@link AsyncFunction}s also receive an object containing the results of functions which\n * have completed so far as the first argument, if they have dependencies. If a\n * task function has no dependencies, it will only be passed a callback.\n *\n * @name auto\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @category Control Flow\n * @param {Object} tasks - An object. Each of its properties is either a\n * function or an array of requirements, with the {@link AsyncFunction} itself the last item\n * in the array. The object's key of a property serves as the name of the task\n * defined by that property, i.e. can be used when specifying requirements for\n * other tasks. The function receives one or two arguments:\n * * a `results` object, containing the results of the previously executed\n * functions, only passed if the task has any dependencies,\n * * a `callback(err, result)` function, which must be called when finished,\n * passing an `error` (which can be `null`) and the result of the function's\n * execution.\n * @param {number} [concurrency=Infinity] - An optional `integer` for\n * determining the maximum number of tasks that can be run in parallel. By\n * default, as many as possible.\n * @param {Function} [callback] - An optional callback which is called when all\n * the tasks have been completed. It receives the `err` argument if any `tasks`\n * pass an error to their callback. Results are always returned; however, if an\n * error occurs, no further `tasks` will be performed, and the results object\n * will only contain partial results. Invoked with (err, results).\n * @returns {Promise} a promise, if a callback is not passed\n * @example\n *\n * async.auto({\n * // this function will just be passed a callback\n * readData: async.apply(fs.readFile, 'data.txt', 'utf-8'),\n * showData: ['readData', function(results, cb) {\n * // results.readData is the file's contents\n * // ...\n * }]\n * }, callback);\n *\n * async.auto({\n * get_data: function(callback) {\n * console.log('in get_data');\n * // async code to get some data\n * callback(null, 'data', 'converted to array');\n * },\n * make_folder: function(callback) {\n * console.log('in make_folder');\n * // async code to create a directory to store a file in\n * // this is run at the same time as getting the data\n * callback(null, 'folder');\n * },\n * write_file: ['get_data', 'make_folder', function(results, callback) {\n * console.log('in write_file', JSON.stringify(results));\n * // once there is some data and the directory exists,\n * // write the data to a file in the directory\n * callback(null, 'filename');\n * }],\n * email_link: ['write_file', function(results, callback) {\n * console.log('in email_link', JSON.stringify(results));\n * // once the file is written let's email a link to it...\n * // results.write_file contains the filename returned by write_file.\n * callback(null, {'file':results.write_file, 'email':'user@example.com'});\n * }]\n * }, function(err, results) {\n * console.log('err = ', err);\n * console.log('results = ', results);\n * });\n */\n function auto(tasks, concurrency, callback) {\n if (typeof concurrency !== 'number') {\n // concurrency is optional, shift the args.\n callback = concurrency;\n concurrency = null;\n }\n callback = once(callback || promiseCallback());\n var numTasks = Object.keys(tasks).length;\n if (!numTasks) {\n return callback(null);\n }\n if (!concurrency) {\n concurrency = numTasks;\n }\n\n var results = {};\n var runningTasks = 0;\n var canceled = false;\n var hasError = false;\n\n var listeners = Object.create(null);\n\n var readyTasks = [];\n\n // for cycle detection:\n var readyToCheck = []; // tasks that have been identified as reachable\n // without the possibility of returning to an ancestor task\n var uncheckedDependencies = {};\n\n Object.keys(tasks).forEach(key => {\n var task = tasks[key];\n if (!Array.isArray(task)) {\n // no dependencies\n enqueueTask(key, [task]);\n readyToCheck.push(key);\n return;\n }\n\n var dependencies = task.slice(0, task.length - 1);\n var remainingDependencies = dependencies.length;\n if (remainingDependencies === 0) {\n enqueueTask(key, task);\n readyToCheck.push(key);\n return;\n }\n uncheckedDependencies[key] = remainingDependencies;\n\n dependencies.forEach(dependencyName => {\n if (!tasks[dependencyName]) {\n throw new Error('async.auto task `' + key +\n '` has a non-existent dependency `' +\n dependencyName + '` in ' +\n dependencies.join(', '));\n }\n addListener(dependencyName, () => {\n remainingDependencies--;\n if (remainingDependencies === 0) {\n enqueueTask(key, task);\n }\n });\n });\n });\n\n checkForDeadlocks();\n processQueue();\n\n function enqueueTask(key, task) {\n readyTasks.push(() => runTask(key, task));\n }\n\n function processQueue() {\n if (canceled) return\n if (readyTasks.length === 0 && runningTasks === 0) {\n return callback(null, results);\n }\n while(readyTasks.length && runningTasks < concurrency) {\n var run = readyTasks.shift();\n run();\n }\n\n }\n\n function addListener(taskName, fn) {\n var taskListeners = listeners[taskName];\n if (!taskListeners) {\n taskListeners = listeners[taskName] = [];\n }\n\n taskListeners.push(fn);\n }\n\n function taskComplete(taskName) {\n var taskListeners = listeners[taskName] || [];\n taskListeners.forEach(fn => fn());\n processQueue();\n }\n\n\n function runTask(key, task) {\n if (hasError) return;\n\n var taskCallback = onlyOnce((err, ...result) => {\n runningTasks--;\n if (err === false) {\n canceled = true;\n return\n }\n if (result.length < 2) {\n [result] = result;\n }\n if (err) {\n var safeResults = {};\n Object.keys(results).forEach(rkey => {\n safeResults[rkey] = results[rkey];\n });\n safeResults[key] = result;\n hasError = true;\n listeners = Object.create(null);\n if (canceled) return\n callback(err, safeResults);\n } else {\n results[key] = result;\n taskComplete(key);\n }\n });\n\n runningTasks++;\n var taskFn = wrapAsync(task[task.length - 1]);\n if (task.length > 1) {\n taskFn(results, taskCallback);\n } else {\n taskFn(taskCallback);\n }\n }\n\n function checkForDeadlocks() {\n // Kahn's algorithm\n // https://en.wikipedia.org/wiki/Topological_sorting#Kahn.27s_algorithm\n // http://connalle.blogspot.com/2013/10/topological-sortingkahn-algorithm.html\n var currentTask;\n var counter = 0;\n while (readyToCheck.length) {\n currentTask = readyToCheck.pop();\n counter++;\n getDependents(currentTask).forEach(dependent => {\n if (--uncheckedDependencies[dependent] === 0) {\n readyToCheck.push(dependent);\n }\n });\n }\n\n if (counter !== numTasks) {\n throw new Error(\n 'async.auto cannot execute tasks due to a recursive dependency'\n );\n }\n }\n\n function getDependents(taskName) {\n var result = [];\n Object.keys(tasks).forEach(key => {\n const task = tasks[key];\n if (Array.isArray(task) && task.indexOf(taskName) >= 0) {\n result.push(key);\n }\n });\n return result;\n }\n\n return callback[PROMISE_SYMBOL]\n }\n\n var FN_ARGS = /^(?:async\\s+)?(?:function)?\\s*\\w*\\s*\\(\\s*([^)]+)\\s*\\)(?:\\s*{)/;\n var ARROW_FN_ARGS = /^(?:async\\s+)?\\(?\\s*([^)=]+)\\s*\\)?(?:\\s*=>)/;\n var FN_ARG_SPLIT = /,/;\n var FN_ARG = /(=.+)?(\\s*)$/;\n var STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/mg;\n\n function parseParams(func) {\n const src = func.toString().replace(STRIP_COMMENTS, '');\n let match = src.match(FN_ARGS);\n if (!match) {\n match = src.match(ARROW_FN_ARGS);\n }\n if (!match) throw new Error('could not parse args in autoInject\\nSource:\\n' + src)\n let [, args] = match;\n return args\n .replace(/\\s/g, '')\n .split(FN_ARG_SPLIT)\n .map((arg) => arg.replace(FN_ARG, '').trim());\n }\n\n /**\n * A dependency-injected version of the [async.auto]{@link module:ControlFlow.auto} function. Dependent\n * tasks are specified as parameters to the function, after the usual callback\n * parameter, with the parameter names matching the names of the tasks it\n * depends on. This can provide even more readable task graphs which can be\n * easier to maintain.\n *\n * If a final callback is specified, the task results are similarly injected,\n * specified as named parameters after the initial error parameter.\n *\n * The autoInject function is purely syntactic sugar and its semantics are\n * otherwise equivalent to [async.auto]{@link module:ControlFlow.auto}.\n *\n * @name autoInject\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @see [async.auto]{@link module:ControlFlow.auto}\n * @category Control Flow\n * @param {Object} tasks - An object, each of whose properties is an {@link AsyncFunction} of\n * the form 'func([dependencies...], callback). The object's key of a property\n * serves as the name of the task defined by that property, i.e. can be used\n * when specifying requirements for other tasks.\n * * The `callback` parameter is a `callback(err, result)` which must be called\n * when finished, passing an `error` (which can be `null`) and the result of\n * the function's execution. The remaining parameters name other tasks on\n * which the task is dependent, and the results from those tasks are the\n * arguments of those parameters.\n * @param {Function} [callback] - An optional callback which is called when all\n * the tasks have been completed. It receives the `err` argument if any `tasks`\n * pass an error to their callback, and a `results` object with any completed\n * task results, similar to `auto`.\n * @returns {Promise} a promise, if no callback is passed\n * @example\n *\n * // The example from `auto` can be rewritten as follows:\n * async.autoInject({\n * get_data: function(callback) {\n * // async code to get some data\n * callback(null, 'data', 'converted to array');\n * },\n * make_folder: function(callback) {\n * // async code to create a directory to store a file in\n * // this is run at the same time as getting the data\n * callback(null, 'folder');\n * },\n * write_file: function(get_data, make_folder, callback) {\n * // once there is some data and the directory exists,\n * // write the data to a file in the directory\n * callback(null, 'filename');\n * },\n * email_link: function(write_file, callback) {\n * // once the file is written let's email a link to it...\n * // write_file contains the filename returned by write_file.\n * callback(null, {'file':write_file, 'email':'user@example.com'});\n * }\n * }, function(err, results) {\n * console.log('err = ', err);\n * console.log('email_link = ', results.email_link);\n * });\n *\n * // If you are using a JS minifier that mangles parameter names, `autoInject`\n * // will not work with plain functions, since the parameter names will be\n * // collapsed to a single letter identifier. To work around this, you can\n * // explicitly specify the names of the parameters your task function needs\n * // in an array, similar to Angular.js dependency injection.\n *\n * // This still has an advantage over plain `auto`, since the results a task\n * // depends on are still spread into arguments.\n * async.autoInject({\n * //...\n * write_file: ['get_data', 'make_folder', function(get_data, make_folder, callback) {\n * callback(null, 'filename');\n * }],\n * email_link: ['write_file', function(write_file, callback) {\n * callback(null, {'file':write_file, 'email':'user@example.com'});\n * }]\n * //...\n * }, function(err, results) {\n * console.log('err = ', err);\n * console.log('email_link = ', results.email_link);\n * });\n */\n function autoInject(tasks, callback) {\n var newTasks = {};\n\n Object.keys(tasks).forEach(key => {\n var taskFn = tasks[key];\n var params;\n var fnIsAsync = isAsync(taskFn);\n var hasNoDeps =\n (!fnIsAsync && taskFn.length === 1) ||\n (fnIsAsync && taskFn.length === 0);\n\n if (Array.isArray(taskFn)) {\n params = [...taskFn];\n taskFn = params.pop();\n\n newTasks[key] = params.concat(params.length > 0 ? newTask : taskFn);\n } else if (hasNoDeps) {\n // no dependencies, use the function as-is\n newTasks[key] = taskFn;\n } else {\n params = parseParams(taskFn);\n if ((taskFn.length === 0 && !fnIsAsync) && params.length === 0) {\n throw new Error(\"autoInject task functions require explicit parameters.\");\n }\n\n // remove callback param\n if (!fnIsAsync) params.pop();\n\n newTasks[key] = params.concat(newTask);\n }\n\n function newTask(results, taskCb) {\n var newArgs = params.map(name => results[name]);\n newArgs.push(taskCb);\n wrapAsync(taskFn)(...newArgs);\n }\n });\n\n return auto(newTasks, callback);\n }\n\n // Simple doubly linked list (https://en.wikipedia.org/wiki/Doubly_linked_list) implementation\n // used for queues. This implementation assumes that the node provided by the user can be modified\n // to adjust the next and last properties. We implement only the minimal functionality\n // for queue support.\n class DLL {\n constructor() {\n this.head = this.tail = null;\n this.length = 0;\n }\n\n removeLink(node) {\n if (node.prev) node.prev.next = node.next;\n else this.head = node.next;\n if (node.next) node.next.prev = node.prev;\n else this.tail = node.prev;\n\n node.prev = node.next = null;\n this.length -= 1;\n return node;\n }\n\n empty () {\n while(this.head) this.shift();\n return this;\n }\n\n insertAfter(node, newNode) {\n newNode.prev = node;\n newNode.next = node.next;\n if (node.next) node.next.prev = newNode;\n else this.tail = newNode;\n node.next = newNode;\n this.length += 1;\n }\n\n insertBefore(node, newNode) {\n newNode.prev = node.prev;\n newNode.next = node;\n if (node.prev) node.prev.next = newNode;\n else this.head = newNode;\n node.prev = newNode;\n this.length += 1;\n }\n\n unshift(node) {\n if (this.head) this.insertBefore(this.head, node);\n else setInitial(this, node);\n }\n\n push(node) {\n if (this.tail) this.insertAfter(this.tail, node);\n else setInitial(this, node);\n }\n\n shift() {\n return this.head && this.removeLink(this.head);\n }\n\n pop() {\n return this.tail && this.removeLink(this.tail);\n }\n\n toArray() {\n return [...this]\n }\n\n *[Symbol.iterator] () {\n var cur = this.head;\n while (cur) {\n yield cur.data;\n cur = cur.next;\n }\n }\n\n remove (testFn) {\n var curr = this.head;\n while(curr) {\n var {next} = curr;\n if (testFn(curr)) {\n this.removeLink(curr);\n }\n curr = next;\n }\n return this;\n }\n }\n\n function setInitial(dll, node) {\n dll.length = 1;\n dll.head = dll.tail = node;\n }\n\n function queue(worker, concurrency, payload) {\n if (concurrency == null) {\n concurrency = 1;\n }\n else if(concurrency === 0) {\n throw new RangeError('Concurrency must not be zero');\n }\n\n var _worker = wrapAsync(worker);\n var numRunning = 0;\n var workersList = [];\n const events = {\n error: [],\n drain: [],\n saturated: [],\n unsaturated: [],\n empty: []\n };\n\n function on (event, handler) {\n events[event].push(handler);\n }\n\n function once (event, handler) {\n const handleAndRemove = (...args) => {\n off(event, handleAndRemove);\n handler(...args);\n };\n events[event].push(handleAndRemove);\n }\n\n function off (event, handler) {\n if (!event) return Object.keys(events).forEach(ev => events[ev] = [])\n if (!handler) return events[event] = []\n events[event] = events[event].filter(ev => ev !== handler);\n }\n\n function trigger (event, ...args) {\n events[event].forEach(handler => handler(...args));\n }\n\n var processingScheduled = false;\n function _insert(data, insertAtFront, rejectOnError, callback) {\n if (callback != null && typeof callback !== 'function') {\n throw new Error('task callback must be a function');\n }\n q.started = true;\n\n var res, rej;\n function promiseCallback (err, ...args) {\n // we don't care about the error, let the global error handler\n // deal with it\n if (err) return rejectOnError ? rej(err) : res()\n if (args.length <= 1) return res(args[0])\n res(args);\n }\n\n var item = {\n data,\n callback: rejectOnError ?\n promiseCallback :\n (callback || promiseCallback)\n };\n\n if (insertAtFront) {\n q._tasks.unshift(item);\n } else {\n q._tasks.push(item);\n }\n\n if (!processingScheduled) {\n processingScheduled = true;\n setImmediate$1(() => {\n processingScheduled = false;\n q.process();\n });\n }\n\n if (rejectOnError || !callback) {\n return new Promise((resolve, reject) => {\n res = resolve;\n rej = reject;\n })\n }\n }\n\n function _createCB(tasks) {\n return function (err, ...args) {\n numRunning -= 1;\n\n for (var i = 0, l = tasks.length; i < l; i++) {\n var task = tasks[i];\n\n var index = workersList.indexOf(task);\n if (index === 0) {\n workersList.shift();\n } else if (index > 0) {\n workersList.splice(index, 1);\n }\n\n task.callback(err, ...args);\n\n if (err != null) {\n trigger('error', err, task.data);\n }\n }\n\n if (numRunning <= (q.concurrency - q.buffer) ) {\n trigger('unsaturated');\n }\n\n if (q.idle()) {\n trigger('drain');\n }\n q.process();\n };\n }\n\n function _maybeDrain(data) {\n if (data.length === 0 && q.idle()) {\n // call drain immediately if there are no tasks\n setImmediate$1(() => trigger('drain'));\n return true\n }\n return false\n }\n\n const eventMethod = (name) => (handler) => {\n if (!handler) {\n return new Promise((resolve, reject) => {\n once(name, (err, data) => {\n if (err) return reject(err)\n resolve(data);\n });\n })\n }\n off(name);\n on(name, handler);\n\n };\n\n var isProcessing = false;\n var q = {\n _tasks: new DLL(),\n *[Symbol.iterator] () {\n yield* q._tasks[Symbol.iterator]();\n },\n concurrency,\n payload,\n buffer: concurrency / 4,\n started: false,\n paused: false,\n push (data, callback) {\n if (Array.isArray(data)) {\n if (_maybeDrain(data)) return\n return data.map(datum => _insert(datum, false, false, callback))\n }\n return _insert(data, false, false, callback);\n },\n pushAsync (data, callback) {\n if (Array.isArray(data)) {\n if (_maybeDrain(data)) return\n return data.map(datum => _insert(datum, false, true, callback))\n }\n return _insert(data, false, true, callback);\n },\n kill () {\n off();\n q._tasks.empty();\n },\n unshift (data, callback) {\n if (Array.isArray(data)) {\n if (_maybeDrain(data)) return\n return data.map(datum => _insert(datum, true, false, callback))\n }\n return _insert(data, true, false, callback);\n },\n unshiftAsync (data, callback) {\n if (Array.isArray(data)) {\n if (_maybeDrain(data)) return\n return data.map(datum => _insert(datum, true, true, callback))\n }\n return _insert(data, true, true, callback);\n },\n remove (testFn) {\n q._tasks.remove(testFn);\n },\n process () {\n // Avoid trying to start too many processing operations. This can occur\n // when callbacks resolve synchronously (#1267).\n if (isProcessing) {\n return;\n }\n isProcessing = true;\n while(!q.paused && numRunning < q.concurrency && q._tasks.length){\n var tasks = [], data = [];\n var l = q._tasks.length;\n if (q.payload) l = Math.min(l, q.payload);\n for (var i = 0; i < l; i++) {\n var node = q._tasks.shift();\n tasks.push(node);\n workersList.push(node);\n data.push(node.data);\n }\n\n numRunning += 1;\n\n if (q._tasks.length === 0) {\n trigger('empty');\n }\n\n if (numRunning === q.concurrency) {\n trigger('saturated');\n }\n\n var cb = onlyOnce(_createCB(tasks));\n _worker(data, cb);\n }\n isProcessing = false;\n },\n length () {\n return q._tasks.length;\n },\n running () {\n return numRunning;\n },\n workersList () {\n return workersList;\n },\n idle() {\n return q._tasks.length + numRunning === 0;\n },\n pause () {\n q.paused = true;\n },\n resume () {\n if (q.paused === false) { return; }\n q.paused = false;\n setImmediate$1(q.process);\n }\n };\n // define these as fixed properties, so people get useful errors when updating\n Object.defineProperties(q, {\n saturated: {\n writable: false,\n value: eventMethod('saturated')\n },\n unsaturated: {\n writable: false,\n value: eventMethod('unsaturated')\n },\n empty: {\n writable: false,\n value: eventMethod('empty')\n },\n drain: {\n writable: false,\n value: eventMethod('drain')\n },\n error: {\n writable: false,\n value: eventMethod('error')\n },\n });\n return q;\n }\n\n /**\n * Creates a `cargo` object with the specified payload. Tasks added to the\n * cargo will be processed altogether (up to the `payload` limit). If the\n * `worker` is in progress, the task is queued until it becomes available. Once\n * the `worker` has completed some tasks, each callback of those tasks is\n * called. Check out [these](https://camo.githubusercontent.com/6bbd36f4cf5b35a0f11a96dcd2e97711ffc2fb37/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130382f62626330636662302d356632392d313165322d393734662d3333393763363464633835382e676966) [animations](https://camo.githubusercontent.com/f4810e00e1c5f5f8addbe3e9f49064fd5d102699/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130312f38346339323036362d356632392d313165322d383134662d3964336430323431336266642e676966)\n * for how `cargo` and `queue` work.\n *\n * While [`queue`]{@link module:ControlFlow.queue} passes only one task to one of a group of workers\n * at a time, cargo passes an array of tasks to a single worker, repeating\n * when the worker is finished.\n *\n * @name cargo\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @see [async.queue]{@link module:ControlFlow.queue}\n * @category Control Flow\n * @param {AsyncFunction} worker - An asynchronous function for processing an array\n * of queued tasks. Invoked with `(tasks, callback)`.\n * @param {number} [payload=Infinity] - An optional `integer` for determining\n * how many tasks should be processed per round; if omitted, the default is\n * unlimited.\n * @returns {module:ControlFlow.QueueObject} A cargo object to manage the tasks. Callbacks can\n * attached as certain properties to listen for specific events during the\n * lifecycle of the cargo and inner queue.\n * @example\n *\n * // create a cargo object with payload 2\n * var cargo = async.cargo(function(tasks, callback) {\n * for (var i=0; i {\n _iteratee(memo, x, (err, v) => {\n memo = v;\n iterCb(err);\n });\n }, err => callback(err, memo));\n }\n var reduce$1 = awaitify(reduce, 4);\n\n /**\n * Version of the compose function that is more natural to read. Each function\n * consumes the return value of the previous function. It is the equivalent of\n * [compose]{@link module:ControlFlow.compose} with the arguments reversed.\n *\n * Each function is executed with the `this` binding of the composed function.\n *\n * @name seq\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @see [async.compose]{@link module:ControlFlow.compose}\n * @category Control Flow\n * @param {...AsyncFunction} functions - the asynchronous functions to compose\n * @returns {Function} a function that composes the `functions` in order\n * @example\n *\n * // Requires lodash (or underscore), express3 and dresende's orm2.\n * // Part of an app, that fetches cats of the logged user.\n * // This example uses `seq` function to avoid overnesting and error\n * // handling clutter.\n * app.get('/cats', function(request, response) {\n * var User = request.models.User;\n * async.seq(\n * _.bind(User.get, User), // 'User.get' has signature (id, callback(err, data))\n * function(user, fn) {\n * user.getCats(fn); // 'getCats' has signature (callback(err, data))\n * }\n * )(req.session.user_id, function (err, cats) {\n * if (err) {\n * console.error(err);\n * response.json({ status: 'error', message: err.message });\n * } else {\n * response.json({ status: 'ok', message: 'Cats found', data: cats });\n * }\n * });\n * });\n */\n function seq(...functions) {\n var _functions = functions.map(wrapAsync);\n return function (...args) {\n var that = this;\n\n var cb = args[args.length - 1];\n if (typeof cb == 'function') {\n args.pop();\n } else {\n cb = promiseCallback();\n }\n\n reduce$1(_functions, args, (newargs, fn, iterCb) => {\n fn.apply(that, newargs.concat((err, ...nextargs) => {\n iterCb(err, nextargs);\n }));\n },\n (err, results) => cb(err, ...results));\n\n return cb[PROMISE_SYMBOL]\n };\n }\n\n /**\n * Creates a function which is a composition of the passed asynchronous\n * functions. Each function consumes the return value of the function that\n * follows. Composing functions `f()`, `g()`, and `h()` would produce the result\n * of `f(g(h()))`, only this version uses callbacks to obtain the return values.\n *\n * If the last argument to the composed function is not a function, a promise\n * is returned when you call it.\n *\n * Each function is executed with the `this` binding of the composed function.\n *\n * @name compose\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @category Control Flow\n * @param {...AsyncFunction} functions - the asynchronous functions to compose\n * @returns {Function} an asynchronous function that is the composed\n * asynchronous `functions`\n * @example\n *\n * function add1(n, callback) {\n * setTimeout(function () {\n * callback(null, n + 1);\n * }, 10);\n * }\n *\n * function mul3(n, callback) {\n * setTimeout(function () {\n * callback(null, n * 3);\n * }, 10);\n * }\n *\n * var add1mul3 = async.compose(mul3, add1);\n * add1mul3(4, function (err, result) {\n * // result now equals 15\n * });\n */\n function compose(...args) {\n return seq(...args.reverse());\n }\n\n /**\n * The same as [`map`]{@link module:Collections.map} but runs a maximum of `limit` async operations at a time.\n *\n * @name mapLimit\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.map]{@link module:Collections.map}\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {number} limit - The maximum number of async operations at a time.\n * @param {AsyncFunction} iteratee - An async function to apply to each item in\n * `coll`.\n * The iteratee should complete with the transformed item.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called when all `iteratee`\n * functions have finished, or an error occurs. Results is an array of the\n * transformed items from the `coll`. Invoked with (err, results).\n * @returns {Promise} a promise, if no callback is passed\n */\n function mapLimit (coll, limit, iteratee, callback) {\n return _asyncMap(eachOfLimit(limit), coll, iteratee, callback)\n }\n var mapLimit$1 = awaitify(mapLimit, 4);\n\n /**\n * The same as [`concat`]{@link module:Collections.concat} but runs a maximum of `limit` async operations at a time.\n *\n * @name concatLimit\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.concat]{@link module:Collections.concat}\n * @category Collection\n * @alias flatMapLimit\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {number} limit - The maximum number of async operations at a time.\n * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`,\n * which should use an array as its result. Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished, or an error occurs. Results is an array\n * containing the concatenated results of the `iteratee` function. Invoked with\n * (err, results).\n * @returns A Promise, if no callback is passed\n */\n function concatLimit(coll, limit, iteratee, callback) {\n var _iteratee = wrapAsync(iteratee);\n return mapLimit$1(coll, limit, (val, iterCb) => {\n _iteratee(val, (err, ...args) => {\n if (err) return iterCb(err);\n return iterCb(err, args);\n });\n }, (err, mapResults) => {\n var result = [];\n for (var i = 0; i < mapResults.length; i++) {\n if (mapResults[i]) {\n result = result.concat(...mapResults[i]);\n }\n }\n\n return callback(err, result);\n });\n }\n var concatLimit$1 = awaitify(concatLimit, 4);\n\n /**\n * Applies `iteratee` to each item in `coll`, concatenating the results. Returns\n * the concatenated list. The `iteratee`s are called in parallel, and the\n * results are concatenated as they return. The results array will be returned in\n * the original order of `coll` passed to the `iteratee` function.\n *\n * @name concat\n * @static\n * @memberOf module:Collections\n * @method\n * @category Collection\n * @alias flatMap\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`,\n * which should use an array as its result. Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished, or an error occurs. Results is an array\n * containing the concatenated results of the `iteratee` function. Invoked with\n * (err, results).\n * @returns A Promise, if no callback is passed\n * @example\n *\n * async.concat(['dir1','dir2','dir3'], fs.readdir, function(err, files) {\n * // files is now a list of filenames that exist in the 3 directories\n * });\n */\n function concat(coll, iteratee, callback) {\n return concatLimit$1(coll, Infinity, iteratee, callback)\n }\n var concat$1 = awaitify(concat, 3);\n\n /**\n * The same as [`concat`]{@link module:Collections.concat} but runs only a single async operation at a time.\n *\n * @name concatSeries\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.concat]{@link module:Collections.concat}\n * @category Collection\n * @alias flatMapSeries\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`.\n * The iteratee should complete with an array an array of results.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished, or an error occurs. Results is an array\n * containing the concatenated results of the `iteratee` function. Invoked with\n * (err, results).\n * @returns A Promise, if no callback is passed\n */\n function concatSeries(coll, iteratee, callback) {\n return concatLimit$1(coll, 1, iteratee, callback)\n }\n var concatSeries$1 = awaitify(concatSeries, 3);\n\n /**\n * Returns a function that when called, calls-back with the values provided.\n * Useful as the first function in a [`waterfall`]{@link module:ControlFlow.waterfall}, or for plugging values in to\n * [`auto`]{@link module:ControlFlow.auto}.\n *\n * @name constant\n * @static\n * @memberOf module:Utils\n * @method\n * @category Util\n * @param {...*} arguments... - Any number of arguments to automatically invoke\n * callback with.\n * @returns {AsyncFunction} Returns a function that when invoked, automatically\n * invokes the callback with the previous given arguments.\n * @example\n *\n * async.waterfall([\n * async.constant(42),\n * function (value, next) {\n * // value === 42\n * },\n * //...\n * ], callback);\n *\n * async.waterfall([\n * async.constant(filename, \"utf8\"),\n * fs.readFile,\n * function (fileData, next) {\n * //...\n * }\n * //...\n * ], callback);\n *\n * async.auto({\n * hostname: async.constant(\"https://server.net/\"),\n * port: findFreePort,\n * launchServer: [\"hostname\", \"port\", function (options, cb) {\n * startServer(options, cb);\n * }],\n * //...\n * }, callback);\n */\n function constant(...args) {\n return function (...ignoredArgs/*, callback*/) {\n var callback = ignoredArgs.pop();\n return callback(null, ...args);\n };\n }\n\n function _createTester(check, getResult) {\n return (eachfn, arr, _iteratee, cb) => {\n var testPassed = false;\n var testResult;\n const iteratee = wrapAsync(_iteratee);\n eachfn(arr, (value, _, callback) => {\n iteratee(value, (err, result) => {\n if (err || err === false) return callback(err);\n\n if (check(result) && !testResult) {\n testPassed = true;\n testResult = getResult(true, value);\n return callback(null, breakLoop);\n }\n callback();\n });\n }, err => {\n if (err) return cb(err);\n cb(null, testPassed ? testResult : getResult(false));\n });\n };\n }\n\n /**\n * Returns the first value in `coll` that passes an async truth test. The\n * `iteratee` is applied in parallel, meaning the first iteratee to return\n * `true` will fire the detect `callback` with that result. That means the\n * result might not be the first item in the original `coll` (in terms of order)\n * that passes the test.\n\n * If order within the original `coll` is important, then look at\n * [`detectSeries`]{@link module:Collections.detectSeries}.\n *\n * @name detect\n * @static\n * @memberOf module:Collections\n * @method\n * @alias find\n * @category Collections\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`.\n * The iteratee must complete with a boolean value as its result.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called as soon as any\n * iteratee returns `true`, or after all the `iteratee` functions have finished.\n * Result will be the first item in the array that passes the truth test\n * (iteratee) or the value `undefined` if none passed. Invoked with\n * (err, result).\n * @returns A Promise, if no callback is passed\n * @example\n *\n * async.detect(['file1','file2','file3'], function(filePath, callback) {\n * fs.access(filePath, function(err) {\n * callback(null, !err)\n * });\n * }, function(err, result) {\n * // result now equals the first file in the list that exists\n * });\n */\n function detect(coll, iteratee, callback) {\n return _createTester(bool => bool, (res, item) => item)(eachOf$1, coll, iteratee, callback)\n }\n var detect$1 = awaitify(detect, 3);\n\n /**\n * The same as [`detect`]{@link module:Collections.detect} but runs a maximum of `limit` async operations at a\n * time.\n *\n * @name detectLimit\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.detect]{@link module:Collections.detect}\n * @alias findLimit\n * @category Collections\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {number} limit - The maximum number of async operations at a time.\n * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`.\n * The iteratee must complete with a boolean value as its result.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called as soon as any\n * iteratee returns `true`, or after all the `iteratee` functions have finished.\n * Result will be the first item in the array that passes the truth test\n * (iteratee) or the value `undefined` if none passed. Invoked with\n * (err, result).\n * @returns a Promise if no callback is passed\n */\n function detectLimit(coll, limit, iteratee, callback) {\n return _createTester(bool => bool, (res, item) => item)(eachOfLimit(limit), coll, iteratee, callback)\n }\n var detectLimit$1 = awaitify(detectLimit, 4);\n\n /**\n * The same as [`detect`]{@link module:Collections.detect} but runs only a single async operation at a time.\n *\n * @name detectSeries\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.detect]{@link module:Collections.detect}\n * @alias findSeries\n * @category Collections\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`.\n * The iteratee must complete with a boolean value as its result.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called as soon as any\n * iteratee returns `true`, or after all the `iteratee` functions have finished.\n * Result will be the first item in the array that passes the truth test\n * (iteratee) or the value `undefined` if none passed. Invoked with\n * (err, result).\n * @returns a Promise if no callback is passed\n */\n function detectSeries(coll, iteratee, callback) {\n return _createTester(bool => bool, (res, item) => item)(eachOfLimit(1), coll, iteratee, callback)\n }\n\n var detectSeries$1 = awaitify(detectSeries, 3);\n\n function consoleFunc(name) {\n return (fn, ...args) => wrapAsync(fn)(...args, (err, ...resultArgs) => {\n if (typeof console === 'object') {\n if (err) {\n if (console.error) {\n console.error(err);\n }\n } else if (console[name]) {\n resultArgs.forEach(x => console[name](x));\n }\n }\n })\n }\n\n /**\n * Logs the result of an [`async` function]{@link AsyncFunction} to the\n * `console` using `console.dir` to display the properties of the resulting object.\n * Only works in Node.js or in browsers that support `console.dir` and\n * `console.error` (such as FF and Chrome).\n * If multiple arguments are returned from the async function,\n * `console.dir` is called on each argument in order.\n *\n * @name dir\n * @static\n * @memberOf module:Utils\n * @method\n * @category Util\n * @param {AsyncFunction} function - The function you want to eventually apply\n * all arguments to.\n * @param {...*} arguments... - Any number of arguments to apply to the function.\n * @example\n *\n * // in a module\n * var hello = function(name, callback) {\n * setTimeout(function() {\n * callback(null, {hello: name});\n * }, 1000);\n * };\n *\n * // in the node repl\n * node> async.dir(hello, 'world');\n * {hello: 'world'}\n */\n var dir = consoleFunc('dir');\n\n /**\n * The post-check version of [`whilst`]{@link module:ControlFlow.whilst}. To reflect the difference in\n * the order of operations, the arguments `test` and `iteratee` are switched.\n *\n * `doWhilst` is to `whilst` as `do while` is to `while` in plain JavaScript.\n *\n * @name doWhilst\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @see [async.whilst]{@link module:ControlFlow.whilst}\n * @category Control Flow\n * @param {AsyncFunction} iteratee - A function which is called each time `test`\n * passes. Invoked with (callback).\n * @param {AsyncFunction} test - asynchronous truth test to perform after each\n * execution of `iteratee`. Invoked with (...args, callback), where `...args` are the\n * non-error args from the previous callback of `iteratee`.\n * @param {Function} [callback] - A callback which is called after the test\n * function has failed and repeated execution of `iteratee` has stopped.\n * `callback` will be passed an error and any arguments passed to the final\n * `iteratee`'s callback. Invoked with (err, [results]);\n * @returns {Promise} a promise, if no callback is passed\n */\n function doWhilst(iteratee, test, callback) {\n callback = onlyOnce(callback);\n var _fn = wrapAsync(iteratee);\n var _test = wrapAsync(test);\n var results;\n\n function next(err, ...args) {\n if (err) return callback(err);\n if (err === false) return;\n results = args;\n _test(...args, check);\n }\n\n function check(err, truth) {\n if (err) return callback(err);\n if (err === false) return;\n if (!truth) return callback(null, ...results);\n _fn(next);\n }\n\n return check(null, true);\n }\n\n var doWhilst$1 = awaitify(doWhilst, 3);\n\n /**\n * Like ['doWhilst']{@link module:ControlFlow.doWhilst}, except the `test` is inverted. Note the\n * argument ordering differs from `until`.\n *\n * @name doUntil\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @see [async.doWhilst]{@link module:ControlFlow.doWhilst}\n * @category Control Flow\n * @param {AsyncFunction} iteratee - An async function which is called each time\n * `test` fails. Invoked with (callback).\n * @param {AsyncFunction} test - asynchronous truth test to perform after each\n * execution of `iteratee`. Invoked with (...args, callback), where `...args` are the\n * non-error args from the previous callback of `iteratee`\n * @param {Function} [callback] - A callback which is called after the test\n * function has passed and repeated execution of `iteratee` has stopped. `callback`\n * will be passed an error and any arguments passed to the final `iteratee`'s\n * callback. Invoked with (err, [results]);\n * @returns {Promise} a promise, if no callback is passed\n */\n function doUntil(iteratee, test, callback) {\n const _test = wrapAsync(test);\n return doWhilst$1(iteratee, (...args) => {\n const cb = args.pop();\n _test(...args, (err, truth) => cb (err, !truth));\n }, callback);\n }\n\n function _withoutIndex(iteratee) {\n return (value, index, callback) => iteratee(value, callback);\n }\n\n /**\n * Applies the function `iteratee` to each item in `coll`, in parallel.\n * The `iteratee` is called with an item from the list, and a callback for when\n * it has finished. If the `iteratee` passes an error to its `callback`, the\n * main `callback` (for the `each` function) is immediately called with the\n * error.\n *\n * Note, that since this function applies `iteratee` to each item in parallel,\n * there is no guarantee that the iteratee functions will complete in order.\n *\n * @name each\n * @static\n * @memberOf module:Collections\n * @method\n * @alias forEach\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - An async function to apply to\n * each item in `coll`. Invoked with (item, callback).\n * The array index is not passed to the iteratee.\n * If you need the index, use `eachOf`.\n * @param {Function} [callback] - A callback which is called when all\n * `iteratee` functions have finished, or an error occurs. Invoked with (err).\n * @returns {Promise} a promise, if a callback is omitted\n * @example\n *\n * // assuming openFiles is an array of file names and saveFile is a function\n * // to save the modified contents of that file:\n *\n * async.each(openFiles, saveFile, function(err){\n * // if any of the saves produced an error, err would equal that error\n * });\n *\n * // assuming openFiles is an array of file names\n * async.each(openFiles, function(file, callback) {\n *\n * // Perform operation on file here.\n * console.log('Processing file ' + file);\n *\n * if( file.length > 32 ) {\n * console.log('This file name is too long');\n * callback('File name too long');\n * } else {\n * // Do work to process file here\n * console.log('File processed');\n * callback();\n * }\n * }, function(err) {\n * // if any of the file processing produced an error, err would equal that error\n * if( err ) {\n * // One of the iterations produced an error.\n * // All processing will now stop.\n * console.log('A file failed to process');\n * } else {\n * console.log('All files have been processed successfully');\n * }\n * });\n */\n function eachLimit(coll, iteratee, callback) {\n return eachOf$1(coll, _withoutIndex(wrapAsync(iteratee)), callback);\n }\n\n var each = awaitify(eachLimit, 3);\n\n /**\n * The same as [`each`]{@link module:Collections.each} but runs a maximum of `limit` async operations at a time.\n *\n * @name eachLimit\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.each]{@link module:Collections.each}\n * @alias forEachLimit\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {number} limit - The maximum number of async operations at a time.\n * @param {AsyncFunction} iteratee - An async function to apply to each item in\n * `coll`.\n * The array index is not passed to the iteratee.\n * If you need the index, use `eachOfLimit`.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called when all\n * `iteratee` functions have finished, or an error occurs. Invoked with (err).\n * @returns {Promise} a promise, if a callback is omitted\n */\n function eachLimit$1(coll, limit, iteratee, callback) {\n return eachOfLimit(limit)(coll, _withoutIndex(wrapAsync(iteratee)), callback);\n }\n var eachLimit$2 = awaitify(eachLimit$1, 4);\n\n /**\n * The same as [`each`]{@link module:Collections.each} but runs only a single async operation at a time.\n *\n * Note, that unlike [`each`]{@link module:Collections.each}, this function applies iteratee to each item\n * in series and therefore the iteratee functions will complete in order.\n\n * @name eachSeries\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.each]{@link module:Collections.each}\n * @alias forEachSeries\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - An async function to apply to each\n * item in `coll`.\n * The array index is not passed to the iteratee.\n * If you need the index, use `eachOfSeries`.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called when all\n * `iteratee` functions have finished, or an error occurs. Invoked with (err).\n * @returns {Promise} a promise, if a callback is omitted\n */\n function eachSeries(coll, iteratee, callback) {\n return eachLimit$2(coll, 1, iteratee, callback)\n }\n var eachSeries$1 = awaitify(eachSeries, 3);\n\n /**\n * Wrap an async function and ensure it calls its callback on a later tick of\n * the event loop. If the function already calls its callback on a next tick,\n * no extra deferral is added. This is useful for preventing stack overflows\n * (`RangeError: Maximum call stack size exceeded`) and generally keeping\n * [Zalgo](http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony)\n * contained. ES2017 `async` functions are returned as-is -- they are immune\n * to Zalgo's corrupting influences, as they always resolve on a later tick.\n *\n * @name ensureAsync\n * @static\n * @memberOf module:Utils\n * @method\n * @category Util\n * @param {AsyncFunction} fn - an async function, one that expects a node-style\n * callback as its last argument.\n * @returns {AsyncFunction} Returns a wrapped function with the exact same call\n * signature as the function passed in.\n * @example\n *\n * function sometimesAsync(arg, callback) {\n * if (cache[arg]) {\n * return callback(null, cache[arg]); // this would be synchronous!!\n * } else {\n * doSomeIO(arg, callback); // this IO would be asynchronous\n * }\n * }\n *\n * // this has a risk of stack overflows if many results are cached in a row\n * async.mapSeries(args, sometimesAsync, done);\n *\n * // this will defer sometimesAsync's callback if necessary,\n * // preventing stack overflows\n * async.mapSeries(args, async.ensureAsync(sometimesAsync), done);\n */\n function ensureAsync(fn) {\n if (isAsync(fn)) return fn;\n return function (...args/*, callback*/) {\n var callback = args.pop();\n var sync = true;\n args.push((...innerArgs) => {\n if (sync) {\n setImmediate$1(() => callback(...innerArgs));\n } else {\n callback(...innerArgs);\n }\n });\n fn.apply(this, args);\n sync = false;\n };\n }\n\n /**\n * Returns `true` if every element in `coll` satisfies an async test. If any\n * iteratee call returns `false`, the main `callback` is immediately called.\n *\n * @name every\n * @static\n * @memberOf module:Collections\n * @method\n * @alias all\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - An async truth test to apply to each item\n * in the collection in parallel.\n * The iteratee must complete with a boolean result value.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished. Result will be either `true` or `false`\n * depending on the values of the async tests. Invoked with (err, result).\n * @returns {Promise} a promise, if no callback provided\n * @example\n *\n * async.every(['file1','file2','file3'], function(filePath, callback) {\n * fs.access(filePath, function(err) {\n * callback(null, !err)\n * });\n * }, function(err, result) {\n * // if result is true then every file exists\n * });\n */\n function every(coll, iteratee, callback) {\n return _createTester(bool => !bool, res => !res)(eachOf$1, coll, iteratee, callback)\n }\n var every$1 = awaitify(every, 3);\n\n /**\n * The same as [`every`]{@link module:Collections.every} but runs a maximum of `limit` async operations at a time.\n *\n * @name everyLimit\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.every]{@link module:Collections.every}\n * @alias allLimit\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {number} limit - The maximum number of async operations at a time.\n * @param {AsyncFunction} iteratee - An async truth test to apply to each item\n * in the collection in parallel.\n * The iteratee must complete with a boolean result value.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished. Result will be either `true` or `false`\n * depending on the values of the async tests. Invoked with (err, result).\n * @returns {Promise} a promise, if no callback provided\n */\n function everyLimit(coll, limit, iteratee, callback) {\n return _createTester(bool => !bool, res => !res)(eachOfLimit(limit), coll, iteratee, callback)\n }\n var everyLimit$1 = awaitify(everyLimit, 4);\n\n /**\n * The same as [`every`]{@link module:Collections.every} but runs only a single async operation at a time.\n *\n * @name everySeries\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.every]{@link module:Collections.every}\n * @alias allSeries\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - An async truth test to apply to each item\n * in the collection in series.\n * The iteratee must complete with a boolean result value.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished. Result will be either `true` or `false`\n * depending on the values of the async tests. Invoked with (err, result).\n * @returns {Promise} a promise, if no callback provided\n */\n function everySeries(coll, iteratee, callback) {\n return _createTester(bool => !bool, res => !res)(eachOfSeries$1, coll, iteratee, callback)\n }\n var everySeries$1 = awaitify(everySeries, 3);\n\n function filterArray(eachfn, arr, iteratee, callback) {\n var truthValues = new Array(arr.length);\n eachfn(arr, (x, index, iterCb) => {\n iteratee(x, (err, v) => {\n truthValues[index] = !!v;\n iterCb(err);\n });\n }, err => {\n if (err) return callback(err);\n var results = [];\n for (var i = 0; i < arr.length; i++) {\n if (truthValues[i]) results.push(arr[i]);\n }\n callback(null, results);\n });\n }\n\n function filterGeneric(eachfn, coll, iteratee, callback) {\n var results = [];\n eachfn(coll, (x, index, iterCb) => {\n iteratee(x, (err, v) => {\n if (err) return iterCb(err);\n if (v) {\n results.push({index, value: x});\n }\n iterCb(err);\n });\n }, err => {\n if (err) return callback(err);\n callback(null, results\n .sort((a, b) => a.index - b.index)\n .map(v => v.value));\n });\n }\n\n function _filter(eachfn, coll, iteratee, callback) {\n var filter = isArrayLike(coll) ? filterArray : filterGeneric;\n return filter(eachfn, coll, wrapAsync(iteratee), callback);\n }\n\n /**\n * Returns a new array of all the values in `coll` which pass an async truth\n * test. This operation is performed in parallel, but the results array will be\n * in the same order as the original.\n *\n * @name filter\n * @static\n * @memberOf module:Collections\n * @method\n * @alias select\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {Function} iteratee - A truth test to apply to each item in `coll`.\n * The `iteratee` is passed a `callback(err, truthValue)`, which must be called\n * with a boolean argument once it has completed. Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished. Invoked with (err, results).\n * @returns {Promise} a promise, if no callback provided\n * @example\n *\n * async.filter(['file1','file2','file3'], function(filePath, callback) {\n * fs.access(filePath, function(err) {\n * callback(null, !err)\n * });\n * }, function(err, results) {\n * // results now equals an array of the existing files\n * });\n */\n function filter (coll, iteratee, callback) {\n return _filter(eachOf$1, coll, iteratee, callback)\n }\n var filter$1 = awaitify(filter, 3);\n\n /**\n * The same as [`filter`]{@link module:Collections.filter} but runs a maximum of `limit` async operations at a\n * time.\n *\n * @name filterLimit\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.filter]{@link module:Collections.filter}\n * @alias selectLimit\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {number} limit - The maximum number of async operations at a time.\n * @param {Function} iteratee - A truth test to apply to each item in `coll`.\n * The `iteratee` is passed a `callback(err, truthValue)`, which must be called\n * with a boolean argument once it has completed. Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished. Invoked with (err, results).\n * @returns {Promise} a promise, if no callback provided\n */\n function filterLimit (coll, limit, iteratee, callback) {\n return _filter(eachOfLimit(limit), coll, iteratee, callback)\n }\n var filterLimit$1 = awaitify(filterLimit, 4);\n\n /**\n * The same as [`filter`]{@link module:Collections.filter} but runs only a single async operation at a time.\n *\n * @name filterSeries\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.filter]{@link module:Collections.filter}\n * @alias selectSeries\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {Function} iteratee - A truth test to apply to each item in `coll`.\n * The `iteratee` is passed a `callback(err, truthValue)`, which must be called\n * with a boolean argument once it has completed. Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished. Invoked with (err, results)\n * @returns {Promise} a promise, if no callback provided\n */\n function filterSeries (coll, iteratee, callback) {\n return _filter(eachOfSeries$1, coll, iteratee, callback)\n }\n var filterSeries$1 = awaitify(filterSeries, 3);\n\n /**\n * Calls the asynchronous function `fn` with a callback parameter that allows it\n * to call itself again, in series, indefinitely.\n\n * If an error is passed to the callback then `errback` is called with the\n * error, and execution stops, otherwise it will never be called.\n *\n * @name forever\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @category Control Flow\n * @param {AsyncFunction} fn - an async function to call repeatedly.\n * Invoked with (next).\n * @param {Function} [errback] - when `fn` passes an error to it's callback,\n * this function will be called, and execution stops. Invoked with (err).\n * @returns {Promise} a promise that rejects if an error occurs and an errback\n * is not passed\n * @example\n *\n * async.forever(\n * function(next) {\n * // next is suitable for passing to things that need a callback(err [, whatever]);\n * // it will result in this function being called again.\n * },\n * function(err) {\n * // if next is called with a value in its first parameter, it will appear\n * // in here as 'err', and execution will stop.\n * }\n * );\n */\n function forever(fn, errback) {\n var done = onlyOnce(errback);\n var task = wrapAsync(ensureAsync(fn));\n\n function next(err) {\n if (err) return done(err);\n if (err === false) return;\n task(next);\n }\n return next();\n }\n var forever$1 = awaitify(forever, 2);\n\n /**\n * The same as [`groupBy`]{@link module:Collections.groupBy} but runs a maximum of `limit` async operations at a time.\n *\n * @name groupByLimit\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.groupBy]{@link module:Collections.groupBy}\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {number} limit - The maximum number of async operations at a time.\n * @param {AsyncFunction} iteratee - An async function to apply to each item in\n * `coll`.\n * The iteratee should complete with a `key` to group the value under.\n * Invoked with (value, callback).\n * @param {Function} [callback] - A callback which is called when all `iteratee`\n * functions have finished, or an error occurs. Result is an `Object` whoses\n * properties are arrays of values which returned the corresponding key.\n * @returns {Promise} a promise, if no callback is passed\n */\n function groupByLimit(coll, limit, iteratee, callback) {\n var _iteratee = wrapAsync(iteratee);\n return mapLimit$1(coll, limit, (val, iterCb) => {\n _iteratee(val, (err, key) => {\n if (err) return iterCb(err);\n return iterCb(err, {key, val});\n });\n }, (err, mapResults) => {\n var result = {};\n // from MDN, handle object having an `hasOwnProperty` prop\n var {hasOwnProperty} = Object.prototype;\n\n for (var i = 0; i < mapResults.length; i++) {\n if (mapResults[i]) {\n var {key} = mapResults[i];\n var {val} = mapResults[i];\n\n if (hasOwnProperty.call(result, key)) {\n result[key].push(val);\n } else {\n result[key] = [val];\n }\n }\n }\n\n return callback(err, result);\n });\n }\n\n var groupByLimit$1 = awaitify(groupByLimit, 4);\n\n /**\n * Returns a new object, where each value corresponds to an array of items, from\n * `coll`, that returned the corresponding key. That is, the keys of the object\n * correspond to the values passed to the `iteratee` callback.\n *\n * Note: Since this function applies the `iteratee` to each item in parallel,\n * there is no guarantee that the `iteratee` functions will complete in order.\n * However, the values for each key in the `result` will be in the same order as\n * the original `coll`. For Objects, the values will roughly be in the order of\n * the original Objects' keys (but this can vary across JavaScript engines).\n *\n * @name groupBy\n * @static\n * @memberOf module:Collections\n * @method\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - An async function to apply to each item in\n * `coll`.\n * The iteratee should complete with a `key` to group the value under.\n * Invoked with (value, callback).\n * @param {Function} [callback] - A callback which is called when all `iteratee`\n * functions have finished, or an error occurs. Result is an `Object` whoses\n * properties are arrays of values which returned the corresponding key.\n * @returns {Promise} a promise, if no callback is passed\n * @example\n *\n * async.groupBy(['userId1', 'userId2', 'userId3'], function(userId, callback) {\n * db.findById(userId, function(err, user) {\n * if (err) return callback(err);\n * return callback(null, user.age);\n * });\n * }, function(err, result) {\n * // result is object containing the userIds grouped by age\n * // e.g. { 30: ['userId1', 'userId3'], 42: ['userId2']};\n * });\n */\n function groupBy (coll, iteratee, callback) {\n return groupByLimit$1(coll, Infinity, iteratee, callback)\n }\n\n /**\n * The same as [`groupBy`]{@link module:Collections.groupBy} but runs only a single async operation at a time.\n *\n * @name groupBySeries\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.groupBy]{@link module:Collections.groupBy}\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - An async function to apply to each item in\n * `coll`.\n * The iteratee should complete with a `key` to group the value under.\n * Invoked with (value, callback).\n * @param {Function} [callback] - A callback which is called when all `iteratee`\n * functions have finished, or an error occurs. Result is an `Object` whoses\n * properties are arrays of values which returned the corresponding key.\n * @returns {Promise} a promise, if no callback is passed\n */\n function groupBySeries (coll, iteratee, callback) {\n return groupByLimit$1(coll, 1, iteratee, callback)\n }\n\n /**\n * Logs the result of an `async` function to the `console`. Only works in\n * Node.js or in browsers that support `console.log` and `console.error` (such\n * as FF and Chrome). If multiple arguments are returned from the async\n * function, `console.log` is called on each argument in order.\n *\n * @name log\n * @static\n * @memberOf module:Utils\n * @method\n * @category Util\n * @param {AsyncFunction} function - The function you want to eventually apply\n * all arguments to.\n * @param {...*} arguments... - Any number of arguments to apply to the function.\n * @example\n *\n * // in a module\n * var hello = function(name, callback) {\n * setTimeout(function() {\n * callback(null, 'hello ' + name);\n * }, 1000);\n * };\n *\n * // in the node repl\n * node> async.log(hello, 'world');\n * 'hello world'\n */\n var log = consoleFunc('log');\n\n /**\n * The same as [`mapValues`]{@link module:Collections.mapValues} but runs a maximum of `limit` async operations at a\n * time.\n *\n * @name mapValuesLimit\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.mapValues]{@link module:Collections.mapValues}\n * @category Collection\n * @param {Object} obj - A collection to iterate over.\n * @param {number} limit - The maximum number of async operations at a time.\n * @param {AsyncFunction} iteratee - A function to apply to each value and key\n * in `coll`.\n * The iteratee should complete with the transformed value as its result.\n * Invoked with (value, key, callback).\n * @param {Function} [callback] - A callback which is called when all `iteratee`\n * functions have finished, or an error occurs. `result` is a new object consisting\n * of each key from `obj`, with each transformed value on the right-hand side.\n * Invoked with (err, result).\n * @returns {Promise} a promise, if no callback is passed\n */\n function mapValuesLimit(obj, limit, iteratee, callback) {\n callback = once(callback);\n var newObj = {};\n var _iteratee = wrapAsync(iteratee);\n return eachOfLimit(limit)(obj, (val, key, next) => {\n _iteratee(val, key, (err, result) => {\n if (err) return next(err);\n newObj[key] = result;\n next(err);\n });\n }, err => callback(err, newObj));\n }\n\n var mapValuesLimit$1 = awaitify(mapValuesLimit, 4);\n\n /**\n * A relative of [`map`]{@link module:Collections.map}, designed for use with objects.\n *\n * Produces a new Object by mapping each value of `obj` through the `iteratee`\n * function. The `iteratee` is called each `value` and `key` from `obj` and a\n * callback for when it has finished processing. Each of these callbacks takes\n * two arguments: an `error`, and the transformed item from `obj`. If `iteratee`\n * passes an error to its callback, the main `callback` (for the `mapValues`\n * function) is immediately called with the error.\n *\n * Note, the order of the keys in the result is not guaranteed. The keys will\n * be roughly in the order they complete, (but this is very engine-specific)\n *\n * @name mapValues\n * @static\n * @memberOf module:Collections\n * @method\n * @category Collection\n * @param {Object} obj - A collection to iterate over.\n * @param {AsyncFunction} iteratee - A function to apply to each value and key\n * in `coll`.\n * The iteratee should complete with the transformed value as its result.\n * Invoked with (value, key, callback).\n * @param {Function} [callback] - A callback which is called when all `iteratee`\n * functions have finished, or an error occurs. `result` is a new object consisting\n * of each key from `obj`, with each transformed value on the right-hand side.\n * Invoked with (err, result).\n * @returns {Promise} a promise, if no callback is passed\n * @example\n *\n * async.mapValues({\n * f1: 'file1',\n * f2: 'file2',\n * f3: 'file3'\n * }, function (file, key, callback) {\n * fs.stat(file, callback);\n * }, function(err, result) {\n * // result is now a map of stats for each file, e.g.\n * // {\n * // f1: [stats for file1],\n * // f2: [stats for file2],\n * // f3: [stats for file3]\n * // }\n * });\n */\n function mapValues(obj, iteratee, callback) {\n return mapValuesLimit$1(obj, Infinity, iteratee, callback)\n }\n\n /**\n * The same as [`mapValues`]{@link module:Collections.mapValues} but runs only a single async operation at a time.\n *\n * @name mapValuesSeries\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.mapValues]{@link module:Collections.mapValues}\n * @category Collection\n * @param {Object} obj - A collection to iterate over.\n * @param {AsyncFunction} iteratee - A function to apply to each value and key\n * in `coll`.\n * The iteratee should complete with the transformed value as its result.\n * Invoked with (value, key, callback).\n * @param {Function} [callback] - A callback which is called when all `iteratee`\n * functions have finished, or an error occurs. `result` is a new object consisting\n * of each key from `obj`, with each transformed value on the right-hand side.\n * Invoked with (err, result).\n * @returns {Promise} a promise, if no callback is passed\n */\n function mapValuesSeries(obj, iteratee, callback) {\n return mapValuesLimit$1(obj, 1, iteratee, callback)\n }\n\n /**\n * Caches the results of an async function. When creating a hash to store\n * function results against, the callback is omitted from the hash and an\n * optional hash function can be used.\n *\n * **Note: if the async function errs, the result will not be cached and\n * subsequent calls will call the wrapped function.**\n *\n * If no hash function is specified, the first argument is used as a hash key,\n * which may work reasonably if it is a string or a data type that converts to a\n * distinct string. Note that objects and arrays will not behave reasonably.\n * Neither will cases where the other arguments are significant. In such cases,\n * specify your own hash function.\n *\n * The cache of results is exposed as the `memo` property of the function\n * returned by `memoize`.\n *\n * @name memoize\n * @static\n * @memberOf module:Utils\n * @method\n * @category Util\n * @param {AsyncFunction} fn - The async function to proxy and cache results from.\n * @param {Function} hasher - An optional function for generating a custom hash\n * for storing results. It has all the arguments applied to it apart from the\n * callback, and must be synchronous.\n * @returns {AsyncFunction} a memoized version of `fn`\n * @example\n *\n * var slow_fn = function(name, callback) {\n * // do something\n * callback(null, result);\n * };\n * var fn = async.memoize(slow_fn);\n *\n * // fn can now be used as if it were slow_fn\n * fn('some name', function() {\n * // callback\n * });\n */\n function memoize(fn, hasher = v => v) {\n var memo = Object.create(null);\n var queues = Object.create(null);\n var _fn = wrapAsync(fn);\n var memoized = initialParams((args, callback) => {\n var key = hasher(...args);\n if (key in memo) {\n setImmediate$1(() => callback(null, ...memo[key]));\n } else if (key in queues) {\n queues[key].push(callback);\n } else {\n queues[key] = [callback];\n _fn(...args, (err, ...resultArgs) => {\n // #1465 don't memoize if an error occurred\n if (!err) {\n memo[key] = resultArgs;\n }\n var q = queues[key];\n delete queues[key];\n for (var i = 0, l = q.length; i < l; i++) {\n q[i](err, ...resultArgs);\n }\n });\n }\n });\n memoized.memo = memo;\n memoized.unmemoized = fn;\n return memoized;\n }\n\n /**\n * Calls `callback` on a later loop around the event loop. In Node.js this just\n * calls `process.nextTick`. In the browser it will use `setImmediate` if\n * available, otherwise `setTimeout(callback, 0)`, which means other higher\n * priority events may precede the execution of `callback`.\n *\n * This is used internally for browser-compatibility purposes.\n *\n * @name nextTick\n * @static\n * @memberOf module:Utils\n * @method\n * @see [async.setImmediate]{@link module:Utils.setImmediate}\n * @category Util\n * @param {Function} callback - The function to call on a later loop around\n * the event loop. Invoked with (args...).\n * @param {...*} args... - any number of additional arguments to pass to the\n * callback on the next tick.\n * @example\n *\n * var call_order = [];\n * async.nextTick(function() {\n * call_order.push('two');\n * // call_order now equals ['one','two']\n * });\n * call_order.push('one');\n *\n * async.setImmediate(function (a, b, c) {\n * // a, b, and c equal 1, 2, and 3\n * }, 1, 2, 3);\n */\n var _defer$1;\n\n if (hasNextTick) {\n _defer$1 = process.nextTick;\n } else if (hasSetImmediate) {\n _defer$1 = setImmediate;\n } else {\n _defer$1 = fallback;\n }\n\n var nextTick = wrap(_defer$1);\n\n var parallel = awaitify((eachfn, tasks, callback) => {\n var results = isArrayLike(tasks) ? [] : {};\n\n eachfn(tasks, (task, key, taskCb) => {\n wrapAsync(task)((err, ...result) => {\n if (result.length < 2) {\n [result] = result;\n }\n results[key] = result;\n taskCb(err);\n });\n }, err => callback(err, results));\n }, 3);\n\n /**\n * Run the `tasks` collection of functions in parallel, without waiting until\n * the previous function has completed. If any of the functions pass an error to\n * its callback, the main `callback` is immediately called with the value of the\n * error. Once the `tasks` have completed, the results are passed to the final\n * `callback` as an array.\n *\n * **Note:** `parallel` is about kicking-off I/O tasks in parallel, not about\n * parallel execution of code. If your tasks do not use any timers or perform\n * any I/O, they will actually be executed in series. Any synchronous setup\n * sections for each task will happen one after the other. JavaScript remains\n * single-threaded.\n *\n * **Hint:** Use [`reflect`]{@link module:Utils.reflect} to continue the\n * execution of other tasks when a task fails.\n *\n * It is also possible to use an object instead of an array. Each property will\n * be run as a function and the results will be passed to the final `callback`\n * as an object instead of an array. This can be a more readable way of handling\n * results from {@link async.parallel}.\n *\n * @name parallel\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @category Control Flow\n * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection of\n * [async functions]{@link AsyncFunction} to run.\n * Each async function can complete with any number of optional `result` values.\n * @param {Function} [callback] - An optional callback to run once all the\n * functions have completed successfully. This function gets a results array\n * (or object) containing all the result arguments passed to the task callbacks.\n * Invoked with (err, results).\n * @returns {Promise} a promise, if a callback is not passed\n *\n * @example\n * async.parallel([\n * function(callback) {\n * setTimeout(function() {\n * callback(null, 'one');\n * }, 200);\n * },\n * function(callback) {\n * setTimeout(function() {\n * callback(null, 'two');\n * }, 100);\n * }\n * ],\n * // optional callback\n * function(err, results) {\n * // the results array will equal ['one','two'] even though\n * // the second function had a shorter timeout.\n * });\n *\n * // an example using an object instead of an array\n * async.parallel({\n * one: function(callback) {\n * setTimeout(function() {\n * callback(null, 1);\n * }, 200);\n * },\n * two: function(callback) {\n * setTimeout(function() {\n * callback(null, 2);\n * }, 100);\n * }\n * }, function(err, results) {\n * // results is now equals to: {one: 1, two: 2}\n * });\n */\n function parallel$1(tasks, callback) {\n return parallel(eachOf$1, tasks, callback);\n }\n\n /**\n * The same as [`parallel`]{@link module:ControlFlow.parallel} but runs a maximum of `limit` async operations at a\n * time.\n *\n * @name parallelLimit\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @see [async.parallel]{@link module:ControlFlow.parallel}\n * @category Control Flow\n * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection of\n * [async functions]{@link AsyncFunction} to run.\n * Each async function can complete with any number of optional `result` values.\n * @param {number} limit - The maximum number of async operations at a time.\n * @param {Function} [callback] - An optional callback to run once all the\n * functions have completed successfully. This function gets a results array\n * (or object) containing all the result arguments passed to the task callbacks.\n * Invoked with (err, results).\n * @returns {Promise} a promise, if a callback is not passed\n */\n function parallelLimit(tasks, limit, callback) {\n return parallel(eachOfLimit(limit), tasks, callback);\n }\n\n /**\n * A queue of tasks for the worker function to complete.\n * @typedef {Iterable} QueueObject\n * @memberOf module:ControlFlow\n * @property {Function} length - a function returning the number of items\n * waiting to be processed. Invoke with `queue.length()`.\n * @property {boolean} started - a boolean indicating whether or not any\n * items have been pushed and processed by the queue.\n * @property {Function} running - a function returning the number of items\n * currently being processed. Invoke with `queue.running()`.\n * @property {Function} workersList - a function returning the array of items\n * currently being processed. Invoke with `queue.workersList()`.\n * @property {Function} idle - a function returning false if there are items\n * waiting or being processed, or true if not. Invoke with `queue.idle()`.\n * @property {number} concurrency - an integer for determining how many `worker`\n * functions should be run in parallel. This property can be changed after a\n * `queue` is created to alter the concurrency on-the-fly.\n * @property {number} payload - an integer that specifies how many items are\n * passed to the worker function at a time. only applies if this is a\n * [cargo]{@link module:ControlFlow.cargo} object\n * @property {AsyncFunction} push - add a new task to the `queue`. Calls `callback`\n * once the `worker` has finished processing the task. Instead of a single task,\n * a `tasks` array can be submitted. The respective callback is used for every\n * task in the list. Invoke with `queue.push(task, [callback])`,\n * @property {AsyncFunction} unshift - add a new task to the front of the `queue`.\n * Invoke with `queue.unshift(task, [callback])`.\n * @property {AsyncFunction} pushAsync - the same as `q.push`, except this returns\n * a promise that rejects if an error occurs.\n * @property {AsyncFunction} unshirtAsync - the same as `q.unshift`, except this returns\n * a promise that rejects if an error occurs.\n * @property {Function} remove - remove items from the queue that match a test\n * function. The test function will be passed an object with a `data` property,\n * and a `priority` property, if this is a\n * [priorityQueue]{@link module:ControlFlow.priorityQueue} object.\n * Invoked with `queue.remove(testFn)`, where `testFn` is of the form\n * `function ({data, priority}) {}` and returns a Boolean.\n * @property {Function} saturated - a function that sets a callback that is\n * called when the number of running workers hits the `concurrency` limit, and\n * further tasks will be queued. If the callback is omitted, `q.saturated()`\n * returns a promise for the next occurrence.\n * @property {Function} unsaturated - a function that sets a callback that is\n * called when the number of running workers is less than the `concurrency` &\n * `buffer` limits, and further tasks will not be queued. If the callback is\n * omitted, `q.unsaturated()` returns a promise for the next occurrence.\n * @property {number} buffer - A minimum threshold buffer in order to say that\n * the `queue` is `unsaturated`.\n * @property {Function} empty - a function that sets a callback that is called\n * when the last item from the `queue` is given to a `worker`. If the callback\n * is omitted, `q.empty()` returns a promise for the next occurrence.\n * @property {Function} drain - a function that sets a callback that is called\n * when the last item from the `queue` has returned from the `worker`. If the\n * callback is omitted, `q.drain()` returns a promise for the next occurrence.\n * @property {Function} error - a function that sets a callback that is called\n * when a task errors. Has the signature `function(error, task)`. If the\n * callback is omitted, `error()` returns a promise that rejects on the next\n * error.\n * @property {boolean} paused - a boolean for determining whether the queue is\n * in a paused state.\n * @property {Function} pause - a function that pauses the processing of tasks\n * until `resume()` is called. Invoke with `queue.pause()`.\n * @property {Function} resume - a function that resumes the processing of\n * queued tasks when the queue is paused. Invoke with `queue.resume()`.\n * @property {Function} kill - a function that removes the `drain` callback and\n * empties remaining tasks from the queue forcing it to go idle. No more tasks\n * should be pushed to the queue after calling this function. Invoke with `queue.kill()`.\n *\n * @example\n * const q = aync.queue(worker, 2)\n * q.push(item1)\n * q.push(item2)\n * q.push(item3)\n * // queues are iterable, spread into an array to inspect\n * const items = [...q] // [item1, item2, item3]\n * // or use for of\n * for (let item of q) {\n * console.log(item)\n * }\n *\n * q.drain(() => {\n * console.log('all done')\n * })\n * // or\n * await q.drain()\n */\n\n /**\n * Creates a `queue` object with the specified `concurrency`. Tasks added to the\n * `queue` are processed in parallel (up to the `concurrency` limit). If all\n * `worker`s are in progress, the task is queued until one becomes available.\n * Once a `worker` completes a `task`, that `task`'s callback is called.\n *\n * @name queue\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @category Control Flow\n * @param {AsyncFunction} worker - An async function for processing a queued task.\n * If you want to handle errors from an individual task, pass a callback to\n * `q.push()`. Invoked with (task, callback).\n * @param {number} [concurrency=1] - An `integer` for determining how many\n * `worker` functions should be run in parallel. If omitted, the concurrency\n * defaults to `1`. If the concurrency is `0`, an error is thrown.\n * @returns {module:ControlFlow.QueueObject} A queue object to manage the tasks. Callbacks can be\n * attached as certain properties to listen for specific events during the\n * lifecycle of the queue.\n * @example\n *\n * // create a queue object with concurrency 2\n * var q = async.queue(function(task, callback) {\n * console.log('hello ' + task.name);\n * callback();\n * }, 2);\n *\n * // assign a callback\n * q.drain(function() {\n * console.log('all items have been processed');\n * });\n * // or await the end\n * await q.drain()\n *\n * // assign an error callback\n * q.error(function(err, task) {\n * console.error('task experienced an error');\n * });\n *\n * // add some items to the queue\n * q.push({name: 'foo'}, function(err) {\n * console.log('finished processing foo');\n * });\n * // callback is optional\n * q.push({name: 'bar'});\n *\n * // add some items to the queue (batch-wise)\n * q.push([{name: 'baz'},{name: 'bay'},{name: 'bax'}], function(err) {\n * console.log('finished processing item');\n * });\n *\n * // add some items to the front of the queue\n * q.unshift({name: 'bar'}, function (err) {\n * console.log('finished processing bar');\n * });\n */\n function queue$1 (worker, concurrency) {\n var _worker = wrapAsync(worker);\n return queue((items, cb) => {\n _worker(items[0], cb);\n }, concurrency, 1);\n }\n\n // Binary min-heap implementation used for priority queue.\n // Implementation is stable, i.e. push time is considered for equal priorities\n class Heap {\n constructor() {\n this.heap = [];\n this.pushCount = Number.MIN_SAFE_INTEGER;\n }\n\n get length() {\n return this.heap.length;\n }\n\n empty () {\n this.heap = [];\n return this;\n }\n\n percUp(index) {\n let p;\n\n while (index > 0 && smaller(this.heap[index], this.heap[p=parent(index)])) {\n let t = this.heap[index];\n this.heap[index] = this.heap[p];\n this.heap[p] = t;\n\n index = p;\n }\n }\n\n percDown(index) {\n let l;\n\n while ((l=leftChi(index)) < this.heap.length) {\n if (l+1 < this.heap.length && smaller(this.heap[l+1], this.heap[l])) {\n l = l+1;\n }\n\n if (smaller(this.heap[index], this.heap[l])) {\n break;\n }\n\n let t = this.heap[index];\n this.heap[index] = this.heap[l];\n this.heap[l] = t;\n\n index = l;\n }\n }\n\n push(node) {\n node.pushCount = ++this.pushCount;\n this.heap.push(node);\n this.percUp(this.heap.length-1);\n }\n\n unshift(node) {\n return this.heap.push(node);\n }\n\n shift() {\n let [top] = this.heap;\n\n this.heap[0] = this.heap[this.heap.length-1];\n this.heap.pop();\n this.percDown(0);\n\n return top;\n }\n\n toArray() {\n return [...this];\n }\n\n *[Symbol.iterator] () {\n for (let i = 0; i < this.heap.length; i++) {\n yield this.heap[i].data;\n }\n }\n\n remove (testFn) {\n let j = 0;\n for (let i = 0; i < this.heap.length; i++) {\n if (!testFn(this.heap[i])) {\n this.heap[j] = this.heap[i];\n j++;\n }\n }\n\n this.heap.splice(j);\n\n for (let i = parent(this.heap.length-1); i >= 0; i--) {\n this.percDown(i);\n }\n\n return this;\n }\n }\n\n function leftChi(i) {\n return (i<<1)+1;\n }\n\n function parent(i) {\n return ((i+1)>>1)-1;\n }\n\n function smaller(x, y) {\n if (x.priority !== y.priority) {\n return x.priority < y.priority;\n }\n else {\n return x.pushCount < y.pushCount;\n }\n }\n\n /**\n * The same as [async.queue]{@link module:ControlFlow.queue} only tasks are assigned a priority and\n * completed in ascending priority order.\n *\n * @name priorityQueue\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @see [async.queue]{@link module:ControlFlow.queue}\n * @category Control Flow\n * @param {AsyncFunction} worker - An async function for processing a queued task.\n * If you want to handle errors from an individual task, pass a callback to\n * `q.push()`.\n * Invoked with (task, callback).\n * @param {number} concurrency - An `integer` for determining how many `worker`\n * functions should be run in parallel. If omitted, the concurrency defaults to\n * `1`. If the concurrency is `0`, an error is thrown.\n * @returns {module:ControlFlow.QueueObject} A priorityQueue object to manage the tasks. There are two\n * differences between `queue` and `priorityQueue` objects:\n * * `push(task, priority, [callback])` - `priority` should be a number. If an\n * array of `tasks` is given, all tasks will be assigned the same priority.\n * * The `unshift` method was removed.\n */\n function priorityQueue(worker, concurrency) {\n // Start with a normal queue\n var q = queue$1(worker, concurrency);\n\n q._tasks = new Heap();\n\n // Override push to accept second parameter representing priority\n q.push = function(data, priority = 0, callback = () => {}) {\n if (typeof callback !== 'function') {\n throw new Error('task callback must be a function');\n }\n q.started = true;\n if (!Array.isArray(data)) {\n data = [data];\n }\n if (data.length === 0 && q.idle()) {\n // call drain immediately if there are no tasks\n return setImmediate$1(() => q.drain());\n }\n\n for (var i = 0, l = data.length; i < l; i++) {\n var item = {\n data: data[i],\n priority,\n callback\n };\n\n q._tasks.push(item);\n }\n\n setImmediate$1(q.process);\n };\n\n // Remove unshift function\n delete q.unshift;\n\n return q;\n }\n\n /**\n * Runs the `tasks` array of functions in parallel, without waiting until the\n * previous function has completed. Once any of the `tasks` complete or pass an\n * error to its callback, the main `callback` is immediately called. It's\n * equivalent to `Promise.race()`.\n *\n * @name race\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @category Control Flow\n * @param {Array} tasks - An array containing [async functions]{@link AsyncFunction}\n * to run. Each function can complete with an optional `result` value.\n * @param {Function} callback - A callback to run once any of the functions have\n * completed. This function gets an error or result from the first function that\n * completed. Invoked with (err, result).\n * @returns undefined\n * @example\n *\n * async.race([\n * function(callback) {\n * setTimeout(function() {\n * callback(null, 'one');\n * }, 200);\n * },\n * function(callback) {\n * setTimeout(function() {\n * callback(null, 'two');\n * }, 100);\n * }\n * ],\n * // main callback\n * function(err, result) {\n * // the result will be equal to 'two' as it finishes earlier\n * });\n */\n function race(tasks, callback) {\n callback = once(callback);\n if (!Array.isArray(tasks)) return callback(new TypeError('First argument to race must be an array of functions'));\n if (!tasks.length) return callback();\n for (var i = 0, l = tasks.length; i < l; i++) {\n wrapAsync(tasks[i])(callback);\n }\n }\n\n var race$1 = awaitify(race, 2);\n\n /**\n * Same as [`reduce`]{@link module:Collections.reduce}, only operates on `array` in reverse order.\n *\n * @name reduceRight\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.reduce]{@link module:Collections.reduce}\n * @alias foldr\n * @category Collection\n * @param {Array} array - A collection to iterate over.\n * @param {*} memo - The initial state of the reduction.\n * @param {AsyncFunction} iteratee - A function applied to each item in the\n * array to produce the next step in the reduction.\n * The `iteratee` should complete with the next state of the reduction.\n * If the iteratee complete with an error, the reduction is stopped and the\n * main `callback` is immediately called with the error.\n * Invoked with (memo, item, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished. Result is the reduced value. Invoked with\n * (err, result).\n * @returns {Promise} a promise, if no callback is passed\n */\n function reduceRight (array, memo, iteratee, callback) {\n var reversed = [...array].reverse();\n return reduce$1(reversed, memo, iteratee, callback);\n }\n\n /**\n * Wraps the async function in another function that always completes with a\n * result object, even when it errors.\n *\n * The result object has either the property `error` or `value`.\n *\n * @name reflect\n * @static\n * @memberOf module:Utils\n * @method\n * @category Util\n * @param {AsyncFunction} fn - The async function you want to wrap\n * @returns {Function} - A function that always passes null to it's callback as\n * the error. The second argument to the callback will be an `object` with\n * either an `error` or a `value` property.\n * @example\n *\n * async.parallel([\n * async.reflect(function(callback) {\n * // do some stuff ...\n * callback(null, 'one');\n * }),\n * async.reflect(function(callback) {\n * // do some more stuff but error ...\n * callback('bad stuff happened');\n * }),\n * async.reflect(function(callback) {\n * // do some more stuff ...\n * callback(null, 'two');\n * })\n * ],\n * // optional callback\n * function(err, results) {\n * // values\n * // results[0].value = 'one'\n * // results[1].error = 'bad stuff happened'\n * // results[2].value = 'two'\n * });\n */\n function reflect(fn) {\n var _fn = wrapAsync(fn);\n return initialParams(function reflectOn(args, reflectCallback) {\n args.push((error, ...cbArgs) => {\n let retVal = {};\n if (error) {\n retVal.error = error;\n }\n if (cbArgs.length > 0){\n var value = cbArgs;\n if (cbArgs.length <= 1) {\n [value] = cbArgs;\n }\n retVal.value = value;\n }\n reflectCallback(null, retVal);\n });\n\n return _fn.apply(this, args);\n });\n }\n\n /**\n * A helper function that wraps an array or an object of functions with `reflect`.\n *\n * @name reflectAll\n * @static\n * @memberOf module:Utils\n * @method\n * @see [async.reflect]{@link module:Utils.reflect}\n * @category Util\n * @param {Array|Object|Iterable} tasks - The collection of\n * [async functions]{@link AsyncFunction} to wrap in `async.reflect`.\n * @returns {Array} Returns an array of async functions, each wrapped in\n * `async.reflect`\n * @example\n *\n * let tasks = [\n * function(callback) {\n * setTimeout(function() {\n * callback(null, 'one');\n * }, 200);\n * },\n * function(callback) {\n * // do some more stuff but error ...\n * callback(new Error('bad stuff happened'));\n * },\n * function(callback) {\n * setTimeout(function() {\n * callback(null, 'two');\n * }, 100);\n * }\n * ];\n *\n * async.parallel(async.reflectAll(tasks),\n * // optional callback\n * function(err, results) {\n * // values\n * // results[0].value = 'one'\n * // results[1].error = Error('bad stuff happened')\n * // results[2].value = 'two'\n * });\n *\n * // an example using an object instead of an array\n * let tasks = {\n * one: function(callback) {\n * setTimeout(function() {\n * callback(null, 'one');\n * }, 200);\n * },\n * two: function(callback) {\n * callback('two');\n * },\n * three: function(callback) {\n * setTimeout(function() {\n * callback(null, 'three');\n * }, 100);\n * }\n * };\n *\n * async.parallel(async.reflectAll(tasks),\n * // optional callback\n * function(err, results) {\n * // values\n * // results.one.value = 'one'\n * // results.two.error = 'two'\n * // results.three.value = 'three'\n * });\n */\n function reflectAll(tasks) {\n var results;\n if (Array.isArray(tasks)) {\n results = tasks.map(reflect);\n } else {\n results = {};\n Object.keys(tasks).forEach(key => {\n results[key] = reflect.call(this, tasks[key]);\n });\n }\n return results;\n }\n\n function reject(eachfn, arr, _iteratee, callback) {\n const iteratee = wrapAsync(_iteratee);\n return _filter(eachfn, arr, (value, cb) => {\n iteratee(value, (err, v) => {\n cb(err, !v);\n });\n }, callback);\n }\n\n /**\n * The opposite of [`filter`]{@link module:Collections.filter}. Removes values that pass an `async` truth test.\n *\n * @name reject\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.filter]{@link module:Collections.filter}\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {Function} iteratee - An async truth test to apply to each item in\n * `coll`.\n * The should complete with a boolean value as its `result`.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished. Invoked with (err, results).\n * @returns {Promise} a promise, if no callback is passed\n * @example\n *\n * async.reject(['file1','file2','file3'], function(filePath, callback) {\n * fs.access(filePath, function(err) {\n * callback(null, !err)\n * });\n * }, function(err, results) {\n * // results now equals an array of missing files\n * createFiles(results);\n * });\n */\n function reject$1 (coll, iteratee, callback) {\n return reject(eachOf$1, coll, iteratee, callback)\n }\n var reject$2 = awaitify(reject$1, 3);\n\n /**\n * The same as [`reject`]{@link module:Collections.reject} but runs a maximum of `limit` async operations at a\n * time.\n *\n * @name rejectLimit\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.reject]{@link module:Collections.reject}\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {number} limit - The maximum number of async operations at a time.\n * @param {Function} iteratee - An async truth test to apply to each item in\n * `coll`.\n * The should complete with a boolean value as its `result`.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished. Invoked with (err, results).\n * @returns {Promise} a promise, if no callback is passed\n */\n function rejectLimit (coll, limit, iteratee, callback) {\n return reject(eachOfLimit(limit), coll, iteratee, callback)\n }\n var rejectLimit$1 = awaitify(rejectLimit, 4);\n\n /**\n * The same as [`reject`]{@link module:Collections.reject} but runs only a single async operation at a time.\n *\n * @name rejectSeries\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.reject]{@link module:Collections.reject}\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {Function} iteratee - An async truth test to apply to each item in\n * `coll`.\n * The should complete with a boolean value as its `result`.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished. Invoked with (err, results).\n * @returns {Promise} a promise, if no callback is passed\n */\n function rejectSeries (coll, iteratee, callback) {\n return reject(eachOfSeries$1, coll, iteratee, callback)\n }\n var rejectSeries$1 = awaitify(rejectSeries, 3);\n\n function constant$1(value) {\n return function () {\n return value;\n }\n }\n\n /**\n * Attempts to get a successful response from `task` no more than `times` times\n * before returning an error. If the task is successful, the `callback` will be\n * passed the result of the successful task. If all attempts fail, the callback\n * will be passed the error and result (if any) of the final attempt.\n *\n * @name retry\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @category Control Flow\n * @see [async.retryable]{@link module:ControlFlow.retryable}\n * @param {Object|number} [opts = {times: 5, interval: 0}| 5] - Can be either an\n * object with `times` and `interval` or a number.\n * * `times` - The number of attempts to make before giving up. The default\n * is `5`.\n * * `interval` - The time to wait between retries, in milliseconds. The\n * default is `0`. The interval may also be specified as a function of the\n * retry count (see example).\n * * `errorFilter` - An optional synchronous function that is invoked on\n * erroneous result. If it returns `true` the retry attempts will continue;\n * if the function returns `false` the retry flow is aborted with the current\n * attempt's error and result being returned to the final callback.\n * Invoked with (err).\n * * If `opts` is a number, the number specifies the number of times to retry,\n * with the default interval of `0`.\n * @param {AsyncFunction} task - An async function to retry.\n * Invoked with (callback).\n * @param {Function} [callback] - An optional callback which is called when the\n * task has succeeded, or after the final failed attempt. It receives the `err`\n * and `result` arguments of the last attempt at completing the `task`. Invoked\n * with (err, results).\n * @returns {Promise} a promise if no callback provided\n *\n * @example\n *\n * // The `retry` function can be used as a stand-alone control flow by passing\n * // a callback, as shown below:\n *\n * // try calling apiMethod 3 times\n * async.retry(3, apiMethod, function(err, result) {\n * // do something with the result\n * });\n *\n * // try calling apiMethod 3 times, waiting 200 ms between each retry\n * async.retry({times: 3, interval: 200}, apiMethod, function(err, result) {\n * // do something with the result\n * });\n *\n * // try calling apiMethod 10 times with exponential backoff\n * // (i.e. intervals of 100, 200, 400, 800, 1600, ... milliseconds)\n * async.retry({\n * times: 10,\n * interval: function(retryCount) {\n * return 50 * Math.pow(2, retryCount);\n * }\n * }, apiMethod, function(err, result) {\n * // do something with the result\n * });\n *\n * // try calling apiMethod the default 5 times no delay between each retry\n * async.retry(apiMethod, function(err, result) {\n * // do something with the result\n * });\n *\n * // try calling apiMethod only when error condition satisfies, all other\n * // errors will abort the retry control flow and return to final callback\n * async.retry({\n * errorFilter: function(err) {\n * return err.message === 'Temporary error'; // only retry on a specific error\n * }\n * }, apiMethod, function(err, result) {\n * // do something with the result\n * });\n *\n * // to retry individual methods that are not as reliable within other\n * // control flow functions, use the `retryable` wrapper:\n * async.auto({\n * users: api.getUsers.bind(api),\n * payments: async.retryable(3, api.getPayments.bind(api))\n * }, function(err, results) {\n * // do something with the results\n * });\n *\n */\n const DEFAULT_TIMES = 5;\n const DEFAULT_INTERVAL = 0;\n\n function retry(opts, task, callback) {\n var options = {\n times: DEFAULT_TIMES,\n intervalFunc: constant$1(DEFAULT_INTERVAL)\n };\n\n if (arguments.length < 3 && typeof opts === 'function') {\n callback = task || promiseCallback();\n task = opts;\n } else {\n parseTimes(options, opts);\n callback = callback || promiseCallback();\n }\n\n if (typeof task !== 'function') {\n throw new Error(\"Invalid arguments for async.retry\");\n }\n\n var _task = wrapAsync(task);\n\n var attempt = 1;\n function retryAttempt() {\n _task((err, ...args) => {\n if (err === false) return\n if (err && attempt++ < options.times &&\n (typeof options.errorFilter != 'function' ||\n options.errorFilter(err))) {\n setTimeout(retryAttempt, options.intervalFunc(attempt - 1));\n } else {\n callback(err, ...args);\n }\n });\n }\n\n retryAttempt();\n return callback[PROMISE_SYMBOL]\n }\n\n function parseTimes(acc, t) {\n if (typeof t === 'object') {\n acc.times = +t.times || DEFAULT_TIMES;\n\n acc.intervalFunc = typeof t.interval === 'function' ?\n t.interval :\n constant$1(+t.interval || DEFAULT_INTERVAL);\n\n acc.errorFilter = t.errorFilter;\n } else if (typeof t === 'number' || typeof t === 'string') {\n acc.times = +t || DEFAULT_TIMES;\n } else {\n throw new Error(\"Invalid arguments for async.retry\");\n }\n }\n\n /**\n * A close relative of [`retry`]{@link module:ControlFlow.retry}. This method\n * wraps a task and makes it retryable, rather than immediately calling it\n * with retries.\n *\n * @name retryable\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @see [async.retry]{@link module:ControlFlow.retry}\n * @category Control Flow\n * @param {Object|number} [opts = {times: 5, interval: 0}| 5] - optional\n * options, exactly the same as from `retry`, except for a `opts.arity` that\n * is the arity of the `task` function, defaulting to `task.length`\n * @param {AsyncFunction} task - the asynchronous function to wrap.\n * This function will be passed any arguments passed to the returned wrapper.\n * Invoked with (...args, callback).\n * @returns {AsyncFunction} The wrapped function, which when invoked, will\n * retry on an error, based on the parameters specified in `opts`.\n * This function will accept the same parameters as `task`.\n * @example\n *\n * async.auto({\n * dep1: async.retryable(3, getFromFlakyService),\n * process: [\"dep1\", async.retryable(3, function (results, cb) {\n * maybeProcessData(results.dep1, cb);\n * })]\n * }, callback);\n */\n function retryable (opts, task) {\n if (!task) {\n task = opts;\n opts = null;\n }\n let arity = (opts && opts.arity) || task.length;\n if (isAsync(task)) {\n arity += 1;\n }\n var _task = wrapAsync(task);\n return initialParams((args, callback) => {\n if (args.length < arity - 1 || callback == null) {\n args.push(callback);\n callback = promiseCallback();\n }\n function taskFn(cb) {\n _task(...args, cb);\n }\n\n if (opts) retry(opts, taskFn, callback);\n else retry(taskFn, callback);\n\n return callback[PROMISE_SYMBOL]\n });\n }\n\n /**\n * Run the functions in the `tasks` collection in series, each one running once\n * the previous function has completed. If any functions in the series pass an\n * error to its callback, no more functions are run, and `callback` is\n * immediately called with the value of the error. Otherwise, `callback`\n * receives an array of results when `tasks` have completed.\n *\n * It is also possible to use an object instead of an array. Each property will\n * be run as a function, and the results will be passed to the final `callback`\n * as an object instead of an array. This can be a more readable way of handling\n * results from {@link async.series}.\n *\n * **Note** that while many implementations preserve the order of object\n * properties, the [ECMAScript Language Specification](http://www.ecma-international.org/ecma-262/5.1/#sec-8.6)\n * explicitly states that\n *\n * > The mechanics and order of enumerating the properties is not specified.\n *\n * So if you rely on the order in which your series of functions are executed,\n * and want this to work on all platforms, consider using an array.\n *\n * @name series\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @category Control Flow\n * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection containing\n * [async functions]{@link AsyncFunction} to run in series.\n * Each function can complete with any number of optional `result` values.\n * @param {Function} [callback] - An optional callback to run once all the\n * functions have completed. This function gets a results array (or object)\n * containing all the result arguments passed to the `task` callbacks. Invoked\n * with (err, result).\n * @return {Promise} a promise, if no callback is passed\n * @example\n * async.series([\n * function(callback) {\n * // do some stuff ...\n * callback(null, 'one');\n * },\n * function(callback) {\n * // do some more stuff ...\n * callback(null, 'two');\n * }\n * ],\n * // optional callback\n * function(err, results) {\n * // results is now equal to ['one', 'two']\n * });\n *\n * async.series({\n * one: function(callback) {\n * setTimeout(function() {\n * callback(null, 1);\n * }, 200);\n * },\n * two: function(callback){\n * setTimeout(function() {\n * callback(null, 2);\n * }, 100);\n * }\n * }, function(err, results) {\n * // results is now equal to: {one: 1, two: 2}\n * });\n */\n function series(tasks, callback) {\n return parallel(eachOfSeries$1, tasks, callback);\n }\n\n /**\n * Returns `true` if at least one element in the `coll` satisfies an async test.\n * If any iteratee call returns `true`, the main `callback` is immediately\n * called.\n *\n * @name some\n * @static\n * @memberOf module:Collections\n * @method\n * @alias any\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - An async truth test to apply to each item\n * in the collections in parallel.\n * The iteratee should complete with a boolean `result` value.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called as soon as any\n * iteratee returns `true`, or after all the iteratee functions have finished.\n * Result will be either `true` or `false` depending on the values of the async\n * tests. Invoked with (err, result).\n * @returns {Promise} a promise, if no callback provided\n * @example\n *\n * async.some(['file1','file2','file3'], function(filePath, callback) {\n * fs.access(filePath, function(err) {\n * callback(null, !err)\n * });\n * }, function(err, result) {\n * // if result is true then at least one of the files exists\n * });\n */\n function some(coll, iteratee, callback) {\n return _createTester(Boolean, res => res)(eachOf$1, coll, iteratee, callback)\n }\n var some$1 = awaitify(some, 3);\n\n /**\n * The same as [`some`]{@link module:Collections.some} but runs a maximum of `limit` async operations at a time.\n *\n * @name someLimit\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.some]{@link module:Collections.some}\n * @alias anyLimit\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {number} limit - The maximum number of async operations at a time.\n * @param {AsyncFunction} iteratee - An async truth test to apply to each item\n * in the collections in parallel.\n * The iteratee should complete with a boolean `result` value.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called as soon as any\n * iteratee returns `true`, or after all the iteratee functions have finished.\n * Result will be either `true` or `false` depending on the values of the async\n * tests. Invoked with (err, result).\n * @returns {Promise} a promise, if no callback provided\n */\n function someLimit(coll, limit, iteratee, callback) {\n return _createTester(Boolean, res => res)(eachOfLimit(limit), coll, iteratee, callback)\n }\n var someLimit$1 = awaitify(someLimit, 4);\n\n /**\n * The same as [`some`]{@link module:Collections.some} but runs only a single async operation at a time.\n *\n * @name someSeries\n * @static\n * @memberOf module:Collections\n * @method\n * @see [async.some]{@link module:Collections.some}\n * @alias anySeries\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - An async truth test to apply to each item\n * in the collections in series.\n * The iteratee should complete with a boolean `result` value.\n * Invoked with (item, callback).\n * @param {Function} [callback] - A callback which is called as soon as any\n * iteratee returns `true`, or after all the iteratee functions have finished.\n * Result will be either `true` or `false` depending on the values of the async\n * tests. Invoked with (err, result).\n * @returns {Promise} a promise, if no callback provided\n */\n function someSeries(coll, iteratee, callback) {\n return _createTester(Boolean, res => res)(eachOfSeries$1, coll, iteratee, callback)\n }\n var someSeries$1 = awaitify(someSeries, 3);\n\n /**\n * Sorts a list by the results of running each `coll` value through an async\n * `iteratee`.\n *\n * @name sortBy\n * @static\n * @memberOf module:Collections\n * @method\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {AsyncFunction} iteratee - An async function to apply to each item in\n * `coll`.\n * The iteratee should complete with a value to use as the sort criteria as\n * its `result`.\n * Invoked with (item, callback).\n * @param {Function} callback - A callback which is called after all the\n * `iteratee` functions have finished, or an error occurs. Results is the items\n * from the original `coll` sorted by the values returned by the `iteratee`\n * calls. Invoked with (err, results).\n * @returns {Promise} a promise, if no callback passed\n * @example\n *\n * async.sortBy(['file1','file2','file3'], function(file, callback) {\n * fs.stat(file, function(err, stats) {\n * callback(err, stats.mtime);\n * });\n * }, function(err, results) {\n * // results is now the original array of files sorted by\n * // modified date\n * });\n *\n * // By modifying the callback parameter the\n * // sorting order can be influenced:\n *\n * // ascending order\n * async.sortBy([1,9,3,5], function(x, callback) {\n * callback(null, x);\n * }, function(err,result) {\n * // result callback\n * });\n *\n * // descending order\n * async.sortBy([1,9,3,5], function(x, callback) {\n * callback(null, x*-1); //<- x*-1 instead of x, turns the order around\n * }, function(err,result) {\n * // result callback\n * });\n */\n function sortBy (coll, iteratee, callback) {\n var _iteratee = wrapAsync(iteratee);\n return map$1(coll, (x, iterCb) => {\n _iteratee(x, (err, criteria) => {\n if (err) return iterCb(err);\n iterCb(err, {value: x, criteria});\n });\n }, (err, results) => {\n if (err) return callback(err);\n callback(null, results.sort(comparator).map(v => v.value));\n });\n\n function comparator(left, right) {\n var a = left.criteria, b = right.criteria;\n return a < b ? -1 : a > b ? 1 : 0;\n }\n }\n var sortBy$1 = awaitify(sortBy, 3);\n\n /**\n * Sets a time limit on an asynchronous function. If the function does not call\n * its callback within the specified milliseconds, it will be called with a\n * timeout error. The code property for the error object will be `'ETIMEDOUT'`.\n *\n * @name timeout\n * @static\n * @memberOf module:Utils\n * @method\n * @category Util\n * @param {AsyncFunction} asyncFn - The async function to limit in time.\n * @param {number} milliseconds - The specified time limit.\n * @param {*} [info] - Any variable you want attached (`string`, `object`, etc)\n * to timeout Error for more information..\n * @returns {AsyncFunction} Returns a wrapped function that can be used with any\n * of the control flow functions.\n * Invoke this function with the same parameters as you would `asyncFunc`.\n * @example\n *\n * function myFunction(foo, callback) {\n * doAsyncTask(foo, function(err, data) {\n * // handle errors\n * if (err) return callback(err);\n *\n * // do some stuff ...\n *\n * // return processed data\n * return callback(null, data);\n * });\n * }\n *\n * var wrapped = async.timeout(myFunction, 1000);\n *\n * // call `wrapped` as you would `myFunction`\n * wrapped({ bar: 'bar' }, function(err, data) {\n * // if `myFunction` takes < 1000 ms to execute, `err`\n * // and `data` will have their expected values\n *\n * // else `err` will be an Error with the code 'ETIMEDOUT'\n * });\n */\n function timeout(asyncFn, milliseconds, info) {\n var fn = wrapAsync(asyncFn);\n\n return initialParams((args, callback) => {\n var timedOut = false;\n var timer;\n\n function timeoutCallback() {\n var name = asyncFn.name || 'anonymous';\n var error = new Error('Callback function \"' + name + '\" timed out.');\n error.code = 'ETIMEDOUT';\n if (info) {\n error.info = info;\n }\n timedOut = true;\n callback(error);\n }\n\n args.push((...cbArgs) => {\n if (!timedOut) {\n callback(...cbArgs);\n clearTimeout(timer);\n }\n });\n\n // setup timer and call original function\n timer = setTimeout(timeoutCallback, milliseconds);\n fn(...args);\n });\n }\n\n function range(size) {\n var result = Array(size);\n while (size--) {\n result[size] = size;\n }\n return result;\n }\n\n /**\n * The same as [times]{@link module:ControlFlow.times} but runs a maximum of `limit` async operations at a\n * time.\n *\n * @name timesLimit\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @see [async.times]{@link module:ControlFlow.times}\n * @category Control Flow\n * @param {number} count - The number of times to run the function.\n * @param {number} limit - The maximum number of async operations at a time.\n * @param {AsyncFunction} iteratee - The async function to call `n` times.\n * Invoked with the iteration index and a callback: (n, next).\n * @param {Function} callback - see [async.map]{@link module:Collections.map}.\n * @returns {Promise} a promise, if no callback is provided\n */\n function timesLimit(count, limit, iteratee, callback) {\n var _iteratee = wrapAsync(iteratee);\n return mapLimit$1(range(count), limit, _iteratee, callback);\n }\n\n /**\n * Calls the `iteratee` function `n` times, and accumulates results in the same\n * manner you would use with [map]{@link module:Collections.map}.\n *\n * @name times\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @see [async.map]{@link module:Collections.map}\n * @category Control Flow\n * @param {number} n - The number of times to run the function.\n * @param {AsyncFunction} iteratee - The async function to call `n` times.\n * Invoked with the iteration index and a callback: (n, next).\n * @param {Function} callback - see {@link module:Collections.map}.\n * @returns {Promise} a promise, if no callback is provided\n * @example\n *\n * // Pretend this is some complicated async factory\n * var createUser = function(id, callback) {\n * callback(null, {\n * id: 'user' + id\n * });\n * };\n *\n * // generate 5 users\n * async.times(5, function(n, next) {\n * createUser(n, function(err, user) {\n * next(err, user);\n * });\n * }, function(err, users) {\n * // we should now have 5 users\n * });\n */\n function times (n, iteratee, callback) {\n return timesLimit(n, Infinity, iteratee, callback)\n }\n\n /**\n * The same as [times]{@link module:ControlFlow.times} but runs only a single async operation at a time.\n *\n * @name timesSeries\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @see [async.times]{@link module:ControlFlow.times}\n * @category Control Flow\n * @param {number} n - The number of times to run the function.\n * @param {AsyncFunction} iteratee - The async function to call `n` times.\n * Invoked with the iteration index and a callback: (n, next).\n * @param {Function} callback - see {@link module:Collections.map}.\n * @returns {Promise} a promise, if no callback is provided\n */\n function timesSeries (n, iteratee, callback) {\n return timesLimit(n, 1, iteratee, callback)\n }\n\n /**\n * A relative of `reduce`. Takes an Object or Array, and iterates over each\n * element in parallel, each step potentially mutating an `accumulator` value.\n * The type of the accumulator defaults to the type of collection passed in.\n *\n * @name transform\n * @static\n * @memberOf module:Collections\n * @method\n * @category Collection\n * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.\n * @param {*} [accumulator] - The initial state of the transform. If omitted,\n * it will default to an empty Object or Array, depending on the type of `coll`\n * @param {AsyncFunction} iteratee - A function applied to each item in the\n * collection that potentially modifies the accumulator.\n * Invoked with (accumulator, item, key, callback).\n * @param {Function} [callback] - A callback which is called after all the\n * `iteratee` functions have finished. Result is the transformed accumulator.\n * Invoked with (err, result).\n * @returns {Promise} a promise, if no callback provided\n * @example\n *\n * async.transform([1,2,3], function(acc, item, index, callback) {\n * // pointless async:\n * process.nextTick(function() {\n * acc[index] = item * 2\n * callback(null)\n * });\n * }, function(err, result) {\n * // result is now equal to [2, 4, 6]\n * });\n *\n * @example\n *\n * async.transform({a: 1, b: 2, c: 3}, function (obj, val, key, callback) {\n * setImmediate(function () {\n * obj[key] = val * 2;\n * callback();\n * })\n * }, function (err, result) {\n * // result is equal to {a: 2, b: 4, c: 6}\n * })\n */\n function transform (coll, accumulator, iteratee, callback) {\n if (arguments.length <= 3 && typeof accumulator === 'function') {\n callback = iteratee;\n iteratee = accumulator;\n accumulator = Array.isArray(coll) ? [] : {};\n }\n callback = once(callback || promiseCallback());\n var _iteratee = wrapAsync(iteratee);\n\n eachOf$1(coll, (v, k, cb) => {\n _iteratee(accumulator, v, k, cb);\n }, err => callback(err, accumulator));\n return callback[PROMISE_SYMBOL]\n }\n\n /**\n * It runs each task in series but stops whenever any of the functions were\n * successful. If one of the tasks were successful, the `callback` will be\n * passed the result of the successful task. If all tasks fail, the callback\n * will be passed the error and result (if any) of the final attempt.\n *\n * @name tryEach\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @category Control Flow\n * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection containing functions to\n * run, each function is passed a `callback(err, result)` it must call on\n * completion with an error `err` (which can be `null`) and an optional `result`\n * value.\n * @param {Function} [callback] - An optional callback which is called when one\n * of the tasks has succeeded, or all have failed. It receives the `err` and\n * `result` arguments of the last attempt at completing the `task`. Invoked with\n * (err, results).\n * @returns {Promise} a promise, if no callback is passed\n * @example\n * async.tryEach([\n * function getDataFromFirstWebsite(callback) {\n * // Try getting the data from the first website\n * callback(err, data);\n * },\n * function getDataFromSecondWebsite(callback) {\n * // First website failed,\n * // Try getting the data from the backup website\n * callback(err, data);\n * }\n * ],\n * // optional callback\n * function(err, results) {\n * Now do something with the data.\n * });\n *\n */\n function tryEach(tasks, callback) {\n var error = null;\n var result;\n return eachSeries$1(tasks, (task, taskCb) => {\n wrapAsync(task)((err, ...args) => {\n if (err === false) return taskCb(err);\n\n if (args.length < 2) {\n [result] = args;\n } else {\n result = args;\n }\n error = err;\n taskCb(err ? null : {});\n });\n }, () => callback(error, result));\n }\n\n var tryEach$1 = awaitify(tryEach);\n\n /**\n * Undoes a [memoize]{@link module:Utils.memoize}d function, reverting it to the original,\n * unmemoized form. Handy for testing.\n *\n * @name unmemoize\n * @static\n * @memberOf module:Utils\n * @method\n * @see [async.memoize]{@link module:Utils.memoize}\n * @category Util\n * @param {AsyncFunction} fn - the memoized function\n * @returns {AsyncFunction} a function that calls the original unmemoized function\n */\n function unmemoize(fn) {\n return (...args) => {\n return (fn.unmemoized || fn)(...args);\n };\n }\n\n /**\n * Repeatedly call `iteratee`, while `test` returns `true`. Calls `callback` when\n * stopped, or an error occurs.\n *\n * @name whilst\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @category Control Flow\n * @param {AsyncFunction} test - asynchronous truth test to perform before each\n * execution of `iteratee`. Invoked with ().\n * @param {AsyncFunction} iteratee - An async function which is called each time\n * `test` passes. Invoked with (callback).\n * @param {Function} [callback] - A callback which is called after the test\n * function has failed and repeated execution of `iteratee` has stopped. `callback`\n * will be passed an error and any arguments passed to the final `iteratee`'s\n * callback. Invoked with (err, [results]);\n * @returns {Promise} a promise, if no callback is passed\n * @example\n *\n * var count = 0;\n * async.whilst(\n * function test(cb) { cb(null, count < 5); },\n * function iter(callback) {\n * count++;\n * setTimeout(function() {\n * callback(null, count);\n * }, 1000);\n * },\n * function (err, n) {\n * // 5 seconds have passed, n = 5\n * }\n * );\n */\n function whilst(test, iteratee, callback) {\n callback = onlyOnce(callback);\n var _fn = wrapAsync(iteratee);\n var _test = wrapAsync(test);\n var results = [];\n\n function next(err, ...rest) {\n if (err) return callback(err);\n results = rest;\n if (err === false) return;\n _test(check);\n }\n\n function check(err, truth) {\n if (err) return callback(err);\n if (err === false) return;\n if (!truth) return callback(null, ...results);\n _fn(next);\n }\n\n return _test(check);\n }\n var whilst$1 = awaitify(whilst, 3);\n\n /**\n * Repeatedly call `iteratee` until `test` returns `true`. Calls `callback` when\n * stopped, or an error occurs. `callback` will be passed an error and any\n * arguments passed to the final `iteratee`'s callback.\n *\n * The inverse of [whilst]{@link module:ControlFlow.whilst}.\n *\n * @name until\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @see [async.whilst]{@link module:ControlFlow.whilst}\n * @category Control Flow\n * @param {AsyncFunction} test - asynchronous truth test to perform before each\n * execution of `iteratee`. Invoked with (callback).\n * @param {AsyncFunction} iteratee - An async function which is called each time\n * `test` fails. Invoked with (callback).\n * @param {Function} [callback] - A callback which is called after the test\n * function has passed and repeated execution of `iteratee` has stopped. `callback`\n * will be passed an error and any arguments passed to the final `iteratee`'s\n * callback. Invoked with (err, [results]);\n * @returns {Promise} a promise, if a callback is not passed\n *\n * @example\n * const results = []\n * let finished = false\n * async.until(function test(page, cb) {\n * cb(null, finished)\n * }, function iter(next) {\n * fetchPage(url, (err, body) => {\n * if (err) return next(err)\n * results = results.concat(body.objects)\n * finished = !!body.next\n * next(err)\n * })\n * }, function done (err) {\n * // all pages have been fetched\n * })\n */\n function until(test, iteratee, callback) {\n const _test = wrapAsync(test);\n return whilst$1((cb) => _test((err, truth) => cb (err, !truth)), iteratee, callback);\n }\n\n /**\n * Runs the `tasks` array of functions in series, each passing their results to\n * the next in the array. However, if any of the `tasks` pass an error to their\n * own callback, the next function is not executed, and the main `callback` is\n * immediately called with the error.\n *\n * @name waterfall\n * @static\n * @memberOf module:ControlFlow\n * @method\n * @category Control Flow\n * @param {Array} tasks - An array of [async functions]{@link AsyncFunction}\n * to run.\n * Each function should complete with any number of `result` values.\n * The `result` values will be passed as arguments, in order, to the next task.\n * @param {Function} [callback] - An optional callback to run once all the\n * functions have completed. This will be passed the results of the last task's\n * callback. Invoked with (err, [results]).\n * @returns undefined\n * @example\n *\n * async.waterfall([\n * function(callback) {\n * callback(null, 'one', 'two');\n * },\n * function(arg1, arg2, callback) {\n * // arg1 now equals 'one' and arg2 now equals 'two'\n * callback(null, 'three');\n * },\n * function(arg1, callback) {\n * // arg1 now equals 'three'\n * callback(null, 'done');\n * }\n * ], function (err, result) {\n * // result now equals 'done'\n * });\n *\n * // Or, with named functions:\n * async.waterfall([\n * myFirstFunction,\n * mySecondFunction,\n * myLastFunction,\n * ], function (err, result) {\n * // result now equals 'done'\n * });\n * function myFirstFunction(callback) {\n * callback(null, 'one', 'two');\n * }\n * function mySecondFunction(arg1, arg2, callback) {\n * // arg1 now equals 'one' and arg2 now equals 'two'\n * callback(null, 'three');\n * }\n * function myLastFunction(arg1, callback) {\n * // arg1 now equals 'three'\n * callback(null, 'done');\n * }\n */\n function waterfall (tasks, callback) {\n callback = once(callback);\n if (!Array.isArray(tasks)) return callback(new Error('First argument to waterfall must be an array of functions'));\n if (!tasks.length) return callback();\n var taskIndex = 0;\n\n function nextTask(args) {\n var task = wrapAsync(tasks[taskIndex++]);\n task(...args, onlyOnce(next));\n }\n\n function next(err, ...args) {\n if (err === false) return\n if (err || taskIndex === tasks.length) {\n return callback(err, ...args);\n }\n nextTask(args);\n }\n\n nextTask([]);\n }\n\n var waterfall$1 = awaitify(waterfall);\n\n /**\n * An \"async function\" in the context of Async is an asynchronous function with\n * a variable number of parameters, with the final parameter being a callback.\n * (`function (arg1, arg2, ..., callback) {}`)\n * The final callback is of the form `callback(err, results...)`, which must be\n * called once the function is completed. The callback should be called with a\n * Error as its first argument to signal that an error occurred.\n * Otherwise, if no error occurred, it should be called with `null` as the first\n * argument, and any additional `result` arguments that may apply, to signal\n * successful completion.\n * The callback must be called exactly once, ideally on a later tick of the\n * JavaScript event loop.\n *\n * This type of function is also referred to as a \"Node-style async function\",\n * or a \"continuation passing-style function\" (CPS). Most of the methods of this\n * library are themselves CPS/Node-style async functions, or functions that\n * return CPS/Node-style async functions.\n *\n * Wherever we accept a Node-style async function, we also directly accept an\n * [ES2017 `async` function]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function}.\n * In this case, the `async` function will not be passed a final callback\n * argument, and any thrown error will be used as the `err` argument of the\n * implicit callback, and the return value will be used as the `result` value.\n * (i.e. a `rejected` of the returned Promise becomes the `err` callback\n * argument, and a `resolved` value becomes the `result`.)\n *\n * Note, due to JavaScript limitations, we can only detect native `async`\n * functions and not transpilied implementations.\n * Your environment must have `async`/`await` support for this to work.\n * (e.g. Node > v7.6, or a recent version of a modern browser).\n * If you are using `async` functions through a transpiler (e.g. Babel), you\n * must still wrap the function with [asyncify]{@link module:Utils.asyncify},\n * because the `async function` will be compiled to an ordinary function that\n * returns a promise.\n *\n * @typedef {Function} AsyncFunction\n * @static\n */\n\n var index = {\n apply,\n applyEach: applyEach$1,\n applyEachSeries,\n asyncify,\n auto,\n autoInject,\n cargo,\n cargoQueue: cargo$1,\n compose,\n concat: concat$1,\n concatLimit: concatLimit$1,\n concatSeries: concatSeries$1,\n constant,\n detect: detect$1,\n detectLimit: detectLimit$1,\n detectSeries: detectSeries$1,\n dir,\n doUntil,\n doWhilst: doWhilst$1,\n each,\n eachLimit: eachLimit$2,\n eachOf: eachOf$1,\n eachOfLimit: eachOfLimit$2,\n eachOfSeries: eachOfSeries$1,\n eachSeries: eachSeries$1,\n ensureAsync,\n every: every$1,\n everyLimit: everyLimit$1,\n everySeries: everySeries$1,\n filter: filter$1,\n filterLimit: filterLimit$1,\n filterSeries: filterSeries$1,\n forever: forever$1,\n groupBy,\n groupByLimit: groupByLimit$1,\n groupBySeries,\n log,\n map: map$1,\n mapLimit: mapLimit$1,\n mapSeries: mapSeries$1,\n mapValues,\n mapValuesLimit: mapValuesLimit$1,\n mapValuesSeries,\n memoize,\n nextTick,\n parallel: parallel$1,\n parallelLimit,\n priorityQueue,\n queue: queue$1,\n race: race$1,\n reduce: reduce$1,\n reduceRight,\n reflect,\n reflectAll,\n reject: reject$2,\n rejectLimit: rejectLimit$1,\n rejectSeries: rejectSeries$1,\n retry,\n retryable,\n seq,\n series,\n setImmediate: setImmediate$1,\n some: some$1,\n someLimit: someLimit$1,\n someSeries: someSeries$1,\n sortBy: sortBy$1,\n timeout,\n times,\n timesLimit,\n timesSeries,\n transform,\n tryEach: tryEach$1,\n unmemoize,\n until,\n waterfall: waterfall$1,\n whilst: whilst$1,\n\n // aliases\n all: every$1,\n allLimit: everyLimit$1,\n allSeries: everySeries$1,\n any: some$1,\n anyLimit: someLimit$1,\n anySeries: someSeries$1,\n find: detect$1,\n findLimit: detectLimit$1,\n findSeries: detectSeries$1,\n flatMap: concat$1,\n flatMapLimit: concatLimit$1,\n flatMapSeries: concatSeries$1,\n forEach: each,\n forEachSeries: eachSeries$1,\n forEachLimit: eachLimit$2,\n forEachOf: eachOf$1,\n forEachOfSeries: eachOfSeries$1,\n forEachOfLimit: eachOfLimit$2,\n inject: reduce$1,\n foldl: reduce$1,\n foldr: reduceRight,\n select: filter$1,\n selectLimit: filterLimit$1,\n selectSeries: filterSeries$1,\n wrapSync: asyncify,\n during: whilst$1,\n doDuring: doWhilst$1\n };\n\n exports.default = index;\n exports.apply = apply;\n exports.applyEach = applyEach$1;\n exports.applyEachSeries = applyEachSeries;\n exports.asyncify = asyncify;\n exports.auto = auto;\n exports.autoInject = autoInject;\n exports.cargo = cargo;\n exports.cargoQueue = cargo$1;\n exports.compose = compose;\n exports.concat = concat$1;\n exports.concatLimit = concatLimit$1;\n exports.concatSeries = concatSeries$1;\n exports.constant = constant;\n exports.detect = detect$1;\n exports.detectLimit = detectLimit$1;\n exports.detectSeries = detectSeries$1;\n exports.dir = dir;\n exports.doUntil = doUntil;\n exports.doWhilst = doWhilst$1;\n exports.each = each;\n exports.eachLimit = eachLimit$2;\n exports.eachOf = eachOf$1;\n exports.eachOfLimit = eachOfLimit$2;\n exports.eachOfSeries = eachOfSeries$1;\n exports.eachSeries = eachSeries$1;\n exports.ensureAsync = ensureAsync;\n exports.every = every$1;\n exports.everyLimit = everyLimit$1;\n exports.everySeries = everySeries$1;\n exports.filter = filter$1;\n exports.filterLimit = filterLimit$1;\n exports.filterSeries = filterSeries$1;\n exports.forever = forever$1;\n exports.groupBy = groupBy;\n exports.groupByLimit = groupByLimit$1;\n exports.groupBySeries = groupBySeries;\n exports.log = log;\n exports.map = map$1;\n exports.mapLimit = mapLimit$1;\n exports.mapSeries = mapSeries$1;\n exports.mapValues = mapValues;\n exports.mapValuesLimit = mapValuesLimit$1;\n exports.mapValuesSeries = mapValuesSeries;\n exports.memoize = memoize;\n exports.nextTick = nextTick;\n exports.parallel = parallel$1;\n exports.parallelLimit = parallelLimit;\n exports.priorityQueue = priorityQueue;\n exports.queue = queue$1;\n exports.race = race$1;\n exports.reduce = reduce$1;\n exports.reduceRight = reduceRight;\n exports.reflect = reflect;\n exports.reflectAll = reflectAll;\n exports.reject = reject$2;\n exports.rejectLimit = rejectLimit$1;\n exports.rejectSeries = rejectSeries$1;\n exports.retry = retry;\n exports.retryable = retryable;\n exports.seq = seq;\n exports.series = series;\n exports.setImmediate = setImmediate$1;\n exports.some = some$1;\n exports.someLimit = someLimit$1;\n exports.someSeries = someSeries$1;\n exports.sortBy = sortBy$1;\n exports.timeout = timeout;\n exports.times = times;\n exports.timesLimit = timesLimit;\n exports.timesSeries = timesSeries;\n exports.transform = transform;\n exports.tryEach = tryEach$1;\n exports.unmemoize = unmemoize;\n exports.until = until;\n exports.waterfall = waterfall$1;\n exports.whilst = whilst$1;\n exports.all = every$1;\n exports.allLimit = everyLimit$1;\n exports.allSeries = everySeries$1;\n exports.any = some$1;\n exports.anyLimit = someLimit$1;\n exports.anySeries = someSeries$1;\n exports.find = detect$1;\n exports.findLimit = detectLimit$1;\n exports.findSeries = detectSeries$1;\n exports.flatMap = concat$1;\n exports.flatMapLimit = concatLimit$1;\n exports.flatMapSeries = concatSeries$1;\n exports.forEach = each;\n exports.forEachSeries = eachSeries$1;\n exports.forEachLimit = eachLimit$2;\n exports.forEachOf = eachOf$1;\n exports.forEachOfSeries = eachOfSeries$1;\n exports.forEachOfLimit = eachOfLimit$2;\n exports.inject = reduce$1;\n exports.foldl = reduce$1;\n exports.foldr = reduceRight;\n exports.select = filter$1;\n exports.selectLimit = filterLimit$1;\n exports.selectSeries = filterSeries$1;\n exports.wrapSync = asyncify;\n exports.during = whilst$1;\n exports.doDuring = doWhilst$1;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n})));\n","module.exports = r => {\n const n = process.versions.node.split('.').map(x => parseInt(x, 10))\n r = r.split('.').map(x => parseInt(x, 10))\n return n[0] > r[0] || (n[0] === r[0] && (n[1] > r[1] || (n[1] === r[1] && n[2] >= r[2])))\n}\n","'use strict'\n\nconst fs = require('graceful-fs')\nconst path = require('path')\nconst mkdirsSync = require('../mkdirs').mkdirsSync\nconst utimesMillisSync = require('../util/utimes').utimesMillisSync\nconst stat = require('../util/stat')\n\nfunction copySync (src, dest, opts) {\n if (typeof opts === 'function') {\n opts = { filter: opts }\n }\n\n opts = opts || {}\n opts.clobber = 'clobber' in opts ? !!opts.clobber : true // default to true for now\n opts.overwrite = 'overwrite' in opts ? !!opts.overwrite : opts.clobber // overwrite falls back to clobber\n\n // Warn about using preserveTimestamps on 32-bit node\n if (opts.preserveTimestamps && process.arch === 'ia32') {\n console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\\n\n see https://github.com/jprichardson/node-fs-extra/issues/269`)\n }\n\n const { srcStat, destStat } = stat.checkPathsSync(src, dest, 'copy')\n stat.checkParentPathsSync(src, srcStat, dest, 'copy')\n return handleFilterAndCopy(destStat, src, dest, opts)\n}\n\nfunction handleFilterAndCopy (destStat, src, dest, opts) {\n if (opts.filter && !opts.filter(src, dest)) return\n const destParent = path.dirname(dest)\n if (!fs.existsSync(destParent)) mkdirsSync(destParent)\n return startCopy(destStat, src, dest, opts)\n}\n\nfunction startCopy (destStat, src, dest, opts) {\n if (opts.filter && !opts.filter(src, dest)) return\n return getStats(destStat, src, dest, opts)\n}\n\nfunction getStats (destStat, src, dest, opts) {\n const statSync = opts.dereference ? fs.statSync : fs.lstatSync\n const srcStat = statSync(src)\n\n if (srcStat.isDirectory()) return onDir(srcStat, destStat, src, dest, opts)\n else if (srcStat.isFile() ||\n srcStat.isCharacterDevice() ||\n srcStat.isBlockDevice()) return onFile(srcStat, destStat, src, dest, opts)\n else if (srcStat.isSymbolicLink()) return onLink(destStat, src, dest, opts)\n}\n\nfunction onFile (srcStat, destStat, src, dest, opts) {\n if (!destStat) return copyFile(srcStat, src, dest, opts)\n return mayCopyFile(srcStat, src, dest, opts)\n}\n\nfunction mayCopyFile (srcStat, src, dest, opts) {\n if (opts.overwrite) {\n fs.unlinkSync(dest)\n return copyFile(srcStat, src, dest, opts)\n } else if (opts.errorOnExist) {\n throw new Error(`'${dest}' already exists`)\n }\n}\n\nfunction copyFile (srcStat, src, dest, opts) {\n fs.copyFileSync(src, dest)\n if (opts.preserveTimestamps) handleTimestamps(srcStat.mode, src, dest)\n return setDestMode(dest, srcStat.mode)\n}\n\nfunction handleTimestamps (srcMode, src, dest) {\n // Make sure the file is writable before setting the timestamp\n // otherwise open fails with EPERM when invoked with 'r+'\n // (through utimes call)\n if (fileIsNotWritable(srcMode)) makeFileWritable(dest, srcMode)\n return setDestTimestamps(src, dest)\n}\n\nfunction fileIsNotWritable (srcMode) {\n return (srcMode & 0o200) === 0\n}\n\nfunction makeFileWritable (dest, srcMode) {\n return setDestMode(dest, srcMode | 0o200)\n}\n\nfunction setDestMode (dest, srcMode) {\n return fs.chmodSync(dest, srcMode)\n}\n\nfunction setDestTimestamps (src, dest) {\n // The initial srcStat.atime cannot be trusted\n // because it is modified by the read(2) system call\n // (See https://nodejs.org/api/fs.html#fs_stat_time_values)\n const updatedSrcStat = fs.statSync(src)\n return utimesMillisSync(dest, updatedSrcStat.atime, updatedSrcStat.mtime)\n}\n\nfunction onDir (srcStat, destStat, src, dest, opts) {\n if (!destStat) return mkDirAndCopy(srcStat.mode, src, dest, opts)\n if (destStat && !destStat.isDirectory()) {\n throw new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`)\n }\n return copyDir(src, dest, opts)\n}\n\nfunction mkDirAndCopy (srcMode, src, dest, opts) {\n fs.mkdirSync(dest)\n copyDir(src, dest, opts)\n return setDestMode(dest, srcMode)\n}\n\nfunction copyDir (src, dest, opts) {\n fs.readdirSync(src).forEach(item => copyDirItem(item, src, dest, opts))\n}\n\nfunction copyDirItem (item, src, dest, opts) {\n const srcItem = path.join(src, item)\n const destItem = path.join(dest, item)\n const { destStat } = stat.checkPathsSync(srcItem, destItem, 'copy')\n return startCopy(destStat, srcItem, destItem, opts)\n}\n\nfunction onLink (destStat, src, dest, opts) {\n let resolvedSrc = fs.readlinkSync(src)\n if (opts.dereference) {\n resolvedSrc = path.resolve(process.cwd(), resolvedSrc)\n }\n\n if (!destStat) {\n return fs.symlinkSync(resolvedSrc, dest)\n } else {\n let resolvedDest\n try {\n resolvedDest = fs.readlinkSync(dest)\n } catch (err) {\n // dest exists and is a regular file or directory,\n // Windows may throw UNKNOWN error. If dest already exists,\n // fs throws error anyway, so no need to guard against it here.\n if (err.code === 'EINVAL' || err.code === 'UNKNOWN') return fs.symlinkSync(resolvedSrc, dest)\n throw err\n }\n if (opts.dereference) {\n resolvedDest = path.resolve(process.cwd(), resolvedDest)\n }\n if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {\n throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`)\n }\n\n // prevent copy if src is a subdir of dest since unlinking\n // dest in this case would result in removing src contents\n // and therefore a broken symlink would be created.\n if (fs.statSync(dest).isDirectory() && stat.isSrcSubdir(resolvedDest, resolvedSrc)) {\n throw new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`)\n }\n return copyLink(resolvedSrc, dest)\n }\n}\n\nfunction copyLink (resolvedSrc, dest) {\n fs.unlinkSync(dest)\n return fs.symlinkSync(resolvedSrc, dest)\n}\n\nmodule.exports = copySync\n","'use strict'\n\nmodule.exports = {\n copySync: require('./copy-sync')\n}\n","'use strict'\n\nconst fs = require('graceful-fs')\nconst path = require('path')\nconst mkdirs = require('../mkdirs').mkdirs\nconst pathExists = require('../path-exists').pathExists\nconst utimesMillis = require('../util/utimes').utimesMillis\nconst stat = require('../util/stat')\n\nfunction copy (src, dest, opts, cb) {\n if (typeof opts === 'function' && !cb) {\n cb = opts\n opts = {}\n } else if (typeof opts === 'function') {\n opts = { filter: opts }\n }\n\n cb = cb || function () {}\n opts = opts || {}\n\n opts.clobber = 'clobber' in opts ? !!opts.clobber : true // default to true for now\n opts.overwrite = 'overwrite' in opts ? !!opts.overwrite : opts.clobber // overwrite falls back to clobber\n\n // Warn about using preserveTimestamps on 32-bit node\n if (opts.preserveTimestamps && process.arch === 'ia32') {\n console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\\n\n see https://github.com/jprichardson/node-fs-extra/issues/269`)\n }\n\n stat.checkPaths(src, dest, 'copy', (err, stats) => {\n if (err) return cb(err)\n const { srcStat, destStat } = stats\n stat.checkParentPaths(src, srcStat, dest, 'copy', err => {\n if (err) return cb(err)\n if (opts.filter) return handleFilter(checkParentDir, destStat, src, dest, opts, cb)\n return checkParentDir(destStat, src, dest, opts, cb)\n })\n })\n}\n\nfunction checkParentDir (destStat, src, dest, opts, cb) {\n const destParent = path.dirname(dest)\n pathExists(destParent, (err, dirExists) => {\n if (err) return cb(err)\n if (dirExists) return startCopy(destStat, src, dest, opts, cb)\n mkdirs(destParent, err => {\n if (err) return cb(err)\n return startCopy(destStat, src, dest, opts, cb)\n })\n })\n}\n\nfunction handleFilter (onInclude, destStat, src, dest, opts, cb) {\n Promise.resolve(opts.filter(src, dest)).then(include => {\n if (include) return onInclude(destStat, src, dest, opts, cb)\n return cb()\n }, error => cb(error))\n}\n\nfunction startCopy (destStat, src, dest, opts, cb) {\n if (opts.filter) return handleFilter(getStats, destStat, src, dest, opts, cb)\n return getStats(destStat, src, dest, opts, cb)\n}\n\nfunction getStats (destStat, src, dest, opts, cb) {\n const stat = opts.dereference ? fs.stat : fs.lstat\n stat(src, (err, srcStat) => {\n if (err) return cb(err)\n\n if (srcStat.isDirectory()) return onDir(srcStat, destStat, src, dest, opts, cb)\n else if (srcStat.isFile() ||\n srcStat.isCharacterDevice() ||\n srcStat.isBlockDevice()) return onFile(srcStat, destStat, src, dest, opts, cb)\n else if (srcStat.isSymbolicLink()) return onLink(destStat, src, dest, opts, cb)\n })\n}\n\nfunction onFile (srcStat, destStat, src, dest, opts, cb) {\n if (!destStat) return copyFile(srcStat, src, dest, opts, cb)\n return mayCopyFile(srcStat, src, dest, opts, cb)\n}\n\nfunction mayCopyFile (srcStat, src, dest, opts, cb) {\n if (opts.overwrite) {\n fs.unlink(dest, err => {\n if (err) return cb(err)\n return copyFile(srcStat, src, dest, opts, cb)\n })\n } else if (opts.errorOnExist) {\n return cb(new Error(`'${dest}' already exists`))\n } else return cb()\n}\n\nfunction copyFile (srcStat, src, dest, opts, cb) {\n fs.copyFile(src, dest, err => {\n if (err) return cb(err)\n if (opts.preserveTimestamps) return handleTimestampsAndMode(srcStat.mode, src, dest, cb)\n return setDestMode(dest, srcStat.mode, cb)\n })\n}\n\nfunction handleTimestampsAndMode (srcMode, src, dest, cb) {\n // Make sure the file is writable before setting the timestamp\n // otherwise open fails with EPERM when invoked with 'r+'\n // (through utimes call)\n if (fileIsNotWritable(srcMode)) {\n return makeFileWritable(dest, srcMode, err => {\n if (err) return cb(err)\n return setDestTimestampsAndMode(srcMode, src, dest, cb)\n })\n }\n return setDestTimestampsAndMode(srcMode, src, dest, cb)\n}\n\nfunction fileIsNotWritable (srcMode) {\n return (srcMode & 0o200) === 0\n}\n\nfunction makeFileWritable (dest, srcMode, cb) {\n return setDestMode(dest, srcMode | 0o200, cb)\n}\n\nfunction setDestTimestampsAndMode (srcMode, src, dest, cb) {\n setDestTimestamps(src, dest, err => {\n if (err) return cb(err)\n return setDestMode(dest, srcMode, cb)\n })\n}\n\nfunction setDestMode (dest, srcMode, cb) {\n return fs.chmod(dest, srcMode, cb)\n}\n\nfunction setDestTimestamps (src, dest, cb) {\n // The initial srcStat.atime cannot be trusted\n // because it is modified by the read(2) system call\n // (See https://nodejs.org/api/fs.html#fs_stat_time_values)\n fs.stat(src, (err, updatedSrcStat) => {\n if (err) return cb(err)\n return utimesMillis(dest, updatedSrcStat.atime, updatedSrcStat.mtime, cb)\n })\n}\n\nfunction onDir (srcStat, destStat, src, dest, opts, cb) {\n if (!destStat) return mkDirAndCopy(srcStat.mode, src, dest, opts, cb)\n if (destStat && !destStat.isDirectory()) {\n return cb(new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`))\n }\n return copyDir(src, dest, opts, cb)\n}\n\nfunction mkDirAndCopy (srcMode, src, dest, opts, cb) {\n fs.mkdir(dest, err => {\n if (err) return cb(err)\n copyDir(src, dest, opts, err => {\n if (err) return cb(err)\n return setDestMode(dest, srcMode, cb)\n })\n })\n}\n\nfunction copyDir (src, dest, opts, cb) {\n fs.readdir(src, (err, items) => {\n if (err) return cb(err)\n return copyDirItems(items, src, dest, opts, cb)\n })\n}\n\nfunction copyDirItems (items, src, dest, opts, cb) {\n const item = items.pop()\n if (!item) return cb()\n return copyDirItem(items, item, src, dest, opts, cb)\n}\n\nfunction copyDirItem (items, item, src, dest, opts, cb) {\n const srcItem = path.join(src, item)\n const destItem = path.join(dest, item)\n stat.checkPaths(srcItem, destItem, 'copy', (err, stats) => {\n if (err) return cb(err)\n const { destStat } = stats\n startCopy(destStat, srcItem, destItem, opts, err => {\n if (err) return cb(err)\n return copyDirItems(items, src, dest, opts, cb)\n })\n })\n}\n\nfunction onLink (destStat, src, dest, opts, cb) {\n fs.readlink(src, (err, resolvedSrc) => {\n if (err) return cb(err)\n if (opts.dereference) {\n resolvedSrc = path.resolve(process.cwd(), resolvedSrc)\n }\n\n if (!destStat) {\n return fs.symlink(resolvedSrc, dest, cb)\n } else {\n fs.readlink(dest, (err, resolvedDest) => {\n if (err) {\n // dest exists and is a regular file or directory,\n // Windows may throw UNKNOWN error. If dest already exists,\n // fs throws error anyway, so no need to guard against it here.\n if (err.code === 'EINVAL' || err.code === 'UNKNOWN') return fs.symlink(resolvedSrc, dest, cb)\n return cb(err)\n }\n if (opts.dereference) {\n resolvedDest = path.resolve(process.cwd(), resolvedDest)\n }\n if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {\n return cb(new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`))\n }\n\n // do not copy if src is a subdir of dest since unlinking\n // dest in this case would result in removing src contents\n // and therefore a broken symlink would be created.\n if (destStat.isDirectory() && stat.isSrcSubdir(resolvedDest, resolvedSrc)) {\n return cb(new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`))\n }\n return copyLink(resolvedSrc, dest, cb)\n })\n }\n })\n}\n\nfunction copyLink (resolvedSrc, dest, cb) {\n fs.unlink(dest, err => {\n if (err) return cb(err)\n return fs.symlink(resolvedSrc, dest, cb)\n })\n}\n\nmodule.exports = copy\n","'use strict'\n\nconst u = require('universalify').fromCallback\nmodule.exports = {\n copy: u(require('./copy'))\n}\n","'use strict'\n\nconst u = require('universalify').fromCallback\nconst fs = require('graceful-fs')\nconst path = require('path')\nconst mkdir = require('../mkdirs')\nconst remove = require('../remove')\n\nconst emptyDir = u(function emptyDir (dir, callback) {\n callback = callback || function () {}\n fs.readdir(dir, (err, items) => {\n if (err) return mkdir.mkdirs(dir, callback)\n\n items = items.map(item => path.join(dir, item))\n\n deleteItem()\n\n function deleteItem () {\n const item = items.pop()\n if (!item) return callback()\n remove.remove(item, err => {\n if (err) return callback(err)\n deleteItem()\n })\n }\n })\n})\n\nfunction emptyDirSync (dir) {\n let items\n try {\n items = fs.readdirSync(dir)\n } catch {\n return mkdir.mkdirsSync(dir)\n }\n\n items.forEach(item => {\n item = path.join(dir, item)\n remove.removeSync(item)\n })\n}\n\nmodule.exports = {\n emptyDirSync,\n emptydirSync: emptyDirSync,\n emptyDir,\n emptydir: emptyDir\n}\n","'use strict'\n\nconst u = require('universalify').fromCallback\nconst path = require('path')\nconst fs = require('graceful-fs')\nconst mkdir = require('../mkdirs')\n\nfunction createFile (file, callback) {\n function makeFile () {\n fs.writeFile(file, '', err => {\n if (err) return callback(err)\n callback()\n })\n }\n\n fs.stat(file, (err, stats) => { // eslint-disable-line handle-callback-err\n if (!err && stats.isFile()) return callback()\n const dir = path.dirname(file)\n fs.stat(dir, (err, stats) => {\n if (err) {\n // if the directory doesn't exist, make it\n if (err.code === 'ENOENT') {\n return mkdir.mkdirs(dir, err => {\n if (err) return callback(err)\n makeFile()\n })\n }\n return callback(err)\n }\n\n if (stats.isDirectory()) makeFile()\n else {\n // parent is not a directory\n // This is just to cause an internal ENOTDIR error to be thrown\n fs.readdir(dir, err => {\n if (err) return callback(err)\n })\n }\n })\n })\n}\n\nfunction createFileSync (file) {\n let stats\n try {\n stats = fs.statSync(file)\n } catch {}\n if (stats && stats.isFile()) return\n\n const dir = path.dirname(file)\n try {\n if (!fs.statSync(dir).isDirectory()) {\n // parent is not a directory\n // This is just to cause an internal ENOTDIR error to be thrown\n fs.readdirSync(dir)\n }\n } catch (err) {\n // If the stat call above failed because the directory doesn't exist, create it\n if (err && err.code === 'ENOENT') mkdir.mkdirsSync(dir)\n else throw err\n }\n\n fs.writeFileSync(file, '')\n}\n\nmodule.exports = {\n createFile: u(createFile),\n createFileSync\n}\n","'use strict'\n\nconst file = require('./file')\nconst link = require('./link')\nconst symlink = require('./symlink')\n\nmodule.exports = {\n // file\n createFile: file.createFile,\n createFileSync: file.createFileSync,\n ensureFile: file.createFile,\n ensureFileSync: file.createFileSync,\n // link\n createLink: link.createLink,\n createLinkSync: link.createLinkSync,\n ensureLink: link.createLink,\n ensureLinkSync: link.createLinkSync,\n // symlink\n createSymlink: symlink.createSymlink,\n createSymlinkSync: symlink.createSymlinkSync,\n ensureSymlink: symlink.createSymlink,\n ensureSymlinkSync: symlink.createSymlinkSync\n}\n","'use strict'\n\nconst u = require('universalify').fromCallback\nconst path = require('path')\nconst fs = require('graceful-fs')\nconst mkdir = require('../mkdirs')\nconst pathExists = require('../path-exists').pathExists\n\nfunction createLink (srcpath, dstpath, callback) {\n function makeLink (srcpath, dstpath) {\n fs.link(srcpath, dstpath, err => {\n if (err) return callback(err)\n callback(null)\n })\n }\n\n pathExists(dstpath, (err, destinationExists) => {\n if (err) return callback(err)\n if (destinationExists) return callback(null)\n fs.lstat(srcpath, (err) => {\n if (err) {\n err.message = err.message.replace('lstat', 'ensureLink')\n return callback(err)\n }\n\n const dir = path.dirname(dstpath)\n pathExists(dir, (err, dirExists) => {\n if (err) return callback(err)\n if (dirExists) return makeLink(srcpath, dstpath)\n mkdir.mkdirs(dir, err => {\n if (err) return callback(err)\n makeLink(srcpath, dstpath)\n })\n })\n })\n })\n}\n\nfunction createLinkSync (srcpath, dstpath) {\n const destinationExists = fs.existsSync(dstpath)\n if (destinationExists) return undefined\n\n try {\n fs.lstatSync(srcpath)\n } catch (err) {\n err.message = err.message.replace('lstat', 'ensureLink')\n throw err\n }\n\n const dir = path.dirname(dstpath)\n const dirExists = fs.existsSync(dir)\n if (dirExists) return fs.linkSync(srcpath, dstpath)\n mkdir.mkdirsSync(dir)\n\n return fs.linkSync(srcpath, dstpath)\n}\n\nmodule.exports = {\n createLink: u(createLink),\n createLinkSync\n}\n","'use strict'\n\nconst path = require('path')\nconst fs = require('graceful-fs')\nconst pathExists = require('../path-exists').pathExists\n\n/**\n * Function that returns two types of paths, one relative to symlink, and one\n * relative to the current working directory. Checks if path is absolute or\n * relative. If the path is relative, this function checks if the path is\n * relative to symlink or relative to current working directory. This is an\n * initiative to find a smarter `srcpath` to supply when building symlinks.\n * This allows you to determine which path to use out of one of three possible\n * types of source paths. The first is an absolute path. This is detected by\n * `path.isAbsolute()`. When an absolute path is provided, it is checked to\n * see if it exists. If it does it's used, if not an error is returned\n * (callback)/ thrown (sync). The other two options for `srcpath` are a\n * relative url. By default Node's `fs.symlink` works by creating a symlink\n * using `dstpath` and expects the `srcpath` to be relative to the newly\n * created symlink. If you provide a `srcpath` that does not exist on the file\n * system it results in a broken symlink. To minimize this, the function\n * checks to see if the 'relative to symlink' source file exists, and if it\n * does it will use it. If it does not, it checks if there's a file that\n * exists that is relative to the current working directory, if does its used.\n * This preserves the expectations of the original fs.symlink spec and adds\n * the ability to pass in `relative to current working direcotry` paths.\n */\n\nfunction symlinkPaths (srcpath, dstpath, callback) {\n if (path.isAbsolute(srcpath)) {\n return fs.lstat(srcpath, (err) => {\n if (err) {\n err.message = err.message.replace('lstat', 'ensureSymlink')\n return callback(err)\n }\n return callback(null, {\n toCwd: srcpath,\n toDst: srcpath\n })\n })\n } else {\n const dstdir = path.dirname(dstpath)\n const relativeToDst = path.join(dstdir, srcpath)\n return pathExists(relativeToDst, (err, exists) => {\n if (err) return callback(err)\n if (exists) {\n return callback(null, {\n toCwd: relativeToDst,\n toDst: srcpath\n })\n } else {\n return fs.lstat(srcpath, (err) => {\n if (err) {\n err.message = err.message.replace('lstat', 'ensureSymlink')\n return callback(err)\n }\n return callback(null, {\n toCwd: srcpath,\n toDst: path.relative(dstdir, srcpath)\n })\n })\n }\n })\n }\n}\n\nfunction symlinkPathsSync (srcpath, dstpath) {\n let exists\n if (path.isAbsolute(srcpath)) {\n exists = fs.existsSync(srcpath)\n if (!exists) throw new Error('absolute srcpath does not exist')\n return {\n toCwd: srcpath,\n toDst: srcpath\n }\n } else {\n const dstdir = path.dirname(dstpath)\n const relativeToDst = path.join(dstdir, srcpath)\n exists = fs.existsSync(relativeToDst)\n if (exists) {\n return {\n toCwd: relativeToDst,\n toDst: srcpath\n }\n } else {\n exists = fs.existsSync(srcpath)\n if (!exists) throw new Error('relative srcpath does not exist')\n return {\n toCwd: srcpath,\n toDst: path.relative(dstdir, srcpath)\n }\n }\n }\n}\n\nmodule.exports = {\n symlinkPaths,\n symlinkPathsSync\n}\n","'use strict'\n\nconst fs = require('graceful-fs')\n\nfunction symlinkType (srcpath, type, callback) {\n callback = (typeof type === 'function') ? type : callback\n type = (typeof type === 'function') ? false : type\n if (type) return callback(null, type)\n fs.lstat(srcpath, (err, stats) => {\n if (err) return callback(null, 'file')\n type = (stats && stats.isDirectory()) ? 'dir' : 'file'\n callback(null, type)\n })\n}\n\nfunction symlinkTypeSync (srcpath, type) {\n let stats\n\n if (type) return type\n try {\n stats = fs.lstatSync(srcpath)\n } catch {\n return 'file'\n }\n return (stats && stats.isDirectory()) ? 'dir' : 'file'\n}\n\nmodule.exports = {\n symlinkType,\n symlinkTypeSync\n}\n","'use strict'\n\nconst u = require('universalify').fromCallback\nconst path = require('path')\nconst fs = require('graceful-fs')\nconst _mkdirs = require('../mkdirs')\nconst mkdirs = _mkdirs.mkdirs\nconst mkdirsSync = _mkdirs.mkdirsSync\n\nconst _symlinkPaths = require('./symlink-paths')\nconst symlinkPaths = _symlinkPaths.symlinkPaths\nconst symlinkPathsSync = _symlinkPaths.symlinkPathsSync\n\nconst _symlinkType = require('./symlink-type')\nconst symlinkType = _symlinkType.symlinkType\nconst symlinkTypeSync = _symlinkType.symlinkTypeSync\n\nconst pathExists = require('../path-exists').pathExists\n\nfunction createSymlink (srcpath, dstpath, type, callback) {\n callback = (typeof type === 'function') ? type : callback\n type = (typeof type === 'function') ? false : type\n\n pathExists(dstpath, (err, destinationExists) => {\n if (err) return callback(err)\n if (destinationExists) return callback(null)\n symlinkPaths(srcpath, dstpath, (err, relative) => {\n if (err) return callback(err)\n srcpath = relative.toDst\n symlinkType(relative.toCwd, type, (err, type) => {\n if (err) return callback(err)\n const dir = path.dirname(dstpath)\n pathExists(dir, (err, dirExists) => {\n if (err) return callback(err)\n if (dirExists) return fs.symlink(srcpath, dstpath, type, callback)\n mkdirs(dir, err => {\n if (err) return callback(err)\n fs.symlink(srcpath, dstpath, type, callback)\n })\n })\n })\n })\n })\n}\n\nfunction createSymlinkSync (srcpath, dstpath, type) {\n const destinationExists = fs.existsSync(dstpath)\n if (destinationExists) return undefined\n\n const relative = symlinkPathsSync(srcpath, dstpath)\n srcpath = relative.toDst\n type = symlinkTypeSync(relative.toCwd, type)\n const dir = path.dirname(dstpath)\n const exists = fs.existsSync(dir)\n if (exists) return fs.symlinkSync(srcpath, dstpath, type)\n mkdirsSync(dir)\n return fs.symlinkSync(srcpath, dstpath, type)\n}\n\nmodule.exports = {\n createSymlink: u(createSymlink),\n createSymlinkSync\n}\n","'use strict'\n// This is adapted from https://github.com/normalize/mz\n// Copyright (c) 2014-2016 Jonathan Ong me@jongleberry.com and Contributors\nconst u = require('universalify').fromCallback\nconst fs = require('graceful-fs')\n\nconst api = [\n 'access',\n 'appendFile',\n 'chmod',\n 'chown',\n 'close',\n 'copyFile',\n 'fchmod',\n 'fchown',\n 'fdatasync',\n 'fstat',\n 'fsync',\n 'ftruncate',\n 'futimes',\n 'lchmod',\n 'lchown',\n 'link',\n 'lstat',\n 'mkdir',\n 'mkdtemp',\n 'open',\n 'opendir',\n 'readdir',\n 'readFile',\n 'readlink',\n 'realpath',\n 'rename',\n 'rm',\n 'rmdir',\n 'stat',\n 'symlink',\n 'truncate',\n 'unlink',\n 'utimes',\n 'writeFile'\n].filter(key => {\n // Some commands are not available on some systems. Ex:\n // fs.opendir was added in Node.js v12.12.0\n // fs.rm was added in Node.js v14.14.0\n // fs.lchown is not available on at least some Linux\n return typeof fs[key] === 'function'\n})\n\n// Export all keys:\nObject.keys(fs).forEach(key => {\n if (key === 'promises') {\n // fs.promises is a getter property that triggers ExperimentalWarning\n // Don't re-export it here, the getter is defined in \"lib/index.js\"\n return\n }\n exports[key] = fs[key]\n})\n\n// Universalify async methods:\napi.forEach(method => {\n exports[method] = u(fs[method])\n})\n\n// We differ from mz/fs in that we still ship the old, broken, fs.exists()\n// since we are a drop-in replacement for the native module\nexports.exists = function (filename, callback) {\n if (typeof callback === 'function') {\n return fs.exists(filename, callback)\n }\n return new Promise(resolve => {\n return fs.exists(filename, resolve)\n })\n}\n\n// fs.read(), fs.write(), & fs.writev() need special treatment due to multiple callback args\n\nexports.read = function (fd, buffer, offset, length, position, callback) {\n if (typeof callback === 'function') {\n return fs.read(fd, buffer, offset, length, position, callback)\n }\n return new Promise((resolve, reject) => {\n fs.read(fd, buffer, offset, length, position, (err, bytesRead, buffer) => {\n if (err) return reject(err)\n resolve({ bytesRead, buffer })\n })\n })\n}\n\n// Function signature can be\n// fs.write(fd, buffer[, offset[, length[, position]]], callback)\n// OR\n// fs.write(fd, string[, position[, encoding]], callback)\n// We need to handle both cases, so we use ...args\nexports.write = function (fd, buffer, ...args) {\n if (typeof args[args.length - 1] === 'function') {\n return fs.write(fd, buffer, ...args)\n }\n\n return new Promise((resolve, reject) => {\n fs.write(fd, buffer, ...args, (err, bytesWritten, buffer) => {\n if (err) return reject(err)\n resolve({ bytesWritten, buffer })\n })\n })\n}\n\n// fs.writev only available in Node v12.9.0+\nif (typeof fs.writev === 'function') {\n // Function signature is\n // s.writev(fd, buffers[, position], callback)\n // We need to handle the optional arg, so we use ...args\n exports.writev = function (fd, buffers, ...args) {\n if (typeof args[args.length - 1] === 'function') {\n return fs.writev(fd, buffers, ...args)\n }\n\n return new Promise((resolve, reject) => {\n fs.writev(fd, buffers, ...args, (err, bytesWritten, buffers) => {\n if (err) return reject(err)\n resolve({ bytesWritten, buffers })\n })\n })\n }\n}\n\n// fs.realpath.native only available in Node v9.2+\nif (typeof fs.realpath.native === 'function') {\n exports.realpath.native = u(fs.realpath.native)\n}\n","'use strict'\n\nmodule.exports = {\n // Export promiseified graceful-fs:\n ...require('./fs'),\n // Export extra methods:\n ...require('./copy-sync'),\n ...require('./copy'),\n ...require('./empty'),\n ...require('./ensure'),\n ...require('./json'),\n ...require('./mkdirs'),\n ...require('./move-sync'),\n ...require('./move'),\n ...require('./output'),\n ...require('./path-exists'),\n ...require('./remove')\n}\n\n// Export fs.promises as a getter property so that we don't trigger\n// ExperimentalWarning before fs.promises is actually accessed.\nconst fs = require('fs')\nif (Object.getOwnPropertyDescriptor(fs, 'promises')) {\n Object.defineProperty(module.exports, 'promises', {\n get () { return fs.promises }\n })\n}\n","'use strict'\n\nconst u = require('universalify').fromPromise\nconst jsonFile = require('./jsonfile')\n\njsonFile.outputJson = u(require('./output-json'))\njsonFile.outputJsonSync = require('./output-json-sync')\n// aliases\njsonFile.outputJSON = jsonFile.outputJson\njsonFile.outputJSONSync = jsonFile.outputJsonSync\njsonFile.writeJSON = jsonFile.writeJson\njsonFile.writeJSONSync = jsonFile.writeJsonSync\njsonFile.readJSON = jsonFile.readJson\njsonFile.readJSONSync = jsonFile.readJsonSync\n\nmodule.exports = jsonFile\n","'use strict'\n\nconst jsonFile = require('jsonfile')\n\nmodule.exports = {\n // jsonfile exports\n readJson: jsonFile.readFile,\n readJsonSync: jsonFile.readFileSync,\n writeJson: jsonFile.writeFile,\n writeJsonSync: jsonFile.writeFileSync\n}\n","'use strict'\n\nconst { stringify } = require('jsonfile/utils')\nconst { outputFileSync } = require('../output')\n\nfunction outputJsonSync (file, data, options) {\n const str = stringify(data, options)\n\n outputFileSync(file, str, options)\n}\n\nmodule.exports = outputJsonSync\n","'use strict'\n\nconst { stringify } = require('jsonfile/utils')\nconst { outputFile } = require('../output')\n\nasync function outputJson (file, data, options = {}) {\n const str = stringify(data, options)\n\n await outputFile(file, str, options)\n}\n\nmodule.exports = outputJson\n","'use strict'\nconst u = require('universalify').fromPromise\nconst { makeDir: _makeDir, makeDirSync } = require('./make-dir')\nconst makeDir = u(_makeDir)\n\nmodule.exports = {\n mkdirs: makeDir,\n mkdirsSync: makeDirSync,\n // alias\n mkdirp: makeDir,\n mkdirpSync: makeDirSync,\n ensureDir: makeDir,\n ensureDirSync: makeDirSync\n}\n","// Adapted from https://github.com/sindresorhus/make-dir\n// Copyright (c) Sindre Sorhus (sindresorhus.com)\n// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n'use strict'\nconst fs = require('../fs')\nconst path = require('path')\nconst atLeastNode = require('at-least-node')\n\nconst useNativeRecursiveOption = atLeastNode('10.12.0')\n\n// https://github.com/nodejs/node/issues/8987\n// https://github.com/libuv/libuv/pull/1088\nconst checkPath = pth => {\n if (process.platform === 'win32') {\n const pathHasInvalidWinCharacters = /[<>:\"|?*]/.test(pth.replace(path.parse(pth).root, ''))\n\n if (pathHasInvalidWinCharacters) {\n const error = new Error(`Path contains invalid characters: ${pth}`)\n error.code = 'EINVAL'\n throw error\n }\n }\n}\n\nconst processOptions = options => {\n const defaults = { mode: 0o777 }\n if (typeof options === 'number') options = { mode: options }\n return { ...defaults, ...options }\n}\n\nconst permissionError = pth => {\n // This replicates the exception of `fs.mkdir` with native the\n // `recusive` option when run on an invalid drive under Windows.\n const error = new Error(`operation not permitted, mkdir '${pth}'`)\n error.code = 'EPERM'\n error.errno = -4048\n error.path = pth\n error.syscall = 'mkdir'\n return error\n}\n\nmodule.exports.makeDir = async (input, options) => {\n checkPath(input)\n options = processOptions(options)\n\n if (useNativeRecursiveOption) {\n const pth = path.resolve(input)\n\n return fs.mkdir(pth, {\n mode: options.mode,\n recursive: true\n })\n }\n\n const make = async pth => {\n try {\n await fs.mkdir(pth, options.mode)\n } catch (error) {\n if (error.code === 'EPERM') {\n throw error\n }\n\n if (error.code === 'ENOENT') {\n if (path.dirname(pth) === pth) {\n throw permissionError(pth)\n }\n\n if (error.message.includes('null bytes')) {\n throw error\n }\n\n await make(path.dirname(pth))\n return make(pth)\n }\n\n try {\n const stats = await fs.stat(pth)\n if (!stats.isDirectory()) {\n // This error is never exposed to the user\n // it is caught below, and the original error is thrown\n throw new Error('The path is not a directory')\n }\n } catch {\n throw error\n }\n }\n }\n\n return make(path.resolve(input))\n}\n\nmodule.exports.makeDirSync = (input, options) => {\n checkPath(input)\n options = processOptions(options)\n\n if (useNativeRecursiveOption) {\n const pth = path.resolve(input)\n\n return fs.mkdirSync(pth, {\n mode: options.mode,\n recursive: true\n })\n }\n\n const make = pth => {\n try {\n fs.mkdirSync(pth, options.mode)\n } catch (error) {\n if (error.code === 'EPERM') {\n throw error\n }\n\n if (error.code === 'ENOENT') {\n if (path.dirname(pth) === pth) {\n throw permissionError(pth)\n }\n\n if (error.message.includes('null bytes')) {\n throw error\n }\n\n make(path.dirname(pth))\n return make(pth)\n }\n\n try {\n if (!fs.statSync(pth).isDirectory()) {\n // This error is never exposed to the user\n // it is caught below, and the original error is thrown\n throw new Error('The path is not a directory')\n }\n } catch {\n throw error\n }\n }\n }\n\n return make(path.resolve(input))\n}\n","'use strict'\n\nmodule.exports = {\n moveSync: require('./move-sync')\n}\n","'use strict'\n\nconst fs = require('graceful-fs')\nconst path = require('path')\nconst copySync = require('../copy-sync').copySync\nconst removeSync = require('../remove').removeSync\nconst mkdirpSync = require('../mkdirs').mkdirpSync\nconst stat = require('../util/stat')\n\nfunction moveSync (src, dest, opts) {\n opts = opts || {}\n const overwrite = opts.overwrite || opts.clobber || false\n\n const { srcStat } = stat.checkPathsSync(src, dest, 'move')\n stat.checkParentPathsSync(src, srcStat, dest, 'move')\n mkdirpSync(path.dirname(dest))\n return doRename(src, dest, overwrite)\n}\n\nfunction doRename (src, dest, overwrite) {\n if (overwrite) {\n removeSync(dest)\n return rename(src, dest, overwrite)\n }\n if (fs.existsSync(dest)) throw new Error('dest already exists.')\n return rename(src, dest, overwrite)\n}\n\nfunction rename (src, dest, overwrite) {\n try {\n fs.renameSync(src, dest)\n } catch (err) {\n if (err.code !== 'EXDEV') throw err\n return moveAcrossDevice(src, dest, overwrite)\n }\n}\n\nfunction moveAcrossDevice (src, dest, overwrite) {\n const opts = {\n overwrite,\n errorOnExist: true\n }\n copySync(src, dest, opts)\n return removeSync(src)\n}\n\nmodule.exports = moveSync\n","'use strict'\n\nconst u = require('universalify').fromCallback\nmodule.exports = {\n move: u(require('./move'))\n}\n","'use strict'\n\nconst fs = require('graceful-fs')\nconst path = require('path')\nconst copy = require('../copy').copy\nconst remove = require('../remove').remove\nconst mkdirp = require('../mkdirs').mkdirp\nconst pathExists = require('../path-exists').pathExists\nconst stat = require('../util/stat')\n\nfunction move (src, dest, opts, cb) {\n if (typeof opts === 'function') {\n cb = opts\n opts = {}\n }\n\n const overwrite = opts.overwrite || opts.clobber || false\n\n stat.checkPaths(src, dest, 'move', (err, stats) => {\n if (err) return cb(err)\n const { srcStat } = stats\n stat.checkParentPaths(src, srcStat, dest, 'move', err => {\n if (err) return cb(err)\n mkdirp(path.dirname(dest), err => {\n if (err) return cb(err)\n return doRename(src, dest, overwrite, cb)\n })\n })\n })\n}\n\nfunction doRename (src, dest, overwrite, cb) {\n if (overwrite) {\n return remove(dest, err => {\n if (err) return cb(err)\n return rename(src, dest, overwrite, cb)\n })\n }\n pathExists(dest, (err, destExists) => {\n if (err) return cb(err)\n if (destExists) return cb(new Error('dest already exists.'))\n return rename(src, dest, overwrite, cb)\n })\n}\n\nfunction rename (src, dest, overwrite, cb) {\n fs.rename(src, dest, err => {\n if (!err) return cb()\n if (err.code !== 'EXDEV') return cb(err)\n return moveAcrossDevice(src, dest, overwrite, cb)\n })\n}\n\nfunction moveAcrossDevice (src, dest, overwrite, cb) {\n const opts = {\n overwrite,\n errorOnExist: true\n }\n copy(src, dest, opts, err => {\n if (err) return cb(err)\n return remove(src, cb)\n })\n}\n\nmodule.exports = move\n","'use strict'\n\nconst u = require('universalify').fromCallback\nconst fs = require('graceful-fs')\nconst path = require('path')\nconst mkdir = require('../mkdirs')\nconst pathExists = require('../path-exists').pathExists\n\nfunction outputFile (file, data, encoding, callback) {\n if (typeof encoding === 'function') {\n callback = encoding\n encoding = 'utf8'\n }\n\n const dir = path.dirname(file)\n pathExists(dir, (err, itDoes) => {\n if (err) return callback(err)\n if (itDoes) return fs.writeFile(file, data, encoding, callback)\n\n mkdir.mkdirs(dir, err => {\n if (err) return callback(err)\n\n fs.writeFile(file, data, encoding, callback)\n })\n })\n}\n\nfunction outputFileSync (file, ...args) {\n const dir = path.dirname(file)\n if (fs.existsSync(dir)) {\n return fs.writeFileSync(file, ...args)\n }\n mkdir.mkdirsSync(dir)\n fs.writeFileSync(file, ...args)\n}\n\nmodule.exports = {\n outputFile: u(outputFile),\n outputFileSync\n}\n","'use strict'\nconst u = require('universalify').fromPromise\nconst fs = require('../fs')\n\nfunction pathExists (path) {\n return fs.access(path).then(() => true).catch(() => false)\n}\n\nmodule.exports = {\n pathExists: u(pathExists),\n pathExistsSync: fs.existsSync\n}\n","'use strict'\n\nconst u = require('universalify').fromCallback\nconst rimraf = require('./rimraf')\n\nmodule.exports = {\n remove: u(rimraf),\n removeSync: rimraf.sync\n}\n","'use strict'\n\nconst fs = require('graceful-fs')\nconst path = require('path')\nconst assert = require('assert')\n\nconst isWindows = (process.platform === 'win32')\n\nfunction defaults (options) {\n const methods = [\n 'unlink',\n 'chmod',\n 'stat',\n 'lstat',\n 'rmdir',\n 'readdir'\n ]\n methods.forEach(m => {\n options[m] = options[m] || fs[m]\n m = m + 'Sync'\n options[m] = options[m] || fs[m]\n })\n\n options.maxBusyTries = options.maxBusyTries || 3\n}\n\nfunction rimraf (p, options, cb) {\n let busyTries = 0\n\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n assert(p, 'rimraf: missing path')\n assert.strictEqual(typeof p, 'string', 'rimraf: path should be a string')\n assert.strictEqual(typeof cb, 'function', 'rimraf: callback function required')\n assert(options, 'rimraf: invalid options argument provided')\n assert.strictEqual(typeof options, 'object', 'rimraf: options should be object')\n\n defaults(options)\n\n rimraf_(p, options, function CB (er) {\n if (er) {\n if ((er.code === 'EBUSY' || er.code === 'ENOTEMPTY' || er.code === 'EPERM') &&\n busyTries < options.maxBusyTries) {\n busyTries++\n const time = busyTries * 100\n // try again, with the same exact callback as this one.\n return setTimeout(() => rimraf_(p, options, CB), time)\n }\n\n // already gone\n if (er.code === 'ENOENT') er = null\n }\n\n cb(er)\n })\n}\n\n// Two possible strategies.\n// 1. Assume it's a file. unlink it, then do the dir stuff on EPERM or EISDIR\n// 2. Assume it's a directory. readdir, then do the file stuff on ENOTDIR\n//\n// Both result in an extra syscall when you guess wrong. However, there\n// are likely far more normal files in the world than directories. This\n// is based on the assumption that a the average number of files per\n// directory is >= 1.\n//\n// If anyone ever complains about this, then I guess the strategy could\n// be made configurable somehow. But until then, YAGNI.\nfunction rimraf_ (p, options, cb) {\n assert(p)\n assert(options)\n assert(typeof cb === 'function')\n\n // sunos lets the root user unlink directories, which is... weird.\n // so we have to lstat here and make sure it's not a dir.\n options.lstat(p, (er, st) => {\n if (er && er.code === 'ENOENT') {\n return cb(null)\n }\n\n // Windows can EPERM on stat. Life is suffering.\n if (er && er.code === 'EPERM' && isWindows) {\n return fixWinEPERM(p, options, er, cb)\n }\n\n if (st && st.isDirectory()) {\n return rmdir(p, options, er, cb)\n }\n\n options.unlink(p, er => {\n if (er) {\n if (er.code === 'ENOENT') {\n return cb(null)\n }\n if (er.code === 'EPERM') {\n return (isWindows)\n ? fixWinEPERM(p, options, er, cb)\n : rmdir(p, options, er, cb)\n }\n if (er.code === 'EISDIR') {\n return rmdir(p, options, er, cb)\n }\n }\n return cb(er)\n })\n })\n}\n\nfunction fixWinEPERM (p, options, er, cb) {\n assert(p)\n assert(options)\n assert(typeof cb === 'function')\n\n options.chmod(p, 0o666, er2 => {\n if (er2) {\n cb(er2.code === 'ENOENT' ? null : er)\n } else {\n options.stat(p, (er3, stats) => {\n if (er3) {\n cb(er3.code === 'ENOENT' ? null : er)\n } else if (stats.isDirectory()) {\n rmdir(p, options, er, cb)\n } else {\n options.unlink(p, cb)\n }\n })\n }\n })\n}\n\nfunction fixWinEPERMSync (p, options, er) {\n let stats\n\n assert(p)\n assert(options)\n\n try {\n options.chmodSync(p, 0o666)\n } catch (er2) {\n if (er2.code === 'ENOENT') {\n return\n } else {\n throw er\n }\n }\n\n try {\n stats = options.statSync(p)\n } catch (er3) {\n if (er3.code === 'ENOENT') {\n return\n } else {\n throw er\n }\n }\n\n if (stats.isDirectory()) {\n rmdirSync(p, options, er)\n } else {\n options.unlinkSync(p)\n }\n}\n\nfunction rmdir (p, options, originalEr, cb) {\n assert(p)\n assert(options)\n assert(typeof cb === 'function')\n\n // try to rmdir first, and only readdir on ENOTEMPTY or EEXIST (SunOS)\n // if we guessed wrong, and it's not a directory, then\n // raise the original error.\n options.rmdir(p, er => {\n if (er && (er.code === 'ENOTEMPTY' || er.code === 'EEXIST' || er.code === 'EPERM')) {\n rmkids(p, options, cb)\n } else if (er && er.code === 'ENOTDIR') {\n cb(originalEr)\n } else {\n cb(er)\n }\n })\n}\n\nfunction rmkids (p, options, cb) {\n assert(p)\n assert(options)\n assert(typeof cb === 'function')\n\n options.readdir(p, (er, files) => {\n if (er) return cb(er)\n\n let n = files.length\n let errState\n\n if (n === 0) return options.rmdir(p, cb)\n\n files.forEach(f => {\n rimraf(path.join(p, f), options, er => {\n if (errState) {\n return\n }\n if (er) return cb(errState = er)\n if (--n === 0) {\n options.rmdir(p, cb)\n }\n })\n })\n })\n}\n\n// this looks simpler, and is strictly *faster*, but will\n// tie up the JavaScript thread and fail on excessively\n// deep directory trees.\nfunction rimrafSync (p, options) {\n let st\n\n options = options || {}\n defaults(options)\n\n assert(p, 'rimraf: missing path')\n assert.strictEqual(typeof p, 'string', 'rimraf: path should be a string')\n assert(options, 'rimraf: missing options')\n assert.strictEqual(typeof options, 'object', 'rimraf: options should be object')\n\n try {\n st = options.lstatSync(p)\n } catch (er) {\n if (er.code === 'ENOENT') {\n return\n }\n\n // Windows can EPERM on stat. Life is suffering.\n if (er.code === 'EPERM' && isWindows) {\n fixWinEPERMSync(p, options, er)\n }\n }\n\n try {\n // sunos lets the root user unlink directories, which is... weird.\n if (st && st.isDirectory()) {\n rmdirSync(p, options, null)\n } else {\n options.unlinkSync(p)\n }\n } catch (er) {\n if (er.code === 'ENOENT') {\n return\n } else if (er.code === 'EPERM') {\n return isWindows ? fixWinEPERMSync(p, options, er) : rmdirSync(p, options, er)\n } else if (er.code !== 'EISDIR') {\n throw er\n }\n rmdirSync(p, options, er)\n }\n}\n\nfunction rmdirSync (p, options, originalEr) {\n assert(p)\n assert(options)\n\n try {\n options.rmdirSync(p)\n } catch (er) {\n if (er.code === 'ENOTDIR') {\n throw originalEr\n } else if (er.code === 'ENOTEMPTY' || er.code === 'EEXIST' || er.code === 'EPERM') {\n rmkidsSync(p, options)\n } else if (er.code !== 'ENOENT') {\n throw er\n }\n }\n}\n\nfunction rmkidsSync (p, options) {\n assert(p)\n assert(options)\n options.readdirSync(p).forEach(f => rimrafSync(path.join(p, f), options))\n\n if (isWindows) {\n // We only end up here once we got ENOTEMPTY at least once, and\n // at this point, we are guaranteed to have removed all the kids.\n // So, we know that it won't be ENOENT or ENOTDIR or anything else.\n // try really hard to delete stuff on windows, because it has a\n // PROFOUNDLY annoying habit of not closing handles promptly when\n // files are deleted, resulting in spurious ENOTEMPTY errors.\n const startTime = Date.now()\n do {\n try {\n const ret = options.rmdirSync(p, options)\n return ret\n } catch {}\n } while (Date.now() - startTime < 500) // give up after 500ms\n } else {\n const ret = options.rmdirSync(p, options)\n return ret\n }\n}\n\nmodule.exports = rimraf\nrimraf.sync = rimrafSync\n","'use strict'\n\nconst fs = require('../fs')\nconst path = require('path')\nconst util = require('util')\nconst atLeastNode = require('at-least-node')\n\nconst nodeSupportsBigInt = atLeastNode('10.5.0')\nconst stat = (file) => nodeSupportsBigInt ? fs.stat(file, { bigint: true }) : fs.stat(file)\nconst statSync = (file) => nodeSupportsBigInt ? fs.statSync(file, { bigint: true }) : fs.statSync(file)\n\nfunction getStats (src, dest) {\n return Promise.all([\n stat(src),\n stat(dest).catch(err => {\n if (err.code === 'ENOENT') return null\n throw err\n })\n ]).then(([srcStat, destStat]) => ({ srcStat, destStat }))\n}\n\nfunction getStatsSync (src, dest) {\n let destStat\n const srcStat = statSync(src)\n try {\n destStat = statSync(dest)\n } catch (err) {\n if (err.code === 'ENOENT') return { srcStat, destStat: null }\n throw err\n }\n return { srcStat, destStat }\n}\n\nfunction checkPaths (src, dest, funcName, cb) {\n util.callbackify(getStats)(src, dest, (err, stats) => {\n if (err) return cb(err)\n const { srcStat, destStat } = stats\n if (destStat && areIdentical(srcStat, destStat)) {\n return cb(new Error('Source and destination must not be the same.'))\n }\n if (srcStat.isDirectory() && isSrcSubdir(src, dest)) {\n return cb(new Error(errMsg(src, dest, funcName)))\n }\n return cb(null, { srcStat, destStat })\n })\n}\n\nfunction checkPathsSync (src, dest, funcName) {\n const { srcStat, destStat } = getStatsSync(src, dest)\n if (destStat && areIdentical(srcStat, destStat)) {\n throw new Error('Source and destination must not be the same.')\n }\n if (srcStat.isDirectory() && isSrcSubdir(src, dest)) {\n throw new Error(errMsg(src, dest, funcName))\n }\n return { srcStat, destStat }\n}\n\n// recursively check if dest parent is a subdirectory of src.\n// It works for all file types including symlinks since it\n// checks the src and dest inodes. It starts from the deepest\n// parent and stops once it reaches the src parent or the root path.\nfunction checkParentPaths (src, srcStat, dest, funcName, cb) {\n const srcParent = path.resolve(path.dirname(src))\n const destParent = path.resolve(path.dirname(dest))\n if (destParent === srcParent || destParent === path.parse(destParent).root) return cb()\n const callback = (err, destStat) => {\n if (err) {\n if (err.code === 'ENOENT') return cb()\n return cb(err)\n }\n if (areIdentical(srcStat, destStat)) {\n return cb(new Error(errMsg(src, dest, funcName)))\n }\n return checkParentPaths(src, srcStat, destParent, funcName, cb)\n }\n if (nodeSupportsBigInt) fs.stat(destParent, { bigint: true }, callback)\n else fs.stat(destParent, callback)\n}\n\nfunction checkParentPathsSync (src, srcStat, dest, funcName) {\n const srcParent = path.resolve(path.dirname(src))\n const destParent = path.resolve(path.dirname(dest))\n if (destParent === srcParent || destParent === path.parse(destParent).root) return\n let destStat\n try {\n destStat = statSync(destParent)\n } catch (err) {\n if (err.code === 'ENOENT') return\n throw err\n }\n if (areIdentical(srcStat, destStat)) {\n throw new Error(errMsg(src, dest, funcName))\n }\n return checkParentPathsSync(src, srcStat, destParent, funcName)\n}\n\nfunction areIdentical (srcStat, destStat) {\n if (destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev) {\n if (nodeSupportsBigInt || destStat.ino < Number.MAX_SAFE_INTEGER) {\n // definitive answer\n return true\n }\n // Use additional heuristics if we can't use 'bigint'.\n // Different 'ino' could be represented the same if they are >= Number.MAX_SAFE_INTEGER\n // See issue 657\n if (destStat.size === srcStat.size &&\n destStat.mode === srcStat.mode &&\n destStat.nlink === srcStat.nlink &&\n destStat.atimeMs === srcStat.atimeMs &&\n destStat.mtimeMs === srcStat.mtimeMs &&\n destStat.ctimeMs === srcStat.ctimeMs &&\n destStat.birthtimeMs === srcStat.birthtimeMs) {\n // heuristic answer\n return true\n }\n }\n return false\n}\n\n// return true if dest is a subdir of src, otherwise false.\n// It only checks the path strings.\nfunction isSrcSubdir (src, dest) {\n const srcArr = path.resolve(src).split(path.sep).filter(i => i)\n const destArr = path.resolve(dest).split(path.sep).filter(i => i)\n return srcArr.reduce((acc, cur, i) => acc && destArr[i] === cur, true)\n}\n\nfunction errMsg (src, dest, funcName) {\n return `Cannot ${funcName} '${src}' to a subdirectory of itself, '${dest}'.`\n}\n\nmodule.exports = {\n checkPaths,\n checkPathsSync,\n checkParentPaths,\n checkParentPathsSync,\n isSrcSubdir\n}\n","'use strict'\n\nconst fs = require('graceful-fs')\n\nfunction utimesMillis (path, atime, mtime, callback) {\n // if (!HAS_MILLIS_RES) return fs.utimes(path, atime, mtime, callback)\n fs.open(path, 'r+', (err, fd) => {\n if (err) return callback(err)\n fs.futimes(fd, atime, mtime, futimesErr => {\n fs.close(fd, closeErr => {\n if (callback) callback(futimesErr || closeErr)\n })\n })\n })\n}\n\nfunction utimesMillisSync (path, atime, mtime) {\n const fd = fs.openSync(path, 'r+')\n fs.futimesSync(fd, atime, mtime)\n return fs.closeSync(fd)\n}\n\nmodule.exports = {\n utimesMillis,\n utimesMillisSync\n}\n","'use strict'\n\nmodule.exports = clone\n\nfunction clone (obj) {\n if (obj === null || typeof obj !== 'object')\n return obj\n\n if (obj instanceof Object)\n var copy = { __proto__: obj.__proto__ }\n else\n var copy = Object.create(null)\n\n Object.getOwnPropertyNames(obj).forEach(function (key) {\n Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key))\n })\n\n return copy\n}\n","var fs = require('fs')\nvar polyfills = require('./polyfills.js')\nvar legacy = require('./legacy-streams.js')\nvar clone = require('./clone.js')\n\nvar util = require('util')\n\n/* istanbul ignore next - node 0.x polyfill */\nvar gracefulQueue\nvar previousSymbol\n\n/* istanbul ignore else - node 0.x polyfill */\nif (typeof Symbol === 'function' && typeof Symbol.for === 'function') {\n gracefulQueue = Symbol.for('graceful-fs.queue')\n // This is used in testing by future versions\n previousSymbol = Symbol.for('graceful-fs.previous')\n} else {\n gracefulQueue = '___graceful-fs.queue'\n previousSymbol = '___graceful-fs.previous'\n}\n\nfunction noop () {}\n\nfunction publishQueue(context, queue) {\n Object.defineProperty(context, gracefulQueue, {\n get: function() {\n return queue\n }\n })\n}\n\nvar debug = noop\nif (util.debuglog)\n debug = util.debuglog('gfs4')\nelse if (/\\bgfs4\\b/i.test(process.env.NODE_DEBUG || ''))\n debug = function() {\n var m = util.format.apply(util, arguments)\n m = 'GFS4: ' + m.split(/\\n/).join('\\nGFS4: ')\n console.error(m)\n }\n\n// Once time initialization\nif (!fs[gracefulQueue]) {\n // This queue can be shared by multiple loaded instances\n var queue = global[gracefulQueue] || []\n publishQueue(fs, queue)\n\n // Patch fs.close/closeSync to shared queue version, because we need\n // to retry() whenever a close happens *anywhere* in the program.\n // This is essential when multiple graceful-fs instances are\n // in play at the same time.\n fs.close = (function (fs$close) {\n function close (fd, cb) {\n return fs$close.call(fs, fd, function (err) {\n // This function uses the graceful-fs shared queue\n if (!err) {\n retry()\n }\n\n if (typeof cb === 'function')\n cb.apply(this, arguments)\n })\n }\n\n Object.defineProperty(close, previousSymbol, {\n value: fs$close\n })\n return close\n })(fs.close)\n\n fs.closeSync = (function (fs$closeSync) {\n function closeSync (fd) {\n // This function uses the graceful-fs shared queue\n fs$closeSync.apply(fs, arguments)\n retry()\n }\n\n Object.defineProperty(closeSync, previousSymbol, {\n value: fs$closeSync\n })\n return closeSync\n })(fs.closeSync)\n\n if (/\\bgfs4\\b/i.test(process.env.NODE_DEBUG || '')) {\n process.on('exit', function() {\n debug(fs[gracefulQueue])\n require('assert').equal(fs[gracefulQueue].length, 0)\n })\n }\n}\n\nif (!global[gracefulQueue]) {\n publishQueue(global, fs[gracefulQueue]);\n}\n\nmodule.exports = patch(clone(fs))\nif (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs.__patched) {\n module.exports = patch(fs)\n fs.__patched = true;\n}\n\nfunction patch (fs) {\n // Everything that references the open() function needs to be in here\n polyfills(fs)\n fs.gracefulify = patch\n\n fs.createReadStream = createReadStream\n fs.createWriteStream = createWriteStream\n var fs$readFile = fs.readFile\n fs.readFile = readFile\n function readFile (path, options, cb) {\n if (typeof options === 'function')\n cb = options, options = null\n\n return go$readFile(path, options, cb)\n\n function go$readFile (path, options, cb) {\n return fs$readFile(path, options, function (err) {\n if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))\n enqueue([go$readFile, [path, options, cb]])\n else {\n if (typeof cb === 'function')\n cb.apply(this, arguments)\n retry()\n }\n })\n }\n }\n\n var fs$writeFile = fs.writeFile\n fs.writeFile = writeFile\n function writeFile (path, data, options, cb) {\n if (typeof options === 'function')\n cb = options, options = null\n\n return go$writeFile(path, data, options, cb)\n\n function go$writeFile (path, data, options, cb) {\n return fs$writeFile(path, data, options, function (err) {\n if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))\n enqueue([go$writeFile, [path, data, options, cb]])\n else {\n if (typeof cb === 'function')\n cb.apply(this, arguments)\n retry()\n }\n })\n }\n }\n\n var fs$appendFile = fs.appendFile\n if (fs$appendFile)\n fs.appendFile = appendFile\n function appendFile (path, data, options, cb) {\n if (typeof options === 'function')\n cb = options, options = null\n\n return go$appendFile(path, data, options, cb)\n\n function go$appendFile (path, data, options, cb) {\n return fs$appendFile(path, data, options, function (err) {\n if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))\n enqueue([go$appendFile, [path, data, options, cb]])\n else {\n if (typeof cb === 'function')\n cb.apply(this, arguments)\n retry()\n }\n })\n }\n }\n\n var fs$readdir = fs.readdir\n fs.readdir = readdir\n function readdir (path, options, cb) {\n var args = [path]\n if (typeof options !== 'function') {\n args.push(options)\n } else {\n cb = options\n }\n args.push(go$readdir$cb)\n\n return go$readdir(args)\n\n function go$readdir$cb (err, files) {\n if (files && files.sort)\n files.sort()\n\n if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))\n enqueue([go$readdir, [args]])\n\n else {\n if (typeof cb === 'function')\n cb.apply(this, arguments)\n retry()\n }\n }\n }\n\n function go$readdir (args) {\n return fs$readdir.apply(fs, args)\n }\n\n if (process.version.substr(0, 4) === 'v0.8') {\n var legStreams = legacy(fs)\n ReadStream = legStreams.ReadStream\n WriteStream = legStreams.WriteStream\n }\n\n var fs$ReadStream = fs.ReadStream\n if (fs$ReadStream) {\n ReadStream.prototype = Object.create(fs$ReadStream.prototype)\n ReadStream.prototype.open = ReadStream$open\n }\n\n var fs$WriteStream = fs.WriteStream\n if (fs$WriteStream) {\n WriteStream.prototype = Object.create(fs$WriteStream.prototype)\n WriteStream.prototype.open = WriteStream$open\n }\n\n Object.defineProperty(fs, 'ReadStream', {\n get: function () {\n return ReadStream\n },\n set: function (val) {\n ReadStream = val\n },\n enumerable: true,\n configurable: true\n })\n Object.defineProperty(fs, 'WriteStream', {\n get: function () {\n return WriteStream\n },\n set: function (val) {\n WriteStream = val\n },\n enumerable: true,\n configurable: true\n })\n\n // legacy names\n var FileReadStream = ReadStream\n Object.defineProperty(fs, 'FileReadStream', {\n get: function () {\n return FileReadStream\n },\n set: function (val) {\n FileReadStream = val\n },\n enumerable: true,\n configurable: true\n })\n var FileWriteStream = WriteStream\n Object.defineProperty(fs, 'FileWriteStream', {\n get: function () {\n return FileWriteStream\n },\n set: function (val) {\n FileWriteStream = val\n },\n enumerable: true,\n configurable: true\n })\n\n function ReadStream (path, options) {\n if (this instanceof ReadStream)\n return fs$ReadStream.apply(this, arguments), this\n else\n return ReadStream.apply(Object.create(ReadStream.prototype), arguments)\n }\n\n function ReadStream$open () {\n var that = this\n open(that.path, that.flags, that.mode, function (err, fd) {\n if (err) {\n if (that.autoClose)\n that.destroy()\n\n that.emit('error', err)\n } else {\n that.fd = fd\n that.emit('open', fd)\n that.read()\n }\n })\n }\n\n function WriteStream (path, options) {\n if (this instanceof WriteStream)\n return fs$WriteStream.apply(this, arguments), this\n else\n return WriteStream.apply(Object.create(WriteStream.prototype), arguments)\n }\n\n function WriteStream$open () {\n var that = this\n open(that.path, that.flags, that.mode, function (err, fd) {\n if (err) {\n that.destroy()\n that.emit('error', err)\n } else {\n that.fd = fd\n that.emit('open', fd)\n }\n })\n }\n\n function createReadStream (path, options) {\n return new fs.ReadStream(path, options)\n }\n\n function createWriteStream (path, options) {\n return new fs.WriteStream(path, options)\n }\n\n var fs$open = fs.open\n fs.open = open\n function open (path, flags, mode, cb) {\n if (typeof mode === 'function')\n cb = mode, mode = null\n\n return go$open(path, flags, mode, cb)\n\n function go$open (path, flags, mode, cb) {\n return fs$open(path, flags, mode, function (err, fd) {\n if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))\n enqueue([go$open, [path, flags, mode, cb]])\n else {\n if (typeof cb === 'function')\n cb.apply(this, arguments)\n retry()\n }\n })\n }\n }\n\n return fs\n}\n\nfunction enqueue (elem) {\n debug('ENQUEUE', elem[0].name, elem[1])\n fs[gracefulQueue].push(elem)\n}\n\nfunction retry () {\n var elem = fs[gracefulQueue].shift()\n if (elem) {\n debug('RETRY', elem[0].name, elem[1])\n elem[0].apply(null, elem[1])\n }\n}\n","var Stream = require('stream').Stream\n\nmodule.exports = legacy\n\nfunction legacy (fs) {\n return {\n ReadStream: ReadStream,\n WriteStream: WriteStream\n }\n\n function ReadStream (path, options) {\n if (!(this instanceof ReadStream)) return new ReadStream(path, options);\n\n Stream.call(this);\n\n var self = this;\n\n this.path = path;\n this.fd = null;\n this.readable = true;\n this.paused = false;\n\n this.flags = 'r';\n this.mode = 438; /*=0666*/\n this.bufferSize = 64 * 1024;\n\n options = options || {};\n\n // Mixin options into this\n var keys = Object.keys(options);\n for (var index = 0, length = keys.length; index < length; index++) {\n var key = keys[index];\n this[key] = options[key];\n }\n\n if (this.encoding) this.setEncoding(this.encoding);\n\n if (this.start !== undefined) {\n if ('number' !== typeof this.start) {\n throw TypeError('start must be a Number');\n }\n if (this.end === undefined) {\n this.end = Infinity;\n } else if ('number' !== typeof this.end) {\n throw TypeError('end must be a Number');\n }\n\n if (this.start > this.end) {\n throw new Error('start must be <= end');\n }\n\n this.pos = this.start;\n }\n\n if (this.fd !== null) {\n process.nextTick(function() {\n self._read();\n });\n return;\n }\n\n fs.open(this.path, this.flags, this.mode, function (err, fd) {\n if (err) {\n self.emit('error', err);\n self.readable = false;\n return;\n }\n\n self.fd = fd;\n self.emit('open', fd);\n self._read();\n })\n }\n\n function WriteStream (path, options) {\n if (!(this instanceof WriteStream)) return new WriteStream(path, options);\n\n Stream.call(this);\n\n this.path = path;\n this.fd = null;\n this.writable = true;\n\n this.flags = 'w';\n this.encoding = 'binary';\n this.mode = 438; /*=0666*/\n this.bytesWritten = 0;\n\n options = options || {};\n\n // Mixin options into this\n var keys = Object.keys(options);\n for (var index = 0, length = keys.length; index < length; index++) {\n var key = keys[index];\n this[key] = options[key];\n }\n\n if (this.start !== undefined) {\n if ('number' !== typeof this.start) {\n throw TypeError('start must be a Number');\n }\n if (this.start < 0) {\n throw new Error('start must be >= zero');\n }\n\n this.pos = this.start;\n }\n\n this.busy = false;\n this._queue = [];\n\n if (this.fd === null) {\n this._open = fs.open;\n this._queue.push([this._open, this.path, this.flags, this.mode, undefined]);\n this.flush();\n }\n }\n}\n","var constants = require('constants')\n\nvar origCwd = process.cwd\nvar cwd = null\n\nvar platform = process.env.GRACEFUL_FS_PLATFORM || process.platform\n\nprocess.cwd = function() {\n if (!cwd)\n cwd = origCwd.call(process)\n return cwd\n}\ntry {\n process.cwd()\n} catch (er) {}\n\nvar chdir = process.chdir\nprocess.chdir = function(d) {\n cwd = null\n chdir.call(process, d)\n}\n\nmodule.exports = patch\n\nfunction patch (fs) {\n // (re-)implement some things that are known busted or missing.\n\n // lchmod, broken prior to 0.6.2\n // back-port the fix here.\n if (constants.hasOwnProperty('O_SYMLINK') &&\n process.version.match(/^v0\\.6\\.[0-2]|^v0\\.5\\./)) {\n patchLchmod(fs)\n }\n\n // lutimes implementation, or no-op\n if (!fs.lutimes) {\n patchLutimes(fs)\n }\n\n // https://github.com/isaacs/node-graceful-fs/issues/4\n // Chown should not fail on einval or eperm if non-root.\n // It should not fail on enosys ever, as this just indicates\n // that a fs doesn't support the intended operation.\n\n fs.chown = chownFix(fs.chown)\n fs.fchown = chownFix(fs.fchown)\n fs.lchown = chownFix(fs.lchown)\n\n fs.chmod = chmodFix(fs.chmod)\n fs.fchmod = chmodFix(fs.fchmod)\n fs.lchmod = chmodFix(fs.lchmod)\n\n fs.chownSync = chownFixSync(fs.chownSync)\n fs.fchownSync = chownFixSync(fs.fchownSync)\n fs.lchownSync = chownFixSync(fs.lchownSync)\n\n fs.chmodSync = chmodFixSync(fs.chmodSync)\n fs.fchmodSync = chmodFixSync(fs.fchmodSync)\n fs.lchmodSync = chmodFixSync(fs.lchmodSync)\n\n fs.stat = statFix(fs.stat)\n fs.fstat = statFix(fs.fstat)\n fs.lstat = statFix(fs.lstat)\n\n fs.statSync = statFixSync(fs.statSync)\n fs.fstatSync = statFixSync(fs.fstatSync)\n fs.lstatSync = statFixSync(fs.lstatSync)\n\n // if lchmod/lchown do not exist, then make them no-ops\n if (!fs.lchmod) {\n fs.lchmod = function (path, mode, cb) {\n if (cb) process.nextTick(cb)\n }\n fs.lchmodSync = function () {}\n }\n if (!fs.lchown) {\n fs.lchown = function (path, uid, gid, cb) {\n if (cb) process.nextTick(cb)\n }\n fs.lchownSync = function () {}\n }\n\n // on Windows, A/V software can lock the directory, causing this\n // to fail with an EACCES or EPERM if the directory contains newly\n // created files. Try again on failure, for up to 60 seconds.\n\n // Set the timeout this long because some Windows Anti-Virus, such as Parity\n // bit9, may lock files for up to a minute, causing npm package install\n // failures. Also, take care to yield the scheduler. Windows scheduling gives\n // CPU to a busy looping process, which can cause the program causing the lock\n // contention to be starved of CPU by node, so the contention doesn't resolve.\n if (platform === \"win32\") {\n fs.rename = (function (fs$rename) { return function (from, to, cb) {\n var start = Date.now()\n var backoff = 0;\n fs$rename(from, to, function CB (er) {\n if (er\n && (er.code === \"EACCES\" || er.code === \"EPERM\")\n && Date.now() - start < 60000) {\n setTimeout(function() {\n fs.stat(to, function (stater, st) {\n if (stater && stater.code === \"ENOENT\")\n fs$rename(from, to, CB);\n else\n cb(er)\n })\n }, backoff)\n if (backoff < 100)\n backoff += 10;\n return;\n }\n if (cb) cb(er)\n })\n }})(fs.rename)\n }\n\n // if read() returns EAGAIN, then just try it again.\n fs.read = (function (fs$read) {\n function read (fd, buffer, offset, length, position, callback_) {\n var callback\n if (callback_ && typeof callback_ === 'function') {\n var eagCounter = 0\n callback = function (er, _, __) {\n if (er && er.code === 'EAGAIN' && eagCounter < 10) {\n eagCounter ++\n return fs$read.call(fs, fd, buffer, offset, length, position, callback)\n }\n callback_.apply(this, arguments)\n }\n }\n return fs$read.call(fs, fd, buffer, offset, length, position, callback)\n }\n\n // This ensures `util.promisify` works as it does for native `fs.read`.\n read.__proto__ = fs$read\n return read\n })(fs.read)\n\n fs.readSync = (function (fs$readSync) { return function (fd, buffer, offset, length, position) {\n var eagCounter = 0\n while (true) {\n try {\n return fs$readSync.call(fs, fd, buffer, offset, length, position)\n } catch (er) {\n if (er.code === 'EAGAIN' && eagCounter < 10) {\n eagCounter ++\n continue\n }\n throw er\n }\n }\n }})(fs.readSync)\n\n function patchLchmod (fs) {\n fs.lchmod = function (path, mode, callback) {\n fs.open( path\n , constants.O_WRONLY | constants.O_SYMLINK\n , mode\n , function (err, fd) {\n if (err) {\n if (callback) callback(err)\n return\n }\n // prefer to return the chmod error, if one occurs,\n // but still try to close, and report closing errors if they occur.\n fs.fchmod(fd, mode, function (err) {\n fs.close(fd, function(err2) {\n if (callback) callback(err || err2)\n })\n })\n })\n }\n\n fs.lchmodSync = function (path, mode) {\n var fd = fs.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode)\n\n // prefer to return the chmod error, if one occurs,\n // but still try to close, and report closing errors if they occur.\n var threw = true\n var ret\n try {\n ret = fs.fchmodSync(fd, mode)\n threw = false\n } finally {\n if (threw) {\n try {\n fs.closeSync(fd)\n } catch (er) {}\n } else {\n fs.closeSync(fd)\n }\n }\n return ret\n }\n }\n\n function patchLutimes (fs) {\n if (constants.hasOwnProperty(\"O_SYMLINK\")) {\n fs.lutimes = function (path, at, mt, cb) {\n fs.open(path, constants.O_SYMLINK, function (er, fd) {\n if (er) {\n if (cb) cb(er)\n return\n }\n fs.futimes(fd, at, mt, function (er) {\n fs.close(fd, function (er2) {\n if (cb) cb(er || er2)\n })\n })\n })\n }\n\n fs.lutimesSync = function (path, at, mt) {\n var fd = fs.openSync(path, constants.O_SYMLINK)\n var ret\n var threw = true\n try {\n ret = fs.futimesSync(fd, at, mt)\n threw = false\n } finally {\n if (threw) {\n try {\n fs.closeSync(fd)\n } catch (er) {}\n } else {\n fs.closeSync(fd)\n }\n }\n return ret\n }\n\n } else {\n fs.lutimes = function (_a, _b, _c, cb) { if (cb) process.nextTick(cb) }\n fs.lutimesSync = function () {}\n }\n }\n\n function chmodFix (orig) {\n if (!orig) return orig\n return function (target, mode, cb) {\n return orig.call(fs, target, mode, function (er) {\n if (chownErOk(er)) er = null\n if (cb) cb.apply(this, arguments)\n })\n }\n }\n\n function chmodFixSync (orig) {\n if (!orig) return orig\n return function (target, mode) {\n try {\n return orig.call(fs, target, mode)\n } catch (er) {\n if (!chownErOk(er)) throw er\n }\n }\n }\n\n\n function chownFix (orig) {\n if (!orig) return orig\n return function (target, uid, gid, cb) {\n return orig.call(fs, target, uid, gid, function (er) {\n if (chownErOk(er)) er = null\n if (cb) cb.apply(this, arguments)\n })\n }\n }\n\n function chownFixSync (orig) {\n if (!orig) return orig\n return function (target, uid, gid) {\n try {\n return orig.call(fs, target, uid, gid)\n } catch (er) {\n if (!chownErOk(er)) throw er\n }\n }\n }\n\n function statFix (orig) {\n if (!orig) return orig\n // Older versions of Node erroneously returned signed integers for\n // uid + gid.\n return function (target, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = null\n }\n function callback (er, stats) {\n if (stats) {\n if (stats.uid < 0) stats.uid += 0x100000000\n if (stats.gid < 0) stats.gid += 0x100000000\n }\n if (cb) cb.apply(this, arguments)\n }\n return options ? orig.call(fs, target, options, callback)\n : orig.call(fs, target, callback)\n }\n }\n\n function statFixSync (orig) {\n if (!orig) return orig\n // Older versions of Node erroneously returned signed integers for\n // uid + gid.\n return function (target, options) {\n var stats = options ? orig.call(fs, target, options)\n : orig.call(fs, target)\n if (stats.uid < 0) stats.uid += 0x100000000\n if (stats.gid < 0) stats.gid += 0x100000000\n return stats;\n }\n }\n\n // ENOSYS means that the fs doesn't support the op. Just ignore\n // that, because it doesn't matter.\n //\n // if there's no getuid, or if getuid() is something other\n // than 0, and the error is EINVAL or EPERM, then just ignore\n // it.\n //\n // This specific case is a silent failure in cp, install, tar,\n // and most other unix tools that manage permissions.\n //\n // When running as root, or if other types of errors are\n // encountered, then it's strict.\n function chownErOk (er) {\n if (!er)\n return true\n\n if (er.code === \"ENOSYS\")\n return true\n\n var nonroot = !process.getuid || process.getuid() !== 0\n if (nonroot) {\n if (er.code === \"EINVAL\" || er.code === \"EPERM\")\n return true\n }\n\n return false\n }\n}\n","let _fs\ntry {\n _fs = require('graceful-fs')\n} catch (_) {\n _fs = require('fs')\n}\nconst universalify = require('universalify')\nconst { stringify, stripBom } = require('./utils')\n\nasync function _readFile (file, options = {}) {\n if (typeof options === 'string') {\n options = { encoding: options }\n }\n\n const fs = options.fs || _fs\n\n const shouldThrow = 'throws' in options ? options.throws : true\n\n let data = await universalify.fromCallback(fs.readFile)(file, options)\n\n data = stripBom(data)\n\n let obj\n try {\n obj = JSON.parse(data, options ? options.reviver : null)\n } catch (err) {\n if (shouldThrow) {\n err.message = `${file}: ${err.message}`\n throw err\n } else {\n return null\n }\n }\n\n return obj\n}\n\nconst readFile = universalify.fromPromise(_readFile)\n\nfunction readFileSync (file, options = {}) {\n if (typeof options === 'string') {\n options = { encoding: options }\n }\n\n const fs = options.fs || _fs\n\n const shouldThrow = 'throws' in options ? options.throws : true\n\n try {\n let content = fs.readFileSync(file, options)\n content = stripBom(content)\n return JSON.parse(content, options.reviver)\n } catch (err) {\n if (shouldThrow) {\n err.message = `${file}: ${err.message}`\n throw err\n } else {\n return null\n }\n }\n}\n\nasync function _writeFile (file, obj, options = {}) {\n const fs = options.fs || _fs\n\n const str = stringify(obj, options)\n\n await universalify.fromCallback(fs.writeFile)(file, str, options)\n}\n\nconst writeFile = universalify.fromPromise(_writeFile)\n\nfunction writeFileSync (file, obj, options = {}) {\n const fs = options.fs || _fs\n\n const str = stringify(obj, options)\n // not sure if fs.writeFileSync returns anything, but just in case\n return fs.writeFileSync(file, str, options)\n}\n\nconst jsonfile = {\n readFile,\n readFileSync,\n writeFile,\n writeFileSync\n}\n\nmodule.exports = jsonfile\n","function stringify (obj, { EOL = '\\n', finalEOL = true, replacer = null, spaces } = {}) {\n const EOF = finalEOL ? EOL : ''\n const str = JSON.stringify(obj, replacer, spaces)\n\n return str.replace(/\\n/g, EOL) + EOF\n}\n\nfunction stripBom (content) {\n // we do this because JSON.parse would convert it to a utf8 string if encoding wasn't specified\n if (Buffer.isBuffer(content)) content = content.toString('utf8')\n return content.replace(/^\\uFEFF/, '')\n}\n\nmodule.exports = { stringify, stripBom }\n","'use strict';\n\nconst fs = require('fs');\n\n/**\n * @class\n */\nclass LineByLine {\n constructor(file, options) {\n options = options || {};\n\n if (!options.readChunk) options.readChunk = 1024;\n\n if (!options.newLineCharacter) {\n options.newLineCharacter = 0x0a; //linux line ending\n } else {\n options.newLineCharacter = options.newLineCharacter.charCodeAt(0);\n }\n\n if (typeof file === 'number') {\n this.fd = file;\n } else {\n this.fd = fs.openSync(file, 'r');\n }\n\n this.options = options;\n\n this.newLineCharacter = options.newLineCharacter;\n\n this.reset();\n }\n\n _searchInBuffer(buffer, hexNeedle) {\n let found = -1;\n\n for (let i = 0; i <= buffer.length; i++) {\n let b_byte = buffer[i];\n if (b_byte === hexNeedle) {\n found = i;\n break;\n }\n }\n\n return found;\n }\n\n reset() {\n this.eofReached = false;\n this.linesCache = [];\n this.fdPosition = 0;\n }\n\n close() {\n fs.closeSync(this.fd);\n this.fd = null;\n }\n\n _extractLines(buffer) {\n let line;\n const lines = [];\n let bufferPosition = 0;\n\n let lastNewLineBufferPosition = 0;\n while (true) {\n let bufferPositionValue = buffer[bufferPosition++];\n\n if (bufferPositionValue === this.newLineCharacter) {\n line = buffer.slice(lastNewLineBufferPosition, bufferPosition);\n lines.push(line);\n lastNewLineBufferPosition = bufferPosition;\n } else if (bufferPositionValue === undefined) {\n break;\n }\n }\n\n let leftovers = buffer.slice(lastNewLineBufferPosition, bufferPosition);\n if (leftovers.length) {\n lines.push(leftovers);\n }\n\n return lines;\n };\n\n _readChunk(lineLeftovers) {\n let totalBytesRead = 0;\n\n let bytesRead;\n const buffers = [];\n do {\n const readBuffer = new Buffer(this.options.readChunk);\n\n bytesRead = fs.readSync(this.fd, readBuffer, 0, this.options.readChunk, this.fdPosition);\n totalBytesRead = totalBytesRead + bytesRead;\n\n this.fdPosition = this.fdPosition + bytesRead;\n\n buffers.push(readBuffer);\n } while (bytesRead && this._searchInBuffer(buffers[buffers.length-1], this.options.newLineCharacter) === -1);\n\n let bufferData = Buffer.concat(buffers);\n\n if (bytesRead < this.options.readChunk) {\n this.eofReached = true;\n bufferData = bufferData.slice(0, totalBytesRead);\n }\n\n if (totalBytesRead) {\n this.linesCache = this._extractLines(bufferData);\n\n if (lineLeftovers) {\n this.linesCache[0] = Buffer.concat([lineLeftovers, this.linesCache[0]]);\n }\n }\n\n return totalBytesRead;\n }\n\n next() {\n if (!this.fd) return false;\n\n let line = false;\n\n if (this.eofReached && this.linesCache.length === 0) {\n return line;\n }\n\n let bytesRead;\n\n if (!this.linesCache.length) {\n bytesRead = this._readChunk();\n }\n\n if (this.linesCache.length) {\n line = this.linesCache.shift();\n\n const lastLineCharacter = line[line.length-1];\n\n if (lastLineCharacter !== this.newLineCharacter) {\n bytesRead = this._readChunk(line);\n\n if (bytesRead) {\n line = this.linesCache.shift();\n }\n }\n }\n\n if (this.eofReached && this.linesCache.length === 0) {\n this.close();\n }\n\n if (line && line[line.length-1] === this.newLineCharacter) {\n line = line.slice(0, line.length-1);\n }\n\n return line;\n }\n}\n\nmodule.exports = LineByLine;\n",";(function (sax) { // wrapper for non-node envs\n sax.parser = function (strict, opt) { return new SAXParser(strict, opt) }\n sax.SAXParser = SAXParser\n sax.SAXStream = SAXStream\n sax.createStream = createStream\n\n // When we pass the MAX_BUFFER_LENGTH position, start checking for buffer overruns.\n // When we check, schedule the next check for MAX_BUFFER_LENGTH - (max(buffer lengths)),\n // since that's the earliest that a buffer overrun could occur. This way, checks are\n // as rare as required, but as often as necessary to ensure never crossing this bound.\n // Furthermore, buffers are only tested at most once per write(), so passing a very\n // large string into write() might have undesirable effects, but this is manageable by\n // the caller, so it is assumed to be safe. Thus, a call to write() may, in the extreme\n // edge case, result in creating at most one complete copy of the string passed in.\n // Set to Infinity to have unlimited buffers.\n sax.MAX_BUFFER_LENGTH = 64 * 1024\n\n var buffers = [\n 'comment', 'sgmlDecl', 'textNode', 'tagName', 'doctype',\n 'procInstName', 'procInstBody', 'entity', 'attribName',\n 'attribValue', 'cdata', 'script'\n ]\n\n sax.EVENTS = [\n 'text',\n 'processinginstruction',\n 'sgmldeclaration',\n 'doctype',\n 'comment',\n 'opentagstart',\n 'attribute',\n 'opentag',\n 'closetag',\n 'opencdata',\n 'cdata',\n 'closecdata',\n 'error',\n 'end',\n 'ready',\n 'script',\n 'opennamespace',\n 'closenamespace'\n ]\n\n function SAXParser (strict, opt) {\n if (!(this instanceof SAXParser)) {\n return new SAXParser(strict, opt)\n }\n\n var parser = this\n clearBuffers(parser)\n parser.q = parser.c = ''\n parser.bufferCheckPosition = sax.MAX_BUFFER_LENGTH\n parser.opt = opt || {}\n parser.opt.lowercase = parser.opt.lowercase || parser.opt.lowercasetags\n parser.looseCase = parser.opt.lowercase ? 'toLowerCase' : 'toUpperCase'\n parser.tags = []\n parser.closed = parser.closedRoot = parser.sawRoot = false\n parser.tag = parser.error = null\n parser.strict = !!strict\n parser.noscript = !!(strict || parser.opt.noscript)\n parser.state = S.BEGIN\n parser.strictEntities = parser.opt.strictEntities\n parser.ENTITIES = parser.strictEntities ? Object.create(sax.XML_ENTITIES) : Object.create(sax.ENTITIES)\n parser.attribList = []\n\n // namespaces form a prototype chain.\n // it always points at the current tag,\n // which protos to its parent tag.\n if (parser.opt.xmlns) {\n parser.ns = Object.create(rootNS)\n }\n\n // mostly just for error reporting\n parser.trackPosition = parser.opt.position !== false\n if (parser.trackPosition) {\n parser.position = parser.line = parser.column = 0\n }\n emit(parser, 'onready')\n }\n\n if (!Object.create) {\n Object.create = function (o) {\n function F () {}\n F.prototype = o\n var newf = new F()\n return newf\n }\n }\n\n if (!Object.keys) {\n Object.keys = function (o) {\n var a = []\n for (var i in o) if (o.hasOwnProperty(i)) a.push(i)\n return a\n }\n }\n\n function checkBufferLength (parser) {\n var maxAllowed = Math.max(sax.MAX_BUFFER_LENGTH, 10)\n var maxActual = 0\n for (var i = 0, l = buffers.length; i < l; i++) {\n var len = parser[buffers[i]].length\n if (len > maxAllowed) {\n // Text/cdata nodes can get big, and since they're buffered,\n // we can get here under normal conditions.\n // Avoid issues by emitting the text node now,\n // so at least it won't get any bigger.\n switch (buffers[i]) {\n case 'textNode':\n closeText(parser)\n break\n\n case 'cdata':\n emitNode(parser, 'oncdata', parser.cdata)\n parser.cdata = ''\n break\n\n case 'script':\n emitNode(parser, 'onscript', parser.script)\n parser.script = ''\n break\n\n default:\n error(parser, 'Max buffer length exceeded: ' + buffers[i])\n }\n }\n maxActual = Math.max(maxActual, len)\n }\n // schedule the next check for the earliest possible buffer overrun.\n var m = sax.MAX_BUFFER_LENGTH - maxActual\n parser.bufferCheckPosition = m + parser.position\n }\n\n function clearBuffers (parser) {\n for (var i = 0, l = buffers.length; i < l; i++) {\n parser[buffers[i]] = ''\n }\n }\n\n function flushBuffers (parser) {\n closeText(parser)\n if (parser.cdata !== '') {\n emitNode(parser, 'oncdata', parser.cdata)\n parser.cdata = ''\n }\n if (parser.script !== '') {\n emitNode(parser, 'onscript', parser.script)\n parser.script = ''\n }\n }\n\n SAXParser.prototype = {\n end: function () { end(this) },\n write: write,\n resume: function () { this.error = null; return this },\n close: function () { return this.write(null) },\n flush: function () { flushBuffers(this) }\n }\n\n var Stream\n try {\n Stream = require('stream').Stream\n } catch (ex) {\n Stream = function () {}\n }\n\n var streamWraps = sax.EVENTS.filter(function (ev) {\n return ev !== 'error' && ev !== 'end'\n })\n\n function createStream (strict, opt) {\n return new SAXStream(strict, opt)\n }\n\n function SAXStream (strict, opt) {\n if (!(this instanceof SAXStream)) {\n return new SAXStream(strict, opt)\n }\n\n Stream.apply(this)\n\n this._parser = new SAXParser(strict, opt)\n this.writable = true\n this.readable = true\n\n var me = this\n\n this._parser.onend = function () {\n me.emit('end')\n }\n\n this._parser.onerror = function (er) {\n me.emit('error', er)\n\n // if didn't throw, then means error was handled.\n // go ahead and clear error, so we can write again.\n me._parser.error = null\n }\n\n this._decoder = null\n\n streamWraps.forEach(function (ev) {\n Object.defineProperty(me, 'on' + ev, {\n get: function () {\n return me._parser['on' + ev]\n },\n set: function (h) {\n if (!h) {\n me.removeAllListeners(ev)\n me._parser['on' + ev] = h\n return h\n }\n me.on(ev, h)\n },\n enumerable: true,\n configurable: false\n })\n })\n }\n\n SAXStream.prototype = Object.create(Stream.prototype, {\n constructor: {\n value: SAXStream\n }\n })\n\n SAXStream.prototype.write = function (data) {\n if (typeof Buffer === 'function' &&\n typeof Buffer.isBuffer === 'function' &&\n Buffer.isBuffer(data)) {\n if (!this._decoder) {\n var SD = require('string_decoder').StringDecoder\n this._decoder = new SD('utf8')\n }\n data = this._decoder.write(data)\n }\n\n this._parser.write(data.toString())\n this.emit('data', data)\n return true\n }\n\n SAXStream.prototype.end = function (chunk) {\n if (chunk && chunk.length) {\n this.write(chunk)\n }\n this._parser.end()\n return true\n }\n\n SAXStream.prototype.on = function (ev, handler) {\n var me = this\n if (!me._parser['on' + ev] && streamWraps.indexOf(ev) !== -1) {\n me._parser['on' + ev] = function () {\n var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments)\n args.splice(0, 0, ev)\n me.emit.apply(me, args)\n }\n }\n\n return Stream.prototype.on.call(me, ev, handler)\n }\n\n // this really needs to be replaced with character classes.\n // XML allows all manner of ridiculous numbers and digits.\n var CDATA = '[CDATA['\n var DOCTYPE = 'DOCTYPE'\n var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace'\n var XMLNS_NAMESPACE = 'http://www.w3.org/2000/xmlns/'\n var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE }\n\n // http://www.w3.org/TR/REC-xml/#NT-NameStartChar\n // This implementation works on strings, a single character at a time\n // as such, it cannot ever support astral-plane characters (10000-EFFFF)\n // without a significant breaking change to either this parser, or the\n // JavaScript language. Implementation of an emoji-capable xml parser\n // is left as an exercise for the reader.\n var nameStart = /[:_A-Za-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]/\n\n var nameBody = /[:_A-Za-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\u00B7\\u0300-\\u036F\\u203F-\\u2040.\\d-]/\n\n var entityStart = /[#:_A-Za-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]/\n var entityBody = /[#:_A-Za-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\u00B7\\u0300-\\u036F\\u203F-\\u2040.\\d-]/\n\n function isWhitespace (c) {\n return c === ' ' || c === '\\n' || c === '\\r' || c === '\\t'\n }\n\n function isQuote (c) {\n return c === '\"' || c === '\\''\n }\n\n function isAttribEnd (c) {\n return c === '>' || isWhitespace(c)\n }\n\n function isMatch (regex, c) {\n return regex.test(c)\n }\n\n function notMatch (regex, c) {\n return !isMatch(regex, c)\n }\n\n var S = 0\n sax.STATE = {\n BEGIN: S++, // leading byte order mark or whitespace\n BEGIN_WHITESPACE: S++, // leading whitespace\n TEXT: S++, // general stuff\n TEXT_ENTITY: S++, // & and such.\n OPEN_WAKA: S++, // <\n SGML_DECL: S++, // \n SCRIPT: S++, //