cpu: _(Optional)_ The number of available CPUs to set (e.g. 0.5, 2, 2000m). By default, a
new function's available CPUs is determined based on its memory value.
+- direct_vpc_egress: _(Optional)_ Egress settings that control what outbound traffic is diverted through
+ the Direct VPC network. Allowed values are "PRIVATE_RANGES_ONLY" and
+ "ALL_TRAFFIC" (or "private-ranges-only" and "all-traffic"). Defaults to
+ "PRIVATE_RANGES_ONLY" when Direct VPC network or subnet is specified.
+
- memory: _(Optional)_ The amount of memory available for the function to use. Allowed values are
of the format: min_instance_count: _(Optional)_ Sets the minimum number of instances for the function. This is helpful for
reducing cold start times.
+- network: _(Optional)_ The VPC network name or fully-qualified identifier to which the function
+ will be connected via Direct VPC Egress (Cloud Functions 2nd gen only).
+ Specify network, subnet, or both. Mutually exclusive with `vpc_connector`.
+
+- network_tags: _(Optional)_ Comma-separated list of Compute Engine network tags to apply to Direct VPC
+ egress traffic (e.g. `tag-a,tag-b`).
+
- secrets: _(Optional)_ List of KEY=VALUE pairs to use as secrets. These are comma-separated or
newline-separated `KEY=VALUE`. Keys or values that contain separators must
be escaped with a backslash (e.g. `\,` or `\\n`) unless quoted. Any
@@ -267,6 +293,11 @@ jobs:
- service_timeout: _(Optional, default: `60s`)_ The function execution timeout, specified as a time duration (e.g. "30s"
for 30 seconds).
+- subnet: _(Optional)_ The VPC subnetwork name or fully-qualified identifier from which the
+ function will obtain IP addresses via Direct VPC Egress (Cloud Functions
+ 2nd gen only). Specify network, subnet, or both. Mutually exclusive with
+ `vpc_connector`.
+
- vpc_connector: _(Optional)_ ID of the connector or fully qualified identifier for the connector.
- vpc_connector_egress_settings: _(Optional, default: `PRIVATE_RANGES_ONLY`)_ Egress settings controls what traffic is diverted through the VPC Access
diff --git a/action.yml b/action.yml
index 12d5c8c..044ac24 100644
--- a/action.yml
+++ b/action.yml
@@ -213,6 +213,14 @@ inputs:
new function's available CPUs is determined based on its memory value.
required: false
+ direct_vpc_egress:
+ description: |-
+ Egress settings that control what outbound traffic is diverted through
+ the Direct VPC network. Allowed values are "PRIVATE_RANGES_ONLY" and
+ "ALL_TRAFFIC" (or "private-ranges-only" and "all-traffic"). Defaults to
+ "PRIVATE_RANGES_ONLY" when Direct VPC network or subnet is specified.
+ required: false
+
memory:
description: |-
The amount of memory available for the function to use. Allowed values are
@@ -272,6 +280,19 @@ inputs:
reducing cold start times.
required: false
+ network:
+ description: |-
+ The VPC network name or fully-qualified identifier to which the function
+ will be connected via Direct VPC Egress (Cloud Functions 2nd gen only).
+ Specify network, subnet, or both. Mutually exclusive with `vpc_connector`.
+ required: false
+
+ network_tags:
+ description: |-
+ Comma-separated list of Compute Engine network tags to apply to Direct VPC
+ egress traffic (e.g. `tag-a,tag-b`).
+ required: false
+
secrets:
description: |-
List of KEY=VALUE pairs to use as secrets. These are comma-separated or
@@ -321,6 +342,14 @@ inputs:
default: '60s'
required: false
+ subnet:
+ description: |-
+ The VPC subnetwork name or fully-qualified identifier from which the
+ function will obtain IP addresses via Direct VPC Egress (Cloud Functions
+ 2nd gen only). Specify network, subnet, or both. Mutually exclusive with
+ `vpc_connector`.
+ required: false
+
vpc_connector:
description: |-
ID of the connector or fully qualified identifier for the connector.
diff --git a/dist/main/index.js b/dist/main/index.js
index 74f7247..5e4e741 100644
--- a/dist/main/index.js
+++ b/dist/main/index.js
@@ -1,4 +1,4 @@
-(()=>{var __webpack_modules__={4914:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const a=A(r(857));const c=r(302);function issueCommand(e,t,r){const n=new Command(e,t,r);process.stdout.write(n.toString()+a.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const l="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=l+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const n=this.properties[r];if(n){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(n)}`}}}}e+=`${l}${escapeData(this.message)}`;return e}}function escapeData(e){return(0,c.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return(0,c.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},7484:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var a=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.platform=t.toPlatformPath=t.toWin32Path=t.toPosixPath=t.markdownSummary=t.summary=t.getIDToken=t.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=t.notice=t.warning=t.error=t.debug=t.isDebug=t.setFailed=t.setCommandEcho=t.setOutput=t.getBooleanInput=t.getMultilineInput=t.getInput=t.addPath=t.setSecret=t.exportVariable=t.ExitCode=void 0;const c=r(4914);const l=r(4753);const u=r(302);const h=A(r(857));const g=A(r(6928));const p=r(5306);var C;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(C||(t.ExitCode=C={}));function exportVariable(e,t){const r=(0,u.toCommandValue)(t);process.env[e]=r;const n=process.env["GITHUB_ENV"]||"";if(n){return(0,l.issueFileCommand)("ENV",(0,l.prepareKeyValueMessage)(e,t))}(0,c.issueCommand)("set-env",{name:e},r)}t.exportVariable=exportVariable;function setSecret(e){(0,c.issueCommand)("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){(0,l.issueFileCommand)("PATH",e)}else{(0,c.issueCommand)("add-path",{},e)}process.env["PATH"]=`${e}${g.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return r}return r.trim()}t.getInput=getInput;function getMultilineInput(e,t){const r=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return r}return r.map((e=>e.trim()))}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const r=["true","True","TRUE"];const n=["false","False","FALSE"];const s=getInput(e,t);if(r.includes(s))return true;if(n.includes(s))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}t.getBooleanInput=getBooleanInput;function setOutput(e,t){const r=process.env["GITHUB_OUTPUT"]||"";if(r){return(0,l.issueFileCommand)("OUTPUT",(0,l.prepareKeyValueMessage)(e,t))}process.stdout.write(h.EOL);(0,c.issueCommand)("set-output",{name:e},(0,u.toCommandValue)(t))}t.setOutput=setOutput;function setCommandEcho(e){(0,c.issue)("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=C.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){(0,c.issueCommand)("debug",{},e)}t.debug=debug;function error(e,t={}){(0,c.issueCommand)("error",(0,u.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){(0,c.issueCommand)("warning",(0,u.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){(0,c.issueCommand)("notice",(0,u.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+h.EOL)}t.info=info;function startGroup(e){(0,c.issue)("group",e)}t.startGroup=startGroup;function endGroup(){(0,c.issue)("endgroup")}t.endGroup=endGroup;function group(e,t){return a(this,void 0,void 0,(function*(){startGroup(e);let r;try{r=yield t()}finally{endGroup()}return r}))}t.group=group;function saveState(e,t){const r=process.env["GITHUB_STATE"]||"";if(r){return(0,l.issueFileCommand)("STATE",(0,l.prepareKeyValueMessage)(e,t))}(0,c.issueCommand)("save-state",{name:e},(0,u.toCommandValue)(t))}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState;function getIDToken(e){return a(this,void 0,void 0,(function*(){return yield p.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken;var y=r(1847);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return y.summary}});var I=r(1847);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return I.markdownSummary}});var B=r(1976);Object.defineProperty(t,"toPosixPath",{enumerable:true,get:function(){return B.toPosixPath}});Object.defineProperty(t,"toWin32Path",{enumerable:true,get:function(){return B.toWin32Path}});Object.defineProperty(t,"toPlatformPath",{enumerable:true,get:function(){return B.toPlatformPath}});t.platform=A(r(8968))},4753:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.prepareKeyValueMessage=t.issueFileCommand=void 0;const a=A(r(6982));const c=A(r(9896));const l=A(r(857));const u=r(302);function issueFileCommand(e,t){const r=process.env[`GITHUB_${e}`];if(!r){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!c.existsSync(r)){throw new Error(`Missing file at path: ${r}`)}c.appendFileSync(r,`${(0,u.toCommandValue)(t)}${l.EOL}`,{encoding:"utf8"})}t.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(e,t){const r=`ghadelimiter_${a.randomUUID()}`;const n=(0,u.toCommandValue)(t);if(e.includes(r)){throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`)}if(n.includes(r)){throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`)}return`${e}<<${r}${l.EOL}${n}${l.EOL}${r}`}t.prepareKeyValueMessage=prepareKeyValueMessage},5306:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const s=r(4844);const A=r(4552);const a=r(7484);class OidcClient{static createHttpClient(e=true,t=10){const r={allowRetries:e,maxRetries:t};return new s.HttpClient("actions/oidc-client",[new A.BearerCredentialHandler(OidcClient.getRequestToken())],r)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){var t;return n(this,void 0,void 0,(function*(){const r=OidcClient.createHttpClient();const n=yield r.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)}));const s=(t=n.result)===null||t===void 0?void 0:t.value;if(!s){throw new Error("Response json body do not have ID Token field")}return s}))}static getIDToken(e){return n(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const r=encodeURIComponent(e);t=`${t}&audience=${r}`}(0,a.debug)(`ID token url is ${t}`);const r=yield OidcClient.getCall(t);(0,a.setSecret)(r);return r}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},1976:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.toPlatformPath=t.toWin32Path=t.toPosixPath=void 0;const a=A(r(6928));function toPosixPath(e){return e.replace(/[\\]/g,"/")}t.toPosixPath=toPosixPath;function toWin32Path(e){return e.replace(/[/]/g,"\\")}t.toWin32Path=toWin32Path;function toPlatformPath(e){return e.replace(/[/\\]/g,a.sep)}t.toPlatformPath=toPlatformPath},8968:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var a=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.getDetails=t.isLinux=t.isMacOS=t.isWindows=t.arch=t.platform=void 0;const l=c(r(857));const u=A(r(5236));const getWindowsInfo=()=>a(void 0,void 0,void 0,(function*(){const{stdout:e}=yield u.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:t}=yield u.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:t.trim(),version:e.trim()}}));const getMacOsInfo=()=>a(void 0,void 0,void 0,(function*(){var e,t,r,n;const{stdout:s}=yield u.getExecOutput("sw_vers",undefined,{silent:true});const A=(t=(e=s.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const a=(n=(r=s.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&n!==void 0?n:"";return{name:a,version:A}}));const getLinuxInfo=()=>a(void 0,void 0,void 0,(function*(){const{stdout:e}=yield u.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,r]=e.trim().split("\n");return{name:t,version:r}}));t.platform=l.default.platform();t.arch=l.default.arch();t.isWindows=t.platform==="win32";t.isMacOS=t.platform==="darwin";t.isLinux=t.platform==="linux";function getDetails(){return a(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield t.isWindows?getWindowsInfo():t.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:t.platform,arch:t.arch,isWindows:t.isWindows,isMacOS:t.isMacOS,isLinux:t.isLinux})}))}t.getDetails=getDetails},1847:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.summary=t.markdownSummary=t.SUMMARY_DOCS_URL=t.SUMMARY_ENV_VAR=void 0;const s=r(857);const A=r(9896);const{access:a,appendFile:c,writeFile:l}=A.promises;t.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";t.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return n(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const e=process.env[t.SUMMARY_ENV_VAR];if(!e){throw new Error(`Unable to find environment variable for $${t.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield a(e,A.constants.R_OK|A.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${n}>`}return`<${e}${n}>${t}${e}>`}write(e){return n(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const r=yield this.filePath();const n=t?l:c;yield n(r,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return n(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(s.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t});const n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=false){const r=t?"ol":"ul";const n=e.map((e=>this.wrap("li",e))).join("");const s=this.wrap(r,n);return this.addRaw(s).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:r,colspan:n,rowspan:s}=e;const A=t?"th":"td";const a=Object.assign(Object.assign({},n&&{colspan:n}),s&&{rowspan:s});return this.wrap(A,r,a)})).join("");return this.wrap("tr",t)})).join("");const r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:s}=r||{};const A=Object.assign(Object.assign({},n&&{width:n}),s&&{height:s});const a=this.wrap("img",null,Object.assign({src:e,alt:t},A));return this.addRaw(a).addEOL()}addHeading(e,t){const r=`h${t}`;const n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1";const s=this.wrap(n,e);return this.addRaw(s).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t});const n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}}const u=new Summary;t.markdownSummary=u;t.summary=u},302:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toCommandProperties=t.toCommandValue=void 0;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue;function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}t.toCommandProperties=toCommandProperties},5236:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var a=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getExecOutput=t.exec=void 0;const c=r(3193);const l=A(r(6665));function exec(e,t,r){return a(this,void 0,void 0,(function*(){const n=l.argStringToArray(e);if(n.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const s=n[0];t=n.slice(1).concat(t||[]);const A=new l.ToolRunner(s,t,r);return A.exec()}))}t.exec=exec;function getExecOutput(e,t,r){var n,s;return a(this,void 0,void 0,(function*(){let A="";let a="";const l=new c.StringDecoder("utf8");const u=new c.StringDecoder("utf8");const h=(n=r===null||r===void 0?void 0:r.listeners)===null||n===void 0?void 0:n.stdout;const g=(s=r===null||r===void 0?void 0:r.listeners)===null||s===void 0?void 0:s.stderr;const stdErrListener=e=>{a+=u.write(e);if(g){g(e)}};const stdOutListener=e=>{A+=l.write(e);if(h){h(e)}};const p=Object.assign(Object.assign({},r===null||r===void 0?void 0:r.listeners),{stdout:stdOutListener,stderr:stdErrListener});const C=yield exec(e,t,Object.assign(Object.assign({},r),{listeners:p}));A+=l.end();a+=u.end();return{exitCode:C,stdout:A,stderr:a}}))}t.getExecOutput=getExecOutput},6665:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var a=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.argStringToArray=t.ToolRunner=void 0;const c=A(r(857));const l=A(r(4434));const u=A(r(5317));const h=A(r(6928));const g=A(r(4994));const p=A(r(5207));const C=r(3557);const y=process.platform==="win32";class ToolRunner extends l.EventEmitter{constructor(e,t,r){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=r||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const r=this._getSpawnFileName();const n=this._getSpawnArgs(e);let s=t?"":"[command]";if(y){if(this._isCmdFile()){s+=r;for(const e of n){s+=` ${e}`}}else if(e.windowsVerbatimArguments){s+=`"${r}"`;for(const e of n){s+=` ${e}`}}else{s+=this._windowsQuoteCmdArg(r);for(const e of n){s+=` ${this._windowsQuoteCmdArg(e)}`}}}else{s+=r;for(const e of n){s+=` ${e}`}}return s}_processLineBuffer(e,t,r){try{let n=t+e.toString();let s=n.indexOf(c.EOL);while(s>-1){const e=n.substring(0,s);r(e);n=n.substring(s+c.EOL.length);s=n.indexOf(c.EOL)}return n}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(y){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(y){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const r of this.args){t+=" ";t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let r=false;for(const n of e){if(t.some((e=>e===n))){r=true;break}}if(!r){return e}let n='"';let s=true;for(let t=e.length;t>0;t--){n+=e[t-1];if(s&&e[t-1]==="\\"){n+="\\"}else if(e[t-1]==='"'){s=true;n+='"'}else{s=false}}n+='"';return n.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let r=true;for(let n=e.length;n>0;n--){t+=e[n-1];if(r&&e[n-1]==="\\"){t+="\\"}else if(e[n-1]==='"'){r=true;t+="\\"}else{r=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const r={};r.cwd=e.cwd;r.env=e.env;r["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){r.argv0=`"${t}"`}return r}exec(){return a(this,void 0,void 0,(function*(){if(!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||y&&this.toolPath.includes("\\"))){this.toolPath=h.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield g.which(this.toolPath,true);return new Promise(((e,t)=>a(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const r=this._cloneExecOptions(this.options);if(!r.silent&&r.outStream){r.outStream.write(this._getCommandString(r)+c.EOL)}const n=new ExecState(r,this.toolPath);n.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield p.exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const s=this._getSpawnFileName();const A=u.spawn(s,this._getSpawnArgs(r),this._getSpawnOptions(this.options,s));let a="";if(A.stdout){A.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!r.silent&&r.outStream){r.outStream.write(e)}a=this._processLineBuffer(e,a,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let l="";if(A.stderr){A.stderr.on("data",(e=>{n.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!r.silent&&r.errStream&&r.outStream){const t=r.failOnStdErr?r.errStream:r.outStream;t.write(e)}l=this._processLineBuffer(e,l,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}A.on("error",(e=>{n.processError=e.message;n.processExited=true;n.processClosed=true;n.CheckComplete()}));A.on("exit",(e=>{n.processExitCode=e;n.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);n.CheckComplete()}));A.on("close",(e=>{n.processExitCode=e;n.processExited=true;n.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);n.CheckComplete()}));n.on("done",((r,n)=>{if(a.length>0){this.emit("stdline",a)}if(l.length>0){this.emit("errline",l)}A.removeAllListeners();if(r){t(r)}else{e(n)}}));if(this.options.input){if(!A.stdin){throw new Error("child process missing stdin")}A.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let r=false;let n=false;let s="";function append(e){if(n&&e!=='"'){s+="\\"}s+=e;n=false}for(let A=0;A${e}: _(${r}${s})_ ${n}\n`)}const l=t.indexOf("\x3c!-- BEGIN_AUTOGEN_INPUTS --\x3e");const u=t.indexOf("\x3c!-- END_AUTOGEN_INPUTS --\x3e");t.splice(l+1,u-l-1,"",...A,"");const h=Object.entries(n.outputs||{});if(h.length===0)console.warn(`action.yml outputs are empty`);const g=[];for(const[e,t]of h){const r=(t?.description||"").split("\n").map((e=>e.trim()===""?"":` ${e}`)).join("\n").trim();if(r===""){throw new Error(`Output "${e}" is missing a description`)}g.push(`- ${e}: ${r}\n`)}const p=t.indexOf("\x3c!-- BEGIN_AUTOGEN_OUTPUTS --\x3e");const C=t.indexOf("\x3c!-- END_AUTOGEN_OUTPUTS --\x3e");t.splice(p+1,C-p-1,"",...g,"");await(0,a.writeFile)("README.md",t.join("\n"),"utf8")}},9081:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.parseCredential=parseCredential;t.isServiceAccountKey=isServiceAccountKey;t.isExternalAccount=isExternalAccount;const n=r(3916);const s=r(6266);function parseCredential(e){e=(e||"").trim();if(!e){throw new Error(`Missing service account key JSON (got empty value)`)}if(!e.startsWith("{")){e=(0,s.fromBase64)(e)}try{const t=JSON.parse(e);return t}catch(e){const t=(0,n.errorMessage)(e);throw new SyntaxError(`Failed to parse service account key JSON credentials: ${t}`)}}function isServiceAccountKey(e){return e.type==="service_account"}function isExternalAccount(e){return e.type!=="external_account"}t["default"]={parseCredential:parseCredential,isServiceAccountKey:isServiceAccountKey,isExternalAccount:isExternalAccount}},3214:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[t.length]=r;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=ownKeys(e),A=0;A${e}: _(${r}${s})_ ${n}\n`)}const l=t.indexOf("\x3c!-- BEGIN_AUTOGEN_INPUTS --\x3e");const u=t.indexOf("\x3c!-- END_AUTOGEN_INPUTS --\x3e");t.splice(l+1,u-l-1,"",...A,"");const h=Object.entries(n.outputs||{});if(h.length===0)console.warn(`action.yml outputs are empty`);const g=[];for(const[e,t]of h){const r=(t?.description||"").split("\n").map((e=>e.trim()===""?"":` ${e}`)).join("\n").trim();if(r===""){throw new Error(`Output "${e}" is missing a description`)}g.push(`- ${e}: ${r}\n`)}const p=t.indexOf("\x3c!-- BEGIN_AUTOGEN_OUTPUTS --\x3e");const C=t.indexOf("\x3c!-- END_AUTOGEN_OUTPUTS --\x3e");t.splice(p+1,C-p-1,"",...g,"");await(0,a.writeFile)("README.md",t.join("\n"),"utf8")}},9081:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.parseCredential=parseCredential;t.isServiceAccountKey=isServiceAccountKey;t.isExternalAccount=isExternalAccount;const n=r(3916);const s=r(6266);function parseCredential(e){e=(e||"").trim();if(!e){throw new Error(`Missing service account key JSON (got empty value)`)}if(!e.startsWith("{")){e=(0,s.fromBase64)(e)}try{const t=JSON.parse(e);return t}catch(e){const t=(0,n.errorMessage)(e);throw new SyntaxError(`Failed to parse service account key JSON credentials: ${t}`)}}function isServiceAccountKey(e){return e.type==="service_account"}function isExternalAccount(e){return e.type!=="external_account"}t["default"]={parseCredential:parseCredential,isServiceAccountKey:isServiceAccountKey,isExternalAccount:isExternalAccount}},3214:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[t.length]=r;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=ownKeys(e),A=0;A{e.exports=class FixedFIFO{constructor(e){if(!(e>0)||(e-1&e)!==0)throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(e);this.mask=e-1;this.top=0;this.btm=0;this.next=null}clear(){this.top=this.btm=0;this.next=null;this.buffer.fill(undefined)}push(e){if(this.buffer[this.top]!==undefined)return false;this.buffer[this.top]=e;this.top=this.top+1&this.mask;return true}shift(){const e=this.buffer[this.btm];if(e===undefined)return undefined;this.buffer[this.btm]=undefined;this.btm=this.btm+1&this.mask;return e}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===undefined}}},3867:(e,t,r)=>{const n=r(3587);e.exports=class FastFIFO{constructor(e){this.hwm=e||16;this.head=new n(this.hwm);this.tail=this.head;this.length=0}clear(){this.head=this.tail;this.head.clear();this.length=0}push(e){this.length++;if(!this.head.push(e)){const t=this.head;this.head=t.next=new n(2*this.head.buffer.length);this.head.push(e)}}shift(){if(this.length!==0)this.length--;const e=this.tail.shift();if(e===undefined&&this.tail.next){const e=this.tail.next;this.tail.next=null;this.tail=e;return this.tail.shift()}return e}peek(){const e=this.tail.peek();if(e===undefined&&this.tail.next)return this.tail.next.peek();return e}isEmpty(){return this.length===0}}},5693:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.GaxiosError=t.GAXIOS_ERROR_SYMBOL=void 0;t.defaultErrorRedactor=defaultErrorRedactor;const s=n(r(3860));const A=n(r(8823));const a=A.default.pkg;t.GAXIOS_ERROR_SYMBOL=Symbol.for(`${a.name}-gaxios-error`);class GaxiosError extends Error{config;response;code;status;error;[t.GAXIOS_ERROR_SYMBOL]=a.version;static[Symbol.hasInstance](e){if(e&&typeof e==="object"&&t.GAXIOS_ERROR_SYMBOL in e&&e[t.GAXIOS_ERROR_SYMBOL]===a.version){return true}return Function.prototype[Symbol.hasInstance].call(GaxiosError,e)}constructor(e,t,r,n){super(e,{cause:n});this.config=t;this.response=r;this.error=n instanceof Error?n:undefined;this.config=(0,s.default)(true,{},t);if(this.response){this.response.config=(0,s.default)(true,{},this.response.config)}if(this.response){try{this.response.data=translateData(this.config.responseType,this.response?.bodyUsed?this.response?.data:undefined)}catch{}this.status=this.response.status}if(n instanceof DOMException){this.code=n.name}else if(n&&typeof n==="object"&&"code"in n&&(typeof n.code==="string"||typeof n.code==="number")){this.code=n.code}}static extractAPIErrorFromResponse(e,t="The request failed"){let r=t;if(typeof e.data==="string"){r=e.data}if(e.data&&typeof e.data==="object"&&"error"in e.data&&e.data.error&&!e.ok){if(typeof e.data.error==="string"){return{message:e.data.error,code:e.status,status:e.statusText}}if(typeof e.data.error==="object"){r="message"in e.data.error&&typeof e.data.error.message==="string"?e.data.error.message:r;const t="status"in e.data.error&&typeof e.data.error.status==="string"?e.data.error.status:e.statusText;const n="code"in e.data.error&&typeof e.data.error.code==="number"?e.data.error.code:e.status;if("errors"in e.data.error&&Array.isArray(e.data.error.errors)){const s=[];for(const t of e.data.error.errors){if(typeof t==="object"&&"message"in t&&typeof t.message==="string"){s.push(t.message)}}return Object.assign({message:s.join("\n")||r,code:n,status:t},e.data.error)}return Object.assign({message:r,code:n,status:t},e.data.error)}}return{message:r,code:e.status,status:e.statusText}}}t.GaxiosError=GaxiosError;function translateData(e,t){switch(e){case"stream":return t;case"json":return JSON.parse(JSON.stringify(t));case"arraybuffer":return JSON.parse(Buffer.from(t).toString("utf8"));case"blob":return JSON.parse(t.text());default:return t}}function defaultErrorRedactor(e){const t="< {function cacheHas(e,t){return e.has(t)}e.exports=cacheHas},252:(e,t,r)=>{var n=r(6748);var s=n["__core-js_shared__"];e.exports=s},8242:(e,t,r)=>{var n=r(4986),s=r(9029),A=r(1894);var a=1/0;var c=!(n&&1/A(new n([,-0]))[1]==a)?s:function(e){return new n(e)};e.exports=c},725:(e,t,r)=>{var n=r(8573);var s=function(){try{var e=n(Object,"defineProperty");e({},"",{});return e}catch(e){}}();e.exports=s},8997:e=>{var t=typeof global=="object"&&global&&global.Object===Object&&global;e.exports=t},1194:(e,t,r)=>{var n=r(3245);function getMapData(e,t){var r=e.__data__;return n(t)?r[typeof t=="string"?"string":"hash"]:r.map}e.exports=getMapData},8573:(e,t,r)=>{var n=r(2334),s=r(8293);function getNative(e,t){var r=s(e,t);return n(r)?r:undefined}e.exports=getNative},6194:(e,t,r)=>{var n=r(1128);var s=n(Object.getPrototypeOf,Object);e.exports=s},5292:(e,t,r)=>{var n=r(8584);var s=Object.prototype;var A=s.hasOwnProperty;var a=s.toString;var c=n?n.toStringTag:undefined;function getRawTag(e){var t=A.call(e,c),r=e[c];try{e[c]=undefined;var n=true}catch(e){}var s=a.call(e);if(n){if(t){e[c]=r}else{delete e[c]}}return s}e.exports=getRawTag},8293:e=>{function getValue(e,t){return e==null?undefined:e[t]}e.exports=getValue},8051:(e,t,r)=>{var n=r(1563);function hashClear(){this.__data__=n?n(null):{};this.size=0}e.exports=hashClear},5431:e=>{function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];this.size-=t?1:0;return t}e.exports=hashDelete},6934:(e,t,r)=>{var n=r(1563);var s="__lodash_hash_undefined__";var A=Object.prototype;var a=A.hasOwnProperty;function hashGet(e){var t=this.__data__;if(n){var r=t[e];return r===s?undefined:r}return a.call(t,e)?t[e]:undefined}e.exports=hashGet},4306:(e,t,r)=>{var n=r(1563);var s=Object.prototype;var A=s.hasOwnProperty;function hashHas(e){var t=this.__data__;return n?t[e]!==undefined:A.call(t,e)}e.exports=hashHas},7226:(e,t,r)=>{var n=r(1563);var s="__lodash_hash_undefined__";function hashSet(e,t){var r=this.__data__;this.size+=this.has(e)?0:1;r[e]=n&&t===undefined?s:t;return this}e.exports=hashSet},5088:(e,t,r)=>{var n=r(8584),s=r(541),A=r(4811);var a=n?n.isConcatSpreadable:undefined;function isFlattenable(e){return A(e)||s(e)||!!(a&&e&&e[a])}e.exports=isFlattenable},7446:e=>{var t=9007199254740991;var r=/^(?:0|[1-9]\d*)$/;function isIndex(e,n){var s=typeof e;n=n==null?t:n;return!!n&&(s=="number"||s!="symbol"&&r.test(e))&&(e>-1&&e%1==0&&e {e.exports=class FixedFIFO{constructor(e){if(!(e>0)||(e-1&e)!==0)throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(e);this.mask=e-1;this.top=0;this.btm=0;this.next=null}clear(){this.top=this.btm=0;this.next=null;this.buffer.fill(undefined)}push(e){if(this.buffer[this.top]!==undefined)return false;this.buffer[this.top]=e;this.top=this.top+1&this.mask;return true}shift(){const e=this.buffer[this.btm];if(e===undefined)return undefined;this.buffer[this.btm]=undefined;this.btm=this.btm+1&this.mask;return e}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===undefined}}},3867:(e,t,r)=>{const n=r(3587);e.exports=class FastFIFO{constructor(e){this.hwm=e||16;this.head=new n(this.hwm);this.tail=this.head;this.length=0}clear(){this.head=this.tail;this.head.clear();this.length=0}push(e){this.length++;if(!this.head.push(e)){const t=this.head;this.head=t.next=new n(2*this.head.buffer.length);this.head.push(e)}}shift(){if(this.length!==0)this.length--;const e=this.tail.shift();if(e===undefined&&this.tail.next){const e=this.tail.next;this.tail.next=null;this.tail=e;return this.tail.shift()}return e}peek(){const e=this.tail.peek();if(e===undefined&&this.tail.next)return this.tail.next.peek();return e}isEmpty(){return this.length===0}}},5693:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.GaxiosError=t.GAXIOS_ERROR_SYMBOL=void 0;t.defaultErrorRedactor=defaultErrorRedactor;const s=n(r(3860));const A=n(r(8823));const a=A.default.pkg;t.GAXIOS_ERROR_SYMBOL=Symbol.for(`${a.name}-gaxios-error`);class GaxiosError extends Error{config;response;code;status;error;[t.GAXIOS_ERROR_SYMBOL]=a.version;static[Symbol.hasInstance](e){if(e&&typeof e==="object"&&t.GAXIOS_ERROR_SYMBOL in e&&e[t.GAXIOS_ERROR_SYMBOL]===a.version){return true}return Function.prototype[Symbol.hasInstance].call(GaxiosError,e)}constructor(e,t,r,n){super(e,{cause:n});this.config=t;this.response=r;this.error=n instanceof Error?n:undefined;this.config=(0,s.default)(true,{},t);if(this.response){this.response.config=(0,s.default)(true,{},this.response.config)}if(this.response){try{this.response.data=translateData(this.config.responseType,this.response?.bodyUsed?this.response?.data:undefined)}catch{}this.status=this.response.status}if(n instanceof DOMException){this.code=n.name}else if(n&&typeof n==="object"&&"code"in n&&(typeof n.code==="string"||typeof n.code==="number")){this.code=n.code}}static extractAPIErrorFromResponse(e,t="The request failed"){let r=t;if(typeof e.data==="string"){r=e.data}if(e.data&&typeof e.data==="object"&&"error"in e.data&&e.data.error&&!e.ok){if(typeof e.data.error==="string"){return{message:e.data.error,code:e.status,status:e.statusText}}if(typeof e.data.error==="object"){r="message"in e.data.error&&typeof e.data.error.message==="string"?e.data.error.message:r;const t="status"in e.data.error&&typeof e.data.error.status==="string"?e.data.error.status:e.statusText;const n="code"in e.data.error&&typeof e.data.error.code==="number"?e.data.error.code:e.status;if("errors"in e.data.error&&Array.isArray(e.data.error.errors)){const s=[];for(const t of e.data.error.errors){if(typeof t==="object"&&"message"in t&&typeof t.message==="string"){s.push(t.message)}}return Object.assign({message:s.join("\n")||r,code:n,status:t},e.data.error)}return Object.assign({message:r,code:n,status:t},e.data.error)}}return{message:r,code:e.status,status:e.statusText}}}t.GaxiosError=GaxiosError;function translateData(e,t){switch(e){case"stream":return t;case"json":return JSON.parse(JSON.stringify(t));case"arraybuffer":return JSON.parse(Buffer.from(t).toString("utf8"));case"blob":return JSON.parse(t.text());default:return t}}function defaultErrorRedactor(e){const t="<=t.length){if(t.decoder)r=t.buffer.join("");else if(t.buffer.length===1)r=t.buffer.head.data;else r=t.buffer.concat(t.length);t.buffer.clear()}else{r=fromListPartial(e,t.buffer,t.decoder)}return r}function fromListPartial(e,t,r){var n;if(e{var n=r(1299),s=r(541),A=r(4811),a=r(3739),c=r(7446),l=r(5e3);var u=Object.prototype;var h=u.hasOwnProperty;function arrayLikeKeys(e,t){var r=A(e),u=!r&&s(e),g=!r&&!u&&a(e),p=!r&&!u&&!g&&l(e),C=r||u||g||p,y=C?n(e.length,String):[],I=y.length;for(var B in e){if((t||h.call(e,B))&&!(C&&(B=="length"||g&&(B=="offset"||B=="parent")||p&&(B=="buffer"||B=="byteLength"||B=="byteOffset")||c(B,I)))){y.push(B)}}return y}e.exports=arrayLikeKeys},6649:e=>{function arrayMap(e,t){var r=-1,n=e==null?0:e.length,s=Array(n);while(++r{var n=r(827),s=r(5088);function baseFlatten(e,t,r,A,a){var c=-1,l=e.length;r||(r=s);a||(a=[]);while(++c{var t=Function.prototype;var r=t.toString;function toSource(e){if(e!=null){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}e.exports=toSource},5089:e=>{function constant(e){return function(){return e}}e.exports=constant},7511:(e,t,r)=>{var n=r(2035),s=r(5199),A=r(3349),a=r(9430);var c=Object.prototype;var l=c.hasOwnProperty;var u=n((function(e,t){e=Object(e);var r=-1;var n=t.length;var u=n>2?t[2]:undefined;if(u&&A(t[0],t[1],u)){n=1}while(++r