diff --git a/.dockerignore b/.dockerignore
index a8b48dd0..0518ac65 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -2,4 +2,4 @@
*
# Files required for the action
-!action/
+!dist/
diff --git a/.editorconfig b/.editorconfig
index e92b3e0e..e96ad27f 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -6,7 +6,7 @@ end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
-max_line_length = 100
+max_line_length = 120
tab_width = 2
trim_trailing_whitespace = true
diff --git a/.eslintignore b/.eslintignore
index 7e32b3e3..42ceb9a5 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,2 +1,4 @@
-**/node_modules/**
-**/action/**
+dist/
+lib/
+node_modules/
+jest.config.js
diff --git a/.eslintrc.json b/.eslintrc.json
index af97d6e0..4379c73a 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,21 +1,19 @@
{
- "parser": "babel-eslint",
+ "plugins": ["jest", "@typescript-eslint", "prettier", "unicorn"],
+ "extends": ["plugin:unicorn/recommended", "plugin:github/recommended", "prettier"],
+ "parser": "@typescript-eslint/parser",
+ "parserOptions": {
+ "ecmaVersion": 9,
+ "sourceType": "module"
+ },
"env": {
"node": true,
"es6": true,
- "jest": true
+ "jest/globals": true
},
- "parserOptions": {
- "ecmaVersion": 2020,
- "ecmaFeatures": {
- "impliedStrict": true
- }
- },
- "extends": ["airbnb", "plugin:unicorn/recommended", "prettier"],
- "plugins": ["react", "jsx-a11y", "import", "prettier", "flowtype", "unicorn"],
- "settings": { "react": { "version": "latest" } },
"rules": {
"prettier/prettier": "error",
- "import/no-extraneous-dependencies": 0
+ "import/no-extraneous-dependencies": 0,
+ "import/no-namespace": "off"
}
}
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..70c45d4e
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+dist/index* -diff linguist-generated=true
+dist/licenses* -diff linguist-generated=true
+dist/sourcemap* -diff linguist-generated=true
diff --git a/.github/workflows/integrity-check.yml b/.github/workflows/integrity-check.yml
index fcb970d9..060f4fbc 100644
--- a/.github/workflows/integrity-check.yml
+++ b/.github/workflows/integrity-check.yml
@@ -21,4 +21,4 @@ jobs:
- run: yarn test --coverage
- run: bash <(curl -s https://codecov.io/bash)
- run: yarn build || { echo "build command should always succeed" ; exit 61; }
- # - run: yarn build --quiet && git diff --quiet action || { echo "action should be auto generated" ; git diff action ; exit 62; }
+# - run: yarn build --quiet && git diff --quiet dist || { echo "dist should be auto generated" ; git diff dist ; exit 62; }
diff --git a/.github/workflows/kubernetes-tests.yml b/.github/workflows/kubernetes-tests.yml
index e5f10911..bff52418 100644
--- a/.github/workflows/kubernetes-tests.yml
+++ b/.github/workflows/kubernetes-tests.yml
@@ -1,10 +1,11 @@
name: Kubernetes
on:
- push: { branches: [main] }
- pull_request:
- paths-ignore:
- - '.github/**'
+ workflow_dispatch: {}
+# push: { branches: [main] }
+# pull_request:
+# paths-ignore:
+# - '.github/**'
env:
GKE_ZONE: 'us-central1-c'
@@ -13,7 +14,6 @@ env:
GKE_CLUSTER: 'unity-builder-cluster'
UNITY_LICENSE: "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \nm0Db8UK+ktnOLJBtHybkfetpcKo=o/pUbSQAukz7+ZYAWhnA0AJbIlyyCPL7bKVEM2lVqbrXt7cyey+umkCXamuOgsWPVUKBMkXtMH8L\n5etLmD0getWIhTGhzOnDCk+gtIPfL4jMo9tkEuOCROQAXCci23VFscKcrkB+3X6h4wEOtA2APhOY\nB+wvC794o8/82ffjP79aVAi57rp3Wmzx+9pe9yMwoJuljAy2sc2tIMgdQGWVmOGBpQm3JqsidyzI\nJWG2kjnc7pDXK9pwYzXoKiqUqqrut90d+kQqRyv7MSZXR50HFqD/LI69h68b7P8Bjo3bPXOhNXGR\n9YCoemH6EkfCJxp2gIjzjWW+l2Hj2EsFQi8YXw=="
-
jobs:
k8sBuilds:
name: K8s build for ${{ matrix.targetPlatform }} on version ${{ matrix.unityVersion }}
@@ -41,7 +41,7 @@ jobs:
version: '288.0.0'
service_account_email: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_EMAIL }}
service_account_key: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}
- - run: ./action/bootstrapper/ApplyClusterAndAcquireLock.sh ${{ env.GKE_PROJECT }} ${{ env.GKE_CLUSTER }} ${{ env.GKE_ZONE }}
+ - run: ./dist/bootstrapper/ApplyClusterAndAcquireLock.sh ${{ env.GKE_PROJECT }} ${{ env.GKE_CLUSTER }} ${{ env.GKE_ZONE }}
###########################
# Build #
@@ -76,5 +76,5 @@ jobs:
###########################
# Spin down #
###########################
- - run: ./action/bootstrapper/ReleaseLockAndAttemptShutdown.sh ${{ env.GKE_PROJECT }} ${{ env.GKE_CLUSTER }} ${{ env.GKE_ZONE }}
+ - run: ./dist/bootstrapper/ReleaseLockAndAttemptShutdown.sh ${{ env.GKE_PROJECT }} ${{ env.GKE_CLUSTER }} ${{ env.GKE_ZONE }}
if: ${{ always() }}
diff --git a/.gitignore b/.gitignore
index 57beb2c1..f1fde5e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
.idea
node_modules
coverage/
+lib/
diff --git a/.prettierignore b/.prettierignore
index 7e32b3e3..cb3fd15f 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1,2 +1,2 @@
**/node_modules/**
-**/action/**
+**/dist/**
diff --git a/.prettierrc.json b/.prettierrc.json
index 47174e44..a4175b70 100644
--- a/.prettierrc.json
+++ b/.prettierrc.json
@@ -2,5 +2,5 @@
"semi": true,
"singleQuote": true,
"trailingComma": "all",
- "printWidth": 100
+ "printWidth": 120
}
diff --git a/.yarnrc b/.yarnrc
index cde7b133..7cd45b8f 100644
--- a/.yarnrc
+++ b/.yarnrc
@@ -1,3 +1,3 @@
-save-prefix ""
+save-prefix "^"
--install.audit true
--add.audit true
diff --git a/action.yml b/action.yml
index 577d6b2d..7b306525 100644
--- a/action.yml
+++ b/action.yml
@@ -117,4 +117,4 @@ branding:
color: 'gray-dark'
runs:
using: 'node12'
- main: 'action/index.js'
+ main: 'dist/index.js'
diff --git a/action/index.js b/action/index.js
deleted file mode 100644
index e6474ff7..00000000
--- a/action/index.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports=function(e,t){"use strict";var i={};function __webpack_require__(t){if(i[t]){return i[t].exports}var n=i[t]={i:t,l:false,exports:{}};e[t].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(696)}t(__webpack_require__);return startup()}([function(e){e.exports=(e=>Math.floor(e.getTime()/1e3))},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){function adopt(e){return e instanceof i?e:new i(function(t){t(e)})}return new(i||(i=Promise))(function(i,a){function fulfilled(e){try{step(n.next(e))}catch(e){a(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){a(e)}}function step(e){e.done?i(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:true});const a=i(129);const r=i(622);const s=i(669);const o=i(672);const u=s.promisify(a.exec);function cp(e,t,i={}){return n(this,void 0,void 0,function*(){const{force:n,recursive:a}=readCopyOptions(i);const s=(yield o.exists(t))?yield o.stat(t):null;if(s&&s.isFile()&&!n){return}const u=s&&s.isDirectory()?r.join(t,r.basename(e)):t;if(!(yield o.exists(e))){throw new Error(`no such file or directory: ${e}`)}const l=yield o.stat(e);if(l.isDirectory()){if(!a){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,u,0,n)}}else{if(r.relative(e,u)===""){throw new Error(`'${u}' and '${e}' are the same file`)}yield copyFile(e,u,n)}})}t.cp=cp;function mv(e,t,i={}){return n(this,void 0,void 0,function*(){if(yield o.exists(t)){let n=true;if(yield o.isDirectory(t)){t=r.join(t,r.basename(e));n=yield o.exists(t)}if(n){if(i.force==null||i.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(r.dirname(t));yield o.rename(e,t)})}t.mv=mv;function rmRF(e){return n(this,void 0,void 0,function*(){if(o.IS_WINDOWS){try{if(yield o.isDirectory(e,true)){yield u(`rd /s /q "${e}"`)}else{yield u(`del /f /a "${e}"`)}}catch(e){if(e.code!=="ENOENT")throw e}try{yield o.unlink(e)}catch(e){if(e.code!=="ENOENT")throw e}}else{let t=false;try{t=yield o.isDirectory(e)}catch(e){if(e.code!=="ENOENT")throw e;return}if(t){yield u(`rm -rf "${e}"`)}else{yield o.unlink(e)}}})}t.rmRF=rmRF;function mkdirP(e){return n(this,void 0,void 0,function*(){yield o.mkdirP(e)})}t.mkdirP=mkdirP;function which(e,t){return n(this,void 0,void 0,function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(o.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}}try{const t=[];if(o.IS_WINDOWS&&process.env.PATHEXT){for(const e of process.env.PATHEXT.split(r.delimiter)){if(e){t.push(e)}}}if(o.isRooted(e)){const i=yield o.tryGetExecutablePath(e,t);if(i){return i}return""}if(e.includes("/")||o.IS_WINDOWS&&e.includes("\\")){return""}const i=[];if(process.env.PATH){for(const e of process.env.PATH.split(r.delimiter)){if(e){i.push(e)}}}for(const n of i){const i=yield o.tryGetExecutablePath(n+r.sep+e,t);if(i){return i}}return""}catch(e){throw new Error(`which failed with message ${e.message}`)}})}t.which=which;function readCopyOptions(e){const t=e.force==null?true:e.force;const i=Boolean(e.recursive);return{force:t,recursive:i}}function cpDirRecursive(e,t,i,a){return n(this,void 0,void 0,function*(){if(i>=255)return;i++;yield mkdirP(t);const n=yield o.readdir(e);for(const r of n){const n=`${e}/${r}`;const s=`${t}/${r}`;const u=yield o.lstat(n);if(u.isDirectory()){yield cpDirRecursive(n,s,i,a)}else{yield copyFile(n,s,a)}}yield o.chmod(t,(yield o.stat(e)).mode)})}function copyFile(e,t,i){return n(this,void 0,void 0,function*(){if((yield o.lstat(e)).isSymbolicLink()){try{yield o.lstat(t);yield o.unlink(t)}catch(e){if(e.code==="EPERM"){yield o.chmod(t,"0666");yield o.unlink(t)}}const i=yield o.readlink(e);yield o.symlink(i,t,o.IS_WINDOWS?"junction":null)}else if(!(yield o.exists(t))||i){yield o.copyFile(e,t)}})}},,function(e,t,i){var n=i(49);var a=function(){};var r=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 o=function(e,t,i){if(typeof t==="function")return o(e,null,t);if(!t)t={};i=n(i||a);var u=e._writableState;var l=e._readableState;var c=t.readable||t.readable!==false&&e.readable;var d=t.writable||t.writable!==false&&e.writable;var p=false;var f=function(){if(!e.writable)h()};var h=function(){d=false;if(!c)i.call(e)};var m=function(){c=false;if(!d)i.call(e)};var b=function(t){i.call(e,t?new Error("exited with error code: "+t):null)};var g=function(t){i.call(e,t)};var y=function(){process.nextTick(S)};var S=function(){if(p)return;if(c&&!(l&&(l.ended&&!l.destroyed)))return i.call(e,new Error("premature close"));if(d&&!(u&&(u.ended&&!u.destroyed)))return i.call(e,new Error("premature close"))};var w=function(){e.req.on("finish",h)};if(r(e)){e.on("complete",h);e.on("abort",y);if(e.req)w();else e.on("request",w)}else if(d&&!u){e.on("end",f);e.on("close",f)}if(s(e))e.on("exit",b);e.on("end",m);e.on("finish",h);if(t.error!==false)e.on("error",g);e.on("close",y);return function(){p=true;e.removeListener("complete",h);e.removeListener("abort",y);e.removeListener("request",w);if(e.req)e.req.removeListener("finish",h);e.removeListener("end",f);e.removeListener("close",f);e.removeListener("finish",h);e.removeListener("exit",b);e.removeListener("end",m);e.removeListener("error",g);e.removeListener("close",y)}};e.exports=o},function(e){"use strict";var t=Object.prototype.hasOwnProperty;var i=Array.isArray;var n=function(){var e=[];for(var t=0;t<256;++t){e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase())}return e}();var a=function compactQueue(e){while(e.length>1){var t=e.pop();var n=t.obj[t.prop];if(i(n)){var a=[];for(var r=0;r=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){r+=a.charAt(s);continue}if(o<128){r=r+n[o];continue}if(o<2048){r=r+(n[192|o>>6]+n[128|o&63]);continue}if(o<55296||o>=57344){r=r+(n[224|o>>12]+n[128|o>>6&63]+n[128|o&63]);continue}s+=1;o=65536+((o&1023)<<10|a.charCodeAt(s)&1023);r+=n[240|o>>18]+n[128|o>>12&63]+n[128|o>>6&63]+n[128|o&63]}return r};var c=function compact(e){var t=[{obj:{o:e},prop:"o"}];var i=[];for(var n=0;n-1){const e=n.substring(0,a);i(e);n=n.substring(a+r.EOL.length);a=n.indexOf(r.EOL)}t=n}catch(e){this._debug(`error processing line. Failed with error ${e}`)}}_getSpawnFileName(){if(d){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(d){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const i of this.args){t+=" ";t+=e.windowsVerbatimArguments?i:this._windowsQuoteCmdArg(i)}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 i=false;for(const n of e){if(t.some(e=>e===n)){i=true;break}}if(!i){return e}let n='"';let a=true;for(let t=e.length;t>0;t--){n+=e[t-1];if(a&&e[t-1]==="\\"){n+="\\"}else if(e[t-1]==='"'){a=true;n+='"'}else{a=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 i=true;for(let n=e.length;n>0;n--){t+=e[n-1];if(i&&e[n-1]==="\\"){t+="\\"}else if(e[n-1]==='"'){i=true;t+="\\"}else{i=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 i={};i.cwd=e.cwd;i.env=e.env;i["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){i.argv0=`"${t}"`}return i}exec(){return n(this,void 0,void 0,function*(){if(!c.isRooted(this.toolPath)&&(this.toolPath.includes("/")||d&&this.toolPath.includes("\\"))){this.toolPath=u.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield l.which(this.toolPath,true);return new Promise((e,t)=>{this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const i=this._cloneExecOptions(this.options);if(!i.silent&&i.outStream){i.outStream.write(this._getCommandString(i)+r.EOL)}const n=new ExecState(i,this.toolPath);n.on("debug",e=>{this._debug(e)});const a=this._getSpawnFileName();const s=o.spawn(a,this._getSpawnArgs(i),this._getSpawnOptions(this.options,a));const u="";if(s.stdout){s.stdout.on("data",e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!i.silent&&i.outStream){i.outStream.write(e)}this._processLineBuffer(e,u,e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}})})}const l="";if(s.stderr){s.stderr.on("data",e=>{n.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!i.silent&&i.errStream&&i.outStream){const t=i.failOnStdErr?i.errStream:i.outStream;t.write(e)}this._processLineBuffer(e,l,e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}})})}s.on("error",e=>{n.processError=e.message;n.processExited=true;n.processClosed=true;n.CheckComplete()});s.on("exit",e=>{n.processExitCode=e;n.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);n.CheckComplete()});s.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",(i,n)=>{if(u.length>0){this.emit("stdline",u)}if(l.length>0){this.emit("errline",l)}s.removeAllListeners();if(i){t(i)}else{e(n)}});if(this.options.input){if(!s.stdin){throw new Error("child process missing stdin")}s.stdin.end(this.options.input)}})})}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let i=false;let n=false;let a="";function append(e){if(n&&e!=='"'){a+="\\"}a+=e;n=false}for(let r=0;r0){t.push(a);a=""}continue}append(s)}if(a.length>0){t.push(a.trim())}return t}t.argStringToArray=argStringToArray;class ExecState extends s.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}},function(e,t,i){"use strict";const{randomBytes:n}=i(373);const a=i(301);const{EMPTY_BUFFER:r}=i(799);const{isValidStatusCode:s}=i(562);const{mask:o,toBuffer:u}=i(104);class Sender{constructor(e,t){this._extensions=t||{};this._socket=e;this._firstFragment=true;this._compress=false;this._bufferedBytes=0;this._deflating=false;this._queue=[]}static frame(e,t){const i=t.mask&&t.readOnly;var a=t.mask?6:2;var r=e.length;if(e.length>=65536){a+=8;r=127}else if(e.length>125){a+=2;r=126}const s=Buffer.allocUnsafe(i?e.length+a:a);s[0]=t.fin?t.opcode|128:t.opcode;if(t.rsv1)s[0]|=64;s[1]=r;if(r===126){s.writeUInt16BE(e.length,2)}else if(r===127){s.writeUInt32BE(0,2);s.writeUInt32BE(e.length,6)}if(!t.mask)return[s,e];const u=n(4);s[1]|=128;s[a-4]=u[0];s[a-3]=u[1];s[a-2]=u[2];s[a-1]=u[3];if(i){o(e,u,s,a,e.length);return[s]}o(e,u,e,0,e.length);return[s,e]}close(e,t,i,n){var a;if(e===undefined){a=r}else if(typeof e!=="number"||!s(e)){throw new TypeError("First argument must be a valid error code number")}else if(t===undefined||t===""){a=Buffer.allocUnsafe(2);a.writeUInt16BE(e,0)}else{a=Buffer.allocUnsafe(2+Buffer.byteLength(t));a.writeUInt16BE(e,0);a.write(t,2)}if(this._deflating){this.enqueue([this.doClose,a,i,n])}else{this.doClose(a,i,n)}}doClose(e,t,i){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:8,mask:t,readOnly:false}),i)}ping(e,t,i){const n=u(e);if(this._deflating){this.enqueue([this.doPing,n,t,u.readOnly,i])}else{this.doPing(n,t,u.readOnly,i)}}doPing(e,t,i,n){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:9,mask:t,readOnly:i}),n)}pong(e,t,i){const n=u(e);if(this._deflating){this.enqueue([this.doPong,n,t,u.readOnly,i])}else{this.doPong(n,t,u.readOnly,i)}}doPong(e,t,i,n){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:10,mask:t,readOnly:i}),n)}send(e,t,i){const n=u(e);const r=this._extensions[a.extensionName];var s=t.binary?2:1;var o=t.compress;if(this._firstFragment){this._firstFragment=false;if(o&&r){o=n.length>=r._threshold}this._compress=o}else{o=false;s=0}if(t.fin)this._firstFragment=true;if(r){const e={fin:t.fin,rsv1:o,opcode:s,mask:t.mask,readOnly:u.readOnly};if(this._deflating){this.enqueue([this.dispatch,n,this._compress,e,i])}else{this.dispatch(n,this._compress,e,i)}}else{this.sendFrame(Sender.frame(n,{fin:t.fin,rsv1:false,opcode:s,mask:t.mask,readOnly:u.readOnly}),i)}}dispatch(e,t,i,n){if(!t){this.sendFrame(Sender.frame(e,i),n);return}const r=this._extensions[a.extensionName];this._deflating=true;r.compress(e,i.fin,(e,t)=>{this._deflating=false;i.readOnly=false;this.sendFrame(Sender.frame(t,i),n);this.dequeue()})}dequeue(){while(!this._deflating&&this._queue.length){const e=this._queue.shift();this._bufferedBytes-=e[1].length;e[0].apply(this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[1].length;this._queue.push(e)}sendFrame(e,t){if(e.length===2){this._socket.cork();this._socket.write(e[0]);this._socket.write(e[1],t);this._socket.uncork()}else{this._socket.write(e[0],t)}}}e.exports=Sender},function(e){e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach(function(t){wrapper[t]=e[t]});return wrapper;function wrapper(){var t=new Array(arguments.length);for(var i=0;i{t=Object.assign({pretty:false},t);return e.replace(/\\/g,"/").split("\n").filter(e=>{const t=e.match(a);if(t===null||!t[1]){return true}const i=t[1];if(i.includes(".app/Contents/Resources/electron.asar")||i.includes(".app/Contents/Resources/default_app.asar")){return false}return!r.test(i)}).filter(e=>e.trim()!=="").map(e=>{if(t.pretty){return e.replace(a,(e,t)=>e.replace(t,t.replace(s,"~")))}return e}).join("\n")})},function(e,t,i){const n=i(65);const a=(e,t,i)=>{const a=new n(e,i);const r=new n(t,i);return a.compare(r)||a.compareBuild(r)};e.exports=a},function(e,t,i){const n=i(490);const a=i(208);let r=i(918);const{JWEInvalid:s,JOSENotSupported:o}=i(466);r=r.bind(undefined,s);e.exports=((e,t,i,u,l)=>{if(typeof e==="string"){try{e=a.JSON.decode(e)}catch(e){throw new s("could not parse JWE protected header")}}let c=[];const d=new Set;if(!n(e,t)||!i.every(({header:i})=>{if(typeof i==="object"){c.push(i.alg);d.add(i.enc)}const a={...t,...i};r(e,a,l);if("zip"in a){throw new s('"zip" Header Parameter MUST be integrity protected')}else if(e&&"zip"in e&&e.zip!=="DEF"){throw new o('only "DEF" compression algorithm is supported')}return n(i,e)&&n(i,t)})){throw new s("JWE Shared Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint")}if(typeof e==="object"){c.push(e.alg);d.add(e.enc)}if(typeof t==="object"){c.push(t.alg);d.add(t.enc)}c=c.filter(Boolean);d.delete(undefined);if(i.length!==1){if(c.includes("dir")||c.includes("ECDH-ES")){throw new s("dir and ECDH-ES alg may only be used with a single recipient")}}if(u){if(c.length!==i.length){throw new s("missing Key Management algorithm")}if(d.size===0){throw new s("missing Content Encryption algorithm")}else if(d.size!==1){throw new s("there must only be one Content Encryption algorithm")}}else{if(d.size>1){throw new s("there must only be one Content Encryption algorithm")}}return[...d][0]})},function(e){e.exports={oct:{decrypt:{},deriveKey:{},encrypt:{},sign:{},unwrapKey:{},verify:{},wrapKey:{}},EC:{decrypt:{},deriveKey:{},encrypt:{},sign:{},unwrapKey:{},verify:{},wrapKey:{}},RSA:{decrypt:{},deriveKey:{},encrypt:{},sign:{},unwrapKey:{},verify:{},wrapKey:{}},OKP:{decrypt:{},deriveKey:{},encrypt:{},sign:{},unwrapKey:{},verify:{},wrapKey:{}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(422);const a=i(191);const r=i(669);const s=i(131);class PortForward{constructor(e,t,i){if(!i){this.handler=new s.WebSocketHandler(e)}else{this.handler=i}this.disconnectOnErr=r.isUndefined(t)?true:t}portForward(e,t,i,r,o,u,l=0){return n.__awaiter(this,void 0,void 0,function*(){if(i.length===0){throw new Error("You must provide at least one port to forward to.")}if(i.length>1){throw new Error("Only one port is currently supported for port-forward")}const n={ports:i[0]};const c=a.stringify(n);const d=[];i.forEach((e,t)=>{d[t*2]=true;d[t*2+1]=true});const p=`/api/v1/namespaces/${e}/pods/${t}/portforward?${c}`;const f=()=>{return this.handler.connect(p,null,(e,t)=>{if(e>=i.length*2){return!this.disconnectOnErr}if(d[e]){t=t.slice(2);d[e]=false}if(e%2===1){if(o){o.write(t)}}else{r.write(t)}return true})};if(l<1){const e=yield f();s.WebSocketHandler.handleStandardInput(e,u,0);return e}return s.WebSocketHandler.restartableHandleStandardInput(f,u,0,l)})}}t.PortForward=PortForward},function(e,t,i){const{EOL:n}=i(87);const a=i(466);const{keyObjectSupported:r}=i(915);const{createPublicKey:s}=i(40);const o=i(208);const u=i(884);const l=i(694);const{OKP_CURVES:c,EC_CURVES:d}=i(962);const p=(e,t)=>`-----BEGIN ${t} KEY-----${n}${(e.match(/.{1,64}/g)||[]).join(n)}${n}-----END ${t} KEY-----`;const f={private(e,t){const i=t.export({type:"pkcs8",format:"der"});const n=u.get("OneAsymmetricKey");const{privateKey:{privateKey:a}}=n.decode(i);return{...f.public(e,s(t)),d:o.encodeBuffer(a)}},public(e,t){const i=t.export({type:"spki",format:"der"});const n=u.get("PublicKeyInfo");const{publicKey:{data:a}}=n.decode(i);return{kty:"OKP",crv:e,x:o.encodeBuffer(a)}}};const h={rsa:{private(e){const t=e.export({type:"pkcs8",format:"der"});const i=u.get("PrivateKeyInfo");const n=u.get("RSAPrivateKey");const{privateKey:r}=i.decode(t);const{version:s,n:l,e:c,d:d,p:p,q:f,dp:h,dq:m,qi:b}=n.decode(r);if(s!=="two-prime"){throw new a.JOSENotSupported("Private RSA keys with more than two primes are not supported")}return{kty:"RSA",n:o.encodeBigInt(l),e:o.encodeBigInt(c),d:o.encodeBigInt(d),p:o.encodeBigInt(p),q:o.encodeBigInt(f),dp:o.encodeBigInt(h),dq:o.encodeBigInt(m),qi:o.encodeBigInt(b)}},public(e){const t=e.export({type:"spki",format:"der"});const i=u.get("PublicKeyInfo");const n=u.get("RSAPublicKey");const{publicKey:{data:a}}=i.decode(t);const{n:r,e:s}=n.decode(a);return{kty:"RSA",n:o.encodeBigInt(r),e:o.encodeBigInt(s)}}},ec:{private(e){const t=e.export({type:"pkcs8",format:"der"});const i=u.get("PrivateKeyInfo");const n=u.get("ECPrivateKey");const{privateKey:l,algorithm:{parameters:{value:c}}}=i.decode(t);const{privateKey:d,publicKey:p}=n.decode(l);if(typeof p==="undefined"){if(r){return{...h.ec.public(s(e)),d:o.encodeBuffer(d)}}throw new a.JOSENotSupported("Private EC keys without the public key embedded are not supported in your Node.js runtime version")}const f=p.data.slice(1,(p.data.length-1)/2+1);const m=p.data.slice((p.data.length-1)/2+1);return{kty:"EC",crv:c,d:o.encodeBuffer(d),x:o.encodeBuffer(f),y:o.encodeBuffer(m)}},public(e){const t=e.export({type:"spki",format:"der"});const i=u.get("PublicKeyInfo");const{publicKey:{data:n},algorithm:{parameters:{value:a}}}=i.decode(t);const r=n.slice(1,(n.length-1)/2+1);const s=n.slice((n.length-1)/2+1);return{kty:"EC",crv:a,x:o.encodeBuffer(r),y:o.encodeBuffer(s)}}},ed25519:{private(e){return f.private("Ed25519",e)},public(e){return f.public("Ed25519",e)}},ed448:{private(e){return f.private("Ed448",e)},public(e){return f.public("Ed448",e)}},x25519:{private(e){return f.private("X25519",e)},public(e){return f.public("X25519",e)}},x448:{private(e){return f.private("X448",e)},public(e){return f.public("X448",e)}}};e.exports.keyObjectToJWK=(e=>{if(e.type==="private"){return h[e.asymmetricKeyType].private(e)}return h[e.asymmetricKeyType].public(e)});const m=(e,t)=>({unused:0,data:Buffer.concat([Buffer.alloc(1,4),o.decodeToBuffer(e),o.decodeToBuffer(t)])});const b={RSA:{private(e,{calculateMissingRSAPrimes:t}){const i=u.get("RSAPrivateKey");if("oth"in e){throw new a.JOSENotSupported("Private RSA keys with more than two primes are not supported")}if(e.p||e.q||e.dp||e.dq||e.qi){if(!(e.p&&e.q&&e.dp&&e.dq&&e.qi)){throw new a.JWKInvalid("all other private key parameters must be present when any one of them is present")}}else if(t){e=l(e)}else if(!t){throw new a.JOSENotSupported("importing private RSA keys without all other private key parameters is not enabled, see documentation and its advisory on how and when its ok to enable it")}return i.encode({version:0,n:BigInt(`0x${o.decodeToBuffer(e.n).toString("hex")}`),e:BigInt(`0x${o.decodeToBuffer(e.e).toString("hex")}`),d:BigInt(`0x${o.decodeToBuffer(e.d).toString("hex")}`),p:BigInt(`0x${o.decodeToBuffer(e.p).toString("hex")}`),q:BigInt(`0x${o.decodeToBuffer(e.q).toString("hex")}`),dp:BigInt(`0x${o.decodeToBuffer(e.dp).toString("hex")}`),dq:BigInt(`0x${o.decodeToBuffer(e.dq).toString("hex")}`),qi:BigInt(`0x${o.decodeToBuffer(e.qi).toString("hex")}`)},"pem",{label:"RSA PRIVATE KEY"})},public(e){const t=u.get("RSAPublicKey");return t.encode({version:0,n:BigInt(`0x${o.decodeToBuffer(e.n).toString("hex")}`),e:BigInt(`0x${o.decodeToBuffer(e.e).toString("hex")}`)},"pem",{label:"RSA PUBLIC KEY"})}},EC:{private(e){const t=u.get("ECPrivateKey");return t.encode({version:1,privateKey:o.decodeToBuffer(e.d),parameters:{type:"namedCurve",value:e.crv},publicKey:m(e.x,e.y)},"pem",{label:"EC PRIVATE KEY"})},public(e){const t=u.get("PublicKeyInfo");return t.encode({algorithm:{algorithm:"ecPublicKey",parameters:{type:"namedCurve",value:e.crv}},publicKey:m(e.x,e.y)},"pem",{label:"PUBLIC KEY"})}},OKP:{private(e){const t=u.get("OneAsymmetricKey");const i=t.encode({version:0,privateKey:{privateKey:o.decodeToBuffer(e.d)},algorithm:{algorithm:e.crv}},"der");i.write("04",12,1,"hex");return p(i.toString("base64"),"PRIVATE")},public(e){const t=u.get("PublicKeyInfo");return t.encode({algorithm:{algorithm:e.crv},publicKey:{unused:0,data:o.decodeToBuffer(e.x)}},"pem",{label:"PUBLIC KEY"})}}};e.exports.jwkToPem=((e,{calculateMissingRSAPrimes:t=false}={})=>{switch(e.kty){case"EC":if(!d.has(e.crv)){throw new a.JOSENotSupported(`unsupported EC key curve: ${e.crv}`)}break;case"OKP":if(!c.has(e.crv)){throw new a.JOSENotSupported(`unsupported OKP key curve: ${e.crv}`)}break;case"RSA":break;default:throw new a.JOSENotSupported(`unsupported key type: ${e.kty}`)}if(e.d){return b[e.kty].private(e,{calculateMissingRSAPrimes:t})}return b[e.kty].public(e)})},function(e,t,i){"use strict";const n=i(614);const a=i(373);const r=i(211);const s=i(363);const o=i(631);const u=i(818);const l=i(835);const c=i(301);const d=i(646);const p=i(330);const f=i(738);const h=i(10);const{BINARY_TYPES:m,EMPTY_BUFFER:b,GUID:g,kStatusCode:y,kWebSocket:S,NOOP:w}=i(799);const v=["CONNECTING","OPEN","CLOSING","CLOSED"];const z=[8,13];const j=30*1e3;class WebSocket extends n{constructor(e,t,i){super();this.readyState=WebSocket.CONNECTING;this.protocol="";this._binaryType=m[0];this._closeFrameReceived=false;this._closeFrameSent=false;this._closeMessage="";this._closeTimer=null;this._closeCode=1006;this._extensions={};this._receiver=null;this._sender=null;this._socket=null;if(e!==null){this._isServer=false;this._redirects=0;if(Array.isArray(t)){t=t.join(", ")}else if(typeof t==="object"&&t!==null){i=t;t=undefined}initAsClient(this,e,t,i)}else{this._isServer=true}}get CONNECTING(){return WebSocket.CONNECTING}get CLOSING(){return WebSocket.CLOSING}get CLOSED(){return WebSocket.CLOSED}get OPEN(){return WebSocket.OPEN}get binaryType(){return this._binaryType}set binaryType(e){if(!m.includes(e))return;this._binaryType=e;if(this._receiver)this._receiver._binaryType=e}get bufferedAmount(){if(!this._socket)return 0;return(this._socket.bufferSize||0)+this._sender._bufferedBytes}get extensions(){return Object.keys(this._extensions).join()}setSocket(e,t,i){const n=new f(this._binaryType,this._extensions,i);this._sender=new h(e,this._extensions);this._receiver=n;this._socket=e;n[S]=this;e[S]=this;n.on("conclude",receiverOnConclude);n.on("drain",receiverOnDrain);n.on("error",receiverOnError);n.on("message",receiverOnMessage);n.on("ping",receiverOnPing);n.on("pong",receiverOnPong);e.setTimeout(0);e.setNoDelay();if(t.length>0)e.unshift(t);e.on("close",socketOnClose);e.on("data",socketOnData);e.on("end",socketOnEnd);e.on("error",socketOnError);this.readyState=WebSocket.OPEN;this.emit("open")}emitClose(){this.readyState=WebSocket.CLOSED;if(!this._socket){this.emit("close",this._closeCode,this._closeMessage);return}if(this._extensions[c.extensionName]){this._extensions[c.extensionName].cleanup()}this._receiver.removeAllListeners();this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState===WebSocket.CLOSED)return;if(this.readyState===WebSocket.CONNECTING){const e="WebSocket was closed before the connection was established";return abortHandshake(this,this._req,e)}if(this.readyState===WebSocket.CLOSING){if(this._closeFrameSent&&this._closeFrameReceived)this._socket.end();return}this.readyState=WebSocket.CLOSING;this._sender.close(e,t,!this._isServer,e=>{if(e)return;this._closeFrameSent=true;if(this._closeFrameReceived)this._socket.end()});this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),j)}ping(e,t,i){if(typeof e==="function"){i=e;e=t=undefined}else if(typeof t==="function"){i=t;t=undefined}if(this.readyState!==WebSocket.OPEN){const e=new Error(`WebSocket is not open: readyState ${this.readyState} `+`(${v[this.readyState]})`);if(i)return i(e);throw e}if(typeof e==="number")e=e.toString();if(t===undefined)t=!this._isServer;this._sender.ping(e||b,t,i)}pong(e,t,i){if(typeof e==="function"){i=e;e=t=undefined}else if(typeof t==="function"){i=t;t=undefined}if(this.readyState!==WebSocket.OPEN){const e=new Error(`WebSocket is not open: readyState ${this.readyState} `+`(${v[this.readyState]})`);if(i)return i(e);throw e}if(typeof e==="number")e=e.toString();if(t===undefined)t=!this._isServer;this._sender.pong(e||b,t,i)}send(e,t,i){if(typeof t==="function"){i=t;t={}}if(this.readyState!==WebSocket.OPEN){const e=new Error(`WebSocket is not open: readyState ${this.readyState} `+`(${v[this.readyState]})`);if(i)return i(e);throw e}if(typeof e==="number")e=e.toString();const n=Object.assign({binary:typeof e!=="string",mask:!this._isServer,compress:true,fin:true},t);if(!this._extensions[c.extensionName]){n.compress=false}this._sender.send(e||b,n,i)}terminate(){if(this.readyState===WebSocket.CLOSED)return;if(this.readyState===WebSocket.CONNECTING){const e="WebSocket was closed before the connection was established";return abortHandshake(this,this._req,e)}if(this._socket){this.readyState=WebSocket.CLOSING;this._socket.destroy()}}}v.forEach((e,t)=>{WebSocket[e]=t});["open","error","close","message"].forEach(e=>{Object.defineProperty(WebSocket.prototype,`on${e}`,{get(){const t=this.listeners(e);for(var i=0;i{abortHandshake(e,w,"Opening handshake has timed out")})}w.on("error",t=>{if(e._req.aborted)return;w=e._req=null;e.readyState=WebSocket.CLOSING;e.emit("error",t);e.emitClose()});w.on("response",a=>{const r=a.headers.location;const s=a.statusCode;if(r&&o.followRedirects&&s>=300&&s<400){if(++e._redirects>o.maxRedirects){abortHandshake(e,w,"Maximum redirects exceeded");return}w.abort();const a=l.URL?new l.URL(r,t):l.resolve(t,r);initAsClient(e,a,i,n)}else if(!e.emit("unexpected-response",w,a)){abortHandshake(e,w,`Unexpected server response: ${a.statusCode}`)}});w.on("upgrade",(t,n,r)=>{e.emit("upgrade",t);if(e.readyState!==WebSocket.CONNECTING)return;w=e._req=null;const s=a.createHash("sha1").update(m+g).digest("base64");if(t.headers["sec-websocket-accept"]!==s){abortHandshake(e,n,"Invalid Sec-WebSocket-Accept header");return}const u=t.headers["sec-websocket-protocol"];const l=(i||"").split(/, */);var d;if(!i&&u){d="Server sent a subprotocol but none was requested"}else if(i&&!u){d="Server sent no subprotocol"}else if(u&&!l.includes(u)){d="Server sent an invalid subprotocol"}if(d){abortHandshake(e,n,d);return}if(u)e.protocol=u;if(S){try{const i=p.parse(t.headers["sec-websocket-extensions"]);if(i[c.extensionName]){S.accept(i[c.extensionName]);e._extensions[c.extensionName]=S}}catch(t){abortHandshake(e,n,"Invalid Sec-WebSocket-Extensions header");return}}e.setSocket(n,r,o.maxPayload)})}function netConnect(e){if(e.protocolVersion)e.path=e.socketPath;return o.connect(e)}function tlsConnect(e){e.path=undefined;e.servername=e.servername||e.host;return u.connect(e)}function abortHandshake(e,t,i){e.readyState=WebSocket.CLOSING;const n=new Error(i);Error.captureStackTrace(n,abortHandshake);if(t.setHeader){t.abort();t.once("abort",e.emitClose.bind(e));e.emit("error",n)}else{t.destroy(n);t.once("error",e.emit.bind(e,"error"));t.once("close",e.emitClose.bind(e))}}function receiverOnConclude(e,t){const i=this[S];i._socket.removeListener("data",socketOnData);i._socket.resume();i._closeFrameReceived=true;i._closeMessage=t;i._closeCode=e;if(e===1005)i.close();else i.close(e,t)}function receiverOnDrain(){this[S]._socket.resume()}function receiverOnError(e){const t=this[S];t._socket.removeListener("data",socketOnData);t.readyState=WebSocket.CLOSING;t._closeCode=e[y];t.emit("error",e);t._socket.destroy()}function receiverOnFinish(){this[S].emitClose()}function receiverOnMessage(e){this[S].emit("message",e)}function receiverOnPing(e){const t=this[S];t.pong(e,!t._isServer,w);t.emit("ping",e)}function receiverOnPong(e){this[S].emit("pong",e)}function socketOnClose(){const e=this[S];this.removeListener("close",socketOnClose);this.removeListener("end",socketOnEnd);e.readyState=WebSocket.CLOSING;e._socket.read();e._receiver.end();this.removeListener("data",socketOnData);this[S]=undefined;clearTimeout(e._closeTimer);if(e._receiver._writableState.finished||e._receiver._writableState.errorEmitted){e.emitClose()}else{e._receiver.on("error",receiverOnFinish);e._receiver.on("finish",receiverOnFinish)}}function socketOnData(e){if(!this[S]._receiver.write(e)){this.pause()}}function socketOnEnd(){const e=this[S];e.readyState=WebSocket.CLOSING;e._receiver.end();this.end()}function socketOnError(){const e=this[S];this.removeListener("error",socketOnError);this.on("error",w);e.readyState=WebSocket.CLOSING;this.destroy()}},,function(e,t,i){"use strict";var n=i(43);e.exports=new n({include:[i(581)],implicit:[i(809),i(228),i(44),i(417)]})},function(module){module.exports=eval("require")("bufferutil")},,,,function(e){"use strict";e.exports=function generate_comment(e,t,i){var n=" ";var a=e.schema[t];var r=e.errSchemaPath+"/"+t;var s=!e.opts.allErrors;var o=e.util.toQuotedString(a);if(e.opts.$comment===true){n+=" console.log("+o+");"}else if(typeof e.opts.$comment=="function"){n+=" self._opts.$comment("+o+", "+e.util.toQuotedString(r)+", validate.root.schema);"}return n}},,,,function(e,t,i){const{createHash:n}=i(373);const a=i(208);const r=(e,t)=>a.encodeBuffer(n(e).update(Buffer.from(t,"base64")).digest());e.exports.kid=(e=>a.encodeBuffer(n("sha256").update(JSON.stringify(e)).digest()));e.exports.x5t=r.bind(undefined,"sha1");e.exports["x5t#S256"]=r.bind(undefined,"sha256")},,function(e,t,i){const{createSign:n,createVerify:a,constants:r}=i(373);const{KEYOBJECT:s}=i(771);const o=i(165);const{asInput:u}=i(40);const l=(e,{[s]:t},i)=>{const a=u(t,false);return n(e).update(i).sign({key:a,padding:r.RSA_PKCS1_PSS_PADDING,saltLength:r.RSA_PSS_SALTLEN_DIGEST})};const c=(e,{[s]:t},i,n)=>{const o=u(t,true);return a(e).update(i).verify({key:o,padding:r.RSA_PKCS1_PSS_PADDING,saltLength:r.RSA_PSS_SALTLEN_DIGEST},n)};const d={PS256:528,PS384:784,PS512:1040};e.exports=((e,t)=>{["PS256","PS384","PS512"].forEach(i=>{const n=o(i);e.sign.set(i,l.bind(undefined,n));e.verify.set(i,c.bind(undefined,n));t.RSA.sign[i]=(e=>e.private&&t.RSA.verify[i](e));t.RSA.verify[i]=(e=>(e.use==="sig"||e.use===undefined)&&e.length>=d[i])})})},function(e,t,i){"use strict";var n=i(701);var a=n.Cookie;var r=n.CookieJar;t.parse=function(e){if(e&&e.uri){e=e.uri}if(typeof e!=="string"){throw new Error("The cookie function only accepts STRING as param")}return a.parse(e,{loose:true})};function RequestJar(e){var t=this;t._jar=new r(e,{looseMode:true})}RequestJar.prototype.setCookie=function(e,t,i){var n=this;return n._jar.setCookieSync(e,t,i||{})};RequestJar.prototype.getCookieString=function(e){var t=this;return t._jar.getCookieStringSync(e)};RequestJar.prototype.getCookies=function(e){var t=this;return t._jar.getCookiesSync(e)};t.jar=function(e){return new RequestJar(e)}},function(e,t,i){const{createCipheriv:n,createDecipheriv:a,getCiphers:r}=i(373);const{KEYOBJECT:s}=i(771);const{asInput:o}=i(40);const u=e=>{if(e!==undefined&&e.length%8!==0){throw new Error("invalid data length")}};const l=(e,{[s]:t},i)=>{const a=o(t,false);const r=n(e,a,Buffer.alloc(8,"a6","hex"));return{wrapped:Buffer.concat([r.update(i),r.final()])}};const c=(e,{[s]:t},i)=>{const n=o(t,false);u(i);const r=a(e,n,Buffer.alloc(8,"a6","hex"));return Buffer.concat([r.update(i),r.final()])};e.exports=((e,t)=>{["A128KW","A192KW","A256KW"].forEach(i=>{const n=parseInt(i.substr(1,3),10);const a=`aes${n}-wrap`;if(r().includes(a)){e.keyManagementEncrypt.set(i,l.bind(undefined,a));e.keyManagementDecrypt.set(i,c.bind(undefined,a));t.oct.wrapKey[i]=t.oct.unwrapKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length===n)}})})},,function(e){const t=60;const i=t*60;const n=i*24;const a=n*7;const r=n*365.25;const s=/^(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)$/i;e.exports=(e=>{const o=s.exec(e);if(!o){throw new TypeError(`invalid time period format ("${e}")`)}const u=parseFloat(o[1]);const l=o[2].toLowerCase();switch(l){case"sec":case"secs":case"second":case"seconds":case"s":return Math.round(u);case"minute":case"minutes":case"min":case"mins":case"m":return Math.round(u*t);case"hour":case"hours":case"hr":case"hrs":case"h":return Math.round(u*i);case"day":case"days":case"d":return Math.round(u*n);case"week":case"weeks":case"w":return Math.round(u*a);case"year":case"years":case"yr":case"yrs":case"y":return Math.round(u*r)}})},function(e,t,i){const{inspect:n,deprecate:a}=i(669);const r=i(835);const s=i(387);const o=i(101);const u=i(702);const l=i(472);const{RPError:c}=i(572);const d=i(860);const p=i(564);const f=i(88);const h=i(244);const m=i(880);const b=i(204);const{assertIssuerConfiguration:g}=i(770);const{ISSUER_DEFAULTS:y,OIDC_DISCOVERY:S,OAUTH2_DISCOVERY:w,WEBFINGER:v,REL:z,AAD_MULTITENANT_DISCOVERY:j}=i(468);const O=Symbol("AAD_MULTITENANT");class Issuer{constructor(e={}){const t=e[O];delete e[O];["introspection","revocation"].forEach(t=>{if(e[`${t}_endpoint`]&&e[`${t}_endpoint_auth_methods_supported`]===undefined&&e[`${t}_endpoint_auth_signing_alg_values_supported`]===undefined){if(e.token_endpoint_auth_methods_supported){e[`${t}_endpoint_auth_methods_supported`]=e.token_endpoint_auth_methods_supported}if(e.token_endpoint_auth_signing_alg_values_supported){e[`${t}_endpoint_auth_signing_alg_values_supported`]=e.token_endpoint_auth_signing_alg_values_supported}}});Object.entries(e).forEach(([e,t])=>{m(this).get("metadata").set(e,t);if(!this[e]){Object.defineProperty(this,e,{get(){return m(this).get("metadata").get(e)},enumerable:true})}});m(this).set("cache",new u({max:100}));p.set(this.issuer,this);Object.defineProperty(this,"Client",{value:d(this,t)});Object.defineProperty(this,"FAPIClient",{value:class FAPIClient extends this.Client{}})}async keystore(e=false){g(this,"jwks_uri");const t=m(this).get("keystore");const i=m(this).get("cache");if(e||!t){i.reset();const e=await b.call(this,{method:"GET",json:true,url:this.jwks_uri});const t=f(e);const n=s.JWKS.asKeyStore(t,{ignoreErrors:true});i.set("throttle",true,60*1e3);m(this).set("keystore",n);return n}return t}async queryKeyStore({kid:e,kty:t,alg:i,use:n,key_ops:a},{allowMulti:r=false}={}){const o=m(this).get("cache");const u={kid:e,kty:t,alg:i,use:n,key_ops:a};const d=l(u,{algorithm:"sha256",ignoreUnknown:true,unorderedArrays:true,unorderedSets:true});const p=o.get(d)||o.get("throttle");const f=await this.keystore(!p);const h=f.all(u);if(h.length===0){throw new c({printf:["no valid key found in issuer's jwks_uri for key parameters %j",u],jwks:f})}if(!r&&h.length>1&&!e){throw new c({printf:["multiple matching keys found in issuer's jwks_uri for key parameters %j, kid must be provided in this case",u],jwks:f})}o.set(d,true);return new s.JWKS.KeyStore(h)}get metadata(){const e={};m(this).get("metadata").forEach((t,i)=>{e[i]=t});return e}static async webfinger(e){const t=h(e);const{host:i}=r.parse(t);const n=`https://${i}${v}`;const a=await b.call(this,{method:"GET",url:n,json:true,query:{resource:t,rel:z},followRedirect:true});const s=f(a);const o=Array.isArray(s.links)&&s.links.find(e=>typeof e==="object"&&e.rel===z&&e.href);if(!o){throw new c({message:"no issuer found in webfinger response",body:s})}if(typeof o.href!=="string"||!o.href.startsWith("https://")){throw new c({printf:["invalid issuer location %s",o.href],body:s})}const u=o.href;if(p.has(u)){return p.get(u)}const l=await this.discover(u);if(l.issuer!==u){p.delete(l.issuer);throw new c("discovered issuer mismatch, expected %s, got: %s",u,l.issuer)}return l}static async discover(e){const t=r.parse(e);if(t.pathname.includes("/.well-known/")){const t=await b.call(this,{method:"GET",json:true,url:e});const i=f(t);return new Issuer({...y,...i,[O]:!!j.find(t=>e.startsWith(t))})}const i=[];if(t.pathname==="/"){i.push(`${w}`)}else{i.push(`${w}${t.pathname}`)}if(t.pathname.endsWith("/")){i.push(`${t.pathname}${S.substring(1)}`)}else{i.push(`${t.pathname}${S}`)}return o(i.map(async e=>{const i=r.format({...t,pathname:e});const n=await b.call(this,{method:"GET",json:true,url:i});const a=f(n);return new Issuer({...y,...a,[O]:!!j.find(e=>i.startsWith(e))})}))}[n.custom](){return`${this.constructor.name} ${n(this.metadata,{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}}Issuer.prototype.key=a(async function key({kid:e,kty:t,alg:i,use:n,key_ops:a},r=false){const s=m(this).get("cache");const o={kid:e,kty:t,alg:i,use:n,key_ops:a};const u=l(o,{algorithm:"sha256",ignoreUnknown:true,unorderedArrays:true,unorderedSets:true});const d=s.get(u)||s.get("throttle");const p=await this.keystore(!d);const f=p.all(o);if(f.length===0){throw new c({printf:["no valid key found in issuer's jwks_uri for key parameters %j",o],jwks:p})}if(!r){if(f.length!==1){throw new c({printf:["multiple matching keys found in issuer's jwks_uri for key parameters %j, kid must be provided in this case",o],jwks:p})}s.set(u,true)}return f[0]},"issuer.key is not only a private API, it is also deprecated");e.exports=Issuer},function(e,t,i){const{keyObjectSupported:n}=i(915);let a;let r;let s;let o;let u;if(n){({createPublicKey:a,createPrivateKey:r,createSecretKey:s,KeyObject:o}=i(373));u=(e=>e)}else{const{EOL:e}=i(87);const t=i(466);const n=i(274);const l=i(884);const c=Symbol("toInput");const d=Symbol("namedCurve");u=((e,t)=>{if(e instanceof o){return e[c](t)}return s(e)[c](t)});const p=e=>Buffer.from(e.replace(/(?:-----(?:BEGIN|END)(?: (?:RSA|EC))? (?:PRIVATE|PUBLIC) KEY-----|\s)/g,""),"base64");const f=(t,i)=>`-----BEGIN ${i}-----${e}${(t.toString("base64").match(/.{1,64}/g)||[]).join(e)}${e}-----END ${i}-----`;const h=e=>{const i=typeof e==="string"?e:`OID ${e.join(".")}`;throw new t.JOSENotSupported(`${i} is not supported in your Node.js runtime version`)};o=class KeyObject{export({cipher:e,passphrase:i,type:n,format:a}={}){if(this._type==="secret"){return this._buffer}if(this._type==="public"){if(this.asymmetricKeyType==="rsa"){switch(n){case"pkcs1":if(a==="pem"){return this._pem}return p(this._pem);case"spki":{const e=l.get("PublicKeyInfo");const t=e.encode({algorithm:{algorithm:"rsaEncryption",parameters:{type:"null"}},publicKey:{unused:0,data:p(this._pem)}},"pem",{label:"PUBLIC KEY"});return a==="pem"?t:p(t)}default:throw new TypeError(`The value ${n} is invalid for option "type"`)}}if(this.asymmetricKeyType==="ec"){if(n!=="spki"){throw new TypeError(`The value ${n} is invalid for option "type"`)}if(a==="pem"){return this._pem}return p(this._pem)}}if(this._type==="private"){if(i!==undefined||e!==undefined){throw new t.JOSENotSupported("encrypted private keys are not supported in your Node.js runtime version")}if(n==="pkcs8"){if(this._pkcs8){if(a==="der"&&typeof this._pkcs8==="string"){return p(this._pkcs8)}if(a==="pem"&&Buffer.isBuffer(this._pkcs8)){return f(this._pkcs8,"PRIVATE KEY")}return this._pkcs8}if(this.asymmetricKeyType==="rsa"){const e=this._asn1;const t=l.get("RSAPrivateKey");const i=t.encode(e);const r=l.get("PrivateKeyInfo");const s=r.encode({version:0,privateKey:i,algorithm:{algorithm:"rsaEncryption",parameters:{type:"null"}}});this._pkcs8=s;return this.export({type:n,format:a})}if(this.asymmetricKeyType==="ec"){const e=this._asn1;const t=l.get("ECPrivateKey");const i=t.encode({version:e.version,privateKey:e.privateKey,publicKey:e.publicKey});const r=l.get("PrivateKeyInfo");const s=r.encode({version:0,privateKey:i,algorithm:{algorithm:"ecPublicKey",parameters:this._asn1.parameters}});this._pkcs8=s;return this.export({type:n,format:a})}}if(this.asymmetricKeyType==="rsa"&&n==="pkcs1"){if(a==="pem"){return this._pem}return p(this._pem)}else if(this.asymmetricKeyType==="ec"&&n==="sec1"){if(a==="pem"){return this._pem}return p(this._pem)}else{throw new TypeError(`The value ${n} is invalid for option "type"`)}}}get type(){return this._type}get asymmetricKeyType(){return this._asymmetricKeyType}get symmetricKeySize(){return this._symmetricKeySize}[c](e){switch(this._type){case"secret":return this._buffer;case"public":return this._pem;default:if(e){if(!("_pub"in this)){this._pub=a(this)}return this._pub[c](false)}return this._pem}}};s=(e=>{if(!Buffer.isBuffer(e)||!e.length){throw new TypeError("input must be a non-empty Buffer instance")}const t=new o;t._buffer=Buffer.from(e);t._symmetricKeySize=e.length;t._type="secret";return t});a=(e=>{if(e instanceof o){if(e.type!=="private"){throw new TypeError(`Invalid key object type ${e.type}, expected private.`)}switch(e.asymmetricKeyType){case"ec":{const t=l.get("PublicKeyInfo");const i=t.encode({algorithm:{algorithm:"ecPublicKey",parameters:e._asn1.parameters},publicKey:e._asn1.publicKey});return a({key:i,format:"der",type:"spki"})}case"rsa":{const t=l.get("RSAPublicKey");const i=t.encode(e._asn1);return a({key:i,format:"der",type:"pkcs1"})}}}if(typeof e==="string"||Buffer.isBuffer(e)){e={key:e,format:"pem"}}if(!n(e)){throw new TypeError("input must be a string, Buffer or an object")}const{format:i,passphrase:s}=e;let{key:u,type:c}=e;if(typeof u!=="string"&&!Buffer.isBuffer(u)){throw new TypeError("key must be a string or Buffer")}if(i!=="pem"&&i!=="der"){throw new TypeError('format must be one of "pem" or "der"')}let d;if(i==="pem"){u=u.toString();switch(u.split(/\r?\n/g)[0].toString()){case"-----BEGIN PUBLIC KEY-----":c="spki";d="PUBLIC KEY";break;case"-----BEGIN RSA PUBLIC KEY-----":c="pkcs1";d="RSA PUBLIC KEY";break;case"-----BEGIN CERTIFICATE-----":throw new t.JOSENotSupported("X.509 certificates are not supported in your Node.js runtime version");case"-----BEGIN PRIVATE KEY-----":case"-----BEGIN EC PRIVATE KEY-----":case"-----BEGIN RSA PRIVATE KEY-----":return a(r(u));default:throw new TypeError("unknown/unsupported PEM type")}}switch(c){case"spki":{const e=l.get("PublicKeyInfo");const t=e.decode(u,i,{label:d});let n,r;switch(t.algorithm.algorithm){case"ecPublicKey":{r=new o;r._asn1=t;r._asymmetricKeyType="ec";r._type="public";r._pem=e.encode(t,"pem",{label:"PUBLIC KEY"});break}case"rsaEncryption":{n="pkcs1";r=a({type:n,key:t.publicKey.data,format:"der"});break}default:h(t.algorithm.algorithm)}return r}case"pkcs1":{const e=l.get("RSAPublicKey");const t=e.decode(u,i,{label:d});if(t.n===BigInt(0)){return a(r({key:u,format:i,type:c,passphrase:s}))}const n=new o;n._asn1=t;n._asymmetricKeyType="rsa";n._type="public";n._pem=e.encode(t,"pem",{label:"RSA PUBLIC KEY"});return n}case"pkcs8":case"sec1":return a(r({format:i,key:u,type:c,passphrase:s}));default:throw new TypeError(`The value ${c} is invalid for option "type"`)}});r=((e,i)=>{if(typeof e==="string"||Buffer.isBuffer(e)){e={key:e,format:"pem"}}if(!n(e)){throw new TypeError("input must be a string, Buffer or an object")}const{format:a,passphrase:s}=e;let{key:u,type:c}=e;if(typeof u!=="string"&&!Buffer.isBuffer(u)){throw new TypeError("key must be a string or Buffer")}if(s!==undefined){throw new t.JOSENotSupported("encrypted private keys are not supported in your Node.js runtime version")}if(a!=="pem"&&a!=="der"){throw new TypeError('format must be one of "pem" or "der"')}let p;if(a==="pem"){u=u.toString();switch(u.split(/\r?\n/g)[0].toString()){case"-----BEGIN PRIVATE KEY-----":c="pkcs8";p="PRIVATE KEY";break;case"-----BEGIN EC PRIVATE KEY-----":c="sec1";p="EC PRIVATE KEY";break;case"-----BEGIN RSA PRIVATE KEY-----":c="pkcs1";p="RSA PRIVATE KEY";break;default:throw new TypeError("unknown/unsupported PEM type")}}switch(c){case"pkcs8":{const e=l.get("PrivateKeyInfo");const t=e.decode(u,a,{label:p});let i,n;switch(t.algorithm.algorithm){case"ecPublicKey":{i="sec1";n=r({type:i,key:t.privateKey,format:"der"},{[d]:t.algorithm.parameters.value});break}case"rsaEncryption":{i="pkcs1";n=r({type:i,key:t.privateKey,format:"der"});break}default:h(t.algorithm.algorithm)}n._pkcs8=u;return n}case"pkcs1":{const e=l.get("RSAPrivateKey");const t=e.decode(u,a,{label:p});const i=new o;i._asn1=t;i._asymmetricKeyType="rsa";i._type="private";i._pem=e.encode(t,"pem",{label:"RSA PRIVATE KEY"});return i}case"sec1":{const e=l.get("ECPrivateKey");let t=e.decode(u,a,{label:p});if(!("parameters"in t)&&!i[d]){throw new Error("invalid sec1")}else if(!("parameters"in t)){t={...t,parameters:{type:"namedCurve",value:i[d]}}}const n=new o;n._asn1=t;n._asymmetricKeyType="ec";n._type="private";n._pem=e.encode(t,"pem",{label:"EC PRIVATE KEY"});return n}default:throw new TypeError(`The value ${c} is invalid for option "type"`)}})}e.exports={createPublicKey:a,createPrivateKey:r,createSecretKey:s,KeyObject:o,asInput:u}},function(e){e.exports={$id:"har.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["log"],properties:{log:{$ref:"log.json#"}}}},,function(e,t,i){"use strict";var n=i(128);var a=i(556);var r=i(945);function compileList(e,t,i){var n=[];e.include.forEach(function(e){i=compileList(e,t,i)});e[t].forEach(function(e){i.forEach(function(t,i){if(t.tag===e.tag&&t.kind===e.kind){n.push(i)}});i.push(e)});return i.filter(function(e,t){return n.indexOf(t)===-1})}function compileMap(){var e={scalar:{},sequence:{},mapping:{},fallback:{}},t,i;function collectType(t){e[t.kind][t.tag]=e["fallback"][t.tag]=t}for(t=0,i=arguments.length;t=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"]}})},function(e,t,i){"use strict";var n=/^[a-z_$][a-z0-9_$-]*$/i;var a=i(187);var r=i(952);e.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(e,t){var i=this.RULES;if(i.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!n.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,true);var r=t.type;if(Array.isArray(r)){for(var s=0;s{return t.some(t=>t instanceof RegExp?t.test(e):t===e)};const o=(e,{stripHash:t})=>{const i=e.match(/^data:(.*?),(.*?)(?:#(.*))?$/);if(!i){throw new Error(`Invalid URL: ${e}`)}const n=i[1].split(";");const s=i[2];const o=t?"":i[3];let u=false;if(n[n.length-1]==="base64"){n.pop();u=true}const l=(n.shift()||"").toLowerCase();const c=n.map(e=>{let[t,i=""]=e.split("=").map(e=>e.trim());if(t==="charset"){i=i.toLowerCase();if(i===r){return""}}return`${t}${i?`=${i}`:""}`}).filter(Boolean);const d=[...c];if(u){d.push("base64")}if(d.length!==0||l&&l!==a){d.unshift(l)}return`data:${d.join(";")},${u?s.trim():s}${o?`#${o}`:""}`};const u=(e,t)=>{t={defaultProtocol:"http:",normalizeProtocol:true,forceHttp:false,forceHttps:false,stripAuthentication:true,stripHash:false,stripWWW:true,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:true,removeDirectoryIndex:false,sortQueryParameters:true,...t};if(Reflect.has(t,"normalizeHttps")){throw new Error("options.normalizeHttps is renamed to options.forceHttp")}if(Reflect.has(t,"normalizeHttp")){throw new Error("options.normalizeHttp is renamed to options.forceHttps")}if(Reflect.has(t,"stripFragment")){throw new Error("options.stripFragment is renamed to options.stripHash")}e=e.trim();if(/^data:/i.test(e)){return o(e,t)}const i=e.startsWith("//");const a=!i&&/^\.*\//.test(e);if(!a){e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol)}const r=new n(e);if(t.forceHttp&&t.forceHttps){throw new Error("The `forceHttp` and `forceHttps` options cannot be used together")}if(t.forceHttp&&r.protocol==="https:"){r.protocol="http:"}if(t.forceHttps&&r.protocol==="http:"){r.protocol="https:"}if(t.stripAuthentication){r.username="";r.password=""}if(t.stripHash){r.hash=""}if(r.pathname){r.pathname=r.pathname.replace(/((?!:).|^)\/{2,}/g,(e,t)=>{if(/^(?!\/)/g.test(t)){return`${t}/`}return"/"})}if(r.pathname){r.pathname=decodeURI(r.pathname)}if(t.removeDirectoryIndex===true){t.removeDirectoryIndex=[/^index\.[a-z]+$/]}if(Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let e=r.pathname.split("/");const i=e[e.length-1];if(s(i,t.removeDirectoryIndex)){e=e.slice(0,e.length-1);r.pathname=e.slice(1).join("/")+"/"}}if(r.hostname){r.hostname=r.hostname.replace(/\.$/,"");if(t.stripWWW&&/^www\.([a-z\-\d]{2,63})\.([a-z.]{2,5})$/.test(r.hostname)){r.hostname=r.hostname.replace(/^www\./,"")}}if(Array.isArray(t.removeQueryParameters)){for(const e of[...r.searchParams.keys()]){if(s(e,t.removeQueryParameters)){r.searchParams.delete(e)}}}if(t.sortQueryParameters){r.searchParams.sort()}if(t.removeTrailingSlash){r.pathname=r.pathname.replace(/\/$/,"")}e=r.toString();if((t.removeTrailingSlash||r.pathname==="/")&&r.hash===""){e=e.replace(/\/$/,"")}if(i&&!t.normalizeProtocol){e=e.replace(/^http:\/\//,"//")}if(t.stripProtocol){e=e.replace(/^(?:https?:)?\/\//,"")}return e};e.exports=u;e.exports.default=u},function(e,t){"use strict";function pathMatch(e,t){if(t===e){return true}var i=e.indexOf(t);if(i===0){if(t.substr(-1)==="/"){return true}if(e.substr(t.length,1)==="/"){return true}}return false}t.pathMatch=pathMatch},,,function(e,t,i){"use strict";const n=i(747);const a=i(669);const r=i(534);const s=i(504);e.exports=(async e=>{const{body:t}=e;if(e.headers["content-length"]){return Number(e.headers["content-length"])}if(!t&&!e.stream){return 0}if(r.string(t)){return Buffer.byteLength(t)}if(s(t)){return a.promisify(t.getLength.bind(t))()}if(t instanceof n.ReadStream){const{size:e}=await a.promisify(n.stat)(t.path);return e}return null})},,function(e,t,i){"use strict";e.exports=i(237)},function(e){"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),EMPTY_BUFFER:Buffer.alloc(0),NOOP:()=>{}}},,function(e,t,i){var n=i(602);var a=i(747);n.register("tail",_tail,{canReceivePipe:true,cmdOptions:{n:"numLines"}});function _tail(e,t){var i=[];var r=n.readFromPipe();if(!t&&!r)n.error("no paths given");var s=1;if(e.numLines===true){s=2;e.numLines=Number(arguments[1])}else if(e.numLines===false){e.numLines=10}e.numLines=-1*Math.abs(e.numLines);t=[].slice.call(arguments,s);if(r){t.unshift("-")}var o=false;t.forEach(function(t){if(t!=="-"){if(!a.existsSync(t)){n.error("no such file or directory: "+t,{continue:true});return}else if(n.statFollowLinks(t).isDirectory()){n.error("error reading '"+t+"': Is a directory",{continue:true});return}}var s=t==="-"?r:a.readFileSync(t,"utf8");var u=s.split("\n");if(u[u.length-1]===""){u.pop();o=true}else{o=false}i=i.concat(u.slice(e.numLines))});if(o){i.push("")}return i.join("\n")}e.exports=_tail},function(e,t,i){var n=i(747);var a=i(622);var r=i(602);var s=i(838);var o=i(688);r.register("mv",_mv,{cmdOptions:{f:"!no_force",n:"no_force"}});function checkRecentCreated(e,t){var i=e[t];return e.slice(0,t).some(function(e){return a.basename(e)===a.basename(i)})}function _mv(e,t,i){if(arguments.length<3){r.error("missing and/or ")}else if(arguments.length>3){t=[].slice.call(arguments,1,arguments.length-1);i=arguments[arguments.length-1]}else if(typeof t==="string"){t=[t]}else{r.error("invalid arguments")}var u=n.existsSync(i);var l=u&&r.statFollowLinks(i);if((!u||!l.isDirectory())&&t.length>1){r.error("dest is not a directory (too many sources)")}if(u&&l.isFile()&&e.no_force){r.error("dest file already exists: "+i)}t.forEach(function(u,l){if(!n.existsSync(u)){r.error("no such file or directory: "+u,{continue:true});return}var c=i;if(n.existsSync(i)&&r.statFollowLinks(i).isDirectory()){c=a.normalize(i+"/"+a.basename(u))}var d=n.existsSync(c);if(d&&checkRecentCreated(t,l)){if(!e.no_force){r.error("will not overwrite just-created '"+c+"' with '"+u+"'",{continue:true})}return}if(n.existsSync(c)&&e.no_force){r.error("dest file already exists: "+c,{continue:true});return}if(a.resolve(u)===a.dirname(a.resolve(c))){r.error("cannot move to self: "+u,{continue:true});return}try{n.renameSync(u,c)}catch(e){if(e.code==="EXDEV"){s("-r",u,c);o("-rf",u)}}});return""}e.exports=_mv},function(e,t,i){var n=i(872);var a=i(373);var r=i(363);var s=i(669);var o=i(650);var u=i(348);var l=i(909);var c=i(669).format;var d=l.HASH_ALGOS;var p=l.PK_ALGOS;var f=l.InvalidAlgorithmError;var h=l.HttpSignatureError;var m=l.validateAlgorithm;var b='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';function MissingHeaderError(e){h.call(this,e,MissingHeaderError)}s.inherits(MissingHeaderError,h);function StrictParsingError(e){h.call(this,e,StrictParsingError)}s.inherits(StrictParsingError,h);function RequestSigner(e){n.object(e,"options");var t=[];if(e.algorithm!==undefined){n.string(e.algorithm,"options.algorithm");t=m(e.algorithm)}this.rs_alg=t;if(e.sign!==undefined){n.func(e.sign,"options.sign");this.rs_signFunc=e.sign}else if(t[0]==="hmac"&&e.key!==undefined){n.string(e.keyId,"options.keyId");this.rs_keyId=e.keyId;if(typeof e.key!=="string"&&!Buffer.isBuffer(e.key))throw new TypeError("options.key for HMAC must be a string or Buffer");this.rs_signer=a.createHmac(t[1].toUpperCase(),e.key);this.rs_signer.sign=function(){var e=this.digest("base64");return{hashAlgorithm:t[1],toString:function(){return e}}}}else if(e.key!==undefined){var i=e.key;if(typeof i==="string"||Buffer.isBuffer(i))i=o.parsePrivateKey(i);n.ok(o.PrivateKey.isPrivateKey(i,[1,2]),"options.key must be a sshpk.PrivateKey");this.rs_key=i;n.string(e.keyId,"options.keyId");this.rs_keyId=e.keyId;if(!p[i.type]){throw new f(i.type.toUpperCase()+" type "+"keys are not supported")}if(t[0]!==undefined&&i.type!==t[0]){throw new f("options.key must be a "+t[0].toUpperCase()+" key, was given a "+i.type.toUpperCase()+" key instead")}this.rs_signer=i.createSign(t[1])}else{throw new TypeError("options.sign (func) or options.key is required")}this.rs_headers=[];this.rs_lines=[]}RequestSigner.prototype.writeHeader=function(e,t){n.string(e,"header");e=e.toLowerCase();n.string(t,"value");this.rs_headers.push(e);if(this.rs_signFunc){this.rs_lines.push(e+": "+t)}else{var i=e+": "+t;if(this.rs_headers.length>0)i="\n"+i;this.rs_signer.update(i)}return t};RequestSigner.prototype.writeDateHeader=function(){return this.writeHeader("date",u.rfc1123(new Date))};RequestSigner.prototype.writeTarget=function(e,t){n.string(e,"method");n.string(t,"path");e=e.toLowerCase();this.writeHeader("(request-target)",e+" "+t)};RequestSigner.prototype.sign=function(e){n.func(e,"callback");if(this.rs_headers.length<1)throw new Error("At least one header must be signed");var t,i;if(this.rs_signFunc){var a=this.rs_lines.join("\n");var r=this;this.rs_signFunc(a,function(a,s){if(a){e(a);return}try{n.object(s,"signature");n.string(s.keyId,"signature.keyId");n.string(s.algorithm,"signature.algorithm");n.string(s.signature,"signature.signature");t=m(s.algorithm);i=c(b,s.keyId,s.algorithm,r.rs_headers.join(" "),s.signature)}catch(t){e(t);return}e(null,i)})}else{try{var s=this.rs_signer.sign()}catch(t){e(t);return}t=(this.rs_alg[0]||this.rs_key.type)+"-"+s.hashAlgorithm;var o=s.toString();i=c(b,this.rs_keyId,t,this.rs_headers.join(" "),o);e(null,i)}};e.exports={isSigner:function(e){if(typeof e==="object"&&e instanceof RequestSigner)return true;return false},createSigner:function createSigner(e){return new RequestSigner(e)},signRequest:function signRequest(e,t){n.object(e,"request");n.object(t,"options");n.optionalString(t.algorithm,"options.algorithm");n.string(t.keyId,"options.keyId");n.optionalArrayOfString(t.headers,"options.headers");n.optionalString(t.httpVersion,"options.httpVersion");if(!e.getHeader("Date"))e.setHeader("Date",u.rfc1123(new Date));if(!t.headers)t.headers=["date"];if(!t.httpVersion)t.httpVersion="1.1";var i=[];if(t.algorithm){t.algorithm=t.algorithm.toLowerCase();i=m(t.algorithm)}var r;var s="";for(r=0;ra){throw new TypeError(`version is longer than ${a} characters`)}n("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const i=e.trim().match(t.loose?s[o.LOOSE]:s[o.FULL]);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>r||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>r||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>r||this.patch<0){throw new TypeError("Invalid patch version")}if(!i[4]){this.prerelease=[]}else{this.prerelease=i[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0){if(typeof this.prerelease[e]==="number"){this.prerelease[e]++;e=-2}}if(e===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error(`invalid increment argument: ${e}`)}this.format();this.raw=this.version;return this}}e.exports=SemVer},,,function(e,t,i){const{createHash:n}=i(373);const a=i(827);const r=(e,t,i)=>{const a=Math.ceil(t/32);let r;for(let t=1;t<=a;t++){const a=Buffer.allocUnsafe(4+e.length+i.length);a.writeUInt32BE(t,0);e.copy(a,4);i.copy(a,4+e.length);if(!r){r=n("sha256").update(a).digest()}else{r=Buffer.concat([r,n("sha256").update(a).digest()])}}return r.slice(0,t)};const s=(e,t=Buffer.allocUnsafe(4))=>{t.writeUInt32BE(e);return t};const o=e=>Buffer.concat([s(e.length),e]);e.exports=((e,t,i,n,{apu:u=Buffer.alloc(0),apv:l=Buffer.alloc(0)}={},c=a)=>{const d=Buffer.concat([o(Buffer.from(e)),o(u),o(l),s(t)]);const p=c(i,n);return r(p,t/8,d)})},function(e){e.exports=(e=>(function(){this.seq().obj(this.key("algorithm").use(e),this.key("publicKey").bitstr())}))},,,,,,,,,function(e,t,i){e.exports={read:read,readSSHPrivate:readSSHPrivate,write:write};var n=i(872);var a=i(325);var r=i(215).Buffer;var s=i(98);var o=i(270);var u=i(373);var l=i(852);var c=i(502);var d=i(268);var p=i(538);var f=i(940);var h=i(753);var m;function read(e,t){return d.read(e,t)}var b="openssh-key-v1";function readSSHPrivate(e,t,a){t=new f({buffer:t});var s=t.readCString();n.strictEqual(s,b,"bad magic string");var l=t.readString();var c=t.readString();var d=t.readBuffer();var g=t.readInt();if(g!==1){throw new Error("OpenSSH-format key file contains "+"multiple keys: this is unsupported.")}var y=t.readBuffer();if(e==="public"){n.ok(t.atEnd(),"excess bytes left after key");return p.read(y)}var S=t.readBuffer();n.ok(t.atEnd(),"excess bytes left after key");var w=new f({buffer:d});switch(c){case"none":if(l!=="none"){throw new Error('OpenSSH-format key uses KDF "none" '+'but specifies a cipher other than "none"')}break;case"bcrypt":var v=w.readBuffer();var z=w.readInt();var j=o.opensshCipherInfo(l);if(m===undefined){m=i(641)}if(typeof a.passphrase==="string"){a.passphrase=r.from(a.passphrase,"utf-8")}if(!r.isBuffer(a.passphrase)){throw new h.KeyEncryptedError(a.filename,"OpenSSH")}var O=new Uint8Array(a.passphrase);var k=new Uint8Array(v);var C=new Uint8Array(j.keySize+j.blockSize);var T=m.pbkdf(O,O.length,k,k.length,C,C.length,z);if(T!==0){throw new Error("bcrypt_pbkdf function returned "+"failure, parameters invalid")}C=r.from(C);var R=C.slice(0,j.keySize);var E=C.slice(j.keySize,j.keySize+j.blockSize);var A=u.createDecipheriv(j.opensslName,R,E);A.setAutoPadding(false);var x,N=[];A.once("error",function(e){if(e.toString().indexOf("bad decrypt")!==-1){throw new Error("Incorrect passphrase "+"supplied, could not decrypt key")}throw e});A.write(S);A.end();while((x=A.read())!==null)N.push(x);S=r.concat(N);break;default:throw new Error('OpenSSH-format key uses unknown KDF "'+c+'"')}t=new f({buffer:S});var V=t.readInt();var P=t.readInt();if(V!==P){throw new Error("Incorrect passphrase supplied, could not "+"decrypt key")}var D={};var I=p.readInternal(D,"private",t.remainder());t.skip(D.consumed);var _=t.readString();I.comment=_;return I}function write(e,t){var a;if(c.isPrivateKey(e))a=e.toPublic();else a=e;var s="none";var l="none";var d=r.alloc(0);var p={blockSize:8};var h;if(t!==undefined){h=t.passphrase;if(typeof h==="string")h=r.from(h,"utf-8");if(h!==undefined){n.buffer(h,"options.passphrase");n.optionalString(t.cipher,"options.cipher");s=t.cipher;if(s===undefined)s="aes128-ctr";p=o.opensshCipherInfo(s);l="bcrypt"}}var g;if(c.isPrivateKey(e)){g=new f({});var y=u.randomBytes(4).readUInt32BE(0);g.writeInt(y);g.writeInt(y);g.write(e.toBuffer("rfc4253"));g.writeString(e.comment||"");var S=1;while(g._offset%p.blockSize!==0)g.writeChar(S++);g=g.toBuffer()}switch(l){case"none":break;case"bcrypt":var w=u.randomBytes(16);var v=16;var z=new f({});z.writeBuffer(w);z.writeInt(v);d=z.toBuffer();if(m===undefined){m=i(641)}var j=new Uint8Array(h);var O=new Uint8Array(w);var k=new Uint8Array(p.keySize+p.blockSize);var C=m.pbkdf(j,j.length,O,O.length,k,k.length,v);if(C!==0){throw new Error("bcrypt_pbkdf function returned "+"failure, parameters invalid")}k=r.from(k);var T=k.slice(0,p.keySize);var R=k.slice(p.keySize,p.keySize+p.blockSize);var E=u.createCipheriv(p.opensslName,T,R);E.setAutoPadding(false);var A,x=[];E.once("error",function(e){throw e});E.write(g);E.end();while((A=E.read())!==null)x.push(A);g=r.concat(x);break;default:throw new Error("Unsupported kdf "+l)}var N=new f({});N.writeCString(b);N.writeString(s);N.writeString(l);N.writeBuffer(d);N.writeInt(1);N.writeBuffer(a.toBuffer("rfc4253"));if(g)N.writeBuffer(g);N=N.toBuffer();var V;if(c.isPrivateKey(e))V="OPENSSH PRIVATE KEY";else V="OPENSSH PUBLIC KEY";var P=N.toString("base64");var D=P.length+P.length/70+18+16+V.length*2+10;N=r.alloc(D);var I=0;I+=N.write("-----BEGIN "+V+"-----\n",I);for(var _=0;_P.length)q=P.length;I+=N.write(P.slice(_,q),I);N[I++]=10;_=q}I+=N.write("-----END "+V+"-----\n",I);return N.slice(0,I)}},,,,function(e,t){"use strict";Object.defineProperty(t,"__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)}t.toCommandValue=toCommandValue},function(e){e.exports=(e=>(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(e),this.key("privateKey").octstr())}))},function(e,t,i){e.exports={der:i(313)}},function(e){"use strict";e.exports=function generate__limitItems(e,t,i){var n=" ";var a=e.level;var r=e.dataLevel;var s=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var c;var d="data"+(r||"");var p=e.opts.$data&&s&&s.$data,f;if(p){n+=" var schema"+a+" = "+e.util.getData(s.$data,r,e.dataPathArr)+"; ";f="schema"+a}else{f=s}if(!(p||typeof s=="number")){throw new Error(t+" must be number")}var h=t=="maxItems"?">":"<";n+="if ( ";if(p){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" "+d+".length "+h+" "+f+") { ";var c=t;var m=m||[];m.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(c||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+f+" } ";if(e.opts.messages!==false){n+=" , message: 'should NOT have ";if(t=="maxItems"){n+="more"}else{n+="fewer"}n+=" than ";if(p){n+="' + "+f+" + '"}else{n+=""+s}n+=" items' "}if(e.opts.verbose){n+=" , schema: ";if(p){n+="validate.schema"+o}else{n+=""+s}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}n+=" } "}else{n+=" {} "}var b=n;n=m.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+b+"]); "}else{n+=" validate.errors = ["+b+"]; return false; "}}else{n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+="} ";if(l){n+=" else { "}return n}},function(e){"use strict";e.exports=function(e){var t={};var i=Object.keys(Object(e));for(var n=0;n{const t={};try{while(s.exec(e.headers["www-authenticate"])!==null){if(RegExp.$1&&RegExp.$2){t[RegExp.$1]=RegExp.$2.slice(1,-1)}}}catch(e){}if(t.error){throw new r(t,e)}};const u=e=>{let t=false;try{let i;if(typeof e.body!=="object"||Buffer.isBuffer(e.body)){i=JSON.parse(e.body)}else{i=e.body}t=typeof i.error==="string"&&i.error.length;if(t)e.body=i}catch(e){}return t};function processResponse(e,{statusCode:t=200,body:i=true,bearer:s=false}={}){if(e.statusCode!==t){if(s){o(e)}if(u(e)){throw new r(e.body,e)}throw new r({error:a("expected %i %s, got: %i %s",t,n[t],e.statusCode,n[e.statusCode])},e)}if(i&&!e.body){throw new r({error:a("expected %i %s with body but no body was returned",t,n[t])},e)}return e.body}e.exports=processResponse},function(e){"use strict";const t=["destroy","setTimeout","socket","headers","trailers","rawHeaders","statusCode","httpVersion","httpVersionMinor","httpVersionMajor","rawTrailers","statusMessage"];e.exports=((e,i)=>{const n=new Set(Object.keys(e).concat(t));for(const t of n){if(t in i){continue}i[t]=typeof e[t]==="function"?e[t].bind(e):e[t]}})},,function(e,t,i){var n=i(892);e.exports=serial;function serial(e,t,i){return n(e,t,null,i)}},,function(e,t,i){"use strict";var n=i(128);function Mark(e,t,i,n,a){this.name=e;this.buffer=t;this.position=i;this.line=n;this.column=a}Mark.prototype.getSnippet=function getSnippet(e,t){var i,a,r,s,o;if(!this.buffer)return null;e=e||4;t=t||75;i="";a=this.position;while(a>0&&"\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(a-1))===-1){a-=1;if(this.position-a>t/2-1){i=" ... ";a+=5;break}}r="";s=this.position;while(st/2-1){r=" ... ";s-=5;break}}o=this.buffer.slice(a,s);return n.repeat(" ",e)+i+o+r+"\n"+n.repeat(" ",e+this.position-a+i.length)+"^"};Mark.prototype.toString=function toString(e){var t,i="";if(this.name){i+='in "'+this.name+'" '}i+="at line "+(this.line+1)+", column "+(this.column+1);if(!e){t=this.getSnippet();if(t){i+=":\n"+t}}return i};e.exports=Mark},function(e,t,i){const{inherits:n}=i(669);const a=i(720);const r=i(313);function DEREncoder(e){this.enc="der";this.name=e.name;this.entity=e;this.tree=new DERNode;this.tree._init(e.body)}DEREncoder.prototype.encode=function encode(e,t){return this.tree._encode(e,t).join()};function DERNode(e){a.call(this,"der",e)}n(DERNode,a);DERNode.prototype._encodeComposite=function encodeComposite(e,t,i,n){const a=encodeTag(e,t,i,this.reporter);if(n.length<128){const e=Buffer.alloc(2);e[0]=a;e[1]=n.length;return this._createEncoderBuffer([e,n])}let r=1;for(let e=n.length;e>=256;e>>=8){r++}const s=Buffer.alloc(1+1+r);s[0]=a;s[1]=128|r;for(let e=1+r,t=n.length;t>0;e--,t>>=8){s[e]=t&255}return this._createEncoderBuffer([s,n])};DERNode.prototype._encodeStr=function encodeStr(e,t){if(t==="bitstr"){return this._createEncoderBuffer([e.unused|0,e.data])}else if(t==="bmpstr"){const t=Buffer.alloc(e.length*2);for(let i=0;i=40){return this.reporter.error("Second objid identifier OOB")}e.splice(0,2,e[0]*40+e[1])}let n=0;for(let t=0;t=128;i>>=7){n++}}const a=Buffer.alloc(n);let r=a.length-1;for(let t=e.length-1;t>=0;t--){let i=e[t];a[r--]=i&127;while((i>>=7)>0){a[r--]=128|i&127}}return this._createEncoderBuffer(a)};function two(e){if(e<10){return`0${e}`}else{return e}}DERNode.prototype._encodeTime=function encodeTime(e,t){let i;const n=new Date(e);if(t==="gentime"){i=[two(n.getUTCFullYear()),two(n.getUTCMonth()+1),two(n.getUTCDate()),two(n.getUTCHours()),two(n.getUTCMinutes()),two(n.getUTCSeconds()),"Z"].join("")}else if(t==="utctime"){i=[two(n.getUTCFullYear()%100),two(n.getUTCMonth()+1),two(n.getUTCDate()),two(n.getUTCHours()),two(n.getUTCMinutes()),two(n.getUTCSeconds()),"Z"].join("")}else{this.reporter.error(`Encoding ${t} time is not supported yet`)}return this._encodeStr(i,"octstr")};DERNode.prototype._encodeNull=function encodeNull(){return this._createEncoderBuffer("")};function bnToBuf(e){var t=BigInt(e).toString(16);if(t.length%2){t="0"+t}var i=t.length/2;var n=new Uint8Array(i);var a=0;var r=0;while(a=256;t>>=8){i++}const n=new Array(i);for(let t=n.length-1;t>=0;t--){n[t]=e&255;e>>=8}if(n[0]&128){n.unshift(0)}return this._createEncoderBuffer(Buffer.from(n))};DERNode.prototype._encodeBool=function encodeBool(e){return this._createEncoderBuffer(e?255:0)};DERNode.prototype._use=function use(e,t){if(typeof e==="function"){e=e(t)}return e._getEncoder("der").tree};DERNode.prototype._skipDefault=function skipDefault(e,t,i){const n=this._baseState;let a;if(n.default===null){return false}const r=e.join();if(n.defaultBuffer===undefined){n.defaultBuffer=this._encodeValue(n.default,t,i).join()}if(r.length!==n.defaultBuffer.length){return false}for(a=0;a=31){return n.error("Multi-octet tag encoding unsupported")}if(!t){a|=32}a|=r.tagClassByName[i||"universal"]<<6;return a}e.exports=DEREncoder},,function(e,t,i){const{inspect:n}=i(669);const a=i(849);class NoneKey extends a{constructor(){super({type:"unsecured"},{alg:"none"});Object.defineProperties(this,{kid:{value:undefined},kty:{value:undefined},thumbprint:{value:undefined},toJWK:{value:undefined},toPEM:{value:undefined}})}[n.custom](){return"None {}"}algorithms(e){switch(e){case"sign":case"verify":case undefined:return new Set(["none"]);default:return new Set}}}e.exports=new NoneKey},function(e){const t=128;const i=0;const n=32;const a=16;const r=2;const s=a|n|i<<6;const o=r|i<<6;const u=e=>(e/8|0)+(e%8===0?0:1);const l={ES256:u(256),ES256K:u(256),ES384:u(384),ES512:u(521)};const c=(e,i,n)=>{let a=0;while(i+a=t;if(r){--a}return a};e.exports.derToJose=((e,i)=>{if(!Buffer.isBuffer(e)){throw new TypeError("ECDSA signature must be a Buffer")}if(!l[i]){throw new Error(`Unknown algorithm "${i}"`)}const n=l[i];const a=n+1;const r=e.length;let u=0;if(e[u++]!==s){throw new Error('Could not find expected "seq"')}let c=e[u++];if(c===(t|1)){c=e[u++]}if(r-u{if(!Buffer.isBuffer(e)){throw new TypeError("ECDSA signature must be a Buffer")}if(!l[i]){throw new TypeError(`Unknown algorithm "${i}"`)}const n=l[i];const a=e.length;if(a!==n*2){throw new Error(`"${i}" signatures must be "${n*2}" bytes, saw "${a}"`)}const r=c(e,0,n);const u=c(e,n,e.length);const d=n-r;const p=n-u;const f=1+1+d+1+1+p;const h=f{const l=i.export();d(e,r);const c=e/8;const p=l.slice(c);const f=n(`aes-${e}-cbc`,p,r);const h=Buffer.concat([f.update(a),f.final()]);const m=Buffer.concat([o,r,h,s(o.length*8)]);const b=l.slice(0,c);const g=t({[u]:b},m).slice(0,c);return{ciphertext:h,tag:g}};const f=(e,t,{[u]:i},n,{iv:r,tag:l=Buffer.alloc(0),aad:p=Buffer.alloc(0)})=>{d(e,r,l);const f=e/8;const h=i.export();const m=h.slice(f);const b=h.slice(0,f);const g=Buffer.concat([p,r,n,s(p.length*8)]);const y=t({[u]:b},g,l).slice(0,f);const S=o(l,y);let w;try{const t=a(`aes-${e}-cbc`,m,r);w=Buffer.concat([t.update(n),t.final()])}catch(e){}if(!w||!S){throw new c}return w};e.exports=((e,t)=>{["A128CBC-HS256","A192CBC-HS384","A256CBC-HS512"].forEach(i=>{const n=parseInt(i.substr(1,3),10);const a=e.sign.get(`HS${n*2}`);if(r().includes(`aes-${n}-cbc`)){e.encrypt.set(i,p.bind(undefined,n,a));e.decrypt.set(i,f.bind(undefined,n,a));t.oct.encrypt[i]=t.oct.decrypt[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length/2===n)}})})},function(e,t,i){"use strict";var n=i(945);var a=Object.prototype.hasOwnProperty;function resolveYamlSet(e){if(e===null)return true;var t,i=e;for(t in i){if(a.call(i,t)){if(i[t]!==null)return false}}return true}function constructYamlSet(e){return e!==null?e:{}}e.exports=new n("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet})},function(e,t,i){"use strict";const n=i(463);const a=i(557);e.exports=((e,t)=>{const i=n(e,{...t,count:1});return a.fn(async e=>{e(()=>{i.cancel()});const[t]=await i;return t})()});e.exports.AggregateError=n.AggregateError},function(e,t,i){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))t[i]=e[i];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const a=n(i(747));const r=n(i(87));const s=i(82);function issueCommand(e,t){const i=process.env[`GITHUB_${e}`];if(!i){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!a.existsSync(i)){throw new Error(`Missing file at path: ${i}`)}a.appendFileSync(i,`${s.toCommandValue(t)}${r.EOL}`,{encoding:"utf8"})}t.issueCommand=issueCommand},,function(e,t,i){"use strict";const{EMPTY_BUFFER:n}=i(799);function concat(e,t){if(e.length===0)return n;if(e.length===1)return e[0];const i=Buffer.allocUnsafe(t);var a=0;for(var r=0;rthis.resize(getTerminalSize(e)))}resize(e){this.push(JSON.stringify(e))}}t.TerminalSizeQueue=TerminalSizeQueue;function isResizable(e){if(e==null){return false}const t="rows"in e;const i="columns"in e;const n=typeof e.on==="function";return t&&i&&n}t.isResizable=isResizable;function getTerminalSize(e){return{height:e.rows,width:e.columns}}},,function(e){"use strict";e.exports=function generate_allOf(e,t,i){var n=" ";var a=e.schema[t];var r=e.schemaPath+e.util.getProperty(t);var s=e.errSchemaPath+"/"+t;var o=!e.opts.allErrors;var u=e.util.copy(e);var l="";u.level++;var c="valid"+u.level;var d=u.baseId,p=true;var f=a;if(f){var h,m=-1,b=f.length-1;while(m0:e.util.schemaHasRules(h,e.RULES.all)){p=false;u.schema=h;u.schemaPath=r+"["+m+"]";u.errSchemaPath=s+"/"+m;n+=" "+e.validate(u)+" ";u.baseId=d;if(o){n+=" if ("+c+") { ";l+="}"}}}}if(o){if(p){n+=" if (true) { "}else{n+=" "+l.slice(0,-1)+" "}}return n}},function(e){e.exports=function pick(e,...t){const i={};for(const n of t){if(e[n]){i[n]=e[n]}}return i}},,function(e,t,i){const n=i(312);class Client{constructor(e){const t=e.backend;if(!t)throw new Error('expected "backend"');const i=new n({splits:[],backend:t,getNames:e.getNames});if(e.spec)i._addSpec(e.spec);return i}}e.exports=Client},,,function(e,t,i){var n=i(373);function sha(e,t,i){return n.createHmac(i,e).update(t).digest("base64")}function rsa(e,t){return n.createSign("RSA-SHA1").update(t).sign(e,"base64")}function rfc3986(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}function map(e){var t,i,n=[];for(t in e){i=e[t];if(Array.isArray(i))for(var a=0;at?1:e=e.length){if(t)t[s]=e;return i(null,e)}u.lastIndex=d;var n=u.exec(e);h=p;p+=n[0];f=h+n[1];d=u.lastIndex;if(c[f]||t&&t[f]===f){return process.nextTick(LOOP)}if(t&&Object.prototype.hasOwnProperty.call(t,f)){return gotResolvedLink(t[f])}return r.lstat(f,gotStat)}function gotStat(e,n){if(e)return i(e);if(!n.isSymbolicLink()){c[f]=true;if(t)t[f]=f;return process.nextTick(LOOP)}if(!a){var s=n.dev.toString(32)+":"+n.ino.toString(32);if(o.hasOwnProperty(s)){return gotTarget(null,o[s],f)}}r.stat(f,function(e){if(e)return i(e);r.readlink(f,function(e,t){if(!a)o[s]=t;gotTarget(e,t)})})}function gotTarget(e,a,r){if(e)return i(e);var s=n.resolve(h,a);if(t)t[r]=s;gotResolvedLink(s)}function gotResolvedLink(t){e=n.resolve(t,e.slice(d));start()}}},function(e,t,i){"use strict";const{randomFillSync:n}=i(373);const a=i(850);const{EMPTY_BUFFER:r}=i(60);const{isValidStatusCode:s}=i(829);const{mask:o,toBuffer:u}=i(676);const l=Buffer.alloc(4);class Sender{constructor(e,t){this._extensions=t||{};this._socket=e;this._firstFragment=true;this._compress=false;this._bufferedBytes=0;this._deflating=false;this._queue=[]}static frame(e,t){const i=t.mask&&t.readOnly;let a=t.mask?6:2;let r=e.length;if(e.length>=65536){a+=8;r=127}else if(e.length>125){a+=2;r=126}const s=Buffer.allocUnsafe(i?e.length+a:a);s[0]=t.fin?t.opcode|128:t.opcode;if(t.rsv1)s[0]|=64;s[1]=r;if(r===126){s.writeUInt16BE(e.length,2)}else if(r===127){s.writeUInt32BE(0,2);s.writeUInt32BE(e.length,6)}if(!t.mask)return[s,e];n(l,0,4);s[1]|=128;s[a-4]=l[0];s[a-3]=l[1];s[a-2]=l[2];s[a-1]=l[3];if(i){o(e,l,s,a,e.length);return[s]}o(e,l,e,0,e.length);return[s,e]}close(e,t,i,n){let a;if(e===undefined){a=r}else if(typeof e!=="number"||!s(e)){throw new TypeError("First argument must be a valid error code number")}else if(t===undefined||t===""){a=Buffer.allocUnsafe(2);a.writeUInt16BE(e,0)}else{const i=Buffer.byteLength(t);if(i>123){throw new RangeError("The message must not be greater than 123 bytes")}a=Buffer.allocUnsafe(2+i);a.writeUInt16BE(e,0);a.write(t,2)}if(this._deflating){this.enqueue([this.doClose,a,i,n])}else{this.doClose(a,i,n)}}doClose(e,t,i){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:8,mask:t,readOnly:false}),i)}ping(e,t,i){const n=u(e);if(n.length>125){throw new RangeError("The data size must not be greater than 125 bytes")}if(this._deflating){this.enqueue([this.doPing,n,t,u.readOnly,i])}else{this.doPing(n,t,u.readOnly,i)}}doPing(e,t,i,n){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:9,mask:t,readOnly:i}),n)}pong(e,t,i){const n=u(e);if(n.length>125){throw new RangeError("The data size must not be greater than 125 bytes")}if(this._deflating){this.enqueue([this.doPong,n,t,u.readOnly,i])}else{this.doPong(n,t,u.readOnly,i)}}doPong(e,t,i,n){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:10,mask:t,readOnly:i}),n)}send(e,t,i){const n=u(e);const r=this._extensions[a.extensionName];let s=t.binary?2:1;let o=t.compress;if(this._firstFragment){this._firstFragment=false;if(o&&r){o=n.length>=r._threshold}this._compress=o}else{o=false;s=0}if(t.fin)this._firstFragment=true;if(r){const e={fin:t.fin,rsv1:o,opcode:s,mask:t.mask,readOnly:u.readOnly};if(this._deflating){this.enqueue([this.dispatch,n,this._compress,e,i])}else{this.dispatch(n,this._compress,e,i)}}else{this.sendFrame(Sender.frame(n,{fin:t.fin,rsv1:false,opcode:s,mask:t.mask,readOnly:u.readOnly}),i)}}dispatch(e,t,i,n){if(!t){this.sendFrame(Sender.frame(e,i),n);return}const r=this._extensions[a.extensionName];this._bufferedBytes+=e.length;this._deflating=true;r.compress(e,i.fin,(t,a)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");if(typeof n==="function")n(e);for(let t=0;te.sort((e,i)=>n(e,i,t));e.exports=a},,,,function(e,t,i){class Range{constructor(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof n){this.raw=e.value;this.set=[[e]];this.format();return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map(e=>this.parseRange(e.trim())).filter(e=>e.length);if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${e}`)}this.format()}format(){this.range=this.set.map(e=>{return e.join(" ").trim()}).join("||").trim();return this.range}toString(){return this.range}parseRange(e){const t=this.options.loose;e=e.trim();const i=t?s[o.HYPHENRANGELOOSE]:s[o.HYPHENRANGE];e=e.replace(i,z(this.options.includePrerelease));a("hyphen replace",e);e=e.replace(s[o.COMPARATORTRIM],u);a("comparator trim",e,s[o.COMPARATORTRIM]);e=e.replace(s[o.TILDETRIM],l);e=e.replace(s[o.CARETTRIM],c);e=e.split(/\s+/).join(" ");const r=t?s[o.COMPARATORLOOSE]:s[o.COMPARATOR];return e.split(" ").map(e=>p(e,this.options)).join(" ").split(/\s+/).map(e=>v(e,this.options)).filter(this.options.loose?e=>!!e.match(r):()=>true).map(e=>new n(e,this.options))}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some(i=>{return d(i,t)&&e.set.some(e=>{return d(e,t)&&i.every(i=>{return e.every(e=>{return i.intersects(e,t)})})})})}test(e){if(!e){return false}if(typeof e==="string"){try{e=new r(e,this.options)}catch(e){return false}}for(let t=0;t{let i=true;const n=e.slice();let a=n.pop();while(i&&n.length){i=n.every(e=>{return a.intersects(e,t)});a=n.pop()}return i};const p=(e,t)=>{a("comp",e,t);e=b(e,t);a("caret",e);e=h(e,t);a("tildes",e);e=y(e,t);a("xrange",e);e=w(e,t);a("stars",e);return e};const f=e=>!e||e.toLowerCase()==="x"||e==="*";const h=(e,t)=>e.trim().split(/\s+/).map(e=>{return m(e,t)}).join(" ");const m=(e,t)=>{const i=t.loose?s[o.TILDELOOSE]:s[o.TILDE];return e.replace(i,(t,i,n,r,s)=>{a("tilde",e,t,i,n,r,s);let o;if(f(i)){o=""}else if(f(n)){o=`>=${i}.0.0 <${+i+1}.0.0-0`}else if(f(r)){o=`>=${i}.${n}.0 <${i}.${+n+1}.0-0`}else if(s){a("replaceTilde pr",s);o=`>=${i}.${n}.${r}-${s} <${i}.${+n+1}.0-0`}else{o=`>=${i}.${n}.${r} <${i}.${+n+1}.0-0`}a("tilde return",o);return o})};const b=(e,t)=>e.trim().split(/\s+/).map(e=>{return g(e,t)}).join(" ");const g=(e,t)=>{a("caret",e,t);const i=t.loose?s[o.CARETLOOSE]:s[o.CARET];const n=t.includePrerelease?"-0":"";return e.replace(i,(t,i,r,s,o)=>{a("caret",e,t,i,r,s,o);let u;if(f(i)){u=""}else if(f(r)){u=`>=${i}.0.0${n} <${+i+1}.0.0-0`}else if(f(s)){if(i==="0"){u=`>=${i}.${r}.0${n} <${i}.${+r+1}.0-0`}else{u=`>=${i}.${r}.0${n} <${+i+1}.0.0-0`}}else if(o){a("replaceCaret pr",o);if(i==="0"){if(r==="0"){u=`>=${i}.${r}.${s}-${o} <${i}.${r}.${+s+1}-0`}else{u=`>=${i}.${r}.${s}-${o} <${i}.${+r+1}.0-0`}}else{u=`>=${i}.${r}.${s}-${o} <${+i+1}.0.0-0`}}else{a("no pr");if(i==="0"){if(r==="0"){u=`>=${i}.${r}.${s}${n} <${i}.${r}.${+s+1}-0`}else{u=`>=${i}.${r}.${s}${n} <${i}.${+r+1}.0-0`}}else{u=`>=${i}.${r}.${s} <${+i+1}.0.0-0`}}a("caret return",u);return u})};const y=(e,t)=>{a("replaceXRanges",e,t);return e.split(/\s+/).map(e=>{return S(e,t)}).join(" ")};const S=(e,t)=>{e=e.trim();const i=t.loose?s[o.XRANGELOOSE]:s[o.XRANGE];return e.replace(i,(i,n,r,s,o,u)=>{a("xRange",e,i,n,r,s,o,u);const l=f(r);const c=l||f(s);const d=c||f(o);const p=d;if(n==="="&&p){n=""}u=t.includePrerelease?"-0":"";if(l){if(n===">"||n==="<"){i="<0.0.0-0"}else{i="*"}}else if(n&&p){if(c){s=0}o=0;if(n===">"){n=">=";if(c){r=+r+1;s=0;o=0}else{s=+s+1;o=0}}else if(n==="<="){n="<";if(c){r=+r+1}else{s=+s+1}}if(n==="<")u="-0";i=`${n+r}.${s}.${o}${u}`}else if(c){i=`>=${r}.0.0${u} <${+r+1}.0.0-0`}else if(d){i=`>=${r}.${s}.0${u} <${r}.${+s+1}.0-0`}a("xRange return",i);return i})};const w=(e,t)=>{a("replaceStars",e,t);return e.trim().replace(s[o.STAR],"")};const v=(e,t)=>{a("replaceGTE0",e,t);return e.trim().replace(s[t.includePrerelease?o.GTE0PRE:o.GTE0],"")};const z=e=>(t,i,n,a,r,s,o,u,l,c,d,p,h)=>{if(f(n)){i=""}else if(f(a)){i=`>=${n}.0.0${e?"-0":""}`}else if(f(r)){i=`>=${n}.${a}.0${e?"-0":""}`}else if(s){i=`>=${i}`}else{i=`>=${i}${e?"-0":""}`}if(f(l)){u=""}else if(f(c)){u=`<${+l+1}.0.0-0`}else if(f(d)){u=`<${l}.${+c+1}.0-0`}else if(p){u=`<=${l}.${c}.${d}-${p}`}else if(e){u=`<${l}.${c}.${+d+1}-0`}else{u=`<=${u}`}return`${i} ${u}`.trim()};const j=(e,t,i)=>{for(let i=0;i0){const n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch){return true}}}return false}return true}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(422);const a=i(191);const r=i(105);const s=i(131);class Attach{constructor(e,t){if(t){this.handler=t}else{this.handler=new s.WebSocketHandler(e)}}attach(e,t,i,o,u,l,c){return n.__awaiter(this,void 0,void 0,function*(){const n={container:i,stderr:u!=null,stdin:l!=null,stdout:o!=null,tty:c};const d=a.stringify(n);const p=`/api/v1/namespaces/${e}/pods/${t}/attach?${d}`;const f=yield this.handler.connect(p,null,(e,t)=>{s.WebSocketHandler.handleStandardStreams(e,t,o,u);return true});if(l!=null){s.WebSocketHandler.handleStandardInput(f,l,s.WebSocketHandler.StdinStream)}if(r.isResizable(o)){this.terminalSizeQueue=new r.TerminalSizeQueue;s.WebSocketHandler.handleStandardInput(f,this.terminalSizeQueue,s.WebSocketHandler.ResizeStream);this.terminalSizeQueue.handleResizes(o)}return f})}}t.Attach=Attach},,,function(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,t){var i,n,a,r;if(t){r=Object.keys(t);for(i=0,n=r.length;i{const n=Buffer.alloc(t.length+1);n.writeInt8(i,0);if(t instanceof Buffer){t.copy(n,1)}else{n.write(t,1)}e.send(n)});t.on("end",()=>{e.close()});return true}static restartableHandleStandardInput(e,t,i=0,r=3){if(r<0){throw new Error("retryCount can't be lower than 0.")}let s=Promise.resolve();let o;function processData(t){return n.__awaiter(this,void 0,void 0,function*(){const n=Buffer.alloc(t.length+1);n.writeInt8(i,0);if(t instanceof Buffer){t.copy(n,1)}else{n.write(t,1)}let s=0;for(;s=r){throw new Error("can't send data to ws")}})}t.on("data",e=>{s=s.then(()=>processData(e))});t.on("end",()=>{if(o){o.close()}});return()=>o}connect(e,t,i){const n=this.config.getCurrentCluster();if(!n){throw new Error("No cluster is defined.")}const s=n.server;const o=s.startsWith("https://");const u=o?s.substr(8):s.substr(7);const l=o?"wss":"ws";const c=`${l}://${u}${e}`;const d={};this.config.applytoHTTPSOptions(d);return new Promise((e,n)=>{const s=this.socketFactory?this.socketFactory(c,d):new a(c,r,d);let o=false;s.onopen=(()=>{o=true;e(s)});s.onerror=(e=>{if(!o){n(e)}});s.onmessage=(({data:e})=>{if(typeof e==="string"){if(t&&!t(e)){s.close()}}else if(e instanceof Buffer){const t=e.readInt8(0);if(i&&!i(t,e.slice(1))){s.close()}}})})}}WebSocketHandler.StdinStream=0;WebSocketHandler.StdoutStream=1;WebSocketHandler.StderrStream=2;WebSocketHandler.StatusStream=3;WebSocketHandler.ResizeStream=4;t.WebSocketHandler=WebSocketHandler},,function(e){e.exports={$id:"request.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["method","url","httpVersion","cookies","headers","queryString","headersSize","bodySize"],properties:{method:{type:"string"},url:{type:"string",format:"uri"},httpVersion:{type:"string"},cookies:{type:"array",items:{$ref:"cookie.json#"}},headers:{type:"array",items:{$ref:"header.json#"}},queryString:{type:"array",items:{$ref:"query.json#"}},postData:{$ref:"postData.json#"},headersSize:{type:"integer"},bodySize:{type:"integer"},comment:{type:"string"}}}},,function(e,t,i){const{inherits:n}=i(669);const a=i(960);const r=i(474);e.exports.define=function define(e,t){return new Entity(e,t)};function Entity(e,t){this.name=e;this.body=t;this.decoders={};this.encoders={}}Entity.prototype._createNamed=function createNamed(e){const t=this.name;function Generated(e){this._initNamed(e,t)}n(Generated,e);Generated.prototype._initNamed=function _initNamed(t,i){e.call(this,t,i)};return new Generated(this)};Entity.prototype._getDecoder=function _getDecoder(e){e=e||"der";if(!Object.prototype.hasOwnProperty.call(this.decoders,e)){this.decoders[e]=this._createNamed(r[e])}return this.decoders[e]};Entity.prototype.decode=function decode(e,t,i){return this._getDecoder(t).decode(e,i)};Entity.prototype._getEncoder=function _getEncoder(e){e=e||"der";if(!Object.prototype.hasOwnProperty.call(this.encoders,e)){this.encoders[e]=this._createNamed(a[e])}return this.encoders[e]};Entity.prototype.encode=function encode(e,t,i){return this._getEncoder(t).encode(e,i)}},,,,function(e,t,i){var n=i(373);e.exports=function nodeRNG(){return n.randomBytes(16)}},function(e){e.exports={$id:"afterRequest.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:true,required:["lastAccess","eTag","hitCount"],properties:{expires:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},lastAccess:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},eTag:{type:"string"},hitCount:{type:"integer"},comment:{type:"string"}}}},function(e,t,i){"use strict";const n=i(413).Readable;const a=i(86);class Response extends n{constructor(e,t,i,n){if(typeof e!=="number"){throw new TypeError("Argument `statusCode` should be a number")}if(typeof t!=="object"){throw new TypeError("Argument `headers` should be an object")}if(!(i instanceof Buffer)){throw new TypeError("Argument `body` should be a buffer")}if(typeof n!=="string"){throw new TypeError("Argument `url` should be a string")}super();this.statusCode=e;this.headers=a(t);this.body=i;this.url=n}_read(){this.push(this.body);this.push(null)}}e.exports=Response},,,,function(e,t,i){"use strict";const n=i(453);const a=i(158);class MaxBufferError extends Error{constructor(){super("maxBuffer exceeded");this.name="MaxBufferError"}}function getStream(e,t){if(!e){return Promise.reject(new Error("Expected a stream"))}t=Object.assign({maxBuffer:Infinity},t);const{maxBuffer:i}=t;let r;return new Promise((s,o)=>{const u=e=>{if(e){e.bufferedData=r.getBufferedValue()}o(e)};r=n(e,a(t),e=>{if(e){u(e);return}s()});r.on("data",()=>{if(r.getBufferedLength()>i){u(new MaxBufferError)}})}).then(()=>r.getBufferedValue())}e.exports=getStream;e.exports.buffer=((e,t)=>getStream(e,Object.assign({},t,{encoding:"buffer"})));e.exports.array=((e,t)=>getStream(e,Object.assign({},t,{array:true})));e.exports.MaxBufferError=MaxBufferError},,function(e){e.exports=state;function state(e,t){var i=!Array.isArray(e),n={index:0,keyedList:i||t?Object.keys(e):null,jobs:{},results:i?{}:[],size:i?Object.keys(e).length:e.length};if(t){n.keyedList.sort(i?t:function(i,n){return t(e[i],e[n])})}return n}},,,function(e,t,i){const n=i(208);const a=i(466);e.exports=((e,{complete:t=false}={})=>{if(typeof e!=="string"||!e){throw new TypeError("JWT must be a string")}const{0:i,1:r,2:s,length:o}=e.split(".");if(o===5){throw new TypeError("JWTs must be decrypted first")}if(o!==3){throw new a.JWTMalformed("JWTs must have three components")}try{const e={header:n.JSON.decode(i),payload:n.JSON.decode(r),signature:s};return t?e:e.payload}catch(e){throw new a.JWTMalformed("JWT is malformed")}})},,function(e,t,i){var n=i(413).Stream;var a=i(669);e.exports=DelayedStream;function DelayedStream(){this.source=null;this.dataSize=0;this.maxDataSize=1024*1024;this.pauseStream=true;this._maxDataSizeExceeded=false;this._released=false;this._bufferedEvents=[]}a.inherits(DelayedStream,n);DelayedStream.create=function(e,t){var i=new this;t=t||{};for(var n in t){i[n]=t[n]}i.source=e;var a=e.emit;e.emit=function(){i._handleEmit(arguments);return a.apply(e,arguments)};e.on("error",function(){});if(i.pauseStream){e.pause()}return i};Object.defineProperty(DelayedStream.prototype,"readable",{configurable:true,enumerable:true,get:function(){return this.source.readable}});DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};DelayedStream.prototype.resume=function(){if(!this._released){this.release()}this.source.resume()};DelayedStream.prototype.pause=function(){this.source.pause()};DelayedStream.prototype.release=function(){this._released=true;this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this));this._bufferedEvents=[]};DelayedStream.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);this.resume();return e};DelayedStream.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}if(e[0]==="data"){this.dataSize+=e[1].length;this._checkIfMaxDataSizeExceeded()}this._bufferedEvents.push(e)};DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded){return}if(this.dataSize<=this.maxDataSize){return}this._maxDataSizeExceeded=true;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}},,function(e){"use strict";e.exports=function generate_contains(e,t,i){var n=" ";var a=e.level;var r=e.dataLevel;var s=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var c="data"+(r||"");var d="valid"+a;var p="errs__"+a;var f=e.util.copy(e);var h="";f.level++;var m="valid"+f.level;var b="i"+a,g=f.dataLevel=e.dataLevel+1,y="data"+g,S=e.baseId,w=e.opts.strictKeywords?typeof s=="object"&&Object.keys(s).length>0:e.util.schemaHasRules(s,e.RULES.all);n+="var "+p+" = errors;var "+d+";";if(w){var v=e.compositeRule;e.compositeRule=f.compositeRule=true;f.schema=s;f.schemaPath=o;f.errSchemaPath=u;n+=" var "+m+" = false; for (var "+b+" = 0; "+b+" < "+c+".length; "+b+"++) { ";f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,true);var z=c+"["+b+"]";f.dataPathArr[g]=b;var j=e.validate(f);f.baseId=S;if(e.util.varOccurences(j,y)<2){n+=" "+e.util.varReplace(j,y,z)+" "}else{n+=" var "+y+" = "+z+"; "+j+" "}n+=" if ("+m+") break; } ";e.compositeRule=f.compositeRule=v;n+=" "+h+" if (!"+m+") {"}else{n+=" if ("+c+".length == 0) {"}var O=O||[];O.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: 'should contain a valid item' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var k=n;n=O.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+k+"]); "}else{n+=" validate.errors = ["+k+"]; return false; "}}else{n+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } else { ";if(w){n+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "}if(e.opts.allErrors){n+=" } "}return n}},,function(e){"use strict";e.exports=function(e,t){if(!t)t={};if(typeof t==="function")t={cmp:t};var i=typeof t.cycles==="boolean"?t.cycles:false;var n=t.cmp&&function(e){return function(t){return function(i,n){var a={key:i,value:t[i]};var r={key:n,value:t[n]};return e(a,r)}}}(t.cmp);var a=[];return function stringify(e){if(e&&e.toJSON&&typeof e.toJSON==="function"){e=e.toJSON()}if(e===undefined)return;if(typeof e=="number")return isFinite(e)?""+e:"null";if(typeof e!=="object")return JSON.stringify(e);var t,r;if(Array.isArray(e)){r="[";for(t=0;t{e=Object.assign({},e);const{array:t}=e;let{encoding:i}=e;const a=i==="buffer";let r=false;if(t){r=!(i||a)}else{i=i||"utf8"}if(a){i=null}let s=0;const o=[];const u=new n({objectMode:r});if(i){u.setEncoding(i)}u.on("data",e=>{o.push(e);if(r){s=o.length}else{s+=e.length}});u.getBufferedValue=(()=>{if(t){return o}return a?Buffer.concat(o,s):o.join("")});u.getBufferedLength=(()=>s);return u})},,,,function(e){e.exports={$id:"content.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["size","mimeType"],properties:{size:{type:"integer"},compression:{type:"integer"},mimeType:{type:"string"},text:{type:"string"},encoding:{type:"string"},comment:{type:"string"}}}},,function(e,t,i){const n=i(65);const a=i(124);const r=i(486);const s=(e,t)=>{e=new a(e,t);let i=new n("0.0.0");if(e.test(i)){return i}i=new n("0.0.0-0");if(e.test(i)){return i}i=null;for(let t=0;t{const t=new n(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!i||r(i,t)){i=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})}if(i&&e.test(i)){return i}return null};e.exports=s},function(e){e.exports=(e=>`sha${e.substr(2,3)}`)},function(e,t,i){const n=i(835);const{format:a}=i(669);const r=i(604);const{RPError:s,OPError:o}=i(572);const{BaseClient:u}=i(860);const{random:l,codeChallenge:c}=i(368);const d=i(108);const{resolveResponseType:p,resolveRedirectUri:f}=i(285);function verified(e,t,i={}){if(e){this.error(e)}else if(!t){this.fail(i)}else{this.success(t,i)}}function OpenIDConnectStrategy({client:e,params:t={},passReqToCallback:i=false,sessionKey:a,usePKCE:s=false}={},o){if(!(e instanceof u)){throw new TypeError("client must be an instance of openid-client Client")}if(typeof o!=="function"){throw new TypeError("verify callback must be a function")}if(!e.issuer||!e.issuer.issuer){throw new TypeError("client must have an issuer with an identifier")}this._client=e;this._issuer=e.issuer;this._verify=o;this._passReqToCallback=i;this._usePKCE=s;this._key=a||`oidc:${n.parse(this._issuer.issuer).hostname}`;this._params=r(t);if(this._usePKCE===true){const e=this._issuer.code_challenge_methods_supported;if(!Array.isArray(e)){throw new TypeError("code_challenge_methods_supported is not properly set on issuer")}if(e.includes("S256")){this._usePKCE="S256"}else if(e.includes("plain")){this._usePKCE="plain"}else{throw new TypeError("neither supported code_challenge_method is supported by the issuer")}}else if(typeof this._usePKCE==="string"&&!["plain","S256"].includes(this._usePKCE)){throw new TypeError(`${this._usePKCE} is not valid/implemented PKCE code_challenge_method`)}this.name=n.parse(e.issuer.issuer).hostname;if(!this._params.response_type)this._params.response_type=p.call(e);if(!this._params.redirect_uri)this._params.redirect_uri=f.call(e);if(!this._params.scope)this._params.scope="openid"}OpenIDConnectStrategy.prototype.authenticate=function authenticate(e,t){(async()=>{const i=this._client;if(!e.session){throw new TypeError("authentication requires session support")}const n=i.callbackParams(e);const r=this._key;if(Object.keys(n).length===0){const n={state:l(),...this._params,...t};if(!n.nonce&&n.response_type.includes("id_token")){n.nonce=l()}e.session[r]=d(n,"nonce","state","max_age","response_type");if(this._usePKCE){const t=l();e.session[r].code_verifier=t;switch(this._usePKCE){case"S256":n.code_challenge=c(t);n.code_challenge_method="S256";break;case"plain":n.code_challenge=t;break}}this.redirect(i.authorizationUrl(n));return}const o=e.session[r];if(Object.keys(o||{}).length===0){throw new Error(a('did not find expected authorization request details in session, req.session["%s"] is %j',r,o))}const{state:u,nonce:p,max_age:f,code_verifier:h,response_type:m}=o;try{delete e.session[r]}catch(e){}const b={redirect_uri:this._params.redirect_uri,...t};const g={state:u,nonce:p,max_age:f,code_verifier:h,response_type:m};const y=await i.callback(b.redirect_uri,n,g);const S=this._passReqToCallback;const w=this._verify.length>(S?3:2)&&i.issuer.userinfo_endpoint;const v=[y,verified.bind(this)];if(w){if(!y.access_token){throw new s({message:"expected access_token to be returned when asking for userinfo in verify callback",tokenset:y})}const e=await i.userinfo(y);v.splice(1,0,e)}if(S){v.unshift(e)}this._verify(...v)})().catch(e=>{if(e instanceof o&&e.error!=="server_error"&&!e.error.startsWith("invalid")||e instanceof s){this.fail(e)}else{this.error(e)}})};e.exports=OpenIDConnectStrategy},function(e,t,i){const n=i(874);const a=(e,t,i)=>n(e,t,i)>=0;e.exports=a},,,function(e,t,i){const n=i(208);const a=i(490);const r=i(274);const s=i(545);const{JWSInvalid:o}=i(466);const{sign:u}=i(179);const l=i(322);const c=i(995);const d=Symbol("PROCESS_RECIPIENT");class Sign{constructor(e){if(typeof e==="string"){e=n.encode(e)}else if(Buffer.isBuffer(e)){e=n.encodeBuffer(e);this._binary=true}else if(r(e)){e=n.JSON.encode(e)}else{throw new TypeError("payload argument must be a Buffer, string or an object")}this._payload=e;this._recipients=[]}recipient(e,t,i){e=l(e);if(t!==undefined&&!r(t)){throw new TypeError("protectedHeader argument must be a plain object when provided")}if(i!==undefined&&!r(i)){throw new TypeError("unprotectedHeader argument must be a plain object when provided")}if(!a(t,i)){throw new o("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}this._recipients.push({key:e,protectedHeader:t?s(t):undefined,unprotectedHeader:i?s(i):undefined});return this}[d](e,t){const{key:i,protectedHeader:a,unprotectedHeader:r}=e;if(i.use==="enc"){throw new TypeError('a key with "use":"enc" is not usable for signing')}const s={protected:a||{},unprotected:r||{}};let l=s.protected.alg||s.unprotected.alg;if(!l){l=i.alg||[...i.algorithms("sign")][0];if(e.protectedHeader){s.protected.alg=e.protectedHeader.alg=l}else{s.protected=e.protectedHeader={alg:l}}}if(!l){throw new o('could not resolve a usable "alg" for a recipient')}e.header=r;e.protected=Object.keys(s.protected).length?n.JSON.encode(s.protected):"";if(t&&s.protected.crit&&s.protected.crit.includes("b64")&&s.protected.b64===false){if(this._binary){this._payload=n.decodeToBuffer(this._payload)}else{this._payload=n.decode(this._payload)}}const c=Buffer.concat([Buffer.from(e.protected||""),Buffer.from("."),Buffer.from(this._payload)]);e.signature=n.encodeBuffer(u(l,i,c))}sign(e){const t=c[e];if(!t){throw new TypeError('serialization must be one of "compact", "flattened", "general"')}if(!this._recipients.length){throw new o("missing recipients")}t.validate(this,this._recipients);this._recipients.forEach((e,t)=>{this[d](e,t===0)});return t(this._payload,this._recipients)}}e.exports=Sign},,function(e,t,i){var n=i(547);var a=i(669);var r=i(622);var s=i(363);var o=i(211);var u=i(835).parse;var l=i(747);var c=i(779);var d=i(334);var p=i(899);e.exports=FormData;a.inherits(FormData,n);function FormData(e){if(!(this instanceof FormData)){return new FormData}this._overheadLength=0;this._valueLength=0;this._valuesToMeasure=[];n.call(this);e=e||{};for(var t in e){this[t]=e[t]}}FormData.LINE_BREAK="\r\n";FormData.DEFAULT_CONTENT_TYPE="application/octet-stream";FormData.prototype.append=function(e,t,i){i=i||{};if(typeof i=="string"){i={filename:i}}var r=n.prototype.append.bind(this);if(typeof t=="number"){t=""+t}if(a.isArray(t)){this._error(new Error("Arrays are not supported."));return}var s=this._multiPartHeader(e,t,i);var o=this._multiPartFooter();r(s);r(t);r(o);this._trackLength(s,t,i)};FormData.prototype._trackLength=function(e,t,i){var n=0;if(i.knownLength!=null){n+=+i.knownLength}else if(Buffer.isBuffer(t)){n=t.length}else if(typeof t==="string"){n=Buffer.byteLength(t)}this._valueLength+=n;this._overheadLength+=Buffer.byteLength(e)+FormData.LINE_BREAK.length;if(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))){return}if(!i.knownLength){this._valuesToMeasure.push(t)}};FormData.prototype._lengthRetriever=function(e,t){if(e.hasOwnProperty("fd")){if(e.end!=undefined&&e.end!=Infinity&&e.start!=undefined){t(null,e.end+1-(e.start?e.start:0))}else{l.stat(e.path,function(i,n){var a;if(i){t(i);return}a=n.size-(e.start?e.start:0);t(null,a)})}}else if(e.hasOwnProperty("httpVersion")){t(null,+e.headers["content-length"])}else if(e.hasOwnProperty("httpModule")){e.on("response",function(i){e.pause();t(null,+i.headers["content-length"])});e.resume()}else{t("Unknown stream")}};FormData.prototype._multiPartHeader=function(e,t,i){if(typeof i.header=="string"){return i.header}var n=this._getContentDisposition(t,i);var a=this._getContentType(t,i);var r="";var s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(n||[]),"Content-Type":[].concat(a||[])};if(typeof i.header=="object"){p(s,i.header)}var o;for(var u in s){if(!s.hasOwnProperty(u))continue;o=s[u];if(o==null){continue}if(!Array.isArray(o)){o=[o]}if(o.length){r+=u+": "+o.join("; ")+FormData.LINE_BREAK}}return"--"+this.getBoundary()+FormData.LINE_BREAK+r+FormData.LINE_BREAK};FormData.prototype._getContentDisposition=function(e,t){var i,n;if(typeof t.filepath==="string"){i=r.normalize(t.filepath).replace(/\\/g,"/")}else if(t.filename||e.name||e.path){i=r.basename(t.filename||e.name||e.path)}else if(e.readable&&e.hasOwnProperty("httpVersion")){i=r.basename(e.client._httpMessage.path)}if(i){n='filename="'+i+'"'}return n};FormData.prototype._getContentType=function(e,t){var i=t.contentType;if(!i&&e.name){i=c.lookup(e.name)}if(!i&&e.path){i=c.lookup(e.path)}if(!i&&e.readable&&e.hasOwnProperty("httpVersion")){i=e.headers["content-type"]}if(!i&&(t.filepath||t.filename)){i=c.lookup(t.filepath||t.filename)}if(!i&&typeof e=="object"){i=FormData.DEFAULT_CONTENT_TYPE}return i};FormData.prototype._multiPartFooter=function(){return function(e){var t=FormData.LINE_BREAK;var i=this._streams.length===0;if(i){t+=this._lastBoundary()}e(t)}.bind(this)};FormData.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+FormData.LINE_BREAK};FormData.prototype.getHeaders=function(e){var t;var i={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e){if(e.hasOwnProperty(t)){i[t.toLowerCase()]=e[t]}}return i};FormData.prototype.getBoundary=function(){if(!this._boundary){this._generateBoundary()}return this._boundary};FormData.prototype._generateBoundary=function(){var e="--------------------------";for(var t=0;t<24;t++){e+=Math.floor(Math.random()*10).toString(16)}this._boundary=e};FormData.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;if(this._streams.length){e+=this._lastBoundary().length}if(!this.hasKnownLength()){this._error(new Error("Cannot calculate proper length in synchronous way."))}return e};FormData.prototype.hasKnownLength=function(){var e=true;if(this._valuesToMeasure.length){e=false}return e};FormData.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length){t+=this._lastBoundary().length}if(!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}d.parallel(this._valuesToMeasure,this._lengthRetriever,function(i,n){if(i){e(i);return}n.forEach(function(e){t+=e});e(null,t)})};FormData.prototype.submit=function(e,t){var i,n,a={method:"post"};if(typeof e=="string"){e=u(e);n=p({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},a)}else{n=p(e,a);if(!n.port){n.port=n.protocol=="https:"?443:80}}n.headers=this.getHeaders(e.headers);if(n.protocol=="https:"){i=o.request(n)}else{i=s.request(n)}this.getLength(function(e,n){if(e){this._error(e);return}i.setHeader("Content-Length",n);this.pipe(i);if(t){i.on("error",t);i.on("response",t.bind(this,null))}}.bind(this));return i};FormData.prototype._error=function(e){if(!this.error){this.error=e;this.pause();this.emit("error",e)}};FormData.prototype.toString=function(){return"[object FormData]"}},function(e,t,i){"use strict";const n=i(835);const a=i(783);e.exports=((e,t)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`url\` to be of type \`string\`, got \`${typeof e}\` instead.`)}const i=a(e,Object.assign({https:true},t));return n.parse(i)})},function(e,t,i){const n=Symbol("SemVer ANY");class Comparator{static get ANY(){return n}constructor(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}o("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===n){this.value=""}else{this.value=this.operator+this.semver.version}o("comp",this)}parse(e){const t=this.options.loose?a[r.COMPARATORLOOSE]:a[r.COMPARATOR];const i=e.match(t);if(!i){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=i[1]!==undefined?i[1]:"";if(this.operator==="="){this.operator=""}if(!i[2]){this.semver=n}else{this.semver=new u(i[2],this.options.loose)}}toString(){return this.value}test(e){o("Comparator.test",e,this.options.loose);if(this.semver===n||e===n){return true}if(typeof e==="string"){try{e=new u(e,this.options)}catch(e){return false}}return s(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(this.operator===""){if(this.value===""){return true}return new l(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new l(this.value,t).test(e.semver)}const i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");const n=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");const a=this.semver.version===e.semver.version;const r=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");const o=s(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<");const u=s(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return i||n||a&&r||o||u}}e.exports=Comparator;const{re:a,t:r}=i(976);const s=i(752);const o=i(548);const u=i(65);const l=i(124)},,function(e,t,i){"use strict";const n=i(861);const a=i(534);const r=i(89);const s=i(365);e.exports=((e,t,i)=>{const o=Number(e.headers["content-length"])||null;const u=s.download(e,i,o);r(e,u);const l=t.decompress===true&&a.function(n)&&t.method!=="HEAD"?n(u):u;if(!t.decompress&&["gzip","deflate"].includes(e.headers["content-encoding"])){t.encoding=null}i.emit("response",l);i.emit("downloadProgress",{percent:0,transferred:0,total:o});e.pipe(u)})},,function(e){e.exports=function(e){return new LruCache(e)};function LruCache(e){this.capacity=e|0;this.map=Object.create(null);this.list=new DoublyLinkedList}LruCache.prototype.get=function(e){var t=this.map[e];if(t==null)return undefined;this.used(t);return t.val};LruCache.prototype.set=function(e,t){var i=this.map[e];if(i!=null){i.val=t}else{if(!this.capacity)this.prune();if(!this.capacity)return false;i=new DoublyLinkedNode(e,t);this.map[e]=i;this.capacity--}this.used(i);return true};LruCache.prototype.used=function(e){this.list.moveToFront(e)};LruCache.prototype.prune=function(){var e=this.list.pop();if(e!=null){delete this.map[e.key];this.capacity++}};function DoublyLinkedList(){this.firstNode=null;this.lastNode=null}DoublyLinkedList.prototype.moveToFront=function(e){if(this.firstNode==e)return;this.remove(e);if(this.firstNode==null){this.firstNode=e;this.lastNode=e;e.prev=null;e.next=null}else{e.prev=null;e.next=this.firstNode;e.next.prev=e;this.firstNode=e}};DoublyLinkedList.prototype.pop=function(){var e=this.lastNode;if(e!=null){this.remove(e)}return e};DoublyLinkedList.prototype.remove=function(e){if(this.firstNode==e){this.firstNode=e.next}else if(e.prev!=null){e.prev.next=e.next}if(this.lastNode==e){this.lastNode=e.prev}else if(e.next!=null){e.next.prev=e.prev}};function DoublyLinkedNode(e,t){this.key=e;this.val=t;this.prev=null;this.next=null}},function(e,t,i){const{JWKKeySupport:n,JOSENotSupported:a}=i(466);const{KEY_MANAGEMENT_ENCRYPT:r,KEY_MANAGEMENT_DECRYPT:s}=i(771);const{JWA:o,JWK:u}=i(962);i(981)(o,u);i(787)(o,u);i(736)(o,u);i(34)(o,u);i(965)(o,u);i(749)(o);i(99)(o,u);i(408)(o,u);i(209)(o,u);i(36)(o,u);i(507)(o,u);i(533)(o,u);i(432)(o,u);i(713)(o,u);const l=(e,t,i)=>{const u=`_${t}_${i}`;let c;let d;if(t==="keyManagementEncrypt"){c="key management (encryption)";d=r}else if(t==="keyManagementDecrypt"){c="key management (decryption)";d=s}if(u in e){if(e[u]){return}throw new n(`the key does not support ${i} ${c||t} algorithm`)}let p=true;if(!o[t].has(i)){throw new a(`unsupported ${c||t} alg: ${i}`)}else if(!e.algorithms(d).has(i)){p=false}Object.defineProperty(e,u,{value:p,enumerable:false});if(!p){return l(e,t,i)}};e.exports={check:l,sign:(e,t,i)=>{l(t,"sign",e);return o.sign.get(e)(t,i)},verify:(e,t,i,n)=>{l(t,"verify",e);return o.verify.get(e)(t,i,n)},keyManagementEncrypt:(e,t,i,n)=>{l(t,"keyManagementEncrypt",e);return o.keyManagementEncrypt.get(e)(t,i,n)},keyManagementDecrypt:(e,t,i,n)=>{l(t,"keyManagementDecrypt",e);return o.keyManagementDecrypt.get(e)(t,i,n)},encrypt:(e,t,i,n)=>{l(t,"encrypt",e);return o.encrypt.get(e)(t,i,n)},decrypt:(e,t,i,n)=>{l(t,"decrypt",e);return o.decrypt.get(e)(t,i,n)}}},,function(e){const t="2.0.0";const i=256;const n=Number.MAX_SAFE_INTEGER||9007199254740991;const a=16;e.exports={SEMVER_SPEC_VERSION:t,MAX_LENGTH:i,MAX_SAFE_INTEGER:n,MAX_SAFE_COMPONENT_LENGTH:a}},,,function(e){e.exports=require("vm")},,function(e,t,i){const{generateKeyPairSync:n,generateKeyPair:a}=i(373);const{promisify:r}=i(669);const{THUMBPRINT_MATERIAL:s,JWK_MEMBERS:o,PUBLIC_MEMBERS:u,PRIVATE_MEMBERS:l,KEY_MANAGEMENT_DECRYPT:c,KEY_MANAGEMENT_ENCRYPT:d}=i(771);const{EC_CURVES:p}=i(962);const{keyObjectSupported:f}=i(915);const{createPublicKey:h,createPrivateKey:m}=i(40);const b=i(466);const{name:g}=i(997);const y=i(849);const S=r(a);const w=new Set(["crv","x","y"]);Object.freeze(w);const v=new Set([...w,"d"]);Object.freeze(v);class ECKey extends y{constructor(...e){super(...e);this[o]();Object.defineProperty(this,"kty",{value:"EC",enumerable:true});if(!p.has(this.crv)){throw new b.JOSENotSupported("unsupported EC key curve")}}static get[u](){return w}static get[l](){return v}[s](){return{crv:this.crv,kty:"EC",x:this.x,y:this.y}}[d](){return this.algorithms("deriveKey")}[c](){if(this.public){return new Set}return this.algorithms("deriveKey")}static async generate(e="P-256",t=true){if(!p.has(e)){throw new b.JOSENotSupported(`unsupported EC key curve: ${e}`)}if(e===g&&e!=="secp256k1"){e="secp256k1"}let i,n;if(f){({privateKey:i,publicKey:n}=await S("ec",{namedCurve:e}));return t?i:n}({privateKey:i,publicKey:n}=await S("ec",{namedCurve:e,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}));if(t){return m(i)}else{return h(n)}}static generateSync(e="P-256",t=true){if(!p.has(e)){throw new b.JOSENotSupported(`unsupported EC key curve: ${e}`)}if(e===g&&e!=="secp256k1"){e="secp256k1"}let i,a;if(f){({privateKey:i,publicKey:a}=n("ec",{namedCurve:e}));return t?i:a}({privateKey:i,publicKey:a}=n("ec",{namedCurve:e,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}));if(t){return m(i)}else{return h(a)}}}e.exports=ECKey},function(e){"use strict";e.exports=function generate_custom(e,t,i){var n=" ";var a=e.level;var r=e.dataLevel;var s=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var c;var d="data"+(r||"");var p="valid"+a;var f="errs__"+a;var h=e.opts.$data&&s&&s.$data,m;if(h){n+=" var schema"+a+" = "+e.util.getData(s.$data,r,e.dataPathArr)+"; ";m="schema"+a}else{m=s}var b=this,g="definition"+a,y=b.definition,S="";var w,v,z,j,O;if(h&&y.$data){O="keywordValidate"+a;var k=y.validateSchema;n+=" var "+g+" = RULES.custom['"+t+"'].definition; var "+O+" = "+g+".validate;"}else{j=e.useCustomRule(b,s,e.schema,e);if(!j)return;m="validate.schema"+o;O=j.code;w=y.compile;v=y.inline;z=y.macro}var C=O+".errors",T="i"+a,R="ruleErr"+a,E=y.async;if(E&&!e.async)throw new Error("async keyword in sync schema");if(!(v||z)){n+=""+C+" = null;"}n+="var "+f+" = errors;var "+p+";";if(h&&y.$data){S+="}";n+=" if ("+m+" === undefined) { "+p+" = true; } else { ";if(k){S+="}";n+=" "+p+" = "+g+".validateSchema("+m+"); if ("+p+") { "}}if(v){if(y.statements){n+=" "+j.validate+" "}else{n+=" "+p+" = "+j.validate+"; "}}else if(z){var A=e.util.copy(e);var S="";A.level++;var x="valid"+A.level;A.schema=j.validate;A.schemaPath="";var N=e.compositeRule;e.compositeRule=A.compositeRule=true;var V=e.validate(A).replace(/validate\.schema/g,O);e.compositeRule=A.compositeRule=N;n+=" "+V}else{var P=P||[];P.push(n);n="";n+=" "+O+".call( ";if(e.opts.passContext){n+="this"}else{n+="self"}if(w||y.schema===false){n+=" , "+d+" "}else{n+=" , "+m+" , "+d+" , validate.schema"+e.schemaPath+" "}n+=" , (dataPath || '')";if(e.errorPath!='""'){n+=" + "+e.errorPath}var D=r?"data"+(r-1||""):"parentData",I=r?e.dataPathArr[r]:"parentDataProperty";n+=" , "+D+" , "+I+" , rootData ) ";var _=n;n=P.pop();if(y.errors===false){n+=" "+p+" = ";if(E){n+="await "}n+=""+_+"; "}else{if(E){C="customErrors"+a;n+=" var "+C+" = null; try { "+p+" = await "+_+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+C+" = e.errors; else throw e; } "}else{n+=" "+C+" = null; "+p+" = "+_+"; "}}}if(y.modifying){n+=" if ("+D+") "+d+" = "+D+"["+I+"];"}n+=""+S;if(y.valid){if(l){n+=" if (true) { "}}else{n+=" if ( ";if(y.valid===undefined){n+=" !";if(z){n+=""+x}else{n+=""+p}}else{n+=" "+!y.valid+" "}n+=") { ";c=b.keyword;var P=P||[];P.push(n);n="";var P=P||[];P.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+b.keyword+"' } ";if(e.opts.messages!==false){n+=" , message: 'should pass \""+b.keyword+"\" keyword validation' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}n+=" } "}else{n+=" {} "}var q=n;n=P.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+q+"]); "}else{n+=" validate.errors = ["+q+"]; return false; "}}else{n+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var B=n;n=P.pop();if(v){if(y.errors){if(y.errors!="full"){n+=" for (var "+T+"="+f+"; "+T+">24&255;e[t+1]=i>>16&255;e[t+2]=i>>8&255;e[t+3]=i&255;e[t+4]=n>>24&255;e[t+5]=n>>16&255;e[t+6]=n>>8&255;e[t+7]=n&255}function vn(e,t,i,n,a){var r,s=0;for(r=0;r>>8)-1}function crypto_verify_16(e,t,i,n){return vn(e,t,i,n,16)}function crypto_verify_32(e,t,i,n){return vn(e,t,i,n,32)}function core_salsa20(e,t,i,n){var a=n[0]&255|(n[1]&255)<<8|(n[2]&255)<<16|(n[3]&255)<<24,r=i[0]&255|(i[1]&255)<<8|(i[2]&255)<<16|(i[3]&255)<<24,s=i[4]&255|(i[5]&255)<<8|(i[6]&255)<<16|(i[7]&255)<<24,o=i[8]&255|(i[9]&255)<<8|(i[10]&255)<<16|(i[11]&255)<<24,u=i[12]&255|(i[13]&255)<<8|(i[14]&255)<<16|(i[15]&255)<<24,l=n[4]&255|(n[5]&255)<<8|(n[6]&255)<<16|(n[7]&255)<<24,c=t[0]&255|(t[1]&255)<<8|(t[2]&255)<<16|(t[3]&255)<<24,d=t[4]&255|(t[5]&255)<<8|(t[6]&255)<<16|(t[7]&255)<<24,p=t[8]&255|(t[9]&255)<<8|(t[10]&255)<<16|(t[11]&255)<<24,f=t[12]&255|(t[13]&255)<<8|(t[14]&255)<<16|(t[15]&255)<<24,h=n[8]&255|(n[9]&255)<<8|(n[10]&255)<<16|(n[11]&255)<<24,m=i[16]&255|(i[17]&255)<<8|(i[18]&255)<<16|(i[19]&255)<<24,b=i[20]&255|(i[21]&255)<<8|(i[22]&255)<<16|(i[23]&255)<<24,g=i[24]&255|(i[25]&255)<<8|(i[26]&255)<<16|(i[27]&255)<<24,y=i[28]&255|(i[29]&255)<<8|(i[30]&255)<<16|(i[31]&255)<<24,S=n[12]&255|(n[13]&255)<<8|(n[14]&255)<<16|(n[15]&255)<<24;var w=a,v=r,z=s,j=o,O=u,k=l,C=c,T=d,R=p,E=f,A=h,x=m,N=b,V=g,P=y,D=S,I;for(var _=0;_<20;_+=2){I=w+N|0;O^=I<<7|I>>>32-7;I=O+w|0;R^=I<<9|I>>>32-9;I=R+O|0;N^=I<<13|I>>>32-13;I=N+R|0;w^=I<<18|I>>>32-18;I=k+v|0;E^=I<<7|I>>>32-7;I=E+k|0;V^=I<<9|I>>>32-9;I=V+E|0;v^=I<<13|I>>>32-13;I=v+V|0;k^=I<<18|I>>>32-18;I=A+C|0;P^=I<<7|I>>>32-7;I=P+A|0;z^=I<<9|I>>>32-9;I=z+P|0;C^=I<<13|I>>>32-13;I=C+z|0;A^=I<<18|I>>>32-18;I=D+x|0;j^=I<<7|I>>>32-7;I=j+D|0;T^=I<<9|I>>>32-9;I=T+j|0;x^=I<<13|I>>>32-13;I=x+T|0;D^=I<<18|I>>>32-18;I=w+j|0;v^=I<<7|I>>>32-7;I=v+w|0;z^=I<<9|I>>>32-9;I=z+v|0;j^=I<<13|I>>>32-13;I=j+z|0;w^=I<<18|I>>>32-18;I=k+O|0;C^=I<<7|I>>>32-7;I=C+k|0;T^=I<<9|I>>>32-9;I=T+C|0;O^=I<<13|I>>>32-13;I=O+T|0;k^=I<<18|I>>>32-18;I=A+E|0;x^=I<<7|I>>>32-7;I=x+A|0;R^=I<<9|I>>>32-9;I=R+x|0;E^=I<<13|I>>>32-13;I=E+R|0;A^=I<<18|I>>>32-18;I=D+P|0;N^=I<<7|I>>>32-7;I=N+D|0;V^=I<<9|I>>>32-9;I=V+N|0;P^=I<<13|I>>>32-13;I=P+V|0;D^=I<<18|I>>>32-18}w=w+a|0;v=v+r|0;z=z+s|0;j=j+o|0;O=O+u|0;k=k+l|0;C=C+c|0;T=T+d|0;R=R+p|0;E=E+f|0;A=A+h|0;x=x+m|0;N=N+b|0;V=V+g|0;P=P+y|0;D=D+S|0;e[0]=w>>>0&255;e[1]=w>>>8&255;e[2]=w>>>16&255;e[3]=w>>>24&255;e[4]=v>>>0&255;e[5]=v>>>8&255;e[6]=v>>>16&255;e[7]=v>>>24&255;e[8]=z>>>0&255;e[9]=z>>>8&255;e[10]=z>>>16&255;e[11]=z>>>24&255;e[12]=j>>>0&255;e[13]=j>>>8&255;e[14]=j>>>16&255;e[15]=j>>>24&255;e[16]=O>>>0&255;e[17]=O>>>8&255;e[18]=O>>>16&255;e[19]=O>>>24&255;e[20]=k>>>0&255;e[21]=k>>>8&255;e[22]=k>>>16&255;e[23]=k>>>24&255;e[24]=C>>>0&255;e[25]=C>>>8&255;e[26]=C>>>16&255;e[27]=C>>>24&255;e[28]=T>>>0&255;e[29]=T>>>8&255;e[30]=T>>>16&255;e[31]=T>>>24&255;e[32]=R>>>0&255;e[33]=R>>>8&255;e[34]=R>>>16&255;e[35]=R>>>24&255;e[36]=E>>>0&255;e[37]=E>>>8&255;e[38]=E>>>16&255;e[39]=E>>>24&255;e[40]=A>>>0&255;e[41]=A>>>8&255;e[42]=A>>>16&255;e[43]=A>>>24&255;e[44]=x>>>0&255;e[45]=x>>>8&255;e[46]=x>>>16&255;e[47]=x>>>24&255;e[48]=N>>>0&255;e[49]=N>>>8&255;e[50]=N>>>16&255;e[51]=N>>>24&255;e[52]=V>>>0&255;e[53]=V>>>8&255;e[54]=V>>>16&255;e[55]=V>>>24&255;e[56]=P>>>0&255;e[57]=P>>>8&255;e[58]=P>>>16&255;e[59]=P>>>24&255;e[60]=D>>>0&255;e[61]=D>>>8&255;e[62]=D>>>16&255;e[63]=D>>>24&255}function core_hsalsa20(e,t,i,n){var a=n[0]&255|(n[1]&255)<<8|(n[2]&255)<<16|(n[3]&255)<<24,r=i[0]&255|(i[1]&255)<<8|(i[2]&255)<<16|(i[3]&255)<<24,s=i[4]&255|(i[5]&255)<<8|(i[6]&255)<<16|(i[7]&255)<<24,o=i[8]&255|(i[9]&255)<<8|(i[10]&255)<<16|(i[11]&255)<<24,u=i[12]&255|(i[13]&255)<<8|(i[14]&255)<<16|(i[15]&255)<<24,l=n[4]&255|(n[5]&255)<<8|(n[6]&255)<<16|(n[7]&255)<<24,c=t[0]&255|(t[1]&255)<<8|(t[2]&255)<<16|(t[3]&255)<<24,d=t[4]&255|(t[5]&255)<<8|(t[6]&255)<<16|(t[7]&255)<<24,p=t[8]&255|(t[9]&255)<<8|(t[10]&255)<<16|(t[11]&255)<<24,f=t[12]&255|(t[13]&255)<<8|(t[14]&255)<<16|(t[15]&255)<<24,h=n[8]&255|(n[9]&255)<<8|(n[10]&255)<<16|(n[11]&255)<<24,m=i[16]&255|(i[17]&255)<<8|(i[18]&255)<<16|(i[19]&255)<<24,b=i[20]&255|(i[21]&255)<<8|(i[22]&255)<<16|(i[23]&255)<<24,g=i[24]&255|(i[25]&255)<<8|(i[26]&255)<<16|(i[27]&255)<<24,y=i[28]&255|(i[29]&255)<<8|(i[30]&255)<<16|(i[31]&255)<<24,S=n[12]&255|(n[13]&255)<<8|(n[14]&255)<<16|(n[15]&255)<<24;var w=a,v=r,z=s,j=o,O=u,k=l,C=c,T=d,R=p,E=f,A=h,x=m,N=b,V=g,P=y,D=S,I;for(var _=0;_<20;_+=2){I=w+N|0;O^=I<<7|I>>>32-7;I=O+w|0;R^=I<<9|I>>>32-9;I=R+O|0;N^=I<<13|I>>>32-13;I=N+R|0;w^=I<<18|I>>>32-18;I=k+v|0;E^=I<<7|I>>>32-7;I=E+k|0;V^=I<<9|I>>>32-9;I=V+E|0;v^=I<<13|I>>>32-13;I=v+V|0;k^=I<<18|I>>>32-18;I=A+C|0;P^=I<<7|I>>>32-7;I=P+A|0;z^=I<<9|I>>>32-9;I=z+P|0;C^=I<<13|I>>>32-13;I=C+z|0;A^=I<<18|I>>>32-18;I=D+x|0;j^=I<<7|I>>>32-7;I=j+D|0;T^=I<<9|I>>>32-9;I=T+j|0;x^=I<<13|I>>>32-13;I=x+T|0;D^=I<<18|I>>>32-18;I=w+j|0;v^=I<<7|I>>>32-7;I=v+w|0;z^=I<<9|I>>>32-9;I=z+v|0;j^=I<<13|I>>>32-13;I=j+z|0;w^=I<<18|I>>>32-18;I=k+O|0;C^=I<<7|I>>>32-7;I=C+k|0;T^=I<<9|I>>>32-9;I=T+C|0;O^=I<<13|I>>>32-13;I=O+T|0;k^=I<<18|I>>>32-18;I=A+E|0;x^=I<<7|I>>>32-7;I=x+A|0;R^=I<<9|I>>>32-9;I=R+x|0;E^=I<<13|I>>>32-13;I=E+R|0;A^=I<<18|I>>>32-18;I=D+P|0;N^=I<<7|I>>>32-7;I=N+D|0;V^=I<<9|I>>>32-9;I=V+N|0;P^=I<<13|I>>>32-13;I=P+V|0;D^=I<<18|I>>>32-18}e[0]=w>>>0&255;e[1]=w>>>8&255;e[2]=w>>>16&255;e[3]=w>>>24&255;e[4]=k>>>0&255;e[5]=k>>>8&255;e[6]=k>>>16&255;e[7]=k>>>24&255;e[8]=A>>>0&255;e[9]=A>>>8&255;e[10]=A>>>16&255;e[11]=A>>>24&255;e[12]=D>>>0&255;e[13]=D>>>8&255;e[14]=D>>>16&255;e[15]=D>>>24&255;e[16]=C>>>0&255;e[17]=C>>>8&255;e[18]=C>>>16&255;e[19]=C>>>24&255;e[20]=T>>>0&255;e[21]=T>>>8&255;e[22]=T>>>16&255;e[23]=T>>>24&255;e[24]=R>>>0&255;e[25]=R>>>8&255;e[26]=R>>>16&255;e[27]=R>>>24&255;e[28]=E>>>0&255;e[29]=E>>>8&255;e[30]=E>>>16&255;e[31]=E>>>24&255}function crypto_core_salsa20(e,t,i,n){core_salsa20(e,t,i,n)}function crypto_core_hsalsa20(e,t,i,n){core_hsalsa20(e,t,i,n)}var h=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function crypto_stream_salsa20_xor(e,t,i,n,a,r,s){var o=new Uint8Array(16),u=new Uint8Array(64);var l,c;for(c=0;c<16;c++)o[c]=0;for(c=0;c<8;c++)o[c]=r[c];while(a>=64){crypto_core_salsa20(u,o,s,h);for(c=0;c<64;c++)e[t+c]=i[n+c]^u[c];l=1;for(c=8;c<16;c++){l=l+(o[c]&255)|0;o[c]=l&255;l>>>=8}a-=64;t+=64;n+=64}if(a>0){crypto_core_salsa20(u,o,s,h);for(c=0;c=64){crypto_core_salsa20(s,r,a,h);for(u=0;u<64;u++)e[t+u]=s[u];o=1;for(u=8;u<16;u++){o=o+(r[u]&255)|0;r[u]=o&255;o>>>=8}i-=64;t+=64}if(i>0){crypto_core_salsa20(s,r,a,h);for(u=0;u>>13|i<<3)&8191;n=e[4]&255|(e[5]&255)<<8;this.r[2]=(i>>>10|n<<6)&7939;a=e[6]&255|(e[7]&255)<<8;this.r[3]=(n>>>7|a<<9)&8191;r=e[8]&255|(e[9]&255)<<8;this.r[4]=(a>>>4|r<<12)&255;this.r[5]=r>>>1&8190;s=e[10]&255|(e[11]&255)<<8;this.r[6]=(r>>>14|s<<2)&8191;o=e[12]&255|(e[13]&255)<<8;this.r[7]=(s>>>11|o<<5)&8065;u=e[14]&255|(e[15]&255)<<8;this.r[8]=(o>>>8|u<<8)&8191;this.r[9]=u>>>5&127;this.pad[0]=e[16]&255|(e[17]&255)<<8;this.pad[1]=e[18]&255|(e[19]&255)<<8;this.pad[2]=e[20]&255|(e[21]&255)<<8;this.pad[3]=e[22]&255|(e[23]&255)<<8;this.pad[4]=e[24]&255|(e[25]&255)<<8;this.pad[5]=e[26]&255|(e[27]&255)<<8;this.pad[6]=e[28]&255|(e[29]&255)<<8;this.pad[7]=e[30]&255|(e[31]&255)<<8};m.prototype.blocks=function(e,t,i){var n=this.fin?0:1<<11;var a,r,s,o,u,l,c,d,p;var f,h,m,b,g,y,S,w,v,z;var j=this.h[0],O=this.h[1],k=this.h[2],C=this.h[3],T=this.h[4],R=this.h[5],E=this.h[6],A=this.h[7],x=this.h[8],N=this.h[9];var V=this.r[0],P=this.r[1],D=this.r[2],I=this.r[3],_=this.r[4],q=this.r[5],B=this.r[6],M=this.r[7],U=this.r[8],L=this.r[9];while(i>=16){a=e[t+0]&255|(e[t+1]&255)<<8;j+=a&8191;r=e[t+2]&255|(e[t+3]&255)<<8;O+=(a>>>13|r<<3)&8191;s=e[t+4]&255|(e[t+5]&255)<<8;k+=(r>>>10|s<<6)&8191;o=e[t+6]&255|(e[t+7]&255)<<8;C+=(s>>>7|o<<9)&8191;u=e[t+8]&255|(e[t+9]&255)<<8;T+=(o>>>4|u<<12)&8191;R+=u>>>1&8191;l=e[t+10]&255|(e[t+11]&255)<<8;E+=(u>>>14|l<<2)&8191;c=e[t+12]&255|(e[t+13]&255)<<8;A+=(l>>>11|c<<5)&8191;d=e[t+14]&255|(e[t+15]&255)<<8;x+=(c>>>8|d<<8)&8191;N+=d>>>5|n;p=0;f=p;f+=j*V;f+=O*(5*L);f+=k*(5*U);f+=C*(5*M);f+=T*(5*B);p=f>>>13;f&=8191;f+=R*(5*q);f+=E*(5*_);f+=A*(5*I);f+=x*(5*D);f+=N*(5*P);p+=f>>>13;f&=8191;h=p;h+=j*P;h+=O*V;h+=k*(5*L);h+=C*(5*U);h+=T*(5*M);p=h>>>13;h&=8191;h+=R*(5*B);h+=E*(5*q);h+=A*(5*_);h+=x*(5*I);h+=N*(5*D);p+=h>>>13;h&=8191;m=p;m+=j*D;m+=O*P;m+=k*V;m+=C*(5*L);m+=T*(5*U);p=m>>>13;m&=8191;m+=R*(5*M);m+=E*(5*B);m+=A*(5*q);m+=x*(5*_);m+=N*(5*I);p+=m>>>13;m&=8191;b=p;b+=j*I;b+=O*D;b+=k*P;b+=C*V;b+=T*(5*L);p=b>>>13;b&=8191;b+=R*(5*U);b+=E*(5*M);b+=A*(5*B);b+=x*(5*q);b+=N*(5*_);p+=b>>>13;b&=8191;g=p;g+=j*_;g+=O*I;g+=k*D;g+=C*P;g+=T*V;p=g>>>13;g&=8191;g+=R*(5*L);g+=E*(5*U);g+=A*(5*M);g+=x*(5*B);g+=N*(5*q);p+=g>>>13;g&=8191;y=p;y+=j*q;y+=O*_;y+=k*I;y+=C*D;y+=T*P;p=y>>>13;y&=8191;y+=R*V;y+=E*(5*L);y+=A*(5*U);y+=x*(5*M);y+=N*(5*B);p+=y>>>13;y&=8191;S=p;S+=j*B;S+=O*q;S+=k*_;S+=C*I;S+=T*D;p=S>>>13;S&=8191;S+=R*P;S+=E*V;S+=A*(5*L);S+=x*(5*U);S+=N*(5*M);p+=S>>>13;S&=8191;w=p;w+=j*M;w+=O*B;w+=k*q;w+=C*_;w+=T*I;p=w>>>13;w&=8191;w+=R*D;w+=E*P;w+=A*V;w+=x*(5*L);w+=N*(5*U);p+=w>>>13;w&=8191;v=p;v+=j*U;v+=O*M;v+=k*B;v+=C*q;v+=T*_;p=v>>>13;v&=8191;v+=R*I;v+=E*D;v+=A*P;v+=x*V;v+=N*(5*L);p+=v>>>13;v&=8191;z=p;z+=j*L;z+=O*U;z+=k*M;z+=C*B;z+=T*q;p=z>>>13;z&=8191;z+=R*_;z+=E*I;z+=A*D;z+=x*P;z+=N*V;p+=z>>>13;z&=8191;p=(p<<2)+p|0;p=p+f|0;f=p&8191;p=p>>>13;h+=p;j=f;O=h;k=m;C=b;T=g;R=y;E=S;A=w;x=v;N=z;t+=16;i-=16}this.h[0]=j;this.h[1]=O;this.h[2]=k;this.h[3]=C;this.h[4]=T;this.h[5]=R;this.h[6]=E;this.h[7]=A;this.h[8]=x;this.h[9]=N};m.prototype.finish=function(e,t){var i=new Uint16Array(10);var n,a,r,s;if(this.leftover){s=this.leftover;this.buffer[s++]=1;for(;s<16;s++)this.buffer[s]=0;this.fin=1;this.blocks(this.buffer,0,16)}n=this.h[1]>>>13;this.h[1]&=8191;for(s=2;s<10;s++){this.h[s]+=n;n=this.h[s]>>>13;this.h[s]&=8191}this.h[0]+=n*5;n=this.h[0]>>>13;this.h[0]&=8191;this.h[1]+=n;n=this.h[1]>>>13;this.h[1]&=8191;this.h[2]+=n;i[0]=this.h[0]+5;n=i[0]>>>13;i[0]&=8191;for(s=1;s<10;s++){i[s]=this.h[s]+n;n=i[s]>>>13;i[s]&=8191}i[9]-=1<<13;a=(n^1)-1;for(s=0;s<10;s++)i[s]&=a;a=~a;for(s=0;s<10;s++)this.h[s]=this.h[s]&a|i[s];this.h[0]=(this.h[0]|this.h[1]<<13)&65535;this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535;this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535;this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535;this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535;this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535;this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535;this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535;r=this.h[0]+this.pad[0];this.h[0]=r&65535;for(s=1;s<8;s++){r=(this.h[s]+this.pad[s]|0)+(r>>>16)|0;this.h[s]=r&65535}e[t+0]=this.h[0]>>>0&255;e[t+1]=this.h[0]>>>8&255;e[t+2]=this.h[1]>>>0&255;e[t+3]=this.h[1]>>>8&255;e[t+4]=this.h[2]>>>0&255;e[t+5]=this.h[2]>>>8&255;e[t+6]=this.h[3]>>>0&255;e[t+7]=this.h[3]>>>8&255;e[t+8]=this.h[4]>>>0&255;e[t+9]=this.h[4]>>>8&255;e[t+10]=this.h[5]>>>0&255;e[t+11]=this.h[5]>>>8&255;e[t+12]=this.h[6]>>>0&255;e[t+13]=this.h[6]>>>8&255;e[t+14]=this.h[7]>>>0&255;e[t+15]=this.h[7]>>>8&255};m.prototype.update=function(e,t,i){var n,a;if(this.leftover){a=16-this.leftover;if(a>i)a=i;for(n=0;n=16){a=i-i%16;this.blocks(e,t,a);t+=a;i-=a}if(i){for(n=0;n>16&1);s[n-1]&=65535}s[15]=o[15]-32767-(s[14]>>16&1);r=s[15]>>16&1;s[14]&=65535;sel25519(o,s,1-r)}for(n=0;n<16;n++){e[2*n]=o[n]&255;e[2*n+1]=o[n]>>8}}function neq25519(e,t){var i=new Uint8Array(32),n=new Uint8Array(32);pack25519(i,e);pack25519(n,t);return crypto_verify_32(i,0,n,0)}function par25519(e){var t=new Uint8Array(32);pack25519(t,e);return t[0]&1}function unpack25519(e,t){var i;for(i=0;i<16;i++)e[i]=t[2*i]+(t[2*i+1]<<8);e[15]&=32767}function A(e,t,i){for(var n=0;n<16;n++)e[n]=t[n]+i[n]}function Z(e,t,i){for(var n=0;n<16;n++)e[n]=t[n]-i[n]}function M(e,t,i){var n,a,r=0,s=0,o=0,u=0,l=0,c=0,d=0,p=0,f=0,h=0,m=0,b=0,g=0,y=0,S=0,w=0,v=0,z=0,j=0,O=0,k=0,C=0,T=0,R=0,E=0,A=0,x=0,N=0,V=0,P=0,D=0,I=i[0],_=i[1],q=i[2],B=i[3],M=i[4],U=i[5],L=i[6],H=i[7],Q=i[8],W=i[9],G=i[10],K=i[11],J=i[12],F=i[13],Y=i[14],X=i[15];n=t[0];r+=n*I;s+=n*_;o+=n*q;u+=n*B;l+=n*M;c+=n*U;d+=n*L;p+=n*H;f+=n*Q;h+=n*W;m+=n*G;b+=n*K;g+=n*J;y+=n*F;S+=n*Y;w+=n*X;n=t[1];s+=n*I;o+=n*_;u+=n*q;l+=n*B;c+=n*M;d+=n*U;p+=n*L;f+=n*H;h+=n*Q;m+=n*W;b+=n*G;g+=n*K;y+=n*J;S+=n*F;w+=n*Y;v+=n*X;n=t[2];o+=n*I;u+=n*_;l+=n*q;c+=n*B;d+=n*M;p+=n*U;f+=n*L;h+=n*H;m+=n*Q;b+=n*W;g+=n*G;y+=n*K;S+=n*J;w+=n*F;v+=n*Y;z+=n*X;n=t[3];u+=n*I;l+=n*_;c+=n*q;d+=n*B;p+=n*M;f+=n*U;h+=n*L;m+=n*H;b+=n*Q;g+=n*W;y+=n*G;S+=n*K;w+=n*J;v+=n*F;z+=n*Y;j+=n*X;n=t[4];l+=n*I;c+=n*_;d+=n*q;p+=n*B;f+=n*M;h+=n*U;m+=n*L;b+=n*H;g+=n*Q;y+=n*W;S+=n*G;w+=n*K;v+=n*J;z+=n*F;j+=n*Y;O+=n*X;n=t[5];c+=n*I;d+=n*_;p+=n*q;f+=n*B;h+=n*M;m+=n*U;b+=n*L;g+=n*H;y+=n*Q;S+=n*W;w+=n*G;v+=n*K;z+=n*J;j+=n*F;O+=n*Y;k+=n*X;n=t[6];d+=n*I;p+=n*_;f+=n*q;h+=n*B;m+=n*M;b+=n*U;g+=n*L;y+=n*H;S+=n*Q;w+=n*W;v+=n*G;z+=n*K;j+=n*J;O+=n*F;k+=n*Y;C+=n*X;n=t[7];p+=n*I;f+=n*_;h+=n*q;m+=n*B;b+=n*M;g+=n*U;y+=n*L;S+=n*H;w+=n*Q;v+=n*W;z+=n*G;j+=n*K;O+=n*J;k+=n*F;C+=n*Y;T+=n*X;n=t[8];f+=n*I;h+=n*_;m+=n*q;b+=n*B;g+=n*M;y+=n*U;S+=n*L;w+=n*H;v+=n*Q;z+=n*W;j+=n*G;O+=n*K;k+=n*J;C+=n*F;T+=n*Y;R+=n*X;n=t[9];h+=n*I;m+=n*_;b+=n*q;g+=n*B;y+=n*M;S+=n*U;w+=n*L;v+=n*H;z+=n*Q;j+=n*W;O+=n*G;k+=n*K;C+=n*J;T+=n*F;R+=n*Y;E+=n*X;n=t[10];m+=n*I;b+=n*_;g+=n*q;y+=n*B;S+=n*M;w+=n*U;v+=n*L;z+=n*H;j+=n*Q;O+=n*W;k+=n*G;C+=n*K;T+=n*J;R+=n*F;E+=n*Y;A+=n*X;n=t[11];b+=n*I;g+=n*_;y+=n*q;S+=n*B;w+=n*M;v+=n*U;z+=n*L;j+=n*H;O+=n*Q;k+=n*W;C+=n*G;T+=n*K;R+=n*J;E+=n*F;A+=n*Y;x+=n*X;n=t[12];g+=n*I;y+=n*_;S+=n*q;w+=n*B;v+=n*M;z+=n*U;j+=n*L;O+=n*H;k+=n*Q;C+=n*W;T+=n*G;R+=n*K;E+=n*J;A+=n*F;x+=n*Y;N+=n*X;n=t[13];y+=n*I;S+=n*_;w+=n*q;v+=n*B;z+=n*M;j+=n*U;O+=n*L;k+=n*H;C+=n*Q;T+=n*W;R+=n*G;E+=n*K;A+=n*J;x+=n*F;N+=n*Y;V+=n*X;n=t[14];S+=n*I;w+=n*_;v+=n*q;z+=n*B;j+=n*M;O+=n*U;k+=n*L;C+=n*H;T+=n*Q;R+=n*W;E+=n*G;A+=n*K;x+=n*J;N+=n*F;V+=n*Y;P+=n*X;n=t[15];w+=n*I;v+=n*_;z+=n*q;j+=n*B;O+=n*M;k+=n*U;C+=n*L;T+=n*H;R+=n*Q;E+=n*W;A+=n*G;x+=n*K;N+=n*J;V+=n*F;P+=n*Y;D+=n*X;r+=38*v;s+=38*z;o+=38*j;u+=38*O;l+=38*k;c+=38*C;d+=38*T;p+=38*R;f+=38*E;h+=38*A;m+=38*x;b+=38*N;g+=38*V;y+=38*P;S+=38*D;a=1;n=r+a+65535;a=Math.floor(n/65536);r=n-a*65536;n=s+a+65535;a=Math.floor(n/65536);s=n-a*65536;n=o+a+65535;a=Math.floor(n/65536);o=n-a*65536;n=u+a+65535;a=Math.floor(n/65536);u=n-a*65536;n=l+a+65535;a=Math.floor(n/65536);l=n-a*65536;n=c+a+65535;a=Math.floor(n/65536);c=n-a*65536;n=d+a+65535;a=Math.floor(n/65536);d=n-a*65536;n=p+a+65535;a=Math.floor(n/65536);p=n-a*65536;n=f+a+65535;a=Math.floor(n/65536);f=n-a*65536;n=h+a+65535;a=Math.floor(n/65536);h=n-a*65536;n=m+a+65535;a=Math.floor(n/65536);m=n-a*65536;n=b+a+65535;a=Math.floor(n/65536);b=n-a*65536;n=g+a+65535;a=Math.floor(n/65536);g=n-a*65536;n=y+a+65535;a=Math.floor(n/65536);y=n-a*65536;n=S+a+65535;a=Math.floor(n/65536);S=n-a*65536;n=w+a+65535;a=Math.floor(n/65536);w=n-a*65536;r+=a-1+37*(a-1);a=1;n=r+a+65535;a=Math.floor(n/65536);r=n-a*65536;n=s+a+65535;a=Math.floor(n/65536);s=n-a*65536;n=o+a+65535;a=Math.floor(n/65536);o=n-a*65536;n=u+a+65535;a=Math.floor(n/65536);u=n-a*65536;n=l+a+65535;a=Math.floor(n/65536);l=n-a*65536;n=c+a+65535;a=Math.floor(n/65536);c=n-a*65536;n=d+a+65535;a=Math.floor(n/65536);d=n-a*65536;n=p+a+65535;a=Math.floor(n/65536);p=n-a*65536;n=f+a+65535;a=Math.floor(n/65536);f=n-a*65536;n=h+a+65535;a=Math.floor(n/65536);h=n-a*65536;n=m+a+65535;a=Math.floor(n/65536);m=n-a*65536;n=b+a+65535;a=Math.floor(n/65536);b=n-a*65536;n=g+a+65535;a=Math.floor(n/65536);g=n-a*65536;n=y+a+65535;a=Math.floor(n/65536);y=n-a*65536;n=S+a+65535;a=Math.floor(n/65536);S=n-a*65536;n=w+a+65535;a=Math.floor(n/65536);w=n-a*65536;r+=a-1+37*(a-1);e[0]=r;e[1]=s;e[2]=o;e[3]=u;e[4]=l;e[5]=c;e[6]=d;e[7]=p;e[8]=f;e[9]=h;e[10]=m;e[11]=b;e[12]=g;e[13]=y;e[14]=S;e[15]=w}function S(e,t){M(e,t,t)}function inv25519(e,i){var n=t();var a;for(a=0;a<16;a++)n[a]=i[a];for(a=253;a>=0;a--){S(n,n);if(a!==2&&a!==4)M(n,n,i)}for(a=0;a<16;a++)e[a]=n[a]}function pow2523(e,i){var n=t();var a;for(a=0;a<16;a++)n[a]=i[a];for(a=250;a>=0;a--){S(n,n);if(a!==1)M(n,n,i)}for(a=0;a<16;a++)e[a]=n[a]}function crypto_scalarmult(e,i,n){var a=new Uint8Array(32);var r=new Float64Array(80),s,o;var l=t(),c=t(),d=t(),p=t(),f=t(),h=t();for(o=0;o<31;o++)a[o]=i[o];a[31]=i[31]&127|64;a[0]&=248;unpack25519(r,n);for(o=0;o<16;o++){c[o]=r[o];p[o]=l[o]=d[o]=0}l[0]=p[0]=1;for(o=254;o>=0;--o){s=a[o>>>3]>>>(o&7)&1;sel25519(l,c,s);sel25519(d,p,s);A(f,l,d);Z(l,l,d);A(d,c,p);Z(c,c,p);S(p,f);S(h,l);M(l,d,l);M(d,c,f);A(f,l,d);Z(l,l,d);S(c,l);Z(d,p,h);M(l,d,u);A(l,l,p);M(d,d,l);M(l,p,h);M(p,c,r);S(c,f);sel25519(l,c,s);sel25519(d,p,s)}for(o=0;o<16;o++){r[o+16]=l[o];r[o+32]=d[o];r[o+48]=c[o];r[o+64]=p[o]}var m=r.subarray(32);var b=r.subarray(16);inv25519(m,m);M(b,b,m);pack25519(e,b);return 0}function crypto_scalarmult_base(e,t){return crypto_scalarmult(e,t,r)}function crypto_box_keypair(e,t){n(t,32);return crypto_scalarmult_base(e,t)}function crypto_box_beforenm(e,t,i){var n=new Uint8Array(32);crypto_scalarmult(n,i,t);return crypto_core_hsalsa20(e,a,n,h)}var b=crypto_secretbox;var g=crypto_secretbox_open;function crypto_box(e,t,i,n,a,r){var s=new Uint8Array(32);crypto_box_beforenm(s,a,r);return b(e,t,i,n,s)}function crypto_box_open(e,t,i,n,a,r){var s=new Uint8Array(32);crypto_box_beforenm(s,a,r);return g(e,t,i,n,s)}var y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function crypto_hashblocks_hl(e,t,i,n){var a=new Int32Array(16),r=new Int32Array(16),s,o,u,l,c,d,p,f,h,m,b,g,S,w,v,z,j,O,k,C,T,R,E,A,x,N;var V=e[0],P=e[1],D=e[2],I=e[3],_=e[4],q=e[5],B=e[6],M=e[7],U=t[0],L=t[1],H=t[2],Q=t[3],W=t[4],G=t[5],K=t[6],J=t[7];var F=0;while(n>=128){for(k=0;k<16;k++){C=8*k+F;a[k]=i[C+0]<<24|i[C+1]<<16|i[C+2]<<8|i[C+3];r[k]=i[C+4]<<24|i[C+5]<<16|i[C+6]<<8|i[C+7]}for(k=0;k<80;k++){s=V;o=P;u=D;l=I;c=_;d=q;p=B;f=M;h=U;m=L;b=H;g=Q;S=W;w=G;v=K;z=J;T=M;R=J;E=R&65535;A=R>>>16;x=T&65535;N=T>>>16;T=(_>>>14|W<<32-14)^(_>>>18|W<<32-18)^(W>>>41-32|_<<32-(41-32));R=(W>>>14|_<<32-14)^(W>>>18|_<<32-18)^(_>>>41-32|W<<32-(41-32));E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;T=_&q^~_&B;R=W&G^~W&K;E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;T=y[k*2];R=y[k*2+1];E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;T=a[k%16];R=r[k%16];E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;A+=E>>>16;x+=A>>>16;N+=x>>>16;j=x&65535|N<<16;O=E&65535|A<<16;T=j;R=O;E=R&65535;A=R>>>16;x=T&65535;N=T>>>16;T=(V>>>28|U<<32-28)^(U>>>34-32|V<<32-(34-32))^(U>>>39-32|V<<32-(39-32));R=(U>>>28|V<<32-28)^(V>>>34-32|U<<32-(34-32))^(V>>>39-32|U<<32-(39-32));E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;T=V&P^V&D^P&D;R=U&L^U&H^L&H;E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;A+=E>>>16;x+=A>>>16;N+=x>>>16;f=x&65535|N<<16;z=E&65535|A<<16;T=l;R=g;E=R&65535;A=R>>>16;x=T&65535;N=T>>>16;T=j;R=O;E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;A+=E>>>16;x+=A>>>16;N+=x>>>16;l=x&65535|N<<16;g=E&65535|A<<16;P=s;D=o;I=u;_=l;q=c;B=d;M=p;V=f;L=h;H=m;Q=b;W=g;G=S;K=w;J=v;U=z;if(k%16===15){for(C=0;C<16;C++){T=a[C];R=r[C];E=R&65535;A=R>>>16;x=T&65535;N=T>>>16;T=a[(C+9)%16];R=r[(C+9)%16];E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;j=a[(C+1)%16];O=r[(C+1)%16];T=(j>>>1|O<<32-1)^(j>>>8|O<<32-8)^j>>>7;R=(O>>>1|j<<32-1)^(O>>>8|j<<32-8)^(O>>>7|j<<32-7);E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;j=a[(C+14)%16];O=r[(C+14)%16];T=(j>>>19|O<<32-19)^(O>>>61-32|j<<32-(61-32))^j>>>6;R=(O>>>19|j<<32-19)^(j>>>61-32|O<<32-(61-32))^(O>>>6|j<<32-6);E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;A+=E>>>16;x+=A>>>16;N+=x>>>16;a[C]=x&65535|N<<16;r[C]=E&65535|A<<16}}}T=V;R=U;E=R&65535;A=R>>>16;x=T&65535;N=T>>>16;T=e[0];R=t[0];E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;A+=E>>>16;x+=A>>>16;N+=x>>>16;e[0]=V=x&65535|N<<16;t[0]=U=E&65535|A<<16;T=P;R=L;E=R&65535;A=R>>>16;x=T&65535;N=T>>>16;T=e[1];R=t[1];E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;A+=E>>>16;x+=A>>>16;N+=x>>>16;e[1]=P=x&65535|N<<16;t[1]=L=E&65535|A<<16;T=D;R=H;E=R&65535;A=R>>>16;x=T&65535;N=T>>>16;T=e[2];R=t[2];E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;A+=E>>>16;x+=A>>>16;N+=x>>>16;e[2]=D=x&65535|N<<16;t[2]=H=E&65535|A<<16;T=I;R=Q;E=R&65535;A=R>>>16;x=T&65535;N=T>>>16;T=e[3];R=t[3];E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;A+=E>>>16;x+=A>>>16;N+=x>>>16;e[3]=I=x&65535|N<<16;t[3]=Q=E&65535|A<<16;T=_;R=W;E=R&65535;A=R>>>16;x=T&65535;N=T>>>16;T=e[4];R=t[4];E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;A+=E>>>16;x+=A>>>16;N+=x>>>16;e[4]=_=x&65535|N<<16;t[4]=W=E&65535|A<<16;T=q;R=G;E=R&65535;A=R>>>16;x=T&65535;N=T>>>16;T=e[5];R=t[5];E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;A+=E>>>16;x+=A>>>16;N+=x>>>16;e[5]=q=x&65535|N<<16;t[5]=G=E&65535|A<<16;T=B;R=K;E=R&65535;A=R>>>16;x=T&65535;N=T>>>16;T=e[6];R=t[6];E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;A+=E>>>16;x+=A>>>16;N+=x>>>16;e[6]=B=x&65535|N<<16;t[6]=K=E&65535|A<<16;T=M;R=J;E=R&65535;A=R>>>16;x=T&65535;N=T>>>16;T=e[7];R=t[7];E+=R&65535;A+=R>>>16;x+=T&65535;N+=T>>>16;A+=E>>>16;x+=A>>>16;N+=x>>>16;e[7]=M=x&65535|N<<16;t[7]=J=E&65535|A<<16;F+=128;n-=128}return n}function crypto_hash(e,t,i){var n=new Int32Array(8),a=new Int32Array(8),r=new Uint8Array(256),s,o=i;n[0]=1779033703;n[1]=3144134277;n[2]=1013904242;n[3]=2773480762;n[4]=1359893119;n[5]=2600822924;n[6]=528734635;n[7]=1541459225;a[0]=4089235720;a[1]=2227873595;a[2]=4271175723;a[3]=1595750129;a[4]=2917565137;a[5]=725511199;a[6]=4215389547;a[7]=327033209;crypto_hashblocks_hl(n,a,t,i);i%=128;for(s=0;s=0;--a){n=i[a/8|0]>>(a&7)&1;cswap(e,t,n);add(t,e);add(e,e);cswap(e,t,n)}}function scalarbase(e,i){var n=[t(),t(),t(),t()];set25519(n[0],d);set25519(n[1],p);set25519(n[2],o);M(n[3],d,p);scalarmult(e,n,i)}function crypto_sign_keypair(e,i,a){var r=new Uint8Array(64);var s=[t(),t(),t(),t()];var o;if(!a)n(i,32);crypto_hash(r,i,32);r[0]&=248;r[31]&=127;r[31]|=64;scalarbase(s,r);pack(e,s);for(o=0;o<32;o++)i[o+32]=e[o];return 0}var w=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function modL(e,t){var i,n,a,r;for(n=63;n>=32;--n){i=0;for(a=n-32,r=n-12;a>8;t[a]-=i*256}t[a]+=i;t[n]=0}i=0;for(a=0;a<32;a++){t[a]+=i-(t[31]>>4)*w[a];i=t[a]>>8;t[a]&=255}for(a=0;a<32;a++)t[a]-=i*w[a];for(n=0;n<32;n++){t[n+1]+=t[n]>>8;e[n]=t[n]&255}}function reduce(e){var t=new Float64Array(64),i;for(i=0;i<64;i++)t[i]=e[i];for(i=0;i<64;i++)e[i]=0;modL(e,t)}function crypto_sign(e,i,n,a){var r=new Uint8Array(64),s=new Uint8Array(64),o=new Uint8Array(64);var u,l,c=new Float64Array(64);var d=[t(),t(),t(),t()];crypto_hash(r,a,32);r[0]&=248;r[31]&=127;r[31]|=64;var p=n+64;for(u=0;u>7)Z(e[0],s,e[0]);M(e[3],e[0],e[1]);return 0}function crypto_sign_open(e,i,n,a){var r,s;var o=new Uint8Array(32),u=new Uint8Array(64);var l=[t(),t(),t(),t()],c=[t(),t(),t(),t()];s=-1;if(n<64)return-1;if(unpackneg(c,a))return-1;for(r=0;r=0};e.sign.keyPair=function(){var e=new Uint8Array(D);var t=new Uint8Array(I);crypto_sign_keypair(e,t);return{publicKey:e,secretKey:t}};e.sign.keyPair.fromSecretKey=function(e){checkArrayTypes(e);if(e.length!==I)throw new Error("bad secret key size");var t=new Uint8Array(D);for(var i=0;i{const t=r.get(e);if(!t){return new s({type:"secret"})}return new s(a(n(t/8)),{use:"enc",alg:e})})},,function(e,t,i){const n=i(745);e.exports={IdToken:{verify:(e,t,i)=>n(e,t,{...i,profile:"id_token"})},LogoutToken:{verify:(e,t,i)=>n(e,t,{...i,profile:"logout_token"})},AccessToken:{verify:(e,t,i)=>n(e,t,{...i,profile:"at+JWT"})}}},function(e,t,i){const n=i(475);const a=i(493);const{deep:r}=i(358);const s=i(854);const{HTTP_OPTIONS:o}=i(468);let u;let l;const c=e=>{u=r({},e,u);l=n.extend(u)};c({followRedirect:false,headers:{"User-Agent":`${a.name}/${a.version} (${a.homepage})`},retry:0,timeout:2500,throwHttpErrors:false});e.exports=function request(e,{mTLS:t=false}={}){const{url:i}=e;s(i);const n=this[o];let a;if(n){a=n.call(this,r({},e,u))}else{a=e}if(t&&(!a.key||!a.cert)){throw new TypeError("mutual-TLS certificate and key not set")}return l(a)};e.exports.setDefaults=c},function(e,t){t.stringify=function stringify(e){if("undefined"==typeof e)return e;if(e&&Buffer.isBuffer(e))return JSON.stringify(":base64:"+e.toString("base64"));if(e&&e.toJSON)e=e.toJSON();if(e&&"object"===typeof e){var t="";var i=Array.isArray(e);t=i?"[":"{";var n=true;for(var a in e){var r="function"==typeof e[a]||!i&&"undefined"===typeof e[a];if(Object.hasOwnProperty.call(e,a)&&!r){if(!n)t+=",";n=false;if(i){if(e[a]==undefined)t+="null";else t+=stringify(e[a])}else if(e[a]!==void 0){t+=stringify(a)+":"+stringify(e[a])}}}t+=i?"]":"}";return t}else if("string"===typeof e){return JSON.stringify(/^:/.test(e)?":"+e:e)}else if("undefined"===typeof e){return"null"}else return JSON.stringify(e)};t.parse=function(e){return JSON.parse(e,function(e,t){if("string"===typeof t){if(/^:base64:/.test(t))return new Buffer(t.substring(8),"base64");else return/^:/.test(t)?t.substring(1):t}return t})}},,,function(e){const t=e=>{return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")};const i=(e,i="utf8")=>{return t(Buffer.from(e,i).toString("base64"))};const n=e=>{return t(e.toString("base64"))};const a=e=>{return Buffer.from(e,"base64")};const r=(e,t="utf8")=>{return a(e).toString(t)};const s={encode:e=>{return i(JSON.stringify(e))},decode:(e,t="utf8")=>{return JSON.parse(r(e,t))}};s.decode.try=((e,t="utf8")=>{try{return s.decode(e,t)}catch(i){return r(e,t)}});const o=e=>{let t=BigInt(e).toString(16);if(t.length%2){t=`0${t}`}const i=t.length/2;const n=new Uint8Array(i);let a=0;let r=0;while(an(Buffer.from(o(e)));e.exports.decode=r;e.exports.decodeToBuffer=a;e.exports.encode=i;e.exports.encodeBuffer=n;e.exports.JSON=s;e.exports.encodeBigInt=u},function(e,t,i){const{publicEncrypt:n,privateDecrypt:a,constants:r}=i(373);const{oaepHashSupported:s}=i(915);const{KEYOBJECT:o}=i(771);const{asInput:u}=i(40);const l=e=>{switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return r.RSA_PKCS1_OAEP_PADDING;case"RSA1_5":return r.RSA_PKCS1_PADDING}};const c=e=>{switch(e){case"RSA-OAEP":return"sha1";case"RSA-OAEP-256":return"sha256";case"RSA-OAEP-384":return"sha384";case"RSA-OAEP-512":return"sha512";default:return undefined}};const d=(e,t,{[o]:i},a)=>{const r=u(i,true);return{wrapped:n({key:r,oaepHash:t,padding:e},a)}};const p=(e,t,{[o]:i},n)=>{const r=u(i,false);return a({key:r,oaepHash:t,padding:e},n)};const f={RSA1_5:0,"RSA-OAEP":592,"RSA-OAEP-256":784,"RSA-OAEP-384":1040,"RSA-OAEP-512":1296};e.exports=((e,t)=>{const i=["RSA-OAEP","RSA1_5"];if(s){i.splice(1,0,"RSA-OAEP-256","RSA-OAEP-384","RSA-OAEP-512")}i.forEach(i=>{const n=l(i);const a=c(i);e.keyManagementEncrypt.set(i,d.bind(undefined,n,a));e.keyManagementDecrypt.set(i,p.bind(undefined,n,a));t.RSA.wrapKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length>=f[i]);t.RSA.unwrapKey[i]=(e=>e.private&&(e.use==="enc"||e.use===undefined)&&e.length>=f[i])})})},,function(e){e.exports=require("https")},,function(e){e.exports=require("punycode")},,function(e,t,i){"use strict";var n=i(293);var a=n.Buffer;var r={};var s;for(s in n){if(!n.hasOwnProperty(s))continue;if(s==="SlowBuffer"||s==="Buffer")continue;r[s]=n[s]}var o=r.Buffer={};for(s in a){if(!a.hasOwnProperty(s))continue;if(s==="allocUnsafe"||s==="allocUnsafeSlow")continue;o[s]=a[s]}r.Buffer.prototype=a.prototype;if(!o.from||o.from===Uint8Array.from){o.from=function(e,t,i){if(typeof e==="number"){throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e)}if(e&&typeof e.length==="undefined"){throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}return a(e,t,i)}}if(!o.alloc){o.alloc=function(e,t,i){if(typeof e!=="number"){throw new TypeError('The "size" argument must be of type number. Received type '+typeof e)}if(e<0||e>=2*(1<<30)){throw new RangeError('The value "'+e+'" is invalid for option "size"')}var n=a(e);if(!t||t.length===0){n.fill(0)}else if(typeof i==="string"){n.fill(t,i)}else{n.fill(t)}return n}}if(!r.kStringMaxLength){try{r.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(e){}}if(!r.constants){r.constants={MAX_LENGTH:r.kMaxLength};if(r.kStringMaxLength){r.constants.MAX_STRING_LENGTH=r.kStringMaxLength}}e.exports=r},function(e,t,i){var n=i(622);var a=i(602);var r=i(705);a.register("find",_find,{});function _find(e,t){if(!t){a.error("no path specified")}else if(typeof t==="string"){t=[].slice.call(arguments,1)}var i=[];function pushFile(e){if(process.platform==="win32"){e=e.replace(/\\/g,"/")}i.push(e)}t.forEach(function(e){var t;try{t=a.statFollowLinks(e)}catch(t){a.error("no such file or directory: "+e)}pushFile(e);if(t.isDirectory()){r({recursive:true,all:true},e).forEach(function(t){pushFile(n.join(e,t))})}});return i}e.exports=_find},,function(e,t,i){"use strict";const n=i(413).PassThrough;const a=i(89);const r=e=>{if(!(e&&e.pipe)){throw new TypeError("Parameter `response` must be a response stream.")}const t=new n;a(e,t);return e.pipe(t)};e.exports=r},function(e,t,i){const n=i(124);const a=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));e.exports=a},function(e,t,i){"use strict";var n=i(254);var a=i(826);var r=i(810);var s=r.md5;var o=r.toBase64;function Auth(e){this.request=e;this.hasAuth=false;this.sentAuth=false;this.bearerToken=null;this.user=null;this.pass=null}Auth.prototype.basic=function(e,t,i){var n=this;if(typeof e!=="string"||t!==undefined&&typeof t!=="string"){n.request.emit("error",new Error("auth() received invalid user or password"))}n.user=e;n.pass=t;n.hasAuth=true;var a=e+":"+(t||"");if(i||typeof i==="undefined"){var r="Basic "+o(a);n.sentAuth=true;return r}};Auth.prototype.bearer=function(e,t){var i=this;i.bearerToken=e;i.hasAuth=true;if(t||typeof t==="undefined"){if(typeof e==="function"){e=e()}var n="Bearer "+(e||"");i.sentAuth=true;return n}};Auth.prototype.digest=function(e,t,i){var n=this;var r={};var o=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;while(true){var u=o.exec(i);if(!u){break}r[u[1]]=u[2]||u[3]}var l=function(e,t,i,n,a,r){var o=s(t+":"+i+":"+n);if(e&&e.toLowerCase()==="md5-sess"){return s(o+":"+a+":"+r)}else{return o}};var c=/(^|,)\s*auth\s*($|,)/.test(r.qop)&&"auth";var d=c&&"00000001";var p=c&&a().replace(/-/g,"");var f=l(r.algorithm,n.user,r.realm,n.pass,r.nonce,p);var h=s(e+":"+t);var m=c?s(f+":"+r.nonce+":"+d+":"+p+":"+c+":"+h):s(f+":"+r.nonce+":"+h);var b={username:n.user,realm:r.realm,nonce:r.nonce,uri:t,qop:c,response:m,nc:d,cnonce:p,algorithm:r.algorithm,opaque:r.opaque};i=[];for(var g in b){if(b[g]){if(g==="qop"||g==="nc"||g==="algorithm"){i.push(g+"="+b[g])}else{i.push(g+'="'+b[g]+'"')}}}i="Digest "+i.join(", ");n.sentAuth=true;return i};Auth.prototype.onRequest=function(e,t,i,n){var a=this;var r=a.request;var s;if(n===undefined&&e===undefined){a.request.emit("error",new Error("no auth mechanism defined"))}else if(n!==undefined){s=a.bearer(n,i)}else{s=a.basic(e,t,i)}if(s){r.setHeader("authorization",s)}};Auth.prototype.onResponse=function(e){var t=this;var i=t.request;if(!t.hasAuth||t.sentAuth){return null}var a=n(e.headers);var r=a.get("www-authenticate");var s=r&&r.split(" ")[0].toLowerCase();i.debug("reauth",s);switch(s){case"basic":return t.basic(t.user,t.pass,true);case"bearer":return t.bearer(t.bearerToken,true);case"digest":return t.digest(i.method,i.path,r)}};t.Auth=Auth},,function(e){e.exports={$id:"browser.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","version"],properties:{name:{type:"string"},version:{type:"string"},comment:{type:"string"}}}},,,,function(e){e.exports={$id:"response.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["status","statusText","httpVersion","cookies","headers","content","redirectURL","headersSize","bodySize"],properties:{status:{type:"integer"},statusText:{type:"string"},httpVersion:{type:"string"},cookies:{type:"array",items:{$ref:"cookie.json#"}},headers:{type:"array",items:{$ref:"header.json#"}},content:{$ref:"content.json#"},redirectURL:{type:"string"},headersSize:{type:"integer"},bodySize:{type:"integer"},comment:{type:"string"}}}},,function(e,t,i){"use strict";var n=i(945);function resolveYamlBoolean(e){if(e===null)return false;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===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 n("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"})},,function(e){e.exports={$id:"page.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:true,required:["startedDateTime","id","title","pageTimings"],properties:{startedDateTime:{type:"string",format:"date-time",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"},id:{type:"string",unique:true},title:{type:"string"},pageTimings:{$ref:"pageTimings.json#"},comment:{type:"string"}}}},,function(e){e.exports=(e=>!!e&&e.constructor===Object)},function(e){e.exports=["cat","cd","chmod","cp","dirs","echo","exec","find","grep","head","ln","ls","mkdir","mv","pwd","rm","sed","set","sort","tail","tempdir","test","to","toEnd","touch","uniq","which"]},,function(module){module.exports=eval("require")("utf-8-validate")},,function(e,t,i){"use strict";const n=i(21);n.Server=i(613);n.Receiver=i(738);n.Sender=i(10);e.exports=n},,,function(e,t,i){var n=i(602);var a=i(747);var r=i(622);n.register("toEnd",_toEnd,{pipeOnly:true,wrapOutput:false});function _toEnd(e,t){if(!t)n.error("wrong arguments");if(!a.existsSync(r.dirname(t))){n.error("no such file or directory: "+r.dirname(t))}try{a.appendFileSync(t,this.stdout||this.toString(),"utf8");return this}catch(e){n.error("could not append to file (code "+e.code+"): "+t,{continue:true})}}e.exports=_toEnd},function(e,t,i){e.exports={read:read,write:write};var n=i(872);var a=i(215).Buffer;var r=i(270);var s=i(852);var o=i(502);var u=i(268);var l=i(603);var c=i(538);var d=i(982);var p=i(624);var f="Private-key-format: v1";function read(e,t){if(typeof e==="string"){if(e.trim().match(/^[-]+[ ]*BEGIN/))return u.read(e,t);if(e.match(/^\s*ssh-[a-z]/))return l.read(e,t);if(e.match(/^\s*ecdsa-/))return l.read(e,t);if(e.match(/^putty-user-key-file-2:/i))return p.read(e,t);if(findDNSSECHeader(e))return d.read(e,t);e=a.from(e,"binary")}else{n.buffer(e);if(findPEMHeader(e))return u.read(e,t);if(findSSHHeader(e))return l.read(e,t);if(findPuTTYHeader(e))return p.read(e,t);if(findDNSSECHeader(e))return d.read(e,t)}if(e.readUInt32BE(0)e.length||e.slice(t,t+5).toString("ascii")!=="BEGIN")return false;return true}function findDNSSECHeader(e){if(e.length<=f.length)return false;var t=e.slice(0,f.length);if(t.toString("ascii")===f)return true;if(typeof e!=="string"){e=e.toString("ascii")}var i=e.split("\n");var n=0;while(i[n].match(/^\;/))n++;if(i[n].toString("ascii").match(/\. IN KEY /))return true;if(i[n].toString("ascii").match(/\. IN DNSKEY /))return true;return false}function write(e,t){throw new Error('"auto" format cannot be used for writing')}},function(e,t){(function(){var i;var n=0xdeadbeefcafe;var a=(n&16777215)==15715070;function BigInteger(e,t,i){if(e!=null)if("number"==typeof e)this.fromNumber(e,t,i);else if(t==null&&"string"!=typeof e)this.fromString(e,256);else this.fromString(e,t)}function nbi(){return new BigInteger(null)}function am1(e,t,i,n,a,r){while(--r>=0){var s=t*this[e++]+i[n]+a;a=Math.floor(s/67108864);i[n++]=s&67108863}return a}function am2(e,t,i,n,a,r){var s=t&32767,o=t>>15;while(--r>=0){var u=this[e]&32767;var l=this[e++]>>15;var c=o*u+l*s;u=s*u+((c&32767)<<15)+i[n]+(a&1073741823);a=(u>>>30)+(c>>>15)+o*l+(a>>>30);i[n++]=u&1073741823}return a}function am3(e,t,i,n,a,r){var s=t&16383,o=t>>14;while(--r>=0){var u=this[e]&16383;var l=this[e++]>>14;var c=o*u+l*s;u=s*u+((c&16383)<<14)+i[n]+a;a=(u>>28)+(c>>14)+o*l;i[n++]=u&268435455}return a}var r=typeof navigator!=="undefined";if(r&&a&&navigator.appName=="Microsoft Internet Explorer"){BigInteger.prototype.am=am2;i=30}else if(r&&a&&navigator.appName!="Netscape"){BigInteger.prototype.am=am1;i=26}else{BigInteger.prototype.am=am3;i=28}BigInteger.prototype.DB=i;BigInteger.prototype.DM=(1<=0;--t)e[t]=this[t];e.t=this.t;e.s=this.s}function bnpFromInt(e){this.t=1;this.s=e<0?-1:0;if(e>0)this[0]=e;else if(e<-1)this[0]=e+this.DV;else this.t=0}function nbv(e){var t=nbi();t.fromInt(e);return t}function bnpFromString(e,t){var i;if(t==16)i=4;else if(t==8)i=3;else if(t==256)i=8;else if(t==2)i=1;else if(t==32)i=5;else if(t==4)i=2;else{this.fromRadix(e,t);return}this.t=0;this.s=0;var n=e.length,a=false,r=0;while(--n>=0){var s=i==8?e[n]&255:intAt(e,n);if(s<0){if(e.charAt(n)=="-")a=true;continue}a=false;if(r==0)this[this.t++]=s;else if(r+i>this.DB){this[this.t-1]|=(s&(1<>this.DB-r}else this[this.t-1]|=s<=this.DB)r-=this.DB}if(i==8&&(e[0]&128)!=0){this.s=-1;if(r>0)this[this.t-1]|=(1<0&&this[this.t-1]==e)--this.t}function bnToString(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(e==16)t=4;else if(e==8)t=3;else if(e==2)t=1;else if(e==32)t=5;else if(e==4)t=2;else return this.toRadix(e);var i=(1<0){if(o>o)>0){a=true;r=int2char(n)}while(s>=0){if(o>(o+=this.DB-t)}else{n=this[s]>>(o-=t)&i;if(o<=0){o+=this.DB;--s}}if(n>0)a=true;if(a)r+=int2char(n)}}return a?r:"0"}function bnNegate(){var e=nbi();BigInteger.ZERO.subTo(this,e);return e}function bnAbs(){return this.s<0?this.negate():this}function bnCompareTo(e){var t=this.s-e.s;if(t!=0)return t;var i=this.t;t=i-e.t;if(t!=0)return this.s<0?-t:t;while(--i>=0)if((t=this[i]-e[i])!=0)return t;return 0}function nbits(e){var t=1,i;if((i=e>>>16)!=0){e=i;t+=16}if((i=e>>8)!=0){e=i;t+=8}if((i=e>>4)!=0){e=i;t+=4}if((i=e>>2)!=0){e=i;t+=2}if((i=e>>1)!=0){e=i;t+=1}return t}function bnBitLength(){if(this.t<=0)return 0;return this.DB*(this.t-1)+nbits(this[this.t-1]^this.s&this.DM)}function bnpDLShiftTo(e,t){var i;for(i=this.t-1;i>=0;--i)t[i+e]=this[i];for(i=e-1;i>=0;--i)t[i]=0;t.t=this.t+e;t.s=this.s}function bnpDRShiftTo(e,t){for(var i=e;i=0;--o){t[o+r+1]=this[o]>>n|s;s=(this[o]&a)<=0;--o)t[o]=0;t[r]=s;t.t=this.t+r+1;t.s=this.s;t.clamp()}function bnpRShiftTo(e,t){t.s=this.s;var i=Math.floor(e/this.DB);if(i>=this.t){t.t=0;return}var n=e%this.DB;var a=this.DB-n;var r=(1<>n;for(var s=i+1;s>n}if(n>0)t[this.t-i-1]|=(this.s&r)<>=this.DB}if(e.t>=this.DB}n+=this.s}else{n+=this.s;while(i>=this.DB}n-=e.s}t.s=n<0?-1:0;if(n<-1)t[i++]=this.DV+n;else if(n>0)t[i++]=n;t.t=i;t.clamp()}function bnpMultiplyTo(e,t){var i=this.abs(),n=e.abs();var a=i.t;t.t=a+n.t;while(--a>=0)t[a]=0;for(a=0;a=0)e[i]=0;for(i=0;i=t.DV){e[i+t.t]-=t.DV;e[i+t.t+1]=1}}if(e.t>0)e[e.t-1]+=t.am(i,t[i],e,2*i,0,1);e.s=0;e.clamp()}function bnpDivRemTo(e,t,i){var n=e.abs();if(n.t<=0)return;var a=this.abs();if(a.t0){n.lShiftTo(u,r);a.lShiftTo(u,i)}else{n.copyTo(r);a.copyTo(i)}var l=r.t;var c=r[l-1];if(c==0)return;var d=c*(1<1?r[l-2]>>this.F2:0);var p=this.FV/d,f=(1<=0){i[i.t++]=1;i.subTo(g,i)}BigInteger.ONE.dlShiftTo(l,g);g.subTo(r,r);while(r.t=0){var y=i[--m]==c?this.DM:Math.floor(i[m]*p+(i[m-1]+h)*f);if((i[m]+=r.am(0,y,i,b,0,l))0)i.rShiftTo(u,i);if(s<0)BigInteger.ZERO.subTo(i,i)}function bnMod(e){var t=nbi();this.abs().divRemTo(e,null,t);if(this.s<0&&t.compareTo(BigInteger.ZERO)>0)e.subTo(t,t);return t}function Classic(e){this.m=e}function cConvert(e){if(e.s<0||e.compareTo(this.m)>=0)return e.mod(this.m);else return e}function cRevert(e){return e}function cReduce(e){e.divRemTo(this.m,null,e)}function cMulTo(e,t,i){e.multiplyTo(t,i);this.reduce(i)}function cSqrTo(e,t){e.squareTo(t);this.reduce(t)}Classic.prototype.convert=cConvert;Classic.prototype.revert=cRevert;Classic.prototype.reduce=cReduce;Classic.prototype.mulTo=cMulTo;Classic.prototype.sqrTo=cSqrTo;function bnpInvDigit(){if(this.t<1)return 0;var e=this[0];if((e&1)==0)return 0;var t=e&3;t=t*(2-(e&15)*t)&15;t=t*(2-(e&255)*t)&255;t=t*(2-((e&65535)*t&65535))&65535;t=t*(2-e*t%this.DV)%this.DV;return t>0?this.DV-t:-t}function Montgomery(e){this.m=e;this.mp=e.invDigit();this.mpl=this.mp&32767;this.mph=this.mp>>15;this.um=(1<0)this.m.subTo(t,t);return t}function montRevert(e){var t=nbi();e.copyTo(t);this.reduce(t);return t}function montReduce(e){while(e.t<=this.mt2)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;i=t+this.m.t;e[i]+=this.m.am(0,n,e,t,0,this.m.t);while(e[i]>=e.DV){e[i]-=e.DV;e[++i]++}}e.clamp();e.drShiftTo(this.m.t,e);if(e.compareTo(this.m)>=0)e.subTo(this.m,e)}function montSqrTo(e,t){e.squareTo(t);this.reduce(t)}function montMulTo(e,t,i){e.multiplyTo(t,i);this.reduce(i)}Montgomery.prototype.convert=montConvert;Montgomery.prototype.revert=montRevert;Montgomery.prototype.reduce=montReduce;Montgomery.prototype.mulTo=montMulTo;Montgomery.prototype.sqrTo=montSqrTo;function bnpIsEven(){return(this.t>0?this[0]&1:this.s)==0}function bnpExp(e,t){if(e>4294967295||e<1)return BigInteger.ONE;var i=nbi(),n=nbi(),a=t.convert(this),r=nbits(e)-1;a.copyTo(i);while(--r>=0){t.sqrTo(i,n);if((e&1<0)t.mulTo(n,a,i);else{var s=i;i=n;n=s}}return t.revert(i)}function bnModPowInt(e,t){var i;if(e<256||t.isEven())i=new Classic(t);else i=new Montgomery(t);return this.exp(e,i)}BigInteger.prototype.copyTo=bnpCopyTo;BigInteger.prototype.fromInt=bnpFromInt;BigInteger.prototype.fromString=bnpFromString;BigInteger.prototype.clamp=bnpClamp;BigInteger.prototype.dlShiftTo=bnpDLShiftTo;BigInteger.prototype.drShiftTo=bnpDRShiftTo;BigInteger.prototype.lShiftTo=bnpLShiftTo;BigInteger.prototype.rShiftTo=bnpRShiftTo;BigInteger.prototype.subTo=bnpSubTo;BigInteger.prototype.multiplyTo=bnpMultiplyTo;BigInteger.prototype.squareTo=bnpSquareTo;BigInteger.prototype.divRemTo=bnpDivRemTo;BigInteger.prototype.invDigit=bnpInvDigit;BigInteger.prototype.isEven=bnpIsEven;BigInteger.prototype.exp=bnpExp;BigInteger.prototype.toString=bnToString;BigInteger.prototype.negate=bnNegate;BigInteger.prototype.abs=bnAbs;BigInteger.prototype.compareTo=bnCompareTo;BigInteger.prototype.bitLength=bnBitLength;BigInteger.prototype.mod=bnMod;BigInteger.prototype.modPowInt=bnModPowInt;BigInteger.ZERO=nbv(0);BigInteger.ONE=nbv(1);function bnClone(){var e=nbi();this.copyTo(e);return e}function bnIntValue(){if(this.s<0){if(this.t==1)return this[0]-this.DV;else if(this.t==0)return-1}else if(this.t==1)return this[0];else if(this.t==0)return 0;return(this[1]&(1<<32-this.DB)-1)<>24}function bnShortValue(){return this.t==0?this.s:this[0]<<16>>16}function bnpChunkSize(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}function bnSigNum(){if(this.s<0)return-1;else if(this.t<=0||this.t==1&&this[0]<=0)return 0;else return 1}function bnpToRadix(e){if(e==null)e=10;if(this.signum()==0||e<2||e>36)return"0";var t=this.chunkSize(e);var i=Math.pow(e,t);var n=nbv(i),a=nbi(),r=nbi(),s="";this.divRemTo(n,a,r);while(a.signum()>0){s=(i+r.intValue()).toString(e).substr(1)+s;a.divRemTo(n,a,r)}return r.intValue().toString(e)+s}function bnpFromRadix(e,t){this.fromInt(0);if(t==null)t=10;var i=this.chunkSize(t);var n=Math.pow(t,i),a=false,r=0,s=0;for(var o=0;o=i){this.dMultiply(n);this.dAddOffset(s,0);r=0;s=0}}if(r>0){this.dMultiply(Math.pow(t,r));this.dAddOffset(s,0)}if(a)BigInteger.ZERO.subTo(this,this)}function bnpFromNumber(e,t,i){if("number"==typeof t){if(e<2)this.fromInt(1);else{this.fromNumber(e,i);if(!this.testBit(e-1))this.bitwiseTo(BigInteger.ONE.shiftLeft(e-1),op_or,this);if(this.isEven())this.dAddOffset(1,0);while(!this.isProbablePrime(t)){this.dAddOffset(2,0);if(this.bitLength()>e)this.subTo(BigInteger.ONE.shiftLeft(e-1),this)}}}else{var n=new Array,a=e&7;n.length=(e>>3)+1;t.nextBytes(n);if(a>0)n[0]&=(1<0){if(i>i)!=(this.s&this.DM)>>i)t[a++]=n|this.s<=0){if(i<8){n=(this[e]&(1<>(i+=this.DB-8)}else{n=this[e]>>(i-=8)&255;if(i<=0){i+=this.DB;--e}}if((n&128)!=0)n|=-256;if(a==0&&(this.s&128)!=(n&128))++a;if(a>0||n!=this.s)t[a++]=n}}return t}function bnEquals(e){return this.compareTo(e)==0}function bnMin(e){return this.compareTo(e)<0?this:e}function bnMax(e){return this.compareTo(e)>0?this:e}function bnpBitwiseTo(e,t,i){var n,a,r=Math.min(e.t,this.t);for(n=0;n>=16;t+=16}if((e&255)==0){e>>=8;t+=8}if((e&15)==0){e>>=4;t+=4}if((e&3)==0){e>>=2;t+=2}if((e&1)==0)++t;return t}function bnGetLowestSetBit(){for(var e=0;e=this.t)return this.s!=0;return(this[t]&1<>=this.DB}if(e.t>=this.DB}n+=this.s}else{n+=this.s;while(i>=this.DB}n+=e.s}t.s=n<0?-1:0;if(n>0)t[i++]=n;else if(n<-1)t[i++]=this.DV+n;t.t=i;t.clamp()}function bnAdd(e){var t=nbi();this.addTo(e,t);return t}function bnSubtract(e){var t=nbi();this.subTo(e,t);return t}function bnMultiply(e){var t=nbi();this.multiplyTo(e,t);return t}function bnSquare(){var e=nbi();this.squareTo(e);return e}function bnDivide(e){var t=nbi();this.divRemTo(e,t,null);return t}function bnRemainder(e){var t=nbi();this.divRemTo(e,null,t);return t}function bnDivideAndRemainder(e){var t=nbi(),i=nbi();this.divRemTo(e,t,i);return new Array(t,i)}function bnpDMultiply(e){this[this.t]=this.am(0,e-1,this,0,0,this.t);++this.t;this.clamp()}function bnpDAddOffset(e,t){if(e==0)return;while(this.t<=t)this[this.t++]=0;this[t]+=e;while(this[t]>=this.DV){this[t]-=this.DV;if(++t>=this.t)this[this.t++]=0;++this[t]}}function NullExp(){}function nNop(e){return e}function nMulTo(e,t,i){e.multiplyTo(t,i)}function nSqrTo(e,t){e.squareTo(t)}NullExp.prototype.convert=nNop;NullExp.prototype.revert=nNop;NullExp.prototype.mulTo=nMulTo;NullExp.prototype.sqrTo=nSqrTo;function bnPow(e){return this.exp(e,new NullExp)}function bnpMultiplyLowerTo(e,t,i){var n=Math.min(this.t+e.t,t);i.s=0;i.t=n;while(n>0)i[--n]=0;var a;for(a=i.t-this.t;n=0)i[n]=0;for(n=Math.max(t-this.t,0);n2*this.m.t)return e.mod(this.m);else if(e.compareTo(this.m)<0)return e;else{var t=nbi();e.copyTo(t);this.reduce(t);return t}}function barrettRevert(e){return e}function barrettReduce(e){e.drShiftTo(this.m.t-1,this.r2);if(e.t>this.m.t+1){e.t=this.m.t+1;e.clamp()}this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3);this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);while(e.compareTo(this.r2)<0)e.dAddOffset(1,this.m.t+1);e.subTo(this.r2,e);while(e.compareTo(this.m)>=0)e.subTo(this.m,e)}function barrettSqrTo(e,t){e.squareTo(t);this.reduce(t)}function barrettMulTo(e,t,i){e.multiplyTo(t,i);this.reduce(i)}Barrett.prototype.convert=barrettConvert;Barrett.prototype.revert=barrettRevert;Barrett.prototype.reduce=barrettReduce;Barrett.prototype.mulTo=barrettMulTo;Barrett.prototype.sqrTo=barrettSqrTo;function bnModPow(e,t){var i=e.bitLength(),n,a=nbv(1),r;if(i<=0)return a;else if(i<18)n=1;else if(i<48)n=3;else if(i<144)n=4;else if(i<768)n=5;else n=6;if(i<8)r=new Classic(t);else if(t.isEven())r=new Barrett(t);else r=new Montgomery(t);var s=new Array,o=3,u=n-1,l=(1<1){var c=nbi();r.sqrTo(s[1],c);while(o<=l){s[o]=nbi();r.mulTo(c,s[o-2],s[o]);o+=2}}var d=e.t-1,p,f=true,h=nbi(),m;i=nbits(e[d])-1;while(d>=0){if(i>=u)p=e[d]>>i-u&l;else{p=(e[d]&(1<0)p|=e[d-1]>>this.DB+i-u}o=n;while((p&1)==0){p>>=1;--o}if((i-=o)<0){i+=this.DB;--d}if(f){s[p].copyTo(a);f=false}else{while(o>1){r.sqrTo(a,h);r.sqrTo(h,a);o-=2}if(o>0)r.sqrTo(a,h);else{m=a;a=h;h=m}r.mulTo(h,s[p],a)}while(d>=0&&(e[d]&1<0){t.rShiftTo(r,t);i.rShiftTo(r,i)}while(t.signum()>0){if((a=t.getLowestSetBit())>0)t.rShiftTo(a,t);if((a=i.getLowestSetBit())>0)i.rShiftTo(a,i);if(t.compareTo(i)>=0){t.subTo(i,t);t.rShiftTo(1,t)}else{i.subTo(t,i);i.rShiftTo(1,i)}}if(r>0)i.lShiftTo(r,i);return i}function bnpModInt(e){if(e<=0)return 0;var t=this.DV%e,i=this.s<0?e-1:0;if(this.t>0)if(t==0)i=this[0]%e;else for(var n=this.t-1;n>=0;--n)i=(t*i+this[n])%e;return i}function bnModInverse(e){var t=e.isEven();if(this.isEven()&&t||e.signum()==0)return BigInteger.ZERO;var i=e.clone(),n=this.clone();var a=nbv(1),r=nbv(0),s=nbv(0),o=nbv(1);while(i.signum()!=0){while(i.isEven()){i.rShiftTo(1,i);if(t){if(!a.isEven()||!r.isEven()){a.addTo(this,a);r.subTo(e,r)}a.rShiftTo(1,a)}else if(!r.isEven())r.subTo(e,r);r.rShiftTo(1,r)}while(n.isEven()){n.rShiftTo(1,n);if(t){if(!s.isEven()||!o.isEven()){s.addTo(this,s);o.subTo(e,o)}s.rShiftTo(1,s)}else if(!o.isEven())o.subTo(e,o);o.rShiftTo(1,o)}if(i.compareTo(n)>=0){i.subTo(n,i);if(t)a.subTo(s,a);r.subTo(o,r)}else{n.subTo(i,n);if(t)s.subTo(a,s);o.subTo(r,o)}}if(n.compareTo(BigInteger.ONE)!=0)return BigInteger.ZERO;if(o.compareTo(e)>=0)return o.subtract(e);if(o.signum()<0)o.addTo(e,o);else return o;if(o.signum()<0)return o.add(e);else return o}var d=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997];var p=(1<<26)/d[d.length-1];function bnIsProbablePrime(e){var t,i=this.abs();if(i.t==1&&i[0]<=d[d.length-1]){for(t=0;t>1;if(e>d.length)e=d.length;var a=nbi();for(var r=0;r>8&255;h[m++]^=e>>16&255;h[m++]^=e>>24&255;if(m>=S)m-=S}function rng_seed_time(){rng_seed_int((new Date).getTime())}if(h==null){h=new Array;m=0;var b;if(typeof window!=="undefined"&&window.crypto){if(window.crypto.getRandomValues){var g=new Uint8Array(32);window.crypto.getRandomValues(g);for(b=0;b<32;++b)h[m++]=g[b]}else if(navigator.appName=="Netscape"&&navigator.appVersion<"5"){var y=window.crypto.random(32);for(b=0;b>>8;h[m++]=b&255}m=0;rng_seed_time()}function rng_get_byte(){if(f==null){rng_seed_time();f=prng_newstate();f.init(h);for(m=0;m=this.maxSockets){i.requests.push({host:t.host,port:t.port,request:e});return}i.createConnection({host:t.host,port:t.port,request:e})};TunnelingAgent.prototype.createConnection=function createConnection(e){var t=this;t.createSocket(e,function(i){i.on("free",onFree);i.on("close",onCloseOrRemove);i.on("agentRemove",onCloseOrRemove);e.request.onSocket(i);function onFree(){t.emit("free",i,e.host,e.port)}function onCloseOrRemove(e){t.removeSocket(i);i.removeListener("free",onFree);i.removeListener("close",onCloseOrRemove);i.removeListener("agentRemove",onCloseOrRemove)}})};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var i=this;var n={};i.sockets.push(n);var a=mergeOptions({},i.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false});if(a.proxyAuth){a.headers=a.headers||{};a.headers["Proxy-Authorization"]="Basic "+c.from(a.proxyAuth).toString("base64")}d("making CONNECT request");var r=i.request(a);r.useChunkedEncodingByDefault=false;r.once("response",onResponse);r.once("upgrade",onUpgrade);r.once("connect",onConnect);r.once("error",onError);r.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,i){process.nextTick(function(){onConnect(e,t,i)})}function onConnect(a,s,o){r.removeAllListeners();s.removeAllListeners();if(a.statusCode===200){u.equal(o.length,0);d("tunneling connection has established");i.sockets[i.sockets.indexOf(n)]=s;t(s)}else{d("tunneling socket could not be established, statusCode=%d",a.statusCode);var l=new Error("tunneling socket could not be established, "+"statusCode="+a.statusCode);l.code="ECONNRESET";e.request.emit("error",l);i.removeSocket(n)}}function onError(t){r.removeAllListeners();d("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var a=new Error("tunneling socket could not be established, "+"cause="+t.message);a.code="ECONNRESET";e.request.emit("error",a);i.removeSocket(n)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1)return;this.sockets.splice(t,1);var i=this.requests.shift();if(i){this.createConnection(i)}};function createSecureSocket(e,t){var i=this;TunnelingAgent.prototype.createSocket.call(i,e,function(n){var r=a.connect(0,mergeOptions({},i.options,{servername:e.host,socket:n}));i.sockets[i.sockets.indexOf(n)]=r;t(r)})}function mergeOptions(e){for(var t=1,i=arguments.length;tthis.maxLength)return false;if(!this.stat&&b(this.cache,t)){var a=this.cache[t];if(Array.isArray(a))a="DIR";if(!i||a==="DIR")return a;if(i&&a==="FILE")return false}var r;var s=this.statCache[t];if(!s){var o;try{o=n.lstatSync(t)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR")){this.statCache[t]=false;return false}}if(o&&o.isSymbolicLink()){try{s=n.statSync(t)}catch(e){s=o}}else{s=o}}this.statCache[t]=s;var a=true;if(s)a=s.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||a;if(i&&a==="FILE")return false;return a};GlobSync.prototype._mark=function(e){return p.mark(this,e)};GlobSync.prototype._makeAbs=function(e){return p.makeAbs(this,e)}},,,,function(e,t,i){var n=i(584);var a=i(362);var r=i(733);var s=i(998);e.exports={Reader:r,Writer:s};for(var o in a){if(a.hasOwnProperty(o))e.exports[o]=a[o]}for(var u in n){if(n.hasOwnProperty(u))e.exports[u]=n[u]}},,function(e,t,i){"use strict";const n=i(48).Issuer;e.exports={refresh:function(e){return new Promise((t,i)=>{n.discover(e["idp-issuer-url"]).then(function(t){const i=new t.Client({client_id:e["client-id"],client_secret:e["client-secret"]});return i.refresh(e["refresh-token"])}).then(e=>{return t(e.id_token)}).catch(i)})}}},function(e){e.exports=function(){this.seq().obj(this.key("n").int(),this.key("e").int())}},function(e){"use strict";e.exports=function generate_anyOf(e,t,i){var n=" ";var a=e.level;var r=e.dataLevel;var s=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var c="data"+(r||"");var d="valid"+a;var p="errs__"+a;var f=e.util.copy(e);var h="";f.level++;var m="valid"+f.level;var b=s.every(function(t){return e.opts.strictKeywords?typeof t=="object"&&Object.keys(t).length>0:e.util.schemaHasRules(t,e.RULES.all)});if(b){var g=f.baseId;n+=" var "+p+" = errors; var "+d+" = false; ";var y=e.compositeRule;e.compositeRule=f.compositeRule=true;var S=s;if(S){var w,v=-1,z=S.length-1;while(v{e=new n(e,i);t=new n(t,i);return e.intersects(t)};e.exports=a},,,function(e,t,i){var n=i(669),a=i(413).Transform;e.exports=function(e){return new r(e)};var r=e.exports.JSONStream=function(e){e=e||{};a.call(this,e);this._writableState.objectMode=false;this._readableState.objectMode=true;this._async=e.async||false};n.inherits(r,a);r.prototype._transform=function(e,t,i){if(!Buffer.isBuffer(e))e=new Buffer(e);if(this._buffer){e=Buffer.concat([this._buffer,e])}var n=0,a=0;while(++n<=e.length){if(e[n]===10||n===e.length){var r;try{r=JSON.parse(e.slice(a,n))}catch(e){}if(r){this.push(r);r=null}if(e[n]===10)a=++n}}this._buffer=e.slice(a);return this._async?void setImmediate(i):void i()}},,function(e,t,i){"use strict";const n=i(418)("kubernetes-client");const a=i(747);const r=i(622);const s=i(414);const o=i(867);const u=process.env.KUBERNETES_CLIENT_SERVICEACCOUNT_ROOT||"/var/run/secrets/kubernetes.io/serviceaccount/";const l=r.join(u,"ca.crt");const c=r.join(u,"token");const d=r.join(u,"namespace");function convertKubeconfig(e){const t=e.getCurrentContext();const i=e.getCurrentCluster();const n=e.getCurrentUser();const s=t.namespace;let o;let u=false;if(i){if(i.caFile){o=a.readFileSync(r.normalize(i.caFile))}else if(i.caData){o=Buffer.from(i.caData,"base64").toString()}u=i.skipTLSVerify}let l;let c;let d={};if(n){if(n.certFile){l=a.readFileSync(r.normalize(n.certFile))}else if(n.certData){l=Buffer.from(n.certData,"base64").toString()}if(n.keyFile){c=a.readFileSync(r.normalize(n.keyFile))}else if(n.keyData){c=Buffer.from(n.keyData,"base64").toString()}if(n.token){d.bearer=n.token}if(n.authProvider){const e=n.authProvider.config;let t=null;let i=null;if(e["cmd-path"]){t="cmd";i=e["access-token"]}else if(e["idp-issuer-url"]){t="openid";i=e["id-token"]}if(e["access-token"]&&!t){i=e["access-token"]}d={request:{bearer:i},provider:{config:e,type:t}}}if(n.exec){const e={};if(n.exec.env){n.exec.env.forEach(t=>{e[t.name]=t.value})}let t="";if(n.exec.args){t=n.exec.args.join(" ")}d={provider:{type:"cmd",config:{"cmd-args":t,"cmd-path":n.exec.command,"token-key":"status.token","cmd-env":e}}}}if(n.username)d.user=n.username;if(n.password)d.pass=n.password}return{url:i.server,auth:Object.keys(d).length?d:null,ca:o,insecureSkipTlsVerify:u,namespace:s,cert:l,key:c}}e.exports.convertKubeconfig=convertKubeconfig;function defaultConfigPaths(){if(process.env.KUBECONFIG){const e=process.platform==="win32"?";":":";return process.env.KUBECONFIG.split(e)}const e=process.env[process.platform==="win32"?"USERPROFILE":"HOME"];return[r.join(e,".kube","config")]}function getInCluster(){const e=process.env.KUBERNETES_SERVICE_HOST;const t=process.env.KUBERNETES_SERVICE_PORT;if(!e||!t){throw new TypeError("Unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST"+" and KUBERNETES_SERVICE_PORT must be defined")}const i=a.readFileSync(l,"utf8");const n=a.readFileSync(c,"utf8");const r=a.readFileSync(d,"utf8");return{url:`https://${e}:${t}`,ca:i,auth:{bearer:n},namespace:r}}e.exports.getInCluster=n.function(getInCluster,"getInCluster see https://github.com/godaddy/kubernetes-client/blob/master/merging-with-kubernetes.md#request-kubeconfig-");function fromKubeconfig(e,t){if(!e)e=loadKubeconfig();if(typeof e==="string"||Array.isArray(e)){e=loadKubeconfig(e)}t=t||e["current-context"];const i=e.contexts.find(e=>e.name===t).context;const n=e.clusters.find(e=>e.name===i.cluster).cluster;const s=e.users.find(e=>e.name===i.user);const o=s?s.user:null;const u=i.namespace;let l;let c=false;if(n){if(n["certificate-authority"]){l=a.readFileSync(r.normalize(n["certificate-authority"]))}else if(n["certificate-authority-data"]){l=Buffer.from(n["certificate-authority-data"],"base64").toString()}if(n["insecure-skip-tls-verify"]){c=n["insecure-skip-tls-verify"]}}let d;let p;let f={};if(o){if(o["client-certificate"]){d=a.readFileSync(r.normalize(o["client-certificate"]))}else if(o["client-certificate-data"]){d=Buffer.from(o["client-certificate-data"],"base64").toString()}if(o["client-key"]){p=a.readFileSync(r.normalize(o["client-key"]))}else if(o["client-key-data"]){p=Buffer.from(o["client-key-data"],"base64").toString()}if(o.token){f.bearer=o.token}if(o["auth-provider"]){const e=o["auth-provider"].config;let t=null;let i=null;if(e["cmd-path"]){t="cmd";i=e["access-token"]}else if(e["idp-issuer-url"]){t="openid";i=e["id-token"]}if(e["access-token"]&&!t){i=e["access-token"]}f={request:{bearer:i},provider:{config:e,type:t}}}if(o.exec){const e={};if(o.exec.env){o.exec.env.forEach(t=>{e[t.name]=t.value})}let t="";if(o.exec.args){t=o.exec.args.join(" ")}f={provider:{type:"cmd",config:{"cmd-args":t,"cmd-path":o.exec.command,"token-key":"status.token","cmd-env":e}}}}if(o.username)f.user=o.username;if(o.password)f.pass=o.password}return{url:n.server,namespace:u,auth:Object.keys(f).length?f:null,ca:l,insecureSkipTlsVerify:c,key:p,cert:d}}e.exports.fromKubeconfig=n.function(fromKubeconfig,"fromKubeconfig see https://github.com/godaddy/kubernetes-client/blob/master/merging-with-kubernetes.md#request-kubeconfig-");function mapCertificates(e,t){const i=r.dirname(e);if(t.clusters){t.clusters.filter(e=>e.cluster["certificate-authority"]).forEach(e=>{e.cluster["certificate-authority"]=r.resolve(i,e.cluster["certificate-authority"])})}if(t.users){t.users.filter(e=>e.user["client-certificate"]).forEach(e=>{e.user["client-certificate"]=r.resolve(i,e.user["client-certificate"])});t.users.filter(e=>e.user["client-key"]).forEach(e=>{e.user["client-key"]=r.resolve(i,e.user["client-key"])})}return t}function loadKubeconfig(e){let t;if(!e){t=defaultConfigPaths()}else if(Array.isArray(e)){t=e}else{t=[e]}const i=t.map(e=>{const t=s.safeLoad(a.readFileSync(e));return mapCertificates(e,t)});return o.all(i)}e.exports.loadKubeconfig=n.function(loadKubeconfig,"loadKubeconfig see https://github.com/godaddy/kubernetes-client/blob/master/merging-with-kubernetes.md#request-kubeconfig-")},function(e,t,i){const{inherits:n}=i(669);const a=i(94);function PEMEncoder(e){a.call(this,e);this.enc="pem"}n(PEMEncoder,a);PEMEncoder.prototype.encode=function encode(e,t){const i=a.prototype.encode.call(this,e);const n=i.toString("base64");const r=[`-----BEGIN ${t.label}-----`];for(let e=0;e=0;--a){var r;var s=e[a];if(s==="[]"){r=[];r=r.concat(n)}else{r=i.plainObjects?Object.create(null):{};var o=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s;var u=parseInt(o,10);if(!isNaN(u)&&s!==o&&String(u)===o&&u>=0&&(i.parseArrays&&u<=i.arrayLimit)){r=[];r[u]=n}else{r[o]=n}}n=r}return n};var u=function parseQueryStringKeys(e,t,i){if(!e){return}var n=i.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;var r=/(\[[^[\]]*])/;var s=/(\[[^[\]]*])/g;var u=r.exec(n);var l=u?n.slice(0,u.index):n;var c=[];if(l){if(!i.plainObjects&&a.call(Object.prototype,l)){if(!i.allowPrototypes){return}}c.push(l)}var d=0;while((u=s.exec(n))!==null&&d0){v=l[--z].match(/[-]+[ ]*END ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/)}n.ok(v,"invalid PEM footer");n.equal(c[2],v[2]);var j=c[2].toLowerCase();var O;if(c[1]){n.equal(c[1],v[1],"PEM header and footer mismatch");O=c[1].trim()}l=l.slice(S,z+1);var k={};while(true){l=l.slice(1);c=l[0].match(/^([A-Za-z0-9-]+): (.+)$/);if(!c)break;k[c[1].toLowerCase()]=c[2]}l=l.slice(0,-1).join("");e=s.from(l,"base64");var C,T,R;if(k["proc-type"]){var E=k["proc-type"].split(",");if(E[0]==="4"&&E[1]==="ENCRYPTED"){if(typeof t.passphrase==="string"){t.passphrase=s.from(t.passphrase,"utf-8")}if(!s.isBuffer(t.passphrase)){throw new m.KeyEncryptedError(t.filename,"PEM")}else{E=k["dek-info"].split(",");n.ok(E.length===2);C=E[0].toLowerCase();R=s.from(E[1],"hex");T=u.opensslKeyDeriv(C,R,t.passphrase,1).key}}}if(O&&O.toLowerCase()==="encrypted"){var A=new a.BerReader(e);var x;A.readSequence();A.readSequence();x=A.offset+A.length;var N=A.readOID();if(N!==b){throw new Error("Unsupported PEM/PKCS8 encryption "+"scheme: "+N)}A.readSequence();A.readSequence();var V=A.offset+A.length;var P=A.readOID();if(P!==g)throw new Error("Unsupported PBES2 KDF: "+P);A.readSequence();var D=A.readString(a.Ber.OctetString,true);var I=A.readInt();var _="sha1";if(A.offsetf.length)y=f.length;b+=m.write(f.slice(g,y),b);m[b++]=10;g=y}b+=m.write("-----END "+o+"-----\n",b);return m.slice(0,b)}},,function(e,t,i){e.exports={bufferSplit:bufferSplit,addRSAMissing:addRSAMissing,calculateDSAPublic:calculateDSAPublic,calculateED25519Public:calculateED25519Public,calculateX25519Public:calculateX25519Public,mpNormalize:mpNormalize,mpDenormalize:mpDenormalize,ecNormalize:ecNormalize,countZeros:countZeros,assertCompatible:assertCompatible,isCompatible:isCompatible,opensslKeyDeriv:opensslKeyDeriv,opensshCipherInfo:opensshCipherInfo,publicFromPrivateECDSA:publicFromPrivateECDSA,zeroPadToLength:zeroPadToLength,writeBitString:writeBitString,readBitString:readBitString,pbkdf2:pbkdf2};var n=i(872);var a=i(215).Buffer;var r=i(502);var s=i(852);var o=i(373);var u=i(98);var l=i(325);var c=i(729);var d=i(242).BigInteger;var p=i(196);var f=3;function isCompatible(e,t,i){if(e===null||typeof e!=="object")return false;if(i===undefined)i=t.prototype._sshpkApiVersion;if(e instanceof t&&t.prototype._sshpkApiVersion[0]==i[0])return true;var n=Object.getPrototypeOf(e);var a=0;while(n.constructor.name!==t.name){n=Object.getPrototypeOf(n);if(!n||++a>f)return false}if(n.constructor.name!==t.name)return false;var r=n._sshpkApiVersion;if(r===undefined)r=t._oldVersionDetect(e);if(r[0]!=i[0]||r[1]=i[1],a+" must be compatible with "+t.name+" klass "+"version "+i[0]+"."+i[1])}var h={"des-ede3-cbc":{key:24,iv:8},"aes-128-cbc":{key:16,iv:16},"aes-256-cbc":{key:32,iv:16}};var m=8;function opensslKeyDeriv(e,t,i,r){n.buffer(t,"salt");n.buffer(i,"passphrase");n.number(r,"iteration count");var s=h[e];n.object(s,"supported cipher");t=t.slice(0,m);var u,l,c;var d=a.alloc(0);while(d.length=t.length){var o=s+1;i.push(e.slice(a,o-r));a=o;r=0}}if(a<=e.length)i.push(e.slice(a,e.length));return i}function ecNormalize(e,t){n.buffer(e);if(e[0]===0&&e[1]===4){if(t)return e;return e.slice(1)}else if(e[0]===4){if(!t)return e}else{while(e[0]===0)e=e.slice(1);if(e[0]===2||e[0]===3)throw new Error("Compressed elliptic curve points "+"are not supported");if(e[0]!==4)throw new Error("Not a valid elliptic curve point");if(!t)return e}var i=a.alloc(e.length+1);i[0]=0;e.copy(i,1);return i}function readBitString(e,t){if(t===undefined)t=l.Ber.BitString;var i=e.readString(t,true);n.strictEqual(i[0],0,"bit strings with unused bits are "+"not supported (0x"+i[0].toString(16)+")");return i.slice(1)}function writeBitString(e,t,i){if(i===undefined)i=l.Ber.BitString;var n=a.alloc(t.length+1);n[0]=0;t.copy(n,1);e.writeBuffer(n,i)}function mpNormalize(e){n.buffer(e);while(e.length>1&&e[0]===0&&(e[1]&128)===0)e=e.slice(1);if((e[0]&128)===128){var t=a.alloc(e.length+1);t[0]=0;e.copy(t,1);e=t}return e}function mpDenormalize(e){n.buffer(e);while(e.length>1&&e[0]===0)e=e.slice(1);return e}function zeroPadToLength(e,t){n.buffer(e);n.number(t);while(e.length>t){n.equal(e[0],0);e=e.slice(1)}while(e.length{let i=e[t];if(!Array.isArray(i))i=[i];return i.map(e=>{return[t].concat(Object.keys(e).map(t=>{let i=e[t];if(!Array.isArray(i))i=[i];return i.map(e=>e===true?t:`${t}=${e}`).join("; ")})).join("; ")}).join(", ")}).join(", ")}e.exports={format:format,parse:parse}},function(e,t,i){const n=i(110);const a=i(312);e.exports={Client:n,Component:a}},function(e,t,i){"use strict";const n=i(321);const a=i(15);const r=e=>e.replace(/\s+at .*aggregate-error\/index.js:\d+:\d+\)?/g,"");class AggregateError extends Error{constructor(e){if(!Array.isArray(e)){throw new TypeError(`Expected input to be an Array, got ${typeof e}`)}e=[...e].map(e=>{if(e instanceof Error){return e}if(e!==null&&typeof e==="object"){return Object.assign(new Error(e.message),e)}return new Error(e)});let t=e.map(e=>{return typeof e.stack==="string"?r(a(e.stack)):String(e)}).join("\n");t="\n"+n(t,4);super(t);this.name="AggregateError";Object.defineProperty(this,"_errors",{value:e})}*[Symbol.iterator](){for(const e of this._errors){yield e}}}e.exports=AggregateError},function(e){e.exports=(e=>!!e&&e.constructor===Object)},,,,,,,function(e){"use strict";e.exports=function generate_enum(e,t,i){var n=" ";var a=e.level;var r=e.dataLevel;var s=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var c="data"+(r||"");var d="valid"+a;var p=e.opts.$data&&s&&s.$data,f;if(p){n+=" var schema"+a+" = "+e.util.getData(s.$data,r,e.dataPathArr)+"; ";f="schema"+a}else{f=s}var h="i"+a,m="schema"+a;if(!p){n+=" var "+m+" = validate.schema"+o+";"}n+="var "+d+";";if(p){n+=" if (schema"+a+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+a+")) "+d+" = false; else {"}n+=""+d+" = false;for (var "+h+"=0; "+h+"<"+m+".length; "+h+"++) if (equal("+c+", "+m+"["+h+"])) { "+d+" = true; break; }";if(p){n+=" } "}n+=" if (!"+d+") { ";var b=b||[];b.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValues: schema"+a+" } ";if(e.opts.messages!==false){n+=" , message: 'should be equal to one of the allowed values' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var g=n;n=b.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+g+"]); "}else{n+=" validate.errors = ["+g+"]; return false; "}}else{n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" }";if(l){n+=" else { "}return n}},,function(e,t,i){const n=i(874);const a=(e,t)=>n(e,t,true);e.exports=a},function(e,t,i){var n=i(602);var a=i(747);n.register("test",_test,{cmdOptions:{b:"block",c:"character",d:"directory",e:"exists",f:"file",L:"link",p:"pipe",S:"socket"},wrapOutput:false,allowGlobbing:false});function _test(e,t){if(!t)n.error("no path given");var i=false;Object.keys(e).forEach(function(t){if(e[t]===true){i=true}});if(!i)n.error("could not interpret expression");if(e.link){try{return n.statNoFollowLinks(t).isSymbolicLink()}catch(e){return false}}if(!a.existsSync(t))return false;if(e.exists)return true;var r=n.statFollowLinks(t);if(e.block)return r.isBlockDevice();if(e.character)return r.isCharacterDevice();if(e.directory)return r.isDirectory();if(e.file)return r.isFile();if(e.pipe)return r.isFIFO();if(e.socket)return r.isSocket();return false}e.exports=_test},function(e,t,i){const n=i(387);const{assertIssuerConfiguration:a}=i(770);const{random:r}=i(368);const s=i(295);const o=i(204);const u=i(880);const l=i(403);const c=e=>encodeURIComponent(e).replace(/%20/g,"+");async function clientAssertion(e,t){let i=this[`${e}_endpoint_auth_signing_alg`];if(!i){a(this.issuer,`${e}_endpoint_auth_signing_alg_values_supported`)}if(this[`${e}_endpoint_auth_method`]==="client_secret_jwt"){const a=await this.joseSecret();if(!i){const t=this.issuer[`${e}_endpoint_auth_signing_alg_values_supported`];i=Array.isArray(t)&&t.find(e=>a.algorithms("sign").has(e))}return n.JWS.sign(t,a,{alg:i,typ:"JWT"})}const r=u(this).get("keystore");if(!r){throw new TypeError("no client jwks provided for signing a client assertion with")}if(!i){const t=new Set;r.all().forEach(e=>{e.algorithms("sign").forEach(Set.prototype.add.bind(t))});const n=this.issuer[`${e}_endpoint_auth_signing_alg_values_supported`];i=Array.isArray(n)&&n.find(e=>t.has(e))}const s=r.get({alg:i,use:"sig"});if(!s){throw new TypeError(`no key found in client jwks to sign a client assertion with using alg ${i}`)}return n.JWS.sign(t,s,{alg:i,typ:"JWT",kid:s.kid})}async function authFor(e,{clientAssertionPayload:t}={}){const i=this[`${e}_endpoint_auth_method`];switch(i){case"self_signed_tls_client_auth":case"tls_client_auth":case"none":return{body:{client_id:this.client_id}};case"client_secret_post":if(!this.client_secret){throw new TypeError("client_secret_post client authentication method requires a client_secret")}return{body:{client_id:this.client_id,client_secret:this.client_secret}};case"private_key_jwt":case"client_secret_jwt":{const i=s();const n=await clientAssertion.call(this,e,{iat:i,exp:i+60,jti:r(),iss:this.client_id,sub:this.client_id,aud:this.issuer[`${e}_endpoint`],...t});return{body:{client_id:this.client_id,client_assertion:n,client_assertion_type:"urn:ietf:params:oauth:client-assertion-type:jwt-bearer"}}}default:{if(!this.client_secret){throw new TypeError("client_secret_basic client authentication method requires a client_secret")}const e=`${c(this.client_id)}:${c(this.client_secret)}`;const t=Buffer.from(e).toString("base64");return{headers:{Authorization:`Basic ${t}`}}}}}function resolveResponseType(){const{length:e,0:t}=this.response_types;if(e===1){return t}return undefined}function resolveRedirectUri(){const{length:e,0:t}=this.redirect_uris||[];if(e===1){return t}return undefined}async function authenticatedPost(e,t,{clientAssertionPayload:i,endpointAuthMethod:n=e}={}){const a=await authFor.call(this,n,{clientAssertionPayload:i});const r=l(t,a,{form:true});const s=this[`${n}_endpoint_auth_method`].includes("tls_client_auth")||e==="token"&&this.tls_client_certificate_bound_access_tokens;let u;if(s&&this.issuer.mtls_endpoint_aliases){u=this.issuer.mtls_endpoint_aliases[`${e}_endpoint`]}u=u||this.issuer[`${e}_endpoint`];if("body"in r){for(const[e,t]of Object.entries(r.body)){if(typeof t==="undefined"){delete r.body[e]}}}return o.call(this,{...r,method:"POST",url:u},{mTLS:s})}e.exports={resolveResponseType:resolveResponseType,resolveRedirectUri:resolveRedirectUri,authFor:authFor,authenticatedPost:authenticatedPost}},function(e,t){function isArray(e){if(Array.isArray){return Array.isArray(e)}return objectToString(e)==="[object Array]"}t.isArray=isArray;function isBoolean(e){return typeof e==="boolean"}t.isBoolean=isBoolean;function isNull(e){return e===null}t.isNull=isNull;function isNullOrUndefined(e){return e==null}t.isNullOrUndefined=isNullOrUndefined;function isNumber(e){return typeof e==="number"}t.isNumber=isNumber;function isString(e){return typeof e==="string"}t.isString=isString;function isSymbol(e){return typeof e==="symbol"}t.isSymbol=isSymbol;function isUndefined(e){return e===void 0}t.isUndefined=isUndefined;function isRegExp(e){return objectToString(e)==="[object RegExp]"}t.isRegExp=isRegExp;function isObject(e){return typeof e==="object"&&e!==null}t.isObject=isObject;function isDate(e){return objectToString(e)==="[object Date]"}t.isDate=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}t.isError=isError;function isFunction(e){return typeof e==="function"}t.isFunction=isFunction;function isPrimitive(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}t.isPrimitive=isPrimitive;t.isBuffer=Buffer.isBuffer;function objectToString(e){return Object.prototype.toString.call(e)}},function(e,t,i){"use strict";var n=i(835);var a=i(623);var r=i(254);var s=i(826);var o=i(113);var u=i(373);var l=i(727).Buffer;function OAuth(e){this.request=e;this.params=null}OAuth.prototype.buildParams=function(e,t,i,n,a,r){var u={};for(var l in e){u["oauth_"+l]=e[l]}if(!u.oauth_version){u.oauth_version="1.0"}if(!u.oauth_timestamp){u.oauth_timestamp=Math.floor(Date.now()/1e3).toString()}if(!u.oauth_nonce){u.oauth_nonce=s().replace(/-/g,"")}if(!u.oauth_signature_method){u.oauth_signature_method="HMAC-SHA1"}var c=u.oauth_consumer_secret||u.oauth_private_key;delete u.oauth_consumer_secret;delete u.oauth_private_key;var d=u.oauth_token_secret;delete u.oauth_token_secret;var p=u.oauth_realm;delete u.oauth_realm;delete u.oauth_transport_method;var f=t.protocol+"//"+t.host+t.pathname;var h=r.parse([].concat(n,a,r.stringify(u)).join("&"));u.oauth_signature=o.sign(u.oauth_signature_method,i,f,h,c,d);if(p){u.realm=p}return u};OAuth.prototype.buildBodyHash=function(e,t){if(["HMAC-SHA1","RSA-SHA1"].indexOf(e.signature_method||"HMAC-SHA1")<0){this.request.emit("error",new Error("oauth: "+e.signature_method+" signature_method not supported with body_hash signing."))}var i=u.createHash("sha1");i.update(t||"");var n=i.digest("hex");return l.from(n,"hex").toString("base64")};OAuth.prototype.concatParams=function(e,t,i){i=i||"";var n=Object.keys(e).filter(function(e){return e!=="realm"&&e!=="oauth_signature"}).sort();if(e.realm){n.splice(0,0,"realm")}n.push("oauth_signature");return n.map(function(t){return t+"="+i+o.rfc3986(e[t])+i}).join(t)};OAuth.prototype.onRequest=function(e){var t=this;t.params=e;var i=t.request.uri||{};var s=t.request.method||"";var o=r(t.request.headers);var u=t.request.body||"";var l=t.request.qsLib||a;var c;var d;var p=o.get("content-type")||"";var f="application/x-www-form-urlencoded";var h=e.transport_method||"header";if(p.slice(0,f.length)===f){p=f;c=u}if(i.query){d=i.query}if(h==="body"&&(s!=="POST"||p!==f)){t.request.emit("error",new Error("oauth: transport_method of body requires POST "+"and content-type "+f))}if(!c&&typeof e.body_hash==="boolean"){e.body_hash=t.buildBodyHash(e,t.request.body.toString())}var m=t.buildParams(e,i,s,d,c,l);switch(h){case"header":t.request.setHeader("Authorization","OAuth "+t.concatParams(m,",",'"'));break;case"query":var b=t.request.uri.href+=(d?"&":"?")+t.concatParams(m,"&");t.request.uri=n.parse(b);t.request.path=t.request.uri.path;break;case"body":t.request.body=(c?c+"&":"")+t.concatParams(m,"&");break;default:t.request.emit("error",new Error("oauth: transport_method invalid"))}};t.OAuth=OAuth},,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(878);let a="https://localhost";let r=["string","boolean","double","integer","long","float","number","any"];class ObjectSerializer{static findCorrectType(e,t){if(e==undefined){return t}else if(r.indexOf(t.toLowerCase())!==-1){return t}else if(t==="Date"){return t}else{if(s[t]){return t}if(!o[t]){return t}let i=o[t].discriminator;if(i==null){return t}else{if(e[i]){return e[i]}else{return t}}}}static serialize(e,t){if(e==undefined){return e}else if(r.indexOf(t.toLowerCase())!==-1){return e}else if(t.lastIndexOf("Array<",0)===0){let i=t.replace("Array<","");i=i.substring(0,i.length-1);let n=[];for(let t in e){let a=e[t];n.push(ObjectSerializer.serialize(a,i))}return n}else if(t==="Date"){return e.toString()}else{if(s[t]){return e}if(!o[t]){return e}let i=o[t].getAttributeTypeMap();let n={};for(let t in i){let a=i[t];n[a.baseName]=ObjectSerializer.serialize(e[a.name],a.type)}return n}}static deserialize(e,t){t=ObjectSerializer.findCorrectType(e,t);if(e==undefined){return e}else if(r.indexOf(t.toLowerCase())!==-1){return e}else if(t.lastIndexOf("Array<",0)===0){let i=t.replace("Array<","");i=i.substring(0,i.length-1);let n=[];for(let t in e){let a=e[t];n.push(ObjectSerializer.deserialize(a,i))}return n}else if(t==="Date"){return new Date(e)}else{if(s[t]){return e}if(!o[t]){return e}let i=new o[t];let n=o[t].getAttributeTypeMap();for(let t in n){let a=n[t];i[a.name]=ObjectSerializer.deserialize(e[a.baseName],a.type)}return i}}}class AdmissionregistrationV1beta1ServiceReference{static getAttributeTypeMap(){return AdmissionregistrationV1beta1ServiceReference.attributeTypeMap}}AdmissionregistrationV1beta1ServiceReference.discriminator=undefined;AdmissionregistrationV1beta1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"path",baseName:"path",type:"string"}];t.AdmissionregistrationV1beta1ServiceReference=AdmissionregistrationV1beta1ServiceReference;class AdmissionregistrationV1beta1WebhookClientConfig{static getAttributeTypeMap(){return AdmissionregistrationV1beta1WebhookClientConfig.attributeTypeMap}}AdmissionregistrationV1beta1WebhookClientConfig.discriminator=undefined;AdmissionregistrationV1beta1WebhookClientConfig.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"service",baseName:"service",type:"AdmissionregistrationV1beta1ServiceReference"},{name:"url",baseName:"url",type:"string"}];t.AdmissionregistrationV1beta1WebhookClientConfig=AdmissionregistrationV1beta1WebhookClientConfig;class ApiextensionsV1beta1ServiceReference{static getAttributeTypeMap(){return ApiextensionsV1beta1ServiceReference.attributeTypeMap}}ApiextensionsV1beta1ServiceReference.discriminator=undefined;ApiextensionsV1beta1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"path",baseName:"path",type:"string"}];t.ApiextensionsV1beta1ServiceReference=ApiextensionsV1beta1ServiceReference;class ApiextensionsV1beta1WebhookClientConfig{static getAttributeTypeMap(){return ApiextensionsV1beta1WebhookClientConfig.attributeTypeMap}}ApiextensionsV1beta1WebhookClientConfig.discriminator=undefined;ApiextensionsV1beta1WebhookClientConfig.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"service",baseName:"service",type:"ApiextensionsV1beta1ServiceReference"},{name:"url",baseName:"url",type:"string"}];t.ApiextensionsV1beta1WebhookClientConfig=ApiextensionsV1beta1WebhookClientConfig;class ApiregistrationV1beta1ServiceReference{static getAttributeTypeMap(){return ApiregistrationV1beta1ServiceReference.attributeTypeMap}}ApiregistrationV1beta1ServiceReference.discriminator=undefined;ApiregistrationV1beta1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}];t.ApiregistrationV1beta1ServiceReference=ApiregistrationV1beta1ServiceReference;class AppsV1beta1Deployment{static getAttributeTypeMap(){return AppsV1beta1Deployment.attributeTypeMap}}AppsV1beta1Deployment.discriminator=undefined;AppsV1beta1Deployment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"AppsV1beta1DeploymentSpec"},{name:"status",baseName:"status",type:"AppsV1beta1DeploymentStatus"}];t.AppsV1beta1Deployment=AppsV1beta1Deployment;class AppsV1beta1DeploymentCondition{static getAttributeTypeMap(){return AppsV1beta1DeploymentCondition.attributeTypeMap}}AppsV1beta1DeploymentCondition.discriminator=undefined;AppsV1beta1DeploymentCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"lastUpdateTime",baseName:"lastUpdateTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}];t.AppsV1beta1DeploymentCondition=AppsV1beta1DeploymentCondition;class AppsV1beta1DeploymentList{static getAttributeTypeMap(){return AppsV1beta1DeploymentList.attributeTypeMap}}AppsV1beta1DeploymentList.discriminator=undefined;AppsV1beta1DeploymentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.AppsV1beta1DeploymentList=AppsV1beta1DeploymentList;class AppsV1beta1DeploymentRollback{static getAttributeTypeMap(){return AppsV1beta1DeploymentRollback.attributeTypeMap}}AppsV1beta1DeploymentRollback.discriminator=undefined;AppsV1beta1DeploymentRollback.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"rollbackTo",baseName:"rollbackTo",type:"AppsV1beta1RollbackConfig"},{name:"updatedAnnotations",baseName:"updatedAnnotations",type:"{ [key: string]: string; }"}];t.AppsV1beta1DeploymentRollback=AppsV1beta1DeploymentRollback;class AppsV1beta1DeploymentSpec{static getAttributeTypeMap(){return AppsV1beta1DeploymentSpec.attributeTypeMap}}AppsV1beta1DeploymentSpec.discriminator=undefined;AppsV1beta1DeploymentSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"paused",baseName:"paused",type:"boolean"},{name:"progressDeadlineSeconds",baseName:"progressDeadlineSeconds",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"revisionHistoryLimit",baseName:"revisionHistoryLimit",type:"number"},{name:"rollbackTo",baseName:"rollbackTo",type:"AppsV1beta1RollbackConfig"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"strategy",baseName:"strategy",type:"AppsV1beta1DeploymentStrategy"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}];t.AppsV1beta1DeploymentSpec=AppsV1beta1DeploymentSpec;class AppsV1beta1DeploymentStatus{static getAttributeTypeMap(){return AppsV1beta1DeploymentStatus.attributeTypeMap}}AppsV1beta1DeploymentStatus.discriminator=undefined;AppsV1beta1DeploymentStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"unavailableReplicas",baseName:"unavailableReplicas",type:"number"},{name:"updatedReplicas",baseName:"updatedReplicas",type:"number"}];t.AppsV1beta1DeploymentStatus=AppsV1beta1DeploymentStatus;class AppsV1beta1DeploymentStrategy{static getAttributeTypeMap(){return AppsV1beta1DeploymentStrategy.attributeTypeMap}}AppsV1beta1DeploymentStrategy.discriminator=undefined;AppsV1beta1DeploymentStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"AppsV1beta1RollingUpdateDeployment"},{name:"type",baseName:"type",type:"string"}];t.AppsV1beta1DeploymentStrategy=AppsV1beta1DeploymentStrategy;class AppsV1beta1RollbackConfig{static getAttributeTypeMap(){return AppsV1beta1RollbackConfig.attributeTypeMap}}AppsV1beta1RollbackConfig.discriminator=undefined;AppsV1beta1RollbackConfig.attributeTypeMap=[{name:"revision",baseName:"revision",type:"number"}];t.AppsV1beta1RollbackConfig=AppsV1beta1RollbackConfig;class AppsV1beta1RollingUpdateDeployment{static getAttributeTypeMap(){return AppsV1beta1RollingUpdateDeployment.attributeTypeMap}}AppsV1beta1RollingUpdateDeployment.discriminator=undefined;AppsV1beta1RollingUpdateDeployment.attributeTypeMap=[{name:"maxSurge",baseName:"maxSurge",type:"any"},{name:"maxUnavailable",baseName:"maxUnavailable",type:"any"}];t.AppsV1beta1RollingUpdateDeployment=AppsV1beta1RollingUpdateDeployment;class AppsV1beta1Scale{static getAttributeTypeMap(){return AppsV1beta1Scale.attributeTypeMap}}AppsV1beta1Scale.discriminator=undefined;AppsV1beta1Scale.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"AppsV1beta1ScaleSpec"},{name:"status",baseName:"status",type:"AppsV1beta1ScaleStatus"}];t.AppsV1beta1Scale=AppsV1beta1Scale;class AppsV1beta1ScaleSpec{static getAttributeTypeMap(){return AppsV1beta1ScaleSpec.attributeTypeMap}}AppsV1beta1ScaleSpec.discriminator=undefined;AppsV1beta1ScaleSpec.attributeTypeMap=[{name:"replicas",baseName:"replicas",type:"number"}];t.AppsV1beta1ScaleSpec=AppsV1beta1ScaleSpec;class AppsV1beta1ScaleStatus{static getAttributeTypeMap(){return AppsV1beta1ScaleStatus.attributeTypeMap}}AppsV1beta1ScaleStatus.discriminator=undefined;AppsV1beta1ScaleStatus.attributeTypeMap=[{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"{ [key: string]: string; }"},{name:"targetSelector",baseName:"targetSelector",type:"string"}];t.AppsV1beta1ScaleStatus=AppsV1beta1ScaleStatus;class ExtensionsV1beta1AllowedFlexVolume{static getAttributeTypeMap(){return ExtensionsV1beta1AllowedFlexVolume.attributeTypeMap}}ExtensionsV1beta1AllowedFlexVolume.discriminator=undefined;ExtensionsV1beta1AllowedFlexVolume.attributeTypeMap=[{name:"driver",baseName:"driver",type:"string"}];t.ExtensionsV1beta1AllowedFlexVolume=ExtensionsV1beta1AllowedFlexVolume;class ExtensionsV1beta1AllowedHostPath{static getAttributeTypeMap(){return ExtensionsV1beta1AllowedHostPath.attributeTypeMap}}ExtensionsV1beta1AllowedHostPath.discriminator=undefined;ExtensionsV1beta1AllowedHostPath.attributeTypeMap=[{name:"pathPrefix",baseName:"pathPrefix",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}];t.ExtensionsV1beta1AllowedHostPath=ExtensionsV1beta1AllowedHostPath;class ExtensionsV1beta1Deployment{static getAttributeTypeMap(){return ExtensionsV1beta1Deployment.attributeTypeMap}}ExtensionsV1beta1Deployment.discriminator=undefined;ExtensionsV1beta1Deployment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"ExtensionsV1beta1DeploymentSpec"},{name:"status",baseName:"status",type:"ExtensionsV1beta1DeploymentStatus"}];t.ExtensionsV1beta1Deployment=ExtensionsV1beta1Deployment;class ExtensionsV1beta1DeploymentCondition{static getAttributeTypeMap(){return ExtensionsV1beta1DeploymentCondition.attributeTypeMap}}ExtensionsV1beta1DeploymentCondition.discriminator=undefined;ExtensionsV1beta1DeploymentCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"lastUpdateTime",baseName:"lastUpdateTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}];t.ExtensionsV1beta1DeploymentCondition=ExtensionsV1beta1DeploymentCondition;class ExtensionsV1beta1DeploymentList{static getAttributeTypeMap(){return ExtensionsV1beta1DeploymentList.attributeTypeMap}}ExtensionsV1beta1DeploymentList.discriminator=undefined;ExtensionsV1beta1DeploymentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.ExtensionsV1beta1DeploymentList=ExtensionsV1beta1DeploymentList;class ExtensionsV1beta1DeploymentRollback{static getAttributeTypeMap(){return ExtensionsV1beta1DeploymentRollback.attributeTypeMap}}ExtensionsV1beta1DeploymentRollback.discriminator=undefined;ExtensionsV1beta1DeploymentRollback.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"rollbackTo",baseName:"rollbackTo",type:"ExtensionsV1beta1RollbackConfig"},{name:"updatedAnnotations",baseName:"updatedAnnotations",type:"{ [key: string]: string; }"}];t.ExtensionsV1beta1DeploymentRollback=ExtensionsV1beta1DeploymentRollback;class ExtensionsV1beta1DeploymentSpec{static getAttributeTypeMap(){return ExtensionsV1beta1DeploymentSpec.attributeTypeMap}}ExtensionsV1beta1DeploymentSpec.discriminator=undefined;ExtensionsV1beta1DeploymentSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"paused",baseName:"paused",type:"boolean"},{name:"progressDeadlineSeconds",baseName:"progressDeadlineSeconds",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"revisionHistoryLimit",baseName:"revisionHistoryLimit",type:"number"},{name:"rollbackTo",baseName:"rollbackTo",type:"ExtensionsV1beta1RollbackConfig"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"strategy",baseName:"strategy",type:"ExtensionsV1beta1DeploymentStrategy"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}];t.ExtensionsV1beta1DeploymentSpec=ExtensionsV1beta1DeploymentSpec;class ExtensionsV1beta1DeploymentStatus{static getAttributeTypeMap(){return ExtensionsV1beta1DeploymentStatus.attributeTypeMap}}ExtensionsV1beta1DeploymentStatus.discriminator=undefined;ExtensionsV1beta1DeploymentStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"unavailableReplicas",baseName:"unavailableReplicas",type:"number"},{name:"updatedReplicas",baseName:"updatedReplicas",type:"number"}];t.ExtensionsV1beta1DeploymentStatus=ExtensionsV1beta1DeploymentStatus;class ExtensionsV1beta1DeploymentStrategy{static getAttributeTypeMap(){return ExtensionsV1beta1DeploymentStrategy.attributeTypeMap}}ExtensionsV1beta1DeploymentStrategy.discriminator=undefined;ExtensionsV1beta1DeploymentStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"ExtensionsV1beta1RollingUpdateDeployment"},{name:"type",baseName:"type",type:"string"}];t.ExtensionsV1beta1DeploymentStrategy=ExtensionsV1beta1DeploymentStrategy;class ExtensionsV1beta1FSGroupStrategyOptions{static getAttributeTypeMap(){return ExtensionsV1beta1FSGroupStrategyOptions.attributeTypeMap}}ExtensionsV1beta1FSGroupStrategyOptions.discriminator=undefined;ExtensionsV1beta1FSGroupStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}];t.ExtensionsV1beta1FSGroupStrategyOptions=ExtensionsV1beta1FSGroupStrategyOptions;class ExtensionsV1beta1HostPortRange{static getAttributeTypeMap(){return ExtensionsV1beta1HostPortRange.attributeTypeMap}}ExtensionsV1beta1HostPortRange.discriminator=undefined;ExtensionsV1beta1HostPortRange.attributeTypeMap=[{name:"max",baseName:"max",type:"number"},{name:"min",baseName:"min",type:"number"}];t.ExtensionsV1beta1HostPortRange=ExtensionsV1beta1HostPortRange;class ExtensionsV1beta1IDRange{static getAttributeTypeMap(){return ExtensionsV1beta1IDRange.attributeTypeMap}}ExtensionsV1beta1IDRange.discriminator=undefined;ExtensionsV1beta1IDRange.attributeTypeMap=[{name:"max",baseName:"max",type:"number"},{name:"min",baseName:"min",type:"number"}];t.ExtensionsV1beta1IDRange=ExtensionsV1beta1IDRange;class ExtensionsV1beta1PodSecurityPolicy{static getAttributeTypeMap(){return ExtensionsV1beta1PodSecurityPolicy.attributeTypeMap}}ExtensionsV1beta1PodSecurityPolicy.discriminator=undefined;ExtensionsV1beta1PodSecurityPolicy.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"ExtensionsV1beta1PodSecurityPolicySpec"}];t.ExtensionsV1beta1PodSecurityPolicy=ExtensionsV1beta1PodSecurityPolicy;class ExtensionsV1beta1PodSecurityPolicyList{static getAttributeTypeMap(){return ExtensionsV1beta1PodSecurityPolicyList.attributeTypeMap}}ExtensionsV1beta1PodSecurityPolicyList.discriminator=undefined;ExtensionsV1beta1PodSecurityPolicyList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.ExtensionsV1beta1PodSecurityPolicyList=ExtensionsV1beta1PodSecurityPolicyList;class ExtensionsV1beta1PodSecurityPolicySpec{static getAttributeTypeMap(){return ExtensionsV1beta1PodSecurityPolicySpec.attributeTypeMap}}ExtensionsV1beta1PodSecurityPolicySpec.discriminator=undefined;ExtensionsV1beta1PodSecurityPolicySpec.attributeTypeMap=[{name:"allowPrivilegeEscalation",baseName:"allowPrivilegeEscalation",type:"boolean"},{name:"allowedCapabilities",baseName:"allowedCapabilities",type:"Array"},{name:"allowedFlexVolumes",baseName:"allowedFlexVolumes",type:"Array"},{name:"allowedHostPaths",baseName:"allowedHostPaths",type:"Array"},{name:"allowedProcMountTypes",baseName:"allowedProcMountTypes",type:"Array"},{name:"allowedUnsafeSysctls",baseName:"allowedUnsafeSysctls",type:"Array"},{name:"defaultAddCapabilities",baseName:"defaultAddCapabilities",type:"Array"},{name:"defaultAllowPrivilegeEscalation",baseName:"defaultAllowPrivilegeEscalation",type:"boolean"},{name:"forbiddenSysctls",baseName:"forbiddenSysctls",type:"Array"},{name:"fsGroup",baseName:"fsGroup",type:"ExtensionsV1beta1FSGroupStrategyOptions"},{name:"hostIPC",baseName:"hostIPC",type:"boolean"},{name:"hostNetwork",baseName:"hostNetwork",type:"boolean"},{name:"hostPID",baseName:"hostPID",type:"boolean"},{name:"hostPorts",baseName:"hostPorts",type:"Array"},{name:"privileged",baseName:"privileged",type:"boolean"},{name:"readOnlyRootFilesystem",baseName:"readOnlyRootFilesystem",type:"boolean"},{name:"requiredDropCapabilities",baseName:"requiredDropCapabilities",type:"Array"},{name:"runAsGroup",baseName:"runAsGroup",type:"ExtensionsV1beta1RunAsGroupStrategyOptions"},{name:"runAsUser",baseName:"runAsUser",type:"ExtensionsV1beta1RunAsUserStrategyOptions"},{name:"seLinux",baseName:"seLinux",type:"ExtensionsV1beta1SELinuxStrategyOptions"},{name:"supplementalGroups",baseName:"supplementalGroups",type:"ExtensionsV1beta1SupplementalGroupsStrategyOptions"},{name:"volumes",baseName:"volumes",type:"Array"}];t.ExtensionsV1beta1PodSecurityPolicySpec=ExtensionsV1beta1PodSecurityPolicySpec;class ExtensionsV1beta1RollbackConfig{static getAttributeTypeMap(){return ExtensionsV1beta1RollbackConfig.attributeTypeMap}}ExtensionsV1beta1RollbackConfig.discriminator=undefined;ExtensionsV1beta1RollbackConfig.attributeTypeMap=[{name:"revision",baseName:"revision",type:"number"}];t.ExtensionsV1beta1RollbackConfig=ExtensionsV1beta1RollbackConfig;class ExtensionsV1beta1RollingUpdateDeployment{static getAttributeTypeMap(){return ExtensionsV1beta1RollingUpdateDeployment.attributeTypeMap}}ExtensionsV1beta1RollingUpdateDeployment.discriminator=undefined;ExtensionsV1beta1RollingUpdateDeployment.attributeTypeMap=[{name:"maxSurge",baseName:"maxSurge",type:"any"},{name:"maxUnavailable",baseName:"maxUnavailable",type:"any"}];t.ExtensionsV1beta1RollingUpdateDeployment=ExtensionsV1beta1RollingUpdateDeployment;class ExtensionsV1beta1RunAsGroupStrategyOptions{static getAttributeTypeMap(){return ExtensionsV1beta1RunAsGroupStrategyOptions.attributeTypeMap}}ExtensionsV1beta1RunAsGroupStrategyOptions.discriminator=undefined;ExtensionsV1beta1RunAsGroupStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}];t.ExtensionsV1beta1RunAsGroupStrategyOptions=ExtensionsV1beta1RunAsGroupStrategyOptions;class ExtensionsV1beta1RunAsUserStrategyOptions{static getAttributeTypeMap(){return ExtensionsV1beta1RunAsUserStrategyOptions.attributeTypeMap}}ExtensionsV1beta1RunAsUserStrategyOptions.discriminator=undefined;ExtensionsV1beta1RunAsUserStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}];t.ExtensionsV1beta1RunAsUserStrategyOptions=ExtensionsV1beta1RunAsUserStrategyOptions;class ExtensionsV1beta1SELinuxStrategyOptions{static getAttributeTypeMap(){return ExtensionsV1beta1SELinuxStrategyOptions.attributeTypeMap}}ExtensionsV1beta1SELinuxStrategyOptions.discriminator=undefined;ExtensionsV1beta1SELinuxStrategyOptions.attributeTypeMap=[{name:"rule",baseName:"rule",type:"string"},{name:"seLinuxOptions",baseName:"seLinuxOptions",type:"V1SELinuxOptions"}];t.ExtensionsV1beta1SELinuxStrategyOptions=ExtensionsV1beta1SELinuxStrategyOptions;class ExtensionsV1beta1Scale{static getAttributeTypeMap(){return ExtensionsV1beta1Scale.attributeTypeMap}}ExtensionsV1beta1Scale.discriminator=undefined;ExtensionsV1beta1Scale.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"ExtensionsV1beta1ScaleSpec"},{name:"status",baseName:"status",type:"ExtensionsV1beta1ScaleStatus"}];t.ExtensionsV1beta1Scale=ExtensionsV1beta1Scale;class ExtensionsV1beta1ScaleSpec{static getAttributeTypeMap(){return ExtensionsV1beta1ScaleSpec.attributeTypeMap}}ExtensionsV1beta1ScaleSpec.discriminator=undefined;ExtensionsV1beta1ScaleSpec.attributeTypeMap=[{name:"replicas",baseName:"replicas",type:"number"}];t.ExtensionsV1beta1ScaleSpec=ExtensionsV1beta1ScaleSpec;class ExtensionsV1beta1ScaleStatus{static getAttributeTypeMap(){return ExtensionsV1beta1ScaleStatus.attributeTypeMap}}ExtensionsV1beta1ScaleStatus.discriminator=undefined;ExtensionsV1beta1ScaleStatus.attributeTypeMap=[{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"{ [key: string]: string; }"},{name:"targetSelector",baseName:"targetSelector",type:"string"}];t.ExtensionsV1beta1ScaleStatus=ExtensionsV1beta1ScaleStatus;class ExtensionsV1beta1SupplementalGroupsStrategyOptions{static getAttributeTypeMap(){return ExtensionsV1beta1SupplementalGroupsStrategyOptions.attributeTypeMap}}ExtensionsV1beta1SupplementalGroupsStrategyOptions.discriminator=undefined;ExtensionsV1beta1SupplementalGroupsStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}];t.ExtensionsV1beta1SupplementalGroupsStrategyOptions=ExtensionsV1beta1SupplementalGroupsStrategyOptions;class PolicyV1beta1AllowedFlexVolume{static getAttributeTypeMap(){return PolicyV1beta1AllowedFlexVolume.attributeTypeMap}}PolicyV1beta1AllowedFlexVolume.discriminator=undefined;PolicyV1beta1AllowedFlexVolume.attributeTypeMap=[{name:"driver",baseName:"driver",type:"string"}];t.PolicyV1beta1AllowedFlexVolume=PolicyV1beta1AllowedFlexVolume;class PolicyV1beta1AllowedHostPath{static getAttributeTypeMap(){return PolicyV1beta1AllowedHostPath.attributeTypeMap}}PolicyV1beta1AllowedHostPath.discriminator=undefined;PolicyV1beta1AllowedHostPath.attributeTypeMap=[{name:"pathPrefix",baseName:"pathPrefix",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}];t.PolicyV1beta1AllowedHostPath=PolicyV1beta1AllowedHostPath;class PolicyV1beta1FSGroupStrategyOptions{static getAttributeTypeMap(){return PolicyV1beta1FSGroupStrategyOptions.attributeTypeMap}}PolicyV1beta1FSGroupStrategyOptions.discriminator=undefined;PolicyV1beta1FSGroupStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}];t.PolicyV1beta1FSGroupStrategyOptions=PolicyV1beta1FSGroupStrategyOptions;class PolicyV1beta1HostPortRange{static getAttributeTypeMap(){return PolicyV1beta1HostPortRange.attributeTypeMap}}PolicyV1beta1HostPortRange.discriminator=undefined;PolicyV1beta1HostPortRange.attributeTypeMap=[{name:"max",baseName:"max",type:"number"},{name:"min",baseName:"min",type:"number"}];t.PolicyV1beta1HostPortRange=PolicyV1beta1HostPortRange;class PolicyV1beta1IDRange{static getAttributeTypeMap(){return PolicyV1beta1IDRange.attributeTypeMap}}PolicyV1beta1IDRange.discriminator=undefined;PolicyV1beta1IDRange.attributeTypeMap=[{name:"max",baseName:"max",type:"number"},{name:"min",baseName:"min",type:"number"}];t.PolicyV1beta1IDRange=PolicyV1beta1IDRange;class PolicyV1beta1PodSecurityPolicy{static getAttributeTypeMap(){return PolicyV1beta1PodSecurityPolicy.attributeTypeMap}}PolicyV1beta1PodSecurityPolicy.discriminator=undefined;PolicyV1beta1PodSecurityPolicy.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"PolicyV1beta1PodSecurityPolicySpec"}];t.PolicyV1beta1PodSecurityPolicy=PolicyV1beta1PodSecurityPolicy;class PolicyV1beta1PodSecurityPolicyList{static getAttributeTypeMap(){return PolicyV1beta1PodSecurityPolicyList.attributeTypeMap}}PolicyV1beta1PodSecurityPolicyList.discriminator=undefined;PolicyV1beta1PodSecurityPolicyList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.PolicyV1beta1PodSecurityPolicyList=PolicyV1beta1PodSecurityPolicyList;class PolicyV1beta1PodSecurityPolicySpec{static getAttributeTypeMap(){return PolicyV1beta1PodSecurityPolicySpec.attributeTypeMap}}PolicyV1beta1PodSecurityPolicySpec.discriminator=undefined;PolicyV1beta1PodSecurityPolicySpec.attributeTypeMap=[{name:"allowPrivilegeEscalation",baseName:"allowPrivilegeEscalation",type:"boolean"},{name:"allowedCapabilities",baseName:"allowedCapabilities",type:"Array"},{name:"allowedFlexVolumes",baseName:"allowedFlexVolumes",type:"Array"},{name:"allowedHostPaths",baseName:"allowedHostPaths",type:"Array"},{name:"allowedProcMountTypes",baseName:"allowedProcMountTypes",type:"Array"},{name:"allowedUnsafeSysctls",baseName:"allowedUnsafeSysctls",type:"Array"},{name:"defaultAddCapabilities",baseName:"defaultAddCapabilities",type:"Array"},{name:"defaultAllowPrivilegeEscalation",baseName:"defaultAllowPrivilegeEscalation",type:"boolean"},{name:"forbiddenSysctls",baseName:"forbiddenSysctls",type:"Array"},{name:"fsGroup",baseName:"fsGroup",type:"PolicyV1beta1FSGroupStrategyOptions"},{name:"hostIPC",baseName:"hostIPC",type:"boolean"},{name:"hostNetwork",baseName:"hostNetwork",type:"boolean"},{name:"hostPID",baseName:"hostPID",type:"boolean"},{name:"hostPorts",baseName:"hostPorts",type:"Array"},{name:"privileged",baseName:"privileged",type:"boolean"},{name:"readOnlyRootFilesystem",baseName:"readOnlyRootFilesystem",type:"boolean"},{name:"requiredDropCapabilities",baseName:"requiredDropCapabilities",type:"Array"},{name:"runAsGroup",baseName:"runAsGroup",type:"PolicyV1beta1RunAsGroupStrategyOptions"},{name:"runAsUser",baseName:"runAsUser",type:"PolicyV1beta1RunAsUserStrategyOptions"},{name:"seLinux",baseName:"seLinux",type:"PolicyV1beta1SELinuxStrategyOptions"},{name:"supplementalGroups",baseName:"supplementalGroups",type:"PolicyV1beta1SupplementalGroupsStrategyOptions"},{name:"volumes",baseName:"volumes",type:"Array"}];t.PolicyV1beta1PodSecurityPolicySpec=PolicyV1beta1PodSecurityPolicySpec;class PolicyV1beta1RunAsGroupStrategyOptions{static getAttributeTypeMap(){return PolicyV1beta1RunAsGroupStrategyOptions.attributeTypeMap}}PolicyV1beta1RunAsGroupStrategyOptions.discriminator=undefined;PolicyV1beta1RunAsGroupStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}];t.PolicyV1beta1RunAsGroupStrategyOptions=PolicyV1beta1RunAsGroupStrategyOptions;class PolicyV1beta1RunAsUserStrategyOptions{static getAttributeTypeMap(){return PolicyV1beta1RunAsUserStrategyOptions.attributeTypeMap}}PolicyV1beta1RunAsUserStrategyOptions.discriminator=undefined;PolicyV1beta1RunAsUserStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}];t.PolicyV1beta1RunAsUserStrategyOptions=PolicyV1beta1RunAsUserStrategyOptions;class PolicyV1beta1SELinuxStrategyOptions{static getAttributeTypeMap(){return PolicyV1beta1SELinuxStrategyOptions.attributeTypeMap}}PolicyV1beta1SELinuxStrategyOptions.discriminator=undefined;PolicyV1beta1SELinuxStrategyOptions.attributeTypeMap=[{name:"rule",baseName:"rule",type:"string"},{name:"seLinuxOptions",baseName:"seLinuxOptions",type:"V1SELinuxOptions"}];t.PolicyV1beta1SELinuxStrategyOptions=PolicyV1beta1SELinuxStrategyOptions;class PolicyV1beta1SupplementalGroupsStrategyOptions{static getAttributeTypeMap(){return PolicyV1beta1SupplementalGroupsStrategyOptions.attributeTypeMap}}PolicyV1beta1SupplementalGroupsStrategyOptions.discriminator=undefined;PolicyV1beta1SupplementalGroupsStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}];t.PolicyV1beta1SupplementalGroupsStrategyOptions=PolicyV1beta1SupplementalGroupsStrategyOptions;class RuntimeRawExtension{static getAttributeTypeMap(){return RuntimeRawExtension.attributeTypeMap}}RuntimeRawExtension.discriminator=undefined;RuntimeRawExtension.attributeTypeMap=[{name:"raw",baseName:"Raw",type:"string"}];t.RuntimeRawExtension=RuntimeRawExtension;class V1APIGroup{static getAttributeTypeMap(){return V1APIGroup.attributeTypeMap}}V1APIGroup.discriminator=undefined;V1APIGroup.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"preferredVersion",baseName:"preferredVersion",type:"V1GroupVersionForDiscovery"},{name:"serverAddressByClientCIDRs",baseName:"serverAddressByClientCIDRs",type:"Array"},{name:"versions",baseName:"versions",type:"Array"}];t.V1APIGroup=V1APIGroup;class V1APIGroupList{static getAttributeTypeMap(){return V1APIGroupList.attributeTypeMap}}V1APIGroupList.discriminator=undefined;V1APIGroupList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"groups",baseName:"groups",type:"Array"},{name:"kind",baseName:"kind",type:"string"}];t.V1APIGroupList=V1APIGroupList;class V1APIResource{static getAttributeTypeMap(){return V1APIResource.attributeTypeMap}}V1APIResource.discriminator=undefined;V1APIResource.attributeTypeMap=[{name:"categories",baseName:"categories",type:"Array"},{name:"group",baseName:"group",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespaced",baseName:"namespaced",type:"boolean"},{name:"shortNames",baseName:"shortNames",type:"Array"},{name:"singularName",baseName:"singularName",type:"string"},{name:"verbs",baseName:"verbs",type:"Array"},{name:"version",baseName:"version",type:"string"}];t.V1APIResource=V1APIResource;class V1APIResourceList{static getAttributeTypeMap(){return V1APIResourceList.attributeTypeMap}}V1APIResourceList.discriminator=undefined;V1APIResourceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"groupVersion",baseName:"groupVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"resources",baseName:"resources",type:"Array"}];t.V1APIResourceList=V1APIResourceList;class V1APIService{static getAttributeTypeMap(){return V1APIService.attributeTypeMap}}V1APIService.discriminator=undefined;V1APIService.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1APIServiceSpec"},{name:"status",baseName:"status",type:"V1APIServiceStatus"}];t.V1APIService=V1APIService;class V1APIServiceCondition{static getAttributeTypeMap(){return V1APIServiceCondition.attributeTypeMap}}V1APIServiceCondition.discriminator=undefined;V1APIServiceCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}];t.V1APIServiceCondition=V1APIServiceCondition;class V1APIServiceList{static getAttributeTypeMap(){return V1APIServiceList.attributeTypeMap}}V1APIServiceList.discriminator=undefined;V1APIServiceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1APIServiceList=V1APIServiceList;class V1APIServiceSpec{static getAttributeTypeMap(){return V1APIServiceSpec.attributeTypeMap}}V1APIServiceSpec.discriminator=undefined;V1APIServiceSpec.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"group",baseName:"group",type:"string"},{name:"groupPriorityMinimum",baseName:"groupPriorityMinimum",type:"number"},{name:"insecureSkipTLSVerify",baseName:"insecureSkipTLSVerify",type:"boolean"},{name:"service",baseName:"service",type:"V1ServiceReference"},{name:"version",baseName:"version",type:"string"},{name:"versionPriority",baseName:"versionPriority",type:"number"}];t.V1APIServiceSpec=V1APIServiceSpec;class V1APIServiceStatus{static getAttributeTypeMap(){return V1APIServiceStatus.attributeTypeMap}}V1APIServiceStatus.discriminator=undefined;V1APIServiceStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"}];t.V1APIServiceStatus=V1APIServiceStatus;class V1APIVersions{static getAttributeTypeMap(){return V1APIVersions.attributeTypeMap}}V1APIVersions.discriminator=undefined;V1APIVersions.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"serverAddressByClientCIDRs",baseName:"serverAddressByClientCIDRs",type:"Array"},{name:"versions",baseName:"versions",type:"Array"}];t.V1APIVersions=V1APIVersions;class V1AWSElasticBlockStoreVolumeSource{static getAttributeTypeMap(){return V1AWSElasticBlockStoreVolumeSource.attributeTypeMap}}V1AWSElasticBlockStoreVolumeSource.discriminator=undefined;V1AWSElasticBlockStoreVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"partition",baseName:"partition",type:"number"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"volumeID",baseName:"volumeID",type:"string"}];t.V1AWSElasticBlockStoreVolumeSource=V1AWSElasticBlockStoreVolumeSource;class V1Affinity{static getAttributeTypeMap(){return V1Affinity.attributeTypeMap}}V1Affinity.discriminator=undefined;V1Affinity.attributeTypeMap=[{name:"nodeAffinity",baseName:"nodeAffinity",type:"V1NodeAffinity"},{name:"podAffinity",baseName:"podAffinity",type:"V1PodAffinity"},{name:"podAntiAffinity",baseName:"podAntiAffinity",type:"V1PodAntiAffinity"}];t.V1Affinity=V1Affinity;class V1AggregationRule{static getAttributeTypeMap(){return V1AggregationRule.attributeTypeMap}}V1AggregationRule.discriminator=undefined;V1AggregationRule.attributeTypeMap=[{name:"clusterRoleSelectors",baseName:"clusterRoleSelectors",type:"Array"}];t.V1AggregationRule=V1AggregationRule;class V1AttachedVolume{static getAttributeTypeMap(){return V1AttachedVolume.attributeTypeMap}}V1AttachedVolume.discriminator=undefined;V1AttachedVolume.attributeTypeMap=[{name:"devicePath",baseName:"devicePath",type:"string"},{name:"name",baseName:"name",type:"string"}];t.V1AttachedVolume=V1AttachedVolume;class V1AzureDiskVolumeSource{static getAttributeTypeMap(){return V1AzureDiskVolumeSource.attributeTypeMap}}V1AzureDiskVolumeSource.discriminator=undefined;V1AzureDiskVolumeSource.attributeTypeMap=[{name:"cachingMode",baseName:"cachingMode",type:"string"},{name:"diskName",baseName:"diskName",type:"string"},{name:"diskURI",baseName:"diskURI",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}];t.V1AzureDiskVolumeSource=V1AzureDiskVolumeSource;class V1AzureFilePersistentVolumeSource{static getAttributeTypeMap(){return V1AzureFilePersistentVolumeSource.attributeTypeMap}}V1AzureFilePersistentVolumeSource.discriminator=undefined;V1AzureFilePersistentVolumeSource.attributeTypeMap=[{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretName",baseName:"secretName",type:"string"},{name:"secretNamespace",baseName:"secretNamespace",type:"string"},{name:"shareName",baseName:"shareName",type:"string"}];t.V1AzureFilePersistentVolumeSource=V1AzureFilePersistentVolumeSource;class V1AzureFileVolumeSource{static getAttributeTypeMap(){return V1AzureFileVolumeSource.attributeTypeMap}}V1AzureFileVolumeSource.discriminator=undefined;V1AzureFileVolumeSource.attributeTypeMap=[{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretName",baseName:"secretName",type:"string"},{name:"shareName",baseName:"shareName",type:"string"}];t.V1AzureFileVolumeSource=V1AzureFileVolumeSource;class V1Binding{static getAttributeTypeMap(){return V1Binding.attributeTypeMap}}V1Binding.discriminator=undefined;V1Binding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"target",baseName:"target",type:"V1ObjectReference"}];t.V1Binding=V1Binding;class V1CSIPersistentVolumeSource{static getAttributeTypeMap(){return V1CSIPersistentVolumeSource.attributeTypeMap}}V1CSIPersistentVolumeSource.discriminator=undefined;V1CSIPersistentVolumeSource.attributeTypeMap=[{name:"controllerPublishSecretRef",baseName:"controllerPublishSecretRef",type:"V1SecretReference"},{name:"driver",baseName:"driver",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"nodePublishSecretRef",baseName:"nodePublishSecretRef",type:"V1SecretReference"},{name:"nodeStageSecretRef",baseName:"nodeStageSecretRef",type:"V1SecretReference"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"volumeAttributes",baseName:"volumeAttributes",type:"{ [key: string]: string; }"},{name:"volumeHandle",baseName:"volumeHandle",type:"string"}];t.V1CSIPersistentVolumeSource=V1CSIPersistentVolumeSource;class V1Capabilities{static getAttributeTypeMap(){return V1Capabilities.attributeTypeMap}}V1Capabilities.discriminator=undefined;V1Capabilities.attributeTypeMap=[{name:"add",baseName:"add",type:"Array"},{name:"drop",baseName:"drop",type:"Array"}];t.V1Capabilities=V1Capabilities;class V1CephFSPersistentVolumeSource{static getAttributeTypeMap(){return V1CephFSPersistentVolumeSource.attributeTypeMap}}V1CephFSPersistentVolumeSource.discriminator=undefined;V1CephFSPersistentVolumeSource.attributeTypeMap=[{name:"monitors",baseName:"monitors",type:"Array"},{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretFile",baseName:"secretFile",type:"string"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"user",baseName:"user",type:"string"}];t.V1CephFSPersistentVolumeSource=V1CephFSPersistentVolumeSource;class V1CephFSVolumeSource{static getAttributeTypeMap(){return V1CephFSVolumeSource.attributeTypeMap}}V1CephFSVolumeSource.discriminator=undefined;V1CephFSVolumeSource.attributeTypeMap=[{name:"monitors",baseName:"monitors",type:"Array"},{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretFile",baseName:"secretFile",type:"string"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"user",baseName:"user",type:"string"}];t.V1CephFSVolumeSource=V1CephFSVolumeSource;class V1CinderPersistentVolumeSource{static getAttributeTypeMap(){return V1CinderPersistentVolumeSource.attributeTypeMap}}V1CinderPersistentVolumeSource.discriminator=undefined;V1CinderPersistentVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"volumeID",baseName:"volumeID",type:"string"}];t.V1CinderPersistentVolumeSource=V1CinderPersistentVolumeSource;class V1CinderVolumeSource{static getAttributeTypeMap(){return V1CinderVolumeSource.attributeTypeMap}}V1CinderVolumeSource.discriminator=undefined;V1CinderVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"volumeID",baseName:"volumeID",type:"string"}];t.V1CinderVolumeSource=V1CinderVolumeSource;class V1ClientIPConfig{static getAttributeTypeMap(){return V1ClientIPConfig.attributeTypeMap}}V1ClientIPConfig.discriminator=undefined;V1ClientIPConfig.attributeTypeMap=[{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}];t.V1ClientIPConfig=V1ClientIPConfig;class V1ClusterRole{static getAttributeTypeMap(){return V1ClusterRole.attributeTypeMap}}V1ClusterRole.discriminator=undefined;V1ClusterRole.attributeTypeMap=[{name:"aggregationRule",baseName:"aggregationRule",type:"V1AggregationRule"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array"}];t.V1ClusterRole=V1ClusterRole;class V1ClusterRoleBinding{static getAttributeTypeMap(){return V1ClusterRoleBinding.attributeTypeMap}}V1ClusterRoleBinding.discriminator=undefined;V1ClusterRoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array"}];t.V1ClusterRoleBinding=V1ClusterRoleBinding;class V1ClusterRoleBindingList{static getAttributeTypeMap(){return V1ClusterRoleBindingList.attributeTypeMap}}V1ClusterRoleBindingList.discriminator=undefined;V1ClusterRoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1ClusterRoleBindingList=V1ClusterRoleBindingList;class V1ClusterRoleList{static getAttributeTypeMap(){return V1ClusterRoleList.attributeTypeMap}}V1ClusterRoleList.discriminator=undefined;V1ClusterRoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1ClusterRoleList=V1ClusterRoleList;class V1ComponentCondition{static getAttributeTypeMap(){return V1ComponentCondition.attributeTypeMap}}V1ComponentCondition.discriminator=undefined;V1ComponentCondition.attributeTypeMap=[{name:"error",baseName:"error",type:"string"},{name:"message",baseName:"message",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}];t.V1ComponentCondition=V1ComponentCondition;class V1ComponentStatus{static getAttributeTypeMap(){return V1ComponentStatus.attributeTypeMap}}V1ComponentStatus.discriminator=undefined;V1ComponentStatus.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"}];t.V1ComponentStatus=V1ComponentStatus;class V1ComponentStatusList{static getAttributeTypeMap(){return V1ComponentStatusList.attributeTypeMap}}V1ComponentStatusList.discriminator=undefined;V1ComponentStatusList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1ComponentStatusList=V1ComponentStatusList;class V1ConfigMap{static getAttributeTypeMap(){return V1ConfigMap.attributeTypeMap}}V1ConfigMap.discriminator=undefined;V1ConfigMap.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"binaryData",baseName:"binaryData",type:"{ [key: string]: string; }"},{name:"data",baseName:"data",type:"{ [key: string]: string; }"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"}];t.V1ConfigMap=V1ConfigMap;class V1ConfigMapEnvSource{static getAttributeTypeMap(){return V1ConfigMapEnvSource.attributeTypeMap}}V1ConfigMapEnvSource.discriminator=undefined;V1ConfigMapEnvSource.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}];t.V1ConfigMapEnvSource=V1ConfigMapEnvSource;class V1ConfigMapKeySelector{static getAttributeTypeMap(){return V1ConfigMapKeySelector.attributeTypeMap}}V1ConfigMapKeySelector.discriminator=undefined;V1ConfigMapKeySelector.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}];t.V1ConfigMapKeySelector=V1ConfigMapKeySelector;class V1ConfigMapList{static getAttributeTypeMap(){return V1ConfigMapList.attributeTypeMap}}V1ConfigMapList.discriminator=undefined;V1ConfigMapList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1ConfigMapList=V1ConfigMapList;class V1ConfigMapNodeConfigSource{static getAttributeTypeMap(){return V1ConfigMapNodeConfigSource.attributeTypeMap}}V1ConfigMapNodeConfigSource.discriminator=undefined;V1ConfigMapNodeConfigSource.attributeTypeMap=[{name:"kubeletConfigKey",baseName:"kubeletConfigKey",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"uid",baseName:"uid",type:"string"}];t.V1ConfigMapNodeConfigSource=V1ConfigMapNodeConfigSource;class V1ConfigMapProjection{static getAttributeTypeMap(){return V1ConfigMapProjection.attributeTypeMap}}V1ConfigMapProjection.discriminator=undefined;V1ConfigMapProjection.attributeTypeMap=[{name:"items",baseName:"items",type:"Array"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}];t.V1ConfigMapProjection=V1ConfigMapProjection;class V1ConfigMapVolumeSource{static getAttributeTypeMap(){return V1ConfigMapVolumeSource.attributeTypeMap}}V1ConfigMapVolumeSource.discriminator=undefined;V1ConfigMapVolumeSource.attributeTypeMap=[{name:"defaultMode",baseName:"defaultMode",type:"number"},{name:"items",baseName:"items",type:"Array"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}];t.V1ConfigMapVolumeSource=V1ConfigMapVolumeSource;class V1Container{static getAttributeTypeMap(){return V1Container.attributeTypeMap}}V1Container.discriminator=undefined;V1Container.attributeTypeMap=[{name:"args",baseName:"args",type:"Array"},{name:"command",baseName:"command",type:"Array"},{name:"env",baseName:"env",type:"Array"},{name:"envFrom",baseName:"envFrom",type:"Array"},{name:"image",baseName:"image",type:"string"},{name:"imagePullPolicy",baseName:"imagePullPolicy",type:"string"},{name:"lifecycle",baseName:"lifecycle",type:"V1Lifecycle"},{name:"livenessProbe",baseName:"livenessProbe",type:"V1Probe"},{name:"name",baseName:"name",type:"string"},{name:"ports",baseName:"ports",type:"Array"},{name:"readinessProbe",baseName:"readinessProbe",type:"V1Probe"},{name:"resources",baseName:"resources",type:"V1ResourceRequirements"},{name:"securityContext",baseName:"securityContext",type:"V1SecurityContext"},{name:"stdin",baseName:"stdin",type:"boolean"},{name:"stdinOnce",baseName:"stdinOnce",type:"boolean"},{name:"terminationMessagePath",baseName:"terminationMessagePath",type:"string"},{name:"terminationMessagePolicy",baseName:"terminationMessagePolicy",type:"string"},{name:"tty",baseName:"tty",type:"boolean"},{name:"volumeDevices",baseName:"volumeDevices",type:"Array"},{name:"volumeMounts",baseName:"volumeMounts",type:"Array"},{name:"workingDir",baseName:"workingDir",type:"string"}];t.V1Container=V1Container;class V1ContainerImage{static getAttributeTypeMap(){return V1ContainerImage.attributeTypeMap}}V1ContainerImage.discriminator=undefined;V1ContainerImage.attributeTypeMap=[{name:"names",baseName:"names",type:"Array"},{name:"sizeBytes",baseName:"sizeBytes",type:"number"}];t.V1ContainerImage=V1ContainerImage;class V1ContainerPort{static getAttributeTypeMap(){return V1ContainerPort.attributeTypeMap}}V1ContainerPort.discriminator=undefined;V1ContainerPort.attributeTypeMap=[{name:"containerPort",baseName:"containerPort",type:"number"},{name:"hostIP",baseName:"hostIP",type:"string"},{name:"hostPort",baseName:"hostPort",type:"number"},{name:"name",baseName:"name",type:"string"},{name:"protocol",baseName:"protocol",type:"string"}];t.V1ContainerPort=V1ContainerPort;class V1ContainerState{static getAttributeTypeMap(){return V1ContainerState.attributeTypeMap}}V1ContainerState.discriminator=undefined;V1ContainerState.attributeTypeMap=[{name:"running",baseName:"running",type:"V1ContainerStateRunning"},{name:"terminated",baseName:"terminated",type:"V1ContainerStateTerminated"},{name:"waiting",baseName:"waiting",type:"V1ContainerStateWaiting"}];t.V1ContainerState=V1ContainerState;class V1ContainerStateRunning{static getAttributeTypeMap(){return V1ContainerStateRunning.attributeTypeMap}}V1ContainerStateRunning.discriminator=undefined;V1ContainerStateRunning.attributeTypeMap=[{name:"startedAt",baseName:"startedAt",type:"Date"}];t.V1ContainerStateRunning=V1ContainerStateRunning;class V1ContainerStateTerminated{static getAttributeTypeMap(){return V1ContainerStateTerminated.attributeTypeMap}}V1ContainerStateTerminated.discriminator=undefined;V1ContainerStateTerminated.attributeTypeMap=[{name:"containerID",baseName:"containerID",type:"string"},{name:"exitCode",baseName:"exitCode",type:"number"},{name:"finishedAt",baseName:"finishedAt",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"signal",baseName:"signal",type:"number"},{name:"startedAt",baseName:"startedAt",type:"Date"}];t.V1ContainerStateTerminated=V1ContainerStateTerminated;class V1ContainerStateWaiting{static getAttributeTypeMap(){return V1ContainerStateWaiting.attributeTypeMap}}V1ContainerStateWaiting.discriminator=undefined;V1ContainerStateWaiting.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"}];t.V1ContainerStateWaiting=V1ContainerStateWaiting;class V1ContainerStatus{static getAttributeTypeMap(){return V1ContainerStatus.attributeTypeMap}}V1ContainerStatus.discriminator=undefined;V1ContainerStatus.attributeTypeMap=[{name:"containerID",baseName:"containerID",type:"string"},{name:"image",baseName:"image",type:"string"},{name:"imageID",baseName:"imageID",type:"string"},{name:"lastState",baseName:"lastState",type:"V1ContainerState"},{name:"name",baseName:"name",type:"string"},{name:"ready",baseName:"ready",type:"boolean"},{name:"restartCount",baseName:"restartCount",type:"number"},{name:"state",baseName:"state",type:"V1ContainerState"}];t.V1ContainerStatus=V1ContainerStatus;class V1ControllerRevision{static getAttributeTypeMap(){return V1ControllerRevision.attributeTypeMap}}V1ControllerRevision.discriminator=undefined;V1ControllerRevision.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"data",baseName:"data",type:"RuntimeRawExtension"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"revision",baseName:"revision",type:"number"}];t.V1ControllerRevision=V1ControllerRevision;class V1ControllerRevisionList{static getAttributeTypeMap(){return V1ControllerRevisionList.attributeTypeMap}}V1ControllerRevisionList.discriminator=undefined;V1ControllerRevisionList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1ControllerRevisionList=V1ControllerRevisionList;class V1CrossVersionObjectReference{static getAttributeTypeMap(){return V1CrossVersionObjectReference.attributeTypeMap}}V1CrossVersionObjectReference.discriminator=undefined;V1CrossVersionObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}];t.V1CrossVersionObjectReference=V1CrossVersionObjectReference;class V1DaemonEndpoint{static getAttributeTypeMap(){return V1DaemonEndpoint.attributeTypeMap}}V1DaemonEndpoint.discriminator=undefined;V1DaemonEndpoint.attributeTypeMap=[{name:"port",baseName:"Port",type:"number"}];t.V1DaemonEndpoint=V1DaemonEndpoint;class V1DaemonSet{static getAttributeTypeMap(){return V1DaemonSet.attributeTypeMap}}V1DaemonSet.discriminator=undefined;V1DaemonSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1DaemonSetSpec"},{name:"status",baseName:"status",type:"V1DaemonSetStatus"}];t.V1DaemonSet=V1DaemonSet;class V1DaemonSetCondition{static getAttributeTypeMap(){return V1DaemonSetCondition.attributeTypeMap}}V1DaemonSetCondition.discriminator=undefined;V1DaemonSetCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}];t.V1DaemonSetCondition=V1DaemonSetCondition;class V1DaemonSetList{static getAttributeTypeMap(){return V1DaemonSetList.attributeTypeMap}}V1DaemonSetList.discriminator=undefined;V1DaemonSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1DaemonSetList=V1DaemonSetList;class V1DaemonSetSpec{static getAttributeTypeMap(){return V1DaemonSetSpec.attributeTypeMap}}V1DaemonSetSpec.discriminator=undefined;V1DaemonSetSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"revisionHistoryLimit",baseName:"revisionHistoryLimit",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"},{name:"updateStrategy",baseName:"updateStrategy",type:"V1DaemonSetUpdateStrategy"}];t.V1DaemonSetSpec=V1DaemonSetSpec;class V1DaemonSetStatus{static getAttributeTypeMap(){return V1DaemonSetStatus.attributeTypeMap}}V1DaemonSetStatus.discriminator=undefined;V1DaemonSetStatus.attributeTypeMap=[{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"currentNumberScheduled",baseName:"currentNumberScheduled",type:"number"},{name:"desiredNumberScheduled",baseName:"desiredNumberScheduled",type:"number"},{name:"numberAvailable",baseName:"numberAvailable",type:"number"},{name:"numberMisscheduled",baseName:"numberMisscheduled",type:"number"},{name:"numberReady",baseName:"numberReady",type:"number"},{name:"numberUnavailable",baseName:"numberUnavailable",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"updatedNumberScheduled",baseName:"updatedNumberScheduled",type:"number"}];t.V1DaemonSetStatus=V1DaemonSetStatus;class V1DaemonSetUpdateStrategy{static getAttributeTypeMap(){return V1DaemonSetUpdateStrategy.attributeTypeMap}}V1DaemonSetUpdateStrategy.discriminator=undefined;V1DaemonSetUpdateStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1RollingUpdateDaemonSet"},{name:"type",baseName:"type",type:"string"}];t.V1DaemonSetUpdateStrategy=V1DaemonSetUpdateStrategy;class V1DeleteOptions{static getAttributeTypeMap(){return V1DeleteOptions.attributeTypeMap}}V1DeleteOptions.discriminator=undefined;V1DeleteOptions.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"dryRun",baseName:"dryRun",type:"Array"},{name:"gracePeriodSeconds",baseName:"gracePeriodSeconds",type:"number"},{name:"kind",baseName:"kind",type:"string"},{name:"orphanDependents",baseName:"orphanDependents",type:"boolean"},{name:"preconditions",baseName:"preconditions",type:"V1Preconditions"},{name:"propagationPolicy",baseName:"propagationPolicy",type:"string"}];t.V1DeleteOptions=V1DeleteOptions;class V1Deployment{static getAttributeTypeMap(){return V1Deployment.attributeTypeMap}}V1Deployment.discriminator=undefined;V1Deployment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1DeploymentSpec"},{name:"status",baseName:"status",type:"V1DeploymentStatus"}];t.V1Deployment=V1Deployment;class V1DeploymentCondition{static getAttributeTypeMap(){return V1DeploymentCondition.attributeTypeMap}}V1DeploymentCondition.discriminator=undefined;V1DeploymentCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"lastUpdateTime",baseName:"lastUpdateTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}];t.V1DeploymentCondition=V1DeploymentCondition;class V1DeploymentList{static getAttributeTypeMap(){return V1DeploymentList.attributeTypeMap}}V1DeploymentList.discriminator=undefined;V1DeploymentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1DeploymentList=V1DeploymentList;class V1DeploymentSpec{static getAttributeTypeMap(){return V1DeploymentSpec.attributeTypeMap}}V1DeploymentSpec.discriminator=undefined;V1DeploymentSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"paused",baseName:"paused",type:"boolean"},{name:"progressDeadlineSeconds",baseName:"progressDeadlineSeconds",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"revisionHistoryLimit",baseName:"revisionHistoryLimit",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"strategy",baseName:"strategy",type:"V1DeploymentStrategy"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}];t.V1DeploymentSpec=V1DeploymentSpec;class V1DeploymentStatus{static getAttributeTypeMap(){return V1DeploymentStatus.attributeTypeMap}}V1DeploymentStatus.discriminator=undefined;V1DeploymentStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"unavailableReplicas",baseName:"unavailableReplicas",type:"number"},{name:"updatedReplicas",baseName:"updatedReplicas",type:"number"}];t.V1DeploymentStatus=V1DeploymentStatus;class V1DeploymentStrategy{static getAttributeTypeMap(){return V1DeploymentStrategy.attributeTypeMap}}V1DeploymentStrategy.discriminator=undefined;V1DeploymentStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1RollingUpdateDeployment"},{name:"type",baseName:"type",type:"string"}];t.V1DeploymentStrategy=V1DeploymentStrategy;class V1DownwardAPIProjection{static getAttributeTypeMap(){return V1DownwardAPIProjection.attributeTypeMap}}V1DownwardAPIProjection.discriminator=undefined;V1DownwardAPIProjection.attributeTypeMap=[{name:"items",baseName:"items",type:"Array"}];t.V1DownwardAPIProjection=V1DownwardAPIProjection;class V1DownwardAPIVolumeFile{static getAttributeTypeMap(){return V1DownwardAPIVolumeFile.attributeTypeMap}}V1DownwardAPIVolumeFile.discriminator=undefined;V1DownwardAPIVolumeFile.attributeTypeMap=[{name:"fieldRef",baseName:"fieldRef",type:"V1ObjectFieldSelector"},{name:"mode",baseName:"mode",type:"number"},{name:"path",baseName:"path",type:"string"},{name:"resourceFieldRef",baseName:"resourceFieldRef",type:"V1ResourceFieldSelector"}];t.V1DownwardAPIVolumeFile=V1DownwardAPIVolumeFile;class V1DownwardAPIVolumeSource{static getAttributeTypeMap(){return V1DownwardAPIVolumeSource.attributeTypeMap}}V1DownwardAPIVolumeSource.discriminator=undefined;V1DownwardAPIVolumeSource.attributeTypeMap=[{name:"defaultMode",baseName:"defaultMode",type:"number"},{name:"items",baseName:"items",type:"Array"}];t.V1DownwardAPIVolumeSource=V1DownwardAPIVolumeSource;class V1EmptyDirVolumeSource{static getAttributeTypeMap(){return V1EmptyDirVolumeSource.attributeTypeMap}}V1EmptyDirVolumeSource.discriminator=undefined;V1EmptyDirVolumeSource.attributeTypeMap=[{name:"medium",baseName:"medium",type:"string"},{name:"sizeLimit",baseName:"sizeLimit",type:"string"}];t.V1EmptyDirVolumeSource=V1EmptyDirVolumeSource;class V1EndpointAddress{static getAttributeTypeMap(){return V1EndpointAddress.attributeTypeMap}}V1EndpointAddress.discriminator=undefined;V1EndpointAddress.attributeTypeMap=[{name:"hostname",baseName:"hostname",type:"string"},{name:"ip",baseName:"ip",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"targetRef",baseName:"targetRef",type:"V1ObjectReference"}];t.V1EndpointAddress=V1EndpointAddress;class V1EndpointPort{static getAttributeTypeMap(){return V1EndpointPort.attributeTypeMap}}V1EndpointPort.discriminator=undefined;V1EndpointPort.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"port",baseName:"port",type:"number"},{name:"protocol",baseName:"protocol",type:"string"}];t.V1EndpointPort=V1EndpointPort;class V1EndpointSubset{static getAttributeTypeMap(){return V1EndpointSubset.attributeTypeMap}}V1EndpointSubset.discriminator=undefined;V1EndpointSubset.attributeTypeMap=[{name:"addresses",baseName:"addresses",type:"Array"},{name:"notReadyAddresses",baseName:"notReadyAddresses",type:"Array"},{name:"ports",baseName:"ports",type:"Array"}];t.V1EndpointSubset=V1EndpointSubset;class V1Endpoints{static getAttributeTypeMap(){return V1Endpoints.attributeTypeMap}}V1Endpoints.discriminator=undefined;V1Endpoints.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"subsets",baseName:"subsets",type:"Array"}];t.V1Endpoints=V1Endpoints;class V1EndpointsList{static getAttributeTypeMap(){return V1EndpointsList.attributeTypeMap}}V1EndpointsList.discriminator=undefined;V1EndpointsList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1EndpointsList=V1EndpointsList;class V1EnvFromSource{static getAttributeTypeMap(){return V1EnvFromSource.attributeTypeMap}}V1EnvFromSource.discriminator=undefined;V1EnvFromSource.attributeTypeMap=[{name:"configMapRef",baseName:"configMapRef",type:"V1ConfigMapEnvSource"},{name:"prefix",baseName:"prefix",type:"string"},{name:"secretRef",baseName:"secretRef",type:"V1SecretEnvSource"}];t.V1EnvFromSource=V1EnvFromSource;class V1EnvVar{static getAttributeTypeMap(){return V1EnvVar.attributeTypeMap}}V1EnvVar.discriminator=undefined;V1EnvVar.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"value",baseName:"value",type:"string"},{name:"valueFrom",baseName:"valueFrom",type:"V1EnvVarSource"}];t.V1EnvVar=V1EnvVar;class V1EnvVarSource{static getAttributeTypeMap(){return V1EnvVarSource.attributeTypeMap}}V1EnvVarSource.discriminator=undefined;V1EnvVarSource.attributeTypeMap=[{name:"configMapKeyRef",baseName:"configMapKeyRef",type:"V1ConfigMapKeySelector"},{name:"fieldRef",baseName:"fieldRef",type:"V1ObjectFieldSelector"},{name:"resourceFieldRef",baseName:"resourceFieldRef",type:"V1ResourceFieldSelector"},{name:"secretKeyRef",baseName:"secretKeyRef",type:"V1SecretKeySelector"}];t.V1EnvVarSource=V1EnvVarSource;class V1Event{static getAttributeTypeMap(){return V1Event.attributeTypeMap}}V1Event.discriminator=undefined;V1Event.attributeTypeMap=[{name:"action",baseName:"action",type:"string"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"count",baseName:"count",type:"number"},{name:"eventTime",baseName:"eventTime",type:"Date"},{name:"firstTimestamp",baseName:"firstTimestamp",type:"Date"},{name:"involvedObject",baseName:"involvedObject",type:"V1ObjectReference"},{name:"kind",baseName:"kind",type:"string"},{name:"lastTimestamp",baseName:"lastTimestamp",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"reason",baseName:"reason",type:"string"},{name:"related",baseName:"related",type:"V1ObjectReference"},{name:"reportingComponent",baseName:"reportingComponent",type:"string"},{name:"reportingInstance",baseName:"reportingInstance",type:"string"},{name:"series",baseName:"series",type:"V1EventSeries"},{name:"source",baseName:"source",type:"V1EventSource"},{name:"type",baseName:"type",type:"string"}];t.V1Event=V1Event;class V1EventList{static getAttributeTypeMap(){return V1EventList.attributeTypeMap}}V1EventList.discriminator=undefined;V1EventList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1EventList=V1EventList;class V1EventSeries{static getAttributeTypeMap(){return V1EventSeries.attributeTypeMap}}V1EventSeries.discriminator=undefined;V1EventSeries.attributeTypeMap=[{name:"count",baseName:"count",type:"number"},{name:"lastObservedTime",baseName:"lastObservedTime",type:"Date"},{name:"state",baseName:"state",type:"string"}];t.V1EventSeries=V1EventSeries;class V1EventSource{static getAttributeTypeMap(){return V1EventSource.attributeTypeMap}}V1EventSource.discriminator=undefined;V1EventSource.attributeTypeMap=[{name:"component",baseName:"component",type:"string"},{name:"host",baseName:"host",type:"string"}];t.V1EventSource=V1EventSource;class V1ExecAction{static getAttributeTypeMap(){return V1ExecAction.attributeTypeMap}}V1ExecAction.discriminator=undefined;V1ExecAction.attributeTypeMap=[{name:"command",baseName:"command",type:"Array"}];t.V1ExecAction=V1ExecAction;class V1FCVolumeSource{static getAttributeTypeMap(){return V1FCVolumeSource.attributeTypeMap}}V1FCVolumeSource.discriminator=undefined;V1FCVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"lun",baseName:"lun",type:"number"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"targetWWNs",baseName:"targetWWNs",type:"Array"},{name:"wwids",baseName:"wwids",type:"Array"}];t.V1FCVolumeSource=V1FCVolumeSource;class V1FlexPersistentVolumeSource{static getAttributeTypeMap(){return V1FlexPersistentVolumeSource.attributeTypeMap}}V1FlexPersistentVolumeSource.discriminator=undefined;V1FlexPersistentVolumeSource.attributeTypeMap=[{name:"driver",baseName:"driver",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"options",baseName:"options",type:"{ [key: string]: string; }"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"}];t.V1FlexPersistentVolumeSource=V1FlexPersistentVolumeSource;class V1FlexVolumeSource{static getAttributeTypeMap(){return V1FlexVolumeSource.attributeTypeMap}}V1FlexVolumeSource.discriminator=undefined;V1FlexVolumeSource.attributeTypeMap=[{name:"driver",baseName:"driver",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"options",baseName:"options",type:"{ [key: string]: string; }"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"}];t.V1FlexVolumeSource=V1FlexVolumeSource;class V1FlockerVolumeSource{static getAttributeTypeMap(){return V1FlockerVolumeSource.attributeTypeMap}}V1FlockerVolumeSource.discriminator=undefined;V1FlockerVolumeSource.attributeTypeMap=[{name:"datasetName",baseName:"datasetName",type:"string"},{name:"datasetUUID",baseName:"datasetUUID",type:"string"}];t.V1FlockerVolumeSource=V1FlockerVolumeSource;class V1GCEPersistentDiskVolumeSource{static getAttributeTypeMap(){return V1GCEPersistentDiskVolumeSource.attributeTypeMap}}V1GCEPersistentDiskVolumeSource.discriminator=undefined;V1GCEPersistentDiskVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"partition",baseName:"partition",type:"number"},{name:"pdName",baseName:"pdName",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}];t.V1GCEPersistentDiskVolumeSource=V1GCEPersistentDiskVolumeSource;class V1GitRepoVolumeSource{static getAttributeTypeMap(){return V1GitRepoVolumeSource.attributeTypeMap}}V1GitRepoVolumeSource.discriminator=undefined;V1GitRepoVolumeSource.attributeTypeMap=[{name:"directory",baseName:"directory",type:"string"},{name:"repository",baseName:"repository",type:"string"},{name:"revision",baseName:"revision",type:"string"}];t.V1GitRepoVolumeSource=V1GitRepoVolumeSource;class V1GlusterfsPersistentVolumeSource{static getAttributeTypeMap(){return V1GlusterfsPersistentVolumeSource.attributeTypeMap}}V1GlusterfsPersistentVolumeSource.discriminator=undefined;V1GlusterfsPersistentVolumeSource.attributeTypeMap=[{name:"endpoints",baseName:"endpoints",type:"string"},{name:"endpointsNamespace",baseName:"endpointsNamespace",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}];t.V1GlusterfsPersistentVolumeSource=V1GlusterfsPersistentVolumeSource;class V1GlusterfsVolumeSource{static getAttributeTypeMap(){return V1GlusterfsVolumeSource.attributeTypeMap}}V1GlusterfsVolumeSource.discriminator=undefined;V1GlusterfsVolumeSource.attributeTypeMap=[{name:"endpoints",baseName:"endpoints",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}];t.V1GlusterfsVolumeSource=V1GlusterfsVolumeSource;class V1GroupVersionForDiscovery{static getAttributeTypeMap(){return V1GroupVersionForDiscovery.attributeTypeMap}}V1GroupVersionForDiscovery.discriminator=undefined;V1GroupVersionForDiscovery.attributeTypeMap=[{name:"groupVersion",baseName:"groupVersion",type:"string"},{name:"version",baseName:"version",type:"string"}];t.V1GroupVersionForDiscovery=V1GroupVersionForDiscovery;class V1HTTPGetAction{static getAttributeTypeMap(){return V1HTTPGetAction.attributeTypeMap}}V1HTTPGetAction.discriminator=undefined;V1HTTPGetAction.attributeTypeMap=[{name:"host",baseName:"host",type:"string"},{name:"httpHeaders",baseName:"httpHeaders",type:"Array"},{name:"path",baseName:"path",type:"string"},{name:"port",baseName:"port",type:"any"},{name:"scheme",baseName:"scheme",type:"string"}];t.V1HTTPGetAction=V1HTTPGetAction;class V1HTTPHeader{static getAttributeTypeMap(){return V1HTTPHeader.attributeTypeMap}}V1HTTPHeader.discriminator=undefined;V1HTTPHeader.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"value",baseName:"value",type:"string"}];t.V1HTTPHeader=V1HTTPHeader;class V1Handler{static getAttributeTypeMap(){return V1Handler.attributeTypeMap}}V1Handler.discriminator=undefined;V1Handler.attributeTypeMap=[{name:"exec",baseName:"exec",type:"V1ExecAction"},{name:"httpGet",baseName:"httpGet",type:"V1HTTPGetAction"},{name:"tcpSocket",baseName:"tcpSocket",type:"V1TCPSocketAction"}];t.V1Handler=V1Handler;class V1HorizontalPodAutoscaler{static getAttributeTypeMap(){return V1HorizontalPodAutoscaler.attributeTypeMap}}V1HorizontalPodAutoscaler.discriminator=undefined;V1HorizontalPodAutoscaler.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1HorizontalPodAutoscalerSpec"},{name:"status",baseName:"status",type:"V1HorizontalPodAutoscalerStatus"}];t.V1HorizontalPodAutoscaler=V1HorizontalPodAutoscaler;class V1HorizontalPodAutoscalerList{static getAttributeTypeMap(){return V1HorizontalPodAutoscalerList.attributeTypeMap}}V1HorizontalPodAutoscalerList.discriminator=undefined;V1HorizontalPodAutoscalerList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1HorizontalPodAutoscalerList=V1HorizontalPodAutoscalerList;class V1HorizontalPodAutoscalerSpec{static getAttributeTypeMap(){return V1HorizontalPodAutoscalerSpec.attributeTypeMap}}V1HorizontalPodAutoscalerSpec.discriminator=undefined;V1HorizontalPodAutoscalerSpec.attributeTypeMap=[{name:"maxReplicas",baseName:"maxReplicas",type:"number"},{name:"minReplicas",baseName:"minReplicas",type:"number"},{name:"scaleTargetRef",baseName:"scaleTargetRef",type:"V1CrossVersionObjectReference"},{name:"targetCPUUtilizationPercentage",baseName:"targetCPUUtilizationPercentage",type:"number"}];t.V1HorizontalPodAutoscalerSpec=V1HorizontalPodAutoscalerSpec;class V1HorizontalPodAutoscalerStatus{static getAttributeTypeMap(){return V1HorizontalPodAutoscalerStatus.attributeTypeMap}}V1HorizontalPodAutoscalerStatus.discriminator=undefined;V1HorizontalPodAutoscalerStatus.attributeTypeMap=[{name:"currentCPUUtilizationPercentage",baseName:"currentCPUUtilizationPercentage",type:"number"},{name:"currentReplicas",baseName:"currentReplicas",type:"number"},{name:"desiredReplicas",baseName:"desiredReplicas",type:"number"},{name:"lastScaleTime",baseName:"lastScaleTime",type:"Date"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"}];t.V1HorizontalPodAutoscalerStatus=V1HorizontalPodAutoscalerStatus;class V1HostAlias{static getAttributeTypeMap(){return V1HostAlias.attributeTypeMap}}V1HostAlias.discriminator=undefined;V1HostAlias.attributeTypeMap=[{name:"hostnames",baseName:"hostnames",type:"Array"},{name:"ip",baseName:"ip",type:"string"}];t.V1HostAlias=V1HostAlias;class V1HostPathVolumeSource{static getAttributeTypeMap(){return V1HostPathVolumeSource.attributeTypeMap}}V1HostPathVolumeSource.discriminator=undefined;V1HostPathVolumeSource.attributeTypeMap=[{name:"path",baseName:"path",type:"string"},{name:"type",baseName:"type",type:"string"}];t.V1HostPathVolumeSource=V1HostPathVolumeSource;class V1IPBlock{static getAttributeTypeMap(){return V1IPBlock.attributeTypeMap}}V1IPBlock.discriminator=undefined;V1IPBlock.attributeTypeMap=[{name:"cidr",baseName:"cidr",type:"string"},{name:"except",baseName:"except",type:"Array"}];t.V1IPBlock=V1IPBlock;class V1ISCSIPersistentVolumeSource{static getAttributeTypeMap(){return V1ISCSIPersistentVolumeSource.attributeTypeMap}}V1ISCSIPersistentVolumeSource.discriminator=undefined;V1ISCSIPersistentVolumeSource.attributeTypeMap=[{name:"chapAuthDiscovery",baseName:"chapAuthDiscovery",type:"boolean"},{name:"chapAuthSession",baseName:"chapAuthSession",type:"boolean"},{name:"fsType",baseName:"fsType",type:"string"},{name:"initiatorName",baseName:"initiatorName",type:"string"},{name:"iqn",baseName:"iqn",type:"string"},{name:"iscsiInterface",baseName:"iscsiInterface",type:"string"},{name:"lun",baseName:"lun",type:"number"},{name:"portals",baseName:"portals",type:"Array"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"targetPortal",baseName:"targetPortal",type:"string"}];t.V1ISCSIPersistentVolumeSource=V1ISCSIPersistentVolumeSource;class V1ISCSIVolumeSource{static getAttributeTypeMap(){return V1ISCSIVolumeSource.attributeTypeMap}}V1ISCSIVolumeSource.discriminator=undefined;V1ISCSIVolumeSource.attributeTypeMap=[{name:"chapAuthDiscovery",baseName:"chapAuthDiscovery",type:"boolean"},{name:"chapAuthSession",baseName:"chapAuthSession",type:"boolean"},{name:"fsType",baseName:"fsType",type:"string"},{name:"initiatorName",baseName:"initiatorName",type:"string"},{name:"iqn",baseName:"iqn",type:"string"},{name:"iscsiInterface",baseName:"iscsiInterface",type:"string"},{name:"lun",baseName:"lun",type:"number"},{name:"portals",baseName:"portals",type:"Array"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"targetPortal",baseName:"targetPortal",type:"string"}];t.V1ISCSIVolumeSource=V1ISCSIVolumeSource;class V1Initializer{static getAttributeTypeMap(){return V1Initializer.attributeTypeMap}}V1Initializer.discriminator=undefined;V1Initializer.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}];t.V1Initializer=V1Initializer;class V1Initializers{static getAttributeTypeMap(){return V1Initializers.attributeTypeMap}}V1Initializers.discriminator=undefined;V1Initializers.attributeTypeMap=[{name:"pending",baseName:"pending",type:"Array"},{name:"result",baseName:"result",type:"V1Status"}];t.V1Initializers=V1Initializers;class V1Job{static getAttributeTypeMap(){return V1Job.attributeTypeMap}}V1Job.discriminator=undefined;V1Job.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1JobSpec"},{name:"status",baseName:"status",type:"V1JobStatus"}];t.V1Job=V1Job;class V1JobCondition{static getAttributeTypeMap(){return V1JobCondition.attributeTypeMap}}V1JobCondition.discriminator=undefined;V1JobCondition.attributeTypeMap=[{name:"lastProbeTime",baseName:"lastProbeTime",type:"Date"},{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}];t.V1JobCondition=V1JobCondition;class V1JobList{static getAttributeTypeMap(){return V1JobList.attributeTypeMap}}V1JobList.discriminator=undefined;V1JobList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1JobList=V1JobList;class V1JobSpec{static getAttributeTypeMap(){return V1JobSpec.attributeTypeMap}}V1JobSpec.discriminator=undefined;V1JobSpec.attributeTypeMap=[{name:"activeDeadlineSeconds",baseName:"activeDeadlineSeconds",type:"number"},{name:"backoffLimit",baseName:"backoffLimit",type:"number"},{name:"completions",baseName:"completions",type:"number"},{name:"manualSelector",baseName:"manualSelector",type:"boolean"},{name:"parallelism",baseName:"parallelism",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"},{name:"ttlSecondsAfterFinished",baseName:"ttlSecondsAfterFinished",type:"number"}];t.V1JobSpec=V1JobSpec;class V1JobStatus{static getAttributeTypeMap(){return V1JobStatus.attributeTypeMap}}V1JobStatus.discriminator=undefined;V1JobStatus.attributeTypeMap=[{name:"active",baseName:"active",type:"number"},{name:"completionTime",baseName:"completionTime",type:"Date"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"failed",baseName:"failed",type:"number"},{name:"startTime",baseName:"startTime",type:"Date"},{name:"succeeded",baseName:"succeeded",type:"number"}];t.V1JobStatus=V1JobStatus;class V1KeyToPath{static getAttributeTypeMap(){return V1KeyToPath.attributeTypeMap}}V1KeyToPath.discriminator=undefined;V1KeyToPath.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"mode",baseName:"mode",type:"number"},{name:"path",baseName:"path",type:"string"}];t.V1KeyToPath=V1KeyToPath;class V1LabelSelector{static getAttributeTypeMap(){return V1LabelSelector.attributeTypeMap}}V1LabelSelector.discriminator=undefined;V1LabelSelector.attributeTypeMap=[{name:"matchExpressions",baseName:"matchExpressions",type:"Array"},{name:"matchLabels",baseName:"matchLabels",type:"{ [key: string]: string; }"}];t.V1LabelSelector=V1LabelSelector;class V1LabelSelectorRequirement{static getAttributeTypeMap(){return V1LabelSelectorRequirement.attributeTypeMap}}V1LabelSelectorRequirement.discriminator=undefined;V1LabelSelectorRequirement.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"operator",baseName:"operator",type:"string"},{name:"values",baseName:"values",type:"Array"}];t.V1LabelSelectorRequirement=V1LabelSelectorRequirement;class V1Lifecycle{static getAttributeTypeMap(){return V1Lifecycle.attributeTypeMap}}V1Lifecycle.discriminator=undefined;V1Lifecycle.attributeTypeMap=[{name:"postStart",baseName:"postStart",type:"V1Handler"},{name:"preStop",baseName:"preStop",type:"V1Handler"}];t.V1Lifecycle=V1Lifecycle;class V1LimitRange{static getAttributeTypeMap(){return V1LimitRange.attributeTypeMap}}V1LimitRange.discriminator=undefined;V1LimitRange.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1LimitRangeSpec"}];t.V1LimitRange=V1LimitRange;class V1LimitRangeItem{static getAttributeTypeMap(){return V1LimitRangeItem.attributeTypeMap}}V1LimitRangeItem.discriminator=undefined;V1LimitRangeItem.attributeTypeMap=[{name:"_default",baseName:"default",type:"{ [key: string]: string; }"},{name:"defaultRequest",baseName:"defaultRequest",type:"{ [key: string]: string; }"},{name:"max",baseName:"max",type:"{ [key: string]: string; }"},{name:"maxLimitRequestRatio",baseName:"maxLimitRequestRatio",type:"{ [key: string]: string; }"},{name:"min",baseName:"min",type:"{ [key: string]: string; }"},{name:"type",baseName:"type",type:"string"}];t.V1LimitRangeItem=V1LimitRangeItem;class V1LimitRangeList{static getAttributeTypeMap(){return V1LimitRangeList.attributeTypeMap}}V1LimitRangeList.discriminator=undefined;V1LimitRangeList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1LimitRangeList=V1LimitRangeList;class V1LimitRangeSpec{static getAttributeTypeMap(){return V1LimitRangeSpec.attributeTypeMap}}V1LimitRangeSpec.discriminator=undefined;V1LimitRangeSpec.attributeTypeMap=[{name:"limits",baseName:"limits",type:"Array"}];t.V1LimitRangeSpec=V1LimitRangeSpec;class V1ListMeta{static getAttributeTypeMap(){return V1ListMeta.attributeTypeMap}}V1ListMeta.discriminator=undefined;V1ListMeta.attributeTypeMap=[{name:"_continue",baseName:"continue",type:"string"},{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"selfLink",baseName:"selfLink",type:"string"}];t.V1ListMeta=V1ListMeta;class V1LoadBalancerIngress{static getAttributeTypeMap(){return V1LoadBalancerIngress.attributeTypeMap}}V1LoadBalancerIngress.discriminator=undefined;V1LoadBalancerIngress.attributeTypeMap=[{name:"hostname",baseName:"hostname",type:"string"},{name:"ip",baseName:"ip",type:"string"}];t.V1LoadBalancerIngress=V1LoadBalancerIngress;class V1LoadBalancerStatus{static getAttributeTypeMap(){return V1LoadBalancerStatus.attributeTypeMap}}V1LoadBalancerStatus.discriminator=undefined;V1LoadBalancerStatus.attributeTypeMap=[{name:"ingress",baseName:"ingress",type:"Array"}];t.V1LoadBalancerStatus=V1LoadBalancerStatus;class V1LocalObjectReference{static getAttributeTypeMap(){return V1LocalObjectReference.attributeTypeMap}}V1LocalObjectReference.discriminator=undefined;V1LocalObjectReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}];t.V1LocalObjectReference=V1LocalObjectReference;class V1LocalSubjectAccessReview{static getAttributeTypeMap(){return V1LocalSubjectAccessReview.attributeTypeMap}}V1LocalSubjectAccessReview.discriminator=undefined;V1LocalSubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1SubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1SubjectAccessReviewStatus"}];t.V1LocalSubjectAccessReview=V1LocalSubjectAccessReview;class V1LocalVolumeSource{static getAttributeTypeMap(){return V1LocalVolumeSource.attributeTypeMap}}V1LocalVolumeSource.discriminator=undefined;V1LocalVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"path",baseName:"path",type:"string"}];t.V1LocalVolumeSource=V1LocalVolumeSource;class V1NFSVolumeSource{static getAttributeTypeMap(){return V1NFSVolumeSource.attributeTypeMap}}V1NFSVolumeSource.discriminator=undefined;V1NFSVolumeSource.attributeTypeMap=[{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"server",baseName:"server",type:"string"}];t.V1NFSVolumeSource=V1NFSVolumeSource;class V1Namespace{static getAttributeTypeMap(){return V1Namespace.attributeTypeMap}}V1Namespace.discriminator=undefined;V1Namespace.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1NamespaceSpec"},{name:"status",baseName:"status",type:"V1NamespaceStatus"}];t.V1Namespace=V1Namespace;class V1NamespaceList{static getAttributeTypeMap(){return V1NamespaceList.attributeTypeMap}}V1NamespaceList.discriminator=undefined;V1NamespaceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1NamespaceList=V1NamespaceList;class V1NamespaceSpec{static getAttributeTypeMap(){return V1NamespaceSpec.attributeTypeMap}}V1NamespaceSpec.discriminator=undefined;V1NamespaceSpec.attributeTypeMap=[{name:"finalizers",baseName:"finalizers",type:"Array"}];t.V1NamespaceSpec=V1NamespaceSpec;class V1NamespaceStatus{static getAttributeTypeMap(){return V1NamespaceStatus.attributeTypeMap}}V1NamespaceStatus.discriminator=undefined;V1NamespaceStatus.attributeTypeMap=[{name:"phase",baseName:"phase",type:"string"}];t.V1NamespaceStatus=V1NamespaceStatus;class V1NetworkPolicy{static getAttributeTypeMap(){return V1NetworkPolicy.attributeTypeMap}}V1NetworkPolicy.discriminator=undefined;V1NetworkPolicy.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1NetworkPolicySpec"}];t.V1NetworkPolicy=V1NetworkPolicy;class V1NetworkPolicyEgressRule{static getAttributeTypeMap(){return V1NetworkPolicyEgressRule.attributeTypeMap}}V1NetworkPolicyEgressRule.discriminator=undefined;V1NetworkPolicyEgressRule.attributeTypeMap=[{name:"ports",baseName:"ports",type:"Array"},{name:"to",baseName:"to",type:"Array"}];t.V1NetworkPolicyEgressRule=V1NetworkPolicyEgressRule;class V1NetworkPolicyIngressRule{static getAttributeTypeMap(){return V1NetworkPolicyIngressRule.attributeTypeMap}}V1NetworkPolicyIngressRule.discriminator=undefined;V1NetworkPolicyIngressRule.attributeTypeMap=[{name:"from",baseName:"from",type:"Array"},{name:"ports",baseName:"ports",type:"Array"}];t.V1NetworkPolicyIngressRule=V1NetworkPolicyIngressRule;class V1NetworkPolicyList{static getAttributeTypeMap(){return V1NetworkPolicyList.attributeTypeMap}}V1NetworkPolicyList.discriminator=undefined;V1NetworkPolicyList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1NetworkPolicyList=V1NetworkPolicyList;class V1NetworkPolicyPeer{static getAttributeTypeMap(){return V1NetworkPolicyPeer.attributeTypeMap}}V1NetworkPolicyPeer.discriminator=undefined;V1NetworkPolicyPeer.attributeTypeMap=[{name:"ipBlock",baseName:"ipBlock",type:"V1IPBlock"},{name:"namespaceSelector",baseName:"namespaceSelector",type:"V1LabelSelector"},{name:"podSelector",baseName:"podSelector",type:"V1LabelSelector"}];t.V1NetworkPolicyPeer=V1NetworkPolicyPeer;class V1NetworkPolicyPort{static getAttributeTypeMap(){return V1NetworkPolicyPort.attributeTypeMap}}V1NetworkPolicyPort.discriminator=undefined;V1NetworkPolicyPort.attributeTypeMap=[{name:"port",baseName:"port",type:"any"},{name:"protocol",baseName:"protocol",type:"string"}];t.V1NetworkPolicyPort=V1NetworkPolicyPort;class V1NetworkPolicySpec{static getAttributeTypeMap(){return V1NetworkPolicySpec.attributeTypeMap}}V1NetworkPolicySpec.discriminator=undefined;V1NetworkPolicySpec.attributeTypeMap=[{name:"egress",baseName:"egress",type:"Array"},{name:"ingress",baseName:"ingress",type:"Array"},{name:"podSelector",baseName:"podSelector",type:"V1LabelSelector"},{name:"policyTypes",baseName:"policyTypes",type:"Array"}];t.V1NetworkPolicySpec=V1NetworkPolicySpec;class V1Node{static getAttributeTypeMap(){return V1Node.attributeTypeMap}}V1Node.discriminator=undefined;V1Node.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1NodeSpec"},{name:"status",baseName:"status",type:"V1NodeStatus"}];t.V1Node=V1Node;class V1NodeAddress{static getAttributeTypeMap(){return V1NodeAddress.attributeTypeMap}}V1NodeAddress.discriminator=undefined;V1NodeAddress.attributeTypeMap=[{name:"address",baseName:"address",type:"string"},{name:"type",baseName:"type",type:"string"}];t.V1NodeAddress=V1NodeAddress;class V1NodeAffinity{static getAttributeTypeMap(){return V1NodeAffinity.attributeTypeMap}}V1NodeAffinity.discriminator=undefined;V1NodeAffinity.attributeTypeMap=[{name:"preferredDuringSchedulingIgnoredDuringExecution",baseName:"preferredDuringSchedulingIgnoredDuringExecution",type:"Array"},{name:"requiredDuringSchedulingIgnoredDuringExecution",baseName:"requiredDuringSchedulingIgnoredDuringExecution",type:"V1NodeSelector"}];t.V1NodeAffinity=V1NodeAffinity;class V1NodeCondition{static getAttributeTypeMap(){return V1NodeCondition.attributeTypeMap}}V1NodeCondition.discriminator=undefined;V1NodeCondition.attributeTypeMap=[{name:"lastHeartbeatTime",baseName:"lastHeartbeatTime",type:"Date"},{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}];t.V1NodeCondition=V1NodeCondition;class V1NodeConfigSource{static getAttributeTypeMap(){return V1NodeConfigSource.attributeTypeMap}}V1NodeConfigSource.discriminator=undefined;V1NodeConfigSource.attributeTypeMap=[{name:"configMap",baseName:"configMap",type:"V1ConfigMapNodeConfigSource"}];t.V1NodeConfigSource=V1NodeConfigSource;class V1NodeConfigStatus{static getAttributeTypeMap(){return V1NodeConfigStatus.attributeTypeMap}}V1NodeConfigStatus.discriminator=undefined;V1NodeConfigStatus.attributeTypeMap=[{name:"active",baseName:"active",type:"V1NodeConfigSource"},{name:"assigned",baseName:"assigned",type:"V1NodeConfigSource"},{name:"error",baseName:"error",type:"string"},{name:"lastKnownGood",baseName:"lastKnownGood",type:"V1NodeConfigSource"}];t.V1NodeConfigStatus=V1NodeConfigStatus;class V1NodeDaemonEndpoints{static getAttributeTypeMap(){return V1NodeDaemonEndpoints.attributeTypeMap}}V1NodeDaemonEndpoints.discriminator=undefined;V1NodeDaemonEndpoints.attributeTypeMap=[{name:"kubeletEndpoint",baseName:"kubeletEndpoint",type:"V1DaemonEndpoint"}];t.V1NodeDaemonEndpoints=V1NodeDaemonEndpoints;class V1NodeList{static getAttributeTypeMap(){return V1NodeList.attributeTypeMap}}V1NodeList.discriminator=undefined;V1NodeList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1NodeList=V1NodeList;class V1NodeSelector{static getAttributeTypeMap(){return V1NodeSelector.attributeTypeMap}}V1NodeSelector.discriminator=undefined;V1NodeSelector.attributeTypeMap=[{name:"nodeSelectorTerms",baseName:"nodeSelectorTerms",type:"Array"}];t.V1NodeSelector=V1NodeSelector;class V1NodeSelectorRequirement{static getAttributeTypeMap(){return V1NodeSelectorRequirement.attributeTypeMap}}V1NodeSelectorRequirement.discriminator=undefined;V1NodeSelectorRequirement.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"operator",baseName:"operator",type:"string"},{name:"values",baseName:"values",type:"Array"}];t.V1NodeSelectorRequirement=V1NodeSelectorRequirement;class V1NodeSelectorTerm{static getAttributeTypeMap(){return V1NodeSelectorTerm.attributeTypeMap}}V1NodeSelectorTerm.discriminator=undefined;V1NodeSelectorTerm.attributeTypeMap=[{name:"matchExpressions",baseName:"matchExpressions",type:"Array"},{name:"matchFields",baseName:"matchFields",type:"Array"}];t.V1NodeSelectorTerm=V1NodeSelectorTerm;class V1NodeSpec{static getAttributeTypeMap(){return V1NodeSpec.attributeTypeMap}}V1NodeSpec.discriminator=undefined;V1NodeSpec.attributeTypeMap=[{name:"configSource",baseName:"configSource",type:"V1NodeConfigSource"},{name:"externalID",baseName:"externalID",type:"string"},{name:"podCIDR",baseName:"podCIDR",type:"string"},{name:"providerID",baseName:"providerID",type:"string"},{name:"taints",baseName:"taints",type:"Array"},{name:"unschedulable",baseName:"unschedulable",type:"boolean"}];t.V1NodeSpec=V1NodeSpec;class V1NodeStatus{static getAttributeTypeMap(){return V1NodeStatus.attributeTypeMap}}V1NodeStatus.discriminator=undefined;V1NodeStatus.attributeTypeMap=[{name:"addresses",baseName:"addresses",type:"Array"},{name:"allocatable",baseName:"allocatable",type:"{ [key: string]: string; }"},{name:"capacity",baseName:"capacity",type:"{ [key: string]: string; }"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"config",baseName:"config",type:"V1NodeConfigStatus"},{name:"daemonEndpoints",baseName:"daemonEndpoints",type:"V1NodeDaemonEndpoints"},{name:"images",baseName:"images",type:"Array"},{name:"nodeInfo",baseName:"nodeInfo",type:"V1NodeSystemInfo"},{name:"phase",baseName:"phase",type:"string"},{name:"volumesAttached",baseName:"volumesAttached",type:"Array"},{name:"volumesInUse",baseName:"volumesInUse",type:"Array"}];t.V1NodeStatus=V1NodeStatus;class V1NodeSystemInfo{static getAttributeTypeMap(){return V1NodeSystemInfo.attributeTypeMap}}V1NodeSystemInfo.discriminator=undefined;V1NodeSystemInfo.attributeTypeMap=[{name:"architecture",baseName:"architecture",type:"string"},{name:"bootID",baseName:"bootID",type:"string"},{name:"containerRuntimeVersion",baseName:"containerRuntimeVersion",type:"string"},{name:"kernelVersion",baseName:"kernelVersion",type:"string"},{name:"kubeProxyVersion",baseName:"kubeProxyVersion",type:"string"},{name:"kubeletVersion",baseName:"kubeletVersion",type:"string"},{name:"machineID",baseName:"machineID",type:"string"},{name:"operatingSystem",baseName:"operatingSystem",type:"string"},{name:"osImage",baseName:"osImage",type:"string"},{name:"systemUUID",baseName:"systemUUID",type:"string"}];t.V1NodeSystemInfo=V1NodeSystemInfo;class V1NonResourceAttributes{static getAttributeTypeMap(){return V1NonResourceAttributes.attributeTypeMap}}V1NonResourceAttributes.discriminator=undefined;V1NonResourceAttributes.attributeTypeMap=[{name:"path",baseName:"path",type:"string"},{name:"verb",baseName:"verb",type:"string"}];t.V1NonResourceAttributes=V1NonResourceAttributes;class V1NonResourceRule{static getAttributeTypeMap(){return V1NonResourceRule.attributeTypeMap}}V1NonResourceRule.discriminator=undefined;V1NonResourceRule.attributeTypeMap=[{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}];t.V1NonResourceRule=V1NonResourceRule;class V1ObjectFieldSelector{static getAttributeTypeMap(){return V1ObjectFieldSelector.attributeTypeMap}}V1ObjectFieldSelector.discriminator=undefined;V1ObjectFieldSelector.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"fieldPath",baseName:"fieldPath",type:"string"}];t.V1ObjectFieldSelector=V1ObjectFieldSelector;class V1ObjectMeta{static getAttributeTypeMap(){return V1ObjectMeta.attributeTypeMap}}V1ObjectMeta.discriminator=undefined;V1ObjectMeta.attributeTypeMap=[{name:"annotations",baseName:"annotations",type:"{ [key: string]: string; }"},{name:"clusterName",baseName:"clusterName",type:"string"},{name:"creationTimestamp",baseName:"creationTimestamp",type:"Date"},{name:"deletionGracePeriodSeconds",baseName:"deletionGracePeriodSeconds",type:"number"},{name:"deletionTimestamp",baseName:"deletionTimestamp",type:"Date"},{name:"finalizers",baseName:"finalizers",type:"Array"},{name:"generateName",baseName:"generateName",type:"string"},{name:"generation",baseName:"generation",type:"number"},{name:"initializers",baseName:"initializers",type:"V1Initializers"},{name:"labels",baseName:"labels",type:"{ [key: string]: string; }"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"ownerReferences",baseName:"ownerReferences",type:"Array"},{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"selfLink",baseName:"selfLink",type:"string"},{name:"uid",baseName:"uid",type:"string"}];t.V1ObjectMeta=V1ObjectMeta;class V1ObjectReference{static getAttributeTypeMap(){return V1ObjectReference.attributeTypeMap}}V1ObjectReference.discriminator=undefined;V1ObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"fieldPath",baseName:"fieldPath",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"uid",baseName:"uid",type:"string"}];t.V1ObjectReference=V1ObjectReference;class V1OwnerReference{static getAttributeTypeMap(){return V1OwnerReference.attributeTypeMap}}V1OwnerReference.discriminator=undefined;V1OwnerReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"blockOwnerDeletion",baseName:"blockOwnerDeletion",type:"boolean"},{name:"controller",baseName:"controller",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"uid",baseName:"uid",type:"string"}];t.V1OwnerReference=V1OwnerReference;class V1PersistentVolume{static getAttributeTypeMap(){return V1PersistentVolume.attributeTypeMap}}V1PersistentVolume.discriminator=undefined;V1PersistentVolume.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PersistentVolumeSpec"},{name:"status",baseName:"status",type:"V1PersistentVolumeStatus"}];t.V1PersistentVolume=V1PersistentVolume;class V1PersistentVolumeClaim{static getAttributeTypeMap(){return V1PersistentVolumeClaim.attributeTypeMap}}V1PersistentVolumeClaim.discriminator=undefined;V1PersistentVolumeClaim.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PersistentVolumeClaimSpec"},{name:"status",baseName:"status",type:"V1PersistentVolumeClaimStatus"}];t.V1PersistentVolumeClaim=V1PersistentVolumeClaim;class V1PersistentVolumeClaimCondition{static getAttributeTypeMap(){return V1PersistentVolumeClaimCondition.attributeTypeMap}}V1PersistentVolumeClaimCondition.discriminator=undefined;V1PersistentVolumeClaimCondition.attributeTypeMap=[{name:"lastProbeTime",baseName:"lastProbeTime",type:"Date"},{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}];t.V1PersistentVolumeClaimCondition=V1PersistentVolumeClaimCondition;class V1PersistentVolumeClaimList{static getAttributeTypeMap(){return V1PersistentVolumeClaimList.attributeTypeMap}}V1PersistentVolumeClaimList.discriminator=undefined;V1PersistentVolumeClaimList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1PersistentVolumeClaimList=V1PersistentVolumeClaimList;class V1PersistentVolumeClaimSpec{static getAttributeTypeMap(){return V1PersistentVolumeClaimSpec.attributeTypeMap}}V1PersistentVolumeClaimSpec.discriminator=undefined;V1PersistentVolumeClaimSpec.attributeTypeMap=[{name:"accessModes",baseName:"accessModes",type:"Array"},{name:"dataSource",baseName:"dataSource",type:"V1TypedLocalObjectReference"},{name:"resources",baseName:"resources",type:"V1ResourceRequirements"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"storageClassName",baseName:"storageClassName",type:"string"},{name:"volumeMode",baseName:"volumeMode",type:"string"},{name:"volumeName",baseName:"volumeName",type:"string"}];t.V1PersistentVolumeClaimSpec=V1PersistentVolumeClaimSpec;class V1PersistentVolumeClaimStatus{static getAttributeTypeMap(){return V1PersistentVolumeClaimStatus.attributeTypeMap}}V1PersistentVolumeClaimStatus.discriminator=undefined;V1PersistentVolumeClaimStatus.attributeTypeMap=[{name:"accessModes",baseName:"accessModes",type:"Array"},{name:"capacity",baseName:"capacity",type:"{ [key: string]: string; }"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"phase",baseName:"phase",type:"string"}];t.V1PersistentVolumeClaimStatus=V1PersistentVolumeClaimStatus;class V1PersistentVolumeClaimVolumeSource{static getAttributeTypeMap(){return V1PersistentVolumeClaimVolumeSource.attributeTypeMap}}V1PersistentVolumeClaimVolumeSource.discriminator=undefined;V1PersistentVolumeClaimVolumeSource.attributeTypeMap=[{name:"claimName",baseName:"claimName",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}];t.V1PersistentVolumeClaimVolumeSource=V1PersistentVolumeClaimVolumeSource;class V1PersistentVolumeList{static getAttributeTypeMap(){return V1PersistentVolumeList.attributeTypeMap}}V1PersistentVolumeList.discriminator=undefined;V1PersistentVolumeList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1PersistentVolumeList=V1PersistentVolumeList;class V1PersistentVolumeSpec{static getAttributeTypeMap(){return V1PersistentVolumeSpec.attributeTypeMap}}V1PersistentVolumeSpec.discriminator=undefined;V1PersistentVolumeSpec.attributeTypeMap=[{name:"accessModes",baseName:"accessModes",type:"Array"},{name:"awsElasticBlockStore",baseName:"awsElasticBlockStore",type:"V1AWSElasticBlockStoreVolumeSource"},{name:"azureDisk",baseName:"azureDisk",type:"V1AzureDiskVolumeSource"},{name:"azureFile",baseName:"azureFile",type:"V1AzureFilePersistentVolumeSource"},{name:"capacity",baseName:"capacity",type:"{ [key: string]: string; }"},{name:"cephfs",baseName:"cephfs",type:"V1CephFSPersistentVolumeSource"},{name:"cinder",baseName:"cinder",type:"V1CinderPersistentVolumeSource"},{name:"claimRef",baseName:"claimRef",type:"V1ObjectReference"},{name:"csi",baseName:"csi",type:"V1CSIPersistentVolumeSource"},{name:"fc",baseName:"fc",type:"V1FCVolumeSource"},{name:"flexVolume",baseName:"flexVolume",type:"V1FlexPersistentVolumeSource"},{name:"flocker",baseName:"flocker",type:"V1FlockerVolumeSource"},{name:"gcePersistentDisk",baseName:"gcePersistentDisk",type:"V1GCEPersistentDiskVolumeSource"},{name:"glusterfs",baseName:"glusterfs",type:"V1GlusterfsPersistentVolumeSource"},{name:"hostPath",baseName:"hostPath",type:"V1HostPathVolumeSource"},{name:"iscsi",baseName:"iscsi",type:"V1ISCSIPersistentVolumeSource"},{name:"local",baseName:"local",type:"V1LocalVolumeSource"},{name:"mountOptions",baseName:"mountOptions",type:"Array"},{name:"nfs",baseName:"nfs",type:"V1NFSVolumeSource"},{name:"nodeAffinity",baseName:"nodeAffinity",type:"V1VolumeNodeAffinity"},{name:"persistentVolumeReclaimPolicy",baseName:"persistentVolumeReclaimPolicy",type:"string"},{name:"photonPersistentDisk",baseName:"photonPersistentDisk",type:"V1PhotonPersistentDiskVolumeSource"},{name:"portworxVolume",baseName:"portworxVolume",type:"V1PortworxVolumeSource"},{name:"quobyte",baseName:"quobyte",type:"V1QuobyteVolumeSource"},{name:"rbd",baseName:"rbd",type:"V1RBDPersistentVolumeSource"},{name:"scaleIO",baseName:"scaleIO",type:"V1ScaleIOPersistentVolumeSource"},{name:"storageClassName",baseName:"storageClassName",type:"string"},{name:"storageos",baseName:"storageos",type:"V1StorageOSPersistentVolumeSource"},{name:"volumeMode",baseName:"volumeMode",type:"string"},{name:"vsphereVolume",baseName:"vsphereVolume",type:"V1VsphereVirtualDiskVolumeSource"}];t.V1PersistentVolumeSpec=V1PersistentVolumeSpec;class V1PersistentVolumeStatus{static getAttributeTypeMap(){return V1PersistentVolumeStatus.attributeTypeMap}}V1PersistentVolumeStatus.discriminator=undefined;V1PersistentVolumeStatus.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"phase",baseName:"phase",type:"string"},{name:"reason",baseName:"reason",type:"string"}];t.V1PersistentVolumeStatus=V1PersistentVolumeStatus;class V1PhotonPersistentDiskVolumeSource{static getAttributeTypeMap(){return V1PhotonPersistentDiskVolumeSource.attributeTypeMap}}V1PhotonPersistentDiskVolumeSource.discriminator=undefined;V1PhotonPersistentDiskVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"pdID",baseName:"pdID",type:"string"}];t.V1PhotonPersistentDiskVolumeSource=V1PhotonPersistentDiskVolumeSource;class V1Pod{static getAttributeTypeMap(){return V1Pod.attributeTypeMap}}V1Pod.discriminator=undefined;V1Pod.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PodSpec"},{name:"status",baseName:"status",type:"V1PodStatus"}];t.V1Pod=V1Pod;class V1PodAffinity{static getAttributeTypeMap(){return V1PodAffinity.attributeTypeMap}}V1PodAffinity.discriminator=undefined;V1PodAffinity.attributeTypeMap=[{name:"preferredDuringSchedulingIgnoredDuringExecution",baseName:"preferredDuringSchedulingIgnoredDuringExecution",type:"Array"},{name:"requiredDuringSchedulingIgnoredDuringExecution",baseName:"requiredDuringSchedulingIgnoredDuringExecution",type:"Array"}];t.V1PodAffinity=V1PodAffinity;class V1PodAffinityTerm{static getAttributeTypeMap(){return V1PodAffinityTerm.attributeTypeMap}}V1PodAffinityTerm.discriminator=undefined;V1PodAffinityTerm.attributeTypeMap=[{name:"labelSelector",baseName:"labelSelector",type:"V1LabelSelector"},{name:"namespaces",baseName:"namespaces",type:"Array"},{name:"topologyKey",baseName:"topologyKey",type:"string"}];t.V1PodAffinityTerm=V1PodAffinityTerm;class V1PodAntiAffinity{static getAttributeTypeMap(){return V1PodAntiAffinity.attributeTypeMap}}V1PodAntiAffinity.discriminator=undefined;V1PodAntiAffinity.attributeTypeMap=[{name:"preferredDuringSchedulingIgnoredDuringExecution",baseName:"preferredDuringSchedulingIgnoredDuringExecution",type:"Array"},{name:"requiredDuringSchedulingIgnoredDuringExecution",baseName:"requiredDuringSchedulingIgnoredDuringExecution",type:"Array"}];t.V1PodAntiAffinity=V1PodAntiAffinity;class V1PodCondition{static getAttributeTypeMap(){return V1PodCondition.attributeTypeMap}}V1PodCondition.discriminator=undefined;V1PodCondition.attributeTypeMap=[{name:"lastProbeTime",baseName:"lastProbeTime",type:"Date"},{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}];t.V1PodCondition=V1PodCondition;class V1PodDNSConfig{static getAttributeTypeMap(){return V1PodDNSConfig.attributeTypeMap}}V1PodDNSConfig.discriminator=undefined;V1PodDNSConfig.attributeTypeMap=[{name:"nameservers",baseName:"nameservers",type:"Array"},{name:"options",baseName:"options",type:"Array"},{name:"searches",baseName:"searches",type:"Array"}];t.V1PodDNSConfig=V1PodDNSConfig;class V1PodDNSConfigOption{static getAttributeTypeMap(){return V1PodDNSConfigOption.attributeTypeMap}}V1PodDNSConfigOption.discriminator=undefined;V1PodDNSConfigOption.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"value",baseName:"value",type:"string"}];t.V1PodDNSConfigOption=V1PodDNSConfigOption;class V1PodList{static getAttributeTypeMap(){return V1PodList.attributeTypeMap}}V1PodList.discriminator=undefined;V1PodList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1PodList=V1PodList;class V1PodReadinessGate{static getAttributeTypeMap(){return V1PodReadinessGate.attributeTypeMap}}V1PodReadinessGate.discriminator=undefined;V1PodReadinessGate.attributeTypeMap=[{name:"conditionType",baseName:"conditionType",type:"string"}];t.V1PodReadinessGate=V1PodReadinessGate;class V1PodSecurityContext{static getAttributeTypeMap(){return V1PodSecurityContext.attributeTypeMap}}V1PodSecurityContext.discriminator=undefined;V1PodSecurityContext.attributeTypeMap=[{name:"fsGroup",baseName:"fsGroup",type:"number"},{name:"runAsGroup",baseName:"runAsGroup",type:"number"},{name:"runAsNonRoot",baseName:"runAsNonRoot",type:"boolean"},{name:"runAsUser",baseName:"runAsUser",type:"number"},{name:"seLinuxOptions",baseName:"seLinuxOptions",type:"V1SELinuxOptions"},{name:"supplementalGroups",baseName:"supplementalGroups",type:"Array"},{name:"sysctls",baseName:"sysctls",type:"Array"}];t.V1PodSecurityContext=V1PodSecurityContext;class V1PodSpec{static getAttributeTypeMap(){return V1PodSpec.attributeTypeMap}}V1PodSpec.discriminator=undefined;V1PodSpec.attributeTypeMap=[{name:"activeDeadlineSeconds",baseName:"activeDeadlineSeconds",type:"number"},{name:"affinity",baseName:"affinity",type:"V1Affinity"},{name:"automountServiceAccountToken",baseName:"automountServiceAccountToken",type:"boolean"},{name:"containers",baseName:"containers",type:"Array"},{name:"dnsConfig",baseName:"dnsConfig",type:"V1PodDNSConfig"},{name:"dnsPolicy",baseName:"dnsPolicy",type:"string"},{name:"enableServiceLinks",baseName:"enableServiceLinks",type:"boolean"},{name:"hostAliases",baseName:"hostAliases",type:"Array"},{name:"hostIPC",baseName:"hostIPC",type:"boolean"},{name:"hostNetwork",baseName:"hostNetwork",type:"boolean"},{name:"hostPID",baseName:"hostPID",type:"boolean"},{name:"hostname",baseName:"hostname",type:"string"},{name:"imagePullSecrets",baseName:"imagePullSecrets",type:"Array"},{name:"initContainers",baseName:"initContainers",type:"Array"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"nodeSelector",baseName:"nodeSelector",type:"{ [key: string]: string; }"},{name:"priority",baseName:"priority",type:"number"},{name:"priorityClassName",baseName:"priorityClassName",type:"string"},{name:"readinessGates",baseName:"readinessGates",type:"Array"},{name:"restartPolicy",baseName:"restartPolicy",type:"string"},{name:"runtimeClassName",baseName:"runtimeClassName",type:"string"},{name:"schedulerName",baseName:"schedulerName",type:"string"},{name:"securityContext",baseName:"securityContext",type:"V1PodSecurityContext"},{name:"serviceAccount",baseName:"serviceAccount",type:"string"},{name:"serviceAccountName",baseName:"serviceAccountName",type:"string"},{name:"shareProcessNamespace",baseName:"shareProcessNamespace",type:"boolean"},{name:"subdomain",baseName:"subdomain",type:"string"},{name:"terminationGracePeriodSeconds",baseName:"terminationGracePeriodSeconds",type:"number"},{name:"tolerations",baseName:"tolerations",type:"Array"},{name:"volumes",baseName:"volumes",type:"Array"}];t.V1PodSpec=V1PodSpec;class V1PodStatus{static getAttributeTypeMap(){return V1PodStatus.attributeTypeMap}}V1PodStatus.discriminator=undefined;V1PodStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"},{name:"containerStatuses",baseName:"containerStatuses",type:"Array"},{name:"hostIP",baseName:"hostIP",type:"string"},{name:"initContainerStatuses",baseName:"initContainerStatuses",type:"Array"},{name:"message",baseName:"message",type:"string"},{name:"nominatedNodeName",baseName:"nominatedNodeName",type:"string"},{name:"phase",baseName:"phase",type:"string"},{name:"podIP",baseName:"podIP",type:"string"},{name:"qosClass",baseName:"qosClass",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"startTime",baseName:"startTime",type:"Date"}];t.V1PodStatus=V1PodStatus;class V1PodTemplate{static getAttributeTypeMap(){return V1PodTemplate.attributeTypeMap}}V1PodTemplate.discriminator=undefined;V1PodTemplate.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}];t.V1PodTemplate=V1PodTemplate;class V1PodTemplateList{static getAttributeTypeMap(){return V1PodTemplateList.attributeTypeMap}}V1PodTemplateList.discriminator=undefined;V1PodTemplateList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1PodTemplateList=V1PodTemplateList;class V1PodTemplateSpec{static getAttributeTypeMap(){return V1PodTemplateSpec.attributeTypeMap}}V1PodTemplateSpec.discriminator=undefined;V1PodTemplateSpec.attributeTypeMap=[{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PodSpec"}];t.V1PodTemplateSpec=V1PodTemplateSpec;class V1PolicyRule{static getAttributeTypeMap(){return V1PolicyRule.attributeTypeMap}}V1PolicyRule.discriminator=undefined;V1PolicyRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"resourceNames",baseName:"resourceNames",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}];t.V1PolicyRule=V1PolicyRule;class V1PortworxVolumeSource{static getAttributeTypeMap(){return V1PortworxVolumeSource.attributeTypeMap}}V1PortworxVolumeSource.discriminator=undefined;V1PortworxVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"volumeID",baseName:"volumeID",type:"string"}];t.V1PortworxVolumeSource=V1PortworxVolumeSource;class V1Preconditions{static getAttributeTypeMap(){return V1Preconditions.attributeTypeMap}}V1Preconditions.discriminator=undefined;V1Preconditions.attributeTypeMap=[{name:"uid",baseName:"uid",type:"string"}];t.V1Preconditions=V1Preconditions;class V1PreferredSchedulingTerm{static getAttributeTypeMap(){return V1PreferredSchedulingTerm.attributeTypeMap}}V1PreferredSchedulingTerm.discriminator=undefined;V1PreferredSchedulingTerm.attributeTypeMap=[{name:"preference",baseName:"preference",type:"V1NodeSelectorTerm"},{name:"weight",baseName:"weight",type:"number"}];t.V1PreferredSchedulingTerm=V1PreferredSchedulingTerm;class V1Probe{static getAttributeTypeMap(){return V1Probe.attributeTypeMap}}V1Probe.discriminator=undefined;V1Probe.attributeTypeMap=[{name:"exec",baseName:"exec",type:"V1ExecAction"},{name:"failureThreshold",baseName:"failureThreshold",type:"number"},{name:"httpGet",baseName:"httpGet",type:"V1HTTPGetAction"},{name:"initialDelaySeconds",baseName:"initialDelaySeconds",type:"number"},{name:"periodSeconds",baseName:"periodSeconds",type:"number"},{name:"successThreshold",baseName:"successThreshold",type:"number"},{name:"tcpSocket",baseName:"tcpSocket",type:"V1TCPSocketAction"},{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}];t.V1Probe=V1Probe;class V1ProjectedVolumeSource{static getAttributeTypeMap(){return V1ProjectedVolumeSource.attributeTypeMap}}V1ProjectedVolumeSource.discriminator=undefined;V1ProjectedVolumeSource.attributeTypeMap=[{name:"defaultMode",baseName:"defaultMode",type:"number"},{name:"sources",baseName:"sources",type:"Array