From 8977e6168a89eec51d459921bc0a85f7aaa494c6 Mon Sep 17 00:00:00 2001 From: Tycho Bokdam Date: Tue, 5 Oct 2021 23:58:16 +0200 Subject: [PATCH] fix: Redeploy with src/action again --- .commitlintrc.js | 13 - .huskyrc.js | 5 - action.yml | 2 +- lib/commit.hbs | 61 ---- lib/commit1.hbs | 56 --- lib/footer.hbs | 11 - lib/footer1.hbs | 10 - lib/header.hbs | 25 -- lib/header1.hbs | 9 - lib/index.js | 38 -- lib/template.hbs | 16 - lib/template1.hbs | 11 - package-lock.json | 894 +--------------------------------------------- package.json | 16 +- 14 files changed, 5 insertions(+), 1162 deletions(-) delete mode 100644 .commitlintrc.js delete mode 100644 .huskyrc.js delete mode 100644 lib/commit.hbs delete mode 100644 lib/commit1.hbs delete mode 100644 lib/footer.hbs delete mode 100644 lib/footer1.hbs delete mode 100644 lib/header.hbs delete mode 100644 lib/header1.hbs delete mode 100644 lib/index.js delete mode 100644 lib/template.hbs delete mode 100644 lib/template1.hbs diff --git a/.commitlintrc.js b/.commitlintrc.js deleted file mode 100644 index 1907f3a..0000000 --- a/.commitlintrc.js +++ /dev/null @@ -1,13 +0,0 @@ -module.exports = { - extends: [ - '@commitlint/config-conventional', - ], - - rules: { - 'subject-case': [ - 2, - 'always', - 'sentence-case', - ], - }, -} diff --git a/.huskyrc.js b/.huskyrc.js deleted file mode 100644 index 5298fbd..0000000 --- a/.huskyrc.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - hooks: { - 'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS' - }, -} diff --git a/action.yml b/action.yml index f14693f..2360b2c 100644 --- a/action.yml +++ b/action.yml @@ -4,7 +4,7 @@ author: 'Tycho Bokdam' runs: using: 'node12' - main: 'lib/index.js' + main: 'src/index.js' branding: icon: 'edit' diff --git a/lib/commit.hbs b/lib/commit.hbs deleted file mode 100644 index e10a0d9..0000000 --- a/lib/commit.hbs +++ /dev/null @@ -1,61 +0,0 @@ -*{{#if scope}} **{{scope}}:** -{{~/if}} {{#if subject}} - {{~subject}} -{{~else}} - {{~header}} -{{~/if}} - -{{~!-- commit link --}} {{#if @root.linkReferences~}} - ([{{shortHash}}]( - {{~#if @root.repository}} - {{~#if @root.host}} - {{~@root.host}}/ - {{~/if}} - {{~#if @root.owner}} - {{~@root.owner}}/ - {{~/if}} - {{~@root.repository}} - {{~else}} - {{~@root.repoUrl}} - {{~/if}}/ - {{~@root.commit}}/{{hash}})) -{{~else}} - {{~shortHash}} -{{~/if}} - -{{~!-- commit references --}} -{{~#if references~}} - , closes - {{~#each references}} {{#if @root.linkReferences~}} - [ - {{~#if this.owner}} - {{~this.owner}}/ - {{~/if}} - {{~this.repository}}#{{this.issue}}]( - {{~#if @root.repository}} - {{~#if @root.host}} - {{~@root.host}}/ - {{~/if}} - {{~#if this.repository}} - {{~#if this.owner}} - {{~this.owner}}/ - {{~/if}} - {{~this.repository}} - {{~else}} - {{~#if @root.owner}} - {{~@root.owner}}/ - {{~/if}} - {{~@root.repository}} - {{~/if}} - {{~else}} - {{~@root.repoUrl}} - {{~/if}}/ - {{~@root.issue}}/{{this.issue}}) - {{~else}} - {{~#if this.owner}} - {{~this.owner}}/ - {{~/if}} - {{~this.repository}}#{{this.issue}} - {{~/if}}{{/each}} -{{~/if}} - diff --git a/lib/commit1.hbs b/lib/commit1.hbs deleted file mode 100644 index 28d9293..0000000 --- a/lib/commit1.hbs +++ /dev/null @@ -1,56 +0,0 @@ -* {{header}} - -{{~!-- commit link --}} {{#if @root.linkReferences~}} - ([{{hash}}]( - {{~#if @root.repository}} - {{~#if @root.host}} - {{~@root.host}}/ - {{~/if}} - {{~#if @root.owner}} - {{~@root.owner}}/ - {{~/if}} - {{~@root.repository}} - {{~else}} - {{~@root.repoUrl}} - {{~/if}}/ - {{~@root.commit}}/{{hash}})) -{{~else}} - {{~hash}} -{{~/if}} - -{{~!-- commit references --}} -{{~#if references~}} - , closes - {{~#each references}} {{#if @root.linkReferences~}} - [ - {{~#if this.owner}} - {{~this.owner}}/ - {{~/if}} - {{~this.repository}}#{{this.issue}}]( - {{~#if @root.repository}} - {{~#if @root.host}} - {{~@root.host}}/ - {{~/if}} - {{~#if this.repository}} - {{~#if this.owner}} - {{~this.owner}}/ - {{~/if}} - {{~this.repository}} - {{~else}} - {{~#if @root.owner}} - {{~@root.owner}}/ - {{~/if}} - {{~@root.repository}} - {{~/if}} - {{~else}} - {{~@root.repoUrl}} - {{~/if}}/ - {{~@root.issue}}/{{this.issue}}) - {{~else}} - {{~#if this.owner}} - {{~this.owner}}/ - {{~/if}} - {{~this.repository}}#{{this.issue}} - {{~/if}}{{/each}} -{{~/if}} - diff --git a/lib/footer.hbs b/lib/footer.hbs deleted file mode 100644 index 2aa774f..0000000 --- a/lib/footer.hbs +++ /dev/null @@ -1,11 +0,0 @@ -{{#if noteGroups}} -{{#each noteGroups}} - -### {{title}} - -{{#each notes}} -* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}} -{{/each}} -{{/each}} - -{{/if}} diff --git a/lib/footer1.hbs b/lib/footer1.hbs deleted file mode 100644 index dca482f..0000000 --- a/lib/footer1.hbs +++ /dev/null @@ -1,10 +0,0 @@ -{{#if noteGroups}} -{{#each noteGroups}} - -### {{title}} - -{{#each notes}} -* {{text}} -{{/each}} -{{/each}} -{{/if}} diff --git a/lib/header.hbs b/lib/header.hbs deleted file mode 100644 index fc781c4..0000000 --- a/lib/header.hbs +++ /dev/null @@ -1,25 +0,0 @@ -{{#if isPatch~}} - ## -{{~else~}} - # -{{~/if}} {{#if @root.linkCompare~}} - [{{version}}]( - {{~#if @root.repository~}} - {{~#if @root.host}} - {{~@root.host}}/ - {{~/if}} - {{~#if @root.owner}} - {{~@root.owner}}/ - {{~/if}} - {{~@root.repository}} - {{~else}} - {{~@root.repoUrl}} - {{~/if~}} - /compare/{{previousTag}}...{{currentTag}}) -{{~else}} - {{~version}} -{{~/if}} -{{~#if title}} "{{title}}" -{{~/if}} -{{~#if date}} ({{date}}) -{{/if}} diff --git a/lib/header1.hbs b/lib/header1.hbs deleted file mode 100644 index 49f5607..0000000 --- a/lib/header1.hbs +++ /dev/null @@ -1,9 +0,0 @@ -## {{#if isPatch~}} - {{~/if~}} {{version}} - {{~#if title}} "{{title}}" - {{~/if~}} - {{~#if date}} ({{date}}) - {{~/if~}} - {{~#if isPatch~}} - {{~/if}} - diff --git a/lib/index.js b/lib/index.js deleted file mode 100644 index 498d470..0000000 --- a/lib/index.js +++ /dev/null @@ -1,38 +0,0 @@ -(()=>{var __webpack_modules__={7351:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);s(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const a=o(n(2087));const l=n(5278);function issueCommand(e,t,n){const i=new Command(e,t,n);process.stdout.write(i.toString()+a.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const u="::";class Command{constructor(e,t,n){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=n}toString(){let e=u+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const n in this.properties){if(this.properties.hasOwnProperty(n)){const i=this.properties[n];if(i){if(t){t=false}else{e+=","}e+=`${n}=${escapeProperty(i)}`}}}}e+=`${u}${escapeData(this.message)}`;return e}}function escapeData(e){return l.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return l.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);s(t,e);return t};var a=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,s){function fulfilled(e){try{step(i.next(e))}catch(e){s(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){s(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getIDToken=t.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=t.notice=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 l=n(7351);const u=n(717);const c=n(5278);const f=o(n(2087));const p=o(n(5622));const h=n(8041);var d;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(d=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const n=c.toCommandValue(t);process.env[e]=n;const i=process.env["GITHUB_ENV"]||"";if(i){const t="_GitHubActionsFileCommandDelimeter_";const i=`${e}<<${t}${f.EOL}${n}${f.EOL}${t}`;u.issueCommand("ENV",i)}else{l.issueCommand("set-env",{name:e},n)}}t.exportVariable=exportVariable;function setSecret(e){l.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){u.issueCommand("PATH",e)}else{l.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${p.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const n=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!n){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return n}return n.trim()}t.getInput=getInput;function getMultilineInput(e,t){const n=getInput(e,t).split("\n").filter((e=>e!==""));return n}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const n=["true","True","TRUE"];const i=["false","False","FALSE"];const s=getInput(e,t);if(n.includes(s))return true;if(i.includes(s))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(f.EOL);l.issueCommand("set-output",{name:e},t)}t.setOutput=setOutput;function setCommandEcho(e){l.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=d.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){l.issueCommand("debug",{},e)}t.debug=debug;function error(e,t={}){l.issueCommand("error",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){l.issueCommand("warning",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){l.issueCommand("notice",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+f.EOL)}t.info=info;function startGroup(e){l.issue("group",e)}t.startGroup=startGroup;function endGroup(){l.issue("endgroup")}t.endGroup=endGroup;function group(e,t){return a(this,void 0,void 0,(function*(){startGroup(e);let n;try{n=yield t()}finally{endGroup()}return n}))}t.group=group;function saveState(e,t){l.issueCommand("save-state",{name:e},t)}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState;function getIDToken(e){return a(this,void 0,void 0,(function*(){return yield h.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken},717:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);s(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issueCommand=void 0;const a=o(n(5747));const l=o(n(2087));const u=n(5278);function issueCommand(e,t){const n=process.env[`GITHUB_${e}`];if(!n){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!a.existsSync(n)){throw new Error(`Missing file at path: ${n}`)}a.appendFileSync(n,`${u.toCommandValue(t)}${l.EOL}`,{encoding:"utf8"})}t.issueCommand=issueCommand},8041:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,s){function fulfilled(e){try{step(i.next(e))}catch(e){s(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){s(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const s=n(9925);const o=n(3702);const a=n(2186);class OidcClient{static createHttpClient(e=true,t=10){const n={allowRetries:e,maxRetries:t};return new s.HttpClient("actions/oidc-client",[new o.BearerCredentialHandler(OidcClient.getRequestToken())],n)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){var t;return i(this,void 0,void 0,(function*(){const n=OidcClient.createHttpClient();const i=yield n.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.result.message}`)}));const s=(t=i.result)===null||t===void 0?void 0:t.value;if(!s){throw new Error("Response json body do not have ID Token field")}return s}))}static getIDToken(e){return i(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const n=encodeURIComponent(e);t=`${t}&audience=${n}`}a.debug(`ID token url is ${t}`);const n=yield OidcClient.getCall(t);a.setSecret(n);return n}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},5278:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toCommandProperties=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;function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}t.toCommandProperties=toCommandProperties},1514:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);s(t,e);return t};var a=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,s){function fulfilled(e){try{step(i.next(e))}catch(e){s(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){s(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getExecOutput=t.exec=void 0;const l=n(4304);const u=o(n(8159));function exec(e,t,n){return a(this,void 0,void 0,(function*(){const i=u.argStringToArray(e);if(i.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const s=i[0];t=i.slice(1).concat(t||[]);const o=new u.ToolRunner(s,t,n);return o.exec()}))}t.exec=exec;function getExecOutput(e,t,n){var i,s;return a(this,void 0,void 0,(function*(){let o="";let a="";const u=new l.StringDecoder("utf8");const c=new l.StringDecoder("utf8");const f=(i=n===null||n===void 0?void 0:n.listeners)===null||i===void 0?void 0:i.stdout;const p=(s=n===null||n===void 0?void 0:n.listeners)===null||s===void 0?void 0:s.stderr;const stdErrListener=e=>{a+=c.write(e);if(p){p(e)}};const stdOutListener=e=>{o+=u.write(e);if(f){f(e)}};const h=Object.assign(Object.assign({},n===null||n===void 0?void 0:n.listeners),{stdout:stdOutListener,stderr:stdErrListener});const d=yield exec(e,t,Object.assign(Object.assign({},n),{listeners:h}));o+=u.end();a+=c.end();return{exitCode:d,stdout:o,stderr:a}}))}t.getExecOutput=getExecOutput},8159:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);s(t,e);return t};var a=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,s){function fulfilled(e){try{step(i.next(e))}catch(e){s(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){s(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.argStringToArray=t.ToolRunner=void 0;const l=o(n(2087));const u=o(n(8614));const c=o(n(3129));const f=o(n(5622));const p=o(n(7436));const h=o(n(1962));const d=n(8213);const m=process.platform==="win32";class ToolRunner extends u.EventEmitter{constructor(e,t,n){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=n||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const n=this._getSpawnFileName();const i=this._getSpawnArgs(e);let s=t?"":"[command]";if(m){if(this._isCmdFile()){s+=n;for(const e of i){s+=` ${e}`}}else if(e.windowsVerbatimArguments){s+=`"${n}"`;for(const e of i){s+=` ${e}`}}else{s+=this._windowsQuoteCmdArg(n);for(const e of i){s+=` ${this._windowsQuoteCmdArg(e)}`}}}else{s+=n;for(const e of i){s+=` ${e}`}}return s}_processLineBuffer(e,t,n){try{let i=t+e.toString();let s=i.indexOf(l.EOL);while(s>-1){const e=i.substring(0,s);n(e);i=i.substring(s+l.EOL.length);s=i.indexOf(l.EOL)}return i}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(m){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(m){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const n of this.args){t+=" ";t+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let n=false;for(const i of e){if(t.some((e=>e===i))){n=true;break}}if(!n){return e}let i='"';let s=true;for(let t=e.length;t>0;t--){i+=e[t-1];if(s&&e[t-1]==="\\"){i+="\\"}else if(e[t-1]==='"'){s=true;i+='"'}else{s=false}}i+='"';return i.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let n=true;for(let i=e.length;i>0;i--){t+=e[i-1];if(n&&e[i-1]==="\\"){t+="\\"}else if(e[i-1]==='"'){n=true;t+="\\"}else{n=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const n={};n.cwd=e.cwd;n.env=e.env;n["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){n.argv0=`"${t}"`}return n}exec(){return a(this,void 0,void 0,(function*(){if(!h.isRooted(this.toolPath)&&(this.toolPath.includes("/")||m&&this.toolPath.includes("\\"))){this.toolPath=f.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield p.which(this.toolPath,true);return new Promise(((e,t)=>a(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const n=this._cloneExecOptions(this.options);if(!n.silent&&n.outStream){n.outStream.write(this._getCommandString(n)+l.EOL)}const i=new ExecState(n,this.toolPath);i.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield h.exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const s=this._getSpawnFileName();const o=c.spawn(s,this._getSpawnArgs(n),this._getSpawnOptions(this.options,s));let a="";if(o.stdout){o.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!n.silent&&n.outStream){n.outStream.write(e)}a=this._processLineBuffer(e,a,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let u="";if(o.stderr){o.stderr.on("data",(e=>{i.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!n.silent&&n.errStream&&n.outStream){const t=n.failOnStdErr?n.errStream:n.outStream;t.write(e)}u=this._processLineBuffer(e,u,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}o.on("error",(e=>{i.processError=e.message;i.processExited=true;i.processClosed=true;i.CheckComplete()}));o.on("exit",(e=>{i.processExitCode=e;i.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);i.CheckComplete()}));o.on("close",(e=>{i.processExitCode=e;i.processExited=true;i.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);i.CheckComplete()}));i.on("done",((n,i)=>{if(a.length>0){this.emit("stdline",a)}if(u.length>0){this.emit("errline",u)}o.removeAllListeners();if(n){t(n)}else{e(i)}}));if(this.options.input){if(!o.stdin){throw new Error("child process missing stdin")}o.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let n=false;let i=false;let s="";function append(e){if(i&&e!=='"'){s+="\\"}s+=e;i=false}for(let o=0;o0){t.push(s);s=""}continue}append(a)}if(s.length>0){t.push(s.trim())}return t}t.argStringToArray=argStringToArray;class ExecState extends u.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=d.setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}},3702:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){e.headers["Authorization"]="Basic "+Buffer.from(this.username+":"+this.password).toString("base64")}canHandleAuthentication(e){return false}handleAuthentication(e,t,n){return null}}t.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){e.headers["Authorization"]="Bearer "+this.token}canHandleAuthentication(e){return false}handleAuthentication(e,t,n){return null}}t.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){e.headers["Authorization"]="Basic "+Buffer.from("PAT:"+this.token).toString("base64")}canHandleAuthentication(e){return false}handleAuthentication(e,t,n){return null}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},9925:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const i=n(8605);const s=n(7211);const o=n(6443);let a;var l;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(l=t.HttpCodes||(t.HttpCodes={}));var u;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(u=t.Headers||(t.Headers={}));var c;(function(e){e["ApplicationJson"]="application/json"})(c=t.MediaTypes||(t.MediaTypes={}));function getProxyUrl(e){let t=o.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const f=[l.MovedPermanently,l.ResourceMoved,l.SeeOther,l.TemporaryRedirect,l.PermanentRedirect];const p=[l.BadGateway,l.ServiceUnavailable,l.GatewayTimeout];const h=["OPTIONS","GET","DELETE","HEAD"];const d=10;const m=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{constructor(e){this.message=e}readBody(){return new Promise((async(e,t)=>{let n=Buffer.alloc(0);this.message.on("data",(e=>{n=Buffer.concat([n,e])}));this.message.on("end",(()=>{e(n.toString())}))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){let t=new URL(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,n){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=e;this.handlers=t||[];this.requestOptions=n;if(n){if(n.ignoreSslError!=null){this._ignoreSslError=n.ignoreSslError}this._socketTimeout=n.socketTimeout;if(n.allowRedirects!=null){this._allowRedirects=n.allowRedirects}if(n.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=n.allowRedirectDowngrade}if(n.maxRedirects!=null){this._maxRedirects=Math.max(n.maxRedirects,0)}if(n.keepAlive!=null){this._keepAlive=n.keepAlive}if(n.allowRetries!=null){this._allowRetries=n.allowRetries}if(n.maxRetries!=null){this._maxRetries=n.maxRetries}}}options(e,t){return this.request("OPTIONS",e,null,t||{})}get(e,t){return this.request("GET",e,null,t||{})}del(e,t){return this.request("DELETE",e,null,t||{})}post(e,t,n){return this.request("POST",e,t,n||{})}patch(e,t,n){return this.request("PATCH",e,t,n||{})}put(e,t,n){return this.request("PUT",e,t,n||{})}head(e,t){return this.request("HEAD",e,null,t||{})}sendStream(e,t,n,i){return this.request(e,t,n,i)}async getJson(e,t={}){t[u.Accept]=this._getExistingOrDefaultHeader(t,u.Accept,c.ApplicationJson);let n=await this.get(e,t);return this._processResponse(n,this.requestOptions)}async postJson(e,t,n={}){let i=JSON.stringify(t,null,2);n[u.Accept]=this._getExistingOrDefaultHeader(n,u.Accept,c.ApplicationJson);n[u.ContentType]=this._getExistingOrDefaultHeader(n,u.ContentType,c.ApplicationJson);let s=await this.post(e,i,n);return this._processResponse(s,this.requestOptions)}async putJson(e,t,n={}){let i=JSON.stringify(t,null,2);n[u.Accept]=this._getExistingOrDefaultHeader(n,u.Accept,c.ApplicationJson);n[u.ContentType]=this._getExistingOrDefaultHeader(n,u.ContentType,c.ApplicationJson);let s=await this.put(e,i,n);return this._processResponse(s,this.requestOptions)}async patchJson(e,t,n={}){let i=JSON.stringify(t,null,2);n[u.Accept]=this._getExistingOrDefaultHeader(n,u.Accept,c.ApplicationJson);n[u.ContentType]=this._getExistingOrDefaultHeader(n,u.ContentType,c.ApplicationJson);let s=await this.patch(e,i,n);return this._processResponse(s,this.requestOptions)}async request(e,t,n,i){if(this._disposed){throw new Error("Client has already been disposed.")}let s=new URL(t);let o=this._prepareRequest(e,s,i);let a=this._allowRetries&&h.indexOf(e)!=-1?this._maxRetries+1:1;let u=0;let c;while(u0){const a=c.message.headers["location"];if(!a){break}let l=new URL(a);if(s.protocol=="https:"&&s.protocol!=l.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}await c.readBody();if(l.hostname!==s.hostname){for(let e in i){if(e.toLowerCase()==="authorization"){delete i[e]}}}o=this._prepareRequest(e,l,i);c=await this.requestRaw(o,n);t--}if(p.indexOf(c.message.statusCode)==-1){return c}u+=1;if(u{let callbackForResult=function(e,t){if(e){i(e)}n(t)};this.requestRawWithCallback(e,t,callbackForResult)}))}requestRawWithCallback(e,t,n){let i;if(typeof t==="string"){e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let s=false;let handleResult=(e,t)=>{if(!s){s=true;n(e,t)}};let o=e.httpModule.request(e.options,(e=>{let t=new HttpClientResponse(e);handleResult(null,t)}));o.on("socket",(e=>{i=e}));o.setTimeout(this._socketTimeout||3*6e4,(()=>{if(i){i.end()}handleResult(new Error("Request timeout: "+e.options.path),null)}));o.on("error",(function(e){handleResult(e,null)}));if(t&&typeof t==="string"){o.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){o.end()}));t.pipe(o)}else{o.end()}}getAgent(e){let t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,n){const o={};o.parsedUrl=t;const a=o.parsedUrl.protocol==="https:";o.httpModule=a?s:i;const l=a?443:80;o.options={};o.options.host=o.parsedUrl.hostname;o.options.port=o.parsedUrl.port?parseInt(o.parsedUrl.port):l;o.options.path=(o.parsedUrl.pathname||"")+(o.parsedUrl.search||"");o.options.method=e;o.options.headers=this._mergeHeaders(n);if(this.userAgent!=null){o.options.headers["user-agent"]=this.userAgent}o.options.agent=this._getAgent(o.parsedUrl);if(this.handlers){this.handlers.forEach((e=>{e.prepareRequest(o.options)}))}return o}_mergeHeaders(e){const lowercaseKeys=e=>Object.keys(e).reduce(((t,n)=>(t[n.toLowerCase()]=e[n],t)),{});if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,n){const lowercaseKeys=e=>Object.keys(e).reduce(((t,n)=>(t[n.toLowerCase()]=e[n],t)),{});let i;if(this.requestOptions&&this.requestOptions.headers){i=lowercaseKeys(this.requestOptions.headers)[t]}return e[t]||i||n}_getAgent(e){let t;let l=o.getProxyUrl(e);let u=l&&l.hostname;if(this._keepAlive&&u){t=this._proxyAgent}if(this._keepAlive&&!u){t=this._agent}if(!!t){return t}const c=e.protocol==="https:";let f=100;if(!!this.requestOptions){f=this.requestOptions.maxSockets||i.globalAgent.maxSockets}if(u){if(!a){a=n(4294)}const e={maxSockets:f,keepAlive:this._keepAlive,proxy:{...(l.username||l.password)&&{proxyAuth:`${l.username}:${l.password}`},host:l.hostname,port:l.port}};let i;const s=l.protocol==="https:";if(c){i=s?a.httpsOverHttps:a.httpsOverHttp}else{i=s?a.httpOverHttps:a.httpOverHttp}t=i(e);this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:f};t=c?new s.Agent(e):new i.Agent(e);this._agent=t}if(!t){t=c?s.globalAgent:i.globalAgent}if(c&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_performExponentialBackoff(e){e=Math.min(d,e);const t=m*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}static dateTimeDeserializer(e,t){if(typeof t==="string"){let e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}async _processResponse(e,t){return new Promise((async(n,i)=>{const s=e.message.statusCode;const o={statusCode:s,result:null,headers:{}};if(s==l.NotFound){n(o)}let a;let u;try{u=await e.readBody();if(u&&u.length>0){if(t&&t.deserializeDates){a=JSON.parse(u,HttpClient.dateTimeDeserializer)}else{a=JSON.parse(u)}o.result=a}o.headers=e.message.headers}catch(e){}if(s>299){let e;if(a&&a.message){e=a.message}else if(u&&u.length>0){e=u}else{e="Failed request: ("+s+")"}let t=new HttpClientError(e,s);t.result=o.result;i(t)}else{n(o)}}))}}t.HttpClient=HttpClient},6443:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getProxyUrl(e){let t=e.protocol==="https:";let n;if(checkBypass(e)){return n}let i;if(t){i=process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{i=process.env["http_proxy"]||process.env["HTTP_PROXY"]}if(i){n=new URL(i)}return n}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}let t=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!t){return false}let n;if(e.port){n=Number(e.port)}else if(e.protocol==="http:"){n=80}else if(e.protocol==="https:"){n=443}let i=[e.hostname.toUpperCase()];if(typeof n==="number"){i.push(`${i[0]}:${n}`)}for(let e of t.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(i.some((t=>t===e))){return true}}return false}t.checkBypass=checkBypass},1962:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);s(t,e);return t};var a=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,s){function fulfilled(e){try{step(i.next(e))}catch(e){s(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){s(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};var l;Object.defineProperty(t,"__esModule",{value:true});t.getCmdPath=t.tryGetExecutablePath=t.isRooted=t.isDirectory=t.exists=t.IS_WINDOWS=t.unlink=t.symlink=t.stat=t.rmdir=t.rename=t.readlink=t.readdir=t.mkdir=t.lstat=t.copyFile=t.chmod=void 0;const u=o(n(5747));const c=o(n(5622));l=u.promises,t.chmod=l.chmod,t.copyFile=l.copyFile,t.lstat=l.lstat,t.mkdir=l.mkdir,t.readdir=l.readdir,t.readlink=l.readlink,t.rename=l.rename,t.rmdir=l.rmdir,t.stat=l.stat,t.symlink=l.symlink,t.unlink=l.unlink;t.IS_WINDOWS=process.platform==="win32";function exists(e){return a(this,void 0,void 0,(function*(){try{yield t.stat(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true}))}t.exists=exists;function isDirectory(e,n=false){return a(this,void 0,void 0,(function*(){const i=n?yield t.stat(e):yield t.lstat(e);return i.isDirectory()}))}t.isDirectory=isDirectory;function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(t.IS_WINDOWS){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}t.isRooted=isRooted;function tryGetExecutablePath(e,n){return a(this,void 0,void 0,(function*(){let i=undefined;try{i=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(i&&i.isFile()){if(t.IS_WINDOWS){const t=c.extname(e).toUpperCase();if(n.some((e=>e.toUpperCase()===t))){return e}}else{if(isUnixExecutable(i)){return e}}}const s=e;for(const o of n){e=s+o;i=undefined;try{i=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(i&&i.isFile()){if(t.IS_WINDOWS){try{const n=c.dirname(e);const i=c.basename(e).toUpperCase();for(const s of yield t.readdir(n)){if(i===s.toUpperCase()){e=c.join(n,s);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(i)){return e}}}}return""}))}t.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(e){e=e||"";if(t.IS_WINDOWS){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&e.gid===process.getgid()||(e.mode&64)>0&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}t.getCmdPath=getCmdPath},7436:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);s(t,e);return t};var a=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,s){function fulfilled(e){try{step(i.next(e))}catch(e){s(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){s(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.findInPath=t.which=t.mkdirP=t.rmRF=t.mv=t.cp=void 0;const l=n(2357);const u=o(n(3129));const c=o(n(5622));const f=n(1669);const p=o(n(1962));const h=f.promisify(u.exec);const d=f.promisify(u.execFile);function cp(e,t,n={}){return a(this,void 0,void 0,(function*(){const{force:i,recursive:s,copySourceDirectory:o}=readCopyOptions(n);const a=(yield p.exists(t))?yield p.stat(t):null;if(a&&a.isFile()&&!i){return}const l=a&&a.isDirectory()&&o?c.join(t,c.basename(e)):t;if(!(yield p.exists(e))){throw new Error(`no such file or directory: ${e}`)}const u=yield p.stat(e);if(u.isDirectory()){if(!s){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,l,0,i)}}else{if(c.relative(e,l)===""){throw new Error(`'${l}' and '${e}' are the same file`)}yield copyFile(e,l,i)}}))}t.cp=cp;function mv(e,t,n={}){return a(this,void 0,void 0,(function*(){if(yield p.exists(t)){let i=true;if(yield p.isDirectory(t)){t=c.join(t,c.basename(e));i=yield p.exists(t)}if(i){if(n.force==null||n.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(c.dirname(t));yield p.rename(e,t)}))}t.mv=mv;function rmRF(e){return a(this,void 0,void 0,(function*(){if(p.IS_WINDOWS){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}try{const t=p.getCmdPath();if(yield p.isDirectory(e,true)){yield h(`${t} /s /c "rd /s /q "%inputPath%""`,{env:{inputPath:e}})}else{yield h(`${t} /s /c "del /f /a "%inputPath%""`,{env:{inputPath:e}})}}catch(e){if(e.code!=="ENOENT")throw e}try{yield p.unlink(e)}catch(e){if(e.code!=="ENOENT")throw e}}else{let t=false;try{t=yield p.isDirectory(e)}catch(e){if(e.code!=="ENOENT")throw e;return}if(t){yield d(`rm`,[`-rf`,`${e}`])}else{yield p.unlink(e)}}}))}t.rmRF=rmRF;function mkdirP(e){return a(this,void 0,void 0,(function*(){l.ok(e,"a path argument must be provided");yield p.mkdir(e,{recursive:true})}))}t.mkdirP=mkdirP;function which(e,t){return a(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(p.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const n=yield findInPath(e);if(n&&n.length>0){return n[0]}return""}))}t.which=which;function findInPath(e){return a(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(p.IS_WINDOWS&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(c.delimiter)){if(e){t.push(e)}}}if(p.isRooted(e)){const n=yield p.tryGetExecutablePath(e,t);if(n){return[n]}return[]}if(e.includes(c.sep)){return[]}const n=[];if(process.env.PATH){for(const e of process.env.PATH.split(c.delimiter)){if(e){n.push(e)}}}const i=[];for(const s of n){const n=yield p.tryGetExecutablePath(c.join(s,e),t);if(n){i.push(n)}}return i}))}t.findInPath=findInPath;function readCopyOptions(e){const t=e.force==null?true:e.force;const n=Boolean(e.recursive);const i=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:n,copySourceDirectory:i}}function cpDirRecursive(e,t,n,i){return a(this,void 0,void 0,(function*(){if(n>=255)return;n++;yield mkdirP(t);const s=yield p.readdir(e);for(const o of s){const s=`${e}/${o}`;const a=`${t}/${o}`;const l=yield p.lstat(s);if(l.isDirectory()){yield cpDirRecursive(s,a,n,i)}else{yield copyFile(s,a,i)}}yield p.chmod(t,(yield p.stat(e)).mode)}))}function copyFile(e,t,n){return a(this,void 0,void 0,(function*(){if((yield p.lstat(e)).isSymbolicLink()){try{yield p.lstat(t);yield p.unlink(t)}catch(e){if(e.code==="EPERM"){yield p.chmod(t,"0666");yield p.unlink(t)}}const n=yield p.readlink(e);yield p.symlink(n,t,p.IS_WINDOWS?"junction":null)}else if(!(yield p.exists(t))||n){yield p.copyFile(e,t)}}))}},922:(e,t,n)=>{"use strict";const{parse:i}=n(8835);const s=new RegExp(/^\/?:?([/\w-.]+)\/([\w-.]+)\/?$/);const o=new RegExp(/^\/repos\/([\w-.]+)\/([\w-.]+)\/(?:tarball|zipball)(?:\/.+)?$/);const a=new RegExp(/^\/([\w-.]+)\/([\w-.]+)\/(?:legacy\.(?:zip|tar\.gz))(?:\/.+)?$/);e.exports=e=>{const t=e.replace(/^git@/,`https://git@`).replace(/\.git$/,``);const n=i(t);const format=e=>({browse:createBrowseURL(n,e),domain:n.host,project:e[2]||null,type:getType(n),user:e[1]||null});if(n.host){if(n.host.includes(`api.github.com`)){const e=o.exec(n.pathname)||[];return format(e)}if(n.host.includes(`codeload.github.com`)){const e=a.exec(n.pathname)||[];return format(e)}}return format(s.exec(n.pathname)||[])};function getType(e){if(typeof e.host!==`string`){return null}if(e.host.indexOf(`github`)!==-1){return"github"}if(e.host.indexOf(`gitlab`)!==-1){return"gitlab"}return null}function createBrowseURL(e,t){const n=e.protocol===`http:`?`http:`:`https:`;const i=`${n}//${e.host}/${t[1]}/${t[2]}`;return()=>i}},1374:(e,t,n)=>{"use strict";const i=n(2033);const s=global.Date;class Date extends s{constructor(e){super(e);this.isDate=true}toISOString(){return`${this.getUTCFullYear()}-${i(2,this.getUTCMonth()+1)}-${i(2,this.getUTCDate())}`}}e.exports=e=>{const t=new Date(e);if(isNaN(t)){throw new TypeError("Invalid Datetime")}else{return t}}},5606:(e,t,n)=>{"use strict";const i=n(2033);class FloatingDateTime extends Date{constructor(e){super(e+"Z");this.isFloating=true}toISOString(){const e=`${this.getUTCFullYear()}-${i(2,this.getUTCMonth()+1)}-${i(2,this.getUTCDate())}`;const t=`${i(2,this.getUTCHours())}:${i(2,this.getUTCMinutes())}:${i(2,this.getUTCSeconds())}.${i(3,this.getUTCMilliseconds())}`;return`${e}T${t}`}}e.exports=e=>{const t=new FloatingDateTime(e);if(isNaN(t)){throw new TypeError("Invalid Datetime")}else{return t}}},3173:e=>{"use strict";e.exports=e=>{const t=new Date(e);if(isNaN(t)){throw new TypeError("Invalid Datetime")}else{return t}}},5484:(e,t,n)=>{"use strict";const i=n(2033);class Time extends Date{constructor(e){super(`0000-01-01T${e}Z`);this.isTime=true}toISOString(){return`${i(2,this.getUTCHours())}:${i(2,this.getUTCMinutes())}:${i(2,this.getUTCSeconds())}.${i(3,this.getUTCMilliseconds())}`}}e.exports=e=>{const t=new Time(e);if(isNaN(t)){throw new TypeError("Invalid Datetime")}else{return t}}},2033:e=>{"use strict";e.exports=(e,t)=>{t=String(t);while(t.length{"use strict";const t=1114112;class ParserError extends Error{constructor(e,t,n){super("[ParserError] "+e,t,n);this.name="ParserError";this.code="ParserError";if(Error.captureStackTrace)Error.captureStackTrace(this,ParserError)}}class State{constructor(e){this.parser=e;this.buf="";this.returned=null;this.result=null;this.resultTable=null;this.resultArr=null}}class Parser{constructor(){this.pos=0;this.col=0;this.line=0;this.obj={};this.ctx=this.obj;this.stack=[];this._buf="";this.char=null;this.ii=0;this.state=new State(this.parseStart)}parse(e){if(e.length===0||e.length==null)return;this._buf=String(e);this.ii=-1;this.char=-1;let t;while(t===false||this.nextChar()){t=this.runOne()}this._buf=null}nextChar(){if(this.char===10){++this.line;this.col=-1}++this.ii;this.char=this._buf.codePointAt(this.ii);++this.pos;++this.col;return this.haveBuffer()}haveBuffer(){return this.ii{"use strict";module.exports=makeParserClass(__nccwpck_require__(9137));module.exports.makeParserClass=makeParserClass;class TomlError extends Error{constructor(e){super(e);this.name="TomlError";if(Error.captureStackTrace)Error.captureStackTrace(this,TomlError);this.fromTOML=true;this.wrapped=null}}TomlError.wrap=e=>{const t=new TomlError(e.message);t.code=e.code;t.wrapped=e;return t};module.exports.TomlError=TomlError;const createDateTime=__nccwpck_require__(3173);const createDateTimeFloat=__nccwpck_require__(5606);const createDate=__nccwpck_require__(1374);const createTime=__nccwpck_require__(5484);const CTRL_I=9;const CTRL_J=10;const CTRL_M=13;const CTRL_CHAR_BOUNDARY=31;const CHAR_SP=32;const CHAR_QUOT=34;const CHAR_NUM=35;const CHAR_APOS=39;const CHAR_PLUS=43;const CHAR_COMMA=44;const CHAR_HYPHEN=45;const CHAR_PERIOD=46;const CHAR_0=48;const CHAR_1=49;const CHAR_7=55;const CHAR_9=57;const CHAR_COLON=58;const CHAR_EQUALS=61;const CHAR_A=65;const CHAR_E=69;const CHAR_F=70;const CHAR_T=84;const CHAR_U=85;const CHAR_Z=90;const CHAR_LOWBAR=95;const CHAR_a=97;const CHAR_b=98;const CHAR_e=101;const CHAR_f=102;const CHAR_i=105;const CHAR_l=108;const CHAR_n=110;const CHAR_o=111;const CHAR_r=114;const CHAR_s=115;const CHAR_t=116;const CHAR_u=117;const CHAR_x=120;const CHAR_z=122;const CHAR_LCUB=123;const CHAR_RCUB=125;const CHAR_LSQB=91;const CHAR_BSOL=92;const CHAR_RSQB=93;const CHAR_DEL=127;const SURROGATE_FIRST=55296;const SURROGATE_LAST=57343;const escapes={[CHAR_b]:"\b",[CHAR_t]:"\t",[CHAR_n]:"\n",[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"};function isDigit(e){return e>=CHAR_0&&e<=CHAR_9}function isHexit(e){return e>=CHAR_A&&e<=CHAR_F||e>=CHAR_a&&e<=CHAR_f||e>=CHAR_0&&e<=CHAR_9}function isBit(e){return e===CHAR_1||e===CHAR_0}function isOctit(e){return e>=CHAR_0&&e<=CHAR_7}function isAlphaNumQuoteHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_APOS||e===CHAR_QUOT||e===CHAR_LOWBAR||e===CHAR_HYPHEN}function isAlphaNumHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_LOWBAR||e===CHAR_HYPHEN}const _type=Symbol("type");const _declared=Symbol("declared");const hasOwnProperty=Object.prototype.hasOwnProperty;const defineProperty=Object.defineProperty;const descriptor={configurable:true,enumerable:true,writable:true,value:undefined};function hasKey(e,t){if(hasOwnProperty.call(e,t))return true;if(t==="__proto__")defineProperty(e,"__proto__",descriptor);return false}const INLINE_TABLE=Symbol("inline-table");function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}})}function isInlineTable(e){if(e===null||typeof e!=="object")return false;return e[_type]===INLINE_TABLE}const TABLE=Symbol("table");function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:false,writable:true}})}function isTable(e){if(e===null||typeof e!=="object")return false;return e[_type]===TABLE}const _contentType=Symbol("content-type");const INLINE_LIST=Symbol("inline-list");function InlineList(e){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:e}})}function isInlineList(e){if(e===null||typeof e!=="object")return false;return e[_type]===INLINE_LIST}const LIST=Symbol("list");function List(){return Object.defineProperties([],{[_type]:{value:LIST}})}function isList(e){if(e===null||typeof e!=="object")return false;return e[_type]===LIST}let _custom;try{const utilInspect=eval("require('util').inspect");_custom=utilInspect.custom}catch(e){}const _inspect=_custom||"inspect";class BoxedBigInt{constructor(e){try{this.value=global.BigInt.asIntN(64,e)}catch(e){this.value=null}Object.defineProperty(this,_type,{value:INTEGER})}isNaN(){return this.value===null}toString(){return String(this.value)}[_inspect](){return`[BigInt: ${this.toString()}]}`}valueOf(){return this.value}}const INTEGER=Symbol("integer");function Integer(e){let t=Number(e);if(Object.is(t,-0))t=0;if(global.BigInt&&!Number.isSafeInteger(t)){return new BoxedBigInt(e)}else{return Object.defineProperties(new Number(t),{isNaN:{value:function(){return isNaN(this)}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${e}]`}})}}function isInteger(e){if(e===null||typeof e!=="object")return false;return e[_type]===INTEGER}const FLOAT=Symbol("float");function Float(e){return Object.defineProperties(new Number(e),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${e}]`}})}function isFloat(e){if(e===null||typeof e!=="object")return false;return e[_type]===FLOAT}function tomlType(e){const t=typeof e;if(t==="object"){if(e===null)return"null";if(e instanceof Date)return"datetime";if(_type in e){switch(e[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer"}}}return t}function makeParserClass(e){class TOMLParser extends e{constructor(){super();this.ctx=this.obj=Table()}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine()}atEndOfLine(){return this.char===e.END||this.char===CTRL_J||this.char===CTRL_M}parseStart(){if(this.char===e.END){return null}else if(this.char===CHAR_LSQB){return this.call(this.parseTableOrList)}else if(this.char===CHAR_NUM){return this.call(this.parseComment)}else if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M){return null}else if(isAlphaNumQuoteHyphen(this.char)){return this.callNow(this.parseAssignStatement)}else{throw this.error(new TomlError(`Unknown character "${this.char}"`))}}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M){return null}else if(this.char===CHAR_NUM){return this.goto(this.parseComment)}else if(this.char===e.END||this.char===CTRL_J){return this.return()}else{throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"))}}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement)}recordAssignStatement(e){let t=this.ctx;let n=e.key.pop();for(let n of e.key){if(hasKey(t,n)&&(!isTable(t[n])||t[n][_declared])){throw this.error(new TomlError("Can't redefine existing key"))}t=t[n]=t[n]||Table()}if(hasKey(t,n)){throw this.error(new TomlError("Can't redefine existing key"))}if(isInteger(e.value)||isFloat(e.value)){t[n]=e.value.valueOf()}else{t[n]=e.value}return this.goto(this.parseWhitespaceToEOL)}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword)}recordAssignKeyword(e){if(this.state.resultTable){this.state.resultTable.push(e)}else{this.state.resultTable=[e]}return this.goto(this.parseAssignKeywordPreDot)}parseAssignKeywordPreDot(){if(this.char===CHAR_PERIOD){return this.next(this.parseAssignKeywordPostDot)}else if(this.char!==CHAR_SP&&this.char!==CTRL_I){return this.goto(this.parseAssignEqual)}}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I){return this.callNow(this.parseKeyword,this.recordAssignKeyword)}}parseAssignEqual(){if(this.char===CHAR_EQUALS){return this.next(this.parseAssignPreValue)}else{throw this.error(new TomlError('Invalid character, expected "="'))}}parseAssignPreValue(){if(this.char===CHAR_SP||this.char===CTRL_I){return null}else{return this.callNow(this.parseValue,this.recordAssignValue)}}recordAssignValue(e){return this.returnNow({key:this.state.resultTable,value:e})}parseComment(){do{if(this.char===e.END||this.char===CTRL_J){return this.return()}}while(this.nextChar())}parseTableOrList(){if(this.char===CHAR_LSQB){this.next(this.parseList)}else{return this.goto(this.parseTable)}}parseTable(){this.ctx=this.obj;return this.goto(this.parseTableNext)}parseTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I){return null}else{return this.callNow(this.parseKeyword,this.parseTableMore)}}parseTableMore(e){if(this.char===CHAR_SP||this.char===CTRL_I){return null}else if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)&&(!isTable(this.ctx[e])||this.ctx[e][_declared])){throw this.error(new TomlError("Can't redefine existing key"))}else{this.ctx=this.ctx[e]=this.ctx[e]||Table();this.ctx[_declared]=true}return this.next(this.parseWhitespaceToEOL)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,e)){this.ctx=this.ctx[e]=Table()}else if(isTable(this.ctx[e])){this.ctx=this.ctx[e]}else if(isList(this.ctx[e])){this.ctx=this.ctx[e][this.ctx[e].length-1]}else{throw this.error(new TomlError("Can't redefine existing key"))}return this.next(this.parseTableNext)}else{throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}}parseList(){this.ctx=this.obj;return this.goto(this.parseListNext)}parseListNext(){if(this.char===CHAR_SP||this.char===CTRL_I){return null}else{return this.callNow(this.parseKeyword,this.parseListMore)}}parseListMore(e){if(this.char===CHAR_SP||this.char===CTRL_I){return null}else if(this.char===CHAR_RSQB){if(!hasKey(this.ctx,e)){this.ctx[e]=List()}if(isInlineList(this.ctx[e])){throw this.error(new TomlError("Can't extend an inline array"))}else if(isList(this.ctx[e])){const t=Table();this.ctx[e].push(t);this.ctx=t}else{throw this.error(new TomlError("Can't redefine an existing key"))}return this.next(this.parseListEnd)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,e)){this.ctx=this.ctx[e]=Table()}else if(isInlineList(this.ctx[e])){throw this.error(new TomlError("Can't extend an inline array"))}else if(isInlineTable(this.ctx[e])){throw this.error(new TomlError("Can't extend an inline table"))}else if(isList(this.ctx[e])){this.ctx=this.ctx[e][this.ctx[e].length-1]}else if(isTable(this.ctx[e])){this.ctx=this.ctx[e]}else{throw this.error(new TomlError("Can't redefine an existing key"))}return this.next(this.parseListNext)}else{throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}}parseListEnd(e){if(this.char===CHAR_RSQB){return this.next(this.parseWhitespaceToEOL)}else{throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}}parseValue(){if(this.char===e.END){throw this.error(new TomlError("Key without value"))}else if(this.char===CHAR_QUOT){return this.next(this.parseDoubleString)}if(this.char===CHAR_APOS){return this.next(this.parseSingleString)}else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS){return this.goto(this.parseNumberSign)}else if(this.char===CHAR_i){return this.next(this.parseInf)}else if(this.char===CHAR_n){return this.next(this.parseNan)}else if(isDigit(this.char)){return this.goto(this.parseNumberOrDateTime)}else if(this.char===CHAR_t||this.char===CHAR_f){return this.goto(this.parseBoolean)}else if(this.char===CHAR_LSQB){return this.call(this.parseInlineList,this.recordValue)}else if(this.char===CHAR_LCUB){return this.call(this.parseInlineTable,this.recordValue)}else{throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"))}}recordValue(e){return this.returnNow(e)}parseInf(){if(this.char===CHAR_n){return this.next(this.parseInf2)}else{throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}}parseInf2(){if(this.char===CHAR_f){if(this.state.buf==="-"){return this.return(-Infinity)}else{return this.return(Infinity)}}else{throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}}parseNan(){if(this.char===CHAR_a){return this.next(this.parseNan2)}else{throw this.error(new TomlError('Unexpected character, expected "nan"'))}}parseNan2(){if(this.char===CHAR_n){return this.return(NaN)}else{throw this.error(new TomlError('Unexpected character, expected "nan"'))}}parseKeyword(){if(this.char===CHAR_QUOT){return this.next(this.parseBasicString)}else if(this.char===CHAR_APOS){return this.next(this.parseLiteralString)}else{return this.goto(this.parseBareKey)}}parseBareKey(){do{if(this.char===e.END){throw this.error(new TomlError("Key ended without value"))}else if(isAlphaNumHyphen(this.char)){this.consume()}else if(this.state.buf.length===0){throw this.error(new TomlError("Empty bare keys are not allowed"))}else{return this.returnNow()}}while(this.nextChar())}parseSingleString(){if(this.char===CHAR_APOS){return this.next(this.parseLiteralMultiStringMaybe)}else{return this.goto(this.parseLiteralString)}}parseLiteralString(){do{if(this.char===CHAR_APOS){return this.return()}else if(this.atEndOfLine()){throw this.error(new TomlError("Unterminated string"))}else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I){throw this.errorControlCharInString()}else{this.consume()}}while(this.nextChar())}parseLiteralMultiStringMaybe(){if(this.char===CHAR_APOS){return this.next(this.parseLiteralMultiString)}else{return this.returnNow()}}parseLiteralMultiString(){if(this.char===CTRL_M){return null}else if(this.char===CTRL_J){return this.next(this.parseLiteralMultiStringContent)}else{return this.goto(this.parseLiteralMultiStringContent)}}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS){return this.next(this.parseLiteralMultiEnd)}else if(this.char===e.END){throw this.error(new TomlError("Unterminated multi-line string"))}else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M){throw this.errorControlCharInString()}else{this.consume()}}while(this.nextChar())}parseLiteralMultiEnd(){if(this.char===CHAR_APOS){return this.next(this.parseLiteralMultiEnd2)}else{this.state.buf+="'";return this.goto(this.parseLiteralMultiStringContent)}}parseLiteralMultiEnd2(){if(this.char===CHAR_APOS){return this.return()}else{this.state.buf+="''";return this.goto(this.parseLiteralMultiStringContent)}}parseDoubleString(){if(this.char===CHAR_QUOT){return this.next(this.parseMultiStringMaybe)}else{return this.goto(this.parseBasicString)}}parseBasicString(){do{if(this.char===CHAR_BSOL){return this.call(this.parseEscape,this.recordEscapeReplacement)}else if(this.char===CHAR_QUOT){return this.return()}else if(this.atEndOfLine()){throw this.error(new TomlError("Unterminated string"))}else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I){throw this.errorControlCharInString()}else{this.consume()}}while(this.nextChar())}recordEscapeReplacement(e){this.state.buf+=e;return this.goto(this.parseBasicString)}parseMultiStringMaybe(){if(this.char===CHAR_QUOT){return this.next(this.parseMultiString)}else{return this.returnNow()}}parseMultiString(){if(this.char===CTRL_M){return null}else if(this.char===CTRL_J){return this.next(this.parseMultiStringContent)}else{return this.goto(this.parseMultiStringContent)}}parseMultiStringContent(){do{if(this.char===CHAR_BSOL){return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement)}else if(this.char===CHAR_QUOT){return this.next(this.parseMultiEnd)}else if(this.char===e.END){throw this.error(new TomlError("Unterminated multi-line string"))}else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M){throw this.errorControlCharInString()}else{this.consume()}}while(this.nextChar())}errorControlCharInString(){let e="\\u00";if(this.char<16){e+="0"}e+=this.char.toString(16);return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${e} instead`))}recordMultiEscapeReplacement(e){this.state.buf+=e;return this.goto(this.parseMultiStringContent)}parseMultiEnd(){if(this.char===CHAR_QUOT){return this.next(this.parseMultiEnd2)}else{this.state.buf+='"';return this.goto(this.parseMultiStringContent)}}parseMultiEnd2(){if(this.char===CHAR_QUOT){return this.return()}else{this.state.buf+='""';return this.goto(this.parseMultiStringContent)}}parseMultiEscape(){if(this.char===CTRL_M||this.char===CTRL_J){return this.next(this.parseMultiTrim)}else if(this.char===CHAR_SP||this.char===CTRL_I){return this.next(this.parsePreMultiTrim)}else{return this.goto(this.parseEscape)}}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I){return null}else if(this.char===CTRL_M||this.char===CTRL_J){return this.next(this.parseMultiTrim)}else{throw this.error(new TomlError("Can't escape whitespace"))}}parseMultiTrim(){if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M){return null}else{return this.returnNow()}}parseEscape(){if(this.char in escapes){return this.return(escapes[this.char])}else if(this.char===CHAR_u){return this.call(this.parseSmallUnicode,this.parseUnicodeReturn)}else if(this.char===CHAR_U){return this.call(this.parseLargeUnicode,this.parseUnicodeReturn)}else{throw this.error(new TomlError("Unknown escape character: "+this.char))}}parseUnicodeReturn(e){try{const t=parseInt(e,16);if(t>=SURROGATE_FIRST&&t<=SURROGATE_LAST){throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"))}return this.returnNow(String.fromCodePoint(t))}catch(e){throw this.error(TomlError.wrap(e))}}parseSmallUnicode(){if(!isHexit(this.char)){throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}else{this.consume();if(this.state.buf.length>=4)return this.return()}}parseLargeUnicode(){if(!isHexit(this.char)){throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}else{this.consume();if(this.state.buf.length>=8)return this.return()}}parseNumberSign(){this.consume();return this.next(this.parseMaybeSignedInfOrNan)}parseMaybeSignedInfOrNan(){if(this.char===CHAR_i){return this.next(this.parseInf)}else if(this.char===CHAR_n){return this.next(this.parseNan)}else{return this.callNow(this.parseNoUnder,this.parseNumberIntegerStart)}}parseNumberIntegerStart(){if(this.char===CHAR_0){this.consume();return this.next(this.parseNumberIntegerExponentOrDecimal)}else{return this.goto(this.parseNumberInteger)}}parseNumberIntegerExponentOrDecimal(){if(this.char===CHAR_PERIOD){this.consume();return this.call(this.parseNoUnder,this.parseNumberFloat)}else if(this.char===CHAR_E||this.char===CHAR_e){this.consume();return this.next(this.parseNumberExponentSign)}else{return this.returnNow(Integer(this.state.buf))}}parseNumberInteger(){if(isDigit(this.char)){this.consume()}else if(this.char===CHAR_LOWBAR){return this.call(this.parseNoUnder)}else if(this.char===CHAR_E||this.char===CHAR_e){this.consume();return this.next(this.parseNumberExponentSign)}else if(this.char===CHAR_PERIOD){this.consume();return this.call(this.parseNoUnder,this.parseNumberFloat)}else{const e=Integer(this.state.buf);if(e.isNaN()){throw this.error(new TomlError("Invalid number"))}else{return this.returnNow(e)}}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e){throw this.error(new TomlError("Unexpected character, expected digit"))}else if(this.atEndOfWord()){throw this.error(new TomlError("Incomplete number"))}return this.returnNow()}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD){throw this.error(new TomlError("Unexpected character, expected digit"))}else if(this.atEndOfWord()){throw this.error(new TomlError("Incomplete number"))}return this.returnNow()}parseNumberFloat(){if(this.char===CHAR_LOWBAR){return this.call(this.parseNoUnder,this.parseNumberFloat)}else if(isDigit(this.char)){this.consume()}else if(this.char===CHAR_E||this.char===CHAR_e){this.consume();return this.next(this.parseNumberExponentSign)}else{return this.returnNow(Float(this.state.buf))}}parseNumberExponentSign(){if(isDigit(this.char)){return this.goto(this.parseNumberExponent)}else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS){this.consume();this.call(this.parseNoUnder,this.parseNumberExponent)}else{throw this.error(new TomlError("Unexpected character, expected -, + or digit"))}}parseNumberExponent(){if(isDigit(this.char)){this.consume()}else if(this.char===CHAR_LOWBAR){return this.call(this.parseNoUnder)}else{return this.returnNow(Float(this.state.buf))}}parseNumberOrDateTime(){if(this.char===CHAR_0){this.consume();return this.next(this.parseNumberBaseOrDateTime)}else{return this.goto(this.parseNumberOrDateTimeOnly)}}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR){return this.call(this.parseNoUnder,this.parseNumberInteger)}else if(isDigit(this.char)){this.consume();if(this.state.buf.length>4)this.next(this.parseNumberInteger)}else if(this.char===CHAR_E||this.char===CHAR_e){this.consume();return this.next(this.parseNumberExponentSign)}else if(this.char===CHAR_PERIOD){this.consume();return this.call(this.parseNoUnder,this.parseNumberFloat)}else if(this.char===CHAR_HYPHEN){return this.goto(this.parseDateTime)}else if(this.char===CHAR_COLON){return this.goto(this.parseOnlyTimeHour)}else{return this.returnNow(Integer(this.state.buf))}}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char)){return this.consume()}else if(this.char===CHAR_COLON){return this.goto(this.parseOnlyTimeHour)}else{throw this.error(new TomlError("Expected digit while parsing year part of a date"))}}else{if(this.char===CHAR_HYPHEN){return this.goto(this.parseDateTime)}else{throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"))}}}parseNumberBaseOrDateTime(){if(this.char===CHAR_b){this.consume();return this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin)}else if(this.char===CHAR_o){this.consume();return this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct)}else if(this.char===CHAR_x){this.consume();return this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex)}else if(this.char===CHAR_PERIOD){return this.goto(this.parseNumberInteger)}else if(isDigit(this.char)){return this.goto(this.parseDateTimeOnly)}else{return this.returnNow(Integer(this.state.buf))}}parseIntegerHex(){if(isHexit(this.char)){this.consume()}else if(this.char===CHAR_LOWBAR){return this.call(this.parseNoUnderHexOctBinLiteral)}else{const e=Integer(this.state.buf);if(e.isNaN()){throw this.error(new TomlError("Invalid number"))}else{return this.returnNow(e)}}}parseIntegerOct(){if(isOctit(this.char)){this.consume()}else if(this.char===CHAR_LOWBAR){return this.call(this.parseNoUnderHexOctBinLiteral)}else{const e=Integer(this.state.buf);if(e.isNaN()){throw this.error(new TomlError("Invalid number"))}else{return this.returnNow(e)}}}parseIntegerBin(){if(isBit(this.char)){this.consume()}else if(this.char===CHAR_LOWBAR){return this.call(this.parseNoUnderHexOctBinLiteral)}else{const e=Integer(this.state.buf);if(e.isNaN()){throw this.error(new TomlError("Invalid number"))}else{return this.returnNow(e)}}}parseDateTime(){if(this.state.buf.length<4){throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"))}this.state.result=this.state.buf;this.state.buf="";return this.next(this.parseDateMonth)}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2){throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"))}this.state.result+="-"+this.state.buf;this.state.buf="";return this.next(this.parseDateDay)}else if(isDigit(this.char)){this.consume()}else{throw this.error(new TomlError("Incomplete datetime"))}}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2){throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"))}this.state.result+="-"+this.state.buf;this.state.buf="";return this.next(this.parseStartTimeHour)}else if(this.atEndOfWord()){return this.returnNow(createDate(this.state.result+"-"+this.state.buf))}else if(isDigit(this.char)){this.consume()}else{throw this.error(new TomlError("Incomplete datetime"))}}parseStartTimeHour(){if(this.atEndOfWord()){return this.returnNow(createDate(this.state.result))}else{return this.goto(this.parseTimeHour)}}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2){throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"))}this.state.result+="T"+this.state.buf;this.state.buf="";return this.next(this.parseTimeMin)}else if(isDigit(this.char)){this.consume()}else{throw this.error(new TomlError("Incomplete datetime"))}}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char)){this.consume()}else if(this.state.buf.length===2&&this.char===CHAR_COLON){this.state.result+=":"+this.state.buf;this.state.buf="";return this.next(this.parseTimeSec)}else{throw this.error(new TomlError("Incomplete datetime"))}}parseTimeSec(){if(isDigit(this.char)){this.consume();if(this.state.buf.length===2){this.state.result+=":"+this.state.buf;this.state.buf="";return this.next(this.parseTimeZoneOrFraction)}}else{throw this.error(new TomlError("Incomplete datetime"))}}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2){throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"))}this.state.result=this.state.buf;this.state.buf="";return this.next(this.parseOnlyTimeMin)}else{throw this.error(new TomlError("Incomplete time"))}}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char)){this.consume()}else if(this.state.buf.length===2&&this.char===CHAR_COLON){this.state.result+=":"+this.state.buf;this.state.buf="";return this.next(this.parseOnlyTimeSec)}else{throw this.error(new TomlError("Incomplete time"))}}parseOnlyTimeSec(){if(isDigit(this.char)){this.consume();if(this.state.buf.length===2){return this.next(this.parseOnlyTimeFractionMaybe)}}else{throw this.error(new TomlError("Incomplete time"))}}parseOnlyTimeFractionMaybe(){this.state.result+=":"+this.state.buf;if(this.char===CHAR_PERIOD){this.state.buf="";this.next(this.parseOnlyTimeFraction)}else{return this.return(createTime(this.state.result))}}parseOnlyTimeFraction(){if(isDigit(this.char)){this.consume()}else if(this.atEndOfWord()){if(this.state.buf.length===0)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow(createTime(this.state.result+"."+this.state.buf))}else{throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD){this.consume();this.next(this.parseDateTimeFraction)}else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS){this.consume();this.next(this.parseTimeZoneHour)}else if(this.char===CHAR_Z){this.consume();return this.return(createDateTime(this.state.result+this.state.buf))}else if(this.atEndOfWord()){return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf))}else{throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}parseDateTimeFraction(){if(isDigit(this.char)){this.consume()}else if(this.state.buf.length===1){throw this.error(new TomlError("Expected digit in milliseconds"))}else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS){this.consume();this.next(this.parseTimeZoneHour)}else if(this.char===CHAR_Z){this.consume();return this.return(createDateTime(this.state.result+this.state.buf))}else if(this.atEndOfWord()){return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf))}else{throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}parseTimeZoneHour(){if(isDigit(this.char)){this.consume();if(/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep)}else{throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}}parseTimeZoneSep(){if(this.char===CHAR_COLON){this.consume();this.next(this.parseTimeZoneMin)}else{throw this.error(new TomlError("Unexpected character in datetime, expected colon"))}}parseTimeZoneMin(){if(isDigit(this.char)){this.consume();if(/\d\d$/.test(this.state.buf))return this.return(createDateTime(this.state.result+this.state.buf))}else{throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}}parseBoolean(){if(this.char===CHAR_t){this.consume();return this.next(this.parseTrue_r)}else if(this.char===CHAR_f){this.consume();return this.next(this.parseFalse_a)}}parseTrue_r(){if(this.char===CHAR_r){this.consume();return this.next(this.parseTrue_u)}else{throw this.error(new TomlError("Invalid boolean, expected true or false"))}}parseTrue_u(){if(this.char===CHAR_u){this.consume();return this.next(this.parseTrue_e)}else{throw this.error(new TomlError("Invalid boolean, expected true or false"))}}parseTrue_e(){if(this.char===CHAR_e){return this.return(true)}else{throw this.error(new TomlError("Invalid boolean, expected true or false"))}}parseFalse_a(){if(this.char===CHAR_a){this.consume();return this.next(this.parseFalse_l)}else{throw this.error(new TomlError("Invalid boolean, expected true or false"))}}parseFalse_l(){if(this.char===CHAR_l){this.consume();return this.next(this.parseFalse_s)}else{throw this.error(new TomlError("Invalid boolean, expected true or false"))}}parseFalse_s(){if(this.char===CHAR_s){this.consume();return this.next(this.parseFalse_e)}else{throw this.error(new TomlError("Invalid boolean, expected true or false"))}}parseFalse_e(){if(this.char===CHAR_e){return this.return(false)}else{throw this.error(new TomlError("Invalid boolean, expected true or false"))}}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J){return null}else if(this.char===e.END){throw this.error(new TomlError("Unterminated inline array"))}else if(this.char===CHAR_NUM){return this.call(this.parseComment)}else if(this.char===CHAR_RSQB){return this.return(this.state.resultArr||InlineList())}else{return this.callNow(this.parseValue,this.recordInlineListValue)}}recordInlineListValue(e){if(this.state.resultArr){const t=this.state.resultArr[_contentType];const n=tomlType(e);if(t!==n){throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${t} and ${n}`))}}else{this.state.resultArr=InlineList(tomlType(e))}if(isFloat(e)||isInteger(e)){this.state.resultArr.push(e.valueOf())}else{this.state.resultArr.push(e)}return this.goto(this.parseInlineListNext)}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J){return null}else if(this.char===CHAR_NUM){return this.call(this.parseComment)}else if(this.char===CHAR_COMMA){return this.next(this.parseInlineList)}else if(this.char===CHAR_RSQB){return this.goto(this.parseInlineList)}else{throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I){return null}else if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M){throw this.error(new TomlError("Unterminated inline array"))}else if(this.char===CHAR_RCUB){return this.return(this.state.resultTable||InlineTable())}else{if(!this.state.resultTable)this.state.resultTable=InlineTable();return this.callNow(this.parseAssign,this.recordInlineTableValue)}}recordInlineTableValue(e){let t=this.state.resultTable;let n=e.key.pop();for(let n of e.key){if(hasKey(t,n)&&(!isTable(t[n])||t[n][_declared])){throw this.error(new TomlError("Can't redefine existing key"))}t=t[n]=t[n]||Table()}if(hasKey(t,n)){throw this.error(new TomlError("Can't redefine existing key"))}if(isInteger(e.value)||isFloat(e.value)){t[n]=e.value.valueOf()}else{t[n]=e.value}return this.goto(this.parseInlineTableNext)}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I){return null}else if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M){throw this.error(new TomlError("Unterminated inline array"))}else if(this.char===CHAR_COMMA){return this.next(this.parseInlineTable)}else if(this.char===CHAR_RCUB){return this.goto(this.parseInlineTable)}else{throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}}}return TOMLParser}},1939:(e,t,n)=>{"use strict";e.exports=parseAsync;const i=n(8784);const s=n(7964);function parseAsync(e,t){if(!t)t={};const n=0;const o=t.blocksize||40960;const a=new i;return new Promise(((e,t)=>{setImmediate(parseAsyncNext,n,o,e,t)}));function parseAsyncNext(t,n,i,o){if(t>=e.length){try{return i(a.finish())}catch(t){return o(s(t,e))}}try{a.parse(e.slice(t,t+n));setImmediate(parseAsyncNext,t+n,n,i,o)}catch(t){o(s(t,e))}}}},7964:e=>{"use strict";e.exports=prettyError;function prettyError(e,t){if(e.pos==null||e.line==null)return e;let n=e.message;n+=` at row ${e.line+1}, col ${e.col+1}, pos ${e.pos}:\n`;if(t&&t.split){const i=t.split(/\n/);const s=String(Math.min(i.length,e.line+3)).length;let o=" ";while(o.length "+i[t]+"\n";n+=o+" ";for(let t=0;t{"use strict";e.exports=parseStream;const i=n(2413);const s=n(8784);function parseStream(e){if(e){return parseReadable(e)}else{return parseTransform(e)}}function parseReadable(e){const t=new s;e.setEncoding("utf8");return new Promise(((n,i)=>{let s;let o=false;let a=false;function finish(){o=true;if(s)return;try{n(t.finish())}catch(e){i(e)}}function error(e){a=true;i(e)}e.once("end",finish);e.once("error",error);readNext();function readNext(){s=true;let n;while((n=e.read())!==null){try{t.parse(n)}catch(e){return error(e)}}s=false;if(o)return finish();if(a)return;e.once("readable",readNext)}}))}function parseTransform(){const e=new s;return new i.Transform({objectMode:true,transform(t,n,i){try{e.parse(t.toString(n))}catch(e){this.emit("error",e)}i()},flush(t){try{this.push(e.finish())}catch(e){this.emit("error",e)}t()}})}},5865:(e,t,n)=>{"use strict";e.exports=parseString;const i=n(8784);const s=n(7964);function parseString(e){if(global.Buffer&&global.Buffer.isBuffer(e)){e=e.toString("utf8")}const t=new i;try{t.parse(e);return t.finish()}catch(t){throw s(t,e)}}},3848:(e,t,n)=>{"use strict";e.exports=n(5865);e.exports.async=n(1939);e.exports.stream=n(558);e.exports.prettyError=n(7964)},6303:e=>{"use strict";e.exports=stringify;e.exports.value=stringifyInline;function stringify(e){if(e===null)throw typeError("null");if(e===void 0)throw typeError("undefined");if(typeof e!=="object")throw typeError(typeof e);if(typeof e.toJSON==="function")e=e.toJSON();if(e==null)return null;const t=tomlType(e);if(t!=="table")throw typeError(t);return stringifyObject("","",e)}function typeError(e){return new Error("Can only stringify objects, not "+e)}function arrayOneTypeError(){return new Error("Array values can't have mixed types")}function getInlineKeys(e){return Object.keys(e).filter((t=>isInline(e[t])))}function getComplexKeys(e){return Object.keys(e).filter((t=>!isInline(e[t])))}function toJSON(e){let t=Array.isArray(e)?[]:Object.prototype.hasOwnProperty.call(e,"__proto__")?{["__proto__"]:undefined}:{};for(let n of Object.keys(e)){if(e[n]&&typeof e[n].toJSON==="function"&&!("toISOString"in e[n])){t[n]=e[n].toJSON()}else{t[n]=e[n]}}return t}function stringifyObject(e,t,n){n=toJSON(n);var i;var s;i=getInlineKeys(n);s=getComplexKeys(n);var o=[];var a=t||"";i.forEach((e=>{var t=tomlType(n[e]);if(t!=="undefined"&&t!=="null"){o.push(a+stringifyKey(e)+" = "+stringifyAnyInline(n[e],true))}}));if(o.length>0)o.push("");var l=e&&i.length>0?t+" ":"";s.forEach((t=>{o.push(stringifyComplex(e,l,t,n[t]))}));return o.join("\n")}function isInline(e){switch(tomlType(e)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return true;case"array":return e.length===0||tomlType(e[0])!=="table";case"table":return Object.keys(e).length===0;default:return false}}function tomlType(e){if(e===undefined){return"undefined"}else if(e===null){return"null"}else if(typeof e==="bigint"||Number.isInteger(e)&&!Object.is(e,-0)){return"integer"}else if(typeof e==="number"){return"float"}else if(typeof e==="boolean"){return"boolean"}else if(typeof e==="string"){return"string"}else if("toISOString"in e){return isNaN(e)?"undefined":"datetime"}else if(Array.isArray(e)){return"array"}else{return"table"}}function stringifyKey(e){var t=String(e);if(/^[-A-Za-z0-9_]+$/.test(t)){return t}else{return stringifyBasicString(t)}}function stringifyBasicString(e){return'"'+escapeString(e).replace(/"/g,'\\"')+'"'}function stringifyLiteralString(e){return"'"+e+"'"}function numpad(e,t){while(t.length"\\u"+numpad(4,e.codePointAt(0).toString(16))))}function stringifyMultilineString(e){let t=e.split(/\n/).map((e=>escapeString(e).replace(/"(?="")/g,'\\"'))).join("\n");if(t.slice(-1)==='"')t+="\\\n";return'"""\n'+t+'"""'}function stringifyAnyInline(e,t){let n=tomlType(e);if(n==="string"){if(t&&/\n/.test(e)){n="string-multiline"}else if(!/[\b\t\n\f\r']/.test(e)&&/"/.test(e)){n="string-literal"}}return stringifyInline(e,n)}function stringifyInline(e,t){if(!t)t=tomlType(e);switch(t){case"string-multiline":return stringifyMultilineString(e);case"string":return stringifyBasicString(e);case"string-literal":return stringifyLiteralString(e);case"integer":return stringifyInteger(e);case"float":return stringifyFloat(e);case"boolean":return stringifyBoolean(e);case"datetime":return stringifyDatetime(e);case"array":return stringifyInlineArray(e.filter((e=>tomlType(e)!=="null"&&tomlType(e)!=="undefined"&&tomlType(e)!=="nan")));case"table":return stringifyInlineTable(e);default:throw typeError(t)}}function stringifyInteger(e){return String(e).replace(/\B(?=(\d{3})+(?!\d))/g,"_")}function stringifyFloat(e){if(e===Infinity){return"inf"}else if(e===-Infinity){return"-inf"}else if(Object.is(e,NaN)){return"nan"}else if(Object.is(e,-0)){return"-0.0"}var t=String(e).split(".");var n=t[0];var i=t[1]||0;return stringifyInteger(n)+"."+i}function stringifyBoolean(e){return String(e)}function stringifyDatetime(e){return e.toISOString()}function isNumber(e){return e==="float"||e==="integer"}function arrayType(e){var t=tomlType(e[0]);if(e.every((e=>tomlType(e)===t)))return t;if(e.every((e=>isNumber(tomlType(e)))))return"float";return"mixed"}function validateArray(e){const t=arrayType(e);if(t==="mixed"){throw arrayOneTypeError()}return t}function stringifyInlineArray(e){e=toJSON(e);const t=validateArray(e);var n="[";var i=e.map((e=>stringifyInline(e,t)));if(i.join(", ").length>60||/\n/.test(i)){n+="\n "+i.join(",\n ")+"\n"}else{n+=" "+i.join(", ")+(i.length>0?" ":"")}return n+"]"}function stringifyInlineTable(e){e=toJSON(e);var t=[];Object.keys(e).forEach((n=>{t.push(stringifyKey(n)+" = "+stringifyAnyInline(e[n],false))}));return"{ "+t.join(", ")+(t.length>0?" ":"")+"}"}function stringifyComplex(e,t,n,i){var s=tomlType(i);if(s==="array"){return stringifyArrayOfTables(e,t,n,i)}else if(s==="table"){return stringifyComplexTable(e,t,n,i)}else{throw typeError(s)}}function stringifyArrayOfTables(e,t,n,i){i=toJSON(i);validateArray(i);var s=tomlType(i[0]);if(s!=="table")throw typeError(s);var o=e+stringifyKey(n);var a="";i.forEach((e=>{if(a.length>0)a+="\n";a+=t+"[["+o+"]]\n";a+=stringifyObject(o+".",t,e)}));return a}function stringifyComplexTable(e,t,n,i){var s=e+stringifyKey(n);var o="";if(getInlineKeys(i).length>0){o+=t+"["+s+"]\n"}return o+stringifyObject(s+".",t,i)}},2901:(e,t,n)=>{"use strict";t.parse=n(3848);t.stringify=n(6303)},6235:(e,t,n)=>{"use strict";var i=n(2413).PassThrough;var s=n(2413).Writable;var o=n(1669);o.inherits(Appendee,i);o.inherits(Appender,s);function Appendee(e,t){i.call(this,t);this.factory=e;this.opts=t}Appendee.prototype._flush=function(e){var t=this.factory();t.pipe(new Appender(this,this.opts)).on("finish",e);t.resume()};function Appender(e,t){s.call(this,t);this.target=e}Appender.prototype._write=function(e,t,n){this.target.push(e);n()};function addStream(e,t){t=t||{};var n;if(typeof e==="function"){n=e}else{e.pause();n=function(){return e}}return new Appendee(n,t)}addStream.obj=function(e,t){t=t||{};t.objectMode=true;return addStream(e,t)};e.exports=addStream},8912:e=>{"use strict";e.exports=function(e){return Array.isArray(e)?e:[e]}},3018:e=>{var t=Object.prototype.toString;var n=typeof Buffer!=="undefined"&&typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(e){return t.call(e).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(e,t,i){t>>>=0;var s=e.byteLength-t;if(s<0){throw new RangeError("'offset' is out of bounds")}if(i===undefined){i=s}else{i>>>=0;if(i>s){throw new RangeError("'length' is out of bounds")}}return n?Buffer.from(e.slice(t,t+i)):new Buffer(new Uint8Array(e.slice(t,t+i)))}function fromString(e,t){if(typeof t!=="string"||t===""){t="utf8"}if(!Buffer.isEncoding(t)){throw new TypeError('"encoding" must be a valid string encoding')}return n?Buffer.from(e,t):new Buffer(e,t)}function bufferFrom(e,t,i){if(typeof e==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,t,i)}if(typeof e==="string"){return fromString(e,t)}return n?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},4623:(e,t,n)=>{"use strict";var i=n(8912);var s=n(2042).get;function compareFunc(e){return function(t,n){var o=0;i(e).some((function(e){var i;var a;if(typeof e==="function"){i=e(t);a=e(n)}else if(typeof e==="string"){i=s(t,e);a=s(n,e)}else{i=t;a=n}if(i===a){o=0;return}if(typeof i==="string"&&typeof a==="string"){o=i.localeCompare(a);return o!==0}o=i{var i=n(1642).Writable;var s=n(4124);var o=n(3018);if(typeof Uint8Array==="undefined"){var a=n(5027).U2}else{var a=Uint8Array}function ConcatStream(e,t){if(!(this instanceof ConcatStream))return new ConcatStream(e,t);if(typeof e==="function"){t=e;e={}}if(!e)e={};var n=e.encoding;var s=false;if(!n){s=true}else{n=String(n).toLowerCase();if(n==="u8"||n==="uint8"){n="uint8array"}}i.call(this,{objectMode:true});this.encoding=n;this.shouldInferEncoding=s;if(t)this.on("finish",(function(){t(this.getBody())}));this.body=[]}e.exports=ConcatStream;s(ConcatStream,i);ConcatStream.prototype._write=function(e,t,n){this.body.push(e);n()};ConcatStream.prototype.inferEncoding=function(e){var t=e===undefined?this.body[0]:e;if(Buffer.isBuffer(t))return"buffer";if(typeof Uint8Array!=="undefined"&&t instanceof Uint8Array)return"uint8array";if(Array.isArray(t))return"array";if(typeof t==="string")return"string";if(Object.prototype.toString.call(t)==="[object Object]")return"object";return"buffer"};ConcatStream.prototype.getBody=function(){if(!this.encoding&&this.body.length===0)return[];if(this.shouldInferEncoding)this.encoding=this.inferEncoding();if(this.encoding==="array")return arrayConcat(this.body);if(this.encoding==="string")return stringConcat(this.body);if(this.encoding==="buffer")return bufferConcat(this.body);if(this.encoding==="uint8array")return u8Concat(this.body);return this.body};var l=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"};function isArrayish(e){return/Array\]$/.test(Object.prototype.toString.call(e))}function isBufferish(e){return typeof e==="string"||isArrayish(e)||e&&typeof e.subarray==="function"}function stringConcat(e){var t=[];var n=false;for(var i=0;i{"use strict";const i=n(6172);const s=n(4593);const o=n(8631);e.exports=i.all([s,o]).spread(((e,t)=>({parserOpts:e,writerOpts:t})))},3625:(e,t,n)=>{"use strict";const i=n(4593);e.exports={parserOpts:i,whatBump:e=>{let t=2;let n=0;let i=0;e.forEach((e=>{if(e.notes.length>0){n+=e.notes.length;t=0}else if(e.type==="feat"){i+=1;if(t===2){t=1}}}));return{level:t,reason:n===1?`There is ${n} BREAKING CHANGE and ${i} features`:`There are ${n} BREAKING CHANGES and ${i} features`}}}},8143:(e,t,n)=>{"use strict";const i=n(6172);const s=n(5290);const o=n(4593);const a=n(3625);const l=n(8631);e.exports=i.all([s,o,a,l]).spread(((e,t,n,i)=>({conventionalChangelog:e,parserOpts:t,recommendedBumpOpts:n,writerOpts:i})))},4593:e=>{"use strict";e.exports={headerPattern:/^(\w*)(?:\((.*)\))?: (.*)$/,headerCorrespondence:["type","scope","subject"],noteKeywords:["BREAKING CHANGE"],revertPattern:/^(?:Revert|revert:)\s"?([\s\S]+?)"?\s*This reverts commit (\w*)\./i,revertCorrespondence:["header","hash"]}},8631:(e,t,n)=>{"use strict";const i=n(4623);const s=n(6172);const o=s.denodeify(n(5747).readFile);const a=n(5622).resolve;e.exports=s.all([o(n.ab+"template.hbs","utf-8"),o(n.ab+"header.hbs","utf-8"),o(n.ab+"commit.hbs","utf-8"),o(n.ab+"footer.hbs","utf-8")]).spread(((e,t,n,i)=>{const s=getWriterOpts();s.mainTemplate=e;s.headerPartial=t;s.commitPartial=n;s.footerPartial=i;return s}));function getWriterOpts(){return{transform:(e,t)=>{let n=true;const i=[];e.notes.forEach((e=>{e.title="BREAKING CHANGES";n=false}));if(e.type==="feat"){e.type="Features"}else if(e.type==="fix"){e.type="Bug Fixes"}else if(e.type==="perf"){e.type="Performance Improvements"}else if(e.type==="revert"||e.revert){e.type="Reverts"}else if(n){return}else if(e.type==="docs"){e.type="Documentation"}else if(e.type==="style"){e.type="Styles"}else if(e.type==="refactor"){e.type="Code Refactoring"}else if(e.type==="test"){e.type="Tests"}else if(e.type==="build"){e.type="Build System"}else if(e.type==="ci"){e.type="Continuous Integration"}if(e.scope==="*"){e.scope=""}if(typeof e.hash==="string"){e.shortHash=e.hash.substring(0,7)}if(typeof e.subject==="string"){let n=t.repository?`${t.host}/${t.owner}/${t.repository}`:t.repoUrl;if(n){n=`${n}/issues/`;e.subject=e.subject.replace(/#([0-9]+)/g,((e,t)=>{i.push(t);return`[#${t}](${n}${t})`}))}if(t.host){e.subject=e.subject.replace(/\B@([a-z0-9](?:-?[a-z0-9/]){0,38})/g,((e,n)=>{if(n.includes("/")){return`@${n}`}return`[@${n}](${t.host}/${n})`}))}}e.references=e.references.filter((e=>{if(i.indexOf(e.issue)===-1){return true}return false}));return e},groupBy:"type",commitGroupsSort:"title",commitsSort:["scope","subject"],noteGroupsSort:"title",notesSort:i}}},3064:(e,t,n)=>{"use strict";const i=n(6235);const s=n(9834);const o=n(1655);const a=n(6207);const l=n(250);const u=n(2413);const c=n(8180);const f=n(3129).execFileSync;const p=n(3197);function conventionalChangelog(e,t,n,h,d,m){d=d||{};const g=new u.Readable({objectMode:d.includeDetails});g._read=function(){};let y=false;let v=new u.Readable({objectMode:true});v._read=function(){};function commitsRange(e,t){return s(l.merge({},n,{from:e,to:t})).on("error",(function(e){if(!y){setImmediate(v.emit.bind(v),"error",e);y=true}}))}p(e,t,n,h,d,m).then((function(l){e=l.options;t=l.context;n=l.gitRawCommitsOpts;h=l.parserOpts;d=l.writerOpts;m=l.gitRawExecOpts;try{f("git",["rev-parse","--verify","HEAD"],{stdio:"ignore"});let e=t.gitSemverTags.slice(0).reverse();e.push("HEAD");if(n.from){if(e.indexOf(n.from)!==-1){e=e.slice(e.indexOf(n.from))}else{e=[n.from,"HEAD"]}}let s=e.map(((t,n)=>{const i=n>0?e[n-1]:"";return commitsRange(i,t)}));if(n.from){s=s.splice(1)}if(n.reverse){s.reverse()}s.reduce(((e,t)=>t.pipe(i(e)))).on("data",(function(e){setImmediate(v.emit.bind(v),"data",e)})).on("end",(function(){setImmediate(v.emit.bind(v),"end")}))}catch(e){v=s(n,m)}v.on("error",(function(e){e.message="Error in git-raw-commits: "+e.message;setImmediate(g.emit.bind(g),"error",e)})).pipe(o(h)).on("error",(function(e){e.message="Error in conventional-commits-parser: "+e.message;setImmediate(g.emit.bind(g),"error",e)})).pipe(c.obj((function(t,n,i){try{e.transform.call(this,t,i)}catch(e){i(e)}}))).on("error",(function(e){e.message="Error in options.transform: "+e.message;setImmediate(g.emit.bind(g),"error",e)})).pipe(a(t,d)).on("error",(function(e){e.message="Error in conventional-changelog-writer: "+e.message;setImmediate(g.emit.bind(g),"error",e)})).pipe(c({objectMode:d.includeDetails},(function(e,t,n){try{g.push(e)}catch(e){setImmediate((function(){throw e}))}n()}),(function(e){g.push(null);e()})))})).catch((function(e){setImmediate(g.emit.bind(g),"error",e)}));return g}e.exports=conventionalChangelog},3197:(e,t,n)=>{function __ncc_wildcard$0(e){if(e==="bitbucket.json"||e==="bitbucket")return n(6035);else if(e==="github.json"||e==="github")return n(8560);else if(e==="gitlab.json"||e==="gitlab")return n(130)}"use strict";const i=n(1512);const s=n(854);const o=n(2408);const a=n(3188);const l=n(6172);let u;try{u=n(6452)}catch(e){u=function(){return l.reject(e)}}const c=n(3645);const f=n(5767);const p=n(8835).URL;const h=n(250);const d=/github|bitbucket|gitlab/i;function semverTagsPromise(e){return l.Promise((function(t,n){o({lernaTags:!!e.lernaPackage,package:e.lernaPackage,tagPrefix:e.tagPrefix,skipUnstable:e.skipUnstable},(function(e,i){if(e){n(e)}else{t(i)}}))}))}function guessNextTag(e,t){if(e){if(e[0]==="v"&&t[0]!=="v"){return"v"+t}if(e[0]!=="v"&&t[0]==="v"){return t.replace(/^v/,"")}return t}if(t[0]!=="v"){return"v"+t}return t}function mergeConfig(e,t,n,o,m,g){let y;let v;t=t||{};n=n||{};g=g||{};const b=e&&e.tagPrefix?new RegExp(`tag:\\s*[=]?${e.tagPrefix}(.+?)[,)]`,"gi"):/tag:\s*[v=]?(.+?)[,)]/gi;e=h.merge({pkg:{transform:function(e){return e}},append:false,releaseCount:1,skipUnstable:false,debug:function(){},transform:function(e,t){if(h.isString(e.gitTags)){const t=b.exec(e.gitTags);b.lastIndex=0;if(t){e.version=t[1]}}if(e.committerDate){e.committerDate=i(e.committerDate,"yyyy-mm-dd",true)}t(null,e)},lernaPackage:null},e);e.warn=e.warn||e.debug;if(e.config){if(h.isFunction(e.config)){y=l.nfcall(e.config)}else{y=l(e.config)}}if(e.pkg){if(e.pkg.path){v=l(c(e.pkg.path))}else{v=l(f())}}const w=l(u());return l.allSettled([y,v,semverTagsPromise(e),w]).spread((function(i,l,u,c){let f;let v;let b;let w;let S;let E=[];if(y){if(i.state==="fulfilled"){f=i.value}else{e.warn("Error in config"+i.reason.toString());f={}}}else{f={}}t=h.assign(t,f.context);if(e.pkg){if(l.state==="fulfilled"){if(e.pkg.path){v=l.value}else{v=l.value.pkg||{}}v=e.pkg.transform(v)}else if(e.pkg.path){e.warn(l.reason.toString())}}if((!v||!v.repository||!v.repository.url)&&c.state==="fulfilled"){v=v||{};v.repository=v.repository||{};v.repository.url=c.value;a(v)}if(v){t.version=t.version||v.version;try{w=s(v)}catch(e){w={}}if(w.browse){const e=w.browse();if(!t.host){if(w.domain){const n=new p(e);if(n.origin.indexOf("//")!==-1){t.host=n.protocol+"//"+w.domain}else{t.host=n.protocol+w.domain}}else{t.host=null}}t.owner=t.owner||w.user||"";t.repository=t.repository||w.project;if(w.host&&w.project&&w.user){t.repoUrl=e}else{t.repoUrl=t.host}}t.packageData=v}t.version=t.version||"";if(u.state==="fulfilled"){E=t.gitSemverTags=u.value;b=E[e.releaseCount-1];const n=E[0];if(n===t.version||n==="v"+t.version){if(e.outputUnreleased){t.version="Unreleased"}else{e.outputUnreleased=false}}}if(!h.isBoolean(e.outputUnreleased)){e.outputUnreleased=true}if(t.host&&(!t.issue||!t.commit||!o||!o.referenceActions)){let n;if(t.host){const e=t.host.match(d);if(e){n=e[0]}}else if(w&&w.type){n=w.type}if(n){S=__ncc_wildcard$0(n);t=h.assign({issue:S.issue,commit:S.commit},t)}else{e.warn('Host: "'+t.host+'" does not exist');S={}}}else{S={}}if(t.resetChangelog){b=null}n=h.assign({format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci",from:b,merges:false,debug:e.debug},f.gitRawCommitsOpts,n);if(e.append){n.reverse=n.reverse||true}o=h.assign({},f.parserOpts,{warn:e.warn},o);if(S.referenceActions&&o){o.referenceActions=S.referenceActions}if(h.isEmpty(o.issuePrefixes)&&S.issuePrefixes){o.issuePrefixes=S.issuePrefixes}m=h.assign({finalizeContext:function(t,n,i,s,o){const a=o[0];const l=o[o.length-1];const u=a?a.hash:null;const c=l?l.hash:null;if((!t.currentTag||!t.previousTag)&&s){const n=/tag:\s*(.+?)[,)]/gi.exec(s.gitTags);const i=t.currentTag;t.currentTag=i||n?n[1]:null;const o=E.indexOf(t.currentTag);if(o===-1){t.currentTag=i||null}else{const n=t.previousTag=E[o+1];if(!n){if(e.append){t.previousTag=t.previousTag||u}else{t.previousTag=t.previousTag||c}}}}else{t.previousTag=t.previousTag||E[0];if(t.version==="Unreleased"){if(e.append){t.currentTag=t.currentTag||c}else{t.currentTag=t.currentTag||u}}else if(!t.currentTag){if(e.lernaPackage){t.currentTag=e.lernaPackage+"@"+t.version}else if(e.tagPrefix){t.currentTag=e.tagPrefix+t.version}else{t.currentTag=guessNextTag(E[0],t.version)}}}if(!h.isBoolean(t.linkCompare)&&t.previousTag&&t.currentTag){t.linkCompare=true}return t},debug:e.debug},f.writerOpts,{reverse:e.append,doFlush:e.outputUnreleased},m);return{options:e,context:t,gitRawCommitsOpts:n,parserOpts:o,writerOpts:m,gitRawExecOpts:g}}))}e.exports=mergeConfig},8079:(e,t,n)=>{"use strict";const i=n(5622);e.exports=presetLoader(require);e.exports.presetLoader=presetLoader;function presetLoader(e){return t=>{let n="";let s="";let o="";if(typeof t==="string"){n=t.toLowerCase();if(i.isAbsolute(t)){o=t}}else if(typeof t==="object"&&t.name){n=t.name.toLowerCase();if(i.isAbsolute(t.name)){o=t.name}}else{throw Error("preset must be string or object with key name")}if(!o){if(n[0]==="@"){const e=n.split("/");s=e.shift()+"/";n=e.join("/")}if(!n.startsWith("conventional-changelog-")){n=`conventional-changelog-${n}`}}try{const i=e(o||`${s}${n}`);if(i&&!i.then&&typeof t==="object"){return i(t)}else{return i}}catch(e){throw Error("does not exist")}}}},6207:(e,t,n)=>{"use strict";const i=n(1512);const s=n(5622).join;const o=n(5747).readFileSync;const a=n(725).valid;const l=n(8180);const u=n(8857);const c=n(250);function conventionalChangelogWriterInit(e,t){e=c.extend({commit:"commits",issue:"issues",date:i(new Date,"yyyy-mm-dd",true)},e);if(!c.isBoolean(e.linkReferences)&&(e.repository||e.repoUrl)&&e.commit&&e.issue){e.linkReferences=true}t=c.assign({groupBy:"type",commitsSort:"header",noteGroupsSort:"title",notesSort:"text",generateOn:function(e){return a(e.version)},finalizeContext:function(e){return e},debug:function(){},reverse:false,includeDetails:false,ignoreReverted:true,doFlush:true,mainTemplate:o(n.ab+"template1.hbs","utf-8"),headerPartial:o(n.ab+"header1.hbs","utf-8"),commitPartial:o(n.ab+"commit1.hbs","utf-8"),footerPartial:o(n.ab+"footer1.hbs","utf-8")},t);if(!c.isFunction(t.transform)&&c.isObject(t.transform)||c.isUndefined(t.transform)){t.transform=c.assign({hash:function(e){if(c.isString(e)){return e.substring(0,7)}},header:function(e){return e.substring(0,100)},committerDate:function(e){if(!e){return}return i(e,"yyyy-mm-dd",true)}},t.transform)}let s=t.generateOn;if(c.isString(s)){s=function(e){return!c.isUndefined(e[t.generateOn])}}else if(!c.isFunction(s)){s=function(){return false}}t.commitGroupsSort=u.functionify(t.commitGroupsSort);t.commitsSort=u.functionify(t.commitsSort);t.noteGroupsSort=u.functionify(t.noteGroupsSort);t.notesSort=u.functionify(t.notesSort);return{context:e,options:t,generateOn:s}}function conventionalChangelogWriterParseStream(e,t){let n;({context:e,options:t,generateOn:n}=conventionalChangelogWriterInit(e,t));let i=[];let s=true;let o;let a=true;return l.obj((function(l,c,f){try{let c;const p=u.processCommit(l,t.transform,e);const h=p||l;if(t.reverse){if(p){i.push(p)}if(n(h,i,e,t)){s=false;c=u.generate(t,i,e,h);if(t.includeDetails){this.push({log:c,keyCommit:h})}else{this.push(c)}i=[]}}else{if(n(h,i,e,t)){s=false;c=u.generate(t,i,e,o);if(!a||t.doFlush){if(t.includeDetails){this.push({log:c,keyCommit:o})}else{this.push(c)}}a=false;i=[];o=h}if(p){i.push(p)}}f()}catch(e){f(e)}}),(function(n){if(!t.doFlush&&(t.reverse||s)){n(null);return}try{const s=u.generate(t,i,e,o);if(t.includeDetails){this.push({log:s,keyCommit:o})}else{this.push(s)}n()}catch(e){n(e)}}))}conventionalChangelogWriterParseStream.parseArray=(e,t,n)=>{let i;e=[...e];({context:t,options:n,generateOn:i}=conventionalChangelogWriterInit(t,n));let s=[];let o;if(n.reverse){e.reverse()}const a=[];for(const l of e){const e=u.processCommit(l,n.transform,t);const c=e||l;if(i(c,s,t,n)){a.push(u.generate(n,s,t,o));o=c;s=[]}if(e){s.push(e)}}if(n.reverse){a.reverse();return u.generate(n,s,t,o)+a.join("")}else{return a.join("")+u.generate(n,s,t,o)}};e.exports=conventionalChangelogWriterParseStream},8857:(e,t,n)=>{"use strict";const i=n(5003);const s=n(7492);const o=n(725);const a=n(250);const l=n(7073);function compileTemplates(e){const t=e.mainTemplate;const n=e.headerPartial;const i=e.commitPartial;const o=e.footerPartial;const l=e.partials;if(a.isString(n)){s.registerPartial("header",n)}if(a.isString(i)){s.registerPartial("commit",i)}if(a.isString(o)){s.registerPartial("footer",o)}a.forEach(l,(function(e,t){if(a.isString(e)){s.registerPartial(t,e)}}));return s.compile(t,{noEscape:true})}function functionify(e){if(e&&!a.isFunction(e)){return(t,n)=>{let i="";let s="";if(Array.isArray(e)){for(const o of e){i+=t[o]||"";s+=n[o]||""}}else{i+=t[e];s+=n[e]}return i.localeCompare(s)}}else{return e}}function getCommitGroups(e,t,n,i){const s=[];const o=a.groupBy(t,(function(t){return t[e]||""}));a.forEach(o,(function(e,t){if(t===""){t=false}if(i){e.sort(i)}s.push({title:t,commits:e})}));if(n){s.sort(n)}return s}function getNoteGroups(e,t,n){const i=[];a.forEach(e,(function(e){const t=e.title;let n=false;a.forEach(i,(function(i){if(i.title===t){n=true;i.notes.push(e);return false}}));if(!n){i.push({title:t,notes:[e]})}}));if(t){i.sort(t)}if(n){a.forEach(i,(function(e){e.notes.sort(n)}))}return i}function processCommit(e,t,n){let i;try{e=JSON.parse(e)}catch(e){}i=a.cloneDeep(e);if(a.isFunction(t)){i=t(i,n);if(i){i.raw=e}return i}a.forEach(t,(function(e,t){let n=a.get(i,t);if(a.isFunction(e)){n=e(n,t)}else{n=e}a.set(i,t,n)}));i.raw=e;return i}function getExtraContext(e,t,n){const i={};i.commitGroups=getCommitGroups(n.groupBy,e,n.commitGroupsSort,n.commitsSort);i.noteGroups=getNoteGroups(t,n.noteGroupsSort,n.notesSort);return i}function generate(e,t,n,s){let u=[];let c;const f=compileTemplates(e);if(e.ignoreReverted){c=i(t)}else{c=a.clone(t)}a.forEach(c,(function(e){a.map(e.notes,(function(t){t.commit=e;return t}));u=u.concat(e.notes)}));n=a.merge({},n,s,getExtraContext(c,u,e));if(s&&s.committerDate){n.date=s.committerDate}if(n.version&&o.valid(n.version)){n.isPatch=n.isPatch||o.patch(n.version)!==0}n=e.finalizeContext(n,e,c,s,t);e.debug("Your final context is:\n"+l(n,null,2));return f(n)}e.exports={compileTemplates:compileTemplates,functionify:functionify,getCommitGroups:getCommitGroups,getNoteGroups:getNoteGroups,processCommit:processCommit,getExtraContext:getExtraContext,generate:generate}},725:(e,t)=>{t=e.exports=SemVer;var n;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){n=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{n=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var i=256;var s=Number.MAX_SAFE_INTEGER||9007199254740991;var o=16;var a=t.re=[];var l=t.src=[];var u=t.tokens={};var c=0;function tok(e){u[e]=c++}tok("NUMERICIDENTIFIER");l[u.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");l[u.NUMERICIDENTIFIERLOOSE]="[0-9]+";tok("NONNUMERICIDENTIFIER");l[u.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";tok("MAINVERSION");l[u.MAINVERSION]="("+l[u.NUMERICIDENTIFIER]+")\\."+"("+l[u.NUMERICIDENTIFIER]+")\\."+"("+l[u.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");l[u.MAINVERSIONLOOSE]="("+l[u.NUMERICIDENTIFIERLOOSE]+")\\."+"("+l[u.NUMERICIDENTIFIERLOOSE]+")\\."+"("+l[u.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");l[u.PRERELEASEIDENTIFIER]="(?:"+l[u.NUMERICIDENTIFIER]+"|"+l[u.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");l[u.PRERELEASEIDENTIFIERLOOSE]="(?:"+l[u.NUMERICIDENTIFIERLOOSE]+"|"+l[u.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");l[u.PRERELEASE]="(?:-("+l[u.PRERELEASEIDENTIFIER]+"(?:\\."+l[u.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");l[u.PRERELEASELOOSE]="(?:-?("+l[u.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+l[u.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");l[u.BUILDIDENTIFIER]="[0-9A-Za-z-]+";tok("BUILD");l[u.BUILD]="(?:\\+("+l[u.BUILDIDENTIFIER]+"(?:\\."+l[u.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");l[u.FULLPLAIN]="v?"+l[u.MAINVERSION]+l[u.PRERELEASE]+"?"+l[u.BUILD]+"?";l[u.FULL]="^"+l[u.FULLPLAIN]+"$";tok("LOOSEPLAIN");l[u.LOOSEPLAIN]="[v=\\s]*"+l[u.MAINVERSIONLOOSE]+l[u.PRERELEASELOOSE]+"?"+l[u.BUILD]+"?";tok("LOOSE");l[u.LOOSE]="^"+l[u.LOOSEPLAIN]+"$";tok("GTLT");l[u.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");l[u.XRANGEIDENTIFIERLOOSE]=l[u.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");l[u.XRANGEIDENTIFIER]=l[u.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");l[u.XRANGEPLAIN]="[v=\\s]*("+l[u.XRANGEIDENTIFIER]+")"+"(?:\\.("+l[u.XRANGEIDENTIFIER]+")"+"(?:\\.("+l[u.XRANGEIDENTIFIER]+")"+"(?:"+l[u.PRERELEASE]+")?"+l[u.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");l[u.XRANGEPLAINLOOSE]="[v=\\s]*("+l[u.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+l[u.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+l[u.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+l[u.PRERELEASELOOSE]+")?"+l[u.BUILD]+"?"+")?)?";tok("XRANGE");l[u.XRANGE]="^"+l[u.GTLT]+"\\s*"+l[u.XRANGEPLAIN]+"$";tok("XRANGELOOSE");l[u.XRANGELOOSE]="^"+l[u.GTLT]+"\\s*"+l[u.XRANGEPLAINLOOSE]+"$";tok("COERCE");l[u.COERCE]="(^|[^\\d])"+"(\\d{1,"+o+"})"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");a[u.COERCERTL]=new RegExp(l[u.COERCE],"g");tok("LONETILDE");l[u.LONETILDE]="(?:~>?)";tok("TILDETRIM");l[u.TILDETRIM]="(\\s*)"+l[u.LONETILDE]+"\\s+";a[u.TILDETRIM]=new RegExp(l[u.TILDETRIM],"g");var f="$1~";tok("TILDE");l[u.TILDE]="^"+l[u.LONETILDE]+l[u.XRANGEPLAIN]+"$";tok("TILDELOOSE");l[u.TILDELOOSE]="^"+l[u.LONETILDE]+l[u.XRANGEPLAINLOOSE]+"$";tok("LONECARET");l[u.LONECARET]="(?:\\^)";tok("CARETTRIM");l[u.CARETTRIM]="(\\s*)"+l[u.LONECARET]+"\\s+";a[u.CARETTRIM]=new RegExp(l[u.CARETTRIM],"g");var p="$1^";tok("CARET");l[u.CARET]="^"+l[u.LONECARET]+l[u.XRANGEPLAIN]+"$";tok("CARETLOOSE");l[u.CARETLOOSE]="^"+l[u.LONECARET]+l[u.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");l[u.COMPARATORLOOSE]="^"+l[u.GTLT]+"\\s*("+l[u.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");l[u.COMPARATOR]="^"+l[u.GTLT]+"\\s*("+l[u.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");l[u.COMPARATORTRIM]="(\\s*)"+l[u.GTLT]+"\\s*("+l[u.LOOSEPLAIN]+"|"+l[u.XRANGEPLAIN]+")";a[u.COMPARATORTRIM]=new RegExp(l[u.COMPARATORTRIM],"g");var h="$1$2$3";tok("HYPHENRANGE");l[u.HYPHENRANGE]="^\\s*("+l[u.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+l[u.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");l[u.HYPHENRANGELOOSE]="^\\s*("+l[u.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+l[u.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");l[u.STAR]="(<|>)?=?\\s*\\*";for(var d=0;di){return null}var n=t.loose?a[u.LOOSE]:a[u.FULL];if(!n.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var n=parse(e,t);return n?n.version:null}t.clean=clean;function clean(e,t){var n=parse(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>i){throw new TypeError("version is longer than "+i+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}n("SemVer",e,t);this.options=t;this.loose=!!t.loose;var o=e.trim().match(t.loose?a[u.LOOSE]:a[u.FULL]);if(!o){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+o[1];this.minor=+o[2];this.patch=+o[3];if(this.major>s||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>s||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>s||this.patch<0){throw new TypeError("Invalid patch version")}if(!o[4]){this.prerelease=[]}else{this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[n]==="number"){this.prerelease[n]++;n=-2}}if(n===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,n,i){if(typeof n==="string"){i=n;n=undefined}try{return new SemVer(e,n).inc(t,i).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var n=parse(e);var i=parse(t);var s="";if(n.prerelease.length||i.prerelease.length){s="pre";var o="prerelease"}for(var a in n){if(a==="major"||a==="minor"||a==="patch"){if(n[a]!==i[a]){return s+a}}}return o}}t.compareIdentifiers=compareIdentifiers;var m=/^[0-9]+$/;function compareIdentifiers(e,t){var n=m.test(e);var i=m.test(t);if(n&&i){e=+e;t=+t}return e===t?0:n&&!i?-1:i&&!n?1:e0}t.lt=lt;function lt(e,t,n){return compare(e,t,n)<0}t.eq=eq;function eq(e,t,n){return compare(e,t,n)===0}t.neq=neq;function neq(e,t,n){return compare(e,t,n)!==0}t.gte=gte;function gte(e,t,n){return compare(e,t,n)>=0}t.lte=lte;function lte(e,t,n){return compare(e,t,n)<=0}t.cmp=cmp;function cmp(e,t,n,i){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e===n;case"!==":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e!==n;case"":case"=":case"==":return eq(e,n,i);case"!=":return neq(e,n,i);case">":return gt(e,n,i);case">=":return gte(e,n,i);case"<":return lt(e,n,i);case"<=":return lte(e,n,i);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}n("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===g){this.value=""}else{this.value=this.operator+this.semver.version}n("comp",this)}var g={};Comparator.prototype.parse=function(e){var t=this.options.loose?a[u.COMPARATORLOOSE]:a[u.COMPARATOR];var n=e.match(t);if(!n){throw new TypeError("Invalid comparator: "+e)}this.operator=n[1]!==undefined?n[1]:"";if(this.operator==="="){this.operator=""}if(!n[2]){this.semver=g}else{this.semver=new SemVer(n[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){n("Comparator.test",e,this.options.loose);if(this.semver===g||e===g){return true}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var n;if(this.operator===""){if(this.value===""){return true}n=new Range(e.value,t);return satisfies(this.value,n,t)}else if(e.operator===""){if(e.value===""){return true}n=new Range(this.value,t);return satisfies(e.semver,n,t)}var i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var s=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var o=this.semver.version===e.semver.version;var a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var l=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var u=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return i||s||o&&a||l||u};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var i=t?a[u.HYPHENRANGELOOSE]:a[u.HYPHENRANGE];e=e.replace(i,hyphenReplace);n("hyphen replace",e);e=e.replace(a[u.COMPARATORTRIM],h);n("comparator trim",e,a[u.COMPARATORTRIM]);e=e.replace(a[u.TILDETRIM],f);e=e.replace(a[u.CARETTRIM],p);e=e.split(/\s+/).join(" ");var s=t?a[u.COMPARATORLOOSE]:a[u.COMPARATOR];var o=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){o=o.filter((function(e){return!!e.match(s)}))}o=o.map((function(e){return new Comparator(e,this.options)}),this);return o};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(n){return isSatisfiable(n,t)&&e.set.some((function(e){return isSatisfiable(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))};function isSatisfiable(e,t){var n=true;var i=e.slice();var s=i.pop();while(n&&i.length){n=i.every((function(e){return s.intersects(e,t)}));s=i.pop()}return n}t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,t){n("comp",e,t);e=replaceCarets(e,t);n("caret",e);e=replaceTildes(e,t);n("tildes",e);e=replaceXRanges(e,t);n("xrange",e);e=replaceStars(e,t);n("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,t)})).join(" ")}function replaceTilde(e,t){var i=t.loose?a[u.TILDELOOSE]:a[u.TILDE];return e.replace(i,(function(t,i,s,o,a){n("tilde",e,t,i,s,o,a);var l;if(isX(i)){l=""}else if(isX(s)){l=">="+i+".0.0 <"+(+i+1)+".0.0"}else if(isX(o)){l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0"}else if(a){n("replaceTilde pr",a);l=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+(+s+1)+".0"}else{l=">="+i+"."+s+"."+o+" <"+i+"."+(+s+1)+".0"}n("tilde return",l);return l}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){n("caret",e,t);var i=t.loose?a[u.CARETLOOSE]:a[u.CARET];return e.replace(i,(function(t,i,s,o,a){n("caret",e,t,i,s,o,a);var l;if(isX(i)){l=""}else if(isX(s)){l=">="+i+".0.0 <"+(+i+1)+".0.0"}else if(isX(o)){if(i==="0"){l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0"}else{l=">="+i+"."+s+".0 <"+(+i+1)+".0.0"}}else if(a){n("replaceCaret pr",a);if(i==="0"){if(s==="0"){l=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+s+"."+(+o+1)}else{l=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+(+s+1)+".0"}}else{l=">="+i+"."+s+"."+o+"-"+a+" <"+(+i+1)+".0.0"}}else{n("no pr");if(i==="0"){if(s==="0"){l=">="+i+"."+s+"."+o+" <"+i+"."+s+"."+(+o+1)}else{l=">="+i+"."+s+"."+o+" <"+i+"."+(+s+1)+".0"}}else{l=">="+i+"."+s+"."+o+" <"+(+i+1)+".0.0"}}n("caret return",l);return l}))}function replaceXRanges(e,t){n("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var i=t.loose?a[u.XRANGELOOSE]:a[u.XRANGE];return e.replace(i,(function(i,s,o,a,l,u){n("xRange",e,i,s,o,a,l,u);var c=isX(o);var f=c||isX(a);var p=f||isX(l);var h=p;if(s==="="&&h){s=""}u=t.includePrerelease?"-0":"";if(c){if(s===">"||s==="<"){i="<0.0.0-0"}else{i="*"}}else if(s&&h){if(f){a=0}l=0;if(s===">"){s=">=";if(f){o=+o+1;a=0;l=0}else{a=+a+1;l=0}}else if(s==="<="){s="<";if(f){o=+o+1}else{a=+a+1}}i=s+o+"."+a+"."+l+u}else if(f){i=">="+o+".0.0"+u+" <"+(+o+1)+".0.0"+u}else if(p){i=">="+o+"."+a+".0"+u+" <"+o+"."+(+a+1)+".0"+u}n("xRange return",i);return i}))}function replaceStars(e,t){n("replaceStars",e,t);return e.trim().replace(a[u.STAR],"")}function hyphenReplace(e,t,n,i,s,o,a,l,u,c,f,p,h){if(isX(n)){t=""}else if(isX(i)){t=">="+n+".0.0"}else if(isX(s)){t=">="+n+"."+i+".0"}else{t=">="+t}if(isX(u)){l=""}else if(isX(c)){l="<"+(+u+1)+".0.0"}else if(isX(f)){l="<"+u+"."+(+c+1)+".0"}else if(p){l="<="+u+"."+c+"."+f+"-"+p}else{l="<="+l}return(t+" "+l).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}for(var t=0;t0){var o=e[s].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,n){try{t=new Range(t,n)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,n){var i=null;var s=null;try{var o=new Range(t,n)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!i||s.compare(e)===-1){i=e;s=new SemVer(i,n)}}}));return i}t.minSatisfying=minSatisfying;function minSatisfying(e,t,n){var i=null;var s=null;try{var o=new Range(t,n)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!i||s.compare(e)===1){i=e;s=new SemVer(i,n)}}}));return i}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var n=new SemVer("0.0.0");if(e.test(n)){return n}n=new SemVer("0.0.0-0");if(e.test(n)){return n}n=null;for(var i=0;i":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!n||gt(n,t)){n=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(n&&e.test(n)){return n}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,n){return outside(e,t,"<",n)}t.gtr=gtr;function gtr(e,t,n){return outside(e,t,">",n)}t.outside=outside;function outside(e,t,n,i){e=new SemVer(e,i);t=new Range(t,i);var s,o,a,l,u;switch(n){case">":s=gt;o=lte;a=lt;l=">";u=">=";break;case"<":s=lt;o=gte;a=gt;l="<";u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,i)){return false}for(var c=0;c=0.0.0")}p=p||e;h=h||e;if(s(e.semver,p.semver,i)){p=e}else if(a(e.semver,h.semver,i)){h=e}}));if(p.operator===l||p.operator===u){return false}if((!h.operator||h.operator===l)&&o(e,h.semver)){return false}else if(h.operator===u&&a(e,h.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var n=parse(e,t);return n&&n.prerelease.length?n.prerelease:null}t.intersects=intersects;function intersects(e,t,n){e=new Range(e,n);t=new Range(t,n);return e.intersects(t)}t.coerce=coerce;function coerce(e,t){if(e instanceof SemVer){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};var n=null;if(!t.rtl){n=e.match(a[u.COERCE])}else{var i;while((i=a[u.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length)){if(!n||i.index+i[0].length!==n.index+n[0].length){n=i}a[u.COERCERTL].lastIndex=i.index+i[1].length+i[2].length}a[u.COERCERTL].lastIndex=-1}if(n===null){return null}return parse(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}},9461:(e,t,n)=>{"use strict";const i=n(3064);const s=n(8079);function conventionalChangelog(e,t,n,o,a){e.warn=e.warn||function(){};if(e.preset){try{e.config=s(e.preset)}catch(t){if(typeof e.preset==="object"){e.warn(`Preset: "${e.preset.name}" ${t.message}`)}else if(typeof e.preset==="string"){e.warn(`Preset: "${e.preset}" ${t.message}`)}else{e.warn(`Preset: ${t.message}`)}}}return i(e,t,n,o,a)}e.exports=conventionalChangelog},5003:(e,t,n)=>{"use strict";const i=n(5100);const s=n(3432);function modifyValue(e){if(typeof e==="string"){return e.trim()}return e}function conventionalCommitsFilter(e){if(!Array.isArray(e)){throw new TypeError("Expected an array")}let t=[];const n=[];const o=[];e.forEach((function(e){if(e.revert){n.push(e)}t.push(e)}));t=t.filter((function(e){let t=false;e=e.raw?s(e.raw,modifyValue):s(e,modifyValue);n.some((function(n){const a=s(n.revert,modifyValue);t=i(e,a);if(t){o.push(n.hash)}return t}));return!t}));t=t.filter((function(e){return o.indexOf(e.hash)!==0}));return t}e.exports=conventionalCommitsFilter},1655:(e,t,n)=>{"use strict";const i=n(1080);const s=n(1411);const o=n(8180);const a=n(250);function assignOpts(e){e=a.extend({headerPattern:/^(\w*)(?:\(([\w$.\-*/ ]*)\))?: (.*)$/,headerCorrespondence:["type","scope","subject"],referenceActions:["close","closes","closed","fix","fixes","fixed","resolve","resolves","resolved"],issuePrefixes:["#"],noteKeywords:["BREAKING CHANGE"],fieldPattern:/^-(.*?)-$/,revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,revertCorrespondence:["header","hash"],warn:function(){},mergePattern:null,mergeCorrespondence:null},e);if(typeof e.headerPattern==="string"){e.headerPattern=new RegExp(e.headerPattern)}if(typeof e.headerCorrespondence==="string"){e.headerCorrespondence=e.headerCorrespondence.split(",")}if(typeof e.referenceActions==="string"){e.referenceActions=e.referenceActions.split(",")}if(typeof e.issuePrefixes==="string"){e.issuePrefixes=e.issuePrefixes.split(",")}if(typeof e.noteKeywords==="string"){e.noteKeywords=e.noteKeywords.split(",")}if(typeof e.fieldPattern==="string"){e.fieldPattern=new RegExp(e.fieldPattern)}if(typeof e.revertPattern==="string"){e.revertPattern=new RegExp(e.revertPattern)}if(typeof e.revertCorrespondence==="string"){e.revertCorrespondence=e.revertCorrespondence.split(",")}if(typeof e.mergePattern==="string"){e.mergePattern=new RegExp(e.mergePattern)}return e}function conventionalCommitsParser(e){e=assignOpts(e);const t=s(e);return o.obj((function(n,s,o){let a;try{a=i(n.toString(),e,t);o(null,a)}catch(t){if(e.warn===true){o(t)}else{e.warn(t.toString());o(null,"")}}}))}function sync(e,t){t=assignOpts(t);const n=s(t);return i(e,t,n)}e.exports=conventionalCommitsParser;e.exports.sync=sync},1080:(e,t,n)=>{"use strict";const i=n(250);const s=/()(.+)/gi;const o="# ------------------------ >8 ------------------------";function trimOffNewlines(e){return e.replace(/^(?:\r|\n)+|(?:\r|\n)+$/g,"")}function append(e,t){if(e){e+="\n"+t}else{e=t}return e}function getCommentFilter(e){return function(t){return t.charAt(0)!==e}}function truncateToScissor(e){const t=e.indexOf(o);if(t===-1){return e}return e.slice(0,t)}function getReferences(e,t){const n=[];let i;let o;const a=e.match(t.references)!==null?t.references:s;while(i=a.exec(e)){const e=i[1]||null;const s=i[2];while(o=t.referenceParts.exec(s)){let t=null;let i=o[1]||"";const s=i.split("/");if(s.length>1){t=s.shift();i=s.join("/")}const a={action:e,owner:t,repository:i||null,issue:o[3],raw:o[0],prefix:o[2]};n.push(a)}}return n}function passTrough(){return true}function parser(e,t,n){if(!e||!e.trim()){throw new TypeError("Expected a raw commit")}if(i.isEmpty(t)){throw new TypeError("Expected options")}if(i.isEmpty(n)){throw new TypeError("Expected regex")}let s;let o;const a={};const l=typeof t.commentChar==="string"?getCommentFilter(t.commentChar):passTrough;const gpgFilter=e=>!e.match(/^\s*gpg:/);const u=trimOffNewlines(e).split(/\r?\n/);const c=truncateToScissor(u).filter(l).filter(gpgFilter);let f=false;let p=true;const h=i.map(t.headerCorrespondence,(function(e){return e.trim()}));const d=i.map(t.revertCorrespondence,(function(e){return e.trim()}));const m=i.map(t.mergeCorrespondence,(function(e){return e.trim()}));let g=null;let y=null;let v=null;const b=[];let w=null;const S=[];const E=[];let _=null;if(c.length===0){return{body:g,footer:y,header:v,mentions:b,merge:w,notes:S,references:E,revert:_,scope:null,subject:null,type:null}}w=c.shift();const O={};const R={};g="";y="";const C=w.match(t.mergePattern);if(C&&t.mergePattern){w=C[0];v=c.shift();while(v!==undefined&&!v.trim()){v=c.shift()}if(!v){v=""}i.forEach(m,(function(e,t){const n=C[t+1]||null;O[e]=n}))}else{v=w;w=null;i.forEach(m,(function(e){O[e]=null}))}const A=v.match(t.headerPattern);if(A){i.forEach(h,(function(e,t){const n=A[t+1]||null;R[e]=n}))}else{i.forEach(h,(function(e){R[e]=null}))}Array.prototype.push.apply(E,getReferences(v,{references:n.references,referenceParts:n.referenceParts}));i.forEach(c,(function(e){if(t.fieldPattern){const n=t.fieldPattern.exec(e);if(n){s=n[1];return}if(s){a[s]=append(a[s],e);return}}let i;const o=e.match(n.notes);if(o){f=true;p=false;y=append(y,e);const t={title:o[1],text:o[2]};S.push(t);return}const l=getReferences(e,{references:n.references,referenceParts:n.referenceParts});if(l.length>0){p=false;i=true;f=false}Array.prototype.push.apply(E,l);if(i){y=append(y,e);return}if(f){S[S.length-1].text=append(S[S.length-1].text,e);y=append(y,e);return}if(p){g=append(g,e)}else{y=append(y,e)}}));if(t.breakingHeaderPattern&&S.length===0){const e=v.match(t.breakingHeaderPattern);if(e){const t=e[3];S.push({title:"BREAKING CHANGE",text:t})}}while(o=n.mentions.exec(e)){b.push(o[1])}const L=e.match(t.revertPattern);if(L){_={};i.forEach(d,(function(e,t){const n=L[t+1]||null;_[e]=n}))}else{_=null}i.map(S,(function(e){e.text=trimOffNewlines(e.text);return e}));const x=i.merge(R,O,{merge:w,header:v,body:g?trimOffNewlines(g):null,footer:y?trimOffNewlines(y):null,notes:S,references:E,mentions:b,revert:_},a);return x}e.exports=parser},1411:e=>{"use strict";const t=/(?!.*)/;function join(e,t){return e.map((function(e){return e.trim()})).filter((function(e){return e.length})).join(t)}function getNotesRegex(e,n){if(!e){return t}const i=join(e,"|");if(!n){return new RegExp("^[\\s|*]*("+i+")[:\\s]+(.*)","i")}return n(i)}function getReferencePartsRegex(e,n){if(!e){return t}const i=n?"g":"gi";return new RegExp("(?:.*?)??\\s*([\\w-\\.\\/]*?)??("+join(e,"|")+")([\\w-]*\\d+)",i)}function getReferencesRegex(e){if(!e){return/()(.+)/gi}const t=join(e,"|");return new RegExp("("+t+")(?:\\s+(.*?))(?=(?:"+t+")|$)","gi")}e.exports=function(e){e=e||{};const t=getNotesRegex(e.noteKeywords,e.notesPattern);const n=getReferencePartsRegex(e.issuePrefixes,e.issuePrefixesCaseSensitive);const i=getReferencesRegex(e.referenceActions);return{notes:t,referenceParts:n,references:i,mentions:/@([\w-]+)/g}}},7011:(e,t,n)=>{"use strict";const i=n(5107);const s=n(5003);const o=n(1655);const a=n(8079);const l=n(2408);const u=n(9834);const c=n(2626);const f=["major","minor","patch"];e.exports=conventionalRecommendedBump;function conventionalRecommendedBump(e,t,n){if(typeof e!=="object"){throw new Error("The 'options' argument must be an object.")}const p=Object.assign({ignoreReverted:true},e);const h=typeof t==="function"?t:n;if(typeof h!=="function"){throw new Error("You must provide a callback function.")}let d=p.config||{};if(p.preset){try{d=a(p.preset)}catch(e){if(e.message==="does not exist"){const e=typeof p.preset==="object"?p.preset.name:p.preset;return h(new Error(`Unable to load the "${e}" preset package. Please make sure it's installed.`))}else{return h(e)}}}c(d).then((e=>{const n=p.whatBump||(e.recommendedBumpOpts&&e.recommendedBumpOpts.whatBump?e.recommendedBumpOpts.whatBump:noop);if(typeof n!=="function"){throw Error("whatBump must be a function")}const a=Object.assign({},e.recommendedBumpOpts&&e.recommendedBumpOpts.parserOpts?e.recommendedBumpOpts.parserOpts:e.parserOpts,t);const c=typeof a.warn==="function"?a.warn:noop;l({lernaTags:!!p.lernaPackage,package:p.lernaPackage,tagPrefix:p.tagPrefix,skipUnstable:p.skipUnstable},((e,t)=>{if(e){return h(e)}u({format:"%B%n-hash-%n%H",from:t[0]||"",path:p.path}).pipe(o(a)).pipe(i((e=>{const t=p.ignoreReverted?s(e):e;if(!t||!t.length){c("No commits since last release")}let i=n(t,p);if(i&&i.level!=null){i.releaseType=f[i.level]}else if(i==null){i={}}h(null,i)})))}))})).catch((e=>h(e)))}function noop(){}},2626:(e,t,n)=>{"use strict";const i=n(6172);e.exports=presetResolver;function presetResolver(e){return i.resolve().then((()=>{if(typeof e==="function"){return i.nfcall(e)}if(typeof e==="object"){return i(e)}throw new Error("preset package must be a promise, function, or object")}))}},2720:e=>{"use strict";const match=(e,t)=>e.some((e=>e instanceof RegExp?e.test(t):e===t));const dargs=(e,t)=>{const n=[];let i=[];let s=[];t={useEquals:true,shortFlag:true,...t};const makeArguments=(e,i)=>{const s=t.shortFlag&&e.length===1?"-":"--";const o=t.allowCamelCase?e:e.replace(/[A-Z]/g,"-$&").toLowerCase();e=s+o;if(t.useEquals){n.push(e+(i?`=${i}`:""))}else{n.push(e);if(i){n.push(i)}}};const makeAliasArg=(e,t)=>{n.push(`-${e}`);if(t){n.push(t)}};for(let[n,o]of Object.entries(e)){let e=makeArguments;if(Array.isArray(t.excludes)&&match(t.excludes,n)){continue}if(Array.isArray(t.includes)&&!match(t.includes,n)){continue}if(typeof t.aliases==="object"&&t.aliases[n]){n=t.aliases[n];e=makeAliasArg}if(n==="--"){if(!Array.isArray(o)){throw new TypeError(`Expected key \`--\` to be Array, got ${typeof o}`)}s=o;continue}if(n==="_"){if(!Array.isArray(o)){throw new TypeError(`Expected key \`_\` to be Array, got ${typeof o}`)}i=o;continue}if(o===true){e(n,"")}if(o===false&&!t.ignoreFalse){e(`no-${n}`)}if(typeof o==="string"){e(n,o)}if(typeof o==="number"&&!Number.isNaN(o)){e(n,String(o))}if(Array.isArray(o)){for(const t of o){e(n,t)}}}for(const e of i){n.push(String(e))}if(s.length>0){n.push("--")}for(const e of s){n.push(String(e))}return n};e.exports=dargs},1512:function(e){(function(t){"use strict";var n=function(){var e=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g;var t=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g;var i=/[^-+\dA-Z]/g;return function(s,o,a,l){if(arguments.length===1&&kindOf(s)==="string"&&!/\d/.test(s)){o=s;s=undefined}s=s||new Date;if(!(s instanceof Date)){s=new Date(s)}if(isNaN(s)){throw TypeError("Invalid date")}o=String(n.masks[o]||o||n.masks["default"]);var u=o.slice(0,4);if(u==="UTC:"||u==="GMT:"){o=o.slice(4);a=true;if(u==="GMT:"){l=true}}var c=a?"getUTC":"get";var f=s[c+"Date"]();var p=s[c+"Day"]();var h=s[c+"Month"]();var d=s[c+"FullYear"]();var m=s[c+"Hours"]();var g=s[c+"Minutes"]();var y=s[c+"Seconds"]();var v=s[c+"Milliseconds"]();var b=a?0:s.getTimezoneOffset();var w=getWeek(s);var S=getDayOfWeek(s);var E={d:f,dd:pad(f),ddd:n.i18n.dayNames[p],dddd:n.i18n.dayNames[p+7],m:h+1,mm:pad(h+1),mmm:n.i18n.monthNames[h],mmmm:n.i18n.monthNames[h+12],yy:String(d).slice(2),yyyy:d,h:m%12||12,hh:pad(m%12||12),H:m,HH:pad(m),M:g,MM:pad(g),s:y,ss:pad(y),l:pad(v,3),L:pad(Math.round(v/10)),t:m<12?n.i18n.timeNames[0]:n.i18n.timeNames[1],tt:m<12?n.i18n.timeNames[2]:n.i18n.timeNames[3],T:m<12?n.i18n.timeNames[4]:n.i18n.timeNames[5],TT:m<12?n.i18n.timeNames[6]:n.i18n.timeNames[7],Z:l?"GMT":a?"UTC":(String(s).match(t)||[""]).pop().replace(i,""),o:(b>0?"-":"+")+pad(Math.floor(Math.abs(b)/60)*100+Math.abs(b)%60,4),S:["th","st","nd","rd"][f%10>3?0:(f%100-f%10!=10)*f%10],W:w,N:S};return o.replace(e,(function(e){if(e in E){return E[e]}return e.slice(1,e.length-1)}))}}();n.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"};n.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]};function pad(e,t){e=String(e);t=t||2;while(e.length{"use strict";const i=n(1389);const s=["__proto__","prototype","constructor"];const isValidPath=e=>!e.some((e=>s.includes(e)));function getPathSegments(e){const t=e.split(".");const n=[];for(let e=0;e{"use strict";var i=n(1669);var s=n(7604);var o=function errorEx(e,t){if(!e||e.constructor!==String){t=e||{};e=Error.name}var n=function ErrorEXError(i){if(!this){return new ErrorEXError(i)}i=i instanceof Error?i.message:i||this.message;Error.call(this,i);Error.captureStackTrace(this,n);this.name=e;Object.defineProperty(this,"message",{configurable:true,enumerable:false,get:function(){var e=i.split(/\r?\n/g);for(var n in t){if(!t.hasOwnProperty(n)){continue}var o=t[n];if("message"in o){e=o.message(this[n],e)||e;if(!s(e)){e=[e]}}}return e.join("\n")},set:function(e){i=e}});var o=null;var a=Object.getOwnPropertyDescriptor(this,"stack");var l=a.get;var u=a.value;delete a.value;delete a.writable;a.set=function(e){o=e};a.get=function(){var e=(o||(l?l.call(this):u)).split(/\r?\n+/g);if(!o){e[0]=this.name+": "+this.message}var n=1;for(var i in t){if(!t.hasOwnProperty(i)){continue}var s=t[i];if("line"in s){var a=s.line(this[i]);if(a){e.splice(n++,0," "+a)}}if("stack"in s){s.stack(this[i],e)}}return e.join("\n")};Object.defineProperty(this,"stack",a)};if(Object.setPrototypeOf){Object.setPrototypeOf(n.prototype,Error.prototype);Object.setPrototypeOf(n,Error)}else{i.inherits(n,Error)}return n};o.append=function(e,t){return{message:function(n,i){n=n||t;if(n){i[0]+=" "+e.replace("%s",n.toString())}return i}}};o.line=function(e,t){return{line:function(n){n=n||t;if(n){return e.replace("%s",n.toString())}return null}}};e.exports=o},9320:e=>{"use strict";var t="Function.prototype.bind called on incompatible ";var n=Array.prototype.slice;var i=Object.prototype.toString;var s="[object Function]";e.exports=function bind(e){var o=this;if(typeof o!=="function"||i.call(o)!==s){throw new TypeError(t+o)}var a=n.call(arguments,1);var l;var binder=function(){if(this instanceof l){var t=o.apply(this,a.concat(n.call(arguments)));if(Object(t)===t){return t}return this}else{return o.apply(e,a.concat(n.call(arguments)))}};var u=Math.max(0,o.length-a.length);var c=[];for(var f=0;f{"use strict";var i=n(9320);e.exports=Function.prototype.bind||i},854:(e,t,n)=>{"use strict";const i=n(8869);const s=n(922);e.exports=e=>{if(!e||!e.repository||typeof e.repository!=="string"&&!e.repository.url){throw new Error(`No valid "repository" data found in package metadata. Please see https://docs.npmjs.com/files/package.json#repository for proper syntax.`)}const t=typeof e.repository==="string"?e.repository:e.repository.url;return i.fromUrl(t)||s(t)}},9834:(e,t,n)=>{"use strict";const i=n(2720);const s=n(3129).execFile;const o=n(5e3);const a=n(2413);const l=n(5762);const u=n(8180);const c="------------------------ >8 ------------------------";function normalizeExecOpts(e){e=e||{};e.cwd=e.cwd||process.cwd();return e}function normalizeGitOpts(e){e=e||{};e.format=e.format||"%B";e.from=e.from||"";e.to=e.to||"HEAD";return e}function getGitArgs(e){const t=l("--format=<%= format %>%n"+c)(e);const n=[e.from,e.to].filter(Boolean).join("..");const s=["log",t,n];if(e.path){s.push("--",e.path)}return s.concat(i(e,{excludes:["debug","from","to","format","path"]}))}function gitRawCommits(e,t){const n=new a.Readable;n._read=function(){};const i=normalizeGitOpts(e);const l=normalizeExecOpts(t);const f=getGitArgs(i);if(i.debug){i.debug("Your git-log command is:\ngit "+f.join(" "))}let p=false;const h=s("git",f,{cwd:l.cwd,maxBuffer:Infinity});h.stdout.pipe(o(c+"\n")).pipe(u((function(e,t,i){n.push(e);p=false;i()}),(function(e){setImmediate((function(){if(!p){n.push(null);n.emit("close")}e()}))})));h.stderr.pipe(u.obj((function(e){p=true;n.emit("error",new Error(e));n.emit("close")})));return n}e.exports=gitRawCommits},6452:(e,t,n)=>{"use strict";const i=n(5838);const s=n(4810);e.exports=e=>s(i)(e||process.cwd()).then((e=>{var t=e.remote&&e.remote.origin&&e.remote.origin.url;if(!t){throw new Error("Couldn't find origin url")}return t}))},2408:(e,t,n)=>{"use strict";const i=n(1765);const s=n(3129).exec;const o=n(6298).valid;const a=/tag:\s*(.+?)[,)]/gi;const l="git log --decorate --no-color";const u=/.+-\w+\.\d+$/;function lernaTag(e,t){if(t&&!new RegExp("^"+t+"@").test(e)){return false}else{return/^.+@[0-9]+\.[0-9]+\.[0-9]+(-.+)?$/.test(e)}}e.exports=function gitSemverTags(e,t){if(typeof e==="function"){t=e;e={}}const n=Object.assign({maxBuffer:Infinity,cwd:i.cwd()},e);if(n.package&&!n.lernaTags){t(new Error("opts.package should only be used when running in lerna mode"));return}s(l,n,(function(e,i){if(e){t(e);return}const s=[];let l;if(n.tagPrefix){l=new RegExp("^"+n.tagPrefix+"(.*)")}i.split("\n").forEach((function(e){let t;while(t=a.exec(e)){const e=t[1];if(n.skipUnstable&&u.test(e)){continue}if(n.lernaTags){if(lernaTag(e,n.package)){s.push(e)}}else if(n.tagPrefix){const t=e.match(l);if(t&&o(t[1])){s.push(e)}}else if(o(e)){s.push(e)}}}));t(null,s)}))}},6298:(e,t)=>{t=e.exports=SemVer;var n;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){n=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{n=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var i=256;var s=Number.MAX_SAFE_INTEGER||9007199254740991;var o=16;var a=t.re=[];var l=t.src=[];var u=t.tokens={};var c=0;function tok(e){u[e]=c++}tok("NUMERICIDENTIFIER");l[u.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");l[u.NUMERICIDENTIFIERLOOSE]="[0-9]+";tok("NONNUMERICIDENTIFIER");l[u.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";tok("MAINVERSION");l[u.MAINVERSION]="("+l[u.NUMERICIDENTIFIER]+")\\."+"("+l[u.NUMERICIDENTIFIER]+")\\."+"("+l[u.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");l[u.MAINVERSIONLOOSE]="("+l[u.NUMERICIDENTIFIERLOOSE]+")\\."+"("+l[u.NUMERICIDENTIFIERLOOSE]+")\\."+"("+l[u.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");l[u.PRERELEASEIDENTIFIER]="(?:"+l[u.NUMERICIDENTIFIER]+"|"+l[u.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");l[u.PRERELEASEIDENTIFIERLOOSE]="(?:"+l[u.NUMERICIDENTIFIERLOOSE]+"|"+l[u.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");l[u.PRERELEASE]="(?:-("+l[u.PRERELEASEIDENTIFIER]+"(?:\\."+l[u.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");l[u.PRERELEASELOOSE]="(?:-?("+l[u.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+l[u.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");l[u.BUILDIDENTIFIER]="[0-9A-Za-z-]+";tok("BUILD");l[u.BUILD]="(?:\\+("+l[u.BUILDIDENTIFIER]+"(?:\\."+l[u.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");l[u.FULLPLAIN]="v?"+l[u.MAINVERSION]+l[u.PRERELEASE]+"?"+l[u.BUILD]+"?";l[u.FULL]="^"+l[u.FULLPLAIN]+"$";tok("LOOSEPLAIN");l[u.LOOSEPLAIN]="[v=\\s]*"+l[u.MAINVERSIONLOOSE]+l[u.PRERELEASELOOSE]+"?"+l[u.BUILD]+"?";tok("LOOSE");l[u.LOOSE]="^"+l[u.LOOSEPLAIN]+"$";tok("GTLT");l[u.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");l[u.XRANGEIDENTIFIERLOOSE]=l[u.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");l[u.XRANGEIDENTIFIER]=l[u.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");l[u.XRANGEPLAIN]="[v=\\s]*("+l[u.XRANGEIDENTIFIER]+")"+"(?:\\.("+l[u.XRANGEIDENTIFIER]+")"+"(?:\\.("+l[u.XRANGEIDENTIFIER]+")"+"(?:"+l[u.PRERELEASE]+")?"+l[u.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");l[u.XRANGEPLAINLOOSE]="[v=\\s]*("+l[u.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+l[u.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+l[u.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+l[u.PRERELEASELOOSE]+")?"+l[u.BUILD]+"?"+")?)?";tok("XRANGE");l[u.XRANGE]="^"+l[u.GTLT]+"\\s*"+l[u.XRANGEPLAIN]+"$";tok("XRANGELOOSE");l[u.XRANGELOOSE]="^"+l[u.GTLT]+"\\s*"+l[u.XRANGEPLAINLOOSE]+"$";tok("COERCE");l[u.COERCE]="(^|[^\\d])"+"(\\d{1,"+o+"})"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");a[u.COERCERTL]=new RegExp(l[u.COERCE],"g");tok("LONETILDE");l[u.LONETILDE]="(?:~>?)";tok("TILDETRIM");l[u.TILDETRIM]="(\\s*)"+l[u.LONETILDE]+"\\s+";a[u.TILDETRIM]=new RegExp(l[u.TILDETRIM],"g");var f="$1~";tok("TILDE");l[u.TILDE]="^"+l[u.LONETILDE]+l[u.XRANGEPLAIN]+"$";tok("TILDELOOSE");l[u.TILDELOOSE]="^"+l[u.LONETILDE]+l[u.XRANGEPLAINLOOSE]+"$";tok("LONECARET");l[u.LONECARET]="(?:\\^)";tok("CARETTRIM");l[u.CARETTRIM]="(\\s*)"+l[u.LONECARET]+"\\s+";a[u.CARETTRIM]=new RegExp(l[u.CARETTRIM],"g");var p="$1^";tok("CARET");l[u.CARET]="^"+l[u.LONECARET]+l[u.XRANGEPLAIN]+"$";tok("CARETLOOSE");l[u.CARETLOOSE]="^"+l[u.LONECARET]+l[u.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");l[u.COMPARATORLOOSE]="^"+l[u.GTLT]+"\\s*("+l[u.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");l[u.COMPARATOR]="^"+l[u.GTLT]+"\\s*("+l[u.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");l[u.COMPARATORTRIM]="(\\s*)"+l[u.GTLT]+"\\s*("+l[u.LOOSEPLAIN]+"|"+l[u.XRANGEPLAIN]+")";a[u.COMPARATORTRIM]=new RegExp(l[u.COMPARATORTRIM],"g");var h="$1$2$3";tok("HYPHENRANGE");l[u.HYPHENRANGE]="^\\s*("+l[u.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+l[u.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");l[u.HYPHENRANGELOOSE]="^\\s*("+l[u.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+l[u.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");l[u.STAR]="(<|>)?=?\\s*\\*";for(var d=0;di){return null}var n=t.loose?a[u.LOOSE]:a[u.FULL];if(!n.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var n=parse(e,t);return n?n.version:null}t.clean=clean;function clean(e,t){var n=parse(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>i){throw new TypeError("version is longer than "+i+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}n("SemVer",e,t);this.options=t;this.loose=!!t.loose;var o=e.trim().match(t.loose?a[u.LOOSE]:a[u.FULL]);if(!o){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+o[1];this.minor=+o[2];this.patch=+o[3];if(this.major>s||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>s||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>s||this.patch<0){throw new TypeError("Invalid patch version")}if(!o[4]){this.prerelease=[]}else{this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[n]==="number"){this.prerelease[n]++;n=-2}}if(n===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,n,i){if(typeof n==="string"){i=n;n=undefined}try{return new SemVer(e,n).inc(t,i).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var n=parse(e);var i=parse(t);var s="";if(n.prerelease.length||i.prerelease.length){s="pre";var o="prerelease"}for(var a in n){if(a==="major"||a==="minor"||a==="patch"){if(n[a]!==i[a]){return s+a}}}return o}}t.compareIdentifiers=compareIdentifiers;var m=/^[0-9]+$/;function compareIdentifiers(e,t){var n=m.test(e);var i=m.test(t);if(n&&i){e=+e;t=+t}return e===t?0:n&&!i?-1:i&&!n?1:e0}t.lt=lt;function lt(e,t,n){return compare(e,t,n)<0}t.eq=eq;function eq(e,t,n){return compare(e,t,n)===0}t.neq=neq;function neq(e,t,n){return compare(e,t,n)!==0}t.gte=gte;function gte(e,t,n){return compare(e,t,n)>=0}t.lte=lte;function lte(e,t,n){return compare(e,t,n)<=0}t.cmp=cmp;function cmp(e,t,n,i){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e===n;case"!==":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e!==n;case"":case"=":case"==":return eq(e,n,i);case"!=":return neq(e,n,i);case">":return gt(e,n,i);case">=":return gte(e,n,i);case"<":return lt(e,n,i);case"<=":return lte(e,n,i);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}n("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===g){this.value=""}else{this.value=this.operator+this.semver.version}n("comp",this)}var g={};Comparator.prototype.parse=function(e){var t=this.options.loose?a[u.COMPARATORLOOSE]:a[u.COMPARATOR];var n=e.match(t);if(!n){throw new TypeError("Invalid comparator: "+e)}this.operator=n[1]!==undefined?n[1]:"";if(this.operator==="="){this.operator=""}if(!n[2]){this.semver=g}else{this.semver=new SemVer(n[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){n("Comparator.test",e,this.options.loose);if(this.semver===g||e===g){return true}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var n;if(this.operator===""){if(this.value===""){return true}n=new Range(e.value,t);return satisfies(this.value,n,t)}else if(e.operator===""){if(e.value===""){return true}n=new Range(this.value,t);return satisfies(e.semver,n,t)}var i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var s=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var o=this.semver.version===e.semver.version;var a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var l=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var u=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return i||s||o&&a||l||u};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var i=t?a[u.HYPHENRANGELOOSE]:a[u.HYPHENRANGE];e=e.replace(i,hyphenReplace);n("hyphen replace",e);e=e.replace(a[u.COMPARATORTRIM],h);n("comparator trim",e,a[u.COMPARATORTRIM]);e=e.replace(a[u.TILDETRIM],f);e=e.replace(a[u.CARETTRIM],p);e=e.split(/\s+/).join(" ");var s=t?a[u.COMPARATORLOOSE]:a[u.COMPARATOR];var o=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){o=o.filter((function(e){return!!e.match(s)}))}o=o.map((function(e){return new Comparator(e,this.options)}),this);return o};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(n){return isSatisfiable(n,t)&&e.set.some((function(e){return isSatisfiable(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))};function isSatisfiable(e,t){var n=true;var i=e.slice();var s=i.pop();while(n&&i.length){n=i.every((function(e){return s.intersects(e,t)}));s=i.pop()}return n}t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,t){n("comp",e,t);e=replaceCarets(e,t);n("caret",e);e=replaceTildes(e,t);n("tildes",e);e=replaceXRanges(e,t);n("xrange",e);e=replaceStars(e,t);n("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,t)})).join(" ")}function replaceTilde(e,t){var i=t.loose?a[u.TILDELOOSE]:a[u.TILDE];return e.replace(i,(function(t,i,s,o,a){n("tilde",e,t,i,s,o,a);var l;if(isX(i)){l=""}else if(isX(s)){l=">="+i+".0.0 <"+(+i+1)+".0.0"}else if(isX(o)){l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0"}else if(a){n("replaceTilde pr",a);l=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+(+s+1)+".0"}else{l=">="+i+"."+s+"."+o+" <"+i+"."+(+s+1)+".0"}n("tilde return",l);return l}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){n("caret",e,t);var i=t.loose?a[u.CARETLOOSE]:a[u.CARET];return e.replace(i,(function(t,i,s,o,a){n("caret",e,t,i,s,o,a);var l;if(isX(i)){l=""}else if(isX(s)){l=">="+i+".0.0 <"+(+i+1)+".0.0"}else if(isX(o)){if(i==="0"){l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0"}else{l=">="+i+"."+s+".0 <"+(+i+1)+".0.0"}}else if(a){n("replaceCaret pr",a);if(i==="0"){if(s==="0"){l=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+s+"."+(+o+1)}else{l=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+(+s+1)+".0"}}else{l=">="+i+"."+s+"."+o+"-"+a+" <"+(+i+1)+".0.0"}}else{n("no pr");if(i==="0"){if(s==="0"){l=">="+i+"."+s+"."+o+" <"+i+"."+s+"."+(+o+1)}else{l=">="+i+"."+s+"."+o+" <"+i+"."+(+s+1)+".0"}}else{l=">="+i+"."+s+"."+o+" <"+(+i+1)+".0.0"}}n("caret return",l);return l}))}function replaceXRanges(e,t){n("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var i=t.loose?a[u.XRANGELOOSE]:a[u.XRANGE];return e.replace(i,(function(i,s,o,a,l,u){n("xRange",e,i,s,o,a,l,u);var c=isX(o);var f=c||isX(a);var p=f||isX(l);var h=p;if(s==="="&&h){s=""}u=t.includePrerelease?"-0":"";if(c){if(s===">"||s==="<"){i="<0.0.0-0"}else{i="*"}}else if(s&&h){if(f){a=0}l=0;if(s===">"){s=">=";if(f){o=+o+1;a=0;l=0}else{a=+a+1;l=0}}else if(s==="<="){s="<";if(f){o=+o+1}else{a=+a+1}}i=s+o+"."+a+"."+l+u}else if(f){i=">="+o+".0.0"+u+" <"+(+o+1)+".0.0"+u}else if(p){i=">="+o+"."+a+".0"+u+" <"+o+"."+(+a+1)+".0"+u}n("xRange return",i);return i}))}function replaceStars(e,t){n("replaceStars",e,t);return e.trim().replace(a[u.STAR],"")}function hyphenReplace(e,t,n,i,s,o,a,l,u,c,f,p,h){if(isX(n)){t=""}else if(isX(i)){t=">="+n+".0.0"}else if(isX(s)){t=">="+n+"."+i+".0"}else{t=">="+t}if(isX(u)){l=""}else if(isX(c)){l="<"+(+u+1)+".0.0"}else if(isX(f)){l="<"+u+"."+(+c+1)+".0"}else if(p){l="<="+u+"."+c+"."+f+"-"+p}else{l="<="+l}return(t+" "+l).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}for(var t=0;t0){var o=e[s].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,n){try{t=new Range(t,n)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,n){var i=null;var s=null;try{var o=new Range(t,n)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!i||s.compare(e)===-1){i=e;s=new SemVer(i,n)}}}));return i}t.minSatisfying=minSatisfying;function minSatisfying(e,t,n){var i=null;var s=null;try{var o=new Range(t,n)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!i||s.compare(e)===1){i=e;s=new SemVer(i,n)}}}));return i}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var n=new SemVer("0.0.0");if(e.test(n)){return n}n=new SemVer("0.0.0-0");if(e.test(n)){return n}n=null;for(var i=0;i":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!n||gt(n,t)){n=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(n&&e.test(n)){return n}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,n){return outside(e,t,"<",n)}t.gtr=gtr;function gtr(e,t,n){return outside(e,t,">",n)}t.outside=outside;function outside(e,t,n,i){e=new SemVer(e,i);t=new Range(t,i);var s,o,a,l,u;switch(n){case">":s=gt;o=lte;a=lt;l=">";u=">=";break;case"<":s=lt;o=gte;a=gt;l="<";u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,i)){return false}for(var c=0;c=0.0.0")}p=p||e;h=h||e;if(s(e.semver,p.semver,i)){p=e}else if(a(e.semver,h.semver,i)){h=e}}));if(p.operator===l||p.operator===u){return false}if((!h.operator||h.operator===l)&&o(e,h.semver)){return false}else if(h.operator===u&&a(e,h.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var n=parse(e,t);return n&&n.prerelease.length?n.prerelease:null}t.intersects=intersects;function intersects(e,t,n){e=new Range(e,n);t=new Range(t,n);return e.intersects(t)}t.coerce=coerce;function coerce(e,t){if(e instanceof SemVer){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};var n=null;if(!t.rtl){n=e.match(a[u.COERCE])}else{var i;while((i=a[u.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length)){if(!n||i.index+i[0].length!==n.index+n[0].length){n=i}a[u.COERCERTL].lastIndex=i.index+i[1].length+i[2].length}a[u.COERCERTL].lastIndex=-1}if(n===null){return null}return parse(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}},5838:(e,t,n)=>{var i=n(5747);var s=n(8885);var o=n(5622);e.exports=function(e,t){findGit(e,(function(n){if(!n)return t(new Error("no gitconfig to be found at "+e));i.readFile(n,(function(e,n){if(e)return t(e);try{var i=format(s.parse(n.toString()))}catch(e){return t(e)}t(false,i)}))}))};function format(e){var t={};Object.keys(e).forEach((function(n){if(n.indexOf('"')>-1){var i=n.split('"');var s=i.shift().trim();var o=i.shift().trim();if(!t[s])t[s]={};t[s][o]=e[n]}else{t[n]=e[n]}}));return t}function findGit(e,t){var n=o.join(e,".git/config");i.exists(n,(function(i){if(i)return t(n);if(e===o.resolve(e,".."))return t(false);findGit(o.resolve(e,".."),t)}))}},7356:e=>{"use strict";e.exports=clone;var t=Object.getPrototypeOf||function(e){return e.__proto__};function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var n={__proto__:t(e)};else var n=Object.create(null);Object.getOwnPropertyNames(e).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}));return n}},7758:(e,t,n)=>{var i=n(5747);var s=n(263);var o=n(3086);var a=n(7356);var l=n(1669);var u;var c;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){u=Symbol.for("graceful-fs.queue");c=Symbol.for("graceful-fs.previous")}else{u="___graceful-fs.queue";c="___graceful-fs.previous"}function noop(){}function publishQueue(e,t){Object.defineProperty(e,u,{get:function(){return t}})}var f=noop;if(l.debuglog)f=l.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))f=function(){var e=l.format.apply(l,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!i[u]){var p=global[u]||[];publishQueue(i,p);i.close=function(e){function close(t,n){return e.call(i,t,(function(e){if(!e){resetQueue()}if(typeof n==="function")n.apply(this,arguments)}))}Object.defineProperty(close,c,{value:e});return close}(i.close);i.closeSync=function(e){function closeSync(t){e.apply(i,arguments);resetQueue()}Object.defineProperty(closeSync,c,{value:e});return closeSync}(i.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){f(i[u]);n(2357).equal(i[u].length,0)}))}}if(!global[u]){publishQueue(global,i[u])}e.exports=patch(a(i));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!i.__patched){e.exports=patch(i);i.__patched=true}function patch(e){s(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,n,i){if(typeof n==="function")i=n,n=null;return go$readFile(e,n,i);function go$readFile(e,n,i,s){return t(e,n,(function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,n,i],t,s||Date.now(),Date.now()]);else{if(typeof i==="function")i.apply(this,arguments)}}))}}var n=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,i,s){if(typeof i==="function")s=i,i=null;return go$writeFile(e,t,i,s);function go$writeFile(e,t,i,s,o){return n(e,t,i,(function(n){if(n&&(n.code==="EMFILE"||n.code==="ENFILE"))enqueue([go$writeFile,[e,t,i,s],n,o||Date.now(),Date.now()]);else{if(typeof s==="function")s.apply(this,arguments)}}))}}var i=e.appendFile;if(i)e.appendFile=appendFile;function appendFile(e,t,n,s){if(typeof n==="function")s=n,n=null;return go$appendFile(e,t,n,s);function go$appendFile(e,t,n,s,o){return i(e,t,n,(function(i){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$appendFile,[e,t,n,s],i,o||Date.now(),Date.now()]);else{if(typeof s==="function")s.apply(this,arguments)}}))}}var a=e.copyFile;if(a)e.copyFile=copyFile;function copyFile(e,t,n,i){if(typeof n==="function"){i=n;n=0}return go$copyFile(e,t,n,i);function go$copyFile(e,t,n,i,s){return a(e,t,n,(function(o){if(o&&(o.code==="EMFILE"||o.code==="ENFILE"))enqueue([go$copyFile,[e,t,n,i],o,s||Date.now(),Date.now()]);else{if(typeof i==="function")i.apply(this,arguments)}}))}}var l=e.readdir;e.readdir=readdir;function readdir(e,t,n){if(typeof t==="function")n=t,t=null;return go$readdir(e,t,n);function go$readdir(e,t,n,i){return l(e,t,(function(s,o){if(s&&(s.code==="EMFILE"||s.code==="ENFILE"))enqueue([go$readdir,[e,t,n],s,i||Date.now(),Date.now()]);else{if(o&&o.sort)o.sort();if(typeof n==="function")n.call(this,s,o)}}))}}if(process.version.substr(0,4)==="v0.8"){var u=o(e);ReadStream=u.ReadStream;WriteStream=u.WriteStream}var c=e.ReadStream;if(c){ReadStream.prototype=Object.create(c.prototype);ReadStream.prototype.open=ReadStream$open}var f=e.WriteStream;if(f){WriteStream.prototype=Object.create(f.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 p=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return p},set:function(e){p=e},enumerable:true,configurable:true});var h=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return h},set:function(e){h=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,n){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=n;e.emit("open",n);e.read()}}))}function WriteStream(e,t){if(this instanceof WriteStream)return f.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,n){if(t){e.destroy();e.emit("error",t)}else{e.fd=n;e.emit("open",n)}}))}function createReadStream(t,n){return new e.ReadStream(t,n)}function createWriteStream(t,n){return new e.WriteStream(t,n)}var d=e.open;e.open=open;function open(e,t,n,i){if(typeof n==="function")i=n,n=null;return go$open(e,t,n,i);function go$open(e,t,n,i,s){return d(e,t,n,(function(o,a){if(o&&(o.code==="EMFILE"||o.code==="ENFILE"))enqueue([go$open,[e,t,n,i],o,s||Date.now(),Date.now()]);else{if(typeof i==="function")i.apply(this,arguments)}}))}}return e}function enqueue(e){f("ENQUEUE",e[0].name,e[1]);i[u].push(e);retry()}var h;function resetQueue(){var e=Date.now();for(var t=0;t2){i[u][t][3]=e;i[u][t][4]=e}}retry()}function retry(){clearTimeout(h);h=undefined;if(i[u].length===0)return;var e=i[u].shift();var t=e[0];var n=e[1];var s=e[2];var o=e[3];var a=e[4];if(o===undefined){f("RETRY",t.name,n);t.apply(null,n)}else if(Date.now()-o>=6e4){f("TIMEOUT",t.name,n);var l=n.pop();if(typeof l==="function")l.call(null,s)}else{var c=Date.now()-a;var p=Math.max(a-o,1);var d=Math.min(p*1.2,100);if(c>=d){f("RETRY",t.name,n);t.apply(null,n.concat([o]))}else{i[u].push(e)}}if(h===undefined){h=setTimeout(retry,0)}}},3086:(e,t,n)=>{var i=n(2413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,n){if(!(this instanceof ReadStream))return new ReadStream(t,n);i.call(this);var s=this;this.path=t;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,l=o.length;athis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){s._read()}));return}e.open(this.path,this.flags,this.mode,(function(e,t){if(e){s.emit("error",e);s.readable=false;return}s.fd=t;s.emit("open",t);s._read()}))}function WriteStream(t,n){if(!(this instanceof WriteStream))return new WriteStream(t,n);i.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;n=n||{};var s=Object.keys(n);for(var o=0,a=s.length;o= 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,n)=>{var i=n(7619);var s=process.cwd;var o=null;var a=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!o)o=s.call(process);return o};try{process.cwd()}catch(e){}if(typeof process.chdir==="function"){var l=process.chdir;process.chdir=function(e){o=null;l.call(process,e)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,l)}e.exports=patch;function patch(e){if(i.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,n){if(n)process.nextTick(n)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,n,i){if(i)process.nextTick(i)};e.lchownSync=function(){}}if(a==="win32"){e.rename=function(t){return function(n,i,s){var o=Date.now();var a=0;t(n,i,(function CB(l){if(l&&(l.code==="EACCES"||l.code==="EPERM")&&Date.now()-o<6e4){setTimeout((function(){e.stat(i,(function(e,o){if(e&&e.code==="ENOENT")t(n,i,CB);else s(l)}))}),a);if(a<100)a+=10;return}if(s)s(l)}))}}(e.rename)}e.read=function(t){function read(n,i,s,o,a,l){var u;if(l&&typeof l==="function"){var c=0;u=function(f,p,h){if(f&&f.code==="EAGAIN"&&c<10){c++;return t.call(e,n,i,s,o,a,u)}l.apply(this,arguments)}}return t.call(e,n,i,s,o,a,u)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,t);return read}(e.read);e.readSync=function(t){return function(n,i,s,o,a){var l=0;while(true){try{return t.call(e,n,i,s,o,a)}catch(e){if(e.code==="EAGAIN"&&l<10){l++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,n,s){e.open(t,i.O_WRONLY|i.O_SYMLINK,n,(function(t,i){if(t){if(s)s(t);return}e.fchmod(i,n,(function(t){e.close(i,(function(e){if(s)s(t||e)}))}))}))};e.lchmodSync=function(t,n){var s=e.openSync(t,i.O_WRONLY|i.O_SYMLINK,n);var o=true;var a;try{a=e.fchmodSync(s,n);o=false}finally{if(o){try{e.closeSync(s)}catch(e){}}else{e.closeSync(s)}}return a}}function patchLutimes(e){if(i.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,n,s,o){e.open(t,i.O_SYMLINK,(function(t,i){if(t){if(o)o(t);return}e.futimes(i,n,s,(function(t){e.close(i,(function(e){if(o)o(t||e)}))}))}))};e.lutimesSync=function(t,n,s){var o=e.openSync(t,i.O_SYMLINK);var a;var l=true;try{a=e.futimesSync(o,n,s);l=false}finally{if(l){try{e.closeSync(o)}catch(e){}}else{e.closeSync(o)}}return a}}else{e.lutimes=function(e,t,n,i){if(i)process.nextTick(i)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(n,i,s){return t.call(e,n,i,(function(e){if(chownErOk(e))e=null;if(s)s.apply(this,arguments)}))}}function chmodFixSync(t){if(!t)return t;return function(n,i){try{return t.call(e,n,i)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(n,i,s,o){return t.call(e,n,i,s,(function(e){if(chownErOk(e))e=null;if(o)o.apply(this,arguments)}))}}function chownFixSync(t){if(!t)return t;return function(n,i,s){try{return t.call(e,n,i,s)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(n,i,s){if(typeof i==="function"){s=i;i=null}function callback(e,t){if(t){if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296}if(s)s.apply(this,arguments)}return i?t.call(e,n,i,callback):t.call(e,n,callback)}}function statFixSync(t){if(!t)return t;return function(n,i){var s=i?t.call(e,n,i):t.call(e,n);if(s.uid<0)s.uid+=4294967296;if(s.gid<0)s.gid+=4294967296;return s}}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}}},6956:(e,t,n)=>{"use strict";t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(7390);var s=_interopRequireDefault(i);var o=n(9211);var a=_interopRequireDefault(o);var l=n(1475);var u=n(9081);var c=n(1617);var f=_interopRequireDefault(c);var p=n(4166);var h=_interopRequireDefault(p);var d=n(1983);var m=_interopRequireDefault(d);var g=s["default"].create;function create(){var e=g();e.compile=function(t,n){return u.compile(t,n,e)};e.precompile=function(t,n){return u.precompile(t,n,e)};e.AST=a["default"];e.Compiler=u.Compiler;e.JavaScriptCompiler=f["default"];e.Parser=l.parser;e.parse=l.parse;e.parseWithoutProcessing=l.parseWithoutProcessing;return e}var y=create();y.create=create;m["default"](y);y.Visitor=h["default"];y["default"]=y;t.default=y;e.exports=t["default"]},7390:(e,t,n)=>{"use strict";t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}}t["default"]=e;return t}}var i=n(4211);var s=_interopRequireWildcard(i);var o=n(3296);var a=_interopRequireDefault(o);var l=n(2879);var u=_interopRequireDefault(l);var c=n(1437);var f=_interopRequireWildcard(c);var p=n(7663);var h=_interopRequireWildcard(p);var d=n(1983);var m=_interopRequireDefault(d);function create(){var e=new s.HandlebarsEnvironment;f.extend(e,s);e.SafeString=a["default"];e.Exception=u["default"];e.Utils=f;e.escapeExpression=f.escapeExpression;e.VM=h;e.template=function(t){return h.template(t,e)};return e}var g=create();g.create=create;m["default"](g);g["default"]=g;t.default=g;e.exports=t["default"]},4211:(e,t,n)=>{"use strict";t.__esModule=true;t.HandlebarsEnvironment=HandlebarsEnvironment;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(1437);var s=n(2879);var o=_interopRequireDefault(s);var a=n(3066);var l=n(4168);var u=n(7142);var c=_interopRequireDefault(u);var f=n(6066);var p="4.7.7";t.VERSION=p;var h=8;t.COMPILER_REVISION=h;var d=7;t.LAST_COMPATIBLE_COMPILER_REVISION=d;var m={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};t.REVISION_CHANGES=m;var g="[object Object]";function HandlebarsEnvironment(e,t,n){this.helpers=e||{};this.partials=t||{};this.decorators=n||{};a.registerDefaultHelpers(this);l.registerDefaultDecorators(this)}HandlebarsEnvironment.prototype={constructor:HandlebarsEnvironment,logger:c["default"],log:c["default"].log,registerHelper:function registerHelper(e,t){if(i.toString.call(e)===g){if(t){throw new o["default"]("Arg not supported with multiple helpers")}i.extend(this.helpers,e)}else{this.helpers[e]=t}},unregisterHelper:function unregisterHelper(e){delete this.helpers[e]},registerPartial:function registerPartial(e,t){if(i.toString.call(e)===g){i.extend(this.partials,e)}else{if(typeof t==="undefined"){throw new o["default"]('Attempting to register a partial called "'+e+'" as undefined')}this.partials[e]=t}},unregisterPartial:function unregisterPartial(e){delete this.partials[e]},registerDecorator:function registerDecorator(e,t){if(i.toString.call(e)===g){if(t){throw new o["default"]("Arg not supported with multiple decorators")}i.extend(this.decorators,e)}else{this.decorators[e]=t}},unregisterDecorator:function unregisterDecorator(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function resetLoggedPropertyAccesses(){f.resetLoggedProperties()}};var y=c["default"].log;t.log=y;t.createFrame=i.createFrame;t.logger=c["default"]},9211:(e,t)=>{"use strict";t.__esModule=true;var n={helpers:{helperExpression:function helperExpression(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},scopedId:function scopedId(e){return/^\.|this\b/.test(e.original)},simpleId:function simpleId(e){return e.parts.length===1&&!n.helpers.scopedId(e)&&!e.depth}}};t.default=n;e.exports=t["default"]},1475:(e,t,n)=>{"use strict";t.__esModule=true;t.parseWithoutProcessing=parseWithoutProcessing;t.parse=parse;function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}}t["default"]=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(5505);var s=_interopRequireDefault(i);var o=n(5200);var a=_interopRequireDefault(o);var l=n(4706);var u=_interopRequireWildcard(l);var c=n(1437);t.parser=s["default"];var f={};c.extend(f,u);function parseWithoutProcessing(e,t){if(e.type==="Program"){return e}s["default"].yy=f;f.locInfo=function(e){return new f.SourceLocation(t&&t.srcName,e)};var n=s["default"].parse(e);return n}function parse(e,t){var n=parseWithoutProcessing(e,t);var i=new a["default"](t);return i.accept(n)}},3612:(e,t,n)=>{"use strict";t.__esModule=true;var i=n(1437);var s=undefined;try{if(typeof define!=="function"||!define.amd){var o=n(6594);s=o.SourceNode}}catch(e){}if(!s){s=function(e,t,n,i){this.src="";if(i){this.add(i)}};s.prototype={add:function add(e){if(i.isArray(e)){e=e.join("")}this.src+=e},prepend:function prepend(e){if(i.isArray(e)){e=e.join("")}this.src=e+this.src},toStringWithSourceMap:function toStringWithSourceMap(){return{code:this.toString()}},toString:function toString(){return this.src}}}function castChunk(e,t,n){if(i.isArray(e)){var s=[];for(var o=0,a=e.length;o{"use strict";t.__esModule=true;t.Compiler=Compiler;t.precompile=precompile;t.compile=compile;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(2879);var s=_interopRequireDefault(i);var o=n(1437);var a=n(9211);var l=_interopRequireDefault(a);var u=[].slice;function Compiler(){}Compiler.prototype={compiler:Compiler,equals:function equals(e){var t=this.opcodes.length;if(e.opcodes.length!==t){return false}for(var n=0;n1){throw new s["default"]("Unsupported number of partial arguments: "+n.length,e)}else if(!n.length){if(this.options.explicitPartialContext){this.opcode("pushLiteral","undefined")}else{n.push({type:"PathExpression",parts:[],depth:0})}}var i=e.name.original,o=e.name.type==="SubExpression";if(o){this.accept(e.name)}this.setupFullMustacheParams(e,t,undefined,true);var a=e.indent||"";if(this.options.preventIndent&&a){this.opcode("appendContent",a);a=""}this.opcode("invokePartial",o,i,a);this.opcode("append")},PartialBlockStatement:function PartialBlockStatement(e){this.PartialStatement(e)},MustacheStatement:function MustacheStatement(e){this.SubExpression(e);if(e.escaped&&!this.options.noEscape){this.opcode("appendEscaped")}else{this.opcode("append")}},Decorator:function Decorator(e){this.DecoratorBlock(e)},ContentStatement:function ContentStatement(e){if(e.value){this.opcode("appendContent",e.value)}},CommentStatement:function CommentStatement(){},SubExpression:function SubExpression(e){transformLiteralToPath(e);var t=this.classifySexpr(e);if(t==="simple"){this.simpleSexpr(e)}else if(t==="helper"){this.helperSexpr(e)}else{this.ambiguousSexpr(e)}},ambiguousSexpr:function ambiguousSexpr(e,t,n){var i=e.path,s=i.parts[0],o=t!=null||n!=null;this.opcode("getContext",i.depth);this.opcode("pushProgram",t);this.opcode("pushProgram",n);i.strict=true;this.accept(i);this.opcode("invokeAmbiguous",s,o)},simpleSexpr:function simpleSexpr(e){var t=e.path;t.strict=true;this.accept(t);this.opcode("resolvePossibleLambda")},helperSexpr:function helperSexpr(e,t,n){var i=this.setupFullMustacheParams(e,t,n),o=e.path,a=o.parts[0];if(this.options.knownHelpers[a]){this.opcode("invokeKnownHelper",i.length,a)}else if(this.options.knownHelpersOnly){throw new s["default"]("You specified knownHelpersOnly, but used the unknown helper "+a,e)}else{o.strict=true;o.falsy=true;this.accept(o);this.opcode("invokeHelper",i.length,o.original,l["default"].helpers.simpleId(o))}},PathExpression:function PathExpression(e){this.addDepth(e.depth);this.opcode("getContext",e.depth);var t=e.parts[0],n=l["default"].helpers.scopedId(e),i=!e.depth&&!n&&this.blockParamIndex(t);if(i){this.opcode("lookupBlockParam",i,e.parts)}else if(!t){this.opcode("pushContext")}else if(e.data){this.options.data=true;this.opcode("lookupData",e.depth,e.parts,e.strict)}else{this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n)}},StringLiteral:function StringLiteral(e){this.opcode("pushString",e.value)},NumberLiteral:function NumberLiteral(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function BooleanLiteral(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function UndefinedLiteral(){this.opcode("pushLiteral","undefined")},NullLiteral:function NullLiteral(){this.opcode("pushLiteral","null")},Hash:function Hash(e){var t=e.pairs,n=0,i=t.length;this.opcode("pushHash");for(;n=0){return[t,s]}}}};function precompile(e,t,n){if(e==null||typeof e!=="string"&&e.type!=="Program"){throw new s["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e)}t=t||{};if(!("data"in t)){t.data=true}if(t.compat){t.useDepths=true}var i=n.parse(e,t),o=(new n.Compiler).compile(i,t);return(new n.JavaScriptCompiler).compile(o,t)}function compile(e,t,n){if(t===undefined)t={};if(e==null||typeof e!=="string"&&e.type!=="Program"){throw new s["default"]("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e)}t=o.extend({},t);if(!("data"in t)){t.data=true}if(t.compat){t.useDepths=true}var i=undefined;function compileInput(){var i=n.parse(e,t),s=(new n.Compiler).compile(i,t),o=(new n.JavaScriptCompiler).compile(s,t,undefined,true);return n.template(o)}function ret(e,t){if(!i){i=compileInput()}return i.call(this,e,t)}ret._setup=function(e){if(!i){i=compileInput()}return i._setup(e)};ret._child=function(e,t,n,s){if(!i){i=compileInput()}return i._child(e,t,n,s)};return ret}function argEquals(e,t){if(e===t){return true}if(o.isArray(e)&&o.isArray(t)&&e.length===t.length){for(var n=0;n{"use strict";t.__esModule=true;t.SourceLocation=SourceLocation;t.id=id;t.stripFlags=stripFlags;t.stripComment=stripComment;t.preparePath=preparePath;t.prepareMustache=prepareMustache;t.prepareRawBlock=prepareRawBlock;t.prepareBlock=prepareBlock;t.prepareProgram=prepareProgram;t.preparePartialBlock=preparePartialBlock;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(2879);var s=_interopRequireDefault(i);function validateClose(e,t){t=t.path?t.path.original:t;if(e.path.original!==t){var n={loc:e.path.loc};throw new s["default"](e.path.original+" doesn't match "+t,n)}}function SourceLocation(e,t){this.source=e;this.start={line:t.first_line,column:t.first_column};this.end={line:t.last_line,column:t.last_column}}function id(e){if(/^\[.*\]$/.test(e)){return e.substring(1,e.length-1)}else{return e}}function stripFlags(e,t){return{open:e.charAt(2)==="~",close:t.charAt(t.length-3)==="~"}}function stripComment(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function preparePath(e,t,n){n=this.locInfo(n);var i=e?"@":"",o=[],a=0;for(var l=0,u=t.length;l0){throw new s["default"]("Invalid path: "+i,{loc:n})}else if(c===".."){a++}}else{o.push(c)}}return{type:"PathExpression",data:e,depth:a,parts:o,original:i,loc:n}}function prepareMustache(e,t,n,i,s,o){var a=i.charAt(3)||i.charAt(2),l=a!=="{"&&a!=="&";var u=/\*/.test(i);return{type:u?"Decorator":"MustacheStatement",path:e,params:t,hash:n,escaped:l,strip:s,loc:this.locInfo(o)}}function prepareRawBlock(e,t,n,i){validateClose(e,n);i=this.locInfo(i);var s={type:"Program",body:t,strip:{},loc:i};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:s,openStrip:{},inverseStrip:{},closeStrip:{},loc:i}}function prepareBlock(e,t,n,i,o,a){if(i&&i.path){validateClose(e,i)}var l=/\*/.test(e.open);t.blockParams=e.blockParams;var u=undefined,c=undefined;if(n){if(l){throw new s["default"]("Unexpected inverse block on decorator",n)}if(n.chain){n.program.body[0].closeStrip=i.strip}c=n.strip;u=n.program}if(o){o=u;u=t;t=o}return{type:l?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:u,openStrip:e.strip,inverseStrip:c,closeStrip:i&&i.strip,loc:this.locInfo(a)}}function prepareProgram(e,t){if(!t&&e.length){var n=e[0].loc,i=e[e.length-1].loc;if(n&&i){t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:i.end.line,column:i.end.column}}}}return{type:"Program",body:e,strip:{},loc:t}}function preparePartialBlock(e,t,n,i){validateClose(e,n);return{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(i)}}},1617:(e,t,n)=>{"use strict";t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(4211);var s=n(2879);var o=_interopRequireDefault(s);var a=n(1437);var l=n(3612);var u=_interopRequireDefault(l);function Literal(e){this.value=e}function JavaScriptCompiler(){}JavaScriptCompiler.prototype={nameLookup:function nameLookup(e,t){return this.internalNameLookup(e,t)},depthedLookup:function depthedLookup(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function compilerInfo(){var e=i.COMPILER_REVISION,t=i.REVISION_CHANGES[e];return[e,t]},appendToBuffer:function appendToBuffer(e,t,n){if(!a.isArray(e)){e=[e]}e=this.source.wrap(e,t);if(this.environment.isSimple){return["return ",e,";"]}else if(n){return["buffer += ",e,";"]}else{e.appendToBuffer=true;return e}},initializeBuffer:function initializeBuffer(){return this.quotedString("")},internalNameLookup:function internalNameLookup(e,t){this.lookupPropertyFunctionIsUsed=true;return["lookupProperty(",e,",",JSON.stringify(t),")"]},lookupPropertyFunctionIsUsed:false,compile:function compile(e,t,n,i){this.environment=e;this.options=t;this.stringParams=this.options.stringParams;this.trackIds=this.options.trackIds;this.precompile=!i;this.name=this.environment.name;this.isChild=!!n;this.context=n||{decorators:[],programs:[],environments:[]};this.preamble();this.stackSlot=0;this.stackVars=[];this.aliases={};this.registers={list:[]};this.hashes=[];this.compileStack=[];this.inlineStack=[];this.blockParams=[];this.compileChildren(e,t);this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat;this.useBlockParams=this.useBlockParams||e.useBlockParams;var s=e.opcodes,a=undefined,l=undefined,u=undefined,c=undefined;for(u=0,c=s.length;u0){n+=", "+i.join(", ")}var s=0;Object.keys(this.aliases).forEach((function(e){var i=t.aliases[e];if(i.children&&i.referenceCount>1){n+=", alias"+ ++s+"="+e;i.children[0]="alias"+s}}));if(this.lookupPropertyFunctionIsUsed){n+=", "+this.lookupPropertyFunctionVarDeclaration()}var o=["container","depth0","helpers","partials","data"];if(this.useBlockParams||this.useDepths){o.push("blockParams")}if(this.useDepths){o.push("depths")}var a=this.mergeSource(n);if(e){o.push(a);return Function.apply(this,o)}else{return this.source.wrap(["function(",o.join(","),") {\n ",a,"}"])}},mergeSource:function mergeSource(e){var t=this.environment.isSimple,n=!this.forceBuffer,i=undefined,s=undefined,o=undefined,a=undefined;this.source.each((function(e){if(e.appendToBuffer){if(o){e.prepend(" + ")}else{o=e}a=e}else{if(o){if(!s){i=true}else{o.prepend("buffer += ")}a.add(";");o=a=undefined}s=true;if(!t){n=false}}}));if(n){if(o){o.prepend("return ");a.add(";")}else if(!s){this.source.push('return "";')}}else{e+=", buffer = "+(i?"":this.initializeBuffer());if(o){o.prepend("return buffer + ");a.add(";")}else{this.source.push("return buffer;")}}if(e){this.source.prepend("var "+e.substring(2)+(i?"":";\n"))}return this.source.merge()},lookupPropertyFunctionVarDeclaration:function lookupPropertyFunctionVarDeclaration(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function blockValue(e){var t=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var i=this.popStack();n.splice(1,0,i);this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function ambiguousBlockValue(){var e=this.aliasable("container.hooks.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,true);this.flushInline();var n=this.topStack();t.splice(1,0,n);this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function appendContent(e){if(this.pendingContent){e=this.pendingContent+e}else{this.pendingLocation=this.source.currentLocation}this.pendingContent=e},append:function append(){if(this.isInline()){this.replaceStack((function(e){return[" != null ? ",e,' : ""']}));this.pushSource(this.appendToBuffer(this.popStack()))}else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,undefined,true)," }"]);if(this.environment.isSimple){this.pushSource(["else { ",this.appendToBuffer("''",undefined,true)," }"])}}},appendEscaped:function appendEscaped(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function getContext(e){this.lastContext=e},pushContext:function pushContext(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function lookupOnContext(e,t,n,i){var s=0;if(!i&&this.options.compat&&!this.lastContext){this.push(this.depthedLookup(e[s++]))}else{this.pushContext()}this.resolvePath("context",e,s,t,n)},lookupBlockParam:function lookupBlockParam(e,t){this.useBlockParams=true;this.push(["blockParams[",e[0],"][",e[1],"]"]);this.resolvePath("context",t,1)},lookupData:function lookupData(e,t,n){if(!e){this.pushStackLiteral("data")}else{this.pushStackLiteral("container.data(data, "+e+")")}this.resolvePath("data",t,0,true,n)},resolvePath:function resolvePath(e,t,n,i,s){var o=this;if(this.options.strict||this.options.assumeObjects){this.push(strictLookup(this.options.strict&&s,this,t,e));return}var a=t.length;for(;nthis.stackVars.length){this.stackVars.push("stack"+this.stackSlot)}return this.topStackName()},topStackName:function topStackName(){return"stack"+this.stackSlot},flushInline:function flushInline(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,n=e.length;t{"use strict";t.__esModule=true;var n=function(){var e={trace:function trace(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function anonymous(e,t,n,i,s,o,a){var l=o.length-1;switch(s){case 1:return o[l-1];break;case 2:this.$=i.prepareProgram(o[l]);break;case 3:this.$=o[l];break;case 4:this.$=o[l];break;case 5:this.$=o[l];break;case 6:this.$=o[l];break;case 7:this.$=o[l];break;case 8:this.$=o[l];break;case 9:this.$={type:"CommentStatement",value:i.stripComment(o[l]),strip:i.stripFlags(o[l],o[l]),loc:i.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:o[l],value:o[l],loc:i.locInfo(this._$)};break;case 11:this.$=i.prepareRawBlock(o[l-2],o[l-1],o[l],this._$);break;case 12:this.$={path:o[l-3],params:o[l-2],hash:o[l-1]};break;case 13:this.$=i.prepareBlock(o[l-3],o[l-2],o[l-1],o[l],false,this._$);break;case 14:this.$=i.prepareBlock(o[l-3],o[l-2],o[l-1],o[l],true,this._$);break;case 15:this.$={open:o[l-5],path:o[l-4],params:o[l-3],hash:o[l-2],blockParams:o[l-1],strip:i.stripFlags(o[l-5],o[l])};break;case 16:this.$={path:o[l-4],params:o[l-3],hash:o[l-2],blockParams:o[l-1],strip:i.stripFlags(o[l-5],o[l])};break;case 17:this.$={path:o[l-4],params:o[l-3],hash:o[l-2],blockParams:o[l-1],strip:i.stripFlags(o[l-5],o[l])};break;case 18:this.$={strip:i.stripFlags(o[l-1],o[l-1]),program:o[l]};break;case 19:var u=i.prepareBlock(o[l-2],o[l-1],o[l],o[l],false,this._$),c=i.prepareProgram([u],o[l-1].loc);c.chained=true;this.$={strip:o[l-2].strip,program:c,chain:true};break;case 20:this.$=o[l];break;case 21:this.$={path:o[l-1],strip:i.stripFlags(o[l-2],o[l])};break;case 22:this.$=i.prepareMustache(o[l-3],o[l-2],o[l-1],o[l-4],i.stripFlags(o[l-4],o[l]),this._$);break;case 23:this.$=i.prepareMustache(o[l-3],o[l-2],o[l-1],o[l-4],i.stripFlags(o[l-4],o[l]),this._$);break;case 24:this.$={type:"PartialStatement",name:o[l-3],params:o[l-2],hash:o[l-1],indent:"",strip:i.stripFlags(o[l-4],o[l]),loc:i.locInfo(this._$)};break;case 25:this.$=i.preparePartialBlock(o[l-2],o[l-1],o[l],this._$);break;case 26:this.$={path:o[l-3],params:o[l-2],hash:o[l-1],strip:i.stripFlags(o[l-4],o[l])};break;case 27:this.$=o[l];break;case 28:this.$=o[l];break;case 29:this.$={type:"SubExpression",path:o[l-3],params:o[l-2],hash:o[l-1],loc:i.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:o[l],loc:i.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:i.id(o[l-2]),value:o[l],loc:i.locInfo(this._$)};break;case 32:this.$=i.id(o[l-1]);break;case 33:this.$=o[l];break;case 34:this.$=o[l];break;case 35:this.$={type:"StringLiteral",value:o[l],original:o[l],loc:i.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(o[l]),original:Number(o[l]),loc:i.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:o[l]==="true",original:o[l]==="true",loc:i.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:undefined,value:undefined,loc:i.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:i.locInfo(this._$)};break;case 40:this.$=o[l];break;case 41:this.$=o[l];break;case 42:this.$=i.preparePath(true,o[l],this._$);break;case 43:this.$=i.preparePath(false,o[l],this._$);break;case 44:o[l-2].push({part:i.id(o[l]),original:o[l],separator:o[l-1]});this.$=o[l-2];break;case 45:this.$=[{part:i.id(o[l]),original:o[l]}];break;case 46:this.$=[];break;case 47:o[l-1].push(o[l]);break;case 48:this.$=[];break;case 49:o[l-1].push(o[l]);break;case 50:this.$=[];break;case 51:o[l-1].push(o[l]);break;case 58:this.$=[];break;case 59:o[l-1].push(o[l]);break;case 64:this.$=[];break;case 65:o[l-1].push(o[l]);break;case 70:this.$=[];break;case 71:o[l-1].push(o[l]);break;case 78:this.$=[];break;case 79:o[l-1].push(o[l]);break;case 82:this.$=[];break;case 83:o[l-1].push(o[l]);break;case 86:this.$=[];break;case 87:o[l-1].push(o[l]);break;case 90:this.$=[];break;case 91:o[l-1].push(o[l]);break;case 94:this.$=[];break;case 95:o[l-1].push(o[l]);break;case 98:this.$=[o[l]];break;case 99:o[l-1].push(o[l]);break;case 100:this.$=[o[l]];break;case 101:o[l-1].push(o[l]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function parseError(e,t){throw new Error(e)},parse:function parse(e){var t=this,n=[0],i=[null],s=[],o=this.table,a="",l=0,u=0,c=0,f=2,p=1;this.lexer.setInput(e);this.lexer.yy=this.yy;this.yy.lexer=this.lexer;this.yy.parser=this;if(typeof this.lexer.yylloc=="undefined")this.lexer.yylloc={};var h=this.lexer.yylloc;s.push(h);var d=this.lexer.options&&this.lexer.options.ranges;if(typeof this.yy.parseError==="function")this.parseError=this.yy.parseError;function popStack(e){n.length=n.length-2*e;i.length=i.length-e;s.length=s.length-e}function lex(){var e;e=t.lexer.lex()||1;if(typeof e!=="number"){e=t.symbols_[e]||e}return e}var m,g,y,v,b,w,S={},E,_,O,R;while(true){y=n[n.length-1];if(this.defaultActions[y]){v=this.defaultActions[y]}else{if(m===null||typeof m=="undefined"){m=lex()}v=o[y]&&o[y][m]}if(typeof v==="undefined"||!v.length||!v[0]){var C="";if(!c){R=[];for(E in o[y])if(this.terminals_[E]&&E>2){R.push("'"+this.terminals_[E]+"'")}if(this.lexer.showPosition){C="Parse error on line "+(l+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+R.join(", ")+", got '"+(this.terminals_[m]||m)+"'"}else{C="Parse error on line "+(l+1)+": Unexpected "+(m==1?"end of input":"'"+(this.terminals_[m]||m)+"'")}this.parseError(C,{text:this.lexer.match,token:this.terminals_[m]||m,line:this.lexer.yylineno,loc:h,expected:R})}}if(v[0]instanceof Array&&v.length>1){throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+m)}switch(v[0]){case 1:n.push(m);i.push(this.lexer.yytext);s.push(this.lexer.yylloc);n.push(v[1]);m=null;if(!g){u=this.lexer.yyleng;a=this.lexer.yytext;l=this.lexer.yylineno;h=this.lexer.yylloc;if(c>0)c--}else{m=g;g=null}break;case 2:_=this.productions_[v[1]][1];S.$=i[i.length-_];S._$={first_line:s[s.length-(_||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(_||1)].first_column,last_column:s[s.length-1].last_column};if(d){S._$.range=[s[s.length-(_||1)].range[0],s[s.length-1].range[1]]}w=this.performAction.call(S,a,u,l,this.yy,v[1],i,s);if(typeof w!=="undefined"){return w}if(_){n=n.slice(0,-1*_*2);i=i.slice(0,-1*_);s=s.slice(0,-1*_)}n.push(this.productions_[v[1]][0]);i.push(S.$);s.push(S._$);O=o[n[n.length-2]][n[n.length-1]];n.push(O);break;case 3:return true}}return true}};var t=function(){var e={EOF:1,parseError:function parseError(e,t){if(this.yy.parser){this.yy.parser.parseError(e,t)}else{throw new Error(e)}},setInput:function setInput(e){this._input=e;this._more=this._less=this.done=false;this.yylineno=this.yyleng=0;this.yytext=this.matched=this.match="";this.conditionStack=["INITIAL"];this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0};if(this.options.ranges)this.yylloc.range=[0,0];this.offset=0;return this},input:function input(){var e=this._input[0];this.yytext+=e;this.yyleng++;this.offset++;this.match+=e;this.matched+=e;var t=e.match(/(?:\r\n?|\n).*/g);if(t){this.yylineno++;this.yylloc.last_line++}else{this.yylloc.last_column++}if(this.options.ranges)this.yylloc.range[1]++;this._input=this._input.slice(1);return e},unput:function unput(e){var t=e.length;var n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input;this.yytext=this.yytext.substr(0,this.yytext.length-t-1);this.offset-=t;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1);this.matched=this.matched.substr(0,this.matched.length-1);if(n.length-1)this.yylineno-=n.length-1;var s=this.yylloc.range;this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-t};if(this.options.ranges){this.yylloc.range=[s[0],s[0]+this.yyleng-t]}return this},more:function more(){this._more=true;return this},less:function less(e){this.unput(this.match.slice(e))},pastInput:function pastInput(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function upcomingInput(){var e=this.match;if(e.length<20){e+=this._input.substr(0,20-e.length)}return(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function showPosition(){var e=this.pastInput();var t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function next(){if(this.done){return this.EOF}if(!this._input)this.done=true;var e,t,n,i,s,o;if(!this._more){this.yytext="";this.match=""}var a=this._currentRules();for(var l=0;lt[0].length)){t=n;i=l;if(!this.options.flex)break}}if(t){o=t[0].match(/(?:\r\n?|\n).*/g);if(o)this.yylineno+=o.length;this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length};this.yytext+=t[0];this.match+=t[0];this.matches=t;this.yyleng=this.yytext.length;if(this.options.ranges){this.yylloc.range=[this.offset,this.offset+=this.yyleng]}this._more=false;this._input=this._input.slice(t[0].length);this.matched+=t[0];e=this.performAction.call(this,this.yy,this,a[i],this.conditionStack[this.conditionStack.length-1]);if(this.done&&this._input)this.done=false;if(e)return e;else return}if(this._input===""){return this.EOF}else{return this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}},lex:function lex(){var e=this.next();if(typeof e!=="undefined"){return e}else{return this.lex()}},begin:function begin(e){this.conditionStack.push(e)},popState:function popState(){return this.conditionStack.pop()},_currentRules:function _currentRules(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function topState(){return this.conditionStack[this.conditionStack.length-2]},pushState:function begin(e){this.begin(e)}};e.options={};e.performAction=function anonymous(e,t,n,i){function strip(e,n){return t.yytext=t.yytext.substring(e,t.yyleng-n+e)}var s=i;switch(n){case 0:if(t.yytext.slice(-2)==="\\\\"){strip(0,1);this.begin("mu")}else if(t.yytext.slice(-1)==="\\"){strip(0,1);this.begin("emu")}else{this.begin("mu")}if(t.yytext)return 15;break;case 1:return 15;break;case 2:this.popState();return 15;break;case 3:this.begin("raw");return 15;break;case 4:this.popState();if(this.conditionStack[this.conditionStack.length-1]==="raw"){return 15}else{strip(5,9);return"END_RAW_BLOCK"}break;case 5:return 15;break;case 6:this.popState();return 14;break;case 7:return 65;break;case 8:return 68;break;case 9:return 19;break;case 10:this.popState();this.begin("raw");return 23;break;case 11:return 55;break;case 12:return 60;break;case 13:return 29;break;case 14:return 47;break;case 15:this.popState();return 44;break;case 16:this.popState();return 44;break;case 17:return 34;break;case 18:return 39;break;case 19:return 51;break;case 20:return 48;break;case 21:this.unput(t.yytext);this.popState();this.begin("com");break;case 22:this.popState();return 14;break;case 23:return 48;break;case 24:return 73;break;case 25:return 72;break;case 26:return 72;break;case 27:return 87;break;case 28:break;case 29:this.popState();return 54;break;case 30:this.popState();return 33;break;case 31:t.yytext=strip(1,2).replace(/\\"/g,'"');return 80;break;case 32:t.yytext=strip(1,2).replace(/\\'/g,"'");return 80;break;case 33:return 85;break;case 34:return 82;break;case 35:return 82;break;case 36:return 83;break;case 37:return 84;break;case 38:return 81;break;case 39:return 75;break;case 40:return 77;break;case 41:return 72;break;case 42:t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1");return 72;break;case 43:return"INVALID";break;case 44:return 5;break}};e.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/];e.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:false},emu:{rules:[2],inclusive:false},com:{rules:[6],inclusive:false},raw:{rules:[3,4,5],inclusive:false},INITIAL:{rules:[0,1,44],inclusive:true}};return e}();e.lexer=t;function Parser(){this.yy={}}Parser.prototype=e;e.Parser=Parser;return new Parser}();t.default=n;e.exports=t["default"]},9286:(e,t,n)=>{"use strict";t.__esModule=true;t.print=print;t.PrintVisitor=PrintVisitor;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(4166);var s=_interopRequireDefault(i);function print(e){return(new PrintVisitor).accept(e)}function PrintVisitor(){this.padding=0}PrintVisitor.prototype=new s["default"];PrintVisitor.prototype.pad=function(e){var t="";for(var n=0,i=this.padding;n "+t+" }}")};PrintVisitor.prototype.PartialBlockStatement=function(e){var t="PARTIAL BLOCK:"+e.name.original;if(e.params[0]){t+=" "+this.accept(e.params[0])}if(e.hash){t+=" "+this.accept(e.hash)}t+=" "+this.pad("PROGRAM:");this.padding++;t+=this.accept(e.program);this.padding--;return this.pad("{{> "+t+" }}")};PrintVisitor.prototype.ContentStatement=function(e){return this.pad("CONTENT[ '"+e.value+"' ]")};PrintVisitor.prototype.CommentStatement=function(e){return this.pad("{{! '"+e.value+"' }}")};PrintVisitor.prototype.SubExpression=function(e){var t=e.params,n=[],i=undefined;for(var s=0,o=t.length;s{"use strict";t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(4166);var s=_interopRequireDefault(i);function WhitespaceControl(){var e=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];this.options=e}WhitespaceControl.prototype=new s["default"];WhitespaceControl.prototype.Program=function(e){var t=!this.options.ignoreStandalone;var n=!this.isRootSeen;this.isRootSeen=true;var i=e.body;for(var s=0,o=i.length;s{"use strict";t.__esModule=true;t.registerDefaultDecorators=registerDefaultDecorators;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(975);var s=_interopRequireDefault(i);function registerDefaultDecorators(e){s["default"](e)}},975:(e,t,n)=>{"use strict";t.__esModule=true;var i=n(1437);t.default=function(e){e.registerDecorator("inline",(function(e,t,n,s){var o=e;if(!t.partials){t.partials={};o=function(s,o){var a=n.partials;n.partials=i.extend({},a,t.partials);var l=e(s,o);n.partials=a;return l}}t.partials[s.args[0]]=s.fn;return o}))};e.exports=t["default"]},2879:(e,t)=>{"use strict";t.__esModule=true;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Exception(e,t){var i=t&&t.loc,s=undefined,o=undefined,a=undefined,l=undefined;if(i){s=i.start.line;o=i.end.line;a=i.start.column;l=i.end.column;e+=" - "+s+":"+a}var u=Error.prototype.constructor.call(this,e);for(var c=0;c{"use strict";t.__esModule=true;t.registerDefaultHelpers=registerDefaultHelpers;t.moveHelperToHooks=moveHelperToHooks;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(6247);var s=_interopRequireDefault(i);var o=n(9052);var a=_interopRequireDefault(o);var l=n(8950);var u=_interopRequireDefault(l);var c=n(2767);var f=_interopRequireDefault(c);var p=n(9072);var h=_interopRequireDefault(p);var d=n(8168);var m=_interopRequireDefault(d);var g=n(9150);var y=_interopRequireDefault(g);function registerDefaultHelpers(e){s["default"](e);a["default"](e);u["default"](e);f["default"](e);h["default"](e);m["default"](e);y["default"](e)}function moveHelperToHooks(e,t,n){if(e.helpers[t]){e.hooks[t]=e.helpers[t];if(!n){delete e.helpers[t]}}}},6247:(e,t,n)=>{"use strict";t.__esModule=true;var i=n(1437);t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,n){var s=n.inverse,o=n.fn;if(t===true){return o(this)}else if(t===false||t==null){return s(this)}else if(i.isArray(t)){if(t.length>0){if(n.ids){n.ids=[n.name]}return e.helpers.each(t,n)}else{return s(this)}}else{if(n.data&&n.ids){var a=i.createFrame(n.data);a.contextPath=i.appendContextPath(n.data.contextPath,n.name);n={data:a}}return o(t,n)}}))};e.exports=t["default"]},9052:(e,t,n)=>{"use strict";t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(1437);var s=n(2879);var o=_interopRequireDefault(s);t.default=function(e){e.registerHelper("each",(function(e,t){if(!t){throw new o["default"]("Must pass iterator to #each")}var n=t.fn,s=t.inverse,a=0,l="",u=undefined,c=undefined;if(t.data&&t.ids){c=i.appendContextPath(t.data.contextPath,t.ids[0])+"."}if(i.isFunction(e)){e=e.call(this)}if(t.data){u=i.createFrame(t.data)}function execIteration(t,s,o){if(u){u.key=t;u.index=s;u.first=s===0;u.last=!!o;if(c){u.contextPath=c+t}}l=l+n(e[t],{data:u,blockParams:i.blockParams([e[t],t],[c+t,null])})}if(e&&typeof e==="object"){if(i.isArray(e)){for(var f=e.length;a{"use strict";t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(2879);var s=_interopRequireDefault(i);t.default=function(e){e.registerHelper("helperMissing",(function(){if(arguments.length===1){return undefined}else{throw new s["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')}}))};e.exports=t["default"]},2767:(e,t,n)=>{"use strict";t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(1437);var s=n(2879);var o=_interopRequireDefault(s);t.default=function(e){e.registerHelper("if",(function(e,t){if(arguments.length!=2){throw new o["default"]("#if requires exactly one argument")}if(i.isFunction(e)){e=e.call(this)}if(!t.hash.includeZero&&!e||i.isEmpty(e)){return t.inverse(this)}else{return t.fn(this)}}));e.registerHelper("unless",(function(t,n){if(arguments.length!=2){throw new o["default"]("#unless requires exactly one argument")}return e.helpers["if"].call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}))};e.exports=t["default"]},9072:(e,t)=>{"use strict";t.__esModule=true;t.default=function(e){e.registerHelper("log",(function(){var t=[undefined],n=arguments[arguments.length-1];for(var i=0;i{"use strict";t.__esModule=true;t.default=function(e){e.registerHelper("lookup",(function(e,t,n){if(!e){return e}return n.lookupProperty(e,t)}))};e.exports=t["default"]},9150:(e,t,n)=>{"use strict";t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=n(1437);var s=n(2879);var o=_interopRequireDefault(s);t.default=function(e){e.registerHelper("with",(function(e,t){if(arguments.length!=2){throw new o["default"]("#with requires exactly one argument")}if(i.isFunction(e)){e=e.call(this)}var n=t.fn;if(!i.isEmpty(e)){var s=t.data;if(t.data&&t.ids){s=i.createFrame(t.data);s.contextPath=i.appendContextPath(t.data.contextPath,t.ids[0])}return n(e,{data:s,blockParams:i.blockParams([e],[s&&s.contextPath])})}else{return t.inverse(this)}}))};e.exports=t["default"]},6025:(e,t,n)=>{"use strict";t.__esModule=true;t.createNewLookupObject=createNewLookupObject;var i=n(1437);function createNewLookupObject(){for(var e=arguments.length,t=Array(e),n=0;n{"use strict";t.__esModule=true;t.createProtoAccessControl=createProtoAccessControl;t.resultIsAllowed=resultIsAllowed;t.resetLoggedProperties=resetLoggedProperties;function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}}t["default"]=e;return t}}var i=n(6025);var s=n(7142);var o=_interopRequireWildcard(s);var a=Object.create(null);function createProtoAccessControl(e){var t=Object.create(null);t["constructor"]=false;t["__defineGetter__"]=false;t["__defineSetter__"]=false;t["__lookupGetter__"]=false;var n=Object.create(null);n["__proto__"]=false;return{properties:{whitelist:i.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:i.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}}function resultIsAllowed(e,t,n){if(typeof e==="function"){return checkWhiteList(t.methods,n)}else{return checkWhiteList(t.properties,n)}}function checkWhiteList(e,t){if(e.whitelist[t]!==undefined){return e.whitelist[t]===true}if(e.defaultValue!==undefined){return e.defaultValue}logUnexpecedPropertyAccessOnce(t);return false}function logUnexpecedPropertyAccessOnce(e){if(a[e]!==true){a[e]=true;o.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\n'+"You can add a runtime option to disable the check or this warning:\n"+"See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details")}}function resetLoggedProperties(){Object.keys(a).forEach((function(e){delete a[e]}))}},3268:(e,t)=>{"use strict";t.__esModule=true;t.wrapHelper=wrapHelper;function wrapHelper(e,t){if(typeof e!=="function"){return e}var n=function wrapper(){var n=arguments[arguments.length-1];arguments[arguments.length-1]=t(n);return e.apply(this,arguments)};return n}},7142:(e,t,n)=>{"use strict";t.__esModule=true;var i=n(1437);var s={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function lookupLevel(e){if(typeof e==="string"){var t=i.indexOf(s.methodMap,e.toLowerCase());if(t>=0){e=t}else{e=parseInt(e,10)}}return e},log:function log(e){e=s.lookupLevel(e);if(typeof console!=="undefined"&&s.lookupLevel(s.level)<=e){var t=s.methodMap[e];if(!console[t]){t="log"}for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o{"use strict";t.__esModule=true;t.default=function(e){var t=typeof global!=="undefined"?global:window,n=t.Handlebars;e.noConflict=function(){if(t.Handlebars===e){t.Handlebars=n}return e}};e.exports=t["default"]},7663:(e,t,n)=>{"use strict";t.__esModule=true;t.checkRevision=checkRevision;t.template=template;t.wrapProgram=wrapProgram;t.resolvePartial=resolvePartial;t.invokePartial=invokePartial;t.noop=noop;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}}t["default"]=e;return t}}var i=n(1437);var s=_interopRequireWildcard(i);var o=n(2879);var a=_interopRequireDefault(o);var l=n(4211);var u=n(3066);var c=n(3268);var f=n(6066);function checkRevision(e){var t=e&&e[0]||1,n=l.COMPILER_REVISION;if(t>=l.LAST_COMPATIBLE_COMPILER_REVISION&&t<=l.COMPILER_REVISION){return}if(t{"use strict";t.__esModule=true;function SafeString(e){this.string=e}SafeString.prototype.toString=SafeString.prototype.toHTML=function(){return""+this.string};t.default=SafeString;e.exports=t["default"]},1437:(e,t)=>{"use strict";t.__esModule=true;t.extend=extend;t.indexOf=indexOf;t.escapeExpression=escapeExpression;t.isEmpty=isEmpty;t.createFrame=createFrame;t.blockParams=blockParams;t.appendContextPath=appendContextPath;var n={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="};var i=/[&<>"'`=]/g,s=/[&<>"'`=]/;function escapeChar(e){return n[e]}function extend(e){for(var t=1;t{var i=n(6956).default;var s=n(9286);i.PrintVisitor=s.PrintVisitor;i.print=s.print;e.exports=i;function extension(e,t){var s=n(5747);var o=s.readFileSync(t,"utf8");e.exports=i.compile(o)}if(true&&require.extensions){require.extensions[".handlebars"]=extension;require.extensions[".hbs"]=extension}},6339:(e,t,n)=>{"use strict";var i=n(8334);e.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},135:e=>{"use strict";const maybeJoin=(...e)=>e.every((e=>e))?e.join(""):"";const maybeEncode=e=>e?encodeURIComponent(e):"";const t={sshtemplate:({domain:e,user:t,project:n,committish:i})=>`git@${e}:${t}/${n}.git${maybeJoin("#",i)}`,sshurltemplate:({domain:e,user:t,project:n,committish:i})=>`git+ssh://git@${e}/${t}/${n}.git${maybeJoin("#",i)}`,browsetemplate:({domain:e,user:t,project:n,committish:i,treepath:s})=>`https://${e}/${t}/${n}${maybeJoin("/",s,"/",maybeEncode(i))}`,browsefiletemplate:({domain:e,user:t,project:n,committish:i,treepath:s,path:o,fragment:a,hashformat:l})=>`https://${e}/${t}/${n}/${s}/${maybeEncode(i||"master")}/${o}${maybeJoin("#",l(a||""))}`,docstemplate:({domain:e,user:t,project:n,treepath:i,committish:s})=>`https://${e}/${t}/${n}${maybeJoin("/",i,"/",maybeEncode(s))}#readme`,httpstemplate:({auth:e,domain:t,user:n,project:i,committish:s})=>`git+https://${maybeJoin(e,"@")}${t}/${n}/${i}.git${maybeJoin("#",s)}`,filetemplate:({domain:e,user:t,project:n,committish:i,path:s})=>`https://${e}/${t}/${n}/raw/${maybeEncode(i)||"master"}/${s}`,shortcuttemplate:({type:e,user:t,project:n,committish:i})=>`${e}:${t}/${n}${maybeJoin("#",i)}`,pathtemplate:({user:e,project:t,committish:n})=>`${e}/${t}${maybeJoin("#",n)}`,bugstemplate:({domain:e,user:t,project:n})=>`https://${e}/${t}/${n}/issues`,hashformat:formatHashFragment};const n={};n.github=Object.assign({},t,{protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",filetemplate:({auth:e,user:t,project:n,committish:i,path:s})=>`https://${maybeJoin(e,"@")}raw.githubusercontent.com/${t}/${n}/${maybeEncode(i)||"master"}/${s}`,gittemplate:({auth:e,domain:t,user:n,project:i,committish:s})=>`git://${maybeJoin(e,"@")}${t}/${n}/${i}.git${maybeJoin("#",s)}`,tarballtemplate:({domain:e,user:t,project:n,committish:i})=>`https://codeload.${e}/${t}/${n}/tar.gz/${maybeEncode(i)||"master"}`,extract:e=>{let[,t,n,i,s]=e.pathname.split("/",5);if(i&&i!=="tree"){return}if(!i){s=e.hash.slice(1)}if(n&&n.endsWith(".git")){n=n.slice(0,-4)}if(!t||!n){return}return{user:t,project:n,committish:s}}});n.bitbucket=Object.assign({},t,{protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",tarballtemplate:({domain:e,user:t,project:n,committish:i})=>`https://${e}/${t}/${n}/get/${maybeEncode(i)||"master"}.tar.gz`,extract:e=>{let[,t,n,i]=e.pathname.split("/",4);if(["get"].includes(i)){return}if(n&&n.endsWith(".git")){n=n.slice(0,-4)}if(!t||!n){return}return{user:t,project:n,committish:e.hash.slice(1)}}});n.gitlab=Object.assign({},t,{protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",httpstemplate:({auth:e,domain:t,user:n,project:i,committish:s})=>`git+https://${maybeJoin(e,"@")}${t}/${n}/${i}.git${maybeJoin("#",s)}`,tarballtemplate:({domain:e,user:t,project:n,committish:i})=>`https://${e}/${t}/${n}/repository/archive.tar.gz?ref=${maybeEncode(i)||"master"}`,extract:e=>{const t=e.pathname.slice(1);if(t.includes("/-/")||t.includes("/archive.tar.gz")){return}const n=t.split("/");let i=n.pop();if(i.endsWith(".git")){i=i.slice(0,-4)}const s=n.join("/");if(!s||!i){return}return{user:s,project:i,committish:e.hash.slice(1)}}});n.gist=Object.assign({},t,{protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",sshtemplate:({domain:e,project:t,committish:n})=>`git@${e}:${t}.git${maybeJoin("#",n)}`,sshurltemplate:({domain:e,project:t,committish:n})=>`git+ssh://git@${e}/${t}.git${maybeJoin("#",n)}`,browsetemplate:({domain:e,project:t,committish:n})=>`https://${e}/${t}${maybeJoin("/",maybeEncode(n))}`,browsefiletemplate:({domain:e,project:t,committish:n,path:i,hashformat:s})=>`https://${e}/${t}${maybeJoin("/",maybeEncode(n))}${maybeJoin("#",s(i))}`,docstemplate:({domain:e,project:t,committish:n})=>`https://${e}/${t}${maybeJoin("/",maybeEncode(n))}`,httpstemplate:({domain:e,project:t,committish:n})=>`git+https://${e}/${t}.git${maybeJoin("#",n)}`,filetemplate:({user:e,project:t,committish:n,path:i})=>`https://gist.githubusercontent.com/${e}/${t}/raw${maybeJoin("/",maybeEncode(n))}/${i}`,shortcuttemplate:({type:e,project:t,committish:n})=>`${e}:${t}${maybeJoin("#",n)}`,pathtemplate:({project:e,committish:t})=>`${e}${maybeJoin("#",t)}`,bugstemplate:({domain:e,project:t})=>`https://${e}/${t}`,gittemplate:({domain:e,project:t,committish:n})=>`git://${e}/${t}.git${maybeJoin("#",n)}`,tarballtemplate:({project:e,committish:t})=>`https://codeload.github.com/gist/${e}/tar.gz/${maybeEncode(t)||"master"}`,extract:e=>{let[,t,n,i]=e.pathname.split("/",4);if(i==="raw"){return}if(!n){if(!t){return}n=t;t=null}if(n.endsWith(".git")){n=n.slice(0,-4)}return{user:t,project:n,committish:e.hash.slice(1)}},hashformat:function(e){return e&&"file-"+formatHashFragment(e)}});const i=Object.keys(n);n.byShortcut={};n.byDomain={};for(const e of i){n.byShortcut[`${e}:`]=e;n.byDomain[n[e].domain]=e}function formatHashFragment(e){return e.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-")}e.exports=n},8145:(e,t,n)=>{"use strict";const i=n(135);class GitHost{constructor(e,t,n,s,o,a,l={}){Object.assign(this,i[e]);this.type=e;this.user=t;this.auth=n;this.project=s;this.committish=o;this.default=a;this.opts=l}hash(){return this.committish?`#${this.committish}`:""}ssh(e){return this._fill(this.sshtemplate,e)}_fill(e,t){if(typeof e==="function"){const n={...this,...this.opts,...t};if(!n.path){n.path=""}if(n.path.startsWith("/")){n.path=n.path.slice(1)}if(n.noCommittish){n.committish=null}const i=e(n);return n.noGitPlus&&i.startsWith("git+")?i.slice(4):i}return null}sshurl(e){return this._fill(this.sshurltemplate,e)}browse(e,t,n){if(typeof e!=="string"){return this._fill(this.browsetemplate,e)}if(typeof t!=="string"){n=t;t=null}return this._fill(this.browsefiletemplate,{...n,fragment:t,path:e})}docs(e){return this._fill(this.docstemplate,e)}bugs(e){return this._fill(this.bugstemplate,e)}https(e){return this._fill(this.httpstemplate,e)}git(e){return this._fill(this.gittemplate,e)}shortcut(e){return this._fill(this.shortcuttemplate,e)}path(e){return this._fill(this.pathtemplate,e)}tarball(e){return this._fill(this.tarballtemplate,{...e,noCommittish:false})}file(e,t){return this._fill(this.filetemplate,{...t,path:e})}getDefaultRepresentation(){return this.default}toString(e){if(this.default&&typeof this[this.default]==="function"){return this[this.default](e)}return this.sshurl(e)}}e.exports=GitHost},8869:(e,t,n)=>{"use strict";const i=n(8835);const s=n(135);const o=e.exports=n(8145);const a=n(7129);const l=new a({max:1e3});const u={"git+ssh:":"sshurl","git+https:":"https","ssh:":"sshurl","git:":"git"};function protocolToRepresentation(e){return u[e]||e.slice(0,-1)}const c={"git:":true,"https:":true,"git+https:":true,"http:":true,"git+http:":true};const f=Object.keys(s.byShortcut).concat(["http:","https:","git:","git+ssh:","git+https:","ssh:"]);e.exports.fromUrl=function(e,t){if(typeof e!=="string"){return}const n=e+JSON.stringify(t||{});if(!l.has(n)){l.set(n,fromUrl(e,t))}return l.get(n)};function fromUrl(e,t){if(!e){return}const n=isGitHubShorthand(e)?"github:"+e:correctProtocol(e);const i=parseGitUrl(n);if(!i){return i}const a=s.byShortcut[i.protocol];const l=s.byDomain[i.hostname.startsWith("www.")?i.hostname.slice(4):i.hostname];const u=a||l;if(!u){return}const f=s[a||l];let p=null;if(c[i.protocol]&&(i.username||i.password)){p=`${i.username}${i.password?":"+i.password:""}`}let h=null;let d=null;let m=null;let g=null;try{if(a){let e=i.pathname.startsWith("/")?i.pathname.slice(1):i.pathname;const t=e.indexOf("@");if(t>-1){e=e.slice(t+1)}const n=e.lastIndexOf("/");if(n>-1){d=decodeURIComponent(e.slice(0,n));if(!d){d=null}m=decodeURIComponent(e.slice(n+1))}else{m=decodeURIComponent(e)}if(m.endsWith(".git")){m=m.slice(0,-4)}if(i.hash){h=decodeURIComponent(i.hash.slice(1))}g="shortcut"}else{if(!f.protocols.includes(i.protocol)){return}const e=f.extract(i);if(!e){return}d=e.user&&decodeURIComponent(e.user);m=decodeURIComponent(e.project);h=decodeURIComponent(e.committish);g=protocolToRepresentation(i.protocol)}}catch(e){if(e instanceof URIError){return}else{throw e}}return new o(u,d,p,m,h,g,t)}const correctProtocol=e=>{const t=e.indexOf(":");const n=e.slice(0,t+1);if(f.includes(n)){return e}const i=e.indexOf("@");if(i>-1){if(i>t){return`git+ssh://${e}`}else{return e}}const s=e.indexOf("//");if(s===t+1){return e}return e.slice(0,t+1)+"//"+e.slice(t+1)};const isGitHubShorthand=e=>{const t=e.indexOf("#");const n=e.indexOf("/");const i=e.indexOf("/",n+1);const s=e.indexOf(":");const o=/\s/.exec(e);const a=e.indexOf("@");const l=!o||t>-1&&o.index>t;const u=a===-1||t>-1&&a>t;const c=s===-1||t>-1&&s>t;const f=i===-1||t>-1&&i>t;const p=n>0;const h=t>-1?e[t-1]!=="/":!e.endsWith("/");const d=!e.startsWith(".");return l&&p&&h&&d&&u&&c&&f};const correctUrl=e=>{const t=e.indexOf("@");const n=e.lastIndexOf("#");let i=e.indexOf(":");let s=e.lastIndexOf(":",n>-1?n:Infinity);let o;if(s>t){o=e.slice(0,s)+"/"+e.slice(s+1);i=o.indexOf(":");s=o.lastIndexOf(":")}if(i===-1&&e.indexOf("//")===-1){o=`git+ssh://${o}`}return o};const parseGitUrl=e=>{let t;try{t=new i.URL(e)}catch(e){}if(t){return t}const n=correctUrl(e);try{t=new i.URL(n)}catch(e){}return t}},4124:(e,t,n)=>{try{var i=n(1669);if(typeof i.inherits!=="function")throw"";e.exports=i.inherits}catch(t){e.exports=n(8544)}},8544:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var TempCtor=function(){};TempCtor.prototype=t.prototype;e.prototype=new TempCtor;e.prototype.constructor=e}}}},8885:(e,t)=>{t.parse=t.decode=decode;t.stringify=t.encode=encode;t.safe=safe;t.unsafe=unsafe;var n=typeof process!=="undefined"&&process.platform==="win32"?"\r\n":"\n";function encode(e,t){var i=[];var s="";if(typeof t==="string"){t={section:t,whitespace:false}}else{t=t||{};t.whitespace=t.whitespace===true}var o=t.whitespace?" = ":"=";Object.keys(e).forEach((function(t,a,l){var u=e[t];if(u&&Array.isArray(u)){u.forEach((function(e){s+=safe(t+"[]")+o+safe(e)+"\n"}))}else if(u&&typeof u==="object")i.push(t);else s+=safe(t)+o+safe(u)+n}));if(t.section&&s.length)s="["+safe(t.section)+"]"+n+s;i.forEach((function(i,o,a){var l=dotSplit(i).join("\\.");var u=(t.section?t.section+".":"")+l;var c=encode(e[i],{section:u,whitespace:t.whitespace});if(s.length&&c.length)s+=n;s+=c}));return s}function dotSplit(e){return e.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map((function(e){return e.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")}))}function decode(e){var t={};var n=t;var i=null;var s=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i;var o=e.split(/[\r\n]+/g);o.forEach((function(e,o,a){if(!e||e.match(/^\s*[;#]/))return;var l=e.match(s);if(!l)return;if(l[1]!==undefined){i=unsafe(l[1]);if(i==="__proto__"){n={};return}n=t[i]=t[i]||{};return}var u=unsafe(l[2]);if(u==="__proto__")return;var c=l[3]?unsafe(l[4]):true;switch(c){case"true":case"false":case"null":c=JSON.parse(c)}if(u.length>2&&u.slice(-2)==="[]"){u=u.substring(0,u.length-2);if(u==="__proto__")return;if(!n[u])n[u]=[];else if(!Array.isArray(n[u]))n[u]=[n[u]]}if(Array.isArray(n[u]))n[u].push(c);else n[u]=c}));Object.keys(t).filter((function(e,n,i){if(!t[e]||typeof t[e]!=="object"||Array.isArray(t[e]))return false;var s=dotSplit(e);var o=t;var a=s.pop();var l=a.replace(/\\\./g,".");s.forEach((function(e,t,n){if(e==="__proto__")return;if(!o[e]||typeof o[e]!=="object")o[e]={};o=o[e]}));if(o===t&&l===a)return false;o[l]=t[e];return true})).forEach((function(e,n,i){delete t[e]}));return t}function isQuoted(e){return e.charAt(0)==='"'&&e.slice(-1)==='"'||e.charAt(0)==="'"&&e.slice(-1)==="'"}function safe(e){return typeof e!=="string"||e.match(/[=\r\n]/)||e.match(/^\[/)||e.length>1&&isQuoted(e)||e!==e.trim()?JSON.stringify(e):e.replace(/;/g,"\\;").replace(/#/g,"\\#")}function unsafe(e,t){e=(e||"").trim();if(isQuoted(e)){if(e.charAt(0)==="'")e=e.substr(1,e.length-2);try{e=JSON.parse(e)}catch(e){}}else{var n=false;var i="";for(var s=0,o=e.length;s{"use strict";e.exports=function isArrayish(e){if(!e){return false}return e instanceof Array||Array.isArray(e)||e.length>=0&&e.splice instanceof Function}},6873:(e,t,n)=>{"use strict";var i=n(6339);function specifierIncluded(e,t){var n=e.split(".");var i=t.split(" ");var s=i.length>1?i[0]:"=";var o=(i.length>1?i[1]:i[0]).split(".");for(var a=0;a<3;++a){var l=parseInt(n[a]||0,10);var u=parseInt(o[a]||0,10);if(l===u){continue}if(s==="<"){return l="){return l>=u}return false}return s===">="}function matchesRange(e,t){var n=t.split(/ ?&& ?/);if(n.length===0){return false}for(var i=0;i{"use strict";e.exports=e=>{const t=typeof e;return e!==null&&(t==="object"||t==="function")}},5586:e=>{"use strict";e.exports=parseJson;function parseJson(e,t,n){n=n||20;try{return JSON.parse(e,t)}catch(t){if(typeof e!=="string"){const t=Array.isArray(e)&&e.length===0;const n="Cannot parse "+(t?"an empty array":String(e));throw new TypeError(n)}const i=t.message.match(/^Unexpected token.*position\s+(\d+)/i);const s=i?+i[1]:t.message.match(/^Unexpected end of JSON.*/i)?e.length-1:null;if(s!=null){const i=s<=n?0:s-n;const o=s+n>=e.length?e.length:s+n;t.message+=` while parsing near '${i===0?"":"..."}${e.slice(i,o)}${o===e.length?"":"..."}'`}else{t.message+=` while parsing '${e.slice(0,n*2)}'`}throw t}}},7073:(e,t)=>{t=e.exports=stringify;t.getSerialize=serializer;function stringify(e,t,n,i){return JSON.stringify(e,serializer(t,i),n)}function serializer(e,t){var n=[],i=[];if(t==null)t=function(e,t){if(n[0]===t)return"[Circular ~]";return"[Circular ~."+i.slice(0,n.indexOf(t)).join(".")+"]"};return function(s,o){if(n.length>0){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this);~a?i.splice(a,Infinity,s):i.push(s);if(~n.indexOf(o))o=t.call(this,s,o)}else n.push(o);return e==null?o:e.call(this,s,o)}}},5978:(e,t,n)=>{"use strict";const i=n(5622);const s=n(7758);const o=n(8551);const a=n(1680);const l=n(3990);const parse=(e,t)=>a(o(e),i.relative(".",t));e.exports=e=>l(s.readFile)(e,"utf8").then((t=>parse(t,e)));e.exports.sync=e=>parse(s.readFileSync(e,"utf8"),e)},1680:(e,t,n)=>{"use strict";const i=n(3505);const s=n(5586);const o=i("JSONError",{fileName:i.append("in %s")});e.exports=(e,t,n)=>{if(typeof t==="string"){n=t;t=null}try{try{return JSON.parse(e,t)}catch(n){s(e,t);throw n}}catch(e){e.message=e.message.replace(/\n/g,"");const t=new o(e);if(n){t.fileName=n}throw t}}},3990:e=>{"use strict";const processFn=(e,t)=>function(){const n=t.promiseModule;const i=new Array(arguments.length);for(let e=0;e{if(t.errorFirst){i.push((function(e,i){if(t.multiArgs){const t=new Array(arguments.length-1);for(let e=1;e{t=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:true,promiseModule:Promise},t);const filter=e=>{const match=t=>typeof t==="string"?e===t:t.test(e);return t.include?t.include.some(match):!t.exclude.some(match)};let n;if(typeof e==="function"){n=function(){if(t.excludeMain){return e.apply(this,arguments)}return processFn(e,t).apply(this,arguments)}}else{n=Object.create(Object.getPrototypeOf(e))}for(const i in e){const s=e[i];n[i]=typeof s==="function"&&filter(i)?processFn(s,t):s}return n}},5100:(e,t,n)=>{e=n.nmd(e);var i=200;var s="__lodash_hash_undefined__";var o=1,a=2;var l=9007199254740991;var u="[object Arguments]",c="[object Array]",f="[object Boolean]",p="[object Date]",h="[object Error]",d="[object Function]",m="[object GeneratorFunction]",g="[object Map]",y="[object Number]",v="[object Object]",b="[object Promise]",w="[object RegExp]",S="[object Set]",E="[object String]",_="[object Symbol]",O="[object WeakMap]";var R="[object ArrayBuffer]",C="[object DataView]",A="[object Float32Array]",L="[object Float64Array]",x="[object Int8Array]",I="[object Int16Array]",T="[object Int32Array]",P="[object Uint8Array]",k="[object Uint8ClampedArray]",N="[object Uint16Array]",M="[object Uint32Array]";var D=/[\\^$.*+?()[\]{}|]/g;var j=/^\[object .+?Constructor\]$/;var $=/^(?:0|[1-9]\d*)$/;var F={};F[A]=F[L]=F[x]=F[I]=F[T]=F[P]=F[k]=F[N]=F[M]=true;F[u]=F[c]=F[R]=F[f]=F[C]=F[p]=F[h]=F[d]=F[g]=F[y]=F[v]=F[w]=F[S]=F[E]=F[O]=false;var B=typeof global=="object"&&global&&global.Object===Object&&global;var U=typeof self=="object"&&self&&self.Object===Object&&self;var H=B||U||Function("return this")();var G=true&&t&&!t.nodeType&&t;var W=G&&"object"=="object"&&e&&!e.nodeType&&e;var V=W&&W.exports===G;var q=V&&B.process;var Y=function(){try{return q&&q.binding("util")}catch(e){}}();var z=Y&&Y.isTypedArray;function arraySome(e,t){var n=-1,i=e?e.length:0;while(++n-1}function listCacheSet(e,t){var n=this.__data__,i=assocIndexOf(n,e);if(i<0){n.push([e,t])}else{n[i][1]=t}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var t=-1,n=e?e.length:0;this.clear();while(++tc)){return false}var p=l.get(e);if(p&&l.get(t)){return p==t}var h=-1,d=true,m=s&o?new SetCache:undefined;l.set(e,t);l.set(t,e);while(++h-1&&e%1==0&&e-1&&e%1==0&&e<=l}function isObject(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function isObjectLike(e){return!!e&&typeof e=="object"}function isMatch(e,t){return e===t||baseIsMatch(e,t,getMatchData(t))}var Re=z?baseUnary(z):baseIsTypedArray;function keys(e){return isArrayLike(e)?arrayLikeKeys(e):baseKeys(e)}e.exports=isMatch},9213:(e,t,n)=>{var i=n(9882);var s=i.Symbol;e.exports=s},9647:e=>{function apply(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=apply},2237:(e,t,n)=>{var i=n(7765),s=n(8495),o=n(4869),a=n(4190),l=n(9819),u=n(2496);var c=Object.prototype;var f=c.hasOwnProperty;function arrayLikeKeys(e,t){var n=o(e),c=!n&&s(e),p=!n&&!c&&a(e),h=!n&&!c&&!p&&u(e),d=n||c||p||h,m=d?i(e.length,String):[],g=m.length;for(var y in e){if((t||f.call(e,y))&&!(d&&(y=="length"||p&&(y=="offset"||y=="parent")||h&&(y=="buffer"||y=="byteLength"||y=="byteOffset")||l(y,g)))){m.push(y)}}return m}e.exports=arrayLikeKeys},4356:e=>{function arrayMap(e,t){var n=-1,i=e==null?0:e.length,s=Array(i);while(++n{var i=n(3868),s=n(1901);var o=Object.prototype;var a=o.hasOwnProperty;function assignValue(e,t,n){var o=e[t];if(!(a.call(e,t)&&s(o,n))||n===undefined&&!(t in e)){i(e,t,n)}}e.exports=assignValue},3868:(e,t,n)=>{var i=n(416);function baseAssignValue(e,t,n){if(t=="__proto__"&&i){i(e,t,{configurable:true,enumerable:true,value:n,writable:true})}else{e[t]=n}}e.exports=baseAssignValue},7497:(e,t,n)=>{var i=n(9213),s=n(923),o=n(4200);var a="[object Null]",l="[object Undefined]";var u=i?i.toStringTag:undefined;function baseGetTag(e){if(e==null){return e===undefined?l:a}return u&&u in Object(e)?s(e):o(e)}e.exports=baseGetTag},2177:(e,t,n)=>{var i=n(7497),s=n(5926);var o="[object Arguments]";function baseIsArguments(e){return s(e)&&i(e)==o}e.exports=baseIsArguments},411:(e,t,n)=>{var i=n(7799),s=n(9058),o=n(3334),a=n(6928);var l=/[\\^$.*+?()[\]{}|]/g;var u=/^\[object .+?Constructor\]$/;var c=Function.prototype,f=Object.prototype;var p=c.toString;var h=f.hasOwnProperty;var d=RegExp("^"+p.call(h).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!o(e)||s(e)){return false}var t=i(e)?d:u;return t.test(a(e))}e.exports=baseIsNative},1528:(e,t,n)=>{var i=n(7497),s=n(4530),o=n(5926);var a="[object Arguments]",l="[object Array]",u="[object Boolean]",c="[object Date]",f="[object Error]",p="[object Function]",h="[object Map]",d="[object Number]",m="[object Object]",g="[object RegExp]",y="[object Set]",v="[object String]",b="[object WeakMap]";var w="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",_="[object Float64Array]",O="[object Int8Array]",R="[object Int16Array]",C="[object Int32Array]",A="[object Uint8Array]",L="[object Uint8ClampedArray]",x="[object Uint16Array]",I="[object Uint32Array]";var T={};T[E]=T[_]=T[O]=T[R]=T[C]=T[A]=T[L]=T[x]=T[I]=true;T[a]=T[l]=T[w]=T[u]=T[S]=T[c]=T[f]=T[p]=T[h]=T[d]=T[m]=T[g]=T[y]=T[v]=T[b]=false;function baseIsTypedArray(e){return o(e)&&s(e.length)&&!!T[i(e)]}e.exports=baseIsTypedArray},7164:(e,t,n)=>{var i=n(10),s=n(5778);var o=Object.prototype;var a=o.hasOwnProperty;function baseKeys(e){if(!i(e)){return s(e)}var t=[];for(var n in Object(e)){if(a.call(e,n)&&n!="constructor"){t.push(n)}}return t}e.exports=baseKeys},297:(e,t,n)=>{var i=n(3334),s=n(10),o=n(5383);var a=Object.prototype;var l=a.hasOwnProperty;function baseKeysIn(e){if(!i(e)){return o(e)}var t=s(e),n=[];for(var a in e){if(!(a=="constructor"&&(t||!l.call(e,a)))){n.push(a)}}return n}e.exports=baseKeysIn},6610:e=>{function basePropertyOf(e){return function(t){return e==null?undefined:e[t]}}e.exports=basePropertyOf},2936:(e,t,n)=>{var i=n(7822),s=n(2417),o=n(8416);function baseRest(e,t){return o(s(e,t,i),e+"")}e.exports=baseRest},979:(e,t,n)=>{var i=n(5946),s=n(416),o=n(7822);var a=!s?o:function(e,t){return s(e,"toString",{configurable:true,enumerable:false,value:i(t),writable:true})};e.exports=a},7765:e=>{function baseTimes(e,t){var n=-1,i=Array(e);while(++n{var i=n(9213),s=n(4356),o=n(4869),a=n(6403);var l=1/0;var u=i?i.prototype:undefined,c=u?u.toString:undefined;function baseToString(e){if(typeof e=="string"){return e}if(o(e)){return s(e,baseToString)+""}if(a(e)){return c?c.call(e):""}var t=e+"";return t=="0"&&1/e==-l?"-0":t}e.exports=baseToString},9258:e=>{function baseUnary(e){return function(t){return e(t)}}e.exports=baseUnary},5159:(e,t,n)=>{var i=n(4356);function baseValues(e,t){return i(t,(function(t){return e[t]}))}e.exports=baseValues},6388:(e,t,n)=>{var i=n(9725),s=n(3868);function copyObject(e,t,n,o){var a=!n;n||(n={});var l=-1,u=t.length;while(++l{var i=n(9882);var s=i["__core-js_shared__"];e.exports=s},1911:(e,t,n)=>{var i=n(2936),s=n(8494);function createAssigner(e){return i((function(t,n){var i=-1,o=n.length,a=o>1?n[o-1]:undefined,l=o>2?n[2]:undefined;a=e.length>3&&typeof a=="function"?(o--,a):undefined;if(l&&s(n[0],n[1],l)){a=o<3?undefined:a;o=1}t=Object(t);while(++i{var i=n(1901);var s=Object.prototype;var o=s.hasOwnProperty;function customDefaultsAssignIn(e,t,n,a){if(e===undefined||i(e,s[n])&&!o.call(a,n)){return t}return e}e.exports=customDefaultsAssignIn},416:(e,t,n)=>{var i=n(4479);var s=function(){try{var e=i(Object,"defineProperty");e({},"",{});return e}catch(e){}}();e.exports=s},1786:(e,t,n)=>{var i=n(6610);var s={"&":"&","<":"<",">":">",'"':""","'":"'"};var o=i(s);e.exports=o},4742:e=>{var t={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function escapeStringChar(e){return"\\"+t[e]}e.exports=escapeStringChar},2085:e=>{var t=typeof global=="object"&&global&&global.Object===Object&&global;e.exports=t},4479:(e,t,n)=>{var i=n(411),s=n(3542);function getNative(e,t){var n=s(e,t);return i(n)?n:undefined}e.exports=getNative},6271:(e,t,n)=>{var i=n(6320);var s=i(Object.getPrototypeOf,Object);e.exports=s},923:(e,t,n)=>{var i=n(9213);var s=Object.prototype;var o=s.hasOwnProperty;var a=s.toString;var l=i?i.toStringTag:undefined;function getRawTag(e){var t=o.call(e,l),n=e[l];try{e[l]=undefined;var i=true}catch(e){}var s=a.call(e);if(i){if(t){e[l]=n}else{delete e[l]}}return s}e.exports=getRawTag},3542:e=>{function getValue(e,t){return e==null?undefined:e[t]}e.exports=getValue},9819:e=>{var t=9007199254740991;var n=/^(?:0|[1-9]\d*)$/;function isIndex(e,i){var s=typeof e;i=i==null?t:i;return!!i&&(s=="number"||s!="symbol"&&n.test(e))&&(e>-1&&e%1==0&&e{var i=n(1901),s=n(8017),o=n(9819),a=n(3334);function isIterateeCall(e,t,n){if(!a(n)){return false}var l=typeof t;if(l=="number"?s(n)&&o(t,n.length):l=="string"&&t in n){return i(n[t],e)}return false}e.exports=isIterateeCall},9058:(e,t,n)=>{var i=n(8380);var s=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!s&&s in e}e.exports=isMasked},10:e=>{var t=Object.prototype;function isPrototype(e){var n=e&&e.constructor,i=typeof n=="function"&&n.prototype||t;return e===i}e.exports=isPrototype},5778:(e,t,n)=>{var i=n(6320);var s=i(Object.keys,Object);e.exports=s},5383:e=>{function nativeKeysIn(e){var t=[];if(e!=null){for(var n in Object(e)){t.push(n)}}return t}e.exports=nativeKeysIn},4643:(e,t,n)=>{e=n.nmd(e);var i=n(2085);var s=true&&t&&!t.nodeType&&t;var o=s&&"object"=="object"&&e&&!e.nodeType&&e;var a=o&&o.exports===s;var l=a&&i.process;var u=function(){try{var e=o&&o.require&&o.require("util").types;if(e){return e}return l&&l.binding&&l.binding("util")}catch(e){}}();e.exports=u},4200:e=>{var t=Object.prototype;var n=t.toString;function objectToString(e){return n.call(e)}e.exports=objectToString},6320:e=>{function overArg(e,t){return function(n){return e(t(n))}}e.exports=overArg},2417:(e,t,n)=>{var i=n(9647);var s=Math.max;function overRest(e,t,n){t=s(t===undefined?e.length-1:t,0);return function(){var o=arguments,a=-1,l=s(o.length-t,0),u=Array(l);while(++a{var t=/<%-([\s\S]+?)%>/g;e.exports=t},1601:e=>{var t=/<%([\s\S]+?)%>/g;e.exports=t},4070:e=>{var t=/<%=([\s\S]+?)%>/g;e.exports=t},9882:(e,t,n)=>{var i=n(2085);var s=typeof self=="object"&&self&&self.Object===Object&&self;var o=i||s||Function("return this")();e.exports=o},8416:(e,t,n)=>{var i=n(979),s=n(7882);var o=s(i);e.exports=o},7882:e=>{var t=800,n=16;var i=Date.now;function shortOut(e){var s=0,o=0;return function(){var a=i(),l=n-(a-o);o=a;if(l>0){if(++s>=t){return arguments[0]}}else{s=0}return e.apply(undefined,arguments)}}e.exports=shortOut},6928:e=>{var t=Function.prototype;var n=t.toString;function toSource(e){if(e!=null){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}e.exports=toSource},9271:(e,t,n)=>{var i=n(6388),s=n(1911),o=n(9109);var a=s((function(e,t,n,s){i(t,o(t),e,s)}));e.exports=a},4025:(e,t,n)=>{var i=n(9647),s=n(2936),o=n(5411);var a=s((function(e,t){try{return i(e,undefined,t)}catch(e){return o(e)?e:new Error(e)}}));e.exports=a},5946:e=>{function constant(e){return function(){return e}}e.exports=constant},1901:e=>{function eq(e,t){return e===t||e!==e&&t!==t}e.exports=eq},2678:(e,t,n)=>{var i=n(1786),s=n(2931);var o=/[&<>"']/g,a=RegExp(o.source);function escape(e){e=s(e);return e&&a.test(e)?e.replace(o,i):e}e.exports=escape},7822:e=>{function identity(e){return e}e.exports=identity},8495:(e,t,n)=>{var i=n(2177),s=n(5926);var o=Object.prototype;var a=o.hasOwnProperty;var l=o.propertyIsEnumerable;var u=i(function(){return arguments}())?i:function(e){return s(e)&&a.call(e,"callee")&&!l.call(e,"callee")};e.exports=u},4869:e=>{var t=Array.isArray;e.exports=t},8017:(e,t,n)=>{var i=n(7799),s=n(4530);function isArrayLike(e){return e!=null&&s(e.length)&&!i(e)}e.exports=isArrayLike},4190:(e,t,n)=>{e=n.nmd(e);var i=n(9882),s=n(7744);var o=true&&t&&!t.nodeType&&t;var a=o&&"object"=="object"&&e&&!e.nodeType&&e;var l=a&&a.exports===o;var u=l?i.Buffer:undefined;var c=u?u.isBuffer:undefined;var f=c||s;e.exports=f},5411:(e,t,n)=>{var i=n(7497),s=n(5926),o=n(6169);var a="[object DOMException]",l="[object Error]";function isError(e){if(!s(e)){return false}var t=i(e);return t==l||t==a||typeof e.message=="string"&&typeof e.name=="string"&&!o(e)}e.exports=isError},7799:(e,t,n)=>{var i=n(7497),s=n(3334);var o="[object AsyncFunction]",a="[object Function]",l="[object GeneratorFunction]",u="[object Proxy]";function isFunction(e){if(!s(e)){return false}var t=i(e);return t==a||t==l||t==o||t==u}e.exports=isFunction},4530:e=>{var t=9007199254740991;function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=t}e.exports=isLength},3334:e=>{function isObject(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}e.exports=isObject},5926:e=>{function isObjectLike(e){return e!=null&&typeof e=="object"}e.exports=isObjectLike},6169:(e,t,n)=>{var i=n(7497),s=n(6271),o=n(5926);var a="[object Object]";var l=Function.prototype,u=Object.prototype;var c=l.toString;var f=u.hasOwnProperty;var p=c.call(Object);function isPlainObject(e){if(!o(e)||i(e)!=a){return false}var t=s(e);if(t===null){return true}var n=f.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&c.call(n)==p}e.exports=isPlainObject},6403:(e,t,n)=>{var i=n(7497),s=n(5926);var o="[object Symbol]";function isSymbol(e){return typeof e=="symbol"||s(e)&&i(e)==o}e.exports=isSymbol},2496:(e,t,n)=>{var i=n(1528),s=n(9258),o=n(4643);var a=o&&o.isTypedArray;var l=a?s(a):i;e.exports=l},7645:(e,t,n)=>{var i=n(2237),s=n(7164),o=n(8017);function keys(e){return o(e)?i(e):s(e)}e.exports=keys},9109:(e,t,n)=>{var i=n(2237),s=n(297),o=n(8017);function keysIn(e){return o(e)?i(e,true):s(e)}e.exports=keysIn},250:function(e,t,n){e=n.nmd(e); -/** - * @license - * Lodash - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(){var n;var i="4.17.21";var s=200;var o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",l="Invalid `variable` option passed into `_.template`";var u="__lodash_hash_undefined__";var c=500;var f="__lodash_placeholder__";var p=1,h=2,d=4;var m=1,g=2;var y=1,v=2,b=4,w=8,S=16,E=32,_=64,O=128,R=256,C=512;var A=30,L="...";var x=800,I=16;var T=1,P=2,k=3;var N=1/0,M=9007199254740991,D=17976931348623157e292,j=0/0;var $=4294967295,F=$-1,B=$>>>1;var U=[["ary",O],["bind",y],["bindKey",v],["curry",w],["curryRight",S],["flip",C],["partial",E],["partialRight",_],["rearg",R]];var H="[object Arguments]",G="[object Array]",W="[object AsyncFunction]",V="[object Boolean]",q="[object Date]",Y="[object DOMException]",z="[object Error]",K="[object Function]",X="[object GeneratorFunction]",J="[object Map]",Z="[object Number]",ee="[object Null]",te="[object Object]",re="[object Promise]",ne="[object Proxy]",ie="[object RegExp]",se="[object Set]",oe="[object String]",ae="[object Symbol]",le="[object Undefined]",ue="[object WeakMap]",ce="[object WeakSet]";var fe="[object ArrayBuffer]",pe="[object DataView]",he="[object Float32Array]",de="[object Float64Array]",me="[object Int8Array]",ge="[object Int16Array]",ye="[object Int32Array]",ve="[object Uint8Array]",be="[object Uint8ClampedArray]",we="[object Uint16Array]",Se="[object Uint32Array]";var Ee=/\b__p \+= '';/g,_e=/\b(__p \+=) '' \+/g,Oe=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var Re=/&(?:amp|lt|gt|quot|#39);/g,Ce=/[&<>"']/g,Ae=RegExp(Re.source),Le=RegExp(Ce.source);var xe=/<%-([\s\S]+?)%>/g,Ie=/<%([\s\S]+?)%>/g,Te=/<%=([\s\S]+?)%>/g;var Pe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ke=/^\w*$/,Ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var Me=/[\\^$.*+?()[\]{}|]/g,De=RegExp(Me.source);var je=/^\s+/;var $e=/\s/;var Fe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Be=/\{\n\/\* \[wrapped with (.+)\] \*/,Ue=/,? & /;var He=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Ge=/[()=,{}\[\]\/\s]/;var We=/\\(\\)?/g;var Ve=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var qe=/\w*$/;var Ye=/^[-+]0x[0-9a-f]+$/i;var Qe=/^0b[01]+$/i;var ze=/^\[object .+?Constructor\]$/;var Ke=/^0o[0-7]+$/i;var Xe=/^(?:0|[1-9]\d*)$/;var Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var Ze=/($^)/;var et=/['\n\r\u2028\u2029\\]/g;var tt="\\ud800-\\udfff",rt="\\u0300-\\u036f",nt="\\ufe20-\\ufe2f",it="\\u20d0-\\u20ff",st=rt+nt+it,ot="\\u2700-\\u27bf",at="a-z\\xdf-\\xf6\\xf8-\\xff",ut="\\xac\\xb1\\xd7\\xf7",ct="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ft="\\u2000-\\u206f",pt=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ht="A-Z\\xc0-\\xd6\\xd8-\\xde",dt="\\ufe0e\\ufe0f",mt=ut+ct+ft+pt;var yt="['’]",vt="["+tt+"]",bt="["+mt+"]",wt="["+st+"]",St="\\d+",Et="["+ot+"]",_t="["+at+"]",Ot="[^"+tt+mt+St+ot+at+ht+"]",Rt="\\ud83c[\\udffb-\\udfff]",Ct="(?:"+wt+"|"+Rt+")",At="[^"+tt+"]",Lt="(?:\\ud83c[\\udde6-\\uddff]){2}",xt="[\\ud800-\\udbff][\\udc00-\\udfff]",It="["+ht+"]",Tt="\\u200d";var Pt="(?:"+_t+"|"+Ot+")",kt="(?:"+It+"|"+Ot+")",Nt="(?:"+yt+"(?:d|ll|m|re|s|t|ve))?",Mt="(?:"+yt+"(?:D|LL|M|RE|S|T|VE))?",Dt=Ct+"?",jt="["+dt+"]?",$t="(?:"+Tt+"(?:"+[At,Lt,xt].join("|")+")"+jt+Dt+")*",Ft="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Bt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ut=jt+Dt+$t,Ht="(?:"+[Et,Lt,xt].join("|")+")"+Ut,Gt="(?:"+[At+wt+"?",wt,Lt,xt,vt].join("|")+")";var Wt=RegExp(yt,"g");var Vt=RegExp(wt,"g");var qt=RegExp(Rt+"(?="+Rt+")|"+Gt+Ut,"g");var Yt=RegExp([It+"?"+_t+"+"+Nt+"(?="+[bt,It,"$"].join("|")+")",kt+"+"+Mt+"(?="+[bt,It+Pt,"$"].join("|")+")",It+"?"+Pt+"+"+Nt,It+"+"+Mt,Bt,Ft,St,Ht].join("|"),"g");var Qt=RegExp("["+Tt+tt+st+dt+"]");var zt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Kt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var Xt=-1;var Jt={};Jt[he]=Jt[de]=Jt[me]=Jt[ge]=Jt[ye]=Jt[ve]=Jt[be]=Jt[we]=Jt[Se]=true;Jt[H]=Jt[G]=Jt[fe]=Jt[V]=Jt[pe]=Jt[q]=Jt[z]=Jt[K]=Jt[J]=Jt[Z]=Jt[te]=Jt[ie]=Jt[se]=Jt[oe]=Jt[ue]=false;var Zt={};Zt[H]=Zt[G]=Zt[fe]=Zt[pe]=Zt[V]=Zt[q]=Zt[he]=Zt[de]=Zt[me]=Zt[ge]=Zt[ye]=Zt[J]=Zt[Z]=Zt[te]=Zt[ie]=Zt[se]=Zt[oe]=Zt[ae]=Zt[ve]=Zt[be]=Zt[we]=Zt[Se]=true;Zt[z]=Zt[K]=Zt[ue]=false;var er={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"};var tr={"&":"&","<":"<",">":">",'"':""","'":"'"};var rr={"&":"&","<":"<",">":">",""":'"',"'":"'"};var nr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var ir=parseFloat,sr=parseInt;var or=typeof global=="object"&&global&&global.Object===Object&&global;var ar=typeof self=="object"&&self&&self.Object===Object&&self;var lr=or||ar||Function("return this")();var ur=true&&t&&!t.nodeType&&t;var cr=ur&&"object"=="object"&&e&&!e.nodeType&&e;var fr=cr&&cr.exports===ur;var pr=fr&&or.process;var hr=function(){try{var e=cr&&cr.require&&cr.require("util").types;if(e){return e}return pr&&pr.binding&&pr.binding("util")}catch(e){}}();var dr=hr&&hr.isArrayBuffer,mr=hr&&hr.isDate,gr=hr&&hr.isMap,yr=hr&&hr.isRegExp,vr=hr&&hr.isSet,br=hr&&hr.isTypedArray;function apply(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function arrayAggregator(e,t,n,i){var s=-1,o=e==null?0:e.length;while(++s-1}function arrayIncludesWith(e,t,n){var i=-1,s=e==null?0:e.length;while(++i-1){}return n}function charsEndIndex(e,t){var n=e.length;while(n--&&baseIndexOf(t,e[n],0)>-1){}return n}function countHolders(e,t){var n=e.length,i=0;while(n--){if(e[n]===t){++i}}return i}var Sr=basePropertyOf(er);var Er=basePropertyOf(tr);function escapeStringChar(e){return"\\"+nr[e]}function getValue(e,t){return e==null?n:e[t]}function hasUnicode(e){return Qt.test(e)}function hasUnicodeWord(e){return zt.test(e)}function iteratorToArray(e){var t,n=[];while(!(t=e.next()).done){n.push(t.value)}return n}function mapToArray(e){var t=-1,n=Array(e.size);e.forEach((function(e,i){n[++t]=[i,e]}));return n}function overArg(e,t){return function(n){return e(t(n))}}function replaceHolders(e,t){var n=-1,i=e.length,s=0,o=[];while(++n-1}function listCacheSet(e,t){var n=this.__data__,i=assocIndexOf(n,e);if(i<0){++this.size;n.push([e,t])}else{n[i][1]=t}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var t=-1,n=e==null?0:e.length;this.clear();while(++t=t?e:t}}return e}function baseClone(e,t,i,s,o,a){var l,u=t&p,c=t&h,f=t&d;if(i){l=o?i(e,s,o,a):i(e)}if(l!==n){return l}if(!isObject(e)){return e}var m=Dn(e);if(m){l=initCloneArray(e);if(!u){return copyArray(e,l)}}else{var g=Wr(e),y=g==K||g==X;if($n(e)){return cloneBuffer(e,u)}if(g==te||g==H||y&&!o){l=c||y?{}:initCloneObject(e);if(!u){return c?copySymbolsIn(e,baseAssignIn(l,e)):copySymbols(e,baseAssign(l,e))}}else{if(!Zt[g]){return o?e:{}}l=initCloneByTag(e,g,u)}}a||(a=new Stack);var v=a.get(e);if(v){return v}a.set(e,l);if(Hn(e)){e.forEach((function(n){l.add(baseClone(n,t,i,n,e,a))}))}else if(Bn(e)){e.forEach((function(n,s){l.set(s,baseClone(n,t,i,s,e,a))}))}var b=f?c?getAllKeysIn:getAllKeys:c?keysIn:keys;var w=m?n:b(e);arrayEach(w||e,(function(n,s){if(w){s=n;n=e[s]}assignValue(l,s,baseClone(n,t,i,s,e,a))}));return l}function baseConforms(e){var t=keys(e);return function(n){return baseConformsTo(n,e,t)}}function baseConformsTo(e,t,i){var s=i.length;if(e==null){return!s}e=nt(e);while(s--){var o=i[s],a=t[o],l=e[o];if(l===n&&!(o in e)||!a(l)){return false}}return true}function baseDelay(e,t,i){if(typeof e!="function"){throw new ot(a)}return Yr((function(){e.apply(n,i)}),t)}function baseDifference(e,t,n,i){var o=-1,a=arrayIncludes,l=true,u=e.length,c=[],f=t.length;if(!u){return c}if(n){t=arrayMap(t,baseUnary(n))}if(i){a=arrayIncludesWith;l=false}else if(t.length>=s){a=cacheHas;l=false;t=new SetCache(t)}e:while(++oo?0:o+i}s=s===n||s>o?o:toInteger(s);if(s<0){s+=o}s=i>s?0:toLength(s);while(i0&&n(l)){if(t>1){baseFlatten(l,t-1,n,i,s)}else{arrayPush(s,l)}}else if(!i){s[s.length]=l}}return s}var Nr=createBaseFor();var Mr=createBaseFor(true);function baseForOwn(e,t){return e&&Nr(e,t,keys)}function baseForOwnRight(e,t){return e&&Mr(e,t,keys)}function baseFunctions(e,t){return arrayFilter(t,(function(t){return isFunction(e[t])}))}function baseGet(e,t){t=castPath(t,e);var i=0,s=t.length;while(e!=null&&it}function baseHas(e,t){return e!=null&&ht.call(e,t)}function baseHasIn(e,t){return e!=null&&t in nt(e)}function baseInRange(e,t,n){return e>=qt(t,n)&&e=120&&h.length>=120)?new SetCache(u&&h):n}h=e[0];var d=-1,m=c[0];e:while(++d-1){if(l!==e){Lt.call(l,u,1)}Lt.call(e,u,1)}}return e}function basePullAt(e,t){var n=e?t.length:0,i=n-1;while(n--){var s=t[n];if(n==i||s!==o){var o=s;if(isIndex(s)){Lt.call(e,s,1)}else{baseUnset(e,s)}}}return e}function baseRandom(e,t){return e+jt(zt()*(t-e+1))}function baseRange(e,n,i,s){var o=-1,a=Gt(Dt((n-e)/(i||1)),0),l=t(a);while(a--){l[s?a:++o]=e;e+=i}return l}function baseRepeat(e,t){var n="";if(!e||t<1||t>M){return n}do{if(t%2){n+=e}t=jt(t/2);if(t){e+=e}}while(t);return n}function baseRest(e,t){return Qr(overRest(e,t,identity),e+"")}function baseSample(e){return arraySample(values(e))}function baseSampleSize(e,t){var n=values(e);return shuffleSelf(n,baseClamp(t,0,n.length))}function baseSet(e,t,i,s){if(!isObject(e)){return e}t=castPath(t,e);var o=-1,a=t.length,l=a-1,u=e;while(u!=null&&++oo?0:o+n}i=i>o?o:i;if(i<0){i+=o}o=n>i?0:i-n>>>0;n>>>=0;var a=t(o);while(++s>>1,a=e[o];if(a!==null&&!isSymbol(a)&&(n?a<=t:a=s){var f=t?null:Br(e);if(f){return setToArray(f)}l=false;o=cacheHas;c=new SetCache}else{c=t?[]:u}e:while(++i=s?e:baseSlice(e,t,i)}var Fr=kt||function(e){return lr.clearTimeout(e)};function cloneBuffer(e,t){if(t){return e.slice()}var n=e.length,i=Ot?Ot(n):new e.constructor(n);e.copy(i);return i}function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);new _t(t).set(new _t(e));return t}function cloneDataView(e,t){var n=t?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function cloneRegExp(e){var t=new e.constructor(e.source,qe.exec(e));t.lastIndex=e.lastIndex;return t}function cloneSymbol(e){return xr?nt(xr.call(e)):{}}function cloneTypedArray(e,t){var n=t?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function compareAscending(e,t){if(e!==t){var i=e!==n,s=e===null,o=e===e,a=isSymbol(e);var l=t!==n,u=t===null,c=t===t,f=isSymbol(t);if(!u&&!f&&!a&&e>t||a&&l&&c&&!u&&!f||s&&l&&c||!i&&c||!o){return 1}if(!s&&!a&&!f&&e=l){return u}var c=n[i];return u*(c=="desc"?-1:1)}}return e.index-t.index}function composeArgs(e,n,i,s){var o=-1,a=e.length,l=i.length,u=-1,c=n.length,f=Gt(a-l,0),p=t(c+f),h=!s;while(++u1?i[o-1]:n,l=o>2?i[2]:n;a=e.length>3&&typeof a=="function"?(o--,a):n;if(l&&isIterateeCall(i[0],i[1],l)){a=o<3?n:a;o=1}t=nt(t);while(++s-1?o[a?t[l]:l]:n}}function createFlow(e){return flatRest((function(t){var i=t.length,s=i,o=LodashWrapper.prototype.thru;if(e){t.reverse()}while(s--){var l=t[s];if(typeof l!="function"){throw new ot(a)}if(o&&!u&&getFuncName(l)=="wrapper"){var u=new LodashWrapper([],true)}}s=u?s:i;while(++s1){y.reverse()}if(h&&fu)){return false}var f=a.get(e);var p=a.get(t);if(f&&p){return f==t&&p==e}var h=-1,d=true,y=i&g?new SetCache:n;a.set(e,t);a.set(t,e);while(++h1?"& ":"")+t[i];t=t.join(n>2?", ":" ");return e.replace(Fe,"{\n/* [wrapped with "+t+"] */\n")}function isFlattenable(e){return Dn(e)||Mn(e)||!!(xt&&e&&e[xt])}function isIndex(e,t){var n=typeof e;t=t==null?M:t;return!!t&&(n=="number"||n!="symbol"&&Xe.test(e))&&(e>-1&&e%1==0&&e0){if(++t>=x){return arguments[0]}}else{t=0}return e.apply(n,arguments)}}function shuffleSelf(e,t){var i=-1,s=e.length,o=s-1;t=t===n?s:t;while(++i1?e[t-1]:n;i=typeof i=="function"?(e.pop(),i):n;return unzipWith(e,i)}));function chain(e){var t=lodash(e);t.__chain__=true;return t}function tap(e,t){t(e);return e}function thru(e,t){return t(e)}var mn=flatRest((function(e){var t=e.length,i=t?e[0]:0,s=this.__wrapped__,interceptor=function(t){return baseAt(t,e)};if(t>1||this.__actions__.length||!(s instanceof LazyWrapper)||!isIndex(i)){return this.thru(interceptor)}s=s.slice(i,+i+(t?1:0));s.__actions__.push({func:thru,args:[interceptor],thisArg:n});return new LodashWrapper(s,this.__chain__).thru((function(e){if(t&&!e.length){e.push(n)}return e}))}));function wrapperChain(){return chain(this)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}function wrapperNext(){if(this.__values__===n){this.__values__=toArray(this.value())}var e=this.__index__>=this.__values__.length,t=e?n:this.__values__[this.__index__++];return{done:e,value:t}}function wrapperToIterator(){return this}function wrapperPlant(e){var t,i=this;while(i instanceof baseLodash){var s=wrapperClone(i);s.__index__=0;s.__values__=n;if(t){o.__wrapped__=s}else{t=s}var o=s;i=i.__wrapped__}o.__wrapped__=e;return t}function wrapperReverse(){var e=this.__wrapped__;if(e instanceof LazyWrapper){var t=e;if(this.__actions__.length){t=new LazyWrapper(this)}t=t.reverse();t.__actions__.push({func:thru,args:[reverse],thisArg:n});return new LodashWrapper(t,this.__chain__)}return this.thru(reverse)}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}var gn=createAggregator((function(e,t,n){if(ht.call(e,n)){++e[n]}else{baseAssignValue(e,n,1)}}));function every(e,t,i){var s=Dn(e)?arrayEvery:baseEvery;if(i&&isIterateeCall(e,t,i)){t=n}return s(e,getIteratee(t,3))}function filter(e,t){var n=Dn(e)?arrayFilter:baseFilter;return n(e,getIteratee(t,3))}var yn=createFind(findIndex);var vn=createFind(findLastIndex);function flatMap(e,t){return baseFlatten(map(e,t),1)}function flatMapDeep(e,t){return baseFlatten(map(e,t),N)}function flatMapDepth(e,t,i){i=i===n?1:toInteger(i);return baseFlatten(map(e,t),i)}function forEach(e,t){var n=Dn(e)?arrayEach:Pr;return n(e,getIteratee(t,3))}function forEachRight(e,t){var n=Dn(e)?arrayEachRight:kr;return n(e,getIteratee(t,3))}var bn=createAggregator((function(e,t,n){if(ht.call(e,n)){e[n].push(t)}else{baseAssignValue(e,n,[t])}}));function includes(e,t,n,i){e=isArrayLike(e)?e:values(e);n=n&&!i?toInteger(n):0;var s=e.length;if(n<0){n=Gt(s+n,0)}return isString(e)?n<=s&&e.indexOf(t,n)>-1:!!s&&baseIndexOf(e,t,n)>-1}var wn=baseRest((function(e,n,i){var s=-1,o=typeof n=="function",a=isArrayLike(e)?t(e.length):[];Pr(e,(function(e){a[++s]=o?apply(n,e,i):baseInvoke(e,n,i)}));return a}));var Sn=createAggregator((function(e,t,n){baseAssignValue(e,n,t)}));function map(e,t){var n=Dn(e)?arrayMap:baseMap;return n(e,getIteratee(t,3))}function orderBy(e,t,i,s){if(e==null){return[]}if(!Dn(t)){t=t==null?[]:[t]}i=s?n:i;if(!Dn(i)){i=i==null?[]:[i]}return baseOrderBy(e,t,i)}var En=createAggregator((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));function reduce(e,t,n){var i=Dn(e)?arrayReduce:baseReduce,s=arguments.length<3;return i(e,getIteratee(t,4),n,s,Pr)}function reduceRight(e,t,n){var i=Dn(e)?arrayReduceRight:baseReduce,s=arguments.length<3;return i(e,getIteratee(t,4),n,s,kr)}function reject(e,t){var n=Dn(e)?arrayFilter:baseFilter;return n(e,negate(getIteratee(t,3)))}function sample(e){var t=Dn(e)?arraySample:baseSample;return t(e)}function sampleSize(e,t,i){if(i?isIterateeCall(e,t,i):t===n){t=1}else{t=toInteger(t)}var s=Dn(e)?arraySampleSize:baseSampleSize;return s(e,t)}function shuffle(e){var t=Dn(e)?arrayShuffle:baseShuffle;return t(e)}function size(e){if(e==null){return 0}if(isArrayLike(e)){return isString(e)?stringSize(e):e.length}var t=Wr(e);if(t==J||t==se){return e.size}return baseKeys(e).length}function some(e,t,i){var s=Dn(e)?arraySome:baseSome;if(i&&isIterateeCall(e,t,i)){t=n}return s(e,getIteratee(t,3))}var _n=baseRest((function(e,t){if(e==null){return[]}var n=t.length;if(n>1&&isIterateeCall(e,t[0],t[1])){t=[]}else if(n>2&&isIterateeCall(t[0],t[1],t[2])){t=[t[0]]}return baseOrderBy(e,baseFlatten(t,1),[])}));var On=Nt||function(){return lr.Date.now()};function after(e,t){if(typeof t!="function"){throw new ot(a)}e=toInteger(e);return function(){if(--e<1){return t.apply(this,arguments)}}}function ary(e,t,i){t=i?n:t;t=e&&t==null?e.length:t;return createWrap(e,O,n,n,n,n,t)}function before(e,t){var i;if(typeof t!="function"){throw new ot(a)}e=toInteger(e);return function(){if(--e>0){i=t.apply(this,arguments)}if(e<=1){t=n}return i}}var Rn=baseRest((function(e,t,n){var i=y;if(n.length){var s=replaceHolders(n,getHolder(Rn));i|=E}return createWrap(e,i,t,n,s)}));var Cn=baseRest((function(e,t,n){var i=y|v;if(n.length){var s=replaceHolders(n,getHolder(Cn));i|=E}return createWrap(t,i,e,n,s)}));function curry(e,t,i){t=i?n:t;var s=createWrap(e,w,n,n,n,n,n,t);s.placeholder=curry.placeholder;return s}function curryRight(e,t,i){t=i?n:t;var s=createWrap(e,S,n,n,n,n,n,t);s.placeholder=curryRight.placeholder;return s}function debounce(e,t,i){var s,o,l,u,c,f,p=0,h=false,d=false,m=true;if(typeof e!="function"){throw new ot(a)}t=toNumber(t)||0;if(isObject(i)){h=!!i.leading;d="maxWait"in i;l=d?Gt(toNumber(i.maxWait)||0,t):l;m="trailing"in i?!!i.trailing:m}function invokeFunc(t){var i=s,a=o;s=o=n;p=t;u=e.apply(a,i);return u}function leadingEdge(e){p=e;c=Yr(timerExpired,t);return h?invokeFunc(e):u}function remainingWait(e){var n=e-f,i=e-p,s=t-n;return d?qt(s,l-i):s}function shouldInvoke(e){var i=e-f,s=e-p;return f===n||i>=t||i<0||d&&s>=l}function timerExpired(){var e=On();if(shouldInvoke(e)){return trailingEdge(e)}c=Yr(timerExpired,remainingWait(e))}function trailingEdge(e){c=n;if(m&&s){return invokeFunc(e)}s=o=n;return u}function cancel(){if(c!==n){Fr(c)}p=0;s=f=o=c=n}function flush(){return c===n?u:trailingEdge(On())}function debounced(){var e=On(),i=shouldInvoke(e);s=arguments;o=this;f=e;if(i){if(c===n){return leadingEdge(f)}if(d){Fr(c);c=Yr(timerExpired,t);return invokeFunc(f)}}if(c===n){c=Yr(timerExpired,t)}return u}debounced.cancel=cancel;debounced.flush=flush;return debounced}var An=baseRest((function(e,t){return baseDelay(e,1,t)}));var Ln=baseRest((function(e,t,n){return baseDelay(e,toNumber(t)||0,n)}));function flip(e){return createWrap(e,C)}function memoize(e,t){if(typeof e!="function"||t!=null&&typeof t!="function"){throw new ot(a)}var memoized=function(){var n=arguments,i=t?t.apply(this,n):n[0],s=memoized.cache;if(s.has(i)){return s.get(i)}var o=e.apply(this,n);memoized.cache=s.set(i,o)||s;return o};memoized.cache=new(memoize.Cache||MapCache);return memoized}memoize.Cache=MapCache;function negate(e){if(typeof e!="function"){throw new ot(a)}return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function once(e){return before(2,e)}var xn=$r((function(e,t){t=t.length==1&&Dn(t[0])?arrayMap(t[0],baseUnary(getIteratee())):arrayMap(baseFlatten(t,1),baseUnary(getIteratee()));var n=t.length;return baseRest((function(i){var s=-1,o=qt(i.length,n);while(++s=t}));var Mn=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&ht.call(e,"callee")&&!At.call(e,"callee")};var Dn=t.isArray;var jn=dr?baseUnary(dr):baseIsArrayBuffer;function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}function isArrayLikeObject(e){return isObjectLike(e)&&isArrayLike(e)}function isBoolean(e){return e===true||e===false||isObjectLike(e)&&baseGetTag(e)==V}var $n=Ft||stubFalse;var Fn=mr?baseUnary(mr):baseIsDate;function isElement(e){return isObjectLike(e)&&e.nodeType===1&&!isPlainObject(e)}function isEmpty(e){if(e==null){return true}if(isArrayLike(e)&&(Dn(e)||typeof e=="string"||typeof e.splice=="function"||$n(e)||Gn(e)||Mn(e))){return!e.length}var t=Wr(e);if(t==J||t==se){return!e.size}if(isPrototype(e)){return!baseKeys(e).length}for(var n in e){if(ht.call(e,n)){return false}}return true}function isEqual(e,t){return baseIsEqual(e,t)}function isEqualWith(e,t,i){i=typeof i=="function"?i:n;var s=i?i(e,t):n;return s===n?baseIsEqual(e,t,n,i):!!s}function isError(e){if(!isObjectLike(e)){return false}var t=baseGetTag(e);return t==z||t==Y||typeof e.message=="string"&&typeof e.name=="string"&&!isPlainObject(e)}function isFinite(e){return typeof e=="number"&&Bt(e)}function isFunction(e){if(!isObject(e)){return false}var t=baseGetTag(e);return t==K||t==X||t==W||t==ne}function isInteger(e){return typeof e=="number"&&e==toInteger(e)}function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=M}function isObject(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function isObjectLike(e){return e!=null&&typeof e=="object"}var Bn=gr?baseUnary(gr):baseIsMap;function isMatch(e,t){return e===t||baseIsMatch(e,t,getMatchData(t))}function isMatchWith(e,t,i){i=typeof i=="function"?i:n;return baseIsMatch(e,t,getMatchData(t),i)}function isNaN(e){return isNumber(e)&&e!=+e}function isNative(e){if(Vr(e)){throw new He(o)}return baseIsNative(e)}function isNull(e){return e===null}function isNil(e){return e==null}function isNumber(e){return typeof e=="number"||isObjectLike(e)&&baseGetTag(e)==Z}function isPlainObject(e){if(!isObjectLike(e)||baseGetTag(e)!=te){return false}var t=Rt(e);if(t===null){return true}var n=ht.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&pt.call(n)==vt}var Un=yr?baseUnary(yr):baseIsRegExp;function isSafeInteger(e){return isInteger(e)&&e>=-M&&e<=M}var Hn=vr?baseUnary(vr):baseIsSet;function isString(e){return typeof e=="string"||!Dn(e)&&isObjectLike(e)&&baseGetTag(e)==oe}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&baseGetTag(e)==ae}var Gn=br?baseUnary(br):baseIsTypedArray;function isUndefined(e){return e===n}function isWeakMap(e){return isObjectLike(e)&&Wr(e)==ue}function isWeakSet(e){return isObjectLike(e)&&baseGetTag(e)==ce}var Wn=createRelationalOperation(baseLt);var Vn=createRelationalOperation((function(e,t){return e<=t}));function toArray(e){if(!e){return[]}if(isArrayLike(e)){return isString(e)?stringToArray(e):copyArray(e)}if(It&&e[It]){return iteratorToArray(e[It]())}var t=Wr(e),n=t==J?mapToArray:t==se?setToArray:values;return n(e)}function toFinite(e){if(!e){return e===0?e:0}e=toNumber(e);if(e===N||e===-N){var t=e<0?-1:1;return t*D}return e===e?e:0}function toInteger(e){var t=toFinite(e),n=t%1;return t===t?n?t-n:t:0}function toLength(e){return e?baseClamp(toInteger(e),0,$):0}function toNumber(e){if(typeof e=="number"){return e}if(isSymbol(e)){return j}if(isObject(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=isObject(t)?t+"":t}if(typeof e!="string"){return e===0?e:+e}e=baseTrim(e);var n=Qe.test(e);return n||Ke.test(e)?sr(e.slice(2),n?2:8):Ye.test(e)?j:+e}function toPlainObject(e){return copyObject(e,keysIn(e))}function toSafeInteger(e){return e?baseClamp(toInteger(e),-M,M):e===0?e:0}function toString(e){return e==null?"":baseToString(e)}var qn=createAssigner((function(e,t){if(isPrototype(t)||isArrayLike(t)){copyObject(t,keys(t),e);return}for(var n in t){if(ht.call(t,n)){assignValue(e,n,t[n])}}}));var Yn=createAssigner((function(e,t){copyObject(t,keysIn(t),e)}));var Qn=createAssigner((function(e,t,n,i){copyObject(t,keysIn(t),e,i)}));var zn=createAssigner((function(e,t,n,i){copyObject(t,keys(t),e,i)}));var Kn=flatRest(baseAt);function create(e,t){var n=Tr(e);return t==null?n:baseAssign(n,t)}var Xn=baseRest((function(e,t){e=nt(e);var i=-1;var s=t.length;var o=s>2?t[2]:n;if(o&&isIterateeCall(t[0],t[1],o)){s=1}while(++i1);return t}));copyObject(e,getAllKeysIn(e),n);if(i){n=baseClone(n,p|h|d,customOmitClone)}var s=t.length;while(s--){baseUnset(n,t[s])}return n}));function omitBy(e,t){return pickBy(e,negate(getIteratee(t)))}var si=flatRest((function(e,t){return e==null?{}:basePick(e,t)}));function pickBy(e,t){if(e==null){return{}}var n=arrayMap(getAllKeysIn(e),(function(e){return[e]}));t=getIteratee(t);return basePickBy(e,n,(function(e,n){return t(e,n[0])}))}function result(e,t,i){t=castPath(t,e);var s=-1,o=t.length;if(!o){o=1;e=n}while(++st){var s=e;e=t;t=s}if(i||e%1||t%1){var o=zt();return qt(e+o*(t-e+ir("1e-"+((o+"").length-1))),t)}return baseRandom(e,t)}var li=createCompounder((function(e,t,n){t=t.toLowerCase();return e+(n?capitalize(t):t)}));function capitalize(e){return mi(toString(e).toLowerCase())}function deburr(e){e=toString(e);return e&&e.replace(Je,Sr).replace(Vt,"")}function endsWith(e,t,i){e=toString(e);t=baseToString(t);var s=e.length;i=i===n?s:baseClamp(toInteger(i),0,s);var o=i;i-=t.length;return i>=0&&e.slice(i,o)==t}function escape(e){e=toString(e);return e&&Le.test(e)?e.replace(Ce,Er):e}function escapeRegExp(e){e=toString(e);return e&&De.test(e)?e.replace(Me,"\\$&"):e}var ui=createCompounder((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}));var ci=createCompounder((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}));var fi=createCaseFirst("toLowerCase");function pad(e,t,n){e=toString(e);t=toInteger(t);var i=t?stringSize(e):0;if(!t||i>=t){return e}var s=(t-i)/2;return createPadding(jt(s),n)+e+createPadding(Dt(s),n)}function padEnd(e,t,n){e=toString(e);t=toInteger(t);var i=t?stringSize(e):0;return t&&i>>0;if(!i){return[]}e=toString(e);if(e&&(typeof t=="string"||t!=null&&!Un(t))){t=baseToString(t);if(!t&&hasUnicode(e)){return castSlice(stringToArray(e),0,i)}}return e.split(t,i)}var hi=createCompounder((function(e,t,n){return e+(n?" ":"")+mi(t)}));function startsWith(e,t,n){e=toString(e);n=n==null?0:baseClamp(toInteger(n),0,e.length);t=baseToString(t);return e.slice(n,n+t.length)==t}function template(e,t,i){var s=lodash.templateSettings;if(i&&isIterateeCall(e,t,i)){t=n}e=toString(e);t=Qn({},t,s,customDefaultsAssignIn);var o=Qn({},t.imports,s.imports,customDefaultsAssignIn),a=keys(o),u=baseValues(o,a);var c,f,p=0,h=t.interpolate||Ze,d="__p += '";var m=it((t.escape||Ze).source+"|"+h.source+"|"+(h===Te?Ve:Ze).source+"|"+(t.evaluate||Ze).source+"|$","g");var g="//# sourceURL="+(ht.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Xt+"]")+"\n";e.replace(m,(function(t,n,i,s,o,a){i||(i=s);d+=e.slice(p,a).replace(et,escapeStringChar);if(n){c=true;d+="' +\n__e("+n+") +\n'"}if(o){f=true;d+="';\n"+o+";\n__p += '"}if(i){d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"}p=a+t.length;return t}));d+="';\n";var y=ht.call(t,"variable")&&t.variable;if(!y){d="with (obj) {\n"+d+"\n}\n"}else if(Ge.test(y)){throw new He(l)}d=(f?d.replace(Ee,""):d).replace(_e,"$1").replace(Oe,"$1;");d="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(c?", __e = _.escape":"")+(f?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=gi((function(){return tt(a,g+"return "+d).apply(n,u)}));v.source=d;if(isError(v)){throw v}return v}function toLower(e){return toString(e).toLowerCase()}function toUpper(e){return toString(e).toUpperCase()}function trim(e,t,i){e=toString(e);if(e&&(i||t===n)){return baseTrim(e)}if(!e||!(t=baseToString(t))){return e}var s=stringToArray(e),o=stringToArray(t),a=charsStartIndex(s,o),l=charsEndIndex(s,o)+1;return castSlice(s,a,l).join("")}function trimEnd(e,t,i){e=toString(e);if(e&&(i||t===n)){return e.slice(0,trimmedEndIndex(e)+1)}if(!e||!(t=baseToString(t))){return e}var s=stringToArray(e),o=charsEndIndex(s,stringToArray(t))+1;return castSlice(s,0,o).join("")}function trimStart(e,t,i){e=toString(e);if(e&&(i||t===n)){return e.replace(je,"")}if(!e||!(t=baseToString(t))){return e}var s=stringToArray(e),o=charsStartIndex(s,stringToArray(t));return castSlice(s,o).join("")}function truncate(e,t){var i=A,s=L;if(isObject(t)){var o="separator"in t?t.separator:o;i="length"in t?toInteger(t.length):i;s="omission"in t?baseToString(t.omission):s}e=toString(e);var a=e.length;if(hasUnicode(e)){var l=stringToArray(e);a=l.length}if(i>=a){return e}var u=i-stringSize(s);if(u<1){return s}var c=l?castSlice(l,0,u).join(""):e.slice(0,u);if(o===n){return c+s}if(l){u+=c.length-u}if(Un(o)){if(e.slice(u).search(o)){var f,p=c;if(!o.global){o=it(o.source,toString(qe.exec(o))+"g")}o.lastIndex=0;while(f=o.exec(p)){var h=f.index}c=c.slice(0,h===n?u:h)}}else if(e.indexOf(baseToString(o),u)!=u){var d=c.lastIndexOf(o);if(d>-1){c=c.slice(0,d)}}return c+s}function unescape(e){e=toString(e);return e&&Ae.test(e)?e.replace(Re,_r):e}var di=createCompounder((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}));var mi=createCaseFirst("toUpperCase");function words(e,t,i){e=toString(e);t=i?n:t;if(t===n){return hasUnicodeWord(e)?unicodeWords(e):asciiWords(e)}return e.match(t)||[]}var gi=baseRest((function(e,t){try{return apply(e,n,t)}catch(e){return isError(e)?e:new He(e)}}));var yi=flatRest((function(e,t){arrayEach(t,(function(t){t=toKey(t);baseAssignValue(e,t,Rn(e[t],e))}));return e}));function cond(e){var t=e==null?0:e.length,n=getIteratee();e=!t?[]:arrayMap(e,(function(e){if(typeof e[1]!="function"){throw new ot(a)}return[n(e[0]),e[1]]}));return baseRest((function(n){var i=-1;while(++iM){return[]}var n=$,i=qt(e,$);t=getIteratee(t);e-=$;var s=baseTimes(i,t);while(++n0||t<0)){return new LazyWrapper(i)}if(e<0){i=i.takeRight(-e)}else if(e){i=i.drop(e)}if(t!==n){t=toInteger(t);i=t<0?i.dropRight(-t):i.take(t-e)}return i};LazyWrapper.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()};LazyWrapper.prototype.toArray=function(){return this.take($)};baseForOwn(LazyWrapper.prototype,(function(e,t){var i=/^(?:filter|find|map|reject)|While$/.test(t),s=/^(?:head|last)$/.test(t),o=lodash[s?"take"+(t=="last"?"Right":""):t],a=s||/^find/.test(t);if(!o){return}lodash.prototype[t]=function(){var t=this.__wrapped__,l=s?[1]:arguments,u=t instanceof LazyWrapper,c=l[0],f=u||Dn(t);var interceptor=function(e){var t=o.apply(lodash,arrayPush([e],l));return s&&p?t[0]:t};if(f&&i&&typeof c=="function"&&c.length!=1){u=f=false}var p=this.__chain__,h=!!this.__actions__.length,d=a&&!p,m=u&&!h;if(!a&&f){t=m?t:new LazyWrapper(this);var g=e.apply(t,l);g.__actions__.push({func:thru,args:[interceptor],thisArg:n});return new LodashWrapper(g,p)}if(d&&m){return e.apply(this,l)}g=this.thru(interceptor);return d?s?g.value()[0]:g.value():g}}));arrayEach(["pop","push","shift","sort","splice","unshift"],(function(e){var t=at[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);lodash.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var s=this.value();return t.apply(Dn(s)?s:[],e)}return this[n]((function(n){return t.apply(Dn(n)?n:[],e)}))}}));baseForOwn(LazyWrapper.prototype,(function(e,t){var n=lodash[t];if(n){var i=n.name+"";if(!ht.call(pr,i)){pr[i]=[]}pr[i].push({name:t,func:n})}}));pr[createHybrid(n,v).name]=[{name:"wrapper",func:n}];LazyWrapper.prototype.clone=lazyClone;LazyWrapper.prototype.reverse=lazyReverse;LazyWrapper.prototype.value=lazyValue;lodash.prototype.at=mn;lodash.prototype.chain=wrapperChain;lodash.prototype.commit=wrapperCommit;lodash.prototype.next=wrapperNext;lodash.prototype.plant=wrapperPlant;lodash.prototype.reverse=wrapperReverse;lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue;lodash.prototype.first=lodash.prototype.head;if(It){lodash.prototype[It]=wrapperToIterator}return lodash};var Rr=Or();if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){lr._=Rr;define((function(){return Rr}))}else if(cr){(cr.exports=Rr)._=Rr;ur._=Rr}else{lr._=Rr}}).call(this)},7744:e=>{function stubFalse(){return false}e.exports=stubFalse},5762:(e,t,n)=>{var i=n(9271),s=n(4025),o=n(5159),a=n(3010),l=n(4742),u=n(5411),c=n(8494),f=n(7645),p=n(4070),h=n(8775),d=n(2931);var m="Invalid `variable` option passed into `_.template`";var g=/\b__p \+= '';/g,y=/\b(__p \+=) '' \+/g,v=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var b=/[()=,{}\[\]\/\s]/;var w=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var S=/($^)/;var E=/['\n\r\u2028\u2029\\]/g;var _=Object.prototype;var O=_.hasOwnProperty;function template(e,t,n){var _=h.imports._.templateSettings||h;if(n&&c(e,t,n)){t=undefined}e=d(e);t=i({},t,_,a);var R=i({},t.imports,_.imports,a),C=f(R),A=o(R,C);var L,x,I=0,T=t.interpolate||S,P="__p += '";var k=RegExp((t.escape||S).source+"|"+T.source+"|"+(T===p?w:S).source+"|"+(t.evaluate||S).source+"|$","g");var N=O.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+"\n":"";e.replace(k,(function(t,n,i,s,o,a){i||(i=s);P+=e.slice(I,a).replace(E,l);if(n){L=true;P+="' +\n__e("+n+") +\n'"}if(o){x=true;P+="';\n"+o+";\n__p += '"}if(i){P+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"}I=a+t.length;return t}));P+="';\n";var M=O.call(t,"variable")&&t.variable;if(!M){P="with (obj) {\n"+P+"\n}\n"}else if(b.test(M)){throw new Error(m)}P=(x?P.replace(g,""):P).replace(y,"$1").replace(v,"$1;");P="function("+(M||"obj")+") {\n"+(M?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(L?", __e = _.escape":"")+(x?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+P+"return __p\n}";var D=s((function(){return Function(C,N+"return "+P).apply(undefined,A)}));D.source=P;if(u(D)){throw D}return D}e.exports=template},8775:(e,t,n)=>{var i=n(2678),s=n(5517),o=n(1601),a=n(4070);var l={escape:s,evaluate:o,interpolate:a,variable:"",imports:{_:{escape:i}}};e.exports=l},2931:(e,t,n)=>{var i=n(6792);function toString(e){return e==null?"":i(e)}e.exports=toString},7129:(e,t,n)=>{"use strict";const i=n(665);const s=Symbol("max");const o=Symbol("length");const a=Symbol("lengthCalculator");const l=Symbol("allowStale");const u=Symbol("maxAge");const c=Symbol("dispose");const f=Symbol("noDisposeOnSet");const p=Symbol("lruList");const h=Symbol("cache");const d=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[s]=e.max||Infinity;const n=e.length||naiveLength;this[a]=typeof n!=="function"?naiveLength:n;this[l]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0;this[c]=e.dispose;this[f]=e.noDisposeOnSet||false;this[d]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[s]=e||Infinity;trim(this)}get max(){return this[s]}set allowStale(e){this[l]=!!e}get allowStale(){return this[l]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[u]=e;trim(this)}get maxAge(){return this[u]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[a]){this[a]=e;this[o]=0;this[p].forEach((e=>{e.length=this[a](e.value,e.key);this[o]+=e.length}))}trim(this)}get lengthCalculator(){return this[a]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let n=this[p].tail;n!==null;){const i=n.prev;forEachStep(this,e,n,t);n=i}}forEach(e,t){t=t||this;for(let n=this[p].head;n!==null;){const i=n.next;forEachStep(this,e,n,t);n=i}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){if(this[c]&&this[p]&&this[p].length){this[p].forEach((e=>this[c](e.key,e.value)))}this[h]=new Map;this[p]=new i;this[o]=0}dump(){return this[p].map((e=>isStale(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,n){n=n||this[u];if(n&&typeof n!=="number")throw new TypeError("maxAge must be a number");const i=n?Date.now():0;const l=this[a](t,e);if(this[h].has(e)){if(l>this[s]){del(this,this[h].get(e));return false}const a=this[h].get(e);const u=a.value;if(this[c]){if(!this[f])this[c](e,u.value)}u.now=i;u.maxAge=n;u.value=t;this[o]+=l-u.length;u.length=l;this.get(e);trim(this);return true}const d=new Entry(e,t,l,i,n);if(d.length>this[s]){if(this[c])this[c](e,t);return false}this[o]+=d.length;this[p].unshift(d);this[h].set(e,this[p].head);trim(this);return true}has(e){if(!this[h].has(e))return false;const t=this[h].get(e).value;return!isStale(this,t)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[p].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[h].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const i=e[n];const s=i.e||0;if(s===0)this.set(i.k,i.v);else{const e=s-t;if(e>0){this.set(i.k,i.v,e)}}}}prune(){this[h].forEach(((e,t)=>get(this,t,false)))}}const get=(e,t,n)=>{const i=e[h].get(t);if(i){const t=i.value;if(isStale(e,t)){del(e,i);if(!e[l])return undefined}else{if(n){if(e[d])i.value.now=Date.now();e[p].unshiftNode(i)}}return t.value}};const isStale=(e,t)=>{if(!t||!t.maxAge&&!e[u])return false;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[u]&&n>e[u]};const trim=e=>{if(e[o]>e[s]){for(let t=e[p].tail;e[o]>e[s]&&t!==null;){const n=t.prev;del(e,t);t=n}}};const del=(e,t)=>{if(t){const n=t.value;if(e[c])e[c](n.key,n.value);e[o]-=n.length;e[h].delete(n.key);e[p].removeNode(t)}};class Entry{constructor(e,t,n,i,s){this.key=e;this.value=t;this.length=n;this.now=i;this.maxAge=s||0}}const forEachStep=(e,t,n,i)=>{let s=n.value;if(isStale(e,s)){del(e,n);if(!e[l])s=undefined}if(s)t.call(i,s.value,s.key,e)};e.exports=LRUCache},3432:e=>{"use strict";e.exports=function(e,t){var n;var i;var s={};var o=Object.keys(Object(e));for(var a=0;a{e.exports=extractDescription;function extractDescription(e){if(!e){return}if(e==="ERROR: No README data found!"){return}e=e.trim().split("\n");for(var t=0;e[t]&&e[t].trim().match(/^(#|$)/);t++){}var n=e.length;for(var i=t+1;i{var i=n(9601);var s=n(8848);var o=n(2524);var a=n(8869);var l=n(6873);var u=["dependencies","devDependencies","optionalDependencies"];var c=n(6976);var f=n(8835);var p=n(9043);e.exports={warn:function(){},fixRepositoryField:function(e){if(e.repositories){this.warn("repositories");e.repository=e.repositories[0]}if(!e.repository){return this.warn("missingRepository")}if(typeof e.repository==="string"){e.repository={type:"git",url:e.repository}}var t=e.repository.url||"";if(t){var n=a.fromUrl(t);if(n){t=e.repository.url=n.getDefaultRepresentation()==="shortcut"?n.https():n.toString()}}if(t.match(/github.com\/[^/]+\/[^/]+\.git\.git$/)){this.warn("brokenGitUrl",t)}},fixTypos:function(e){Object.keys(p.topLevel).forEach((function(t){if(Object.prototype.hasOwnProperty.call(e,t)){this.warn("typo",t,p.topLevel[t])}}),this)},fixScriptsField:function(e){if(!e.scripts){return}if(typeof e.scripts!=="object"){this.warn("nonObjectScripts");delete e.scripts;return}Object.keys(e.scripts).forEach((function(t){if(typeof e.scripts[t]!=="string"){this.warn("nonStringScript");delete e.scripts[t]}else if(p.script[t]&&!e.scripts[p.script[t]]){this.warn("typo",t,p.script[t],"scripts")}}),this)},fixFilesField:function(e){var t=e.files;if(t&&!Array.isArray(t)){this.warn("nonArrayFiles");delete e.files}else if(e.files){e.files=e.files.filter((function(e){if(!e||typeof e!=="string"){this.warn("invalidFilename",e);return false}else{return true}}),this)}},fixBinField:function(e){if(!e.bin){return}if(typeof e.bin==="string"){var t={};var n;if(n=e.name.match(/^@[^/]+[/](.*)$/)){t[n[1]]=e.bin}else{t[e.name]=e.bin}e.bin=t}},fixManField:function(e){if(!e.man){return}if(typeof e.man==="string"){e.man=[e.man]}},fixBundleDependenciesField:function(e){var t="bundledDependencies";var n="bundleDependencies";if(e[t]&&!e[n]){e[n]=e[t];delete e[t]}if(e[n]&&!Array.isArray(e[n])){this.warn("nonArrayBundleDependencies");delete e[n]}else if(e[n]){e[n]=e[n].filter((function(t){if(!t||typeof t!=="string"){this.warn("nonStringBundleDependency",t);return false}else{if(!e.dependencies){e.dependencies={}}if(Object.prototype.hasOwnProperty.call(e.dependencies,t)){this.warn("nonDependencyBundleDependency",t);e.dependencies[t]="*"}return true}}),this)}},fixDependencies:function(e,t){objectifyDeps(e,this.warn);addOptionalDepsToDeps(e,this.warn);this.fixBundleDependenciesField(e);["dependencies","devDependencies"].forEach((function(t){if(!(t in e)){return}if(!e[t]||typeof e[t]!=="object"){this.warn("nonObjectDependencies",t);delete e[t];return}Object.keys(e[t]).forEach((function(n){var i=e[t][n];if(typeof i!=="string"){this.warn("nonStringDependency",n,JSON.stringify(i));delete e[t][n]}var s=a.fromUrl(e[t][n]);if(s){e[t][n]=s.toString()}}),this)}),this)},fixModulesField:function(e){if(e.modules){this.warn("deprecatedModules");delete e.modules}},fixKeywordsField:function(e){if(typeof e.keywords==="string"){e.keywords=e.keywords.split(/,\s+/)}if(e.keywords&&!Array.isArray(e.keywords)){delete e.keywords;this.warn("nonArrayKeywords")}else if(e.keywords){e.keywords=e.keywords.filter((function(e){if(typeof e!=="string"||!e){this.warn("nonStringKeyword");return false}else{return true}}),this)}},fixVersionField:function(e,t){var n=!t;if(!e.version){e.version="";return true}if(!i(e.version,n)){throw new Error('Invalid version: "'+e.version+'"')}e.version=s(e.version,n);return true},fixPeople:function(e){modifyPeople(e,unParsePerson);modifyPeople(e,parsePerson)},fixNameField:function(e,t){if(typeof t==="boolean"){t={strict:t}}else if(typeof t==="undefined"){t={}}var n=t.strict;if(!e.name&&!n){e.name="";return}if(typeof e.name!=="string"){throw new Error("name field must be a string.")}if(!n){e.name=e.name.trim()}ensureValidName(e.name,n,t.allowLegacyCase);if(l(e.name)){this.warn("conflictingName",e.name)}},fixDescriptionField:function(e){if(e.description&&typeof e.description!=="string"){this.warn("nonStringDescription");delete e.description}if(e.readme&&!e.description){e.description=c(e.readme)}if(e.description===undefined){delete e.description}if(!e.description){this.warn("missingDescription")}},fixReadmeField:function(e){if(!e.readme){this.warn("missingReadme");e.readme="ERROR: No README data found!"}},fixBugsField:function(e){if(!e.bugs&&e.repository&&e.repository.url){var t=a.fromUrl(e.repository.url);if(t&&t.bugs()){e.bugs={url:t.bugs()}}}else if(e.bugs){var n=/^.+@.*\..+$/;if(typeof e.bugs==="string"){if(n.test(e.bugs)){e.bugs={email:e.bugs}}else if(f.parse(e.bugs).protocol){e.bugs={url:e.bugs}}else{this.warn("nonEmailUrlBugsString")}}else{bugsTypos(e.bugs,this.warn);var i=e.bugs;e.bugs={};if(i.url){if(typeof i.url==="string"&&f.parse(i.url).protocol){e.bugs.url=i.url}else{this.warn("nonUrlBugsUrlField")}}if(i.email){if(typeof i.email==="string"&&n.test(i.email)){e.bugs.email=i.email}else{this.warn("nonEmailBugsEmailField")}}}if(!e.bugs.email&&!e.bugs.url){delete e.bugs;this.warn("emptyNormalizedBugs")}}},fixHomepageField:function(e){if(!e.homepage&&e.repository&&e.repository.url){var t=a.fromUrl(e.repository.url);if(t&&t.docs()){e.homepage=t.docs()}}if(!e.homepage){return}if(typeof e.homepage!=="string"){this.warn("nonUrlHomepage");return delete e.homepage}if(!f.parse(e.homepage).protocol){e.homepage="http://"+e.homepage}},fixLicenseField:function(e){const t=e.license||e.licence;if(!t){return this.warn("missingLicense")}if(typeof t!=="string"||t.length<1||t.trim()===""){return this.warn("invalidLicense")}if(!o(t).validForNewPackages){return this.warn("invalidLicense")}}};function isValidScopedPackageName(e){if(e.charAt(0)!=="@"){return false}var t=e.slice(1).split("/");if(t.length!==2){return false}return t[0]&&t[1]&&t[0]===encodeURIComponent(t[0])&&t[1]===encodeURIComponent(t[1])}function isCorrectlyEncodedName(e){return!e.match(/[/@\s+%:]/)&&e===encodeURIComponent(e)}function ensureValidName(e,t,n){if(e.charAt(0)==="."||!(isValidScopedPackageName(e)||isCorrectlyEncodedName(e))||t&&!n&&e!==e.toLowerCase()||e.toLowerCase()==="node_modules"||e.toLowerCase()==="favicon.ico"){throw new Error("Invalid name: "+JSON.stringify(e))}}function modifyPeople(e,t){if(e.author){e.author=t(e.author)}["maintainers","contributors"].forEach((function(n){if(!Array.isArray(e[n])){return}e[n]=e[n].map(t)}));return e}function unParsePerson(e){if(typeof e==="string"){return e}var t=e.name||"";var n=e.url||e.web;var i=n?" ("+n+")":"";var s=e.email||e.mail;var o=s?" <"+s+">":"";return t+o+i}function parsePerson(e){if(typeof e!=="string"){return e}var t=e.match(/^([^(<]+)/);var n=e.match(/\(([^)]+)\)/);var i=e.match(/<([^>]+)>/);var s={};if(t&&t[0].trim()){s.name=t[0].trim()}if(i){s.email=i[1]}if(n){s.url=n[1]}return s}function addOptionalDepsToDeps(e,t){var n=e.optionalDependencies;if(!n){return}var i=e.dependencies||{};Object.keys(n).forEach((function(e){i[e]=n[e]}));e.dependencies=i}function depObjectify(e,t,n){if(!e){return{}}if(typeof e==="string"){e=e.trim().split(/[\n\r\s\t ,]+/)}if(!Array.isArray(e)){return e}n("deprecatedArrayDependencies",t);var i={};e.filter((function(e){return typeof e==="string"})).forEach((function(e){e=e.trim().split(/(:?[@\s><=])/);var t=e.shift();var n=e.join("");n=n.trim();n=n.replace(/^@/,"");i[t]=n}));return i}function objectifyDeps(e,t){u.forEach((function(n){if(!e[n]){return}e[n]=depObjectify(e[n],n,t)}))}function bugsTypos(e,t){if(!e){return}Object.keys(e).forEach((function(n){if(p.bugs[n]){t("typo",n,p.bugs[n],"bugs");e[p.bugs[n]]=e[n];delete e[n]}}))}},9671:(e,t,n)=>{var i=n(1669);var s=n(8402);e.exports=function(){var e=Array.prototype.slice.call(arguments,0);var t=e.shift();if(t==="typo"){return makeTypoWarning.apply(null,e)}else{var n=s[t]?s[t]:t+": '%s'";e.unshift(n);return i.format.apply(null,e)}};function makeTypoWarning(e,t,n){if(n){e=n+"['"+e+"']";t=n+"['"+t+"']"}return i.format(s.typo,e,t)}},3188:(e,t,n)=>{e.exports=normalize;var i=n(3492);normalize.fixer=i;var s=n(9671);var o=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"];var a=["dependencies","people","typos"];var l=o.map((function(e){return ucFirst(e)+"Field"}));l=l.concat(a);function normalize(e,t,n){if(t===true){t=null;n=true}if(!n){n=false}if(!t||e.private){t=function(e){}}if(e.scripts&&e.scripts.install==="node-gyp rebuild"&&!e.scripts.preinstall){e.gypfile=true}i.warn=function(){t(s.apply(null,arguments))};l.forEach((function(t){i["fix"+ucFirst(t)](e,n)}));e._id=e.name+"@"+e.version}function ucFirst(e){return e.charAt(0).toUpperCase()+e.slice(1)}},7934:function(e){(function(t,n){"use strict";if(true&&typeof e.exports==="object"){e.exports=n()}else if(typeof define==="function"&&define.amd){define([],n)}else{t.objectPath=n()}})(this,(function(){"use strict";var e=Object.prototype.toString;function hasOwnProperty(e,t){if(e==null){return false}return Object.prototype.hasOwnProperty.call(e,t)}function isEmpty(e){if(!e){return true}if(t(e)&&e.length===0){return true}else if(typeof e!=="string"){for(var n in e){if(hasOwnProperty(e,n)){return false}}return true}return false}function toString(t){return e.call(t)}function isObject(e){return typeof e==="object"&&toString(e)==="[object Object]"}var t=Array.isArray||function(t){return e.call(t)==="[object Array]"};function isBoolean(e){return typeof e==="boolean"||toString(e)==="[object Boolean]"}function getKey(e){var t=parseInt(e);if(t.toString()===e){return t}return e}function factory(e){e=e||{};var objectPath=function(e){return Object.keys(objectPath).reduce((function(t,n){if(n==="create"){return t}if(typeof objectPath[n]==="function"){t[n]=objectPath[n].bind(objectPath,e)}return t}),{})};var n;if(e.includeInheritedProps){n=function(){return true}}else{n=function(e,t){return typeof t==="number"&&Array.isArray(e)||hasOwnProperty(e,t)}}function getShallowProperty(e,t){if(n(e,t)){return e[t]}}var i;if(e.includeInheritedProps){i=function(e,t){if(typeof t!=="string"&&typeof t!=="number"){t=String(t)}var n=getShallowProperty(e,t);if(t==="__proto__"||t==="prototype"||t==="constructor"&&typeof n==="function"){throw new Error("For security reasons, object's magic properties cannot be set")}return n}}else{i=function(e,t){return getShallowProperty(e,t)}}function set(e,t,n,s){if(typeof t==="number"){t=[t]}if(!t||t.length===0){return e}if(typeof t==="string"){return set(e,t.split(".").map(getKey),n,s)}var o=t[0];var a=i(e,o);if(t.length===1){if(a===void 0||!s){e[o]=n}return a}if(a===void 0){if(typeof t[1]==="number"){e[o]=[]}else{e[o]={}}}return set(e[o],t.slice(1),n,s)}objectPath.has=function(n,i){if(typeof i==="number"){i=[i]}else if(typeof i==="string"){i=i.split(".")}if(!i||i.length===0){return!!n}for(var s=0;s{"use strict";var t=process.platform==="win32";var n=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/;var i={};function win32SplitPath(e){return n.exec(e).slice(1)}i.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=win32SplitPath(e);if(!t||t.length!==5){throw new TypeError("Invalid path '"+e+"'")}return{root:t[1],dir:t[0]===t[1]?t[0]:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};var s=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/;var o={};function posixSplitPath(e){return s.exec(e).slice(1)}o.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=posixSplitPath(e);if(!t||t.length!==5){throw new TypeError("Invalid path '"+e+"'")}return{root:t[1],dir:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};if(t)e.exports=i.parse;else e.exports=o.parse;e.exports.posix=o.parse;e.exports.win32=i.parse},3433:(e,t,n)=>{"use strict";const i=n(5747);const s=n(8479);function type(e,t,n){if(typeof n!=="string"){return Promise.reject(new TypeError(`Expected a string, got ${typeof n}`))}return s(i[e])(n).then((e=>e[t]())).catch((e=>{if(e.code==="ENOENT"){return false}throw e}))}function typeSync(e,t,n){if(typeof n!=="string"){throw new TypeError(`Expected a string, got ${typeof n}`)}try{return i[e](n)[t]()}catch(e){if(e.code==="ENOENT"){return false}throw e}}t.file=type.bind(null,"stat","isFile");t.dir=type.bind(null,"stat","isDirectory");t.symlink=type.bind(null,"lstat","isSymbolicLink");t.fileSync=typeSync.bind(null,"statSync","isFile");t.dirSync=typeSync.bind(null,"statSync","isDirectory");t.symlinkSync=typeSync.bind(null,"lstatSync","isSymbolicLink")},8479:e=>{"use strict";const processFn=(e,t)=>function(){const n=t.promiseModule;const i=new Array(arguments.length);for(let e=0;e{if(t.errorFirst){i.push((function(e,i){if(t.multiArgs){const t=new Array(arguments.length-1);for(let e=1;e{t=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:true,promiseModule:Promise},t);const filter=e=>{const match=t=>typeof t==="string"?e===t:t.test(e);return t.include?t.include.some(match):!t.exclude.some(match)};let n;if(typeof e==="function"){n=function(){if(t.excludeMain){return e.apply(this,arguments)}return processFn(e,t).apply(this,arguments)}}else{n=Object.create(Object.getPrototypeOf(e))}for(const i in e){const s=e[i];n[i]=typeof s==="function"&&filter(i)?processFn(s,t):s}return n}},4810:e=>{"use strict";var processFn=function(e,t,n){return function(){var i=this;var s=new Array(arguments.length);for(var o=0;o{ -/*! - * - * Copyright 2009-2017 Kris Kowal under the terms of the MIT - * license found at https://github.com/kriskowal/q/blob/v1/LICENSE - * - * With parts by Tyler Close - * Copyright 2007-2009 Tyler Close under the terms of the MIT X license found - * at http://www.opensource.org/licenses/mit-license.html - * Forked at ref_send.js version: 2009-05-11 - * - * With parts by Mark Miller - * Copyright (C) 2011 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -(function(t){"use strict";if(typeof bootstrap==="function"){bootstrap("promise",t)}else if(true){e.exports=t()}else{var n,i}})((function(){"use strict";var e=false;try{throw new Error}catch(t){e=!!t.stack}var t=captureLine();var n;var noop=function(){};var i=function(){var e={task:void 0,next:null};var t=e;var n=false;var s=void 0;var o=false;var a=[];function flush(){var t,i;while(e.next){e=e.next;t=e.task;e.task=void 0;i=e.domain;if(i){e.domain=void 0;i.enter()}runSingle(t,i)}while(a.length){t=a.pop();runSingle(t)}n=false}function runSingle(e,t){try{e()}catch(e){if(o){if(t){t.exit()}setTimeout(flush,0);if(t){t.enter()}throw e}else{setTimeout((function(){throw e}),0)}}if(t){t.exit()}}i=function(e){t=t.next={task:e,domain:o&&process.domain,next:null};if(!n){n=true;s()}};if(typeof process==="object"&&process.toString()==="[object process]"&&process.nextTick){o=true;s=function(){process.nextTick(flush)}}else if(typeof setImmediate==="function"){if(typeof window!=="undefined"){s=setImmediate.bind(window,flush)}else{s=function(){setImmediate(flush)}}}else if(typeof MessageChannel!=="undefined"){var l=new MessageChannel;l.port1.onmessage=function(){s=requestPortTick;l.port1.onmessage=flush;flush()};var requestPortTick=function(){l.port2.postMessage(0)};s=function(){setTimeout(flush,0);requestPortTick()}}else{s=function(){setTimeout(flush,0)}}i.runAfter=function(e){a.push(e);if(!n){n=true;s()}};return i}();var s=Function.call;function uncurryThis(e){return function(){return s.apply(e,arguments)}}var o=uncurryThis(Array.prototype.slice);var a=uncurryThis(Array.prototype.reduce||function(e,t){var n=0,i=this.length;if(arguments.length===1){do{if(n in this){t=this[n++];break}if(++n>=i){throw new TypeError}}while(1)}for(;ns.stackCounter)){f(t,"__minimumStackCounter__",{value:s.stackCounter,configurable:true});i.unshift(s.stack)}}i.unshift(t.stack);var o=i.join("\n"+g+"\n");var a=filterStackString(o);f(t,"stack",{value:a,configurable:true})}}function filterStackString(e){var t=e.split("\n");var n=[];for(var i=0;i=t&&o<=E}function captureLine(){if(!e){return}try{throw new Error}catch(e){var t=e.stack.split("\n");var i=t[0].indexOf("@")>0?t[1]:t[2];var s=getFileNameAndLineNumber(i);if(!s){return}n=s[0];return s[1]}}function deprecate(e,t,n){return function(){if(typeof console!=="undefined"&&typeof console.warn==="function"){console.warn(t+" is deprecated, use "+n+" instead.",new Error("").stack)}return e.apply(e,arguments)}}function Q(e){if(e instanceof Promise){return e}if(isPromiseAlike(e)){return coerce(e)}else{return fulfill(e)}}Q.resolve=Q;Q.nextTick=i;Q.longStackSupport=false;var y=1;if(typeof process==="object"&&process&&process.env&&process.env.Q_DEBUG){Q.longStackSupport=true}Q.defer=defer;function defer(){var t=[],n=[],i;var s=c(defer.prototype);var l=c(Promise.prototype);l.promiseDispatch=function(e,s,a){var l=o(arguments);if(t){t.push(l);if(s==="when"&&a[1]){n.push(a[1])}}else{Q.nextTick((function(){i.promiseDispatch.apply(i,l)}))}};l.valueOf=function(){if(t){return l}var e=nearer(i);if(isPromise(e)){i=e}return e};l.inspect=function(){if(!i){return{state:"pending"}}return i.inspect()};if(Q.longStackSupport&&e){try{throw new Error}catch(e){l.stack=e.stack.substring(e.stack.indexOf("\n")+1);l.stackCounter=y++}}function become(s){i=s;if(Q.longStackSupport&&e){l.source=s}a(t,(function(e,t){Q.nextTick((function(){s.promiseDispatch.apply(s,t)}))}),void 0);t=void 0;n=void 0}s.promise=l;s.resolve=function(e){if(i){return}become(Q(e))};s.fulfill=function(e){if(i){return}become(fulfill(e))};s.reject=function(e){if(i){return}become(reject(e))};s.notify=function(e){if(i){return}a(n,(function(t,n){Q.nextTick((function(){n(e)}))}),void 0)};return s}defer.prototype.makeNodeResolver=function(){var e=this;return function(t,n){if(t){e.reject(t)}else if(arguments.length>2){e.resolve(o(arguments,1))}else{e.resolve(n)}}};Q.Promise=promise;Q.promise=promise;function promise(e){if(typeof e!=="function"){throw new TypeError("resolver must be a function.")}var t=defer();try{e(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}return t.promise}promise.race=race;promise.all=all;promise.reject=reject;promise.resolve=Q;Q.passByCopy=function(e){return e};Promise.prototype.passByCopy=function(){return this};Q.join=function(e,t){return Q(e).join(t)};Promise.prototype.join=function(e){return Q([this,e]).spread((function(e,t){if(e===t){return e}else{throw new Error("Q can't join: not the same: "+e+" "+t)}}))};Q.race=race;function race(e){return promise((function(t,n){for(var i=0,s=e.length;i{"use strict";const i=n(7280);const s=n(3645);e.exports=e=>i("package.json",e).then((t=>{if(!t){return{}}return s(t,e).then((e=>({pkg:e,path:t})))}));e.exports.sync=e=>{const t=i.sync("package.json",e);if(!t){return{}}return{pkg:s.sync(t,e),path:t}}},7280:(e,t,n)=>{"use strict";const i=n(5622);const s=n(7795);e.exports=(e,t)=>{t=t||{};const n=i.resolve(t.cwd||"");const o=i.parse(n).root;const a=[].concat(e);return new Promise((e=>{(function find(t){s(a,{cwd:t}).then((n=>{if(n){e(i.join(t,n))}else if(t===o){e(null)}else{find(i.dirname(t))}}))})(n)}))};e.exports.sync=(e,t)=>{t=t||{};let n=i.resolve(t.cwd||"");const o=i.parse(n).root;const a=[].concat(e);while(true){const e=s.sync(a,{cwd:n});if(e){return i.join(n,e)}else if(n===o){return null}n=i.dirname(n)}}},7795:(e,t,n)=>{"use strict";const i=n(5622);const s=n(6638);const o=n(4296);e.exports=(e,t)=>{t=Object.assign({cwd:process.cwd()},t);return o(e,(e=>s(i.resolve(t.cwd,e))),t)};e.exports.sync=(e,t)=>{t=Object.assign({cwd:process.cwd()},t);for(const n of e){if(s.sync(i.resolve(t.cwd,n))){return n}}}},9298:(e,t,n)=>{"use strict";const i=n(8496);e.exports=e=>{if(e<1){throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const t=[];let n=0;const next=()=>{n--;if(t.length>0){t.shift()()}};return s=>new Promise(((o,a)=>{const run=()=>{n++;i(s).then((e=>{o(e);next()}),(e=>{a(e);next()}))};if(n{"use strict";const i=n(9298);class EndError extends Error{constructor(e){super();this.value=e}}const finder=e=>Promise.all(e).then((e=>e[1]===true&&Promise.reject(new EndError(e[0]))));e.exports=(e,t,n)=>{n=Object.assign({concurrency:Infinity,preserveOrder:true},n);const s=i(n.concurrency);const o=Array.from(e).map((e=>[e,s((()=>Promise.resolve(e).then(t)))]));const a=i(n.preserveOrder?1:Infinity);return Promise.all(o.map((e=>a((()=>finder(e)))))).then((()=>{})).catch((e=>e instanceof EndError?e.value:Promise.reject(e)))}},8496:e=>{"use strict";e.exports=e=>new Promise((t=>{t(e())}))},6638:(e,t,n)=>{"use strict";const i=n(5747);e.exports=e=>new Promise((t=>{i.access(e,(e=>{t(!e)}))}));e.exports.sync=e=>{try{i.accessSync(e);return true}catch(e){return false}}},3645:(e,t,n)=>{"use strict";const i=n(5622);const s=n(5978);const o=n(3433);e.exports=(e,t)=>{if(typeof e!=="string"){t=e;e="."}t=t||{};return o.dir(e).then((t=>{if(t){e=i.join(e,"package.json")}return s(e)})).then((e=>{if(t.normalize!==false){n(5358)(e)}return e}))};e.exports.sync=(e,t)=>{if(typeof e!=="string"){t=e;e="."}t=t||{};e=o.dirSync(e)?i.join(e,"package.json"):e;const a=s.sync(e);if(t.normalize!==false){n(5358)(a)}return a}},9913:e=>{"use strict";var t=e.exports={github:{protocols:["git","http","git+ssh","git+https","ssh","https"],domain:"github.com",treepath:"tree",filetemplate:"https://{auth@}raw.githubusercontent.com/{user}/{project}/{committish}/{path}",bugstemplate:"https://{domain}/{user}/{project}/issues",gittemplate:"git://{auth@}{domain}/{user}/{project}.git{#committish}",tarballtemplate:"https://codeload.{domain}/{user}/{project}/tar.gz/{committish}"},bitbucket:{protocols:["git+ssh","git+https","ssh","https"],domain:"bitbucket.org",treepath:"src",tarballtemplate:"https://{domain}/{user}/{project}/get/{committish}.tar.gz"},gitlab:{protocols:["git+ssh","git+https","ssh","https"],domain:"gitlab.com",treepath:"tree",bugstemplate:"https://{domain}/{user}/{project}/issues",httpstemplate:"git+https://{auth@}{domain}/{user}/{projectPath}.git{#committish}",tarballtemplate:"https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}",pathmatch:/^[/]([^/]+)[/]((?!.*(\/-\/|\/repository\/archive\.tar\.gz\?=.*|\/repository\/[^/]+\/archive.tar.gz$)).*?)(?:[.]git|[/])?$/},gist:{protocols:["git","git+ssh","git+https","ssh","https"],domain:"gist.github.com",pathmatch:/^[/](?:([^/]+)[/])?([a-z0-9]{32,})(?:[.]git)?$/,filetemplate:"https://gist.githubusercontent.com/{user}/{project}/raw{/committish}/{path}",bugstemplate:"https://{domain}/{project}",gittemplate:"git://{domain}/{project}.git{#committish}",sshtemplate:"git@{domain}:/{project}.git{#committish}",sshurltemplate:"git+ssh://git@{domain}/{project}.git{#committish}",browsetemplate:"https://{domain}/{project}{/committish}",browsefiletemplate:"https://{domain}/{project}{/committish}{#path}",docstemplate:"https://{domain}/{project}{/committish}",httpstemplate:"git+https://{domain}/{project}.git{#committish}",shortcuttemplate:"{type}:{project}{#committish}",pathtemplate:"{project}{#committish}",tarballtemplate:"https://codeload.github.com/gist/{project}/tar.gz/{committish}",hashformat:function(e){return"file-"+formatHashFragment(e)}}};var n={sshtemplate:"git@{domain}:{user}/{project}.git{#committish}",sshurltemplate:"git+ssh://git@{domain}/{user}/{project}.git{#committish}",browsetemplate:"https://{domain}/{user}/{project}{/tree/committish}",browsefiletemplate:"https://{domain}/{user}/{project}/{treepath}/{committish}/{path}{#fragment}",docstemplate:"https://{domain}/{user}/{project}{/tree/committish}#readme",httpstemplate:"git+https://{auth@}{domain}/{user}/{project}.git{#committish}",filetemplate:"https://{domain}/{user}/{project}/raw/{committish}/{path}",shortcuttemplate:"{type}:{user}/{project}{#committish}",pathtemplate:"{user}/{project}{#committish}",pathmatch:/^[/]([^/]+)[/]([^/]+?)(?:[.]git|[/])?$/,hashformat:formatHashFragment};Object.keys(t).forEach((function(e){Object.keys(n).forEach((function(i){if(t[e][i])return;t[e][i]=n[i]}));t[e].protocols_re=RegExp("^("+t[e].protocols.map((function(e){return e.replace(/([\\+*{}()[\]$^|])/g,"\\$1")})).join("|")+"):$")}));function formatHashFragment(e){return e.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-")}},9718:(e,t,n)=>{"use strict";var i=n(9913);var s=Object.assign||function _extend(e,t){if(t===null||typeof t!=="object")return e;var n=Object.keys(t);var i=n.length;while(i--){e[n[i]]=t[n[i]]}return e};e.exports=GitHost;function GitHost(e,t,n,s,o,a,l){var u=this;u.type=e;Object.keys(i[e]).forEach((function(t){u[t]=i[e][t]}));u.user=t;u.auth=n;u.project=s;u.committish=o;u.default=a;u.opts=l||{}}GitHost.prototype.hash=function(){return this.committish?"#"+this.committish:""};GitHost.prototype._fill=function(e,t){if(!e)return;var n=s({},t);n.path=n.path?n.path.replace(/^[/]+/g,""):"";t=s(s({},this.opts),t);var i=this;Object.keys(this).forEach((function(e){if(i[e]!=null&&n[e]==null)n[e]=i[e]}));var o=n.auth;var a=n.committish;var l=n.fragment;var u=n.path;var c=n.project;Object.keys(n).forEach((function(e){var t=n[e];if((e==="path"||e==="project")&&typeof t==="string"){n[e]=t.split("/").map((function(e){return encodeURIComponent(e)})).join("/")}else{n[e]=encodeURIComponent(t)}}));n["auth@"]=o?o+"@":"";n["#fragment"]=l?"#"+this.hashformat(l):"";n.fragment=n.fragment?n.fragment:"";n["#path"]=u?"#"+this.hashformat(u):"";n["/path"]=n.path?"/"+n.path:"";n.projectPath=c.split("/").map(encodeURIComponent).join("/");if(t.noCommittish){n["#committish"]="";n["/tree/committish"]="";n["/committish"]="";n.committish=""}else{n["#committish"]=a?"#"+a:"";n["/tree/committish"]=n.committish?"/"+n.treepath+"/"+n.committish:"";n["/committish"]=n.committish?"/"+n.committish:"";n.committish=n.committish||"master"}var f=e;Object.keys(n).forEach((function(e){f=f.replace(new RegExp("[{]"+e+"[}]","g"),n[e])}));if(t.noGitPlus){return f.replace(/^git[+]/,"")}else{return f}};GitHost.prototype.ssh=function(e){return this._fill(this.sshtemplate,e)};GitHost.prototype.sshurl=function(e){return this._fill(this.sshurltemplate,e)};GitHost.prototype.browse=function(e,t,n){if(typeof e==="string"){if(typeof t!=="string"){n=t;t=null}return this._fill(this.browsefiletemplate,s({fragment:t,path:e},n))}else{return this._fill(this.browsetemplate,e)}};GitHost.prototype.docs=function(e){return this._fill(this.docstemplate,e)};GitHost.prototype.bugs=function(e){return this._fill(this.bugstemplate,e)};GitHost.prototype.https=function(e){return this._fill(this.httpstemplate,e)};GitHost.prototype.git=function(e){return this._fill(this.gittemplate,e)};GitHost.prototype.shortcut=function(e){return this._fill(this.shortcuttemplate,e)};GitHost.prototype.path=function(e){return this._fill(this.pathtemplate,e)};GitHost.prototype.tarball=function(e){var t=s({},e,{noCommittish:false});return this._fill(this.tarballtemplate,t)};GitHost.prototype.file=function(e,t){return this._fill(this.filetemplate,s({path:e},t))};GitHost.prototype.getDefaultRepresentation=function(){return this.default};GitHost.prototype.toString=function(e){if(this.default&&typeof this[this.default]==="function")return this[this.default](e);return this.sshurl(e)}},8382:(e,t,n)=>{"use strict";var i=n(8835);var s=n(9913);var o=e.exports=n(9718);var a={"git+ssh:":"sshurl","git+https:":"https","ssh:":"sshurl","git:":"git"};function protocolToRepresentation(e){return a[e]||e.slice(0,-1)}var l={"git:":true,"https:":true,"git+https:":true,"http:":true,"git+http:":true};var u={};e.exports.fromUrl=function(e,t){if(typeof e!=="string")return;var n=e+JSON.stringify(t||{});if(!(n in u)){u[n]=fromUrl(e,t)}return u[n]};function fromUrl(e,t){if(e==null||e==="")return;var n=fixupUnqualifiedGist(isGitHubShorthand(e)?"github:"+e:e);var i=parseGitUrl(n);var a=n.match(/^([^:]+):(?:[^@]+@)?(?:([^/]*)\/)?([^#]+)/);var u=Object.keys(s).map((function(e){try{var n=s[e];var u=null;if(i.auth&&l[i.protocol]){u=i.auth}var c=i.hash?decodeURIComponent(i.hash.substr(1)):null;var f=null;var p=null;var h=null;if(a&&a[1]===e){f=a[2]&&decodeURIComponent(a[2]);p=decodeURIComponent(a[3].replace(/\.git$/,""));h="shortcut"}else{if(i.host&&i.host!==n.domain&&i.host.replace(/^www[.]/,"")!==n.domain)return;if(!n.protocols_re.test(i.protocol))return;if(!i.path)return;var d=n.pathmatch;var m=i.path.match(d);if(!m)return;if(m[1]!==null&&m[1]!==undefined){f=decodeURIComponent(m[1].replace(/^:/,""))}p=decodeURIComponent(m[2]);h=protocolToRepresentation(i.protocol)}return new o(e,f,u,p,c,h,t)}catch(e){if(e instanceof URIError){}else throw e}})).filter((function(e){return e}));if(u.length!==1)return;return u[0]}function isGitHubShorthand(e){return/^[^:@%/\s.-][^:@%/\s]*[/][^:@\s/%]+(?:#.*)?$/.test(e)}function fixupUnqualifiedGist(e){var t=i.parse(e);if(t.protocol==="gist:"&&t.host&&!t.path){return t.protocol+"/"+t.host}else{return e}}function parseGitUrl(e){var t=e.match(/^([^@]+)@([^:/]+):[/]?((?:[^/]+[/])?[^/]+?)(?:[.]git)?(#.*)?$/);if(!t){var n=i.parse(e);if(n.auth&&typeof i.URL==="function"){var s=e.match(/[^@]+@[^:/]+/);if(s){var o=new i.URL(s[0]);n.auth=o.username||"";if(o.password)n.auth+=":"+o.password}}return n}return{protocol:"git+ssh:",slashes:true,auth:t[1],host:t[2],port:null,hostname:t[2],hash:t[4],search:null,query:null,pathname:"/"+t[3],path:"/"+t[3],href:"git+ssh://"+t[1]+"@"+t[2]+"/"+t[3]+(t[4]||"")}}},5727:e=>{e.exports=extractDescription;function extractDescription(e){if(!e)return;if(e==="ERROR: No README data found!")return;e=e.trim().split("\n");for(var t=0;e[t]&&e[t].trim().match(/^(#|$)/);t++);var n=e.length;for(var i=t+1;i{var i=n(8940);var s=n(2524);var o=n(8382);var a=n(9283).isCore;var l=["dependencies","devDependencies","optionalDependencies"];var u=n(5727);var c=n(8835);var f=n(6659);var p=e.exports={warn:function(){},fixRepositoryField:function(e){if(e.repositories){this.warn("repositories");e.repository=e.repositories[0]}if(!e.repository)return this.warn("missingRepository");if(typeof e.repository==="string"){e.repository={type:"git",url:e.repository}}var t=e.repository.url||"";if(t){var n=o.fromUrl(t);if(n){t=e.repository.url=n.getDefaultRepresentation()=="shortcut"?n.https():n.toString()}}if(t.match(/github.com\/[^\/]+\/[^\/]+\.git\.git$/)){this.warn("brokenGitUrl",t)}},fixTypos:function(e){Object.keys(f.topLevel).forEach((function(t){if(e.hasOwnProperty(t)){this.warn("typo",t,f.topLevel[t])}}),this)},fixScriptsField:function(e){if(!e.scripts)return;if(typeof e.scripts!=="object"){this.warn("nonObjectScripts");delete e.scripts;return}Object.keys(e.scripts).forEach((function(t){if(typeof e.scripts[t]!=="string"){this.warn("nonStringScript");delete e.scripts[t]}else if(f.script[t]&&!e.scripts[f.script[t]]){this.warn("typo",t,f.script[t],"scripts")}}),this)},fixFilesField:function(e){var t=e.files;if(t&&!Array.isArray(t)){this.warn("nonArrayFiles");delete e.files}else if(e.files){e.files=e.files.filter((function(e){if(!e||typeof e!=="string"){this.warn("invalidFilename",e);return false}else{return true}}),this)}},fixBinField:function(e){if(!e.bin)return;if(typeof e.bin==="string"){var t={};var n;if(n=e.name.match(/^@[^/]+[/](.*)$/)){t[n[1]]=e.bin}else{t[e.name]=e.bin}e.bin=t}},fixManField:function(e){if(!e.man)return;if(typeof e.man==="string"){e.man=[e.man]}},fixBundleDependenciesField:function(e){var t="bundledDependencies";var n="bundleDependencies";if(e[t]&&!e[n]){e[n]=e[t];delete e[t]}if(e[n]&&!Array.isArray(e[n])){this.warn("nonArrayBundleDependencies");delete e[n]}else if(e[n]){e[n]=e[n].filter((function(t){if(!t||typeof t!=="string"){this.warn("nonStringBundleDependency",t);return false}else{if(!e.dependencies){e.dependencies={}}if(!e.dependencies.hasOwnProperty(t)){this.warn("nonDependencyBundleDependency",t);e.dependencies[t]="*"}return true}}),this)}},fixDependencies:function(e,t){var n=!t;objectifyDeps(e,this.warn);addOptionalDepsToDeps(e,this.warn);this.fixBundleDependenciesField(e);["dependencies","devDependencies"].forEach((function(t){if(!(t in e))return;if(!e[t]||typeof e[t]!=="object"){this.warn("nonObjectDependencies",t);delete e[t];return}Object.keys(e[t]).forEach((function(n){var i=e[t][n];if(typeof i!=="string"){this.warn("nonStringDependency",n,JSON.stringify(i));delete e[t][n]}var s=o.fromUrl(e[t][n]);if(s)e[t][n]=s.toString()}),this)}),this)},fixModulesField:function(e){if(e.modules){this.warn("deprecatedModules");delete e.modules}},fixKeywordsField:function(e){if(typeof e.keywords==="string"){e.keywords=e.keywords.split(/,\s+/)}if(e.keywords&&!Array.isArray(e.keywords)){delete e.keywords;this.warn("nonArrayKeywords")}else if(e.keywords){e.keywords=e.keywords.filter((function(e){if(typeof e!=="string"||!e){this.warn("nonStringKeyword");return false}else{return true}}),this)}},fixVersionField:function(e,t){var n=!t;if(!e.version){e.version="";return true}if(!i.valid(e.version,n)){throw new Error('Invalid version: "'+e.version+'"')}e.version=i.clean(e.version,n);return true},fixPeople:function(e){modifyPeople(e,unParsePerson);modifyPeople(e,parsePerson)},fixNameField:function(e,t){if(typeof t==="boolean")t={strict:t};else if(typeof t==="undefined")t={};var n=t.strict;if(!e.name&&!n){e.name="";return}if(typeof e.name!=="string"){throw new Error("name field must be a string.")}if(!n)e.name=e.name.trim();ensureValidName(e.name,n,t.allowLegacyCase);if(a(e.name))this.warn("conflictingName",e.name)},fixDescriptionField:function(e){if(e.description&&typeof e.description!=="string"){this.warn("nonStringDescription");delete e.description}if(e.readme&&!e.description)e.description=u(e.readme);if(e.description===undefined)delete e.description;if(!e.description)this.warn("missingDescription")},fixReadmeField:function(e){if(!e.readme){this.warn("missingReadme");e.readme="ERROR: No README data found!"}},fixBugsField:function(e){if(!e.bugs&&e.repository&&e.repository.url){var t=o.fromUrl(e.repository.url);if(t&&t.bugs()){e.bugs={url:t.bugs()}}}else if(e.bugs){var n=/^.+@.*\..+$/;if(typeof e.bugs=="string"){if(n.test(e.bugs))e.bugs={email:e.bugs};else if(c.parse(e.bugs).protocol)e.bugs={url:e.bugs};else this.warn("nonEmailUrlBugsString")}else{bugsTypos(e.bugs,this.warn);var i=e.bugs;e.bugs={};if(i.url){if(typeof i.url=="string"&&c.parse(i.url).protocol)e.bugs.url=i.url;else this.warn("nonUrlBugsUrlField")}if(i.email){if(typeof i.email=="string"&&n.test(i.email))e.bugs.email=i.email;else this.warn("nonEmailBugsEmailField")}}if(!e.bugs.email&&!e.bugs.url){delete e.bugs;this.warn("emptyNormalizedBugs")}}},fixHomepageField:function(e){if(!e.homepage&&e.repository&&e.repository.url){var t=o.fromUrl(e.repository.url);if(t&&t.docs())e.homepage=t.docs()}if(!e.homepage)return;if(typeof e.homepage!=="string"){this.warn("nonUrlHomepage");return delete e.homepage}if(!c.parse(e.homepage).protocol){e.homepage="http://"+e.homepage}},fixLicenseField:function(e){if(!e.license){return this.warn("missingLicense")}else{if(typeof e.license!=="string"||e.license.length<1||e.license.trim()===""){this.warn("invalidLicense")}else{if(!s(e.license).validForNewPackages)this.warn("invalidLicense")}}}};function isValidScopedPackageName(e){if(e.charAt(0)!=="@")return false;var t=e.slice(1).split("/");if(t.length!==2)return false;return t[0]&&t[1]&&t[0]===encodeURIComponent(t[0])&&t[1]===encodeURIComponent(t[1])}function isCorrectlyEncodedName(e){return!e.match(/[\/@\s\+%:]/)&&e===encodeURIComponent(e)}function ensureValidName(e,t,n){if(e.charAt(0)==="."||!(isValidScopedPackageName(e)||isCorrectlyEncodedName(e))||t&&!n&&e!==e.toLowerCase()||e.toLowerCase()==="node_modules"||e.toLowerCase()==="favicon.ico"){throw new Error("Invalid name: "+JSON.stringify(e))}}function modifyPeople(e,t){if(e.author)e.author=t(e.author);["maintainers","contributors"].forEach((function(n){if(!Array.isArray(e[n]))return;e[n]=e[n].map(t)}));return e}function unParsePerson(e){if(typeof e==="string")return e;var t=e.name||"";var n=e.url||e.web;var i=n?" ("+n+")":"";var s=e.email||e.mail;var o=s?" <"+s+">":"";return t+o+i}function parsePerson(e){if(typeof e!=="string")return e;var t=e.match(/^([^\(<]+)/);var n=e.match(/\(([^\)]+)\)/);var i=e.match(/<([^>]+)>/);var s={};if(t&&t[0].trim())s.name=t[0].trim();if(i)s.email=i[1];if(n)s.url=n[1];return s}function addOptionalDepsToDeps(e,t){var n=e.optionalDependencies;if(!n)return;var i=e.dependencies||{};Object.keys(n).forEach((function(e){i[e]=n[e]}));e.dependencies=i}function depObjectify(e,t,n){if(!e)return{};if(typeof e==="string"){e=e.trim().split(/[\n\r\s\t ,]+/)}if(!Array.isArray(e))return e;n("deprecatedArrayDependencies",t);var i={};e.filter((function(e){return typeof e==="string"})).forEach((function(e){e=e.trim().split(/(:?[@\s><=])/);var t=e.shift();var n=e.join("");n=n.trim();n=n.replace(/^@/,"");i[t]=n}));return i}function objectifyDeps(e,t){l.forEach((function(n){if(!e[n])return;e[n]=depObjectify(e[n],n,t)}))}function bugsTypos(e,t){if(!e)return;Object.keys(e).forEach((function(n){if(f.bugs[n]){t("typo",n,f.bugs[n],"bugs");e[f.bugs[n]]=e[n];delete e[n]}}))}},3676:(e,t,n)=>{var i=n(1669);var s=n(4136);e.exports=function(){var e=Array.prototype.slice.call(arguments,0);var t=e.shift();if(t=="typo"){return makeTypoWarning.apply(null,e)}else{var n=s[t]?s[t]:t+": '%s'";e.unshift(n);return i.format.apply(null,e)}};function makeTypoWarning(e,t,n){if(n){e=n+"['"+e+"']";t=n+"['"+t+"']"}return i.format(s.typo,e,t)}},5358:(e,t,n)=>{e.exports=normalize;var i=n(3403);normalize.fixer=i;var s=n(3676);var o=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"];var a=["dependencies","people","typos"];var l=o.map((function(e){return ucFirst(e)+"Field"}));l=l.concat(a);function normalize(e,t,n){if(t===true)t=null,n=true;if(!n)n=false;if(!t||e.private)t=function(e){};if(e.scripts&&e.scripts.install==="node-gyp rebuild"&&!e.scripts.preinstall){e.gypfile=true}i.warn=function(){t(s.apply(null,arguments))};l.forEach((function(t){i["fix"+ucFirst(t)](e,n)}));e._id=e.name+"@"+e.version}function ucFirst(e){return e.charAt(0).toUpperCase()+e.slice(1)}},8940:(e,t)=>{t=e.exports=SemVer;var n;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){n=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{n=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var i=256;var s=Number.MAX_SAFE_INTEGER||9007199254740991;var o=16;var a=t.re=[];var l=t.src=[];var u=0;var c=u++;l[c]="0|[1-9]\\d*";var f=u++;l[f]="[0-9]+";var p=u++;l[p]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var h=u++;l[h]="("+l[c]+")\\."+"("+l[c]+")\\."+"("+l[c]+")";var d=u++;l[d]="("+l[f]+")\\."+"("+l[f]+")\\."+"("+l[f]+")";var m=u++;l[m]="(?:"+l[c]+"|"+l[p]+")";var g=u++;l[g]="(?:"+l[f]+"|"+l[p]+")";var y=u++;l[y]="(?:-("+l[m]+"(?:\\."+l[m]+")*))";var v=u++;l[v]="(?:-?("+l[g]+"(?:\\."+l[g]+")*))";var b=u++;l[b]="[0-9A-Za-z-]+";var w=u++;l[w]="(?:\\+("+l[b]+"(?:\\."+l[b]+")*))";var S=u++;var E="v?"+l[h]+l[y]+"?"+l[w]+"?";l[S]="^"+E+"$";var _="[v=\\s]*"+l[d]+l[v]+"?"+l[w]+"?";var O=u++;l[O]="^"+_+"$";var R=u++;l[R]="((?:<|>)?=?)";var C=u++;l[C]=l[f]+"|x|X|\\*";var A=u++;l[A]=l[c]+"|x|X|\\*";var L=u++;l[L]="[v=\\s]*("+l[A]+")"+"(?:\\.("+l[A]+")"+"(?:\\.("+l[A]+")"+"(?:"+l[y]+")?"+l[w]+"?"+")?)?";var x=u++;l[x]="[v=\\s]*("+l[C]+")"+"(?:\\.("+l[C]+")"+"(?:\\.("+l[C]+")"+"(?:"+l[v]+")?"+l[w]+"?"+")?)?";var I=u++;l[I]="^"+l[R]+"\\s*"+l[L]+"$";var T=u++;l[T]="^"+l[R]+"\\s*"+l[x]+"$";var P=u++;l[P]="(?:^|[^\\d])"+"(\\d{1,"+o+"})"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:$|[^\\d])";var k=u++;l[k]="(?:~>?)";var N=u++;l[N]="(\\s*)"+l[k]+"\\s+";a[N]=new RegExp(l[N],"g");var M="$1~";var D=u++;l[D]="^"+l[k]+l[L]+"$";var j=u++;l[j]="^"+l[k]+l[x]+"$";var $=u++;l[$]="(?:\\^)";var F=u++;l[F]="(\\s*)"+l[$]+"\\s+";a[F]=new RegExp(l[F],"g");var B="$1^";var U=u++;l[U]="^"+l[$]+l[L]+"$";var H=u++;l[H]="^"+l[$]+l[x]+"$";var G=u++;l[G]="^"+l[R]+"\\s*("+_+")$|^$";var W=u++;l[W]="^"+l[R]+"\\s*("+E+")$|^$";var V=u++;l[V]="(\\s*)"+l[R]+"\\s*("+_+"|"+l[L]+")";a[V]=new RegExp(l[V],"g");var q="$1$2$3";var Y=u++;l[Y]="^\\s*("+l[L]+")"+"\\s+-\\s+"+"("+l[L]+")"+"\\s*$";var z=u++;l[z]="^\\s*("+l[x]+")"+"\\s+-\\s+"+"("+l[x]+")"+"\\s*$";var K=u++;l[K]="(<|>)?=?\\s*\\*";for(var X=0;Xi){return null}var n=t.loose?a[O]:a[S];if(!n.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var n=parse(e,t);return n?n.version:null}t.clean=clean;function clean(e,t){var n=parse(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>i){throw new TypeError("version is longer than "+i+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}n("SemVer",e,t);this.options=t;this.loose=!!t.loose;var o=e.trim().match(t.loose?a[O]:a[S]);if(!o){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+o[1];this.minor=+o[2];this.patch=+o[3];if(this.major>s||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>s||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>s||this.patch<0){throw new TypeError("Invalid patch version")}if(!o[4]){this.prerelease=[]}else{this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[n]==="number"){this.prerelease[n]++;n=-2}}if(n===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,n,i){if(typeof n==="string"){i=n;n=undefined}try{return new SemVer(e,n).inc(t,i).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var n=parse(e);var i=parse(t);var s="";if(n.prerelease.length||i.prerelease.length){s="pre";var o="prerelease"}for(var a in n){if(a==="major"||a==="minor"||a==="patch"){if(n[a]!==i[a]){return s+a}}}return o}}t.compareIdentifiers=compareIdentifiers;var J=/^[0-9]+$/;function compareIdentifiers(e,t){var n=J.test(e);var i=J.test(t);if(n&&i){e=+e;t=+t}return e===t?0:n&&!i?-1:i&&!n?1:e0}t.lt=lt;function lt(e,t,n){return compare(e,t,n)<0}t.eq=eq;function eq(e,t,n){return compare(e,t,n)===0}t.neq=neq;function neq(e,t,n){return compare(e,t,n)!==0}t.gte=gte;function gte(e,t,n){return compare(e,t,n)>=0}t.lte=lte;function lte(e,t,n){return compare(e,t,n)<=0}t.cmp=cmp;function cmp(e,t,n,i){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e===n;case"!==":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e!==n;case"":case"=":case"==":return eq(e,n,i);case"!=":return neq(e,n,i);case">":return gt(e,n,i);case">=":return gte(e,n,i);case"<":return lt(e,n,i);case"<=":return lte(e,n,i);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}n("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===Z){this.value=""}else{this.value=this.operator+this.semver.version}n("comp",this)}var Z={};Comparator.prototype.parse=function(e){var t=this.options.loose?a[G]:a[W];var n=e.match(t);if(!n){throw new TypeError("Invalid comparator: "+e)}this.operator=n[1];if(this.operator==="="){this.operator=""}if(!n[2]){this.semver=Z}else{this.semver=new SemVer(n[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){n("Comparator.test",e,this.options.loose);if(this.semver===Z){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var n;if(this.operator===""){n=new Range(e.value,t);return satisfies(this.value,n,t)}else if(e.operator===""){n=new Range(this.value,t);return satisfies(e.semver,n,t)}var i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var s=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var o=this.semver.version===e.semver.version;var a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var l=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var u=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return i||s||o&&a||l||u};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var i=t?a[z]:a[Y];e=e.replace(i,hyphenReplace);n("hyphen replace",e);e=e.replace(a[V],q);n("comparator trim",e,a[V]);e=e.replace(a[N],M);e=e.replace(a[F],B);e=e.split(/\s+/).join(" ");var s=t?a[G]:a[W];var o=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){o=o.filter((function(e){return!!e.match(s)}))}o=o.map((function(e){return new Comparator(e,this.options)}),this);return o};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(n){return n.every((function(n){return e.set.some((function(e){return e.every((function(e){return n.intersects(e,t)}))}))}))}))};t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,t){n("comp",e,t);e=replaceCarets(e,t);n("caret",e);e=replaceTildes(e,t);n("tildes",e);e=replaceXRanges(e,t);n("xrange",e);e=replaceStars(e,t);n("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,t)})).join(" ")}function replaceTilde(e,t){var i=t.loose?a[j]:a[D];return e.replace(i,(function(t,i,s,o,a){n("tilde",e,t,i,s,o,a);var l;if(isX(i)){l=""}else if(isX(s)){l=">="+i+".0.0 <"+(+i+1)+".0.0"}else if(isX(o)){l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0"}else if(a){n("replaceTilde pr",a);l=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+(+s+1)+".0"}else{l=">="+i+"."+s+"."+o+" <"+i+"."+(+s+1)+".0"}n("tilde return",l);return l}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){n("caret",e,t);var i=t.loose?a[H]:a[U];return e.replace(i,(function(t,i,s,o,a){n("caret",e,t,i,s,o,a);var l;if(isX(i)){l=""}else if(isX(s)){l=">="+i+".0.0 <"+(+i+1)+".0.0"}else if(isX(o)){if(i==="0"){l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0"}else{l=">="+i+"."+s+".0 <"+(+i+1)+".0.0"}}else if(a){n("replaceCaret pr",a);if(i==="0"){if(s==="0"){l=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+s+"."+(+o+1)}else{l=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+(+s+1)+".0"}}else{l=">="+i+"."+s+"."+o+"-"+a+" <"+(+i+1)+".0.0"}}else{n("no pr");if(i==="0"){if(s==="0"){l=">="+i+"."+s+"."+o+" <"+i+"."+s+"."+(+o+1)}else{l=">="+i+"."+s+"."+o+" <"+i+"."+(+s+1)+".0"}}else{l=">="+i+"."+s+"."+o+" <"+(+i+1)+".0.0"}}n("caret return",l);return l}))}function replaceXRanges(e,t){n("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var i=t.loose?a[T]:a[I];return e.replace(i,(function(t,i,s,o,a,l){n("xRange",e,t,i,s,o,a,l);var u=isX(s);var c=u||isX(o);var f=c||isX(a);var p=f;if(i==="="&&p){i=""}if(u){if(i===">"||i==="<"){t="<0.0.0"}else{t="*"}}else if(i&&p){if(c){o=0}a=0;if(i===">"){i=">=";if(c){s=+s+1;o=0;a=0}else{o=+o+1;a=0}}else if(i==="<="){i="<";if(c){s=+s+1}else{o=+o+1}}t=i+s+"."+o+"."+a}else if(c){t=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(f){t=">="+s+"."+o+".0 <"+s+"."+(+o+1)+".0"}n("xRange return",t);return t}))}function replaceStars(e,t){n("replaceStars",e,t);return e.trim().replace(a[K],"")}function hyphenReplace(e,t,n,i,s,o,a,l,u,c,f,p,h){if(isX(n)){t=""}else if(isX(i)){t=">="+n+".0.0"}else if(isX(s)){t=">="+n+"."+i+".0"}else{t=">="+t}if(isX(u)){l=""}else if(isX(c)){l="<"+(+u+1)+".0.0"}else if(isX(f)){l="<"+u+"."+(+c+1)+".0"}else if(p){l="<="+u+"."+c+"."+f+"-"+p}else{l="<="+l}return(t+" "+l).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var t=0;t0){var o=e[s].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,n){try{t=new Range(t,n)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,n){var i=null;var s=null;try{var o=new Range(t,n)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!i||s.compare(e)===-1){i=e;s=new SemVer(i,n)}}}));return i}t.minSatisfying=minSatisfying;function minSatisfying(e,t,n){var i=null;var s=null;try{var o=new Range(t,n)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!i||s.compare(e)===1){i=e;s=new SemVer(i,n)}}}));return i}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var n=new SemVer("0.0.0");if(e.test(n)){return n}n=new SemVer("0.0.0-0");if(e.test(n)){return n}n=null;for(var i=0;i":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!n||gt(n,t)){n=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(n&&e.test(n)){return n}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,n){return outside(e,t,"<",n)}t.gtr=gtr;function gtr(e,t,n){return outside(e,t,">",n)}t.outside=outside;function outside(e,t,n,i){e=new SemVer(e,i);t=new Range(t,i);var s,o,a,l,u;switch(n){case">":s=gt;o=lte;a=lt;l=">";u=">=";break;case"<":s=lt;o=gte;a=gt;l="<";u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,i)){return false}for(var c=0;c=0.0.0")}p=p||e;h=h||e;if(s(e.semver,p.semver,i)){p=e}else if(a(e.semver,h.semver,i)){h=e}}));if(p.operator===l||p.operator===u){return false}if((!h.operator||h.operator===l)&&o(e,h.semver)){return false}else if(h.operator===u&&a(e,h.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var n=parse(e,t);return n&&n.prerelease.length?n.prerelease:null}t.intersects=intersects;function intersects(e,t,n){e=new Range(e,n);t=new Range(t,n);return e.intersects(t)}t.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var t=e.match(a[P]);if(t==null){return null}return parse(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}},7214:e=>{"use strict";const t={};function createErrorType(e,n,i){if(!i){i=Error}function getMessage(e,t,i){if(typeof n==="string"){return n}else{return n(e,t,i)}}class NodeError extends i{constructor(e,t,n){super(getMessage(e,t,n))}}NodeError.prototype.name=i.name;NodeError.prototype.code=e;t[e]=NodeError}function oneOf(e,t){if(Array.isArray(e)){const n=e.length;e=e.map((e=>String(e)));if(n>2){return`one of ${t} ${e.slice(0,n-1).join(", ")}, or `+e[n-1]}else if(n===2){return`one of ${t} ${e[0]} or ${e[1]}`}else{return`of ${t} ${e[0]}`}}else{return`of ${t} ${String(e)}`}}function startsWith(e,t,n){return e.substr(!n||n<0?0:+n,t.length)===t}function endsWith(e,t,n){if(n===undefined||n>e.length){n=e.length}return e.substring(n-t.length,n)===t}function includes(e,t,n){if(typeof n!=="number"){n=0}if(n+t.length>e.length){return false}else{return e.indexOf(t,n)!==-1}}createErrorType("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError);createErrorType("ERR_INVALID_ARG_TYPE",(function(e,t,n){let i;if(typeof t==="string"&&startsWith(t,"not ")){i="must not be";t=t.replace(/^not /,"")}else{i="must be"}let s;if(endsWith(e," argument")){s=`The ${e} ${i} ${oneOf(t,"type")}`}else{const n=includes(e,".")?"property":"argument";s=`The "${e}" ${n} ${i} ${oneOf(t,"type")}`}s+=`. Received type ${typeof n}`;return s}),TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"}));createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"}));createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");e.exports.q=t},1359:(e,t,n)=>{"use strict";var i=Object.keys||function(e){var t=[];for(var n in e){t.push(n)}return t};e.exports=Duplex;var s=n(1433);var o=n(6993);n(4124)(Duplex,s);{var a=i(o.prototype);for(var l=0;l{"use strict";e.exports=PassThrough;var i=n(4415);n(4124)(PassThrough,i);function PassThrough(e){if(!(this instanceof PassThrough))return new PassThrough(e);i.call(this,e)}PassThrough.prototype._transform=function(e,t,n){n(null,e)}},1433:(e,t,n)=>{"use strict";e.exports=Readable;var i;Readable.ReadableState=ReadableState;var s=n(8614).EventEmitter;var o=function EElistenerCount(e,t){return e.listeners(t).length};var a=n(2387);var l=n(4293).Buffer;var u=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return l.from(e)}function _isUint8Array(e){return l.isBuffer(e)||e instanceof u}var c=n(1669);var f;if(c&&c.debuglog){f=c.debuglog("stream")}else{f=function debug(){}}var p=n(2746);var h=n(7049);var d=n(9948),m=d.getHighWaterMark;var g=n(7214).q,y=g.ERR_INVALID_ARG_TYPE,v=g.ERR_STREAM_PUSH_AFTER_EOF,b=g.ERR_METHOD_NOT_IMPLEMENTED,w=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;var S;var E;var _;n(4124)(Readable,a);var O=h.errorOrDestroy;var R=["error","close","destroy","pause","resume"];function prependListener(e,t,n){if(typeof e.prependListener==="function")return e.prependListener(t,n);if(!e._events||!e._events[t])e.on(t,n);else if(Array.isArray(e._events[t]))e._events[t].unshift(n);else e._events[t]=[n,e._events[t]]}function ReadableState(e,t,s){i=i||n(1359);e=e||{};if(typeof s!=="boolean")s=t instanceof i;this.objectMode=!!e.objectMode;if(s)this.objectMode=this.objectMode||!!e.readableObjectMode;this.highWaterMark=m(this,e,"readableHighWaterMark",s);this.buffer=new p;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.paused=true;this.emitClose=e.emitClose!==false;this.autoDestroy=!!e.autoDestroy;this.destroyed=false;this.defaultEncoding=e.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(e.encoding){if(!S)S=n(4841).s;this.decoder=new S(e.encoding);this.encoding=e.encoding}}function Readable(e){i=i||n(1359);if(!(this instanceof Readable))return new Readable(e);var t=this instanceof i;this._readableState=new ReadableState(e,this,t);this.readable=true;if(e){if(typeof e.read==="function")this._read=e.read;if(typeof e.destroy==="function")this._destroy=e.destroy}a.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:false,get:function get(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function set(e){if(!this._readableState){return}this._readableState.destroyed=e}});Readable.prototype.destroy=h.destroy;Readable.prototype._undestroy=h.undestroy;Readable.prototype._destroy=function(e,t){t(e)};Readable.prototype.push=function(e,t){var n=this._readableState;var i;if(!n.objectMode){if(typeof e==="string"){t=t||n.defaultEncoding;if(t!==n.encoding){e=l.from(e,t);t=""}i=true}}else{i=true}return readableAddChunk(this,e,t,false,i)};Readable.prototype.unshift=function(e){return readableAddChunk(this,e,null,true,false)};function readableAddChunk(e,t,n,i,s){f("readableAddChunk",t);var o=e._readableState;if(t===null){o.reading=false;onEofChunk(e,o)}else{var a;if(!s)a=chunkInvalid(o,t);if(a){O(e,a)}else if(o.objectMode||t&&t.length>0){if(typeof t!=="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==l.prototype){t=_uint8ArrayToBuffer(t)}if(i){if(o.endEmitted)O(e,new w);else addChunk(e,o,t,true)}else if(o.ended){O(e,new v)}else if(o.destroyed){return false}else{o.reading=false;if(o.decoder&&!n){t=o.decoder.write(t);if(o.objectMode||t.length!==0)addChunk(e,o,t,false);else maybeReadMore(e,o)}else{addChunk(e,o,t,false)}}}else if(!i){o.reading=false;maybeReadMore(e,o)}}return!o.ended&&(o.length=C){e=C}else{e--;e|=e>>>1;e|=e>>>2;e|=e>>>4;e|=e>>>8;e|=e>>>16;e++}return e}function howMuchToRead(e,t){if(e<=0||t.length===0&&t.ended)return 0;if(t.objectMode)return 1;if(e!==e){if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length}if(e>t.highWaterMark)t.highWaterMark=computeNewHighWaterMark(e);if(e<=t.length)return e;if(!t.ended){t.needReadable=true;return 0}return t.length}Readable.prototype.read=function(e){f("read",e);e=parseInt(e,10);var t=this._readableState;var n=e;if(e!==0)t.emittedReadable=false;if(e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended)){f("read: emitReadable",t.length,t.ended);if(t.length===0&&t.ended)endReadable(this);else emitReadable(this);return null}e=howMuchToRead(e,t);if(e===0&&t.ended){if(t.length===0)endReadable(this);return null}var i=t.needReadable;f("need readable",i);if(t.length===0||t.length-e0)s=fromList(e,t);else s=null;if(s===null){t.needReadable=t.length<=t.highWaterMark;e=0}else{t.length-=e;t.awaitDrain=0}if(t.length===0){if(!t.ended)t.needReadable=true;if(n!==e&&t.ended)endReadable(this)}if(s!==null)this.emit("data",s);return s};function onEofChunk(e,t){f("onEofChunk");if(t.ended)return;if(t.decoder){var n=t.decoder.end();if(n&&n.length){t.buffer.push(n);t.length+=t.objectMode?1:n.length}}t.ended=true;if(t.sync){emitReadable(e)}else{t.needReadable=false;if(!t.emittedReadable){t.emittedReadable=true;emitReadable_(e)}}}function emitReadable(e){var t=e._readableState;f("emitReadable",t.needReadable,t.emittedReadable);t.needReadable=false;if(!t.emittedReadable){f("emitReadable",t.flowing);t.emittedReadable=true;process.nextTick(emitReadable_,e)}}function emitReadable_(e){var t=e._readableState;f("emitReadable_",t.destroyed,t.length,t.ended);if(!t.destroyed&&(t.length||t.ended)){e.emit("readable");t.emittedReadable=false}t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark;flow(e)}function maybeReadMore(e,t){if(!t.readingMore){t.readingMore=true;process.nextTick(maybeReadMore_,e,t)}}function maybeReadMore_(e,t){while(!t.reading&&!t.ended&&(t.length1&&indexOf(i.pipes,e)!==-1)&&!u){f("false write response, pause",i.awaitDrain);i.awaitDrain++}n.pause()}}function onerror(t){f("onerror",t);unpipe();e.removeListener("error",onerror);if(o(e,"error")===0)O(e,t)}prependListener(e,"error",onerror);function onclose(){e.removeListener("finish",onfinish);unpipe()}e.once("close",onclose);function onfinish(){f("onfinish");e.removeListener("close",onclose);unpipe()}e.once("finish",onfinish);function unpipe(){f("unpipe");n.unpipe(e)}e.emit("pipe",n);if(!i.flowing){f("pipe resume");n.resume()}return e};function pipeOnDrain(e){return function pipeOnDrainFunctionResult(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain);if(t.awaitDrain)t.awaitDrain--;if(t.awaitDrain===0&&o(e,"data")){t.flowing=true;flow(e)}}}Readable.prototype.unpipe=function(e){var t=this._readableState;var n={hasUnpiped:false};if(t.pipesCount===0)return this;if(t.pipesCount===1){if(e&&e!==t.pipes)return this;if(!e)e=t.pipes;t.pipes=null;t.pipesCount=0;t.flowing=false;if(e)e.emit("unpipe",this,n);return this}if(!e){var i=t.pipes;var s=t.pipesCount;t.pipes=null;t.pipesCount=0;t.flowing=false;for(var o=0;o0;if(i.flowing!==false)this.resume()}else if(e==="readable"){if(!i.endEmitted&&!i.readableListening){i.readableListening=i.needReadable=true;i.flowing=false;i.emittedReadable=false;f("on readable",i.length,i.reading);if(i.length){emitReadable(this)}else if(!i.reading){process.nextTick(nReadingNextTick,this)}}}return n};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(e,t){var n=a.prototype.removeListener.call(this,e,t);if(e==="readable"){process.nextTick(updateReadableListening,this)}return n};Readable.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);if(e==="readable"||e===undefined){process.nextTick(updateReadableListening,this)}return t};function updateReadableListening(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0;if(t.resumeScheduled&&!t.paused){t.flowing=true}else if(e.listenerCount("data")>0){e.resume()}}function nReadingNextTick(e){f("readable nexttick read 0");e.read(0)}Readable.prototype.resume=function(){var e=this._readableState;if(!e.flowing){f("resume");e.flowing=!e.readableListening;resume(this,e)}e.paused=false;return this};function resume(e,t){if(!t.resumeScheduled){t.resumeScheduled=true;process.nextTick(resume_,e,t)}}function resume_(e,t){f("resume",t.reading);if(!t.reading){e.read(0)}t.resumeScheduled=false;e.emit("resume");flow(e);if(t.flowing&&!t.reading)e.read(0)}Readable.prototype.pause=function(){f("call pause flowing=%j",this._readableState.flowing);if(this._readableState.flowing!==false){f("pause");this._readableState.flowing=false;this.emit("pause")}this._readableState.paused=true;return this};function flow(e){var t=e._readableState;f("flow",t.flowing);while(t.flowing&&e.read()!==null){}}Readable.prototype.wrap=function(e){var t=this;var n=this._readableState;var i=false;e.on("end",(function(){f("wrapped end");if(n.decoder&&!n.ended){var e=n.decoder.end();if(e&&e.length)t.push(e)}t.push(null)}));e.on("data",(function(s){f("wrapped data");if(n.decoder)s=n.decoder.write(s);if(n.objectMode&&(s===null||s===undefined))return;else if(!n.objectMode&&(!s||!s.length))return;var o=t.push(s);if(!o){i=true;e.pause()}}));for(var s in e){if(this[s]===undefined&&typeof e[s]==="function"){this[s]=function methodWrap(t){return function methodWrapReturnFunction(){return e[t].apply(e,arguments)}}(s)}}for(var o=0;o=t.length){if(t.decoder)n=t.buffer.join("");else if(t.buffer.length===1)n=t.buffer.first();else n=t.buffer.concat(t.length);t.buffer.clear()}else{n=t.buffer.consume(e,t.decoder)}return n}function endReadable(e){var t=e._readableState;f("endReadable",t.endEmitted);if(!t.endEmitted){t.ended=true;process.nextTick(endReadableNT,t,e)}}function endReadableNT(e,t){f("endReadableNT",e.endEmitted,e.length);if(!e.endEmitted&&e.length===0){e.endEmitted=true;t.readable=false;t.emit("end");if(e.autoDestroy){var n=t._writableState;if(!n||n.autoDestroy&&n.finished){t.destroy()}}}}if(typeof Symbol==="function"){Readable.from=function(e,t){if(_===undefined){_=n(9082)}return _(Readable,e,t)}}function indexOf(e,t){for(var n=0,i=e.length;n{"use strict";e.exports=Transform;var i=n(7214).q,s=i.ERR_METHOD_NOT_IMPLEMENTED,o=i.ERR_MULTIPLE_CALLBACK,a=i.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=i.ERR_TRANSFORM_WITH_LENGTH_0;var u=n(1359);n(4124)(Transform,u);function afterTransform(e,t){var n=this._transformState;n.transforming=false;var i=n.writecb;if(i===null){return this.emit("error",new o)}n.writechunk=null;n.writecb=null;if(t!=null)this.push(t);i(e);var s=this._readableState;s.reading=false;if(s.needReadable||s.length{"use strict";e.exports=Writable;function WriteReq(e,t,n){this.chunk=e;this.encoding=t;this.callback=n;this.next=null}function CorkedRequest(e){var t=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(t,e)}}var i;Writable.WritableState=WritableState;var s={deprecate:n(7127)};var o=n(2387);var a=n(4293).Buffer;var l=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return a.from(e)}function _isUint8Array(e){return a.isBuffer(e)||e instanceof l}var u=n(7049);var c=n(9948),f=c.getHighWaterMark;var p=n(7214).q,h=p.ERR_INVALID_ARG_TYPE,d=p.ERR_METHOD_NOT_IMPLEMENTED,m=p.ERR_MULTIPLE_CALLBACK,g=p.ERR_STREAM_CANNOT_PIPE,y=p.ERR_STREAM_DESTROYED,v=p.ERR_STREAM_NULL_VALUES,b=p.ERR_STREAM_WRITE_AFTER_END,w=p.ERR_UNKNOWN_ENCODING;var S=u.errorOrDestroy;n(4124)(Writable,o);function nop(){}function WritableState(e,t,s){i=i||n(1359);e=e||{};if(typeof s!=="boolean")s=t instanceof i;this.objectMode=!!e.objectMode;if(s)this.objectMode=this.objectMode||!!e.writableObjectMode;this.highWaterMark=f(this,e,"writableHighWaterMark",s);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var o=e.decodeStrings===false;this.decodeStrings=!o;this.defaultEncoding=e.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(e){onwrite(t,e)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.emitClose=e.emitClose!==false;this.autoDestroy=!!e.autoDestroy;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var e=this.bufferedRequest;var t=[];while(e){t.push(e);e=e.next}return t};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:s.deprecate((function writableStateBufferGetter(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(e){}})();var E;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){E=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function value(e){if(E.call(this,e))return true;if(this!==Writable)return false;return e&&e._writableState instanceof WritableState}})}else{E=function realHasInstance(e){return e instanceof this}}function Writable(e){i=i||n(1359);var t=this instanceof i;if(!t&&!E.call(Writable,this))return new Writable(e);this._writableState=new WritableState(e,this,t);this.writable=true;if(e){if(typeof e.write==="function")this._write=e.write;if(typeof e.writev==="function")this._writev=e.writev;if(typeof e.destroy==="function")this._destroy=e.destroy;if(typeof e.final==="function")this._final=e.final}o.call(this)}Writable.prototype.pipe=function(){S(this,new g)};function writeAfterEnd(e,t){var n=new b;S(e,n);process.nextTick(t,n)}function validChunk(e,t,n,i){var s;if(n===null){s=new v}else if(typeof n!=="string"&&!t.objectMode){s=new h("chunk",["string","Buffer"],n)}if(s){S(e,s);process.nextTick(i,s);return false}return true}Writable.prototype.write=function(e,t,n){var i=this._writableState;var s=false;var o=!i.objectMode&&_isUint8Array(e);if(o&&!a.isBuffer(e)){e=_uint8ArrayToBuffer(e)}if(typeof t==="function"){n=t;t=null}if(o)t="buffer";else if(!t)t=i.defaultEncoding;if(typeof n!=="function")n=nop;if(i.ending)writeAfterEnd(this,n);else if(o||validChunk(this,i,e,n)){i.pendingcb++;s=writeOrBuffer(this,i,o,e,t,n)}return s};Writable.prototype.cork=function(){this._writableState.corked++};Writable.prototype.uncork=function(){var e=this._writableState;if(e.corked){e.corked--;if(!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest)clearBuffer(this,e)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(e){if(typeof e==="string")e=e.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new w(e);this._writableState.defaultEncoding=e;return this};Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:false,get:function get(){return this._writableState&&this._writableState.getBuffer()}});function decodeChunk(e,t,n){if(!e.objectMode&&e.decodeStrings!==false&&typeof t==="string"){t=a.from(t,n)}return t}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function get(){return this._writableState.highWaterMark}});function writeOrBuffer(e,t,n,i,s,o){if(!n){var a=decodeChunk(t,i,s);if(i!==a){n=true;s="buffer";i=a}}var l=t.objectMode?1:i.length;t.length+=l;var u=t.length{"use strict";var i;function _defineProperty(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}var s=n(6080);var o=Symbol("lastResolve");var a=Symbol("lastReject");var l=Symbol("error");var u=Symbol("ended");var c=Symbol("lastPromise");var f=Symbol("handlePromise");var p=Symbol("stream");function createIterResult(e,t){return{value:e,done:t}}function readAndResolve(e){var t=e[o];if(t!==null){var n=e[p].read();if(n!==null){e[c]=null;e[o]=null;e[a]=null;t(createIterResult(n,false))}}}function onReadable(e){process.nextTick(readAndResolve,e)}function wrapForNext(e,t){return function(n,i){e.then((function(){if(t[u]){n(createIterResult(undefined,true));return}t[f](n,i)}),i)}}var h=Object.getPrototypeOf((function(){}));var d=Object.setPrototypeOf((i={get stream(){return this[p]},next:function next(){var e=this;var t=this[l];if(t!==null){return Promise.reject(t)}if(this[u]){return Promise.resolve(createIterResult(undefined,true))}if(this[p].destroyed){return new Promise((function(t,n){process.nextTick((function(){if(e[l]){n(e[l])}else{t(createIterResult(undefined,true))}}))}))}var n=this[c];var i;if(n){i=new Promise(wrapForNext(n,this))}else{var s=this[p].read();if(s!==null){return Promise.resolve(createIterResult(s,false))}i=new Promise(this[f])}this[c]=i;return i}},_defineProperty(i,Symbol.asyncIterator,(function(){return this})),_defineProperty(i,"return",(function _return(){var e=this;return new Promise((function(t,n){e[p].destroy(null,(function(e){if(e){n(e);return}t(createIterResult(undefined,true))}))}))})),i),h);var m=function createReadableStreamAsyncIterator(e){var t;var n=Object.create(d,(t={},_defineProperty(t,p,{value:e,writable:true}),_defineProperty(t,o,{value:null,writable:true}),_defineProperty(t,a,{value:null,writable:true}),_defineProperty(t,l,{value:null,writable:true}),_defineProperty(t,u,{value:e._readableState.endEmitted,writable:true}),_defineProperty(t,f,{value:function value(e,t){var i=n[p].read();if(i){n[c]=null;n[o]=null;n[a]=null;e(createIterResult(i,false))}else{n[o]=e;n[a]=t}},writable:true}),t));n[c]=null;s(e,(function(e){if(e&&e.code!=="ERR_STREAM_PREMATURE_CLOSE"){var t=n[a];if(t!==null){n[c]=null;n[o]=null;n[a]=null;t(e)}n[l]=e;return}var i=n[o];if(i!==null){n[c]=null;n[o]=null;n[a]=null;i(createIterResult(undefined,true))}n[u]=true}));e.on("readable",onReadable.bind(null,n));return n};e.exports=m},2746:(e,t,n)=>{"use strict";function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);if(t)i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}));n.push.apply(n,i)}return n}function _objectSpread(e){for(var t=1;t0)this.tail.next=t;else this.head=t;this.tail=t;++this.length}},{key:"unshift",value:function unshift(e){var t={data:e,next:this.head};if(this.length===0)this.tail=t;this.head=t;++this.length}},{key:"shift",value:function shift(){if(this.length===0)return;var e=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return e}},{key:"clear",value:function clear(){this.head=this.tail=null;this.length=0}},{key:"join",value:function join(e){if(this.length===0)return"";var t=this.head;var n=""+t.data;while(t=t.next){n+=e+t.data}return n}},{key:"concat",value:function concat(e){if(this.length===0)return s.alloc(0);var t=s.allocUnsafe(e>>>0);var n=this.head;var i=0;while(n){copyBuffer(n.data,t,i);i+=n.data.length;n=n.next}return t}},{key:"consume",value:function consume(e,t){var n;if(es.length?s.length:e;if(o===s.length)i+=s;else i+=s.slice(0,e);e-=o;if(e===0){if(o===s.length){++n;if(t.next)this.head=t.next;else this.head=this.tail=null}else{this.head=t;t.data=s.slice(o)}break}++n}this.length-=n;return i}},{key:"_getBuffer",value:function _getBuffer(e){var t=s.allocUnsafe(e);var n=this.head;var i=1;n.data.copy(t);e-=n.data.length;while(n=n.next){var o=n.data;var a=e>o.length?o.length:e;o.copy(t,t.length-e,0,a);e-=a;if(e===0){if(a===o.length){++i;if(n.next)this.head=n.next;else this.head=this.tail=null}else{this.head=n;n.data=o.slice(a)}break}++i}this.length-=i;return t}},{key:l,value:function value(e,t){return a(this,_objectSpread({},t,{depth:0,customInspect:false}))}}]);return BufferList}()},7049:e=>{"use strict";function destroy(e,t){var n=this;var i=this._readableState&&this._readableState.destroyed;var s=this._writableState&&this._writableState.destroyed;if(i||s){if(t){t(e)}else if(e){if(!this._writableState){process.nextTick(emitErrorNT,this,e)}else if(!this._writableState.errorEmitted){this._writableState.errorEmitted=true;process.nextTick(emitErrorNT,this,e)}}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(e||null,(function(e){if(!t&&e){if(!n._writableState){process.nextTick(emitErrorAndCloseNT,n,e)}else if(!n._writableState.errorEmitted){n._writableState.errorEmitted=true;process.nextTick(emitErrorAndCloseNT,n,e)}else{process.nextTick(emitCloseNT,n)}}else if(t){process.nextTick(emitCloseNT,n);t(e)}else{process.nextTick(emitCloseNT,n)}}));return this}function emitErrorAndCloseNT(e,t){emitErrorNT(e,t);emitCloseNT(e)}function emitCloseNT(e){if(e._writableState&&!e._writableState.emitClose)return;if(e._readableState&&!e._readableState.emitClose)return;e.emit("close")}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finalCalled=false;this._writableState.prefinished=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(e,t){e.emit("error",t)}function errorOrDestroy(e,t){var n=e._readableState;var i=e._writableState;if(n&&n.autoDestroy||i&&i.autoDestroy)e.destroy(t);else e.emit("error",t)}e.exports={destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}},6080:(e,t,n)=>{"use strict";var i=n(7214).q.ERR_STREAM_PREMATURE_CLOSE;function once(e){var t=false;return function(){if(t)return;t=true;for(var n=arguments.length,i=new Array(n),s=0;s{"use strict";function asyncGeneratorStep(e,t,n,i,s,o,a){try{var l=e[o](a);var u=l.value}catch(e){n(e);return}if(l.done){t(u)}else{Promise.resolve(u).then(i,s)}}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(i,s){var o=e.apply(t,n);function _next(e){asyncGeneratorStep(o,i,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,i,s,_next,_throw,"throw",e)}_next(undefined)}))}}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);if(t)i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}));n.push.apply(n,i)}return n}function _objectSpread(e){for(var t=1;t{"use strict";var i;function once(e){var t=false;return function(){if(t)return;t=true;e.apply(void 0,arguments)}}var s=n(7214).q,o=s.ERR_MISSING_ARGS,a=s.ERR_STREAM_DESTROYED;function noop(e){if(e)throw e}function isRequest(e){return e.setHeader&&typeof e.abort==="function"}function destroyer(e,t,s,o){o=once(o);var l=false;e.on("close",(function(){l=true}));if(i===undefined)i=n(6080);i(e,{readable:t,writable:s},(function(e){if(e)return o(e);l=true;o()}));var u=false;return function(t){if(l)return;if(u)return;u=true;if(isRequest(e))return e.abort();if(typeof e.destroy==="function")return e.destroy();o(t||new a("pipe"))}}function call(e){e()}function pipe(e,t){return e.pipe(t)}function popCallback(e){if(!e.length)return noop;if(typeof e[e.length-1]!=="function")return noop;return e.pop()}function pipeline(){for(var e=arguments.length,t=new Array(e),n=0;n0;return destroyer(e,o,l,(function(e){if(!s)s=e;if(e)a.forEach(call);if(o)return;a.forEach(call);i(s)}))}));return t.reduce(pipe)}e.exports=pipeline},9948:(e,t,n)=>{"use strict";var i=n(7214).q.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(e,t,n){return e.highWaterMark!=null?e.highWaterMark:t?e[n]:null}function getHighWaterMark(e,t,n,s){var o=highWaterMarkFrom(t,s,n);if(o!=null){if(!(isFinite(o)&&Math.floor(o)===o)||o<0){var a=s?n:"highWaterMark";throw new i(a,o)}return Math.floor(o)}return e.objectMode?16:16*1024}e.exports={getHighWaterMark:getHighWaterMark}},2387:(e,t,n)=>{e.exports=n(2413)},1642:(e,t,n)=>{var i=n(2413);if(process.env.READABLE_STREAM==="disable"&&i){e.exports=i.Readable;Object.assign(e.exports,i);e.exports.Stream=i}else{t=e.exports=n(1433);t.Stream=i||t;t.Readable=t;t.Writable=n(6993);t.Duplex=n(1359);t.Transform=n(4415);t.PassThrough=n(1542);t.finished=n(6080);t.pipeline=n(6989)}},9283:(e,t,n)=>{var i=n(2125);i.core=n(6226);i.isCore=n(8115);i.sync=n(5284);e.exports=i},2125:(e,t,n)=>{var i=n(5747);var s=n(5622);var o=n(6155);var a=n(3265);var l=n(7990);var u=n(6873);var c=i.realpath&&typeof i.realpath.native==="function"?i.realpath.native:i.realpath;var f=function isFile(e,t){i.stat(e,(function(e,n){if(!e){return t(null,n.isFile()||n.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};var p=function isDirectory(e,t){i.stat(e,(function(e,n){if(!e){return t(null,n.isDirectory())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};var h=function realpath(e,t){c(e,(function(n,i){if(n&&n.code!=="ENOENT")t(n);else t(null,n?e:i)}))};var d=function maybeRealpath(e,t,n,i){if(n&&n.preserveSymlinks===false){e(t,i)}else{i(null,t)}};var m=function defaultReadPackage(e,t,n){e(t,(function(e,t){if(e)n(e);else{try{var i=JSON.parse(t);n(null,i)}catch(e){n(null)}}}))};var g=function getPackageCandidates(e,t,n){var i=a(t,n,e);for(var o=0;o{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;Error.prepareStackTrace=e;return t[2].getFileName()}},6226:(e,t,n)=>{var i=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(e){var t=e.split(" ");var n=t.length>1?t[0]:"=";var s=(t.length>1?t[1]:t[0]).split(".");for(var o=0;o<3;++o){var a=parseInt(i[o]||0,10);var l=parseInt(s[o]||0,10);if(a===l){continue}if(n==="<"){return a="){return a>=l}else{return false}}return n===">="}function matchesRange(e){var t=e.split(/ ?&& ?/);if(t.length===0){return false}for(var n=0;n{var i=n(6873);e.exports=function isCore(e){return i(e)}},3265:(e,t,n)=>{var i=n(5622);var s=i.parse||n(5980);var o=function getNodeModulesDirs(e,t){var n="/";if(/^([A-Za-z]:)/.test(e)){n=""}else if(/^\\\\/.test(e)){n="\\\\"}var o=[e];var a=s(e);while(a.dir!==o[o.length-1]){o.push(a.dir);a=s(a.dir)}return o.reduce((function(e,s){return e.concat(t.map((function(e){return i.resolve(n,s,e)})))}),[])};e.exports=function nodeModulesPaths(e,t,n){var i=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(n,e,(function(){return o(e,i)}),t)}var s=o(e,i);return t&&t.paths?s.concat(t.paths):s}},7990:e=>{e.exports=function(e,t){return t||{}}},5284:(e,t,n)=>{var i=n(6873);var s=n(5747);var o=n(5622);var a=n(6155);var l=n(3265);var u=n(7990);var c=s.realpathSync&&typeof s.realpathSync.native==="function"?s.realpathSync.native:s.realpathSync;var f=function isFile(e){try{var t=s.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isFile()||t.isFIFO()};var p=function isDirectory(e){try{var t=s.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isDirectory()};var h=function realpathSync(e){try{return c(e)}catch(e){if(e.code!=="ENOENT"){throw e}}return e};var d=function maybeRealpathSync(e,t,n){if(n&&n.preserveSymlinks===false){return e(t)}return t};var m=function defaultReadPackageSync(e,t){var n=e(t);try{var i=JSON.parse(n);return i}catch(e){}};var g=function getPackageCandidates(e,t,n){var i=l(t,n,e);for(var s=0;s{ -/*! safe-buffer. MIT License. Feross Aboukhadijeh */ -var i=n(4293);var s=i.Buffer;function copyProps(e,t){for(var n in e){t[n]=e[n]}}if(s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow){e.exports=i}else{copyProps(i,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,n){return s(e,t,n)}SafeBuffer.prototype=Object.create(s.prototype);copyProps(s,SafeBuffer);SafeBuffer.from=function(e,t,n){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return s(e,t,n)};SafeBuffer.alloc=function(e,t,n){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var i=s(e);if(t!==undefined){if(typeof n==="string"){i.fill(t,n)}else{i.fill(t)}}else{i.fill(0)}return i};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return s(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return i.SlowBuffer(e)}},1532:(e,t,n)=>{const i=Symbol("SemVer ANY");class Comparator{static get ANY(){return i}constructor(e,t){t=s(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}u("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===i){this.value=""}else{this.value=this.operator+this.semver.version}u("comp",this)}parse(e){const t=this.options.loose?o[a.COMPARATORLOOSE]:o[a.COMPARATOR];const n=e.match(t);if(!n){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=n[1]!==undefined?n[1]:"";if(this.operator==="="){this.operator=""}if(!n[2]){this.semver=i}else{this.semver=new c(n[2],this.options.loose)}}toString(){return this.value}test(e){u("Comparator.test",e,this.options.loose);if(this.semver===i||e===i){return true}if(typeof e==="string"){try{e=new c(e,this.options)}catch(e){return false}}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(this.operator===""){if(this.value===""){return true}return new f(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new f(this.value,t).test(e.semver)}const n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");const i=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");const s=this.semver.version===e.semver.version;const o=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");const a=l(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<");const u=l(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return n||i||s&&o||a||u}}e.exports=Comparator;const s=n(785);const{re:o,t:a}=n(9523);const l=n(5098);const u=n(427);const c=n(8088);const f=n(9828)},9828:(e,t,n)=>{class Range{constructor(e,t){t=o(t);if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof a){this.raw=e.value;this.set=[[e]];this.format();return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${e}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter((e=>!isNullSet(e[0])));if(this.set.length===0)this.set=[e];else if(this.set.length>1){for(const e of this.set){if(e.length===1&&isAny(e[0])){this.set=[e];break}}}}this.format()}format(){this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=Object.keys(this.options).join(",");const n=`parseRange:${t}:${e}`;const i=s.get(n);if(i)return i;const o=this.options.loose;const u=o?c[f.HYPHENRANGELOOSE]:c[f.HYPHENRANGE];e=e.replace(u,hyphenReplace(this.options.includePrerelease));l("hyphen replace",e);e=e.replace(c[f.COMPARATORTRIM],p);l("comparator trim",e,c[f.COMPARATORTRIM]);e=e.replace(c[f.TILDETRIM],h);e=e.replace(c[f.CARETTRIM],d);e=e.split(/\s+/).join(" ");const m=o?c[f.COMPARATORLOOSE]:c[f.COMPARATOR];const g=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options))).filter(this.options.loose?e=>!!e.match(m):()=>true).map((e=>new a(e,this.options)));const y=g.length;const v=new Map;for(const e of g){if(isNullSet(e))return[e];v.set(e.value,e)}if(v.size>1&&v.has(""))v.delete("");const b=[...v.values()];s.set(n,b);return b}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((n=>isSatisfiable(n,t)&&e.set.some((e=>isSatisfiable(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new u(e,this.options)}catch(e){return false}}for(let t=0;te.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,t)=>{let n=true;const i=e.slice();let s=i.pop();while(n&&i.length){n=i.every((e=>s.intersects(e,t)));s=i.pop()}return n};const parseComparator=(e,t)=>{l("comp",e,t);e=replaceCarets(e,t);l("caret",e);e=replaceTildes(e,t);l("tildes",e);e=replaceXRanges(e,t);l("xrange",e);e=replaceStars(e,t);l("stars",e);return e};const isX=e=>!e||e.toLowerCase()==="x"||e==="*";const replaceTildes=(e,t)=>e.trim().split(/\s+/).map((e=>replaceTilde(e,t))).join(" ");const replaceTilde=(e,t)=>{const n=t.loose?c[f.TILDELOOSE]:c[f.TILDE];return e.replace(n,((t,n,i,s,o)=>{l("tilde",e,t,n,i,s,o);let a;if(isX(n)){a=""}else if(isX(i)){a=`>=${n}.0.0 <${+n+1}.0.0-0`}else if(isX(s)){a=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`}else if(o){l("replaceTilde pr",o);a=`>=${n}.${i}.${s}-${o} <${n}.${+i+1}.0-0`}else{a=`>=${n}.${i}.${s} <${n}.${+i+1}.0-0`}l("tilde return",a);return a}))};const replaceCarets=(e,t)=>e.trim().split(/\s+/).map((e=>replaceCaret(e,t))).join(" ");const replaceCaret=(e,t)=>{l("caret",e,t);const n=t.loose?c[f.CARETLOOSE]:c[f.CARET];const i=t.includePrerelease?"-0":"";return e.replace(n,((t,n,s,o,a)=>{l("caret",e,t,n,s,o,a);let u;if(isX(n)){u=""}else if(isX(s)){u=`>=${n}.0.0${i} <${+n+1}.0.0-0`}else if(isX(o)){if(n==="0"){u=`>=${n}.${s}.0${i} <${n}.${+s+1}.0-0`}else{u=`>=${n}.${s}.0${i} <${+n+1}.0.0-0`}}else if(a){l("replaceCaret pr",a);if(n==="0"){if(s==="0"){u=`>=${n}.${s}.${o}-${a} <${n}.${s}.${+o+1}-0`}else{u=`>=${n}.${s}.${o}-${a} <${n}.${+s+1}.0-0`}}else{u=`>=${n}.${s}.${o}-${a} <${+n+1}.0.0-0`}}else{l("no pr");if(n==="0"){if(s==="0"){u=`>=${n}.${s}.${o}${i} <${n}.${s}.${+o+1}-0`}else{u=`>=${n}.${s}.${o}${i} <${n}.${+s+1}.0-0`}}else{u=`>=${n}.${s}.${o} <${+n+1}.0.0-0`}}l("caret return",u);return u}))};const replaceXRanges=(e,t)=>{l("replaceXRanges",e,t);return e.split(/\s+/).map((e=>replaceXRange(e,t))).join(" ")};const replaceXRange=(e,t)=>{e=e.trim();const n=t.loose?c[f.XRANGELOOSE]:c[f.XRANGE];return e.replace(n,((n,i,s,o,a,u)=>{l("xRange",e,n,i,s,o,a,u);const c=isX(s);const f=c||isX(o);const p=f||isX(a);const h=p;if(i==="="&&h){i=""}u=t.includePrerelease?"-0":"";if(c){if(i===">"||i==="<"){n="<0.0.0-0"}else{n="*"}}else if(i&&h){if(f){o=0}a=0;if(i===">"){i=">=";if(f){s=+s+1;o=0;a=0}else{o=+o+1;a=0}}else if(i==="<="){i="<";if(f){s=+s+1}else{o=+o+1}}if(i==="<")u="-0";n=`${i+s}.${o}.${a}${u}`}else if(f){n=`>=${s}.0.0${u} <${+s+1}.0.0-0`}else if(p){n=`>=${s}.${o}.0${u} <${s}.${+o+1}.0-0`}l("xRange return",n);return n}))};const replaceStars=(e,t)=>{l("replaceStars",e,t);return e.trim().replace(c[f.STAR],"")};const replaceGTE0=(e,t)=>{l("replaceGTE0",e,t);return e.trim().replace(c[t.includePrerelease?f.GTE0PRE:f.GTE0],"")};const hyphenReplace=e=>(t,n,i,s,o,a,l,u,c,f,p,h,d)=>{if(isX(i)){n=""}else if(isX(s)){n=`>=${i}.0.0${e?"-0":""}`}else if(isX(o)){n=`>=${i}.${s}.0${e?"-0":""}`}else if(a){n=`>=${n}`}else{n=`>=${n}${e?"-0":""}`}if(isX(c)){u=""}else if(isX(f)){u=`<${+c+1}.0.0-0`}else if(isX(p)){u=`<${c}.${+f+1}.0-0`}else if(h){u=`<=${c}.${f}.${p}-${h}`}else if(e){u=`<${c}.${f}.${+p+1}-0`}else{u=`<=${u}`}return`${n} ${u}`.trim()};const testSet=(e,t,n)=>{for(let n=0;n0){const i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch){return true}}}return false}return true}},8088:(e,t,n)=>{const i=n(427);const{MAX_LENGTH:s,MAX_SAFE_INTEGER:o}=n(2293);const{re:a,t:l}=n(9523);const u=n(785);const{compareIdentifiers:c}=n(2463);class SemVer{constructor(e,t){t=u(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid Version: ${e}`)}if(e.length>s){throw new TypeError(`version is longer than ${s} characters`)}i("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!n){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+n[1];this.minor=+n[2];this.patch=+n[3];if(this.major>o||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>o||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>o||this.patch<0){throw new TypeError("Invalid patch version")}if(!n[4]){this.prerelease=[]}else{this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0){if(typeof this.prerelease[e]==="number"){this.prerelease[e]++;e=-2}}if(e===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error(`invalid increment argument: ${e}`)}this.format();this.raw=this.version;return this}}e.exports=SemVer},8848:(e,t,n)=>{const i=n(5925);const clean=(e,t)=>{const n=i(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};e.exports=clean},5098:(e,t,n)=>{const i=n(1898);const s=n(6017);const o=n(4123);const a=n(5522);const l=n(194);const u=n(7520);const cmp=(e,t,n,c)=>{switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e===n;case"!==":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e!==n;case"":case"=":case"==":return i(e,n,c);case"!=":return s(e,n,c);case">":return o(e,n,c);case">=":return a(e,n,c);case"<":return l(e,n,c);case"<=":return u(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=cmp},3466:(e,t,n)=>{const i=n(8088);const s=n(5925);const{re:o,t:a}=n(9523);const coerce=(e,t)=>{if(e instanceof i){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let n=null;if(!t.rtl){n=e.match(o[a.COERCE])}else{let t;while((t=o[a.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length)){if(!n||t.index+t[0].length!==n.index+n[0].length){n=t}o[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length}o[a.COERCERTL].lastIndex=-1}if(n===null)return null;return s(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};e.exports=coerce},2156:(e,t,n)=>{const i=n(8088);const compareBuild=(e,t,n)=>{const s=new i(e,n);const o=new i(t,n);return s.compare(o)||s.compareBuild(o)};e.exports=compareBuild},2804:(e,t,n)=>{const i=n(4309);const compareLoose=(e,t)=>i(e,t,true);e.exports=compareLoose},4309:(e,t,n)=>{const i=n(8088);const compare=(e,t,n)=>new i(e,n).compare(new i(t,n));e.exports=compare},4297:(e,t,n)=>{const i=n(5925);const s=n(1898);const diff=(e,t)=>{if(s(e,t)){return null}else{const n=i(e);const s=i(t);const o=n.prerelease.length||s.prerelease.length;const a=o?"pre":"";const l=o?"prerelease":"";for(const e in n){if(e==="major"||e==="minor"||e==="patch"){if(n[e]!==s[e]){return a+e}}}return l}};e.exports=diff},1898:(e,t,n)=>{const i=n(4309);const eq=(e,t,n)=>i(e,t,n)===0;e.exports=eq},4123:(e,t,n)=>{const i=n(4309);const gt=(e,t,n)=>i(e,t,n)>0;e.exports=gt},5522:(e,t,n)=>{const i=n(4309);const gte=(e,t,n)=>i(e,t,n)>=0;e.exports=gte},900:(e,t,n)=>{const i=n(8088);const inc=(e,t,n,s)=>{if(typeof n==="string"){s=n;n=undefined}try{return new i(e,n).inc(t,s).version}catch(e){return null}};e.exports=inc},194:(e,t,n)=>{const i=n(4309);const lt=(e,t,n)=>i(e,t,n)<0;e.exports=lt},7520:(e,t,n)=>{const i=n(4309);const lte=(e,t,n)=>i(e,t,n)<=0;e.exports=lte},6688:(e,t,n)=>{const i=n(8088);const major=(e,t)=>new i(e,t).major;e.exports=major},8447:(e,t,n)=>{const i=n(8088);const minor=(e,t)=>new i(e,t).minor;e.exports=minor},6017:(e,t,n)=>{const i=n(4309);const neq=(e,t,n)=>i(e,t,n)!==0;e.exports=neq},5925:(e,t,n)=>{const{MAX_LENGTH:i}=n(2293);const{re:s,t:o}=n(9523);const a=n(8088);const l=n(785);const parse=(e,t)=>{t=l(t);if(e instanceof a){return e}if(typeof e!=="string"){return null}if(e.length>i){return null}const n=t.loose?s[o.LOOSE]:s[o.FULL];if(!n.test(e)){return null}try{return new a(e,t)}catch(e){return null}};e.exports=parse},2866:(e,t,n)=>{const i=n(8088);const patch=(e,t)=>new i(e,t).patch;e.exports=patch},6014:(e,t,n)=>{const i=n(5925);const prerelease=(e,t)=>{const n=i(e,t);return n&&n.prerelease.length?n.prerelease:null};e.exports=prerelease},6417:(e,t,n)=>{const i=n(4309);const rcompare=(e,t,n)=>i(t,e,n);e.exports=rcompare},8701:(e,t,n)=>{const i=n(2156);const rsort=(e,t)=>e.sort(((e,n)=>i(n,e,t)));e.exports=rsort},6055:(e,t,n)=>{const i=n(9828);const satisfies=(e,t,n)=>{try{t=new i(t,n)}catch(e){return false}return t.test(e)};e.exports=satisfies},1426:(e,t,n)=>{const i=n(2156);const sort=(e,t)=>e.sort(((e,n)=>i(e,n,t)));e.exports=sort},9601:(e,t,n)=>{const i=n(5925);const valid=(e,t)=>{const n=i(e,t);return n?n.version:null};e.exports=valid},1383:(e,t,n)=>{const i=n(9523);e.exports={re:i.re,src:i.src,tokens:i.t,SEMVER_SPEC_VERSION:n(2293).SEMVER_SPEC_VERSION,SemVer:n(8088),compareIdentifiers:n(2463).compareIdentifiers,rcompareIdentifiers:n(2463).rcompareIdentifiers,parse:n(5925),valid:n(9601),clean:n(8848),inc:n(900),diff:n(4297),major:n(6688),minor:n(8447),patch:n(2866),prerelease:n(6014),compare:n(4309),rcompare:n(6417),compareLoose:n(2804),compareBuild:n(2156),sort:n(1426),rsort:n(8701),gt:n(4123),lt:n(194),eq:n(1898),neq:n(6017),gte:n(5522),lte:n(7520),cmp:n(5098),coerce:n(3466),Comparator:n(1532),Range:n(9828),satisfies:n(6055),toComparators:n(2706),maxSatisfying:n(579),minSatisfying:n(832),minVersion:n(4179),validRange:n(2098),outside:n(420),gtr:n(9380),ltr:n(3323),intersects:n(7008),simplifyRange:n(5297),subset:n(7863)}},2293:e=>{const t="2.0.0";const n=256;const i=Number.MAX_SAFE_INTEGER||9007199254740991;const s=16;e.exports={SEMVER_SPEC_VERSION:t,MAX_LENGTH:n,MAX_SAFE_INTEGER:i,MAX_SAFE_COMPONENT_LENGTH:s}},427:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},2463:e=>{const t=/^[0-9]+$/;const compareIdentifiers=(e,n)=>{const i=t.test(e);const s=t.test(n);if(i&&s){e=+e;n=+n}return e===n?0:i&&!s?-1:s&&!i?1:ecompareIdentifiers(t,e);e.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},785:e=>{const t=["includePrerelease","loose","rtl"];const parseOptions=e=>!e?{}:typeof e!=="object"?{loose:true}:t.filter((t=>e[t])).reduce(((e,t)=>{e[t]=true;return e}),{});e.exports=parseOptions},9523:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:i}=n(2293);const s=n(427);t=e.exports={};const o=t.re=[];const a=t.src=[];const l=t.t={};let u=0;const createToken=(e,t,n)=>{const i=u++;s(i,t);l[e]=i;a[i]=t;o[i]=new RegExp(t,n?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","[0-9]+");createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");createToken("MAINVERSION",`(${a[l.NUMERICIDENTIFIER]})\\.`+`(${a[l.NUMERICIDENTIFIER]})\\.`+`(${a[l.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${a[l.NUMERICIDENTIFIERLOOSE]})\\.`+`(${a[l.NUMERICIDENTIFIERLOOSE]})\\.`+`(${a[l.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${a[l.NUMERICIDENTIFIER]}|${a[l.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${a[l.NUMERICIDENTIFIERLOOSE]}|${a[l.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${a[l.PRERELEASEIDENTIFIER]}(?:\\.${a[l.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${a[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[l.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+");createToken("BUILD",`(?:\\+(${a[l.BUILDIDENTIFIER]}(?:\\.${a[l.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${a[l.MAINVERSION]}${a[l.PRERELEASE]}?${a[l.BUILD]}?`);createToken("FULL",`^${a[l.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${a[l.MAINVERSIONLOOSE]}${a[l.PRERELEASELOOSE]}?${a[l.BUILD]}?`);createToken("LOOSE",`^${a[l.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${a[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${a[l.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${a[l.XRANGEIDENTIFIER]})`+`(?:\\.(${a[l.XRANGEIDENTIFIER]})`+`(?:\\.(${a[l.XRANGEIDENTIFIER]})`+`(?:${a[l.PRERELEASE]})?${a[l.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${a[l.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${a[l.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${a[l.XRANGEIDENTIFIERLOOSE]})`+`(?:${a[l.PRERELEASELOOSE]})?${a[l.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${a[l.GTLT]}\\s*${a[l.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${a[l.GTLT]}\\s*${a[l.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${i}})`+`(?:\\.(\\d{1,${i}}))?`+`(?:\\.(\\d{1,${i}}))?`+`(?:$|[^\\d])`);createToken("COERCERTL",a[l.COERCE],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${a[l.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${a[l.LONETILDE]}${a[l.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${a[l.LONETILDE]}${a[l.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${a[l.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${a[l.LONECARET]}${a[l.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${a[l.LONECARET]}${a[l.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${a[l.GTLT]}\\s*(${a[l.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${a[l.GTLT]}\\s*(${a[l.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${a[l.GTLT]}\\s*(${a[l.LOOSEPLAIN]}|${a[l.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${a[l.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${a[l.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${a[l.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${a[l.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0.0.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},9380:(e,t,n)=>{const i=n(420);const gtr=(e,t,n)=>i(e,t,">",n);e.exports=gtr},7008:(e,t,n)=>{const i=n(9828);const intersects=(e,t,n)=>{e=new i(e,n);t=new i(t,n);return e.intersects(t)};e.exports=intersects},3323:(e,t,n)=>{const i=n(420);const ltr=(e,t,n)=>i(e,t,"<",n);e.exports=ltr},579:(e,t,n)=>{const i=n(8088);const s=n(9828);const maxSatisfying=(e,t,n)=>{let o=null;let a=null;let l=null;try{l=new s(t,n)}catch(e){return null}e.forEach((e=>{if(l.test(e)){if(!o||a.compare(e)===-1){o=e;a=new i(o,n)}}}));return o};e.exports=maxSatisfying},832:(e,t,n)=>{const i=n(8088);const s=n(9828);const minSatisfying=(e,t,n)=>{let o=null;let a=null;let l=null;try{l=new s(t,n)}catch(e){return null}e.forEach((e=>{if(l.test(e)){if(!o||a.compare(e)===1){o=e;a=new i(o,n)}}}));return o};e.exports=minSatisfying},4179:(e,t,n)=>{const i=n(8088);const s=n(9828);const o=n(4123);const minVersion=(e,t)=>{e=new s(e,t);let n=new i("0.0.0");if(e.test(n)){return n}n=new i("0.0.0-0");if(e.test(n)){return n}n=null;for(let t=0;t{const t=new i(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!a||o(t,a)){a=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}));if(a&&(!n||o(n,a)))n=a}if(n&&e.test(n)){return n}return null};e.exports=minVersion},420:(e,t,n)=>{const i=n(8088);const s=n(1532);const{ANY:o}=s;const a=n(9828);const l=n(6055);const u=n(4123);const c=n(194);const f=n(7520);const p=n(5522);const outside=(e,t,n,h)=>{e=new i(e,h);t=new a(t,h);let d,m,g,y,v;switch(n){case">":d=u;m=f;g=c;y=">";v=">=";break;case"<":d=c;m=p;g=u;y="<";v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(e,t,h)){return false}for(let n=0;n{if(e.semver===o){e=new s(">=0.0.0")}a=a||e;l=l||e;if(d(e.semver,a.semver,h)){a=e}else if(g(e.semver,l.semver,h)){l=e}}));if(a.operator===y||a.operator===v){return false}if((!l.operator||l.operator===y)&&m(e,l.semver)){return false}else if(l.operator===v&&g(e,l.semver)){return false}}return true};e.exports=outside},5297:(e,t,n)=>{const i=n(6055);const s=n(4309);e.exports=(e,t,n)=>{const o=[];let a=null;let l=null;const u=e.sort(((e,t)=>s(e,t,n)));for(const e of u){const s=i(e,t,n);if(s){l=e;if(!a)a=e}else{if(l){o.push([a,l])}l=null;a=null}}if(a)o.push([a,null]);const c=[];for(const[e,t]of o){if(e===t)c.push(e);else if(!t&&e===u[0])c.push("*");else if(!t)c.push(`>=${e}`);else if(e===u[0])c.push(`<=${t}`);else c.push(`${e} - ${t}`)}const f=c.join(" || ");const p=typeof t.raw==="string"?t.raw:String(t);return f.length{const i=n(9828);const s=n(1532);const{ANY:o}=s;const a=n(6055);const l=n(4309);const subset=(e,t,n={})=>{if(e===t)return true;e=new i(e,n);t=new i(t,n);let s=false;e:for(const i of e.set){for(const e of t.set){const t=simpleSubset(i,e,n);s=s||t!==null;if(t)continue e}if(s)return false}return true};const simpleSubset=(e,t,n)=>{if(e===t)return true;if(e.length===1&&e[0].semver===o){if(t.length===1&&t[0].semver===o)return true;else if(n.includePrerelease)e=[new s(">=0.0.0-0")];else e=[new s(">=0.0.0")]}if(t.length===1&&t[0].semver===o){if(n.includePrerelease)return true;else t=[new s(">=0.0.0")]}const i=new Set;let u,c;for(const t of e){if(t.operator===">"||t.operator===">=")u=higherGT(u,t,n);else if(t.operator==="<"||t.operator==="<=")c=lowerLT(c,t,n);else i.add(t.semver)}if(i.size>1)return null;let f;if(u&&c){f=l(u.semver,c.semver,n);if(f>0)return null;else if(f===0&&(u.operator!==">="||c.operator!=="<="))return null}for(const e of i){if(u&&!a(e,String(u),n))return null;if(c&&!a(e,String(c),n))return null;for(const i of t){if(!a(e,String(i),n))return false}return true}let p,h;let d,m;let g=c&&!n.includePrerelease&&c.semver.prerelease.length?c.semver:false;let y=u&&!n.includePrerelease&&u.semver.prerelease.length?u.semver:false;if(g&&g.prerelease.length===1&&c.operator==="<"&&g.prerelease[0]===0){g=false}for(const e of t){m=m||e.operator===">"||e.operator===">=";d=d||e.operator==="<"||e.operator==="<=";if(u){if(y){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch){y=false}}if(e.operator===">"||e.operator===">="){p=higherGT(u,e,n);if(p===e&&p!==u)return false}else if(u.operator===">="&&!a(u.semver,String(e),n))return false}if(c){if(g){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch){g=false}}if(e.operator==="<"||e.operator==="<="){h=lowerLT(c,e,n);if(h===e&&h!==c)return false}else if(c.operator==="<="&&!a(c.semver,String(e),n))return false}if(!e.operator&&(c||u)&&f!==0)return false}if(u&&d&&!c&&f!==0)return false;if(c&&m&&!u&&f!==0)return false;if(y||g)return false;return true};const higherGT=(e,t,n)=>{if(!e)return t;const i=l(e.semver,t.semver,n);return i>0?e:i<0?t:t.operator===">"&&e.operator===">="?t:e};const lowerLT=(e,t,n)=>{if(!e)return t;const i=l(e.semver,t.semver,n);return i<0?e:i>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=subset},2706:(e,t,n)=>{const i=n(9828);const toComparators=(e,t)=>new i(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));e.exports=toComparators},2098:(e,t,n)=>{const i=n(9828);const validRange=(e,t)=>{try{return new i(e,t).range||"*"}catch(e){return null}};e.exports=validRange},6375:(e,t,n)=>{var i=n(2344);var s=Object.prototype.hasOwnProperty;var o=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=o?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,t){var n=new ArraySet;for(var i=0,s=e.length;i=0){return t}}else{var n=i.toSetString(e);if(s.call(this._set,n)){return this._set[n]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e{var i=n(6156);var s=5;var o=1<>1;return t?-n:n}t.encode=function base64VLQ_encode(e){var t="";var n;var o=toVLQSigned(e);do{n=o&a;o>>>=s;if(o>0){n|=l}t+=i.encode(n)}while(o>0);return t};t.decode=function base64VLQ_decode(e,t,n){var o=e.length;var u=0;var c=0;var f,p;do{if(t>=o){throw new Error("Expected more digits in base 64 VLQ value.")}p=i.decode(e.charCodeAt(t++));if(p===-1){throw new Error("Invalid base64 digit: "+e.charAt(t-1))}f=!!(p&l);p&=a;u=u+(p<{var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e{t.GREATEST_LOWER_BOUND=1;t.LEAST_UPPER_BOUND=2;function recursiveSearch(e,n,i,s,o,a){var l=Math.floor((n-e)/2)+e;var u=o(i,s[l],true);if(u===0){return l}else if(u>0){if(n-l>1){return recursiveSearch(l,n,i,s,o,a)}if(a==t.LEAST_UPPER_BOUND){return n1){return recursiveSearch(e,l,i,s,o,a)}if(a==t.LEAST_UPPER_BOUND){return l}else{return e<0?-1:e}}}t.search=function search(e,n,i,s){if(n.length===0){return-1}var o=recursiveSearch(-1,n.length,e,n,i,s||t.GREATEST_LOWER_BOUND);if(o<0){return-1}while(o-1>=0){if(i(n[o],n[o-1],true)!==0){break}--o}return o}},6817:(e,t,n)=>{var i=n(2344);function generatedPositionAfter(e,t){var n=e.generatedLine;var s=t.generatedLine;var o=e.generatedColumn;var a=t.generatedColumn;return s>n||s==n&&a>=o||i.compareByGeneratedPositionsInflated(e,t)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,t){this._array.forEach(e,t)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(i.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};t.H=MappingList},3254:(e,t)=>{function swap(e,t,n){var i=e[t];e[t]=e[n];e[n]=i}function randomIntInRange(e,t){return Math.round(e+Math.random()*(t-e))}function doQuickSort(e,t,n,i){if(n{var i;var s=n(2344);var o=n(3600);var a=n(6375).I;var l=n(5807);var u=n(3254).U;function SourceMapConsumer(e,t){var n=e;if(typeof e==="string"){n=s.parseSourceMapInput(e)}return n.sections!=null?new IndexedSourceMapConsumer(n,t):new BasicSourceMapConsumer(n,t)}SourceMapConsumer.fromSourceMap=function(e,t){return BasicSourceMapConsumer.fromSourceMap(e,t)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,t){var n=e.charAt(t);return n===";"||n===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,t){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,t,n){var i=t||null;var o=n||SourceMapConsumer.GENERATED_ORDER;var a;switch(o){case SourceMapConsumer.GENERATED_ORDER:a=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var l=this.sourceRoot;a.map((function(e){var t=e.source===null?null:this._sources.at(e.source);t=s.computeSourceURL(l,t,this._sourceMapURL);return{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,i)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var t=s.getArg(e,"line");var n={source:s.getArg(e,"source"),originalLine:t,originalColumn:s.getArg(e,"column",0)};n.source=this._findSourceIndex(n.source);if(n.source<0){return[]}var i=[];var a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,o.LEAST_UPPER_BOUND);if(a>=0){var l=this._originalMappings[a];if(e.column===undefined){var u=l.originalLine;while(l&&l.originalLine===u){i.push({line:s.getArg(l,"generatedLine",null),column:s.getArg(l,"generatedColumn",null),lastColumn:s.getArg(l,"lastGeneratedColumn",null)});l=this._originalMappings[++a]}}else{var c=l.originalColumn;while(l&&l.originalLine===t&&l.originalColumn==c){i.push({line:s.getArg(l,"generatedLine",null),column:s.getArg(l,"generatedColumn",null),lastColumn:s.getArg(l,"lastGeneratedColumn",null)});l=this._originalMappings[++a]}}}return i};t.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,t){var n=e;if(typeof e==="string"){n=s.parseSourceMapInput(e)}var i=s.getArg(n,"version");var o=s.getArg(n,"sources");var l=s.getArg(n,"names",[]);var u=s.getArg(n,"sourceRoot",null);var c=s.getArg(n,"sourcesContent",null);var f=s.getArg(n,"mappings");var p=s.getArg(n,"file",null);if(i!=this._version){throw new Error("Unsupported version: "+i)}if(u){u=s.normalize(u)}o=o.map(String).map(s.normalize).map((function(e){return u&&s.isAbsolute(u)&&s.isAbsolute(e)?s.relative(u,e):e}));this._names=a.fromArray(l.map(String),true);this._sources=a.fromArray(o,true);this._absoluteSources=this._sources.toArray().map((function(e){return s.computeSourceURL(u,e,t)}));this.sourceRoot=u;this.sourcesContent=c;this._mappings=f;this._sourceMapURL=t;this.file=p}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null){t=s.relative(this.sourceRoot,t)}if(this._sources.has(t)){return this._sources.indexOf(t)}var n;for(n=0;n1){v.source=c+w[1];c+=w[1];v.originalLine=o+w[2];o=v.originalLine;v.originalLine+=1;v.originalColumn=a+w[3];a=v.originalColumn;if(w.length>4){v.name=f+w[4];f+=w[4]}}y.push(v);if(typeof v.originalLine==="number"){g.push(v)}}}u(y,s.compareByGeneratedPositionsDeflated);this.__generatedMappings=y;u(g,s.compareByOriginalPositions);this.__originalMappings=g};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,t,n,i,s,a){if(e[n]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[n])}if(e[i]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[i])}return o.search(e,t,s,a)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e=0){var i=this._generatedMappings[n];if(i.generatedLine===t.generatedLine){var o=s.getArg(i,"source",null);if(o!==null){o=this._sources.at(o);o=s.computeSourceURL(this.sourceRoot,o,this._sourceMapURL)}var a=s.getArg(i,"name",null);if(a!==null){a=this._names.at(a)}return{source:o,line:s.getArg(i,"originalLine",null),column:s.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,t){if(!this.sourcesContent){return null}var n=this._findSourceIndex(e);if(n>=0){return this.sourcesContent[n]}var i=e;if(this.sourceRoot!=null){i=s.relative(this.sourceRoot,i)}var o;if(this.sourceRoot!=null&&(o=s.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if(o.scheme=="file"&&this._sources.has(a)){return this.sourcesContent[this._sources.indexOf(a)]}if((!o.path||o.path=="/")&&this._sources.has("/"+i)){return this.sourcesContent[this._sources.indexOf("/"+i)]}}if(t){return null}else{throw new Error('"'+i+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var t=s.getArg(e,"source");t=this._findSourceIndex(t);if(t<0){return{line:null,column:null,lastColumn:null}}var n={source:t,originalLine:s.getArg(e,"line"),originalColumn:s.getArg(e,"column")};var i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,s.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source){return{line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};i=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,t){var n=e;if(typeof e==="string"){n=s.parseSourceMapInput(e)}var i=s.getArg(n,"version");var o=s.getArg(n,"sections");if(i!=this._version){throw new Error("Unsupported version: "+i)}this._sources=new a;this._names=new a;var l={line:-1,column:0};this._sections=o.map((function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var n=s.getArg(e,"offset");var i=s.getArg(n,"line");var o=s.getArg(n,"column");if(i{var i=n(5807);var s=n(2344);var o=n(6375).I;var a=n(6817).H;function SourceMapGenerator(e){if(!e){e={}}this._file=s.getArg(e,"file",null);this._sourceRoot=s.getArg(e,"sourceRoot",null);this._skipValidation=s.getArg(e,"skipValidation",false);this._sources=new o;this._names=new o;this._mappings=new a;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var t=e.sourceRoot;var n=new SourceMapGenerator({file:e.file,sourceRoot:t});e.eachMapping((function(e){var i={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){i.source=e.source;if(t!=null){i.source=s.relative(t,i.source)}i.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){i.name=e.name}}n.addMapping(i)}));e.sources.forEach((function(i){var o=i;if(t!==null){o=s.relative(t,i)}if(!n._sources.has(o)){n._sources.add(o)}var a=e.sourceContentFor(i);if(a!=null){n.setSourceContent(i,a)}}));return n};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var t=s.getArg(e,"generated");var n=s.getArg(e,"original",null);var i=s.getArg(e,"source",null);var o=s.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(t,n,i,o)}if(i!=null){i=String(i);if(!this._sources.has(i)){this._sources.add(i)}}if(o!=null){o=String(o);if(!this._names.has(o)){this._names.add(o)}}this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:o})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,t){var n=e;if(this._sourceRoot!=null){n=s.relative(this._sourceRoot,n)}if(t!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[s.toSetString(n)]=t}else if(this._sourcesContents){delete this._sourcesContents[s.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,t,n){var i=t;if(t==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}i=e.file}var a=this._sourceRoot;if(a!=null){i=s.relative(a,i)}var l=new o;var u=new o;this._mappings.unsortedForEach((function(t){if(t.source===i&&t.originalLine!=null){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});if(o.source!=null){t.source=o.source;if(n!=null){t.source=s.join(n,t.source)}if(a!=null){t.source=s.relative(a,t.source)}t.originalLine=o.line;t.originalColumn=o.column;if(o.name!=null){t.name=o.name}}}var c=t.source;if(c!=null&&!l.has(c)){l.add(c)}var f=t.name;if(f!=null&&!u.has(f)){u.add(f)}}),this);this._sources=l;this._names=u;e.sources.forEach((function(t){var i=e.sourceContentFor(t);if(i!=null){if(n!=null){t=s.join(n,t)}if(a!=null){t=s.relative(a,t)}this.setSourceContent(t,i)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,t,n,i){if(t&&typeof t.line!=="number"&&typeof t.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!n&&!i){return}else if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:i}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var t=1;var n=0;var o=0;var a=0;var l=0;var u="";var c;var f;var p;var h;var d=this._mappings.toArray();for(var m=0,g=d.length;m0){if(!s.compareByGeneratedPositionsInflated(f,d[m-1])){continue}c+=","}}c+=i.encode(f.generatedColumn-e);e=f.generatedColumn;if(f.source!=null){h=this._sources.indexOf(f.source);c+=i.encode(h-l);l=h;c+=i.encode(f.originalLine-1-o);o=f.originalLine-1;c+=i.encode(f.originalColumn-n);n=f.originalColumn;if(f.name!=null){p=this._names.indexOf(f.name);c+=i.encode(p-a);a=p}}u+=c}return u};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,t){return e.map((function(e){if(!this._sourcesContents){return null}if(t!=null){e=s.relative(t,e)}var n=s.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};t.SourceMapGenerator=SourceMapGenerator},2616:(e,t,n)=>{var i=n(9425).SourceMapGenerator;var s=n(2344);var o=/(\r?\n)/;var a=10;var l="$$$isSourceNode$$$";function SourceNode(e,t,n,i,s){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=t==null?null:t;this.source=n==null?null:n;this.name=s==null?null:s;this[l]=true;if(i!=null)this.add(i)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,t,n){var i=new SourceNode;var a=e.split(o);var l=0;var shiftNextLine=function(){var e=getNextLine();var t=getNextLine()||"";return e+t;function getNextLine(){return l=0;t--){this.prepend(e[t])}}else if(e[l]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var t;for(var n=0,i=this.children.length;n0){t=[];for(n=0;n{function getArg(e,t,n){if(t in e){return e[t]}else if(arguments.length===3){return n}else{throw new Error('"'+t+'" is a required argument.')}}t.getArg=getArg;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var i=/^data:.+\,.+$/;function urlParse(e){var t=e.match(n);if(!t){return null}return{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}}t.urlParse=urlParse;function urlGenerate(e){var t="";if(e.scheme){t+=e.scheme+":"}t+="//";if(e.auth){t+=e.auth+"@"}if(e.host){t+=e.host}if(e.port){t+=":"+e.port}if(e.path){t+=e.path}return t}t.urlGenerate=urlGenerate;function normalize(e){var n=e;var i=urlParse(e);if(i){if(!i.path){return e}n=i.path}var s=t.isAbsolute(n);var o=n.split(/\/+/);for(var a,l=0,u=o.length-1;u>=0;u--){a=o[u];if(a==="."){o.splice(u,1)}else if(a===".."){l++}else if(l>0){if(a===""){o.splice(u+1,l);l=0}else{o.splice(u,2);l--}}}n=o.join("/");if(n===""){n=s?"/":"."}if(i){i.path=n;return urlGenerate(i)}return n}t.normalize=normalize;function join(e,t){if(e===""){e="."}if(t===""){t="."}var n=urlParse(t);var s=urlParse(e);if(s){e=s.path||"/"}if(n&&!n.scheme){if(s){n.scheme=s.scheme}return urlGenerate(n)}if(n||t.match(i)){return t}if(s&&!s.host&&!s.path){s.host=t;return urlGenerate(s)}var o=t.charAt(0)==="/"?t:normalize(e.replace(/\/+$/,"")+"/"+t);if(s){s.path=o;return urlGenerate(s)}return o}t.join=join;t.isAbsolute=function(e){return e.charAt(0)==="/"||n.test(e)};function relative(e,t){if(e===""){e="."}e=e.replace(/\/$/,"");var n=0;while(t.indexOf(e+"/")!==0){var i=e.lastIndexOf("/");if(i<0){return t}e=e.slice(0,i);if(e.match(/^([^\/]+:\/)?\/*$/)){return t}++n}return Array(n+1).join("../")+t.substr(e.length+1)}t.relative=relative;var s=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}t.toSetString=s?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}t.fromSetString=s?identity:fromSetString;function isProtoString(e){if(!e){return false}var t=e.length;if(t<9){return false}if(e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95){return false}for(var n=t-10;n>=0;n--){if(e.charCodeAt(n)!==36){return false}}return true}function compareByOriginalPositions(e,t,n){var i=strcmp(e.source,t.source);if(i!==0){return i}i=e.originalLine-t.originalLine;if(i!==0){return i}i=e.originalColumn-t.originalColumn;if(i!==0||n){return i}i=e.generatedColumn-t.generatedColumn;if(i!==0){return i}i=e.generatedLine-t.generatedLine;if(i!==0){return i}return strcmp(e.name,t.name)}t.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,t,n){var i=e.generatedLine-t.generatedLine;if(i!==0){return i}i=e.generatedColumn-t.generatedColumn;if(i!==0||n){return i}i=strcmp(e.source,t.source);if(i!==0){return i}i=e.originalLine-t.originalLine;if(i!==0){return i}i=e.originalColumn-t.originalColumn;if(i!==0){return i}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,t){if(e===t){return 0}if(e===null){return 1}if(t===null){return-1}if(e>t){return 1}return-1}function compareByGeneratedPositionsInflated(e,t){var n=e.generatedLine-t.generatedLine;if(n!==0){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0){return n}n=strcmp(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0){return n}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,t,n){t=t||"";if(e){if(e[e.length-1]!=="/"&&t[0]!=="/"){e+="/"}t=e+t}if(n){var i=urlParse(n);if(!i){throw new Error("sourceMapURL could not be parsed")}if(i.path){var s=i.path.lastIndexOf("/");if(s>=0){i.path=i.path.substring(0,s+1)}}t=join(urlGenerate(i),t)}return normalize(t)}t.computeSourceURL=computeSourceURL},6594:(e,t,n)=>{t.SourceMapGenerator=n(9425).SourceMapGenerator;t.SourceMapConsumer=n(5155).SourceMapConsumer;t.SourceNode=n(2616).SourceNode},2372:(e,t,n)=>{var i=n(1620);var s=n(2172);function valid(e){try{i(e);return true}catch(e){return false}}var o=[["APGL","AGPL"],["Gpl","GPL"],["GLP","GPL"],["APL","Apache"],["ISD","ISC"],["GLP","GPL"],["IST","ISC"],["Claude","Clause"],[" or later","+"],[" International",""],["GNU","GPL"],["GUN","GPL"],["+",""],["GNU GPL","GPL"],["GNU/GPL","GPL"],["GNU GLP","GPL"],["GNU General Public License","GPL"],["Gnu public license","GPL"],["GNU Public License","GPL"],["GNU GENERAL PUBLIC LICENSE","GPL"],["MTI","MIT"],["Mozilla Public License","MPL"],["Universal Permissive License","UPL"],["WTH","WTF"],["-License",""]];var a=0;var l=1;var u=[function(e){return e.toUpperCase()},function(e){return e.trim()},function(e){return e.replace(/\./g,"")},function(e){return e.replace(/\s+/g,"")},function(e){return e.replace(/\s+/g,"-")},function(e){return e.replace("v","-")},function(e){return e.replace(/,?\s*(\d)/,"-$1")},function(e){return e.replace(/,?\s*(\d)/,"-$1.0")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2.0")},function(e){return e[0].toUpperCase()+e.slice(1)},function(e){return e.replace("/","-")},function(e){return e.replace(/\s*V\s*(\d)/,"-$1").replace(/(\d)$/,"$1.0")},function(e){if(e.indexOf("3.0")!==-1){return e+"-or-later"}else{return e+"-only"}},function(e){return e+"only"},function(e){return e.replace(/(\d)$/,"-$1.0")},function(e){return e.replace(/(-| )?(\d)$/,"-$2-Clause")},function(e){return e.replace(/(-| )clause(-| )(\d)/,"-$3-Clause")},function(e){return e.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i,"BSD-3-Clause")},function(e){return e.replace(/\bSimplified(-| )?BSD((-| )License)?/i,"BSD-2-Clause")},function(e){return e.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i,"BSD-2-Clause-$1BSD")},function(e){return e.replace(/\bClear(-| )?BSD((-| )License)?/i,"BSD-3-Clause-Clear")},function(e){return e.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i,"BSD-4-Clause")},function(e){return"CC-"+e},function(e){return"CC-"+e+"-4.0"},function(e){return e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")},function(e){return"CC-"+e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")+"-4.0"}];var c=s.map((function(e){var t=/^(.*)-\d+\.\d+$/.exec(e);return t?[t[0],t[1]]:[e,null]})).reduce((function(e,t){var n=t[1];e[n]=e[n]||[];e[n].push(t[0]);return e}),{});var f=Object.keys(c).map((function makeEntries(e){return[e,c[e]]})).filter((function identifySoleVersions(e){return e[1].length===1&&e[0]!==null&&e[0]!=="APL"})).map((function createLastResorts(e){return[e[0],e[1][0]]}));c=undefined;var p=[["UNLI","Unlicense"],["WTF","WTFPL"],["2 CLAUSE","BSD-2-Clause"],["2-CLAUSE","BSD-2-Clause"],["3 CLAUSE","BSD-3-Clause"],["3-CLAUSE","BSD-3-Clause"],["AFFERO","AGPL-3.0-or-later"],["AGPL","AGPL-3.0-or-later"],["APACHE","Apache-2.0"],["ARTISTIC","Artistic-2.0"],["Affero","AGPL-3.0-or-later"],["BEER","Beerware"],["BOOST","BSL-1.0"],["BSD","BSD-2-Clause"],["CDDL","CDDL-1.1"],["ECLIPSE","EPL-1.0"],["FUCK","WTFPL"],["GNU","GPL-3.0-or-later"],["LGPL","LGPL-3.0-or-later"],["GPLV1","GPL-1.0-only"],["GPL-1","GPL-1.0-only"],["GPLV2","GPL-2.0-only"],["GPL-2","GPL-2.0-only"],["GPL","GPL-3.0-or-later"],["MIT +NO-FALSE-ATTRIBS","MITNFA"],["MIT","MIT"],["MPL","MPL-2.0"],["X11","X11"],["ZLIB","Zlib"]].concat(f);var h=0;var d=1;var validTransformation=function(e){for(var t=0;t-1){return i[d]}}return null};var anyCorrection=function(e,t){for(var n=0;n-1){var u=e.replace(s,i[l]);var c=t(u);if(c!==null){return c}}}return null};e.exports=function(e,t){t=t||{};var n=t.upgrade===undefined?true:!!t.upgrade;function postprocess(e){return n?upgradeGPLs(e):e}var i=typeof e==="string"&&e.trim().length!==0;if(!i){throw Error("Invalid argument. Expected non-empty string.")}e=e.trim();if(valid(e)){return postprocess(e)}var s=e.replace(/\+$/,"").trim();if(valid(s)){return postprocess(s)}var o=validTransformation(e);if(o!==null){return postprocess(o)}o=anyCorrection(e,(function(e){if(valid(e)){return e}return validTransformation(e)}));if(o!==null){return postprocess(o)}o=validLastResort(e);if(o!==null){return postprocess(o)}o=anyCorrection(e,validLastResort);if(o!==null){return postprocess(o)}return null};function upgradeGPLs(e){if(["GPL-1.0","LGPL-1.0","AGPL-1.0","GPL-2.0","LGPL-2.0","AGPL-2.0","LGPL-2.1"].indexOf(e)!==-1){return e+"-only"}else if(["GPL-1.0+","GPL-2.0+","GPL-3.0+","LGPL-2.0+","LGPL-2.1+","LGPL-3.0+","AGPL-1.0+","AGPL-3.0+"].indexOf(e)!==-1){return e.replace(/\+$/,"-or-later")}else if(["GPL-3.0","LGPL-3.0","AGPL-3.0"].indexOf(e)!==-1){return e+"-or-later"}else{return e}}},1620:(e,t,n)=>{"use strict";var i=n(7380);var s=n(9868);e.exports=function(e){return s(i(e))}},9868:e=>{"use strict";e.exports=function(e){var t=0;function hasMore(){return t{"use strict";var i=[].concat(n(2172)).concat(n(4185));var s=n(9752);e.exports=function(e){var t=0;function hasMore(){return t1&&e[t-2]===" "){throw new Error("Space before `+`")}return n&&{type:"OPERATOR",string:n}}function idstring(){return read(/[A-Za-z0-9-.]+/)}function expectIdstring(){var e=idstring();if(!e){throw new Error("Expected idstring at offset "+t)}return e}function documentRef(){if(read("DocumentRef-")){var e=expectIdstring();return{type:"DOCUMENTREF",string:e}}}function licenseRef(){if(read("LicenseRef-")){var e=expectIdstring();return{type:"LICENSEREF",string:e}}}function identifier(){var e=t;var n=idstring();if(i.indexOf(n)!==-1){return{type:"LICENSE",string:n}}else if(s.indexOf(n)!==-1){return{type:"EXCEPTION",string:n}}t=e}function parseToken(){return operator()||documentRef()||licenseRef()||identifier()}var n=[];while(hasMore()){skipWhitespace();if(!hasMore()){break}var o=parseToken();if(!o){throw new Error("Unexpected `"+e[t]+"` at offset "+t)}n.push(o)}return n}},5e3:(e,t,n)=>{"use strict";const{Transform:i}=n(1642);const{StringDecoder:s}=n(4304);const o=Symbol("last");const a=Symbol("decoder");function transform(e,t,n){var i;if(this.overflow){var s=this[a].write(e);i=s.split(this.matcher);if(i.length===1)return n();i.shift();this.overflow=false}else{this[o]+=this[a].write(e);i=this[o].split(this.matcher)}this[o]=i.pop();for(var l=0;lthis.maxLength;if(this.overflow&&!this.skipOverflow)return n(new Error("maximum buffer reached"));n()}function flush(e){this[o]+=this[a].end();if(this[o]){try{push(this,this.mapper(this[o]))}catch(t){return e(t)}}e()}function push(e,t){if(t!==undefined){e.push(t)}}function noop(e){return e}function split(e,t,n){e=e||/\r?\n/;t=t||noop;n=n||{};switch(arguments.length){case 1:if(typeof e==="function"){t=e;e=/\r?\n/}else if(typeof e==="object"&&!(e instanceof RegExp)){n=e;e=/\r?\n/}break;case 2:if(typeof e==="function"){n=t;t=e;e=/\r?\n/}else if(typeof t==="object"){n=t;t=noop}}n=Object.assign({},n);n.transform=transform;n.flush=flush;n.readableObjectMode=true;const l=new i(n);l[o]="";l[a]=new s("utf8");l.matcher=e;l.mapper=t;l.maxLength=n.maxLength;l.skipOverflow=n.skipOverflow;l.overflow=false;return l}e.exports=split},4841:(e,t,n)=>{"use strict";var i=n(1867).Buffer;var s=i.isEncoding||function(e){e=""+e;switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(e){if(!e)return"utf8";var t;while(true){switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=true}}}function normalizeEncoding(e){var t=_normalizeEncoding(e);if(typeof t!=="string"&&(i.isEncoding===s||!s(e)))throw new Error("Unknown encoding: "+e);return t||e}t.s=StringDecoder;function StringDecoder(e){this.encoding=normalizeEncoding(e);var t;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;t=4;break;case"utf8":this.fillLast=utf8FillLast;t=4;break;case"base64":this.text=base64Text;this.end=base64End;t=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=i.allocUnsafe(t)}StringDecoder.prototype.write=function(e){if(e.length===0)return"";var t;var n;if(this.lastNeed){t=this.fillLast(e);if(t===undefined)return"";n=this.lastNeed;this.lastNeed=0}else{n=0}if(n>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function utf8CheckIncomplete(e,t,n){var i=t.length-1;if(i=0){if(s>0)e.lastNeed=s-1;return s}if(--i=0){if(s>0)e.lastNeed=s-2;return s}if(--i=0){if(s>0){if(s===2)s=0;else e.lastNeed=s-3}return s}return 0}function utf8CheckExtraBytes(e,t,n){if((t[0]&192)!==128){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128){e.lastNeed=2;return"�"}}}}function utf8FillLast(e){var t=this.lastTotal-this.lastNeed;var n=utf8CheckExtraBytes(this,e,t);if(n!==undefined)return n;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function utf8Text(e,t){var n=utf8CheckIncomplete(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);e.copy(this.lastChar,0,i);return e.toString("utf8",t,i)}function utf8End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function utf16Text(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return n.slice(0,-1)}}return n}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function utf16End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function base64Text(e,t){var n=(e.length-t)%3;if(n===0)return e.toString("base64",t);this.lastNeed=3-n;this.lastTotal=3;if(n===1){this.lastChar[0]=e[e.length-1]}else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-n)}function base64End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function simpleWrite(e){return e.toString(this.encoding)}function simpleEnd(e){return e&&e.length?this.write(e):""}},8551:e=>{"use strict";e.exports=e=>{if(typeof e!=="string"){throw new TypeError("Expected a string, got "+typeof e)}if(e.charCodeAt(0)===65279){return e.slice(1)}return e}},8180:(e,t,n)=>{const{Transform:i}=n(1642);function inherits(e,t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}function through2(e){return(t,n,i)=>{if(typeof t==="function"){i=n;n=t;t={}}if(typeof n!=="function"){n=(e,t,n)=>n(null,e)}if(typeof i!=="function"){i=null}return e(t,n,i)}}const s=through2(((e,t,n)=>{const s=new i(e);s._transform=t;if(n){s._flush=n}return s}));const o=through2(((e,t,n)=>{function Through2(s){if(!(this instanceof Through2)){return new Through2(s)}this.options=Object.assign({},e,s);i.call(this,this.options);this._transform=t;if(n){this._flush=n}}inherits(Through2,i);return Through2}));const a=through2((function(e,t,n){const s=new i(Object.assign({objectMode:true,highWaterMark:16},e));s._transform=t;if(n){s._flush=n}return s}));e.exports=s;e.exports.ctor=o;e.exports.obj=a},4294:(e,t,n)=>{e.exports=n(4219)},4219:(e,t,n)=>{"use strict";var i=n(1631);var s=n(4016);var o=n(8605);var a=n(7211);var l=n(8614);var u=n(2357);var c=n(1669);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=a.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=a.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||o.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,n,i,s){var o=toOptions(n,i,s);for(var a=0,l=t.requests.length;a=this.maxSockets){s.requests.push(o);return}s.createSocket(o,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){s.emit("free",t,o)}function onCloseOrRemove(e){s.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var n=this;var i={};n.sockets.push(i);var s=mergeOptions({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){s.localAddress=e.localAddress}if(s.proxyAuth){s.headers=s.headers||{};s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")}f("making CONNECT request");var o=n.request(s);o.useChunkedEncodingByDefault=false;o.once("response",onResponse);o.once("upgrade",onUpgrade);o.once("connect",onConnect);o.once("error",onError);o.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,n){process.nextTick((function(){onConnect(e,t,n)}))}function onConnect(s,a,l){o.removeAllListeners();a.removeAllListeners();if(s.statusCode!==200){f("tunneling socket could not be established, statusCode=%d",s.statusCode);a.destroy();var u=new Error("tunneling socket could not be established, "+"statusCode="+s.statusCode);u.code="ECONNRESET";e.request.emit("error",u);n.removeSocket(i);return}if(l.length>0){f("got illegal response body from proxy");a.destroy();var u=new Error("got illegal response body from proxy");u.code="ECONNRESET";e.request.emit("error",u);n.removeSocket(i);return}f("tunneling connection has established");n.sockets[n.sockets.indexOf(i)]=a;return t(a)}function onError(t){o.removeAllListeners();f("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var s=new Error("tunneling socket could not be established, "+"cause="+t.message);s.code="ECONNRESET";e.request.emit("error",s);n.removeSocket(i)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var n=this.requests.shift();if(n){this.createSocket(n,(function(e){n.request.onSocket(e)}))}};function createSecureSocket(e,t){var n=this;TunnelingAgent.prototype.createSocket.call(n,e,(function(i){var o=e.request.getHeader("host");var a=mergeOptions({},n.options,{socket:i,servername:o?o.replace(/:.*$/,""):e.host});var l=s.connect(0,a);n.sockets[n.sockets.indexOf(i)]=l;t(l)}))}function toOptions(e,t,n){if(typeof e==="string"){return{host:e,port:t,localAddress:n}}return e}function mergeOptions(e){for(var t=1,n=arguments.length;t{var n=void 0;var i=1e5;var s=function(){var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty;return{Class:function(t){return e.call(t).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,n){return t.call(e,n)},IsCallable:function(e){return typeof e==="function"},ToInt32:function(e){return e>>0},ToUint32:function(e){return e>>>0}}}();var o=Math.LN2,a=Math.abs,l=Math.floor,u=Math.log,c=Math.min,f=Math.pow,p=Math.round;function configureProperties(e){if(d&&h){var t=d(e),n;for(n=0;ni)throw new RangeError("Array too large for polyfill");function makeArrayAccessor(t){h(e,t,{get:function(){return e._getter(t)},set:function(n){e._setter(t,n)},enumerable:true,configurable:false})}var t;for(t=0;t>n}function as_unsigned(e,t){var n=32-t;return e<>>n}function packI8(e){return[e&255]}function unpackI8(e){return as_signed(e[0],8)}function packU8(e){return[e&255]}function unpackU8(e){return as_unsigned(e[0],8)}function packU8Clamped(e){e=p(Number(e));return[e<0?0:e>255?255:e&255]}function packI16(e){return[e>>8&255,e&255]}function unpackI16(e){return as_signed(e[0]<<8|e[1],16)}function packU16(e){return[e>>8&255,e&255]}function unpackU16(e){return as_unsigned(e[0]<<8|e[1],16)}function packI32(e){return[e>>24&255,e>>16&255,e>>8&255,e&255]}function unpackI32(e){return as_signed(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function packU32(e){return[e>>24&255,e>>16&255,e>>8&255,e&255]}function unpackU32(e){return as_unsigned(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function packIEEE754(e,t,n){var i=(1<.5)return t+1;return t%2?t+1:t}if(e!==e){p=(1<=f(2,1-i)){p=c(l(u(e)/o),1023);h=roundToEven(e/f(2,p)*f(2,n));if(h/f(2,n)>=2){p=p+1;h=1}if(p>i){p=(1<>1}}i.reverse();l=i.join("");u=(1<0){return c*f(2,p-u)*(1+h/f(2,n))}else if(h!==0){return c*f(2,-(u-1))*(h/f(2,n))}else{return c<0?-0:0}}function unpackF64(e){return unpackIEEE754(e,11,52)}function packF64(e){return packIEEE754(e,11,52)}function unpackF32(e){return unpackIEEE754(e,8,23)}function packF32(e){return packIEEE754(e,8,23)}(function(){var e=function ArrayBuffer(e){e=s.ToInt32(e);if(e<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=e;this._bytes=[];this._bytes.length=e;var t;for(t=0;tthis.buffer.byteLength){throw new RangeError("byteOffset out of range")}if(this.byteOffset%this.BYTES_PER_ELEMENT){throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.")}if(arguments.length<3){this.byteLength=this.buffer.byteLength-this.byteOffset;if(this.byteLength%this.BYTES_PER_ELEMENT){throw new RangeError("length of buffer minus byteOffset not a multiple of the element size")}this.length=this.byteLength/this.BYTES_PER_ELEMENT}else{this.length=s.ToUint32(i);this.byteLength=this.length*this.BYTES_PER_ELEMENT}if(this.byteOffset+this.byteLength>this.buffer.byteLength){throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}}else{throw new TypeError("Unexpected argument type(s)")}this.constructor=l;configureProperties(this);makeArrayAccessors(this)};l.prototype=new i;l.prototype.BYTES_PER_ELEMENT=t;l.prototype._pack=o;l.prototype._unpack=a;l.BYTES_PER_ELEMENT=t;l.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");e=s.ToUint32(e);if(e>=this.length){return n}var t=[],i,o;for(i=0,o=this.byteOffset+e*this.BYTES_PER_ELEMENT;i=this.length){return n}var i=this._pack(t),o,a;for(o=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;othis.length){throw new RangeError("Offset plus length of array is out of range")}f=this.byteOffset+o*this.BYTES_PER_ELEMENT;p=n.length*this.BYTES_PER_ELEMENT;if(n.buffer===this.buffer){h=[];for(l=0,u=n.byteOffset;lthis.length){throw new RangeError("Offset plus length of array is out of range")}for(l=0;ln?n:e}e=s.ToInt32(e);t=s.ToInt32(t);if(arguments.length<1){e=0}if(arguments.length<2){t=this.length}if(e<0){e=this.length+e}if(t<0){t=this.length+t}e=clamp(e,0,this.length);t=clamp(t,0,this.length);var n=t-e;if(n<0){n=0}return new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,n)};return l}var o=makeConstructor(1,packI8,unpackI8);var a=makeConstructor(1,packU8,unpackU8);var l=makeConstructor(1,packU8Clamped,unpackU8);var u=makeConstructor(2,packI16,unpackI16);var c=makeConstructor(2,packU16,unpackU16);var f=makeConstructor(4,packI32,unpackI32);var p=makeConstructor(4,packU32,unpackU32);var h=makeConstructor(4,packF32,unpackF32);var d=makeConstructor(8,packF64,unpackF64);t.iq=t.iq||o;t.U2=t.U2||a;t.we=t.we||l;t.M2=t.M2||u;t.HA=t.HA||c;t.ZV=t.ZV||f;t._R=t._R||p;t.$L=t.$L||h;t.I=t.I||d})();(function(){function r(e,t){return s.IsCallable(e.get)?e.get(t):e[t]}var e=function(){var e=new t.HA([4660]),n=new t.U2(e.buffer);return r(n,0)===18}();var n=function DataView(e,n,i){if(arguments.length===0){e=new t.eT(0)}else if(!(e instanceof t.eT||s.Class(e)==="ArrayBuffer")){throw new TypeError("TypeError")}this.buffer=e||new t.eT(0);this.byteOffset=s.ToUint32(n);if(this.byteOffset>this.buffer.byteLength){throw new RangeError("byteOffset out of range")}if(arguments.length<3){this.byteLength=this.buffer.byteLength-this.byteOffset}else{this.byteLength=s.ToUint32(i)}if(this.byteOffset+this.byteLength>this.buffer.byteLength){throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}configureProperties(this)};function makeGetter(n){return function(i,o){i=s.ToUint32(i);if(i+n.BYTES_PER_ELEMENT>this.byteLength){throw new RangeError("Array index out of range")}i+=this.byteOffset;var a=new t.U2(this.buffer,i,n.BYTES_PER_ELEMENT),l=[],u;for(u=0;uthis.byteLength){throw new RangeError("Array index out of range")}var l=new n([o]),u=new t.U2(l.buffer),c=[],f,p;for(f=0;f{e.exports=n(1669).deprecate},2524:(e,t,n)=>{var i=n(1620);var s=n(2372);var o="license should be "+'a valid SPDX license expression (without "LicenseRef"), '+'"UNLICENSED", or '+'"SEE LICENSE IN "';var a=/^SEE LICEN[CS]E IN (.+)$/;function startsWith(e,t){return t.slice(0,e.length)===e}function usesLicenseRef(e){if(e.hasOwnProperty("license")){var t=e.license;return startsWith("LicenseRef",t)||startsWith("DocumentRef",t)}else{return usesLicenseRef(e.left)||usesLicenseRef(e.right)}}e.exports=function(e){var t;try{t=i(e)}catch(t){var n;if(e==="UNLICENSED"||e==="UNLICENCED"){return{validForOldPackages:true,validForNewPackages:true,unlicensed:true}}else if(n=a.exec(e)){return{validForOldPackages:true,validForNewPackages:true,inFile:n[1]}}else{var l={validForOldPackages:false,validForNewPackages:false,warnings:[o]};if(e.trim().length!==0){var u=s(e);if(u){l.warnings.push('license is similar to the valid expression "'+u+'"')}}return l}}if(usesLicenseRef(t)){return{validForNewPackages:false,validForOldPackages:false,spdx:true,warnings:[o]}}else{return{validForNewPackages:true,validForOldPackages:true,spdx:true}}}},4091:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}}},665:(e,t,n)=>{"use strict";e.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach((function(e){t.push(e)}))}else if(arguments.length>0){for(var n=0,i=arguments.length;n1){n=t}else if(this.head){i=this.head.next;n=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var s=0;i!==null;s++){n=e(n,i.value,s);i=i.next}return n};Yallist.prototype.reduceReverse=function(e,t){var n;var i=this.tail;if(arguments.length>1){n=t}else if(this.tail){i=this.tail.prev;n=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var s=this.length-1;i!==null;s--){n=e(n,i.value,s);i=i.prev}return n};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,n=this.head;n!==null;t++){e[t]=n.value;n=n.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,n=this.tail;n!==null;t++){e[t]=n.value;n=n.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var n=new Yallist;if(tthis.length){t=this.length}for(var i=0,s=this.head;s!==null&&ithis.length){t=this.length}for(var i=this.length,s=this.tail;s!==null&&i>t;i--){s=s.prev}for(;s!==null&&i>e;i--,s=s.prev){n.push(s.value)}return n};Yallist.prototype.splice=function(e,t,...n){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var i=0,s=this.head;s!==null&&i{"use strict";var i=n(5215);var s=n(4227);var o=n(8021);const a={anchorPrefix:"a",customTags:null,indent:2,indentSeq:true,keepCstNodes:false,keepNodeTypes:true,keepBlobsInJSON:true,mapAsMap:false,maxAliasCount:100,prettyErrors:false,simpleKeys:false,version:"1.2"};const l={get binary(){return s.binaryOptions},set binary(e){Object.assign(s.binaryOptions,e)},get bool(){return s.boolOptions},set bool(e){Object.assign(s.boolOptions,e)},get int(){return s.intOptions},set int(e){Object.assign(s.intOptions,e)},get null(){return s.nullOptions},set null(e){Object.assign(s.nullOptions,e)},get str(){return s.strOptions},set str(e){Object.assign(s.strOptions,e)}};const u={"1.0":{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:i.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:i.defaultTagPrefix}]},1.2:{schema:"core",merge:false,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:i.defaultTagPrefix}]}};function stringifyTag(e,t){if((e.version||e.options.version)==="1.0"){const e=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(e)return"!"+e[1];const n=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return n?`!${n[1]}/${n[2]}`:`!${t.replace(/^tag:/,"")}`}let n=e.tagPrefixes.find((e=>t.indexOf(e.prefix)===0));if(!n){const i=e.getDefaults().tagPrefixes;n=i&&i.find((e=>t.indexOf(e.prefix)===0))}if(!n)return t[0]==="!"?t:`!<${t}>`;const i=t.substr(n.prefix.length).replace(/[!,[\]{}]/g,(e=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"}[e])));return n.handle+i}function getTagObject(e,t){if(t instanceof s.Alias)return s.Alias;if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))||n[0]}let n,i;if(t instanceof s.Scalar){i=t.value;const s=e.filter((e=>e.identify&&e.identify(i)||e.class&&i instanceof e.class));n=s.find((e=>e.format===t.format))||s.find((e=>!e.format))}else{i=t;n=e.find((e=>e.nodeClass&&i instanceof e.nodeClass))}if(!n){const e=i&&i.constructor?i.constructor.name:typeof i;throw new Error(`Tag not resolved for ${e} value`)}return n}function stringifyProps(e,t,{anchors:n,doc:i}){const s=[];const o=i.anchors.getName(e);if(o){n[o]=e;s.push(`&${o}`)}if(e.tag){s.push(stringifyTag(i,e.tag))}else if(!t.default){s.push(stringifyTag(i,t.tag))}return s.join(" ")}function stringify(e,t,n,i){const{anchors:o,schema:a}=t.doc;let l;if(!(e instanceof s.Node)){const t={aliasNodes:[],onTagObj:e=>l=e,prevObjects:new Map};e=a.createNode(e,true,null,t);for(const e of t.aliasNodes){e.source=e.source.node;let t=o.getName(e.source);if(!t){t=o.newName();o.map[t]=e.source}}}if(e instanceof s.Pair)return e.toString(t,n,i);if(!l)l=getTagObject(a.tags,e);const u=stringifyProps(e,l,t);if(u.length>0)t.indentAtStart=(t.indentAtStart||0)+u.length+1;const c=typeof l.stringify==="function"?l.stringify(e,t,n,i):e instanceof s.Scalar?s.stringifyString(e,t,n,i):e.toString(t,n,i);if(!u)return c;return e instanceof s.Scalar||c[0]==="{"||c[0]==="["?`${u} ${c}`:`${u}\n${t.indent}${c}`}class Anchors{static validAnchorNode(e){return e instanceof s.Scalar||e instanceof s.YAMLSeq||e instanceof s.YAMLMap}constructor(e){i._defineProperty(this,"map",Object.create(null));this.prefix=e}createAlias(e,t){this.setAnchor(e,t);return new s.Alias(e)}createMergePair(...e){const t=new s.Merge;t.value.items=e.map((e=>{if(e instanceof s.Alias){if(e.source instanceof s.YAMLMap)return e}else if(e instanceof s.YAMLMap){return this.createAlias(e)}throw new Error("Merge sources must be Map nodes or their Aliases")}));return t}getName(e){const{map:t}=this;return Object.keys(t).find((n=>t[n]===e))}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){if(!e)e=this.prefix;const t=Object.keys(this.map);for(let n=1;true;++n){const i=`${e}${n}`;if(!t.includes(i))return i}}resolveNodes(){const{map:e,_cstAliases:t}=this;Object.keys(e).forEach((t=>{e[t]=e[t].resolved}));t.forEach((e=>{e.source=e.source.resolved}));delete this._cstAliases}setAnchor(e,t){if(e!=null&&!Anchors.validAnchorNode(e)){throw new Error("Anchors may only be set for Scalar, Seq and Map nodes")}if(t&&/[\x00-\x19\s,[\]{}]/.test(t)){throw new Error("Anchor names must not contain whitespace or control characters")}const{map:n}=this;const i=e&&Object.keys(n).find((t=>n[t]===e));if(i){if(!t){return i}else if(i!==t){delete n[i];n[t]=e}}else{if(!t){if(!e)return null;t=this.newName()}n[t]=e}return t}}const visit=(e,t)=>{if(e&&typeof e==="object"){const{tag:n}=e;if(e instanceof s.Collection){if(n)t[n]=true;e.items.forEach((e=>visit(e,t)))}else if(e instanceof s.Pair){visit(e.key,t);visit(e.value,t)}else if(e instanceof s.Scalar){if(n)t[n]=true}}return t};const listTagNames=e=>Object.keys(visit(e,{}));function parseContents(e,t){const n={before:[],after:[]};let o=undefined;let a=false;for(const l of t){if(l.valueRange){if(o!==undefined){const t="Document contains trailing content not separated by a ... or --- line";e.errors.push(new i.YAMLSyntaxError(l,t));break}const t=s.resolveNode(e,l);if(a){t.spaceBefore=true;a=false}o=t}else if(l.comment!==null){const e=o===undefined?n.before:n.after;e.push(l.comment)}else if(l.type===i.Type.BLANK_LINE){a=true;if(o===undefined&&n.before.length>0&&!e.commentBefore){e.commentBefore=n.before.join("\n");n.before=[]}}}e.contents=o||null;if(!o){e.comment=n.before.concat(n.after).join("\n")||null}else{const t=n.before.join("\n");if(t){const e=o instanceof s.Collection&&o.items[0]?o.items[0]:o;e.commentBefore=e.commentBefore?`${t}\n${e.commentBefore}`:t}e.comment=n.after.join("\n")||null}}function resolveTagDirective({tagPrefixes:e},t){const[n,s]=t.parameters;if(!n||!s){const e="Insufficient parameters given for %TAG directive";throw new i.YAMLSemanticError(t,e)}if(e.some((e=>e.handle===n))){const e="The %TAG directive must only be given at most once per handle in the same document.";throw new i.YAMLSemanticError(t,e)}return{handle:n,prefix:s}}function resolveYamlDirective(e,t){let[n]=t.parameters;if(t.name==="YAML:1.0")n="1.0";if(!n){const e="Insufficient parameters given for %YAML directive";throw new i.YAMLSemanticError(t,e)}if(!u[n]){const s=e.version||e.options.version;const o=`Document will be parsed as YAML ${s} rather than YAML ${n}`;e.warnings.push(new i.YAMLWarning(t,o))}return n}function parseDirectives(e,t,n){const s=[];let o=false;for(const n of t){const{comment:t,name:a}=n;switch(a){case"TAG":try{e.tagPrefixes.push(resolveTagDirective(e,n))}catch(t){e.errors.push(t)}o=true;break;case"YAML":case"YAML:1.0":if(e.version){const t="The %YAML directive must only be given at most once per document.";e.errors.push(new i.YAMLSemanticError(n,t))}try{e.version=resolveYamlDirective(e,n)}catch(t){e.errors.push(t)}o=true;break;default:if(a){const t=`YAML only supports %TAG and %YAML directives, and not %${a}`;e.warnings.push(new i.YAMLWarning(n,t))}}if(t)s.push(t)}if(n&&!o&&"1.1"===(e.version||n.version||e.options.version)){const copyTagPrefix=({handle:e,prefix:t})=>({handle:e,prefix:t});e.tagPrefixes=n.tagPrefixes.map(copyTagPrefix);e.version=n.version}e.commentBefore=s.join("\n")||null}function assertCollection(e){if(e instanceof s.Collection)return true;throw new Error("Expected a YAML collection as document contents")}class Document{constructor(e){this.anchors=new Anchors(e.anchorPrefix);this.commentBefore=null;this.comment=null;this.contents=null;this.directivesEndMarker=null;this.errors=[];this.options=e;this.schema=null;this.tagPrefixes=[];this.version=null;this.warnings=[]}add(e){assertCollection(this.contents);return this.contents.add(e)}addIn(e,t){assertCollection(this.contents);this.contents.addIn(e,t)}delete(e){assertCollection(this.contents);return this.contents.delete(e)}deleteIn(e){if(s.isEmptyPath(e)){if(this.contents==null)return false;this.contents=null;return true}assertCollection(this.contents);return this.contents.deleteIn(e)}getDefaults(){return Document.defaults[this.version]||Document.defaults[this.options.version]||{}}get(e,t){return this.contents instanceof s.Collection?this.contents.get(e,t):undefined}getIn(e,t){if(s.isEmptyPath(e))return!t&&this.contents instanceof s.Scalar?this.contents.value:this.contents;return this.contents instanceof s.Collection?this.contents.getIn(e,t):undefined}has(e){return this.contents instanceof s.Collection?this.contents.has(e):false}hasIn(e){if(s.isEmptyPath(e))return this.contents!==undefined;return this.contents instanceof s.Collection?this.contents.hasIn(e):false}set(e,t){assertCollection(this.contents);this.contents.set(e,t)}setIn(e,t){if(s.isEmptyPath(e))this.contents=t;else{assertCollection(this.contents);this.contents.setIn(e,t)}}setSchema(e,t){if(!e&&!t&&this.schema)return;if(typeof e==="number")e=e.toFixed(1);if(e==="1.0"||e==="1.1"||e==="1.2"){if(this.version)this.version=e;else this.options.version=e;delete this.options.schema}else if(e&&typeof e==="string"){this.options.schema=e}if(Array.isArray(t))this.options.customTags=t;const n=Object.assign({},this.getDefaults(),this.options);this.schema=new o.Schema(n)}parse(e,t){if(this.options.keepCstNodes)this.cstNode=e;if(this.options.keepNodeTypes)this.type="DOCUMENT";const{directives:n=[],contents:s=[],directivesEndMarker:o,error:a,valueRange:l}=e;if(a){if(!a.source)a.source=this;this.errors.push(a)}parseDirectives(this,n,t);if(o)this.directivesEndMarker=true;this.range=l?[l.start,l.end]:null;this.setSchema();this.anchors._cstAliases=[];parseContents(this,s);this.anchors.resolveNodes();if(this.options.prettyErrors){for(const e of this.errors)if(e instanceof i.YAMLError)e.makePretty();for(const e of this.warnings)if(e instanceof i.YAMLError)e.makePretty()}return this}listNonDefaultTags(){return listTagNames(this.contents).filter((e=>e.indexOf(o.Schema.defaultPrefix)!==0))}setTagPrefix(e,t){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(t){const n=this.tagPrefixes.find((t=>t.handle===e));if(n)n.prefix=t;else this.tagPrefixes.push({handle:e,prefix:t})}else{this.tagPrefixes=this.tagPrefixes.filter((t=>t.handle!==e))}}toJSON(e,t){const{keepBlobsInJSON:n,mapAsMap:i,maxAliasCount:o}=this.options;const a=n&&(typeof e!=="string"||!(this.contents instanceof s.Scalar));const l={doc:this,indentStep:" ",keep:a,mapAsMap:a&&!!i,maxAliasCount:o,stringify:stringify};const u=Object.keys(this.anchors.map);if(u.length>0)l.anchors=new Map(u.map((e=>[this.anchors.map[e],{alias:[],aliasCount:0,count:1}])));const c=s.toJSON(this.contents,e,l);if(typeof t==="function"&&l.anchors)for(const{count:e,res:n}of l.anchors.values())t(n,e);return c}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");const e=this.options.indent;if(!Number.isInteger(e)||e<=0){const t=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${t}`)}this.setSchema();const t=[];let n=false;if(this.version){let e="%YAML 1.2";if(this.schema.name==="yaml-1.1"){if(this.version==="1.0")e="%YAML:1.0";else if(this.version==="1.1")e="%YAML 1.1"}t.push(e);n=true}const i=this.listNonDefaultTags();this.tagPrefixes.forEach((({handle:e,prefix:s})=>{if(i.some((e=>e.indexOf(s)===0))){t.push(`%TAG ${e} ${s}`);n=true}}));if(n||this.directivesEndMarker)t.push("---");if(this.commentBefore){if(n||!this.directivesEndMarker)t.unshift("");t.unshift(this.commentBefore.replace(/^/gm,"#"))}const o={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:stringify};let a=false;let l=null;if(this.contents){if(this.contents instanceof s.Node){if(this.contents.spaceBefore&&(n||this.directivesEndMarker))t.push("");if(this.contents.commentBefore)t.push(this.contents.commentBefore.replace(/^/gm,"#"));o.forceBlockIndent=!!this.comment;l=this.contents.comment}const e=l?null:()=>a=true;const i=stringify(this.contents,o,(()=>l=null),e);t.push(s.addComment(i,"",l))}else if(this.contents!==undefined){t.push(stringify(this.contents,o))}if(this.comment){if((!a||l)&&t[t.length-1]!=="")t.push("");t.push(this.comment.replace(/^/gm,"#"))}return t.join("\n")+"\n"}}i._defineProperty(Document,"defaults",u);t.Document=Document;t.defaultOptions=a;t.scalarOptions=l},5215:(e,t)=>{"use strict";const n={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."};const i={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"};const s="tag:yaml.org,2002:";const o={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function findLineStarts(e){const t=[0];let n=e.indexOf("\n");while(n!==-1){n+=1;t.push(n);n=e.indexOf("\n",n)}return t}function getSrcInfo(e){let t,n;if(typeof e==="string"){t=findLineStarts(e);n=e}else{if(Array.isArray(e))e=e[0];if(e&&e.context){if(!e.lineStarts)e.lineStarts=findLineStarts(e.context.src);t=e.lineStarts;n=e.context.src}}return{lineStarts:t,src:n}}function getLinePos(e,t){if(typeof e!=="number"||e<0)return null;const{lineStarts:n,src:i}=getSrcInfo(t);if(!n||!i||e>i.length)return null;for(let t=0;t=1)||e>n.length)return null;const s=n[e-1];let o=n[e];while(o&&o>s&&i[o-1]==="\n")--o;return i.slice(s,o)}function getPrettyContext({start:e,end:t},n,i=80){let s=getLine(e.line,n);if(!s)return null;let{col:o}=e;if(s.length>i){if(o<=i-10){s=s.substr(0,i-1)+"…"}else{const e=Math.round(i/2);if(s.length>o+e)s=s.substr(0,o+e-1)+"…";o-=s.length-i;s="…"+s.substr(1-i)}}let a=1;let l="";if(t){if(t.line===e.line&&o+(t.col-e.col)<=i+1){a=t.col-e.col}else{a=Math.min(s.length+1,i)-o;l="…"}}const u=o>1?" ".repeat(o-1):"";const c="^".repeat(a);return`${s}\n${u}${c}${l}`}class Range{static copy(e){return new Range(e.start,e.end)}constructor(e,t){this.start=e;this.end=t||e}isEmpty(){return typeof this.start!=="number"||!this.end||this.end<=this.start}setOrigRange(e,t){const{start:n,end:i}=this;if(e.length===0||i<=e[0]){this.origStart=n;this.origEnd=i;return t}let s=t;while(sn)break;else++s}this.origStart=n+s;const o=s;while(s=i)break;else++s}this.origEnd=i+s;return o}}class Node{static addStringTerminator(e,t,n){if(n[n.length-1]==="\n")return n;const i=Node.endOfWhiteSpace(e,t);return i>=e.length||e[i]==="\n"?n+"\n":n}static atDocumentBoundary(e,t,i){const s=e[t];if(!s)return true;const o=e[t-1];if(o&&o!=="\n")return false;if(i){if(s!==i)return false}else{if(s!==n.DIRECTIVES_END&&s!==n.DOCUMENT_END)return false}const a=e[t+1];const l=e[t+2];if(a!==s||l!==s)return false;const u=e[t+3];return!u||u==="\n"||u==="\t"||u===" "}static endOfIdentifier(e,t){let n=e[t];const i=n==="<";const s=i?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];while(n&&s.indexOf(n)===-1)n=e[t+=1];if(i&&n===">")t+=1;return t}static endOfIndent(e,t){let n=e[t];while(n===" ")n=e[t+=1];return t}static endOfLine(e,t){let n=e[t];while(n&&n!=="\n")n=e[t+=1];return t}static endOfWhiteSpace(e,t){let n=e[t];while(n==="\t"||n===" ")n=e[t+=1];return t}static startOfLine(e,t){let n=e[t-1];if(n==="\n")return t;while(n&&n!=="\n")n=e[t-=1];return t+1}static endOfBlockIndent(e,t,n){const i=Node.endOfIndent(e,n);if(i>n+t){return i}else{const t=Node.endOfWhiteSpace(e,i);const n=e[t];if(!n||n==="\n")return t}return null}static atBlank(e,t,n){const i=e[t];return i==="\n"||i==="\t"||i===" "||n&&!i}static nextNodeIsIndented(e,t,n){if(!e||t<0)return false;if(t>0)return true;return n&&e==="-"}static normalizeOffset(e,t){const n=e[t];return!n?t:n!=="\n"&&e[t-1]==="\n"?t-1:Node.endOfWhiteSpace(e,t)}static foldNewline(e,t,n){let i=0;let s=false;let o="";let a=e[t+1];while(a===" "||a==="\t"||a==="\n"){switch(a){case"\n":i=0;t+=1;o+="\n";break;case"\t":if(i<=n)s=true;t=Node.endOfWhiteSpace(e,t+2)-1;break;case" ":i+=1;t+=1;break}a=e[t+1]}if(!o)o=" ";if(a&&i<=n)s=true;return{fold:o,offset:t,error:s}}constructor(e,t,n){Object.defineProperty(this,"context",{value:n||null,writable:true});this.error=null;this.range=null;this.valueRange=null;this.props=t||[];this.type=e;this.value=null}getPropValue(e,t,n){if(!this.context)return null;const{src:i}=this.context;const s=this.props[e];return s&&i[s.start]===t?i.slice(s.start+(n?1:0),s.end):null}get anchor(){for(let e=0;e0?e.join("\n"):null}commentHasRequiredWhitespace(e){const{src:t}=this.context;if(this.header&&e===this.header.end)return false;if(!this.valueRange)return false;const{end:n}=this.valueRange;return e!==n||Node.atBlank(t,n-1)}get hasComment(){if(this.context){const{src:e}=this.context;for(let t=0;tn.setOrigRange(e,t)));return t}toString(){const{context:{src:e},range:t,value:n}=this;if(n!=null)return n;const i=e.slice(t.start,t.end);return Node.addStringTerminator(e,t.end,i)}}class YAMLError extends Error{constructor(e,t,n){if(!n||!(t instanceof Node))throw new Error(`Invalid arguments for new ${e}`);super();this.name=e;this.message=n;this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;const e=this.source.context&&this.source.context.root;if(typeof this.offset==="number"){this.range=new Range(this.offset,this.offset+1);const t=e&&getLinePos(this.offset,e);if(t){const e={line:t.line,col:t.col+1};this.linePos={start:t,end:e}}delete this.offset}else{this.range=this.source.range;this.linePos=this.source.rangeAsLinePos}if(this.linePos){const{line:t,col:n}=this.linePos.start;this.message+=` at line ${t}, column ${n}`;const i=e&&getPrettyContext(this.linePos,e);if(i)this.message+=`:\n\n${i}\n`}delete this.source}}class YAMLReferenceError extends YAMLError{constructor(e,t){super("YAMLReferenceError",e,t)}}class YAMLSemanticError extends YAMLError{constructor(e,t){super("YAMLSemanticError",e,t)}}class YAMLSyntaxError extends YAMLError{constructor(e,t){super("YAMLSyntaxError",e,t)}}class YAMLWarning extends YAMLError{constructor(e,t){super("YAMLWarning",e,t)}}function _defineProperty(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}class PlainValue extends Node{static endOfLine(e,t,n){let i=e[t];let s=t;while(i&&i!=="\n"){if(n&&(i==="["||i==="]"||i==="{"||i==="}"||i===","))break;const t=e[s+1];if(i===":"&&(!t||t==="\n"||t==="\t"||t===" "||n&&t===","))break;if((i===" "||i==="\t")&&t==="#")break;s+=1;i=t}return s}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{src:n}=this.context;let i=n[t-1];while(eo?n.slice(o,i+1):e}else{s+=e}}const o=n[e];switch(o){case"\t":{const e="Plain value cannot start with a tab character";const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}case"@":case"`":{const e=`Plain value cannot start with reserved character ${o}`;const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}default:return s}}parseBlockValue(e){const{indent:t,inFlow:n,src:i}=this.context;let s=e;let o=e;for(let e=i[s];e==="\n";e=i[s]){if(Node.atDocumentBoundary(i,s+1))break;const e=Node.endOfBlockIndent(i,t,s+1);if(e===null||i[e]==="#")break;if(i[e]==="\n"){s=e}else{o=PlainValue.endOfLine(i,e,n);s=o}}if(this.valueRange.isEmpty())this.valueRange.start=e;this.valueRange.end=o;return o}parse(e,t){this.context=e;const{inFlow:n,src:i}=e;let s=t;const o=i[s];if(o&&o!=="#"&&o!=="\n"){s=PlainValue.endOfLine(i,t,n)}this.valueRange=new Range(t,s);s=Node.endOfWhiteSpace(i,s);s=this.parseComment(s);if(!this.hasComment||this.valueRange.isEmpty()){s=this.parseBlockValue(s)}return s}}t.Char=n;t.Node=Node;t.PlainValue=PlainValue;t.Range=Range;t.Type=i;t.YAMLError=YAMLError;t.YAMLReferenceError=YAMLReferenceError;t.YAMLSemanticError=YAMLSemanticError;t.YAMLSyntaxError=YAMLSyntaxError;t.YAMLWarning=YAMLWarning;t._defineProperty=_defineProperty;t.defaultTagPrefix=s;t.defaultTags=o},8021:(e,t,n)=>{"use strict";var i=n(5215);var s=n(4227);var o=n(6003);function createMap(e,t,n){const i=new s.YAMLMap(e);if(t instanceof Map){for(const[s,o]of t)i.items.push(e.createPair(s,o,n))}else if(t&&typeof t==="object"){for(const s of Object.keys(t))i.items.push(e.createPair(s,t[s],n))}if(typeof e.sortMapEntries==="function"){i.items.sort(e.sortMapEntries)}return i}const a={createNode:createMap,default:true,nodeClass:s.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:s.resolveMap};function createSeq(e,t,n){const i=new s.YAMLSeq(e);if(t&&t[Symbol.iterator]){for(const s of t){const t=e.createNode(s,n.wrapScalars,null,n);i.items.push(t)}}return i}const l={createNode:createSeq,default:true,nodeClass:s.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:s.resolveSeq};const u={identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify(e,t,n,i){t=Object.assign({actualString:true},t);return s.stringifyString(e,t,n,i)},options:s.strOptions};const c=[a,l,u];const intIdentify$2=e=>typeof e==="bigint"||Number.isInteger(e);const intResolve$1=(e,t,n)=>s.intOptions.asBigInt?BigInt(e):parseInt(t,n);function intStringify$1(e,t,n){const{value:i}=e;if(intIdentify$2(i)&&i>=0)return n+i.toString(t);return s.stringifyNumber(e)}const f={identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr};const p={identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>e[0]==="t"||e[0]==="T",options:s.boolOptions,stringify:({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr};const h={identify:e=>intIdentify$2(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>intResolve$1(e,t,8),options:s.intOptions,stringify:e=>intStringify$1(e,8,"0o")};const d={identify:intIdentify$2,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>intResolve$1(e,e,10),options:s.intOptions,stringify:s.stringifyNumber};const m={identify:e=>intIdentify$2(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>intResolve$1(e,t,16),options:s.intOptions,stringify:e=>intStringify$1(e,16,"0x")};const g={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber};const y={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:({value:e})=>Number(e).toExponential()};const v={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,n){const i=t||n;const o=new s.Scalar(parseFloat(e));if(i&&i[i.length-1]==="0")o.minFractionDigits=i.length;return o},stringify:s.stringifyNumber};const b=c.concat([f,p,h,d,m,g,y,v]);const intIdentify$1=e=>typeof e==="bigint"||Number.isInteger(e);const stringifyJSON=({value:e})=>JSON.stringify(e);const w=[a,l,{identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify:stringifyJSON},{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:stringifyJSON},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:stringifyJSON},{identify:intIdentify$1,default:true,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>s.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>intIdentify$1(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:stringifyJSON}];w.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};const boolStringify=({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr;const intIdentify=e=>typeof e==="bigint"||Number.isInteger(e);function intResolve(e,t,n){let i=t.replace(/_/g,"");if(s.intOptions.asBigInt){switch(n){case 2:i=`0b${i}`;break;case 8:i=`0o${i}`;break;case 16:i=`0x${i}`;break}const t=BigInt(i);return e==="-"?BigInt(-1)*t:t}const o=parseInt(i,n);return e==="-"?-1*o:o}function intStringify(e,t,n){const{value:i}=e;if(intIdentify(i)){const e=i.toString(t);return i<0?"-"+n+e.substr(1):n+e}return s.stringifyNumber(e)}const S=c.concat([{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>true,options:s.boolOptions,stringify:boolStringify},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>false,options:s.boolOptions,stringify:boolStringify},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,n)=>intResolve(t,n,2),stringify:e=>intStringify(e,2,"0b")},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,n)=>intResolve(t,n,8),stringify:e=>intStringify(e,8,"0")},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,n)=>intResolve(t,n,10),stringify:s.stringifyNumber},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,n)=>intResolve(t,n,16),stringify:e=>intStringify(e,16,"0x")},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:({value:e})=>Number(e).toExponential()},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){const n=new s.Scalar(parseFloat(e.replace(/_/g,"")));if(t){const e=t.replace(/_/g,"");if(e[e.length-1]==="0")n.minFractionDigits=e.length}return n},stringify:s.stringifyNumber}],o.binary,o.omap,o.pairs,o.set,o.intTime,o.floatTime,o.timestamp);const E={core:b,failsafe:c,json:w,yaml11:S};const _={binary:o.binary,bool:p,float:v,floatExp:y,floatNaN:g,floatTime:o.floatTime,int:d,intHex:m,intOct:h,intTime:o.intTime,map:a,null:f,omap:o.omap,pairs:o.pairs,seq:l,set:o.set,timestamp:o.timestamp};function findTagObject(e,t,n){if(t){const e=n.filter((e=>e.tag===t));const i=e.find((e=>!e.format))||e[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find((t=>(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format))}function createNode(e,t,n){if(e instanceof s.Node)return e;const{defaultPrefix:i,onTagObj:o,prevObjects:u,schema:c,wrapScalars:f}=n;if(t&&t.startsWith("!!"))t=i+t.slice(2);let p=findTagObject(e,t,c.tags);if(!p){if(typeof e.toJSON==="function")e=e.toJSON();if(!e||typeof e!=="object")return f?new s.Scalar(e):e;p=e instanceof Map?a:e[Symbol.iterator]?l:a}if(o){o(p);delete n.onTagObj}const h={value:undefined,node:undefined};if(e&&typeof e==="object"&&u){const t=u.get(e);if(t){const e=new s.Alias(t);n.aliasNodes.push(e);return e}h.value=e;u.set(e,h)}h.node=p.createNode?p.createNode(n.schema,e,n):f?new s.Scalar(e):e;if(t&&h.node instanceof s.Node)h.node.tag=t;return h.node}function getSchemaTags(e,t,n,i){let s=e[i.replace(/\W/g,"")];if(!s){const t=Object.keys(e).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${i}"; use one of ${t}`)}if(Array.isArray(n)){for(const e of n)s=s.concat(e)}else if(typeof n==="function"){s=n(s.slice())}for(let e=0;eJSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${n}"; use one of ${e}`)}s[e]=i}}return s}const sortMapEntriesByKey=(e,t)=>e.keyt.key?1:0;class Schema{constructor({customTags:e,merge:t,schema:n,sortMapEntries:i,tags:s}){this.merge=!!t;this.name=n;this.sortMapEntries=i===true?sortMapEntriesByKey:i||null;if(!e&&s)o.warnOptionDeprecation("tags","customTags");this.tags=getSchemaTags(E,_,e||s,n)}createNode(e,t,n,i){const s={defaultPrefix:Schema.defaultPrefix,schema:this,wrapScalars:t};const o=i?Object.assign(i,s):s;return createNode(e,n,o)}createPair(e,t,n){if(!n)n={wrapScalars:true};const i=this.createNode(e,n.wrapScalars,null,n);const o=this.createNode(t,n.wrapScalars,null,n);return new s.Pair(i,o)}}i._defineProperty(Schema,"defaultPrefix",i.defaultTagPrefix);i._defineProperty(Schema,"defaultTags",i.defaultTags);t.Schema=Schema},5065:(e,t,n)=>{"use strict";var i=n(445);var s=n(5506);var o=n(8021);var a=n(5215);var l=n(6003);n(4227);function createNode(e,t=true,n){if(n===undefined&&typeof t==="string"){n=t;t=true}const i=Object.assign({},s.Document.defaults[s.defaultOptions.version],s.defaultOptions);const a=new o.Schema(i);return a.createNode(e,t,n)}class Document extends s.Document{constructor(e){super(Object.assign({},s.defaultOptions,e))}}function parseAllDocuments(e,t){const n=[];let s;for(const o of i.parse(e)){const e=new Document(t);e.parse(o,s);n.push(e);s=e}return n}function parseDocument(e,t){const n=i.parse(e);const s=new Document(t).parse(n[0]);if(n.length>1){const e="Source contains multiple documents; please use YAML.parseAllDocuments()";s.errors.unshift(new a.YAMLSemanticError(n[1],e))}return s}function parse(e,t){const n=parseDocument(e,t);n.warnings.forEach((e=>l.warn(e)));if(n.errors.length>0)throw n.errors[0];return n.toJSON()}function stringify(e,t){const n=new Document(t);n.contents=e;return String(n)}const u={createNode:createNode,defaultOptions:s.defaultOptions,Document:Document,parse:parse,parseAllDocuments:parseAllDocuments,parseCST:i.parse,parseDocument:parseDocument,scalarOptions:s.scalarOptions,stringify:stringify};t.YAML=u},445:(e,t,n)=>{"use strict";var i=n(5215);class BlankLine extends i.Node{constructor(){super(i.Type.BLANK_LINE)}get includesTrailingLines(){return true}parse(e,t){this.context=e;this.range=new i.Range(t,t+1);return t+1}}class CollectionItem extends i.Node{constructor(e,t){super(e,t);this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,t){this.context=e;const{parseNode:n,src:s}=e;let{atLineStart:o,lineStart:a}=e;if(!o&&this.type===i.Type.SEQ_ITEM)this.error=new i.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line");const l=o?t-a:e.indent;let u=i.Node.endOfWhiteSpace(s,t+1);let c=s[u];const f=c==="#";const p=[];let h=null;while(c==="\n"||c==="#"){if(c==="#"){const e=i.Node.endOfLine(s,u+1);p.push(new i.Range(u,e));u=e}else{o=true;a=u+1;const e=i.Node.endOfWhiteSpace(s,a);if(s[e]==="\n"&&p.length===0){h=new BlankLine;a=h.parse({src:s},a)}u=i.Node.endOfIndent(s,a)}c=s[u]}if(i.Node.nextNodeIsIndented(c,u-(a+l),this.type!==i.Type.SEQ_ITEM)){this.node=n({atLineStart:o,inCollection:false,indent:l,lineStart:a,parent:this},u)}else if(c&&a>t+1){u=a-1}if(this.node){if(h){const t=e.parent.items||e.parent.contents;if(t)t.push(h)}if(p.length)Array.prototype.push.apply(this.props,p);u=this.node.range.end}else{if(f){const e=p[0];this.props.push(e);u=e.end}else{u=i.Node.endOfLine(s,t+1)}}const d=this.node?this.node.valueRange.end:u;this.valueRange=new i.Range(t,d);return u}setOrigRanges(e,t){t=super.setOrigRanges(e,t);return this.node?this.node.setOrigRanges(e,t):t}toString(){const{context:{src:e},node:t,range:n,value:s}=this;if(s!=null)return s;const o=t?e.slice(n.start,t.range.start)+String(t):e.slice(n.start,n.end);return i.Node.addStringTerminator(e,n.end,o)}}class Comment extends i.Node{constructor(){super(i.Type.COMMENT)}parse(e,t){this.context=e;const n=this.parseComment(t);this.range=new i.Range(t,n);return n}}function grabCollectionEndComments(e){let t=e;while(t instanceof CollectionItem)t=t.node;if(!(t instanceof Collection))return null;const n=t.items.length;let s=-1;for(let e=n-1;e>=0;--e){const n=t.items[e];if(n.type===i.Type.COMMENT){const{indent:t,lineStart:i}=n.context;if(t>0&&n.range.start>=i+t)break;s=e}else if(n.type===i.Type.BLANK_LINE)s=e;else break}if(s===-1)return null;const o=t.items.splice(s,n-s);const a=o[0].range.start;while(true){t.range.end=a;if(t.valueRange&&t.valueRange.end>a)t.valueRange.end=a;if(t===e)break;t=t.context.parent}return o}class Collection extends i.Node{static nextContentHasIndent(e,t,n){const s=i.Node.endOfLine(e,t)+1;t=i.Node.endOfWhiteSpace(e,s);const o=e[t];if(!o)return false;if(t>=s+n)return true;if(o!=="#"&&o!=="\n")return false;return Collection.nextContentHasIndent(e,t,n)}constructor(e){super(e.type===i.Type.SEQ_ITEM?i.Type.SEQ:i.Type.MAP);for(let t=e.props.length-1;t>=0;--t){if(e.props[t].start0}parse(e,t){this.context=e;const{parseNode:n,src:s}=e;let o=i.Node.startOfLine(s,t);const a=this.items[0];a.context.parent=this;this.valueRange=i.Range.copy(a.valueRange);const l=a.range.start-a.context.lineStart;let u=t;u=i.Node.normalizeOffset(s,u);let c=s[u];let f=i.Node.endOfWhiteSpace(s,o)===u;let p=false;while(c){while(c==="\n"||c==="#"){if(f&&c==="\n"&&!p){const e=new BlankLine;u=e.parse({src:s},u);this.valueRange.end=u;if(u>=s.length){c=null;break}this.items.push(e);u-=1}else if(c==="#"){if(u=s.length){c=null;break}}o=u+1;u=i.Node.endOfIndent(s,o);if(i.Node.atBlank(s,u)){const e=i.Node.endOfWhiteSpace(s,u);const t=s[e];if(!t||t==="\n"||t==="#"){u=e}}c=s[u];f=true}if(!c){break}if(u!==o+l&&(f||c!==":")){if(ut)u=o;break}else if(!this.error){const e="All collection items must start at the same column";this.error=new i.YAMLSyntaxError(this,e)}}if(a.type===i.Type.SEQ_ITEM){if(c!=="-"){if(o>t)u=o;break}}else if(c==="-"&&!this.error){const e=s[u+1];if(!e||e==="\n"||e==="\t"||e===" "){const e="A collection cannot be both a mapping and a sequence";this.error=new i.YAMLSyntaxError(this,e)}}const e=n({atLineStart:f,inCollection:true,indent:l,lineStart:o,parent:this},u);if(!e)return u;this.items.push(e);this.valueRange.end=e.valueRange.end;u=i.Node.normalizeOffset(s,e.range.end);c=s[u];f=false;p=e.includesTrailingLines;if(c){let e=u-1;let t=s[e];while(t===" "||t==="\t")t=s[--e];if(t==="\n"){o=e+1;f=true}}const h=grabCollectionEndComments(e);if(h)Array.prototype.push.apply(this.items,h)}return u}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.items.forEach((n=>{t=n.setOrigRanges(e,t)}));return t}toString(){const{context:{src:e},items:t,range:n,value:s}=this;if(s!=null)return s;let o=e.slice(n.start,t[0].range.start)+String(t[0]);for(let e=1;e0){this.contents=this.directives;this.directives=[]}return o}}if(t[o]){this.directivesEndMarker=new i.Range(o,o+3);return o+3}if(s){this.error=new i.YAMLSemanticError(this,"Missing directives-end indicator line")}else if(this.directives.length>0){this.contents=this.directives;this.directives=[]}return o}parseContents(e){const{parseNode:t,src:n}=this.context;if(!this.contents)this.contents=[];let s=e;while(n[s-1]==="-")s-=1;let o=i.Node.endOfWhiteSpace(n,e);let a=s===e;this.valueRange=new i.Range(o);while(!i.Node.atDocumentBoundary(n,o,i.Char.DOCUMENT_END)){switch(n[o]){case"\n":if(a){const e=new BlankLine;o=e.parse({src:n},o);if(o{t=n.setOrigRanges(e,t)}));if(this.directivesEndMarker)t=this.directivesEndMarker.setOrigRange(e,t);this.contents.forEach((n=>{t=n.setOrigRanges(e,t)}));if(this.documentEndMarker)t=this.documentEndMarker.setOrigRange(e,t);return t}toString(){const{contents:e,directives:t,value:n}=this;if(n!=null)return n;let s=t.join("");if(e.length>0){if(t.length>0||e[0].type===i.Type.COMMENT)s+="---\n";s+=e.join("")}if(s[s.length-1]!=="\n")s+="\n";return s}}class Alias extends i.Node{parse(e,t){this.context=e;const{src:n}=e;let s=i.Node.endOfIdentifier(n,t+1);this.valueRange=new i.Range(t+1,s);s=i.Node.endOfWhiteSpace(n,s);s=this.parseComment(s);return s}}const s={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"};class BlockValue extends i.Node{constructor(e,t){super(e,t);this.blockIndent=null;this.chomping=s.CLIP;this.header=null}get includesTrailingLines(){return this.chomping===s.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{indent:n,src:o}=this.context;if(this.valueRange.isEmpty())return"";let a=null;let l=o[t-1];while(l==="\n"||l==="\t"||l===" "){t-=1;if(t<=e){if(this.chomping===s.KEEP)break;else return""}if(l==="\n")a=t;l=o[t-1]}let u=t+1;if(a){if(this.chomping===s.KEEP){u=a;t=this.valueRange.end}else{t=a}}const c=n+this.blockIndent;const f=this.type===i.Type.BLOCK_FOLDED;let p=true;let h="";let d="";let m=false;for(let n=e;nu){u=c}}else if(s&&s!=="\n"&&c{if(n instanceof i.Node){t=n.setOrigRanges(e,t)}else if(e.length===0){n.origOffset=n.offset}else{let i=t;while(in.offset)break;else++i}n.origOffset=n.offset+i;t=i}}));return t}toString(){const{context:{src:e},items:t,range:n,value:s}=this;if(s!=null)return s;const o=t.filter((e=>e instanceof i.Node));let a="";let l=n.start;o.forEach((t=>{const n=e.slice(l,t.range.start);l=t.range.end;a+=n+String(t);if(a[a.length-1]==="\n"&&e[l-1]!=="\n"&&e[l]==="\n"){l+=1}}));a+=e.slice(l,n.end);return i.Node.addStringTerminator(e,n.end,a)}}class QuoteDouble extends i.Node{static endOfQuote(e,t){let n=e[t];while(n&&n!=='"'){t+=n==="\\"?2:1;n=e[t]}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:n}=this.valueRange;const{indent:s,src:o}=this.context;if(o[n-1]!=='"')e.push(new i.YAMLSyntaxError(this,'Missing closing "quote'));let a="";for(let l=t+1;le?o.slice(e,l+1):t}else{a+=t}}return e.length>0?{errors:e,str:a}:a}parseCharCode(e,t,n){const{src:s}=this.context;const o=s.substr(e,t);const a=o.length===t&&/^[0-9a-fA-F]+$/.test(o);const l=a?parseInt(o,16):NaN;if(isNaN(l)){n.push(new i.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,t+2)}`));return s.substr(e-2,t+2)}return String.fromCodePoint(l)}parse(e,t){this.context=e;const{src:n}=e;let s=QuoteDouble.endOfQuote(n,t+1);this.valueRange=new i.Range(t,s);s=i.Node.endOfWhiteSpace(n,s);s=this.parseComment(s);return s}}class QuoteSingle extends i.Node{static endOfQuote(e,t){let n=e[t];while(n){if(n==="'"){if(e[t+1]!=="'")break;n=e[t+=2]}else{n=e[t+=1]}}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:n}=this.valueRange;const{indent:s,src:o}=this.context;if(o[n-1]!=="'")e.push(new i.YAMLSyntaxError(this,"Missing closing 'quote"));let a="";for(let l=t+1;le?o.slice(e,l+1):t}else{a+=t}}return e.length>0?{errors:e,str:a}:a}parse(e,t){this.context=e;const{src:n}=e;let s=QuoteSingle.endOfQuote(n,t+1);this.valueRange=new i.Range(t,s);s=i.Node.endOfWhiteSpace(n,s);s=this.parseComment(s);return s}}function createNewNode(e,t){switch(e){case i.Type.ALIAS:return new Alias(e,t);case i.Type.BLOCK_FOLDED:case i.Type.BLOCK_LITERAL:return new BlockValue(e,t);case i.Type.FLOW_MAP:case i.Type.FLOW_SEQ:return new FlowCollection(e,t);case i.Type.MAP_KEY:case i.Type.MAP_VALUE:case i.Type.SEQ_ITEM:return new CollectionItem(e,t);case i.Type.COMMENT:case i.Type.PLAIN:return new i.PlainValue(e,t);case i.Type.QUOTE_DOUBLE:return new QuoteDouble(e,t);case i.Type.QUOTE_SINGLE:return new QuoteSingle(e,t);default:return null}}class ParseContext{static parseType(e,t,n){switch(e[t]){case"*":return i.Type.ALIAS;case">":return i.Type.BLOCK_FOLDED;case"|":return i.Type.BLOCK_LITERAL;case"{":return i.Type.FLOW_MAP;case"[":return i.Type.FLOW_SEQ;case"?":return!n&&i.Node.atBlank(e,t+1,true)?i.Type.MAP_KEY:i.Type.PLAIN;case":":return!n&&i.Node.atBlank(e,t+1,true)?i.Type.MAP_VALUE:i.Type.PLAIN;case"-":return!n&&i.Node.atBlank(e,t+1,true)?i.Type.SEQ_ITEM:i.Type.PLAIN;case'"':return i.Type.QUOTE_DOUBLE;case"'":return i.Type.QUOTE_SINGLE;default:return i.Type.PLAIN}}constructor(e={},{atLineStart:t,inCollection:n,inFlow:s,indent:o,lineStart:a,parent:l}={}){i._defineProperty(this,"parseNode",((e,t)=>{if(i.Node.atDocumentBoundary(this.src,t))return null;const n=new ParseContext(this,e);const{props:s,type:o,valueStart:a}=n.parseProps(t);const l=createNewNode(o,s);let u=l.parse(n,a);l.range=new i.Range(t,u);if(u<=t){l.error=new Error(`Node#parse consumed no characters`);l.error.parseEnd=u;l.error.source=l;l.range.end=t+1}if(n.nodeStartsCollection(l)){if(!l.error&&!n.atLineStart&&n.parent.type===i.Type.DOCUMENT){l.error=new i.YAMLSyntaxError(l,"Block collection must not have preceding content here (e.g. directives-end indicator)")}const e=new Collection(l);u=e.parse(new ParseContext(n),u);e.range=new i.Range(t,u);return e}return l}));this.atLineStart=t!=null?t:e.atLineStart||false;this.inCollection=n!=null?n:e.inCollection||false;this.inFlow=s!=null?s:e.inFlow||false;this.indent=o!=null?o:e.indent;this.lineStart=a!=null?a:e.lineStart;this.parent=l!=null?l:e.parent||{};this.root=e.root;this.src=e.src}nodeStartsCollection(e){const{inCollection:t,inFlow:n,src:s}=this;if(t||n)return false;if(e instanceof CollectionItem)return true;let o=e.range.end;if(s[o]==="\n"||s[o-1]==="\n")return false;o=i.Node.endOfWhiteSpace(s,o);return s[o]===":"}parseProps(e){const{inFlow:t,parent:n,src:s}=this;const o=[];let a=false;e=this.atLineStart?i.Node.endOfIndent(s,e):i.Node.endOfWhiteSpace(s,e);let l=s[e];while(l===i.Char.ANCHOR||l===i.Char.COMMENT||l===i.Char.TAG||l==="\n"){if(l==="\n"){let t=e;let o;do{o=t+1;t=i.Node.endOfIndent(s,o)}while(s[t]==="\n");const l=t-(o+this.indent);const u=n.type===i.Type.SEQ_ITEM&&n.context.atLineStart;if(s[t]!=="#"&&!i.Node.nextNodeIsIndented(s[t],l,!u))break;this.atLineStart=true;this.lineStart=o;a=false;e=t}else if(l===i.Char.COMMENT){const t=i.Node.endOfLine(s,e+1);o.push(new i.Range(e,t));e=t}else{let t=i.Node.endOfIdentifier(s,e+1);if(l===i.Char.TAG&&s[t]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,t+13))){t=i.Node.endOfIdentifier(s,t+5)}o.push(new i.Range(e,t));a=true;e=i.Node.endOfWhiteSpace(s,t)}l=s[e]}if(a&&l===":"&&i.Node.atBlank(s,e+1,true))e-=1;const u=ParseContext.parseType(s,e,t);return{props:o,type:u,valueStart:e}}}function parse(e){const t=[];if(e.indexOf("\r")!==-1){e=e.replace(/\r\n?/g,((e,n)=>{if(e.length>1)t.push(n);return"\n"}))}const n=[];let i=0;do{const t=new Document;const s=new ParseContext({src:e});i=t.parse(s,i);n.push(t)}while(i{if(t.length===0)return false;for(let e=1;en.join("...\n");return n}t.parse=parse},4227:(e,t,n)=>{"use strict";var i=n(5215);function addCommentBefore(e,t,n){if(!n)return e;const i=n.replace(/[\s\S]^/gm,`$&${t}#`);return`#${i}\n${t}${e}`}function addComment(e,t,n){return!n?e:n.indexOf("\n")===-1?`${e} #${n}`:`${e}\n`+n.replace(/^/gm,`${t||""}#`)}class Node{}function toJSON(e,t,n){if(Array.isArray(e))return e.map(((e,t)=>toJSON(e,String(t),n)));if(e&&typeof e.toJSON==="function"){const i=n&&n.anchors&&n.anchors.get(e);if(i)n.onCreate=e=>{i.res=e;delete n.onCreate};const s=e.toJSON(t,n);if(i&&n.onCreate)n.onCreate(s);return s}if((!n||!n.keep)&&typeof e==="bigint")return Number(e);return e}class Scalar extends Node{constructor(e){super();this.value=e}toJSON(e,t){return t&&t.keep?this.value:toJSON(this.value,e,t)}toString(){return String(this.value)}}function collectionFromPath(e,t,n){let i=n;for(let e=t.length-1;e>=0;--e){const n=t[e];if(Number.isInteger(n)&&n>=0){const e=[];e[n]=i;i=e}else{const e={};Object.defineProperty(e,n,{value:i,writable:true,enumerable:true,configurable:true});i=e}}return e.createNode(i,false)}const isEmptyPath=e=>e==null||typeof e==="object"&&e[Symbol.iterator]().next().done;class Collection extends Node{constructor(e){super();i._defineProperty(this,"items",[]);this.schema=e}addIn(e,t){if(isEmptyPath(e))this.add(t);else{const[n,...i]=e;const s=this.get(n,true);if(s instanceof Collection)s.addIn(i,t);else if(s===undefined&&this.schema)this.set(n,collectionFromPath(this.schema,i,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}deleteIn([e,...t]){if(t.length===0)return this.delete(e);const n=this.get(e,true);if(n instanceof Collection)return n.deleteIn(t);else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}getIn([e,...t],n){const i=this.get(e,true);if(t.length===0)return!n&&i instanceof Scalar?i.value:i;else return i instanceof Collection?i.getIn(t,n):undefined}hasAllNullValues(){return this.items.every((e=>{if(!e||e.type!=="PAIR")return false;const t=e.value;return t==null||t instanceof Scalar&&t.value==null&&!t.commentBefore&&!t.comment&&!t.tag}))}hasIn([e,...t]){if(t.length===0)return this.has(e);const n=this.get(e,true);return n instanceof Collection?n.hasIn(t):false}setIn([e,...t],n){if(t.length===0){this.set(e,n)}else{const i=this.get(e,true);if(i instanceof Collection)i.setIn(t,n);else if(i===undefined&&this.schema)this.set(e,collectionFromPath(this.schema,t,n));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}}toJSON(){return null}toString(e,{blockItem:t,flowChars:n,isMap:s,itemIndent:o},a,l){const{indent:u,indentStep:c,stringify:f}=e;const p=this.type===i.Type.FLOW_MAP||this.type===i.Type.FLOW_SEQ||e.inFlow;if(p)o+=c;const h=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:h,indent:o,inFlow:p,type:null});let d=false;let m=false;const g=this.items.reduce(((t,n,i)=>{let s;if(n){if(!d&&n.spaceBefore)t.push({type:"comment",str:""});if(n.commentBefore)n.commentBefore.match(/^.*$/gm).forEach((e=>{t.push({type:"comment",str:`#${e}`})}));if(n.comment)s=n.comment;if(p&&(!d&&n.spaceBefore||n.commentBefore||n.comment||n.key&&(n.key.commentBefore||n.key.comment)||n.value&&(n.value.commentBefore||n.value.comment)))m=true}d=false;let a=f(n,e,(()=>s=null),(()=>d=true));if(p&&!m&&a.includes("\n"))m=true;if(p&&ie.str));if(m||i.reduce(((e,t)=>e+t.length+2),2)>Collection.maxFlowStringSingleLineLength){y=e;for(const e of i){y+=e?`\n${c}${u}${e}`:"\n"}y+=`\n${u}${t}`}else{y=`${e} ${i.join(" ")} ${t}`}}else{const e=g.map(t);y=e.shift();for(const t of e)y+=t?`\n${u}${t}`:"\n"}if(this.comment){y+="\n"+this.comment.replace(/^/gm,`${u}#`);if(a)a()}else if(d&&l)l();return y}}i._defineProperty(Collection,"maxFlowStringSingleLineLength",60);function asItemIndex(e){let t=e instanceof Scalar?e.value:e;if(t&&typeof t==="string")t=Number(t);return Number.isInteger(t)&&t>=0?t:null}class YAMLSeq extends Collection{add(e){this.items.push(e)}delete(e){const t=asItemIndex(e);if(typeof t!=="number")return false;const n=this.items.splice(t,1);return n.length>0}get(e,t){const n=asItemIndex(e);if(typeof n!=="number")return undefined;const i=this.items[n];return!t&&i instanceof Scalar?i.value:i}has(e){const t=asItemIndex(e);return typeof t==="number"&&te.type==="comment"?e.str:`- ${e.str}`,flowChars:{start:"[",end:"]"},isMap:false,itemIndent:(e.indent||"")+" "},t,n)}}const stringifyKey=(e,t,n)=>{if(t===null)return"";if(typeof t!=="object")return String(t);if(e instanceof Node&&n&&n.doc)return e.toString({anchors:Object.create(null),doc:n.doc,indent:"",indentStep:n.indentStep,inFlow:true,inStringifyKey:true,stringify:n.stringify});return JSON.stringify(t)};class Pair extends Node{constructor(e,t=null){super();this.key=e;this.value=t;this.type=Pair.Type.PAIR}get commentBefore(){return this.key instanceof Node?this.key.commentBefore:undefined}set commentBefore(e){if(this.key==null)this.key=new Scalar(null);if(this.key instanceof Node)this.key.commentBefore=e;else{const e="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(e)}}addToJSMap(e,t){const n=toJSON(this.key,"",e);if(t instanceof Map){const i=toJSON(this.value,n,e);t.set(n,i)}else if(t instanceof Set){t.add(n)}else{const i=stringifyKey(this.key,n,e);const s=toJSON(this.value,i,e);if(i in t)Object.defineProperty(t,i,{value:s,writable:true,enumerable:true,configurable:true});else t[i]=s}return t}toJSON(e,t){const n=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,n)}toString(e,t,n){if(!e||!e.doc)return JSON.stringify(this);const{indent:s,indentSeq:o,simpleKeys:a}=e.doc.options;let{key:l,value:u}=this;let c=l instanceof Node&&l.comment;if(a){if(c){throw new Error("With simple keys, key nodes cannot have comments")}if(l instanceof Collection){const e="With simple keys, collection cannot be used as a key value";throw new Error(e)}}let f=!a&&(!l||c||(l instanceof Node?l instanceof Collection||l.type===i.Type.BLOCK_FOLDED||l.type===i.Type.BLOCK_LITERAL:typeof l==="object"));const{doc:p,indent:h,indentStep:d,stringify:m}=e;e=Object.assign({},e,{implicitKey:!f,indent:h+d});let g=false;let y=m(l,e,(()=>c=null),(()=>g=true));y=addComment(y,e.indent,c);if(!f&&y.length>1024){if(a)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=true}if(e.allNullValues&&!a){if(this.comment){y=addComment(y,e.indent,this.comment);if(t)t()}else if(g&&!c&&n)n();return e.inFlow&&!f?y:`? ${y}`}y=f?`? ${y}\n${h}:`:`${y}:`;if(this.comment){y=addComment(y,e.indent,this.comment);if(t)t()}let v="";let b=null;if(u instanceof Node){if(u.spaceBefore)v="\n";if(u.commentBefore){const t=u.commentBefore.replace(/^/gm,`${e.indent}#`);v+=`\n${t}`}b=u.comment}else if(u&&typeof u==="object"){u=p.schema.createNode(u,true)}e.implicitKey=false;if(!f&&!this.comment&&u instanceof Scalar)e.indentAtStart=y.length+1;g=false;if(!o&&s>=2&&!e.inFlow&&!f&&u instanceof YAMLSeq&&u.type!==i.Type.FLOW_SEQ&&!u.tag&&!p.anchors.getName(u)){e.indent=e.indent.substr(2)}const w=m(u,e,(()=>b=null),(()=>g=true));let S=" ";if(v||this.comment){S=`${v}\n${e.indent}`}else if(!f&&u instanceof Collection){const t=w[0]==="["||w[0]==="{";if(!t||w.includes("\n"))S=`\n${e.indent}`}else if(w[0]==="\n")S="";if(g&&!b&&n)n();return addComment(y+S+w,e.indent,b)}}i._defineProperty(Pair,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});const getAliasCount=(e,t)=>{if(e instanceof Alias){const n=t.get(e.source);return n.count*n.aliasCount}else if(e instanceof Collection){let n=0;for(const i of e.items){const e=getAliasCount(i,t);if(e>n)n=e}return n}else if(e instanceof Pair){const n=getAliasCount(e.key,t);const i=getAliasCount(e.value,t);return Math.max(n,i)}return 1};class Alias extends Node{static stringify({range:e,source:t},{anchors:n,doc:i,implicitKey:s,inStringifyKey:o}){let a=Object.keys(n).find((e=>n[e]===t));if(!a&&o)a=i.anchors.getName(t)||i.anchors.newName();if(a)return`*${a}${s?" ":""}`;const l=i.anchors.getName(t)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${l} [${e}]`)}constructor(e){super();this.source=e;this.type=i.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,t){if(!t)return toJSON(this.source,e,t);const{anchors:n,maxAliasCount:s}=t;const o=n.get(this.source);if(!o||o.res===undefined){const e="This should not happen: Alias anchor was not resolved?";if(this.cstNode)throw new i.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}if(s>=0){o.count+=1;if(o.aliasCount===0)o.aliasCount=getAliasCount(this.source,n);if(o.count*o.aliasCount>s){const e="Excessive alias count indicates a resource exhaustion attack";if(this.cstNode)throw new i.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}}return o.res}toString(e){return Alias.stringify(this,e)}}i._defineProperty(Alias,"default",true);function findPair(e,t){const n=t instanceof Scalar?t.value:t;for(const i of e){if(i instanceof Pair){if(i.key===t||i.key===n)return i;if(i.key&&i.key.value===n)return i}}return undefined}class YAMLMap extends Collection{add(e,t){if(!e)e=new Pair(e);else if(!(e instanceof Pair))e=new Pair(e.key||e,e.value);const n=findPair(this.items,e.key);const i=this.schema&&this.schema.sortMapEntries;if(n){if(t)n.value=e.value;else throw new Error(`Key ${e.key} already set`)}else if(i){const t=this.items.findIndex((t=>i(e,t)<0));if(t===-1)this.items.push(e);else this.items.splice(t,0,e)}else{this.items.push(e)}}delete(e){const t=findPair(this.items,e);if(!t)return false;const n=this.items.splice(this.items.indexOf(t),1);return n.length>0}get(e,t){const n=findPair(this.items,e);const i=n&&n.value;return!t&&i instanceof Scalar?i.value:i}has(e){return!!findPair(this.items,e)}set(e,t){this.add(new Pair(e,t),true)}toJSON(e,t,n){const i=n?new n:t&&t.mapAsMap?new Map:{};if(t&&t.onCreate)t.onCreate(i);for(const e of this.items)e.addToJSMap(t,i);return i}toString(e,t,n){if(!e)return JSON.stringify(this);for(const e of this.items){if(!(e instanceof Pair))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`)}return super.toString(e,{blockItem:e=>e.str,flowChars:{start:"{",end:"}"},isMap:true,itemIndent:e.indent||""},t,n)}}const s="<<";class Merge extends Pair{constructor(e){if(e instanceof Pair){let t=e.value;if(!(t instanceof YAMLSeq)){t=new YAMLSeq;t.items.push(e.value);t.range=e.value.range}super(e.key,t);this.range=e.range}else{super(new Scalar(s),new YAMLSeq)}this.type=Pair.Type.MERGE_PAIR}addToJSMap(e,t){for(const{source:n}of this.value.items){if(!(n instanceof YAMLMap))throw new Error("Merge sources must be maps");const i=n.toJSON(null,e,Map);for(const[e,n]of i){if(t instanceof Map){if(!t.has(e))t.set(e,n)}else if(t instanceof Set){t.add(e)}else if(!Object.prototype.hasOwnProperty.call(t,e)){Object.defineProperty(t,e,{value:n,writable:true,enumerable:true,configurable:true})}}}return t}toString(e,t){const n=this.value;if(n.items.length>1)return super.toString(e,t);this.value=n.items[0];const i=super.toString(e,t);this.value=n;return i}}const o={defaultType:i.Type.BLOCK_LITERAL,lineWidth:76};const a={trueStr:"true",falseStr:"false"};const l={asBigInt:false};const u={nullStr:"null"};const c={defaultType:i.Type.PLAIN,doubleQuoted:{jsonEncoding:false,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function resolveScalar(e,t,n){for(const{format:n,test:i,resolve:s}of t){if(i){const t=e.match(i);if(t){let e=s.apply(null,t);if(!(e instanceof Scalar))e=new Scalar(e);if(n)e.format=n;return e}}}if(n)e=n(e);return new Scalar(e)}const f="flow";const p="block";const h="quoted";const consumeMoreIndentedLines=(e,t)=>{let n=e[t+1];while(n===" "||n==="\t"){do{n=e[t+=1]}while(n&&n!=="\n");n=e[t+1]}return t};function foldFlowLines(e,t,n,{indentAtStart:i,lineWidth:s=80,minContentWidth:o=20,onFold:a,onOverflow:l}){if(!s||s<0)return e;const u=Math.max(1+o,1+s-t.length);if(e.length<=u)return e;const c=[];const f={};let d=s-t.length;if(typeof i==="number"){if(i>s-Math.max(2,o))c.push(0);else d=s-i}let m=undefined;let g=undefined;let y=false;let v=-1;let b=-1;let w=-1;if(n===p){v=consumeMoreIndentedLines(e,v);if(v!==-1)d=v+u}for(let t;t=e[v+=1];){if(n===h&&t==="\\"){b=v;switch(e[v+1]){case"x":v+=3;break;case"u":v+=5;break;case"U":v+=9;break;default:v+=1}w=v}if(t==="\n"){if(n===p)v=consumeMoreIndentedLines(e,v);d=v+u;m=undefined}else{if(t===" "&&g&&g!==" "&&g!=="\n"&&g!=="\t"){const t=e[v+1];if(t&&t!==" "&&t!=="\n"&&t!=="\t")m=v}if(v>=d){if(m){c.push(m);d=m+u;m=undefined}else if(n===h){while(g===" "||g==="\t"){g=t;t=e[v+=1];y=true}const n=v>w+1?v-2:b-1;if(f[n])return e;c.push(n);f[n]=true;d=n+u;m=undefined}else{y=true}}}g=t}if(y&&l)l();if(c.length===0)return e;if(a)a();let S=e.slice(0,c[0]);for(let i=0;ie?Object.assign({indentAtStart:e},c.fold):c.fold;const containsDocumentMarker=e=>/^(%|---|\.\.\.)/m.test(e);function lineLengthOverLimit(e,t,n){if(!t||t<0)return false;const i=t-n;const s=e.length;if(s<=i)return false;for(let t=0,n=0;ti)return true;n=t+1;if(s-n<=i)return false}}return true}function doubleQuotedString(e,t){const{implicitKey:n}=t;const{jsonEncoding:i,minMultiLineLength:s}=c.doubleQuoted;const o=JSON.stringify(e);if(i)return o;const a=t.indent||(containsDocumentMarker(e)?" ":"");let l="";let u=0;for(let e=0,t=o[e];t;t=o[++e]){if(t===" "&&o[e+1]==="\\"&&o[e+2]==="n"){l+=o.slice(u,e)+"\\ ";e+=1;u=e;t="\\"}if(t==="\\")switch(o[e+1]){case"u":{l+=o.slice(u,e);const t=o.substr(e+2,4);switch(t){case"0000":l+="\\0";break;case"0007":l+="\\a";break;case"000b":l+="\\v";break;case"001b":l+="\\e";break;case"0085":l+="\\N";break;case"00a0":l+="\\_";break;case"2028":l+="\\L";break;case"2029":l+="\\P";break;default:if(t.substr(0,2)==="00")l+="\\x"+t.substr(2);else l+=o.substr(e,6)}e+=5;u=e+1}break;case"n":if(n||o[e+2]==='"'||o.length";if(!n)return h+"\n";let d="";let m="";n=n.replace(/[\n\t ]*$/,(e=>{const t=e.indexOf("\n");if(t===-1){h+="-"}else if(n===e||t!==e.length-1){h+="+";if(a)a()}m=e.replace(/\n$/,"");return""})).replace(/^[\n ]*/,(e=>{if(e.indexOf(" ")!==-1)h+=u;const t=e.match(/ +$/);if(t){d=e.slice(0,-t[0].length);return t[0]}else{d=e;return""}}));if(m)m=m.replace(/\n+(?!\n|$)/g,`$&${l}`);if(d)d=d.replace(/\n+/g,`$&${l}`);if(e){h+=" #"+e.replace(/ ?[\r\n]+/g," ");if(o)o()}if(!n)return`${h}${u}\n${l}${m}`;if(f){n=n.replace(/\n+/g,`$&${l}`);return`${h}\n${l}${d}${n}${m}`}n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`);const g=foldFlowLines(`${d}${n}${m}`,l,p,c.fold);return`${h}\n${l}${g}`}function plainString(e,t,n,s){const{comment:o,type:a,value:l}=e;const{actualString:u,implicitKey:c,indent:p,inFlow:h}=t;if(c&&/[\n[\]{},]/.test(l)||h&&/[[\]{},]/.test(l)){return doubleQuotedString(l,t)}if(!l||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(l)){return c||h||l.indexOf("\n")===-1?l.indexOf('"')!==-1&&l.indexOf("'")===-1?singleQuotedString(l,t):doubleQuotedString(l,t):blockString(e,t,n,s)}if(!c&&!h&&a!==i.Type.PLAIN&&l.indexOf("\n")!==-1){return blockString(e,t,n,s)}if(p===""&&containsDocumentMarker(l)){t.forceBlockIndent=true;return blockString(e,t,n,s)}const d=l.replace(/\n+/g,`$&\n${p}`);if(u){const{tags:e}=t.doc.schema;const n=resolveScalar(d,e,e.scalarFallback).value;if(typeof n!=="string")return doubleQuotedString(l,t)}const m=c?d:foldFlowLines(d,p,f,getFoldOptions(t));if(o&&!h&&(m.indexOf("\n")!==-1||o.indexOf("\n")!==-1)){if(n)n();return addCommentBefore(m,p,o)}return m}function stringifyString(e,t,n,s){const{defaultType:o}=c;const{implicitKey:a,inFlow:l}=t;let{type:u,value:f}=e;if(typeof f!=="string"){f=String(f);e=Object.assign({},e,{value:f})}const _stringify=o=>{switch(o){case i.Type.BLOCK_FOLDED:case i.Type.BLOCK_LITERAL:return blockString(e,t,n,s);case i.Type.QUOTE_DOUBLE:return doubleQuotedString(f,t);case i.Type.QUOTE_SINGLE:return singleQuotedString(f,t);case i.Type.PLAIN:return plainString(e,t,n,s);default:return null}};if(u!==i.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(f)){u=i.Type.QUOTE_DOUBLE}else if((a||l)&&(u===i.Type.BLOCK_FOLDED||u===i.Type.BLOCK_LITERAL)){u=i.Type.QUOTE_DOUBLE}let p=_stringify(u);if(p===null){p=_stringify(o);if(p===null)throw new Error(`Unsupported default string type ${o}`)}return p}function stringifyNumber({format:e,minFractionDigits:t,tag:n,value:i}){if(typeof i==="bigint")return String(i);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let s=JSON.stringify(i);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let e=s.indexOf(".");if(e<0){e=s.length;s+="."}let n=t-(s.length-e-1);while(n-- >0)s+="0"}return s}function checkFlowCollectionEnd(e,t){let n,s;switch(t.type){case i.Type.FLOW_MAP:n="}";s="flow map";break;case i.Type.FLOW_SEQ:n="]";s="flow sequence";break;default:e.push(new i.YAMLSemanticError(t,"Not a flow collection!?"));return}let o;for(let e=t.items.length-1;e>=0;--e){const n=t.items[e];if(!n||n.type!==i.Type.COMMENT){o=n;break}}if(o&&o.char!==n){const a=`Expected ${s} to end with ${n}`;let l;if(typeof o.offset==="number"){l=new i.YAMLSemanticError(t,a);l.offset=o.offset+1}else{l=new i.YAMLSemanticError(o,a);if(o.range&&o.range.end)l.offset=o.range.end-o.range.start}e.push(l)}}function checkFlowCommentSpace(e,t){const n=t.context.src[t.range.start-1];if(n!=="\n"&&n!=="\t"&&n!==" "){const n="Comments must be separated from other tokens by white space characters";e.push(new i.YAMLSemanticError(t,n))}}function getLongKeyError(e,t){const n=String(t);const s=n.substr(0,8)+"..."+n.substr(-8);return new i.YAMLSemanticError(e,`The "${s}" key is too long`)}function resolveComments(e,t){for(const{afterKey:n,before:i,comment:s}of t){let t=e.items[i];if(!t){if(s!==undefined){if(e.comment)e.comment+="\n"+s;else e.comment=s}}else{if(n&&t.value)t=t.value;if(s===undefined){if(n||!t.commentBefore)t.spaceBefore=true}else{if(t.commentBefore)t.commentBefore+="\n"+s;else t.commentBefore=s}}}}function resolveString(e,t){const n=t.strValue;if(!n)return"";if(typeof n==="string")return n;n.errors.forEach((n=>{if(!n.source)n.source=t;e.errors.push(n)}));return n.str}function resolveTagHandle(e,t){const{handle:n,suffix:s}=t.tag;let o=e.tagPrefixes.find((e=>e.handle===n));if(!o){const s=e.getDefaults().tagPrefixes;if(s)o=s.find((e=>e.handle===n));if(!o)throw new i.YAMLSemanticError(t,`The ${n} tag handle is non-default and was not declared.`)}if(!s)throw new i.YAMLSemanticError(t,`The ${n} tag has no suffix.`);if(n==="!"&&(e.version||e.options.version)==="1.0"){if(s[0]==="^"){e.warnings.push(new i.YAMLWarning(t,"YAML 1.0 ^ tag expansion is not supported"));return s}if(/[:/]/.test(s)){const e=s.match(/^([a-z0-9-]+)\/(.*)/i);return e?`tag:${e[1]}.yaml.org,2002:${e[2]}`:`tag:${s}`}}return o.prefix+decodeURIComponent(s)}function resolveTagName(e,t){const{tag:n,type:s}=t;let o=false;if(n){const{handle:s,suffix:a,verbatim:l}=n;if(l){if(l!=="!"&&l!=="!!")return l;const n=`Verbatim tags aren't resolved, so ${l} is invalid.`;e.errors.push(new i.YAMLSemanticError(t,n))}else if(s==="!"&&!a){o=true}else{try{return resolveTagHandle(e,t)}catch(t){e.errors.push(t)}}}switch(s){case i.Type.BLOCK_FOLDED:case i.Type.BLOCK_LITERAL:case i.Type.QUOTE_DOUBLE:case i.Type.QUOTE_SINGLE:return i.defaultTags.STR;case i.Type.FLOW_MAP:case i.Type.MAP:return i.defaultTags.MAP;case i.Type.FLOW_SEQ:case i.Type.SEQ:return i.defaultTags.SEQ;case i.Type.PLAIN:return o?i.defaultTags.STR:null;default:return null}}function resolveByTagName(e,t,n){const{tags:i}=e.schema;const s=[];for(const o of i){if(o.tag===n){if(o.test)s.push(o);else{const n=o.resolve(e,t);return n instanceof Collection?n:new Scalar(n)}}}const o=resolveString(e,t);if(typeof o==="string"&&s.length>0)return resolveScalar(o,s,i.scalarFallback);return null}function getFallbackTagName({type:e}){switch(e){case i.Type.FLOW_MAP:case i.Type.MAP:return i.defaultTags.MAP;case i.Type.FLOW_SEQ:case i.Type.SEQ:return i.defaultTags.SEQ;default:return i.defaultTags.STR}}function resolveTag(e,t,n){try{const i=resolveByTagName(e,t,n);if(i){if(n&&t.tag)i.tag=n;return i}}catch(n){if(!n.source)n.source=t;e.errors.push(n);return null}try{const s=getFallbackTagName(t);if(!s)throw new Error(`The tag ${n} is unavailable`);const o=`The tag ${n} is unavailable, falling back to ${s}`;e.warnings.push(new i.YAMLWarning(t,o));const a=resolveByTagName(e,t,s);a.tag=n;return a}catch(n){const s=new i.YAMLReferenceError(t,n.message);s.stack=n.stack;e.errors.push(s);return null}}const isCollectionItem=e=>{if(!e)return false;const{type:t}=e;return t===i.Type.MAP_KEY||t===i.Type.MAP_VALUE||t===i.Type.SEQ_ITEM};function resolveNodeProps(e,t){const n={before:[],after:[]};let s=false;let o=false;const a=isCollectionItem(t.context.parent)?t.context.parent.props.concat(t.props):t.props;for(const{start:l,end:u}of a){switch(t.context.src[l]){case i.Char.COMMENT:{if(!t.commentHasRequiredWhitespace(l)){const n="Comments must be separated from other tokens by white space characters";e.push(new i.YAMLSemanticError(t,n))}const{header:s,valueRange:o}=t;const a=o&&(l>o.start||s&&l>s.start)?n.after:n.before;a.push(t.context.src.slice(l+1,u));break}case i.Char.ANCHOR:if(s){const n="A node can have at most one anchor";e.push(new i.YAMLSemanticError(t,n))}s=true;break;case i.Char.TAG:if(o){const n="A node can have at most one tag";e.push(new i.YAMLSemanticError(t,n))}o=true;break}}return{comments:n,hasAnchor:s,hasTag:o}}function resolveNodeValue(e,t){const{anchors:n,errors:s,schema:o}=e;if(t.type===i.Type.ALIAS){const e=t.rawValue;const o=n.getNode(e);if(!o){const n=`Aliased anchor not found: ${e}`;s.push(new i.YAMLReferenceError(t,n));return null}const a=new Alias(o);n._cstAliases.push(a);return a}const a=resolveTagName(e,t);if(a)return resolveTag(e,t,a);if(t.type!==i.Type.PLAIN){const e=`Failed to resolve ${t.type} node here`;s.push(new i.YAMLSyntaxError(t,e));return null}try{const n=resolveString(e,t);return resolveScalar(n,o.tags,o.tags.scalarFallback)}catch(e){if(!e.source)e.source=t;s.push(e);return null}}function resolveNode(e,t){if(!t)return null;if(t.error)e.errors.push(t.error);const{comments:n,hasAnchor:s,hasTag:o}=resolveNodeProps(e.errors,t);if(s){const{anchors:n}=e;const i=t.anchor;const s=n.getNode(i);if(s)n.map[n.newName(i)]=s;n.map[i]=t}if(t.type===i.Type.ALIAS&&(s||o)){const n="An alias node must not specify any properties";e.errors.push(new i.YAMLSemanticError(t,n))}const a=resolveNodeValue(e,t);if(a){a.range=[t.range.start,t.range.end];if(e.options.keepCstNodes)a.cstNode=t;if(e.options.keepNodeTypes)a.type=t.type;const i=n.before.join("\n");if(i){a.commentBefore=a.commentBefore?`${a.commentBefore}\n${i}`:i}const s=n.after.join("\n");if(s)a.comment=a.comment?`${a.comment}\n${s}`:s}return t.resolved=a}function resolveMap(e,t){if(t.type!==i.Type.MAP&&t.type!==i.Type.FLOW_MAP){const n=`A ${t.type} node cannot be resolved as a mapping`;e.errors.push(new i.YAMLSyntaxError(t,n));return null}const{comments:n,items:o}=t.type===i.Type.FLOW_MAP?resolveFlowMapItems(e,t):resolveBlockMapItems(e,t);const a=new YAMLMap;a.items=o;resolveComments(a,n);let l=false;for(let n=0;n{if(e instanceof Alias){const{type:t}=e.source;if(t===i.Type.MAP||t===i.Type.FLOW_MAP)return false;return a="Merge nodes aliases can only point to maps"}return a="Merge nodes can only have Alias nodes as values"}));if(a)e.errors.push(new i.YAMLSemanticError(t,a))}else{for(let s=n+1;s{if(s.length===0)return false;const{start:o}=s[0];if(t&&o>t.valueRange.start)return false;if(n[o]!==i.Char.COMMENT)return false;for(let t=e;t0){n=new i.PlainValue(i.Type.PLAIN,[]);n.context={parent:u,src:u.context.src};const e=u.range.start+1;n.range={start:e,end:e};n.valueRange={start:e,end:e};if(typeof u.range.origStart==="number"){const e=u.range.origStart+1;n.range.origStart=n.range.origEnd=e;n.valueRange.origStart=n.valueRange.origEnd=e}}const l=new Pair(o,resolveNode(e,n));resolvePairComment(u,l);s.push(l);if(o&&typeof a==="number"){if(u.range.start>a+1024)e.errors.push(getLongKeyError(t,o))}o=undefined;a=null}break;default:if(o!==undefined)s.push(new Pair(o));o=resolveNode(e,u);a=u.range.start;if(u.error)e.errors.push(u.error);e:for(let n=l+1;;++n){const s=t.items[n];switch(s&&s.type){case i.Type.BLANK_LINE:case i.Type.COMMENT:continue e;case i.Type.MAP_VALUE:break e;default:{const t="Implicit map keys need to be followed by map values";e.errors.push(new i.YAMLSemanticError(u,t));break e}}}if(u.valueRangeContainsNewline){const t="Implicit map keys need to be on a single line";e.errors.push(new i.YAMLSemanticError(u,t))}}}if(o!==undefined)s.push(new Pair(o));return{comments:n,items:s}}function resolveFlowMapItems(e,t){const n=[];const s=[];let o=undefined;let a=false;let l="{";for(let u=0;ue instanceof Pair&&e.key instanceof Collection))){const n="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new i.YAMLWarning(t,n))}t.resolved=o;return o}function resolveBlockSeqItems(e,t){const n=[];const s=[];for(let o=0;ol+1024)e.errors.push(getLongKeyError(t,a));const{src:s}=c.context;for(let t=l;t{"use strict";var i=n(5215);var s=n(4227);const o={identify:e=>e instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{const n=s.resolveString(e,t);if(typeof Buffer==="function"){return Buffer.from(n,"base64")}else if(typeof atob==="function"){const e=atob(n.replace(/[\n\r]/g,""));const t=new Uint8Array(e.length);for(let n=0;n{let u;if(typeof Buffer==="function"){u=n instanceof Buffer?n.toString("base64"):Buffer.from(n.buffer).toString("base64")}else if(typeof btoa==="function"){let e="";for(let t=0;t1){const e="Each pair must have its own sequence indicator";throw new i.YAMLSemanticError(t,e)}const e=o.items[0]||new s.Pair;if(o.commentBefore)e.commentBefore=e.commentBefore?`${o.commentBefore}\n${e.commentBefore}`:o.commentBefore;if(o.comment)e.comment=e.comment?`${o.comment}\n${e.comment}`:o.comment;o=e}n.items[e]=o instanceof s.Pair?o:new s.Pair(o)}return n}function createPairs(e,t,n){const i=new s.YAMLSeq(e);i.tag="tag:yaml.org,2002:pairs";for(const s of t){let t,o;if(Array.isArray(s)){if(s.length===2){t=s[0];o=s[1]}else throw new TypeError(`Expected [key, value] tuple: ${s}`)}else if(s&&s instanceof Object){const e=Object.keys(s);if(e.length===1){t=e[0];o=s[t]}else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else{t=s}const a=e.createPair(t,o,n);i.items.push(a)}return i}const a={default:false,tag:"tag:yaml.org,2002:pairs",resolve:parsePairs,createNode:createPairs};class YAMLOMap extends s.YAMLSeq{constructor(){super();i._defineProperty(this,"add",s.YAMLMap.prototype.add.bind(this));i._defineProperty(this,"delete",s.YAMLMap.prototype.delete.bind(this));i._defineProperty(this,"get",s.YAMLMap.prototype.get.bind(this));i._defineProperty(this,"has",s.YAMLMap.prototype.has.bind(this));i._defineProperty(this,"set",s.YAMLMap.prototype.set.bind(this));this.tag=YAMLOMap.tag}toJSON(e,t){const n=new Map;if(t&&t.onCreate)t.onCreate(n);for(const e of this.items){let i,o;if(e instanceof s.Pair){i=s.toJSON(e.key,"",t);o=s.toJSON(e.value,i,t)}else{i=s.toJSON(e,"",t)}if(n.has(i))throw new Error("Ordered maps must not include duplicate keys");n.set(i,o)}return n}}i._defineProperty(YAMLOMap,"tag","tag:yaml.org,2002:omap");function parseOMap(e,t){const n=parsePairs(e,t);const o=[];for(const{key:e}of n.items){if(e instanceof s.Scalar){if(o.includes(e.value)){const e="Ordered maps must not include duplicate keys";throw new i.YAMLSemanticError(t,e)}else{o.push(e.value)}}}return Object.assign(new YAMLOMap,n)}function createOMap(e,t,n){const i=createPairs(e,t,n);const s=new YAMLOMap;s.items=i.items;return s}const l={identify:e=>e instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve:parseOMap,createNode:createOMap};class YAMLSet extends s.YAMLMap{constructor(){super();this.tag=YAMLSet.tag}add(e){const t=e instanceof s.Pair?e:new s.Pair(e);const n=s.findPair(this.items,t.key);if(!n)this.items.push(t)}get(e,t){const n=s.findPair(this.items,e);return!t&&n instanceof s.Pair?n.key instanceof s.Scalar?n.key.value:n.key:n}set(e,t){if(typeof t!=="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const n=s.findPair(this.items,e);if(n&&!t){this.items.splice(this.items.indexOf(n),1)}else if(!n&&t){this.items.push(new s.Pair(e))}}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,t,n);else throw new Error("Set items must all have null values")}}i._defineProperty(YAMLSet,"tag","tag:yaml.org,2002:set");function parseSet(e,t){const n=s.resolveMap(e,t);if(!n.hasAllNullValues())throw new i.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new YAMLSet,n)}function createSet(e,t,n){const i=new YAMLSet;for(const s of t)i.items.push(e.createPair(s,null,n));return i}const u={identify:e=>e instanceof Set,nodeClass:YAMLSet,default:false,tag:"tag:yaml.org,2002:set",resolve:parseSet,createNode:createSet};const parseSexagesimal=(e,t)=>{const n=t.split(":").reduce(((e,t)=>e*60+Number(t)),0);return e==="-"?-n:n};const stringifySexagesimal=({value:e})=>{if(isNaN(e)||!isFinite(e))return s.stringifyNumber(e);let t="";if(e<0){t="-";e=Math.abs(e)}const n=[e%60];if(e<60){n.unshift(0)}else{e=Math.round((e-n[0])/60);n.unshift(e%60);if(e>=60){e=Math.round((e-n[0])/60);n.unshift(e)}}return t+n.map((e=>e<10?"0"+String(e):String(e))).join(":").replace(/000000\d*$/,"")};const c={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,n)=>parseSexagesimal(t,n.replace(/_/g,"")),stringify:stringifySexagesimal};const f={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,n)=>parseSexagesimal(t,n.replace(/_/g,"")),stringify:stringifySexagesimal};const p={identify:e=>e instanceof Date,default:true,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:"+"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})"+"(?:(?:t|T|[ \\t]+)"+"([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)"+"(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?"+")?"+")$"),resolve:(e,t,n,i,s,o,a,l,u)=>{if(l)l=(l+"00").substr(1,3);let c=Date.UTC(t,n-1,i,s||0,o||0,a||0,l||0);if(u&&u!=="Z"){let e=parseSexagesimal(u[0],u.slice(1));if(Math.abs(e)<30)e*=60;c-=6e4*e}return new Date(c)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function shouldWarn(e){const t=typeof process!=="undefined"&&process.env||{};if(e){if(typeof YAML_SILENCE_DEPRECATION_WARNINGS!=="undefined")return!YAML_SILENCE_DEPRECATION_WARNINGS;return!t.YAML_SILENCE_DEPRECATION_WARNINGS}if(typeof YAML_SILENCE_WARNINGS!=="undefined")return!YAML_SILENCE_WARNINGS;return!t.YAML_SILENCE_WARNINGS}function warn(e,t){if(shouldWarn(false)){const n=typeof process!=="undefined"&&process.emitWarning;if(n)n(e,t);else{console.warn(t?`${t}: ${e}`:e)}}}function warnFileDeprecation(e){if(shouldWarn(true)){const t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");warn(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}const h={};function warnOptionDeprecation(e,t){if(!h[e]&&shouldWarn(true)){h[e]=true;let n=`The option '${e}' will be removed in a future release`;n+=t?`, use '${t}' instead.`:".";warn(n,"DeprecationWarning")}}t.binary=o;t.floatTime=f;t.intTime=c;t.omap=l;t.pairs=a;t.set=u;t.timestamp=p;t.warn=warn;t.warnFileDeprecation=warnFileDeprecation;t.warnOptionDeprecation=warnOptionDeprecation},3552:(e,t,n)=>{e.exports=n(5065).YAML},1581:(e,t,n)=>{const i=n(2186);const s=n(1383).valid;const o=n(4492);e.exports=async(e,t)=>{let n,a,l;if(t){[n,a,l]=t.split(".");switch(e){case"major":n=parseInt(n,10)+1;a=0;l=0;break;case"minor":a=parseInt(a,10)+1;l=0;break;default:l=parseInt(l,10)+1}}else{let e=s(i.getInput("fallback-version"));if(e){[n,a,l]=e.split(".")}else{n=0;a=1;l=0}i.info(`The version could not be detected, using fallback version '${n}.${a}.${l}'.`)}const u=i.getInput("pre-changelog-generation");let c=`${n}.${a}.${l}`;if(u){const e=o(u);if(e&&e.preVersionGeneration){const t=await e.preVersionGeneration(c);if(t){i.info(`Using modified version "${t}"`);c=t}}}return c}},1749:(e,t,n)=>{const i=n(5747);const s=n(9461);const getChangelogStream=(e,t,n,i,o)=>s({preset:t,releaseCount:parseInt(i,10),tagPrefix:e,config:o},{version:n,currentTag:`${e}${n}`},{},o&&o.parserOpts,o&&o.writerOpts);e.exports=getChangelogStream;e.exports.generateStringChangelog=(e,t,n,i,s)=>new Promise(((o,a)=>{const l=getChangelogStream(e,t,n,i,s);let u="";l.on("data",(e=>{u+=e.toString()})).on("end",(()=>o(u)))}));e.exports.generateFileChangelog=(e,t,n,s,o,a)=>new Promise((l=>{const u=getChangelogStream(e,t,n,o,a);u.pipe(i.createWriteStream(s)).on("finish",l)}))},4881:(e,t,n)=>{const i=n(2186);const s=n(1514);const o=n(2357);const{GITHUB_REPOSITORY:a,GITHUB_REF:l,ENV:u}=process.env;const c=l.replace("refs/heads/","");e.exports=new class Git{commandsRun=[];constructor(){const e=i.getInput("github-token");i.setSecret(e);const t=i.getInput("git-user-name");const n=i.getInput("git-user-email");if(u==="dont-use-git"){this.exec=e=>{const t=`git ${e}`;console.log(`Skipping "${t}" because of test env`);if(!t.includes("git remote set-url origin")){this.commandsRun.push(t)}}}this.config("user.name",t);this.config("user.email",n);if(e){this.updateOrigin(`https://x-access-token:${e}@github.com/${a}.git`)}}exec=e=>new Promise((async(t,n)=>{let i="";const o={listeners:{stdout:e=>{i+=e.toString()}}};const a=await s.exec(`git ${e}`,null,o);if(a===0){t(i)}else{n(`Command "git ${e}" exited with code ${a}.`)}}));config=(e,t)=>this.exec(`config ${e} "${t}"`);add=e=>this.exec(`add ${e}`);commit=e=>this.exec(`commit -m "${e}"`);pull=async()=>{const e=["pull"];if(await this.isShallow()){e.push("--unshallow")}e.push("--tags");e.push(i.getInput("git-pull-method"));return this.exec(e.join(" "))};push=()=>this.exec(`push origin ${c} --follow-tags`);isShallow=async()=>{if(u==="dont-use-git"){return false}const e=await this.exec("rev-parse --is-shallow-repository");return e.trim().replace("\n","")==="true"};updateOrigin=e=>this.exec(`remote set-url origin ${e}`);createTag=e=>this.exec(`tag -a ${e} -m "${e}"`);testHistory=()=>{if(u==="dont-use-git"){const{EXPECTED_TAG:e,SKIPPED_COMMIT:t,EXPECTED_NO_PUSH:n}=process.env;const i=['git config user.name "Conventional Changelog Action"','git config user.email "conventional.changelog.action@github.com"',"git pull --tags --ff-only"];if(!t){i.push("git add .");i.push(`git commit -m "chore(release): ${e}"`)}i.push(`git tag -a ${e} -m "${e}"`);if(!n){i.push(`git push origin ${c} --follow-tags`)}o.deepStrictEqual(this.commandsRun,i)}}}},4492:(e,t,n)=>{const i=n(2186);const s=n(5622);const o=n(5747);e.exports=e=>{const t=s.resolve(process.cwd(),e);if(o.existsSync(t)){i.info(`Loading "${t}" script`);return require(t)}i.error(`Tried to load "${t}" script but it does not exists!`);return undefined}},3030:(e,t,n)=>{const i=n(2186);const s=n(5747);e.exports=class BaseVersioning{fileLocation=null;versionPath=null;newVersion=null;init=(e,t)=>{this.fileLocation=e;this.versionPath=t};read=()=>{if(s.existsSync(this.fileLocation)){return s.readFileSync(this.fileLocation,"utf8")}i.warning(`Tried to read "${this.fileLocation}" but file does not exist!`);return""};bump=e=>{throw new Error("Implement bump logic in class!")};update=e=>s.writeFileSync(this.fileLocation,e)}},1230:(e,t,n)=>{const i=n(2186);const s=n(2408);const o=n(3030);const a=n(1581);e.exports=class Git extends o{bump=e=>new Promise((t=>{const n=i.getInput("tag-prefix");s({tagPrefix:n},(async(i,s)=>{const o=s.length>0?s.shift().replace(n,""):null;this.newVersion=await a(e,o);t()}))}))}},6286:(e,t,n)=>{const i=n(757);const s=n(1230);const o=n(5731);const a=n(3636);e.exports=e=>{switch(e.toLowerCase()){case"json":return new i;case"yaml":case"yml":return new o;case"toml":return new a;case"git":return new s;default:return null}}},757:(e,t,n)=>{const i=n(2186);const s=n(7934);const o=n(3030);const a=n(1581);e.exports=class Json extends o{bump=async e=>{const t=this.read();let n;try{n=JSON.parse(t)}catch(e){i.startGroup(`Error when parsing the file '${this.fileLocation}'`);i.info(`File-Content: ${t}`);i.info(e);i.endGroup();n={}}const o=s.get(n,this.versionPath,null);this.newVersion=await a(e,o);i.info(`Bumped file "${this.fileLocation}" from "${o}" to "${this.newVersion}"`);s.set(n,this.versionPath,this.newVersion);this.update(JSON.stringify(n,null,2))}}},3636:(e,t,n)=>{const i=n(2186);const s=n(7934);const o=n(2901);const a=n(3030);const l=n(1581);e.exports=class Toml extends a{bump=async e=>{const t=this.read();const n=o.parse(t);const a=s.get(n,this.versionPath,null);this.newVersion=await l(e,a);if(a){const e=this.versionPath.split(".").pop();i.info(`Bumped file "${this.fileLocation}" from "${a}" to "${this.newVersion}"`);this.update(t.replace(`${e} = "${a}"`,`${e} = "${this.newVersion}"`))}else{s.set(n,this.versionPath,this.newVersion);this.update(o.stringify(n))}}}},5731:(e,t,n)=>{const i=n(2186);const s=n(7934);const o=n(3552);const a=n(3030);const l=n(1581);e.exports=class Yaml extends a{bump=async e=>{const t=this.read();const n=o.parse(t)||{};const a=s.get(n,this.versionPath,null);this.newVersion=await l(e,a);if(a){const e=this.versionPath.split(".").pop();i.info(`Bumped file "${this.fileLocation}" from "${a}" to "${this.newVersion}"`);this.update(t.replace(`${e}: '${a}'`,`${e}: '${this.newVersion}'`).replace(`${e}: "${a}"`,`${e}: "${this.newVersion}"`).replace(`${e}: ${a}`,`${e}: ${this.newVersion}`))}else{s.set(n,this.versionPath,this.newVersion);this.update(o.stringify(n))}}}},6035:e=>{"use strict";e.exports=JSON.parse('{"issue":"issue","commit":"commits","referenceActions":["close","closes","closed","closing","fix","fixes","fixed","fixing","resolve","resolves","resolved","resolving"],"issuePrefixes":["#"]}')},8560:e=>{"use strict";e.exports=JSON.parse('{"issue":"issues","commit":"commit","referenceActions":["close","closes","closed","fix","fixes","fixed","resolve","resolves","resolved"],"issuePrefixes":["#","gh-"]}')},130:e=>{"use strict";e.exports=JSON.parse('{"issue":"issues","commit":"commit","referenceActions":["close","closes","closed","closing","fix","fixes","fixed","fixing"],"issuePrefixes":["#"]}')},3991:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],"buffer_ieee754":"< 0.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":true,"node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],"_http_agent":">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],"_http_client":">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],"_http_common":">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],"_http_incoming":">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],"_http_outgoing":">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],"_http_server":">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],"http":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12","os":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],"process":">= 1","node:process":[">= 14.18 && < 15",">= 16"],"punycode":true,"node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],"_stream_transform":">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],"_stream_wrap":">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],"_stream_passthrough":">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],"_stream_readable":">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],"_stream_writable":">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],"stream":true,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5","string_decoder":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.6 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"timers":true,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],"_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],"tls":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8":">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"vm":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":true,"node:zlib":[">= 14.18 && < 15",">= 16"]}')},9043:e=>{"use strict";e.exports=JSON.parse('{"topLevel":{"dependancies":"dependencies","dependecies":"dependencies","depdenencies":"dependencies","devEependencies":"devDependencies","depends":"dependencies","dev-dependencies":"devDependencies","devDependences":"devDependencies","devDepenencies":"devDependencies","devdependencies":"devDependencies","repostitory":"repository","repo":"repository","prefereGlobal":"preferGlobal","hompage":"homepage","hampage":"homepage","autohr":"author","autor":"author","contributers":"contributors","publicationConfig":"publishConfig","script":"scripts"},"bugs":{"web":"url","name":"url"},"script":{"server":"start","tests":"test"}}')},8402:e=>{"use strict";e.exports=JSON.parse('{"repositories":"\'repositories\' (plural) Not supported. Please pick one as the \'repository\' field","missingRepository":"No repository field.","brokenGitUrl":"Probably broken git url: %s","nonObjectScripts":"scripts must be an object","nonStringScript":"script values must be string commands","nonArrayFiles":"Invalid \'files\' member","invalidFilename":"Invalid filename in \'files\' list: %s","nonArrayBundleDependencies":"Invalid \'bundleDependencies\' list. Must be array of package names","nonStringBundleDependency":"Invalid bundleDependencies member: %s","nonDependencyBundleDependency":"Non-dependency in bundleDependencies: %s","nonObjectDependencies":"%s field must be an object","nonStringDependency":"Invalid dependency: %s %s","deprecatedArrayDependencies":"specifying %s as array is deprecated","deprecatedModules":"modules field is deprecated","nonArrayKeywords":"keywords should be an array of strings","nonStringKeyword":"keywords should be an array of strings","conflictingName":"%s is also the name of a node core module.","nonStringDescription":"\'description\' field should be a string","missingDescription":"No description","missingReadme":"No README data","missingLicense":"No license field.","nonEmailUrlBugsString":"Bug string field must be url, email, or {email,url}","nonUrlBugsUrlField":"bugs.url field must be a string url. Deleted.","nonEmailBugsEmailField":"bugs.email field must be a string email. Deleted.","emptyNormalizedBugs":"Normalized value of bugs field is an empty object. Deleted.","nonUrlHomepage":"homepage field must be a string url. Deleted.","invalidLicense":"license should be a valid SPDX license expression","typo":"%s should probably be %s."}')},6659:e=>{"use strict";e.exports=JSON.parse('{"topLevel":{"dependancies":"dependencies","dependecies":"dependencies","depdenencies":"dependencies","devEependencies":"devDependencies","depends":"dependencies","dev-dependencies":"devDependencies","devDependences":"devDependencies","devDepenencies":"devDependencies","devdependencies":"devDependencies","repostitory":"repository","repo":"repository","prefereGlobal":"preferGlobal","hompage":"homepage","hampage":"homepage","autohr":"author","autor":"author","contributers":"contributors","publicationConfig":"publishConfig","script":"scripts"},"bugs":{"web":"url","name":"url"},"script":{"server":"start","tests":"test"}}')},4136:e=>{"use strict";e.exports=JSON.parse('{"repositories":"\'repositories\' (plural) Not supported. Please pick one as the \'repository\' field","missingRepository":"No repository field.","brokenGitUrl":"Probably broken git url: %s","nonObjectScripts":"scripts must be an object","nonStringScript":"script values must be string commands","nonArrayFiles":"Invalid \'files\' member","invalidFilename":"Invalid filename in \'files\' list: %s","nonArrayBundleDependencies":"Invalid \'bundleDependencies\' list. Must be array of package names","nonStringBundleDependency":"Invalid bundleDependencies member: %s","nonDependencyBundleDependency":"Non-dependency in bundleDependencies: %s","nonObjectDependencies":"%s field must be an object","nonStringDependency":"Invalid dependency: %s %s","deprecatedArrayDependencies":"specifying %s as array is deprecated","deprecatedModules":"modules field is deprecated","nonArrayKeywords":"keywords should be an array of strings","nonStringKeyword":"keywords should be an array of strings","conflictingName":"%s is also the name of a node core module.","nonStringDescription":"\'description\' field should be a string","missingDescription":"No description","missingReadme":"No README data","missingLicense":"No license field.","nonEmailUrlBugsString":"Bug string field must be url, email, or {email,url}","nonUrlBugsUrlField":"bugs.url field must be a string url. Deleted.","nonEmailBugsEmailField":"bugs.email field must be a string email. Deleted.","emptyNormalizedBugs":"Normalized value of bugs field is an empty object. Deleted.","nonUrlHomepage":"homepage field must be a string url. Deleted.","invalidLicense":"license should be a valid SPDX license expression","typo":"%s should probably be %s."}')},5537:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},9752:e=>{"use strict";e.exports=JSON.parse('["389-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-3.1","gnu-javamail-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","i2p-gpl-java-exception","Libtool-exception","Linux-syscall-note","LLVM-exception","LZMA-exception","mif-exception","Nokia-Qt-exception-1.1","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PS-or-PDF-font-exception-20170817","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","Swift-exception","u-boot-exception-2.0","Universal-FOSS-exception-1.0","WxWindows-exception-3.1"]')},4185:e=>{"use strict";e.exports=JSON.parse('["AGPL-1.0","AGPL-3.0","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-2.0","GPL-2.0-with-GCC-exception","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-3.0","GPL-3.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","LGPL-2.0","LGPL-2.1","LGPL-3.0","Nunit","StandardML-NJ","eCos-2.0","wxWindows"]')},2172:e=>{"use strict";e.exports=JSON.parse('["0BSD","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMDPLPA","AML","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","Abstyles","Adobe-2006","Adobe-Glyph","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-Protection","BSD-Source-Code","BSL-1.0","BUSL-1.1","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","BlueOak-1.0.0","Borceux","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-DE","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-4.0","CC-PDDC","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","ClArtistic","Condor-1.1","Crossword","CrystalStacker","Cube","D-FSL-1.0","DOC","DRL-1.0","DSDP","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Entessa","ErlPL-1.1","Eurosym","FSFAP","FSFUL","FSFULLR","FTL","Fair","Frameworx-1.0","FreeBSD-DOC","FreeImage","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","HPND","HPND-sell-variant","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IJG","IPA","IPL-1.0","ISC","ImageMagick","Imlib2","Info-ZIP","Intel","Intel-ACPI","Interbase-1.0","JPNIC","JSON","JasPer-2.0","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","Latex2e","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","MIT","MIT-0","MIT-CMU","MIT-Modern-Variant","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MITNFA","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-PL","MS-RL","MTLL","MakeIndex","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCGL-UK-2.0","NCSA","NGPL","NIST-PD","NIST-PD-fallback","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","Net-SNMP","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OML","OPL-1.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenSSL","PDDL-1.0","PHP-3.0","PHP-3.01","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","QPL-1.0","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","SAX-PD","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSPL-1.0","SWL","Saxpath","Sendmail","Sendmail-8.23","SimPL-2.0","Sleepycat","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","TAPR-OHL-1.0","TCL","TCP-wrappers","TMate","TORQUE-1.1","TOSL","TU-Berlin-1.0","TU-Berlin-2.0","UCL-1.0","UPL-1.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Wsuipa","X11","XFree86-1.1","XSkat","Xerox","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","blessing","bzip2-1.0.5","bzip2-1.0.6","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","diffmark","dvipdfm","eGenix","etalab-2.0","gSOAP-1.3b","gnuplot","iMatix","libpng-2.0","libselinux-1.0","libtiff","mpich2","psfrag","psutils","xinetd","xpp","zlib-acknowledgement"]')},2357:e=>{"use strict";e.exports=require("assert")},4293:e=>{"use strict";e.exports=require("buffer")},3129:e=>{"use strict";e.exports=require("child_process")},7619:e=>{"use strict";e.exports=require("constants")},8614:e=>{"use strict";e.exports=require("events")},5747:e=>{"use strict";e.exports=require("fs")},8605:e=>{"use strict";e.exports=require("http")},7211:e=>{"use strict";e.exports=require("https")},1631:e=>{"use strict";e.exports=require("net")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},1765:e=>{"use strict";e.exports=require("process")},2413:e=>{"use strict";e.exports=require("stream")},4304:e=>{"use strict";e.exports=require("string_decoder")},8213:e=>{"use strict";e.exports=require("timers")},4016:e=>{"use strict";e.exports=require("tls")},8835:e=>{"use strict";e.exports=require("url")},1669:e=>{"use strict";e.exports=require("util")}};var __webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var n=__webpack_module_cache__[e]={id:e,loaded:false,exports:{}};var i=true;try{__webpack_modules__[e].call(n.exports,n,n.exports,__nccwpck_require__);i=false}finally{if(i)delete __webpack_module_cache__[e]}n.loaded=true;return n.exports}(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__={};(()=>{const e=__nccwpck_require__(2186);const t=__nccwpck_require__(7011);const n=__nccwpck_require__(5622);__nccwpck_require__(8143);const i=__nccwpck_require__(6286);const s=__nccwpck_require__(4881);const o=__nccwpck_require__(1749);const a=__nccwpck_require__(4492);async function handleVersioningByExtension(e,t,s,o){const a=i(e);if(a===null){throw new Error(`File extension "${e}" from file "${t}" is not supported`)}a.init(n.resolve(process.cwd(),t),s);await a.bump(o);return a}async function run(){try{const n=e.getInput("git-message");const i=e.getInput("git-user-name");const l=e.getInput("git-user-email");const u=e.getInput("git-push").toLowerCase()==="true";const c=e.getInput("tag-prefix");const f=!e.getInput("config-file-path")?e.getInput("preset"):"";const p=e.getInput("pre-commit");const h=e.getInput("output-file");const d=e.getInput("release-count");const m=e.getInput("version-file");const g=e.getInput("version-path");const y=e.getInput("skip-version-file").toLowerCase()==="true";const v=e.getInput("skip-commit").toLowerCase()==="true";const b=e.getInput("skip-on-empty").toLowerCase()==="true";const w=e.getInput("config-file-path");const S=e.getInput("pre-changelog-generation");e.info(`Using "${f}" preset`);e.info(`Using "${n}" as commit message`);e.info(`Using "${i}" as git user.name`);e.info(`Using "${l}" as git user.email`);e.info(`Using "${d}" release count`);e.info(`Using "${m}" as version file`);e.info(`Using "${g}" as version path`);e.info(`Using "${c}" as tag prefix`);e.info(`Using "${h}" as output file`);e.info(`Using "${w}" as config file`);if(p){e.info(`Using "${p}" as pre-commit script`)}if(S){e.info(`Using "${S}" as pre-changelog-generation script`)}e.info(`Skipping empty releases is "${b?"enabled":"disabled"}"`);e.info(`Skipping the update of the version file is "${y?"enabled":"disabled"}"`);e.info("Pull to make sure we have the full git history");await s.pull();const E=w&&a(w);t({preset:f,tagPrefix:c,config:E},(async(t,i)=>{if(t){e.setFailed(t.message);return}e.info(`Recommended release type: ${i.releaseType}`);if(i.reason){e.info(`Because: ${i.reason}`)}let l;if(y||v){e.info("Using GIT to determine the new version");const t=await handleVersioningByExtension("git",m,g,i.releaseType);l=t.newVersion}else{const t=m.split(",").map((e=>e.trim()));e.info(`Files to bump: ${t.join(", ")}`);const n=await Promise.all(t.map((t=>{const n=t.split(".").pop();e.info(`Bumping version to file "${t}" with extension "${n}"`);return handleVersioningByExtension(n,t,g,i.releaseType)})));l=n[0].newVersion}let w=`${c}${l}`;if(S){const t=a(S);if(t&&t.preTagGeneration){const n=await t.preTagGeneration(w);if(n){e.info(`Using modified tag "${n}"`);w=n}}}const _=await o.generateStringChangelog(c,f,l,1,E);e.info("Changelog generated");e.info(_);const O=_.split("\n").slice(3).join("\n").trim();if(b&&O===""){e.info("Generated changelog is empty and skip-on-empty has been activated so we skip this step");e.setOutput("skipped","true");return}e.info(`New version: ${l}`);if(h!=="false"){await o.generateFileChangelog(c,f,l,h,d,E)}if(!v){if(p){const e=a(p);if(e&&e.preCommit){await e.preCommit({tag:w,version:l})}}await s.add(".");await s.commit(n.replace("{version}",w))}await s.createTag(w);if(u){try{e.info("Push all changes");await s.push()}catch(t){console.error(t);e.setFailed(t);return}}else{e.info("We not going to push the GIT changes")}e.setOutput("changelog",_);e.setOutput("clean_changelog",O);e.setOutput("version",l);e.setOutput("tag",w);e.setOutput("skipped","false");try{s.testHistory()}catch(t){console.error(t);e.setFailed(t)}}))}catch(t){e.setFailed(t)}}run()})();module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/lib/template.hbs b/lib/template.hbs deleted file mode 100644 index 38e15d2..0000000 --- a/lib/template.hbs +++ /dev/null @@ -1,16 +0,0 @@ -{{> header}} - -{{#each commitGroups}} - -{{#if title}} -### {{title}} - -{{/if}} -{{#each commits}} -{{> commit root=@root}} -{{/each}} - -{{/each}} -{{> footer}} - - diff --git a/lib/template1.hbs b/lib/template1.hbs deleted file mode 100644 index 2c1349a..0000000 --- a/lib/template1.hbs +++ /dev/null @@ -1,11 +0,0 @@ -{{> header}} - -{{#each commitGroups}} -{{#each commits}} -{{> commit root=@root}} -{{/each}} -{{/each}} - -{{> footer}} - - diff --git a/package-lock.json b/package-lock.json index 4d0eaae..deec70c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "conventional-changelog-action", - "version": "3.9.2", + "version": "3.9.4", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -56,378 +56,6 @@ "js-tokens": "^4.0.0" } }, - "@commitlint/cli": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-13.2.0.tgz", - "integrity": "sha512-RqG0cxxiwaL9OgQbA2ZEfZaVIRJmbtsZgnj5G07AjN7///s/40grSN4/kDl8YjUgvAZskPfJRoGGYNvHJ4zHWA==", - "dev": true, - "requires": { - "@commitlint/format": "^13.2.0", - "@commitlint/lint": "^13.2.0", - "@commitlint/load": "^13.2.0", - "@commitlint/read": "^13.2.0", - "@commitlint/types": "^13.2.0", - "lodash": "^4.17.19", - "resolve-from": "5.0.0", - "resolve-global": "1.0.0", - "yargs": "^17.0.0" - } - }, - "@commitlint/config-conventional": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-13.2.0.tgz", - "integrity": "sha512-7u7DdOiF+3qSdDlbQGfpvCH8DCQdLFvnI2+VucYmmV7E92iD6t9PBj+UjIoSQCaMAzYp27Vkall78AkcXBh6Xw==", - "dev": true, - "requires": { - "conventional-changelog-conventionalcommits": "^4.3.1" - } - }, - "@commitlint/ensure": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-13.2.0.tgz", - "integrity": "sha512-rqhT62RehdLTRBu8OrPHnRCCd/7RmHEE4TiTlT4BLlr5ls5jlZhecOQWJ8np872uCNirrJ5NFjnjYYdbkNoW9Q==", - "dev": true, - "requires": { - "@commitlint/types": "^13.2.0", - "lodash": "^4.17.19" - } - }, - "@commitlint/execute-rule": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-13.2.0.tgz", - "integrity": "sha512-6nPwpN0hwTYmsH3WM4hCdN+NrMopgRIuQ0aqZa+jnwMoS/g6ljliQNYfL+m5WO306BaIu1W3yYpbW5aI8gEr0g==", - "dev": true - }, - "@commitlint/format": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-13.2.0.tgz", - "integrity": "sha512-yNBQJe6YFhM1pJAta4LvzQxccSKof6axJH7ALYjuhQqfT8AKlad7Y/2SuJ07ioyreNIqwOTuF2UfU8yJ7JzEIQ==", - "dev": true, - "requires": { - "@commitlint/types": "^13.2.0", - "chalk": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "@commitlint/is-ignored": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-13.2.0.tgz", - "integrity": "sha512-onnx4WctHFPPkHGFFAZBIWRSaNwuhixIIfbwPhcZ6IewwQX5n4jpjwM1GokA7vhlOnQ57W7AavbKUGjzIVtnRQ==", - "dev": true, - "requires": { - "@commitlint/types": "^13.2.0", - "semver": "7.3.5" - } - }, - "@commitlint/lint": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-13.2.0.tgz", - "integrity": "sha512-5XYkh0e9ehHjA7BxAHFpjPgr1qqbFY8OFG1wpBiAhycbYBtJnQmculA2wcwqTM40YCUBqEvWFdq86jTG8fbkMw==", - "dev": true, - "requires": { - "@commitlint/is-ignored": "^13.2.0", - "@commitlint/parse": "^13.2.0", - "@commitlint/rules": "^13.2.0", - "@commitlint/types": "^13.2.0" - } - }, - "@commitlint/load": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-13.2.0.tgz", - "integrity": "sha512-Nhkv+hwWCCxWGjmE9jd1U8kfGGCkZVpwzlTtdKxpY+Aj2VCFg3BjY+qA81pMF3oAsIpxchSaZG5llb8kduVjYg==", - "dev": true, - "requires": { - "@commitlint/execute-rule": "^13.2.0", - "@commitlint/resolve-extends": "^13.2.0", - "@commitlint/types": "^13.2.0", - "@endemolshinegroup/cosmiconfig-typescript-loader": "^3.0.2", - "chalk": "^4.0.0", - "cosmiconfig": "^7.0.0", - "lodash": "^4.17.19", - "resolve-from": "^5.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "@commitlint/message": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/message/-/message-13.2.0.tgz", - "integrity": "sha512-+LlErJj2F2AC86xJb33VJIvSt25xqSF1I0b0GApSgoUtQBeJhx4SxIj1BLvGcLVmbRmbgTzAFq/QylwLId7EhA==", - "dev": true - }, - "@commitlint/parse": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-13.2.0.tgz", - "integrity": "sha512-AtfKSQJQADbDhW+kuC5PxOyBANsYCuuJlZRZ2PYslOz2rvWwZ93zt+nKjM4g7C9ETbz0uq4r7/EoOsTJ2nJqfQ==", - "dev": true, - "requires": { - "@commitlint/types": "^13.2.0", - "conventional-changelog-angular": "^5.0.11", - "conventional-commits-parser": "^3.2.2" - } - }, - "@commitlint/read": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-13.2.0.tgz", - "integrity": "sha512-7db5e1Bn3re6hQN0SqygTMF/QX6/MQauoJn3wJiUHE93lvwO6aFQxT3qAlYeyBPwfWsmDz/uSH454jtrSsv3Uw==", - "dev": true, - "requires": { - "@commitlint/top-level": "^13.2.0", - "@commitlint/types": "^13.2.0", - "fs-extra": "^10.0.0", - "git-raw-commits": "^2.0.0" - } - }, - "@commitlint/resolve-extends": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-13.2.0.tgz", - "integrity": "sha512-HLCMkqMKtvl1yYLZ1Pm0UpFvd0kYjsm1meLOGZ7VkOd9G/XX+Fr1S2G5AT2zeiDw7WUVYK8lGVMNa319bnV+aw==", - "dev": true, - "requires": { - "import-fresh": "^3.0.0", - "lodash": "^4.17.19", - "resolve-from": "^5.0.0", - "resolve-global": "^1.0.0" - } - }, - "@commitlint/rules": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-13.2.0.tgz", - "integrity": "sha512-O3A9S7blOzvHfzrJrUQe9JxdtGy154ol/GXHwvd8WfMJ10y5ryBB4b6+0YZ1XhItWzrEASOfOKbD++EdLV90dQ==", - "dev": true, - "requires": { - "@commitlint/ensure": "^13.2.0", - "@commitlint/message": "^13.2.0", - "@commitlint/to-lines": "^13.2.0", - "@commitlint/types": "^13.2.0", - "execa": "^5.0.0" - } - }, - "@commitlint/to-lines": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-13.2.0.tgz", - "integrity": "sha512-ZfWZix2y/CzewReCrj5g0nKOEfj5HW9eBMDrqjJJMPApve00CWv0tYrFCGXuGlv244lW4uvWJt6J/0HLRWsfyg==", - "dev": true - }, - "@commitlint/top-level": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-13.2.0.tgz", - "integrity": "sha512-knBvWYbIq6VV6VPHrVeDsxDiJq4Zq6cv5NIYU3iesKAsmK2KlLfsZPa+Ig96Y4AqAPU3zNJwjHxYkz9qxdBbfA==", - "dev": true, - "requires": { - "find-up": "^5.0.0" - }, - "dependencies": { - "find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dev": true, - "requires": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dev": true, - "requires": { - "p-locate": "^5.0.0" - } - }, - "p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "requires": { - "yocto-queue": "^0.1.0" - } - }, - "p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dev": true, - "requires": { - "p-limit": "^3.0.2" - } - } - } - }, - "@commitlint/types": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-13.2.0.tgz", - "integrity": "sha512-RRVHEqmk1qn/dIaSQhvuca6k/6Z54G+r/KyimZ8gnAFielGiGUpsFRhIY3qhd5rXClVxDaa3nlcyTWckSccotQ==", - "dev": true, - "requires": { - "chalk": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "@endemolshinegroup/cosmiconfig-typescript-loader": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@endemolshinegroup/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-3.0.2.tgz", - "integrity": "sha512-QRVtqJuS1mcT56oHpVegkKBlgtWjXw/gHNWO3eL9oyB5Sc7HBoc2OLG/nYpVfT/Jejvo3NUrD0Udk7XgoyDKkA==", - "dev": true, - "requires": { - "lodash.get": "^4", - "make-error": "^1", - "ts-node": "^9", - "tslib": "^2" - } - }, "@hutson/parse-repository-url": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", @@ -448,18 +76,6 @@ "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" }, - "@types/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", - "dev": true - }, - "@vercel/ncc": { - "version": "0.31.1", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.31.1.tgz", - "integrity": "sha512-g0FAxwdViI6UzsiVz5HssIHqjcPa1EHL6h+2dcJD893SoCJaGdqqgUF09xnMW6goWnnhbLvgiKlgJWrJa+7qYA==", - "dev": true - }, "JSONStream": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", @@ -487,12 +103,6 @@ "color-convert": "^1.9.0" } }, - "arg": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", - "dev": true - }, "array-ify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", @@ -508,12 +118,6 @@ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" }, - "callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true - }, "camelcase": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", @@ -539,23 +143,6 @@ "supports-color": "^5.3.0" } }, - "ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", - "dev": true - }, - "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, "color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", @@ -578,12 +165,6 @@ "dot-prop": "^5.1.0" } }, - "compare-versions": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz", - "integrity": "sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==", - "dev": true - }, "concat-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", @@ -780,44 +361,6 @@ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" }, - "cosmiconfig": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz", - "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==", - "dev": true, - "requires": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" - }, - "dependencies": { - "path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true - } - } - }, - "create-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", - "dev": true - }, - "cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, "dargs": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", @@ -849,12 +392,6 @@ } } }, - "diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true - }, "dot-prop": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", @@ -886,23 +423,6 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, - "execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - } - }, "find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -912,26 +432,6 @@ "path-exists": "^4.0.0" } }, - "find-versions": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-3.2.0.tgz", - "integrity": "sha512-P8WRou2S+oe222TOCHitLy8zj+SIsVJh52VP4lvXkaFVnOFFdoWv1H1Jjvel1aI6NCFOAaeAVm8qrI0odiLcww==", - "dev": true, - "requires": { - "semver-regex": "^2.0.0" - } - }, - "fs-extra": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz", - "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", @@ -1051,12 +551,6 @@ } } }, - "get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true - }, "git-raw-commits": { "version": "2.0.10", "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.10.tgz", @@ -1102,15 +596,6 @@ "ini": "^1.3.2" } }, - "global-dirs": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", - "integrity": "sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU=", - "dev": true, - "requires": { - "ini": "^1.3.4" - } - }, "graceful-fs": { "version": "4.2.8", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", @@ -1154,99 +639,6 @@ "lru-cache": "^6.0.0" } }, - "human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true - }, - "husky": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.6.tgz", - "integrity": "sha512-o6UjVI8xtlWRL5395iWq9LKDyp/9TE7XMOTvIpEVzW638UcGxTmV5cfel6fsk/jbZSTlvfGVJf2svFtybcIZag==", - "dev": true, - "requires": { - "chalk": "^4.0.0", - "ci-info": "^2.0.0", - "compare-versions": "^3.6.0", - "cosmiconfig": "^7.0.0", - "find-versions": "^3.2.0", - "opencollective-postinstall": "^2.0.2", - "pkg-dir": "^4.2.0", - "please-upgrade-node": "^3.2.0", - "slash": "^3.0.0", - "which-pm-runs": "^1.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "import-fresh": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz", - "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==", - "dev": true, - "requires": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "dependencies": { - "resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true - } - } - }, "indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", @@ -1290,12 +682,6 @@ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=" }, - "is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true - }, "is-text-path": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", @@ -1309,12 +695,6 @@ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true - }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -1335,16 +715,6 @@ "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, "jsonparse": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", @@ -1400,12 +770,6 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, - "lodash.get": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", - "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", - "dev": true - }, "lodash.ismatch": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", @@ -1419,12 +783,6 @@ "yallist": "^4.0.0" } }, - "make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", - "dev": true - }, "map-obj": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", @@ -1506,18 +864,6 @@ } } }, - "merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true - }, "min-indent": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", @@ -1559,35 +905,11 @@ "validate-npm-package-license": "^3.0.1" } }, - "npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "requires": { - "path-key": "^3.0.0" - } - }, "object-path": { "version": "0.11.8", "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.11.8.tgz", "integrity": "sha512-YJjNZrlXJFM42wTBn6zgOJVar9KFJvzx6sTWDte8sWZF//cnjl0BxHNpfZx+ZffXX63A9q0b1zsFiBX4g4X5KA==" }, - "onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "requires": { - "mimic-fn": "^2.1.0" - } - }, - "opencollective-postinstall": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz", - "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==", - "dev": true - }, "p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -1609,15 +931,6 @@ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" }, - "parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "requires": { - "callsites": "^3.0.0" - } - }, "parse-json": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", @@ -1634,12 +947,6 @@ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true - }, "path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", @@ -1665,24 +972,6 @@ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" }, - "pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "requires": { - "find-up": "^4.0.0" - } - }, - "please-upgrade-node": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz", - "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==", - "dev": true, - "requires": { - "semver-compare": "^1.0.0" - } - }, "process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", @@ -1818,21 +1107,6 @@ "path-parse": "^1.0.6" } }, - "resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true - }, - "resolve-global": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/resolve-global/-/resolve-global-1.0.0.tgz", - "integrity": "sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==", - "dev": true, - "requires": { - "global-dirs": "^0.1.1" - } - }, "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -1846,60 +1120,11 @@ "lru-cache": "^6.0.0" } }, - "semver-compare": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", - "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", - "dev": true - }, - "semver-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz", - "integrity": "sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw==", - "dev": true - }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true - }, - "signal-exit": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz", - "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==", - "dev": true - }, - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true - }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, - "source-map-support": { - "version": "0.5.20", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.20.tgz", - "integrity": "sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==", - "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, "spdx-correct": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", @@ -1975,12 +1200,6 @@ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" }, - "strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true - }, "strip-indent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", @@ -2020,26 +1239,6 @@ "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==" }, - "ts-node": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-9.1.1.tgz", - "integrity": "sha512-hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg==", - "dev": true, - "requires": { - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "source-map-support": "^0.5.17", - "yn": "3.1.1" - } - }, - "tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", - "dev": true - }, "tunnel": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", @@ -2061,12 +1260,6 @@ "integrity": "sha512-rtPMlmcO4agTUfz10CbgJ1k6UAoXM2gWb3GoMPPZB/+/Ackf8lNWk11K4rYi2D0apgoFRLtQOZhb+/iGNJq26A==", "optional": true }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -2081,74 +1274,16 @@ "spdx-expression-parse": "^3.0.0" } }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - }, - "which-pm-runs": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz", - "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=", - "dev": true - }, "wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=" }, - "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - } - } - }, "xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" }, - "y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true - }, "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", @@ -2159,37 +1294,10 @@ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" }, - "yargs": { - "version": "17.2.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.2.1.tgz", - "integrity": "sha512-XfR8du6ua4K6uLGm5S6fA+FIJom/MdJcFNVY8geLlp2v8GYbOXD4EB1tPNZsRn4vBzKGMgb5DRZMeWuFc2GO8Q==", - "dev": true, - "requires": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - } - }, "yargs-parser": { "version": "20.2.9", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" - }, - "yn": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", - "dev": true - }, - "yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true } } } diff --git a/package.json b/package.json index de8ec87..8791405 100644 --- a/package.json +++ b/package.json @@ -21,13 +21,9 @@ "license": "MIT", "author": { "name": "Tycho Bokdam", - "email": "tycho@palmtreecoding.com" - }, - "main": "lib/index.js", - "scripts": { - "build": "ncc build src/index.js --minify --out lib", - "watch": "ncc build src/index.js --watch" + "email": "github@palmtreecoding.com" }, + "main": "src/index.js", "dependencies": { "@actions/core": "1.6.0", "@actions/exec": "1.1.0", @@ -39,11 +35,5 @@ "object-path": "^0.11.8", "semver": "^7.3.5", "yaml": "^1.10.2" - }, - "devDependencies": { - "@commitlint/cli": "13.2.0", - "@commitlint/config-conventional": "13.2.0", - "@vercel/ncc": "^0.31.1", - "husky": "4.3.6" } -} \ No newline at end of file +}