From 71fd109a93d98fce5ec8aa18e8073b51bc19c7c3 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 29 Nov 2020 22:16:01 +0900 Subject: [PATCH] chore(release): Remove build assets [skip ci] --- lib/index.js | 1 - 1 file changed, 1 deletion(-) delete mode 100644 lib/index.js diff --git a/lib/index.js b/lib/index.js deleted file mode 100644 index 6fd3f240..00000000 --- a/lib/index.js +++ /dev/null @@ -1 +0,0 @@ -module.exports=(()=>{var __webpack_modules__={7351:function(e,r,n){"use strict";var t=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(Object.hasOwnProperty.call(e,n))r[n]=e[n];r["default"]=e;return r};Object.defineProperty(r,"__esModule",{value:true});const o=t(n(2087));const i=n(5278);function issueCommand(e,r,n){const t=new Command(e,r,n);process.stdout.write(t.toString()+o.EOL)}r.issueCommand=issueCommand;function issue(e,r=""){issueCommand(e,{},r)}r.issue=issue;const s="::";class Command{constructor(e,r,n){if(!e){e="missing.command"}this.command=e;this.properties=r;this.message=n}toString(){let e=s+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=true;for(const n in this.properties){if(this.properties.hasOwnProperty(n)){const t=this.properties[n];if(t){if(r){r=false}else{e+=","}e+=`${n}=${escapeProperty(t)}`}}}}e+=`${s}${escapeData(this.message)}`;return e}}function escapeData(e){return i.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return i.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(e,r,n){"use strict";var t=this&&this.__awaiter||function(e,r,n,t){function adopt(e){return e instanceof n?e:new n(function(r){r(e)})}return new(n||(n=Promise))(function(n,o){function fulfilled(e){try{step(t.next(e))}catch(e){o(e)}}function rejected(e){try{step(t["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((t=t.apply(e,r||[])).next())})};var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(Object.hasOwnProperty.call(e,n))r[n]=e[n];r["default"]=e;return r};Object.defineProperty(r,"__esModule",{value:true});const i=n(7351);const s=n(717);const c=n(5278);const u=o(n(2087));const a=o(n(5622));var l;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(l=r.ExitCode||(r.ExitCode={}));function exportVariable(e,r){const n=c.toCommandValue(r);process.env[e]=n;const t=process.env["GITHUB_ENV"]||"";if(t){const r="_GitHubActionsFileCommandDelimeter_";const t=`${e}<<${r}${u.EOL}${n}${u.EOL}${r}`;s.issueCommand("ENV",t)}else{i.issueCommand("set-env",{name:e},n)}}r.exportVariable=exportVariable;function setSecret(e){i.issueCommand("add-mask",{},e)}r.setSecret=setSecret;function addPath(e){const r=process.env["GITHUB_PATH"]||"";if(r){s.issueCommand("PATH",e)}else{i.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${a.delimiter}${process.env["PATH"]}`}r.addPath=addPath;function getInput(e,r){const n=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(r&&r.required&&!n){throw new Error(`Input required and not supplied: ${e}`)}return n.trim()}r.getInput=getInput;function setOutput(e,r){i.issueCommand("set-output",{name:e},r)}r.setOutput=setOutput;function setCommandEcho(e){i.issue("echo",e?"on":"off")}r.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=l.Failure;error(e)}r.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}r.isDebug=isDebug;function debug(e){i.issueCommand("debug",{},e)}r.debug=debug;function error(e){i.issue("error",e instanceof Error?e.toString():e)}r.error=error;function warning(e){i.issue("warning",e instanceof Error?e.toString():e)}r.warning=warning;function info(e){process.stdout.write(e+u.EOL)}r.info=info;function startGroup(e){i.issue("group",e)}r.startGroup=startGroup;function endGroup(){i.issue("endgroup")}r.endGroup=endGroup;function group(e,r){return t(this,void 0,void 0,function*(){startGroup(e);let n;try{n=yield r()}finally{endGroup()}return n})}r.group=group;function saveState(e,r){i.issueCommand("save-state",{name:e},r)}r.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}r.getState=getState},717:function(e,r,n){"use strict";var t=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(Object.hasOwnProperty.call(e,n))r[n]=e[n];r["default"]=e;return r};Object.defineProperty(r,"__esModule",{value:true});const o=t(n(5747));const i=t(n(2087));const s=n(5278);function issueCommand(e,r){const n=process.env[`GITHUB_${e}`];if(!n){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!o.existsSync(n)){throw new Error(`Missing file at path: ${n}`)}o.appendFileSync(n,`${s.toCommandValue(r)}${i.EOL}`,{encoding:"utf8"})}r.issueCommand=issueCommand},5278:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}r.toCommandValue=toCommandValue},4087:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.Context=void 0;const t=n(5747);const o=n(2087);class Context{constructor(){this.payload={};if(process.env.GITHUB_EVENT_PATH){if(t.existsSync(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse(t.readFileSync(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const e=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${e} does not exist${o.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR;this.job=process.env.GITHUB_JOB;this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10);this.runId=parseInt(process.env.GITHUB_RUN_ID,10)}get issue(){const e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}r.Context=Context},5438:function(e,r,n){"use strict";var t=this&&this.__createBinding||(Object.create?function(e,r,n,t){if(t===undefined)t=n;Object.defineProperty(e,t,{enumerable:true,get:function(){return r[n]}})}:function(e,r,n,t){if(t===undefined)t=n;e[t]=r[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(Object.hasOwnProperty.call(e,n))t(r,e,n);o(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.getOctokit=r.context=void 0;const s=i(n(4087));const c=n(3030);r.context=new s.Context;function getOctokit(e,r){return new c.GitHub(c.getOctokitOptions(e,r))}r.getOctokit=getOctokit},7914:function(e,r,n){"use strict";var t=this&&this.__createBinding||(Object.create?function(e,r,n,t){if(t===undefined)t=n;Object.defineProperty(e,t,{enumerable:true,get:function(){return r[n]}})}:function(e,r,n,t){if(t===undefined)t=n;e[t]=r[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(Object.hasOwnProperty.call(e,n))t(r,e,n);o(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.getApiBaseUrl=r.getProxyAgent=r.getAuthString=void 0;const s=i(n(9925));function getAuthString(e,r){if(!e&&!r.auth){throw new Error("Parameter token or opts.auth is required")}else if(e&&r.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof r.auth==="string"?r.auth:`token ${e}`}r.getAuthString=getAuthString;function getProxyAgent(e){const r=new s.HttpClient;return r.getAgent(e)}r.getProxyAgent=getProxyAgent;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}r.getApiBaseUrl=getApiBaseUrl},3030:function(e,r,n){"use strict";var t=this&&this.__createBinding||(Object.create?function(e,r,n,t){if(t===undefined)t=n;Object.defineProperty(e,t,{enumerable:true,get:function(){return r[n]}})}:function(e,r,n,t){if(t===undefined)t=n;e[t]=r[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(Object.hasOwnProperty.call(e,n))t(r,e,n);o(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.getOctokitOptions=r.GitHub=r.context=void 0;const s=i(n(4087));const c=i(n(7914));const u=n(6762);const a=n(3044);const l=n(4193);r.context=new s.Context;const f=c.getApiBaseUrl();const p={baseUrl:f,request:{agent:c.getProxyAgent(f)}};r.GitHub=u.Octokit.plugin(a.restEndpointMethods,l.paginateRest).defaults(p);function getOctokitOptions(e,r){const n=Object.assign({},r||{});const t=c.getAuthString(e,n);if(t){n.auth=t}return n}r.getOctokitOptions=getOctokitOptions},9925:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const t=n(8835);const o=n(8605);const i=n(7211);const s=n(6443);let c;var u;(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"})(u=r.HttpCodes||(r.HttpCodes={}));var a;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(a=r.Headers||(r.Headers={}));var l;(function(e){e["ApplicationJson"]="application/json"})(l=r.MediaTypes||(r.MediaTypes={}));function getProxyUrl(e){let r=s.getProxyUrl(t.parse(e));return r?r.href:""}r.getProxyUrl=getProxyUrl;const f=[u.MovedPermanently,u.ResourceMoved,u.SeeOther,u.TemporaryRedirect,u.PermanentRedirect];const p=[u.BadGateway,u.ServiceUnavailable,u.GatewayTimeout];const d=["OPTIONS","GET","DELETE","HEAD"];const h=10;const m=5;class HttpClientResponse{constructor(e){this.message=e}readBody(){return new Promise(async(e,r)=>{let n=Buffer.alloc(0);this.message.on("data",e=>{n=Buffer.concat([n,e])});this.message.on("end",()=>{e(n.toString())})})}}r.HttpClientResponse=HttpClientResponse;function isHttps(e){let r=t.parse(e);return r.protocol==="https:"}r.isHttps=isHttps;class HttpClient{constructor(e,r,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=r||[];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,r){return this.request("OPTIONS",e,null,r||{})}get(e,r){return this.request("GET",e,null,r||{})}del(e,r){return this.request("DELETE",e,null,r||{})}post(e,r,n){return this.request("POST",e,r,n||{})}patch(e,r,n){return this.request("PATCH",e,r,n||{})}put(e,r,n){return this.request("PUT",e,r,n||{})}head(e,r){return this.request("HEAD",e,null,r||{})}sendStream(e,r,n,t){return this.request(e,r,n,t)}async getJson(e,r={}){r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson);let n=await this.get(e,r);return this._processResponse(n,this.requestOptions)}async postJson(e,r,n={}){let t=JSON.stringify(r,null,2);n[a.Accept]=this._getExistingOrDefaultHeader(n,a.Accept,l.ApplicationJson);n[a.ContentType]=this._getExistingOrDefaultHeader(n,a.ContentType,l.ApplicationJson);let o=await this.post(e,t,n);return this._processResponse(o,this.requestOptions)}async putJson(e,r,n={}){let t=JSON.stringify(r,null,2);n[a.Accept]=this._getExistingOrDefaultHeader(n,a.Accept,l.ApplicationJson);n[a.ContentType]=this._getExistingOrDefaultHeader(n,a.ContentType,l.ApplicationJson);let o=await this.put(e,t,n);return this._processResponse(o,this.requestOptions)}async patchJson(e,r,n={}){let t=JSON.stringify(r,null,2);n[a.Accept]=this._getExistingOrDefaultHeader(n,a.Accept,l.ApplicationJson);n[a.ContentType]=this._getExistingOrDefaultHeader(n,a.ContentType,l.ApplicationJson);let o=await this.patch(e,t,n);return this._processResponse(o,this.requestOptions)}async request(e,r,n,o){if(this._disposed){throw new Error("Client has already been disposed.")}let i=t.parse(r);let s=this._prepareRequest(e,i,o);let c=this._allowRetries&&d.indexOf(e)!=-1?this._maxRetries+1:1;let a=0;let l;while(a0){const c=l.message.headers["location"];if(!c){break}let u=t.parse(c);if(i.protocol=="https:"&&i.protocol!=u.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 l.readBody();if(u.hostname!==i.hostname){for(let e in o){if(e.toLowerCase()==="authorization"){delete o[e]}}}s=this._prepareRequest(e,u,o);l=await this.requestRaw(s,n);r--}if(p.indexOf(l.message.statusCode)==-1){return l}a+=1;if(a{let o=function(e,r){if(e){t(e)}n(r)};this.requestRawWithCallback(e,r,o)})}requestRawWithCallback(e,r,n){let t;if(typeof r==="string"){e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8")}let o=false;let i=(e,r)=>{if(!o){o=true;n(e,r)}};let s=e.httpModule.request(e.options,e=>{let r=new HttpClientResponse(e);i(null,r)});s.on("socket",e=>{t=e});s.setTimeout(this._socketTimeout||3*6e4,()=>{if(t){t.end()}i(new Error("Request timeout: "+e.options.path),null)});s.on("error",function(e){i(e,null)});if(r&&typeof r==="string"){s.write(r,"utf8")}if(r&&typeof r!=="string"){r.on("close",function(){s.end()});r.pipe(s)}else{s.end()}}getAgent(e){let r=t.parse(e);return this._getAgent(r)}_prepareRequest(e,r,n){const t={};t.parsedUrl=r;const s=t.parsedUrl.protocol==="https:";t.httpModule=s?i:o;const c=s?443:80;t.options={};t.options.host=t.parsedUrl.hostname;t.options.port=t.parsedUrl.port?parseInt(t.parsedUrl.port):c;t.options.path=(t.parsedUrl.pathname||"")+(t.parsedUrl.search||"");t.options.method=e;t.options.headers=this._mergeHeaders(n);if(this.userAgent!=null){t.options.headers["user-agent"]=this.userAgent}t.options.agent=this._getAgent(t.parsedUrl);if(this.handlers){this.handlers.forEach(e=>{e.prepareRequest(t.options)})}return t}_mergeHeaders(e){const r=e=>Object.keys(e).reduce((r,n)=>(r[n.toLowerCase()]=e[n],r),{});if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},r(this.requestOptions.headers),r(e))}return r(e||{})}_getExistingOrDefaultHeader(e,r,n){const t=e=>Object.keys(e).reduce((r,n)=>(r[n.toLowerCase()]=e[n],r),{});let o;if(this.requestOptions&&this.requestOptions.headers){o=t(this.requestOptions.headers)[r]}return e[r]||o||n}_getAgent(e){let r;let t=s.getProxyUrl(e);let u=t&&t.hostname;if(this._keepAlive&&u){r=this._proxyAgent}if(this._keepAlive&&!u){r=this._agent}if(!!r){return r}const a=e.protocol==="https:";let l=100;if(!!this.requestOptions){l=this.requestOptions.maxSockets||o.globalAgent.maxSockets}if(u){if(!c){c=n(4294)}const e={maxSockets:l,keepAlive:this._keepAlive,proxy:{proxyAuth:t.auth,host:t.hostname,port:t.port}};let o;const i=t.protocol==="https:";if(a){o=i?c.httpsOverHttps:c.httpsOverHttp}else{o=i?c.httpOverHttps:c.httpOverHttp}r=o(e);this._proxyAgent=r}if(this._keepAlive&&!r){const e={keepAlive:this._keepAlive,maxSockets:l};r=a?new i.Agent(e):new o.Agent(e);this._agent=r}if(!r){r=a?i.globalAgent:o.globalAgent}if(a&&this._ignoreSslError){r.options=Object.assign(r.options||{},{rejectUnauthorized:false})}return r}_performExponentialBackoff(e){e=Math.min(h,e);const r=m*Math.pow(2,e);return new Promise(e=>setTimeout(()=>e(),r))}static dateTimeDeserializer(e,r){if(typeof r==="string"){let e=new Date(r);if(!isNaN(e.valueOf())){return e}}return r}async _processResponse(e,r){return new Promise(async(n,t)=>{const o=e.message.statusCode;const i={statusCode:o,result:null,headers:{}};if(o==u.NotFound){n(i)}let s;let c;try{c=await e.readBody();if(c&&c.length>0){if(r&&r.deserializeDates){s=JSON.parse(c,HttpClient.dateTimeDeserializer)}else{s=JSON.parse(c)}i.result=s}i.headers=e.message.headers}catch(e){}if(o>299){let e;if(s&&s.message){e=s.message}else if(c&&c.length>0){e=c}else{e="Failed request: ("+o+")"}let r=new Error(e);r["statusCode"]=o;if(i.result){r["result"]=i.result}t(r)}else{n(i)}})}}r.HttpClient=HttpClient},6443:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const t=n(8835);function getProxyUrl(e){let r=e.protocol==="https:";let n;if(checkBypass(e)){return n}let o;if(r){o=process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{o=process.env["http_proxy"]||process.env["HTTP_PROXY"]}if(o){n=t.parse(o)}return n}r.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}let r=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!r){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 t=[e.hostname.toUpperCase()];if(typeof n==="number"){t.push(`${t[0]}:${n}`)}for(let e of r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)){if(t.some(r=>r===e)){return true}}return false}r.checkBypass=checkBypass},334:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});async function auth(e){const r=e.split(/\./).length===3?"app":/^v\d+\./.test(e)?"installation":"oauth";return{type:"token",token:e,tokenType:r}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,r,n,t){const o=r.endpoint.merge(n,t);o.headers.authorization=withAuthorizationPrefix(e);return r(o)}const n=function createTokenAuth(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};r.createTokenAuth=n},6762:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var t=n(5030);var o=n(3682);var i=n(6234);var s=n(8467);var c=n(334);function _defineProperty(e,r,n){if(r in e){Object.defineProperty(e,r,{value:n,enumerable:true,configurable:true,writable:true})}else{e[r]=n}return e}function ownKeys(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);if(r)t=t.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable});n.push.apply(n,t)}return n}function _objectSpread2(e){for(var r=1;r{},info:()=>{},warn:console.warn.bind(console),error:console.error.bind(console)},e.log);this.hook=r;if(!e.authStrategy){if(!e.auth){this.auth=(async()=>({type:"unauthenticated"}))}else{const n=c.createTokenAuth(e.auth);r.wrap("request",n.hook);this.auth=n}}else{const n=e.authStrategy(Object.assign({request:this.request},e.auth));r.wrap("request",n.hook);this.auth=n}const a=this.constructor;a.plugins.forEach(r=>{Object.assign(this,r(this,e))})}static defaults(e){const r=class extends(this){constructor(...r){const n=r[0]||{};if(typeof e==="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}};return r}static plugin(...e){var r;const n=this.plugins;const t=(r=class extends(this){},r.plugins=n.concat(e.filter(e=>!n.includes(e))),r);return t}}Octokit.VERSION=u;Octokit.plugins=[];r.Octokit=Octokit},9440:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var t=_interopDefault(n(4038));var o=n(5030);function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce((r,n)=>{r[n.toLowerCase()]=e[n];return r},{})}function mergeDeep(e,r){const n=Object.assign({},e);Object.keys(r).forEach(o=>{if(t(r[o])){if(!(o in e))Object.assign(n,{[o]:r[o]});else n[o]=mergeDeep(e[o],r[o])}else{Object.assign(n,{[o]:r[o]})}});return n}function merge(e,r,n){if(typeof r==="string"){let[e,t]=r.split(" ");n=Object.assign(t?{method:e,url:t}:{url:e},n)}else{n=Object.assign({},r)}n.headers=lowercaseKeys(n.headers);const t=mergeDeep(e||{},n);if(e&&e.mediaType.previews.length){t.mediaType.previews=e.mediaType.previews.filter(e=>!t.mediaType.previews.includes(e)).concat(t.mediaType.previews)}t.mediaType.previews=t.mediaType.previews.map(e=>e.replace(/-preview/,""));return t}function addQueryParameters(e,r){const n=/\?/.test(e)?"&":"?";const t=Object.keys(r);if(t.length===0){return e}return e+n+t.map(e=>{if(e==="q"){return"q="+r.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(r[e])}`}).join("&")}const i=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const r=e.match(i);if(!r){return[]}return r.map(removeNonChars).reduce((e,r)=>e.concat(r),[])}function omit(e,r){return Object.keys(e).filter(e=>!r.includes(e)).reduce((r,n)=>{r[n]=e[n];return r},{})}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e}).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function encodeValue(e,r,n){r=e==="+"||e==="#"?encodeReserved(r):encodeUnreserved(r);if(n){return encodeUnreserved(n)+"="+r}else{return r}}function isDefined(e){return e!==undefined&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,r,n,t){var o=e[n],i=[];if(isDefined(o)&&o!==""){if(typeof o==="string"||typeof o==="number"||typeof o==="boolean"){o=o.toString();if(t&&t!=="*"){o=o.substring(0,parseInt(t,10))}i.push(encodeValue(r,o,isKeyOperator(r)?n:""))}else{if(t==="*"){if(Array.isArray(o)){o.filter(isDefined).forEach(function(e){i.push(encodeValue(r,e,isKeyOperator(r)?n:""))})}else{Object.keys(o).forEach(function(e){if(isDefined(o[e])){i.push(encodeValue(r,o[e],e))}})}}else{const e=[];if(Array.isArray(o)){o.filter(isDefined).forEach(function(n){e.push(encodeValue(r,n))})}else{Object.keys(o).forEach(function(n){if(isDefined(o[n])){e.push(encodeUnreserved(n));e.push(encodeValue(r,o[n].toString()))}})}if(isKeyOperator(r)){i.push(encodeUnreserved(n)+"="+e.join(","))}else if(e.length!==0){i.push(e.join(","))}}}}else{if(r===";"){if(isDefined(o)){i.push(encodeUnreserved(n))}}else if(o===""&&(r==="&"||r==="?")){i.push(encodeUnreserved(n)+"=")}else if(o===""){i.push("")}}return i}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,r){var n=["+","#",".","/",";","?","&"];return e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(e,t,o){if(t){let e="";const o=[];if(n.indexOf(t.charAt(0))!==-1){e=t.charAt(0);t=t.substr(1)}t.split(/,/g).forEach(function(n){var t=/([^:\*]*)(?::(\d+)|(\*))?/.exec(n);o.push(getValues(r,e,t[1],t[2]||t[3]))});if(e&&e!=="+"){var i=",";if(e==="?"){i="&"}else if(e!=="#"){i=e}return(o.length!==0?e:"")+o.join(i)}else{return o.join(",")}}else{return encodeReserved(o)}})}function parse(e){let r=e.method.toUpperCase();let n=(e.url||"/").replace(/:([a-z]\w+)/g,"{+$1}");let t=Object.assign({},e.headers);let o;let i=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const s=extractUrlVariableNames(n);n=parseUrl(n).expand(i);if(!/^http/.test(n)){n=e.baseUrl+n}const c=Object.keys(e).filter(e=>s.includes(e)).concat("baseUrl");const u=omit(i,c);const a=/application\/octet-stream/i.test(t.accept);if(!a){if(e.mediaType.format){t.accept=t.accept.split(/,/).map(r=>r.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")}if(e.mediaType.previews.length){const r=t.accept.match(/[\w-]+(?=-preview)/g)||[];t.accept=r.concat(e.mediaType.previews).map(r=>{const n=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${r}-preview${n}`}).join(",")}}if(["GET","HEAD"].includes(r)){n=addQueryParameters(n,u)}else{if("data"in u){o=u.data}else{if(Object.keys(u).length){o=u}else{t["content-length"]=0}}}if(!t["content-type"]&&typeof o!=="undefined"){t["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(r)&&typeof o==="undefined"){o=""}return Object.assign({method:r,url:n,headers:t},typeof o!=="undefined"?{body:o}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,r,n){return parse(merge(e,r,n))}function withDefaults(e,r){const n=merge(e,r);const t=endpointWithDefaults.bind(null,n);return Object.assign(t,{DEFAULTS:n,defaults:withDefaults.bind(null,n),merge:merge.bind(null,n),parse:parse})}const s="6.0.3";const c=`octokit-endpoint.js/${s} ${o.getUserAgent()}`;const u={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":c},mediaType:{format:"",previews:[]}};const a=withDefaults(null,u);r.endpoint=a},4038:e=>{"use strict";function isObject(e){return e!=null&&typeof e==="object"&&Array.isArray(e)===false}function isObjectObject(e){return isObject(e)===true&&Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var r,n;if(isObjectObject(e)===false)return false;r=e.constructor;if(typeof r!=="function")return false;n=r.prototype;if(isObjectObject(n)===false)return false;if(n.hasOwnProperty("isPrototypeOf")===false){return false}return true}e.exports=isPlainObject},8467:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var t=n(6234);var o=n(5030);const i="4.5.1";class GraphqlError extends Error{constructor(e,r){const n=r.data.errors[0].message;super(n);Object.assign(this,r.data);this.name="GraphqlError";this.request=e;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}}const s=["method","baseUrl","url","headers","request","query","mediaType"];function graphql(e,r,n){n=typeof r==="string"?n=Object.assign({query:r},n):n=r;const t=Object.keys(n).reduce((e,r)=>{if(s.includes(r)){e[r]=n[r];return e}if(!e.variables){e.variables={}}e.variables[r]=n[r];return e},{});return e(t).then(e=>{if(e.data.errors){throw new GraphqlError(t,{data:e.data})}return e.data.data})}function withDefaults(e,r){const n=e.defaults(r);const o=(e,r)=>{return graphql(n,e,r)};return Object.assign(o,{defaults:withDefaults.bind(null,n),endpoint:t.request.endpoint})}const c=withDefaults(t.request,{headers:{"user-agent":`octokit-graphql.js/${i} ${o.getUserAgent()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return withDefaults(e,{method:"POST",url:"/graphql"})}r.graphql=c;r.withCustomRequest=withCustomRequest},4193:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const n="2.2.3";function normalizePaginatedListResponse(e){const r="total_count"in e.data&&!("url"in e.data);if(!r)return e;const n=e.data.incomplete_results;const t=e.data.repository_selection;const o=e.data.total_count;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;const i=Object.keys(e.data)[0];const s=e.data[i];e.data=s;if(typeof n!=="undefined"){e.data.incomplete_results=n}if(typeof t!=="undefined"){e.data.repository_selection=t}e.data.total_count=o;return e}function iterator(e,r,n){const t=typeof r==="function"?r.endpoint(n):e.request.endpoint(r,n);const o=typeof r==="function"?r:e.request;const i=t.method;const s=t.headers;let c=t.url;return{[Symbol.asyncIterator]:()=>({next(){if(!c){return Promise.resolve({done:true})}return o({method:i,url:c,headers:s}).then(normalizePaginatedListResponse).then(e=>{c=((e.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:e}})}})}}function paginate(e,r,n,t){if(typeof n==="function"){t=n;n=undefined}return gather(e,[],iterator(e,r,n)[Symbol.asyncIterator](),t)}function gather(e,r,n,t){return n.next().then(o=>{if(o.done){return r}let i=false;function done(){i=true}r=r.concat(t?t(o.value,done):o.value.data);if(i){return r}return gather(e,r,n,t)})}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=n;r.paginateRest=paginateRest},3044:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const n={actions:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{mediaType:{previews:["machine-man"]}}],checkToken:["POST /applications/{client_id}/token"],createContentAttachment:["POST /content_references/{content_reference_id}/attachments",{mediaType:{previews:["corsair"]}}],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens",{mediaType:{previews:["machine-man"]}}],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}",{mediaType:{previews:["machine-man"]}}],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app",{mediaType:{previews:["machine-man"]}}],getBySlug:["GET /apps/{app_slug}",{mediaType:{previews:["machine-man"]}}],getInstallation:["GET /app/installations/{installation_id}",{mediaType:{previews:["machine-man"]}}],getOrgInstallation:["GET /orgs/{org}/installation",{mediaType:{previews:["machine-man"]}}],getRepoInstallation:["GET /repos/{owner}/{repo}/installation",{mediaType:{previews:["machine-man"]}}],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation",{mediaType:{previews:["machine-man"]}}],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories",{mediaType:{previews:["machine-man"]}}],listInstallations:["GET /app/installations",{mediaType:{previews:["machine-man"]}}],listInstallationsForAuthenticatedUser:["GET /user/installations",{mediaType:{previews:["machine-man"]}}],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories",{mediaType:{previews:["machine-man"]}}],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{mediaType:{previews:["machine-man"]}}],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs",{mediaType:{previews:["antiope"]}}],createSuite:["POST /repos/{owner}/{repo}/check-suites",{mediaType:{previews:["antiope"]}}],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}",{mediaType:{previews:["antiope"]}}],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}",{mediaType:{previews:["antiope"]}}],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations",{mediaType:{previews:["antiope"]}}],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs",{mediaType:{previews:["antiope"]}}],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs",{mediaType:{previews:["antiope"]}}],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites",{mediaType:{previews:["antiope"]}}],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest",{mediaType:{previews:["antiope"]}}],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences",{mediaType:{previews:["antiope"]}}],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}",{mediaType:{previews:["antiope"]}}]},codeScanning:{getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_id}"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct",{mediaType:{previews:["scarlet-witch"]}}],getConductCode:["GET /codes_of_conduct/{key}",{mediaType:{previews:["scarlet-witch"]}}],getForRepo:["GET /repos/{owner}/{repo}/community/code_of_conduct",{mediaType:{previews:["scarlet-witch"]}}]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits",{mediaType:{previews:["sombra"]}}],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits",{mediaType:{previews:["sombra"]}}],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits",{mediaType:{previews:["sombra"]}}],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits",{mediaType:{previews:["sombra"]}}],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits",{mediaType:{previews:["sombra"]}}],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits",{mediaType:{previews:["sombra"]}}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline",{mediaType:{previews:["mockingbird"]}}],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import"],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors"],getImportStatus:["GET /repos/{owner}/{repo}/import"],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}",{mediaType:{previews:["wyandotte"]}}],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}",{mediaType:{previews:["wyandotte"]}}],listForAuthenticatedUser:["GET /user/migrations",{mediaType:{previews:["wyandotte"]}}],listForOrg:["GET /orgs/{org}/migrations",{mediaType:{previews:["wyandotte"]}}],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories",{mediaType:{previews:["wyandotte"]}}],listReposForUser:["GET /user/{migration_id}/repositories",{mediaType:{previews:["wyandotte"]}}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs"],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock",{mediaType:{previews:["wyandotte"]}}],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock",{mediaType:{previews:["wyandotte"]}}],updateImport:["PATCH /repos/{owner}/{repo}/import"]},orgs:{blockUser:["PUT /orgs/{org}/blocks/{username}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createInvitation:["POST /orgs/{org}/invitations"],createWebhook:["POST /orgs/{org}/hooks"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],get:["GET /orgs/{org}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations",{mediaType:{previews:["machine-man"]}}],listBlockedUsers:["GET /orgs/{org}/blocks"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}",{mediaType:{previews:["inertia"]}}],createCard:["POST /projects/columns/{column_id}/cards",{mediaType:{previews:["inertia"]}}],createColumn:["POST /projects/{project_id}/columns",{mediaType:{previews:["inertia"]}}],createForAuthenticatedUser:["POST /user/projects",{mediaType:{previews:["inertia"]}}],createForOrg:["POST /orgs/{org}/projects",{mediaType:{previews:["inertia"]}}],createForRepo:["POST /repos/{owner}/{repo}/projects",{mediaType:{previews:["inertia"]}}],delete:["DELETE /projects/{project_id}",{mediaType:{previews:["inertia"]}}],deleteCard:["DELETE /projects/columns/cards/{card_id}",{mediaType:{previews:["inertia"]}}],deleteColumn:["DELETE /projects/columns/{column_id}",{mediaType:{previews:["inertia"]}}],get:["GET /projects/{project_id}",{mediaType:{previews:["inertia"]}}],getCard:["GET /projects/columns/cards/{card_id}",{mediaType:{previews:["inertia"]}}],getColumn:["GET /projects/columns/{column_id}",{mediaType:{previews:["inertia"]}}],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission",{mediaType:{previews:["inertia"]}}],listCards:["GET /projects/columns/{column_id}/cards",{mediaType:{previews:["inertia"]}}],listCollaborators:["GET /projects/{project_id}/collaborators",{mediaType:{previews:["inertia"]}}],listColumns:["GET /projects/{project_id}/columns",{mediaType:{previews:["inertia"]}}],listForOrg:["GET /orgs/{org}/projects",{mediaType:{previews:["inertia"]}}],listForRepo:["GET /repos/{owner}/{repo}/projects",{mediaType:{previews:["inertia"]}}],listForUser:["GET /users/{username}/projects",{mediaType:{previews:["inertia"]}}],moveCard:["POST /projects/columns/cards/{card_id}/moves",{mediaType:{previews:["inertia"]}}],moveColumn:["POST /projects/columns/{column_id}/moves",{mediaType:{previews:["inertia"]}}],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}",{mediaType:{previews:["inertia"]}}],update:["PATCH /projects/{project_id}",{mediaType:{previews:["inertia"]}}],updateCard:["PATCH /projects/columns/cards/{card_id}",{mediaType:{previews:["inertia"]}}],updateColumn:["PATCH /projects/columns/{column_id}",{mediaType:{previews:["inertia"]}}]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch",{mediaType:{previews:["lydian"]}}],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts",{mediaType:{previews:["dorian"]}}],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",{mediaType:{previews:["zzzax"]}}],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createPagesSite:["POST /repos/{owner}/{repo}/pages",{mediaType:{previews:["switcheroo"]}}],createRelease:["POST /repos/{owner}/{repo}/releases"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate",{mediaType:{previews:["baptiste"]}}],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",{mediaType:{previews:["zzzax"]}}],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages",{mediaType:{previews:["switcheroo"]}}],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes",{mediaType:{previews:["london"]}}],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts",{mediaType:{previews:["dorian"]}}],downloadArchive:["GET /repos/{owner}/{repo}/{archive_format}/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes",{mediaType:{previews:["london"]}}],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts",{mediaType:{previews:["dorian"]}}],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics",{mediaType:{previews:["mercy"]}}],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",{mediaType:{previews:["zzzax"]}}],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head",{mediaType:{previews:["groot"]}}],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls",{mediaType:{previews:["groot"]}}],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics",{mediaType:{previews:["mercy"]}}],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits",{mediaType:{previews:["cloak"]}}],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}",{mediaType:{previews:["inertia"]}}],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}",{mediaType:{previews:["inertia"]}}],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects",{mediaType:{previews:["inertia"]}}],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys"],deleteEmailForAuthenticated:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};const t="4.0.0";function endpointsToMethods(e,r){const n={};for(const[t,o]of Object.entries(r)){for(const[r,i]of Object.entries(o)){const[o,s,c]=i;const[u,a]=o.split(/ /);const l=Object.assign({method:u,url:a},s);if(!n[t]){n[t]={}}const f=n[t];if(c){f[r]=decorate(e,t,r,l,c);continue}f[r]=e.request.defaults(l)}}return n}function decorate(e,r,n,t,o){const i=e.request.defaults(t);function withDecorations(...t){let s=i.endpoint.merge(...t);if(o.mapToData){s=Object.assign({},s,{data:s[o.mapToData],[o.mapToData]:undefined});return i(s)}if(o.renamed){const[t,i]=o.renamed;e.log.warn(`octokit.${r}.${n}() has been renamed to octokit.${t}.${i}()`)}if(o.deprecated){e.log.warn(o.deprecated)}if(o.renamedParameters){const s=i.endpoint.merge(...t);for(const[t,i]of Object.entries(o.renamedParameters)){if(t in s){e.log.warn(`"${t}" parameter is deprecated for "octokit.${r}.${n}()". Use "${i}" instead`);if(!(i in s)){s[i]=s[t]}delete s[t]}}return i(s)}return i(...t)}return Object.assign(withDecorations,i)}function restEndpointMethods(e){return endpointsToMethods(e,n)}restEndpointMethods.VERSION=t;r.restEndpointMethods=restEndpointMethods},537:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var t=n(8932);var o=_interopDefault(n(1223));const i=o(e=>console.warn(e));class RequestError extends Error{constructor(e,r,n){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=r;Object.defineProperty(this,"code",{get(){i(new t.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return r}});this.headers=n.headers||{};const o=Object.assign({},n.request);if(n.request.headers.authorization){o.headers=Object.assign({},n.request.headers,{authorization:n.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}o.url=o.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=o}}r.RequestError=RequestError},6234:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var t=n(9440);var o=n(5030);var i=_interopDefault(n(9886));var s=_interopDefault(n(467));var c=n(537);const u="5.4.5";function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){if(i(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let r={};let n;let t;const o=e.request&&e.request.fetch||s;return o(e.url,Object.assign({method:e.method,body:e.body,headers:e.headers,redirect:e.redirect},e.request)).then(o=>{t=o.url;n=o.status;for(const e of o.headers){r[e[0]]=e[1]}if(n===204||n===205){return}if(e.method==="HEAD"){if(n<400){return}throw new c.RequestError(o.statusText,n,{headers:r,request:e})}if(n===304){throw new c.RequestError("Not modified",n,{headers:r,request:e})}if(n>=400){return o.text().then(t=>{const o=new c.RequestError(t,n,{headers:r,request:e});try{let e=JSON.parse(o.message);Object.assign(o,e);let r=e.errors;o.message=o.message+": "+r.map(JSON.stringify).join(", ")}catch(e){}throw o})}const i=o.headers.get("content-type");if(/application\/json/.test(i)){return o.json()}if(!i||/^text\/|charset=utf-8$/.test(i)){return o.text()}return getBufferResponse(o)}).then(e=>{return{status:n,url:t,headers:r,data:e}}).catch(n=>{if(n instanceof c.RequestError){throw n}throw new c.RequestError(n.message,500,{headers:r,request:e})})}function withDefaults(e,r){const n=e.defaults(r);const t=function(e,r){const t=n.merge(e,r);if(!t.request||!t.request.hook){return fetchWrapper(n.parse(t))}const o=(e,r)=>{return fetchWrapper(n.parse(n.merge(e,r)))};Object.assign(o,{endpoint:n,defaults:withDefaults.bind(null,n)});return t.request.hook(o,t)};return Object.assign(t,{endpoint:n,defaults:withDefaults.bind(null,n)})}const a=withDefaults(t.endpoint,{headers:{"user-agent":`octokit-request.js/${u} ${o.getUserAgent()}`}});r.request=a},9886:e=>{"use strict";function isObject(e){return e!=null&&typeof e==="object"&&Array.isArray(e)===false}function isObjectObject(e){return isObject(e)===true&&Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var r,n;if(isObjectObject(e)===false)return false;r=e.constructor;if(typeof r!=="function")return false;n=r.prototype;if(isObjectObject(n)===false)return false;if(n.hasOwnProperty("isPrototypeOf")===false){return false}return true}e.exports=isPlainObject},3682:(e,r,n)=>{var t=n(4670);var o=n(5549);var i=n(6819);var s=Function.bind;var c=s.bind(s);function bindApi(e,r,n){var t=c(i,null).apply(null,n?[r,n]:[r]);e.api={remove:t};e.remove=t;["before","error","after","wrap"].forEach(function(t){var i=n?[r,t,n]:[r,t];e[t]=e.api[t]=c(o,null).apply(null,i)})}function HookSingular(){var e="h";var r={registry:{}};var n=t.bind(null,r,e);bindApi(n,r,e);return n}function HookCollection(){var e={registry:{}};var r=t.bind(null,e);bindApi(r,e);return r}var u=false;function Hook(){if(!u){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');u=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();e.exports=Hook;e.exports.Hook=Hook;e.exports.Singular=Hook.Singular;e.exports.Collection=Hook.Collection},5549:e=>{e.exports=addHook;function addHook(e,r,n,t){var o=t;if(!e.registry[n]){e.registry[n]=[]}if(r==="before"){t=function(e,r){return Promise.resolve().then(o.bind(null,r)).then(e.bind(null,r))}}if(r==="after"){t=function(e,r){var n;return Promise.resolve().then(e.bind(null,r)).then(function(e){n=e;return o(n,r)}).then(function(){return n})}}if(r==="error"){t=function(e,r){return Promise.resolve().then(e.bind(null,r)).catch(function(e){return o(e,r)})}}e.registry[n].push({hook:t,orig:o})}},4670:e=>{e.exports=register;function register(e,r,n,t){if(typeof n!=="function"){throw new Error("method for before hook must be a function")}if(!t){t={}}if(Array.isArray(r)){return r.reverse().reduce(function(r,n){return register.bind(null,e,n,r,t)},n)()}return Promise.resolve().then(function(){if(!e.registry[r]){return n(t)}return e.registry[r].reduce(function(e,r){return r.hook.bind(null,e,t)},n)()})}},6819:e=>{e.exports=removeHook;function removeHook(e,r,n){if(!e.registry[r]){return}var t=e.registry[r].map(function(e){return e.orig}).indexOf(n);if(t===-1){return}e.registry[r].splice(t,1)}},2746:(e,r,n)=>{"use strict";const t=n(3129);const o=n(6855);const i=n(4101);function spawn(e,r,n){const s=o(e,r,n);const c=t.spawn(s.command,s.args,s.options);i.hookChildProcess(c,s);return c}function spawnSync(e,r,n){const s=o(e,r,n);const c=t.spawnSync(s.command,s.args,s.options);c.error=c.error||i.verifyENOENTSync(c.status,s);return c}e.exports=spawn;e.exports.spawn=spawn;e.exports.sync=spawnSync;e.exports._parse=o;e.exports._enoent=i},4101:e=>{"use strict";const r=process.platform==="win32";function notFoundError(e,r){return Object.assign(new Error(`${r} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${r} ${e.command}`,path:e.command,spawnargs:e.args})}function hookChildProcess(e,n){if(!r){return}const t=e.emit;e.emit=function(r,o){if(r==="exit"){const r=verifyENOENT(o,n,"spawn");if(r){return t.call(e,"error",r)}}return t.apply(e,arguments)}}function verifyENOENT(e,n){if(r&&e===1&&!n.file){return notFoundError(n.original,"spawn")}return null}function verifyENOENTSync(e,n){if(r&&e===1&&!n.file){return notFoundError(n.original,"spawnSync")}return null}e.exports={hookChildProcess:hookChildProcess,verifyENOENT:verifyENOENT,verifyENOENTSync:verifyENOENTSync,notFoundError:notFoundError}},6855:(e,r,n)=>{"use strict";const t=n(5622);const o=n(8560);const i=n(7274);const s=n(4274);const c=n(1252);const u=n(1129);const a=process.platform==="win32";const l=/\.(?:com|exe)$/i;const f=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;const p=o(()=>u.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",true))||false;function detectShebang(e){e.file=i(e);const r=e.file&&c(e.file);if(r){e.args.unshift(e.file);e.command=r;return i(e)}return e.file}function parseNonShell(e){if(!a){return e}const r=detectShebang(e);const n=!l.test(r);if(e.options.forceShell||n){const n=f.test(r);e.command=t.normalize(e.command);e.command=s.command(e.command);e.args=e.args.map(e=>s.argument(e,n));const o=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${o}"`];e.command=process.env.comspec||"cmd.exe";e.options.windowsVerbatimArguments=true}return e}function parseShell(e){if(p){return e}const r=[e.command].concat(e.args).join(" ");if(a){e.command=typeof e.options.shell==="string"?e.options.shell:process.env.comspec||"cmd.exe";e.args=["/d","/s","/c",`"${r}"`];e.options.windowsVerbatimArguments=true}else{if(typeof e.options.shell==="string"){e.command=e.options.shell}else if(process.platform==="android"){e.command="/system/bin/sh"}else{e.command="/bin/sh"}e.args=["-c",r]}return e}function parse(e,r,n){if(r&&!Array.isArray(r)){n=r;r=null}r=r?r.slice(0):[];n=Object.assign({},n);const t={command:e,args:r,options:n,file:undefined,original:{command:e,args:r}};return n.shell?parseShell(t):parseNonShell(t)}e.exports=parse},4274:e=>{"use strict";const r=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(e){e=e.replace(r,"^$1");return e}function escapeArgument(e,n){e=`${e}`;e=e.replace(/(\\*)"/g,'$1$1\\"');e=e.replace(/(\\*)$/,"$1$1");e=`"${e}"`;e=e.replace(r,"^$1");if(n){e=e.replace(r,"^$1")}return e}e.exports.command=escapeCommand;e.exports.argument=escapeArgument},1252:(e,r,n)=>{"use strict";const t=n(5747);const o=n(7032);function readShebang(e){const r=150;let n;if(Buffer.alloc){n=Buffer.alloc(r)}else{n=new Buffer(r);n.fill(0)}let i;try{i=t.openSync(e,"r");t.readSync(i,n,0,r,0);t.closeSync(i)}catch(e){}return o(n.toString())}e.exports=readShebang},7274:(e,r,n)=>{"use strict";const t=n(5622);const o=n(4207);const i=n(539)();function resolveCommandAttempt(e,r){const n=process.cwd();const s=e.options.cwd!=null;if(s){try{process.chdir(e.options.cwd)}catch(e){}}let c;try{c=o.sync(e.command,{path:(e.options.env||process.env)[i],pathExt:r?t.delimiter:undefined})}catch(e){}finally{process.chdir(n)}if(c){c=t.resolve(s?e.options.cwd:"",c)}return c}function resolveCommand(e){return resolveCommandAttempt(e)||resolveCommandAttempt(e,true)}e.exports=resolveCommand},1129:(e,r)=>{r=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(){}}r.SEMVER_SPEC_VERSION="2.0.0";var t=256;var o=Number.MAX_SAFE_INTEGER||9007199254740991;var i=16;var s=r.re=[];var c=r.src=[];var u=0;var a=u++;c[a]="0|[1-9]\\d*";var l=u++;c[l]="[0-9]+";var f=u++;c[f]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var p=u++;c[p]="("+c[a]+")\\."+"("+c[a]+")\\."+"("+c[a]+")";var d=u++;c[d]="("+c[l]+")\\."+"("+c[l]+")\\."+"("+c[l]+")";var h=u++;c[h]="(?:"+c[a]+"|"+c[f]+")";var m=u++;c[m]="(?:"+c[l]+"|"+c[f]+")";var g=u++;c[g]="(?:-("+c[h]+"(?:\\."+c[h]+")*))";var w=u++;c[w]="(?:-?("+c[m]+"(?:\\."+c[m]+")*))";var b=u++;c[b]="[0-9A-Za-z-]+";var E=u++;c[E]="(?:\\+("+c[b]+"(?:\\."+c[b]+")*))";var v=u++;var T="v?"+c[p]+c[g]+"?"+c[E]+"?";c[v]="^"+T+"$";var _="[v=\\s]*"+c[d]+c[w]+"?"+c[E]+"?";var O=u++;c[O]="^"+_+"$";var y=u++;c[y]="((?:<|>)?=?)";var S=u++;c[S]=c[l]+"|x|X|\\*";var A=u++;c[A]=c[a]+"|x|X|\\*";var P=u++;c[P]="[v=\\s]*("+c[A]+")"+"(?:\\.("+c[A]+")"+"(?:\\.("+c[A]+")"+"(?:"+c[g]+")?"+c[E]+"?"+")?)?";var C=u++;c[C]="[v=\\s]*("+c[S]+")"+"(?:\\.("+c[S]+")"+"(?:\\.("+c[S]+")"+"(?:"+c[w]+")?"+c[E]+"?"+")?)?";var j=u++;c[j]="^"+c[y]+"\\s*"+c[P]+"$";var G=u++;c[G]="^"+c[y]+"\\s*"+c[C]+"$";var F=u++;c[F]="(?:^|[^\\d])"+"(\\d{1,"+i+"})"+"(?:\\.(\\d{1,"+i+"}))?"+"(?:\\.(\\d{1,"+i+"}))?"+"(?:$|[^\\d])";var R=u++;c[R]="(?:~>?)";var D=u++;c[D]="(\\s*)"+c[R]+"\\s+";s[D]=new RegExp(c[D],"g");var x="$1~";var U=u++;c[U]="^"+c[R]+c[P]+"$";var k=u++;c[k]="^"+c[R]+c[C]+"$";var q=u++;c[q]="(?:\\^)";var B=u++;c[B]="(\\s*)"+c[q]+"\\s+";s[B]=new RegExp(c[B],"g");var L="$1^";var $=u++;c[$]="^"+c[q]+c[P]+"$";var H=u++;c[H]="^"+c[q]+c[C]+"$";var I=u++;c[I]="^"+c[y]+"\\s*("+_+")$|^$";var W=u++;c[W]="^"+c[y]+"\\s*("+T+")$|^$";var V=u++;c[V]="(\\s*)"+c[y]+"\\s*("+_+"|"+c[P]+")";s[V]=new RegExp(c[V],"g");var Y="$1$2$3";var z=u++;c[z]="^\\s*("+c[P]+")"+"\\s+-\\s+"+"("+c[P]+")"+"\\s*$";var J=u++;c[J]="^\\s*("+c[C]+")"+"\\s+-\\s+"+"("+c[C]+")"+"\\s*$";var X=u++;c[X]="(<|>)?=?\\s*\\*";for(var N=0;Nt){return null}var n=r.loose?s[O]:s[v];if(!n.test(e)){return null}try{return new SemVer(e,r)}catch(e){return null}}r.valid=valid;function valid(e,r){var n=parse(e,r);return n?n.version:null}r.clean=clean;function clean(e,r){var n=parse(e.trim().replace(/^[=v]+/,""),r);return n?n.version:null}r.SemVer=SemVer;function SemVer(e,r){if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===r.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>t){throw new TypeError("version is longer than "+t+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,r)}n("SemVer",e,r);this.options=r;this.loose=!!r.loose;var i=e.trim().match(r.loose?s[O]:s[v]);if(!i){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+i[1];this.minor=+i[2];this.patch=+i[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(!i[4]){this.prerelease=[]}else{this.prerelease=i[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var r=+e;if(r>=0&&r=0){if(typeof this.prerelease[n]==="number"){this.prerelease[n]++;n=-2}}if(n===-1){this.prerelease.push(0)}}if(r){if(this.prerelease[0]===r){if(isNaN(this.prerelease[1])){this.prerelease=[r,0]}}else{this.prerelease=[r,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};r.inc=inc;function inc(e,r,n,t){if(typeof n==="string"){t=n;n=undefined}try{return new SemVer(e,n).inc(r,t).version}catch(e){return null}}r.diff=diff;function diff(e,r){if(eq(e,r)){return null}else{var n=parse(e);var t=parse(r);var o="";if(n.prerelease.length||t.prerelease.length){o="pre";var i="prerelease"}for(var s in n){if(s==="major"||s==="minor"||s==="patch"){if(n[s]!==t[s]){return o+s}}}return i}}r.compareIdentifiers=compareIdentifiers;var Z=/^[0-9]+$/;function compareIdentifiers(e,r){var n=Z.test(e);var t=Z.test(r);if(n&&t){e=+e;r=+r}return e===r?0:n&&!t?-1:t&&!n?1:e0}r.lt=lt;function lt(e,r,n){return compare(e,r,n)<0}r.eq=eq;function eq(e,r,n){return compare(e,r,n)===0}r.neq=neq;function neq(e,r,n){return compare(e,r,n)!==0}r.gte=gte;function gte(e,r,n){return compare(e,r,n)>=0}r.lte=lte;function lte(e,r,n){return compare(e,r,n)<=0}r.cmp=cmp;function cmp(e,r,n,t){switch(r){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,t);case"!=":return neq(e,n,t);case">":return gt(e,n,t);case">=":return gte(e,n,t);case"<":return lt(e,n,t);case"<=":return lte(e,n,t);default:throw new TypeError("Invalid operator: "+r)}}r.Comparator=Comparator;function Comparator(e,r){if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!r.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,r)}n("comparator",e,r);this.options=r;this.loose=!!r.loose;this.parse(e);if(this.semver===Q){this.value=""}else{this.value=this.operator+this.semver.version}n("comp",this)}var Q={};Comparator.prototype.parse=function(e){var r=this.options.loose?s[I]:s[W];var n=e.match(r);if(!n){throw new TypeError("Invalid comparator: "+e)}this.operator=n[1];if(this.operator==="="){this.operator=""}if(!n[2]){this.semver=Q}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===Q){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,r){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}var n;if(this.operator===""){n=new Range(e.value,r);return satisfies(this.value,n,r)}else if(e.operator===""){n=new Range(this.value,r);return satisfies(e.semver,n,r)}var t=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var o=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var i=this.semver.version===e.semver.version;var s=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var c=cmp(this.semver,"<",e.semver,r)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var u=cmp(this.semver,">",e.semver,r)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return t||o||i&&s||c||u};r.Range=Range;function Range(e,r){if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease){return e}else{return new Range(e.raw,r)}}if(e instanceof Comparator){return new Range(e.value,r)}if(!(this instanceof Range)){return new Range(e,r)}this.options=r;this.loose=!!r.loose;this.includePrerelease=!!r.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 r=this.options.loose;e=e.trim();var t=r?s[J]:s[z];e=e.replace(t,hyphenReplace);n("hyphen replace",e);e=e.replace(s[V],Y);n("comparator trim",e,s[V]);e=e.replace(s[D],x);e=e.replace(s[B],L);e=e.split(/\s+/).join(" ");var o=r?s[I]:s[W];var i=e.split(" ").map(function(e){return parseComparator(e,this.options)},this).join(" ").split(/\s+/);if(this.options.loose){i=i.filter(function(e){return!!e.match(o)})}i=i.map(function(e){return new Comparator(e,this.options)},this);return i};Range.prototype.intersects=function(e,r){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,r)})})})})};r.toComparators=toComparators;function toComparators(e,r){return new Range(e,r).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})}function parseComparator(e,r){n("comp",e,r);e=replaceCarets(e,r);n("caret",e);e=replaceTildes(e,r);n("tildes",e);e=replaceXRanges(e,r);n("xrange",e);e=replaceStars(e,r);n("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,r){return e.trim().split(/\s+/).map(function(e){return replaceTilde(e,r)}).join(" ")}function replaceTilde(e,r){var t=r.loose?s[k]:s[U];return e.replace(t,function(r,t,o,i,s){n("tilde",e,r,t,o,i,s);var c;if(isX(t)){c=""}else if(isX(o)){c=">="+t+".0.0 <"+(+t+1)+".0.0"}else if(isX(i)){c=">="+t+"."+o+".0 <"+t+"."+(+o+1)+".0"}else if(s){n("replaceTilde pr",s);c=">="+t+"."+o+"."+i+"-"+s+" <"+t+"."+(+o+1)+".0"}else{c=">="+t+"."+o+"."+i+" <"+t+"."+(+o+1)+".0"}n("tilde return",c);return c})}function replaceCarets(e,r){return e.trim().split(/\s+/).map(function(e){return replaceCaret(e,r)}).join(" ")}function replaceCaret(e,r){n("caret",e,r);var t=r.loose?s[H]:s[$];return e.replace(t,function(r,t,o,i,s){n("caret",e,r,t,o,i,s);var c;if(isX(t)){c=""}else if(isX(o)){c=">="+t+".0.0 <"+(+t+1)+".0.0"}else if(isX(i)){if(t==="0"){c=">="+t+"."+o+".0 <"+t+"."+(+o+1)+".0"}else{c=">="+t+"."+o+".0 <"+(+t+1)+".0.0"}}else if(s){n("replaceCaret pr",s);if(t==="0"){if(o==="0"){c=">="+t+"."+o+"."+i+"-"+s+" <"+t+"."+o+"."+(+i+1)}else{c=">="+t+"."+o+"."+i+"-"+s+" <"+t+"."+(+o+1)+".0"}}else{c=">="+t+"."+o+"."+i+"-"+s+" <"+(+t+1)+".0.0"}}else{n("no pr");if(t==="0"){if(o==="0"){c=">="+t+"."+o+"."+i+" <"+t+"."+o+"."+(+i+1)}else{c=">="+t+"."+o+"."+i+" <"+t+"."+(+o+1)+".0"}}else{c=">="+t+"."+o+"."+i+" <"+(+t+1)+".0.0"}}n("caret return",c);return c})}function replaceXRanges(e,r){n("replaceXRanges",e,r);return e.split(/\s+/).map(function(e){return replaceXRange(e,r)}).join(" ")}function replaceXRange(e,r){e=e.trim();var t=r.loose?s[G]:s[j];return e.replace(t,function(r,t,o,i,s,c){n("xRange",e,r,t,o,i,s,c);var u=isX(o);var a=u||isX(i);var l=a||isX(s);var f=l;if(t==="="&&f){t=""}if(u){if(t===">"||t==="<"){r="<0.0.0"}else{r="*"}}else if(t&&f){if(a){i=0}s=0;if(t===">"){t=">=";if(a){o=+o+1;i=0;s=0}else{i=+i+1;s=0}}else if(t==="<="){t="<";if(a){o=+o+1}else{i=+i+1}}r=t+o+"."+i+"."+s}else if(a){r=">="+o+".0.0 <"+(+o+1)+".0.0"}else if(l){r=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0"}n("xRange return",r);return r})}function replaceStars(e,r){n("replaceStars",e,r);return e.trim().replace(s[X],"")}function hyphenReplace(e,r,n,t,o,i,s,c,u,a,l,f,p){if(isX(n)){r=""}else if(isX(t)){r=">="+n+".0.0"}else if(isX(o)){r=">="+n+"."+t+".0"}else{r=">="+r}if(isX(u)){c=""}else if(isX(a)){c="<"+(+u+1)+".0.0"}else if(isX(l)){c="<"+u+"."+(+a+1)+".0"}else if(f){c="<="+u+"."+a+"."+l+"-"+f}else{c="<="+c}return(r+" "+c).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var r=0;r0){var i=e[o].semver;if(i.major===r.major&&i.minor===r.minor&&i.patch===r.patch){return true}}}return false}return true}r.satisfies=satisfies;function satisfies(e,r,n){try{r=new Range(r,n)}catch(e){return false}return r.test(e)}r.maxSatisfying=maxSatisfying;function maxSatisfying(e,r,n){var t=null;var o=null;try{var i=new Range(r,n)}catch(e){return null}e.forEach(function(e){if(i.test(e)){if(!t||o.compare(e)===-1){t=e;o=new SemVer(t,n)}}});return t}r.minSatisfying=minSatisfying;function minSatisfying(e,r,n){var t=null;var o=null;try{var i=new Range(r,n)}catch(e){return null}e.forEach(function(e){if(i.test(e)){if(!t||o.compare(e)===1){t=e;o=new SemVer(t,n)}}});return t}r.minVersion=minVersion;function minVersion(e,r){e=new Range(e,r);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 t=0;t":if(r.prerelease.length===0){r.patch++}else{r.prerelease.push(0)}r.raw=r.format();case"":case">=":if(!n||gt(n,r)){n=r}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}if(n&&e.test(n)){return n}return null}r.validRange=validRange;function validRange(e,r){try{return new Range(e,r).range||"*"}catch(e){return null}}r.ltr=ltr;function ltr(e,r,n){return outside(e,r,"<",n)}r.gtr=gtr;function gtr(e,r,n){return outside(e,r,">",n)}r.outside=outside;function outside(e,r,n,t){e=new SemVer(e,t);r=new Range(r,t);var o,i,s,c,u;switch(n){case">":o=gt;i=lte;s=lt;c=">";u=">=";break;case"<":o=lt;i=gte;s=gt;c="<";u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,r,t)){return false}for(var a=0;a=0.0.0")}f=f||e;p=p||e;if(o(e.semver,f.semver,t)){f=e}else if(s(e.semver,p.semver,t)){p=e}});if(f.operator===c||f.operator===u){return false}if((!p.operator||p.operator===c)&&i(e,p.semver)){return false}else if(p.operator===u&&s(e,p.semver)){return false}}return true}r.prerelease=prerelease;function prerelease(e,r){var n=parse(e,r);return n&&n.prerelease.length?n.prerelease:null}r.intersects=intersects;function intersects(e,r,n){e=new Range(e,n);r=new Range(r,n);return e.intersects(r)}r.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var r=e.match(s[F]);if(r==null){return null}return parse(r[1]+"."+(r[2]||"0")+"."+(r[3]||"0"))}},8932:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});class Deprecation extends Error{constructor(e){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}r.Deprecation=Deprecation},1205:(e,r,n)=>{var t=n(1223);var o=function(){};var i=function(e){return e.setHeader&&typeof e.abort==="function"};var s=function(e){return e.stdio&&Array.isArray(e.stdio)&&e.stdio.length===3};var c=function(e,r,n){if(typeof r==="function")return c(e,null,r);if(!r)r={};n=t(n||o);var u=e._writableState;var a=e._readableState;var l=r.readable||r.readable!==false&&e.readable;var f=r.writable||r.writable!==false&&e.writable;var p=false;var d=function(){if(!e.writable)h()};var h=function(){f=false;if(!l)n.call(e)};var m=function(){l=false;if(!f)n.call(e)};var g=function(r){n.call(e,r?new Error("exited with error code: "+r):null)};var w=function(r){n.call(e,r)};var b=function(){process.nextTick(E)};var E=function(){if(p)return;if(l&&!(a&&(a.ended&&!a.destroyed)))return n.call(e,new Error("premature close"));if(f&&!(u&&(u.ended&&!u.destroyed)))return n.call(e,new Error("premature close"))};var v=function(){e.req.on("finish",h)};if(i(e)){e.on("complete",h);e.on("abort",b);if(e.req)v();else e.on("request",v)}else if(f&&!u){e.on("end",d);e.on("close",d)}if(s(e))e.on("exit",g);e.on("end",m);e.on("finish",h);if(r.error!==false)e.on("error",w);e.on("close",b);return function(){p=true;e.removeListener("complete",h);e.removeListener("abort",b);e.removeListener("request",v);if(e.req)e.req.removeListener("finish",h);e.removeListener("end",d);e.removeListener("close",d);e.removeListener("finish",h);e.removeListener("exit",g);e.removeListener("end",m);e.removeListener("error",w);e.removeListener("close",b)}};e.exports=c},5447:(e,r,n)=>{"use strict";const t=n(5622);const o=n(3129);const i=n(2746);const s=n(5515);const c=n(502);const u=n(1554);const a=n(1766);const l=n(1330);const f=n(4931);const p=n(4689);const d=n(166);const h=1e3*1e3*10;function handleArgs(e,r,n){let o;n=Object.assign({extendEnv:true,env:{}},n);if(n.extendEnv){n.env=Object.assign({},process.env,n.env)}if(n.__winShell===true){delete n.__winShell;o={command:e,args:r,options:n,file:e,original:{cmd:e,args:r}}}else{o=i._parse(e,r,n)}n=Object.assign({maxBuffer:h,buffer:true,stripEof:true,preferLocal:true,localDir:o.options.cwd||process.cwd(),encoding:"utf8",reject:true,cleanup:true},o.options);n.stdio=d(n);if(n.preferLocal){n.env=c.env(Object.assign({},n,{cwd:n.localDir}))}if(n.detached){n.cleanup=false}if(process.platform==="win32"&&t.basename(o.command)==="cmd.exe"){o.args.unshift("/q")}return{cmd:o.command,args:o.args,opts:n,parsed:o}}function handleInput(e,r){if(r===null||r===undefined){return}if(u(r)){r.pipe(e.stdin)}else{e.stdin.end(r)}}function handleOutput(e,r){if(r&&e.stripEof){r=s(r)}return r}function handleShell(e,r,n){let t="/bin/sh";let o=["-c",r];n=Object.assign({},n);if(process.platform==="win32"){n.__winShell=true;t=process.env.comspec||"cmd.exe";o=["/s","/c",`"${r}"`];n.windowsVerbatimArguments=true}if(n.shell){t=n.shell;delete n.shell}return e(t,o,n)}function getStream(e,r,{encoding:n,buffer:t,maxBuffer:o}){if(!e[r]){return null}let i;if(!t){i=new Promise((n,t)=>{e[r].once("end",n).once("error",t)})}else if(n){i=a(e[r],{encoding:n,maxBuffer:o})}else{i=a.buffer(e[r],{maxBuffer:o})}return i.catch(e=>{e.stream=r;e.message=`${r} ${e.message}`;throw e})}function makeError(e,r){const{stdout:n,stderr:t}=e;let o=e.error;const{code:i,signal:s}=e;const{parsed:c,joinedCmd:u}=r;const a=r.timedOut||false;if(!o){let e="";if(Array.isArray(c.opts.stdio)){if(c.opts.stdio[2]!=="inherit"){e+=e.length>0?t:`\n${t}`}if(c.opts.stdio[1]!=="inherit"){e+=`\n${n}`}}else if(c.opts.stdio!=="inherit"){e=`\n${t}${n}`}o=new Error(`Command failed: ${u}${e}`);o.code=i<0?p(i):i}o.stdout=n;o.stderr=t;o.failed=true;o.signal=s||null;o.cmd=u;o.timedOut=a;return o}function joinCmd(e,r){let n=e;if(Array.isArray(r)&&r.length>0){n+=" "+r.join(" ")}return n}e.exports=((e,r,n)=>{const t=handleArgs(e,r,n);const{encoding:s,buffer:c,maxBuffer:u}=t.opts;const a=joinCmd(e,r);let p;try{p=o.spawn(t.cmd,t.args,t.opts)}catch(e){return Promise.reject(e)}let d;if(t.opts.cleanup){d=f(()=>{p.kill()})}let h=null;let m=false;const g=()=>{if(h){clearTimeout(h);h=null}if(d){d()}};if(t.opts.timeout>0){h=setTimeout(()=>{h=null;m=true;p.kill(t.opts.killSignal)},t.opts.timeout)}const w=new Promise(e=>{p.on("exit",(r,n)=>{g();e({code:r,signal:n})});p.on("error",r=>{g();e({error:r})});if(p.stdin){p.stdin.on("error",r=>{g();e({error:r})})}});function destroy(){if(p.stdout){p.stdout.destroy()}if(p.stderr){p.stderr.destroy()}}const b=()=>l(Promise.all([w,getStream(p,"stdout",{encoding:s,buffer:c,maxBuffer:u}),getStream(p,"stderr",{encoding:s,buffer:c,maxBuffer:u})]).then(e=>{const r=e[0];r.stdout=e[1];r.stderr=e[2];if(r.error||r.code!==0||r.signal!==null){const e=makeError(r,{joinedCmd:a,parsed:t,timedOut:m});e.killed=e.killed||p.killed;if(!t.opts.reject){return e}throw e}return{stdout:handleOutput(t.opts,r.stdout),stderr:handleOutput(t.opts,r.stderr),code:0,failed:false,killed:false,signal:null,cmd:a,timedOut:false}}),destroy);i._enoent.hookChildProcess(p,t.parsed);handleInput(p,t.opts.input);p.then=((e,r)=>b().then(e,r));p.catch=(e=>b().catch(e));return p});e.exports.stdout=((...r)=>e.exports(...r).then(e=>e.stdout));e.exports.stderr=((...r)=>e.exports(...r).then(e=>e.stderr));e.exports.shell=((r,n)=>handleShell(e.exports,r,n));e.exports.sync=((e,r,n)=>{const t=handleArgs(e,r,n);const i=joinCmd(e,r);if(u(t.opts.input)){throw new TypeError("The `input` option cannot be a stream in sync mode")}const s=o.spawnSync(t.cmd,t.args,t.opts);s.code=s.status;if(s.error||s.status!==0||s.signal!==null){const e=makeError(s,{joinedCmd:i,parsed:t});if(!t.opts.reject){return e}throw e}return{stdout:handleOutput(t.opts,s.stdout),stderr:handleOutput(t.opts,s.stderr),code:0,failed:false,signal:null,cmd:i,timedOut:false}});e.exports.shellSync=((r,n)=>handleShell(e.exports.sync,r,n))},4689:(e,r,n)=>{"use strict";const t=n(1669);let o;if(typeof t.getSystemErrorName==="function"){e.exports=t.getSystemErrorName}else{try{o=process.binding("uv");if(typeof o.errname!=="function"){throw new TypeError("uv.errname is not a function")}}catch(e){console.error("execa/lib/errname: unable to establish process.binding('uv')",e);o=null}e.exports=(e=>errname(o,e))}e.exports.__test__=errname;function errname(e,r){if(e){return e.errname(r)}if(!(r<0)){throw new Error("err >= 0")}return`Unknown system error ${r}`}},166:e=>{"use strict";const r=["stdin","stdout","stderr"];const n=e=>r.some(r=>Boolean(e[r]));e.exports=(e=>{if(!e){return null}if(e.stdio&&n(e)){throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${r.map(e=>`\`${e}\``).join(", ")}`)}if(typeof e.stdio==="string"){return e.stdio}const t=e.stdio||[];if(!Array.isArray(t)){throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``)}const o=[];const i=Math.max(t.length,r.length);for(let n=0;n{"use strict";const{PassThrough:t}=n(2413);e.exports=(e=>{e=Object.assign({},e);const{array:r}=e;let{encoding:n}=e;const o=n==="buffer";let i=false;if(r){i=!(n||o)}else{n=n||"utf8"}if(o){n=null}let s=0;const c=[];const u=new t({objectMode:i});if(n){u.setEncoding(n)}u.on("data",e=>{c.push(e);if(i){s=c.length}else{s+=e.length}});u.getBufferedValue=(()=>{if(r){return c}return o?Buffer.concat(c,s):c.join("")});u.getBufferedLength=(()=>s);return u})},1766:(e,r,n)=>{"use strict";const t=n(8341);const o=n(1585);class MaxBufferError extends Error{constructor(){super("maxBuffer exceeded");this.name="MaxBufferError"}}function getStream(e,r){if(!e){return Promise.reject(new Error("Expected a stream"))}r=Object.assign({maxBuffer:Infinity},r);const{maxBuffer:n}=r;let i;return new Promise((s,c)=>{const u=e=>{if(e){e.bufferedData=i.getBufferedValue()}c(e)};i=t(e,o(r),e=>{if(e){u(e);return}s()});i.on("data",()=>{if(i.getBufferedLength()>n){u(new MaxBufferError)}})}).then(()=>i.getBufferedValue())}e.exports=getStream;e.exports.buffer=((e,r)=>getStream(e,Object.assign({},r,{encoding:"buffer"})));e.exports.array=((e,r)=>getStream(e,Object.assign({},r,{array:true})));e.exports.MaxBufferError=MaxBufferError},1554:e=>{"use strict";var r=e.exports=function(e){return e!==null&&typeof e==="object"&&typeof e.pipe==="function"};r.writable=function(e){return r(e)&&e.writable!==false&&typeof e._write==="function"&&typeof e._writableState==="object"};r.readable=function(e){return r(e)&&e.readable!==false&&typeof e._read==="function"&&typeof e._readableState==="object"};r.duplex=function(e){return r.writable(e)&&r.readable(e)};r.transform=function(e){return r.duplex(e)&&typeof e._transform==="function"&&typeof e._transformState==="object"}},7126:(e,r,n)=>{var t=n(5747);var o;if(process.platform==="win32"||global.TESTING_WINDOWS){o=n(2001)}else{o=n(9728)}e.exports=isexe;isexe.sync=sync;function isexe(e,r,n){if(typeof r==="function"){n=r;r={}}if(!n){if(typeof Promise!=="function"){throw new TypeError("callback not provided")}return new Promise(function(n,t){isexe(e,r||{},function(e,r){if(e){t(e)}else{n(r)}})})}o(e,r||{},function(e,t){if(e){if(e.code==="EACCES"||r&&r.ignoreErrors){e=null;t=false}}n(e,t)})}function sync(e,r){try{return o.sync(e,r||{})}catch(e){if(r&&r.ignoreErrors||e.code==="EACCES"){return false}else{throw e}}}},9728:(e,r,n)=>{e.exports=isexe;isexe.sync=sync;var t=n(5747);function isexe(e,r,n){t.stat(e,function(e,t){n(e,e?false:checkStat(t,r))})}function sync(e,r){return checkStat(t.statSync(e),r)}function checkStat(e,r){return e.isFile()&&checkMode(e,r)}function checkMode(e,r){var n=e.mode;var t=e.uid;var o=e.gid;var i=r.uid!==undefined?r.uid:process.getuid&&process.getuid();var s=r.gid!==undefined?r.gid:process.getgid&&process.getgid();var c=parseInt("100",8);var u=parseInt("010",8);var a=parseInt("001",8);var l=c|u;var f=n&a||n&u&&o===s||n&c&&t===i||n&l&&i===0;return f}},2001:(e,r,n)=>{e.exports=isexe;isexe.sync=sync;var t=n(5747);function checkPathExt(e,r){var n=r.pathExt!==undefined?r.pathExt:process.env.PATHEXT;if(!n){return true}n=n.split(";");if(n.indexOf("")!==-1){return true}for(var t=0;t{"use strict";var t=n(916);e.exports=t},916:(e,r,n)=>{"use strict";var t=n(5190);var o=n(3034);function deprecated(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=n(967);e.exports.Schema=n(6514);e.exports.FAILSAFE_SCHEMA=n(6037);e.exports.JSON_SCHEMA=n(1571);e.exports.CORE_SCHEMA=n(2183);e.exports.DEFAULT_SAFE_SCHEMA=n(8949);e.exports.DEFAULT_FULL_SCHEMA=n(6874);e.exports.load=t.load;e.exports.loadAll=t.loadAll;e.exports.safeLoad=t.safeLoad;e.exports.safeLoadAll=t.safeLoadAll;e.exports.dump=o.dump;e.exports.safeDump=o.safeDump;e.exports.YAMLException=n(5199);e.exports.MINIMAL_SCHEMA=n(6037);e.exports.SAFE_SCHEMA=n(8949);e.exports.DEFAULT_SCHEMA=n(6874);e.exports.scan=deprecated("scan");e.exports.parse=deprecated("parse");e.exports.compose=deprecated("compose");e.exports.addConstructor=deprecated("addConstructor")},9136:e=>{"use strict";function isNothing(e){return typeof e==="undefined"||e===null}function isObject(e){return typeof e==="object"&&e!==null}function toArray(e){if(Array.isArray(e))return e;else if(isNothing(e))return[];return[e]}function extend(e,r){var n,t,o,i;if(r){i=Object.keys(r);for(n=0,t=i.length;n{"use strict";var t=n(9136);var o=n(5199);var i=n(6874);var s=n(8949);var c=Object.prototype.toString;var u=Object.prototype.hasOwnProperty;var a=9;var l=10;var f=13;var p=32;var d=33;var h=34;var m=35;var g=37;var w=38;var b=39;var E=42;var v=44;var T=45;var _=58;var O=61;var y=62;var S=63;var A=64;var P=91;var C=93;var j=96;var G=123;var F=124;var R=125;var D={};D[0]="\\0";D[7]="\\a";D[8]="\\b";D[9]="\\t";D[10]="\\n";D[11]="\\v";D[12]="\\f";D[13]="\\r";D[27]="\\e";D[34]='\\"';D[92]="\\\\";D[133]="\\N";D[160]="\\_";D[8232]="\\L";D[8233]="\\P";var x=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function compileStyleMap(e,r){var n,t,o,i,s,c,a;if(r===null)return{};n={};t=Object.keys(r);for(o=0,i=t.length;o0?e.charCodeAt(i-1):null;d=d&&isPlainSafe(s,c)}}else{for(i=0;it&&e[p+1]!==" ";p=i}}else if(!isPrintable(s)){return L}c=i>0?e.charCodeAt(i-1):null;d=d&&isPlainSafe(s,c)}a=a||f&&(i-p-1>t&&e[p+1]!==" ")}if(!u&&!a){return d&&!o(e)?U:k}if(n>9&&needIndentIndicator(e)){return L}return a?B:q}function writeScalar(e,r,n,t){e.dump=function(){if(r.length===0){return"''"}if(!e.noCompatMode&&x.indexOf(r)!==-1){return"'"+r+"'"}var i=e.indent*Math.max(1,n);var s=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-i);var c=t||e.flowLevel>-1&&n>=e.flowLevel;function testAmbiguity(r){return testImplicitResolving(e,r)}switch(chooseScalarStyle(r,c,e.indent,s,testAmbiguity)){case U:return r;case k:return"'"+r.replace(/'/g,"''")+"'";case q:return"|"+blockHeader(r,e.indent)+dropEndingNewline(indentString(r,i));case B:return">"+blockHeader(r,e.indent)+dropEndingNewline(indentString(foldString(r,s),i));case L:return'"'+escapeString(r,s)+'"';default:throw new o("impossible error: invalid scalar style")}}()}function blockHeader(e,r){var n=needIndentIndicator(e)?String(r):"";var t=e[e.length-1]==="\n";var o=t&&(e[e.length-2]==="\n"||e==="\n");var i=o?"+":t?"":"-";return n+i+"\n"}function dropEndingNewline(e){return e[e.length-1]==="\n"?e.slice(0,-1):e}function foldString(e,r){var n=/(\n+)([^\n]*)/g;var t=function(){var t=e.indexOf("\n");t=t!==-1?t:e.length;n.lastIndex=t;return foldLine(e.slice(0,t),r)}();var o=e[0]==="\n"||e[0]===" ";var i;var s;while(s=n.exec(e)){var c=s[1],u=s[2];i=u[0]===" ";t+=c+(!o&&!i&&u!==""?"\n":"")+foldLine(u,r);o=i}return t}function foldLine(e,r){if(e===""||e[0]===" ")return e;var n=/ [^ ]/g;var t;var o=0,i,s=0,c=0;var u="";while(t=n.exec(e)){c=t.index;if(c-o>r){i=s>o?s:c;u+="\n"+e.slice(o,i);o=i+1}s=c}u+="\n";if(e.length-o>r&&s>o){u+=e.slice(o,s)+"\n"+e.slice(s+1)}else{u+=e.slice(o)}return u.slice(1)}function escapeString(e){var r="";var n,t;var o;for(var i=0;i=55296&&n<=56319){t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){r+=encodeHex((n-55296)*1024+t-56320+65536);i++;continue}}o=D[n];r+=!o&&isPrintable(n)?e[i]:o||encodeHex(n)}return r}function writeFlowSequence(e,r,n){var t="",o=e.tag,i,s;for(i=0,s=n.length;i1024)l+="? ";l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" ");if(!writeNode(e,r,a,false,false)){continue}l+=e.dump;t+=l}e.tag=o;e.dump="{"+t+"}"}function writeBlockMapping(e,r,n,t){var i="",s=e.tag,c=Object.keys(n),u,a,f,p,d,h;if(e.sortKeys===true){c.sort()}else if(typeof e.sortKeys==="function"){c.sort(e.sortKeys)}else if(e.sortKeys){throw new o("sortKeys must be a boolean or a function")}for(u=0,a=c.length;u1024;if(d){if(e.dump&&l===e.dump.charCodeAt(0)){h+="?"}else{h+="? "}}h+=e.dump;if(d){h+=generateNextLine(e,r)}if(!writeNode(e,r+1,p,true,d)){continue}if(e.dump&&l===e.dump.charCodeAt(0)){h+=":"}else{h+=": "}h+=e.dump;i+=h}e.tag=s;e.dump=i||"{}"}function detectType(e,r,n){var t,i,s,a,l,f;i=n?e.explicitTypes:e.implicitTypes;for(s=0,a=i.length;s tag resolver accepts not "'+f+'" style')}e.dump=t}return true}}return false}function writeNode(e,r,n,t,i,s){e.tag=null;e.dump=n;if(!detectType(e,n,false)){detectType(e,n,true)}var u=c.call(e.dump);if(t){t=e.flowLevel<0||e.flowLevel>r}var a=u==="[object Object]"||u==="[object Array]",l,f;if(a){l=e.duplicates.indexOf(n);f=l!==-1}if(e.tag!==null&&e.tag!=="?"||f||e.indent!==2&&r>0){i=false}if(f&&e.usedDuplicates[l]){e.dump="*ref_"+l}else{if(a&&f&&!e.usedDuplicates[l]){e.usedDuplicates[l]=true}if(u==="[object Object]"){if(t&&Object.keys(e.dump).length!==0){writeBlockMapping(e,r,e.dump,i);if(f){e.dump="&ref_"+l+e.dump}}else{writeFlowMapping(e,r,e.dump);if(f){e.dump="&ref_"+l+" "+e.dump}}}else if(u==="[object Array]"){var p=e.noArrayIndent&&r>0?r-1:r;if(t&&e.dump.length!==0){writeBlockSequence(e,p,e.dump,i);if(f){e.dump="&ref_"+l+e.dump}}else{writeFlowSequence(e,p,e.dump);if(f){e.dump="&ref_"+l+" "+e.dump}}}else if(u==="[object String]"){if(e.tag!=="?"){writeScalar(e,e.dump,r,s)}}else{if(e.skipInvalid)return false;throw new o("unacceptable kind of an object to dump "+u)}if(e.tag!==null&&e.tag!=="?"){e.dump="!<"+e.tag+"> "+e.dump}}return true}function getDuplicateReferences(e,r){var n=[],t=[],o,i;inspectNode(e,n,t);for(o=0,i=t.length;o{"use strict";function YAMLException(e,r){Error.call(this);this.name="YAMLException";this.reason=e;this.mark=r;this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"");if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function toString(e){var r=this.name+": ";r+=this.reason||"(unknown reason)";if(!e&&this.mark){r+=" "+this.mark.toString()}return r};e.exports=YAMLException},5190:(e,r,n)=>{"use strict";var t=n(9136);var o=n(5199);var i=n(5426);var s=n(8949);var c=n(6874);var u=Object.prototype.hasOwnProperty;var a=1;var l=2;var f=3;var p=4;var d=1;var h=2;var m=3;var g=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var w=/[\x85\u2028\u2029]/;var b=/[,\[\]\{\}]/;var E=/^(?:!|!!|![a-z\-]+!)$/i;var v=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(e){return Object.prototype.toString.call(e)}function is_EOL(e){return e===10||e===13}function is_WHITE_SPACE(e){return e===9||e===32}function is_WS_OR_EOL(e){return e===9||e===32||e===10||e===13}function is_FLOW_INDICATOR(e){return e===44||e===91||e===93||e===123||e===125}function fromHexCode(e){var r;if(48<=e&&e<=57){return e-48}r=e|32;if(97<=r&&r<=102){return r-97+10}return-1}function escapedHexLen(e){if(e===120){return 2}if(e===117){return 4}if(e===85){return 8}return 0}function fromDecimalCode(e){if(48<=e&&e<=57){return e-48}return-1}function simpleEscapeSequence(e){return e===48?"\0":e===97?"":e===98?"\b":e===116?"\t":e===9?"\t":e===110?"\n":e===118?"\v":e===102?"\f":e===114?"\r":e===101?"":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function charFromCodepoint(e){if(e<=65535){return String.fromCharCode(e)}return String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var T=new Array(256);var _=new Array(256);for(var O=0;O<256;O++){T[O]=simpleEscapeSequence(O)?1:0;_[O]=simpleEscapeSequence(O)}function State(e,r){this.input=e;this.filename=r["filename"]||null;this.schema=r["schema"]||c;this.onWarning=r["onWarning"]||null;this.legacy=r["legacy"]||false;this.json=r["json"]||false;this.listener=r["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=e.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.documents=[]}function generateError(e,r){return new o(r,new i(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function throwError(e,r){throw generateError(e,r)}function throwWarning(e,r){if(e.onWarning){e.onWarning.call(null,generateError(e,r))}}var y={YAML:function handleYamlDirective(e,r,n){var t,o,i;if(e.version!==null){throwError(e,"duplication of %YAML directive")}if(n.length!==1){throwError(e,"YAML directive accepts exactly one argument")}t=/^([0-9]+)\.([0-9]+)$/.exec(n[0]);if(t===null){throwError(e,"ill-formed argument of the YAML directive")}o=parseInt(t[1],10);i=parseInt(t[2],10);if(o!==1){throwError(e,"unacceptable YAML version of the document")}e.version=n[0];e.checkLineBreaks=i<2;if(i!==1&&i!==2){throwWarning(e,"unsupported YAML version of the document")}},TAG:function handleTagDirective(e,r,n){var t,o;if(n.length!==2){throwError(e,"TAG directive accepts exactly two arguments")}t=n[0];o=n[1];if(!E.test(t)){throwError(e,"ill-formed tag handle (first argument) of the TAG directive")}if(u.call(e.tagMap,t)){throwError(e,'there is a previously declared suffix for "'+t+'" tag handle')}if(!v.test(o)){throwError(e,"ill-formed tag prefix (second argument) of the TAG directive")}e.tagMap[t]=o}};function captureSegment(e,r,n,t){var o,i,s,c;if(r1){e.result+=t.repeat("\n",r-1)}}function readPlainScalar(e,r,n){var t,o,i,s,c,u,a,l,f=e.kind,p=e.result,d;d=e.input.charCodeAt(e.position);if(is_WS_OR_EOL(d)||is_FLOW_INDICATOR(d)||d===35||d===38||d===42||d===33||d===124||d===62||d===39||d===34||d===37||d===64||d===96){return false}if(d===63||d===45){o=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(o)||n&&is_FLOW_INDICATOR(o)){return false}}e.kind="scalar";e.result="";i=s=e.position;c=false;while(d!==0){if(d===58){o=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(o)||n&&is_FLOW_INDICATOR(o)){break}}else if(d===35){t=e.input.charCodeAt(e.position-1);if(is_WS_OR_EOL(t)){break}}else if(e.position===e.lineStart&&testDocumentSeparator(e)||n&&is_FLOW_INDICATOR(d)){break}else if(is_EOL(d)){u=e.line;a=e.lineStart;l=e.lineIndent;skipSeparationSpace(e,false,-1);if(e.lineIndent>=r){c=true;d=e.input.charCodeAt(e.position);continue}else{e.position=s;e.line=u;e.lineStart=a;e.lineIndent=l;break}}if(c){captureSegment(e,i,s,false);writeFoldedLines(e,e.line-u);i=s=e.position;c=false}if(!is_WHITE_SPACE(d)){s=e.position+1}d=e.input.charCodeAt(++e.position)}captureSegment(e,i,s,false);if(e.result){return true}e.kind=f;e.result=p;return false}function readSingleQuotedScalar(e,r){var n,t,o;n=e.input.charCodeAt(e.position);if(n!==39){return false}e.kind="scalar";e.result="";e.position++;t=o=e.position;while((n=e.input.charCodeAt(e.position))!==0){if(n===39){captureSegment(e,t,e.position,true);n=e.input.charCodeAt(++e.position);if(n===39){t=e.position;e.position++;o=e.position}else{return true}}else if(is_EOL(n)){captureSegment(e,t,o,true);writeFoldedLines(e,skipSeparationSpace(e,false,r));t=o=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a single quoted scalar")}else{e.position++;o=e.position}}throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,r){var n,t,o,i,s,c;c=e.input.charCodeAt(e.position);if(c!==34){return false}e.kind="scalar";e.result="";e.position++;n=t=e.position;while((c=e.input.charCodeAt(e.position))!==0){if(c===34){captureSegment(e,n,e.position,true);e.position++;return true}else if(c===92){captureSegment(e,n,e.position,true);c=e.input.charCodeAt(++e.position);if(is_EOL(c)){skipSeparationSpace(e,false,r)}else if(c<256&&T[c]){e.result+=_[c];e.position++}else if((s=escapedHexLen(c))>0){o=s;i=0;for(;o>0;o--){c=e.input.charCodeAt(++e.position);if((s=fromHexCode(c))>=0){i=(i<<4)+s}else{throwError(e,"expected hexadecimal character")}}e.result+=charFromCodepoint(i);e.position++}else{throwError(e,"unknown escape sequence")}n=t=e.position}else if(is_EOL(c)){captureSegment(e,n,t,true);writeFoldedLines(e,skipSeparationSpace(e,false,r));n=t=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a double quoted scalar")}else{e.position++;t=e.position}}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(e,r){var n=true,t,o=e.tag,i,s=e.anchor,c,u,l,f,p,d={},h,m,g,w;w=e.input.charCodeAt(e.position);if(w===91){u=93;p=false;i=[]}else if(w===123){u=125;p=true;i={}}else{return false}if(e.anchor!==null){e.anchorMap[e.anchor]=i}w=e.input.charCodeAt(++e.position);while(w!==0){skipSeparationSpace(e,true,r);w=e.input.charCodeAt(e.position);if(w===u){e.position++;e.tag=o;e.anchor=s;e.kind=p?"mapping":"sequence";e.result=i;return true}else if(!n){throwError(e,"missed comma between flow collection entries")}m=h=g=null;l=f=false;if(w===63){c=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(c)){l=f=true;e.position++;skipSeparationSpace(e,true,r)}}t=e.line;composeNode(e,r,a,false,true);m=e.tag;h=e.result;skipSeparationSpace(e,true,r);w=e.input.charCodeAt(e.position);if((f||e.line===t)&&w===58){l=true;w=e.input.charCodeAt(++e.position);skipSeparationSpace(e,true,r);composeNode(e,r,a,false,true);g=e.result}if(p){storeMappingPair(e,i,d,m,h,g)}else if(l){i.push(storeMappingPair(e,null,d,m,h,g))}else{i.push(h)}skipSeparationSpace(e,true,r);w=e.input.charCodeAt(e.position);if(w===44){n=true;w=e.input.charCodeAt(++e.position)}else{n=false}}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockScalar(e,r){var n,o,i=d,s=false,c=false,u=r,a=0,l=false,f,p;p=e.input.charCodeAt(e.position);if(p===124){o=false}else if(p===62){o=true}else{return false}e.kind="scalar";e.result="";while(p!==0){p=e.input.charCodeAt(++e.position);if(p===43||p===45){if(d===i){i=p===43?m:h}else{throwError(e,"repeat of a chomping mode identifier")}}else if((f=fromDecimalCode(p))>=0){if(f===0){throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!c){u=r+f-1;c=true}else{throwError(e,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(p)){do{p=e.input.charCodeAt(++e.position)}while(is_WHITE_SPACE(p));if(p===35){do{p=e.input.charCodeAt(++e.position)}while(!is_EOL(p)&&p!==0)}}while(p!==0){readLineBreak(e);e.lineIndent=0;p=e.input.charCodeAt(e.position);while((!c||e.lineIndentu){u=e.lineIndent}if(is_EOL(p)){a++;continue}if(e.lineIndentr)&&u!==0){throwError(e,"bad indentation of a sequence entry")}else if(e.lineIndentr){if(composeNode(e,r,p,true,o)){if(g){h=e.result}else{m=e.result}}if(!g){storeMappingPair(e,a,f,d,h,m,i,s);d=h=m=null}skipSeparationSpace(e,true,-1);b=e.input.charCodeAt(e.position)}if(e.lineIndent>r&&b!==0){throwError(e,"bad indentation of a mapping entry")}else if(e.lineIndentr){d=1}else if(e.lineIndent===r){d=0}else if(e.lineIndentr){d=1}else if(e.lineIndent===r){d=0}else if(e.lineIndent tag; it should be "scalar", not "'+e.kind+'"')}for(g=0,w=e.implicitTypes.length;g tag; it should be "'+b.kind+'", not "'+e.kind+'"')}if(!b.resolve(e.result)){throwError(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}else{e.result=b.construct(e.result);if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}else{throwError(e,"unknown tag !<"+e.tag+">")}}if(e.listener!==null){e.listener("close",e)}return e.tag!==null||e.anchor!==null||m}function readDocument(e){var r=e.position,n,t,o,i=false,s;e.version=null;e.checkLineBreaks=e.legacy;e.tagMap={};e.anchorMap={};while((s=e.input.charCodeAt(e.position))!==0){skipSeparationSpace(e,true,-1);s=e.input.charCodeAt(e.position);if(e.lineIndent>0||s!==37){break}i=true;s=e.input.charCodeAt(++e.position);n=e.position;while(s!==0&&!is_WS_OR_EOL(s)){s=e.input.charCodeAt(++e.position)}t=e.input.slice(n,e.position);o=[];if(t.length<1){throwError(e,"directive name must not be less than one character in length")}while(s!==0){while(is_WHITE_SPACE(s)){s=e.input.charCodeAt(++e.position)}if(s===35){do{s=e.input.charCodeAt(++e.position)}while(s!==0&&!is_EOL(s));break}if(is_EOL(s))break;n=e.position;while(s!==0&&!is_WS_OR_EOL(s)){s=e.input.charCodeAt(++e.position)}o.push(e.input.slice(n,e.position))}if(s!==0)readLineBreak(e);if(u.call(y,t)){y[t](e,t,o)}else{throwWarning(e,'unknown document directive "'+t+'"')}}skipSeparationSpace(e,true,-1);if(e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45){e.position+=3;skipSeparationSpace(e,true,-1)}else if(i){throwError(e,"directives end mark is expected")}composeNode(e,e.lineIndent-1,p,false,true);skipSeparationSpace(e,true,-1);if(e.checkLineBreaks&&w.test(e.input.slice(r,e.position))){throwWarning(e,"non-ASCII line breaks are interpreted as content")}e.documents.push(e.result);if(e.position===e.lineStart&&testDocumentSeparator(e)){if(e.input.charCodeAt(e.position)===46){e.position+=3;skipSeparationSpace(e,true,-1)}return}if(e.position{"use strict";var t=n(9136);function Mark(e,r,n,t,o){this.name=e;this.buffer=r;this.position=n;this.line=t;this.column=o}Mark.prototype.getSnippet=function getSnippet(e,r){var n,o,i,s,c;if(!this.buffer)return null;e=e||4;r=r||75;n="";o=this.position;while(o>0&&"\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(o-1))===-1){o-=1;if(this.position-o>r/2-1){n=" ... ";o+=5;break}}i="";s=this.position;while(sr/2-1){i=" ... ";s-=5;break}}c=this.buffer.slice(o,s);return t.repeat(" ",e)+n+c+i+"\n"+t.repeat(" ",e+this.position-o+n.length)+"^"};Mark.prototype.toString=function toString(e){var r,n="";if(this.name){n+='in "'+this.name+'" '}n+="at line "+(this.line+1)+", column "+(this.column+1);if(!e){r=this.getSnippet();if(r){n+=":\n"+r}}return n};e.exports=Mark},6514:(e,r,n)=>{"use strict";var t=n(9136);var o=n(5199);var i=n(967);function compileList(e,r,n){var t=[];e.include.forEach(function(e){n=compileList(e,r,n)});e[r].forEach(function(e){n.forEach(function(r,n){if(r.tag===e.tag&&r.kind===e.kind){t.push(n)}});n.push(e)});return n.filter(function(e,r){return t.indexOf(r)===-1})}function compileMap(){var e={scalar:{},sequence:{},mapping:{},fallback:{}},r,n;function collectType(r){e[r.kind][r.tag]=e["fallback"][r.tag]=r}for(r=0,n=arguments.length;r{"use strict";var t=n(6514);e.exports=new t({include:[n(1571)]})},6874:(e,r,n)=>{"use strict";var t=n(6514);e.exports=t.DEFAULT=new t({include:[n(8949)],explicit:[n(5914),n(9242),n(7278)]})},8949:(e,r,n)=>{"use strict";var t=n(6514);e.exports=new t({include:[n(2183)],implicit:[n(3714),n(1393)],explicit:[n(2551),n(6668),n(6039),n(9237)]})},6037:(e,r,n)=>{"use strict";var t=n(6514);e.exports=new t({explicit:[n(2672),n(5490),n(1173)]})},1571:(e,r,n)=>{"use strict";var t=n(6514);e.exports=new t({include:[n(6037)],implicit:[n(2671),n(4675),n(9963),n(5564)]})},967:(e,r,n)=>{"use strict";var t=n(5199);var o=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"];var i=["scalar","sequence","mapping"];function compileStyleAliases(e){var r={};if(e!==null){Object.keys(e).forEach(function(n){e[n].forEach(function(e){r[String(e)]=n})})}return r}function Type(e,r){r=r||{};Object.keys(r).forEach(function(r){if(o.indexOf(r)===-1){throw new t('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}});this.tag=e;this.kind=r["kind"]||null;this.resolve=r["resolve"]||function(){return true};this.construct=r["construct"]||function(e){return e};this.instanceOf=r["instanceOf"]||null;this.predicate=r["predicate"]||null;this.represent=r["represent"]||null;this.defaultStyle=r["defaultStyle"]||null;this.styleAliases=compileStyleAliases(r["styleAliases"]||null);if(i.indexOf(this.kind)===-1){throw new t('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}}e.exports=Type},2551:(e,r,n)=>{"use strict";var t;try{var o=require;t=o("buffer").Buffer}catch(e){}var i=n(967);var s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(e){if(e===null)return false;var r,n,t=0,o=e.length,i=s;for(n=0;n64)continue;if(r<0)return false;t+=6}return t%8===0}function constructYamlBinary(e){var r,n,o=e.replace(/[\r\n=]/g,""),i=o.length,c=s,u=0,a=[];for(r=0;r>16&255);a.push(u>>8&255);a.push(u&255)}u=u<<6|c.indexOf(o.charAt(r))}n=i%4*6;if(n===0){a.push(u>>16&255);a.push(u>>8&255);a.push(u&255)}else if(n===18){a.push(u>>10&255);a.push(u>>2&255)}else if(n===12){a.push(u>>4&255)}if(t){return t.from?t.from(a):new t(a)}return a}function representYamlBinary(e){var r="",n=0,t,o,i=e.length,c=s;for(t=0;t>18&63];r+=c[n>>12&63];r+=c[n>>6&63];r+=c[n&63]}n=(n<<8)+e[t]}o=i%3;if(o===0){r+=c[n>>18&63];r+=c[n>>12&63];r+=c[n>>6&63];r+=c[n&63]}else if(o===2){r+=c[n>>10&63];r+=c[n>>4&63];r+=c[n<<2&63];r+=c[64]}else if(o===1){r+=c[n>>2&63];r+=c[n<<4&63];r+=c[64];r+=c[64]}return r}function isBinary(e){return t&&t.isBuffer(e)}e.exports=new i("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},4675:(e,r,n)=>{"use strict";var t=n(967);function resolveYamlBoolean(e){if(e===null)return false;var r=e.length;return r===4&&(e==="true"||e==="True"||e==="TRUE")||r===5&&(e==="false"||e==="False"||e==="FALSE")}function constructYamlBoolean(e){return e==="true"||e==="True"||e==="TRUE"}function isBoolean(e){return Object.prototype.toString.call(e)==="[object Boolean]"}e.exports=new t("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},5564:(e,r,n)=>{"use strict";var t=n(9136);var o=n(967);var i=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(e){if(e===null)return false;if(!i.test(e)||e[e.length-1]==="_"){return false}return true}function constructYamlFloat(e){var r,n,t,o;r=e.replace(/_/g,"").toLowerCase();n=r[0]==="-"?-1:1;o=[];if("+-".indexOf(r[0])>=0){r=r.slice(1)}if(r===".inf"){return n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(r===".nan"){return NaN}else if(r.indexOf(":")>=0){r.split(":").forEach(function(e){o.unshift(parseFloat(e,10))});r=0;t=1;o.forEach(function(e){r+=e*t;t*=60});return n*r}return n*parseFloat(r,10)}var s=/^[-+]?[0-9]+e/;function representYamlFloat(e,r){var n;if(isNaN(e)){switch(r){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===e){switch(r){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===e){switch(r){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(t.isNegativeZero(e)){return"-0.0"}n=e.toString(10);return s.test(n)?n.replace("e",".e"):n}function isFloat(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||t.isNegativeZero(e))}e.exports=new o("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},9963:(e,r,n)=>{"use strict";var t=n(9136);var o=n(967);function isHexCode(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function isOctCode(e){return 48<=e&&e<=55}function isDecCode(e){return 48<=e&&e<=57}function resolveYamlInteger(e){if(e===null)return false;var r=e.length,n=0,t=false,o;if(!r)return false;o=e[n];if(o==="-"||o==="+"){o=e[++n]}if(o==="0"){if(n+1===r)return true;o=e[++n];if(o==="b"){n++;for(;n=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},7278:(e,r,n)=>{"use strict";var t;try{var o=require;t=o("esprima")}catch(e){if(typeof window!=="undefined")t=window.esprima}var i=n(967);function resolveJavascriptFunction(e){if(e===null)return false;try{var r="("+e+")",n=t.parse(r,{range:true});if(n.type!=="Program"||n.body.length!==1||n.body[0].type!=="ExpressionStatement"||n.body[0].expression.type!=="ArrowFunctionExpression"&&n.body[0].expression.type!=="FunctionExpression"){return false}return true}catch(e){return false}}function constructJavascriptFunction(e){var r="("+e+")",n=t.parse(r,{range:true}),o=[],i;if(n.type!=="Program"||n.body.length!==1||n.body[0].type!=="ExpressionStatement"||n.body[0].expression.type!=="ArrowFunctionExpression"&&n.body[0].expression.type!=="FunctionExpression"){throw new Error("Failed to resolve function")}n.body[0].expression.params.forEach(function(e){o.push(e.name)});i=n.body[0].expression.body.range;if(n.body[0].expression.body.type==="BlockStatement"){return new Function(o,r.slice(i[0]+1,i[1]-1))}return new Function(o,"return "+r.slice(i[0],i[1]))}function representJavascriptFunction(e){return e.toString()}function isFunction(e){return Object.prototype.toString.call(e)==="[object Function]"}e.exports=new i("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:resolveJavascriptFunction,construct:constructJavascriptFunction,predicate:isFunction,represent:representJavascriptFunction})},9242:(e,r,n)=>{"use strict";var t=n(967);function resolveJavascriptRegExp(e){if(e===null)return false;if(e.length===0)return false;var r=e,n=/\/([gim]*)$/.exec(e),t="";if(r[0]==="/"){if(n)t=n[1];if(t.length>3)return false;if(r[r.length-t.length-1]!=="/")return false}return true}function constructJavascriptRegExp(e){var r=e,n=/\/([gim]*)$/.exec(e),t="";if(r[0]==="/"){if(n)t=n[1];r=r.slice(1,r.length-t.length-1)}return new RegExp(r,t)}function representJavascriptRegExp(e){var r="/"+e.source+"/";if(e.global)r+="g";if(e.multiline)r+="m";if(e.ignoreCase)r+="i";return r}function isRegExp(e){return Object.prototype.toString.call(e)==="[object RegExp]"}e.exports=new t("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp,represent:representJavascriptRegExp})},5914:(e,r,n)=>{"use strict";var t=n(967);function resolveJavascriptUndefined(){return true}function constructJavascriptUndefined(){return undefined}function representJavascriptUndefined(){return""}function isUndefined(e){return typeof e==="undefined"}e.exports=new t("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined,represent:representJavascriptUndefined})},1173:(e,r,n)=>{"use strict";var t=n(967);e.exports=new t("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}})},1393:(e,r,n)=>{"use strict";var t=n(967);function resolveYamlMerge(e){return e==="<<"||e===null}e.exports=new t("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},2671:(e,r,n)=>{"use strict";var t=n(967);function resolveYamlNull(e){if(e===null)return true;var r=e.length;return r===1&&e==="~"||r===4&&(e==="null"||e==="Null"||e==="NULL")}function constructYamlNull(){return null}function isNull(e){return e===null}e.exports=new t("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},6668:(e,r,n)=>{"use strict";var t=n(967);var o=Object.prototype.hasOwnProperty;var i=Object.prototype.toString;function resolveYamlOmap(e){if(e===null)return true;var r=[],n,t,s,c,u,a=e;for(n=0,t=a.length;n{"use strict";var t=n(967);var o=Object.prototype.toString;function resolveYamlPairs(e){if(e===null)return true;var r,n,t,i,s,c=e;s=new Array(c.length);for(r=0,n=c.length;r{"use strict";var t=n(967);e.exports=new t("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}})},9237:(e,r,n)=>{"use strict";var t=n(967);var o=Object.prototype.hasOwnProperty;function resolveYamlSet(e){if(e===null)return true;var r,n=e;for(r in n){if(o.call(n,r)){if(n[r]!==null)return false}}return true}function constructYamlSet(e){return e!==null?e:{}}e.exports=new t("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet})},2672:(e,r,n)=>{"use strict";var t=n(967);e.exports=new t("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}})},3714:(e,r,n)=>{"use strict";var t=n(967);var o=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var i=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(e){if(e===null)return false;if(o.exec(e)!==null)return true;if(i.exec(e)!==null)return true;return false}function constructYamlTimestamp(e){var r,n,t,s,c,u,a,l=0,f=null,p,d,h;r=o.exec(e);if(r===null)r=i.exec(e);if(r===null)throw new Error("Date resolve error");n=+r[1];t=+r[2]-1;s=+r[3];if(!r[4]){return new Date(Date.UTC(n,t,s))}c=+r[4];u=+r[5];a=+r[6];if(r[7]){l=r[7].slice(0,3);while(l.length<3){l+="0"}l=+l}if(r[9]){p=+r[10];d=+(r[11]||0);f=(p*60+d)*6e4;if(r[9]==="-")f=-f}h=new Date(Date.UTC(n,t,s,c,u,a,l));if(f)h.setTime(h.getTime()-f);return h}function representYamlTimestamp(e){return e.toISOString()}e.exports=new t("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp})},7493:(e,r,n)=>{"use strict";const t=n(2087);const o=new Map([[19,"Catalina"],[18,"Mojave"],[17,"High Sierra"],[16,"Sierra"],[15,"El Capitan"],[14,"Yosemite"],[13,"Mavericks"],[12,"Mountain Lion"],[11,"Lion"],[10,"Snow Leopard"],[9,"Leopard"],[8,"Tiger"],[7,"Panther"],[6,"Jaguar"],[5,"Puma"]]);const i=e=>{e=Number((e||t.release()).split(".")[0]);return{name:o.get(e),version:"10."+(e-4)}};e.exports=i;e.exports.default=i},8272:function(e){(function(r,n){true?e.exports=n():0})(this,function(){"use strict";var e=Object.prototype.toString;var r=Array.isArray||function isArrayPolyfill(r){return e.call(r)==="[object Array]"};function isFunction(e){return typeof e==="function"}function typeStr(e){return r(e)?"array":typeof e}function escapeRegExp(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function hasProperty(e,r){return e!=null&&typeof e==="object"&&r in e}function primitiveHasOwnProperty(e,r){return e!=null&&typeof e!=="object"&&e.hasOwnProperty&&e.hasOwnProperty(r)}var n=RegExp.prototype.test;function testRegExp(e,r){return n.call(e,r)}var t=/\S/;function isWhitespace(e){return!testRegExp(t,e)}var o={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};function escapeHtml(e){return String(e).replace(/[&<>"'`=\/]/g,function fromEntityMap(e){return o[e]})}var i=/\s*/;var s=/\s+/;var c=/\s*=/;var u=/\s*\}/;var a=/#|\^|\/|>|\{|&|=|!/;function parseTemplate(e,n){if(!e)return[];var t=false;var o=[];var f=[];var p=[];var d=false;var h=false;var m="";var g=0;function stripSpace(){if(d&&!h){while(p.length)delete f[p.pop()]}else{p=[]}d=false;h=false}var w,b,E;function compileTags(e){if(typeof e==="string")e=e.split(s,2);if(!r(e)||e.length!==2)throw new Error("Invalid tags: "+e);w=new RegExp(escapeRegExp(e[0])+"\\s*");b=new RegExp("\\s*"+escapeRegExp(e[1]));E=new RegExp("\\s*"+escapeRegExp("}"+e[1]))}compileTags(n||l.tags);var v=new Scanner(e);var T,_,O,y,S,A;while(!v.eos()){T=v.pos;O=v.scanUntil(w);if(O){for(var P=0,C=O.length;P"){S=[_,O,T,v.pos,m,g,t]}else{S=[_,O,T,v.pos]}g++;f.push(S);if(_==="#"||_==="^"){o.push(S)}else if(_==="/"){A=o.pop();if(!A)throw new Error('Unopened section "'+O+'" at '+T);if(A[1]!==O)throw new Error('Unclosed section "'+A[1]+'" at '+T)}else if(_==="name"||_==="{"||_==="&"){h=true}else if(_==="="){compileTags(O)}}stripSpace();A=o.pop();if(A)throw new Error('Unclosed section "'+A[1]+'" at '+v.pos);return nestTokens(squashTokens(f))}function squashTokens(e){var r=[];var n,t;for(var o=0,i=e.length;o0?t[t.length-1][4]:r;break;default:n.push(o)}}return r}function Scanner(e){this.string=e;this.tail=e;this.pos=0}Scanner.prototype.eos=function eos(){return this.tail===""};Scanner.prototype.scan=function scan(e){var r=this.tail.match(e);if(!r||r.index!==0)return"";var n=r[0];this.tail=this.tail.substring(n.length);this.pos+=n.length;return n};Scanner.prototype.scanUntil=function scanUntil(e){var r=this.tail.search(e),n;switch(r){case-1:n=this.tail;this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,r);this.tail=this.tail.substring(r)}this.pos+=n.length;return n};function Context(e,r){this.view=e;this.cache={".":this.view};this.parent=r}Context.prototype.push=function push(e){return new Context(e,this)};Context.prototype.lookup=function lookup(e){var r=this.cache;var n;if(r.hasOwnProperty(e)){n=r[e]}else{var t=this,o,i,s,c=false;while(t){if(e.indexOf(".")>0){o=t.view;i=e.split(".");s=0;while(o!=null&&s")u=this.renderPartial(s,r,n,o);else if(c==="&")u=this.unescapedValue(s,r);else if(c==="name")u=this.escapedValue(s,r);else if(c==="text")u=this.rawValue(s);if(u!==undefined)i+=u}return i};Writer.prototype.renderSection=function renderSection(e,n,t,o){var i=this;var s="";var c=n.lookup(e[1]);function subRender(e){return i.render(e,n,t)}if(!c)return;if(r(c)){for(var u=0,a=c.length;u0||!n)){o[i]=t+o[i]}}return o.join("\n")};Writer.prototype.renderPartial=function renderPartial(e,r,n,t){if(!n)return;var o=isFunction(n)?n(e[1]):n[e[1]];if(o!=null){var i=e[6];var s=e[5];var c=e[4];var u=o;if(s==0&&c){u=this.indentPartial(o,c,i)}return this.renderTokens(this.parse(u,t),r,n,u,t)}};Writer.prototype.unescapedValue=function unescapedValue(e,r){var n=r.lookup(e[1]);if(n!=null)return n};Writer.prototype.escapedValue=function escapedValue(e,r){var n=r.lookup(e[1]);if(n!=null)return l.escape(n)};Writer.prototype.rawValue=function rawValue(e){return e[1]};var l={name:"mustache.js",version:"4.0.1",tags:["{{","}}"],clearCache:undefined,escape:undefined,parse:undefined,render:undefined,Scanner:undefined,Context:undefined,Writer:undefined,set templateCache(e){f.templateCache=e},get templateCache(){return f.templateCache}};var f=new Writer;l.clearCache=function clearCache(){return f.clearCache()};l.parse=function parse(e,r){return f.parse(e,r)};l.render=function render(e,r,n,t){if(typeof e!=="string"){throw new TypeError('Invalid template! Template should be a "string" '+'but "'+typeStr(e)+'" was given as the first '+"argument for mustache#render(template, view, partials)")}return f.render(e,r,n,t)};l.escape=escapeHtml;l.Scanner=Scanner;l.Context=Context;l.Writer=Writer;return l})},8560:e=>{"use strict";e.exports=function(e){try{return e()}catch(e){}}},467:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var t=_interopDefault(n(2413));var o=_interopDefault(n(8605));var i=_interopDefault(n(8835));var s=_interopDefault(n(7211));var c=_interopDefault(n(8761));const u=t.Readable;const a=Symbol("buffer");const l=Symbol("type");class Blob{constructor(){this[l]="";const e=arguments[0];const r=arguments[1];const n=[];let t=0;if(e){const r=e;const o=Number(r.length);for(let e=0;e1&&arguments[1]!==undefined?arguments[1]:{},o=n.size;let i=o===undefined?0:o;var s=n.timeout;let c=s===undefined?0:s;if(e==null){e=null}else if(isURLSearchParams(e)){e=Buffer.from(e.toString())}else if(isBlob(e)) ;else if(Buffer.isBuffer(e)) ;else if(Object.prototype.toString.call(e)==="[object ArrayBuffer]"){e=Buffer.from(e)}else if(ArrayBuffer.isView(e)){e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}else if(e instanceof t) ;else{e=Buffer.from(String(e))}this[p]={body:e,disturbed:false,error:null};this.size=i;this.timeout=c;if(e instanceof t){e.on("error",function(e){const n=e.name==="AbortError"?e:new FetchError(`Invalid response body while trying to fetch ${r.url}: ${e.message}`,"system",e);r[p].error=n})}}Body.prototype={get body(){return this[p].body},get bodyUsed(){return this[p].disturbed},arrayBuffer(){return consumeBody.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let e=this.headers&&this.headers.get("content-type")||"";return consumeBody.call(this).then(function(r){return Object.assign(new Blob([],{type:e.toLowerCase()}),{[a]:r})})},json(){var e=this;return consumeBody.call(this).then(function(r){try{return JSON.parse(r.toString())}catch(r){return Body.Promise.reject(new FetchError(`invalid json response body at ${e.url} reason: ${r.message}`,"invalid-json"))}})},text(){return consumeBody.call(this).then(function(e){return e.toString()})},buffer(){return consumeBody.call(this)},textConverted(){var e=this;return consumeBody.call(this).then(function(r){return convertBody(r,e.headers)})}};Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true}});Body.mixIn=function(e){for(const r of Object.getOwnPropertyNames(Body.prototype)){if(!(r in e)){const n=Object.getOwnPropertyDescriptor(Body.prototype,r);Object.defineProperty(e,r,n)}}};function consumeBody(){var e=this;if(this[p].disturbed){return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[p].disturbed=true;if(this[p].error){return Body.Promise.reject(this[p].error)}let r=this.body;if(r===null){return Body.Promise.resolve(Buffer.alloc(0))}if(isBlob(r)){r=r.stream()}if(Buffer.isBuffer(r)){return Body.Promise.resolve(r)}if(!(r instanceof t)){return Body.Promise.resolve(Buffer.alloc(0))}let n=[];let o=0;let i=false;return new Body.Promise(function(t,s){let c;if(e.timeout){c=setTimeout(function(){i=true;s(new FetchError(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))},e.timeout)}r.on("error",function(r){if(r.name==="AbortError"){i=true;s(r)}else{s(new FetchError(`Invalid response body while trying to fetch ${e.url}: ${r.message}`,"system",r))}});r.on("data",function(r){if(i||r===null){return}if(e.size&&o+r.length>e.size){i=true;s(new FetchError(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}o+=r.length;n.push(r)});r.on("end",function(){if(i){return}clearTimeout(c);try{t(Buffer.concat(n,o))}catch(r){s(new FetchError(`Could not create Buffer from response body for ${e.url}: ${r.message}`,"system",r))}})})}function convertBody(e,r){if(typeof f!=="function"){throw new Error("The package `encoding` must be installed to use the textConverted() function")}const n=r.get("content-type");let t="utf-8";let o,i;if(n){o=/charset=([^;]*)/i.exec(n)}i=e.slice(0,1024).toString();if(!o&&i){o=/0&&arguments[0]!==undefined?arguments[0]:undefined;this[g]=Object.create(null);if(e instanceof Headers){const r=e.raw();const n=Object.keys(r);for(const e of n){for(const n of r[e]){this.append(e,n)}}return}if(e==null) ;else if(typeof e==="object"){const r=e[Symbol.iterator];if(r!=null){if(typeof r!=="function"){throw new TypeError("Header pairs must be iterable")}const n=[];for(const r of e){if(typeof r!=="object"||typeof r[Symbol.iterator]!=="function"){throw new TypeError("Each header pair must be iterable")}n.push(Array.from(r))}for(const e of n){if(e.length!==2){throw new TypeError("Each header pair must be a name/value tuple")}this.append(e[0],e[1])}}else{for(const r of Object.keys(e)){const n=e[r];this.append(r,n)}}}else{throw new TypeError("Provided initializer must be an object")}}get(e){e=`${e}`;validateName(e);const r=find(this[g],e);if(r===undefined){return null}return this[g][r].join(", ")}forEach(e){let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:undefined;let n=getHeaders(this);let t=0;while(t1&&arguments[1]!==undefined?arguments[1]:"key+value";const n=Object.keys(e[g]).sort();return n.map(r==="key"?function(e){return e.toLowerCase()}:r==="value"?function(r){return e[g][r].join(", ")}:function(r){return[r.toLowerCase(),e[g][r].join(", ")]})}const w=Symbol("internal");function createHeadersIterator(e,r){const n=Object.create(b);n[w]={target:e,kind:r,index:0};return n}const b=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==b){throw new TypeError("Value of `this` is not a HeadersIterator")}var e=this[w];const r=e.target,n=e.kind,t=e.index;const o=getHeaders(r,n);const i=o.length;if(t>=i){return{value:undefined,done:true}}this[w].index=t+1;return{value:o[t],done:false}}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(b,Symbol.toStringTag,{value:"HeadersIterator",writable:false,enumerable:false,configurable:true});function exportNodeCompatibleHeaders(e){const r=Object.assign({__proto__:null},e[g]);const n=find(e[g],"Host");if(n!==undefined){r[n]=r[n][0]}return r}function createHeadersLenient(e){const r=new Headers;for(const n of Object.keys(e)){if(h.test(n)){continue}if(Array.isArray(e[n])){for(const t of e[n]){if(m.test(t)){continue}if(r[g][n]===undefined){r[g][n]=[t]}else{r[g][n].push(t)}}}else if(!m.test(e[n])){r[g][n]=[e[n]]}}return r}const E=Symbol("Response internals");const v=o.STATUS_CODES;class Response{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};Body.call(this,e,r);const n=r.status||200;const t=new Headers(r.headers);if(e!=null&&!t.has("Content-Type")){const r=extractContentType(e);if(r){t.append("Content-Type",r)}}this[E]={url:r.url,status:n,statusText:r.statusText||v[n],headers:t,counter:r.counter}}get url(){return this[E].url||""}get status(){return this[E].status}get ok(){return this[E].status>=200&&this[E].status<300}get redirected(){return this[E].counter>0}get statusText(){return this[E].statusText}get headers(){return this[E].headers}clone(){return new Response(clone(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}Body.mixIn(Response.prototype);Object.defineProperties(Response.prototype,{url:{enumerable:true},status:{enumerable:true},ok:{enumerable:true},redirected:{enumerable:true},statusText:{enumerable:true},headers:{enumerable:true},clone:{enumerable:true}});Object.defineProperty(Response.prototype,Symbol.toStringTag,{value:"Response",writable:false,enumerable:false,configurable:true});const T=Symbol("Request internals");const _=i.parse;const O=i.format;const y="destroy"in t.Readable.prototype;function isRequest(e){return typeof e==="object"&&typeof e[T]==="object"}function isAbortSignal(e){const r=e&&typeof e==="object"&&Object.getPrototypeOf(e);return!!(r&&r.constructor.name==="AbortSignal")}class Request{constructor(e){let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let n;if(!isRequest(e)){if(e&&e.href){n=_(e.href)}else{n=_(`${e}`)}e={}}else{n=_(e.url)}let t=r.method||e.method||"GET";t=t.toUpperCase();if((r.body!=null||isRequest(e)&&e.body!==null)&&(t==="GET"||t==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body")}let o=r.body!=null?r.body:isRequest(e)&&e.body!==null?clone(e):null;Body.call(this,o,{timeout:r.timeout||e.timeout||0,size:r.size||e.size||0});const i=new Headers(r.headers||e.headers||{});if(o!=null&&!i.has("Content-Type")){const e=extractContentType(o);if(e){i.append("Content-Type",e)}}let s=isRequest(e)?e.signal:null;if("signal"in r)s=r.signal;if(s!=null&&!isAbortSignal(s)){throw new TypeError("Expected signal to be an instanceof AbortSignal")}this[T]={method:t,redirect:r.redirect||e.redirect||"follow",headers:i,parsedURL:n,signal:s};this.follow=r.follow!==undefined?r.follow:e.follow!==undefined?e.follow:20;this.compress=r.compress!==undefined?r.compress:e.compress!==undefined?e.compress:true;this.counter=r.counter||e.counter||0;this.agent=r.agent||e.agent}get method(){return this[T].method}get url(){return O(this[T].parsedURL)}get headers(){return this[T].headers}get redirect(){return this[T].redirect}get signal(){return this[T].signal}clone(){return new Request(this)}}Body.mixIn(Request.prototype);Object.defineProperty(Request.prototype,Symbol.toStringTag,{value:"Request",writable:false,enumerable:false,configurable:true});Object.defineProperties(Request.prototype,{method:{enumerable:true},url:{enumerable:true},headers:{enumerable:true},redirect:{enumerable:true},clone:{enumerable:true},signal:{enumerable:true}});function getNodeRequestOptions(e){const r=e[T].parsedURL;const n=new Headers(e[T].headers);if(!n.has("Accept")){n.set("Accept","*/*")}if(!r.protocol||!r.hostname){throw new TypeError("Only absolute URLs are supported")}if(!/^https?:$/.test(r.protocol)){throw new TypeError("Only HTTP(S) protocols are supported")}if(e.signal&&e.body instanceof t.Readable&&!y){throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8")}let o=null;if(e.body==null&&/^(POST|PUT)$/i.test(e.method)){o="0"}if(e.body!=null){const r=getTotalBytes(e);if(typeof r==="number"){o=String(r)}}if(o){n.set("Content-Length",o)}if(!n.has("User-Agent")){n.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)")}if(e.compress&&!n.has("Accept-Encoding")){n.set("Accept-Encoding","gzip,deflate")}let i=e.agent;if(typeof i==="function"){i=i(r)}if(!n.has("Connection")&&!i){n.set("Connection","close")}return Object.assign({},r,{method:e.method,headers:exportNodeCompatibleHeaders(n),agent:i})}function AbortError(e){Error.call(this,e);this.type="aborted";this.message=e;Error.captureStackTrace(this,this.constructor)}AbortError.prototype=Object.create(Error.prototype);AbortError.prototype.constructor=AbortError;AbortError.prototype.name="AbortError";const S=t.PassThrough;const A=i.resolve;function fetch(e,r){if(!fetch.Promise){throw new Error("native promise missing, set fetch.Promise to your favorite alternative")}Body.Promise=fetch.Promise;return new fetch.Promise(function(n,i){const u=new Request(e,r);const a=getNodeRequestOptions(u);const l=(a.protocol==="https:"?s:o).request;const f=u.signal;let p=null;const d=function abort(){let e=new AbortError("The user aborted a request.");i(e);if(u.body&&u.body instanceof t.Readable){u.body.destroy(e)}if(!p||!p.body)return;p.body.emit("error",e)};if(f&&f.aborted){d();return}const h=function abortAndFinalize(){d();finalize()};const m=l(a);let g;if(f){f.addEventListener("abort",h)}function finalize(){m.abort();if(f)f.removeEventListener("abort",h);clearTimeout(g)}if(u.timeout){m.once("socket",function(e){g=setTimeout(function(){i(new FetchError(`network timeout at: ${u.url}`,"request-timeout"));finalize()},u.timeout)})}m.on("error",function(e){i(new FetchError(`request to ${u.url} failed, reason: ${e.message}`,"system",e));finalize()});m.on("response",function(e){clearTimeout(g);const r=createHeadersLenient(e.headers);if(fetch.isRedirect(e.statusCode)){const t=r.get("Location");const o=t===null?null:A(u.url,t);switch(u.redirect){case"error":i(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${u.url}`,"no-redirect"));finalize();return;case"manual":if(o!==null){try{r.set("Location",o)}catch(e){i(e)}}break;case"follow":if(o===null){break}if(u.counter>=u.follow){i(new FetchError(`maximum redirect reached at: ${u.url}`,"max-redirect"));finalize();return}const t={headers:new Headers(u.headers),follow:u.follow,counter:u.counter+1,agent:u.agent,compress:u.compress,method:u.method,body:u.body,signal:u.signal,timeout:u.timeout,size:u.size};if(e.statusCode!==303&&u.body&&getTotalBytes(u)===null){i(new FetchError("Cannot follow redirect with body being a readable stream","unsupported-redirect"));finalize();return}if(e.statusCode===303||(e.statusCode===301||e.statusCode===302)&&u.method==="POST"){t.method="GET";t.body=undefined;t.headers.delete("content-length")}n(fetch(new Request(o,t)));finalize();return}}e.once("end",function(){if(f)f.removeEventListener("abort",h)});let t=e.pipe(new S);const o={url:u.url,status:e.statusCode,statusText:e.statusMessage,headers:r,size:u.size,timeout:u.timeout,counter:u.counter};const s=r.get("Content-Encoding");if(!u.compress||u.method==="HEAD"||s===null||e.statusCode===204||e.statusCode===304){p=new Response(t,o);n(p);return}const a={flush:c.Z_SYNC_FLUSH,finishFlush:c.Z_SYNC_FLUSH};if(s=="gzip"||s=="x-gzip"){t=t.pipe(c.createGunzip(a));p=new Response(t,o);n(p);return}if(s=="deflate"||s=="x-deflate"){const r=e.pipe(new S);r.once("data",function(e){if((e[0]&15)===8){t=t.pipe(c.createInflate())}else{t=t.pipe(c.createInflateRaw())}p=new Response(t,o);n(p)});return}if(s=="br"&&typeof c.createBrotliDecompress==="function"){t=t.pipe(c.createBrotliDecompress());p=new Response(t,o);n(p);return}p=new Response(t,o);n(p)});writeToStream(m,u)})}fetch.isRedirect=function(e){return e===301||e===302||e===303||e===307||e===308};fetch.Promise=global.Promise;e.exports=r=fetch;Object.defineProperty(r,"__esModule",{value:true});r.default=r;r.Headers=Headers;r.Request=Request;r.Response=Response;r.FetchError=FetchError},502:(e,r,n)=>{"use strict";const t=n(5622);const o=n(539);e.exports=(e=>{e=Object.assign({cwd:process.cwd(),path:process.env[o()]},e);let r;let n=t.resolve(e.cwd);const i=[];while(r!==n){i.push(t.join(n,"node_modules/.bin"));r=n;n=t.resolve(n,"..")}i.push(t.dirname(process.execPath));return i.concat(e.path).join(t.delimiter)});e.exports.env=(r=>{r=Object.assign({env:process.env},r);const n=Object.assign({},r.env);const t=o({env:n});r.path=n[t];n[t]=e.exports(r);return n})},1223:(e,r,n)=>{var t=n(2940);e.exports=t(once);e.exports.strict=t(onceStrict);once.proto=once(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})});function once(e){var r=function(){if(r.called)return r.value;r.called=true;return r.value=e.apply(this,arguments)};r.called=false;return r}function onceStrict(e){var r=function(){if(r.called)throw new Error(r.onceError);r.called=true;return r.value=e.apply(this,arguments)};var n=e.name||"Function wrapped with `once`";r.onceError=n+" shouldn't be called more than once";r.called=false;return r}},4824:(e,r,n)=>{"use strict";const t=n(2087);const o=n(7493);const i=n(3515);const s=(e,r)=>{if(!e&&r){throw new Error("You can't specify a `release` without specifying `platform`")}e=e||t.platform();let n;if(e==="darwin"){if(!r&&t.platform()==="darwin"){r=t.release()}const e=r?Number(r.split(".")[0])>15?"macOS":"OS X":"macOS";n=r?o(r).name:"";return e+(n?" "+n:"")}if(e==="linux"){if(!r&&t.platform()==="linux"){r=t.release()}n=r?r.replace(/^(\d+\.\d+).*/,"$1"):"";return"Linux"+(n?" "+n:"")}if(e==="win32"){if(!r&&t.platform()==="win32"){r=t.release()}n=r?i(r):"";return"Windows"+(n?" "+n:"")}return e};e.exports=s},1330:e=>{"use strict";e.exports=((e,r)=>{r=r||(()=>{});return e.then(e=>new Promise(e=>{e(r())}).then(()=>e),e=>new Promise(e=>{e(r())}).then(()=>{throw e}))})},539:e=>{"use strict";e.exports=(e=>{e=e||{};const r=e.env||process.env;const n=e.platform||process.platform;if(n!=="win32"){return"PATH"}return Object.keys(r).find(e=>e.toUpperCase()==="PATH")||"Path"})},8341:(e,r,n)=>{var t=n(1223);var o=n(1205);var i=n(5747);var s=function(){};var c=/^v?\.0/.test(process.version);var u=function(e){return typeof e==="function"};var a=function(e){if(!c)return false;if(!i)return false;return(e instanceof(i.ReadStream||s)||e instanceof(i.WriteStream||s))&&u(e.close)};var l=function(e){return e.setHeader&&u(e.abort)};var f=function(e,r,n,i){i=t(i);var c=false;e.on("close",function(){c=true});o(e,{readable:r,writable:n},function(e){if(e)return i(e);c=true;i()});var f=false;return function(r){if(c)return;if(f)return;f=true;if(a(e))return e.close(s);if(l(e))return e.abort();if(u(e.destroy))return e.destroy();i(r||new Error("stream was destroyed"))}};var p=function(e){e()};var d=function(e,r){return e.pipe(r)};var h=function(){var e=Array.prototype.slice.call(arguments);var r=u(e[e.length-1]||s)&&e.pop()||s;if(Array.isArray(e[0]))e=e[0];if(e.length<2)throw new Error("pump requires two streams per minimum");var n;var t=e.map(function(o,i){var s=i0;return f(o,s,c,function(e){if(!n)n=e;if(e)t.forEach(p);if(s)return;t.forEach(p);r(n)})});return e.reduce(d)};e.exports=h},7032:(e,r,n)=>{"use strict";var t=n(2638);e.exports=function(e){var r=e.match(t);if(!r){return null}var n=r[0].replace(/#! ?/,"").split(" ");var o=n[0].split("/").pop();var i=n[1];return o==="env"?i:o+(i?" "+i:"")}},2638:e=>{"use strict";e.exports=/^#!.*/},4931:(e,r,n)=>{var t=n(2357);var o=n(3710);var i=n(8614);if(typeof i!=="function"){i=i.EventEmitter}var s;if(process.__signal_exit_emitter__){s=process.__signal_exit_emitter__}else{s=process.__signal_exit_emitter__=new i;s.count=0;s.emitted={}}if(!s.infinite){s.setMaxListeners(Infinity);s.infinite=true}e.exports=function(e,r){t.equal(typeof e,"function","a callback must be provided for exit handler");if(u===false){load()}var n="exit";if(r&&r.alwaysLast){n="afterexit"}var o=function(){s.removeListener(n,e);if(s.listeners("exit").length===0&&s.listeners("afterexit").length===0){unload()}};s.on(n,e);return o};e.exports.unload=unload;function unload(){if(!u){return}u=false;o.forEach(function(e){try{process.removeListener(e,c[e])}catch(e){}});process.emit=l;process.reallyExit=a;s.count-=1}function emit(e,r,n){if(s.emitted[e]){return}s.emitted[e]=true;s.emit(e,r,n)}var c={};o.forEach(function(e){c[e]=function listener(){var r=process.listeners(e);if(r.length===s.count){unload();emit("exit",null,e);emit("afterexit",null,e);process.kill(process.pid,e)}}});e.exports.signals=function(){return o};e.exports.load=load;var u=false;function load(){if(u){return}u=true;s.count+=1;o=o.filter(function(e){try{process.on(e,c[e]);return true}catch(e){return false}});process.emit=processEmit;process.reallyExit=processReallyExit}var a=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);a.call(process,process.exitCode)}var l=process.emit;function processEmit(e,r){if(e==="exit"){if(r!==undefined){process.exitCode=r}var n=l.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return n}else{return l.apply(this,arguments)}}},3710:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},5515:e=>{"use strict";e.exports=function(e){var r=typeof e==="string"?"\n":"\n".charCodeAt();var n=typeof e==="string"?"\r":"\r".charCodeAt();if(e[e.length-1]===r){e=e.slice(0,e.length-1)}if(e[e.length-1]===n){e=e.slice(0,e.length-1)}return e}},4294:(e,r,n)=>{e.exports=n(4219)},4219:(e,r,n)=>{"use strict";var t=n(1631);var o=n(4016);var i=n(8605);var s=n(7211);var c=n(8614);var u=n(2357);var a=n(1669);r.httpOverHttp=httpOverHttp;r.httpsOverHttp=httpsOverHttp;r.httpOverHttps=httpOverHttps;r.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var r=new TunnelingAgent(e);r.request=i.request;return r}function httpsOverHttp(e){var r=new TunnelingAgent(e);r.request=i.request;r.createSocket=createSecureSocket;r.defaultPort=443;return r}function httpOverHttps(e){var r=new TunnelingAgent(e);r.request=s.request;return r}function httpsOverHttps(e){var r=new TunnelingAgent(e);r.request=s.request;r.createSocket=createSecureSocket;r.defaultPort=443;return r}function TunnelingAgent(e){var r=this;r.options=e||{};r.proxyOptions=r.options.proxy||{};r.maxSockets=r.options.maxSockets||i.Agent.defaultMaxSockets;r.requests=[];r.sockets=[];r.on("free",function onFree(e,n,t,o){var i=toOptions(n,t,o);for(var s=0,c=r.requests.length;s=this.maxSockets){o.requests.push(i);return}o.createSocket(i,function(r){r.on("free",onFree);r.on("close",onCloseOrRemove);r.on("agentRemove",onCloseOrRemove);e.onSocket(r);function onFree(){o.emit("free",r,i)}function onCloseOrRemove(e){o.removeSocket(r);r.removeListener("free",onFree);r.removeListener("close",onCloseOrRemove);r.removeListener("agentRemove",onCloseOrRemove)}})};TunnelingAgent.prototype.createSocket=function createSocket(e,r){var n=this;var t={};n.sockets.push(t);var o=mergeOptions({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){o.localAddress=e.localAddress}if(o.proxyAuth){o.headers=o.headers||{};o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")}l("making CONNECT request");var i=n.request(o);i.useChunkedEncodingByDefault=false;i.once("response",onResponse);i.once("upgrade",onUpgrade);i.once("connect",onConnect);i.once("error",onError);i.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,r,n){process.nextTick(function(){onConnect(e,r,n)})}function onConnect(o,s,c){i.removeAllListeners();s.removeAllListeners();if(o.statusCode!==200){l("tunneling socket could not be established, statusCode=%d",o.statusCode);s.destroy();var u=new Error("tunneling socket could not be established, "+"statusCode="+o.statusCode);u.code="ECONNRESET";e.request.emit("error",u);n.removeSocket(t);return}if(c.length>0){l("got illegal response body from proxy");s.destroy();var u=new Error("got illegal response body from proxy");u.code="ECONNRESET";e.request.emit("error",u);n.removeSocket(t);return}l("tunneling connection has established");n.sockets[n.sockets.indexOf(t)]=s;return r(s)}function onError(r){i.removeAllListeners();l("tunneling socket could not be established, cause=%s\n",r.message,r.stack);var o=new Error("tunneling socket could not be established, "+"cause="+r.message);o.code="ECONNRESET";e.request.emit("error",o);n.removeSocket(t)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var r=this.sockets.indexOf(e);if(r===-1){return}this.sockets.splice(r,1);var n=this.requests.shift();if(n){this.createSocket(n,function(e){n.request.onSocket(e)})}};function createSecureSocket(e,r){var n=this;TunnelingAgent.prototype.createSocket.call(n,e,function(t){var i=e.request.getHeader("host");var s=mergeOptions({},n.options,{socket:t,servername:i?i.replace(/:.*$/,""):e.host});var c=o.connect(0,s);n.sockets[n.sockets.indexOf(t)]=c;r(c)})}function toOptions(e,r,n){if(typeof e==="string"){return{host:e,port:r,localAddress:n}}return e}function mergeOptions(e){for(var r=1,n=arguments.length;r{"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var t=_interopDefault(n(4824));function getUserAgent(){try{return`Node.js/${process.version.substr(1)} (${t()}; ${process.arch})`}catch(e){if(/wmic os get Caption/.test(e.message)){return"Windows "}return""}}r.getUserAgent=getUserAgent},4207:(e,r,n)=>{e.exports=which;which.sync=whichSync;var t=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys";var o=n(5622);var i=t?";":":";var s=n(7126);function getNotFoundError(e){var r=new Error("not found: "+e);r.code="ENOENT";return r}function getPathInfo(e,r){var n=r.colon||i;var o=r.path||process.env.PATH||"";var s=[""];o=o.split(n);var c="";if(t){o.unshift(process.cwd());c=r.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM";s=c.split(n);if(e.indexOf(".")!==-1&&s[0]!=="")s.unshift("")}if(e.match(/\//)||t&&e.match(/\\/))o=[""];return{env:o,ext:s,extExe:c}}function which(e,r,n){if(typeof r==="function"){n=r;r={}}var t=getPathInfo(e,r);var i=t.env;var c=t.ext;var u=t.extExe;var a=[];(function F(t,l){if(t===l){if(r.all&&a.length)return n(null,a);else return n(getNotFoundError(e))}var f=i[t];if(f.charAt(0)==='"'&&f.slice(-1)==='"')f=f.slice(1,-1);var p=o.join(f,e);if(!f&&/^\.[\\\/]/.test(e)){p=e.slice(0,2)+p}(function E(e,o){if(e===o)return F(t+1,l);var i=c[e];s(p+i,{pathExt:u},function(t,s){if(!t&&s){if(r.all)a.push(p+i);else return n(null,p+i)}return E(e+1,o)})})(0,c.length)})(0,i.length)}function whichSync(e,r){r=r||{};var n=getPathInfo(e,r);var t=n.env;var i=n.ext;var c=n.extExe;var u=[];for(var a=0,l=t.length;a{"use strict";const t=n(2087);const o=n(5447);const i=new Map([["10.0","10"],["6.3","8.1"],["6.2","8"],["6.1","7"],["6.0","Vista"],["5.2","Server 2003"],["5.1","XP"],["5.0","2000"],["4.9","ME"],["4.1","98"],["4.0","95"]]);const s=e=>{const r=/\d+\.\d/.exec(e||t.release());if(e&&!r){throw new Error("`release` argument doesn't match `n.n`")}const n=(r||[])[0];if((!e||e===t.release())&&["6.1","6.2","6.3","10.0"].includes(n)){let e;try{e=o.sync("wmic",["os","get","Caption"]).stdout||""}catch(r){e=o.sync("powershell",["(Get-CimInstance -ClassName Win32_OperatingSystem).caption"]).stdout||""}const r=(e.match(/2008|2012|2016|2019/)||[])[0];if(r){return`Server ${r}`}}return i.get(n)};e.exports=s},2940:e=>{e.exports=wrappy;function wrappy(e,r){if(e&&r)return wrappy(e)(r);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach(function(r){wrapper[r]=e[r]});return wrapper;function wrapper(){var r=new Array(arguments.length);for(var n=0;ns(void 0,void 0,void 0,function*(){try{yield u.run()}catch(e){c.setFailed(`Action failed with error "${e.message}"`)}}))()},5938:function(e,r,n){"use strict";var t=this&&this.__awaiter||function(e,r,n,t){function adopt(e){return e instanceof n?e:new n(function(r){r(e)})}return new(n||(n=Promise))(function(n,o){function fulfilled(e){try{step(t.next(e))}catch(e){o(e)}}function rejected(e){try{step(t["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((t=t.apply(e,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:true});r.unlockIssue=r.lockIssue=r.openIssue=r.closeIssue=void 0;const o=n(5438);function closeIssue(e,r){return t(this,void 0,void 0,function*(){yield e.issues.update({owner:o.context.repo.owner,repo:o.context.repo.repo,issue_number:r,state:"closed"});return})}r.closeIssue=closeIssue;function openIssue(e,r){return t(this,void 0,void 0,function*(){yield e.issues.update({owner:o.context.repo.owner,repo:o.context.repo.repo,issue_number:r,state:"open"});return})}r.openIssue=openIssue;function lockIssue(e,r,n){return t(this,void 0,void 0,function*(){const t=(()=>{switch(n){case"off-topic":return"off-topic";case"too heated":return"too heated";case"resolved":return"resolved";case"spam":return"spam";default:return"resolved"}})();return yield e.issues.lock({owner:o.context.repo.owner,repo:o.context.repo.repo,issue_number:r,lock_reason:t})})}r.lockIssue=lockIssue;function unlockIssue(e,r){return t(this,void 0,void 0,function*(){return yield e.issues.unlock({owner:o.context.repo.owner,repo:o.context.repo.repo,issue_number:r})})}r.unlockIssue=unlockIssue},399:function(e,r,n){"use strict";var t=this&&this.__createBinding||(Object.create?function(e,r,n,t){if(t===undefined)t=n;Object.defineProperty(e,t,{enumerable:true,get:function(){return r[n]}})}:function(e,r,n,t){if(t===undefined)t=n;e[t]=r[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))t(r,e,n);o(r,e);return r};var s=this&&this.__awaiter||function(e,r,n,t){function adopt(e){return e instanceof n?e:new n(function(r){r(e)})}return new(n||(n=Promise))(function(n,o){function fulfilled(e){try{step(t.next(e))}catch(e){o(e)}}function rejected(e){try{step(t["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((t=t.apply(e,r||[])).next())})};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.run=void 0;const u=i(n(2186));const a=n(5438);const l=n(6450);const f=c(n(5747));const p=c(n(1917));const d=c(n(8272));const h=n(5938);function groupConsoleLog(e,r,n){if(!n)return;u.startGroup(e);console.log(r);u.endGroup()}function run(){var e,r,n,t;return s(this,void 0,void 0,function*(){try{u.info("[INFO] Usage https://github.com/peaceiris/actions-label-commenter#readme");const o=l.getInputs();groupConsoleLog("Dump GitHub context",a.context,u.isDebug());const i=a.context.eventName;const s=a.context.payload;const c=s.action;const m=(()=>{if(i==="issues"){const e=s.label;return e.name}else{const e=s.label;return e.name}})();const g=(()=>{if(i==="issues"){const e=s.issue;return e.number}else{return s.number}})();u.info(`[INFO] config_file: ${o.ConfigFilePath}\n[INFO] labelName: ${m}\n[INFO] labelEvent: ${c}\n[INFO] issueNumber: ${g} `);const w=o.ConfigFilePath;if(!f.default.existsSync(w)){throw new Error(`not found ${w}`)}const b=p.default.safeLoad(f.default.readFileSync(w,"utf8"));if(u.isDebug()){u.startGroup("Dump Config");console.log(b);u.endGroup()}let E=false;let v="";Object.keys(b.labels).forEach(e=>{if(b.labels[e].name===m){E=true;if(v===""){v=e}}});if(!E){u.info(`[INFO] no configuration labels.${m}`);return}if(b.labels[v][`${c}`]===void 0){u.info(`[INFO] no configuration labels.${m}.${c}`);return}if(b.labels[v][`${c}`].issue===void 0&&b.labels[v][`${c}`].pr===void 0){throw new Error(`not found any definition labels.${m}.${c}`)}let T="";if(i==="issues"){T="issue";if(b.labels[v][`${c}`].issue===void 0){u.info(`[INFO] no configuration labels.${m}.${c}.${T}`);return}}else if(i==="pull_request"||i==="pull_request_target"){T="pr";if(b.labels[v][`${c}`].pr===void 0){u.info(`[INFO] no configuration labels.${m}.${c}.${T}`);return}}const _=`labels.${m}.${c}.${T}`;const O=`${process.env["GITHUB_SERVER_URL"]}/${process.env["GITHUB_REPOSITORY"]}/actions/runs/${process.env["GITHUB_RUN_ID"]}`;const y=b.labels[v][`${c}`][`${T}`].body;const S=(r=(e=b.comment)===null||e===void 0?void 0:e.header)!==null&&r!==void 0?r:"";const A=(t=(n=b.comment)===null||n===void 0?void 0:n.footer)!==null&&t!==void 0?t:"";const P=`
`+`Log`+` | `+`Bot Usage`+`
\n`+"\n\x3c!-- peaceiris/actions-label-commenter --\x3e\n";const C=`${S}\n\n${y}\n\n${A}\n\n${P}`;if(y===""||y===void 0){u.info(`[INFO] no configuration ${_}.body`)}else{groupConsoleLog("commentMain",y,u.isDebug());groupConsoleLog("commentHeader",S,u.isDebug());groupConsoleLog("commentFooter",A,u.isDebug());groupConsoleLog("commentFooterLinks",P,u.isDebug());groupConsoleLog("rawCommentBody",C,u.isDebug())}const j=(()=>{if(i==="issues"){return{issue:{user:{login:s.issue.user.login}},sender:{login:s.sender.login}}}else if(i==="pull_request"||i==="pull_request_target"){return{pull_request:{user:{login:s.pull_request.user.login}},sender:{login:s.sender.login}}}else{return{}}})();const G=d.default.render(C,j);groupConsoleLog("commentBodyRendered",G,u.isDebug());const F=o.GithubToken;const R=a.getOctokit(F);const D=b.labels[v][`${c}`][`${T}`].locking;if(D==="lock"||D==="unlock"){u.info(`[INFO] ${_}.locking is ${D}`)}else if(D===""||D===void 0){u.info(`[INFO] no configuration ${_}.locking`)}else{throw new Error(`invalid value "${D}" ${_}.locking`)}if(D==="unlock"){const e=yield h.unlockIssue(R,g);groupConsoleLog("Unlock issue",e,u.isDebug())}const x=(()=>{if(D==="unlock"){return false}else if(i==="issues"){const e=s.issue;return e.locked}else{return s.pull_request.locked}})();if(!x){const e=yield R.issues.createComment({issue_number:a.context.issue.number,owner:a.context.repo.owner,repo:a.context.repo.repo,body:G});groupConsoleLog("issuesCreateCommentResponse",e,u.isDebug())}const U=b.labels[v][`${c}`][`${T}`].action;if(U==="close"){yield h.closeIssue(R,g)}else if(U==="open"){yield h.openIssue(R,g)}else if(U===""||U===void 0){u.info(`[INFO] no configuration ${_}.action`)}else{throw new Error(`invalid value "${U}" ${_}.action`)}if(D==="lock"){const e=b.labels[v][`${c}`][`${T}`].lock_reason;const r=yield h.lockIssue(R,g,e);groupConsoleLog("Lock issue",r,u.isDebug())}return}catch(e){throw new Error(`${e.message}`)}})}r.run=run},2877:module=>{module.exports=eval("require")("encoding")},2357:e=>{"use strict";e.exports=require("assert")},3129:e=>{"use strict";e.exports=require("child_process")},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")},2413:e=>{"use strict";e.exports=require("stream")},4016:e=>{"use strict";e.exports=require("tls")},8835:e=>{"use strict";e.exports=require("url")},1669:e=>{"use strict";e.exports=require("util")},8761:e=>{"use strict";e.exports=require("zlib")}};var __webpack_module_cache__={};function __webpack_require__(e){if(__webpack_module_cache__[e]){return __webpack_module_cache__[e].exports}var r=__webpack_module_cache__[e]={exports:{}};var n=true;try{__webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__);n=false}finally{if(n)delete __webpack_module_cache__[e]}return r.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(6144)})(); \ No newline at end of file